0f82f8a3a2
Add new application structure: - app/main.py - application entry point - app/plugins/ - plugin system with auth plugin: - api/ - REST API endpoints and schemas - authorization/ - auth policies, providers, hooks - domain/ - business logic (service, models, jwt, password) - injection/ - route injection and guards - ops/ - operational utilities - runtime/ - runtime configuration - security/ - middleware, CSRF, dependencies - storage/ - user repositories and models - app/static/ - static assets (scalar.js for API docs) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2359 lines
3.8 MiB
Plaintext
2359 lines
3.8 MiB
Plaintext
/**
|
||
* _____ _________ __ ___ ____
|
||
* / ___// ____/ | / / / | / __ \
|
||
* \__ \/ / / /| | / / / /| | / /_/ /
|
||
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
|
||
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
|
||
*
|
||
* @scalar/api-reference 1.52.1
|
||
*
|
||
* Website: https://scalar.com
|
||
* GitHub: https://github.com/scalar/scalar
|
||
* License: https://github.com/scalar/scalar/blob/main/LICENSE
|
||
**/
|
||
|
||
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
||
@media (width<=1000px){.agent-scalar.agent-scalar[data-v-1c6c3dbf]{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-1c6c3dbf],.agent-scalar-overlay.agent-scalar-overlay[data-v-1c6c3dbf]{z-index:15}}.scalar-mcp-layer[data-v-e53c0a75]{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-e53c0a75]:hover{height:172px}.scalar-mcp-layer-link[data-v-e53c0a75]:hover{cursor:pointer!important}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-small);border-radius:var(--scalar-radius);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-sidebar-color-1);background:var(--scalar-background-1);align-items:center;gap:6px;padding:9px 6px;line-height:1.385;text-decoration:none;transition:transform .2s ease-in-out;display:flex;position:absolute;bottom:0}.scalar-mcp-layer-link[data-v-e53c0a75]:after{content:"";width:100%;height:2px;position:absolute;bottom:-2px;left:0}.scalar-mcp-layer div.scalar-mcp-layer-link[data-v-e53c0a75]{cursor:default}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:last-child{position:relative;transform:translate(0,0)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:nth-last-child(2){transform:translateY(-2px)scale(.99)}.scalar-mcp-layer:hover a[data-v-e53c0a75]:nth-last-child(2){transform:translateY(calc(-100% - 2px))scale(.99)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:nth-last-child(3){transform:translateY(-4px)scale(.98)}.scalar-mcp-layer:hover a[data-v-e53c0a75]:nth-last-child(3){transform:translateY(calc(-200% - 4px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:nth-last-child(4){transform:translateY(-6px)scale(.97)}.scalar-mcp-layer:hover a[data-v-e53c0a75]:nth-last-child(4){transform:translateY(calc(-300% - 6px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:nth-last-child(5){transform:translateY(-8px)scale(.96)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-e53c0a75]:nth-last-child(5){transform:translateY(calc(-400% - 8px))scale(1)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-e53c0a75]{transition:transform .2s ease-in-out .1s}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-e53c0a75]:hover{background:var(--scalar-background-2)}.scalar-mcp-layer .mcp-logo[data-v-e53c0a75]{width:16px;height:16px;color:var(--scalar-sidebar-color-1)}.mcp-nav[data-v-e53c0a75]{color:var(--scalar-sidebar-color-2)}.references-classic-header[data-v-8a3822ca]{max-width:var(--refs-content-max-width);align-items:center;gap:12px;margin:auto;padding:12px 0;display:flex}.references-classic-header-content[data-v-8a3822ca]{flex-grow:1;gap:12px;display:flex}.references-classic-header-container[data-v-8a3822ca]{padding:0 60px;position:relative}@container narrow-references-container (width<=900px){.references-classic-header[data-v-8a3822ca]{padding:12px 24px}.references-classic-header-container[data-v-8a3822ca]{padding:0}}.references-classic-header-icon[data-v-8a3822ca]{height:24px;color:var(--scalar-color-1)}.client-libraries-content[data-v-6ae3e515]{background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);justify-content:center;padding:0 12px;display:flex;overflow:hidden;container:client-libraries-content/inline-size}.client-libraries[data-v-6ae3e515]{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-6ae3e515]: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-6ae3e515]:active{color:var(--scalar-color-1)}.client-libraries[data-v-6ae3e515]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}@media screen and (width<=450px){.client-libraries[data-v-6ae3e515]:nth-of-type(4),.client-libraries[data-v-6ae3e515]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-6ae3e515]{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-6ae3e515]{height:initial}@container client-libraries-content (width<400px){.client-libraries__select[data-v-6ae3e515]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-6ae3e515]{display:none}}@container client-libraries-content (width<380px){.client-libraries[data-v-6ae3e515]{width:100%}.client-libraries span[data-v-6ae3e515]{display:none}}.client-libraries__active[data-v-6ae3e515]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-6ae3e515{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-6ae3e515]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-6ae3e515]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-6ae3e515]{flex-direction:column}}.selected-client[data-v-dd2e9b07]{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-dd2e9b07]{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}[data-v-dd2e9b07] .scalar-codeblock-pre .hljs{margin-top:8px}.badge[data-v-3dedb7e4]{color:var(--badge-text-color,var(--scalar-color-2));font-size:var(--scalar-mini);background:var(--badge-background-color,var(--scalar-background-2));border:var(--scalar-border-width) solid var(--badge-border-color,var(--scalar-border-color));border-radius:12px;padding:2px 6px;display:inline-block}.badge.text-orange[data-v-3dedb7e4]{background:color-mix(in srgb, var(--scalar-color-orange), transparent 90%);border:#0000}.badge.text-yellow[data-v-3dedb7e4]{background:color-mix(in srgb, var(--scalar-color-yellow), transparent 90%);border:#0000}.badge.text-red[data-v-3dedb7e4]{background:color-mix(in srgb, var(--scalar-color-red), transparent 90%);border:#0000}.badge.text-purple[data-v-3dedb7e4]{background:color-mix(in srgb, var(--scalar-color-purple), transparent 90%);border:#0000}.badge.text-green[data-v-3dedb7e4]{background:color-mix(in srgb, var(--scalar-color-green), transparent 90%);border:#0000}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-95e980e1],[data-v-95e980e1]:before,[data-v-95e980e1]:after,[data-v-95e980e1]::backdrop{--tw-outline-style:solid}*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-x-reverse:0;--tw-border-style:solid;--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-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:"";--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial}}}.download-container[data-v-95e980e1]{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-95e980e1]: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-95e980e1]: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-95e980e1]{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-95e980e1]: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-95e980e1]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-95e980e1]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.download-button[data-v-95e980e1]: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-95e980e1]{--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-95e980e1]{-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-95e980e1]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-95e980e1]{-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-95e980e1]: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-95e980e1]: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-95e980e1]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.extension[data-v-95e980e1]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:hover .extension[data-v-95e980e1]{opacity:1}.download-container:has(:focus-visible) .extension[data-v-95e980e1]{opacity:1}.download-link[data-v-95e980e1]{--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-95e980e1]{-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-95e980e1]: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)}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.introduction-card[data-v-5764c94a]{flex-direction:column;gap:12px;display:flex}.introduction-card-row[data-v-5764c94a]{gap:24px}@media (width>=600px){.introduction-card-row[data-v-5764c94a]{flex-flow:wrap}}.introduction-card-row[data-v-5764c94a]>*{flex:1}@media (width>=600px){.introduction-card-row[data-v-5764c94a]>*{min-width:min-content}}@media (width<=600px){.introduction-card-row[data-v-5764c94a]>*{max-width:100%}}@container (width<=900px){.introduction-card-row[data-v-5764c94a]{flex-direction:column;align-items:stretch;gap:0}}.introduction-card[data-v-5764c94a] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-5764c94a] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-5764c94a] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section[data-v-be4443e9]{max-width:var(--refs-content-max-width);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;margin:auto;padding:90px 0;display:flex;position:relative}.section[data-v-be4443e9]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-be4443e9]{gap:24px;padding:48px 0}@container narrow-references-container (width<=900px){.references-classic .section[data-v-be4443e9],.section[data-v-be4443e9]{padding:48px 24px}}.section[data-v-be4443e9]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-ff689b94]{color:var(--scalar-color-1);margin-top:-12px;padding-top:12px}.section-accordion[data-v-ff689b94]{border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;display:flex}.section-accordion-transparent[data-v-ff689b94]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:0 0}.section-accordion-button[data-v-ff689b94]{cursor:pointer;align-items:center;gap:6px;padding:6px;display:flex}.section-accordion-button-content[data-v-ff689b94]{flex:1;min-width:0}.section-accordion-button-actions[data-v-ff689b94]{color:var(--scalar-color-3);align-items:center;gap:6px;display:flex}.section-accordion-chevron[data-v-ff689b94]{cursor:pointer;opacity:1;color:var(--scalar-color-3);margin-right:4px}.section-accordion-button:hover .section-accordion-chevron[data-v-ff689b94]{color:var(--scalar-color-1)}.section-accordion-content[data-v-ff689b94]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;display:flex}.section-accordion-description[data-v-ff689b94]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-ff689b94] .property:last-of-type{padding-bottom:9px}.section-column[data-v-699c28e3]{flex:1;min-width:0}@container narrow-references-container (width<=900px){.section-column[data-v-699c28e3]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{gap:48px;display:flex}@container narrow-references-container (width<=900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-20a1472a]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;padding:0 60px;position:relative}.section-container[data-v-20a1472a]:has(.introduction-section){border-top:none}@container narrow-references-container (width<=900px){.section-container[data-v-20a1472a]{padding:0}}.section-accordion-wrapper[data-v-9419dd23]{padding:0 60px}.section-accordion[data-v-9419dd23]{width:100%;max-width:var(--refs-content-max-width);margin:auto;position:relative}.section-accordion-content[data-v-9419dd23]{flex-direction:column;gap:12px;padding-top:12px;display:flex}.section-accordion-button[data-v-9419dd23]{cursor:pointer;border-radius:var(--scalar-radius);width:100%;margin:-6px 0;padding:6px 0;display:flex}.section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-3);position:absolute;top:12px;left:-22px}.section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-1)}.section-accordion-title[data-v-9419dd23]{flex-direction:column;flex:1;align-items:flex-start;padding:0 6px;display:flex}.section-accordion-title[data-v-9419dd23] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-9419dd23] .section-header{margin-bottom:0}@container narrow-references-container (width<=900px){.section-accordion-chevron[data-v-9419dd23]{width:16px;top:14px;left:-16px}.section-accordion-wrapper[data-v-9419dd23]{padding:calc(var(--refs-viewport-offset)) 24px 0 24px}}.loading[data-v-8e0226d7]{background:var(--scalar-background-3);border-radius:var(--scalar-radius-lg);max-width:100%;min-height:1.6em;margin:.6em 0;animation:1.5s infinite alternate loading-skeleton-8e0226d7}.loading[data-v-8e0226d7]:first-of-type{min-height:3em;margin-top:0;margin-bottom:24px}.loading[data-v-8e0226d7]:last-of-type{width:60%}.loading.single-line[data-v-8e0226d7]{max-width:80%;min-height:3em;margin:.6em 0}@keyframes loading-skeleton-8e0226d7{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (width<=900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header-wrapper[data-v-465a7a78]{grid-template-columns:1fr;display:grid}@media (width>=1200px){.section-header-wrapper[data-v-465a7a78]{grid-template-columns:repeat(2,1fr)}}.section-header[data-v-465a7a78]{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;margin-bottom:12px;line-height:1.45}.section-header.tight[data-v-465a7a78]{margin-bottom:6px}.section-header.loading[data-v-465a7a78]{width:80%}.section-header-label[data-v-f1ac6c38]{display:inline}.screenreader-only[data-v-df2e1026]{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.collapsible-section[data-v-999a158a]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a]{cursor:pointer;font-size:var(--scalar-font-size-3);z-index:1;align-items:center;padding:10px 0;display:flex;position:relative}.collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-999a158a]{margin:0 0 10px;padding:0;scroll-margin-top:140px}.references-classic .introduction-description[data-v-5065bb4a] img{max-width:720px}.icons-only[data-v-b59b0acf] span{display:none}.sticky-cards[data-v-0b1e2255]{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}.schema-type-icon[data-v-70cb5c13]{color:var(--scalar-color-1);display:none}.schema-type[data-v-70cb5c13]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-enum-value[data-v-f4b54bdd]{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-f4b54bdd]{flex-direction:column;padding:3px 0;display:flex}.property-enum-value-label[data-v-f4b54bdd]{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-f4b54bdd]{padding-bottom:0}.property-enum-value[data-v-f4b54bdd]:before{content:"";width:var(--decorator-width);background-color:var(--decorator-color);margin-right:12px;display:block}.property-enum-value[data-v-f4b54bdd]:last-of-type:before{height:calc(.5lh + 4px)}.property-enum-values:has(.enum-toggle-button) .property-enum-value[data-v-f4b54bdd]:nth-last-child(2):before{height:calc(.5lh + 4px)}.property-enum-value-label[data-v-f4b54bdd]:after{content:"";width:8px;height:var(--decorator-width);background-color:var(--decorator-color);position:absolute;top:.5lh;left:-12px}.property-enum-value[data-v-f4b54bdd]: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-f4b54bdd]{color:var(--scalar-color-3)}.property-heading:empty+.property-description[data-v-55c01b89]:last-of-type,.property-description[data-v-55c01b89]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-55c01b89]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-55c01b89]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-55c01b89]{font-size:var(--scalar-font-size-3);margin-top:8px;padding-left:2px;list-style:none}.enum-toggle-button[data-v-55c01b89]:hover{color:var(--scalar-color-1)}.property-enum-property-names[data-v-55c01b89]{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-4da5c70a]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-default[data-v-4da5c70a]: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-4da5c70a]{color:var(--scalar-color-1)}.property-default-label span[data-v-4da5c70a]{color:var(--scalar-color-3);border-bottom:var(--scalar-border-width) dotted currentColor;position:relative}.property-default-value[data-v-4da5c70a]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-default-value span[data-v-4da5c70a]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-default-value[data-v-4da5c70a] svg{color:var(--scalar-color-3)}.property-default-value[data-v-4da5c70a]:hover svg{color:var(--scalar-color-1)}.property-default-value[data-v-4da5c70a]{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-4da5c70a]{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-4da5c70a],.property-default:focus-within .property-default-value-list[data-v-4da5c70a]{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-3388e4cb]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-example[data-v-3388e4cb]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-example:hover .property-example-label span[data-v-3388e4cb]{color:var(--scalar-color-1)}.property-example-label span[data-v-3388e4cb]{color:var(--scalar-color-3);border-bottom:var(--scalar-border-width) dotted currentColor;position:relative}.property-example-value[data-v-3388e4cb]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-example-value span[data-v-3388e4cb]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-example-value[data-v-3388e4cb] svg{color:var(--scalar-color-3)}.property-example-value[data-v-3388e4cb]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-3388e4cb]{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-3388e4cb]{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-3388e4cb],.property-example:focus-within .property-example-value-list[data-v-3388e4cb]{display:flex}.property-heading[data-v-d6007af3]{white-space:nowrap;flex-wrap:wrap;align-items:baseline;row-gap:9px;display:flex}:is(.property-heading[data-v-d6007af3]:has(+.children),.property-heading[data-v-d6007af3]:has(+.property-rule)){margin-bottom:9px}.property-heading[data-v-d6007af3]>*{margin-right:9px}.property-heading[data-v-d6007af3]:last-child,.property-heading>.property-detail[data-v-d6007af3]:not(:last-of-type){margin-right:0}.property-name[data-v-d6007af3]{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-d6007af3]{font-family:var(--scalar-font-code)}.property-required[data-v-d6007af3],.property-optional[data-v-d6007af3]{color:var(--scalar-color-2)}.property-required[data-v-d6007af3]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-d6007af3]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-d6007af3]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-d6007af3]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-d6007af3]{font-size:var(--scalar-mini);color:var(--scalar-color-2);align-items:center;min-width:0;display:flex}.property-const[data-v-d6007af3]{color:var(--scalar-color-1)}.deprecated[data-v-d6007af3]{text-decoration:line-through}.property[data-v-203755f6]{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-203755f6]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property--compact.property--level-0[data-v-203755f6],.property--compact.property--level-1[data-v-203755f6]{padding:10px 0}.composition-panel .property.property.property.property--level-0[data-v-203755f6]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-203755f6]{padding:8px}.property[data-v-203755f6]:has(>.property-rule:first-of-type):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-203755f6]{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-203755f6]>*{opacity:.75}.property-description[data-v-203755f6]{line-height:1.4;font-size:var(--scalar-small);margin-top:6px}.property-description[data-v-203755f6]:has(+.property-rule){margin-bottom:9px}[data-v-203755f6] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-203755f6]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-203755f6],.children+.property-rule[data-v-203755f6]{margin-top:9px}.children[data-v-203755f6]{flex-direction:column;display:flex}.children .property--compact.property--level-1[data-v-203755f6]{padding:12px}.property-example-value[data-v-203755f6]{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-203755f6]{border-radius:var(--scalar-radius-lg);flex-direction:column;display:flex}.property-rule[data-v-203755f6] .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-203755f6] .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-203755f6] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-203755f6]{background:0 0;border:none;flex-direction:row;gap:8px;display:flex}.property-example-label[data-v-203755f6],.property-example-value[data-v-203755f6]{padding:3px 0 0}.property-example-value[data-v-203755f6]{background:var(--scalar-background-2);border-radius:var(--scalar-radius);border-top:0;padding:3px 4px}.property-name[data-v-203755f6]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-203755f6]:before,.property-name-pattern-properties[data-v-203755f6]: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-203755f6]:before{content:"regex"}.property-name-additional-properties[data-v-203755f6],.property-name-pattern-properties[data-v-203755f6]{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-38d75111]{background-color:var(--scalar-color-red)}.schema-card[data-v-38d75111]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-38d75111]{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-38d75111]{cursor:pointer}button.schema-card-title[data-v-38d75111]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-38d75111]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-38d75111]{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-38d75111]{width:fit-content}.schema-card-description[data-v-38d75111]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-38d75111]{width:fit-content;margin-top:8px}.schema-card--level-0:first-of-type>.schema-card-description[data-v-38d75111]: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-38d75111]:has(+.schema-properties){padding-top:8px}.schema-properties-open.schema-properties[data-v-38d75111],.schema-properties-open>.schema-card--open[data-v-38d75111]{width:100%}.schema-properties[data-v-38d75111]{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-38d75111]{width:100%}.schema-properties .schema-properties[data-v-38d75111]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-38d75111]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-38d75111]{width:100%}.schema-card--compact[data-v-38d75111]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-38d75111]{align-self:initial}.schema-card-title--compact[data-v-38d75111]{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-38d75111]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-38d75111]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-38d75111]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-38d75111]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-38d75111]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-38d75111]{border:none}[data-v-38d75111] .schema-card-description p{font-size:var(--scalar-small,var(--scalar-paragraph));color:var(--scalar-color-2);margin-bottom:6px;line-height:1.5;display:block}.children .schema-card-description[data-v-38d75111]:first-of-type{padding-top:0}.reference-models-anchor[data-v-e4ca3c0f]{color:var(--scalar-color-1);align-items:center;padding-left:6px;font-size:20px;display:flex}.reference-models-label[data-v-e4ca3c0f]{font-size:var(--scalar-mini);display:block}.reference-models-label[data-v-e4ca3c0f] em{font-weight:var(--scalar-bold)}.show-more[data-v-d1c2b649]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);border-radius:30px;justify-content:center;align-items:center;gap:6px;margin:auto;padding:8px 12px 8px 16px;display:flex;position:relative;top:-48px}.show-more[data-v-d1c2b649]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-d1c2b649]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (width<=900px){.show-more[data-v-d1c2b649]{top:-24px}}.tag-section[data-v-d4f47ce7]{margin-bottom:48px}.tag-name[data-v-d4f47ce7]{text-transform:capitalize}.tag-description[data-v-d4f47ce7]{text-align:left;padding-bottom:4px}.tag-section-group .tag-group-name[data-v-d4f47ce7]{grid-template-columns:auto 1fr;align-self:stretch;gap:12px}.tag-group-name[data-v-d4f47ce7]:after{content:"";background:var(--scalar-border-color);align-self:center;height:1px;display:block}:is(.tag-group-name[data-v-d4f47ce7]:has(*>:hover),.tag-group-name[data-v-d4f47ce7]:has(:focus-visible)){gap:32px}.tag-section-group .tag-section[data-v-d4f47ce7]{margin-bottom:24px;padding-inline:0}.tag-section-group .tag-section[data-v-d4f47ce7]:last-of-type{margin-bottom:0}.endpoint[data-v-ad8530a6]{white-space:nowrap;cursor:pointer;text-decoration:none;display:flex}.endpoint:hover .endpoint-path[data-v-ad8530a6],.endpoint:focus-visible .endpoint-path[data-v-ad8530a6]{text-decoration:underline}.endpoint .post[data-v-ad8530a6],.endpoint .get[data-v-ad8530a6],.endpoint .delete[data-v-ad8530a6],.endpoint .put[data-v-ad8530a6]{white-space:nowrap}.endpoint-method[data-v-ad8530a6],.endpoint-path[data-v-ad8530a6]{color:var(--scalar-color-1);min-width:62px;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer;display:inline-flex}.endpoint-method[data-v-ad8530a6]{text-align:right}.endpoint-path[data-v-ad8530a6]{text-transform:initial;margin-left:12px}.deprecated[data-v-ad8530a6]{text-decoration:line-through}.endpoints-card[data-v-f726f753]{top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3);position:sticky}.endpoints[data-v-f726f753]{background:var(--scalar-background-2);width:100%;padding:10px 12px;overflow:auto}.section-container[data-v-8f1a275c]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-8f1a275c]:has(.show-more){background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.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-c29c16d8]{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-c29c16d8]{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-c29c16d8]{border-radius:var(--scalar-radius-lg);margin:0 12px}.rule-items[data-v-c29c16d8]{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-c29c16d8]{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-c29c16d8]: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-fec8fbbb]{--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-fec8fbbb]{padding:0}.response-card[data-v-e0da130d]{font-size:var(--scalar-font-size-3)}.code-copy[data-v-e0da130d]{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-e0da130d]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-e0da130d]{width:13px;height:13px}.response-card-footer[data-v-e0da130d]{flex-flow:row-reverse wrap;flex-shrink:0;justify-content:start;column-gap:8px;padding:7px 12px;display:flex}.response-example-selector[data-v-e0da130d]{flex-shrink:0;margin:-4px}.response-description[data-v-e0da130d]{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-e0da130d]{max-height:3lh}.response-description-markdown[data-v-e0da130d] *{margin:0}.schema-type[data-v-e0da130d]{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-e0da130d]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-e0da130d]{margin:6px;display:block}.scalar-card-checkbox[data-v-e0da130d]{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-e0da130d]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-e0da130d]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-e0da130d]{opacity:0;cursor:pointer;width:0;height:0;position:absolute}.scalar-card-checkbox-checkmark[data-v-e0da130d]{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-e0da130d]: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-e0da130d]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-e0da130d]:after{content:"";display:none;position:absolute}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-e0da130d]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-e0da130d]: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)}.headers-card[data-v-ab19704d]{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-ab19704d]{align-self:initial}.headers-card-title[data-v-ab19704d]{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-ab19704d]{cursor:pointer}button.headers-card-title[data-v-ab19704d]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-ab19704d]{transform:rotate(45deg)}.headers-properties[data-v-ab19704d]{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-ab19704d]{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-ab19704d]{border-radius:var(--scalar-radius-lg);width:100%}.headers-card .property[data-v-ab19704d]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-ab19704d]{width:14px;height:14px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-ab19704d]{transform:rotate(45deg)}.parameter-item[data-v-1f06a780]{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-1f06a780]{padding-bottom:0}.parameter-item-container[data-v-1f06a780]{padding:0}.parameter-item-headers[data-v-1f06a780]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-1f06a780]{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-1f06a780],.parameter-item-description-summary[data-v-1f06a780]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-1f06a780]>*{--markdown-line-height:var(--scalar-line-height-5)}.parameter-item-trigger~.parameter-item-container[data-v-1f06a780] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-1f06a780]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-1f06a780]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-1f06a780]{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:6px;line-height:1.4}.parameter-item-description[data-v-1f06a780] p{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:4px;line-height:1.4}.parameter-schema[data-v-1f06a780]{margin-top:3px;padding-bottom:9px}.parameter-item-trigger[data-v-1f06a780]{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-1f06a780]{padding-bottom:0}.parameter-item-icon[data-v-1f06a780]{color:var(--scalar-color-3);position:absolute;top:.5lh;left:-19px;translate:0 -50%}.parameter-item-trigger:hover .parameter-item-icon[data-v-1f06a780],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-1f06a780]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-1f06a780]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.request-body[data-v-f323f401]{margin-top:24px}.request-body-header[data-v-f323f401]{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-f323f401]{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-f323f401]{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-f323f401]{font-size:var(--scalar-small);width:100%;margin-top:6px}:is(.request-body-header+.request-body-schema[data-v-f323f401]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-f323f401]:has(>.schema-card>.schema-properties>*>.property--level-0)){padding-top:8px}.request-body-description[data-v-f323f401] .markdown *{color:var(--scalar-color-2)!important}.callback-sticky-offset[data-v-df994c31]{top:var(--refs-viewport-offset,0px);z-index:1}.callback-operation-container[data-v-df994c31] .request-body,.callback-operation-container[data-v-df994c31] .request-body-description,.callback-operation-container[data-v-df994c31] .request-body-header{margin-top:0}.callback-operation-container[data-v-df994c31] .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-df994c31] .request-body-schema>.schema-card>.schema-card-description{padding-inline:8px}.callback-operation-container[data-v-df994c31] ul li.property.property--level-1{padding:10px}.callback-operation-container[data-v-df994c31] .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-df994c31] .parameter-list{margin-top:0}.callback-operation-container[data-v-df994c31] .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-df994c31] .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-df994c31] .parameter-list-items>li:first-of-type{border-top:none}.callback-operation-container[data-v-df994c31] .parameter-list-items>li{padding:0 8px}.show-api-client-button[data-v-15e312d9]{appearance:none;white-space:nowrap;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-background-2);line-height:22px;font-family:var(--scalar-font);background:var(--scalar-button-1);cursor:pointer;box-sizing:border-box;outline-offset:2px;border:none;justify-content:center;align-items:center;padding:1px 6px;display:flex;position:relative;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-15e312d9],.show-api-client-button svg[data-v-15e312d9]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-15e312d9]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-15e312d9]{margin-right:4px}.operation-title[data-v-1f81471a]{justify-content:space-between;display:flex}.operation-details[data-v-1f81471a]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-1f81471a] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-1f81471a]{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-1f81471a]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-1f81471a]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-1f81471a]{display:flex}.endpoint-label[data-v-1f81471a]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-1f81471a]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-1f81471a] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-1f81471a]{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-1f81471a]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-1f81471a]{color:currentColor}.endpoint-copy[data-v-1f81471a] svg{stroke-width:2px}.endpoint-content[data-v-1f81471a]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (width>=1000px){.endpoint-content[data-v-1f81471a]{grid-auto-flow:column}}@container (width<=900px){.endpoint-content[data-v-1f81471a]{grid-template-columns:1fr}}.endpoint-content[data-v-1f81471a]>*{min-width:0}.operation-details-card[data-v-1f81471a]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-1f81471a] .parameter-list,.operation-details-card-item[data-v-1f81471a] .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-1f81471a]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-1f81471a] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-1f81471a] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-1f81471a] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-1f81471a] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-1f81471a] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-1f81471a] .parameter-list-title,.operation-details-card[data-v-1f81471a] .request-body-title,.operation-details-card[data-v-1f81471a] .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-1f81471a] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-1f81471a] .callback-list-item-icon{left:6px}.operation-details-card[data-v-1f81471a] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-1f81471a] .callback-operation-container>.request-body,.operation-details-card[data-v-1f81471a] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-1f81471a] .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-1f81471a] .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-1f81471a] .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-1f81471a] .request-body .schema-card--level-0>.schema-card-description{padding-inline:9px}.operation-details-card[data-v-1f81471a] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-1f81471a] .contents button{margin-right:9px}.operation-details-card[data-v-1f81471a] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-1f81471a] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-1f81471a] .selected-content-type{margin-right:9px}.operation-example-card[data-v-1f81471a]{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-1f81471a]{max-height:unset;position:static}}.agent-button-container[data-v-78f5377c]{color:var(--scalar-color-1);background:color-mix(in srgb, var(--scalar-background-3), white 15%);cursor:pointer;border-radius:var(--scalar-radius);z-index:2;align-items:center;height:100%;margin-right:4px;padding:1px 6px;display:flex;position:relative}.agent-button-container[data-v-78f5377c]:hover:not(:focus-within){background:color-mix(in srgb, var(--scalar-background-3), white 20%)}.agent-button-container[data-v-78f5377c]:focus-within{border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input-not-empty){border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input:focus-visible){outline-style:solid}.ask-agent-scalar-input[data-v-78f5377c]{opacity:0;border:none;width:0;font-size:0}.agent-button-container:focus-within .ask-agent-scalar-input[data-v-78f5377c]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input[data-v-78f5377c]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.ask-agent-scalar-input[data-v-78f5377c]::placeholder{color:var(--scalar-color-2);font-family:inherit}.ask-agent-scalar-input-label[data-v-78f5377c]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);margin-left:4px}.agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-78f5377c]{display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input-label[data-v-78f5377c]{display:none}.ask-agent-scalar-send[data-v-78f5377c]{background:var(--scalar-color-blue);color:#fff;border-radius:var(--scalar-radius);outline-offset:1px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-send[data-v-78f5377c]{display:flex}.ask-agent-scalar-send[data-v-78f5377c]:hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)}.examples[data-v-6488f75e]{top:calc(var(--refs-viewport-offset) + 24px);position:sticky}.examples[data-v-6488f75e]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}.examples[data-v-6488f75e]>:first-of-type:last-of-type{max-height:calc((var(--refs-viewport-height) - 60px))}@media (width<=600px){.examples[data-v-6488f75e]>*{max-height:unset}}.deprecated[data-v-6488f75e] *{text-decoration:line-through}.section-flare[data-v-2a9c8c02]{pointer-events:none;top:0;right:0}.narrow-references-container{container:narrow-references-container/inline-size}.ref-search-meta[data-v-c1c368f9]{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}@layer scalar-base{@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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{--tracking-tight:-.025em;--leading-tight:1.25;--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-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--container-content:720px}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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)}}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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)}}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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;--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);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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)}}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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)}}@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}}@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{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%);--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);--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)}}body{line-height:inherit;margin:0}:root{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-lg:6px;--scalar-radius-xl:8px;--scalar-font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code:"JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans 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:#ffffffe6;--scalar-shadow-1:0 1px 3px 0 #0000001c;--scalar-shadow-2:#00000014 0px 13px 20px 0px, #00000014 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness:1;--scalar-backdrop-brightness:1;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode .dark-mode{--lightningcss-light: !important;--lightningcss-dark:initial!important;color-scheme:dark!important}@media (width<=460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media (width<=720px){:root{--scalar-heading-1:24px;--scalar-page-description:20px}}:root{--scalar-text-decoration:underline;--scalar-text-decoration-hover:underline}.light-mode{--scalar-background-1:#fff;--scalar-background-2:#f6f6f6;--scalar-background-3:#e7e7e7;--scalar-background-accent:#8ab4f81f;--scalar-color-1:#1b1b1b;--scalar-color-2:#757575;--scalar-color-3:#8e8e8e;--scalar-color-accent:#09f;--scalar-border-color:#dfdfdf}.dark-mode{--scalar-background-1:#0f0f0f;--scalar-background-2:#1a1a1a;--scalar-background-3:#272727;--scalar-color-1:#e7e7e7;--scalar-color-2:#a4a4a4;--scalar-color-3:#797979;--scalar-color-accent:#00aeff;--scalar-background-accent:#3ea6ff1f;--scalar-border-color:#2d2d2d}.light-mode,.dark-mode{--scalar-sidebar-background-1:var(--scalar-background-1);--scalar-sidebar-color-1:var(--scalar-color-1);--scalar-sidebar-color-2:var(--scalar-color-2);--scalar-sidebar-border-color:var(--scalar-border-color);--scalar-sidebar-item-hover-background:var(--scalar-background-2);--scalar-sidebar-item-hover-color:var(--scalar-sidebar-color-2);--scalar-sidebar-item-active-background:var(--scalar-background-2);--scalar-sidebar-color-active:var(--scalar-sidebar-color-1);--scalar-sidebar-indent-border:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active:var(--scalar-sidebar-border-color);--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.light-mode,.dark-mode{--scalar-sidebar-search-background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.light-mode,.dark-mode{--scalar-sidebar-search-color:var(--scalar-color-3);--scalar-sidebar-search-border-color:var(--scalar-border-color)}.light-mode{--scalar-color-green:#069061;--scalar-color-red:#ef0006;--scalar-color-yellow:#edbe20;--scalar-color-blue:#0082d0;--scalar-color-orange:#ff5800;--scalar-color-purple:#5203d1;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#ffffffe6;--scalar-tooltip-background:#1a1a1ae6;--scalar-tooltip-color:#ffffffd9;--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%)}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%)}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.dark-mode{--scalar-color-green:#00b648;--scalar-color-red:#dc1b19;--scalar-color-yellow:#ffc90d;--scalar-color-blue:#4eb3ec;--scalar-color-orange:#ff8d4d;--scalar-color-purple:#b191f9;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%)}}.dark-mode{--scalar-tooltip-color:#fffffff2;--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%)}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}@supports (color:color(display-p3 1 1 1)){.light-mode{--scalar-color-accent:color(display-p3 0 .6 1);--scalar-color-green:color(display-p3 .023529 .564706 .380392);--scalar-color-red:color(display-p3 .937255 0 .023529);--scalar-color-yellow:color(display-p3 .929412 .745098 .12549);--scalar-color-blue:color(display-p3 0 .509804 .815686);--scalar-color-orange:color(display-p3 1 .4 .02);--scalar-color-purple:color(display-p3 .321569 .011765 .819608)}.dark-mode{--scalar-color-accent:color(display-p3 .07 .67 1);--scalar-color-green:color(display-p3 0 .713725 .282353);--scalar-color-red:color(display-p3 .862745 .105882 .098039);--scalar-color-yellow:color(display-p3 1 .788235 .05098);--scalar-color-blue:color(display-p3 .305882 .701961 .92549);--scalar-color-orange:color(display-p3 1 .552941 .301961);--scalar-color-purple:color(display-p3 .694118 .568627 .976471)}}:root,:host{--leading-snug:1.375;--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);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--tracking-tight:-.025em;--leading-tight:1.25;--leading-normal:1.5;--leading-relaxed:1.625;--animate-spin:spin 1s linear infinite;--container-content:720px}body{background-color:var(--scalar-background-1);margin:0}}@layer scalar-theme;: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}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}.scalar-app .\\@container{container-type:inline-size}.scalar-app .-top-2{top:-8px}.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-3\\.5{top:14px}.scalar-app .right-12{right:48px}.scalar-app .-left-4\\.5{left:-18px}.scalar-app .-left-5{left:-20px}.scalar-app .-left-6{left:-24px}.scalar-app .left-w-sidebar{left:var(--refs-sidebar-width)}.scalar-app .z-10{z-index:10;z-index:10}.scalar-app .order-789{order:789}@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 .-mx-2{margin-inline:-8px}.scalar-app .mx-1\\.5{margin-inline:6px}.scalar-app .my-2{margin-block:8px}.scalar-app .my-3{margin-block:12px}.scalar-app .-mt-1{margin-top:-4px}.scalar-app .mt-6{margin-top:24px}.scalar-app .mb-3{margin-bottom:12px}.scalar-app .size-4\\.5{width:18px;height:18px}.scalar-app .h-\\(--refs-sidebar-height\\){height:var(--refs-sidebar-height)}.scalar-app .h-\\(--scalar-header-height\\){height:var(--scalar-header-height)}.scalar-app .h-\\[calc\\(100\\%\\+16px\\)\\]{height:calc(100% + 16px)}.scalar-app .max-h-\\[60vh\\]{max-height:60vh}.scalar-app .min-h-3{min-height:12px}.scalar-app .w-\\(--refs-sidebar-width\\){width:var(--refs-sidebar-width)}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-120{width:480px}.scalar-app .max-w-\\(--refs-content-max-width\\){max-width:var(--refs-content-max-width)}.scalar-app .max-w-64{max-width:256px}.scalar-app .min-w-3{min-width:12px}.scalar-app .min-w-7{min-width:28px}.scalar-app .flex-grow{flex-grow:1}.scalar-app .rotate-45{rotate:45deg}.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 .content-end{align-content:flex-end}.scalar-app .gap-7{gap:28px}.scalar-app .\\!rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl)!important;border-bottom-left-radius:var(--scalar-radius-xl)!important}@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-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-40\\%{--tw-gradient-from-position:40%}.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 .p-7{padding:28px}.scalar-app .px-15{padding-inline:60px}.scalar-app .py-2\\.25{padding-block:9px}.scalar-app .pb-12{padding-bottom:48px}.scalar-app .text-base\\/5\\.25{font-size:var(--scalar-font-size-3);line-height:21px}.scalar-app .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .text-current{color:currentColor}.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 .\\[--scalar-address-bar-height\\:0px\\]{--scalar-address-bar-height:0px}.scalar-app .\\[grid-area\\:header\\]{grid-area:header}.scalar-app .\\[grid-area\\:navigation\\]{grid-area:navigation}.scalar-app .group-last\\:mr-0:is(:where(.group):last-child *){margin-right:0}.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\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):focus-within *){opacity:1}@media (hover:hover){.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.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 *),.scalar-app .group-hover\\/heading\\:opacity-100:is(:where(.group\\/heading):hover *),.scalar-app .group-hover\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):hover *){opacity:1}}.scalar-app .group-has-focus-visible\\/heading\\:opacity-100:is(:where(.group\\/heading):has(:focus-visible) *){opacity:1}:is(.scalar-app .\\*\\:first\\:p-3>*):first-child{padding:12px}.scalar-app .empty\\:hidden:empty{display:none}@media (hover:hover){.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-sidebar-c-1:hover{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}}.scalar-app .focus-visible\\:opacity-100:focus-visible{opacity:1}@media (width>=1000px){.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:hidden{display:none}}@media (width>=1200px){.scalar-app .xl\\:mb-1\\.5{margin-bottom:6px}.scalar-app .xl\\:gap-12{gap:48px}.scalar-app .xl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .xl\\:border-none{--tw-border-style:none;border-style:none}.scalar-app .xl\\:first\\:ml-auto:first-child{margin-left:auto}}.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}@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 .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)}@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.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%);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:color-mix(in srgb, var(--scalar-color-2), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}.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%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}@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)}}@media (width>=800px){.full-size-styles[data-v-5bb1dcc2]{width:50dvw!important}}@keyframes border-bottom{0%{border-bottom-width:0}to{border-bottom-width:var(--scalar-border-width)}}@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}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@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}}@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))}}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}@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))}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb, var(--scalar-tooltip-color), var(--scalar-tooltip-background))}}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.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-h-btn:hover{background-color:var(--scalar-button-1-hover)}.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-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\\: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, )}}@media (width>=800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (width>=1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}@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}}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}@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-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@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}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@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}}@media (hover:hover){.scalar-app .group-hover\\/button\\:opacity-0:is(:where(.group\\/button):hover *){opacity:0}.scalar-app .peer-hover\\/button\\:opacity-100:is(:where(.peer\\/button):hover~*),.scalar-app .hover\\:opacity-100:hover{opacity:1}}@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);-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 .markdown-alert{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%);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:color-mix(in srgb, var(--scalar-color-2), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}.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%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}@media (width<=720px) and (height<=480px){.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2]{max-height:90svh;margin-top:5svh}}@media (width>=800px){.full-size-styles[data-v-5bb1dcc2]{width:50dvw!important}}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@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}}@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-c-accent{background-color:var(--scalar-color-accent)}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}@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))}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb, var(--scalar-tooltip-color), var(--scalar-tooltip-background))}}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.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-h-btn:hover{background-color:var(--scalar-button-1-hover)}.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-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\\: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, )}}@media (width>=800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (width>=1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}@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}}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}.http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000026,#ffffff09)}.address-bar-history-button[data-v-7e9dbe2f]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-7e9dbe2f]:focus-within{background:var(--scalar-background-2)}[data-v-103d9d56] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-103d9d56] .cm-placeholder{color:var(--scalar-color-3)}[data-v-103d9d56] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-103d9d56] .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-103d9d56] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-103d9d56] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-103d9d56] .cm-activeLine,[data-v-103d9d56] .cm-activeLineGutter{background-color:#0000}[data-v-103d9d56] .cm-selectionMatch,[data-v-103d9d56] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-103d9d56] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-103d9d56] .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-103d9d56] .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-103d9d56] .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-103d9d56] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-103d9d56] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-103d9d56] .cm-scroller{overflow:auto}.line-wrapping[data-v-103d9d56]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{--tw-bg-base:var(--scalar-color-1);color:var(--tw-bg-base);font-size:var(--scalar-small);border-radius:30px;padding:0 9px;display:inline-block;background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab, red, red)){.cm-pill{background:color-mix(in srgb, var(--tw-bg-base), transparent 94%)!important}}.cm-pill.bg-grey{background:var(--scalar-background-3)!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}}.description[data-v-92012388] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-92012388] .markdown>:first-child{margin-top:0}[data-v-cb2a35da] .cm-editor{outline:none;width:100%;height:100%}[data-v-cb2a35da] .cm-line{padding:0}[data-v-cb2a35da] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-cb2a35da]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-cb2a35da]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-cb2a35da] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-cb2a35da]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-cb2a35da] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-cb2a35da]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-cb2a35da]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-cb2a35da]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-cb2a35da],.fade-right[data-v-cb2a35da]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-cb2a35da;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-cb2a35da]{background:linear-gradient(-90deg, var(--scalar-address-bar-bg) 0%, var(--scalar-address-bar-bg) 30%, var(--scalar-address-bar-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-left[data-v-cb2a35da]{background:linear-gradient(-90deg, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 100%) 0%, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 20%) 30%, var(--scalar-address-bar-bg) 100%)}}.fade-left[data-v-cb2a35da]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-cb2a35da]{background:linear-gradient(90deg, var(--scalar-address-bar-bg) 0%, var(--scalar-address-bar-bg) 30%, var(--scalar-address-bar-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-right[data-v-cb2a35da]{background:linear-gradient(90deg, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 100%) 0%, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 20%) 30%, var(--scalar-address-bar-bg) 100%)}}.fade-right[data-v-cb2a35da]{min-width:24px;right:-1px}@keyframes fadein-cb2a35da{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-cb2a35da]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.address-bar-bg-states[data-v-cb2a35da]{--scalar-address-bar-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.address-bar-bg-states[data-v-cb2a35da]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-cb2a35da]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline:1px solid var(--scalar-color-accent)}:is(.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-cb2a35da],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-cb2a35da]){--scalar-address-bar-bg:var(--scalar-background-1)}.scroll-timeline-x[data-v-e0578855]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none;overflow:auto}.commandmenu[data-v-dd90fe74]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);opacity:0;width:100%;max-width:580px;max-height:60dvh;margin:12px;animation:.3s ease-in-out .1s forwards fadeincommandmenu-dd90fe74;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-dd90fe74]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-dd90fe74;position:fixed;inset:0}@keyframes fadeincommand-dd90fe74{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-dd90fe74{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}[data-v-c1a50a6e] .cm-editor{padding:0}[data-v-c1a50a6e] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-c1a50a6e] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-c1a50a6e] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-c1a50a6e] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-c1a50a6e] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-c1a50a6e]:after{content:"Required"}input[data-v-c1a50a6e]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-c1a50a6e]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}@media (width>=800px){.has-no-import-url,.has-import-url{contain:paint;max-width:100dvw;overflow-x:hidden}.has-no-import-url .scalar-client>main{opacity:1;background:var(--scalar-background-1);animation:.3s ease-in-out forwards transform-restore-layout}.has-import-url .scalar-client>main{opacity:0;border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:10000;border-radius:12px;animation:.3s ease-in-out forwards transform-fade-layout;overflow:hidden;transform:scale(.85)translate(calc(50dvw + 80px))}.has-import-url .scalar-client .sidenav{display:none}.has-no-import-url .scalar-app,.has-import-url .scalar-app{background:var(--scalar-background-1)!important}}@keyframes transform-fade-layout{0%{opacity:0;transform:scale(.85)translate(calc(50dvw + 80px),10px)}to{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}}@keyframes transform-restore-layout{0%{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}to{opacity:1;transform:scale(1)translate(0)}}.openapi-color{color:var(--scalar-color-green)}.section-flare{position:fixed;top:0;right:-50dvw}.sidebar-height[data-v-7aa06e5a]{min-height:100%}@media (width>=800px){.sidebar-mask[data-v-7aa06e5a]{-webkit-mask-image:linear-gradient(0, transparent 0, transparent 0, var(--scalar-background-2) 30px);-webkit-mask-image:linear-gradient(0, transparent 0, transparent 0, var(--scalar-background-2) 30px);-webkit-mask-image:linear-gradient(0, transparent 0, transparent 0, var(--scalar-background-2) 30px);-webkit-mask-image:linear-gradient(0, transparent 0, transparent 0, var(--scalar-background-2) 30px);mask-image:linear-gradient(0, transparent 0, transparent 0, var(--scalar-background-2) 30px)}}.resizer[data-v-7aa06e5a]{cursor:col-resize;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.resizer[data-v-7aa06e5a]:hover,.dragging .resizer[data-v-7aa06e5a]{border-right-color:var(--scalar-background-3)}.dragging[data-v-7aa06e5a]{cursor:col-resize}.dragging[data-v-7aa06e5a]:before{content:"";width:100%;height:100%;display:block;position:absolute}.open-api-client-button[data-v-c7bdd328]{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-c7bdd328]:hover{background:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}[data-radix-popper-content-wrapper]:has(.scalar-api-client-context-menu){z-index:1000!important}.nav-item[data-v-5f5771c8]{cursor:pointer;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-3);border:var(--scalar-border-width) solid var(--scalar-background-2);color:var(--scalar-color-3);flex:1;justify-content:center;align-items:center;min-width:0;padding:4.5px;display:flex;position:relative;overflow:hidden}.dark-mode .nav-item[data-v-5f5771c8]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.dark-mode .nav-item[data-v-5f5771c8]{background:color-mix(in srgb, var(--scalar-background-2), transparent)}}.nav-item-icon-copy[data-v-5f5771c8]{white-space:nowrap;max-width:100%;-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);overflow:hidden}.nav-item:hover .nav-item-icon-copy[data-v-5f5771c8]{-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px)}.nav-item-copy[data-v-5f5771c8]{max-width:calc(100% - 20px)}.nav-item[data-v-5f5771c8]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-5f5771c8]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-5f5771c8]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-5f5771c8]{border-radius:var(--scalar-radius);stroke-width:1.5px;max-width:20px;color:var(--scalar-color-3);opacity:0;background:0 0;margin-left:-20px;padding:2px;position:absolute;right:3px}.nav-item:hover .nav-item-close[data-v-5f5771c8]{opacity:1}.nav-item-close[data-v-5f5771c8]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-5f5771c8]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-cb45fa05]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-cb45fa05]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000026,#ffffff1a)}@supports (color:color-mix(in lab, red, red)){.dark-mode #scalar-client{background-color:color-mix(in srgb, var(--scalar-background-1) 65%, black)}}.scalar .scalar-app-layout[data-v-6118685a]{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-6118685a]{height:100%;max-height:90svh}}.scalar .scalar-app-exit[data-v-6118685a]{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-6118685a]{background:#00000073}.scalar .scalar-app-exit[data-v-6118685a]: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-6118685a]:hover:before{opacity:1}.scalar-container[data-v-6118685a]{visibility:visible;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar .url-form-input[data-v-6118685a]{min-height:auto!important}.scalar .scalar-container[data-v-6118685a]{line-height:normal}.scalar-client-fade-enter-active[data-v-6118685a],.scalar-client-fade-leave-active[data-v-6118685a]{transition:opacity .35s}.scalar-client-fade-enter-from[data-v-6118685a],.scalar-client-fade-leave-to[data-v-6118685a]{opacity:0}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@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);-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 .markdown-alert{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%);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:color-mix(in srgb, var(--scalar-color-2), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}.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%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%);border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}@media (width<=720px) and (height<=480px){.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2]{max-height:90svh;margin-top:5svh}}@media (width>=800px){.full-size-styles[data-v-5bb1dcc2]{width:50dvw!important}}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@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}}@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))}}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}@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))}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb, var(--scalar-tooltip-color), var(--scalar-tooltip-background))}}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.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-h-btn:hover{background-color:var(--scalar-button-1-hover)}.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-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\\: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, )}}@media (width>=800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (width>=1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}@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}}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}.sidebar-heading-type[data-v-1857170e]{text-transform:uppercase;color:var(--method-color,var(--scalar-color-1));font-size:10px;line-height:14px;font-weight:var(--scalar-bold);font-family:var(--scalar-font-code);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;display:inline-flex;overflow:hidden}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}.scalar-app .right-0\\.75{right:3px}@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 .self-start{align-self:flex-start}@media (hover:hover){.scalar-app .group-hover\\/button\\:opacity-0:is(:where(.group\\/button):hover *){opacity:0}}.scalar-app .group-focus-visible\\/button\\:opacity-0:is(:where(.group\\/button):focus-visible *),.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}@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 .after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.scalar-app .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-app .after\\:inset-0:after{content:var(--tw-content);inset:0}.scalar-app .after\\:inset-x-0:after{content:var(--tw-content);inset-inline:0}.scalar-app .after\\:-top-0\\.5:after{content:var(--tw-content);top:-2px}.scalar-app .after\\:-bottom-0\\.5:after{content:var(--tw-content);bottom:-2px}.scalar-app .after\\:block:after{content:var(--tw-content);display:block}.scalar-app .after\\:h-0\\.75:after{content:var(--tw-content);height:3px}.scalar-app .after\\:rounded:after{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-app .after\\:bg-blue:after{content:var(--tw-content);background-color:var(--scalar-color-blue)}.scalar-app .after\\:opacity-15:after{content:var(--tw-content);opacity:.15}.scalar-app .focus-within\\:opacity-100:focus-within{opacity:1}@media (hover:hover){.scalar-app .hover\\:opacity-100:hover{opacity:1}}.scalar-app .has-\\[\\&\\[aria-expanded\\=true\\]\\]\\:opacity-100:has([aria-expanded=true]){opacity:1}.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}.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-6660bbc5]:hover,.dark-mode .scalar-dropdown-item[data-v-3402682d]:hover{filter:brightness(1.1)}.scalar-icon[data-v-b651bb23],.scalar-icon[data-v-b651bb23] *{stroke-width:var(--c07589c2)}.scalar-app :where(code.hljs) *{font-size:inherit;font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;line-height:1.4}.scalar-app code.hljs{all:unset;font-size:inherit;color:var(--scalar-color-2);font-family:var(--scalar-font-code);counter-reset:linenumber}.scalar-app .hljs{color:var(--scalar-color-2);background:0 0}.scalar-app .hljs .line:before{color:var(--scalar-color-3);counter-increment:linenumber;content:counter(linenumber);min-width:calc(var(--line-digits) * 1ch);text-align:right;margin-right:.875rem;display:inline-block}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credential .credential-value{color:#0000;font-size:0}.scalar-app .credential:after{content:"·····";color:var(--scalar-color-3);-webkit-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-string{color:var(--scalar-color-blue)}.hljs.language-curl .hljs-literal{color:var(--scalar-color-1)}.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{--scalar-refs-heading-spacing:24px;--markdown-border:var(--scalar-border-width) solid var(--scalar-border-color);--markdown-spacing-sm:12px;--markdown-spacing-md:16px;--markdown-line-height:1.625;--markdown-heading-line-height:1.15;font-family:var(--scalar-font);word-break:break-word;line-height:var(--markdown-line-height)}.scalar-app .markdown>*{margin-bottom:var(--markdown-spacing-md)}.scalar-app .markdown>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):last-child{margin-bottom:0}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-weight:var(--scalar-bold);margin-top:var(--scalar-refs-heading-spacing);margin-bottom:var(--markdown-spacing-sm);line-height:var(--markdown-heading-line-height,1.15);scroll-margin-top:1rem;display:block}.scalar-app .markdown h1{font-size:1.5rem}.scalar-app .markdown h2,.scalar-app .markdown h3{font-size:1.25rem}.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:1rem}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;line-height:var(--markdown-line-height);display:block}.scalar-app .markdown img{border-radius:var(--scalar-radius);max-width:100%;display:inline-block;overflow:hidden}.scalar-app .markdown ul,.scalar-app .markdown ol{line-height:var(--markdown-line-height);flex-direction:column;gap:2px;padding-left:1.6em;display:flex}.scalar-app .markdown li{margin-top:2px;padding-left:7px}.scalar-app ol>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app ol>*>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app .markdown ol{list-style-type:decimal}.scalar-app .markdown ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol{list-style-type:decimal}.scalar-app .markdown ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol,.scalar-app .markdown ol ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol ol{list-style-type:lower-roman}.scalar-app .markdown ul>li,.scalar-app .markdown ul>*>li{list-style-type:disc}.scalar-app .markdown table{table-layout:fixed;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);border-spacing:0;width:max-content;max-width:100%;margin:1em 0;display:table;position:relative;overflow-x:auto}.scalar-app .markdown tbody,.scalar-app .markdown thead{vertical-align:middle}.scalar-app .markdown tbody{display:table-row-group}.scalar-app .markdown thead{display:table-header-group}.scalar-app .markdown tr{border-color:inherit;vertical-align:inherit;display:table-row}.scalar-app .markdown td,.scalar-app .markdown th{vertical-align:top;min-width:1em;line-height:var(--markdown-line-height);word-break:break-word;font-size:var(--scalar-small);color:var(--scalar-color-1);border-right:var(--markdown-border);border-bottom:var(--markdown-border);padding:8.5px 16px;display:table-cell;position:relative}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-bold);text-align:left;background:var(--scalar-background-2);border-left-color:#0000}.scalar-app .markdown th:first-of-type{border-top-left-radius:var(--scalar-radius)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.scalar-app .markdown details{border:var(--markdown-border);border-radius:var(--scalar-radius-xl);color:var(--scalar-color-1)}.scalar-app .markdown details>:not(summary){margin:var(--markdown-spacing-md);margin-bottom:0}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong))){margin-bottom:8px}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong)))+*{margin-top:0}.scalar-app .markdown details>table{width:calc(100% - calc(var(--markdown-spacing-md) * 2))}.scalar-app .markdown summary{min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:2.5px;align-items:flex-start;gap:8px;padding:7px 14px;display:flex;position:relative}.scalar-app .markdown summary:hover{background-color:var(--scalar-background-2)}.scalar-app .markdown details[open]{padding-bottom:var(--markdown-spacing-md)}.scalar-app .markdown details[open]>summary{border-bottom:var(--markdown-border);border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .markdown summary:before{content:"";width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);background-color:var(--scalar-color-3);flex-shrink:0;margin-top:5px;display:block;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>")}.scalar-app .markdown summary:hover:before{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open]>summary:before{transition:transform .1s ease-in-out;transform:rotate(90deg)}.scalar-app .markdown details:has(+details){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;margin-bottom:0}.scalar-app .markdown details:has(+details)+details{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown details:has(+details)+details>summary{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown a{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-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);-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);-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);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);text-decoration-color:var(--scalar-color-1,currentColor);color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown a:visited{color:var(--font-visited)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup,.scalar-app .markdown sub{font-size:var(--scalar-micro);font-weight:450}.scalar-app .markdown sup{vertical-align:super}.scalar-app .markdown sub{vertical-align:sub}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown .hljs{font-size:var(--scalar-small)}.scalar-app .markdown pre code{white-space:pre;padding:var(--markdown-spacing-sm);margin:var(--markdown-spacing-sm) 0;-webkit-overflow-scrolling:touch;min-width:100px;max-width:100%;line-height:1.5;display:block;overflow-x:auto}.scalar-app .markdown hr{border:none;border-bottom:var(--markdown-border)}.scalar-app .markdown blockquote{border-left:2px solid var(--scalar-border-color);padding-left:var(--markdown-spacing-sm)}.scalar-app .markdown blockquote>*{margin-bottom:var(--markdown-spacing-sm)}.scalar-app .markdown li.task-list-item{list-style:none;position:relative}.scalar-app .markdown li.task-list-item>input{appearance:none;width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);border:1px solid var(--scalar-color-3);border-radius:var(--scalar-radius);display:inline;position:absolute;top:.225em;left:-1.4em}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked{background-color:var(--scalar-color-1);border-color:var(--scalar-color-1)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:before{content:"";border:solid var(--scalar-background-1);opacity:0;border-width:0 1.5px 1.5px 0;width:5px;height:10px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked:before{opacity:1}.scalar-app .markdown .markdown-alert{border-radius:var(--scalar-radius);background-color:var(--scalar-background-2);align-items:stretch}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}}.scalar-app .markdown .markdown-alert{border:var(--markdown-border);gap:var(--markdown-spacing-sm);padding:10px 14px;display:flex;position:relative}.scalar-app .markdown .markdown-alert .markdown-alert-icon:before{content:"";background-color:currentColor;flex-shrink:0;width:18px;height:18px;margin-top:3px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-blue), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb, var(--scalar-color-2), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-blue);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb, var(--scalar-color-orange), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution .markdown-alert-icon:before{color:var(--scalar-color-red);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success .markdown-alert-icon:before{color:var(--scalar-color-green);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before{color:var(--scalar-color-blue)}.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-2)}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before{color:var(--scalar-color-purple)}.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{color:var(--scalar-color-orange)}.scalar-app .markdown .markdown-alert .markdown-alert-content{line-height:var(--markdown-line-height);margin:0}.scalar-app .markdown.markdown-summary.markdown-summary :before,.scalar-app .markdown.markdown-summary.markdown-summary :after{content:none}.scalar-app .markdown.markdown-summary.markdown-summary :not(strong,em,a){font-size:inherit;font-weight:inherit;line-height:var(--markdown-line-height);display:contents}.scalar-app .markdown.markdown-summary.markdown-summary img,.scalar-app .markdown.markdown-summary.markdown-summary svg,.scalar-app .markdown.markdown-summary.markdown-summary hr,.scalar-app .markdown.markdown-summary.markdown-summary pre{display:none}.scalar-modal-layout[data-v-5bb1dcc2]{animation:.3s ease-in-out forwards fadein-layout-5bb1dcc2}.scalar-modal[data-v-5bb1dcc2]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-5bb1dcc2;transform:translateY(10px)}.scalar-modal-layout-full[data-v-5bb1dcc2]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-5bb1dcc2]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media (width<=720px) and (height<=480px){.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2]{max-height:90svh;margin-top:5svh}}.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\\/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}.group\\/sidebar-section:first-of-type>.group\\/spacer-before,.group\\/sidebar-section:last-of-type>.group\\/spacer-after{height:0}.group\\/sidebar-section:has(+.group\\/sidebar-section)>.group\\/spacer-after{height:0;margin-bottom:-1px}:where(body)>.scalar-tooltip{--scalar-tooltip-padding:8px;padding:calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-font-weight:var(--scalar-semibold);line-height:16px;font-weight:var(--scalar-semibold);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body)>.scalar-tooltip:before{content:"";inset:var(--scalar-tooltip-offset);z-index:calc(1 * -1);border-radius:var(--scalar-radius);background-color:var(--scalar-tooltip-background);--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );position:absolute}:where(body.dark-mode)>.scalar-tooltip:before{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,var(--scalar-border-width)) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}: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;-webkit-text-decoration:inherit;text-decoration:inherit;text-align:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) :before,:where(.scalar-app) :after{--tw-content:""}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea{background:0 0}:where(.scalar-app) ::file-selector-button{background:0 0}:where(.scalar-app) ol,:where(.scalar-app) ul,:where(.scalar-app) menu{list-style:none}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input[type=search]::-webkit-search-cancel-button{appearance:none}:where(.scalar-app) input[type=search]::-webkit-search-decoration{appearance:none}:where(.scalar-app) summary::-webkit-details-marker{display:none}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{border-radius:var(--scalar-radius);outline-style:solid}:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-offset:-1px}:where(.scalar-app) button,:where(.scalar-app) [role=button]{cursor:pointer}:where(.scalar-app) :disabled{cursor:default}:where(.scalar-app) img,:where(.scalar-app) svg,:where(.scalar-app) video,:where(.scalar-app) canvas,:where(.scalar-app) audio,:where(.scalar-app) iframe,:where(.scalar-app) embed,:where(.scalar-app) object{vertical-align:middle;display:block}:where(.scalar-app) [hidden]{display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overflow-y:auto}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.scalar-app.scalar-scrollbars-obtrusive .cm-scroller,.scalar-app.scalar-scrollbars-obtrusive .custom-scroll{scrollbar-color:var(--scalar-scrollbar-color,transparent) transparent}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-corner{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar{width:12px;height:12px}.scalar-app .custom-scroll::-webkit-scrollbar{width:12px;height:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-track{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}.scalar-app .custom-scroll::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}.scalar-app .invisible{visibility:hidden}.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-\\(--nested-items-offset\\)\\!{top:var(--nested-items-offset)!important}.scalar-app .top-\\(--scalar-sidebar-sticky-offset\\,0\\){top:var(--scalar-sidebar-sticky-offset,0)}.scalar-app .top-0\\.5{top:2px}.scalar-app .top-1\\/2{top:50%}.scalar-app .top-2\\.5{top:10px}.scalar-app .top-22{top:88px}.scalar-app .top-\\[1lh\\]{top:1lh}.scalar-app .top-\\[calc\\(10px\\+0\\.5lh\\)\\]{top:calc(10px + .5lh)}.scalar-app .top-px{top:1px}.scalar-app .-right-1{right:-4px}.scalar-app .-right-1\\.5{right:-6px}.scalar-app .right-1\\.25{right:5px}.scalar-app .right-2\\.5{right:10px}.scalar-app .bottom-4{bottom:16px}.scalar-app .left-2\\.5{left:10px}.scalar-app .left-4{left:16px}.scalar-app .left-border{left:var(--scalar-border-width)}.scalar-app .left-px{left:1px}.scalar-app .-z-2{z-index:calc(2 * -1)}.scalar-app .z-tooltip{z-index:99999}@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-\\(--scalar-sidebar-padding\\){margin:calc(var(--scalar-sidebar-padding) * -1)}.scalar-app .-m-1{margin:-4px}.scalar-app .-m-1\\.5{margin:-6px}.scalar-app .-m-2{margin:-8px}.scalar-app .-m-px{margin:-1px}.scalar-app .m-1{margin:4px}.scalar-app .-mx-0\\.75{margin-inline:-3px}.scalar-app .-mx-px{margin-inline:-1px}.scalar-app .mx-px{margin-inline:1px}.scalar-app .-my-1\\.5{margin-block:-6px}.scalar-app .-my-2{margin-block:-8px}.scalar-app .my-0\\.75{margin-block:3px}.scalar-app .my-1\\.5{margin-block:6px}.scalar-app .-mt-1\\.5{margin-top:-6px}.scalar-app .mt-0{margin-top:0}.scalar-app .mt-\\[15svh\\]{margin-top:15svh}.scalar-app .mt-\\[20svh\\]{margin-top:20svh}.scalar-app .-mr-0\\.25{margin-right:-1px}.scalar-app .mr-0{margin-right:0}.scalar-app .mr-\\[calc\\(20px-var\\(--scalar-sidebar-indent\\)\\)\\]{margin-right:calc(20px - var(--scalar-sidebar-indent))}.scalar-app .-mb-1{margin-bottom:-4px}.scalar-app .-ml-0\\.75{margin-left:-3px}.scalar-app .line-clamp-\\(--markdown-clamp\\){-webkit-line-clamp:var(--markdown-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!hidden{display:none!important}.scalar-app .size-2{width:8px;height:8px}.scalar-app .size-2\\.75{width:11px;height:11px}.scalar-app .size-60{width:240px;height:240px}.scalar-app .size-\\[23px\\]{width:23px;height:23px}.scalar-app .h-0{height:0}.scalar-app .h-1{height:4px}.scalar-app .h-24{height:96px}.scalar-app .h-32{height:128px}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .h-lh{height:1lh}.scalar-app .max-h-24{max-height:96px}.scalar-app .max-h-\\[80svh\\]{max-height:80svh}.scalar-app .max-h-\\[90svh\\]{max-height:90svh}.scalar-app .max-h-dvh{max-height:100dvh}.scalar-app .max-h-radix-popper{max-height:calc(var(--radix-popper-available-height) - 8px)}.scalar-app .min-h-96{min-height:384px}.scalar-app .min-h-header{min-height:48px}.scalar-app .w-\\(--scalar-sidebar-width\\){width:var(--scalar-sidebar-width)}.scalar-app .w-12{width:48px}.scalar-app .w-24{width:96px}.scalar-app .w-32{width:128px}.scalar-app .w-40{width:160px}.scalar-app .w-48{width:192px}.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-border{width:var(--scalar-border-width)}.scalar-app .w-min{width:min-content}.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-screen-padded-4{max-width:calc(100vw - 32px)}.scalar-app .max-w-xs{max-width:320px}.scalar-app .min-w-6{min-width:24px}.scalar-app .min-w-40{min-width:160px}.scalar-app .min-w-min{min-width:min-content}.scalar-app .flex-shrink,.scalar-app .shrink{flex-shrink:1}.scalar-app .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-2\\.5{--tw-translate-x:calc(4px * 2.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-\\[14px\\]{--tw-translate-x:14px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\.5{--tw-translate-y:calc(4px * -1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-0{--tw-translate-y:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-1\\.5{--tw-translate-y:calc(4px * 1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-\\[200\\%\\]{--tw-translate-y:200%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .appearance-none{appearance:none}.scalar-app .grid-flow-col{grid-auto-flow:column}.scalar-app .\\!items-end{align-items:flex-end!important}.scalar-app .\\!items-start{align-items:flex-start!important}.scalar-app .items-baseline{align-items:baseline}.scalar-app .\\!justify-end{justify-content:flex-end!important}.scalar-app .\\!justify-start{justify-content:flex-start!important}.scalar-app .gap-2\\.25{gap:9px}.scalar-app .gap-x-4{column-gap:16px}.scalar-app .gap-y-8{row-gap:32px}:where(.scalar-app .divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(var(--scalar-border-width) * var(--tw-divide-x-reverse));border-inline-end-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-x-reverse)))}.scalar-app .self-end{align-self:flex-end}.scalar-app .overflow-x-clip{overflow-x:clip}.scalar-app .overscroll-contain{overscroll-behavior:contain}.scalar-app .rounded-\\[inherit\\]{border-radius:inherit}.scalar-app .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.scalar-app .border-1{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-c-alert{border-color:var(--scalar-color-alert)}.scalar-app .border-red{border-color:var(--scalar-color-red)}.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-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-alert{background-color:var(--scalar-background-alert)}.scalar-app .bg-b-btn{background-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-inherit{background-color:inherit}.scalar-app .bg-red{background-color:var(--scalar-color-red)}.scalar-app .bg-sidebar-b-search{background-color:var(--scalar-sidebar-search-background,var(--scalar-background-2))}.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 .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 .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 .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);-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;-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);-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;-webkit-mask-composite:source-in;mask-composite:intersect}.scalar-app .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .p-\\(--scalar-sidebar-padding\\){padding:var(--scalar-sidebar-padding)}.scalar-app .p-0\\.25{padding:1px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .px-9{padding-inline:36px}.scalar-app .py-4{padding-block:16px}.scalar-app .py-\\[6\\.75px\\]{padding-block:6.75px}.scalar-app .pr-\\[100\\%\\]{padding-right:100%}.scalar-app .pl-8{padding-left:32px}.scalar-app .pl-\\[100\\%\\]{padding-left:100%}.scalar-app .text-base\\/4{font-size:var(--scalar-font-size-3);line-height:16px}.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 .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 .break-words,.scalar-app .wrap-break-word{overflow-wrap:break-word}.scalar-app .text-c-tooltip{color:var(--scalar-tooltip-color)}.scalar-app .text-sidebar-c-1{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .text-sidebar-c-search{color:var(--scalar-sidebar-search-color,var(--scalar-color-3))}.scalar-app .text-white{color:#fff}.scalar-app .opacity-40{opacity:.4}.scalar-app .-outline-offset-2{outline-offset:calc(2px * -1)}.scalar-app .outline-offset-1{outline-offset:1px}.scalar-app .outline-offset-\\[-1px\\]{outline-offset:-1px}.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 .duration-400{--tw-duration:.4s;transition-duration:.4s}.scalar-app .ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.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)}: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 .\\*\\:min-w-5>*){min-width:20px}:is(.scalar-app .\\*\\:flex-1>*){flex:1}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:gap-px>*){gap:1px}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:border>*){border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab, red, red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb, var(--scalar-tooltip-color), var(--scalar-tooltip-background))}}:is(.scalar-app .\\*\\:px-1>*){padding-inline:4px}:is(.scalar-app .\\*\\:text-xs>*){font-size:var(--scalar-font-size-5)}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-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-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}}.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-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 .placeholder\\:font-\\[inherit\\]::placeholder{font-family:inherit}.scalar-app .first\\:rounded-t-\\[inherit\\]:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.scalar-app .last\\:rounded-b-\\[inherit\\]:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.scalar-app .focus-within\\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}.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-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\\: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-visible\\:border-c-btn:focus-visible{border-color:var(--scalar-button-1-color)}.scalar-app .focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .active\\:bg-b-btn:active{background-color:var(--scalar-button-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 .has-\\[\\:focus-visible\\]\\:bg-sidebar-b-1:has(:focus-visible){background-color:var(--scalar-sidebar-background-1,var(--scalar-background-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}@media (width>=800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (width>=1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}.scalar-app .dark\\:bg-\\(--bg-dark\\):where(.dark-mode,.dark-mode *){background-color:var(--bg-dark)}.scalar-app .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-app .dark\\:bg-backdrop-dark:where(.dark-mode,.dark-mode *){background-color:#00000073}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){background-image:linear-gradient(var(--tw-gradient-stops))}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}:where(.scalar-app) [class*=rotate-],:where(.scalar-app) [class*=translate-],:where(.scalar-app) [class*=scale-]{transform:none}.scalar-app .pointer-events-auto{pointer-events:auto}.scalar-app .pointer-events-none{pointer-events:none}.scalar-app .collapse{visibility:collapse}.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 .start{inset-inline-start:4px}.scalar-app .end{inset-inline-end:4px}.scalar-app .-top-\\(--scalar-address-bar-height\\){top:calc(var(--scalar-address-bar-height) * -1)}.scalar-app .-top-0\\.5{top:-2px}.scalar-app .-top-\\[104px\\]{top:-104px}.scalar-app .top-0{top:0}.scalar-app .top-2{top:8px}.scalar-app .top-4{top:16px}.scalar-app .top-12{top:48px}.scalar-app .top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.scalar-app .-right-0\\.5{right:-2px}.scalar-app .-right-\\[30px\\]{right:-30px}.scalar-app .right-0{right:0}.scalar-app .right-1{right:4px}.scalar-app .right-1\\.5{right:6px}.scalar-app .right-1\\/2{right:50%}.scalar-app .right-2{right:8px}.scalar-app .right-4{right:16px}.scalar-app .right-7{right:28px}.scalar-app .right-14{right:56px}.scalar-app .right-16{right:64px}.scalar-app .bottom-0{bottom:0}.scalar-app .bottom-1{bottom:4px}.scalar-app .bottom-1\\/2{bottom:50%}.scalar-app .bottom-2{bottom:8px}.scalar-app .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-app .left-0{left:0}.scalar-app .left-1\\/2{left:50%}.scalar-app .left-2{left:8px}.scalar-app .left-3{left:12px}.scalar-app .-z-1{z-index:calc(1 * -1)}.scalar-app .z-0{z-index:0}.scalar-app .z-1{z-index:1}.scalar-app .z-2{z-index:2}.scalar-app .z-10{z-index:10}.scalar-app .z-20{z-index:20}.scalar-app .z-50{z-index:50}.scalar-app .z-\\[1\\]{z-index:1}.scalar-app .z-\\[60\\]{z-index:60}.scalar-app .z-\\[1002\\]{z-index:1002}.scalar-app .z-context{z-index:1000}.scalar-app .z-context-plus{z-index:1001}.scalar-app .z-overlay{z-index:10000}.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-0{margin:0}.scalar-app .m-4{margin:16px}.scalar-app .m-auto{margin:auto}.scalar-app .-mx-0\\.25{margin-inline:-1px}.scalar-app .mx-1{margin-inline:4px}.scalar-app .mx-auto{margin-inline:auto}.scalar-app .-my-0\\.5{margin-block:-2px}.scalar-app .-my-1{margin-block:-4px}.scalar-app .my-12{margin-block:48px}.scalar-app .-mt-\\[\\.5px\\]{margin-top:-.5px}.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-1\\.5{margin-top:6px}.scalar-app .mt-2{margin-top:8px}.scalar-app .mt-3{margin-top:12px}.scalar-app .mt-5{margin-top:20px}.scalar-app .mt-10{margin-top:40px}.scalar-app .mt-\\[0\\.5px\\]{margin-top:.5px}.scalar-app .mt-auto{margin-top:auto}.scalar-app .mt-px{margin-top:1px}.scalar-app .\\!mr-0{margin-right:0!important}.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-3{margin-right:-12px}.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-2\\.5{margin-right:10px}.scalar-app .mr-3{margin-right:12px}.scalar-app .mr-\\[6\\.25px\\]{margin-right:6.25px}.scalar-app .mr-auto{margin-right:auto}.scalar-app .\\!mb-0{margin-bottom:0!important}.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-4{margin-bottom:16px}.scalar-app .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-app .-ml-0\\.5{margin-left:-2px}.scalar-app .-ml-0\\.25{margin-left:-1px}.scalar-app .-ml-1{margin-left:-4px}.scalar-app .-ml-2{margin-left:-8px}.scalar-app .-ml-12{margin-left:-48px}.scalar-app .ml-0\\.5{margin-left:2px}.scalar-app .ml-0\\.75{margin-left:3px}.scalar-app .ml-1{margin-left:4px}.scalar-app .ml-1\\.25{margin-left:5px}.scalar-app .ml-2{margin-left:8px}.scalar-app .ml-3{margin-left:12px}.scalar-app .ml-\\[11px\\]{margin-left:11px}.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-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!block{display:block!important}.scalar-app .\\!flex{display:flex!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 .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-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-5{width:20px;height:20px}.scalar-app .size-6{width:24px;height:24px}.scalar-app .size-7{width:28px;height:28px}.scalar-app .size-8{width:32px;height:32px}.scalar-app .size-10{width:40px;height:40px}.scalar-app .size-full{width:100%;height:100%}.scalar-app .h-\\(--scalar-address-bar-height\\){height:var(--scalar-address-bar-height)}.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-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-12{height:48px}.scalar-app .h-16{height:64px}.scalar-app .h-64{height:256px}.scalar-app .h-125{height:500px}.scalar-app .h-\\[68px\\]{height:68px}.scalar-app .h-\\[calc\\(100\\%-273\\.5px\\)\\]{height:calc(100% - 273.5px)}.scalar-app .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-app .h-auto{height:auto}.scalar-app .h-dvh{height:100dvh}.scalar-app .h-fit{height:fit-content}.scalar-app .h-full{height:100%}.scalar-app .h-header{height:48px}.scalar-app .h-min{height:min-content}.scalar-app .h-px{height:1px}.scalar-app .h-screen{height:100vh}.scalar-app .\\!max-h-\\[initial\\]{max-height:initial!important}.scalar-app .max-h-8{max-height:32px}.scalar-app .max-h-28{max-height:112px}.scalar-app .max-h-40{max-height:160px}.scalar-app .max-h-80{max-height:320px}.scalar-app .max-h-\\[40dvh\\]{max-height:40dvh}.scalar-app .max-h-\\[50dvh\\]{max-height:50dvh}.scalar-app .max-h-\\[60svh\\]{max-height:60svh}.scalar-app .max-h-\\[300px\\]{max-height:300px}.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-fit{max-height:fit-content}.scalar-app .max-h-screen{max-height:100vh}.scalar-app .min-h-0{min-height:0}.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-12{min-height:48px}.scalar-app .min-h-16{min-height:64px}.scalar-app .min-h-20{min-height:80px}.scalar-app .min-h-\\[4rem\\]{min-height:4rem}.scalar-app .min-h-\\[64px\\]{min-height:64px}.scalar-app .min-h-\\[65px\\]{min-height:65px}.scalar-app .min-h-\\[300px\\]{min-height:300px}.scalar-app .min-h-\\[calc\\(1rem\\*4\\)\\]{min-height:4rem}.scalar-app .min-h-\\[calc\\(4rem\\+0\\.5px\\)\\]{min-height:calc(4rem + .5px)}.scalar-app .min-h-\\[calc\\(4rem\\+1px\\)\\]{min-height:calc(4rem + 1px)}.scalar-app .min-h-fit{min-height:fit-content}.scalar-app .\\!w-fit{width:fit-content!important}.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{width:8px}.scalar-app .w-2\\.5{width:10px}.scalar-app .w-2\\.25{width:9px}.scalar-app .w-3{width:12px}.scalar-app .w-3\\.5{width:14px}.scalar-app .w-4{width:16px}.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-10{width:40px}.scalar-app .w-16{width:64px}.scalar-app .w-20{width:80px}.scalar-app .w-56{width:224px}.scalar-app .w-64{width:256px}.scalar-app .w-72{width:288px}.scalar-app .w-\\[60px\\]{width:60px}.scalar-app .w-\\[100px\\]{width:100px}.scalar-app .w-\\[150px\\]{width:150px}.scalar-app .w-\\[calc\\(100\\%-10px\\)\\]{width:calc(100% - 10px)}.scalar-app .w-\\[inherit\\]{width:inherit}.scalar-app .w-auto{width:auto}.scalar-app .w-content{width:720px}.scalar-app .w-content-padded-4{width:calc(var(--container-content) - calc(4px * 4 * 2))}.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 .w-screen{width:100vw}.scalar-app .max-w-8{max-width:32px}.scalar-app .max-w-40{max-width:160px}.scalar-app .max-w-\\[14px\\]{max-width:14px}.scalar-app .max-w-\\[37px\\]{max-width:37px}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[150px\\]{max-width:150px}.scalar-app .max-w-\\[160px\\]{max-width:160px}.scalar-app .max-w-\\[220px\\]{max-width:220px}.scalar-app .max-w-\\[380px\\]{max-width:380px}.scalar-app .max-w-\\[420px\\]{max-width:420px}.scalar-app .max-w-\\[720px\\]{max-width:720px}.scalar-app .max-w-\\[calc\\(100dvw-24px\\)\\]{max-width:calc(100dvw - 24px)}.scalar-app .max-w-full{max-width:100%}.scalar-app .max-w-full-padded-4{max-width:calc(100% - 32px)}.scalar-app .min-w-0{min-width:0}.scalar-app .min-w-2\\.25{min-width:9px}.scalar-app .min-w-3\\.5{min-width:14px}.scalar-app .min-w-4{min-width:16px}.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-\\[37px\\]{min-width:37px}.scalar-app .min-w-\\[48px\\]{min-width:48px}.scalar-app .min-w-\\[100px\\]{min-width:100px}.scalar-app .min-w-\\[150px\\]{min-width:150px}.scalar-app .min-w-\\[296px\\]{min-width:296px}.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{flex-shrink:1}.scalar-app .shrink-0{flex-shrink:0}.scalar-app .flex-grow,.scalar-app .grow{flex-grow:1}.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-0{--tw-translate-x:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-1\\/2{--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-1\\/2{--tw-translate-y:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.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-spin{animation:var(--animate-spin)}.scalar-app .cursor-auto{cursor:auto}.scalar-app .cursor-default{cursor:default}.scalar-app .cursor-grab{cursor:grab}.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 .auto-rows-\\[32px\\]{grid-auto-rows:32px}.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 .grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.scalar-app .grid-cols-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.scalar-app .grid-cols-\\[repeat\\(auto-fill\\,minmax\\(32px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}.scalar-app .flex-col{flex-direction:column}.scalar-app .flex-row{flex-direction:row}.scalar-app .flex-wrap{flex-wrap:wrap}.scalar-app .content-between{align-content:space-between}.scalar-app .content-start{align-content:flex-start}.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-2{gap:8px!important}.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-3{gap:12px}.scalar-app .gap-4{gap:16px}.scalar-app .gap-5{gap:20px}.scalar-app .gap-6{gap:24px}.scalar-app .gap-8{gap:32px}.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}:where(.scalar-app .space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(4px * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(4px * 1) * calc(1 - var(--tw-space-y-reverse)))}.scalar-app .gap-x-1\\.5{column-gap:6px}.scalar-app .gap-x-2\\.5{column-gap:10px}:where(.scalar-app .space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(4px * 1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(4px * 1) * calc(1 - var(--tw-space-x-reverse)))}.scalar-app .gap-y-0\\.5{row-gap:2px}: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 .justify-self-center{justify-self:center}.scalar-app .justify-self-end{justify-self:flex-end}.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-x-scroll{overflow-x:scroll}.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 .\\!rounded-none{border-radius:0!important}.scalar-app .rounded{border-radius:var(--scalar-radius)}.scalar-app .rounded-\\[10px\\]{border-radius:10px}.scalar-app .rounded-full{border-radius:9999px}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius)}.scalar-app .rounded-none{border-radius:0}.scalar-app .rounded-px{border-radius:1px}.scalar-app .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-app .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-app .rounded-t-lg{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}.scalar-app .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .rounded-t-xl{border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl)}.scalar-app .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-app .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl);border-bottom-left-radius:var(--scalar-radius-xl)}.scalar-app .\\!border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.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\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.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-r-1{border-right-style:var(--tw-border-style);border-right-width:1px}.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-b-\\[1px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.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-dotted{--tw-border-style:dotted;border-style:dotted}.scalar-app .border-none{--tw-border-style:none;border-style:none}.scalar-app .border-none\\!{--tw-border-style:none!important;border-style:none!important}.scalar-app .\\!border-current{border-color:currentColor!important}.scalar-app .border-\\(--scalar-background-3\\){border-color:var(--scalar-background-3)}.scalar-app .border-\\(--scalar-color-alert\\){border-color:var(--scalar-color-alert)}.scalar-app .border-\\[var\\(--scalar-border-color\\)\\],.scalar-app .border-border{border-color:var(--scalar-border-color)}.scalar-app .border-c-1{border-color:var(--scalar-color-1)}.scalar-app .border-c-3{border-color:var(--scalar-color-3)}.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-danger{border-color:var(--scalar-color-danger)}.scalar-app .border-transparent{border-color:#0000}.scalar-app .border-r-transparent{border-right-color:#0000}.scalar-app .border-l-border\\/50{border-left-color:var(--scalar-border-color)}@supports (color:color-mix(in lab, red, red)){.scalar-app .border-l-border\\/50{border-left-color:color-mix(in oklab, var(--scalar-border-color) 50%, transparent)}}.scalar-app .bg-\\(--scalar-background-alert\\){background-color:var(--scalar-background-alert)}.scalar-app .bg-\\[var\\(--scalar-background-1\\)\\]{background-color:var(--scalar-background-1)}.scalar-app .bg-\\[var\\(--scalar-background-2\\)\\]{background-color:var(--scalar-background-2)}.scalar-app .bg-\\[var\\(--scalar-background-3\\)\\]{background-color:var(--scalar-background-3)}.scalar-app .bg-\\[var\\(--scalar-color-green\\)\\]{background-color:var(--scalar-color-green)}.scalar-app .bg-b-1{background-color:var(--scalar-background-1)}.scalar-app .bg-b-2,.scalar-app .bg-b-2\\/30{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-b-2\\/30{background-color:color-mix(in oklab, var(--scalar-background-2) 30%, transparent)}}.scalar-app .bg-b-2\\/40{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-b-2\\/40{background-color:color-mix(in oklab, var(--scalar-background-2) 40%, transparent)}}.scalar-app .bg-b-3{background-color:var(--scalar-background-3)}.scalar-app .bg-b-danger{background-color:var(--scalar-background-danger)}.scalar-app .bg-c-3\\/5{background-color:var(--scalar-color-3)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-c-3\\/5{background-color:color-mix(in oklab, var(--scalar-color-3) 5%, transparent)}}.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-alert{background-color:var(--scalar-color-alert)}.scalar-app .bg-c-danger{background-color:var(--scalar-color-danger)}.scalar-app .bg-current{background-color:currentColor}.scalar-app .bg-grey{background-color:var(--scalar-color-3)}.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-none{background-image:none}.scalar-app .fill-current{fill:currentColor}.scalar-app .stroke-2{stroke-width:2px}.scalar-app .stroke-\\[1\\.5\\]{stroke-width:1.5px}.scalar-app .stroke-\\[1\\.75\\]{stroke-width:1.75px}.scalar-app .stroke-\\[2\\.25\\]{stroke-width:2.25px}.scalar-app .object-contain{object-fit:contain}.scalar-app .\\!p-0{padding:0!important}.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-3{padding:12px}.scalar-app .p-4{padding:16px}.scalar-app .p-\\[3px\\]{padding:3px}.scalar-app .p-\\[5px\\]{padding:5px}.scalar-app .p-px{padding:1px}.scalar-app .\\!px-3{padding-inline:12px!important}.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-8{padding-inline:32px}.scalar-app .\\!py-1\\.5{padding-block:6px!important}.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-3{padding-block:12px}.scalar-app .py-5{padding-block:20px}.scalar-app .py-8{padding-block:32px}.scalar-app .py-px{padding-block:1px}.scalar-app .\\!pt-0{padding-top:0!important}.scalar-app .pt-0{padding-top:0}.scalar-app .pt-2{padding-top:8px}.scalar-app .pt-3{padding-top:12px}.scalar-app .pt-4{padding-top:16px}.scalar-app .pt-6{padding-top:24px}.scalar-app .pt-8{padding-top:32px}.scalar-app .pt-14{padding-top:56px}.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-4{padding-right:16px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-9{padding-right:36px}.scalar-app .pr-10{padding-right:40px}.scalar-app .pr-12{padding-right:48px}.scalar-app .pr-\\[26px\\]{padding-right:26px}.scalar-app .pb-0{padding-bottom:0}.scalar-app .pb-1\\.5{padding-bottom:6px}.scalar-app .pb-2{padding-bottom:8px}.scalar-app .pb-3{padding-bottom:12px}.scalar-app .pb-5{padding-bottom:20px}.scalar-app .pb-6{padding-bottom:24px}.scalar-app .pb-8{padding-bottom:32px}.scalar-app .pb-14{padding-bottom:56px}.scalar-app .pb-20{padding-bottom:80px}.scalar-app .pb-\\[75px\\]{padding-bottom:75px}.scalar-app .\\!pl-3{padding-left:12px!important}.scalar-app .pl-1{padding-left:4px}.scalar-app .pl-1\\.5{padding-left:6px}.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-5{padding-left:20px}.scalar-app .pl-6{padding-left:24px}.scalar-app .pl-8\\.5{padding-left:34px}.scalar-app .pl-9{padding-left:36px}.scalar-app .pl-12{padding-left:48px}.scalar-app .pl-px{padding-left:1px}.scalar-app .text-center{text-align:center}.scalar-app .text-left{text-align:left}.scalar-app .text-right{text-align:right}.scalar-app .font-code{font-family:var(--scalar-font-code)}.scalar-app .font-sans{font-family:var(--scalar-font)}.scalar-app .text-base{font-size:var(--scalar-font-size-3);line-height:var(--tw-leading,calc(1 / .875))}.scalar-app .text-base\\/5{font-size:var(--scalar-font-size-3);line-height:20px}.scalar-app .text-xl{font-size:var(--scalar-font-size-1);line-height:var(--tw-leading,calc(1 / .875))}.scalar-app .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[10px\\]{font-size:10px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-\\[21px\\]{font-size:21px}.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-\\[6px\\]{--tw-leading:6px!important;line-height:6px!important}.scalar-app .leading-4{--tw-leading:calc(4px * 4);line-height:16px}.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-\\[7px\\]{--tw-leading:7px;line-height:7px}.scalar-app .leading-\\[20px\\]{--tw-leading:20px;line-height:20px}.scalar-app .leading-\\[21px\\]{--tw-leading:21px;line-height:21px}.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 .leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.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 .tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.scalar-app .text-balance{text-wrap:balance}.scalar-app .text-nowrap{text-wrap:nowrap}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.scalar-app .break-words{overflow-wrap:break-word}.scalar-app .\\[word-break\\:break-word\\]{word-break:break-word}.scalar-app .break-all{word-break:break-all}.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-\\(--scalar-color-alert\\){color:var(--scalar-color-alert)}.scalar-app .text-\\[var\\(--scalar-color-red\\)\\]{color:var(--scalar-color-red)}.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-border{color:var(--scalar-border-color)}.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-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-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-transparent{color:#0000}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .lowercase{text-transform:lowercase}.scalar-app .normal-case{text-transform:none}.scalar-app .uppercase{text-transform:uppercase}.scalar-app .italic{font-style:italic}.scalar-app .tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.scalar-app .line-through{text-decoration-line:line-through}.scalar-app .no-underline{text-decoration-line:none}.scalar-app .underline{text-decoration-line:underline}.scalar-app .decoration-c-3{-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3)}.scalar-app .underline-offset-2{text-underline-offset:2px}.scalar-app .opacity-0{opacity:0}.scalar-app .opacity-50{opacity:.5}.scalar-app .opacity-80{opacity:.8}.scalar-app .opacity-100{opacity:1}.scalar-app .bg-blend-normal{background-blend-mode:normal}.scalar-app .mix-blend-luminosity{mix-blend-mode:luminosity}.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-\\[0_-8px_0_8px_var\\(--scalar-background-1\\)\\,0_0_8px_8px_var\\(--scalar-background-1\\)\\]{--tw-shadow:0 -8px 0 8px var(--tw-shadow-color,var(--scalar-background-1)), 0 0 8px 8px 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-\\[var\\(--scalar-shadow-1\\)\\]{--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-border{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,var(--scalar-border-width)) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-lg{--tw-shadow:var(--scalar-shadow-2);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-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 .shadow-sm{--tw-shadow:var(--tw-shadow-color,#00000017) 0px 1px 4px;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:2px}.scalar-app .outline-b-3{outline-color:var(--scalar-background-3)}.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-\\[\\.9\\]{--tw-brightness:brightness(.9);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-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-all{transition-property:all;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 .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 .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\\:32px\\]{--scalar-address-bar-height:32px}.scalar-app .app-drag-region{-webkit-app-region:drag}.scalar-app .app-no-drag-region{-webkit-app-region:no-drag}:is(.scalar-app .\\*\\:flex>*){display:flex}:is(.scalar-app .\\*\\:h-8>*){height:32px}:is(.scalar-app .\\*\\:max-w-64>*){max-width:256px}:is(.scalar-app .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:rounded-none>*){border-radius:0}:is(.scalar-app .\\*\\:border-t>*){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-b-0>*){border-bottom-style:var(--tw-border-style);border-bottom-width:0}: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\\: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-focus-within\\:flex:is(:where(.group):focus-within *){display:flex}@media (hover:hover){.scalar-app .group-hover\\:block:is(:where(.group):hover *){display:block}.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:hidden:is(:where(.group):hover *){display:none}.scalar-app .group-hover\\:inline:is(:where(.group):hover *){display:inline}.scalar-app .group-hover\\:pr-5:is(:where(.group):hover *){padding-right:20px}.scalar-app .group-hover\\:pr-6:is(:where(.group):hover *){padding-right:24px}.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-80:is(:where(.group):hover *){opacity:.8}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/auth\\:absolute:is(:where(.group\\/auth):hover *){position:absolute}.scalar-app .group-hover\\/auth\\:h-auto:is(:where(.group\\/auth):hover *){height:auto}.scalar-app .group-hover\\/auth\\:border-b:is(:where(.group\\/auth):hover *){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .group-hover\\/cell\\:opacity-100:is(:where(.group\\/cell):hover *){opacity:1}.scalar-app .group-hover\\/item\\:flex:is(:where(.group\\/item):hover *){display:flex}.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/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\\/scopes-accordion\\:text-c-2:is(:where(.group\\/scopes-accordion):hover *){color:var(--scalar-color-2)}}.scalar-app .group-focus-visible\\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.scalar-app .group-focus-visible\\:outline:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-has-focus-visible\\:hidden:is(:where(.group):has(:focus-visible) *){display:none}.scalar-app .group-has-\\[\\.cm-focused\\]\\:z-1:is(:where(.group):has(.cm-focused) *){z-index:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:flex:is(:where(.group):has(.cm-focused) *){display:flex}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-6:is(:where(.group):has(.cm-focused) *){padding-right:24px}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-10:is(:where(.group):has(.cm-focused) *){padding-right:40px}.scalar-app .group-has-\\[\\:focus-visible\\]\\:hidden:is(:where(.group):has(:focus-visible) *){display:none}.scalar-app .group-has-\\[\\:focus-visible\\]\\:opacity-100:is(:where(.group):has(:focus-visible) *){opacity:1}.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-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-\\[\\.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)}.scalar-app .peer-has-\\[\\.cm-focused\\]\\:opacity-0:is(:where(.peer):has(.cm-focused)~*){opacity:0}.scalar-app .peer-has-\\[\\.color-selector\\]\\:hidden:is(:where(.peer):has(.color-selector)~*){display:none}.scalar-app .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-app .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-app .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-app .before\\:left-3:before{content:var(--tw-content);left:12px}.scalar-app .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-app .before\\:z-1:before{content:var(--tw-content);z-index:1}.scalar-app .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-app .before\\:w-\\[\\.5px\\]:before{content:var(--tw-content);width:.5px}.scalar-app .before\\:bg-border:before{content:var(--tw-content);background-color:var(--scalar-border-color)}:is(.scalar-app .\\*\\:not-first\\:before\\:content-\\[\\'_·_\\'\\]>*):not(:first-child):before{--tw-content:" · ";content:var(--tw-content)}.scalar-app .after\\:content-\\[\\'\\:\\'\\]:after{--tw-content:":";content:var(--tw-content)}.scalar-app .first\\:rounded-md:first-child{border-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:first\\:line-clamp-1>*):first-child{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.scalar-app .\\*\\:first\\:rounded-l>*):first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:first\\:border-t-0>*):first-child,:is(.scalar-app .first\\:\\*\\:border-t-0:first-child>*){border-top-style:var(--tw-border-style);border-top-width:0}:is(.scalar-app .\\*\\:first\\:text-ellipsis>*):first-child{text-overflow:ellipsis}@media (hover:hover){:is(.scalar-app .group-hover\\/auth\\:\\*\\:first\\:line-clamp-none:is(:where(.group\\/auth):hover *)>*):first-child{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}}.scalar-app .last\\:mb-0:last-child{margin-bottom:0}.scalar-app .last\\:rounded-md:last-child{border-radius:var(--scalar-radius)}.scalar-app .last\\:rounded-b-lg:last-child{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}:is(.scalar-app .\\*\\:last\\:rounded-r>*):last-child{border-top-right-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius)}.scalar-app .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.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 .focus-within\\:z-20:focus-within{z-index:20}.scalar-app .focus-within\\:border-\\(--scalar-background-3\\):focus-within{border-color:var(--scalar-background-3)}.scalar-app .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-app .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}@media (hover:hover){.scalar-app .hover\\:cursor-default:hover{cursor:default}.scalar-app .hover\\:border-\\(--scalar-background-3\\):hover{border-color:var(--scalar-background-3)}.scalar-app .hover\\:border-inherit:hover{border-color:inherit}.scalar-app .hover\\:bg-\\[var\\(--scalar-background-3\\)\\]:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-b-2:hover,.scalar-app .hover\\:bg-b-2\\/40:hover{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-b-2\\/40:hover{background-color:color-mix(in oklab, var(--scalar-background-2) 40%, transparent)}}.scalar-app .hover\\:bg-b-2\\/50:hover{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-b-2\\/50:hover{background-color:color-mix(in oklab, var(--scalar-background-2) 50%, transparent)}}.scalar-app .hover\\:bg-b-2\\/60:hover{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-b-2\\/60:hover{background-color:color-mix(in oklab, var(--scalar-background-2) 60%, transparent)}}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.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-inherit:hover{background-color:inherit}.scalar-app .hover\\:bg-sidebar-b-active:hover{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .hover\\:whitespace-normal:hover{white-space:normal}.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\\:underline:hover{text-decoration-line:underline}.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 .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\\:z-10:focus-visible{z-index:10}.scalar-app .focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + 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 .focus-visible\\:ring-c-accent\\/30:focus-visible{--tw-ring-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .focus-visible\\:ring-c-accent\\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--scalar-color-accent) 30%, transparent)}}.scalar-app .focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.scalar-app .focus-visible\\:ring-offset-b-1:focus-visible{--tw-ring-offset-color:var(--scalar-background-1)}.scalar-app .focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.scalar-app .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-app .disabled\\:cursor-default:disabled{cursor:default}.scalar-app .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-app .has-focus-visible\\:bg-b-1:has(:focus-visible){background-color:var(--scalar-background-1)}.scalar-app .has-focus-visible\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .has-\\[\\.empty-sidebar-item\\]\\:border-t:has(.empty-sidebar-item){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.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\\]\\:opacity-100:has(:focus-visible){opacity:1}.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}@media not all and (width>=800px){.scalar-app .max-md\\:absolute\\!{position:absolute!important}.scalar-app .max-md\\:fixed\\!{position:fixed!important}.scalar-app .max-md\\:inset-y-0{inset-block:0}.scalar-app .max-md\\:z-2{z-index:2}.scalar-app .max-md\\:flex\\!{display:flex!important}.scalar-app .max-md\\:hidden\\!{display:none!important}.scalar-app .max-md\\:w-full\\!{width:100%!important}.scalar-app .max-md\\:pt-12{padding-top:48px}}@media (width>=600px){.scalar-app .sm\\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.scalar-app .sm\\:order-none{order:0}.scalar-app .sm\\:mr-1\\.5{margin-right:6px}.scalar-app .sm\\:mb-1\\.5{margin-bottom:6px}.scalar-app .sm\\:ml-1\\.5{margin-left:6px}.scalar-app .sm\\:flex{display:flex}.scalar-app .sm\\:hidden{display:none}.scalar-app .sm\\:max-w-max{max-width:max-content}.scalar-app .sm\\:min-w-max{min-width:max-content}.scalar-app .sm\\:flex-col{flex-direction:column}.scalar-app .sm\\:flex-row{flex-direction:row}.scalar-app .sm\\:justify-between{justify-content:space-between}.scalar-app .sm\\:gap-px{gap:1px}.scalar-app .sm\\:rounded{border-radius:var(--scalar-radius)}.scalar-app .sm\\:rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .sm\\:px-2{padding-inline:8px}.scalar-app .sm\\:px-3{padding-inline:12px}.scalar-app .sm\\:py-1\\.5{padding-block:6px}:is(.scalar-app .sm\\:\\*\\:rounded-lg>*){border-radius:var(--scalar-radius-lg)}}@media (width>=800px){.scalar-app .md\\:pointer-events-none{pointer-events:none}.scalar-app .md\\: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 .md\\:centered-x{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;left:50%}.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\\:right-10{right:40px}.scalar-app .md\\:bottom-10{bottom:40px}.scalar-app .md\\:mx-auto{margin-inline:auto}.scalar-app .md\\:mt-0{margin-top:0}.scalar-app .md\\:-ml-1\\.25{margin-left:-5px}.scalar-app .md\\:ml-1\\.5{margin-left:6px}.scalar-app .md\\:block{display:block}.scalar-app .md\\:flex{display:flex}.scalar-app .md\\:grid{display:grid}.scalar-app .md\\:hidden{display:none}.scalar-app .md\\:w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-app .md\\:w-full{width:100%}.scalar-app .md\\:max-w-180,.scalar-app .md\\:max-w-\\[720px\\],.scalar-app .md\\:max-w-content{max-width:720px}.scalar-app .md\\:min-w-fit{min-width:fit-content}.scalar-app .md\\:flex-none{flex:none}.scalar-app .md\\:translate-x-0{--tw-translate-x:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.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\\:translate-y-0{--tw-translate-y:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .md\\:grid-cols-\\[1fr_720px_1fr\\]{grid-template-columns:1fr 720px 1fr}.scalar-app .md\\:flex-row{flex-direction:row}.scalar-app .md\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .md\\:p-1\\.5{padding:6px}.scalar-app .md\\:px-0{padding-inline:0}.scalar-app .md\\:px-1\\.5{padding-inline:6px}.scalar-app .md\\:px-2{padding-inline:8px}.scalar-app .md\\:px-2\\.5{padding-inline:10px}.scalar-app .md\\:px-4{padding-inline:16px}.scalar-app .md\\:px-\\[18px\\]{padding-inline:18px}.scalar-app .md\\:py-2\\.5{padding-block:10px}.scalar-app .md\\:pt-6{padding-top:24px}.scalar-app .md\\:pt-8{padding-top:32px}.scalar-app .md\\:pb-2\\.5{padding-bottom:10px}.scalar-app .md\\:pb-\\[37px\\]{padding-bottom:37px}.scalar-app .md\\:pl-0{padding-left:0}.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\\:order-0,.scalar-app .lg\\:order-none{order:0}.scalar-app .lg\\:-mr-1{margin-right:-4px}.scalar-app .lg\\:mb-0{margin-bottom:0}.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:min-h-header{min-height:48px}.scalar-app .lg\\:w-auto{width:auto}.scalar-app .lg\\:max-w-\\[580px\\]{max-width:580px}.scalar-app .lg\\:min-w-\\[580px\\]{min-width:580px}.scalar-app .lg\\:flex-1{flex:1}.scalar-app .lg\\:p-0{padding:0}.scalar-app .lg\\:p-1{padding:4px}.scalar-app .lg\\:px-1{padding-inline:4px}.scalar-app .lg\\:px-2\\.5{padding-inline:10px}.scalar-app .lg\\:pt-1{padding-top:4px}.scalar-app .lg\\:pr-24{padding-right:96px}}@media (width>=1200px){.scalar-app .xl\\:\\!flex{display:flex!important}.scalar-app .xl\\:flex{display:flex}.scalar-app .xl\\:hidden{display:none}.scalar-app .xl\\:h-fit{height:fit-content}.scalar-app .xl\\:h-full{height:100%}.scalar-app .xl\\:min-h-header{min-height:48px}.scalar-app .xl\\:max-w-\\[720px\\]{max-width:720px}.scalar-app .xl\\:min-w-0{min-width:0}.scalar-app .xl\\:min-w-\\[720px\\]{min-width:720px}.scalar-app .xl\\:flex-row{flex-direction:row}.scalar-app .xl\\:overflow-auto{overflow:auto}.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}}.scalar-app .dark\\:bg-b-2:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}@media (hover:hover){.scalar-app .hover\\:dark\\:bg-b-2:hover:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}}.scalar-app .ui-open\\:rotate-90[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-90){rotate:90deg}.scalar-app .ui-open\\:rotate-180[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-180){rotate:180deg}.scalar-app .last\\:ui-open\\:border-b-0:last-child[data-headlessui-state~=open],:where([data-headlessui-state~=open]) .scalar-app .last\\:ui-open\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .ui-not-open\\:hidden[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:hidden):not([data-headlessui-state]){display:none}.scalar-app .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:rotate-0):not([data-headlessui-state]){rotate:none}.scalar-app .ui-checked\\:bg-b-3[data-headlessui-state~=checked],:where([data-headlessui-state~=checked]) :is(.scalar-app .ui-checked\\:bg-b-3){background-color:var(--scalar-background-3)}.scalar-app .ui-active\\:bg-b-2[data-headlessui-state~=active],:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:bg-b-2),: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}}.app-platform-mac :is(.scalar-app .mac\\:h-12){height:48px}.app-platform-mac :is(.scalar-app .mac\\:pt-12){padding-top:48px}.app-platform-mac :is(.scalar-app .mac\\:pl-\\[72px\\]){padding-left:72px}.app-platform-mac :is(.scalar-app .mac\\:app-drag-region){-webkit-app-region:drag}.scalar-app .\\[\\&_\\.monaco-editor\\]\\:rounded-lg .monaco-editor,.scalar-app .\\[\\&_\\.overflow-guard\\]\\:rounded-lg .overflow-guard{border-radius:var(--scalar-radius-lg)}.scalar-app .\\[\\&\\>label\\]\\:bg-transparent>label{background-color:#0000}.scalar-app .\\[\\&\\>label\\]\\:p-0>label{padding:0}.scalar-app .\\[\\&\\>label\\]\\:shadow-none>label{--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)}@media (hover:hover){.scalar-app .\\[\\&\\>label\\]\\:hover\\:bg-transparent>label:hover{background-color:#0000}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-tracking{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}@keyframes spin{to{transform:rotate(360deg)}}#scalar-client{background-color:var(--scalar-background-2);flex-direction:column;width:100dvw;height:100dvh;display:flex;position:relative}@supports (color:color-mix(in lab, red, red)){.dark-mode #scalar-client{background-color:color-mix(in srgb, var(--scalar-background-1) 65%, black)}}.address-bar-history-button[data-v-5b995586]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-5b995586]:focus-within{background:var(--scalar-background-2)}[data-v-3ac22ad4] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-3ac22ad4] .cm-placeholder{color:var(--scalar-color-3)}[data-v-3ac22ad4] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-3ac22ad4] .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-3ac22ad4] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-3ac22ad4] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-3ac22ad4] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-3ac22ad4] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-3ac22ad4] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-3ac22ad4] .cm-activeLine,[data-v-3ac22ad4] .cm-activeLineGutter{background-color:#0000}[data-v-3ac22ad4] .cm-selectionMatch,[data-v-3ac22ad4] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-3ac22ad4] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-3ac22ad4] .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-3ac22ad4] .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-3ac22ad4] .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-3ac22ad4] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-3ac22ad4] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-3ac22ad4] .cm-scroller{overflow:auto}.line-wrapping[data-v-3ac22ad4]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{font-size:var(--scalar-small);border-radius:30px;padding:0 9px;display:inline-block;color:var(--scalar-color-1)!important}.light-mode .cm-pill{background:var(--scalar-background-3)!important}.dark-mode .cm-pill{background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab, red, red)){.dark-mode .cm-pill{background:color-mix(in srgb, var(--tw-bg-base), transparent 90%)!important}}.cm-pill:first-of-type{margin-left:0}.cm-editor .cm-widgetBuffer{display:none}.cm-foldPlaceholder:hover{color:var(--scalar-color-1)}.cm-foldGutter .cm-gutterElement{font-size:var(--scalar-heading-4);padding:2px!important}.cm-foldGutter .cm-gutterElement:first-of-type{display:none}.cm-foldGutter .cm-gutterElement .cm-foldMarker{padding:2px}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.description[data-v-1b7a32a4] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-1b7a32a4] .markdown>:first-child{margin-top:0}[data-v-0ec7147f] .cm-editor{outline:none;width:100%;height:100%}[data-v-0ec7147f] .cm-line{padding:0}[data-v-0ec7147f] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-0ec7147f]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-0ec7147f]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-0ec7147f] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-0ec7147f]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-0ec7147f] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-0ec7147f]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-0ec7147f]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-0ec7147f]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-0ec7147f],.fade-right[data-v-0ec7147f]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-0ec7147f;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-0ec7147f]{background:linear-gradient(-90deg, var(--scalar-address-bar-bg) 0%, var(--scalar-address-bar-bg) 30%, var(--scalar-address-bar-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-left[data-v-0ec7147f]{background:linear-gradient(-90deg, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 100%) 0%, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 20%) 30%, var(--scalar-address-bar-bg) 100%)}}.fade-left[data-v-0ec7147f]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-0ec7147f]{background:linear-gradient(90deg, var(--scalar-address-bar-bg) 0%, var(--scalar-address-bar-bg) 30%, var(--scalar-address-bar-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-right[data-v-0ec7147f]{background:linear-gradient(90deg, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 100%) 0%, color-mix(in srgb, var(--scalar-address-bar-bg), transparent 20%) 30%, var(--scalar-address-bar-bg) 100%)}}.fade-right[data-v-0ec7147f]{min-width:24px;right:-1px}@keyframes fadein-0ec7147f{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-0ec7147f]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.address-bar-bg-states[data-v-0ec7147f]{--scalar-address-bar-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.address-bar-bg-states[data-v-0ec7147f]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-0ec7147f]: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-0ec7147f],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-0ec7147f]){--scalar-address-bar-bg:var(--scalar-background-1)}.app-exit-button[data-v-0e03d0d8]{color:#fff;background:#0000001a}.app-exit-button[data-v-0e03d0d8]:hover{background:#ffffff1a}.fade-request-section-content[data-v-f97cc68c]{background:linear-gradient(to left, var(--scalar-background-1) 64%, transparent)}.filter-hover[data-v-f97cc68c]{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-f97cc68c]:hover{z-index:10;width:100%}.filter-hover[data-v-f97cc68c]:has(:focus-visible){z-index:10;width:100%}.filter-hover[data-v-f97cc68c]: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-f97cc68c]{opacity:0}.filter-hover-item[data-v-f97cc68c]:not(:last-of-type){transform:translateY(3px)}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:last-of-type{transition-delay:50ms}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(7){transition-delay:.35s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]{opacity:1;transform:translate(0)}.filter-hover:has(:focus-visible) .filter-hover-item[data-v-f97cc68c]{opacity:1;transform:translate(0)}.filter-hover[data-v-f97cc68c]:hover:before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-hover[data-v-f97cc68c]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-button[data-v-f97cc68c]{top:50%;transform:translateY(-50%)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-f97cc68c]{--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-f97cc68c]{--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-f97cc68c]{display:none}.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-f97cc68c]{display:none}[data-v-36811e28] .cm-editor{padding:0}[data-v-36811e28] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-36811e28] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-36811e28] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-36811e28] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-36811e28] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-36811e28]{-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px)}[data-v-3260eadd] .cm-content{font-size:var(--scalar-small)}.form-group[data-v-43df1726]{margin-bottom:1rem}.modal-actions[data-v-43df1726]{justify-content:flex-end;gap:1rem;display:flex}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}[data-v-3157c3c7] .cm-editor{padding:0}[data-v-3157c3c7] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-3157c3c7] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-3157c3c7] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-3157c3c7] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-3157c3c7] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-3157c3c7]:after{content:"Required"}input[data-v-3157c3c7]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-3157c3c7]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.request-section-content[data-v-2d4e3b5d]{--scalar-border-width:.5px}.request-section-content-filter[data-v-2d4e3b5d]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-2d4e3b5d]{opacity:1}.group-hover-input[data-v-2d4e3b5d]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-2d4e3b5d]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-2d4e3b5d]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-2d4e3b5d]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-2d4e3b5d]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.light-mode .bg-preview[data-v-c02b5bb8]{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-c02b5bb8]{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")}[data-v-194605f9] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-194605f9] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}.body-raw[data-v-194605f9] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-94c74c13] .hljs *{font-size:var(--scalar-small)}.ascii-art-animate .ascii-art-line[data-v-69ebd973]{border-right:1ch solid #0000;animation:4s step-end 1s both typewriter-69ebd973,.5s step-end infinite blinkTextCursor-69ebd973}@keyframes typewriter-69ebd973{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-69ebd973{0%{border-right-color:currentColor}50%{border-right-color:#0000}}.scalar-version-number[data-v-34b57d9d]{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-34b57d9d]{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-34b57d9d]{display:none}.v-enter-active[data-v-1f35725e]{transition:opacity .5s}.v-enter-from[data-v-1f35725e]{opacity:0}.animate-response-heading .response-heading[data-v-9c1fd1c7]{opacity:1;animation:.2s ease-in-out forwards push-response-9c1fd1c7}@keyframes push-response-9c1fd1c7{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-9c1fd1c7]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-9c1fd1c7}@keyframes response-spans-9c1fd1c7{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.request-card[data-v-0e4ddc16]{font-size:var(--scalar-font-size-3)}.request-method[data-v-0e4ddc16]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-0e4ddc16]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex;position:relative}.request-card-footer-addon[data-v-0e4ddc16]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-0e4ddc16]{flex:1;display:flex}.request-card-simple[data-v-0e4ddc16]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-0e4ddc16]{flex-direction:column;width:100%;display:flex}.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}.download-app-button[data-v-9b609275]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-9b609275]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-9b609275]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-9b609275]:hover{background:linear-gradient(#00000026,#ffffff1a)}.empty-sidebar-item-content[data-v-96a54993]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-96a54993]{display:block}.rabbitjump[data-v-96a54993]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-96a54993]{opacity:1;animation:.5s step-end infinite rabbitAnimation-96a54993}.empty-sidebar-item:hover .rabbitsit[data-v-96a54993]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-96a54993}.empty-sidebar-item:hover .rabbit-ascii[data-v-96a54993]{animation:8s linear infinite rabbitRun-96a54993}@keyframes rabbitRun-96a54993{0%{transform:translate(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translate(0)}}@keyframes rabbitAnimation-96a54993{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-96a54993{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.nav-single-tab[data-v-a95343c7]{width:100%;height:100%;color:var(--scalar-color-1);justify-content:center;align-items:center;display:flex;overflow:hidden}.nav-item[data-v-a95343c7]{cursor:pointer;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-3);border:var(--scalar-border-width) solid var(--scalar-background-2);color:var(--scalar-color-3);flex:1;justify-content:center;align-items:center;min-width:0;padding:4.5px 1rem;display:flex;position:relative;overflow:hidden}.dark-mode .nav-item[data-v-a95343c7]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.dark-mode .nav-item[data-v-a95343c7]{background:color-mix(in srgb, var(--scalar-background-2), transparent)}}.nav-item-icon-copy[data-v-a95343c7]{white-space:nowrap;max-width:100%;-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);mask-image:linear-gradient(to left, transparent 0, var(--scalar-background-2) 20px);overflow:hidden}.nav-item:hover .nav-item-icon-copy[data-v-a95343c7]{-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);-webkit-mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px);mask-image:linear-gradient(to left, transparent 20px, var(--scalar-background-2) 40px)}.nav-item-copy[data-v-a95343c7]{max-width:calc(100% - 20px)}.nav-item[data-v-a95343c7]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-a95343c7]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-a95343c7]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-a95343c7]{border-radius:var(--scalar-radius);stroke-width:1.5px;max-width:20px;color:var(--scalar-color-3);opacity:0;background:0 0;margin-left:-20px;padding:2px;position:absolute;right:3px}.nav-item:hover .nav-item-close[data-v-a95343c7]{opacity:1}.nav-item-close[data-v-a95343c7]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-a95343c7]:hover{background-color:var(--scalar-background-2)}.splash-screen[data-v-af32615f]{opacity:0;animation:.5s ease-in-out forwards fadeIn-af32615f}.logo-icon[data-v-af32615f]{opacity:0;animation:.6s ease-in-out .2s forwards fadeInLogo-af32615f,2s ease-in-out .8s infinite pulse-af32615f}@keyframes fadeIn-af32615f{0%{opacity:0}to{opacity:.9}}@keyframes fadeInLogo-af32615f{0%{opacity:0;transform:scale(.9)}to{opacity:.8;transform:scale(1)}}@keyframes pulse-af32615f{0%,to{opacity:.8}50%{opacity:.6}}.commandmenu[data-v-29778ab7]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);opacity:0;width:100%;max-width:580px;max-height:80dvh;margin:12px;animation:.3s ease-in-out .1s forwards fadeincommandmenu-29778ab7;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-29778ab7]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-29778ab7;position:fixed;inset:0}@keyframes fadeincommand-29778ab7{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-29778ab7{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}#scalar-client{background-color:var(--scalar-background-2);position:relative}.dark-mode #scalar-client{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.dark-mode #scalar-client{background-color:color-mix(in srgb, var(--scalar-background-1) 65%, black)}}.group-hover-input[data-v-2f09f15e]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-2f09f15e]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-2f09f15e]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-2f09f15e]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-2f09f15e]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.editor-container[data-v-a388e6a4]{width:100%;height:100%}.sync-layout-root[data-v-a388e6a4]{background:var(--scalar-color-background-1,#1e1e1e)}@supports (color:color-mix(in lab, red, red)){.sync-layout-root[data-v-a388e6a4]{background:color-mix(in srgb, var(--scalar-color-background-1,#1e1e1e) 96%, transparent)}}.sync-editor-pane[data-v-a388e6a4]{background:var(--scalar-color-background-1,#1e1e1e)}@supports (color:color-mix(in lab, red, red)){.sync-editor-pane[data-v-a388e6a4]{background:color-mix(in srgb, var(--scalar-color-background-1,#1e1e1e) 95%, transparent)}}.sync-pane-title[data-v-a388e6a4]{letter-spacing:.03em;text-transform:uppercase;background:var(--scalar-color-background-2,#2d2d30);font-weight:600}@supports (color:color-mix(in lab, red, red)){.sync-pane-title[data-v-a388e6a4]{background:color-mix(in srgb, var(--scalar-color-background-2,#2d2d30) 85%, transparent)}}.resize-handle[data-v-a388e6a4]{background:0 0;border:none;border-radius:999px;flex-shrink:0;transition:background-color .12s,box-shadow .12s;display:block;position:relative}.resize-handle[data-v-a388e6a4]:before{content:"";opacity:1;border-radius:999px;transition:background-color .12s,transform .12s;position:absolute}.resize-handle[data-v-a388e6a4]:hover{background:var(--scalar-color-accent,#007acc)}@supports (color:color-mix(in lab, red, red)){.resize-handle[data-v-a388e6a4]:hover{background:color-mix(in srgb, var(--scalar-color-accent,#007acc) 12%, transparent)}}.resize-handle[data-v-a388e6a4]:active{background:var(--scalar-color-accent,#007acc)}@supports (color:color-mix(in lab, red, red)){.resize-handle[data-v-a388e6a4]:active{background:color-mix(in srgb, var(--scalar-color-accent,#007acc) 18%, transparent)}}.resize-handle[data-v-a388e6a4]:focus-visible{box-shadow:0 0 0 1px var(--scalar-color-accent,#007acc);outline:none}@supports (color:color-mix(in lab, red, red)){.resize-handle[data-v-a388e6a4]:focus-visible{box-shadow:0 0 0 1px color-mix(in srgb, var(--scalar-color-accent,#007acc) 70%, transparent)}}.resize-handle-col[data-v-a388e6a4]{cursor:col-resize;width:8px;min-height:44px;margin:2px 0}.resize-handle-col[data-v-a388e6a4]:before{background:var(--scalar-color-border,#3c3c3c);width:1px;height:calc(100% - 8px);top:50%;left:50%;transform:translate(-50%,-50%)}@supports (color:color-mix(in lab, red, red)){.resize-handle-col[data-v-a388e6a4]:before{background:color-mix(in srgb, var(--scalar-color-border,#3c3c3c) 85%, transparent)}}.resize-handle-row[data-v-a388e6a4]{cursor:row-resize;height:8px;margin:0 4px}.resize-handle-row[data-v-a388e6a4]:before{background:var(--scalar-color-border,#3c3c3c);width:calc(100% - 8px);height:1px;top:50%;left:50%;transform:translate(-50%,-50%)}@supports (color:color-mix(in lab, red, red)){.resize-handle-row[data-v-a388e6a4]:before{background:color-mix(in srgb, var(--scalar-color-border,#3c3c3c) 85%, transparent)}}.resize-handle-col[data-v-a388e6a4]:hover:before,.resize-handle-col[data-v-a388e6a4]:active:before,.resize-handle-row[data-v-a388e6a4]:hover:before,.resize-handle-row[data-v-a388e6a4]:active:before{background:var(--scalar-color-accent,#007acc)}@supports (color:color-mix(in lab, red, red)){.resize-handle-col[data-v-a388e6a4]:hover:before,.resize-handle-col[data-v-a388e6a4]:active:before,.resize-handle-row[data-v-a388e6a4]:hover:before,.resize-handle-row[data-v-a388e6a4]:active:before{background:color-mix(in srgb, var(--scalar-color-accent,#007acc) 78%, transparent)}}[data-v-a388e6a4] .json-path-highlight{background-color:#ffc80059;border-radius:4px}[data-v-a388e6a4] .json-focus-highlight-box-single{box-sizing:border-box;border:2px solid #f8ca14}[data-v-a388e6a4] .json-focus-highlight-box-top{box-sizing:border-box;border-top:2px solid #f8ca14;border-left:2px solid #f8ca14;border-right:2px solid #f8ca14}[data-v-a388e6a4] .json-focus-highlight-box-middle{box-sizing:border-box;border-left:2px solid #f8ca14;border-right:2px solid #f8ca14}[data-v-a388e6a4] .json-focus-highlight-box-bottom{box-sizing:border-box;border-bottom:2px solid #f8ca14;border-left:2px solid #f8ca14;border-right:2px solid #f8ca14;box-shadow:inset 0 0 0 1px #fde04759}.full-size-styles:has(.sync-conflict-modal-root){border-right:none!important;width:100dvw!important;max-width:100dvw!important}.full-size-styles:has(.sync-conflict-modal-root):after{display:none}.scalar-collection-auth[data-v-6bba6b78]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}[data-v-ddfccc08] .cm-editor{padding:0}[data-v-ddfccc08] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-ddfccc08] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-ddfccc08] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-ddfccc08] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-ddfccc08] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.editor-container[data-v-e99ee660]{width:100%;height:100%}[data-v-e99ee660] .json-path-highlight{background-color:#ffc80059;border-radius:4px}[data-v-e99ee660] .json-focus-highlight{background-color:var(--scalar-color-accent,#24b47e)}@supports (color:color-mix(in lab, red, red)){[data-v-e99ee660] .json-focus-highlight{background-color:color-mix(in srgb, var(--scalar-color-accent,#24b47e) 18%, transparent)}}[data-v-e99ee660] .json-focus-highlight{border-radius:4px}[data-v-28c8509c] .cm-editor{padding:0}[data-v-28c8509c] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-28c8509c] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-28c8509c] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-28c8509c] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-28c8509c] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}[data-v-d486ea71] .cm-content{min-height:fit-content}[data-v-d486ea71] .cm-scroller{max-width:100%;overflow:auto hidden}.scroll-timeline-x[data-v-f4568236]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none;overflow:auto}.scroll-timeline-x[data-v-f4568236]::-webkit-scrollbar{display:none}.postman-import-path-conflict-callout[data-v-9f13a627]{border-color:var(--scalar-color-red);background-color:var(--scalar-background-danger);color:var(--scalar-color-1)}.postman-tree-row__checkbox[data-v-5f85b37f] label{border-radius:0;gap:.375rem;padding:0;box-shadow:none!important;background-color:#0000!important}.postman-tree-row__checkbox[data-v-5f85b37f] label:hover,.postman-tree-row__checkbox[data-v-5f85b37f] label:focus-within{background-color:#0000!important}.postman-tree-row--collision[data-v-5f85b37f]{border-radius:var(--scalar-radius-md,4px);background-color:var(--scalar-background-danger)}.auth-combobox-position[data-v-0bb98074]{margin-left:120px}.scroll-timeline-x[data-v-0bb98074]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-0bb98074],.fade-right[data-v-0bb98074]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-0bb98074;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg, var(--scalar-background-1) 0%, var(--scalar-background-1) 60%, var(--scalar-background-1) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg, color-mix(in srgb, var(--scalar-background-1), transparent 100%) 0%, color-mix(in srgb, var(--scalar-background-1), transparent 20%) 60%, var(--scalar-background-1) 100%)}}.fade-left[data-v-0bb98074]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-0bb98074]{background:linear-gradient(90deg, var(--scalar-background-1) 0%, var(--scalar-background-1) 60%, var(--scalar-background-1) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-right[data-v-0bb98074]{background:linear-gradient(90deg, color-mix(in srgb, var(--scalar-background-1), transparent 100%) 0%, color-mix(in srgb, var(--scalar-background-1), transparent 20%) 60%, var(--scalar-background-1) 100%)}}.fade-right[data-v-0bb98074]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-0bb98074{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-3f1067a4]{margin-left:120px}.scroll-timeline-x[data-v-3f1067a4]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-3f1067a4],.fade-right[data-v-3f1067a4]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-3f1067a4;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-3f1067a4]{background:linear-gradient(-90deg, var(--scalar-background-1) 0%, var(--scalar-background-1) 60%, var(--scalar-background-1) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-left[data-v-3f1067a4]{background:linear-gradient(-90deg, color-mix(in srgb, var(--scalar-background-1), transparent 100%) 0%, color-mix(in srgb, var(--scalar-background-1), transparent 20%) 60%, var(--scalar-background-1) 100%)}}.fade-left[data-v-3f1067a4]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-3f1067a4]{background:linear-gradient(90deg, var(--scalar-background-1) 0%, var(--scalar-background-1) 60%, var(--scalar-background-1) 100%)}@supports (color:color-mix(in lab, red, red)){.fade-right[data-v-3f1067a4]{background:linear-gradient(90deg, color-mix(in srgb, var(--scalar-background-1), transparent 100%) 0%, color-mix(in srgb, var(--scalar-background-1), transparent 20%) 60%, var(--scalar-background-1) 100%)}}.fade-right[data-v-3f1067a4]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-3f1067a4{0%{opacity:0}15%{opacity:1}}.schema>span[data-v-4df72868]:not(:first-child):before{content:"·";margin:0 .5ch;display:block}.schema>span[data-v-4df72868]{white-space:nowrap;display:flex}[data-v-9a415d6b] .cm-editor{padding:0}[data-v-9a415d6b] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-9a415d6b] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-9a415d6b] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-9a415d6b] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-9a415d6b] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-9a415d6b]{-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px)}[data-v-9aa4b63a] .cm-content,[data-v-2891f052] code.hljs *{font-size:var(--scalar-small)}.request-section-content[data-v-287f5ecf]{--scalar-border-width:.5px}.request-section-content-filter[data-v-287f5ecf]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-287f5ecf]{opacity:1}.group-hover-input[data-v-287f5ecf]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-287f5ecf]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-287f5ecf]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-287f5ecf]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-287f5ecf]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.light-mode .bg-preview[data-v-0956ad2d]{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-0956ad2d]{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")}[data-v-35bf3f39] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-35bf3f39] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}.body-raw[data-v-35bf3f39] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-8e5d8a14] .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}.keycap-n[data-v-b1211b87]{background:-webkit-linear-gradient(5deg, transparent 30%, var(--scalar-color-3) 50%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.keycap-hotkey[data-v-b1211b87]{line-height:26px;position:absolute;top:32px}.scalar-version-number[data-v-6d2bdb61]{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-6d2bdb61]{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-6d2bdb61]{display:none}.v-enter-active[data-v-7ec8af01]{transition:opacity .5s}.v-enter-from[data-v-7ec8af01]{opacity:0}.animate-response-heading .response-heading[data-v-6e4eec82]{opacity:1;animation:.2s ease-in-out forwards push-response-6e4eec82}@keyframes push-response-6e4eec82{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-6e4eec82]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-6e4eec82}@keyframes response-spans-6e4eec82{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@supports (color:color-mix(in lab, red, red)){.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after,.dragover-asChild[data-v-a89d6a6e]:after{background:color-mix(in srgb, var(--scalar-color-blue), transparent 85%)}}.indent-border-line-offset[data-v-b2f06757]:before{left:var(--v2bb71a6d)}.indent-padding-left[data-v-b2f06757]{padding-left:calc(var(--b961af9e) + 6px)}.sidebar-folderitem[data-v-b2f06757] .ellipsis-position{right:6px;transform:none}.ellipsis-position[data-v-01a1ab71]{transform:translate(calc(-100% - 4.5px))}.search-button-fade[data-v-23d35bb5]{background:linear-gradient(var(--scalar-background-1) 32px, var(--scalar-background-1) 38px, transparent)}@supports (color:color-mix(in lab, red, red)){.search-button-fade[data-v-23d35bb5]{background:linear-gradient(var(--scalar-background-1) 32px, color-mix(in srgb, var(--scalar-background-1), transparent) 38px, transparent)}}.empty-sidebar-item-content[data-v-23d35bb5]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-23d35bb5]{display:block}.rabbitjump[data-v-23d35bb5]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-23d35bb5]{opacity:1;animation:.5s step-end infinite rabbitAnimation-23d35bb5}.empty-sidebar-item:hover .rabbitsit[data-v-23d35bb5]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-23d35bb5}.empty-sidebar-item:hover .rabbit-ascii[data-v-23d35bb5]{animation:8s linear infinite rabbitRun-23d35bb5}@keyframes rabbitRun-23d35bb5{0%{transform:translate(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translate(0)}}@keyframes rabbitAnimation-23d35bb5{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-23d35bb5{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.request-text-color-text[data-v-cf286224]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1), var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (width<=800px){.sidebar-active-hide-layout[data-v-cf286224]{display:none}.sidebar-active-width[data-v-cf286224]{width:100%}}.gitbook-show[data-v-c8df97c6]{display:none}.app-exit-button[data-v-c8df97c6]{color:#fff;background:#0000001a}.app-exit-button[data-v-c8df97c6]:hover{background:#ffffff1a}.request-text-color-text[data-v-57ae0d10]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1), var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (width<=800px){.sidebar-active-hide-layout[data-v-57ae0d10]{display:none}.sidebar-active-width[data-v-57ae0d10]{width:100%}}.group-hover-input[data-v-fced736a]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-fced736a]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-fced736a]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-fced736a]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-fced736a]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-68d5218e] .markdown h2{font-size:var(--scalar-font-size-2);line-height:var(--tw-leading,calc(1.25 / 1))}[data-v-5997a667] .cm-content{min-height:fit-content}[data-v-5997a667] .cm-scroller{max-width:100%;overflow:auto hidden}[data-v-83bfcc8a] .cm-editor{padding:0}[data-v-83bfcc8a] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-83bfcc8a] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-83bfcc8a] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after,.dragover-asChild[data-v-a89d6a6e]:after{background:color-mix(in srgb, var(--scalar-color-blue), transparent 85%)}}.scalar-collection-auth[data-v-cc87292e]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}.dragover-asChild[data-v-a89d6a6e],.dragover-above[data-v-a89d6a6e],.dragover-below[data-v-a89d6a6e]{position:relative}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:3px;display:block;position:absolute;top:-1.5px}@supports (color:color-mix(in lab, red, red)){.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{background:color-mix(in srgb, var(--scalar-color-blue), transparent 85%)}}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below[data-v-a89d6a6e]:after{top:initial;bottom:-1.5px}.dragover-asChild[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:100%;display:block;position:absolute;top:0;left:0}@supports (color:color-mix(in lab, red, red)){.dragover-asChild[data-v-a89d6a6e]:after{background:color-mix(in srgb, var(--scalar-color-blue), transparent 85%)}}.dragover-asChild[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.empty-variable-name[data-v-298ba76d]:empty:before{content:"Untitled";color:var(--scalar-color-3)}.form-group[data-v-694018d6]{margin-bottom:1rem}.modal-actions[data-v-694018d6]{justify-content:flex-end;gap:1rem;display:flex}.document-scripts-editors__container[data-v-8c8fa790]{min-height:300px}.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-fd5c15f7]{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-fd5c15f7]{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-fd5c15f7]>div{margin:36px 0 48px}.authContent[data-v-fd5c15f7] .markdown{margin-bottom:0!important}.askForAuthentication.open .authContent[data-v-fd5c15f7]{grid-template-rows:1fr}.continueButton[data-v-fd5c15f7]{align-self:flex-end}.toggleButton[data-v-fd5c15f7]{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-fd5c15f7]{min-height:0;overflow:hidden}.authorizeButton[data-v-fd5c15f7]{z-index:1;gap:5px;display:flex;background:var(--scalar-color-blue)!important;color:#fff!important;margin:0!important}.autosendPaused[data-v-d08225db]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.playIcon[data-v-5749c429]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-5749c429]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-5749c429;display:inline-block;position:absolute}.buildingRequest[data-v-5749c429]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.buildingRequest svg[data-v-5749c429]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-5749c429{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestApproved[data-v-bb311586]{color:var(--scalar-color-green);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailed[data-v-bc27e533]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailedIcon[data-v-bc27e533]{border-radius:50%;width:16px;height:16px;padding:4px;box-shadow:inset 0 0 0 1.5px}.requestRejected[data-v-9803a54c]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestSuccess[data-v-acc2c0d8]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.light-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E")}.playIcon[data-v-65dc6dfb]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-65dc6dfb]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-65dc6dfb;display:inline-block;position:absolute}.sendingRequest[data-v-65dc6dfb]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.sendingRequest svg[data-v-65dc6dfb]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-65dc6dfb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestHeaderContainer[data-v-0eb5f95d]{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.requestPreview[data-v-0eb5f95d]{border-radius:12px;flex-direction:column;width:100%;display:flex;position:relative}.requestContent[data-v-0eb5f95d]{grid-template-rows:0fr;min-height:0;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.requestPreview.open .requestContent[data-v-0eb5f95d]{grid-template-rows:1fr}.requestPreview.succeeded[data-v-0eb5f95d]{padding:0}.requestContentInner[data-v-0eb5f95d]{min-height:0;overflow:hidden}.code[data-v-0eb5f95d]{font-size:var(--scalar-font-size-4);background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.code[data-v-0eb5f95d]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.code[data-v-0eb5f95d]{border-radius:12px;flex-direction:column;margin-bottom:12px;display:flex;overflow:hidden}.dark-mode .code[data-v-0eb5f95d]{background:var(--scalar-background-2)}.code h1[data-v-0eb5f95d]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:8px}.code[data-v-0eb5f95d] .codeBlock{max-height:calc(50vh - 100px);padding-top:0}.autosendContainer[data-v-0eb5f95d]{justify-content:space-between;display:flex}.sendButton[data-v-0eb5f95d]{background:var(--scalar-color-blue);color:#fff;font-weight:var(--scalar-semibold);padding:5px 10px}.sendButton[data-v-0eb5f95d]:hover,.sendButton[data-v-0eb5f95d]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-0eb5f95d]:hover,.sendButton[data-v-0eb5f95d]:active{background:color-mix(in srgb, var(--scalar-color-blue), black 10%)}}.sendButton[data-v-0eb5f95d]:hover,.sendButton[data-v-0eb5f95d]:active{color:#fff!important}.toggleButton[data-v-0eb5f95d]{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-0eb5f95d]:hover{text-decoration:underline}.executeRequestTool[data-v-3e825a81]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1), 0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.tool[data-v-3e825a81]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:15px;margin-bottom:20px;padding:15px}.playIcon[data-v-9d9724d2]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-9d9724d2]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-9d9724d2;display:inline-block;position:absolute}.loadingApiSpecs[data-v-9d9724d2]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.loadingApiSpecs svg[data-v-9d9724d2]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-9d9724d2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.contextItem[data-v-e6786ce3]{white-space:nowrap;color:var(--scalar-color-2);cursor:pointer;vertical-align:middle;background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.contextItem[data-v-e6786ce3]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.contextItem[data-v-e6786ce3]{border-radius:12px;align-items:center;max-width:200px;padding:5px 10px;font-size:10px;display:flex}.contextItemText[data-v-e6786ce3]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shimmer[data-v-e6786ce3]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #202020 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-e6786ce3}.light-mode .shimmer[data-v-e6786ce3]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #fafafa 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-e6786ce3}@keyframes shimmer-e6786ce3{0%{background-position:200% 0}to{background-position:-200% 0}}.playIcon[data-v-6e0ac42c]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-6e0ac42c]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-6e0ac42c;display:inline-block;position:absolute}.sendingRequest[data-v-6e0ac42c]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.sendingRequest svg[data-v-6e0ac42c]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-6e0ac42c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.operations[data-v-43dd2b86]{flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:12px;display:flex}.operations[data-v-43dd2b86]:empty{margin-bottom:-12px}.overflowPopover[data-v-43dd2b86]{flex-direction:column;gap:5px;padding:8px;display:flex}.catalogModal .scalar-modal-body{flex-direction:column;display:flex}.searchInput[data-v-bc24f891]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-bottom:10px}.catalog[data-v-bc24f891]{font-size:var(--scalar-font-size-3);grid-template-columns:1fr 1fr;gap:10px;display:grid;overflow-y:scroll}.item[data-v-bc24f891]{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-bc24f891]:hover{background-color:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.item[data-v-bc24f891]:hover{background-color:color-mix(in srgb, var(--scalar-background-3), transparent 40%)!important}}.left[data-v-bc24f891]{align-items:center}.right[data-v-bc24f891]{flex-direction:column;display:flex}.logo[data-v-bc24f891]{width:25px}.item-top[data-v-bc24f891]{gap:10px;display:flex}.version[data-v-bc24f891]{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-bc24f891]{color:var(--scalar-color-2)}.dropdown-item[data-v-2d142bb5]{align-items:center;gap:10px;display:flex}.approvalSection[data-v-a7e6c699]{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approvalSection[data-v-a7e6c699]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.approvalSection[data-v-a7e6c699]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-a7e6c699]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.approveContainer[data-v-a7e6c699]{gap:5px;display:flex}.actionButton[data-v-a7e6c699]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-a7e6c699]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{color:#fff!important}.approveButton[data-v-a7e6c699]{color:#fff;background:var(--scalar-color-blue)}.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{color:#fff!important}.error[data-v-63a481da]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.error[data-v-63a481da]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.error[data-v-63a481da]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);border-radius:16px 16px 0 0;align-items:center;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.freeMessagesInfoSection[data-v-913a3815]{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.freeMessagesInfoSection[data-v-913a3815]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.freeMessagesInfoSection[data-v-913a3815]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex;position:relative}.infoText[data-v-913a3815]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.actionsContainer[data-v-913a3815]{align-items:center;gap:8px;display:flex}.actionButton[data-v-913a3815]{font-weight:var(--scalar-semibold);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.upgradeButton[data-v-913a3815]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{color:#fff!important}.closeButton[data-v-913a3815]{width:28px;height:28px;color:var(--scalar-color-2);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.closeButton[data-v-913a3815]:hover{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.closeButton[data-v-913a3815]:hover{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 80%)}}.closeButton[data-v-913a3815]:hover{color:var(--scalar-color-1)}.paymentSection[data-v-91e028d5]{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.paymentSection[data-v-91e028d5]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.paymentSection[data-v-91e028d5]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-91e028d5]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.paymentContainer[data-v-91e028d5]{gap:5px;display:flex}.actionButton[data-v-91e028d5]{font-weight:var(--scalar-semibold);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-91e028d5]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-91e028d5]:hover,.rejectButton[data-v-91e028d5]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-91e028d5]:hover,.rejectButton[data-v-91e028d5]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-91e028d5]:hover,.rejectButton[data-v-91e028d5]:active{color:#fff!important}.approveButton[data-v-91e028d5]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.approveButton[data-v-91e028d5]:hover,.approveButton[data-v-91e028d5]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-91e028d5]:hover,.approveButton[data-v-91e028d5]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-91e028d5]:hover,.approveButton[data-v-91e028d5]:active{color:#fff!important}.paymentInfo[data-v-91e028d5]{width:300px;box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1);pointer-events:none;opacity:0;border-radius:16px;padding:12px;transition:all .2s ease-in-out;position:absolute;bottom:70px;right:0;transform:translateY(-5px)}.paymentInfo h3[data-v-91e028d5]{font-size:var(--scalar-font-size-1);font-weight:var(--scalar-bold);margin-bottom:18px}.paymentInfo h3 span[data-v-91e028d5]{font-size:var(--scalar-font-size-2)}.dark-mode .paymentInfo[data-v-91e028d5]{background:var(--scalar-background-2)}.paymentContainer:hover .paymentInfo[data-v-91e028d5]{opacity:1;transform:translate(0)}.paymentInfoItem[data-v-91e028d5]{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-91e028d5]:not(:last-child){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding-bottom:8px}.searchItem[data-v-7945f74c]{font-size:var(--scalar-font-size-3);align-items:center;gap:9px;padding:8px 10px;display:flex}.searchInput[data-v-7945f74c]{margin-bottom:5px}.searchItem[data-v-7945f74c]:hover{background:var(--scalar-background-2)}.searchItemLogo[data-v-7945f74c]{width:15px}.searchIcon[data-v-7945f74c]{margin-right:7px}.searchResultsEmpty[data-v-7945f74c]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);margin:10px}.uploadSection[data-v-9551cf83]{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.uploadSection[data-v-9551cf83]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.uploadSection[data-v-9551cf83]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.uploadSection.error[data-v-9551cf83]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.uploadSection.error[data-v-9551cf83]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.uploadSection.done[data-v-9551cf83]{background:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.uploadSection.done[data-v-9551cf83]{background:color-mix(in srgb, var(--scalar-color-green), var(--scalar-background-1) 95%)}}.uploadText[data-v-9551cf83]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.icon[data-v-9551cf83]{width:20px;height:20px}.actionContainer[data-v-e7c7c266]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.actionContainer[data-v-e7c7c266]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.actionContainer[data-v-e7c7c266]{border:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;box-shadow:0 24px 0 2px var(--scalar-background-1);border-radius:16px;position:relative}.promptForm[data-v-e7c7c266]{background:var(--scalar-background-1);width:100%;box-shadow:var(--scalar-shadow-1), 0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:16px;flex-direction:column;display:flex;position:relative}.inputActionsContainer[data-v-e7c7c266]{justify-content:space-between;padding:0 8px 8px;display:flex}.inputActionsLeft[data-v-e7c7c266]{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.inputActionsRight[data-v-e7c7c266]{gap:5px;display:flex;position:relative}.apiPill[data-v-e7c7c266]{font-size:var(--scalar-font-size-3);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);pointer-events:all;z-index:1;-webkit-user-select:none;user-select:none;border-radius:16px;align-items:center;gap:4px;height:28px;padding:0 8px;display:flex}.apiPillLogo[data-v-e7c7c266]{width:15px}.apiPillRemove[data-v-e7c7c266]{border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;margin-right:-6px;display:flex}.apiPill:hover .apiPillRemove[data-v-e7c7c266]{background:var(--scalar-background-2)}.dark-mode .apiPill:hover .apiPillRemove[data-v-e7c7c266]{background:var(--scalar-background-3)}.apiPillRemove[data-v-e7c7c266]:hover{color:var(--scalar-color-1)}.prompt[data-v-e7c7c266]{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-e7c7c266]{background:var(--scalar-background-2)}.prompt[data-v-e7c7c266]:disabled{color:var(--scalar-color-3)}.addAPIButton[data-v-e7c7c266]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);width:28px;height:28px;font-weight:var(--scalar-bold);pointer-events:all;z-index:1;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:100%;justify-content:center;align-items:center;gap:4px;display:flex}.addAPIButton[data-v-e7c7c266]:hover{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.addAPIButton[data-v-e7c7c266]:hover{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.addAPIButton[data-v-e7c7c266]:hover{box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.dark-mode .addAPIButton[data-v-e7c7c266]:hover{background:var(--scalar-background-3)}.settingsButton[data-v-e7c7c266]{z-index:1;color:var(--scalar-color-3)!important;border-radius:50%!important;margin:0!important}.settingsButton[aria-disabled=true][data-v-e7c7c266]{background:var(--scalar-background-2)}.dark-mode .settingsButton[data-v-e7c7c266]:hover{background:var(--scalar-background-3)}.sendButton[data-v-e7c7c266]{z-index:1;border:var(--scalar-border-width) solid var(--scalar-color-blue);background:var(--scalar-color-blue)!important;border-radius:50%!important;margin:0!important}.sendButton[data-v-e7c7c266]:not([aria-disabled=true]){color:#fff!important}.sendButton[data-v-e7c7c266]:not([aria-disabled=true]):hover{background:var(--scalar-color-blue)!important}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-e7c7c266]:not([aria-disabled=true]):hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)!important}}.sendButton[aria-disabled=true][data-v-e7c7c266]{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-e7c7c266]{background:var(--scalar-background-3)!important}.contextContainer[data-v-e7c7c266]{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-e7c7c266]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-lg);margin:-4px -6px;padding:4px 6px}.settingsButton[data-v-e7c7c266]:hover{background:var(--scalar-background-2);box-shadow:0 0 var(--scalar-border-width) 0 var(--scalar-border-color);cursor:pointer}.agentLabel[data-v-e7c7c266]{cursor:text;width:100%;height:100%;font-size:0;position:absolute}.sendCheckboxContinue[data-v-e7c7c266]:has(input){background:var(--scalar-background-2);box-shadow:0 0 0 1.5px var(--scalar-background-2);color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-semibold);-webkit-user-select:none;user-select:none;border-radius:14px;align-items:center;height:28px;display:flex}.dark-mode .sendCheckboxContinue[data-v-e7c7c266]:has(input){background:var(--scalar-background-3);box-shadow:0 0 0 1.5px var(--scalar-background-3)}.addMoreContext[data-v-e7c7c266]{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-e7c7c266]:before{content:"";background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.addMoreContext[data-v-e7c7c266]:before{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.addMoreContext[data-v-e7c7c266]:before{width:8px;height:8px;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-e7c7c266]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color)}.addAPIContext[data-v-e7c7c266]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.termsAgree[data-v-e7c7c266]{cursor:pointer;height:inherit;border-radius:14px;align-items:center;gap:5px;margin:0 5px;display:flex}.termsAgree[data-v-e7c7c266]:hover{color:var(--scalar-color-1)}.termsAgree:hover .termsAgreeIcon[data-v-e7c7c266]{background:var(--scalar-color-1);color:var(--scalar-background-1)}.termsAgreeIcon[data-v-e7c7c266]{width:inherit;height:inherit;background:var(--scalar-background-2);border-radius:50%;padding:2px}.chat[data-v-8e43ed7a]{flex-direction:column;flex:1;width:100%;max-width:744px;padding:24px 0;display:flex}.userMessage[data-v-8e43ed7a]{background:var(--scalar-background-2);width:fit-content;max-width:80%;color:var(--scalar-color-1);padding-top:6px;padding-bottom:6px;border-radius:18px;margin-bottom:12px;margin-left:auto;padding-inline:16px;font-size:16px;line-height:24px}div+.userMessage[data-v-8e43ed7a]{margin-top:64px}.chat[data-v-8e43ed7a]>div:has(.executeRequestTool)+div:has(.executeRequestTool){margin-top:-12px}.spacer[data-v-8e43ed7a]{width:100%;min-height:280px}.formContainer[data-v-8e43ed7a]{z-index:1;width:100%;max-width:744px;position:fixed;bottom:20px}.chat[data-v-8e43ed7a] .markdown{margin-bottom:12px}.agentLogo[data-v-56f7e8dd]{margin-bottom:15px}.startContainer[data-v-56f7e8dd]{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:720px;height:100%;display:flex;position:relative}.heading[data-v-56f7e8dd]{font-size:1.5rem;font-weight:var(--scalar-font-bold);margin-bottom:50px}.disclaimerText[data-v-56f7e8dd]{text-align:center;color:var(--scalar-color-3);font-size:var(--scalar-font-size-3);text-wrap:balance;margin-top:40px;line-height:1.44}.disclaimerLink[data-v-56f7e8dd]{text-decoration:underline}.wrapper[data-v-f1eee0af]{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.docSettings[data-v-dd964244]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:12px;max-height:600px;margin-bottom:12px;display:flex}.documentName[data-v-dd964244]{font-weight:var(--scalar-semibold)}.settingsModal .scalar-modal-layout{z-index:10!important}.settingsModal .scalar-modal-body{overflow:hidden auto}.documentList[data-v-5e4bca68]{font-size:var(--scalar-font-size-3);flex-direction:column;margin-bottom:12px;display:flex}.document[data-v-5e4bca68]{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-5e4bca68]:first-of-type:not(:last-of-type){border-bottom:none}.documentName[data-v-5e4bca68]{font-weight:var(--scalar-semibold);color:var(--scalar-color-2);align-items:center;gap:4px;padding:12px 0;display:flex}.documentNameActive[data-v-5e4bca68]{color:var(--scalar-color-1)}.settingsHeading[data-v-5e4bca68]{font-size:19px;font-weight:var(--scalar-semibold);align-items:center;gap:5px;margin-bottom:12px;display:flex}.proxyUrlContainer[data-v-5e4bca68]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:5px;display:flex}.proxyUrlContainer label[data-v-5e4bca68]{font-weight:var(--scalar-semibold)}.noDocuments[data-v-5e4bca68]{color:var(--scalar-color-2);margin-bottom:10px}:root{--scalar-loaded-api-reference:true}@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-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-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}@layer scalar-config{.scalar-api-reference[data-v-f2a1208a]{--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-f2a1208a]{--refs-content-max-width:var(--scalar-content-max-width,1420px);--refs-sidebar-width:0;min-height:100dvh}.references-sidebar[data-v-f2a1208a]{--refs-sidebar-width:var(--scalar-sidebar-width,288px)}}.t-doc__sidebar[data-v-f2a1208a]{z-index:10}.references-layout[data-v-f2a1208a]{--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-f2a1208a]{background:var(--scalar-background-1);grid-area:editor;min-width:0;display:flex}.references-rendered[data-v-f2a1208a]{background:var(--scalar-background-1);grid-area:rendered;min-width:0;position:relative}.scalar-api-reference.references-classic[data-v-f2a1208a],.references-classic .references-rendered[data-v-f2a1208a]{height:initial!important;max-height:initial!important}.references-footer[data-v-f2a1208a]{grid-area:footer}@media (width<=1000px){.references-developer-tools[data-v-f2a1208a]{display:none}.references-layout[data-v-f2a1208a]{--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-f2a1208a]{grid-template-areas:"header""navigation""editor"}.references-rendered[data-v-f2a1208a]{position:static}.scalar-api-references-standalone-mobile[data-v-f2a1208a]:not(.references-classic){--scalar-header-height:50px}}.darklight-reference[data-v-f2a1208a]{width:100%;margin-top:auto}
|
||
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();(function(e,t){typeof exports==`object`&&typeof module<`u`?t(require(`@scalar/openapi-parser`),require(`radix-vue/namespaced`)):typeof define==`function`&&define.amd?define([`@scalar/openapi-parser`,`radix-vue/namespaced`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e._scalar_openapi_parser,e[`{}`]))})(this,function(e,t){var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(e&&(t=e(e=0)),t),l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t||r(n,Symbol.toStringTag,{value:`Module`}),n},d=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},f=(e,t,i)=>(i=e==null?{}:n(o(e)),d(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e));function p(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,`name`,{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,`init`,{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}function m(e){return e&&Object.assign(y,e),y}var h,g,_,v,y,b=c((()=>{h=Object.freeze({status:`aborted`}),g=Symbol(`zod_brand`),_=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},v=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},y={}})),x=u({BIGINT_FORMAT_RANGES:()=>tt,Class:()=>ree,NUMBER_FORMAT_RANGES:()=>et,aborted:()=>Ie,allowsEval:()=>Xe,assert:()=>ne,assertEqual:()=>ee,assertIs:()=>C,assertNever:()=>te,assertNotEqual:()=>S,assignProp:()=>de,base64ToUint8Array:()=>Ge,base64urlToUint8Array:()=>eee,cached:()=>ae,captureStackTrace:()=>Ye,cleanEnum:()=>We,cleanRegex:()=>se,clone:()=>we,cloneDef:()=>pe,createTransparentProxy:()=>Ee,defineLazy:()=>le,esc:()=>_e,escapeRegex:()=>Ce,extend:()=>je,finalizeIssue:()=>ze,floatSafeRemainder:()=>ce,getElementAtPath:()=>me,getEnumValues:()=>re,getLengthableOrigin:()=>Ve,getParsedType:()=>Ze,getSizableOrigin:()=>Be,hexToUint8Array:()=>nee,isObject:()=>ye,isPlainObject:()=>be,issue:()=>Ue,joinValues:()=>w,jsonStringifyReplacer:()=>ie,merge:()=>Ne,mergeDefs:()=>fe,normalizeParams:()=>Te,nullish:()=>oe,numKeys:()=>Se,objectClone:()=>ue,omit:()=>Ae,optionalKeys:()=>Oe,parsedType:()=>He,partial:()=>Pe,pick:()=>ke,prefixIssues:()=>Le,primitiveTypes:()=>$e,promiseAllObject:()=>he,propertyKeyTypes:()=>Qe,randomString:()=>ge,required:()=>Fe,safeExtend:()=>Me,shallowClone:()=>xe,slugify:()=>ve,stringifyPrimitive:()=>De,uint8ArrayToBase64:()=>Ke,uint8ArrayToBase64url:()=>tee,uint8ArrayToHex:()=>qe,unwrapMessage:()=>Re});function ee(e){return e}function S(e){return e}function C(e){}function te(e){throw Error(`Unexpected value in exhaustive check`)}function ne(e){}function re(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function w(e,t=`|`){return e.map(e=>De(e)).join(t)}function ie(e,t){return typeof t==`bigint`?t.toString():t}function ae(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function oe(e){return e==null}function se(e){let t=e.startsWith(`^`)?1:0,n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function ce(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}function le(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Je)return r===void 0&&(r=Je,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function ue(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function de(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function fe(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function pe(e){return fe(e._zod.def)}function me(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function he(e){let t=Object.keys(e),n=t.map(t=>e[t]);return Promise.all(n).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function ge(e=10){let t=``;for(let n=0;n<e;n++)t+=`abcdefghijklmnopqrstuvwxyz`[Math.floor(Math.random()*26)];return t}function _e(e){return JSON.stringify(e)}function ve(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}function ye(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function be(e){if(ye(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(ye(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function xe(e){return be(e)?{...e}:Array.isArray(e)?[...e]:e}function Se(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Ce(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function we(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function Te(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Ee(e){let t;return new Proxy({},{get(n,r,i){return t??=e(),Reflect.get(t,r,i)},set(n,r,i,a){return t??=e(),Reflect.set(t,r,i,a)},has(n,r){return t??=e(),Reflect.has(t,r)},deleteProperty(n,r){return t??=e(),Reflect.deleteProperty(t,r)},ownKeys(n){return t??=e(),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,r){return t??=e(),Reflect.getOwnPropertyDescriptor(t,r)},defineProperty(n,r,i){return t??=e(),Reflect.defineProperty(t,r,i)}})}function De(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function Oe(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}function ke(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return we(e,fe(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return de(this,`shape`,e),e},checks:[]}))}function Ae(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return we(e,fe(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return de(this,`shape`,r),r},checks:[]}))}function je(e,t){if(!be(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return we(e,fe(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return de(this,`shape`,n),n}}))}function Me(e,t){if(!be(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return we(e,fe(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return de(this,`shape`,n),n}}))}function Ne(e,t){return we(e,fe(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return de(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function Pe(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return we(t,fe(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return de(this,`shape`,i),i},checks:[]}))}function Fe(e,t,n){return we(t,fe(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return de(this,`shape`,i),i}}))}function Ie(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Le(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Re(e){return typeof e==`string`?e:e?.message}function ze(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=Re(e.inst?._zod.def?.error?.(e))??Re(t?.error?.(e))??Re(n.customError?.(e))??Re(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Be(e){return e instanceof Set?`set`:e instanceof Map?`map`:e instanceof File?`file`:`unknown`}function Ve(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function He(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function Ue(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function We(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function Ge(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function Ke(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function eee(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return Ge(t+`=`.repeat((4-t.length%4)%4))}function tee(e){return Ke(e).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function nee(e){let t=e.replace(/^0x/,``);if(t.length%2!=0)throw Error(`Invalid hex string length`);let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function qe(e){return Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Je,Ye,Xe,Ze,Qe,$e,et,tt,ree,nt=c((()=>{Je=Symbol(`evaluating`),Ye=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{},Xe=ae(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}}),Ze=e=>{let t=typeof e;switch(t){case`undefined`:return`undefined`;case`string`:return`string`;case`number`:return Number.isNaN(e)?`nan`:`number`;case`boolean`:return`boolean`;case`function`:return`function`;case`bigint`:return`bigint`;case`symbol`:return`symbol`;case`object`:return Array.isArray(e)?`array`:e===null?`null`:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?`promise`:typeof Map<`u`&&e instanceof Map?`map`:typeof Set<`u`&&e instanceof Set?`set`:typeof Date<`u`&&e instanceof Date?`date`:typeof File<`u`&&e instanceof File?`file`:`object`;default:throw Error(`Unknown data type: ${t}`)}},Qe=new Set([`string`,`number`,`symbol`]),$e=new Set([`string`,`number`,`bigint`,`boolean`,`symbol`,`undefined`]),et={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},tt={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]},ree=class{constructor(...e){}}}));function rt(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function it(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}function iee(e,t=e=>e.message){let n={errors:[]},r=(e,i=[])=>{var a,o;for(let s of e.issues)if(s.code===`invalid_union`&&s.errors.length)s.errors.map(e=>r({issues:e},s.path));else if(s.code===`invalid_key`)r({issues:s.issues},s.path);else if(s.code===`invalid_element`)r({issues:s.issues},s.path);else{let e=[...i,...s.path];if(e.length===0){n.errors.push(t(s));continue}let r=n,c=0;for(;c<e.length;){let n=e[c],i=c===e.length-1;typeof n==`string`?(r.properties??={},(a=r.properties)[n]??(a[n]={errors:[]}),r=r.properties[n]):(r.items??=[],(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),i&&r.errors.push(t(s)),c++}}};return r(e),n}function aee(e){let t=[],n=e.map(e=>typeof e==`object`?e.key:e);for(let e of n)typeof e==`number`?t.push(`[${e}]`):typeof e==`symbol`?t.push(`[${JSON.stringify(String(e))}]`):/[^\w$]/.test(e)?t.push(`[${JSON.stringify(e)}]`):(t.length&&t.push(`.`),t.push(e));return t.join(``)}function oee(e){let t=[],n=[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length);for(let e of n)t.push(`✖ ${e.message}`),e.path?.length&&t.push(` → at ${aee(e.path)}`);return t.join(`
|
||
`)}var at,ot,st,see=c((()=>{b(),nt(),at=(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,ie,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},ot=p(`$ZodError`,at),st=p(`$ZodError`,at,{Parent:Error})})),ct,lt,ut,dt,ft,pt,mt,ht,gt,cee,_t,lee,vt,uee,yt,dee,bt,fee,xt,pee,St,mee,Ct,hee,gee=c((()=>{b(),see(),nt(),ct=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new _;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>ze(e,a,m())));throw Ye(t,i?.callee),t}return o.value},lt=ct(st),ut=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>ze(e,a,m())));throw Ye(t,i?.callee),t}return o.value},dt=ut(st),ft=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new _;return a.issues.length?{success:!1,error:new(e??ot)(a.issues.map(e=>ze(e,i,m())))}:{success:!0,data:a.value}},pt=ft(st),mt=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>ze(e,i,m())))}:{success:!0,data:a.value}},ht=mt(st),gt=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return ct(e)(t,n,i)},cee=gt(st),_t=e=>(t,n,r)=>ct(e)(t,n,r),lee=_t(st),vt=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return ut(e)(t,n,i)},uee=vt(st),yt=e=>async(t,n,r)=>ut(e)(t,n,r),dee=yt(st),bt=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return ft(e)(t,n,i)},fee=bt(st),xt=e=>(t,n,r)=>ft(e)(t,n,r),pee=xt(st),St=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return mt(e)(t,n,i)},mee=St(st),Ct=e=>async(t,n,r)=>mt(e)(t,n,r),hee=Ct(st)})),wt=u({base64:()=>Ut,base64url:()=>Wt,bigint:()=>Zt,boolean:()=>en,browserEmail:()=>Oee,cidrv4:()=>Vt,cidrv6:()=>Ht,cuid:()=>Dt,cuid2:()=>Ot,date:()=>Yt,datetime:()=>bee,domain:()=>Kt,duration:()=>Nt,e164:()=>qt,email:()=>It,emoji:()=>_ee,extendedDuration:()=>xee,guid:()=>Pt,hex:()=>on,hostname:()=>Gt,html5Email:()=>Tee,idnEmail:()=>Dee,integer:()=>Qt,ipv4:()=>Rt,ipv6:()=>zt,ksuid:()=>jt,lowercase:()=>rn,mac:()=>Bt,md5_base64:()=>jee,md5_base64url:()=>Mee,md5_hex:()=>Aee,nanoid:()=>Mt,null:()=>tn,number:()=>$t,rfc5322Email:()=>Eee,sha1_base64:()=>Pee,sha1_base64url:()=>Fee,sha1_hex:()=>Nee,sha256_base64:()=>Lee,sha256_base64url:()=>Ree,sha256_hex:()=>Iee,sha384_base64:()=>Bee,sha384_base64url:()=>Vee,sha384_hex:()=>zee,sha512_base64:()=>Uee,sha512_base64url:()=>Wee,sha512_hex:()=>Hee,string:()=>Xt,time:()=>yee,ulid:()=>kt,undefined:()=>nn,unicodeEmail:()=>Lt,uppercase:()=>an,uuid:()=>Ft,uuid4:()=>See,uuid6:()=>Cee,uuid7:()=>wee,xid:()=>At});function _ee(){return new RegExp(kee,`u`)}function vee(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function yee(e){return RegExp(`^${vee(e)}$`)}function bee(e){let t=vee({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${Jt}T(?:${r})$`)}function Tt(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Et(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Dt,Ot,kt,At,jt,Mt,Nt,xee,Pt,Ft,See,Cee,wee,It,Tee,Eee,Lt,Dee,Oee,kee,Rt,zt,Bt,Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt,Yt,Xt,Zt,Qt,$t,en,tn,nn,rn,an,on,Aee,jee,Mee,Nee,Pee,Fee,Iee,Lee,Ree,zee,Bee,Vee,Hee,Uee,Wee,sn=c((()=>{nt(),Dt=/^[cC][^\s-]{8,}$/,Ot=/^[0-9a-z]+$/,kt=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,At=/^[0-9a-vA-V]{20}$/,jt=/^[A-Za-z0-9]{27}$/,Mt=/^[a-zA-Z0-9_-]{21}$/,Nt=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,xee=/^[-+]?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)?)??$/,Pt=/^([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})$/,Ft=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)$/,See=Ft(4),Cee=Ft(6),wee=Ft(7),It=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tee=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Eee=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Lt=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Dee=Lt,Oee=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,kee=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,Rt=/^(?:(?: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])$/,zt=/^(([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}|:))$/,Bt=e=>{let t=Ce(e??`:`);return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Vt=/^((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])$/,Ht=/^(([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])$/,Ut=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Wt=/^[A-Za-z0-9_-]*$/,Gt=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Kt=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,qt=/^\+[1-9]\d{6,14}$/,Jt=`(?:(?:\\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])))`,Yt=RegExp(`^${Jt}$`),Xt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Zt=/^-?\d+n?$/,Qt=/^-?\d+$/,$t=/^-?\d+(?:\.\d+)?$/,en=/^(?:true|false)$/i,tn=/^null$/i,nn=/^undefined$/i,rn=/^[^A-Z]*$/,an=/^[^a-z]*$/,on=/^[0-9a-fA-F]*$/,Aee=/^[0-9a-fA-F]{32}$/,jee=Tt(22,`==`),Mee=Et(22),Nee=/^[0-9a-fA-F]{40}$/,Pee=Tt(27,`=`),Fee=Et(27),Iee=/^[0-9a-fA-F]{64}$/,Lee=Tt(43,`=`),Ree=Et(43),zee=/^[0-9a-fA-F]{96}$/,Bee=Tt(64,``),Vee=Et(64),Hee=/^[0-9a-fA-F]{128}$/,Uee=Tt(86,`==`),Wee=Et(86)}));function Gee(e,t,n){e.issues.length&&t.issues.push(...Le(n,e.issues))}var cn,ln,un,dn,Kee,qee,Jee,Yee,Xee,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn,wn,Tn,En=c((()=>{b(),sn(),nt(),cn=p(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),ln={number:`number`,bigint:`bigint`,object:`date`},un=p(`$ZodCheckLessThan`,(e,t)=>{cn.init(e,t);let n=ln[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),dn=p(`$ZodCheckGreaterThan`,(e,t)=>{cn.init(e,t);let n=ln[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Kee=p(`$ZodCheckMultipleOf`,(e,t)=>{cn.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):ce(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),qee=p(`$ZodCheckNumberFormat`,(e,t)=>{cn.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=et[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Qt)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.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}):o.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});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Jee=p(`$ZodCheckBigIntFormat`,(e,t)=>{cn.init(e,t);let[n,r]=tt[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{let a=i.value;a<n&&i.issues.push({origin:`bigint`,input:a,code:`too_small`,minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:`bigint`,input:a,code:`too_big`,maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),Yee=p(`$ZodCheckMaxSize`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:Be(r),code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Xee=p(`$ZodCheckMinSize`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:Be(r),code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),fn=p(`$ZodCheckSizeEquals`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:Be(r),...a?{code:`too_big`,maximum:t.size}:{code:`too_small`,minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),pn=p(`$ZodCheckMaxLength`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Ve(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),mn=p(`$ZodCheckMinLength`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Ve(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),hn=p(`$ZodCheckLengthEquals`,(e,t)=>{var n;cn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Ve(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),gn=p(`$ZodCheckStringFormat`,(e,t)=>{var n,r;cn.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),_n=p(`$ZodCheckRegex`,(e,t)=>{gn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),vn=p(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=rn,gn.init(e,t)}),yn=p(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=an,gn.init(e,t)}),bn=p(`$ZodCheckIncludes`,(e,t)=>{cn.init(e,t);let n=Ce(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),xn=p(`$ZodCheckStartsWith`,(e,t)=>{cn.init(e,t);let n=RegExp(`^${Ce(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Sn=p(`$ZodCheckEndsWith`,(e,t)=>{cn.init(e,t);let n=RegExp(`.*${Ce(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Cn=p(`$ZodCheckProperty`,(e,t)=>{cn.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>Gee(n,e,t.property));Gee(n,e,t.property)}}),wn=p(`$ZodCheckMimeType`,(e,t)=>{cn.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:`invalid_value`,values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),Tn=p(`$ZodCheckOverwrite`,(e,t)=>{cn.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})})),Dn,Zee=c((()=>{Dn=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
|
||
`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
|
||
`))}}})),On,Qee=c((()=>{On={major:4,minor:3,patch:5}}));function kn(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function $ee(e){if(!Wt.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return kn(t.padEnd(Math.ceil(t.length/4)*4,`=`))}function ete(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}function tte(e,t,n){e.issues.length&&t.issues.push(...Le(n,e.issues)),t.value[n]=e.value}function An(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...Le(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function nte(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=Oe(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function rte(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>An(e,n,i,t,u))):An(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}function ite(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ie(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>ze(e,r,m())))}),t)}function ate(e,t,n,r){let i=e.filter(e=>e.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>ze(e,r,m())))}):t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:[],inclusive:!1}),t)}function jn(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(be(e)&&be(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=jn(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=jn(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function ote(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Ie(e))return e;let o=jn(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}function Mn(e,t,n){e.issues.length&&t.issues.push(...Le(n,e.issues)),t.value[n]=e.value}function ste(e,t,n,r,i,a,o){e.issues.length&&(Qe.has(typeof r)?n.issues.push(...Le(r,e.issues)):n.issues.push({code:`invalid_key`,origin:`map`,input:i,inst:a,issues:e.issues.map(e=>ze(e,o,m()))})),t.issues.length&&(Qe.has(typeof r)?n.issues.push(...Le(r,t.issues)):n.issues.push({origin:`map`,code:`invalid_element`,input:i,inst:a,key:r,issues:t.issues.map(e=>ze(e,o,m()))})),n.value.set(e.value,t.value)}function cte(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function lte(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}function ute(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function dte(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function Nn(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}function Pn(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||`forward`)===`forward`){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>Fn(e,r,t.out,n)):Fn(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>Fn(e,r,t.in,n)):Fn(e,r,t.in,n)}}function Fn(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}function fte(e){return e.value=Object.freeze(e.value),e}function pte(e,t,n,r){if(!e){let e={code:`custom`,input:n,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(Ue(e))}}var In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr,Qr,$r,ei,mte=c((()=>{En(),b(),Zee(),gee(),sn(),nt(),Qee(),In=p(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=On;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Ie(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new _;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Ie(e,t))});else{if(e.issues.length===t)continue;r||=Ie(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Ie(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new _;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new _;return o.then(e=>t(e,r,a))}return t(o,r,a)}}le(e,`~standard`,()=>({validate:t=>{try{let n=pt(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return ht(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Ln=p(`$ZodString`,(e,t)=>{In.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Xt(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),Rn=p(`$ZodStringFormat`,(e,t)=>{gn.init(e,t),Ln.init(e,t)}),zn=p(`$ZodGUID`,(e,t)=>{t.pattern??=Pt,Rn.init(e,t)}),Bn=p(`$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(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Ft(e)}else t.pattern??=Ft();Rn.init(e,t)}),Vn=p(`$ZodEmail`,(e,t)=>{t.pattern??=It,Rn.init(e,t)}),Hn=p(`$ZodURL`,(e,t)=>{Rn.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Un=p(`$ZodEmoji`,(e,t)=>{t.pattern??=_ee(),Rn.init(e,t)}),Wn=p(`$ZodNanoID`,(e,t)=>{t.pattern??=Mt,Rn.init(e,t)}),Gn=p(`$ZodCUID`,(e,t)=>{t.pattern??=Dt,Rn.init(e,t)}),Kn=p(`$ZodCUID2`,(e,t)=>{t.pattern??=Ot,Rn.init(e,t)}),qn=p(`$ZodULID`,(e,t)=>{t.pattern??=kt,Rn.init(e,t)}),Jn=p(`$ZodXID`,(e,t)=>{t.pattern??=At,Rn.init(e,t)}),Yn=p(`$ZodKSUID`,(e,t)=>{t.pattern??=jt,Rn.init(e,t)}),Xn=p(`$ZodISODateTime`,(e,t)=>{t.pattern??=bee(t),Rn.init(e,t)}),Zn=p(`$ZodISODate`,(e,t)=>{t.pattern??=Yt,Rn.init(e,t)}),Qn=p(`$ZodISOTime`,(e,t)=>{t.pattern??=yee(t),Rn.init(e,t)}),$n=p(`$ZodISODuration`,(e,t)=>{t.pattern??=Nt,Rn.init(e,t)}),er=p(`$ZodIPv4`,(e,t)=>{t.pattern??=Rt,Rn.init(e,t),e._zod.bag.format=`ipv4`}),tr=p(`$ZodIPv6`,(e,t)=>{t.pattern??=zt,Rn.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),nr=p(`$ZodMAC`,(e,t)=>{t.pattern??=Bt(t.delimiter),Rn.init(e,t),e._zod.bag.format=`mac`}),rr=p(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Vt,Rn.init(e,t)}),ir=p(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Ht,Rn.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}}),ar=p(`$ZodBase64`,(e,t)=>{t.pattern??=Ut,Rn.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{kn(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),or=p(`$ZodBase64URL`,(e,t)=>{t.pattern??=Wt,Rn.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{$ee(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),sr=p(`$ZodE164`,(e,t)=>{t.pattern??=qt,Rn.init(e,t)}),cr=p(`$ZodJWT`,(e,t)=>{Rn.init(e,t),e._zod.check=n=>{ete(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),lr=p(`$ZodCustomStringFormat`,(e,t)=>{Rn.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:`invalid_format`,format:t.format,input:n.value,inst:e,continue:!t.abort})}}),ur=p(`$ZodNumber`,(e,t)=>{In.init(e,t),e._zod.pattern=e._zod.bag.pattern??$t,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),dr=p(`$ZodNumberFormat`,(e,t)=>{qee.init(e,t),ur.init(e,t)}),fr=p(`$ZodBoolean`,(e,t)=>{In.init(e,t),e._zod.pattern=en,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),pr=p(`$ZodBigInt`,(e,t)=>{In.init(e,t),e._zod.pattern=Zt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value==`bigint`||n.issues.push({expected:`bigint`,code:`invalid_type`,input:n.value,inst:e}),n}}),mr=p(`$ZodBigIntFormat`,(e,t)=>{Jee.init(e,t),pr.init(e,t)}),hr=p(`$ZodSymbol`,(e,t)=>{In.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return typeof r==`symbol`||t.issues.push({expected:`symbol`,code:`invalid_type`,input:r,inst:e}),t}}),gr=p(`$ZodUndefined`,(e,t)=>{In.init(e,t),e._zod.pattern=nn,e._zod.values=new Set([void 0]),e._zod.optin=`optional`,e._zod.optout=`optional`,e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`undefined`,code:`invalid_type`,input:r,inst:e}),t}}),_r=p(`$ZodNull`,(e,t)=>{In.init(e,t),e._zod.pattern=tn,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),vr=p(`$ZodAny`,(e,t)=>{In.init(e,t),e._zod.parse=e=>e}),yr=p(`$ZodUnknown`,(e,t)=>{In.init(e,t),e._zod.parse=e=>e}),br=p(`$ZodNever`,(e,t)=>{In.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)}),xr=p(`$ZodVoid`,(e,t)=>{In.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`void`,code:`invalid_type`,input:r,inst:e}),t}}),Sr=p(`$ZodDate`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:`date`,code:`invalid_type`,input:i,...a?{received:`Invalid Date`}:{},inst:e}),n}}),Cr=p(`$ZodArray`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>tte(t,n,e))):tte(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}}),wr=p(`$ZodObject`,(e,t)=>{if(In.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=ae(()=>nte(t));le(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=ye,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>An(n,t,e,s,r))):An(i,t,e,s,r)}return i?rte(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Tr=p(`$ZodObjectJIT`,(e,t)=>{wr.init(e,t);let n=e._zod.parse,r=ae(()=>nte(t)),i=e=>{let t=new Dn([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=_e(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=_e(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`
|
||
if (${n}.issues.length) {
|
||
if (${o} in input) {
|
||
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
||
})));
|
||
}
|
||
}
|
||
|
||
if (${n}.value === undefined) {
|
||
if (${o} in input) {
|
||
newResult[${o}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${o}] = ${n}.value;
|
||
}
|
||
|
||
`):t.write(`
|
||
if (${n}.issues.length) {
|
||
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
||
})));
|
||
}
|
||
|
||
if (${n}.value === undefined) {
|
||
if (${o} in input) {
|
||
newResult[${o}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${o}] = ${n}.value;
|
||
}
|
||
|
||
`)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=ye,s=!y.jitless,c=s&&Xe.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?rte([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}}),Er=p(`$ZodUnion`,(e,t)=>{In.init(e,t),le(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),le(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),le(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),le(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=>se(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>ite(t,i,e,a)):ite(s,i,e,a)}}),Dr=p(`$ZodXor`,(e,t)=>{Er.init(e,t),t.inclusive=!1;let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);t instanceof Promise?(s.push(t),o=!0):s.push(t)}return o?Promise.all(s).then(t=>ate(t,i,e,a)):ate(s,i,e,a)}}),Or=p(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Er.init(e,t);let n=e._zod.parse;le(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=ae(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!ye(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),kr=p(`$ZodIntersection`,(e,t)=>{In.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>ote(e,t,n)):ote(e,i,a)}}),Ar=p(`$ZodTuple`,(e,t)=>{In.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:`tuple`,code:`invalid_type`}),r;r.value=[];let o=[],s=[...n].reverse().findIndex(e=>e._zod.optin!==`optional`),c=s===-1?0:n.length-s;if(!t.rest){let t=a.length>n.length,i=a.length<c-1;if(t||i)return r.issues.push({...t?{code:`too_big`,maximum:n.length,inclusive:!0}:{code:`too_small`,minimum:n.length},input:a,inst:e,origin:`array`}),r}let l=-1;for(let e of n){if(l++,l>=a.length&&l>=c)continue;let t=e._zod.run({value:a[l],issues:[]},i);t instanceof Promise?o.push(t.then(e=>Mn(e,r,l))):Mn(t,r,l)}if(t.rest){let e=a.slice(n.length);for(let n of e){l++;let e=t.rest._zod.run({value:n,issues:[]},i);e instanceof Promise?o.push(e.then(e=>Mn(e,r,l))):Mn(e,r,l)}}return o.length?Promise.all(o).then(()=>r):r}}),jr=p(`$ZodRecord`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!be(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...Le(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...Le(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&$t.test(o)&&s.issues.length&&s.issues.some(e=>e.code===`invalid_type`&&e.expected===`number`)){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>ze(e,r,m())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Le(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Le(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Mr=p(`$ZodMap`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:`map`,code:`invalid_type`,input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let c=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);c instanceof Promise||l instanceof Promise?a.push(Promise.all([c,l]).then(([t,a])=>{ste(t,a,n,o,i,e,r)})):ste(c,l,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}}),Nr=p(`$ZodSet`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:`set`,code:`invalid_type`}),n;let a=[];n.value=new Set;for(let e of i){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>cte(e,n))):cte(i,n)}return a.length?Promise.all(a).then(()=>n):n}}),Pr=p(`$ZodEnum`,(e,t)=>{In.init(e,t);let n=re(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Qe.has(typeof e)).map(e=>typeof e==`string`?Ce(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Fr=p(`$ZodLiteral`,(e,t)=>{if(In.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Ce(e):e?Ce(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Ir=p(`$ZodFile`,(e,t)=>{In.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:`file`,code:`invalid_type`,input:r,inst:e}),t}}),Lr=p(`$ZodTransform`,(e,t)=>{In.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new v(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new _;return n.value=i,n}}),Rr=p(`$ZodOptional`,(e,t)=>{In.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,le(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),le(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>lte(t,e.value)):lte(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),zr=p(`$ZodExactOptional`,(e,t)=>{Rr.init(e,t),le(e._zod,`values`,()=>t.innerType._zod.values),le(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Br=p(`$ZodNullable`,(e,t)=>{In.init(e,t),le(e._zod,`optin`,()=>t.innerType._zod.optin),le(e._zod,`optout`,()=>t.innerType._zod.optout),le(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)}|null)$`):void 0}),le(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Vr=p(`$ZodDefault`,(e,t)=>{In.init(e,t),e._zod.optin=`optional`,le(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>ute(e,t)):ute(r,t)}}),Hr=p(`$ZodPrefault`,(e,t)=>{In.init(e,t),e._zod.optin=`optional`,le(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Ur=p(`$ZodNonOptional`,(e,t)=>{In.init(e,t),le(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>dte(t,e)):dte(i,e)}}),Wr=p(`$ZodSuccess`,(e,t)=>{In.init(e,t),e._zod.parse=(e,n)=>{if(n.direction===`backward`)throw new v(`ZodSuccess`);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=t.issues.length===0,e)):(e.value=r.issues.length===0,e)}}),Gr=p(`$ZodCatch`,(e,t)=>{In.init(e,t),le(e._zod,`optin`,()=>t.innerType._zod.optin),le(e._zod,`optout`,()=>t.innerType._zod.optout),le(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);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=>ze(e,n,m()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>ze(e,n,m()))},input:e.value}),e.issues=[]),e)}}),Kr=p(`$ZodNaN`,(e,t)=>{In.init(e,t),e._zod.parse=(t,n)=>((typeof t.value!=`number`||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:`nan`,code:`invalid_type`}),t)}),qr=p(`$ZodPipe`,(e,t)=>{In.init(e,t),le(e._zod,`values`,()=>t.in._zod.values),le(e._zod,`optin`,()=>t.in._zod.optin),le(e._zod,`optout`,()=>t.out._zod.optout),le(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Nn(e,t.in,n)):Nn(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Nn(e,t.out,n)):Nn(r,t.out,n)}}),Jr=p(`$ZodCodec`,(e,t)=>{In.init(e,t),le(e._zod,`values`,()=>t.in._zod.values),le(e._zod,`optin`,()=>t.in._zod.optin),le(e._zod,`optout`,()=>t.out._zod.optout),le(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if((n.direction||`forward`)===`forward`){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Pn(e,t,n)):Pn(r,t,n)}else{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Pn(e,t,n)):Pn(r,t,n)}}}),Yr=p(`$ZodReadonly`,(e,t)=>{In.init(e,t),le(e._zod,`propValues`,()=>t.innerType._zod.propValues),le(e._zod,`values`,()=>t.innerType._zod.values),le(e._zod,`optin`,()=>t.innerType?._zod?.optin),le(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(fte):fte(r)}}),Xr=p(`$ZodTemplateLiteral`,(e,t)=>{In.init(e,t);let n=[];for(let e of t.parts)if(typeof e==`object`&&e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=t.startsWith(`^`)?1:0,i=t.endsWith(`$`)?t.length-1:t.length;n.push(t.slice(r,i))}else if(e===null||$e.has(typeof e))n.push(Ce(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join(``)}$`),e._zod.parse=(n,r)=>typeof n.value==`string`?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:`invalid_format`,format:t.format??`template_literal`,pattern:e._zod.pattern.source}),n):(n.issues.push({input:n.value,inst:e,expected:`string`,code:`invalid_type`}),n)}),Zr=p(`$ZodFunction`,(e,t)=>(In.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if(typeof t!=`function`)throw Error(`implement() must be called with a function`);return function(...n){let r=e._def.input?lt(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?lt(e._def.output,i):i}},e.implementAsync=t=>{if(typeof t!=`function`)throw Error(`implementAsync() must be called with a function`);return async function(...n){let r=e._def.input?await dt(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await dt(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(e._def.output&&e._def.output._zod.def.type===`promise`?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t):(t.issues.push({code:`invalid_type`,expected:`function`,input:t.value,inst:e}),t),e.input=(...t)=>{let n=e.constructor;return Array.isArray(t[0])?new n({type:`function`,input:new Ar({type:`tuple`,items:t[0],rest:t[1]}),output:e._def.output}):new n({type:`function`,input:t[0],output:e._def.output})},e.output=t=>{let n=e.constructor;return new n({type:`function`,input:e._def.input,output:t})},e)),Qr=p(`$ZodPromise`,(e,t)=>{In.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),$r=p(`$ZodLazy`,(e,t)=>{In.init(e,t),le(e._zod,`innerType`,()=>t.getter()),le(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),le(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),le(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),le(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),ei=p(`$ZodCustom`,(e,t)=>{cn.init(e,t),In.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>pte(t,n,r,e));pte(i,n,r,e)}})}));function hte(){return{localeError:gte()}}var gte,_te=c((()=>{nt(),gte=()=>{let e={string:{unit:`حرف`,verb:`أن يحوي`},file:{unit:`بايت`,verb:`أن يحوي`},array:{unit:`عنصر`,verb:`أن يحوي`},set:{unit:`عنصر`,verb:`أن يحوي`}};function t(t){return e[t]??null}let n={regex:`مدخل`,email:`بريد إلكتروني`,url:`رابط`,emoji:`إيموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاريخ ووقت بمعيار ISO`,date:`تاريخ بمعيار ISO`,time:`وقت بمعيار ISO`,duration:`مدة بمعيار ISO`,ipv4:`عنوان IPv4`,ipv6:`عنوان IPv6`,cidrv4:`مدى عناوين بصيغة IPv4`,cidrv6:`مدى عناوين بصيغة IPv6`,base64:`نَص بترميز base64-encoded`,base64url:`نَص بترميز base64url-encoded`,json_string:`نَص على هيئة JSON`,e164:`رقم هاتف بمعيار E.164`,jwt:`JWT`,template_literal:`مدخل`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`}case`invalid_value`:return e.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${De(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()} ${r.unit??`عنصر`}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`:t.format===`ends_with`?`نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"`:t.format===`includes`?`نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"`:t.format===`regex`?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case`not_multiple_of`:return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case`unrecognized_keys`:return`معرف${e.keys.length>1?`ات`:``} غريب${e.keys.length>1?`ة`:``}: ${w(e.keys,`، `)}`;case`invalid_key`:return`معرف غير مقبول في ${e.origin}`;case`invalid_union`:return`مدخل غير مقبول`;case`invalid_element`:return`مدخل غير مقبول في ${e.origin}`;default:return`مدخل غير مقبول`}}}}));function vte(){return{localeError:yte()}}var yte,bte=c((()=>{nt(),yte=()=>{let e={string:{unit:`simvol`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`element`,verb:`olmalıdır`},set:{unit:`element`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`}case`invalid_value`:return e.values.length===1?`Yanlış dəyər: gözlənilən ${De(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()} ${r.unit??`element`}`:`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Yanlış mətn: "${t.prefix}" ilə başlamalıdır`:t.format===`ends_with`?`Yanlış mətn: "${t.suffix}" ilə bitməlidir`:t.format===`includes`?`Yanlış mətn: "${t.includes}" daxil olmalıdır`:t.format===`regex`?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case`not_multiple_of`:return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case`unrecognized_keys`:return`Tanınmayan açar${e.keys.length>1?`lar`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} daxilində yanlış açar`;case`invalid_union`:return`Yanlış dəyər`;case`invalid_element`:return`${e.origin} daxilində yanlış dəyər`;default:return`Yanlış dəyər`}}}}));function xte(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function Ste(){return{localeError:Cte()}}var Cte,wte=c((()=>{nt(),Cte=()=>{let e={string:{unit:{one:`сімвал`,few:`сімвалы`,many:`сімвалаў`},verb:`мець`},array:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},set:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},file:{unit:{one:`байт`,few:`байты`,many:`байтаў`},verb:`мець`}};function t(t){return e[t]??null}let n={regex:`увод`,email:`email адрас`,url:`URL`,emoji:`эмодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата і час`,date:`ISO дата`,time:`ISO час`,duration:`ISO працягласць`,ipv4:`IPv4 адрас`,ipv6:`IPv6 адрас`,cidrv4:`IPv4 дыяпазон`,cidrv6:`IPv6 дыяпазон`,base64:`радок у фармаце base64`,base64url:`радок у фармаце base64url`,json_string:`JSON радок`,e164:`нумар E.164`,jwt:`JWT`,template_literal:`увод`},r={nan:`NaN`,number:`лік`,array:`масіў`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${i}`}case`invalid_value`:return e.values.length===1?`Няправільны ўвод: чакалася ${De(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=xte(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна быць ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=xte(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Няправільны радок: павінен пачынацца з "${t.prefix}"`:t.format===`ends_with`?`Няправільны радок: павінен заканчвацца на "${t.suffix}"`:t.format===`includes`?`Няправільны радок: павінен змяшчаць "${t.includes}"`:t.format===`regex`?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case`not_multiple_of`:return`Няправільны лік: павінен быць кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспазнаны ${e.keys.length>1?`ключы`:`ключ`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Няправільны ключ у ${e.origin}`;case`invalid_union`:return`Няправільны ўвод`;case`invalid_element`:return`Няправільнае значэнне ў ${e.origin}`;default:return`Няправільны ўвод`}}}}));function Tte(){return{localeError:Ete()}}var Ete,Dte=c((()=>{nt(),Ete=()=>{let e={string:{unit:`символа`,verb:`да съдържа`},file:{unit:`байта`,verb:`да съдържа`},array:{unit:`елемента`,verb:`да съдържа`},set:{unit:`елемента`,verb:`да съдържа`}};function t(t){return e[t]??null}let n={regex:`вход`,email:`имейл адрес`,url:`URL`,emoji:`емоджи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO време`,date:`ISO дата`,time:`ISO време`,duration:`ISO продължителност`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`base64-кодиран низ`,base64url:`base64url-кодиран низ`,json_string:`JSON низ`,e164:`E.164 номер`,jwt:`JWT`,template_literal:`вход`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`:`Невалиден вход: очакван ${t}, получен ${i}`}case`invalid_value`:return e.values.length===1?`Невалиден вход: очакван ${De(e.values[0])}`:`Невалидна опция: очаквано едно от ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Твърде голямо: очаква се ${e.origin??`стойност`} да съдържа ${n}${e.maximum.toString()} ${r.unit??`елемента`}`:`Твърде голямо: очаква се ${e.origin??`стойност`} да бъде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Твърде малко: очаква се ${e.origin} да съдържа ${n}${e.minimum.toString()} ${r.unit}`:`Твърде малко: очаква се ${e.origin} да бъде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;if(t.format===`starts_with`)return`Невалиден низ: трябва да започва с "${t.prefix}"`;if(t.format===`ends_with`)return`Невалиден низ: трябва да завършва с "${t.suffix}"`;if(t.format===`includes`)return`Невалиден низ: трябва да включва "${t.includes}"`;if(t.format===`regex`)return`Невалиден низ: трябва да съвпада с ${t.pattern}`;let r=`Невалиден`;return t.format===`emoji`&&(r=`Невалидно`),t.format===`datetime`&&(r=`Невалидно`),t.format===`date`&&(r=`Невалидна`),t.format===`time`&&(r=`Невалидно`),t.format===`duration`&&(r=`Невалидна`),`${r} ${n[t.format]??e.format}`}case`not_multiple_of`:return`Невалидно число: трябва да бъде кратно на ${e.divisor}`;case`unrecognized_keys`:return`Неразпознат${e.keys.length>1?`и`:``} ключ${e.keys.length>1?`ове`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Невалиден ключ в ${e.origin}`;case`invalid_union`:return`Невалиден вход`;case`invalid_element`:return`Невалидна стойност в ${e.origin}`;default:return`Невалиден вход`}}}}));function Ote(){return{localeError:kte()}}var kte,Ate=c((()=>{nt(),kte=()=>{let e={string:{unit:`caràcters`,verb:`contenir`},file:{unit:`bytes`,verb:`contenir`},array:{unit:`elements`,verb:`contenir`},set:{unit:`elements`,verb:`contenir`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`adreça electrònica`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`durada ISO`,ipv4:`adreça IPv4`,ipv6:`adreça IPv6`,cidrv4:`rang IPv4`,cidrv6:`rang IPv6`,base64:`cadena codificada en base64`,base64url:`cadena codificada en base64url`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`}case`invalid_value`:return e.values.length===1?`Valor invàlid: s'esperava ${De(e.values[0])}`:`Opció invàlida: s'esperava una de ${w(e.values,` o `)}`;case`too_big`:{let n=e.inclusive?`com a màxim`:`menys de`,r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??`el valor`} contingués ${n} ${e.maximum.toString()} ${r.unit??`elements`}`:`Massa gran: s'esperava que ${e.origin??`el valor`} fos ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`com a mínim`:`més de`,r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Format invàlid: ha de començar amb "${t.prefix}"`:t.format===`ends_with`?`Format invàlid: ha d'acabar amb "${t.suffix}"`:t.format===`includes`?`Format invàlid: ha d'incloure "${t.includes}"`:t.format===`regex`?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case`unrecognized_keys`:return`Clau${e.keys.length>1?`s`:``} no reconeguda${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Clau invàlida a ${e.origin}`;case`invalid_union`:return`Entrada invàlida`;case`invalid_element`:return`Element invàlid a ${e.origin}`;default:return`Entrada invàlida`}}}}));function jte(){return{localeError:Mte()}}var Mte,Nte=c((()=>{nt(),Mte=()=>{let e={string:{unit:`znaků`,verb:`mít`},file:{unit:`bajtů`,verb:`mít`},array:{unit:`prvků`,verb:`mít`},set:{unit:`prvků`,verb:`mít`}};function t(t){return e[t]??null}let n={regex:`regulární výraz`,email:`e-mailová adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`datum a čas ve formátu ISO`,date:`datum ve formátu ISO`,time:`čas ve formátu ISO`,duration:`doba trvání ISO`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`rozsah IPv4`,cidrv6:`rozsah IPv6`,base64:`řetězec zakódovaný ve formátu base64`,base64url:`řetězec zakódovaný ve formátu base64url`,json_string:`řetězec ve formátu JSON`,e164:`číslo E.164`,jwt:`JWT`,template_literal:`vstup`},r={nan:`NaN`,number:`číslo`,string:`řetězec`,function:`funkce`,array:`pole`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${i}`}case`invalid_value`:return e.values.length===1?`Neplatný vstup: očekáváno ${De(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??`hodnota`} musí mít ${n}${e.maximum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš velká: ${e.origin??`hodnota`} musí být ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??`hodnota`} musí mít ${n}${e.minimum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš malá: ${e.origin??`hodnota`} musí být ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neplatný řetězec: musí začínat na "${t.prefix}"`:t.format===`ends_with`?`Neplatný řetězec: musí končit na "${t.suffix}"`:t.format===`includes`?`Neplatný řetězec: musí obsahovat "${t.includes}"`:t.format===`regex`?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neplatné číslo: musí být násobkem ${e.divisor}`;case`unrecognized_keys`:return`Neznámé klíče: ${w(e.keys,`, `)}`;case`invalid_key`:return`Neplatný klíč v ${e.origin}`;case`invalid_union`:return`Neplatný vstup`;case`invalid_element`:return`Neplatná hodnota v ${e.origin}`;default:return`Neplatný vstup`}}}}));function Pte(){return{localeError:Fte()}}var Fte,Ite=c((()=>{nt(),Fte=()=>{let e={string:{unit:`tegn`,verb:`havde`},file:{unit:`bytes`,verb:`havde`},array:{unit:`elementer`,verb:`indeholdt`},set:{unit:`elementer`,verb:`indeholdt`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-mailadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslæt`,date:`ISO-dato`,time:`ISO-klokkeslæt`,duration:`ISO-varighed`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodet streng`,base64url:`base64url-kodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,string:`streng`,number:`tal`,boolean:`boolean`,array:`liste`,object:`objekt`,set:`sæt`,file:`fil`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`:`Ugyldigt input: forventede ${t}, fik ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig værdi: forventede ${De(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For stor: forventede ${a??`value`} ${i.verb} ${n} ${e.maximum.toString()} ${i.unit??`elementer`}`:`For stor: forventede ${a??`value`} havde ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: skal starte med "${t.prefix}"`:t.format===`ends_with`?`Ugyldig streng: skal ende med "${t.suffix}"`:t.format===`includes`?`Ugyldig streng: skal indeholde "${t.includes}"`:t.format===`regex`?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukendte nøgler`:`Ukendt nøgle`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøgle i ${e.origin}`;case`invalid_union`:return`Ugyldigt input: matcher ingen af de tilladte typer`;case`invalid_element`:return`Ugyldig værdi i ${e.origin}`;default:return`Ugyldigt input`}}}}));function Lte(){return{localeError:Rte()}}var Rte,zte=c((()=>{nt(),Rte=()=>{let e={string:{unit:`Zeichen`,verb:`zu haben`},file:{unit:`Bytes`,verb:`zu haben`},array:{unit:`Elemente`,verb:`zu haben`},set:{unit:`Elemente`,verb:`zu haben`}};function t(t){return e[t]??null}let n={regex:`Eingabe`,email:`E-Mail-Adresse`,url:`URL`,emoji:`Emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-Datum und -Uhrzeit`,date:`ISO-Datum`,time:`ISO-Uhrzeit`,duration:`ISO-Dauer`,ipv4:`IPv4-Adresse`,ipv6:`IPv6-Adresse`,cidrv4:`IPv4-Bereich`,cidrv6:`IPv6-Bereich`,base64:`Base64-codierter String`,base64url:`Base64-URL-codierter String`,json_string:`JSON-String`,e164:`E.164-Nummer`,jwt:`JWT`,template_literal:`Eingabe`},r={nan:`NaN`,number:`Zahl`,array:`Array`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${i}`}case`invalid_value`:return e.values.length===1?`Ungültige Eingabe: erwartet ${De(e.values[0])}`:`Ungültige Option: erwartet eine von ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ${r.unit??`Elemente`} hat`:`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ist`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ungültiger String: muss mit "${t.prefix}" beginnen`:t.format===`ends_with`?`Ungültiger String: muss mit "${t.suffix}" enden`:t.format===`includes`?`Ungültiger String: muss "${t.includes}" enthalten`:t.format===`regex`?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case`unrecognized_keys`:return`${e.keys.length>1?`Unbekannte Schlüssel`:`Unbekannter Schlüssel`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Ungültiger Schlüssel in ${e.origin}`;case`invalid_union`:return`Ungültige Eingabe`;case`invalid_element`:return`Ungültiger Wert in ${e.origin}`;default:return`Ungültige Eingabe`}}}}));function Bte(){return{localeError:Vte()}}var Vte,Hte=c((()=>{nt(),Vte=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input);return`Invalid input: expected ${t}, received ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${De(e.values[0])}`:`Invalid option: expected one of ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}}}));function Ute(){return{localeError:Wte()}}var Wte,Gte=c((()=>{nt(),Wte=()=>{let e={string:{unit:`karaktrojn`,verb:`havi`},file:{unit:`bajtojn`,verb:`havi`},array:{unit:`elementojn`,verb:`havi`},set:{unit:`elementojn`,verb:`havi`}};function t(t){return e[t]??null}let n={regex:`enigo`,email:`retadreso`,url:`URL`,emoji:`emoĝio`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datotempo`,date:`ISO-dato`,time:`ISO-tempo`,duration:`ISO-daŭro`,ipv4:`IPv4-adreso`,ipv6:`IPv6-adreso`,cidrv4:`IPv4-rango`,cidrv6:`IPv6-rango`,base64:`64-ume kodita karaktraro`,base64url:`URL-64-ume kodita karaktraro`,json_string:`JSON-karaktraro`,e164:`E.164-nombro`,jwt:`JWT`,template_literal:`enigo`},r={nan:`NaN`,number:`nombro`,array:`tabelo`,null:`senvalora`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`}case`invalid_value`:return e.values.length===1?`Nevalida enigo: atendiĝis ${De(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()} ${r.unit??`elementojn`}`:`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:t.format===`ends_with`?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:t.format===`includes`?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:t.format===`regex`?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case`unrecognized_keys`:return`Nekonata${e.keys.length>1?`j`:``} ŝlosilo${e.keys.length>1?`j`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Nevalida ŝlosilo en ${e.origin}`;case`invalid_union`:return`Nevalida enigo`;case`invalid_element`:return`Nevalida valoro en ${e.origin}`;default:return`Nevalida enigo`}}}}));function Kte(){return{localeError:qte()}}var qte,Jte=c((()=>{nt(),qte=()=>{let e={string:{unit:`caracteres`,verb:`tener`},file:{unit:`bytes`,verb:`tener`},array:{unit:`elementos`,verb:`tener`},set:{unit:`elementos`,verb:`tener`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`dirección de correo electrónico`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`fecha y hora ISO`,date:`fecha ISO`,time:`hora ISO`,duration:`duración ISO`,ipv4:`dirección IPv4`,ipv6:`dirección IPv6`,cidrv4:`rango IPv4`,cidrv6:`rango IPv6`,base64:`cadena codificada en base64`,base64url:`URL codificada en base64`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,string:`texto`,number:`número`,boolean:`booleano`,array:`arreglo`,object:`objeto`,set:`conjunto`,file:`archivo`,date:`fecha`,bigint:`número grande`,symbol:`símbolo`,undefined:`indefinido`,null:`nulo`,function:`función`,map:`mapa`,record:`registro`,tuple:`tupla`,enum:`enumeración`,union:`unión`,literal:`literal`,promise:`promesa`,void:`vacío`,never:`nunca`,unknown:`desconocido`,any:`cualquiera`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`:`Entrada inválida: se esperaba ${t}, recibido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: se esperaba ${De(e.values[0])}`:`Opción inválida: se esperaba una de ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado grande: se esperaba que ${a??`valor`} tuviera ${n}${e.maximum.toString()} ${i.unit??`elementos`}`:`Demasiado grande: se esperaba que ${a??`valor`} fuera ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Cadena inválida: debe comenzar con "${t.prefix}"`:t.format===`ends_with`?`Cadena inválida: debe terminar en "${t.suffix}"`:t.format===`includes`?`Cadena inválida: debe incluir "${t.includes}"`:t.format===`regex`?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número inválido: debe ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Llave${e.keys.length>1?`s`:``} desconocida${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Llave inválida en ${r[e.origin]??e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido en ${r[e.origin]??e.origin}`;default:return`Entrada inválida`}}}}));function Yte(){return{localeError:Xte()}}var Xte,Zte=c((()=>{nt(),Xte=()=>{let e={string:{unit:`کاراکتر`,verb:`داشته باشد`},file:{unit:`بایت`,verb:`داشته باشد`},array:{unit:`آیتم`,verb:`داشته باشد`},set:{unit:`آیتم`,verb:`داشته باشد`}};function t(t){return e[t]??null}let n={regex:`ورودی`,email:`آدرس ایمیل`,url:`URL`,emoji:`ایموجی`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاریخ و زمان ایزو`,date:`تاریخ ایزو`,time:`زمان ایزو`,duration:`مدت زمان ایزو`,ipv4:`IPv4 آدرس`,ipv6:`IPv6 آدرس`,cidrv4:`IPv4 دامنه`,cidrv6:`IPv6 دامنه`,base64:`base64-encoded رشته`,base64url:`base64url-encoded رشته`,json_string:`JSON رشته`,e164:`E.164 عدد`,jwt:`JWT`,template_literal:`ورودی`},r={nan:`NaN`,number:`عدد`,array:`آرایه`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: میبایست instanceof ${e.expected} میبود، ${i} دریافت شد`:`ورودی نامعتبر: میبایست ${t} میبود، ${i} دریافت شد`}case`invalid_value`:return e.values.length===1?`ورودی نامعتبر: میبایست ${De(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${w(e.values,`|`)} میبود`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصر`} باشد`:`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} باشد`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`رشته نامعتبر: باید با "${t.prefix}" شروع شود`:t.format===`ends_with`?`رشته نامعتبر: باید با "${t.suffix}" تمام شود`:t.format===`includes`?`رشته نامعتبر: باید شامل "${t.includes}" باشد`:t.format===`regex`?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case`not_multiple_of`:return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case`unrecognized_keys`:return`کلید${e.keys.length>1?`های`:``} ناشناس: ${w(e.keys,`, `)}`;case`invalid_key`:return`کلید ناشناس در ${e.origin}`;case`invalid_union`:return`ورودی نامعتبر`;case`invalid_element`:return`مقدار نامعتبر در ${e.origin}`;default:return`ورودی نامعتبر`}}}}));function Qte(){return{localeError:$te()}}var $te,ene=c((()=>{nt(),$te=()=>{let e={string:{unit:`merkkiä`,subject:`merkkijonon`},file:{unit:`tavua`,subject:`tiedoston`},array:{unit:`alkiota`,subject:`listan`},set:{unit:`alkiota`,subject:`joukon`},number:{unit:``,subject:`luvun`},bigint:{unit:``,subject:`suuren kokonaisluvun`},int:{unit:``,subject:`kokonaisluvun`},date:{unit:``,subject:`päivämäärän`}};function t(t){return e[t]??null}let n={regex:`säännöllinen lauseke`,email:`sähköpostiosoite`,url:`URL-osoite`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-aikaleima`,date:`ISO-päivämäärä`,time:`ISO-aika`,duration:`ISO-kesto`,ipv4:`IPv4-osoite`,ipv6:`IPv6-osoite`,cidrv4:`IPv4-alue`,cidrv6:`IPv6-alue`,base64:`base64-koodattu merkkijono`,base64url:`base64url-koodattu merkkijono`,json_string:`JSON-merkkijono`,e164:`E.164-luku`,jwt:`JWT`,template_literal:`templaattimerkkijono`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${i}`}case`invalid_value`:return e.values.length===1?`Virheellinen syöte: täytyy olla ${De(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Virheellinen syöte: täytyy alkaa "${t.prefix}"`:t.format===`ends_with`?`Virheellinen syöte: täytyy loppua "${t.suffix}"`:t.format===`includes`?`Virheellinen syöte: täytyy sisältää "${t.includes}"`:t.format===`regex`?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case`unrecognized_keys`:return`${e.keys.length>1?`Tuntemattomat avaimet`:`Tuntematon avain`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Virheellinen avain tietueessa`;case`invalid_union`:return`Virheellinen unioni`;case`invalid_element`:return`Virheellinen arvo joukossa`;default:return`Virheellinen syöte`}}}}));function tne(){return{localeError:nne()}}var nne,rne=c((()=>{nt(),nne=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date et heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`,number:`nombre`,array:`tableau`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${i} reçu`:`Entrée invalide : ${t} attendu, ${i} reçu`}case`invalid_value`:return e.values.length===1?`Entrée invalide : ${De(e.values[0])} attendu`:`Option invalide : une valeur parmi ${w(e.values,`|`)} attendue`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Trop grand : ${e.origin??`valeur`} doit ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`élément(s)`}`:`Trop grand : ${e.origin??`valeur`} doit être ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Trop petit : ${e.origin} doit ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : ${e.origin} doit être ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par "${t.prefix}"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par "${t.suffix}"`:t.format===`includes`?`Chaîne invalide : doit inclure "${t.includes}"`:t.format===`regex`?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${w(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function ine(){return{localeError:ane()}}var ane,one=c((()=>{nt(),ane=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse courriel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date-heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`:`Entrée invalide : attendu ${t}, reçu ${i}`}case`invalid_value`:return e.values.length===1?`Entrée invalide : attendu ${De(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`≤`:`<`,r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??`la valeur`} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??`la valeur`} soit ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`≥`:`>`,r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par "${t.prefix}"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par "${t.suffix}"`:t.format===`includes`?`Chaîne invalide : doit inclure "${t.includes}"`:t.format===`regex`?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${w(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function sne(){return{localeError:cne()}}var cne,lne=c((()=>{nt(),cne=()=>{let e={string:{label:`מחרוזת`,gender:`f`},number:{label:`מספר`,gender:`m`},boolean:{label:`ערך בוליאני`,gender:`m`},bigint:{label:`BigInt`,gender:`m`},date:{label:`תאריך`,gender:`m`},array:{label:`מערך`,gender:`m`},object:{label:`אובייקט`,gender:`m`},null:{label:`ערך ריק (null)`,gender:`m`},undefined:{label:`ערך לא מוגדר (undefined)`,gender:`m`},symbol:{label:`סימבול (Symbol)`,gender:`m`},function:{label:`פונקציה`,gender:`f`},map:{label:`מפה (Map)`,gender:`f`},set:{label:`קבוצה (Set)`,gender:`f`},file:{label:`קובץ`,gender:`m`},promise:{label:`Promise`,gender:`m`},NaN:{label:`NaN`,gender:`m`},unknown:{label:`ערך לא ידוע`,gender:`m`},value:{label:`ערך`,gender:`m`}},t={string:{unit:`תווים`,shortLabel:`קצר`,longLabel:`ארוך`},file:{unit:`בייטים`,shortLabel:`קטן`,longLabel:`גדול`},array:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},set:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},number:{unit:``,shortLabel:`קטן`,longLabel:`גדול`}},n=t=>t?e[t]:void 0,r=t=>{let r=n(t);return r?r.label:t??e.unknown.label},i=e=>`ה${r(e)}`,a=e=>(n(e)?.gender??`m`)===`f`?`צריכה להיות`:`צריך להיות`,o=e=>e?t[e]??null:null,s={regex:{label:`קלט`,gender:`m`},email:{label:`כתובת אימייל`,gender:`f`},url:{label:`כתובת רשת`,gender:`f`},emoji:{label:`אימוג'י`,gender:`m`},uuid:{label:`UUID`,gender:`m`},nanoid:{label:`nanoid`,gender:`m`},guid:{label:`GUID`,gender:`m`},cuid:{label:`cuid`,gender:`m`},cuid2:{label:`cuid2`,gender:`m`},ulid:{label:`ULID`,gender:`m`},xid:{label:`XID`,gender:`m`},ksuid:{label:`KSUID`,gender:`m`},datetime:{label:`תאריך וזמן ISO`,gender:`m`},date:{label:`תאריך ISO`,gender:`m`},time:{label:`זמן ISO`,gender:`m`},duration:{label:`משך זמן ISO`,gender:`m`},ipv4:{label:`כתובת IPv4`,gender:`f`},ipv6:{label:`כתובת IPv6`,gender:`f`},cidrv4:{label:`טווח IPv4`,gender:`m`},cidrv6:{label:`טווח IPv6`,gender:`m`},base64:{label:`מחרוזת בבסיס 64`,gender:`f`},base64url:{label:`מחרוזת בבסיס 64 לכתובות רשת`,gender:`f`},json_string:{label:`מחרוזת JSON`,gender:`f`},e164:{label:`מספר E.164`,gender:`m`},jwt:{label:`JWT`,gender:`m`},ends_with:{label:`קלט`,gender:`m`},includes:{label:`קלט`,gender:`m`},lowercase:{label:`קלט`,gender:`m`},starts_with:{label:`קלט`,gender:`m`},uppercase:{label:`קלט`,gender:`m`}},c={nan:`NaN`};return t=>{switch(t.code){case`invalid_type`:{let n=t.expected,i=c[n??``]??r(n),a=He(t.input),o=c[a]??e[a]?.label??a;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}`:`קלט לא תקין: צריך להיות ${i}, התקבל ${o}`}case`invalid_value`:{if(t.values.length===1)return`ערך לא תקין: הערך חייב להיות ${De(t.values[0])}`;let e=t.values.map(e=>De(e));if(t.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;let n=e[e.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(`, `)} או ${n}`}case`too_big`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.longLabel??`ארוך`} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??``} ${t.inclusive?`או פחות`:`לכל היותר`}`.trim();if(t.origin===`number`)return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`;if(t.origin===`array`||t.origin===`set`)return`גדול מדי: ${n} ${t.origin===`set`?`צריכה`:`צריך`} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??``} או פחות`:`פחות מ-${t.maximum} ${e?.unit??``}`}`.trim();let r=t.inclusive?`<=`:`<`,s=a(t.origin??`value`);return e?.unit?`${e.longLabel} מדי: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}`:`${e?.longLabel??`גדול`} מדי: ${n} ${s} ${r}${t.maximum.toString()}`}case`too_small`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.shortLabel??`קצר`} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??``} ${t.inclusive?`או יותר`:`לפחות`}`.trim();if(t.origin===`number`)return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`;if(t.origin===`array`||t.origin===`set`){let r=t.origin===`set`?`צריכה`:`צריך`;return t.minimum===1&&t.inclusive?`קטן מדי: ${n} ${r} להכיל ${t.origin,`לפחות פריט אחד`}`:`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??``} או יותר`:`יותר מ-${t.minimum} ${e?.unit??``}`}`.trim()}let r=t.inclusive?`>=`:`>`,s=a(t.origin??`value`);return e?.unit?`${e.shortLabel} מדי: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}`:`${e?.shortLabel??`קטן`} מדי: ${n} ${s} ${r}${t.minimum.toString()}`}case`invalid_format`:{let e=t;if(e.format===`starts_with`)return`המחרוזת חייבת להתחיל ב "${e.prefix}"`;if(e.format===`ends_with`)return`המחרוזת חייבת להסתיים ב "${e.suffix}"`;if(e.format===`includes`)return`המחרוזת חייבת לכלול "${e.includes}"`;if(e.format===`regex`)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`;let n=s[e.format];return`${n?.label??e.format} לא ${(n?.gender??`m`)===`f`?`תקינה`:`תקין`}`}case`not_multiple_of`:return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case`unrecognized_keys`:return`מפתח${t.keys.length>1?`ות`:``} לא מזוה${t.keys.length>1?`ים`:`ה`}: ${w(t.keys,`, `)}`;case`invalid_key`:return`שדה לא תקין באובייקט`;case`invalid_union`:return`קלט לא תקין`;case`invalid_element`:return`ערך לא תקין ב${i(t.origin??`array`)}`;default:return`קלט לא תקין`}}}}));function une(){return{localeError:dne()}}var dne,fne=c((()=>{nt(),dne=()=>{let e={string:{unit:`karakter`,verb:`legyen`},file:{unit:`byte`,verb:`legyen`},array:{unit:`elem`,verb:`legyen`},set:{unit:`elem`,verb:`legyen`}};function t(t){return e[t]??null}let n={regex:`bemenet`,email:`email cím`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO időbélyeg`,date:`ISO dátum`,time:`ISO idő`,duration:`ISO időintervallum`,ipv4:`IPv4 cím`,ipv6:`IPv6 cím`,cidrv4:`IPv4 tartomány`,cidrv6:`IPv6 tartomány`,base64:`base64-kódolt string`,base64url:`base64url-kódolt string`,json_string:`JSON string`,e164:`E.164 szám`,jwt:`JWT`,template_literal:`bemenet`},r={nan:`NaN`,number:`szám`,array:`tömb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`}case`invalid_value`:return e.values.length===1?`Érvénytelen bemenet: a várt érték ${De(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Túl nagy: ${e.origin??`érték`} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??`elem`}`:`Túl nagy: a bemeneti érték ${e.origin??`érték`} túl nagy: ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie`:t.format===`ends_with`?`Érvénytelen string: "${t.suffix}" értékkel kell végződnie`:t.format===`includes`?`Érvénytelen string: "${t.includes}" értéket kell tartalmaznia`:t.format===`regex`?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case`unrecognized_keys`:return`Ismeretlen kulcs${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Érvénytelen kulcs ${e.origin}`;case`invalid_union`:return`Érvénytelen bemenet`;case`invalid_element`:return`Érvénytelen érték: ${e.origin}`;default:return`Érvénytelen bemenet`}}}}));function pne(e,t,n){return Math.abs(e)===1?t:n}function ti(e){if(!e)return``;let t=[`ա`,`ե`,`ը`,`ի`,`ո`,`ու`,`օ`],n=e[e.length-1];return e+(t.includes(n)?`ն`:`ը`)}function mne(){return{localeError:hne()}}var hne,gne=c((()=>{nt(),hne=()=>{let e={string:{unit:{one:`նշան`,many:`նշաններ`},verb:`ունենալ`},file:{unit:{one:`բայթ`,many:`բայթեր`},verb:`ունենալ`},array:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`},set:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`}};function t(t){return e[t]??null}let n={regex:`մուտք`,email:`էլ. հասցե`,url:`URL`,emoji:`էմոջի`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ամսաթիվ և ժամ`,date:`ISO ամսաթիվ`,time:`ISO ժամ`,duration:`ISO տևողություն`,ipv4:`IPv4 հասցե`,ipv6:`IPv6 հասցե`,cidrv4:`IPv4 միջակայք`,cidrv6:`IPv6 միջակայք`,base64:`base64 ձևաչափով տող`,base64url:`base64url ձևաչափով տող`,json_string:`JSON տող`,e164:`E.164 համար`,jwt:`JWT`,template_literal:`մուտք`},r={nan:`NaN`,number:`թիվ`,array:`զանգված`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`}case`invalid_value`:return e.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${De(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=pne(Number(e.maximum),r.unit.one,r.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${ti(e.origin??`արժեք`)} կունենա ${n}${e.maximum.toString()} ${t}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${ti(e.origin??`արժեք`)} լինի ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=pne(Number(e.minimum),r.unit.one,r.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${ti(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${ti(e.origin)} լինի ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Սխալ տող․ պետք է սկսվի "${t.prefix}"-ով`:t.format===`ends_with`?`Սխալ տող․ պետք է ավարտվի "${t.suffix}"-ով`:t.format===`includes`?`Սխալ տող․ պետք է պարունակի "${t.includes}"`:t.format===`regex`?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`}case`not_multiple_of`:return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;case`unrecognized_keys`:return`Չճանաչված բանալի${e.keys.length>1?`ներ`:``}. ${w(e.keys,`, `)}`;case`invalid_key`:return`Սխալ բանալի ${ti(e.origin)}-ում`;case`invalid_union`:return`Սխալ մուտքագրում`;case`invalid_element`:return`Սխալ արժեք ${ti(e.origin)}-ում`;default:return`Սխալ մուտքագրում`}}}}));function _ne(){return{localeError:vne()}}var vne,yne=c((()=>{nt(),vne=()=>{let e={string:{unit:`karakter`,verb:`memiliki`},file:{unit:`byte`,verb:`memiliki`},array:{unit:`item`,verb:`memiliki`},set:{unit:`item`,verb:`memiliki`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tanggal dan waktu format ISO`,date:`tanggal format ISO`,time:`jam format ISO`,duration:`durasi format ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`rentang alamat IPv4`,cidrv6:`rentang alamat IPv6`,base64:`string dengan enkode base64`,base64url:`string dengan enkode base64url`,json_string:`string JSON`,e164:`angka E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`:`Input tidak valid: diharapkan ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak valid: diharapkan ${De(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??`value`} memiliki ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: diharapkan ${e.origin??`value`} menjadi ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak valid: harus dimulai dengan "${t.prefix}"`:t.format===`ends_with`?`String tidak valid: harus berakhir dengan "${t.suffix}"`:t.format===`includes`?`String tidak valid: harus menyertakan "${t.includes}"`:t.format===`regex`?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case`not_multiple_of`:return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali ${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak valid di ${e.origin}`;case`invalid_union`:return`Input tidak valid`;case`invalid_element`:return`Nilai tidak valid di ${e.origin}`;default:return`Input tidak valid`}}}}));function bne(){return{localeError:xne()}}var xne,Sne=c((()=>{nt(),xne=()=>{let e={string:{unit:`stafi`,verb:`að hafa`},file:{unit:`bæti`,verb:`að hafa`},array:{unit:`hluti`,verb:`að hafa`},set:{unit:`hluti`,verb:`að hafa`}};function t(t){return e[t]??null}let n={regex:`gildi`,email:`netfang`,url:`vefslóð`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dagsetning og tími`,date:`ISO dagsetning`,time:`ISO tími`,duration:`ISO tímalengd`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded strengur`,base64url:`base64url-encoded strengur`,json_string:`JSON strengur`,e164:`E.164 tölugildi`,jwt:`JWT`,template_literal:`gildi`},r={nan:`NaN`,number:`númer`,array:`fylki`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`}case`invalid_value`:return e.values.length===1?`Rangt gildi: gert ráð fyrir ${De(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} hafi ${n}${e.maximum.toString()} ${r.unit??`hluti`}`:`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} sé ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ógildur strengur: verður að byrja á "${t.prefix}"`:t.format===`ends_with`?`Ógildur strengur: verður að enda á "${t.suffix}"`:t.format===`includes`?`Ógildur strengur: verður að innihalda "${t.includes}"`:t.format===`regex`?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case`not_multiple_of`:return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case`unrecognized_keys`:return`Óþekkt ${e.keys.length>1?`ir lyklar`:`ur lykill`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Rangur lykill í ${e.origin}`;case`invalid_union`:return`Rangt gildi`;case`invalid_element`:return`Rangt gildi í ${e.origin}`;default:return`Rangt gildi`}}}}));function Cne(){return{localeError:wne()}}var wne,Tne=c((()=>{nt(),wne=()=>{let e={string:{unit:`caratteri`,verb:`avere`},file:{unit:`byte`,verb:`avere`},array:{unit:`elementi`,verb:`avere`},set:{unit:`elementi`,verb:`avere`}};function t(t){return e[t]??null}let n={regex:`input`,email:`indirizzo email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e ora ISO`,date:`data ISO`,time:`ora ISO`,duration:`durata ISO`,ipv4:`indirizzo IPv4`,ipv6:`indirizzo IPv6`,cidrv4:`intervallo IPv4`,cidrv6:`intervallo IPv6`,base64:`stringa codificata in base64`,base64url:`URL codificata in base64`,json_string:`stringa JSON`,e164:`numero E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`numero`,array:`vettore`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`:`Input non valido: atteso ${t}, ricevuto ${i}`}case`invalid_value`:return e.values.length===1?`Input non valido: atteso ${De(e.values[0])}`:`Opzione non valida: atteso uno tra ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Troppo grande: ${e.origin??`valore`} deve avere ${n}${e.maximum.toString()} ${r.unit??`elementi`}`:`Troppo grande: ${e.origin??`valore`} deve essere ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Stringa non valida: deve iniziare con "${t.prefix}"`:t.format===`ends_with`?`Stringa non valida: deve terminare con "${t.suffix}"`:t.format===`includes`?`Stringa non valida: deve includere "${t.includes}"`:t.format===`regex`?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case`unrecognized_keys`:return`Chiav${e.keys.length>1?`i`:`e`} non riconosciut${e.keys.length>1?`e`:`a`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Chiave non valida in ${e.origin}`;case`invalid_union`:return`Input non valido`;case`invalid_element`:return`Valore non valido in ${e.origin}`;default:return`Input non valido`}}}}));function Ene(){return{localeError:Dne()}}var Dne,One=c((()=>{nt(),Dne=()=>{let e={string:{unit:`文字`,verb:`である`},file:{unit:`バイト`,verb:`である`},array:{unit:`要素`,verb:`である`},set:{unit:`要素`,verb:`である`}};function t(t){return e[t]??null}let n={regex:`入力値`,email:`メールアドレス`,url:`URL`,emoji:`絵文字`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日時`,date:`ISO日付`,time:`ISO時刻`,duration:`ISO期間`,ipv4:`IPv4アドレス`,ipv6:`IPv6アドレス`,cidrv4:`IPv4範囲`,cidrv6:`IPv6範囲`,base64:`base64エンコード文字列`,base64url:`base64urlエンコード文字列`,json_string:`JSON文字列`,e164:`E.164番号`,jwt:`JWT`,template_literal:`入力値`},r={nan:`NaN`,number:`数値`,array:`配列`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`:`無効な入力: ${t}が期待されましたが、${i}が入力されました`}case`invalid_value`:return e.values.length===1?`無効な入力: ${De(e.values[0])}が期待されました`:`無効な選択: ${w(e.values,`、`)}のいずれかである必要があります`;case`too_big`:{let n=e.inclusive?`以下である`:`より小さい`,r=t(e.origin);return r?`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${r.unit??`要素`}${n}必要があります`:`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${n}必要があります`}case`too_small`:{let n=e.inclusive?`以上である`:`より大きい`,r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無効な文字列: "${t.prefix}"で始まる必要があります`:t.format===`ends_with`?`無効な文字列: "${t.suffix}"で終わる必要があります`:t.format===`includes`?`無効な文字列: "${t.includes}"を含む必要があります`:t.format===`regex`?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case`not_multiple_of`:return`無効な数値: ${e.divisor}の倍数である必要があります`;case`unrecognized_keys`:return`認識されていないキー${e.keys.length>1?`群`:``}: ${w(e.keys,`、`)}`;case`invalid_key`:return`${e.origin}内の無効なキー`;case`invalid_union`:return`無効な入力`;case`invalid_element`:return`${e.origin}内の無効な値`;default:return`無効な入力`}}}}));function kne(){return{localeError:Ane()}}var Ane,jne=c((()=>{nt(),Ane=()=>{let e={string:{unit:`სიმბოლო`,verb:`უნდა შეიცავდეს`},file:{unit:`ბაიტი`,verb:`უნდა შეიცავდეს`},array:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`},set:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`}};function t(t){return e[t]??null}let n={regex:`შეყვანა`,email:`ელ-ფოსტის მისამართი`,url:`URL`,emoji:`ემოჯი`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`თარიღი-დრო`,date:`თარიღი`,time:`დრო`,duration:`ხანგრძლივობა`,ipv4:`IPv4 მისამართი`,ipv6:`IPv6 მისამართი`,cidrv4:`IPv4 დიაპაზონი`,cidrv6:`IPv6 დიაპაზონი`,base64:`base64-კოდირებული სტრინგი`,base64url:`base64url-კოდირებული სტრინგი`,json_string:`JSON სტრინგი`,e164:`E.164 ნომერი`,jwt:`JWT`,template_literal:`შეყვანა`},r={nan:`NaN`,number:`რიცხვი`,string:`სტრინგი`,boolean:`ბულეანი`,function:`ფუნქცია`,array:`მასივი`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`}case`invalid_value`:return e.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${De(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${w(e.values,`|`)}-დან`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} იყოს ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:t.format===`ends_with`?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:t.format===`includes`?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:t.format===`regex`?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case`not_multiple_of`:return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case`unrecognized_keys`:return`უცნობი გასაღებ${e.keys.length>1?`ები`:`ი`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`არასწორი გასაღები ${e.origin}-ში`;case`invalid_union`:return`არასწორი შეყვანა`;case`invalid_element`:return`არასწორი მნიშვნელობა ${e.origin}-ში`;default:return`არასწორი შეყვანა`}}}}));function Mne(){return{localeError:Nne()}}var Nne,Pne=c((()=>{nt(),Nne=()=>{let e={string:{unit:`តួអក្សរ`,verb:`គួរមាន`},file:{unit:`បៃ`,verb:`គួរមាន`},array:{unit:`ធាតុ`,verb:`គួរមាន`},set:{unit:`ធាតុ`,verb:`គួរមាន`}};function t(t){return e[t]??null}let n={regex:`ទិន្នន័យបញ្ចូល`,email:`អាសយដ្ឋានអ៊ីមែល`,url:`URL`,emoji:`សញ្ញាអារម្មណ៍`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`កាលបរិច្ឆេទ និងម៉ោង ISO`,date:`កាលបរិច្ឆេទ ISO`,time:`ម៉ោង ISO`,duration:`រយៈពេល ISO`,ipv4:`អាសយដ្ឋាន IPv4`,ipv6:`អាសយដ្ឋាន IPv6`,cidrv4:`ដែនអាសយដ្ឋាន IPv4`,cidrv6:`ដែនអាសយដ្ឋាន IPv6`,base64:`ខ្សែអក្សរអ៊ិកូដ base64`,base64url:`ខ្សែអក្សរអ៊ិកូដ base64url`,json_string:`ខ្សែអក្សរ JSON`,e164:`លេខ E.164`,jwt:`JWT`,template_literal:`ទិន្នន័យបញ្ចូល`},r={nan:`NaN`,number:`លេខ`,array:`អារេ (Array)`,null:`គ្មានតម្លៃ (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`}case`invalid_value`:return e.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${De(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()} ${r.unit??`ធាតុ`}`:`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"`:t.format===`ends_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"`:t.format===`includes`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"`:t.format===`regex`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case`not_multiple_of`:return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case`unrecognized_keys`:return`រកឃើញសោមិនស្គាល់៖ ${w(e.keys,`, `)}`;case`invalid_key`:return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case`invalid_union`:return`ទិន្នន័យមិនត្រឹមត្រូវ`;case`invalid_element`:return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;default:return`ទិន្នន័យមិនត្រឹមត្រូវ`}}}}));function Fne(){return Mne()}var Ine=c((()=>{Pne()}));function Lne(){return{localeError:Rne()}}var Rne,zne=c((()=>{nt(),Rne=()=>{let e={string:{unit:`문자`,verb:`to have`},file:{unit:`바이트`,verb:`to have`},array:{unit:`개`,verb:`to have`},set:{unit:`개`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`입력`,email:`이메일 주소`,url:`URL`,emoji:`이모지`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 날짜시간`,date:`ISO 날짜`,time:`ISO 시간`,duration:`ISO 기간`,ipv4:`IPv4 주소`,ipv6:`IPv6 주소`,cidrv4:`IPv4 범위`,cidrv6:`IPv6 범위`,base64:`base64 인코딩 문자열`,base64url:`base64url 인코딩 문자열`,json_string:`JSON 문자열`,e164:`E.164 번호`,jwt:`JWT`,template_literal:`입력`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`}case`invalid_value`:return e.values.length===1?`잘못된 입력: 값은 ${De(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${w(e.values,`또는 `)} 중 하나여야 합니다`;case`too_big`:{let n=e.inclusive?`이하`:`미만`,r=n===`미만`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case`too_small`:{let n=e.inclusive?`이상`:`초과`,r=n===`이상`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다`:t.format===`ends_with`?`잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다`:t.format===`includes`?`잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다`:t.format===`regex`?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case`not_multiple_of`:return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case`unrecognized_keys`:return`인식할 수 없는 키: ${w(e.keys,`, `)}`;case`invalid_key`:return`잘못된 키: ${e.origin}`;case`invalid_union`:return`잘못된 입력`;case`invalid_element`:return`잘못된 값: ${e.origin}`;default:return`잘못된 입력`}}}}));function Bne(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||n===0?`many`:n===1?`one`:`few`}function Vne(){return{localeError:Hne()}}var ni,Hne,Une=c((()=>{nt(),ni=e=>e.charAt(0).toUpperCase()+e.slice(1),Hne=()=>{let e={string:{unit:{one:`simbolis`,few:`simboliai`,many:`simbolių`},verb:{smaller:{inclusive:`turi būti ne ilgesnė kaip`,notInclusive:`turi būti trumpesnė kaip`},bigger:{inclusive:`turi būti ne trumpesnė kaip`,notInclusive:`turi būti ilgesnė kaip`}}},file:{unit:{one:`baitas`,few:`baitai`,many:`baitų`},verb:{smaller:{inclusive:`turi būti ne didesnis kaip`,notInclusive:`turi būti mažesnis kaip`},bigger:{inclusive:`turi būti ne mažesnis kaip`,notInclusive:`turi būti didesnis kaip`}}},array:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}},set:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}}};function t(t,n,r,i){let a=e[t]??null;return a===null?a:{unit:a.unit[n],verb:a.verb[i][r?`inclusive`:`notInclusive`]}}let n={regex:`įvestis`,email:`el. pašto adresas`,url:`URL`,emoji:`jaustukas`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO data ir laikas`,date:`ISO data`,time:`ISO laikas`,duration:`ISO trukmė`,ipv4:`IPv4 adresas`,ipv6:`IPv6 adresas`,cidrv4:`IPv4 tinklo prefiksas (CIDR)`,cidrv6:`IPv6 tinklo prefiksas (CIDR)`,base64:`base64 užkoduota eilutė`,base64url:`base64url užkoduota eilutė`,json_string:`JSON eilutė`,e164:`E.164 numeris`,jwt:`JWT`,template_literal:`įvestis`},r={nan:`NaN`,number:`skaičius`,bigint:`sveikasis skaičius`,string:`eilutė`,boolean:`loginė reikšmė`,undefined:`neapibrėžta reikšmė`,function:`funkcija`,symbol:`simbolis`,array:`masyvas`,object:`objektas`,null:`nulinė reikšmė`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${i}, o tikėtasi - ${t}`}case`invalid_value`:return e.values.length===1?`Privalo būti ${De(e.values[0])}`:`Privalo būti vienas iš ${w(e.values,`|`)} pasirinkimų`;case`too_big`:{let n=r[e.origin]??e.origin,i=t(e.origin,Bne(Number(e.maximum)),e.inclusive??!1,`smaller`);if(i?.verb)return`${ni(n??e.origin??`reikšmė`)} ${i.verb} ${e.maximum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne didesnis kaip`:`mažesnis kaip`;return`${ni(n??e.origin??`reikšmė`)} turi būti ${a} ${e.maximum.toString()} ${i?.unit}`}case`too_small`:{let n=r[e.origin]??e.origin,i=t(e.origin,Bne(Number(e.minimum)),e.inclusive??!1,`bigger`);if(i?.verb)return`${ni(n??e.origin??`reikšmė`)} ${i.verb} ${e.minimum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne mažesnis kaip`:`didesnis kaip`;return`${ni(n??e.origin??`reikšmė`)} turi būti ${a} ${e.minimum.toString()} ${i?.unit}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Eilutė privalo prasidėti "${t.prefix}"`:t.format===`ends_with`?`Eilutė privalo pasibaigti "${t.suffix}"`:t.format===`includes`?`Eilutė privalo įtraukti "${t.includes}"`:t.format===`regex`?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case`not_multiple_of`:return`Skaičius privalo būti ${e.divisor} kartotinis.`;case`unrecognized_keys`:return`Neatpažint${e.keys.length>1?`i`:`as`} rakt${e.keys.length>1?`ai`:`as`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Rastas klaidingas raktas`;case`invalid_union`:return`Klaidinga įvestis`;case`invalid_element`:return`${ni(r[e.origin]??e.origin??e.origin??`reikšmė`)} turi klaidingą įvestį`;default:return`Klaidinga įvestis`}}}}));function Wne(){return{localeError:Gne()}}var Gne,Kne=c((()=>{nt(),Gne=()=>{let e={string:{unit:`знаци`,verb:`да имаат`},file:{unit:`бајти`,verb:`да имаат`},array:{unit:`ставки`,verb:`да имаат`},set:{unit:`ставки`,verb:`да имаат`}};function t(t){return e[t]??null}let n={regex:`внес`,email:`адреса на е-пошта`,url:`URL`,emoji:`емоџи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO датум и време`,date:`ISO датум`,time:`ISO време`,duration:`ISO времетраење`,ipv4:`IPv4 адреса`,ipv6:`IPv6 адреса`,cidrv4:`IPv4 опсег`,cidrv6:`IPv6 опсег`,base64:`base64-енкодирана низа`,base64url:`base64url-енкодирана низа`,json_string:`JSON низа`,e164:`E.164 број`,jwt:`JWT`,template_literal:`внес`},r={nan:`NaN`,number:`број`,array:`низа`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`:`Грешен внес: се очекува ${t}, примено ${i}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${De(e.values[0])}`:`Грешана опција: се очекува една ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??`вредноста`} да има ${n}${e.maximum.toString()} ${r.unit??`елементи`}`:`Премногу голем: се очекува ${e.origin??`вредноста`} да биде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неважечка низа: мора да започнува со "${t.prefix}"`:t.format===`ends_with`?`Неважечка низа: мора да завршува со "${t.suffix}"`:t.format===`includes`?`Неважечка низа: мора да вклучува "${t.includes}"`:t.format===`regex`?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Грешен број: мора да биде делив со ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Непрепознаени клучеви`:`Непрепознаен клуч`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Грешен клуч во ${e.origin}`;case`invalid_union`:return`Грешен внес`;case`invalid_element`:return`Грешна вредност во ${e.origin}`;default:return`Грешен внес`}}}}));function qne(){return{localeError:Jne()}}var Jne,Yne=c((()=>{nt(),Jne=()=>{let e={string:{unit:`aksara`,verb:`mempunyai`},file:{unit:`bait`,verb:`mempunyai`},array:{unit:`elemen`,verb:`mempunyai`},set:{unit:`elemen`,verb:`mempunyai`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat e-mel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tarikh masa ISO`,date:`tarikh ISO`,time:`masa ISO`,duration:`tempoh ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`julat IPv4`,cidrv6:`julat IPv6`,base64:`string dikodkan base64`,base64url:`string dikodkan base64url`,json_string:`string JSON`,e164:`nombor E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`nombor`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`:`Input tidak sah: dijangka ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak sah: dijangka ${De(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??`nilai`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: dijangka ${e.origin??`nilai`} adalah ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak sah: mesti bermula dengan "${t.prefix}"`:t.format===`ends_with`?`String tidak sah: mesti berakhir dengan "${t.suffix}"`:t.format===`includes`?`String tidak sah: mesti mengandungi "${t.includes}"`:t.format===`regex`?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case`not_multiple_of`:return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali: ${w(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak sah dalam ${e.origin}`;case`invalid_union`:return`Input tidak sah`;case`invalid_element`:return`Nilai tidak sah dalam ${e.origin}`;default:return`Input tidak sah`}}}}));function Xne(){return{localeError:Zne()}}var Zne,Qne=c((()=>{nt(),Zne=()=>{let e={string:{unit:`tekens`,verb:`heeft`},file:{unit:`bytes`,verb:`heeft`},array:{unit:`elementen`,verb:`heeft`},set:{unit:`elementen`,verb:`heeft`}};function t(t){return e[t]??null}let n={regex:`invoer`,email:`emailadres`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum en tijd`,date:`ISO datum`,time:`ISO tijd`,duration:`ISO duur`,ipv4:`IPv4-adres`,ipv6:`IPv6-adres`,cidrv4:`IPv4-bereik`,cidrv6:`IPv6-bereik`,base64:`base64-gecodeerde tekst`,base64url:`base64 URL-gecodeerde tekst`,json_string:`JSON string`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`invoer`},r={nan:`NaN`,number:`getal`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`:`Ongeldige invoer: verwacht ${t}, ontving ${i}`}case`invalid_value`:return e.values.length===1?`Ongeldige invoer: verwacht ${De(e.values[0])}`:`Ongeldige optie: verwacht één van ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin),i=e.origin===`date`?`laat`:e.origin===`string`?`lang`:`groot`;return r?`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} ${r.unit??`elementen`} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} is`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin),i=e.origin===`date`?`vroeg`:e.origin===`string`?`kort`:`klein`;return r?`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ongeldige tekst: moet met "${t.prefix}" beginnen`:t.format===`ends_with`?`Ongeldige tekst: moet op "${t.suffix}" eindigen`:t.format===`includes`?`Ongeldige tekst: moet "${t.includes}" bevatten`:t.format===`regex`?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case`unrecognized_keys`:return`Onbekende key${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Ongeldige key in ${e.origin}`;case`invalid_union`:return`Ongeldige invoer`;case`invalid_element`:return`Ongeldige waarde in ${e.origin}`;default:return`Ongeldige invoer`}}}}));function $ne(){return{localeError:ere()}}var ere,tre=c((()=>{nt(),ere=()=>{let e={string:{unit:`tegn`,verb:`å ha`},file:{unit:`bytes`,verb:`å ha`},array:{unit:`elementer`,verb:`å inneholde`},set:{unit:`elementer`,verb:`å inneholde`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-postadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslett`,date:`ISO-dato`,time:`ISO-klokkeslett`,duration:`ISO-varighet`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spekter`,cidrv6:`IPv6-spekter`,base64:`base64-enkodet streng`,base64url:`base64url-enkodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`tall`,array:`liste`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`:`Ugyldig input: forventet ${t}, fikk ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig verdi: forventet ${De(e.values[0])}`:`Ugyldig valg: forventet en av ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()} ${r.unit??`elementer`}`:`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: må starte med "${t.prefix}"`:t.format===`ends_with`?`Ugyldig streng: må ende med "${t.suffix}"`:t.format===`includes`?`Ugyldig streng: må inneholde "${t.includes}"`:t.format===`regex`?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukjente nøkler`:`Ukjent nøkkel`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøkkel i ${e.origin}`;case`invalid_union`:return`Ugyldig input`;case`invalid_element`:return`Ugyldig verdi i ${e.origin}`;default:return`Ugyldig input`}}}}));function nre(){return{localeError:rre()}}var rre,ire=c((()=>{nt(),rre=()=>{let e={string:{unit:`harf`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`unsur`,verb:`olmalıdır`},set:{unit:`unsur`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`giren`,email:`epostagâh`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO hengâmı`,date:`ISO tarihi`,time:`ISO zamanı`,duration:`ISO müddeti`,ipv4:`IPv4 nişânı`,ipv6:`IPv6 nişânı`,cidrv4:`IPv4 menzili`,cidrv6:`IPv6 menzili`,base64:`base64-şifreli metin`,base64url:`base64url-şifreli metin`,json_string:`JSON metin`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`giren`},r={nan:`NaN`,number:`numara`,array:`saf`,null:`gayb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`:`Fâsit giren: umulan ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Fâsit giren: umulan ${De(e.values[0])}`:`Fâsit tercih: mûteberler ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} ${r.unit??`elements`} sahip olmalıydı.`:`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} olmalıydı.`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Fâsit metin: "${t.prefix}" ile başlamalı.`:t.format===`ends_with`?`Fâsit metin: "${t.suffix}" ile bitmeli.`:t.format===`includes`?`Fâsit metin: "${t.includes}" ihtivâ etmeli.`:t.format===`regex`?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case`not_multiple_of`:return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case`unrecognized_keys`:return`Tanınmayan anahtar ${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} için tanınmayan anahtar var.`;case`invalid_union`:return`Giren tanınamadı.`;case`invalid_element`:return`${e.origin} için tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}}}));function are(){return{localeError:ore()}}var ore,sre=c((()=>{nt(),ore=()=>{let e={string:{unit:`توکي`,verb:`ولري`},file:{unit:`بایټس`,verb:`ولري`},array:{unit:`توکي`,verb:`ولري`},set:{unit:`توکي`,verb:`ولري`}};function t(t){return e[t]??null}let n={regex:`ورودي`,email:`بریښنالیک`,url:`یو آر ال`,emoji:`ایموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`نیټه او وخت`,date:`نېټه`,time:`وخت`,duration:`موده`,ipv4:`د IPv4 پته`,ipv6:`د IPv6 پته`,cidrv4:`د IPv4 ساحه`,cidrv6:`د IPv6 ساحه`,base64:`base64-encoded متن`,base64url:`base64url-encoded متن`,json_string:`JSON متن`,e164:`د E.164 شمېره`,jwt:`JWT`,template_literal:`ورودي`},r={nan:`NaN`,number:`عدد`,array:`ارې`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`}case`invalid_value`:return e.values.length===1?`ناسم ورودي: باید ${De(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${w(e.values,`|`)} څخه وای`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصرونه`} ولري`:`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} وي`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ناسم متن: باید د "${t.prefix}" سره پیل شي`:t.format===`ends_with`?`ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي`:t.format===`includes`?`ناسم متن: باید "${t.includes}" ولري`:t.format===`regex`?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case`not_multiple_of`:return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case`unrecognized_keys`:return`ناسم ${e.keys.length>1?`کلیډونه`:`کلیډ`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`ناسم کلیډ په ${e.origin} کې`;case`invalid_union`:return`ناسمه ورودي`;case`invalid_element`:return`ناسم عنصر په ${e.origin} کې`;default:return`ناسمه ورودي`}}}}));function cre(){return{localeError:lre()}}var lre,ure=c((()=>{nt(),lre=()=>{let e={string:{unit:`znaków`,verb:`mieć`},file:{unit:`bajtów`,verb:`mieć`},array:{unit:`elementów`,verb:`mieć`},set:{unit:`elementów`,verb:`mieć`}};function t(t){return e[t]??null}let n={regex:`wyrażenie`,email:`adres email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i godzina w formacie ISO`,date:`data w formacie ISO`,time:`godzina w formacie ISO`,duration:`czas trwania ISO`,ipv4:`adres IPv4`,ipv6:`adres IPv6`,cidrv4:`zakres IPv4`,cidrv6:`zakres IPv6`,base64:`ciąg znaków zakodowany w formacie base64`,base64url:`ciąg znaków zakodowany w formacie base64url`,json_string:`ciąg znaków w formacie JSON`,e164:`liczba E.164`,jwt:`JWT`,template_literal:`wejście`},r={nan:`NaN`,number:`liczba`,array:`tablica`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`}case`invalid_value`:return e.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${De(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.maximum.toString()} ${r.unit??`elementów`}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.minimum.toString()} ${r.unit??`elementów`}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"`:t.format===`ends_with`?`Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"`:t.format===`includes`?`Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"`:t.format===`regex`?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case`unrecognized_keys`:return`Nierozpoznane klucze${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Nieprawidłowy klucz w ${e.origin}`;case`invalid_union`:return`Nieprawidłowe dane wejściowe`;case`invalid_element`:return`Nieprawidłowa wartość w ${e.origin}`;default:return`Nieprawidłowe dane wejściowe`}}}}));function dre(){return{localeError:fre()}}var fre,pre=c((()=>{nt(),fre=()=>{let e={string:{unit:`caracteres`,verb:`ter`},file:{unit:`bytes`,verb:`ter`},array:{unit:`itens`,verb:`ter`},set:{unit:`itens`,verb:`ter`}};function t(t){return e[t]??null}let n={regex:`padrão`,email:`endereço de e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`duração ISO`,ipv4:`endereço IPv4`,ipv6:`endereço IPv6`,cidrv4:`faixa de IPv4`,cidrv6:`faixa de IPv6`,base64:`texto codificado em base64`,base64url:`URL codificada em base64`,json_string:`texto JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,number:`número`,null:`nulo`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${i}`:`Tipo inválido: esperado ${t}, recebido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: esperado ${De(e.values[0])}`:`Opção inválida: esperada uma das ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??`valor`} tivesse ${n}${e.maximum.toString()} ${r.unit??`elementos`}`:`Muito grande: esperado que ${e.origin??`valor`} fosse ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Texto inválido: deve começar com "${t.prefix}"`:t.format===`ends_with`?`Texto inválido: deve terminar com "${t.suffix}"`:t.format===`includes`?`Texto inválido: deve incluir "${t.includes}"`:t.format===`regex`?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case`not_multiple_of`:return`Número inválido: deve ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Chave${e.keys.length>1?`s`:``} desconhecida${e.keys.length>1?`s`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Chave inválida em ${e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido em ${e.origin}`;default:return`Campo inválido`}}}}));function mre(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function hre(){return{localeError:gre()}}var gre,_re=c((()=>{nt(),gre=()=>{let e={string:{unit:{one:`символ`,few:`символа`,many:`символов`},verb:`иметь`},file:{unit:{one:`байт`,few:`байта`,many:`байт`},verb:`иметь`},array:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`},set:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`}};function t(t){return e[t]??null}let n={regex:`ввод`,email:`email адрес`,url:`URL`,emoji:`эмодзи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата и время`,date:`ISO дата`,time:`ISO время`,duration:`ISO длительность`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`строка в формате base64`,base64url:`строка в формате base64url`,json_string:`JSON строка`,e164:`номер E.164`,jwt:`JWT`,template_literal:`ввод`},r={nan:`NaN`,number:`число`,array:`массив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`:`Неверный ввод: ожидалось ${t}, получено ${i}`}case`invalid_value`:return e.values.length===1?`Неверный ввод: ожидалось ${De(e.values[0])}`:`Неверный вариант: ожидалось одно из ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=mre(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=mre(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неверная строка: должна начинаться с "${t.prefix}"`:t.format===`ends_with`?`Неверная строка: должна заканчиваться на "${t.suffix}"`:t.format===`includes`?`Неверная строка: должна содержать "${t.includes}"`:t.format===`regex`?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неверное число: должно быть кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспознанн${e.keys.length>1?`ые`:`ый`} ключ${e.keys.length>1?`и`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Неверный ключ в ${e.origin}`;case`invalid_union`:return`Неверные входные данные`;case`invalid_element`:return`Неверное значение в ${e.origin}`;default:return`Неверные входные данные`}}}}));function vre(){return{localeError:yre()}}var yre,bre=c((()=>{nt(),yre=()=>{let e={string:{unit:`znakov`,verb:`imeti`},file:{unit:`bajtov`,verb:`imeti`},array:{unit:`elementov`,verb:`imeti`},set:{unit:`elementov`,verb:`imeti`}};function t(t){return e[t]??null}let n={regex:`vnos`,email:`e-poštni naslov`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum in čas`,date:`ISO datum`,time:`ISO čas`,duration:`ISO trajanje`,ipv4:`IPv4 naslov`,ipv6:`IPv6 naslov`,cidrv4:`obseg IPv4`,cidrv6:`obseg IPv6`,base64:`base64 kodiran niz`,base64url:`base64url kodiran niz`,json_string:`JSON niz`,e164:`E.164 številka`,jwt:`JWT`,template_literal:`vnos`},r={nan:`NaN`,number:`število`,array:`tabela`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${i}`}case`invalid_value`:return e.values.length===1?`Neveljaven vnos: pričakovano ${De(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} imelo ${n}${e.maximum.toString()} ${r.unit??`elementov`}`:`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neveljaven niz: mora se začeti z "${t.prefix}"`:t.format===`ends_with`?`Neveljaven niz: mora se končati z "${t.suffix}"`:t.format===`includes`?`Neveljaven niz: mora vsebovati "${t.includes}"`:t.format===`regex`?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznan${e.keys.length>1?`i ključi`:` ključ`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Neveljaven ključ v ${e.origin}`;case`invalid_union`:return`Neveljaven vnos`;case`invalid_element`:return`Neveljavna vrednost v ${e.origin}`;default:return`Neveljaven vnos`}}}}));function xre(){return{localeError:Sre()}}var Sre,Cre=c((()=>{nt(),Sre=()=>{let e={string:{unit:`tecken`,verb:`att ha`},file:{unit:`bytes`,verb:`att ha`},array:{unit:`objekt`,verb:`att innehålla`},set:{unit:`objekt`,verb:`att innehålla`}};function t(t){return e[t]??null}let n={regex:`reguljärt uttryck`,email:`e-postadress`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datum och tid`,date:`ISO-datum`,time:`ISO-tid`,duration:`ISO-varaktighet`,ipv4:`IPv4-intervall`,ipv6:`IPv6-intervall`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodad sträng`,base64url:`base64url-kodad sträng`,json_string:`JSON-sträng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`mall-literal`},r={nan:`NaN`,number:`antal`,array:`lista`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`:`Ogiltig inmatning: förväntat ${t}, fick ${i}`}case`invalid_value`:return e.values.length===1?`Ogiltig inmatning: förväntat ${De(e.values[0])}`:`Ogiltigt val: förväntade en av ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()} ${r.unit??`element`}`:`För stor(t): förväntat ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ogiltig sträng: måste börja med "${t.prefix}"`:t.format===`ends_with`?`Ogiltig sträng: måste sluta med "${t.suffix}"`:t.format===`includes`?`Ogiltig sträng: måste innehålla "${t.includes}"`:t.format===`regex`?`Ogiltig sträng: måste matcha mönstret "${t.pattern}"`:`Ogiltig(t) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Okända nycklar`:`Okänd nyckel`}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Ogiltig nyckel i ${e.origin??`värdet`}`;case`invalid_union`:return`Ogiltig input`;case`invalid_element`:return`Ogiltigt värde i ${e.origin??`värdet`}`;default:return`Ogiltig input`}}}}));function wre(){return{localeError:Tre()}}var Tre,Ere=c((()=>{nt(),Tre=()=>{let e={string:{unit:`எழுத்துக்கள்`,verb:`கொண்டிருக்க வேண்டும்`},file:{unit:`பைட்டுகள்`,verb:`கொண்டிருக்க வேண்டும்`},array:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`},set:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`}};function t(t){return e[t]??null}let n={regex:`உள்ளீடு`,email:`மின்னஞ்சல் முகவரி`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO தேதி நேரம்`,date:`ISO தேதி`,time:`ISO நேரம்`,duration:`ISO கால அளவு`,ipv4:`IPv4 முகவரி`,ipv6:`IPv6 முகவரி`,cidrv4:`IPv4 வரம்பு`,cidrv6:`IPv6 வரம்பு`,base64:`base64-encoded சரம்`,base64url:`base64url-encoded சரம்`,json_string:`JSON சரம்`,e164:`E.164 எண்`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`எண்`,array:`அணி`,null:`வெறுமை`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`}case`invalid_value`:return e.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${De(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${w(e.values,`|`)} இல் ஒன்று`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ${r.unit??`உறுப்புகள்`} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்`:t.format===`ends_with`?`தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்`:t.format===`includes`?`தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்`:t.format===`regex`?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case`not_multiple_of`:return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case`unrecognized_keys`:return`அடையாளம் தெரியாத விசை${e.keys.length>1?`கள்`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} இல் தவறான விசை`;case`invalid_union`:return`தவறான உள்ளீடு`;case`invalid_element`:return`${e.origin} இல் தவறான மதிப்பு`;default:return`தவறான உள்ளீடு`}}}}));function Dre(){return{localeError:Ore()}}var Ore,kre=c((()=>{nt(),Ore=()=>{let e={string:{unit:`ตัวอักษร`,verb:`ควรมี`},file:{unit:`ไบต์`,verb:`ควรมี`},array:{unit:`รายการ`,verb:`ควรมี`},set:{unit:`รายการ`,verb:`ควรมี`}};function t(t){return e[t]??null}let n={regex:`ข้อมูลที่ป้อน`,email:`ที่อยู่อีเมล`,url:`URL`,emoji:`อิโมจิ`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`วันที่เวลาแบบ ISO`,date:`วันที่แบบ ISO`,time:`เวลาแบบ ISO`,duration:`ช่วงเวลาแบบ ISO`,ipv4:`ที่อยู่ IPv4`,ipv6:`ที่อยู่ IPv6`,cidrv4:`ช่วง IP แบบ IPv4`,cidrv6:`ช่วง IP แบบ IPv6`,base64:`ข้อความแบบ Base64`,base64url:`ข้อความแบบ Base64 สำหรับ URL`,json_string:`ข้อความแบบ JSON`,e164:`เบอร์โทรศัพท์ระหว่างประเทศ (E.164)`,jwt:`โทเคน JWT`,template_literal:`ข้อมูลที่ป้อน`},r={nan:`NaN`,number:`ตัวเลข`,array:`อาร์เรย์ (Array)`,null:`ไม่มีค่า (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`}case`invalid_value`:return e.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${De(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`ไม่เกิน`:`น้อยกว่า`,r=t(e.origin);return r?`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()} ${r.unit??`รายการ`}`:`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`อย่างน้อย`:`มากกว่า`,r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"`:t.format===`ends_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"`:t.format===`includes`?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ`:t.format===`regex`?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case`not_multiple_of`:return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case`unrecognized_keys`:return`พบคีย์ที่ไม่รู้จัก: ${w(e.keys,`, `)}`;case`invalid_key`:return`คีย์ไม่ถูกต้องใน ${e.origin}`;case`invalid_union`:return`ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้`;case`invalid_element`:return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return`ข้อมูลไม่ถูกต้อง`}}}}));function Are(){return{localeError:jre()}}var jre,Mre=c((()=>{nt(),jre=()=>{let e={string:{unit:`karakter`,verb:`olmalı`},file:{unit:`bayt`,verb:`olmalı`},array:{unit:`öğe`,verb:`olmalı`},set:{unit:`öğe`,verb:`olmalı`}};function t(t){return e[t]??null}let n={regex:`girdi`,email:`e-posta adresi`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO tarih ve saat`,date:`ISO tarih`,time:`ISO saat`,duration:`ISO süre`,ipv4:`IPv4 adresi`,ipv6:`IPv6 adresi`,cidrv4:`IPv4 aralığı`,cidrv6:`IPv6 aralığı`,base64:`base64 ile şifrelenmiş metin`,base64url:`base64url ile şifrelenmiş metin`,json_string:`JSON dizesi`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`Şablon dizesi`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`:`Geçersiz değer: beklenen ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Geçersiz değer: beklenen ${De(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()} ${r.unit??`öğe`}`:`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Geçersiz metin: "${t.prefix}" ile başlamalı`:t.format===`ends_with`?`Geçersiz metin: "${t.suffix}" ile bitmeli`:t.format===`includes`?`Geçersiz metin: "${t.includes}" içermeli`:t.format===`regex`?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case`not_multiple_of`:return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case`unrecognized_keys`:return`Tanınmayan anahtar${e.keys.length>1?`lar`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} içinde geçersiz anahtar`;case`invalid_union`:return`Geçersiz değer`;case`invalid_element`:return`${e.origin} içinde geçersiz değer`;default:return`Geçersiz değer`}}}}));function Nre(){return{localeError:Pre()}}var Pre,Fre=c((()=>{nt(),Pre=()=>{let e={string:{unit:`символів`,verb:`матиме`},file:{unit:`байтів`,verb:`матиме`},array:{unit:`елементів`,verb:`матиме`},set:{unit:`елементів`,verb:`матиме`}};function t(t){return e[t]??null}let n={regex:`вхідні дані`,email:`адреса електронної пошти`,url:`URL`,emoji:`емодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`дата та час ISO`,date:`дата ISO`,time:`час ISO`,duration:`тривалість ISO`,ipv4:`адреса IPv4`,ipv6:`адреса IPv6`,cidrv4:`діапазон IPv4`,cidrv6:`діапазон IPv6`,base64:`рядок у кодуванні base64`,base64url:`рядок у кодуванні base64url`,json_string:`рядок JSON`,e164:`номер E.164`,jwt:`JWT`,template_literal:`вхідні дані`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`:`Неправильні вхідні дані: очікується ${t}, отримано ${i}`}case`invalid_value`:return e.values.length===1?`Неправильні вхідні дані: очікується ${De(e.values[0])}`:`Неправильна опція: очікується одне з ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??`значення`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`елементів`}`:`Занадто велике: очікується, що ${e.origin??`значення`} буде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неправильний рядок: повинен починатися з "${t.prefix}"`:t.format===`ends_with`?`Неправильний рядок: повинен закінчуватися на "${t.suffix}"`:t.format===`includes`?`Неправильний рядок: повинен містити "${t.includes}"`:t.format===`regex`?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неправильне число: повинно бути кратним ${e.divisor}`;case`unrecognized_keys`:return`Нерозпізнаний ключ${e.keys.length>1?`і`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`Неправильний ключ у ${e.origin}`;case`invalid_union`:return`Неправильні вхідні дані`;case`invalid_element`:return`Неправильне значення у ${e.origin}`;default:return`Неправильні вхідні дані`}}}}));function Ire(){return Nre()}var Lre=c((()=>{Fre()}));function Rre(){return{localeError:zre()}}var zre,Bre=c((()=>{nt(),zre=()=>{let e={string:{unit:`حروف`,verb:`ہونا`},file:{unit:`بائٹس`,verb:`ہونا`},array:{unit:`آئٹمز`,verb:`ہونا`},set:{unit:`آئٹمز`,verb:`ہونا`}};function t(t){return e[t]??null}let n={regex:`ان پٹ`,email:`ای میل ایڈریس`,url:`یو آر ایل`,emoji:`ایموجی`,uuid:`یو یو آئی ڈی`,uuidv4:`یو یو آئی ڈی وی 4`,uuidv6:`یو یو آئی ڈی وی 6`,nanoid:`نینو آئی ڈی`,guid:`جی یو آئی ڈی`,cuid:`سی یو آئی ڈی`,cuid2:`سی یو آئی ڈی 2`,ulid:`یو ایل آئی ڈی`,xid:`ایکس آئی ڈی`,ksuid:`کے ایس یو آئی ڈی`,datetime:`آئی ایس او ڈیٹ ٹائم`,date:`آئی ایس او تاریخ`,time:`آئی ایس او وقت`,duration:`آئی ایس او مدت`,ipv4:`آئی پی وی 4 ایڈریس`,ipv6:`آئی پی وی 6 ایڈریس`,cidrv4:`آئی پی وی 4 رینج`,cidrv6:`آئی پی وی 6 رینج`,base64:`بیس 64 ان کوڈڈ سٹرنگ`,base64url:`بیس 64 یو آر ایل ان کوڈڈ سٹرنگ`,json_string:`جے ایس او این سٹرنگ`,e164:`ای 164 نمبر`,jwt:`جے ڈبلیو ٹی`,template_literal:`ان پٹ`},r={nan:`NaN`,number:`نمبر`,array:`آرے`,null:`نل`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`}case`invalid_value`:return e.values.length===1?`غلط ان پٹ: ${De(e.values[0])} متوقع تھا`:`غلط آپشن: ${w(e.values,`|`)} میں سے ایک متوقع تھا`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`بہت بڑا: ${e.origin??`ویلیو`} کے ${n}${e.maximum.toString()} ${r.unit??`عناصر`} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??`ویلیو`} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے`:t.format===`ends_with`?`غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے`:t.format===`includes`?`غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے`:t.format===`regex`?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case`not_multiple_of`:return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case`unrecognized_keys`:return`غیر تسلیم شدہ کی${e.keys.length>1?`ز`:``}: ${w(e.keys,`، `)}`;case`invalid_key`:return`${e.origin} میں غلط کی`;case`invalid_union`:return`غلط ان پٹ`;case`invalid_element`:return`${e.origin} میں غلط ویلیو`;default:return`غلط ان پٹ`}}}}));function Vre(){return{localeError:Hre()}}var Hre,Ure=c((()=>{nt(),Hre=()=>{let e={string:{unit:`belgi`,verb:`bo‘lishi kerak`},file:{unit:`bayt`,verb:`bo‘lishi kerak`},array:{unit:`element`,verb:`bo‘lishi kerak`},set:{unit:`element`,verb:`bo‘lishi kerak`}};function t(t){return e[t]??null}let n={regex:`kirish`,email:`elektron pochta manzili`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO sana va vaqti`,date:`ISO sana`,time:`ISO vaqt`,duration:`ISO davomiylik`,ipv4:`IPv4 manzil`,ipv6:`IPv6 manzil`,mac:`MAC manzil`,cidrv4:`IPv4 diapazon`,cidrv6:`IPv6 diapazon`,base64:`base64 kodlangan satr`,base64url:`base64url kodlangan satr`,json_string:`JSON satr`,e164:`E.164 raqam`,jwt:`JWT`,template_literal:`kirish`},r={nan:`NaN`,number:`raqam`,array:`massiv`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`}case`invalid_value`:return e.values.length===1?`Noto‘g‘ri kirish: kutilgan ${De(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}`:`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Noto‘g‘ri satr: "${t.prefix}" bilan boshlanishi kerak`:t.format===`ends_with`?`Noto‘g‘ri satr: "${t.suffix}" bilan tugashi kerak`:t.format===`includes`?`Noto‘g‘ri satr: "${t.includes}" ni o‘z ichiga olishi kerak`:t.format===`regex`?`Noto‘g‘ri satr: ${t.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${n[t.format]??e.format}`}case`not_multiple_of`:return`Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;case`unrecognized_keys`:return`Noma’lum kalit${e.keys.length>1?`lar`:``}: ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} dagi kalit noto‘g‘ri`;case`invalid_union`:return`Noto‘g‘ri kirish`;case`invalid_element`:return`${e.origin} da noto‘g‘ri qiymat`;default:return`Noto‘g‘ri kirish`}}}}));function Wre(){return{localeError:Gre()}}var Gre,Kre=c((()=>{nt(),Gre=()=>{let e={string:{unit:`ký tự`,verb:`có`},file:{unit:`byte`,verb:`có`},array:{unit:`phần tử`,verb:`có`},set:{unit:`phần tử`,verb:`có`}};function t(t){return e[t]??null}let n={regex:`đầu vào`,email:`địa chỉ email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ngày giờ ISO`,date:`ngày ISO`,time:`giờ ISO`,duration:`khoảng thời gian ISO`,ipv4:`địa chỉ IPv4`,ipv6:`địa chỉ IPv6`,cidrv4:`dải IPv4`,cidrv6:`dải IPv6`,base64:`chuỗi mã hóa base64`,base64url:`chuỗi mã hóa base64url`,json_string:`chuỗi JSON`,e164:`số E.164`,jwt:`JWT`,template_literal:`đầu vào`},r={nan:`NaN`,number:`số`,array:`mảng`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`}case`invalid_value`:return e.values.length===1?`Đầu vào không hợp lệ: mong đợi ${De(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??`giá trị`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`phần tử`}`:`Quá lớn: mong đợi ${e.origin??`giá trị`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"`:t.format===`ends_with`?`Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"`:t.format===`includes`?`Chuỗi không hợp lệ: phải bao gồm "${t.includes}"`:t.format===`regex`?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case`not_multiple_of`:return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case`unrecognized_keys`:return`Khóa không được nhận dạng: ${w(e.keys,`, `)}`;case`invalid_key`:return`Khóa không hợp lệ trong ${e.origin}`;case`invalid_union`:return`Đầu vào không hợp lệ`;case`invalid_element`:return`Giá trị không hợp lệ trong ${e.origin}`;default:return`Đầu vào không hợp lệ`}}}}));function qre(){return{localeError:Jre()}}var Jre,Yre=c((()=>{nt(),Jre=()=>{let e={string:{unit:`字符`,verb:`包含`},file:{unit:`字节`,verb:`包含`},array:{unit:`项`,verb:`包含`},set:{unit:`项`,verb:`包含`}};function t(t){return e[t]??null}let n={regex:`输入`,email:`电子邮件`,url:`URL`,emoji:`表情符号`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日期时间`,date:`ISO日期`,time:`ISO时间`,duration:`ISO时长`,ipv4:`IPv4地址`,ipv6:`IPv6地址`,cidrv4:`IPv4网段`,cidrv6:`IPv6网段`,base64:`base64编码字符串`,base64url:`base64url编码字符串`,json_string:`JSON字符串`,e164:`E.164号码`,jwt:`JWT`,template_literal:`输入`},r={nan:`NaN`,number:`数字`,array:`数组`,null:`空值(null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`无效输入:期望 instanceof ${e.expected},实际接收 ${i}`:`无效输入:期望 ${t},实际接收 ${i}`}case`invalid_value`:return e.values.length===1?`无效输入:期望 ${De(e.values[0])}`:`无效选项:期望以下之一 ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()} ${r.unit??`个元素`}`:`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`无效字符串:必须以 "${t.prefix}" 开头`:t.format===`ends_with`?`无效字符串:必须以 "${t.suffix}" 结尾`:t.format===`includes`?`无效字符串:必须包含 "${t.includes}"`:t.format===`regex`?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case`not_multiple_of`:return`无效数字:必须是 ${e.divisor} 的倍数`;case`unrecognized_keys`:return`出现未知的键(key): ${w(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} 中的键(key)无效`;case`invalid_union`:return`无效输入`;case`invalid_element`:return`${e.origin} 中包含无效值(value)`;default:return`无效输入`}}}}));function Xre(){return{localeError:Zre()}}var Zre,Qre=c((()=>{nt(),Zre=()=>{let e={string:{unit:`字元`,verb:`擁有`},file:{unit:`位元組`,verb:`擁有`},array:{unit:`項目`,verb:`擁有`},set:{unit:`項目`,verb:`擁有`}};function t(t){return e[t]??null}let n={regex:`輸入`,email:`郵件地址`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 日期時間`,date:`ISO 日期`,time:`ISO 時間`,duration:`ISO 期間`,ipv4:`IPv4 位址`,ipv6:`IPv6 位址`,cidrv4:`IPv4 範圍`,cidrv6:`IPv6 範圍`,base64:`base64 編碼字串`,base64url:`base64url 編碼字串`,json_string:`JSON 字串`,e164:`E.164 數值`,jwt:`JWT`,template_literal:`輸入`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無效的輸入值:預期為 instanceof ${e.expected},但收到 ${i}`:`無效的輸入值:預期為 ${t},但收到 ${i}`}case`invalid_value`:return e.values.length===1?`無效的輸入值:預期為 ${De(e.values[0])}`:`無效的選項:預期為以下其中之一 ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()} ${r.unit??`個元素`}`:`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無效的字串:必須以 "${t.prefix}" 開頭`:t.format===`ends_with`?`無效的字串:必須以 "${t.suffix}" 結尾`:t.format===`includes`?`無效的字串:必須包含 "${t.includes}"`:t.format===`regex`?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case`not_multiple_of`:return`無效的數字:必須為 ${e.divisor} 的倍數`;case`unrecognized_keys`:return`無法識別的鍵值${e.keys.length>1?`們`:``}:${w(e.keys,`、`)}`;case`invalid_key`:return`${e.origin} 中有無效的鍵值`;case`invalid_union`:return`無效的輸入值`;case`invalid_element`:return`${e.origin} 中有無效的值`;default:return`無效的輸入值`}}}}));function $re(){return{localeError:eie()}}var eie,tie=c((()=>{nt(),eie=()=>{let e={string:{unit:`àmi`,verb:`ní`},file:{unit:`bytes`,verb:`ní`},array:{unit:`nkan`,verb:`ní`},set:{unit:`nkan`,verb:`ní`}};function t(t){return e[t]??null}let n={regex:`ẹ̀rọ ìbáwọlé`,email:`àdírẹ́sì ìmẹ́lì`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`àkókò ISO`,date:`ọjọ́ ISO`,time:`àkókò ISO`,duration:`àkókò tó pé ISO`,ipv4:`àdírẹ́sì IPv4`,ipv6:`àdírẹ́sì IPv6`,cidrv4:`àgbègbè IPv4`,cidrv6:`àgbègbè IPv6`,base64:`ọ̀rọ̀ tí a kọ́ ní base64`,base64url:`ọ̀rọ̀ base64url`,json_string:`ọ̀rọ̀ JSON`,e164:`nọ́mbà E.164`,jwt:`JWT`,template_literal:`ẹ̀rọ ìbáwọlé`},r={nan:`NaN`,number:`nọ́mbà`,array:`akopọ`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=He(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`}case`invalid_value`:return e.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${De(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${w(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??`iye`} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${t.prefix}"`:t.format===`ends_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${t.suffix}"`:t.format===`includes`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${t.includes}"`:t.format===`regex`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case`unrecognized_keys`:return`Bọtìnì àìmọ̀: ${w(e.keys,`, `)}`;case`invalid_key`:return`Bọtìnì aṣìṣe nínú ${e.origin}`;case`invalid_union`:return`Ìbáwọlé aṣìṣe`;case`invalid_element`:return`Iye aṣìṣe nínú ${e.origin}`;default:return`Ìbáwọlé aṣìṣe`}}}})),nie=u({ar:()=>hte,az:()=>vte,be:()=>Ste,bg:()=>Tte,ca:()=>Ote,cs:()=>jte,da:()=>Pte,de:()=>Lte,en:()=>Bte,eo:()=>Ute,es:()=>Kte,fa:()=>Yte,fi:()=>Qte,fr:()=>tne,frCA:()=>ine,he:()=>sne,hu:()=>une,hy:()=>mne,id:()=>_ne,is:()=>bne,it:()=>Cne,ja:()=>Ene,ka:()=>kne,kh:()=>Fne,km:()=>Mne,ko:()=>Lne,lt:()=>Vne,mk:()=>Wne,ms:()=>qne,nl:()=>Xne,no:()=>$ne,ota:()=>nre,pl:()=>cre,ps:()=>are,pt:()=>dre,ru:()=>hre,sl:()=>vre,sv:()=>xre,ta:()=>wre,th:()=>Dre,tr:()=>Are,ua:()=>Ire,uk:()=>Nre,ur:()=>Rre,uz:()=>Vre,vi:()=>Wre,yo:()=>$re,zhCN:()=>qre,zhTW:()=>Xre}),rie=c((()=>{_te(),bte(),wte(),Dte(),Ate(),Nte(),Ite(),zte(),Hte(),Gte(),Jte(),Zte(),ene(),rne(),one(),lne(),fne(),gne(),yne(),Sne(),Tne(),One(),jne(),Ine(),Pne(),zne(),Une(),Kne(),Yne(),Qne(),tre(),ire(),sre(),ure(),pre(),_re(),bre(),Cre(),Ere(),kre(),Mre(),Lre(),Fre(),Bre(),Ure(),Kre(),Yre(),Qre(),tie()}));function ri(){return new oi}var iie,ii,ai,oi,si,ci=c((()=>{ii=Symbol(`ZodOutput`),ai=Symbol(`ZodInput`),oi=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(iie=globalThis).__zod_globalRegistry??(iie.__zod_globalRegistry=ri()),si=globalThis.__zod_globalRegistry}));function li(e,t){return new e({type:`string`,...Te(t)})}function aie(e,t){return new e({type:`string`,coerce:!0,...Te(t)})}function ui(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...Te(t)})}function di(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...Te(t)})}function fi(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...Te(t)})}function pi(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...Te(t)})}function mi(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...Te(t)})}function hi(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...Te(t)})}function gi(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...Te(t)})}function _i(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...Te(t)})}function vi(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...Te(t)})}function yi(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...Te(t)})}function bi(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...Te(t)})}function xi(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...Te(t)})}function Si(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...Te(t)})}function Ci(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...Te(t)})}function wi(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...Te(t)})}function Ti(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...Te(t)})}function oie(e,t){return new e({type:`string`,format:`mac`,check:`string_format`,abort:!1,...Te(t)})}function Ei(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...Te(t)})}function Di(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...Te(t)})}function Oi(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...Te(t)})}function ki(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...Te(t)})}function Ai(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...Te(t)})}function ji(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...Te(t)})}function sie(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...Te(t)})}function cie(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...Te(t)})}function lie(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...Te(t)})}function uie(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...Te(t)})}function Mi(e,t){return new e({type:`number`,checks:[],...Te(t)})}function die(e,t){return new e({type:`number`,coerce:!0,checks:[],...Te(t)})}function fie(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...Te(t)})}function pie(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float32`,...Te(t)})}function mie(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float64`,...Te(t)})}function hie(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`int32`,...Te(t)})}function gie(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`uint32`,...Te(t)})}function _ie(e,t){return new e({type:`boolean`,...Te(t)})}function vie(e,t){return new e({type:`boolean`,coerce:!0,...Te(t)})}function yie(e,t){return new e({type:`bigint`,...Te(t)})}function bie(e,t){return new e({type:`bigint`,coerce:!0,...Te(t)})}function xie(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`int64`,...Te(t)})}function Sie(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`uint64`,...Te(t)})}function Cie(e,t){return new e({type:`symbol`,...Te(t)})}function wie(e,t){return new e({type:`undefined`,...Te(t)})}function Tie(e,t){return new e({type:`null`,...Te(t)})}function Eie(e){return new e({type:`any`})}function Die(e){return new e({type:`unknown`})}function Oie(e,t){return new e({type:`never`,...Te(t)})}function kie(e,t){return new e({type:`void`,...Te(t)})}function Aie(e,t){return new e({type:`date`,...Te(t)})}function jie(e,t){return new e({type:`date`,coerce:!0,...Te(t)})}function Mie(e,t){return new e({type:`nan`,...Te(t)})}function Ni(e,t){return new un({check:`less_than`,...Te(t),value:e,inclusive:!1})}function Pi(e,t){return new un({check:`less_than`,...Te(t),value:e,inclusive:!0})}function Fi(e,t){return new dn({check:`greater_than`,...Te(t),value:e,inclusive:!1})}function Ii(e,t){return new dn({check:`greater_than`,...Te(t),value:e,inclusive:!0})}function Li(e){return Fi(0,e)}function Ri(e){return Ni(0,e)}function zi(e){return Pi(0,e)}function Bi(e){return Ii(0,e)}function Vi(e,t){return new Kee({check:`multiple_of`,...Te(t),value:e})}function Hi(e,t){return new Yee({check:`max_size`,...Te(t),maximum:e})}function Ui(e,t){return new Xee({check:`min_size`,...Te(t),minimum:e})}function Wi(e,t){return new fn({check:`size_equals`,...Te(t),size:e})}function Gi(e,t){return new pn({check:`max_length`,...Te(t),maximum:e})}function Ki(e,t){return new mn({check:`min_length`,...Te(t),minimum:e})}function qi(e,t){return new hn({check:`length_equals`,...Te(t),length:e})}function Ji(e,t){return new _n({check:`string_format`,format:`regex`,...Te(t),pattern:e})}function Yi(e){return new vn({check:`string_format`,format:`lowercase`,...Te(e)})}function Xi(e){return new yn({check:`string_format`,format:`uppercase`,...Te(e)})}function Zi(e,t){return new bn({check:`string_format`,format:`includes`,...Te(t),includes:e})}function Qi(e,t){return new xn({check:`string_format`,format:`starts_with`,...Te(t),prefix:e})}function $i(e,t){return new Sn({check:`string_format`,format:`ends_with`,...Te(t),suffix:e})}function ea(e,t,n){return new Cn({check:`property`,property:e,schema:t,...Te(n)})}function ta(e,t){return new wn({check:`mime_type`,mime:e,...Te(t)})}function na(e){return new Tn({check:`overwrite`,tx:e})}function ra(e){return na(t=>t.normalize(e))}function ia(){return na(e=>e.trim())}function aa(){return na(e=>e.toLowerCase())}function oa(){return na(e=>e.toUpperCase())}function sa(){return na(e=>ve(e))}function Nie(e,t,n){return new e({type:`array`,element:t,...Te(n)})}function Pie(e,t,n){return new e({type:`union`,options:t,...Te(n)})}function Fie(e,t,n){return new e({type:`union`,options:t,inclusive:!1,...Te(n)})}function Iie(e,t,n,r){return new e({type:`union`,options:n,discriminator:t,...Te(r)})}function Lie(e,t,n){return new e({type:`intersection`,left:t,right:n})}function Rie(e,t,n,r){let i=n instanceof In;return new e({type:`tuple`,items:t,rest:i?n:null,...Te(i?r:n)})}function zie(e,t,n,r){return new e({type:`record`,keyType:t,valueType:n,...Te(r)})}function Bie(e,t,n,r){return new e({type:`map`,keyType:t,valueType:n,...Te(r)})}function Vie(e,t,n){return new e({type:`set`,valueType:t,...Te(n)})}function Hie(e,t,n){return new e({type:`enum`,entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...Te(n)})}function Uie(e,t,n){return new e({type:`enum`,entries:t,...Te(n)})}function Wie(e,t,n){return new e({type:`literal`,values:Array.isArray(t)?t:[t],...Te(n)})}function Gie(e,t){return new e({type:`file`,...Te(t)})}function Kie(e,t){return new e({type:`transform`,transform:t})}function qie(e,t){return new e({type:`optional`,innerType:t})}function Jie(e,t){return new e({type:`nullable`,innerType:t})}function Yie(e,t,n){return new e({type:`default`,innerType:t,get defaultValue(){return typeof n==`function`?n():xe(n)}})}function Xie(e,t,n){return new e({type:`nonoptional`,innerType:t,...Te(n)})}function Zie(e,t){return new e({type:`success`,innerType:t})}function Qie(e,t,n){return new e({type:`catch`,innerType:t,catchValue:typeof n==`function`?n:()=>n})}function $ie(e,t,n){return new e({type:`pipe`,in:t,out:n})}function eae(e,t){return new e({type:`readonly`,innerType:t})}function tae(e,t,n){return new e({type:`template_literal`,parts:t,...Te(n)})}function nae(e,t){return new e({type:`lazy`,getter:t})}function rae(e,t){return new e({type:`promise`,innerType:t})}function iae(e,t,n){let r=Te(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function aae(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...Te(n)})}function oae(e){let t=sae(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(Ue(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(Ue(r))}},e(n.value,n)));return t}function sae(e,t){let n=new cn({check:`custom`,...Te(t)});return n._zod.check=e,n}function cae(e){let t=new cn({check:`describe`});return t._zod.onattach=[t=>{let n=si.get(t)??{};si.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function lae(e){let t=new cn({check:`meta`});return t._zod.onattach=[t=>{let n=si.get(t)??{};si.add(t,{...n,...e})}],t._zod.check=()=>{},t}function uae(e,t){let n=Te(t),r=n.truthy??[`true`,`1`,`yes`,`on`,`y`,`enabled`],i=n.falsy??[`false`,`0`,`no`,`off`,`n`,`disabled`];n.case!==`sensitive`&&(r=r.map(e=>typeof e==`string`?e.toLowerCase():e),i=i.map(e=>typeof e==`string`?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??Jr,c=e.Boolean??fr,l=new s({type:`pipe`,in:new(e.String??Ln)({type:`string`,error:n.error}),out:new c({type:`boolean`,error:n.error}),transform:((e,t)=>{let r=e;return n.case!==`sensitive`&&(r=r.toLowerCase()),a.has(r)?!0:o.has(r)?!1:(t.issues.push({code:`invalid_value`,expected:`stringbool`,values:[...a,...o],input:t.value,inst:l,continue:!1}),{})}),reverseTransform:((e,t)=>e===!0?r[0]||`true`:i[0]||`false`),error:n.error});return l}function ca(e,t,n,r={}){let i=Te(r),a={...Te(r),check:`string_format`,type:`string`,format:t,fn:typeof n==`function`?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}var la,dae=c((()=>{En(),ci(),mte(),nt(),la={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}}));function ua(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??si,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 da(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,da(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&ma(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function fa(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
||
|
||
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function pa(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:ga(t,`input`,e.processors),output:ga(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function ma(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return ma(r.element,n);if(r.type===`set`)return ma(r.valueType,n);if(r.type===`lazy`)return ma(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return ma(r.innerType,n);if(r.type===`intersection`)return ma(r.left,n)||ma(r.right,n);if(r.type===`record`||r.type===`map`)return ma(r.keyType,n)||ma(r.valueType,n);if(r.type===`pipe`)return ma(r.in,n)||ma(r.out,n);if(r.type===`object`){for(let e in r.shape)if(ma(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(ma(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(ma(e,n))return!0;return!!(r.rest&&ma(r.rest,n))}return!1}var ha,ga,_a=c((()=>{ci(),ha=(e,t={})=>n=>{let r=ua({...n,processors:t});return da(e,r),fa(r,e),pa(r,e)},ga=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=ua({...i??{},target:a,io:t,processors:n});return da(e,o),fa(o,e),pa(o,e)}}));function va(e,t){if(`_idmap`in e){let n=e,r=ua({...t,processors:io}),i={};for(let e of n._idmap.entries()){let[t,n]=e;da(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;fa(r,n),a[t]=pa(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=ua({...t,processors:io});return da(e,n),fa(n,e),pa(n,e)}var fae,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,$a,eo,to,no,ro,io,ao=c((()=>{_a(),nt(),fae={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},ya=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=fae[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},ba=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},xa=(e,t,n,r)=>{n.type=`boolean`},Sa=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},Ca=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},wa=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Ta=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},Ea=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},Da=(e,t,n,r)=>{n.not={}},Oa=(e,t,n,r)=>{},ka=(e,t,n,r)=>{},Aa=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},ja=(e,t,n,r)=>{let i=e._zod.def,a=re(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},Ma=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},Na=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},Pa=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},Fa=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},Ia=(e,t,n,r)=>{n.type=`boolean`},La=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},Ra=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},za=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Ba=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},Va=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},Ha=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=da(a.element,t,{...r,path:[...r.path,`items`]})},Ua=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=da(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=da(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Wa=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>da(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Ga=(e,t,n,r)=>{let i=e._zod.def,a=da(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=da(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Ka=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>da(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?da(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},qa=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=da(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=da(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=da(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Ja=(e,t,n,r)=>{let i=e._zod.def,a=da(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Ya=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Xa=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Za=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Qa=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},$a=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;da(a,t,r);let o=t.seen.get(e);o.ref=a},eo=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},to=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},no=(e,t,n,r)=>{let i=e._zod.def;da(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},ro=(e,t,n,r)=>{let i=e._zod.innerType;da(i,t,r);let a=t.seen.get(e);a.ref=i},io={string:ya,number:ba,boolean:xa,bigint:Sa,symbol:Ca,null:wa,undefined:Ta,void:Ea,never:Da,any:Oa,unknown:ka,date:Aa,enum:ja,literal:Ma,nan:Na,template_literal:Pa,file:Fa,success:Ia,custom:La,function:Ra,transform:za,map:Ba,set:Va,array:Ha,object:Ua,union:Wa,intersection:Ga,tuple:Ka,record:qa,nullable:Ja,nonoptional:Ya,default:Xa,prefault:Za,catch:Qa,pipe:$a,readonly:eo,promise:to,optional:no,lazy:ro}})),pae,mae=c((()=>{ao(),_a(),pae=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??`draft-2020-12`;t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),this.ctx=ua({processors:io,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return da(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),fa(this.ctx,e);let{"~standard":n,...r}=pa(this.ctx,e);return r}}})),hae=u({}),gae=c((()=>{})),_ae=u({$ZodAny:()=>vr,$ZodArray:()=>Cr,$ZodAsyncError:()=>_,$ZodBase64:()=>ar,$ZodBase64URL:()=>or,$ZodBigInt:()=>pr,$ZodBigIntFormat:()=>mr,$ZodBoolean:()=>fr,$ZodCIDRv4:()=>rr,$ZodCIDRv6:()=>ir,$ZodCUID:()=>Gn,$ZodCUID2:()=>Kn,$ZodCatch:()=>Gr,$ZodCheck:()=>cn,$ZodCheckBigIntFormat:()=>Jee,$ZodCheckEndsWith:()=>Sn,$ZodCheckGreaterThan:()=>dn,$ZodCheckIncludes:()=>bn,$ZodCheckLengthEquals:()=>hn,$ZodCheckLessThan:()=>un,$ZodCheckLowerCase:()=>vn,$ZodCheckMaxLength:()=>pn,$ZodCheckMaxSize:()=>Yee,$ZodCheckMimeType:()=>wn,$ZodCheckMinLength:()=>mn,$ZodCheckMinSize:()=>Xee,$ZodCheckMultipleOf:()=>Kee,$ZodCheckNumberFormat:()=>qee,$ZodCheckOverwrite:()=>Tn,$ZodCheckProperty:()=>Cn,$ZodCheckRegex:()=>_n,$ZodCheckSizeEquals:()=>fn,$ZodCheckStartsWith:()=>xn,$ZodCheckStringFormat:()=>gn,$ZodCheckUpperCase:()=>yn,$ZodCodec:()=>Jr,$ZodCustom:()=>ei,$ZodCustomStringFormat:()=>lr,$ZodDate:()=>Sr,$ZodDefault:()=>Vr,$ZodDiscriminatedUnion:()=>Or,$ZodE164:()=>sr,$ZodEmail:()=>Vn,$ZodEmoji:()=>Un,$ZodEncodeError:()=>v,$ZodEnum:()=>Pr,$ZodError:()=>ot,$ZodExactOptional:()=>zr,$ZodFile:()=>Ir,$ZodFunction:()=>Zr,$ZodGUID:()=>zn,$ZodIPv4:()=>er,$ZodIPv6:()=>tr,$ZodISODate:()=>Zn,$ZodISODateTime:()=>Xn,$ZodISODuration:()=>$n,$ZodISOTime:()=>Qn,$ZodIntersection:()=>kr,$ZodJWT:()=>cr,$ZodKSUID:()=>Yn,$ZodLazy:()=>$r,$ZodLiteral:()=>Fr,$ZodMAC:()=>nr,$ZodMap:()=>Mr,$ZodNaN:()=>Kr,$ZodNanoID:()=>Wn,$ZodNever:()=>br,$ZodNonOptional:()=>Ur,$ZodNull:()=>_r,$ZodNullable:()=>Br,$ZodNumber:()=>ur,$ZodNumberFormat:()=>dr,$ZodObject:()=>wr,$ZodObjectJIT:()=>Tr,$ZodOptional:()=>Rr,$ZodPipe:()=>qr,$ZodPrefault:()=>Hr,$ZodPromise:()=>Qr,$ZodReadonly:()=>Yr,$ZodRealError:()=>st,$ZodRecord:()=>jr,$ZodRegistry:()=>oi,$ZodSet:()=>Nr,$ZodString:()=>Ln,$ZodStringFormat:()=>Rn,$ZodSuccess:()=>Wr,$ZodSymbol:()=>hr,$ZodTemplateLiteral:()=>Xr,$ZodTransform:()=>Lr,$ZodTuple:()=>Ar,$ZodType:()=>In,$ZodULID:()=>qn,$ZodURL:()=>Hn,$ZodUUID:()=>Bn,$ZodUndefined:()=>gr,$ZodUnion:()=>Er,$ZodUnknown:()=>yr,$ZodVoid:()=>xr,$ZodXID:()=>Jn,$ZodXor:()=>Dr,$brand:()=>g,$constructor:()=>p,$input:()=>ai,$output:()=>ii,Doc:()=>Dn,JSONSchema:()=>hae,JSONSchemaGenerator:()=>pae,NEVER:()=>h,TimePrecision:()=>la,_any:()=>Eie,_array:()=>Nie,_base64:()=>Oi,_base64url:()=>ki,_bigint:()=>yie,_boolean:()=>_ie,_catch:()=>Qie,_check:()=>sae,_cidrv4:()=>Ei,_cidrv6:()=>Di,_coercedBigint:()=>bie,_coercedBoolean:()=>vie,_coercedDate:()=>jie,_coercedNumber:()=>die,_coercedString:()=>aie,_cuid:()=>yi,_cuid2:()=>bi,_custom:()=>iae,_date:()=>Aie,_decode:()=>_t,_decodeAsync:()=>yt,_default:()=>Yie,_discriminatedUnion:()=>Iie,_e164:()=>Ai,_email:()=>ui,_emoji:()=>_i,_encode:()=>gt,_encodeAsync:()=>vt,_endsWith:()=>$i,_enum:()=>Hie,_file:()=>Gie,_float32:()=>pie,_float64:()=>mie,_gt:()=>Fi,_gte:()=>Ii,_guid:()=>di,_includes:()=>Zi,_int:()=>fie,_int32:()=>hie,_int64:()=>xie,_intersection:()=>Lie,_ipv4:()=>wi,_ipv6:()=>Ti,_isoDate:()=>cie,_isoDateTime:()=>sie,_isoDuration:()=>uie,_isoTime:()=>lie,_jwt:()=>ji,_ksuid:()=>Ci,_lazy:()=>nae,_length:()=>qi,_literal:()=>Wie,_lowercase:()=>Yi,_lt:()=>Ni,_lte:()=>Pi,_mac:()=>oie,_map:()=>Bie,_max:()=>Pi,_maxLength:()=>Gi,_maxSize:()=>Hi,_mime:()=>ta,_min:()=>Ii,_minLength:()=>Ki,_minSize:()=>Ui,_multipleOf:()=>Vi,_nan:()=>Mie,_nanoid:()=>vi,_nativeEnum:()=>Uie,_negative:()=>Ri,_never:()=>Oie,_nonnegative:()=>Bi,_nonoptional:()=>Xie,_nonpositive:()=>zi,_normalize:()=>ra,_null:()=>Tie,_nullable:()=>Jie,_number:()=>Mi,_optional:()=>qie,_overwrite:()=>na,_parse:()=>ct,_parseAsync:()=>ut,_pipe:()=>$ie,_positive:()=>Li,_promise:()=>rae,_property:()=>ea,_readonly:()=>eae,_record:()=>zie,_refine:()=>aae,_regex:()=>Ji,_safeDecode:()=>xt,_safeDecodeAsync:()=>Ct,_safeEncode:()=>bt,_safeEncodeAsync:()=>St,_safeParse:()=>ft,_safeParseAsync:()=>mt,_set:()=>Vie,_size:()=>Wi,_slugify:()=>sa,_startsWith:()=>Qi,_string:()=>li,_stringFormat:()=>ca,_stringbool:()=>uae,_success:()=>Zie,_superRefine:()=>oae,_symbol:()=>Cie,_templateLiteral:()=>tae,_toLowerCase:()=>aa,_toUpperCase:()=>oa,_transform:()=>Kie,_trim:()=>ia,_tuple:()=>Rie,_uint32:()=>gie,_uint64:()=>Sie,_ulid:()=>xi,_undefined:()=>wie,_union:()=>Pie,_unknown:()=>Die,_uppercase:()=>Xi,_url:()=>gi,_uuid:()=>fi,_uuidv4:()=>pi,_uuidv6:()=>mi,_uuidv7:()=>hi,_void:()=>kie,_xid:()=>Si,_xor:()=>Fie,clone:()=>we,config:()=>m,createStandardJSONSchemaMethod:()=>ga,createToJSONSchemaMethod:()=>ha,decode:()=>lee,decodeAsync:()=>dee,describe:()=>cae,encode:()=>cee,encodeAsync:()=>uee,extractDefs:()=>fa,finalize:()=>pa,flattenError:()=>rt,formatError:()=>it,globalConfig:()=>y,globalRegistry:()=>si,initializeContext:()=>ua,isValidBase64:()=>kn,isValidBase64URL:()=>$ee,isValidJWT:()=>ete,locales:()=>nie,meta:()=>lae,parse:()=>lt,parseAsync:()=>dt,prettifyError:()=>oee,process:()=>da,regexes:()=>wt,registry:()=>ri,safeDecode:()=>pee,safeDecodeAsync:()=>hee,safeEncode:()=>fee,safeEncodeAsync:()=>mee,safeParse:()=>pt,safeParseAsync:()=>ht,toDotPath:()=>aee,toJSONSchema:()=>va,treeifyError:()=>iee,util:()=>x,version:()=>On}),oo=c((()=>{b(),gee(),see(),mte(),En(),Qee(),nt(),sn(),rie(),ci(),Zee(),dae(),_a(),ao(),mae(),gae()})),vae=u({endsWith:()=>$i,gt:()=>Fi,gte:()=>Ii,includes:()=>Zi,length:()=>qi,lowercase:()=>Yi,lt:()=>Ni,lte:()=>Pi,maxLength:()=>Gi,maxSize:()=>Hi,mime:()=>ta,minLength:()=>Ki,minSize:()=>Ui,multipleOf:()=>Vi,negative:()=>Ri,nonnegative:()=>Bi,nonpositive:()=>zi,normalize:()=>ra,overwrite:()=>na,positive:()=>Li,property:()=>ea,regex:()=>Ji,size:()=>Wi,slugify:()=>sa,startsWith:()=>Qi,toLowerCase:()=>aa,toUpperCase:()=>oa,trim:()=>ia,uppercase:()=>Xi}),so=c((()=>{oo()})),yae=u({ZodISODate:()=>lo,ZodISODateTime:()=>co,ZodISODuration:()=>fo,ZodISOTime:()=>uo,date:()=>xae,datetime:()=>bae,duration:()=>Cae,time:()=>Sae});function bae(e){return sie(co,e)}function xae(e){return cie(lo,e)}function Sae(e){return lie(uo,e)}function Cae(e){return uie(fo,e)}var co,lo,uo,fo,po=c((()=>{oo(),xc(),co=p(`ZodISODateTime`,(e,t)=>{Xn.init(e,t),os.init(e,t)}),lo=p(`ZodISODate`,(e,t)=>{Zn.init(e,t),os.init(e,t)}),uo=p(`ZodISOTime`,(e,t)=>{Qn.init(e,t),os.init(e,t)}),fo=p(`ZodISODuration`,(e,t)=>{$n.init(e,t),os.init(e,t)})})),mo,wae,ho,Tae=c((()=>{oo(),nt(),mo=(e,t)=>{ot.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>it(e,t)},flatten:{value:t=>rt(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ie,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ie,2)}},isEmpty:{get(){return e.issues.length===0}}})},wae=p(`ZodError`,mo),ho=p(`ZodError`,mo,{Parent:Error})})),go,_o,vo,yo,bo,xo,So,Co,wo,To,Eo,Do,Eae=c((()=>{oo(),Tae(),go=ct(ho),_o=ut(ho),vo=ft(ho),yo=mt(ho),bo=gt(ho),xo=_t(ho),So=vt(ho),Co=yt(ho),wo=bt(ho),To=xt(ho),Eo=St(ho),Do=Ct(ho)})),Dae=u({ZodAny:()=>Is,ZodArray:()=>Vs,ZodBase64:()=>Cs,ZodBase64URL:()=>ws,ZodBigInt:()=>js,ZodBigIntFormat:()=>Ms,ZodBoolean:()=>As,ZodCIDRv4:()=>xs,ZodCIDRv6:()=>Ss,ZodCUID:()=>ps,ZodCUID2:()=>ms,ZodCatch:()=>cc,ZodCodec:()=>dc,ZodCustom:()=>_c,ZodCustomStringFormat:()=>Ds,ZodDate:()=>Bs,ZodDefault:()=>ic,ZodDiscriminatedUnion:()=>Gs,ZodE164:()=>Ts,ZodEmail:()=>ss,ZodEmoji:()=>ds,ZodEnum:()=>Zs,ZodExactOptional:()=>nc,ZodFile:()=>$s,ZodFunction:()=>gc,ZodGUID:()=>cs,ZodIPv4:()=>vs,ZodIPv6:()=>bs,ZodIntersection:()=>Ks,ZodJWT:()=>Es,ZodKSUID:()=>_s,ZodLazy:()=>mc,ZodLiteral:()=>Qs,ZodMAC:()=>ys,ZodMap:()=>Ys,ZodNaN:()=>lc,ZodNanoID:()=>fs,ZodNever:()=>Rs,ZodNonOptional:()=>oc,ZodNull:()=>Fs,ZodNullable:()=>rc,ZodNumber:()=>Os,ZodNumberFormat:()=>ks,ZodObject:()=>Hs,ZodOptional:()=>tc,ZodPipe:()=>uc,ZodPrefault:()=>ac,ZodPromise:()=>hc,ZodReadonly:()=>fc,ZodRecord:()=>Js,ZodSet:()=>Xs,ZodString:()=>as,ZodStringFormat:()=>os,ZodSuccess:()=>sc,ZodSymbol:()=>Ns,ZodTemplateLiteral:()=>pc,ZodTransform:()=>ec,ZodTuple:()=>qs,ZodType:()=>rs,ZodULID:()=>hs,ZodURL:()=>us,ZodUUID:()=>ls,ZodUndefined:()=>Ps,ZodUnion:()=>Us,ZodUnknown:()=>Ls,ZodVoid:()=>zs,ZodXID:()=>gs,ZodXor:()=>Ws,_ZodString:()=>is,_default:()=>Soe,_function:()=>Qo,any:()=>Mo,array:()=>Io,base64:()=>Jae,base64url:()=>Yae,bigint:()=>ooe,boolean:()=>Ao,catch:()=>Eoe,check:()=>Moe,cidrv4:()=>Kae,cidrv6:()=>qae,codec:()=>Ooe,cuid:()=>Rae,cuid2:()=>zae,custom:()=>$o,date:()=>doe,describe:()=>vc,discriminatedUnion:()=>Bo,e164:()=>Xae,email:()=>Oae,emoji:()=>Iae,enum:()=>Go,exactOptional:()=>boe,file:()=>yoe,float32:()=>noe,float64:()=>roe,function:()=>Qo,guid:()=>kae,hash:()=>toe,hex:()=>eoe,hostname:()=>$ae,httpUrl:()=>Fae,instanceof:()=>ns,int:()=>ko,int32:()=>ioe,int64:()=>soe,intersection:()=>Vo,ipv4:()=>Uae,ipv6:()=>Gae,json:()=>Noe,jwt:()=>Zae,keyof:()=>foe,ksuid:()=>Hae,lazy:()=>Zo,literal:()=>Ko,looseObject:()=>poe,looseRecord:()=>hoe,mac:()=>Wae,map:()=>goe,meta:()=>yc,nan:()=>Doe,nanoid:()=>Lae,nativeEnum:()=>voe,never:()=>Po,nonoptional:()=>woe,null:()=>jo,nullable:()=>Yo,nullish:()=>xoe,number:()=>Oo,object:()=>Lo,optional:()=>Jo,partialRecord:()=>Wo,pipe:()=>Xo,prefault:()=>Coe,preprocess:()=>Poe,promise:()=>joe,readonly:()=>koe,record:()=>Uo,refine:()=>es,set:()=>_oe,strictObject:()=>Ro,string:()=>T,stringFormat:()=>Qae,stringbool:()=>bc,success:()=>Toe,superRefine:()=>ts,symbol:()=>loe,templateLiteral:()=>Aoe,transform:()=>qo,tuple:()=>Ho,uint32:()=>aoe,uint64:()=>coe,ulid:()=>Bae,undefined:()=>uoe,union:()=>zo,unknown:()=>No,url:()=>Pae,uuid:()=>Aae,uuidv4:()=>jae,uuidv6:()=>Mae,uuidv7:()=>Nae,void:()=>Fo,xid:()=>Vae,xor:()=>moe});function T(e){return li(as,e)}function Oae(e){return ui(ss,e)}function kae(e){return di(cs,e)}function Aae(e){return fi(ls,e)}function jae(e){return pi(ls,e)}function Mae(e){return mi(ls,e)}function Nae(e){return hi(ls,e)}function Pae(e){return gi(us,e)}function Fae(e){return gi(us,{protocol:/^https?$/,hostname:Kt,...Te(e)})}function Iae(e){return _i(ds,e)}function Lae(e){return vi(fs,e)}function Rae(e){return yi(ps,e)}function zae(e){return bi(ms,e)}function Bae(e){return xi(hs,e)}function Vae(e){return Si(gs,e)}function Hae(e){return Ci(_s,e)}function Uae(e){return wi(vs,e)}function Wae(e){return oie(ys,e)}function Gae(e){return Ti(bs,e)}function Kae(e){return Ei(xs,e)}function qae(e){return Di(Ss,e)}function Jae(e){return Oi(Cs,e)}function Yae(e){return ki(ws,e)}function Xae(e){return Ai(Ts,e)}function Zae(e){return ji(Es,e)}function Qae(e,t,n={}){return ca(Ds,e,t,n)}function $ae(e){return ca(Ds,`hostname`,Gt,e)}function eoe(e){return ca(Ds,`hex`,on,e)}function toe(e,t){let n=`${e}_${t?.enc??`hex`}`,r=wt[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return ca(Ds,n,r,t)}function Oo(e){return Mi(Os,e)}function ko(e){return fie(ks,e)}function noe(e){return pie(ks,e)}function roe(e){return mie(ks,e)}function ioe(e){return hie(ks,e)}function aoe(e){return gie(ks,e)}function Ao(e){return _ie(As,e)}function ooe(e){return yie(js,e)}function soe(e){return xie(Ms,e)}function coe(e){return Sie(Ms,e)}function loe(e){return Cie(Ns,e)}function uoe(e){return wie(Ps,e)}function jo(e){return Tie(Fs,e)}function Mo(){return Eie(Is)}function No(){return Die(Ls)}function Po(e){return Oie(Rs,e)}function Fo(e){return kie(zs,e)}function doe(e){return Aie(Bs,e)}function Io(e,t){return Nie(Vs,e,t)}function foe(e){let t=e._zod.def.shape;return Go(Object.keys(t))}function Lo(e,t){return new Hs({type:`object`,shape:e??{},...Te(t)})}function Ro(e,t){return new Hs({type:`object`,shape:e,catchall:Po(),...Te(t)})}function poe(e,t){return new Hs({type:`object`,shape:e,catchall:No(),...Te(t)})}function zo(e,t){return new Us({type:`union`,options:e,...Te(t)})}function moe(e,t){return new Ws({type:`union`,options:e,inclusive:!1,...Te(t)})}function Bo(e,t,n){return new Gs({type:`union`,options:t,discriminator:e,...Te(n)})}function Vo(e,t){return new Ks({type:`intersection`,left:e,right:t})}function Ho(e,t,n){let r=t instanceof In;return new qs({type:`tuple`,items:e,rest:r?t:null,...Te(r?n:t)})}function Uo(e,t,n){return new Js({type:`record`,keyType:e,valueType:t,...Te(n)})}function Wo(e,t,n){let r=we(e);return r._zod.values=void 0,new Js({type:`record`,keyType:r,valueType:t,...Te(n)})}function hoe(e,t,n){return new Js({type:`record`,keyType:e,valueType:t,mode:`loose`,...Te(n)})}function goe(e,t,n){return new Ys({type:`map`,keyType:e,valueType:t,...Te(n)})}function _oe(e,t){return new Xs({type:`set`,valueType:e,...Te(t)})}function Go(e,t){return new Zs({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Te(t)})}function voe(e,t){return new Zs({type:`enum`,entries:e,...Te(t)})}function Ko(e,t){return new Qs({type:`literal`,values:Array.isArray(e)?e:[e],...Te(t)})}function yoe(e){return Gie($s,e)}function qo(e){return new ec({type:`transform`,transform:e})}function Jo(e){return new tc({type:`optional`,innerType:e})}function boe(e){return new nc({type:`optional`,innerType:e})}function Yo(e){return new rc({type:`nullable`,innerType:e})}function xoe(e){return Jo(Yo(e))}function Soe(e,t){return new ic({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():xe(t)}})}function Coe(e,t){return new ac({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():xe(t)}})}function woe(e,t){return new oc({type:`nonoptional`,innerType:e,...Te(t)})}function Toe(e){return new sc({type:`success`,innerType:e})}function Eoe(e,t){return new cc({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}function Doe(e){return Mie(lc,e)}function Xo(e,t){return new uc({type:`pipe`,in:e,out:t})}function Ooe(e,t,n){return new dc({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function koe(e){return new fc({type:`readonly`,innerType:e})}function Aoe(e,t){return new pc({type:`template_literal`,parts:e,...Te(t)})}function Zo(e){return new mc({type:`lazy`,getter:e})}function joe(e){return new hc({type:`promise`,innerType:e})}function Qo(e){return new gc({type:`function`,input:Array.isArray(e?.input)?Ho(e?.input):e?.input??Io(No()),output:e?.output??No()})}function Moe(e){let t=new cn({check:`custom`});return t._zod.check=e,t}function $o(e,t){return iae(_c,e??(()=>!0),t)}function es(e,t={}){return aae(_c,e,t)}function ts(e){return oae(e)}function ns(e,t={}){let n=new _c({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...Te(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}function Noe(e){let t=Zo(()=>zo([T(e),Oo(),Ao(),jo(),Io(t),Uo(T(),t)]));return t}function Poe(e,t){return Xo(qo(e),t)}var rs,is,as,os,ss,cs,ls,us,ds,fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,Ss,Cs,ws,Ts,Es,Ds,Os,ks,As,js,Ms,Ns,Ps,Fs,Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc=c((()=>{oo(),ao(),_a(),so(),po(),Eae(),rs=p(`ZodType`,(e,t)=>(In.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:ga(e,`input`),output:ga(e,`output`)}}),e.toJSONSchema=ha(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(fe(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>we(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>go(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>vo(e,t,n),e.parseAsync=async(t,n)=>_o(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>yo(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>bo(e,t,n),e.decode=(t,n)=>xo(e,t,n),e.encodeAsync=async(t,n)=>So(e,t,n),e.decodeAsync=async(t,n)=>Co(e,t,n),e.safeEncode=(t,n)=>wo(e,t,n),e.safeDecode=(t,n)=>To(e,t,n),e.safeEncodeAsync=async(t,n)=>Eo(e,t,n),e.safeDecodeAsync=async(t,n)=>Do(e,t,n),e.refine=(t,n)=>e.check(es(t,n)),e.superRefine=t=>e.check(ts(t)),e.overwrite=t=>e.check(na(t)),e.optional=()=>Jo(e),e.exactOptional=()=>boe(e),e.nullable=()=>Yo(e),e.nullish=()=>Jo(Yo(e)),e.nonoptional=t=>woe(e,t),e.array=()=>Io(e),e.or=t=>zo([e,t]),e.and=t=>Vo(e,t),e.transform=t=>Xo(e,qo(t)),e.default=t=>Soe(e,t),e.prefault=t=>Coe(e,t),e.catch=t=>Eoe(e,t),e.pipe=t=>Xo(e,t),e.readonly=()=>koe(e),e.describe=t=>{let n=e.clone();return si.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return si.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return si.get(e);let n=e.clone();return si.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),is=p(`_ZodString`,(e,t)=>{Ln.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ya(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(Ji(...t)),e.includes=(...t)=>e.check(Zi(...t)),e.startsWith=(...t)=>e.check(Qi(...t)),e.endsWith=(...t)=>e.check($i(...t)),e.min=(...t)=>e.check(Ki(...t)),e.max=(...t)=>e.check(Gi(...t)),e.length=(...t)=>e.check(qi(...t)),e.nonempty=(...t)=>e.check(Ki(1,...t)),e.lowercase=t=>e.check(Yi(t)),e.uppercase=t=>e.check(Xi(t)),e.trim=()=>e.check(ia()),e.normalize=(...t)=>e.check(ra(...t)),e.toLowerCase=()=>e.check(aa()),e.toUpperCase=()=>e.check(oa()),e.slugify=()=>e.check(sa())}),as=p(`ZodString`,(e,t)=>{Ln.init(e,t),is.init(e,t),e.email=t=>e.check(ui(ss,t)),e.url=t=>e.check(gi(us,t)),e.jwt=t=>e.check(ji(Es,t)),e.emoji=t=>e.check(_i(ds,t)),e.guid=t=>e.check(di(cs,t)),e.uuid=t=>e.check(fi(ls,t)),e.uuidv4=t=>e.check(pi(ls,t)),e.uuidv6=t=>e.check(mi(ls,t)),e.uuidv7=t=>e.check(hi(ls,t)),e.nanoid=t=>e.check(vi(fs,t)),e.guid=t=>e.check(di(cs,t)),e.cuid=t=>e.check(yi(ps,t)),e.cuid2=t=>e.check(bi(ms,t)),e.ulid=t=>e.check(xi(hs,t)),e.base64=t=>e.check(Oi(Cs,t)),e.base64url=t=>e.check(ki(ws,t)),e.xid=t=>e.check(Si(gs,t)),e.ksuid=t=>e.check(Ci(_s,t)),e.ipv4=t=>e.check(wi(vs,t)),e.ipv6=t=>e.check(Ti(bs,t)),e.cidrv4=t=>e.check(Ei(xs,t)),e.cidrv6=t=>e.check(Di(Ss,t)),e.e164=t=>e.check(Ai(Ts,t)),e.datetime=t=>e.check(bae(t)),e.date=t=>e.check(xae(t)),e.time=t=>e.check(Sae(t)),e.duration=t=>e.check(Cae(t))}),os=p(`ZodStringFormat`,(e,t)=>{Rn.init(e,t),is.init(e,t)}),ss=p(`ZodEmail`,(e,t)=>{Vn.init(e,t),os.init(e,t)}),cs=p(`ZodGUID`,(e,t)=>{zn.init(e,t),os.init(e,t)}),ls=p(`ZodUUID`,(e,t)=>{Bn.init(e,t),os.init(e,t)}),us=p(`ZodURL`,(e,t)=>{Hn.init(e,t),os.init(e,t)}),ds=p(`ZodEmoji`,(e,t)=>{Un.init(e,t),os.init(e,t)}),fs=p(`ZodNanoID`,(e,t)=>{Wn.init(e,t),os.init(e,t)}),ps=p(`ZodCUID`,(e,t)=>{Gn.init(e,t),os.init(e,t)}),ms=p(`ZodCUID2`,(e,t)=>{Kn.init(e,t),os.init(e,t)}),hs=p(`ZodULID`,(e,t)=>{qn.init(e,t),os.init(e,t)}),gs=p(`ZodXID`,(e,t)=>{Jn.init(e,t),os.init(e,t)}),_s=p(`ZodKSUID`,(e,t)=>{Yn.init(e,t),os.init(e,t)}),vs=p(`ZodIPv4`,(e,t)=>{er.init(e,t),os.init(e,t)}),ys=p(`ZodMAC`,(e,t)=>{nr.init(e,t),os.init(e,t)}),bs=p(`ZodIPv6`,(e,t)=>{tr.init(e,t),os.init(e,t)}),xs=p(`ZodCIDRv4`,(e,t)=>{rr.init(e,t),os.init(e,t)}),Ss=p(`ZodCIDRv6`,(e,t)=>{ir.init(e,t),os.init(e,t)}),Cs=p(`ZodBase64`,(e,t)=>{ar.init(e,t),os.init(e,t)}),ws=p(`ZodBase64URL`,(e,t)=>{or.init(e,t),os.init(e,t)}),Ts=p(`ZodE164`,(e,t)=>{sr.init(e,t),os.init(e,t)}),Es=p(`ZodJWT`,(e,t)=>{cr.init(e,t),os.init(e,t)}),Ds=p(`ZodCustomStringFormat`,(e,t)=>{lr.init(e,t),os.init(e,t)}),Os=p(`ZodNumber`,(e,t)=>{ur.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ba(e,t,n,r),e.gt=(t,n)=>e.check(Fi(t,n)),e.gte=(t,n)=>e.check(Ii(t,n)),e.min=(t,n)=>e.check(Ii(t,n)),e.lt=(t,n)=>e.check(Ni(t,n)),e.lte=(t,n)=>e.check(Pi(t,n)),e.max=(t,n)=>e.check(Pi(t,n)),e.int=t=>e.check(ko(t)),e.safe=t=>e.check(ko(t)),e.positive=t=>e.check(Fi(0,t)),e.nonnegative=t=>e.check(Ii(0,t)),e.negative=t=>e.check(Ni(0,t)),e.nonpositive=t=>e.check(Pi(0,t)),e.multipleOf=(t,n)=>e.check(Vi(t,n)),e.step=(t,n)=>e.check(Vi(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null}),ks=p(`ZodNumberFormat`,(e,t)=>{dr.init(e,t),Os.init(e,t)}),As=p(`ZodBoolean`,(e,t)=>{fr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xa(e,t,n,r)}),js=p(`ZodBigInt`,(e,t)=>{pr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sa(e,t,n,r),e.gte=(t,n)=>e.check(Ii(t,n)),e.min=(t,n)=>e.check(Ii(t,n)),e.gt=(t,n)=>e.check(Fi(t,n)),e.gte=(t,n)=>e.check(Ii(t,n)),e.min=(t,n)=>e.check(Ii(t,n)),e.lt=(t,n)=>e.check(Ni(t,n)),e.lte=(t,n)=>e.check(Pi(t,n)),e.max=(t,n)=>e.check(Pi(t,n)),e.positive=t=>e.check(Fi(BigInt(0),t)),e.negative=t=>e.check(Ni(BigInt(0),t)),e.nonpositive=t=>e.check(Pi(BigInt(0),t)),e.nonnegative=t=>e.check(Ii(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(Vi(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null}),Ms=p(`ZodBigIntFormat`,(e,t)=>{mr.init(e,t),js.init(e,t)}),Ns=p(`ZodSymbol`,(e,t)=>{hr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ca(e,t,n,r)}),Ps=p(`ZodUndefined`,(e,t)=>{gr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ta(e,t,n,r)}),Fs=p(`ZodNull`,(e,t)=>{_r.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wa(e,t,n,r)}),Is=p(`ZodAny`,(e,t)=>{vr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Oa(e,t,n,r)}),Ls=p(`ZodUnknown`,(e,t)=>{yr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ka(e,t,n,r)}),Rs=p(`ZodNever`,(e,t)=>{br.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Da(e,t,n,r)}),zs=p(`ZodVoid`,(e,t)=>{xr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ea(e,t,n,r)}),Bs=p(`ZodDate`,(e,t)=>{Sr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Aa(e,t,n,r),e.min=(t,n)=>e.check(Ii(t,n)),e.max=(t,n)=>e.check(Pi(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null}),Vs=p(`ZodArray`,(e,t)=>{Cr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ha(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(Ki(t,n)),e.nonempty=t=>e.check(Ki(1,t)),e.max=(t,n)=>e.check(Gi(t,n)),e.length=(t,n)=>e.check(qi(t,n)),e.unwrap=()=>e.element}),Hs=p(`ZodObject`,(e,t)=>{Tr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ua(e,t,n,r),le(e,`shape`,()=>t.shape),e.keyof=()=>Go(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:No()}),e.loose=()=>e.clone({...e._zod.def,catchall:No()}),e.strict=()=>e.clone({...e._zod.def,catchall:Po()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>je(e,t),e.safeExtend=t=>Me(e,t),e.merge=t=>Ne(e,t),e.pick=t=>ke(e,t),e.omit=t=>Ae(e,t),e.partial=(...t)=>Pe(tc,e,t[0]),e.required=(...t)=>Fe(oc,e,t[0])}),Us=p(`ZodUnion`,(e,t)=>{Er.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wa(e,t,n,r),e.options=t.options}),Ws=p(`ZodXor`,(e,t)=>{Us.init(e,t),Dr.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wa(e,t,n,r),e.options=t.options}),Gs=p(`ZodDiscriminatedUnion`,(e,t)=>{Us.init(e,t),Or.init(e,t)}),Ks=p(`ZodIntersection`,(e,t)=>{kr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ga(e,t,n,r)}),qs=p(`ZodTuple`,(e,t)=>{Ar.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ka(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})}),Js=p(`ZodRecord`,(e,t)=>{jr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qa(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType}),Ys=p(`ZodMap`,(e,t)=>{Mr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ba(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(Ui(...t)),e.nonempty=t=>e.check(Ui(1,t)),e.max=(...t)=>e.check(Hi(...t)),e.size=(...t)=>e.check(Wi(...t))}),Xs=p(`ZodSet`,(e,t)=>{Nr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Va(e,t,n,r),e.min=(...t)=>e.check(Ui(...t)),e.nonempty=t=>e.check(Ui(1,t)),e.max=(...t)=>e.check(Hi(...t)),e.size=(...t)=>e.check(Wi(...t))}),Zs=p(`ZodEnum`,(e,t)=>{Pr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ja(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Zs({...t,checks:[],...Te(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Zs({...t,checks:[],...Te(r),entries:i})}}),Qs=p(`ZodLiteral`,(e,t)=>{Fr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ma(e,t,n,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]}})}),$s=p(`ZodFile`,(e,t)=>{Ir.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fa(e,t,n,r),e.min=(t,n)=>e.check(Ui(t,n)),e.max=(t,n)=>e.check(Hi(t,n)),e.mime=(t,n)=>e.check(ta(Array.isArray(t)?t:[t],n))}),ec=p(`ZodTransform`,(e,t)=>{Lr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>za(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new v(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Ue(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Ue(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}}),tc=p(`ZodOptional`,(e,t)=>{Rr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>no(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),nc=p(`ZodExactOptional`,(e,t)=>{zr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>no(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),rc=p(`ZodNullable`,(e,t)=>{Br.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ja(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ic=p(`ZodDefault`,(e,t)=>{Vr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xa(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),ac=p(`ZodPrefault`,(e,t)=>{Hr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Za(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),oc=p(`ZodNonOptional`,(e,t)=>{Ur.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ya(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),sc=p(`ZodSuccess`,(e,t)=>{Wr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ia(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),cc=p(`ZodCatch`,(e,t)=>{Gr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qa(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),lc=p(`ZodNaN`,(e,t)=>{Kr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Na(e,t,n,r)}),uc=p(`ZodPipe`,(e,t)=>{qr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$a(e,t,n,r),e.in=t.in,e.out=t.out}),dc=p(`ZodCodec`,(e,t)=>{uc.init(e,t),Jr.init(e,t)}),fc=p(`ZodReadonly`,(e,t)=>{Yr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eo(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),pc=p(`ZodTemplateLiteral`,(e,t)=>{Xr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pa(e,t,n,r)}),mc=p(`ZodLazy`,(e,t)=>{$r.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ro(e,t,n,r),e.unwrap=()=>e._zod.def.getter()}),hc=p(`ZodPromise`,(e,t)=>{Qr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>to(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),gc=p(`ZodFunction`,(e,t)=>{Zr.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ra(e,t,n,r)}),_c=p(`ZodCustom`,(e,t)=>{ei.init(e,t),rs.init(e,t),e._zod.processJSONSchema=(t,n,r)=>La(e,t,n,r)}),vc=cae,yc=lae,bc=(...e)=>uae({Codec:dc,Boolean:As,String:as},...e)}));function Foe(e){m({customError:e})}function Ioe(){return m().customError}var Loe,Roe,zoe=c((()=>{oo(),Loe={invalid_type:`invalid_type`,too_big:`too_big`,too_small:`too_small`,invalid_format:`invalid_format`,not_multiple_of:`not_multiple_of`,unrecognized_keys:`unrecognized_keys`,invalid_union:`invalid_union`,invalid_key:`invalid_key`,invalid_element:`invalid_element`,invalid_value:`invalid_value`,custom:`custom`},(function(e){})(Roe||={})}));function Boe(e,t){let n=e.$schema;return n===`https://json-schema.org/draft/2020-12/schema`?`draft-2020-12`:n===`http://json-schema.org/draft-07/schema#`?`draft-7`:n===`http://json-schema.org/draft-04/schema#`?`draft-4`:t??`draft-2020-12`}function Voe(e,t){if(!e.startsWith(`#`))throw Error(`External $ref is not supported, only local refs (#/...) are allowed`);let n=e.slice(1).split(`/`).filter(Boolean);if(n.length===0)return t.rootSchema;let r=t.version===`draft-2020-12`?`$defs`:`definitions`;if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}function Hoe(e,t){if(e.not!==void 0){if(typeof e.not==`object`&&Object.keys(e.not).length===0)return Cc.never();throw Error(`not is not supported in Zod (except { not: {} } for never)`)}if(e.unevaluatedItems!==void 0)throw Error(`unevaluatedItems is not supported`);if(e.unevaluatedProperties!==void 0)throw Error(`unevaluatedProperties is not supported`);if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw Error(`Conditional schemas (if/then/else) are not supported`);if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw Error(`dependentSchemas and dependentRequired are not supported`);if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return Cc.lazy(()=>{if(!t.refs.has(n))throw Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let r=Sc(Voe(n,t),t);return t.refs.set(n,r),t.processing.delete(n),r}if(e.enum!==void 0){let n=e.enum;if(t.version===`openapi-3.0`&&e.nullable===!0&&n.length===1&&n[0]===null)return Cc.null();if(n.length===0)return Cc.never();if(n.length===1)return Cc.literal(n[0]);if(n.every(e=>typeof e==`string`))return Cc.enum(n);let r=n.map(e=>Cc.literal(e));return r.length<2?r[0]:Cc.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return Cc.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(n=>Hoe({...e,type:n},t));return r.length===0?Cc.never():r.length===1?r[0]:Cc.union(r)}if(!n)return Cc.any();let r;switch(n){case`string`:{let t=Cc.string();if(e.format){let n=e.format;n===`email`?t=t.check(Cc.email()):n===`uri`||n===`uri-reference`?t=t.check(Cc.url()):n===`uuid`||n===`guid`?t=t.check(Cc.uuid()):n===`date-time`?t=t.check(Cc.iso.datetime()):n===`date`?t=t.check(Cc.iso.date()):n===`time`?t=t.check(Cc.iso.time()):n===`duration`?t=t.check(Cc.iso.duration()):n===`ipv4`?t=t.check(Cc.ipv4()):n===`ipv6`?t=t.check(Cc.ipv6()):n===`mac`?t=t.check(Cc.mac()):n===`cidr`?t=t.check(Cc.cidrv4()):n===`cidr-v6`?t=t.check(Cc.cidrv6()):n===`base64`?t=t.check(Cc.base64()):n===`base64url`?t=t.check(Cc.base64url()):n===`e164`?t=t.check(Cc.e164()):n===`jwt`?t=t.check(Cc.jwt()):n===`emoji`?t=t.check(Cc.emoji()):n===`nanoid`?t=t.check(Cc.nanoid()):n===`cuid`?t=t.check(Cc.cuid()):n===`cuid2`?t=t.check(Cc.cuid2()):n===`ulid`?t=t.check(Cc.ulid()):n===`xid`?t=t.check(Cc.xid()):n===`ksuid`&&(t=t.check(Cc.ksuid()))}typeof e.minLength==`number`&&(t=t.min(e.minLength)),typeof e.maxLength==`number`&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),r=t;break}case`number`:case`integer`:{let t=n===`integer`?Cc.number().int():Cc.number();typeof e.minimum==`number`&&(t=t.min(e.minimum)),typeof e.maximum==`number`&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum==`number`?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==`number`&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum==`number`?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==`number`&&(t=t.lt(e.maximum)),typeof e.multipleOf==`number`&&(t=t.multipleOf(e.multipleOf)),r=t;break}case`boolean`:r=Cc.boolean();break;case`null`:r=Cc.null();break;case`object`:{let n={},i=e.properties||{},a=new Set(e.required||[]);for(let[e,r]of Object.entries(i)){let i=Sc(r,t);n[e]=a.has(e)?i:i.optional()}if(e.propertyNames){let i=Sc(e.propertyNames,t),a=e.additionalProperties&&typeof e.additionalProperties==`object`?Sc(e.additionalProperties,t):Cc.any();if(Object.keys(n).length===0){r=Cc.record(i,a);break}let o=Cc.object(n).passthrough(),s=Cc.looseRecord(i,a);r=Cc.intersection(o,s);break}if(e.patternProperties){let i=e.patternProperties,a=Object.keys(i),o=[];for(let e of a){let n=Sc(i[e],t),r=Cc.string().regex(new RegExp(e));o.push(Cc.looseRecord(r,n))}let s=[];if(Object.keys(n).length>0&&s.push(Cc.object(n).passthrough()),s.push(...o),s.length===0)r=Cc.object({}).passthrough();else if(s.length===1)r=s[0];else{let e=Cc.intersection(s[0],s[1]);for(let t=2;t<s.length;t++)e=Cc.intersection(e,s[t]);r=e}break}let o=Cc.object(n);r=e.additionalProperties===!1?o.strict():typeof e.additionalProperties==`object`?o.catchall(Sc(e.additionalProperties,t)):o.passthrough();break}case`array`:{let n=e.prefixItems,i=e.items;if(n&&Array.isArray(n)){let a=n.map(e=>Sc(e,t)),o=i&&typeof i==`object`&&!Array.isArray(i)?Sc(i,t):void 0;r=o?Cc.tuple(a).rest(o):Cc.tuple(a),typeof e.minItems==`number`&&(r=r.check(Cc.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(Cc.maxLength(e.maxItems)))}else if(Array.isArray(i)){let n=i.map(e=>Sc(e,t)),a=e.additionalItems&&typeof e.additionalItems==`object`?Sc(e.additionalItems,t):void 0;r=a?Cc.tuple(n).rest(a):Cc.tuple(n),typeof e.minItems==`number`&&(r=r.check(Cc.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(Cc.maxLength(e.maxItems)))}else if(i!==void 0){let n=Sc(i,t),a=Cc.array(n);typeof e.minItems==`number`&&(a=a.min(e.minItems)),typeof e.maxItems==`number`&&(a=a.max(e.maxItems)),r=a}else r=Cc.array(Cc.any());break}default:throw Error(`Unsupported type: ${n}`)}return e.description&&(r=r.describe(e.description)),e.default!==void 0&&(r=r.default(e.default)),r}function Sc(e,t){if(typeof e==`boolean`)return e?Cc.any():Cc.never();let n=Hoe(e,t),r=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let i=e.anyOf.map(e=>Sc(e,t)),a=Cc.union(i);n=r?Cc.intersection(n,a):a}if(e.oneOf&&Array.isArray(e.oneOf)){let i=e.oneOf.map(e=>Sc(e,t)),a=Cc.xor(i);n=r?Cc.intersection(n,a):a}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=r?n:Cc.any();else{let i=r?n:Sc(e.allOf[0],t),a=r?0:1;for(let n=a;n<e.allOf.length;n++)i=Cc.intersection(i,Sc(e.allOf[n],t));n=i}e.nullable===!0&&t.version===`openapi-3.0`&&(n=Cc.nullable(n)),e.readOnly===!0&&(n=Cc.readonly(n));let i={};for(let t of[`$id`,`id`,`$comment`,`$anchor`,`$vocabulary`,`$dynamicRef`,`$dynamicAnchor`])t in e&&(i[t]=e[t]);for(let t of[`contentEncoding`,`contentMediaType`,`contentSchema`])t in e&&(i[t]=e[t]);for(let t of Object.keys(e))Woe.has(t)||(i[t]=e[t]);return Object.keys(i).length>0&&t.registry.add(n,i),n}function Uoe(e,t){return typeof e==`boolean`?e?Cc.any():Cc.never():Sc(e,{version:Boe(e,t?.defaultTarget),defs:e.$defs||e.definitions||{},refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??si})}var Cc,Woe,Goe=c((()=>{ci(),so(),po(),xc(),Cc={...Dae,...vae,iso:yae},Woe=new Set(`$schema.$ref.$defs.definitions.$id.id.$comment.$anchor.$vocabulary.$dynamicRef.$dynamicAnchor.type.enum.const.anyOf.oneOf.allOf.not.properties.required.additionalProperties.patternProperties.propertyNames.minProperties.maxProperties.items.prefixItems.additionalItems.minItems.maxItems.uniqueItems.contains.minContains.maxContains.minLength.maxLength.pattern.format.minimum.maximum.exclusiveMinimum.exclusiveMaximum.multipleOf.description.default.contentEncoding.contentMediaType.contentSchema.unevaluatedItems.unevaluatedProperties.if.then.else.dependentSchemas.dependentRequired.nullable.readOnly`.split(`.`))})),Koe=u({bigint:()=>Xoe,boolean:()=>Yoe,date:()=>Zoe,number:()=>Joe,string:()=>qoe});function qoe(e){return aie(as,e)}function Joe(e){return die(Os,e)}function Yoe(e){return vie(As,e)}function Xoe(e){return bie(js,e)}function Zoe(e){return jie(Bs,e)}var Qoe=c((()=>{oo(),xc()})),$oe=u({$brand:()=>g,$input:()=>ai,$output:()=>ii,NEVER:()=>h,TimePrecision:()=>la,ZodAny:()=>Is,ZodArray:()=>Vs,ZodBase64:()=>Cs,ZodBase64URL:()=>ws,ZodBigInt:()=>js,ZodBigIntFormat:()=>Ms,ZodBoolean:()=>As,ZodCIDRv4:()=>xs,ZodCIDRv6:()=>Ss,ZodCUID:()=>ps,ZodCUID2:()=>ms,ZodCatch:()=>cc,ZodCodec:()=>dc,ZodCustom:()=>_c,ZodCustomStringFormat:()=>Ds,ZodDate:()=>Bs,ZodDefault:()=>ic,ZodDiscriminatedUnion:()=>Gs,ZodE164:()=>Ts,ZodEmail:()=>ss,ZodEmoji:()=>ds,ZodEnum:()=>Zs,ZodError:()=>wae,ZodExactOptional:()=>nc,ZodFile:()=>$s,ZodFirstPartyTypeKind:()=>Roe,ZodFunction:()=>gc,ZodGUID:()=>cs,ZodIPv4:()=>vs,ZodIPv6:()=>bs,ZodISODate:()=>lo,ZodISODateTime:()=>co,ZodISODuration:()=>fo,ZodISOTime:()=>uo,ZodIntersection:()=>Ks,ZodIssueCode:()=>Loe,ZodJWT:()=>Es,ZodKSUID:()=>_s,ZodLazy:()=>mc,ZodLiteral:()=>Qs,ZodMAC:()=>ys,ZodMap:()=>Ys,ZodNaN:()=>lc,ZodNanoID:()=>fs,ZodNever:()=>Rs,ZodNonOptional:()=>oc,ZodNull:()=>Fs,ZodNullable:()=>rc,ZodNumber:()=>Os,ZodNumberFormat:()=>ks,ZodObject:()=>Hs,ZodOptional:()=>tc,ZodPipe:()=>uc,ZodPrefault:()=>ac,ZodPromise:()=>hc,ZodReadonly:()=>fc,ZodRealError:()=>ho,ZodRecord:()=>Js,ZodSet:()=>Xs,ZodString:()=>as,ZodStringFormat:()=>os,ZodSuccess:()=>sc,ZodSymbol:()=>Ns,ZodTemplateLiteral:()=>pc,ZodTransform:()=>ec,ZodTuple:()=>qs,ZodType:()=>rs,ZodULID:()=>hs,ZodURL:()=>us,ZodUUID:()=>ls,ZodUndefined:()=>Ps,ZodUnion:()=>Us,ZodUnknown:()=>Ls,ZodVoid:()=>zs,ZodXID:()=>gs,ZodXor:()=>Ws,_ZodString:()=>is,_default:()=>Soe,_function:()=>Qo,any:()=>Mo,array:()=>Io,base64:()=>Jae,base64url:()=>Yae,bigint:()=>ooe,boolean:()=>Ao,catch:()=>Eoe,check:()=>Moe,cidrv4:()=>Kae,cidrv6:()=>qae,clone:()=>we,codec:()=>Ooe,coerce:()=>Koe,config:()=>m,core:()=>_ae,cuid:()=>Rae,cuid2:()=>zae,custom:()=>$o,date:()=>doe,decode:()=>xo,decodeAsync:()=>Co,describe:()=>vc,discriminatedUnion:()=>Bo,e164:()=>Xae,email:()=>Oae,emoji:()=>Iae,encode:()=>bo,encodeAsync:()=>So,endsWith:()=>$i,enum:()=>Go,exactOptional:()=>boe,file:()=>yoe,flattenError:()=>rt,float32:()=>noe,float64:()=>roe,formatError:()=>it,fromJSONSchema:()=>Uoe,function:()=>Qo,getErrorMap:()=>Ioe,globalRegistry:()=>si,gt:()=>Fi,gte:()=>Ii,guid:()=>kae,hash:()=>toe,hex:()=>eoe,hostname:()=>$ae,httpUrl:()=>Fae,includes:()=>Zi,instanceof:()=>ns,int:()=>ko,int32:()=>ioe,int64:()=>soe,intersection:()=>Vo,ipv4:()=>Uae,ipv6:()=>Gae,iso:()=>yae,json:()=>Noe,jwt:()=>Zae,keyof:()=>foe,ksuid:()=>Hae,lazy:()=>Zo,length:()=>qi,literal:()=>Ko,locales:()=>nie,looseObject:()=>poe,looseRecord:()=>hoe,lowercase:()=>Yi,lt:()=>Ni,lte:()=>Pi,mac:()=>Wae,map:()=>goe,maxLength:()=>Gi,maxSize:()=>Hi,meta:()=>yc,mime:()=>ta,minLength:()=>Ki,minSize:()=>Ui,multipleOf:()=>Vi,nan:()=>Doe,nanoid:()=>Lae,nativeEnum:()=>voe,negative:()=>Ri,never:()=>Po,nonnegative:()=>Bi,nonoptional:()=>woe,nonpositive:()=>zi,normalize:()=>ra,null:()=>jo,nullable:()=>Yo,nullish:()=>xoe,number:()=>Oo,object:()=>Lo,optional:()=>Jo,overwrite:()=>na,parse:()=>go,parseAsync:()=>_o,partialRecord:()=>Wo,pipe:()=>Xo,positive:()=>Li,prefault:()=>Coe,preprocess:()=>Poe,prettifyError:()=>oee,promise:()=>joe,property:()=>ea,readonly:()=>koe,record:()=>Uo,refine:()=>es,regex:()=>Ji,regexes:()=>wt,registry:()=>ri,safeDecode:()=>To,safeDecodeAsync:()=>Do,safeEncode:()=>wo,safeEncodeAsync:()=>Eo,safeParse:()=>vo,safeParseAsync:()=>yo,set:()=>_oe,setErrorMap:()=>Foe,size:()=>Wi,slugify:()=>sa,startsWith:()=>Qi,strictObject:()=>Ro,string:()=>T,stringFormat:()=>Qae,stringbool:()=>bc,success:()=>Toe,superRefine:()=>ts,symbol:()=>loe,templateLiteral:()=>Aoe,toJSONSchema:()=>va,toLowerCase:()=>aa,toUpperCase:()=>oa,transform:()=>qo,treeifyError:()=>iee,trim:()=>ia,tuple:()=>Ho,uint32:()=>aoe,uint64:()=>coe,ulid:()=>Bae,undefined:()=>uoe,union:()=>zo,unknown:()=>No,uppercase:()=>Xi,url:()=>Pae,util:()=>x,uuid:()=>Aae,uuidv4:()=>jae,uuidv6:()=>Mae,uuidv7:()=>Nae,void:()=>Fo,xid:()=>Vae,xor:()=>moe}),wc=c((()=>{oo(),xc(),so(),Tae(),Eae(),zoe(),Hte(),ao(),Goe(),rie(),po(),Qoe(),m(Bte())})),Tc,Ec=c((()=>{wc(),wc(),Tc=$oe})),Dc,ese,tse,nse,rse=c((()=>{Ec(),Dc=Lo({title:T().optional(),component:No(),props:Uo(T(),Mo()).optional()}),ese=Lo({"request.section":Io(Dc).optional(),"response.section":Io(Dc).optional()}),tse=Lo({onBeforeRequest:Qo({input:[Lo({request:Mo()})]}).optional(),onResponseReceived:Qo({input:[Lo({response:ns(Response),operation:Uo(T(),Mo())})]}).optional()}),nse=Qo({input:[],output:Lo({name:T(),views:ese.optional(),hooks:tse.optional()})})})),ise,ase,Oc,kc,ose=c((()=>{Ec(),rse(),ise=Tc.object({dashboardUrl:Tc.string().prefault(`https://dashboard.scalar.com`),registryUrl:Tc.string().prefault(`https://registry.scalar.com`),proxyUrl:Tc.string().prefault(`https://proxy.scalar.com`),apiBaseUrl:Tc.string().prefault(`https://api.scalar.com`)}),ase=`https://api.scalar.com/request-proxy`,Oc=`https://proxy.scalar.com`,kc=Tc.object({title:Tc.string().optional(),slug:Tc.string().optional(),authentication:Tc.any().optional(),baseServerURL:Tc.string().optional(),hideClientButton:Tc.boolean().optional().default(!1).catch(!1),proxyUrl:Tc.string().optional(),oauth2RedirectUri:Tc.string().optional(),searchHotKey:Tc.enum(`abcdefghijklmnopqrstuvwxyz`.split(``)).optional(),servers:Tc.array(Tc.any()).optional(),showSidebar:Tc.boolean().optional().default(!0).catch(!0),showDeveloperTools:Tc.enum([`always`,`localhost`,`never`]).optional().default(`localhost`).catch(`localhost`),showToolbar:Tc.enum([`always`,`localhost`,`never`]).optional().default(`localhost`).catch(`localhost`),operationTitleSource:Tc.enum([`summary`,`path`]).optional().default(`summary`).catch(`summary`),theme:Tc.enum([`alternate`,`default`,`moon`,`purple`,`solarized`,`bluePlanet`,`deepSpace`,`saturn`,`kepler`,`elysiajs`,`fastify`,`mars`,`laserwave`,`none`]).optional().default(`default`).catch(`default`),_integration:Tc.enum([`adonisjs`,`astro`,`docusaurus`,`dotnet`,`elysiajs`,`express`,`fastapi`,`fastify`,`go`,`hono`,`html`,`laravel`,`litestar`,`nestjs`,`nextjs`,`nitro`,`nuxt`,`platformatic`,`react`,`rust`,`svelte`,`vue`]).nullable().optional(),onRequestSent:Tc.function({input:[Tc.string()],output:Tc.void()}).optional(),persistAuth:Tc.boolean().optional().default(!1).catch(!1),plugins:Tc.array(nse).optional(),telemetry:Tc.boolean().optional().default(!0),externalUrls:ise.prefault({})})})),Ac,jc=c((()=>{Ec(),Ac=Tc.object({default:Tc.boolean().default(!1).optional().catch(!1),url:Tc.string().optional(),content:Tc.union([Tc.string(),Tc.null(),Tc.record(Tc.string(),Tc.any()),Tc.function({input:[],output:Tc.record(Tc.string(),Tc.any())})]).optional(),title:Tc.string().optional(),slug:Tc.string().optional(),spec:Tc.object({url:Tc.string().optional(),content:Tc.union([Tc.string(),Tc.null(),Tc.record(Tc.string(),Tc.any()),Tc.function({input:[],output:Tc.record(Tc.string(),Tc.any())})]).optional()}).optional(),agent:Tc.object({key:Tc.string().optional(),disabled:Tc.boolean().optional(),hideAddApi:Tc.boolean().optional()}).optional()})})),sse,cse=c((()=>{ose(),jc(),sse=kc.extend(Ac.shape)})),lse,use,dse,fse,pse=c((()=>{Ec(),lse=Lo({name:T().regex(/^x-/),component:No(),renderer:No().optional()}),use=Lo({component:No(),renderer:No().optional(),props:Uo(T(),Mo()).optional()}),dse=Lo({"content.end":Io(use).optional()}),fse=Qo({input:[],output:Lo({name:T(),extensions:Io(lse),views:dse.optional()})})})),mse,Mc,Nc,hse,gse=c((()=>{Ec(),pse(),ose(),jc(),mse=$o(),Mc=kc.extend({layout:Go([`modern`,`classic`]).optional().default(`modern`).catch(`modern`),proxy:T().optional(),fetch:mse.optional(),plugins:Io(fse).optional(),isEditable:Ao().optional().default(!1).catch(!1),isLoading:Ao().optional().default(!1).catch(!1),hideModels:Ao().optional().default(!1).catch(!1),documentDownloadType:Go([`yaml`,`json`,`both`,`direct`,`none`]).optional().default(`both`).catch(`both`),hideDownloadButton:Ao().optional(),hideTestRequestButton:Ao().optional().default(!1).catch(!1),hideSearch:Ao().optional().default(!1).catch(!1),showOperationId:Ao().optional().default(!1).catch(!1),darkMode:Ao().optional(),forceDarkModeState:Go([`dark`,`light`]).optional(),hideDarkModeToggle:Ao().optional().default(!1).catch(!1),metaData:Mo().optional(),favicon:T().optional(),hiddenClients:zo([Uo(T(),zo([Ao(),Io(T())])),Io(T()),Ko(!0)]).optional(),defaultHttpClient:Lo({targetKey:$o(),clientKey:T()}).optional(),customCss:T().optional(),onSpecUpdate:Qo({input:[T()],output:Fo()}).optional(),onServerChange:Qo({input:[T()],output:Fo()}).optional(),onDocumentSelect:Qo({input:[]}).optional(),onLoaded:Qo().optional(),onBeforeRequest:Qo({input:[Lo({request:ns(Request),requestBuilder:No(),envVariables:Uo(T(),T())})]}).optional(),onShowMore:Qo({input:[T()]}).optional(),onSidebarClick:Qo({input:[T()]}).optional(),pathRouting:Lo({basePath:T()}).optional(),mcp:Lo({name:T().optional(),url:T().optional(),disabled:Ao().optional()}).optional(),generateHeadingSlug:Qo({input:[Lo({slug:T().default(`headingSlug`)})],output:T()}).optional(),generateModelSlug:Qo({input:[Lo({name:T().default(`modelName`)})],output:T()}).optional(),generateTagSlug:Qo({input:[Lo({name:T().default(`tagName`)})],output:T()}).optional(),generateOperationSlug:Qo({input:[Lo({path:T(),operationId:T().optional(),method:T(),summary:T().optional()})],output:T()}).optional(),generateWebhookSlug:Qo({input:[Lo({name:T(),method:T().optional()})],output:T()}).optional(),redirect:Qo({input:[T()],output:T().nullable().optional()}).optional(),withDefaultFonts:Ao().optional().default(!0).catch(!0),defaultOpenFirstTag:Ao().optional().default(!0).catch(!0),defaultOpenAllTags:Ao().optional().default(!1).catch(!1),expandAllModelSections:Ao().optional().default(!1).catch(!1),expandAllResponses:Ao().optional().default(!1).catch(!1),tagsSorter:zo([Ko(`alpha`),Qo({input:[Mo(),Mo()],output:Oo()})]).optional(),operationsSorter:zo([Ko(`alpha`),Ko(`method`),Qo({input:[Mo(),Mo()],output:Oo()})]).optional(),orderSchemaPropertiesBy:zo([Ko(`alpha`),Ko(`preserve`)]).optional().default(`alpha`).catch(`alpha`),orderRequiredPropertiesFirst:Ao().optional().default(!0).catch(!0)}),Nc=Mc.extend(Ac.shape).transform(e=>(e.hideDownloadButton&&(console.warn(`[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead.`),e.documentDownloadType=`none`),e.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.`),e.url=e.spec.url,delete e.spec),e.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.`),e.content=e.spec.content,delete e.spec),e.proxy&&(console.warn(`[DEPRECATED] You're using the deprecated 'proxy' attribute, rename it to 'proxyUrl' or update the package.`),e.proxyUrl||=e.proxy,delete e.proxy),e.proxyUrl===`https://api.scalar.com/request-proxy`&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${ase}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${Oc}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${Oc}). Read more: https://github.com/scalar/scalar`),e.proxyUrl=Oc),e.showToolbar&&e.showToolbar!==`localhost`&&(console.warn(`[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead.`),e.showDeveloperTools=e.showToolbar,delete e.showToolbar),e)),hse=e=>!!(!Array.isArray(e)&&e&&`sources`in e&&Array.isArray(e.sources))})),_se=c((()=>{Ec(),Lo({cdn:T().optional().default(`https://cdn.jsdelivr.net/npm/@scalar/api-reference`),pageTitle:T().optional().default(`Scalar API Reference`)})})),Pc=c((()=>{cse(),rse(),gse(),_se(),jc()}));Pc();function Fc(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?Fc(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var vse=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function yse(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n instanceof Promise)return n.then(()=>yse(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function bse(e,t,n){if(e.length>0)return yse(e,t,0,vse(n))}function xse(e,t,n){if(e.length>0){let r=vse(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function Ic(e,t){for(let n of[...e])n(t)}var Sse=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,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.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&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=Fc(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=Fc(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(bse,e,t)}callHookParallel(e,...t){return this.callHookWith(xse,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ic(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Ic(this._after,r)}):(this._after&&r&&Ic(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Cse(){return new Sse}var wse=new Set([`link`,`style`,`script`,`noscript`]),Tse=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Ese=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Dse=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Ose=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),kse=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Ase=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Lc=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),jse=[`name`,`property`,`http-equiv`],Mse=new Set([`viewport`,`description`,`keywords`,`robots`]);function Nse(e){let t=e.split(`:`);return t.length?Lc.has(t[1]):!1}function Rc(e){let{props:t,tag:n}=e;if(Ose.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;let r=t.hreflang||t.type;if(n===`link`&&t.rel===`alternate`&&r)return`alternate:${r}`;if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of jse)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Mse.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Tse.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function Pse(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function zc(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>zc(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=zc(r[n],t,n);return e}return r}function Fse(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function Ise(e,t){return e.props=e.props||{},t?e.tag===`templateParams`?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n===`class`||n===`style`){e.props[n]=Fse(n,r);return}if(kse.has(n)){if([`textContent`,`innerHTML`].includes(n)&&typeof r==`object`){let i=t.type;if(t.type||(i=`application/json`),!i?.endsWith(`json`)&&i!==`speculationrules`)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}let i=String(r),a=n.startsWith(`data-`),o=e.tag===`meta`&&n===`content`;i===`true`||i===``?e.props[n]=a||o?i:!0:!r&&a&&i===`false`?e.props[n]=`false`:r!==void 0&&(e.props[n]=r)}),e):e}function Lse(e,t){let n=Ise({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&wse.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Rse(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=zc(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Lse(e,n))}),r.flat()}var zse=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Bse={base:-10,title:10},Vse={critical:-8,high:-1,low:2},Hse={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}},Use=/@import/,Bc=e=>e===``||e===!0;function Wse(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Vse[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Hse;if(t.tag in Bse)n=Bse[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=Hse.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);Bc(t.props.async)?n=i.script.async:t.props.src&&!Bc(t.props.defer)&&!Bc(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(Bc(t.props.defer)&&t.props.src&&!Bc(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&Use.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Gse(e,t){let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Kse(e={}){let t=Cse();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>Gse(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:Rse(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=Wse(o,e),e._p=(i._i<<10)+t,e._d=Rc(e),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(zse).reduce((e,t)=>{let n=String(t._d||t._p);if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(Ase.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&Nse(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(zse)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;Dse.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=Rc(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>Gse(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}async function qse(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||Pse(e),shouldRender:!0};return e._d&&Nse(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!Ese.has(t))continue;let n=Ise({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=Rc(n)||Pse(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):Ese.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Jse(e={}){let t=e.domOptions?.render||qse;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return Kse({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Yse(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}var Vc={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`])},Xse={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`},Zse={appleItunesApp:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>`${Hc(e)}=${t}`}},refresh:{metaKey:`http-equiv`,unpack:{entrySeparator:`;`,resolve:({key:e,value:t})=>e===`seconds`?`${t}`:void 0}},robots:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>typeof t==`boolean`?Hc(e):`${Hc(e)}:${t}`}},contentSecurityPolicy:{metaKey:`http-equiv`,unpack:{entrySeparator:`; `,resolve:({key:e,value:t})=>`${Hc(e)} ${t}`}},charset:{}};function Hc(e){let t=e.replace(/([A-Z])/g,`-$1`).toLowerCase(),n=t.indexOf(`-`);return n===-1?t:Vc.META.has(t.slice(0,n))||Vc.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,`:$1`).toLowerCase():t}function Qse(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>String(t)!==`false`&&e))}function Uc(e){return Array.isArray(e)?e.map(Uc):!e||typeof e!=`object`?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[Hc(e),Uc(t)]))}function $se(e,t={}){let{entrySeparator:n=``,keyValueSeparator:r=``,wrapValue:i,resolve:a}=t;return Object.entries(e).map(([e,n])=>{if(a){let t=a({key:e,value:n});if(t!==void 0)return t}return`${e}${r}${typeof n==`object`?$se(n,t):typeof n==`number`?n.toString():typeof n==`string`&&i?`${i}${n.replace(new RegExp(i,`g`),`\\${i}`)}${i}`:n}`}).join(n)}function ece(e,t){let n=Qse(t),r=Hc(e),i=tce(r);return Lc.has(r)?Wc(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${t===`url`?``:`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0)):[{[i]:r,...n}]}function tce(e){if(Zse[e]?.metaKey===`http-equiv`||Vc.HTTP_EQUIV.has(e))return`http-equiv`;let t=Hc(e),n=t.indexOf(`:`);return n===-1?`name`:Vc.OG.has(t.slice(0,n))?`property`:`name`}function nce(e){return Xse[e]||Hc(e)}function rce(e,t){return t===`refresh`?`${e.seconds};url=${e.url}`:$se(Uc(e),{keyValueSeparator:`=`,entrySeparator:`, `,resolve:({value:e,key:t})=>e===null?``:typeof e==`boolean`?t:void 0,...Zse[t]?.unpack})}function Wc(e){let t=[],n={};for(let[r,i]of Object.entries(e)){if(Array.isArray(i)){if(r===`themeColor`){i.forEach(e=>{typeof e==`object`&&e&&t.push({name:`theme-color`,...e})});continue}for(let e of i)if(typeof e==`object`&&e){let n=[],i=[];for(let[t,a]of Object.entries(e)){let e=Wc({[`${r}${t===`url`?``:`:${t}`}`]:a});(t===`url`?n:i).push(...e)}t.push(...n,...i)}else t.push(...typeof e==`string`?Wc({[r]:e}):ece(r,e));continue}if(typeof i==`object`&&i)if(Vc.MEDIA.has(r)){let e=r.startsWith(`twitter`)?`twitter`:`og`,n=r.replace(/^(og|twitter)/,``).toLowerCase(),a=e===`twitter`?`name`:`property`;i.url&&t.push({[a]:`${e}:${n}`,content:i.url}),i.secureUrl&&t.push({[a]:`${e}:${n}:secure_url`,content:i.secureUrl});for(let[r,o]of Object.entries(i))r!==`url`&&r!==`secureUrl`&&t.push({[a]:`${e}:${n}:${r}`,content:o})}else Lc.has(Hc(r))?t.push(...ece(r,i)):n[r]=Qse(i);else n[r]=i}let r=Object.entries(n).map(([e,t])=>{if(e===`charset`)return{charset:t===null?`_null`:t};let n=tce(e),r=nce(e),i=t===null?`_null`:typeof t==`object`?rce(t,e):typeof t==`number`?t.toString():t;return n===`http-equiv`?{"http-equiv":r,content:i}:{[n]:r,content:i}});return[...t,...r].map(e=>`content`in e&&e.content===`_null`?{...e,content:null}:e)}function ice(e){return e}var ace=ice({key:`flatMeta`,hooks:{"entries:normalize":e=>{let t=[];e.tags=e.tags.map(e=>e.tag===`_flatMeta`?(t.push(Wc(e.props).map(t=>({...e,tag:`meta`,props:t}))),!1):e).filter(Boolean).concat(...t)}}});function Gc(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}function Kc(e){if(al(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=ul(r)?oce(r):Kc(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(ul(e)||fl(e))return e}function oce(e){let t={};return e.replace(vce,``).split(gce).forEach(e=>{if(e){let n=e.split(_ce);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function E(e){let t=``;if(ul(e))t=e;else if(al(e))for(let n=0;n<e.length;n++){let r=E(e[n]);r&&(t+=r+` `)}else if(fl(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function qc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ul(t)&&(e.class=E(t)),n&&(e.style=Kc(n)),e}function sce(e){return!!e||e===``}function cce(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Jc(e[r],t[r]);return n}function Jc(e,t){if(e===t)return!0;let n=cl(e),r=cl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=dl(e),r=dl(t),n||r)return e===t;if(n=al(e),r=al(t),n||r)return n&&r?cce(e,t):!1;if(n=fl(e),r=fl(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!Jc(e[n],t[n]))return!1}}return String(e)===String(t)}function Yc(e,t){return e.findIndex(e=>Jc(e,t))}function lce(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var Xc,Zc,Qc,$c,el,tl,nl,rl,uce,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,dce,gl,_l,vl,yl,fce,bl,pce,xl,Sl,Cl,wl,Tl,El,Dl,mce,hce,Ol,gce,_ce,vce,kl,yce,Al,D,jl,Ml,Nl=c((()=>{Xc={},Zc=[],Qc=()=>{},$c=()=>!1,el=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),tl=e=>e.startsWith(`onUpdate:`),nl=Object.assign,rl=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},uce=Object.prototype.hasOwnProperty,il=(e,t)=>uce.call(e,t),al=Array.isArray,ol=e=>hl(e)===`[object Map]`,sl=e=>hl(e)===`[object Set]`,cl=e=>hl(e)===`[object Date]`,ll=e=>typeof e==`function`,ul=e=>typeof e==`string`,dl=e=>typeof e==`symbol`,fl=e=>typeof e==`object`&&!!e,pl=e=>(fl(e)||ll(e))&&ll(e.then)&&ll(e.catch),ml=Object.prototype.toString,hl=e=>ml.call(e),dce=e=>hl(e).slice(8,-1),gl=e=>hl(e)===`[object Object]`,_l=e=>ul(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,vl=Gc(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),yl=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},fce=/-\w/g,bl=yl(e=>e.replace(fce,e=>e.slice(1).toUpperCase())),pce=/\B([A-Z])/g,xl=yl(e=>e.replace(pce,`-$1`).toLowerCase()),Sl=yl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cl=yl(e=>e?`on${Sl(e)}`:``),wl=(e,t)=>!Object.is(e,t),Tl=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},El=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Dl=e=>{let t=parseFloat(e);return isNaN(t)?e:t},mce=e=>{let t=ul(e)?Number(e):NaN;return isNaN(t)?e:t},Ol=()=>hce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},gce=/;(?![^(]*\))/g,_ce=/:([^]+)/,vce=/\/\*[^]*?\*\//g,kl=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,yce=Gc(kl),Gc(kl+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`),Al=e=>!!(e&&e.__v_isRef===!0),D=e=>ul(e)?e:e==null?``:al(e)||fl(e)&&(e.toString===ml||!ll(e.toString))?Al(e)?D(e.value):JSON.stringify(e,jl,2):String(e),jl=(e,t)=>Al(t)?jl(e,t.value):ol(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ml(t,r)+` =>`]=n,e),{})}:sl(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ml(e))}:dl(t)?Ml(t):fl(t)&&!al(t)&&!gl(t)?String(t):t,Ml=(e,t=``)=>dl(e)?`Symbol(${e.description??t})`:e}));function Pl(){return pu}function Fl(e,t=!1){pu&&pu.cleanups.push(e)}function bce(e,t=!1){if(e.flags|=8,t){e.next=yu,yu=e;return}e.next=vu,vu=e}function Il(){_u++}function Ll(){if(--_u>0)return;if(yu){let e=yu;for(yu=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;vu;){let t=vu;for(vu=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function xce(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sce(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),zl(r),wce(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Rl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Cce(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Cce(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Su)||(e.globalVersion=Su,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Rl(e))))return;e.flags|=2;let t=e.dep,n=mu,r=bu;mu=e,bu=!0;try{xce(e);let n=e.fn(e._value);(t.version===0||wl(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{mu=n,bu=r,Sce(e),e.flags&=-3}}function zl(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)zl(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wce(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Bl(){xu.push(bu),bu=!1}function Vl(){let e=xu.pop();bu=e===void 0?!0:e}function Tce(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=mu;mu=void 0;try{t()}finally{mu=e}}}function Ece(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ece(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}function Hl(e,t,n){if(bu&&mu){let t=wu.get(e);t||wu.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Cu),r.map=t,r.key=n),r.track()}}function Ul(e,t,n,r,i,a){let o=wu.get(e);if(!o){Su++;return}let s=e=>{e&&e.trigger()};if(Il(),t===`clear`)o.forEach(s);else{let i=al(e),a=i&&_l(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Du||!dl(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Du)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Tu)),ol(e)&&s(o.get(Eu)));break;case`delete`:i||(s(o.get(Tu)),ol(e)&&s(o.get(Eu)));break;case`set`:ol(e)&&s(o.get(Tu));break}}Ll()}function Dce(e,t){let n=wu.get(e);return n&&n.get(t)}function Wl(e){let t=su(e);return t===e?t:(Hl(t,`iterate`,Du),au(e)?t:t.map(Ru))}function Gl(e){return Hl(e=su(e),`iterate`,Du),e}function Kl(e,t){return iu(e)?ru(e)?zu(Ru(t)):zu(t):Ru(t)}function ql(e,t,n){let r=Gl(e),i=r[t]();return r!==e&&!au(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}function Jl(e,t,n,r,i,a){let o=Gl(e),s=o!==e&&!au(e),c=o[t];if(c!==Jce[t]){let t=c.apply(e,a);return s?Ru(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,Kl(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function Oce(e,t,n,r){let i=Gl(e),a=i!==e&&!au(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=Kl(e,t)),n.call(this,t,Kl(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?Kl(e,c):c}function Yl(e,t,n){let r=su(e);Hl(r,`iterate`,Du);let i=r[t](...n);return(i===-1||i===!1)&&ou(n[0])?(n[0]=su(n[0]),r[t](...n)):i}function Xl(e,t,n=[]){Bl(),Il();let r=su(e)[t].apply(e,n);return Ll(),Vl(),r}function kce(e){dl(e)||(e=String(e));let t=su(this);return Hl(t,`has`,e),t.hasOwnProperty(e)}function Ace(e,t,n){return function(...r){let i=this.__v_raw,a=su(i),o=ol(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Mu:t?zu:Ru;return!t&&Hl(a,`iterate`,c?Eu:Tu),nl(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Zl(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function jce(e,t){let n={get(n){let r=this.__v_raw,i=su(r),a=su(n);e||(wl(n,a)&&Hl(i,`get`,n),Hl(i,`get`,a));let{has:o}=Nu(i),s=t?Mu:e?zu:Ru;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&Hl(su(t),`iterate`,Tu),t.size},has(t){let n=this.__v_raw,r=su(n),i=su(t);return e||(wl(t,i)&&Hl(r,`has`,t),Hl(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=su(a),s=t?Mu:e?zu:Ru;return!e&&Hl(o,`iterate`,Tu),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return nl(n,e?{add:Zl(`add`),set:Zl(`set`),delete:Zl(`delete`),clear:Zl(`clear`)}:{add(e){let n=su(this),r=Nu(n),i=su(e),a=!t&&!au(e)&&!iu(e)?i:e;return r.has.call(n,a)||wl(e,a)&&r.has.call(n,e)||wl(i,a)&&r.has.call(n,i)||(n.add(a),Ul(n,`add`,a,a)),this},set(e,n){!t&&!au(n)&&!iu(n)&&(n=su(n));let r=su(this),{has:i,get:a}=Nu(r),o=i.call(r,e);o||=(e=su(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?wl(n,s)&&Ul(r,`set`,e,n,s):Ul(r,`add`,e,n),this},delete(e){let t=su(this),{has:n,get:r}=Nu(t),i=n.call(t,e);i||=(e=su(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&Ul(t,`delete`,e,void 0,a),o},clear(){let e=su(this),t=e.size!==0,n=e.clear();return t&&Ul(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ace(r,e,t)}),n}function Ql(e,t){let n=jce(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(il(n,r)&&r in t?n:t,r,i)}function Mce(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Nce(e){return e.__v_skip||!Object.isExtensible(e)?0:Mce(dce(e))}function $l(e){return iu(e)?e:nu(e,!1,Xce,ele,Pu)}function Pce(e){return nu(e,!1,Qce,tle,Fu)}function eu(e){return nu(e,!0,Zce,nle,Iu)}function tu(e){return nu(e,!0,$ce,rle,Lu)}function nu(e,t,n,r,i){if(!fl(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=Nce(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function ru(e){return iu(e)?ru(e.__v_raw):!!(e&&e.__v_isReactive)}function iu(e){return!!(e&&e.__v_isReadonly)}function au(e){return!!(e&&e.__v_isShallow)}function ou(e){return e?!!e.__v_raw:!1}function su(e){let t=e&&e.__v_raw;return t?su(t):e}function Fce(e){return!il(e,`__v_skip`)&&Object.isExtensible(e)&&El(e,`__v_skip`,!0),e}function cu(e){return e?e.__v_isRef===!0:!1}function O(e){return Ice(e,!1)}function lu(e){return Ice(e,!0)}function Ice(e,t){return cu(e)?e:new ile(e,t)}function Lce(e){e.dep&&e.dep.trigger()}function k(e){return cu(e)?e.value:e}function uu(e){return ll(e)?e():k(e)}function Rce(e){return ru(e)?e:new Proxy(e,ale)}function zce(e){return new ole(e)}function Bce(e){let t=al(e)?Array(e.length):{};for(let n in e)t[n]=Vce(e,n);return t}function du(e,t,n){return cu(e)?e:ll(e)?new cle(e):fl(e)&&arguments.length>1?Vce(e,t,n):O(e)}function Vce(e,t,n){return new sle(e,t,n)}function Hce(e,t,n=!1){let r,i;return ll(e)?r=e:(r=e.get,i=e.set),new lle(r,i,n)}function Uce(e,t=!1,n=Hu){if(n){let t=Vu.get(n);t||Vu.set(n,t=[]),t.push(e)}}function Wce(e,t,n=Xc){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:au(e)||i===!1||i===0?fu(e,1):fu(e),u,d,f,p,m=!1,h=!1;if(cu(e)?(d=()=>e.value,m=au(e)):ru(e)?(d=()=>l(e),m=!0):al(e)?(h=!0,m=e.some(e=>ru(e)||au(e)),d=()=>e.map(e=>{if(cu(e))return e.value;if(ru(e))return l(e);if(ll(e))return c?c(e,2):e()})):d=ll(e)?t?c?()=>c(e,2):e:()=>{if(f){Bl();try{f()}finally{Vl()}}let t=Hu;Hu=u;try{return c?c(e,3,[p]):e(p)}finally{Hu=t}}:Qc,t&&i){let e=d,t=i===!0?1/0:i;d=()=>fu(e(),t)}let g=Pl(),_=()=>{u.stop(),g&&g.active&&rl(g.effects,u)};if(a&&t){let e=t;t=(...t)=>{e(...t),_()}}let v=h?Array(e.length).fill(Bu):Bu,y=e=>{if(!(!(u.flags&1)||!u.dirty&&!e))if(t){let e=u.run();if(i||m||(h?e.some((e,t)=>wl(e,v[t])):wl(e,v))){f&&f();let n=Hu;Hu=u;try{let n=[e,v===Bu?void 0:h&&v[0]===Bu?[]:v,p];v=e,c?c(t,3,n):t(...n)}finally{Hu=n}}}else u.run()};return s&&s(y),u=new gu(d),u.scheduler=o?()=>o(y,!1):y,p=e=>Uce(e,!1,u),f=u.onStop=()=>{let e=Vu.get(u);if(e){if(c)c(e,4);else for(let t of e)t();Vu.delete(u)}},t?r?y(!0):v=u.run():o?o(y.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function fu(e,t=1/0,n){if(t<=0||!fl(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,cu(e))fu(e.value,t,n);else if(al(e))for(let r=0;r<e.length;r++)fu(e[r],t,n);else if(sl(e)||ol(e))e.forEach(e=>{fu(e,t,n)});else if(gl(e)){for(let r in e)fu(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&fu(e[r],t,n)}return e}var pu,Gce,mu,hu,gu,_u,vu,yu,bu,xu,Su,Kce,Cu,wu,Tu,Eu,Du,qce,Jce,Yce,Ou,ku,Au,ju,Xce,Zce,Qce,$ce,Mu,Nu,ele,tle,nle,rle,Pu,Fu,Iu,Lu,Ru,zu,ile,ale,ole,sle,cle,lle,Bu,Vu,Hu,ule=c((()=>{Nl(),Gce=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=pu,!e&&pu&&(this.index=(pu.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=pu;try{return pu=this,e()}finally{pu=t}}}on(){++this._on===1&&(this.prevScope=pu,pu=this)}off(){this._on>0&&--this._on===0&&(pu=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}},hu=new WeakSet,gu=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,pu&&pu.active&&pu.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,hu.has(this)&&(hu.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bce(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tce(this),xce(this);let e=mu,t=bu;mu=this,bu=!0;try{return this.fn()}finally{Sce(this),mu=e,bu=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)zl(e);this.deps=this.depsTail=void 0,Tce(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?hu.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rl(this)&&this.run()}get dirty(){return Rl(this)}},_u=0,bu=!0,xu=[],Su=0,Kce=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}},Cu=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(!mu||!bu||mu===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==mu)t=this.activeLink=new Kce(mu,this),mu.deps?(t.prevDep=mu.depsTail,mu.depsTail.nextDep=t,mu.depsTail=t):mu.deps=mu.depsTail=t,Ece(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=mu.depsTail,t.nextDep=void 0,mu.depsTail.nextDep=t,mu.depsTail=t,mu.deps===t&&(mu.deps=e)}return t}trigger(e){this.version++,Su++,this.notify(e)}notify(e){Il();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ll()}}},wu=new WeakMap,Tu=Symbol(``),Eu=Symbol(``),Du=Symbol(``),qce={__proto__:null,[Symbol.iterator](){return ql(this,Symbol.iterator,e=>Kl(this,e))},concat(...e){return Wl(this).concat(...e.map(e=>al(e)?Wl(e):e))},entries(){return ql(this,`entries`,e=>(e[1]=Kl(this,e[1]),e))},every(e,t){return Jl(this,`every`,e,t,void 0,arguments)},filter(e,t){return Jl(this,`filter`,e,t,e=>e.map(e=>Kl(this,e)),arguments)},find(e,t){return Jl(this,`find`,e,t,e=>Kl(this,e),arguments)},findIndex(e,t){return Jl(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return Jl(this,`findLast`,e,t,e=>Kl(this,e),arguments)},findLastIndex(e,t){return Jl(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return Jl(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Yl(this,`includes`,e)},indexOf(...e){return Yl(this,`indexOf`,e)},join(e){return Wl(this).join(e)},lastIndexOf(...e){return Yl(this,`lastIndexOf`,e)},map(e,t){return Jl(this,`map`,e,t,void 0,arguments)},pop(){return Xl(this,`pop`)},push(...e){return Xl(this,`push`,e)},reduce(e,...t){return Oce(this,`reduce`,e,t)},reduceRight(e,...t){return Oce(this,`reduceRight`,e,t)},shift(){return Xl(this,`shift`)},some(e,t){return Jl(this,`some`,e,t,void 0,arguments)},splice(...e){return Xl(this,`splice`,e)},toReversed(){return Wl(this).toReversed()},toSorted(e){return Wl(this).toSorted(e)},toSpliced(...e){return Wl(this).toSpliced(...e)},unshift(...e){return Xl(this,`unshift`,e)},values(){return ql(this,`values`,e=>Kl(this,e))}},Jce=Array.prototype,Yce=Gc(`__proto__,__v_isRef,__isVue`),Ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(dl)),ku=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Lu:Iu:i?Fu:Pu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=al(e);if(!r){let e;if(a&&(e=qce[t]))return e;if(t===`hasOwnProperty`)return kce}let o=Reflect.get(e,t,cu(e)?e:n);if((dl(t)?Ou.has(t):Yce(t))||(r||Hl(e,`get`,t),i))return o;if(cu(o)){let e=a&&_l(t)?o:o.value;return r&&fl(e)?eu(e):e}return fl(o)?r?eu(o):$l(o):o}},Au=class extends ku{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=al(e)&&_l(t);if(!this._isShallow){let e=iu(i);if(!au(n)&&!iu(n)&&(i=su(i),n=su(n)),!a&&cu(i)&&!cu(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:il(e,t),s=Reflect.set(e,t,n,cu(e)?e:r);return e===su(r)&&(o?wl(n,i)&&Ul(e,`set`,t,n,i):Ul(e,`add`,t,n)),s}deleteProperty(e,t){let n=il(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&Ul(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!dl(t)||!Ou.has(t))&&Hl(e,`has`,t),n}ownKeys(e){return Hl(e,`iterate`,al(e)?`length`:Tu),Reflect.ownKeys(e)}},ju=class extends ku{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Xce=new Au,Zce=new ju,Qce=new Au(!0),$ce=new ju(!0),Mu=e=>e,Nu=e=>Reflect.getPrototypeOf(e),ele={get:Ql(!1,!1)},tle={get:Ql(!1,!0)},nle={get:Ql(!0,!1)},rle={get:Ql(!0,!0)},Pu=new WeakMap,Fu=new WeakMap,Iu=new WeakMap,Lu=new WeakMap,Ru=e=>fl(e)?$l(e):e,zu=e=>fl(e)?eu(e):e,ile=class{constructor(e,t){this.dep=new Cu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:su(e),this._value=t?e:Ru(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||au(e)||iu(e);e=n?e:su(e),wl(e,t)&&(this._rawValue=e,this._value=n?e:Ru(e),this.dep.trigger())}},ale={get:(e,t,n)=>t===`__v_raw`?e:k(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return cu(i)&&!cu(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}},ole=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Cu,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}},sle=class{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=su(e);let r=!0,i=e;if(!al(e)||!_l(String(t)))do r=!ou(i)||au(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=k(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&cu(this._raw[this._key])){let t=this._object[this._key];if(cu(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return Dce(this._raw,this._key)}},cle=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()}},lle=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Cu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Su-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&mu!==this)return bce(this,!0),!0}get value(){let e=this.dep.track();return Cce(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},Bu={},Vu=new WeakMap,Hu=void 0}));function Uu(e,t,n,r){try{return r?e(...r):e()}catch(e){Gu(e,t,n)}}function Wu(e,t,n,r){if(ll(e)){let i=Uu(e,t,n,r);return i&&pl(i)&&i.catch(e=>{Gu(e,t,n)}),i}if(al(e)){let i=[];for(let a=0;a<e.length;a++)i.push(Wu(e[a],t,n,r));return i}}function Gu(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Xc;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){Bl(),Uu(a,null,10,[e,i,o]),Vl();return}}dle(e,n,i,r,o)}function dle(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}function Ku(e){let t=nf||tf;return e?t.then(this?e.bind(this):e):t}function fle(e){let t=Zd+1,n=Xd.length;for(;t<n;){let r=t+n>>>1,i=Xd[r],a=rf(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function qu(e){if(!(e.flags&1)){let t=rf(e),n=Xd[Xd.length-1];!n||!(e.flags&2)&&t>=rf(n)?Xd.push(e):Xd.splice(fle(t),0,e),e.flags|=1,ple()}}function ple(){nf||=tf.then(gle)}function mle(e){al(e)?Qd.push(...e):$d&&e.id===-1?$d.splice(ef+1,0,e):e.flags&1||(Qd.push(e),e.flags|=1),ple()}function hle(e,t,n=Zd+1){for(;n<Xd.length;n++){let t=Xd[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;Xd.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Ju(e){if(Qd.length){let e=[...new Set(Qd)].sort((e,t)=>rf(e)-rf(t));if(Qd.length=0,$d){$d.push(...e);return}for($d=e,ef=0;ef<$d.length;ef++){let e=$d[ef];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}$d=null,ef=0}}function gle(e){try{for(Zd=0;Zd<Xd.length;Zd++){let e=Xd[Zd];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Uu(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Zd<Xd.length;Zd++){let e=Xd[Zd];e&&(e.flags&=-2)}Zd=-1,Xd.length=0,Ju(e),nf=null,(Xd.length||Qd.length)&&gle(e)}}function Yu(e){let t=af;return af=e,of=e&&e.type.__scopeId||null,t}function A(e,t=af,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Rd(-1);let i=Yu(t),a;try{a=e(...n)}finally{Yu(i),r._d&&Rd(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Xu(e,t){if(af===null)return e;let n=Jd(af),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=Xc]=t[e];i&&(ll(i)&&(i={mounted:i,updated:i}),i.deep&&fu(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function Zu(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Bl(),Wu(c,n,8,[e.el,s,e,t]),Vl())}}function Qu(e,t){if(sp){let n=sp.provides,r=sp.parent&&sp.parent.provides;r===n&&(n=sp.provides=Object.create(r)),n[e]=t}}function $u(e,t,n=!1){let r=cp();if(r||Vf){let i=Vf?Vf._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ll(t)?t.call(r&&r.proxy):t}}function ed(){return!!(cp()||Vf)}function td(e,t){return rd(e,null,t)}function _le(e,t){return rd(e,null,{flush:`sync`})}function nd(e,t,n){return rd(e,t,n)}function rd(e,t,n=Xc){let{immediate:r,deep:i,flush:a,once:o}=n,s=nl({},n),c=t&&r||!t&&a!==`post`,l;if(pp){if(a===`sync`){let e=Aue();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=Qc,e.resume=Qc,e.pause=Qc,e}}let u=sp;s.call=(e,t,n)=>Wu(e,u,t,n);let d=!1;a===`post`?s.scheduler=e=>{Zf(e,u&&u.suspense)}:a!==`sync`&&(d=!0,s.scheduler=(e,t)=>{t?e():qu(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let f=Wce(e,t,s);return pp&&(l?l.push(f):c&&f()),f}function vle(e,t,n){let r=this.proxy,i=ul(e)?e.includes(`.`)?yle(r,e):()=>r[e]:e.bind(r,r),a;ll(t)?a=t:(a=t.handler,n=t);let o=dp(this),s=rd(i,a.bind(r),n);return o(),s}function yle(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function id(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),(!d||lf(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function ble(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=pf(t.props,c),h=lf(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||od(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||od(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),ad(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}function ad(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function od(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[sf]=o,e&&(r(a,e,i),r(o,e,i)),o}function xle(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Af(()=>{e.isMounted=!0}),Mf(()=>{e.isUnmounting=!0}),e}function Sle(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==ep){t=n;break}}return t}function Cle(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function sd(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),x=Cle(n,e),ee=(e,t)=>{e&&Wu(e,r,9,t)},S=(e,t)=>{let n=t[1];ee(e,t),al(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},C={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=g||c;else return;t[gf]&&t[gf](!0);let i=x[b];i&&Bd(e,i)&&i.el[gf]&&i.el[gf](),ee(r,[t])},enter(t){if(x[b]===e)return;let r=l,i=u,o=d;if(!n.isMounted)if(a)r=_||l,i=v||u,o=y||d;else return;let s=!1;t[_f]=e=>{s||(s=!0,ee(e?o:i,[t]),C.delayedLeave&&C.delayedLeave(),t[_f]=void 0)};let c=t[_f].bind(null,!1);r?S(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[_f]&&t[_f](!0),n.isUnmounting)return r();ee(f,[t]);let a=!1;t[gf]=n=>{a||(a=!0,r(),ee(n?h:m,[t]),t[gf]=void 0,x[i]===e&&delete x[i])};let o=t[gf].bind(null,!1);x[i]=e,p?S(p,[t,o]):o()},clone(e){let a=sd(e,t,n,r,i);return i&&i(a),a}};return C}function cd(e){if(Df(e))return e=Hd(e),e.children=null,e}function wle(e){if(!Df(e))return cf(e.type)&&e.children?Sle(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ll(n.default))return n.default()}}function ld(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ld(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tle(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===B?(o.patchFlag&128&&i++,r=r.concat(Tle(o.children,t,s))):(t||o.type!==ep)&&r.push(s==null?o:Hd(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function j(e,t){return ll(e)?nl({name:e.name},t,{setup:e}):e}function ud(){let e=cp();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+ e.ids[1]++:``}function dd(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function fd(e){let t=cp(),n=lu(null);if(t){let r=t.refs===Xc?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Ele(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}function pd(e,t,n,r,i=!1){if(al(e)){e.forEach((e,a)=>pd(e,t&&(al(t)?t[a]:t),n,r,i));return}if(Ef(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&pd(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?Jd(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,u=s.refs===Xc?s.refs={}:s.refs,d=s.setupState,f=su(d),p=d===Xc?$c:e=>Ele(u,e)?!1:il(f,e),m=(e,t)=>!(t&&Ele(u,t));if(l!=null&&l!==c){if(Dle(t),ul(l))u[l]=null,p(l)&&(d[l]=null);else if(cu(l)){let e=t;m(l,e.k)&&(l.value=null),e.k&&(u[e.k]=null)}}if(ll(c))Uu(c,s,12,[o,u]);else{let t=ul(c),r=cu(c);if(t||r){let s=()=>{if(e.f){let n=t?p(c)?d[c]:u[c]:m(c)||!e.k?c.value:u[e.k];if(i)al(n)&&rl(n,a);else if(al(n))n.includes(a)||n.push(a);else if(t)u[c]=[a],p(c)&&(d[c]=u[c]);else{let t=[a];m(c,e.k)&&(c.value=t),e.k&&(u[e.k]=t)}}else t?(u[c]=o,p(c)&&(d[c]=o)):r&&(m(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){let t=()=>{s(),xf.delete(e)};t.id=-1,xf.set(e,t),Zf(t,n)}else Dle(e),s()}}}function Dle(e){let t=xf.get(e);t&&(t.flags|=8,xf.delete(e))}function Ole(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),Ju(),t._vnode=e;return}d(t.firstChild,e,null,null,null),Ju(),t._vnode=e},d=(n,r,s,l,u,y=!1)=>{y||=!!r.dynamicChildren;let b=wf(n)&&n.data===`[`,x=()=>h(n,r,s,l,u,b),{type:ee,ref:S,shapeFlag:C,patchFlag:te}=r,ne=n.nodeType;r.el=n,te===-2&&(y=!1,r.dynamicChildren=null);let re=null;switch(ee){case $f:ne===3?(n.data!==r.children&&(Sf(),n.data=r.children),re=a(n)):r.children===``?(c(r.el=i(``),o(n),n),re=n):re=x();break;case ep:v(n)?(re=a(n),_(r.el=n.content.firstChild,n,s)):re=ne!==8||b?x():a(n);break;case tp:if(b&&(n=a(n),ne=n.nodeType),ne===1||ne===3){re=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=re.nodeType===1?re.outerHTML:re.data),t===r.staticCount-1&&(r.anchor=re),re=a(re);return b?a(re):re}else x();break;case B:re=b?m(n,r,s,l,u,y):x();break;default:if(C&1)re=(ne!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!v(n)?x():f(n,r,s,l,u,y);else if(C&6){r.slotScopeIds=u;let e=o(n);if(re=b?g(n):wf(n)&&n.data===`teleport start`?g(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,Cf(e),y),Ef(r)&&!r.type.__asyncResolved){let t;b?(t=V(B),t.anchor=re?re.previousSibling:e.lastChild):t=n.nodeType===3?L(``):V(`div`),t.el=n,r.component.subTree=t}}else C&64?re=ne===8?r.type.hydrate(n,r,s,l,u,y,e,p):x():C&128&&(re=r.type.hydrate(n,r,s,l,Cf(o(n)),u,y,e,d))}return S!=null&&pd(S,null,l,r),re},f=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,props:l,patchFlag:u,shapeFlag:d,dirs:f,transition:m}=t,h=c===`input`||c===`option`;if(h||u!==-1){f&&Zu(t,null,n,`created`);let c=!1;if(v(e)){c=due(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),m.beforeEnter(r)}_(r,e,n),t.el=e=r}if(d&16&&!(l&&(l.innerHTML||l.textContent))){let r=p(e.firstChild,t,e,n,i,a,o);for(;r;){md(e,1)||Sf();let t=r;r=r.nextSibling,s(t)}}else if(d&8){let n=t.children;n[0]===`
|
||
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
||
`)&&(md(e,0)||Sf(),e.textContent=t.children)}if(l){if(h||!o||u&48){let t=e.tagName.includes(`-`);for(let i in l)(h&&(i.endsWith(`value`)||i===`indeterminate`)||el(i)&&!vl(i)||i[0]===`.`||t&&!vl(i))&&r(e,i,null,l[i],void 0,n)}else if(l.onClick)r(e,`onClick`,null,l.onClick,void 0,n);else if(u&4&&ru(l.style))for(let e in l.style)l.style[e]}let g;(g=l&&l.onVnodeBeforeMount)&&qd(g,n,t),f&&Zu(t,null,n,`beforeMount`),((g=l&&l.onVnodeMounted)||f||c)&&gue(()=>{g&&qd(g,n,t),c&&m.enter(e),f&&Zu(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length;for(let t=0;t<p;t++){let m=u?f[t]:f[t]=Wd(f[t]),h=m.type===$f;e?(h&&!u&&t+1<p&&Wd(f[t+1]).type===$f&&(c(i(e.data.slice(m.children.length)),r,a(e)),e.data=m.children),e=d(e,m,o,s,l,u)):h&&!m.children?c(m.el=i(``),r):(md(r,1)||Sf(),n(null,m,r,null,o,s,Cf(r),l))}return e},m=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&wf(f)&&f.data===`]`?a(t.anchor=f):(Sf(),c(t.anchor=l(`]`),d,f),f)},h=(e,t,r,i,c,l)=>{if(md(e.parentElement,1)||Sf(),t.el=null,l){let t=g(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,Cf(d),c),r&&(r.vnode.el=t.el,nue(r,t.el)),u},g=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&wf(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},_=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},v=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}function md(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Tf);)e=e.parentElement;let n=e&&e.getAttribute(Tf);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:e.includes(Iue[t])}}function kle(e,t){if(wf(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(wf(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}function Ale(e){ll(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return j({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1;(t.bu||=[]).push(()=>r=!0);let i=()=>{r||n()},o=a?()=>{let n=a(i,t=>kle(e,t));n&&(t.bum||=[]).push(n)}:i;u?o():p().then(()=>!t.isUnmounted&&o())},get __asyncResolved(){return u},setup(){let e=sp;if(dd(e),u)return()=>hd(u,e);let t=t=>{l=null,Gu(t,e,13,!r)};if(s&&e.suspense||pp)return p().then(t=>()=>hd(t,e)).catch(e=>(t(e),()=>r?V(r,{error:e}):null));let a=O(!1),c=O(),d=O(!!i);return i&&setTimeout(()=>{d.value=!1},i),o!=null&&setTimeout(()=>{if(!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o),p().then(()=>{a.value=!0,e.parent&&Df(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>{if(a.value&&u)return hd(u,e);if(c.value&&r)return V(r,{error:c.value});if(n&&!d.value)return hd(n,e)}}})}function hd(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=V(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}function jle(e,t){Nle(e,`a`,t)}function Mle(e,t){Nle(e,`da`,t)}function Nle(e,t,n=sp){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(gd(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Df(e.parent.vnode)&&Ple(r,t,n,e),e=e.parent}}function Ple(e,t,n,r){let i=gd(t,e,r,!0);Nf(()=>{rl(r[t],i)},n)}function gd(e,t,n=sp,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Bl();let i=dp(n),a=Wu(t,n,e,r);return i(),Vl(),a};return r?i.unshift(a):i.push(a),a}}function Fle(e,t=sp){gd(`ec`,e,t)}function _d(e,t){return Ile(Ff,e,!0,t)||e}function vd(e){return ul(e)?Ile(Ff,e,!1)||e:e||If}function Ile(e,t,n=!0,r=!1){let i=af||sp;if(i){let n=i.type;if(e===Ff){let e=Due(n,!1);if(e&&(e===t||e===bl(t)||e===Sl(bl(t))))return n}let a=Lle(i[e]||n[e],t)||Lle(i.appContext[e],t);return!a&&r?n:a}}function Lle(e,t){return e&&(e[t]||e[bl(t)]||e[Sl(bl(t))])}function yd(e,t,n,r){let i,a=n&&n[r],o=al(e);if(o||ul(e)){let n=o&&ru(e),r=!1,s=!1;n&&(r=!au(e),s=iu(e),e=Gl(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?zu(Ru(e[n])):Ru(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(fl(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function bd(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(al(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 M(e,t,n={},r,i){if(af.ce||af.parent&&Ef(af.parent)&&af.parent.ce){let e=Object.keys(n).length>0;return t!==`default`&&(n.name=t),N(),F(B,null,[V(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),N();let o=a&&Rle(a(n)),s=n.key||o&&o.key,c=F(B,{key:(s&&!dl(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function Rle(e){return e.some(e=>zd(e)?!(e.type===ep||e.type===B&&!Rle(e.children)):!0)?e:null}function xd(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Cl(r)]=e[r];return n}function Sd(){return zle(`useSlots`).slots}function Cd(){return zle(`useAttrs`).attrs}function zle(e){let t=cp();return t.setupContext||=Eue(t)}function wd(e){return al(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Td(e,t){return!e||!t?e||t:al(e)&&al(t)?e.concat(t):nl({},wd(e),wd(t))}function Ble(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Vle(e){let t=Ed(e),n=e.proxy,r=e.ctx;Bf=!1,t.beforeCreate&&Ule(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:h,deactivated:g,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:b,render:x,renderTracked:ee,renderTriggered:S,errorCaptured:C,serverPrefetch:te,expose:ne,inheritAttrs:re,components:w,directives:ie,filters:ae}=t;if(l&&Hle(l,r,null),o)for(let e in o){let t=o[e];ll(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);fl(t)&&(e.data=$l(t))}if(Bf=!0,a)for(let e in a){let t=a[e],i=H({get:ll(t)?t.bind(n,n):ll(t.get)?t.get.bind(n,n):Qc,set:!ll(t)&&ll(t.set)?t.set.bind(n):Qc});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)Wle(s[e],r,n,e);if(c){let e=ll(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Qu(t,e[t])})}u&&Ule(u,e,`c`);function oe(e,t){al(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(oe(kf,d),oe(Af,f),oe(jf,p),oe(Lue,m),oe(jle,h),oe(Mle,g),oe(Fle,C),oe(zue,ee),oe(Rue,S),oe(Mf,v),oe(Nf,b),oe(Pf,te),al(ne))if(ne.length){let t=e.exposed||={};ne.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};x&&e.render===Qc&&(e.render=x),re!=null&&(e.inheritAttrs=re),w&&(e.components=w),ie&&(e.directives=ie),te&&dd(e)}function Hle(e,t,n=Qc){al(e)&&(e=Od(e));for(let n in e){let r=e[n],i;i=fl(r)?`default`in r?$u(r.from||n,r.default,!0):$u(r.from||n):$u(r),cu(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ule(e,t,n){Wu(al(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Wle(e,t,n,r){let i=r.includes(`.`)?yle(n,r):()=>n[r];if(ul(e)){let n=t[e];ll(n)&&nd(i,n)}else if(ll(e))nd(i,e.bind(n));else if(fl(e))if(al(e))e.forEach(e=>Wle(e,t,n,r));else{let r=ll(e.handler)?e.handler.bind(n):t[e.handler];ll(r)&&nd(i,r,e)}}function Ed(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Dd(c,e,o,!0)),Dd(c,t,o)),fl(t)&&a.set(t,c),c}function Dd(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Dd(e,a,n,!0),i&&i.forEach(t=>Dd(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Vue[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}function Gle(e,t){return t?e?function(){return nl(ll(e)?e.call(this,this):e,ll(t)?t.call(this,this):t)}:t:e}function Kle(e,t){return Ad(Od(e),Od(t))}function Od(e){if(al(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kd(e,t){return e?[...new Set([].concat(e,t))]:t}function Ad(e,t){return e?nl(Object.create(null),e,t):t}function qle(e,t){return e?al(e)&&al(t)?[...new Set([...e,...t])]:nl(Object.create(null),wd(e),wd(t??{})):t}function Jle(e,t){if(!e)return t;if(!t)return e;let n=nl(Object.create(null),e);for(let r in t)n[r]=kd(e[r],t[r]);return n}function Yle(){return{app:null,config:{isNativeTag:$c,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 Xle(e,t){return function(n,r=null){ll(n)||(n=nl({},n)),r!=null&&!fl(r)&&(r=null);let i=Yle(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:Hue++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:tde,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&ll(e.install)?(a.add(e),e.install(c,...t)):ll(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||V(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,Jd(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(Wu(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=Vf;Vf=c;try{return e()}finally{Vf=t}}};return c}}function jd(e,t,n=Xc){let r=cp(),i=bl(t),a=xl(t),o=Hf(e,i),s=zce((o,s)=>{let c,l=Xc,u;return _le(()=>{let t=e[i];wl(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!wl(o,c)&&!(l!==Xc&&wl(e,l)))return;let d=r.vnode.props;d&&(t in d||i in d||a in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${a}`in d)||(c=e,s()),r.emit(`update:${t}`,o),wl(e,o)&&wl(e,l)&&!wl(o,u)&&s(),l=e,u=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||Xc:s,done:!1}:{done:!0}}}},s}function Zle(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||Xc,i=n,a=t.startsWith(`update:`),o=a&&Hf(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>ul(e)?e.trim():e)),o.number&&(i=n.map(Dl)));let s,c=r[s=Cl(t)]||r[s=Cl(bl(t))];!c&&a&&(c=r[s=Cl(xl(t))]),c&&Wu(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Wu(l,e,6,i)}}function Qle(e,t,n=!1){let r=n?Uue:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!ll(e)){let r=e=>{let n=Qle(e,t,!0);n&&(s=!0,nl(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(fl(e)&&r.set(e,null),null):(al(a)?a.forEach(e=>o[e]=null):nl(o,a),fl(e)&&r.set(e,o),o)}function Md(e,t){return!e||!el(t)?!1:(t=t.slice(2).replace(/Once$/,``),il(e,t[0].toLowerCase()+t.slice(1))||il(e,xl(t))||il(e,t))}function Nd(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:h}=e,g=Yu(e),_,v;try{if(n.shapeFlag&4){let e=i||r,t=e;_=Wd(l.call(t,e,u,d,p,f,m)),v=s}else{let e=t;_=Wd(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),v=t.props?s:Wue(s)}}catch(t){np.length=0,Gu(t,e,1),_=V(ep)}let y=_;if(v&&h!==!1){let e=Object.keys(v),{shapeFlag:t}=y;e.length&&t&7&&(a&&e.some(tl)&&(v=Gue(v,a)),y=Hd(y,v,!1,!0))}return n.dirs&&(y=Hd(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&ld(y,n.transition),_=y,Yu(g),_}function $le(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?eue(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(tue(o,r,n)&&!Md(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?eue(r,o,l):!0:!!o;return!1}function eue(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(tue(t,e,a)&&!Md(n,a))return!0}return!1}function tue(e,t,n){let r=e[n],i=t[n];return n===`style`&&fl(r)&&fl(i)?!Jc(r,i):r!==i}function nue({vnode:e,parent:t},n){for(;t;){let r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}function rue(e,t,n,r=!1){let i={},a=Wf();e.propsDefaults=Object.create(null),aue(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Pce(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function iue(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=su(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Md(e.emitsOptions,o))continue;let u=t[o];if(c)if(il(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=bl(o);i[t]=Pd(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{aue(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!il(t,a)&&((r=xl(a))===a||!il(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Pd(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!il(t,e))&&(delete a[e],l=!0)}l&&Ul(e.attrs,`set`,``)}function aue(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(vl(c))continue;let l=t[c],u;i&&il(i,u=bl(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:Md(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=su(n),r=s||Xc;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Pd(i,t,s,r[s],e,!il(r,s))}}return o}function Pd(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=il(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&ll(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=dp(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===xl(n))&&(r=!0))}return r}function oue(e,t,n=!1){let r=n?Kue:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!ll(e)){let r=e=>{c=!0;let[n,r]=oue(e,t,!0);nl(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return fl(e)&&r.set(e,Zc),Zc;if(al(a))for(let e=0;e<a.length;e++){let t=bl(a[e]);sue(t)&&(o[t]=Xc)}else if(a)for(let e in a){let t=bl(e);if(sue(t)){let n=a[e],r=o[t]=al(n)||ll(n)?{type:n}:nl({},n),i=r.type,c=!1,l=!0;if(al(i))for(let e=0;e<i.length;++e){let t=i[e],n=ll(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=ll(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||il(r,`default`))&&s.push(t)}}let l=[o,s];return fl(e)&&r.set(e,l),l}function sue(e){return e[0]!==`$`&&!vl(e)}function cue(e){return uue(e)}function lue(e){return uue(e,Ole)}function uue(e,t){let n=Ol();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Qc,insertStaticContent:m}=e,h=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Bd(e,t)&&(r=ve(e),pe(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case $f:g(e,t,n,r);break;case ep:_(e,t,n,r);break;case tp:e??v(t,n,r,o);break;case B:w(e,t,n,r,i,a,o,s,c);break;default:d&1?x(e,t,n,r,i,a,o,s,c):d&6?ie(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,xe)}u!=null&&i?pd(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&pd(e.ref,null,a,e,!0)},g=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},y=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=f(e),r(e,n,i),e=a;r(t,n,i)},b=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},x=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),te(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,i,s,c,l,d)=>{let f,p,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(f=e.el=o(e.type,c,m&&m.is,m),h&8?u(f,e.children):h&16&&C(e.children,f,null,i,s,Fd(e,c),l,d),_&&Zu(e,null,i,`created`),S(f,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!vl(e)&&a(f,e,null,m[e],c,i);`value`in m&&a(f,`value`,null,m.value,c),(p=m.onVnodeBeforeMount)&&qd(p,i,e)}_&&Zu(e,null,i,`beforeMount`);let v=due(s,g);v&&g.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||v||_)&&Zf(()=>{p&&qd(p,i,e),v&&g.enter(f),_&&Zu(e,null,i,`mounted`)},s)},S=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(let t=0;t<r.length;t++)p(e,r[t]);if(i){let n=i.subTree;if(t===n||Qf(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;S(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},C=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)h(null,e[l]=s?Gd(e[l]):Wd(e[l]),t,n,r,i,a,o,s)},te=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let p=e.props||Xc,m=t.props||Xc,h;if(n&&Id(n,!1),(h=m.onVnodeBeforeUpdate)&&qd(h,n,t,e),f&&Zu(t,e,n,`beforeUpdate`),n&&Id(n,!0),(p.innerHTML&&m.innerHTML==null||p.textContent&&m.textContent==null)&&u(c,``),d?ne(e.dynamicChildren,d,c,n,r,Fd(t,i),o):s||le(e,t,c,null,n,r,Fd(t,i),o,!1),l>0){if(l&16)re(c,p,m,n,i);else if(l&2&&p.class!==m.class&&a(c,`class`,null,m.class,i),l&4&&a(c,`style`,p.style,m.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=p[r],s=m[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&u(c,t.children)}else !s&&d==null&&re(c,p,m,n,i);((h=m.onVnodeUpdated)||f)&&Zf(()=>{h&&qd(h,n,t,e),f&&Zu(t,e,n,`updated`)},r)},ne=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];h(c,l,c.el&&(c.type===B||!Bd(c,l)||c.shapeFlag&198)?d(c.el):n,null,r,i,a,o,!0)}},re=(e,t,n,r,i)=>{if(t!==n){if(t!==Xc)for(let o in t)!vl(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(vl(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},w=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),C(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ne(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&Ld(e,t,!0)):le(e,t,n,f,a,o,c,l,u)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ae(t,n,r,i,a,o,c):oe(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=bue(e,r,i);if(Df(e)&&(s.ctx.renderer=xe),Sue(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=V(ep);_(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if($le(e,t,n))if(r.asyncDep&&!r.asyncResolved){ce(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=pue(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{Zf(()=>{e.isUnmounted||l()},i)});return}}let u=t,f;Id(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&Tl(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&qd(f,s,t,c),Id(e,!0);let p=Nd(e),m=e.subTree;e.subTree=p,h(m,p,d(m.el),ve(m),e,i,a),t.el=p.el,u===null&&nue(e,p.el),r&&Zf(r,i),(f=t.props&&t.props.onVnodeUpdated)&&Zf(()=>qd(f,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Ef(t);if(Id(e,!1),l&&Tl(l),!m&&(o=c&&c.onVnodeBeforeMount)&&qd(o,d,t),Id(e,!0),s&&Ce){let t=()=>{e.subTree=Nd(e),Ce(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Nd(e);h(null,o,n,r,e,i,a),t.el=o.el}if(u&&Zf(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Zf(()=>qd(o,d,e),i)}(t.shapeFlag&256||d&&Ef(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Zf(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new gu(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>qu(u),Id(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,iue(e,t.props,r,n),Yue(e,t.children,n),Bl(),hle(e),Vl()},le=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){de(l,f,n,r,i,a,o,s,c);return}else if(p&256){ue(l,f,n,r,i,a,o,s,c);return}}m&8?(d&16&&_e(l,i,a),f!==l&&u(n,f)):d&16?m&16?de(l,f,n,r,i,a,o,s,c):_e(l,i,a,!0):(d&8&&u(n,``),m&16&&C(f,n,r,i,a,o,s,c))},ue=(e,t,n,r,i,a,o,s,c)=>{e||=Zc,t||=Zc;let l=e.length,u=t.length,d=Math.min(l,u),f;for(f=0;f<d;f++){let r=t[f]=c?Gd(t[f]):Wd(t[f]);h(e[f],r,n,null,i,a,o,s,c)}l>u?_e(e,i,a,!0,!1,d):C(t,n,r,i,a,o,s,c,d)},de=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,d=e.length-1,f=u-1;for(;l<=d&&l<=f;){let r=e[l],u=t[l]=c?Gd(t[l]):Wd(t[l]);if(Bd(r,u))h(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=d&&l<=f;){let r=e[d],l=t[f]=c?Gd(t[f]):Wd(t[f]);if(Bd(r,l))h(r,l,n,null,i,a,o,s,c);else break;d--,f--}if(l>d){if(l<=f){let e=f+1,d=e<u?t[e].el:r;for(;l<=f;)h(null,t[l]=c?Gd(t[l]):Wd(t[l]),n,d,i,a,o,s,c),l++}}else if(l>f)for(;l<=d;)pe(e[l],i,a,!0),l++;else{let p=l,m=l,g=new Map;for(l=m;l<=f;l++){let e=t[l]=c?Gd(t[l]):Wd(t[l]);e.key!=null&&g.set(e.key,l)}let _,v=0,y=f-m+1,b=!1,x=0,ee=Array(y);for(l=0;l<y;l++)ee[l]=0;for(l=p;l<=d;l++){let r=e[l];if(v>=y){pe(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=m;_<=f;_++)if(ee[_-m]===0&&Bd(r,t[_])){u=_;break}u===void 0?pe(r,i,a,!0):(ee[u-m]=l+1,u>=x?x=u:b=!0,h(r,t[u],n,null,i,a,o,s,c),v++)}let S=b?fue(ee):Zc;for(_=S.length-1,l=y-1;l>=0;l--){let e=m+l,d=t[e],f=t[e+1],p=e+1<u?f.el||hue(f):r;ee[l]===0?h(null,d,n,p,i,a,o,s,c):b&&(_<0||l!==S[_]?fe(d,n,p,2):_--)}}},fe=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){fe(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,xe);return}if(c===B){r(s,t,n);for(let e=0;e<u.length;e++)fe(u[e],t,n,a);r(e.anchor,t,n);return}if(c===tp){y(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.beforeEnter(s),r(s,t,n),Zf(()=>l.enter(s),o);else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{s._isLeaving&&s[gf](!0),a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},pe=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p}=e;if(d===-2&&(i=!1),s!=null&&(Bl(),pd(s,null,n,e,!0),Vl()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let m=u&1&&f,h=!Ef(e),g;if(h&&(g=o&&o.onVnodeBeforeUnmount)&&qd(g,t,e),u&6)ge(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}m&&Zu(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,xe,r):l&&!l.hasOnce&&(a!==B||d>0&&d&64)?_e(l,t,n,!1,!0):(a===B&&d&384||!i&&u&16)&&_e(c,t,n),r&&me(e)}(h&&(g=o&&o.onVnodeUnmounted)||m)&&Zf(()=>{g&&qd(g,t,e),m&&Zu(e,null,t,`unmounted`)},n)},me=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===B){he(n,r);return}if(t===tp){b(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},he=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},ge=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;mue(c),mue(l),r&&Tl(r),i.stop(),a&&(a.flags|=8,pe(o,e,t,n)),s&&Zf(s,t),Zf(()=>{e.isUnmounted=!0},t)},_e=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)pe(e[o],t,n,r,i)},ve=e=>{if(e.shapeFlag&6)return ve(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=f(e.anchor||e.el),n=t&&t[sf];return n?f(n):t},ye=!1,be=(e,t,n)=>{let r;e==null?t._vnode&&(pe(t._vnode,null,null,!0),r=t._vnode.component):h(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ye||=(ye=!0,hle(r),Ju(),!1)},xe={p:h,um:pe,m:fe,r:me,mt:ae,mc:C,pc:le,pbc:ne,n:ve,o:e},Se,Ce;return t&&([Se,Ce]=t(xe)),{render:be,hydrate:Se,createApp:Xle(be,Se)}}function Fd({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Id({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function due(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ld(e,t,n=!1){let r=e.children,i=t.children;if(al(r)&&al(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Gd(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ld(t,a)),a.type===$f&&(a.patchFlag===-1&&(a=i[e]=Gd(a)),a.el=t.el),a.type===ep&&!a.el&&(a.el=t.el)}}function fue(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function pue(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pue(t)}function mue(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function hue(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?hue(t.subTree):null}function gue(e,t){t&&t.pendingBranch?al(e)?t.effects.push(...e):t.effects.push(e):mle(e)}function N(e=!1){np.push(rp=e?null:[])}function _ue(){np.pop(),rp=np[np.length-1]||null}function Rd(e,t=!1){ip+=e,e<0&&rp&&t&&(rp.hasOnce=!0)}function vue(e){return e.dynamicChildren=ip>0?rp||Zc:null,_ue(),ip>0&&rp&&rp.push(e),e}function P(e,t,n,r,i,a){return vue(I(e,t,n,r,i,a,!0))}function F(e,t,n,r,i){return vue(V(e,t,n,r,i,!0))}function zd(e){return e?e.__v_isVNode===!0:!1}function Bd(e,t){return e.type===t.type&&e.key===t.key}function I(e,t=null,n=null,r=0,i=null,a=e===B?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ap(t),ref:t&&op(t),scopeId:of,slotScopeIds:null,children:n,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:af};return s?(Kd(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=ul(n)?8:16),ip>0&&!o&&rp&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&rp.push(c),c}function yue(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===If)&&(e=ep),zd(e)){let r=Hd(e,t,!0);return n&&Kd(r,n),ip>0&&!a&&rp&&(r.shapeFlag&6?rp[rp.indexOf(e)]=r:rp.push(r)),r.patchFlag=-2,r}if(Oue(e)&&(e=e.__vccOpts),t){t=Vd(t);let{class:e,style:n}=t;e&&!ul(e)&&(t.class=E(e)),fl(n)&&(ou(n)&&!al(n)&&(n=nl({},n)),t.style=Kc(n))}let o=ul(e)?1:Qf(e)?128:cf(e)?64:fl(e)?4:ll(e)?2:0;return I(e,t,n,r,i,o,a,!0)}function Vd(e){return e?ou(e)||Gf(e)?nl({},e):e:null}function Hd(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?z(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ap(l),ref:t&&t.ref?n&&a?al(a)?a.concat(op(t)):[a,op(t)]:op(t):a,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!==B?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hd(e.ssContent),ssFallback:e.ssFallback&&Hd(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&ld(u,c.clone(u)),u}function L(e=` `,t=0){return V($f,null,e,t)}function Ud(e,t){let n=V(tp,null,e);return n.staticCount=t,n}function R(e=``,t=!1){return t?(N(),F(ep,null,e)):V(ep,null,e)}function Wd(e){return e==null||typeof e==`boolean`?V(ep):al(e)?V(B,null,e.slice()):zd(e)?Gd(e):V($f,null,String(e))}function Gd(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Hd(e)}function Kd(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(al(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Kd(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Gf(t)?t._ctx=af:r===3&&af&&(af.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ll(t)?(t={default:t,_ctx:af},n=32):(t=String(t),r&64?(n=16,t=[L(t)]):n=8);e.children=t,e.shapeFlag|=n}function z(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=E([t.class,r.class]));else if(e===`style`)t.style=Kc([t.style,r.style]);else if(el(e)){let n=t[e],i=r[e];i&&n!==i&&!(al(n)&&n.includes(i))&&(t[e]=n?[].concat(n,i):i)}else e!==``&&(t[e]=r[e])}return t}function qd(e,t,n,r=null){Wu(e,t,7,[n,r])}function bue(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Xue,a={uid:Zue++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Gce(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oue(r,i),emitsOptions:Qle(r,i),emit:null,emitted:null,propsDefaults:Xc,inheritAttrs:r.inheritAttrs,ctx:Xc,data:Xc,props:Xc,attrs:Xc,slots:Xc,refs:Xc,setupState:Xc,setupContext:null,suspense:n,suspenseId:n?n.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 a.ctx={_:a},a.root=t?t.root:a,a.emit=Zle.bind(null,a),e.ce&&e.ce(a),a}function xue(e){return e.vnode.shapeFlag&4}function Sue(e,t=!1,n=!1){t&&up(t);let{props:r,children:i}=e.vnode,a=xue(e);rue(e,r,a,t),Jue(e,i,n||t);let o=a?Cue(e,t):void 0;return t&&up(!1),o}function Cue(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bue);let{setup:r}=n;if(r){Bl();let n=e.setupContext=r.length>1?Eue(e):null,i=dp(e),a=Uu(r,e,0,[e.props,n]),o=pl(a);if(Vl(),i(),(o||e.sp)&&!Ef(e)&&dd(e),o){if(a.then(fp,fp),t)return a.then(n=>{wue(e,n,t)}).catch(t=>{Gu(t,e,0)});e.asyncDep=a}else wue(e,a,t)}else Tue(e,t)}function wue(e,t,n){ll(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fl(t)&&(e.setupState=Rce(t)),Tue(e,n)}function Tue(e,t,n){let r=e.type;if(!e.render){if(!t&&Que&&!r.render){let t=r.template||Ed(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=Que(t,nl(nl({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||Qc,$ue&&$ue(e)}{let t=dp(e);Bl();try{Vle(e)}finally{Vl(),t()}}}function Eue(e){return{attrs:new Proxy(e.attrs,ede),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Jd(e){return e.exposed?e.exposeProxy||=new Proxy(Rce(Fce(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rf)return Rf[n](e)},has(e,t){return t in e||t in Rf}}):e.proxy}function Due(e,t=!0){return ll(e)?e.displayName||e.name:e.name||t&&e.__name}function Oue(e){return ll(e)&&`__vccOpts`in e}function Yd(e,t,n){try{Rd(-1);let r=arguments.length;return r===2?fl(t)&&!al(t)?zd(t)?V(e,null,[t]):V(e,t):V(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zd(n)&&(n=[n]),V(e,t,n))}finally{Rd(1)}}var Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,kue,Aue,sf,cf,lf,uf,df,ff,pf,mf,hf,gf,_f,vf,yf,bf,jue,Mue,xf,Nue,Sf,Pue,Fue,Cf,wf,Tf,Iue,Ef,Df,Of,kf,Af,jf,Lue,Mf,Nf,Pf,Rue,zue,Ff,If,Lf,Rf,zf,Bue,Bf,Vue,Hue,Vf,Hf,Uue,Wue,Gue,Uf,Wf,Gf,Kue,Kf,qf,que,Jf,Yf,Xf,Jue,Yue,Zf,Qf,B,$f,ep,tp,np,rp,ip,ap,op,V,Xue,Zue,sp,cp,lp,up,dp,fp,pp,Que,$ue,ede,H,tde,nde=c((()=>{ule(),Nl(),Xd=[],Zd=-1,Qd=[],$d=null,ef=0,tf=Promise.resolve(),nf=null,rf=e=>e.id==null?e.flags&2?-1:1/0:e.id,af=null,of=null,kue=Symbol.for(`v-scx`),Aue=()=>$u(kue),sf=Symbol(`_vte`),cf=e=>e.__isTeleport,lf=e=>e&&(e.disabled||e.disabled===``),uf=e=>e&&(e.defer||e.defer===``),df=e=>typeof SVGElement<`u`&&e instanceof SVGElement,ff=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,pf=(e,t)=>{let n=e&&e.to;return ul(n)?t?t(n):null:n},mf={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g}}=l,_=lf(t.props),{shapeFlag:v,children:y,dynamicChildren:b}=t;if(e==null){let e=t.el=h(``),l=t.anchor=h(``);p(e,n,r),p(l,n,r);let d=(e,t)=>{v&16&&u(y,e,t,i,a,o,s,c)},f=()=>{let e=t.target=pf(t.props,m),n=od(e,t,h,p);e&&(o!==`svg`&&df(e)?o=`svg`:o!==`mathml`&&ff(e)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(e),_||(d(e,n),ad(t,!1)))};_&&(d(n,l),ad(t,!0)),uf(t.props)?(t.el.__isMounted=!1,Zf(()=>{f(),delete t.el.__isMounted},a)):f()}else{if(uf(t.props)&&e.el.__isMounted===!1){Zf(()=>{mf.process(e,t,n,r,i,a,o,s,c,l)},a);return}t.el=e.el,t.targetStart=e.targetStart;let u=t.anchor=e.anchor,p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=lf(e.props),v=g?n:p,y=g?u:h;if(o===`svg`||df(p)?o=`svg`:(o===`mathml`||ff(p))&&(o=`mathml`),b?(f(e.dynamicChildren,b,v,i,a,o,s),Ld(e,t,!0)):c||d(e,t,v,y,i,a,o,s,!1),_)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):id(t,n,u,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=pf(t.props,m);e&&id(t,e,null,l,0)}else g&&id(t,p,h,l,1);ad(t,_)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e;if(d&&(i(l),i(u)),a&&i(c),o&16){let e=a||!lf(f);for(let i=0;i<s.length;i++){let a=s[i];r(a,t,n,e,!!a.dynamicChildren)}}},move:id,hydrate:ble},hf=mf,gf=Symbol(`_leaveCb`),_f=Symbol(`_enterCb`),vf=[Function,Array],yf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vf,onEnter:vf,onAfterEnter:vf,onEnterCancelled:vf,onBeforeLeave:vf,onLeave:vf,onAfterLeave:vf,onLeaveCancelled:vf,onBeforeAppear:vf,onAppear:vf,onAfterAppear:vf,onAppearCancelled:vf},bf=e=>{let t=e.subTree;return t.component?bf(t.component):t},jue={name:`BaseTransition`,props:yf,setup(e,{slots:t}){let n=cp(),r=xle();return()=>{let i=t.default&&Tle(t.default(),!0);if(!i||!i.length)return;let a=Sle(i),o=su(e),{mode:s}=o;if(r.isLeaving)return cd(a);let c=wle(a);if(!c)return cd(a);let l=sd(c,o,r,n,e=>l=e);c.type!==ep&&ld(c,l);let u=n.subTree&&wle(n.subTree);if(u&&u.type!==ep&&!Bd(u,c)&&bf(n).type!==ep){let e=sd(u,o,r,n);if(ld(u,e),s===`out-in`&&c.type!==ep)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},cd(a);s===`in-out`&&c.type!==ep?e.delayLeave=(e,t,n)=>{let i=Cle(r,u);i[String(u.key)]=u,e[gf]=()=>{t(),e[gf]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}},Mue=jue,xf=new WeakMap,Nue=!1,Sf=()=>{Nue||=(console.error(`Hydration completed but contains mismatches.`),!0)},Pue=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,Fue=e=>e.namespaceURI.includes(`MathML`),Cf=e=>{if(e.nodeType===1){if(Pue(e))return`svg`;if(Fue(e))return`mathml`}},wf=e=>e.nodeType===8,Tf=`data-allow-mismatch`,Iue={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`},Ol().requestIdleCallback,Ol().cancelIdleCallback,Ef=e=>!!e.type.__asyncLoader,Df=e=>e.type.__isKeepAlive,Of=e=>(t,n=sp)=>{(!pp||e===`sp`)&&gd(e,(...e)=>t(...e),n)},kf=Of(`bm`),Af=Of(`m`),jf=Of(`bu`),Lue=Of(`u`),Mf=Of(`bum`),Nf=Of(`um`),Pf=Of(`sp`),Rue=Of(`rtg`),zue=Of(`rtc`),Ff=`components`,If=Symbol.for(`v-ndc`),Lf=e=>e?xue(e)?Jd(e):Lf(e.parent):null,Rf=nl(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=>Lf(e.parent),$root:e=>Lf(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ed(e),$forceUpdate:e=>e.f||=()=>{qu(e.update)},$nextTick:e=>e.n||=Ku.bind(e.proxy),$watch:e=>vle.bind(e)}),zf=(e,t)=>e!==Xc&&!e.__isScriptSetup&&il(e,t),Bue={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(zf(r,t))return o[t]=1,r[t];else if(i!==Xc&&il(i,t))return o[t]=2,i[t];else if(il(a,t))return o[t]=3,a[t];else if(n!==Xc&&il(n,t))return o[t]=4,n[t];else Bf&&(o[t]=0)}let l=Rf[t],u,d;if(l)return t===`$attrs`&&Hl(e.attrs,`get`,``),l(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==Xc&&il(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,il(d,t))return d[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return zf(i,t)?(i[t]=n,!0):r!==Xc&&il(r,t)?(r[t]=n,!0):il(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==Xc&&s[0]!==`$`&&il(e,s)||zf(t,s)||il(a,s)||il(r,s)||il(Rf,s)||il(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?il(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Bf=!0,Vue={data:Gle,props:qle,emits:qle,methods:Ad,computed:Ad,beforeCreate:kd,created:kd,beforeMount:kd,mounted:kd,beforeUpdate:kd,updated:kd,beforeDestroy:kd,beforeUnmount:kd,destroyed:kd,unmounted:kd,activated:kd,deactivated:kd,errorCaptured:kd,serverPrefetch:kd,components:Ad,directives:Ad,watch:Jle,provide:Gle,inject:Kle},Hue=0,Vf=null,Hf=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${bl(t)}Modifiers`]||e[`${xl(t)}Modifiers`],Uue=new WeakMap,Wue=e=>{let t;for(let n in e)(n===`class`||n===`style`||el(n))&&((t||={})[n]=e[n]);return t},Gue=(e,t)=>{let n={};for(let r in e)(!tl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},Uf={},Wf=()=>Object.create(Uf),Gf=e=>Object.getPrototypeOf(e)===Uf,Kue=new WeakMap,Kf=e=>e===`_`||e===`_ctx`||e===`$stable`,qf=e=>al(e)?e.map(Wd):[Wd(e)],que=(e,t,n)=>{if(t._n)return t;let r=A((...e)=>qf(t(...e)),n);return r._c=!1,r},Jf=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Kf(n))continue;let i=e[n];if(ll(i))t[n]=que(n,i,r);else if(i!=null){let e=qf(i);t[n]=()=>e}}},Yf=(e,t)=>{let n=qf(t);e.slots.default=()=>n},Xf=(e,t,n)=>{for(let r in t)(n||!Kf(r))&&(e[r]=t[r])},Jue=(e,t,n)=>{let r=e.slots=Wf();if(e.vnode.shapeFlag&32){let e=t._;e?(Xf(r,t,n),n&&El(r,`_`,e,!0)):Jf(t,r)}else t&&Yf(e,t)},Yue=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=Xc;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Xf(i,t,n):(a=!t.$stable,Jf(t,i)),o=t}else t&&(Yf(e,t),o={default:1});if(a)for(let e in i)!Kf(e)&&o[e]==null&&delete i[e]},Zf=gue,Qf=e=>e.__isSuspense,B=Symbol.for(`v-fgt`),$f=Symbol.for(`v-txt`),ep=Symbol.for(`v-cmt`),tp=Symbol.for(`v-stc`),np=[],rp=null,ip=1,ap=({key:e})=>e??null,op=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:ul(e)||cu(e)||ll(e)?{i:af,r:e,k:t,f:!!n}:e),V=yue,Xue=Yle(),Zue=0,sp=null,cp=()=>sp||af;{let e=Ol(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};lp=t(`__VUE_INSTANCE_SETTERS__`,e=>sp=e),up=t(`__VUE_SSR_SETTERS__`,e=>pp=e)}dp=e=>{let t=sp;return lp(e),e.scope.on(),()=>{e.scope.off(),lp(t)}},fp=()=>{sp&&sp.scope.off(),lp(null)},pp=!1,ede={get(e,t){return Hl(e,`get`,``),e[t]}},H=(e,t)=>Hce(e,t,pp),tde=`3.5.30`}));function rde(e){let t={};for(let n in e)n in Mp||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=ide(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:x,onBeforeAppear:ee=_,onAppear:S=v,onAppearCancelled:C=y}=t,te=(e,t,n,r)=>{e._enterCancelled=r,gp(e,t?u:s),gp(e,t?l:o),n&&n()},ne=(e,t)=>{e._isLeaving=!1,gp(e,d),gp(e,p),gp(e,f),t&&t()},re=e=>(t,n)=>{let i=e?S:v,o=()=>te(t,e,n);Pp(i,[t,o]),ade(()=>{gp(t,e?c:a),hp(t,e?u:s),Fp(i)||ode(t,r,h,o)})};return nl(t,{onBeforeEnter(e){Pp(_,[e]),hp(e,a),hp(e,o)},onBeforeAppear(e){Pp(ee,[e]),hp(e,c),hp(e,l)},onEnter:re(!1),onAppear:re(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ne(e,t);hp(e,d),e._enterCancelled?(hp(e,f),ude(e)):(ude(e),hp(e,f)),ade(()=>{e._isLeaving&&(gp(e,d),hp(e,p),Fp(b)||ode(e,r,g,n))}),Pp(b,[e,n])},onEnterCancelled(e){te(e,!1,void 0,!0),Pp(y,[e])},onAppearCancelled(e){te(e,!0,void 0,!0),Pp(C,[e])},onLeaveCancelled(e){ne(e),Pp(x,[e])}})}function ide(e){if(e==null)return null;if(fl(e))return[mp(e.enter),mp(e.leave)];{let t=mp(e);return[t,t]}}function mp(e){return mce(e)}function hp(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[jp]||(e[jp]=new Set)).add(t)}function gp(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[jp];n&&(n.delete(t),n.size||(e[jp]=void 0))}function ade(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function ode(e,t,n,r){let i=e._endId=++Bde,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=sde(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function sde(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${kp}Delay`),a=r(`${kp}Duration`),o=cde(i,a),s=r(`${Ap}Delay`),c=r(`${Ap}Duration`),l=cde(s,c),u=null,d=0,f=0;t===kp?o>0&&(u=kp,d=o,f=a.length):t===Ap?l>0&&(u=Ap,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?kp:Ap:null,f=u?u===kp?a.length:c.length:0);let p=u===kp&&/\b(?:transform|all)(?:,|$)/.test(r(`${kp}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function cde(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>lde(t)+lde(e[n])))}function lde(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function ude(e){return(e?e.ownerDocument:document).body.offsetHeight}function dde(e,t,n){let r=e[jp];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}function _p(e,t){e.style.display=t?e[Ip]:`none`,e[Lp]=!t}function fde(e){let t=cp();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>yp(e,n))},r=()=>{let r=e(t.proxy);t.ce?yp(t.ce,r):vp(t.subTree,r),n(r)};jf(()=>{mle(r)}),Af(()=>{nd(r,Qc,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Nf(()=>e.disconnect())})}function vp(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{vp(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)yp(e.el,t);else if(e.type===B)e.children.forEach(e=>vp(e,t));else if(e.type===tp){let{el:n,anchor:r}=e;for(;n&&(yp(n,t),n!==r);)n=n.nextSibling}}function yp(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=lce(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[zp]=r}}function pde(e,t,n){let r=e.style,i=ul(n),a=!1;if(n&&!i){if(t)if(ul(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??bp(r,t,``)}else for(let e in t)n[e]??bp(r,e,``);for(let e in n)e===`display`&&(a=!0),bp(r,e,n[e])}else if(i){if(t!==n){let e=r[zp];e&&(n+=`;`+e),r.cssText=n,a=Vde.test(n)}}else t&&e.removeAttribute(`style`);Ip in e&&(e[Ip]=a?r.display:``,e[Lp]&&(r.display=`none`))}function bp(e,t,n){if(al(n))n.forEach(n=>bp(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=mde(e,t);Bp.test(n)?e.setProperty(xl(r),n.replace(Bp,``),`important`):e[r]=n}}function mde(e,t){let n=Hp[t];if(n)return n;let r=bl(t);if(r!==`filter`&&r in e)return Hp[t]=r;r=Sl(r);for(let n=0;n<Vp.length;n++){let i=Vp[n]+r;if(i in e)return Hp[t]=i}return t}function hde(e,t,n,r,i,a=yce(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Up,t.slice(6,t.length)):e.setAttributeNS(Up,t,n):n==null||a&&!sce(n)?e.removeAttribute(t):e.setAttribute(t,a?``:dl(n)?String(n):n)}function gde(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Ep(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=sce(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function xp(e,t,n,r){e.addEventListener(t,n,r)}function _de(e,t,n,r){e.removeEventListener(t,n,r)}function vde(e,t,n,r,i=null){let a=e[Wp]||(e[Wp]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=yde(t);r?xp(e,n,a[t]=bde(r,i),s):o&&(_de(e,n,o,s),a[t]=void 0)}}function yde(e){let t;if(Gp.test(e)){t={};let n;for(;n=e.match(Gp);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):xl(e.slice(2)),t]}function bde(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;Wu(xde(e,n.value),t,5,[e])};return n.value=e,n.attached=Ude(),n}function xde(e,t){if(al(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}function Sde(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&qp(t)&&ll(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return qp(t)&&ul(n)?!1:t in e}function Cde(e,t){let n=e._def.props;if(!n)return!1;let r=bl(t);return Array.isArray(n)?n.some(e=>bl(e)===r):Object.keys(n).some(e=>bl(e)===r)}function wde(e){e.target.composing=!0}function Tde(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}function Ede(e,t,n){return t&&(e=e.trim()),n&&(e=Dl(e)),e}function Dde(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(al(t))i=Yc(t,r.props.value)>-1;else if(sl(t))i=t.has(r.props.value);else{if(t===n)return;i=Jc(t,kde(e,!0))}e.checked!==i&&(e.checked=i)}function Ode(e,t){let n=e.multiple,r=al(t);if(!(n&&!r&&!sl(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=Sp(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=Yc(t,o)>-1}else a.selected=t.has(o);else if(Jc(Sp(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Sp(e){return`_value`in e?e._value:e.value}function kde(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}function Ade(e,t){switch(e){case`SELECT`:return Kde;case`TEXTAREA`:return Xp;default:switch(t){case`checkbox`:return Zp;case`radio`:return Gde;default:return Xp}}}function Cp(e,t,n,r,i){let a=Ade(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function jde(){return nm||=cue(tm)}function Mde(){return nm=rm?nm:lue(tm),rm=!0,nm}function Nde(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Pde(e){return ul(e)?document.querySelector(e):e}var wp,Tp,Ep,Fde,Ide,Dp,Op,Lde,kp,Ap,jp,Mp,Rde,zde,Np,Pp,Fp,Bde,Ip,Lp,Rp,zp,Vde,Bp,Vp,Hp,Up,Wp,Gp,Kp,Hde,Ude,qp,Wde,Jp,Yp,Xp,Zp,Gde,Kde,Qp,qde,Jde,$p,Yde,em,tm,nm,rm,im,Xde,Zde=c((()=>{if(nde(),nde(),Nl(),wp=void 0,Tp=typeof window<`u`&&window.trustedTypes,Tp)try{wp=Tp.createPolicy(`vue`,{createHTML:e=>e})}catch{}Ep=wp?e=>wp.createHTML(e):e=>e,Fde=`http://www.w3.org/2000/svg`,Ide=`http://www.w3.org/1998/Math/MathML`,Dp=typeof document<`u`?document:null,Op=Dp&&Dp.createElement(`template`),Lde={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?Dp.createElementNS(Fde,e):t===`mathml`?Dp.createElementNS(Ide,e):n?Dp.createElement(e,{is:n}):Dp.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Dp.createTextNode(e),createComment:e=>Dp.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dp.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Op.innerHTML=Ep(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Op.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kp=`transition`,Ap=`animation`,jp=Symbol(`_vtc`),Mp={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},Rde=nl({},yf,Mp),zde=e=>(e.displayName=`Transition`,e.props=Rde,e),Np=zde((e,{slots:t})=>Yd(Mue,rde(e),t)),Pp=(e,t=[])=>{al(e)?e.forEach(e=>e(...t)):e&&e(...t)},Fp=e=>e?al(e)?e.some(e=>e.length>1):e.length>1:!1,Bde=0,Ip=Symbol(`_vod`),Lp=Symbol(`_vsh`),Rp={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ip]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):_p(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),_p(e,!0),r.enter(e)):r.leave(e,()=>{_p(e,!1)}):_p(e,t))},beforeUnmount(e,{value:t}){_p(e,t)}},zp=Symbol(``),Vde=/(?:^|;)\s*display\s*:/,Bp=/\s*!important$/,Vp=[`Webkit`,`Moz`,`ms`],Hp={},Up=`http://www.w3.org/1999/xlink`,Wp=Symbol(`_vei`),Gp=/(?:Once|Passive|Capture)$/,Kp=0,Hde=Promise.resolve(),Ude=()=>Kp||=(Hde.then(()=>Kp=0),Date.now()),qp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wde=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?dde(e,r,o):t===`style`?pde(e,n,r):el(t)?tl(t)||vde(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Sde(e,t,r,o))?(gde(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&hde(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Cde(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ul(r)))?gde(e,bl(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),hde(e,t,r,o))},Jp=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return al(t)?e=>Tl(t,e):t},Yp=Symbol(`_assign`),Xp={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Yp]=Jp(i);let a=r||i.props&&i.props.type===`number`;xp(e,t?`change`:`input`,t=>{t.target.composing||e[Yp](Ede(e.value,n,a))}),(n||a)&&xp(e,`change`,()=>{e.value=Ede(e.value,n,a)}),t||(xp(e,`compositionstart`,wde),xp(e,`compositionend`,Tde),xp(e,`change`,Tde))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Yp]=Jp(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?Dl(e.value):e.value,c=t??``;s!==c&&(document.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},Zp={deep:!0,created(e,t,n){e[Yp]=Jp(n),xp(e,`change`,()=>{let t=e._modelValue,n=Sp(e),r=e.checked,i=e[Yp];if(al(t)){let e=Yc(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(sl(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(kde(e,r))})},mounted:Dde,beforeUpdate(e,t,n){e[Yp]=Jp(n),Dde(e,t,n)}},Gde={created(e,{value:t},n){e.checked=Jc(t,n.props.value),e[Yp]=Jp(n),xp(e,`change`,()=>{e[Yp](Sp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Yp]=Jp(r),t!==n&&(e.checked=Jc(t,r.props.value))}},Kde={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=sl(t);xp(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Dl(Sp(e)):Sp(e));e[Yp](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Ku(()=>{e._assigning=!1})}),e[Yp]=Jp(r)},mounted(e,{value:t}){Ode(e,t)},beforeUpdate(e,t,n){e[Yp]=Jp(n)},updated(e,{value:t}){e._assigning||Ode(e,t)}},Qp={created(e,t,n){Cp(e,t,n,null,`created`)},mounted(e,t,n){Cp(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Cp(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Cp(e,t,n,r,`updated`)}},qde=[`ctrl`,`shift`,`alt`,`meta`],Jde={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&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>qde.some(n=>e[`${n}Key`]&&!t.includes(n))},$p=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Jde[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Yde={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},em=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=xl(n.key);if(t.some(e=>e===r||Yde[e]===r))return e(n)}))},tm=nl({patchProp:Wde},Lde),rm=!1,im=((...e)=>{let t=jde().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Pde(e);if(!r)return;let i=t._component;!ll(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Nde(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Xde=((...e)=>{let t=Mde().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Pde(e);if(t)return n(t,!0,Nde(t))},t})})),U=c((()=>{Zde()}));U();var Qde=(e,t)=>cu(t)?uu(t):t;U();var $de=`usehead`;function efe(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide($de,e)}}.install}function tfe(){if(ed()){let e=$u($de);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function nfe(e,t={}){let n=t.head||tfe();return n.ssr?n.push(e||{},t):rfe(n,e,t)}function rfe(e,t,n={}){let r=O(!1),i;return td(()=>{let a=r.value?{}:zc(t,Qde);i?i.patch(a):i=e.push(a,n)}),cp()&&(Mf(()=>{i.dispose()}),Mle(()=>{r.value=!0}),jle(()=>{r.value=!1})),i}function ife(e={},t={}){(t.head||tfe()).use(ace);let{title:n,titleTemplate:r,...i}=e;return nfe({title:n,titleTemplate:r,_flatMeta:i},t)}U();function afe(e={}){let t=Jse({domOptions:{render:Yse(()=>qse(t),e=>setTimeout(e,0))},...e});return t.install=efe(t),t}function am(e,t,n){let r=n.initialDeps??[],i;return()=>{var a;let o;n.key&&n.debug?.call(n)&&(o=Date.now());let s=e();if(!(s.length!==r.length||s.some((e,t)=>r[t]!==e)))return i;r=s;let c;if(n.key&&n.debug?.call(n)&&(c=Date.now()),i=t(...s),n.key&&n.debug?.call(n)){let e=Math.round((Date.now()-o)*100)/100,t=Math.round((Date.now()-c)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=` `+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
|
||
font-size: .6rem;
|
||
font-weight: bold;
|
||
color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,n?.key)}return(a=n?.onChange)==null||a.call(n,i),i}}function om(e,t){if(e===void 0)throw Error(`Unexpected undefined${t?`: ${t}`:``}`);return e}var ofe,sfe,cfe=c((()=>{ofe=(e,t)=>Math.abs(e-t)<1,sfe=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}}}));function lfe({measurements:e,outerSize:t,scrollOffset:n}){let r=e.length-1,i=cm(0,r,t=>e[t].start,n),a=i;for(;a<r&&e[a].end<n+t;)a++;return{startIndex:i,endIndex:a}}var ufe,dfe,ffe,sm,pfe,mfe,hfe,gfe,_fe,cm,vfe=c((()=>{cfe(),ufe=e=>e,dfe=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},ffe=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};let a=new r.ResizeObserver(e=>{let t=e[0];if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e){i({width:e.inlineSize,height:e.blockSize});return}}i(n.getBoundingClientRect())});return a.observe(n,{box:`border-box`}),()=>{a.unobserve(n)}},sm={passive:!0},pfe=typeof window>`u`?!0:`onscrollend`in window,mfe=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=0,a=pfe?()=>void 0:sfe(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),o=r=>()=>{i=n[e.options.horizontal?`scrollLeft`:`scrollTop`],a(),t(i,r)},s=o(!0),c=o(!1);return c(),n.addEventListener(`scroll`,s,sm),n.addEventListener(`scrollend`,c,sm),()=>{n.removeEventListener(`scroll`,s),n.removeEventListener(`scrollend`,c)}},hfe=(e,t,n)=>{if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?`inlineSize`:`blockSize`])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?`width`:`height`])},gfe=(e,{adjustments:t=0,behavior:n},r)=>{var i,a;let o=e+t;(a=(i=r.scrollElement)?.scrollTo)==null||a.call(i,{[r.options.horizontal?`left`:`top`]:o,behavior:n})},_fe=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{this._measureElement(e.target,e)})}));return{disconnect:()=>t()?.disconnect(),observe:e=>t()?.observe(e,{box:`border-box`}),unobserve:e=>t()?.unobserve(e)}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{n===void 0&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:ufe,rangeExtractor:dfe,onChange:()=>{},measureElement:hfe,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:`data-index`,initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,...e}},this.notify=(e,t)=>{var n,r;let{startIndex:i,endIndex:a}=this.range??{startIndex:void 0,endIndex:void 0},o=this.calculateRange();(e||i!==o?.startIndex||a!==o?.endIndex)&&((r=(n=this.options).onChange)==null||r.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e){this.notify(!1,!1);return}this.scrollElement=e,this.scrollElement&&`ownerDocument`in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=this.scrollElement?.window??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.notify(!1,!1)})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?`forward`:`backward`:null,this.scrollOffset=e;let n=this.isScrolling;this.isScrolling=t,this.notify(n!==t,t)}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?`width`:`height`]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset==`function`?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let a=r.get(t.lane);if(a==null||t.end>a.end?r.set(t.lane,t):t.end<a.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=am(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,n,r,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i}),{key:!1}),this.getMeasurements=am(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i},a)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,o);for(let i=o;i<e;i++){let e=this.measurementsCache[i]?.measureElement;e||=e=>{let t=r(i),n=this.elementsCache.get(t);if(!e){n&&(this.observer.unobserve(n),this.elementsCache.delete(t));return}n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(t,e)),e.isConnected&&this.resizeItem(i,this.options.measureElement(e,void 0,this))};let o=r(i),c=this.options.lanes===1?s[i-1]:this.getFurthestMeasurement(s,i),l=c?c.end+this.options.gap:t+n,u=a.get(o),d=typeof u==`number`?u:this.options.estimateSize(i),f=l+d,p=c?c.lane:i%this.options.lanes;s[i]={index:i,start:l,size:d,end:f,key:o,lane:p,measureElement:e}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=am(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,n)=>this.range=e.length>0&&t>0?lfe({measurements:e,outerSize:t,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=am(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(e,t,n,r)=>t===null?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:n,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),r=this.getMeasurements()[n];if(!r||!e.isConnected){this.elementsCache.forEach((t,n)=>{t===e&&(this.observer.unobserve(e),this.elementsCache.delete(n))});return}let i=this.elementsCache.get(r.key);i!==e&&(i&&this.observer.unobserve(i),this.observer.observe(e),this.elementsCache.set(r.key,e)),this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let n=this.getMeasurements()[e];if(!n)return;let r=t-(this.itemSizeCache.get(n.key)??n.size);r!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange===void 0?n.start<this.getScrollOffset()+this.scrollAdjustments:this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this))&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!0,!1))},this.measureElement=e=>{e&&this._measureElement(e,void 0)},this.getVirtualItems=am(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(t.length!==0)return om(t[cm(0,t.length-1,e=>om(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>{let n=this.getSize(),r=this.getScrollOffset();t===`auto`&&(t=e<=r?`start`:e>=r+n?`end`:`start`),t===`start`?e=e:t===`end`?e-=n:t===`center`&&(e-=n/2);let i=this.options.horizontal?`scrollWidth`:`scrollHeight`,a=(this.scrollElement?`document`in this.scrollElement?this.scrollElement.document.documentElement[i]:this.scrollElement[i]:0)-n;return Math.max(Math.min(a,e),0)},this.getOffsetForIndex=(e,t=`auto`)=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getMeasurements()[e];if(!n)return;let r=this.getSize(),i=this.getScrollOffset();if(t===`auto`)if(n.end>=i+r-this.options.scrollPaddingEnd)t=`end`;else if(n.start<=i+this.options.scrollPaddingStart)t=`start`;else return[i,t];let a=t===`end`?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t=`start`,behavior:n}={})=>{this.cancelScrollToIndex(),n===`smooth`&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t=`auto`,behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n===`smooth`&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let r=this.getOffsetForIndex(e,t);if(!r)return;let[i,a]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),n!==`smooth`&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[t]=om(this.getOffsetForIndex(e,a));ofe(t,this.getScrollOffset())||this.scrollToIndex(e,{align:a,behavior:n})}else this.scrollToIndex(e,{align:a,behavior:n})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),t===`smooth`&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{let e=this.getMeasurements(),t;return t=e.length===0?this.options.paddingStart:this.options.lanes===1?e[e.length-1]?.end??0:Math.max(...e.slice(-this.options.lanes).map(e=>e.end)),t-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{var e,t;this.itemSizeCache=new Map,(t=(e=this.options).onChange)==null||t.call(e,this,!1)},this.setOptions(e)}},cm=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else if(a>r)t=i-1;else return i}return e>0?e-1:0}}));function yfe(e){let t=new _fe(k(e)),n=lu(t),r=t._didMount();return nd(()=>k(e).getScrollElement(),e=>{e&&t._willUpdate()},{immediate:!0}),nd(()=>k(e),e=>{t.setOptions({...e,onChange:(t,r)=>{var i;Lce(n),(i=e.onChange)==null||i.call(e,t,r)}}),t._willUpdate(),Lce(n)},{immediate:!0}),Fl(r),n}function bfe(e){return yfe(H(()=>({observeElementRect:ffe,observeElementOffset:mfe,scrollToFn:gfe,...k(e)})))}var xfe=c((()=>{vfe(),vfe(),U()}));function lm(e,t,n){let r=O(n?.value),i=H(()=>e.value!==void 0);return[H(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}var um=c((()=>{U()}));function dm(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}var fm=c((()=>{}));function pm(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return dm(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=pm();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var mm=c((()=>{fm()}));function Sfe(){let e=pm();return Nf(()=>e.dispose()),e}var Cfe=c((()=>{U(),mm()}));function wfe(){let e=Sfe();return t=>{e.dispose(),e.nextFrame(t)}}var Tfe=c((()=>{Cfe()}));function Efe(e){Qu(hm,e)}var hm,Dfe,gm,_m=c((()=>{U(),hm=Symbol(`headlessui.useid`),Dfe=0,gm=ud??function(){return $u(hm,()=>`${++Dfe}`)()}}));function vm(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}var ym=c((()=>{}));function bm(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):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,bm),r}var xm=c((()=>{})),Ofe,kfe,Sm,Afe,Cm,wm=c((()=>{Ofe=Object.defineProperty,kfe=(e,t,n)=>t in e?Ofe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sm=(e,t,n)=>(kfe(e,typeof t==`symbol`?t:t+``,n),n),Afe=class{constructor(){Sm(this,`current`,this.detect()),Sm(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 this.current===`server`}get isClient(){return this.current===`client`}detect(){return typeof window>`u`||typeof document>`u`?`server`:`client`}},Cm=new Afe}));function Tm(e){if(Cm.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=vm(e);if(t)return t.ownerDocument}return document}var Em=c((()=>{ym(),wm()}));function Dm(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Mm)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}function Om(e,t=0){return e===Tm(e)?.body?!1:bm(t,{0(){return e.matches(Mm)},1(){let t=e;for(;t!==null;){if(t.matches(Mm))return!0;t=t.parentElement}return!1}})}function jfe(e){let t=Tm(e);Ku(()=>{t&&!Om(t.activeElement,0)&&km(e)})}function km(e){e?.focus({preventScroll:!0})}function Mfe(e){return(e?.matches)?.call(e,Ife)??!1}function Am(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Nfe(e,t){return jm(Dm(),t,{relativeTo:e})}function jm(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?Am(e):e:Dm(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&Mfe(f)&&f.select(),2}var Mm,Nm,Pm,Pfe,Fm,Ffe,Ife,Im=c((()=>{U(),xm(),Em(),Mm=[`[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(`,`),Nm=(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))(Nm||{}),Pm=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(Pm||{}),Pfe=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(Pfe||{}),Fm=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(Fm||{}),Ffe=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(Ffe||{}),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=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible=``)},!0)),Ife=[`textarea`,`input`].join(`,`)}));function Lfe(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Rfe(){return/Android/gi.test(window.navigator.userAgent)}function zfe(){return Lfe()||Rfe()}var Lm=c((()=>{}));function Rm(e,t,n){Cm.isServer||td(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}var Bfe=c((()=>{U(),wm()}));function Vfe(e,t,n){Cm.isServer||td(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}var Hfe=c((()=>{U(),wm()}));function zm(e,t,n=H(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:vm(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!Om(a,Fm.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=O(null);Rm(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Rm(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Rm(`click`,e=>{zfe()||(i.value&&=(r(e,()=>i.value),null))},!0),Rm(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Vfe(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Bm=c((()=>{U(),ym(),Im(),Lm(),Bfe(),Hfe()}));function Ufe(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Vm(e,t){let n=O(Ufe(e.value.type,e.value.as));return Af(()=>{n.value=Ufe(e.value.type,e.value.as)}),td(()=>{var e;n.value||vm(t)&&vm(t)instanceof HTMLButtonElement&&!((e=vm(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}var Hm=c((()=>{U(),ym()}));function Wfe(e){return[e.screenX,e.screenY]}function Um(){let e=O([-1,-1]);return{wasMoved(t){let n=Wfe(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Wfe(t)}}}var Wm=c((()=>{U()}));function Gm({container:e,accept:t,walk:n,enabled:r}){td(()=>{let i=e.value;if(!i||r!==void 0&&!r.value)return;let a=Tm(e);if(!a)return;let o=Object.assign(e=>t(e),{acceptNode:t}),s=a.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,o,!1);for(;s.nextNode();)n(s.currentNode)})}var Km=c((()=>{U(),Em()}));function qm({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Kfe(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Jm(s):t&1?bm((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Jm({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Jm(s)}function Jm({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Xm(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=Gfe(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!qfe(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
|
||
`),``,`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(`
|
||
`)].join(`
|
||
`));let r=Kfe(e.props??{},o,c),a=Hd(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return Yd(a,Object.assign({},o,c),{default:()=>s})}function Gfe(e){return e.flatMap(e=>e.type===B?Gfe(e.children):[e])}function Kfe(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function Ym(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Xm(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function qfe(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Zm,Qm,$m=c((()=>{U(),xm(),Zm=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(Zm||{}),Qm=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Qm||{})})),eh,th,nh=c((()=>{U(),$m(),eh=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(eh||{}),th=j({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return qm({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&4)==4?!0: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`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}})}));function Jfe(){return rh()!==null}function rh(){return $u(ah,null)}function ih(e){Qu(ah,e)}var ah,oh,sh=c((()=>{U(),ah=Symbol(`Context`),oh=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(oh||{})})),ch,lh=c((()=>{ch=(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))(ch||{})})),uh,Yfe=c((()=>{uh=(e=>(e[e.Left=0]=`Left`,e[e.Right=2]=`Right`,e))(uh||{})}));function Xfe(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Zfe=c((()=>{})),dh,Qfe=c((()=>{Zfe(),dh=[],Xfe(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&dh[0]!==e.target&&(dh.unshift(e.target),dh=dh.filter(e=>e!=null&&e.isConnected),dh.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 $fe(e){throw Error(`Unexpected object: `+e)}function fh(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:$fe(e)}}var ph,mh=c((()=>{ph=(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))(ph||{})}));function hh(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))tpe(n,epe(t,r),i);return n}function epe(e,t){return e?e+`[`+t+`]`:t}function tpe(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())tpe(e,epe(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n==`boolean`?e.push([t,n?`1`:`0`]):typeof n==`string`?e.push([t,n]):typeof n==`number`?e.push([t,`${n}`]):n==null?e.push([t,``]):hh(n,t,e)}function npe(e){var t;let n=e?.form??e.closest(`form`);if(n){for(let t of n.elements)if(t!==e&&(t.tagName===`INPUT`&&t.type===`submit`||t.tagName===`BUTTON`&&t.type===`submit`||t.nodeName===`INPUT`&&t.type===`image`)){t.click();return}(t=n.requestSubmit)==null||t.call(n)}}var gh=c((()=>{}));function rpe(e,t){return e===t}function _h(e){let t=$u(vh,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_h),t}return t}var ipe,ape,ope,vh,yh,spe,cpe=c((()=>{xfe(),U(),um(),Tfe(),_m(),Bm(),Hm(),Wm(),Km(),nh(),sh(),lh(),Yfe(),Qfe(),mh(),mm(),ym(),Im(),gh(),xm(),Em(),Lm(),$m(),ipe=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(ipe||{}),ape=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(ape||{}),ope=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Focus=1]=`Focus`,e[e.Other=2]=`Other`,e))(ope||{}),vh=Symbol(`ComboboxContext`),yh=Symbol(`VirtualContext`),spe=j({name:`VirtualProvider`,setup(e,{slots:t}){let n=_h(`VirtualProvider`),r=H(()=>{let e=vm(n.optionsRef);if(!e)return{start:0,end:0};let t=window.getComputedStyle(e);return{start:parseFloat(t.paddingBlockStart||t.paddingTop),end:parseFloat(t.paddingBlockEnd||t.paddingBottom)}}),i=bfe(H(()=>({scrollPaddingStart:r.value.start,scrollPaddingEnd:r.value.end,count:n.virtual.value.options.length,estimateSize(){return 40},getScrollElement(){return vm(n.optionsRef)},overscan:12}))),a=H(()=>n.virtual.value?.options),o=O(0);return nd([a],()=>{o.value+=1}),Qu(yh,n.virtual.value?i:null),()=>[Yd(`div`,{style:{position:`relative`,width:`100%`,height:`${i.value.getTotalSize()}px`},ref:e=>{if(e){if(typeof process<`u`&&process.env.JEST_WORKER_ID!==void 0||n.activationTrigger.value===0)return;n.activeOptionIndex.value!==null&&n.virtual.value.options.length>n.activeOptionIndex.value&&i.value.scrollToIndex(n.activeOptionIndex.value)}}},i.value.getVirtualItems().map(e=>Hd(t.default({option:n.virtual.value.options[e.index],open:n.comboboxState.value===0})[0],{key:`${o.value}-${e.index}`,"data-index":e.index,"aria-setsize":n.virtual.value.options.length,"aria-posinset":e.index+1,style:{position:`absolute`,top:0,left:0,transform:`translateY(${e.start}px)`,overflowAnchor:`none`}})))]}}),j({name:`Combobox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],nullable:!0,default:null},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},nullable:{type:Boolean,default:!1},multiple:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1},virtual:{type:Object,default:null}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let i=O(1),a=O(null),o=O(null),s=O(null),c=O(null),l=O({static:!1,hold:!1}),u=O([]),d=O(null),f=O(2),p=O(!1);function m(e=e=>e){let t=d.value===null?null:u.value[d.value],n=e(u.value.slice()),r=n.length>0&&n[0].dataRef.order.value!==null?n.sort((e,t)=>e.dataRef.order.value-t.dataRef.order.value):Am(n,e=>vm(e.dataRef.domRef)),i=t?r.indexOf(t):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let h=H(()=>e.multiple?1:0),g=H(()=>e.nullable),[_,v]=lm(H(()=>e.modelValue),e=>r(`update:modelValue`,e),H(()=>e.defaultValue)),y=H(()=>_.value===void 0?bm(h.value,{1:[],0:void 0}):_.value),b=null,x=null;function ee(e){return bm(h.value,{0(){return v?.(e)},1:()=>{let t=su(S.value.value).slice(),n=su(e),r=t.findIndex(e=>S.compare(n,su(e)));return r===-1?t.push(n):t.splice(r,1),v?.(t)}})}nd([H(()=>{})],([e],[t])=>{if(S.virtual.value&&e&&t&&d.value!==null){let n=e.indexOf(t[d.value]);n===-1?d.value=null:d.value=n}});let S={comboboxState:i,value:y,mode:h,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by===null?rpe(t,n):e.by(t,n)},calculateIndex(t){return S.virtual.value?e.by===null?S.virtual.value.options.indexOf(t):S.virtual.value.options.findIndex(e=>S.compare(e,t)):u.value.findIndex(e=>S.compare(e.dataRef.value,t))},defaultValue:H(()=>e.defaultValue),nullable:g,immediate:H(()=>!1),virtual:H(()=>null),inputRef:o,labelRef:a,buttonRef:s,optionsRef:c,disabled:H(()=>e.disabled),options:u,change(e){v(e)},activeOptionIndex:H(()=>{if(p.value&&d.value===null&&(S.virtual.value?S.virtual.value.options.length>0:u.value.length>0)){if(S.virtual.value){let e=S.virtual.value.options.findIndex(e=>{var t;return!((t=S.virtual.value)!=null&&t.disabled(e))});if(e!==-1)return e}let e=u.value.findIndex(e=>!e.dataRef.disabled);if(e!==-1)return e}return d.value}),activationTrigger:f,optionsPropsRef:l,closeCombobox(){p.value=!1,!e.disabled&&i.value!==1&&(i.value=1,d.value=null)},openCombobox(){if(p.value=!0,!e.disabled&&i.value!==0){if(S.value.value){let e=S.calculateIndex(S.value.value);e!==-1&&(d.value=e)}i.value=0}},setActivationTrigger(e){f.value=e},goToOption(t,n,r){p.value=!1,b!==null&&cancelAnimationFrame(b),b=requestAnimationFrame(()=>{if(e.disabled||c.value&&!l.value.static&&i.value===1)return;if(S.virtual.value){d.value=t===ph.Specific?n:fh({focus:t},{resolveItems:()=>S.virtual.value.options,resolveActiveIndex:()=>S.activeOptionIndex.value??S.virtual.value.options.findIndex(e=>{var t;return!((t=S.virtual.value)!=null&&t.disabled(e))})??null,resolveDisabled:e=>S.virtual.value.disabled(e),resolveId(){throw Error(`Function not implemented.`)}}),f.value=r??2;return}let a=m();if(a.activeOptionIndex===null){let e=a.options.findIndex(e=>!e.dataRef.disabled);e!==-1&&(a.activeOptionIndex=e)}d.value=t===ph.Specific?n:fh({focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled}),f.value=r??2,u.value=a.options})},selectOption(e){let t=u.value.find(t=>t.id===e);if(!t)return;let{dataRef:n}=t;ee(n.value)},selectActiveOption(){if(S.activeOptionIndex.value!==null){if(S.virtual.value)ee(S.virtual.value.options[S.activeOptionIndex.value]);else{let{dataRef:e}=u.value[S.activeOptionIndex.value];ee(e.value)}S.goToOption(ph.Specific,S.activeOptionIndex.value)}},registerOption(e,t){let n=$l({id:e,dataRef:t});if(S.virtual.value){u.value.push(n);return}x&&cancelAnimationFrame(x);let r=m(e=>(e.push(n),e));d.value===null&&S.isSelected(t.value.value)&&(r.activeOptionIndex=r.options.indexOf(n)),u.value=r.options,d.value=r.activeOptionIndex,f.value=2,r.options.some(e=>!vm(e.dataRef.domRef))&&(x=requestAnimationFrame(()=>{let e=m();u.value=e.options,d.value=e.activeOptionIndex}))},unregisterOption(e,t){if(b!==null&&cancelAnimationFrame(b),t&&(p.value=!0),S.virtual.value){u.value=u.value.filter(t=>t.id!==e);return}let n=m(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});u.value=n.options,d.value=n.activeOptionIndex,f.value=2},isSelected(e){return bm(h.value,{0:()=>S.compare(su(S.value.value),su(e)),1:()=>su(S.value.value).some(t=>S.compare(su(t),su(e)))})},isActive(e){return d.value===S.calculateIndex(e)}};zm([o,s,c],()=>S.closeCombobox(),H(()=>i.value===0)),Qu(vh,S),ih(H(()=>bm(i.value,{0:oh.Open,1:oh.Closed})));let C=H(()=>vm(o)?.closest(`form`));return Af(()=>{nd([C],()=>{if(!C.value||e.defaultValue===void 0)return;function t(){S.change(e.defaultValue)}return C.value.addEventListener(`reset`,t),()=>{var e;(e=C.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,disabled:a,form:o,...s}=e,c={open:i.value===0,disabled:a,activeIndex:S.activeOptionIndex.value,activeOption:S.activeOptionIndex.value===null?null:S.virtual.value?S.virtual.value.options[S.activeOptionIndex.value??0]:S.options.value[S.activeOptionIndex.value]?.dataRef.value??null,value:y.value};return Yd(B,[...r!=null&&y.value!=null?hh({[r]:y.value}).map(([e,t])=>Yd(th,Ym({features:eh.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:o,disabled:a,name:e,value:t}))):[],qm({theirProps:{...n,...Xm(s,[`by`,`defaultValue`,`immediate`,`modelValue`,`multiple`,`nullable`,`onUpdate:modelValue`,`virtual`])},ourProps:{},slot:c,slots:t,attrs:n,name:`Combobox`})])}}}),j({name:`ComboboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-combobox-label-${gm()}`,i=_h(`ComboboxLabel`);function a(){var e;(e=vm(i.inputRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.comboboxState.value===0,disabled:i.disabled.value},{...s}=e;return qm({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ComboboxLabel`})}}}),j({name:`ComboboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-combobox-button-${gm()}`,a=_h(`ComboboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){a.disabled.value||(a.comboboxState.value===0?a.closeCombobox():(e.preventDefault(),a.openCombobox()),Ku(()=>vm(a.inputRef)?.focus({preventScroll:!0})))}function s(e){switch(e.key){case ch.ArrowDown:e.preventDefault(),e.stopPropagation(),a.comboboxState.value===1&&a.openCombobox(),Ku(()=>a.inputRef.value?.focus({preventScroll:!0}));return;case ch.ArrowUp:e.preventDefault(),e.stopPropagation(),a.comboboxState.value===1&&(a.openCombobox(),Ku(()=>{a.value.value||a.goToOption(ph.Last)})),Ku(()=>a.inputRef.value?.focus({preventScroll:!0}));return;case ch.Escape:if(a.comboboxState.value!==0)return;e.preventDefault(),a.optionsRef.value&&!a.optionsPropsRef.value.static&&e.stopPropagation(),a.closeCombobox(),Ku(()=>a.inputRef.value?.focus({preventScroll:!0}));return}}let c=Vm(H(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.comboboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...l}=e;return qm({ourProps:{ref:a.buttonRef,id:i,type:c.value,tabindex:`-1`,"aria-haspopup":`listbox`,"aria-controls":vm(a.optionsRef)?.id,"aria-expanded":a.comboboxState.value===0,"aria-labelledby":a.labelRef.value?[vm(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:s,onClick:o},theirProps:l,slot:r,attrs:t,slots:n,name:`ComboboxButton`})}}}),j({name:`ComboboxInput`,props:{as:{type:[Object,String],default:`input`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},displayValue:{type:Function},defaultValue:{type:String,default:void 0},id:{type:String,default:null}},emits:{change:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-combobox-input-${gm()}`,o=_h(`ComboboxInput`),s=H(()=>Tm(vm(o.inputRef))),c={value:!1};i({el:o.inputRef,$el:o.inputRef});function l(){o.change(null);let e=vm(o.optionsRef);e&&(e.scrollTop=0),o.goToOption(ph.Nothing)}let u=H(()=>{let t=o.value.value;return vm(o.inputRef)?e.displayValue!==void 0&&t!==void 0?e.displayValue(t)??``:typeof t==`string`?t:``:``});Af(()=>{nd([u,o.comboboxState,s],([e,t],[n,r])=>{if(c.value)return;let i=vm(o.inputRef);i&&((r===0&&t===1||e!==n)&&(i.value=e),requestAnimationFrame(()=>{if(c.value||!i||s.value?.activeElement!==i)return;let{selectionStart:e,selectionEnd:t}=i;Math.abs((t??0)-(e??0))===0&&e===0&&i.setSelectionRange(i.value.length,i.value.length)}))},{immediate:!0}),nd([o.comboboxState],([e],[t])=>{if(e===0&&t===1){if(c.value)return;let e=vm(o.inputRef);if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:i}=e;e.value=``,e.value=t,i===null?e.setSelectionRange(n,r):e.setSelectionRange(n,r,i)}})});let d=O(!1);function f(){d.value=!0}function p(){pm().nextFrame(()=>{d.value=!1})}let m=wfe();function h(e){switch(c.value=!0,m(()=>{c.value=!1}),e.key){case ch.Enter:if(c.value=!1,o.comboboxState.value!==0||d.value)return;if(e.preventDefault(),e.stopPropagation(),o.activeOptionIndex.value===null){o.closeCombobox();return}o.selectActiveOption(),o.mode.value===0&&o.closeCombobox();break;case ch.ArrowDown:return c.value=!1,e.preventDefault(),e.stopPropagation(),bm(o.comboboxState.value,{0:()=>o.goToOption(ph.Next),1:()=>o.openCombobox()});case ch.ArrowUp:return c.value=!1,e.preventDefault(),e.stopPropagation(),bm(o.comboboxState.value,{0:()=>o.goToOption(ph.Previous),1:()=>{o.openCombobox(),Ku(()=>{o.value.value||o.goToOption(ph.Last)})}});case ch.Home:if(e.shiftKey)break;return c.value=!1,e.preventDefault(),e.stopPropagation(),o.goToOption(ph.First);case ch.PageUp:return c.value=!1,e.preventDefault(),e.stopPropagation(),o.goToOption(ph.First);case ch.End:if(e.shiftKey)break;return c.value=!1,e.preventDefault(),e.stopPropagation(),o.goToOption(ph.Last);case ch.PageDown:return c.value=!1,e.preventDefault(),e.stopPropagation(),o.goToOption(ph.Last);case ch.Escape:if(c.value=!1,o.comboboxState.value!==0)return;e.preventDefault(),o.optionsRef.value&&!o.optionsPropsRef.value.static&&e.stopPropagation(),o.nullable.value&&o.mode.value===0&&o.value.value===null&&l(),o.closeCombobox();break;case ch.Tab:if(c.value=!1,o.comboboxState.value!==0)return;o.mode.value===0&&o.activationTrigger.value!==1&&o.selectActiveOption(),o.closeCombobox();break}}function g(e){t(`change`,e),o.nullable.value&&o.mode.value===0&&e.target.value===``&&l(),o.openCombobox()}function _(e){var t,n;let r=e.relatedTarget??dh.find(t=>t!==e.currentTarget);if(c.value=!1,!((t=vm(o.optionsRef))!=null&&t.contains(r))&&!((n=vm(o.buttonRef))!=null&&n.contains(r))&&o.comboboxState.value===0)return e.preventDefault(),o.mode.value===0&&(o.nullable.value&&o.value.value===null?l():o.activationTrigger.value!==1&&o.selectActiveOption()),o.closeCombobox()}function v(e){var t,n;let r=e.relatedTarget??dh.find(t=>t!==e.currentTarget);(t=vm(o.buttonRef))!=null&&t.contains(r)||(n=vm(o.optionsRef))!=null&&n.contains(r)||o.disabled.value||o.immediate.value&&o.comboboxState.value!==0&&(o.openCombobox(),pm().nextFrame(()=>{o.setActivationTrigger(1)}))}let y=H(()=>e.defaultValue??(o.defaultValue.value===void 0?null:e.displayValue?.call(e,o.defaultValue.value))??o.defaultValue.value??``);return()=>{let t={open:o.comboboxState.value===0},{displayValue:i,onChange:s,...c}=e;return qm({ourProps:{"aria-controls":o.optionsRef.value?.id,"aria-expanded":o.comboboxState.value===0,"aria-activedescendant":o.activeOptionIndex.value===null?void 0:o.virtual.value?o.options.value.find(e=>!o.virtual.value.disabled(e.dataRef.value)&&o.compare(e.dataRef.value,o.virtual.value.options[o.activeOptionIndex.value]))?.id:o.options.value[o.activeOptionIndex.value]?.id,"aria-labelledby":vm(o.labelRef)?.id??vm(o.buttonRef)?.id,"aria-autocomplete":`list`,id:a,onCompositionstart:f,onCompositionend:p,onKeydown:h,onInput:g,onFocus:v,onBlur:_,role:`combobox`,type:n.type??`text`,tabIndex:0,ref:o.inputRef,defaultValue:y.value,disabled:o.disabled.value===!0?!0:void 0},theirProps:c,slot:t,attrs:n,slots:r,features:Zm.RenderStrategy|Zm.Static,name:`ComboboxInput`})}}}),j({name:`ComboboxOptions`,props:{as:{type:[Object,String],default:`ul`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},hold:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let i=_h(`ComboboxOptions`),a=`headlessui-combobox-options-${gm()}`;r({el:i.optionsRef,$el:i.optionsRef}),td(()=>{i.optionsPropsRef.value.static=e.static}),td(()=>{i.optionsPropsRef.value.hold=e.hold});let o=rh(),s=H(()=>o===null?i.comboboxState.value===0:(o.value&oh.Open)===oh.Open);Gm({container:H(()=>vm(i.optionsRef)),enabled:H(()=>i.comboboxState.value===0),accept(e){return e.getAttribute(`role`)===`option`?NodeFilter.FILTER_REJECT:e.hasAttribute(`role`)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute(`role`,`none`)}});function c(e){e.preventDefault()}return()=>{let r={open:i.comboboxState.value===0};return qm({ourProps:{"aria-labelledby":vm(i.labelRef)?.id??vm(i.buttonRef)?.id,id:a,ref:i.optionsRef,role:`listbox`,"aria-multiselectable":i.mode.value===1?!0:void 0,onMousedown:c},theirProps:Xm(e,[`hold`]),slot:r,attrs:t,slots:i.virtual.value&&i.comboboxState.value===0?{...n,default:()=>[Yd(spe,{},n.default)]}:n,features:Zm.RenderStrategy|Zm.Static,visible:s.value,name:`ComboboxOptions`})}}}),j({name:`ComboboxOption`,props:{as:{type:[Object,String],default:`li`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},order:{type:[Number],default:null}},setup(e,{slots:t,attrs:n,expose:r}){let i=_h(`ComboboxOption`),a=`headlessui-combobox-option-${gm()}`,o=O(null),s=H(()=>e.disabled);r({el:o,$el:o});let c=H(()=>i.virtual.value?i.activeOptionIndex.value===i.calculateIndex(e.value):i.activeOptionIndex.value===null?!1:i.options.value[i.activeOptionIndex.value]?.id===a),l=H(()=>i.isSelected(e.value)),u=$u(yh,null),d=H(()=>({disabled:e.disabled,value:e.value,domRef:o,order:H(()=>e.order)}));Af(()=>i.registerOption(a,d)),Nf(()=>i.unregisterOption(a,c.value)),td(()=>{let e=vm(o);e&&u?.value.measureElement(e)}),td(()=>{i.comboboxState.value===0&&c.value&&(i.virtual.value||i.activationTrigger.value!==0&&Ku(()=>{var e;return((e=vm(o))?.scrollIntoView)?.call(e,{block:`nearest`})}))});function f(e){e.preventDefault(),e.button===uh.Left&&(s.value||(i.selectOption(a),zfe()||requestAnimationFrame(()=>vm(i.inputRef)?.focus({preventScroll:!0})),i.mode.value===0&&i.closeCombobox()))}function p(){var t;if(e.disabled||(t=i.virtual.value)!=null&&t.disabled(e.value))return i.goToOption(ph.Nothing);let n=i.calculateIndex(e.value);i.goToOption(ph.Specific,n)}let m=Um();function h(e){m.update(e)}function g(t){var n;if(!m.wasMoved(t)||e.disabled||(n=i.virtual.value)!=null&&n.disabled(e.value)||c.value)return;let r=i.calculateIndex(e.value);i.goToOption(ph.Specific,r,0)}function _(t){var n;m.wasMoved(t)&&(e.disabled||(n=i.virtual.value)!=null&&n.disabled(e.value)||c.value&&(i.optionsPropsRef.value.hold||i.goToOption(ph.Nothing)))}return()=>{let{disabled:r}=e,i={active:c.value,selected:l.value,disabled:r};return qm({ourProps:{id:a,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0?!0:void 0,"aria-selected":l.value,disabled:void 0,onMousedown:f,onFocus:p,onPointerenter:h,onMouseenter:h,onPointermove:g,onMousemove:g,onPointerleave:_,onMouseleave:_},theirProps:Xm(e,[`order`,`value`]),slot:i,attrs:n,slots:t,name:`ComboboxOption`})}}})}));function bh(e,t,n,r){Cm.isServer||td(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var xh=c((()=>{U(),wm()}));function Sh(){let e=O(0);return Vfe(`keydown`,t=>{t.key===`Tab`&&(e.value=t.shiftKey?1:0)}),e}var Ch,lpe=c((()=>{U(),Hfe(),Ch=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(Ch||{})}));function upe(e){if(!e)return new Set;if(typeof e==`function`)return new Set(e());let t=new Set;for(let n of e.value){let e=vm(n);e instanceof HTMLElement&&t.add(e)}return t}function dpe(e){let t=O(dh.slice());return nd([e],([e],[n])=>{n===!0&&e===!1?dm(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=dh.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function fpe({ownerDocument:e},t){let n=dpe(t);Af(()=>{td(()=>{t.value||e.value?.activeElement===e.value?.body&&km(n())},{flush:`post`})}),Nf(()=>{t.value&&km(n())})}function ppe({ownerDocument:e,container:t,initialFocus:n},r){let i=O(null),a=O(!1);return Af(()=>a.value=!0),Nf(()=>a.value=!1),Af(()=>{nd([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=vm(t);c&&dm(()=>{if(!a.value)return;let t=vm(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?km(t):jm(c,Nm.First|Nm.NoScroll)===Pm.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function mpe({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){bh(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=upe(n);vm(t)instanceof HTMLElement&&a.add(vm(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?hpe(a,s)?(r.value=s,km(s)):(e.preventDefault(),e.stopPropagation(),km(o)):km(r.value)},!0)}function hpe(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var wh,Th,gpe=c((()=>{U(),xh(),lpe(),nh(),Qfe(),ym(),Im(),xm(),fm(),Em(),$m(),wh=(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))(wh||{}),Th=Object.assign(j({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:O(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=O(null);r({el:i,$el:i});let a=H(()=>Tm(i)),o=O(!1);Af(()=>o.value=!0),Nf(()=>o.value=!1),fpe({ownerDocument:a},H(()=>o.value&&!!(e.features&16)));let s=ppe({ownerDocument:a,container:i,initialFocus:H(()=>e.initialFocus)},H(()=>o.value&&!!(e.features&2)));mpe({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},H(()=>o.value&&!!(e.features&8)));let c=Sh();function l(e){let t=vm(i);t&&(e=>e())(()=>{bm(c.value,{[Ch.Forwards]:()=>{jm(t,Nm.First,{skipElements:[e.relatedTarget]})},[Ch.Backwards]:()=>{jm(t,Nm.Last,{skipElements:[e.relatedTarget]})}})})}let u=O(!1);function d(e){e.key===`Tab`&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(t){if(!o.value)return;let n=upe(e.containers);vm(i)instanceof HTMLElement&&n.add(vm(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(hpe(n,r)||(u.value?jm(vm(i),bm(c.value,{[Ch.Forwards]:()=>Nm.Next,[Ch.Backwards]:()=>Nm.Previous})|Nm.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&km(t.target)))}return()=>{let r={},a={ref:i,onKeydown:d,onFocusout:f},{features:o,initialFocus:s,containers:c,...u}=e;return Yd(B,[!!(o&4)&&Yd(th,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:eh.Focusable}),qm({ourProps:a,theirProps:{...t,...u},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&Yd(th,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:l,features:eh.Focusable})])}}}),{features:wh})}));function _pe(e){let t=lu(e.getSnapshot());return Nf(e.subscribe(()=>{t.value=e.getSnapshot()})),t}var vpe=c((()=>{U()}));function ype(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}var bpe=c((()=>{}));function xpe(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}var Spe=c((()=>{}));function Cpe(){return Lfe()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=pm();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)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(()=>{n!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}var wpe=c((()=>{mm(),Lm()}));function Tpe(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}var Epe=c((()=>{}));function Dpe(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var Eh,Ope=c((()=>{mm(),bpe(),Spe(),wpe(),Epe(),Eh=ype(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:pm(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Dpe(n)},i=[Cpe(),xpe(),Tpe()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}}),Eh.subscribe(()=>{let e=Eh.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&Eh.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&Eh.dispatch(`TEARDOWN`,n)}})}));function kpe(e,t,n){let r=_pe(Eh),i=H(()=>{let t=e.value?r.value.get(e.value):void 0;return t?t.count>0:!1});return nd([e,t],([e,t],[r],i)=>{if(!e||!t)return;Eh.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(Eh.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var Ape=c((()=>{U(),vpe(),Ope()}));function jpe(e,t=O(!0)){td(n=>{if(!t.value)return;let r=vm(e);if(!r)return;n(function(){if(!r)return;let e=Oh.get(r)??1;if(e===1?Oh.delete(r):Oh.set(r,e-1),e!==1)return;let t=Dh.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,Dh.delete(r))});let i=Oh.get(r)??0;Oh.set(r,i+1),i===0&&(Dh.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}var Dh,Oh,Mpe=c((()=>{U(),ym(),Dh=new Map,Oh=new Map}));function Npe({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=O(null),i=Tm(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(vm(r))||e.contains(vm(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?Yd(th,{features:eh.Hidden,ref:r}):null}}}function Ppe(){let e=O(null);return{mainTreeNodeRef:e,MainTreeNode(){return Yd(th,{features:eh.Hidden,ref:e})}}}var Fpe=c((()=>{U(),nh(),ym(),Em()}));function Ipe(){return $u(kh,!1)}var kh,Ah,Lpe=c((()=>{U(),$m(),kh=Symbol(`ForcePortalRootContext`),Ah=j({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return Qu(kh,e.force),()=>{let{force:r,...i}=e;return qm({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}})}));function Rpe(){return $u(jh,()=>{})}function zpe({type:e,enabled:t,element:n,onUpdate:r}){let i=Rpe();function a(...e){r?.(...e),i(...e)}Af(()=>{nd(t,(t,r)=>{t?a(0,e,n):r===!0&&a(1,e,n)},{immediate:!0,flush:`sync`})}),Nf(()=>{t.value&&a(1,e,n)}),Qu(jh,a)}var jh,Mh,Bpe=c((()=>{U(),jh=Symbol(`StackContext`),Mh=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(Mh||{})}));function Vpe(){let e=$u(Ph,null);if(e===null)throw Error(`Missing parent`);return e}function Nh({slot:e=O({}),name:t=`Description`,props:n={}}={}){let r=O([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return Qu(Ph,{register:i,slot:e,name:t,props:n}),H(()=>r.value.length>0?r.value.join(` `):void 0)}var Ph,Fh=c((()=>{U(),_m(),$m(),Ph=Symbol(`DescriptionContext`),j({name:`Description`,props:{as:{type:[Object,String],default:`p`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-description-${gm()}`,i=Vpe();return Af(()=>Nf(i.register(r))),()=>{let{name:a=`Description`,slot:o=O({}),props:s={}}=i,{...c}=e;return qm({ourProps:{...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:k(n)}),{}),id:r},theirProps:c,slot:o.value,attrs:t,slots:n,name:a})}}})}));function Hpe(e){let t=Tm(e);if(!t){if(e===null)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById(`headlessui-portal-root`);if(n)return n;let r=t.createElement(`div`);return r.setAttribute(`id`,`headlessui-portal-root`),t.body.appendChild(r)}function Upe(e){return Ih.get(e)??0}function Wpe(e,t){let n=t(Upe(e));return n<=0?Ih.delete(e):Ih.set(e,n),n}function Gpe(){let e=$u(Rh,null),t=O([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,j({name:`PortalWrapper`,setup(e,{slots:t}){return Qu(Rh,i),()=>t.default?.call(t)}})]}var Ih,Lh,Rh,zh,Kpe,qpe=c((()=>{U(),Lpe(),ym(),Em(),$m(),Ih=new WeakMap,Lh=j({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=O(null),i=H(()=>Tm(r)),a=Ipe(),o=$u(zh,null),s=O(a===!0||o==null?Hpe(r.value):o.resolveTarget());s.value&&Wpe(s.value,e=>e+1);let c=O(!1);Af(()=>{c.value=!0}),td(()=>{a||o!=null&&(s.value=o.resolveTarget())});let l=$u(Rh,null),u=!1,d=cp();return nd(r,()=>{if(u||!l)return;let e=vm(r);e&&(Nf(l.register(e),d),u=!0)}),Nf(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||Wpe(s.value,e=>e-1)||s.value.children.length>0||(e=s.value.parentElement)==null||e.removeChild(s.value)}),()=>{if(!c.value||s.value===null)return null;let i={ref:r,"data-headlessui-portal":``};return Yd(hf,{to:s.value},qm({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),Rh=Symbol(`PortalParentContext`),zh=Symbol(`PortalGroupContext`),Kpe=j({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return Qu(zh,$l({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return qm({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}})}));function Bh(e){let t=$u(Vh,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bh),t}return t}var Jpe,Vh,Hh,Ype,Xpe,Zpe,Qpe=c((()=>{U(),gpe(),Ape(),xh(),_m(),Mpe(),Bm(),Fpe(),sh(),Lpe(),Bpe(),lh(),ym(),xm(),Em(),$m(),Fh(),qpe(),Jpe=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Jpe||{}),Vh=Symbol(`DialogContext`),Hh=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,Ype=j({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:Hh},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:`dialog`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-dialog-${gm()}`,o=O(!1);Af(()=>{o.value=!0});let s=!1,c=H(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=O(0),u=rh(),d=H(()=>e.open===Hh&&u!==null?(u.value&oh.Open)===oh.Open:e.open),f=O(null),p=H(()=>Tm(f));if(i({el:f,$el:f}),!(e.open!==Hh||u!==null))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===Hh?void 0:e.open}`);let m=H(()=>o.value&&d.value?0:1),h=H(()=>m.value===0),g=H(()=>l.value>1),_=$u(Vh,null)!==null,[v,y]=Gpe(),{resolveContainers:b,mainTreeNodeRef:x,MainTreeNode:ee}=Npe({portals:v,defaultContainers:[H(()=>ie.panelRef.value??f.value)]}),S=H(()=>g.value?`parent`:`leaf`),C=H(()=>u===null?!1:(u.value&oh.Closing)===oh.Closing),te=H(()=>_||C.value?!1:h.value);jpe(H(()=>Array.from(p.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id===`headlessui-portal-root`?!1:e.contains(vm(x))&&e instanceof HTMLElement)??null),te);let ne=H(()=>g.value?!0:h.value);jpe(H(()=>Array.from(p.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(vm(x))&&e instanceof HTMLElement)??null),ne),zpe({type:`Dialog`,enabled:H(()=>m.value===0),element:f,onUpdate:(e,t)=>{if(t===`Dialog`)return bm(e,{[Mh.Add]:()=>l.value+=1,[Mh.Remove]:()=>--l.value})}});let re=Nh({name:`DialogDescription`,slot:H(()=>({open:d.value}))}),w=O(null),ie={titleId:w,panelRef:O(null),dialogState:m,setTitleId(e){w.value!==e&&(w.value=e)},close(){t(`close`,!1)}};Qu(Vh,ie),zm(b,(e,t)=>{e.preventDefault(),ie.close(),Ku(()=>t?.focus())},H(()=>!(!h.value||g.value)));let ae=H(()=>!(g.value||m.value!==0));return bh(p.value?.defaultView,`keydown`,e=>{ae.value&&(e.defaultPrevented||e.key===ch.Escape&&(e.preventDefault(),e.stopPropagation(),ie.close()))}),kpe(p,H(()=>!(C.value||m.value!==0||_)),e=>({containers:[...e.containers??[],b]})),td(e=>{if(m.value!==0)return;let t=vm(f);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&ie.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:f,id:a,role:c.value,"aria-modal":m.value===0?!0:void 0,"aria-labelledby":w.value,"aria-describedby":re.value},l={open:m.value===0};return Yd(Ah,{force:!0},()=>[Yd(Lh,()=>Yd(Kpe,{target:f.value},()=>Yd(Ah,{force:!1},()=>Yd(Th,{initialFocus:i,containers:b,features:h.value?bm(S.value,{parent:Th.features.RestoreFocus,leaf:Th.features.All&~Th.features.FocusLock}):Th.features.None},()=>Yd(y,{},()=>qm({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:m.value===0,features:Zm.RenderStrategy|Zm.Static,name:`Dialog`})))))),Yd(ee)])}}}),j({name:`DialogOverlay`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-overlay-${gm()}`,i=Bh(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return qm({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),j({name:`DialogBackdrop`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-backdrop-${gm()}`,a=Bh(`DialogBackdrop`),o=O(null);return r({el:o,$el:o}),Af(()=>{if(a.panelRef.value===null)throw Error(`A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.`)}),()=>{let{...r}=e,s={id:i,ref:o,"aria-hidden":!0};return Yd(Ah,{force:!0},()=>Yd(Lh,()=>qm({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}}),Xpe=j({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${gm()}`,a=Bh(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return qm({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),Zpe=j({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${gm()}`,i=Bh(`DialogTitle`);return Af(()=>{i.setTitleId(r),Nf(()=>i.setTitleId(null))}),()=>{let{...a}=e;return qm({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}})}));function Uh(e){let t=$u(Wh,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Uh),t}return t}function $pe(){return $u(Gh,null)}var eme,Wh,Gh,Kh,qh,Jh,tme=c((()=>{U(),_m(),Hm(),sh(),lh(),ym(),xm(),$m(),eme=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(eme||{}),Wh=Symbol(`DisclosureContext`),Gh=Symbol(`DisclosurePanelContext`),Kh=j({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=O(e.defaultOpen?0:1),i=O(null),a=O(null),o={buttonId:O(`headlessui-disclosure-button-${gm()}`),panelId:O(`headlessui-disclosure-panel-${gm()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=bm(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(e){o.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?vm(e):vm(o.button):vm(o.button))?.focus()}};return Qu(Wh,o),ih(H(()=>bm(r.value,{0:oh.Open,1:oh.Closed}))),()=>{let{defaultOpen:i,...a}=e;return qm({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),qh=j({name:`DisclosureButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=Uh(`DisclosureButton`),a=$pe(),o=H(()=>a===null?!1:a.value===i.panelId.value);Af(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),Nf(()=>{o.value||(i.buttonId.value=null)});let s=O(null);r({el:s,$el:s}),o.value||td(()=>{i.button.value=s.value});let c=Vm(H(()=>({as:e.as,type:t.type})),s);function l(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=vm(i.button))==null||t.focus()):i.toggleDisclosure())}function u(t){var n;if(!e.disabled)if(o.value)switch(t.key){case ch.Space:case ch.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=vm(i.button))==null||n.focus();break}else switch(t.key){case ch.Space:case ch.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure();break}}function d(e){switch(e.key){case ch.Space:e.preventDefault();break}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...f}=e;return qm({ourProps:o.value?{ref:s,type:c.value,onClick:l,onKeydown:u}:{id:i.buttonId.value??a,ref:s,type:c.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||vm(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:l,onKeydown:u,onKeyup:d},theirProps:f,slot:r,attrs:t,slots:n,name:`DisclosureButton`})}}}),Jh=j({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:n,expose:r}){let i=Uh(`DisclosurePanel`);Af(()=>{e.id!==null&&(i.panelId.value=e.id)}),Nf(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),Qu(Gh,i.panelId);let a=rh(),o=H(()=>a===null?i.disclosureState.value===0:(a.value&oh.Open)===oh.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return qm({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:Zm.RenderStrategy|Zm.Static,visible:o.value,name:`DisclosurePanel`})}}})}));function nme(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return Yh.test(i)&&(i=i.replace(Yh,``)),i}function rme(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():nme(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return nme(e).trim()}var Yh,ime=c((()=>{Yh=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g}));function ame(e){let t=O(``),n=O(``);return()=>{let r=vm(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=rme(r).trim().toLowerCase();return t.value=i,n.value=a,a}}var ome=c((()=>{U(),ym(),ime()}));function sme(e,t){return e===t}function cme(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Xh(e){let t=$u(Zh,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Xh),t}return t}var lme,ume,dme,Zh,fme,pme,mme,hme,gme,_me=c((()=>{U(),um(),_m(),Bm(),Hm(),ome(),Wm(),nh(),sh(),lh(),mh(),ym(),Im(),gh(),xm(),$m(),lme=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(lme||{}),ume=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(ume||{}),dme=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(dme||{}),Zh=Symbol(`ListboxContext`),fme=j({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>sme},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:n,emit:r}){let i=O(1),a=O(null),o=O(null),s=O(null),c=O([]),l=O(``),u=O(null),d=O(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=Am(e(c.value.slice()),e=>vm(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=H(()=>e.multiple?1:0),[m,h]=lm(H(()=>e.modelValue),e=>r(`update:modelValue`,e),H(()=>e.defaultValue)),g=H(()=>m.value===void 0?bm(p.value,{1:[],0:void 0}):m.value),_={listboxState:i,value:g,mode:p,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:H(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:H(()=>e.disabled),options:c,searchQuery:l,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(t,n,r){if(e.disabled||i.value===1)return;let a=f(),o=fh(t===ph.Specific?{focus:ph.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});l.value=``,u.value=o,d.value=r??1,c.value=a.options},search(t){if(e.disabled||i.value===1)return;let n=l.value===``?1:0;l.value+=t.toLowerCase();let r=(u.value===null?c.value:c.value.slice(u.value+n).concat(c.value.slice(0,u.value+n))).find(e=>e.dataRef.textValue.startsWith(l.value)&&!e.dataRef.disabled),a=r?c.value.indexOf(r):-1;a===-1||a===u.value||(u.value=a,d.value=1)},clearSearch(){e.disabled||i.value!==1&&l.value!==``&&(l.value=``)},registerOption(e,t){let n=f(n=>[...n,{id:e,dataRef:t}]);c.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){let t=f(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});c.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||h(t)},select(t){e.disabled||h(bm(p.value,{0:()=>t,1:()=>{let e=su(_.value.value).slice(),n=su(t),r=e.findIndex(e=>_.compare(n,su(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};zm([o,s],(e,t)=>{var n;_.closeListbox(),Om(t,Fm.Loose)||(e.preventDefault(),(n=vm(o))==null||n.focus())},H(()=>i.value===0)),Qu(Zh,_),ih(H(()=>bm(i.value,{0:oh.Open,1:oh.Closed})));let v=H(()=>vm(o)?.closest(`form`));return Af(()=>{nd([v],()=>{if(!v.value||e.defaultValue===void 0)return;function t(){_.theirOnChange(e.defaultValue)}return v.value.addEventListener(`reset`,t),()=>{var e;(e=v.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:o,form:s,...c}=e,l={open:i.value===0,disabled:o,value:g.value};return Yd(B,[...r!=null&&g.value!=null?hh({[r]:g.value}).map(([e,t])=>Yd(th,Ym({features:eh.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],qm({ourProps:{},theirProps:{...n,...Xm(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),pme=j({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${gm()}`,i=Xh(`ListboxLabel`);function a(){var e;(e=vm(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return qm({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),mme=j({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${gm()}`,a=Xh(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case ch.Space:case ch.Enter:case ch.ArrowDown:e.preventDefault(),a.openListbox(),Ku(()=>{var e;(e=vm(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(ph.First)});break;case ch.ArrowUp:e.preventDefault(),a.openListbox(),Ku(()=>{var e;(e=vm(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(ph.Last)});break}}function s(e){switch(e.key){case ch.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),cme(()=>vm(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Vm(H(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return qm({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":vm(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[vm(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),hme=j({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:n,expose:r}){let i=e.id??`headlessui-listbox-options-${gm()}`,a=Xh(`ListboxOptions`),o=O(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case ch.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case ch.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0})));break;case bm(a.orientation.value,{vertical:ch.ArrowDown,horizontal:ch.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(ph.Next);case bm(a.orientation.value,{vertical:ch.ArrowUp,horizontal:ch.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(ph.Previous);case ch.Home:case ch.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(ph.First);case ch.End:case ch.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(ph.Last);case ch.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0}));break;case ch.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=rh(),l=H(()=>c===null?a.listboxState.value===0:(c.value&oh.Open)===oh.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return qm({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":vm(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:Zm.RenderStrategy|Zm.Static,visible:l.value,name:`ListboxOptions`})}}}),gme=j({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:n,expose:r}){let i=e.id??`headlessui-listbox-option-${gm()}`,a=Xh(`ListboxOption`),o=O(null);r({el:o,$el:o});let s=H(()=>a.activeOptionIndex.value===null?!1:a.options.value[a.activeOptionIndex.value].id===i),c=H(()=>bm(a.mode.value,{0:()=>a.compare(su(a.value.value),su(e.value)),1:()=>su(a.value.value).some(t=>a.compare(su(t),su(e.value)))})),l=H(()=>bm(a.mode.value,{1:()=>{let e=su(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(su(e),su(t.dataRef.value))))?.id===i},0:()=>c.value})),u=ame(o),d=H(()=>({disabled:e.disabled,value:e.value,get textValue(){return u()},domRef:o}));Af(()=>a.registerOption(i,d)),Nf(()=>a.unregisterOption(i)),Af(()=>{nd([a.listboxState,c],()=>{a.listboxState.value===0&&c.value&&bm(a.mode.value,{1:()=>{l.value&&a.goToOption(ph.Specific,i)},0:()=>{a.goToOption(ph.Specific,i)}})},{immediate:!0})}),td(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&Ku(()=>{var e;return((e=vm(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function f(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0})))}function p(){if(e.disabled)return a.goToOption(ph.Nothing);a.goToOption(ph.Specific,i)}let m=Um();function h(e){m.update(e)}function g(t){m.wasMoved(t)&&(e.disabled||s.value||a.goToOption(ph.Specific,i,0))}function _(t){m.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(ph.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:c.value,disabled:r},{value:l,disabled:u,...d}=e;return qm({ourProps:{id:i,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:f,onFocus:p,onPointerenter:h,onMouseenter:h,onPointermove:g,onMousemove:g,onPointerleave:_,onMouseleave:_},theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}})}));function vme(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Qh(e){let t=$u($h,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qh),t}return t}var yme,bme,$h,eg,tg,ng,rg,xme=c((()=>{U(),_m(),Bm(),Hm(),ome(),Wm(),Km(),sh(),lh(),mh(),ym(),Im(),xm(),$m(),yme=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(yme||{}),bme=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(bme||{}),$h=Symbol(`MenuContext`),eg=j({name:`Menu`,props:{as:{type:[Object,String],default:`template`}},setup(e,{slots:t,attrs:n}){let r=O(1),i=O(null),a=O(null),o=O([]),s=O(``),c=O(null),l=O(1);function u(e=e=>e){let t=c.value===null?null:o.value[c.value],n=Am(e(o.value.slice()),e=>vm(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{items:n,activeItemIndex:r}}let d={menuState:r,buttonRef:i,itemsRef:a,items:o,searchQuery:s,activeItemIndex:c,activationTrigger:l,closeMenu:()=>{r.value=1,c.value=null},openMenu:()=>r.value=0,goToItem(e,t,n){let r=u(),i=fh(e===ph.Specific?{focus:ph.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value=``,c.value=i,l.value=n??1,o.value=r.items},search(e){let t=s.value===``?1:0;s.value+=e.toLowerCase();let n=(c.value===null?o.value:o.value.slice(c.value+t).concat(o.value.slice(0,c.value+t))).find(e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled),r=n?o.value.indexOf(n):-1;r===-1||r===c.value||(c.value=r,l.value=1)},clearSearch(){s.value=``},registerItem(e,t){let n=u(n=>[...n,{id:e,dataRef:t}]);o.value=n.items,c.value=n.activeItemIndex,l.value=1},unregisterItem(e){let t=u(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});o.value=t.items,c.value=t.activeItemIndex,l.value=1}};return zm([i,a],(e,t)=>{var n;d.closeMenu(),Om(t,Fm.Loose)||(e.preventDefault(),(n=vm(i))==null||n.focus())},H(()=>r.value===0)),Qu($h,d),ih(H(()=>bm(r.value,{0:oh.Open,1:oh.Closed}))),()=>qm({ourProps:{},theirProps:e,slot:{open:r.value===0,close:d.closeMenu},slots:t,attrs:n,name:`Menu`})}}),tg=j({name:`MenuButton`,props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-menu-button-${gm()}`,a=Qh(`MenuButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case ch.Space:case ch.Enter:case ch.ArrowDown:e.preventDefault(),e.stopPropagation(),a.openMenu(),Ku(()=>{var e;(e=vm(a.itemsRef))==null||e.focus({preventScroll:!0}),a.goToItem(ph.First)});break;case ch.ArrowUp:e.preventDefault(),e.stopPropagation(),a.openMenu(),Ku(()=>{var e;(e=vm(a.itemsRef))==null||e.focus({preventScroll:!0}),a.goToItem(ph.Last)});break}}function s(e){switch(e.key){case ch.Space:e.preventDefault();break}}function c(t){e.disabled||(a.menuState.value===0?(a.closeMenu(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0}))):(t.preventDefault(),a.openMenu(),vme(()=>vm(a.itemsRef)?.focus({preventScroll:!0}))))}let l=Vm(H(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.menuState.value===0},{...u}=e;return qm({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`menu`,"aria-controls":vm(a.itemsRef)?.id,"aria-expanded":a.menuState.value===0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`MenuButton`})}}}),ng=j({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:n,expose:r}){let i=e.id??`headlessui-menu-items-${gm()}`,a=Qh(`MenuItems`),o=O(null);r({el:a.itemsRef,$el:a.itemsRef}),Gm({container:H(()=>vm(a.itemsRef)),enabled:H(()=>a.menuState.value===0),accept(e){return e.getAttribute(`role`)===`menuitem`?NodeFilter.FILTER_REJECT:e.hasAttribute(`role`)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute(`role`,`none`)}});function s(e){var t;switch(o.value&&clearTimeout(o.value),e.key){case ch.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case ch.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeItemIndex.value!==null){let e=a.items.value[a.activeItemIndex.value];(t=vm(e.dataRef.domRef))==null||t.click()}a.closeMenu(),jfe(vm(a.buttonRef));break;case ch.ArrowDown:return e.preventDefault(),e.stopPropagation(),a.goToItem(ph.Next);case ch.ArrowUp:return e.preventDefault(),e.stopPropagation(),a.goToItem(ph.Previous);case ch.Home:case ch.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToItem(ph.First);case ch.End:case ch.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToItem(ph.Last);case ch.Escape:e.preventDefault(),e.stopPropagation(),a.closeMenu(),Ku(()=>vm(a.buttonRef)?.focus({preventScroll:!0}));break;case ch.Tab:e.preventDefault(),e.stopPropagation(),a.closeMenu(),Ku(()=>Nfe(vm(a.buttonRef),e.shiftKey?Nm.Previous:Nm.Next));break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}function c(e){switch(e.key){case ch.Space:e.preventDefault();break}}let l=rh(),u=H(()=>l===null?a.menuState.value===0:(l.value&oh.Open)===oh.Open);return()=>{var r;let o={open:a.menuState.value===0},{...l}=e;return qm({ourProps:{"aria-activedescendant":a.activeItemIndex.value===null||(r=a.items.value[a.activeItemIndex.value])==null?void 0:r.id,"aria-labelledby":vm(a.buttonRef)?.id,id:i,onKeydown:s,onKeyup:c,role:`menu`,tabIndex:0,ref:a.itemsRef},theirProps:l,slot:o,attrs:t,slots:n,features:Zm.RenderStrategy|Zm.Static,visible:u.value,name:`MenuItems`})}}}),rg=j({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:n,expose:r}){let i=e.id??`headlessui-menu-item-${gm()}`,a=Qh(`MenuItem`),o=O(null);r({el:o,$el:o});let s=H(()=>a.activeItemIndex.value===null?!1:a.items.value[a.activeItemIndex.value].id===i),c=ame(o),l=H(()=>({disabled:e.disabled,get textValue(){return c()},domRef:o}));Af(()=>a.registerItem(i,l)),Nf(()=>a.unregisterItem(i)),td(()=>{a.menuState.value===0&&s.value&&a.activationTrigger.value!==0&&Ku(()=>{var e;return((e=vm(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function u(t){if(e.disabled)return t.preventDefault();a.closeMenu(),jfe(vm(a.buttonRef))}function d(){if(e.disabled)return a.goToItem(ph.Nothing);a.goToItem(ph.Specific,i)}let f=Um();function p(e){f.update(e)}function m(t){f.wasMoved(t)&&(e.disabled||s.value||a.goToItem(ph.Specific,i,0))}function h(t){f.wasMoved(t)&&(e.disabled||s.value&&a.goToItem(ph.Nothing))}return()=>{let{disabled:r,...c}=e,l={active:s.value,disabled:r,close:a.closeMenu};return qm({ourProps:{id:i,ref:o,role:`menuitem`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0?!0:void 0,onClick:u,onFocus:d,onPointerenter:p,onMouseenter:p,onPointermove:m,onMousemove:m,onPointerleave:h,onMouseleave:h},theirProps:{...n,...c},slot:l,attrs:n,slots:t,name:`MenuItem`})}}})}));function ig(e){let t=$u(ag,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${cg.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ig),t}return t}function Sme(){return $u(og,null)}function Cme(){return $u(sg,null)}var wme,ag,og,sg,cg,lg,ug,Tme=c((()=>{U(),qpe(),xh(),_m(),Bm(),Hm(),Fpe(),lpe(),nh(),sh(),lh(),ym(),Im(),xm(),Em(),$m(),wme=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(wme||{}),ag=Symbol(`PopoverContext`),og=Symbol(`PopoverGroupContext`),sg=Symbol(`PopoverPanelContext`),cg=j({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=O(null);r({el:i,$el:i});let a=O(1),o=O(null),s=O(null),c=O(null),l=O(null),u=H(()=>Tm(i)),d=H(()=>{var e,t;if(!vm(o)||!vm(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(vm(o)))^Number(e?.contains(vm(l))))return!0;let n=Dm(),r=n.indexOf(vm(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=vm(l))!=null&&e.contains(s))&&!((t=vm(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:O(null),panelId:O(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=bm(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?vm(e):vm(f.button):vm(f.button))?.focus()}};Qu(ag,f),ih(H(()=>bm(a.value,{0:oh.Open,1:oh.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=Sme(),h=m?.registerPopover,[g,_]=Gpe(),v=Npe({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(vm(o)?.contains(u.value.activeElement)||vm(l)?.contains(u.value.activeElement)))}return td(()=>h?.(p)),bh(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=vm(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=vm(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),zm(v.resolveContainers,(e,t)=>{var n;f.closePopover(),Om(t,Fm.Loose)||(e.preventDefault(),(n=vm(o))==null||n.focus())},H(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return Yd(B,[Yd(_,{},()=>qm({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),Yd(v.MainTreeNode)])}}}),lg=j({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:n,expose:r}){let i=e.id??`headlessui-popover-button-${gm()}`,a=ig(`PopoverButton`),o=H(()=>Tm(a.button));r({el:a.button,$el:a.button}),Af(()=>{a.buttonId.value=i}),Nf(()=>{a.buttonId.value=null});let s=Sme()?.closeOthers,c=Cme(),l=H(()=>c===null?!1:c.value===a.panelId.value),u=O(null),d=`headlessui-focus-sentinel-${gm()}`;l.value||td(()=>{a.button.value=vm(u)});let f=Vm(H(()=>({as:e.as,type:t.type})),u);function p(e){var t,n,r,i,c;if(l.value){if(a.popoverState.value===1)return;switch(e.key){case ch.Space:case ch.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=vm(a.button))==null||r.focus();break}}else switch(e.key){case ch.Space:case ch.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case ch.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!vm(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=vm(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function m(e){l.value||e.key===ch.Space&&e.preventDefault()}function h(t){var n,r;e.disabled||(l.value?(a.closePopover(),(n=vm(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=vm(a.button))==null||r.focus()))}function g(e){e.preventDefault(),e.stopPropagation()}let _=Sh();function v(){let e=vm(a.panel);if(!e)return;function t(){bm(_.value,{[Ch.Forwards]:()=>jm(e,Nm.First),[Ch.Backwards]:()=>jm(e,Nm.Last)})===Pm.Error&&jm(Dm().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),bm(_.value,{[Ch.Forwards]:Nm.Next,[Ch.Backwards]:Nm.Previous}),{relativeTo:vm(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return Yd(B,[qm({ourProps:l.value?{ref:u,type:f.value,onKeydown:p,onClick:h}:{ref:u,id:i,type:f.value,"aria-expanded":a.popoverState.value===0,"aria-controls":vm(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:p,onKeyup:m,onClick:h,onMousedown:g},theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!l.value&&a.isPortalled.value&&Yd(th,{id:d,features:eh.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:v})])}}}),j({name:`PopoverOverlay`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=ig(`PopoverOverlay`),i=`headlessui-popover-overlay-${gm()}`,a=rh(),o=H(()=>a===null?r.popoverState.value===0:(a.value&oh.Open)===oh.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return qm({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:Zm.RenderStrategy|Zm.Static,visible:o.value,name:`PopoverOverlay`})}}}),ug=j({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:n,expose:r}){let i=e.id??`headlessui-popover-panel-${gm()}`,{focus:a}=e,o=ig(`PopoverPanel`),s=H(()=>Tm(o.panel)),c=`headlessui-focus-sentinel-before-${gm()}`,l=`headlessui-focus-sentinel-after-${gm()}`;r({el:o.panel,$el:o.panel}),Af(()=>{o.panelId.value=i}),Nf(()=>{o.panelId.value=null}),Qu(sg,o.panelId),td(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=vm(o.panel))!=null&&e.contains(t)||jm(vm(o.panel),Nm.First)});let u=rh(),d=H(()=>u===null?o.popoverState.value===0:(u.value&oh.Open)===oh.Open);function f(e){var t,n;switch(e.key){case ch.Escape:if(o.popoverState.value!==0||!vm(o.panel)||s.value&&!((t=vm(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=vm(o.button))==null||n.focus();break}}function p(e){var t,n,r,i,a;let s=e.relatedTarget;s&&vm(o.panel)&&((t=vm(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=vm(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=vm(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let m=Sh();function h(){let e=vm(o.panel);if(!e)return;function t(){bm(m.value,{[Ch.Forwards]:()=>{var t;jm(e,Nm.First)===Pm.Error&&((t=vm(o.afterPanelSentinel))==null||t.focus())},[Ch.Backwards]:()=>{var e;(e=vm(o.button))==null||e.focus({preventScroll:!0})}})}t()}function g(){let e=vm(o.panel);if(!e)return;function t(){bm(m.value,{[Ch.Forwards]:()=>{let e=vm(o.button),t=vm(o.panel);if(!e)return;let n=Dm(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}jm(a,Nm.First,{sorted:!1})},[Ch.Backwards]:()=>{var t;jm(e,Nm.Previous)===Pm.Error&&((t=vm(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...u}=e;return qm({ourProps:{ref:o.panel,id:i,onKeydown:f,onFocusout:a&&o.popoverState.value===0?p:void 0,tabIndex:-1},theirProps:{...t,...u},attrs:t,slot:r,slots:{...n,default:(...e)=>[Yd(B,[d.value&&o.isPortalled.value&&Yd(th,{id:c,ref:o.beforePanelSentinel,features:eh.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:h}),n.default?.call(n,...e),d.value&&o.isPortalled.value&&Yd(th,{id:l,ref:o.afterPanelSentinel,features:eh.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g})])]},features:Zm.RenderStrategy|Zm.Static,visible:d.value,name:`PopoverPanel`})}}}),j({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=O(null),a=lu([]),o=H(()=>Tm(i)),s=Ppe();r({el:i,$el:i});function c(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)}function l(e){return a.value.push(e),()=>{c(e)}}function u(){var e;let t=o.value;if(!t)return!1;let n=t.activeElement;return(e=vm(i))!=null&&e.contains(n)?!0:a.value.some(e=>t.getElementById(e.buttonId.value)?.contains(n)||t.getElementById(e.panelId.value)?.contains(n))}function d(e){for(let t of a.value)t.buttonId.value!==e&&t.close()}return Qu(og,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>Yd(B,[qm({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),Yd(s.MainTreeNode)])}})}));function Eme(){let e=$u(fg,null);if(e===null){let e=Error(`You used a <Label /> component, but it is not inside a parent.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Eme),e}return e}function dg({slot:e={},name:t=`Label`,props:n={}}={}){let r=O([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return Qu(fg,{register:i,slot:e,name:t,props:n}),H(()=>r.value.length>0?r.value.join(` `):void 0)}var fg,Dme,Ome=c((()=>{U(),_m(),$m(),fg=Symbol(`LabelContext`),Dme=j({name:`Label`,props:{as:{type:[Object,String],default:`label`},passive:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n}){let r=e.id??`headlessui-label-${gm()}`,i=Eme();return Af(()=>Nf(i.register(r))),()=>{let{name:a=`Label`,slot:o={},props:s={}}=i,{passive:c,...l}=e,u={...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:k(n)}),{}),id:r};return c&&(delete u.onClick,delete u.htmlFor,delete l.onClick),qm({ourProps:u,theirProps:l,slot:o,attrs:n,slots:t,name:a})}}})}));function kme(e,t){return e===t}function Ame(e){let t=$u(pg,null);if(t===null){let t=Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ame),t}return t}var pg,jme,Mme,Nme,mg,Pme=c((()=>{U(),um(),_m(),Km(),nh(),lh(),ym(),Im(),gh(),Em(),$m(),Fh(),Ome(),pg=Symbol(`RadioGroupContext`),jme=j({name:`RadioGroup`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`div`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>kme},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-radiogroup-${gm()}`,o=O(null),s=O([]),c=dg({name:`RadioGroupLabel`}),l=Nh({name:`RadioGroupDescription`});i({el:o,$el:o});let[u,d]=lm(H(()=>e.modelValue),e=>t(`update:modelValue`,e),H(()=>e.defaultValue)),f={options:s,value:u,disabled:H(()=>e.disabled),firstOption:H(()=>s.value.find(e=>!e.propsRef.disabled)),containsCheckedOption:H(()=>s.value.some(t=>f.compare(su(t.propsRef.value),su(e.modelValue)))),compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},change(t){if(e.disabled||f.compare(su(u.value),su(t)))return!1;let n=s.value.find(e=>f.compare(su(e.propsRef.value),su(t)))?.propsRef;return n!=null&&n.disabled?!1:(d(t),!0)},registerOption(e){s.value.push(e),s.value=Am(s.value,e=>e.element)},unregisterOption(e){let t=s.value.findIndex(t=>t.id===e);t!==-1&&s.value.splice(t,1)}};Qu(pg,f),Gm({container:H(()=>vm(o)),accept(e){return e.getAttribute(`role`)===`radio`?NodeFilter.FILTER_REJECT:e.hasAttribute(`role`)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute(`role`,`none`)}});function p(e){if(!o.value||!o.value.contains(e.target))return;let t=s.value.filter(e=>e.propsRef.disabled===!1).map(e=>e.element);switch(e.key){case ch.Enter:npe(e.currentTarget);break;case ch.ArrowLeft:case ch.ArrowUp:if(e.preventDefault(),e.stopPropagation(),jm(t,Nm.Previous|Nm.WrapAround)===Pm.Success){let e=s.value.find(e=>e.element===Tm(o)?.activeElement);e&&f.change(e.propsRef.value)}break;case ch.ArrowRight:case ch.ArrowDown:if(e.preventDefault(),e.stopPropagation(),jm(t,Nm.Next|Nm.WrapAround)===Pm.Success){let e=s.value.find(e=>e.element===Tm(e.element)?.activeElement);e&&f.change(e.propsRef.value)}break;case ch.Space:{e.preventDefault(),e.stopPropagation();let t=s.value.find(e=>e.element===Tm(e.element)?.activeElement);t&&f.change(t.propsRef.value)}break}}let m=H(()=>vm(o)?.closest(`form`));return Af(()=>{nd([m],()=>{if(!m.value||e.defaultValue===void 0)return;function t(){f.change(e.defaultValue)}return m.value.addEventListener(`reset`,t),()=>{var e;(e=m.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{disabled:t,name:i,form:s,...d}=e,f={ref:o,id:a,role:`radiogroup`,"aria-labelledby":c.value,"aria-describedby":l.value,onKeydown:p};return Yd(B,[...i!=null&&u.value!=null?hh({[i]:u.value}).map(([e,n])=>Yd(th,Ym({features:eh.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:t,name:e,value:n}))):[],qm({ourProps:f,theirProps:{...n,...Xm(d,[`modelValue`,`defaultValue`,`by`])},slot:{},attrs:n,slots:r,name:`RadioGroup`})])}}}),Mme=(e=>(e[e.Empty=1]=`Empty`,e[e.Active=2]=`Active`,e))(Mme||{}),Nme=j({name:`RadioGroupOption`,props:{as:{type:[Object,String],default:`div`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-radiogroup-option-${gm()}`,a=Ame(`RadioGroupOption`),o=dg({name:`RadioGroupLabel`}),s=Nh({name:`RadioGroupDescription`}),c=O(null),l=H(()=>({value:e.value,disabled:e.disabled})),u=O(1);r({el:c,$el:c});let d=H(()=>vm(c));Af(()=>a.registerOption({id:i,element:d,propsRef:l})),Nf(()=>a.unregisterOption(i));let f=H(()=>a.firstOption.value?.id===i),p=H(()=>a.disabled.value||e.disabled),m=H(()=>a.compare(su(a.value.value),su(e.value))),h=H(()=>p.value?-1:m.value||!a.containsCheckedOption.value&&f.value?0:-1);function g(){var t;a.change(e.value)&&(u.value|=2,(t=vm(c))==null||t.focus())}function _(){u.value|=2}function v(){u.value&=-3}return()=>{let{value:r,disabled:a,...l}=e,d={checked:m.value,disabled:p.value,active:!!(u.value&2)};return qm({ourProps:{id:i,ref:c,role:`radio`,"aria-checked":m.value?`true`:`false`,"aria-labelledby":o.value,"aria-describedby":s.value,"aria-disabled":p.value?!0:void 0,tabIndex:h.value,onClick:p.value?void 0:g,onFocus:p.value?void 0:_,onBlur:p.value?void 0:v},theirProps:l,slot:d,attrs:t,slots:n,name:`RadioGroupOption`})}}}),mg=Dme})),hg,Fme=c((()=>{U(),um(),_m(),Hm(),nh(),lh(),ym(),gh(),$m(),Fh(),Ome(),hg=Symbol(`GroupContext`),j({name:`SwitchGroup`,props:{as:{type:[Object,String],default:`template`}},setup(e,{slots:t,attrs:n}){let r=O(null);return Qu(hg,{switchRef:r,labelledby:dg({name:`SwitchLabel`,props:{htmlFor:H(()=>r.value?.id),onClick(e){r.value&&(e.currentTarget.tagName===`LABEL`&&e.preventDefault(),r.value.click(),r.value.focus({preventScroll:!0}))}}}),describedby:Nh({name:`SwitchDescription`})}),()=>qm({theirProps:e,ourProps:{},slot:{},slots:t,attrs:n,name:`SwitchGroup`})}}),j({name:`Switch`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`button`},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-switch-${gm()}`,o=$u(hg,null),[s,c]=lm(H(()=>e.modelValue),e=>t(`update:modelValue`,e),H(()=>e.defaultChecked));function l(){c(!s.value)}let u=O(null),d=o===null?u:o.switchRef,f=Vm(H(()=>({as:e.as,type:n.type})),d);i({el:d,$el:d});function p(e){e.preventDefault(),l()}function m(e){e.key===ch.Space?(e.preventDefault(),l()):e.key===ch.Enter&&npe(e.currentTarget)}function h(e){e.preventDefault()}let g=H(()=>{var e;return((e=vm(d))?.closest)?.call(e,`form`)});return Af(()=>{nd([g],()=>{if(!g.value||e.defaultChecked===void 0)return;function t(){c(e.defaultChecked)}return g.value.addEventListener(`reset`,t),()=>{var e;(e=g.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:t,value:i,form:c,tabIndex:l,...u}=e,g={checked:s.value},_={id:a,ref:d,role:`switch`,type:f.value,tabIndex:l===-1?0:l,"aria-checked":s.value,"aria-labelledby":o?.labelledby.value,"aria-describedby":o?.describedby.value,onClick:p,onKeyup:m,onKeypress:h};return Yd(B,[t!=null&&s.value!=null?Yd(th,Ym({features:eh.Hidden,as:`input`,type:`checkbox`,hidden:!0,readOnly:!0,checked:s.value,form:c,disabled:u.disabled,name:t,value:i})):null,qm({ourProps:_,theirProps:{...n,...Xm(u,[`modelValue`,`defaultChecked`])},slot:g,attrs:n,slots:r,name:`Switch`})])}}})})),Ime,Lme=c((()=>{U(),nh(),Ime=j({props:{onFocus:{type:Function,required:!0}},setup(e){let t=O(!0);return()=>t.value?Yd(th,{as:`button`,type:`button`,features:eh.Focusable,onFocus(n){n.preventDefault();let r,i=50;function a(){var n;if(i--<=0){r&&cancelAnimationFrame(r);return}if((n=e.onFocus)!=null&&n.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(a)}r=requestAnimationFrame(a)}}):null}})}));function gg(e){let t=$u(_g,null);if(t===null){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gg),t}return t}var Rme,zme,_g,vg,yg,bg,xg,Bme,Vme,Hme=c((()=>{U(),_m(),Hm(),Lme(),nh(),lh(),ym(),Im(),xm(),fm(),Em(),$m(),Rme=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(Rme||{}),zme=(e=>(e[e.Less=-1]=`Less`,e[e.Equal=0]=`Equal`,e[e.Greater=1]=`Greater`,e))(zme||{}),_g=Symbol(`TabsContext`),vg=Symbol(`TabsSSRContext`),yg=j({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:n,emit:r}){let i=O(e.selectedIndex??e.defaultIndex),a=O([]),o=O([]),s=H(()=>e.selectedIndex!==null),c=H(()=>s.value?e.selectedIndex:i.value);function l(e){let t=Am(u.tabs.value,vm),n=Am(u.panels.value,vm),r=t.filter(e=>{var t;return!((t=vm(e))!=null&&t.hasAttribute(`disabled`))});if(e<0||e>t.length-1){let a=bm(bm(i.value===null?0:Math.sign(e-i.value),{[-1]:()=>1,0:()=>bm(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),{0:()=>t.indexOf(r[0]),1:()=>t.indexOf(r[r.length-1])});a!==-1&&(i.value=a),u.tabs.value=t,u.panels.value=n}else{let a=t.slice(0,e),o=[...t.slice(e),...a].find(e=>r.includes(e));if(!o)return;let s=t.indexOf(o)??u.selectedIndex.value;s===-1&&(s=u.selectedIndex.value),i.value=s,u.tabs.value=t,u.panels.value=n}}let u={selectedIndex:H(()=>i.value??e.defaultIndex??null),orientation:H(()=>e.vertical?`vertical`:`horizontal`),activation:H(()=>e.manual?`manual`:`auto`),tabs:a,panels:o,setSelectedIndex(e){c.value!==e&&r(`change`,e),s.value||l(e)},registerTab(e){if(a.value.includes(e))return;let t=a.value[i.value];if(a.value.push(e),a.value=Am(a.value,vm),!s.value){let e=a.value.indexOf(t)??i.value;e!==-1&&(i.value=e)}},unregisterTab(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)},registerPanel(e){o.value.includes(e)||(o.value.push(e),o.value=Am(o.value,vm))},unregisterPanel(e){let t=o.value.indexOf(e);t!==-1&&o.value.splice(t,1)}};Qu(_g,u);let d=O({tabs:[],panels:[]}),f=O(!1);Af(()=>{f.value=!0}),Qu(vg,H(()=>f.value?null:d.value));let p=H(()=>e.selectedIndex);return Af(()=>{nd([p],()=>l(e.selectedIndex??e.defaultIndex),{immediate:!0})}),td(()=>{if(!s.value||c.value==null||u.tabs.value.length<=0)return;let e=Am(u.tabs.value,vm);e.some((e,t)=>vm(u.tabs.value[t])!==vm(e))&&u.setSelectedIndex(e.findIndex(e=>vm(e)===vm(u.tabs.value[c.value])))}),()=>{let r={selectedIndex:i.value};return Yd(B,[a.value.length<=0&&Yd(Ime,{onFocus:()=>{for(let e of a.value){let t=vm(e);if(t?.tabIndex===0)return t.focus(),!0}return!1}}),qm({theirProps:{...n,...Xm(e,[`selectedIndex`,`defaultIndex`,`manual`,`vertical`,`onChange`])},ourProps:{},slot:r,slots:t,attrs:n,name:`TabGroup`})])}}}),bg=j({name:`TabList`,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n}){let r=gg(`TabList`);return()=>{let i={selectedIndex:r.selectedIndex.value};return qm({ourProps:{role:`tablist`,"aria-orientation":r.orientation.value},theirProps:e,slot:i,attrs:t,slots:n,name:`TabList`})}}}),xg=j({name:`Tab`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-tabs-tab-${gm()}`,a=gg(`Tab`),o=O(null);r({el:o,$el:o}),Af(()=>a.registerTab(o)),Nf(()=>a.unregisterTab(o));let s=$u(vg),c=H(()=>{if(s.value){let e=s.value.tabs.indexOf(i);return e===-1?s.value.tabs.push(i)-1:e}return-1}),l=H(()=>{let e=a.tabs.value.indexOf(o);return e===-1?c.value:e}),u=H(()=>l.value===a.selectedIndex.value);function d(e){let t=e();if(t===Pm.Success&&a.activation.value===`auto`){let e=Tm(o)?.activeElement,t=a.tabs.value.findIndex(t=>vm(t)===e);t!==-1&&a.setSelectedIndex(t)}return t}function f(e){let t=a.tabs.value.map(e=>vm(e)).filter(Boolean);if(e.key===ch.Space||e.key===ch.Enter){e.preventDefault(),e.stopPropagation(),a.setSelectedIndex(l.value);return}switch(e.key){case ch.Home:case ch.PageUp:return e.preventDefault(),e.stopPropagation(),d(()=>jm(t,Nm.First));case ch.End:case ch.PageDown:return e.preventDefault(),e.stopPropagation(),d(()=>jm(t,Nm.Last))}if(d(()=>bm(a.orientation.value,{vertical(){return e.key===ch.ArrowUp?jm(t,Nm.Previous|Nm.WrapAround):e.key===ch.ArrowDown?jm(t,Nm.Next|Nm.WrapAround):Pm.Error},horizontal(){return e.key===ch.ArrowLeft?jm(t,Nm.Previous|Nm.WrapAround):e.key===ch.ArrowRight?jm(t,Nm.Next|Nm.WrapAround):Pm.Error}}))===Pm.Success)return e.preventDefault()}let p=O(!1);function m(){var t;p.value||(p.value=!0,!e.disabled&&((t=vm(o))==null||t.focus({preventScroll:!0}),a.setSelectedIndex(l.value),dm(()=>{p.value=!1})))}function h(e){e.preventDefault()}let g=Vm(H(()=>({as:e.as,type:t.type})),o);return()=>{let r={selected:u.value,disabled:e.disabled??!1},{...s}=e;return qm({ourProps:{ref:o,onKeydown:f,onMousedown:h,onClick:m,id:i,role:`tab`,type:g.value,"aria-controls":vm(a.panels.value[l.value])?.id,"aria-selected":u.value,tabIndex:u.value?0:-1,disabled:e.disabled?!0:void 0},theirProps:s,slot:r,attrs:t,slots:n,name:`Tab`})}}}),Bme=j({name:`TabPanels`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=gg(`TabPanels`);return()=>qm({theirProps:e,ourProps:{},slot:{selectedIndex:r.selectedIndex.value},attrs:n,slots:t,name:`TabPanels`})}}),Vme=j({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:n,expose:r}){let i=e.id??`headlessui-tabs-panel-${gm()}`,a=gg(`TabPanel`),o=O(null);r({el:o,$el:o}),Af(()=>a.registerPanel(o)),Nf(()=>a.unregisterPanel(o));let s=$u(vg),c=H(()=>{if(s.value){let e=s.value.panels.indexOf(i);return e===-1?s.value.panels.push(i)-1:e}return-1}),l=H(()=>{let e=a.panels.value.indexOf(o);return e===-1?c.value:e}),u=H(()=>l.value===a.selectedIndex.value);return()=>{let r={selected:u.value},{tabIndex:s,...c}=e,d={ref:o,id:i,role:`tabpanel`,"aria-labelledby":vm(a.tabs.value[l.value])?.id,tabIndex:u.value?s:-1};return!u.value&&e.unmount&&!e.static?Yd(th,{as:`span`,"aria-hidden":!0,...d}):qm({ourProps:d,theirProps:c,slot:r,attrs:t,slots:n,features:Zm.Static|Zm.RenderStrategy,visible:u.value,name:`TabPanel`})}}})}));function Ume(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}var Wme=c((()=>{}));function Sg(e,...t){e&&t.length>0&&e.classList.add(...t)}function Cg(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Gme(e,t){let n=pm();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(e=>{let[t=0]=e.split(`,`).filter(Boolean).map(e=>e.includes(`ms`)?parseFloat(e):parseFloat(e)*1e3).sort((e,t)=>t-e);return t});return a===0?t(`finished`):n.setTimeout(()=>t(`finished`),a+o),n.add(()=>t(`cancelled`)),n.dispose}function Kme(e,t,n,r,i,a){let o=pm(),s=a===void 0?()=>{}:Ume(a);return Cg(e,...i),Sg(e,...t,...n),o.nextFrame(()=>{Cg(e,...n),Sg(e,...r),o.add(Gme(e,n=>(Cg(e,...r,...t),Sg(e,...i),s(n))))}),o.add(()=>Cg(e,...t,...n,...r,...i)),o.add(()=>s(`cancelled`)),o.dispose}var wg,qme=c((()=>{mm(),Wme(),wg=(e=>(e.Finished=`finished`,e.Cancelled=`cancelled`,e))(wg||{})}));function Tg(e=``){return e.split(/\s+/).filter(e=>e.length>1)}function Jme(){return $u(Dg,null)!==null}function Yme(){let e=$u(Dg,null);if(e===null)throw Error(`A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.`);return e}function Xme(){let e=$u(Og,null);if(e===null)throw Error(`A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.`);return e}function Eg(e){return`children`in e?Eg(e.children):e.value.filter(({state:e})=>e===`visible`).length>0}function Zme(e){let t=O([]),n=O(!1);Af(()=>n.value=!0),Nf(()=>n.value=!1);function r(r,i=Qm.Hidden){let a=t.value.findIndex(({id:e})=>e===r);a!==-1&&(bm(i,{[Qm.Unmount](){t.value.splice(a,1)},[Qm.Hidden](){t.value[a].state=`hidden`}}),!Eg(t)&&n.value&&e?.())}function i(e){let n=t.value.find(({id:t})=>t===e);return n?n.state!==`visible`&&(n.state=`visible`):t.value.push({id:e,state:`visible`}),()=>r(e,Qm.Unmount)}return{children:t,register:i,unregister:r}}var Dg,Qme,Og,kg,$me,ehe,the,nhe=c((()=>{U(),_m(),sh(),ym(),wm(),xm(),$m(),qme(),Dg=Symbol(`TransitionContext`),Qme=(e=>(e.Visible=`visible`,e.Hidden=`hidden`,e))(Qme||{}),Og=Symbol(`NestingContext`),kg=Zm.RenderStrategy,$me=j({props:{as:{type:[Object,String],default:`div`},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:``},enterFrom:{type:[String],default:``},enterTo:{type:[String],default:``},entered:{type:[String],default:``},leave:{type:[String],default:``},leaveFrom:{type:[String],default:``},leaveTo:{type:[String],default:``}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=O(0);function o(){a.value|=oh.Opening,t(`beforeEnter`)}function s(){a.value&=~oh.Opening,t(`afterEnter`)}function c(){a.value|=oh.Closing,t(`beforeLeave`)}function l(){a.value&=~oh.Closing,t(`afterLeave`)}if(!Jme()&&Jfe())return()=>Yd(the,{...e,onBeforeEnter:o,onAfterEnter:s,onBeforeLeave:c,onAfterLeave:l},r);let u=O(null),d=H(()=>e.unmount?Qm.Unmount:Qm.Hidden);i({el:u,$el:u});let{show:f,appear:p}=Yme(),{register:m,unregister:h}=Xme(),g=O(f.value?`visible`:`hidden`),_={value:!0},v=gm(),y={value:!1},b=Zme(()=>{!y.value&&g.value!==`hidden`&&(g.value=`hidden`,h(v),l())});Af(()=>{Nf(m(v))}),td(()=>{if(d.value===Qm.Hidden&&v){if(f.value&&g.value!==`visible`){g.value=`visible`;return}bm(g.value,{hidden:()=>h(v),visible:()=>m(v)})}});let x=Tg(e.enter),ee=Tg(e.enterFrom),S=Tg(e.enterTo),C=Tg(e.entered),te=Tg(e.leave),ne=Tg(e.leaveFrom),re=Tg(e.leaveTo);Af(()=>{td(()=>{if(g.value===`visible`){let e=vm(u);if(e instanceof Comment&&e.data===``)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function w(e){let t=_.value&&!p.value,n=vm(u);!n||!(n instanceof HTMLElement)||t||(y.value=!0,f.value&&o(),f.value||c(),e(f.value?Kme(n,x,ee,S,C,e=>{y.value=!1,e===wg.Finished&&s()}):Kme(n,te,ne,re,C,e=>{y.value=!1,e===wg.Finished&&(Eg(b)||(g.value=`hidden`,h(v),l()))})))}return Af(()=>{nd([f],(e,t,n)=>{w(n),_.value=!1},{immediate:!0})}),Qu(Og,b),ih(H(()=>bm(g.value,{visible:oh.Open,hidden:oh.Closed})|a.value)),()=>{let{appear:t,show:i,enter:a,enterFrom:o,enterTo:s,entered:c,leave:l,leaveFrom:d,leaveTo:m,...h}=e,_={ref:u};return qm({theirProps:{...h,...p.value&&f.value&&Cm.isServer?{class:E([n.class,h.class,...x,...ee])}:{}},ourProps:_,slot:{},slots:r,attrs:n,features:kg,visible:g.value===`visible`,name:`TransitionChild`})}}}),ehe=$me,the=j({inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:``},enterFrom:{type:[String],default:``},enterTo:{type:[String],default:``},entered:{type:[String],default:``},leave:{type:[String],default:``},leaveFrom:{type:[String],default:``},leaveTo:{type:[String],default:``}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let i=rh(),a=H(()=>e.show===null&&i!==null?(i.value&oh.Open)===oh.Open:e.show);td(()=>{if(![!0,!1].includes(a.value))throw Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let o=O(a.value?`visible`:`hidden`),s=Zme(()=>{o.value=`hidden`}),c=O(!0),l={show:a,appear:H(()=>e.appear||!c.value)};return Af(()=>{td(()=>{c.value=!1,a.value?o.value=`visible`:Eg(s)||(o.value=`hidden`)})}),Qu(Og,s),Qu(Dg,l),()=>{let i=Xm(e,[`show`,`appear`,`unmount`,`onBeforeEnter`,`onBeforeLeave`,`onAfterEnter`,`onAfterLeave`]),a={unmount:e.unmount};return qm({ourProps:{...a,as:`template`},theirProps:{},slot:{},slots:{...r,default:()=>[Yd(ehe,{onBeforeEnter:()=>t(`beforeEnter`),onAfterEnter:()=>t(`afterEnter`),onBeforeLeave:()=>t(`beforeLeave`),onAfterLeave:()=>t(`afterLeave`),...n,...a,...i},r.default)]},attrs:{},features:kg,visible:o.value===`visible`,name:`Transition`})}}})})),Ag=c((()=>{cpe(),Qpe(),tme(),gpe(),_me(),xme(),Tme(),Pme(),Fme(),Hme(),nhe(),_m()})),jg,Mg=c((()=>{jg=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),rhe,Ng,Pg=c((()=>{U(),rhe=Symbol(),Ng=()=>({layout:$u(rhe,`desktop`)})})),Fg,Ig,Lg,Rg=c((()=>{Fg={SELECTED_CLIENT:`scalar-reference-selected-client-v2`,AUTH:`scalar-reference-auth`},Ig={AUTH:`scalar-client-auth`,SELECTED_SECURITY_SCHEMES:`scalar-client-selected-security-schemes`},Lg=()=>typeof window>`u`?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage})),ihe,ahe=c((()=>{ihe=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`})),zg,Bg=c((()=>{ahe(),zg=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=ihe[n[e]&63];return t}})),Vg,ohe=c((()=>{Bg(),Ec(),Vg=T().min(7).default(()=>zg())})),Hg,Ug,Wg,she,che,Gg,lhe,uhe,Kg,dhe,qg,Jg,Yg,Xg,Zg,Qg,$g,fhe,e_,t_,phe=c((()=>{Ec(),ohe(),Hg=Lo({description:T().optional()}),Ug=Lo({uid:Vg.brand(),nameKey:T().optional().default(``)}),Wg=Hg.extend({type:Ko(`apiKey`),name:T().optional().default(``),in:Go([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),she=Lo({value:T().default(``)}),che=Wg.merge(Ug).merge(she),Gg=Hg.extend({type:Ko(`http`),scheme:T().toLowerCase().pipe(Go([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:zo([Ko(`JWT`),T()]).optional().default(`JWT`)}),lhe=Lo({username:T().default(``),password:T().default(``),token:T().default(``)}),uhe=Gg.merge(Ug).merge(lhe),Kg=Hg.extend({type:Ko(`openIdConnect`),openIdConnectUrl:T().optional().default(``)}),dhe=Kg.merge(Ug),qg=T().default(``),Jg=T().default(``),Yg=Lo({refreshUrl:T().optional().default(``),scopes:Uo(T(),T().optional().default(``)).optional().default({}).catch({}),selectedScopes:Io(T()).optional().default([]),"x-scalar-client-id":T().optional().default(``),token:T().default(``),"x-scalar-security-query":Uo(T(),T()).optional(),"x-scalar-security-body":Uo(T(),T()).optional(),"x-tokenName":T().optional()}),Xg=typeof window<`u`?window.location.origin+window.location.pathname:``,Zg=[`SHA-256`,`plain`,`no`],Qg=Go([`header`,`body`]).optional(),$g=Hg.extend({type:Ko(`oauth2`),"x-default-scopes":Io(T()).optional(),flows:Lo({implicit:Yg.extend({type:Ko(`implicit`).default(`implicit`),authorizationUrl:qg,"x-scalar-redirect-uri":T().optional().default(Xg)}),password:Yg.extend({type:Ko(`password`).default(`password`),tokenUrl:Jg,clientSecret:T().default(``),username:T().default(``),password:T().default(``),"x-scalar-credentials-location":Qg}),clientCredentials:Yg.extend({type:Ko(`clientCredentials`).default(`clientCredentials`),tokenUrl:Jg,clientSecret:T().default(``),"x-scalar-credentials-location":Qg}),authorizationCode:Yg.extend({type:Ko(`authorizationCode`).default(`authorizationCode`),authorizationUrl:qg,"x-usePkce":Go(Zg).optional().default(`no`),"x-scalar-redirect-uri":T().optional().default(Xg),tokenUrl:Jg,clientSecret:T().default(``),"x-scalar-credentials-location":Qg})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":Xg}})}),fhe=$g.merge(Ug),e_=Uo(T(),Io(T()).optional().default([])),zo([Wg,Gg,$g,Kg]),t_=Bo(`type`,[che,uhe,dhe,fhe]).transform(e=>(e.type===`oauth2`&&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))})),n_=c((()=>{phe()})),r_=c((()=>{ohe()})),i_,mhe=c((()=>{Ec(),i_=zo([T().brand(),T().brand().array()]).array().default([])})),hhe,ghe,_he,vhe=c((()=>{Ec(),hhe=zo([Lo({description:T().optional(),default:T().default(``)}),T()]),ghe=Lo({description:T().optional(),color:T().optional(),variables:Uo(T(),hhe)}),_he=Uo(T(),ghe)})),yhe,bhe,xhe=c((()=>{Ec(),yhe=Lo({description:T().optional(),example:T().optional()}),bhe=Uo(T(),yhe)})),a_,She=c((()=>{a_=e=>Array.isArray(e)?e.map(e=>typeof e==`object`&&e?a_(e):e):Object.fromEntries(Object.entries(e).filter(([e,t])=>t!==void 0).map(([e,t])=>typeof t==`object`&&t?[e,a_(t)]:[e,t]))})),Che,whe,The,Ehe,o_,Dhe,Ohe,s_,c_=c((()=>{She(),r_(),Ec(),Che=Lo({"x-scalar-sdk-installation":Lo({lang:T(),source:T().optional().catch(void 0),description:T().optional().catch(void 0)}).array().optional().catch(void 0)}),whe=Lo({name:T().optional().nullable().catch(null),identifier:T().optional().catch(void 0),url:T().url().optional().catch(void 0)}).transform(a_),The=Lo({name:T().optional(),url:T().url().optional().catch(void 0),email:T().optional().catch(void 0)}).transform(a_),Ehe=Lo({title:T().catch(`API`),summary:T().optional().catch(void 0),description:T().optional().catch(void 0),termsOfService:T().url().optional().catch(void 0),contact:The.optional().catch(void 0),license:whe.optional().catch(void 0),version:T().catch(`1.0`)}).merge(Che).transform(a_),o_=Lo({description:T().optional().catch(void 0),url:T()}).transform(a_),Dhe=Lo({tagName:T()}).array(),Ohe=Lo({type:Ko(`tag`).optional().default(`tag`),name:T(),description:T().optional().catch(void 0),externalDocs:o_.optional(),"x-scalar-children":Dhe.default([]).optional(),"x-internal":Ao().optional(),"x-scalar-ignore":Ao().optional()}),s_=Ohe.extend({uid:Vg.brand(),children:zo([T().brand(),T().brand()]).array().default([])})})),khe,Ahe,l_,jhe=c((()=>{n_(),r_(),Ec(),mhe(),vhe(),xhe(),c_(),khe=Lo({type:Ko(`collection`).optional().default(`collection`),openapi:zo([T(),Ko(`3.0.0`),Ko(`3.1.0`),Ko(`4.0.0`)]).optional().default(`3.1.0`),jsonSchemaDialect:T().optional(),info:Ehe.catch({title:`API`,version:`1.0`}),security:Io(e_).optional().default([]),externalDocs:o_.optional().catch(void 0),components:Uo(T(),No()).optional(),webhooks:Uo(T(),No()).optional(),"x-scalar-icon":T().optional().default(`interface-content-folder`),"x-scalar-active-environment":T().optional(),"x-scalar-environments":_he.optional(),"x-scalar-secrets":bhe.optional()}),Ahe=Lo({uid:Vg.brand(),securitySchemes:T().array().default([]),selectedSecuritySchemeUids:i_,selectedServerUid:T().brand().optional(),servers:T().brand().array().default([]),requests:T().brand().array().default([]),tags:T().brand().array().default([]),children:zo([T().brand(),T().brand()]).array().default([]),documentUrl:T().optional(),watchMode:Ao().optional().default(!1),integration:T().nullable().optional(),useCollectionSecurity:Ao().optional().default(!1),watchModeStatus:Go([`IDLE`,`WATCHING`,`ERROR`]).optional().default(`IDLE`)}),l_=khe.merge(Ahe)})),u_,Mhe=c((()=>{(function(e){e.Deprecated=`deprecated`,e.Experimental=`experimental`,e.Stable=`stable`})(u_||={})})),Nhe=c((()=>{Mhe()})),Phe,Fhe,Ihe,Lhe=c((()=>{Ec(),Phe=Go([`path`,`query`,`header`,`cookie`]),Fhe=Go([`matrix`,`simple`,`form`,`label`,`spaceDelimited`,`pipeDelimited`,`deepObject`]),Ihe=Lo({in:Phe,name:T(),description:T().optional(),required:Ao().optional().default(!1),deprecated:Ao().optional().default(!1),schema:No().optional(),content:No().optional(),style:Fhe.optional(),explode:Ao().optional(),example:No().optional(),examples:zo([Uo(T(),Lo({value:No().optional(),summary:T().optional(),externalValue:T().optional()})),Io(No())]).optional()})})),d_,f_=c((()=>{d_=e=>e!=null})),p_,m_=c((()=>{p_=e=>Object.keys(e)}));function h_(e,t,n=!0,r){let i=t.safeParse(e);if(i.success||(console.group(`Schema Error`+(r?` - ${r}`:``)),console.warn(JSON.stringify(i.error.format(),null,2)),console.log(`Received: `,e),console.groupEnd()),n&&!i.success)throw Error(`Zod validation failure`);return i.data}var Rhe=c((()=>{}));function g_(e){return e.replace(/[&<>"']/g,e=>zhe[e]??e)}function __(e,t={}){let{indent:n=` `,format:r=!0,xmlDeclaration:i=!0}=t,a=(e,t,r)=>{let i=``;if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)i+=a(e[n],t,r);else if(typeof e==`object`&&e){let o=!1,s=``,c=``;for(let t in e)t.charAt(0)===`@`&&(s+=` `+t.substr(1)+`="`+g_(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=g_(e[t]?.toString()??``);else if(t===`#cdata`){let n=e[t]?.toString()??``;c+=`<![CDATA[`+n.replace(/]]>/g,`]]]]><![CDATA[>`)+`]]>`}else t.charAt(0)!==`@`&&(o=!0,c+=a(e[t],t,r+n));o||c?(i+=r+`<`+t+s+`>
|
||
`,i+=c,i+=r+`</`+t+`>
|
||
`):i+=r+`<`+t+s+`/>
|
||
`}else i+=r+`<`+t+`>`+g_(e?.toString()||``)+`</`+t+`>
|
||
`;return i},o=``;i&&(o+=`<?xml version="1.0" encoding="UTF-8"?>`,r&&(o+=`
|
||
`));for(let t in e)Object.hasOwn(e,t)&&(o+=a(e[t],t,``));return r?o.trim():o.replace(/\n/g,``).replace(/>\s+</g,`><`).trim()}var zhe,Bhe=c((()=>{zhe={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`}}));function Vhe(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}var v_,y_=c((()=>{v_=e=>{if(typeof e==`string`)try{let t=JSON.parse(e);return typeof t==`object`&&t?JSON.stringify(t,null,2):e}catch{return e}if(typeof e==`object`)try{return JSON.stringify(e,null,2)}catch{return Vhe(e)}return e?.toString()??``}})),Hhe,b_,x_=c((()=>{Hhe=e=>e[`$ref-value`],b_=(e,t=Hhe)=>typeof e==`object`&&e&&`$ref`in e?t(e):e}));function Uhe(e){if(typeof e==`string`)return e.replace(/;.*$/,``).replace(/\/(?!.*vnd\.|fhir\+).*\+/,`/`).trim()}var Whe=c((()=>{}));function S_(e){if(!e)return e;let t={...e};return Object.entries(t).forEach(([e,n])=>{let r=Uhe(e);r&&(t[r]=n)}),t}var Ghe=c((()=>{Whe()})),Khe,qhe=c((()=>{Khe=e=>decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`))})),C_,Jhe=c((()=>{qhe(),C_=e=>e.split(`/`).slice(1).map(Khe)})),w_,T_=c((()=>{w_=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}})),E_,Yhe=c((()=>{E_=(e,t,n)=>{let[r,i]=e.split(`#`,2);if(r)return n.has(r)?i?i.startsWith(`/`)?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith(`/`)?i.slice(1):n.get(`${t}#${i}`)}})),D_,O_,k_,A_=c((()=>{D_=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},O_=e=>e.join(`/`),k_=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=D_(e);a&&r.set(a,O_(n));let o=a??t;e.$anchor&&typeof e.$anchor==`string`&&r.set(`${o}#${e.$anchor}`,O_(n));for(let t in e)typeof e[t]==`object`&&e[t]!==null&&k_(e[t],o,[...n,t],r,i);return r}}));function j_(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null?{context:``,value:void 0}:{context:D_(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}var Xhe=c((()=>{A_()}));function Zhe(e,t){return t.reduce((e,t)=>(e[t]===void 0&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}var Qhe=c((()=>{}));function M_(e){return typeof e!=`object`||!e?e:e[N_]?e[P_]:e}var N_,P_,F_,I_,L_,R_,$he=c((()=>{Jhe(),T_(),Yhe(),A_(),Xhe(),Qhe(),N_=Symbol(`isMagicProxy`),P_=Symbol(`magicProxyTarget`),F_=`$ref-value`,I_=`$ref`,L_=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:k_(e),currentContext:``})=>{if(!w_(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===N_)return!0;if(r===P_)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,I_,i),o=D_(e);if(r===F_&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=E_(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=j_(n.root,C_(`/${e}`));if(R_(r.value))return r.value;let i=L_(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return R_(s)?s:L_(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,I_,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===F_&&typeof o==`string`){let t=E_(o,D_(e)??n.currentContext,n.schemas);if(t===void 0)return;let r=C_(`/${t}`);if(r.length===0)return!1;let a=()=>j_(n.root,r.slice(0,-1)).value;return a()===void 0&&(Zhe(n.root,r.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${o}\n\nPlease fix your input file to fix this issue.`)),a()[r.at(-1)]=i,!0}return Reflect.set(e,r,i,a)},deleteProperty(e,t){return Reflect.deleteProperty(e,t)},has(e,n){return typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal?!1:n===F_&&I_ in e?!0:Reflect.has(e,n)},ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>typeof e!=`string`||!(e.startsWith(`__scalar_`)&&!t?.showInternal));return I_ in e&&!n.includes(F_)&&n.push(F_),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,I_);return n===F_&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},R_=e=>typeof e==`object`&&!!e&&e[N_]===!0})),z_=c((()=>{$he()}));function B_(e){return typeof e==`object`&&e&&e[V_]?e[H_]:e}var V_,H_,U_,ege,W_=c((()=>{T_(),V_=Symbol(`isOverridesProxy`),H_=Symbol(`getOverridesTarget`),U_=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!=`object`)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:r}=t??{},i=new Proxy(e,{get(e,t,i){if(t===V_)return!0;if(t===H_)return e;let a=Reflect.get(e,t,i);return ege(a)?a:w_(a)?U_(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===V_||t===H_?!1:r&&Reflect.has(r,t)&&r&&typeof r==`object`?(r[t]=n,!0):Reflect.set(e,t,n,i)}});return n.cache.set(e,i),i},ege=e=>typeof e==`object`&&!!e&&e[V_]===!0})),tge,nge,G_,rge,ige,age,oge,K_,q_,J_,sge,Y_,cge,lge,X_,uge,dge,fge,pge,Z_,mge=c((()=>{f_(),z_(),x_(),W_(),tge=10,nge=`additionalProperty`,G_=new Date().toISOString(),rge=G_.split(`T`)[0],ige=G_.split(`T`)[1].split(`.`)[0],age={"date-time":G_,date:rge,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:ige,"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},oge=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=b_(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},K_=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?new File([``],`filename`):t&&`format`in e&&e.format?age[e.format]??n:n,q_=new WeakMap,J_=new WeakMap,sge=e=>{if(!e)return;let t=J_.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return J_.set(e,n),n}}},Y_=(e,t)=>(typeof t!=`object`||!t||q_.set(M_(B_(e)),t),t),cge=e=>!!(e.allOf||e.oneOf||e.anyOf),lge=(e,t,n,r)=>{if(r?.omitEmptyAndOptionalProperties!==!0||`type`in e&&(e.type===`object`||e.type===`array`)||cge(e)||`examples`in e&&Array.isArray(e.examples)&&e.examples.length>0||`example`in e&&e.example!==void 0||`default`in e&&e.default!==void 0||`const`in e&&e.const!==void 0||`enum`in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let i=n??e.title??``,a=sge(t);return!(a&&a.has(i))},X_=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,uge=(e,t,n,r)=>{let i={};if(`properties`in e&&e.properties){let a=Object.keys(e.properties),o=a.length;for(let s=0;s<o;s++){let o=a[s],c=b_(e.properties[o]);if(!c)continue;let l=t?.xml&&`xml`in c?c.xml?.name:void 0,u=Z_(c,t,{level:n+1,parentSchema:e,name:o,seen:r});u!==void 0&&(i[l??o]=u)}}if(`patternProperties`in e&&e.patternProperties)for(let a of Object.keys(e.patternProperties)){let o=b_(e.patternProperties[a]);o&&(i[a]=Z_(o,t,{level:n+1,parentSchema:e,name:a,seen:r}))}if(`additionalProperties`in e&&e.additionalProperties!==void 0&&e.additionalProperties!==!1){let a=b_(e.additionalProperties),o=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,s=typeof a==`object`&&`x-additionalPropertiesName`in a&&typeof a[`x-additionalPropertiesName`]==`string`&&a[`x-additionalPropertiesName`].trim().length>0,c=s?void 0:oge(e),l=s?a[`x-additionalPropertiesName`].trim():nge,u=o?`anything`:typeof a==`object`?Z_(a,t,{level:n+1,seen:r}):`anything`;c&&c.length>0?i[String(c[0])]=u:i[l]=u}if(e.oneOf?.[0])Object.assign(i,Z_(b_(e.oneOf[0]),t,{level:n+1,seen:r}));else if(e.anyOf?.[0])Object.assign(i,Z_(b_(e.anyOf[0]),t,{level:n+1,seen:r}));else if(Array.isArray(e.allOf)&&e.allOf.length>0){let a=i;for(let i of e.allOf){let o=Z_(b_(i),t,{level:n+1,parentSchema:e,seen:r});a=X_(a,o)}a&&typeof a==`object`&&Object.assign(i,a)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=i,Y_(e,t)}return Y_(e,i)},dge=(e,t,n,r)=>{let i=`items`in e?b_(e.items):void 0,a=i&&typeof i==`object`&&`xml`in i?i.xml?.name:void 0,o=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&a);if(e.example!==void 0)return Y_(e,o?{[a]:e.example}:e.example);if(i&&typeof i==`object`){if(Array.isArray(i.allOf)&&i.allOf.length>0){let s=i.allOf.filter(d_),c=b_(s[0]);if(c&&typeof c==`object`&&`type`in c&&c.type===`object`){let i=Z_({type:`object`,allOf:s},t,{level:n+1,parentSchema:e,seen:r});return Y_(e,o?[{[a]:i}]:[i])}let l=s.map(i=>Z_(b_(i),t,{level:n+1,parentSchema:e,seen:r})).filter(d_);return Y_(e,o?l.map(e=>({[a]:e})):l)}let s=i.anyOf||i.oneOf;if(s&&s.length>0){let i=s[0],c=Z_(b_(i),t,{level:n+1,parentSchema:e,seen:r});return Y_(e,o?[{[a]:c}]:[c])}}let s=i&&typeof i==`object`&&(`type`in i&&i.type===`object`||`properties`in i),c=i&&typeof i==`object`&&(`type`in i&&i.type===`array`||`items`in i);if(i&&typeof i==`object`&&(`type`in i&&i.type||s||c)){let s=Z_(i,t,{level:n+1,seen:r});return Y_(e,o?[{[a]:s}]:[s])}return Y_(e,[])},fge=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return K_(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`array`:return[];default:return}},pge=(e,t,n)=>{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 K_(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`null`:return null;default:return}}},Z_=(e,t,n)=>{let{level:r=0,parentSchema:i,name:a,seen:o=new WeakSet}=n??{},s=b_(e);if(!d_(s))return;let c=M_(B_(s));if(o.has(c))return;if(o.add(c),q_.has(c))return o.delete(c),q_.get(c);if(r>tge)return o.delete(c),`[Max Depth Exceeded]`;let l=!!t?.emptyString;if(s.deprecated||t?.mode===`write`&&s.readOnly||t?.mode===`read`&&s.writeOnly||lge(s,i,a,t)){o.delete(c);return}if(`x-variable`in s&&s[`x-variable`]){let e=t?.variables?.[s[`x-variable`]];if(e!==void 0)return`type`in s&&(s.type===`number`||s.type===`integer`)?(o.delete(c),Y_(s,Number(e))):(o.delete(c),Y_(s,e))}if(Array.isArray(s.examples)&&s.examples.length>0)return o.delete(c),Y_(s,s.examples[0]);if(s.example!==void 0)return o.delete(c),Y_(s,s.example);if(s.default!==void 0)return o.delete(c),Y_(s,s.default);if(s.const!==void 0)return o.delete(c),Y_(s,s.const);if(Array.isArray(s.enum)&&s.enum.length>0)return o.delete(c),Y_(s,s.enum[0]);if(`properties`in s||`type`in s&&s.type===`object`){let e=uge(s,t,r,o);return o.delete(c),e}if(`type`in s&&s.type===`array`||`items`in s){let e=dge(s,t,r,o);return o.delete(c),e}let u=fge(s,l,t?.emptyString);if(u!==void 0)return o.delete(c),Y_(s,u);let d=s.oneOf||s.anyOf;if(Array.isArray(d)&&d.length>0){for(let e of d){let n=b_(e);if(n&&(!(`type`in n)||n.type!==`null`))return o.delete(c),Y_(s,Z_(n,t,{level:r+1,seen:o}))}return o.delete(c),Y_(s,null)}if(Array.isArray(s.allOf)&&s.allOf.length>0){let e,n=s.allOf;for(let i of n){let n=Z_(i,t,{level:r+1,parentSchema:s,seen:o});e===void 0?e=n:e&&typeof e==`object`&&n&&typeof n==`object`?e=X_(e,n):n!==void 0&&(e=n)}return o.delete(c),Y_(s,e??null)}let f=pge(s,l,t?.emptyString);return f===void 0?(o.delete(c),Y_(s,null)):(o.delete(c),Y_(s,f))}}));function hge(e=[],t=[],n,r=!0){return[...t||[],...e||[]].filter(e=>e.in===n).filter(e=>r&&e.required||!r).map(e=>({name:e.name??`Unknown Parameter`,description:e.description??null,value:e.example?e.example:e.schema?Z_(e.schema,{mode:`write`}):``,required:e.required??!1,enabled:e.required??!1})).sort((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0)}var gge=c((()=>{mge()}));function _ge(e,t=!1,n){return Object.entries(e).flatMap(([e,r])=>{let i=n??e;return Array.isArray(r)&&!t?_ge(r,!0,e):(typeof r==`object`&&!(r instanceof File)&&r!==null&&(r=JSON.stringify(r)),[{name:i,value:r}])})}function vge(e,t,n){let r=e.requestBody?.content,i=S_(r),a=yge.find(e=>!!i?.[e])??(Object.keys(i??{})[0]||`application/json`),o=a.includes(`json`)||a.endsWith(`+json`),s=i?.[a]?.examples??i?.[`application/json`]?.examples,c=s?.[t??Object.keys(s??{})[0]??``];if(c)return{mimeType:a,text:v_(`value`in c?c.value:c)};let l=hge(e.parameters??[],[],`body`,!1);if(l.length>0)return{mimeType:`application/json`,text:v_(l[0]?.value??``)};let u=hge(e.parameters??[],[],`formData`,!1);if(u.length>0)return{mimeType:`application/x-www-form-urlencoded`,params:u.map(e=>({name:e.name,value:typeof e.value==`string`?e.value:JSON.stringify(e.value)}))};if(!a)return null;let d=i?.[a],f=d?.example?d?.example:void 0;if(o){let e=d?.schema?Z_(b_(d?.schema),{mode:`write`,omitEmptyAndOptionalProperties:n??!1}):null,t=f??e;return{mimeType:a,text:t?typeof t==`string`?t:JSON.stringify(t,null,2):void 0}}if(a===`application/xml`){let e=d?.schema?Z_(b_(d?.schema),{xml:!0,mode:`write`}):null;return{mimeType:a,text:f??__(e)}}if(a===`application/octet-stream`)return{mimeType:a,text:`BINARY`};if(a===`text/plain`){let e=d?.schema?Z_(b_(d?.schema),{xml:!0,mode:`write`}):null;return{mimeType:a,text:f??e??``}}if(a===`multipart/form-data`||a===`application/x-www-form-urlencoded`){let e=d?.schema?Z_(b_(d?.schema),{xml:!0,mode:`write`}):null;return{mimeType:a,params:_ge(f??e??{})}}return null}var yge,bge=c((()=>{Bhe(),y_(),x_(),Ghe(),mge(),gge(),yge=[`application/json`,`application/octet-stream`,`application/x-www-form-urlencoded`,`application/xml`,`multipart/form-data`,`text/plain`]})),xge,Sge=c((()=>{xge=e=>{let t={};if(e.variables)for(let[n,r]of Object.entries(e.variables))t[n]=r.enum?.filter(e=>typeof e==`string`)??[r.default];return t}}));function Cge(e){let t=e.schema,n=(()=>{if(e.examples&&!Array.isArray(e.examples)&&p_(e.examples).length>0){let t=Object.entries(e.examples).map(([e,t])=>t.externalValue?t.externalValue:t.value);return{value:t[0],examples:t}}if(d_(e.example))return{value:e.example};if(Array.isArray(e.examples)&&e.examples.length>0)return{value:e.examples[0]};if(d_(t?.example))return{value:t.example};if(Array.isArray(t?.examples)&&t.examples.length>0)return t?.type===`boolean`?{value:t.default??!1}:{value:t.examples[0]};if(e.content){let t=p_(e.content)[0];if(t){let n=e.content[t];if(n?.examples){let e=Object.keys(n.examples)[0];if(e){let t=n.examples[e];if(d_(t?.value))return{value:t.value}}}if(d_(n?.example))return{value:n.example}}}return null})(),r=String(n?.value??t?.default??``),i=t?.enum&&t?.type!==`string`?t.enum?.map(String):t?.items?.enum&&t?.type===`array`?t.items.enum.map(String):t?.enum,a=n?.examples||(t?.examples&&t?.type!==`string`?t.examples?.map(String):t?.examples);return h_({...t,key:e.name,value:r,description:e.description,required:e.required,enabled:!!e.required,enum:i,examples:a},Q_,!1)||(console.warn(`Example at ${e.name} is invalid.`),Q_.parse({}))}function wge(e,t,n){let r={path:[],query:[],cookie:[],header:[],headers:[{key:`Accept`,value:`*/*`,enabled:!0}]};e.parameters?.forEach(e=>r[e.in].push(Cge(e))),r.header.length>0&&(r.headers=r.header,r.header=[]);let i=r.headers.find(e=>e.key.toLowerCase()===`content-type`),a={activeBody:`raw`};if(e.requestBody||i?.value){let t=vge(e),n=e.requestBody?t?.mimeType:i?.value;(n?.includes(`/json`)||n?.endsWith(`+json`))&&(a.activeBody=`raw`,a.raw={encoding:`json`,mimeType:n,value:t?.text??JSON.stringify({})}),n===`application/xml`&&(a.activeBody=`raw`,a.raw={encoding:`xml`,value:t?.text??``}),n===`application/octet-stream`&&(a.activeBody=`binary`,a.binary=void 0),(n===`application/x-www-form-urlencoded`||n===`multipart/form-data`)&&(a.activeBody=`formData`,a.formData={encoding:n===`application/x-www-form-urlencoded`?`urlencoded`:`form-data`,value:(t?.params||[]).map(e=>e.value instanceof File?{key:e.name,value:`BINARY`,file:e.value,enabled:!0}:{key:e.name,value:e.value||``,enabled:!0})}),n?.startsWith(`text/`)&&(a.activeBody=`raw`,a.raw={encoding:`text`,value:t?.text??``}),t?.mimeType&&!i&&!t.mimeType.startsWith(`multipart/`)&&r.headers.push({key:`Content-Type`,value:t.mimeType,enabled:!0})}let o=n?xge(n):{};return h_({requestUid:e.uid,parameters:r,name:t,body:a,serverVariables:o},ev,!1)||(console.warn(`Example at ${e.uid} is invalid.`),ev.parse({}))}var Q_,$_,Tge,Ege,Dge,Oge,ev,tv,kge,nv=c((()=>{f_(),m_(),r_(),Ec(),Rhe(),bge(),Sge(),Q_=Lo({key:T().default(``),value:qoe().default(``),enabled:Ao().default(!0),file:Mo().optional(),description:T().optional(),required:Ao().optional(),enum:Io(T()).optional(),examples:Io(Mo()).optional(),type:zo([T(),Io(T())]).optional(),format:T().optional(),minimum:Oo().optional(),maximum:Oo().optional(),default:Mo().optional(),nullable:Ao().optional()}).transform(e=>{let t={...e};return Array.isArray(t.type)&&t.type.includes(`null`)&&(t.nullable=!0),Array.isArray(t.type)&&t.type.length===2&&t.type.includes(`null`)&&(t.type=t.type.find(e=>e!==`null`)),t}),$_=Lo({url:T(),base64:T().optional()}).nullable(),zo([Lo({type:Ko(`string`),value:T()}),Lo({type:Ko(`file`),file:$_})]),Tge=[`json`,`text`,`html`,`javascript`,`xml`,`yaml`,`edn`],Ege=[`application/json`,`text/plain`,`text/html`,`application/javascript`,`application/xml`,`application/yaml`,`application/edn`,`application/octet-stream`,`application/x-www-form-urlencoded`,`multipart/form-data`,`binary`],Dge=Lo({raw:Lo({encoding:Go(Tge),value:T().default(``),mimeType:T().optional()}).optional(),formData:Lo({encoding:zo([Ko(`form-data`),Ko(`urlencoded`)]).default(`form-data`),value:Q_.array().default([])}).optional(),binary:ns(Blob).optional(),activeBody:zo([Ko(`raw`),Ko(`formData`),Ko(`binary`)]).default(`raw`)}),Oge=Lo({encoding:Go(Ege),content:zo([Uo(T(),Mo()),T()]),file:$_.optional()}),ev=Lo({uid:Vg.brand(),type:Ko(`requestExample`).optional().default(`requestExample`),requestUid:T().brand().optional(),name:T().optional().default(`Name`),body:Dge.optional().default({activeBody:`raw`}),parameters:Lo({path:Q_.array().default([]),query:Q_.array().default([]),headers:Q_.array().default([{key:`Accept`,value:`*/*`,enabled:!0}]),cookies:Q_.array().default([])}).optional().default({path:[],query:[],headers:[{key:`Accept`,value:`*/*`,enabled:!0}],cookies:[]}),serverVariables:Uo(T(),Io(T())).optional()}),tv=Uo(T(),T()).optional(),kge=Lo({name:T().optional(),body:Oge.optional(),parameters:Lo({path:tv,query:tv,headers:tv,cookies:tv})})})),rv,Age,jge,Mge,Nge,Pge,Fge,Ige,Lge,iv,av=c((()=>{n_(),Nhe(),r_(),Ec(),mhe(),Lhe(),nv(),c_(),rv=Lo({lang:T().optional().catch(void 0),label:T().optional().catch(void 0),source:T()}),Age=Lo({"x-codeSamples":rv.array().optional().catch(void 0),"x-code-samples":rv.array().optional().catch(void 0),"x-custom-examples":rv.array().optional().catch(void 0)}),jge=T(),Mge=Lo({"x-post-response":jge.optional()}),Nge=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],Pge=Mo(),Fge=Lo({tags:T().array().optional(),summary:T().optional(),description:T().optional(),operationId:T().optional(),security:Io(e_).optional(),requestBody:Pge.optional(),parameters:Ihe.array().optional(),externalDocs:o_.optional(),deprecated:Ao().optional(),responses:Uo(T(),Mo()).optional(),callbacks:Uo(T(),Uo(T(),Uo(T(),Mo()))).optional(),"x-scalar-examples":Uo(T(),kge).optional(),"x-internal":Ao().optional(),"x-scalar-ignore":Ao().optional()}),Ige=Lo({"x-scalar-stability":Go([u_.Deprecated,u_.Experimental,u_.Stable]).optional().catch(void 0)}),Lge=Lo({type:Ko(`request`).optional().default(`request`),uid:Vg.brand(),path:T().optional().default(``),method:Go(Nge).default(`get`),servers:T().brand().array().default([]),selectedServerUid:T().brand().optional().nullable().default(null),examples:T().brand().array().default([]),selectedSecuritySchemeUids:i_}),iv=Fge.omit({"x-scalar-examples":!0}).merge(Age).merge(Ige).merge(Lge).merge(Mge)})),Rge=c((()=>{av()})),zge,Bge,ov,sv=c((()=>{r_(),Ec(),zge=Lo({enum:Io(T()).optional(),default:T().optional(),description:T().optional()}).extend({value:T().optional()}).refine(e=>(Array.isArray(e.enum)&&!e.enum.includes(e.default??``)&&e.enum.length>0&&(e.default=e.enum[0]),Array.isArray(e.enum)&&e.enum.length===0&&delete e.enum,!0)),Bge=Lo({url:T(),description:T().optional(),variables:Uo(T(),zge).optional()}),ov=Bge.extend({uid:Vg.brand()})})),cv=c((()=>{n_(),jhe(),Rge(),Lhe(),nv(),av(),sv(),c_(),vhe()})),lv,uv=c((()=>{lv=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,a=new Map,o=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),a.clear()},s=e=>{let t=a.get(e),n=r.get(e);n!==void 0&&(clearTimeout(n),r.delete(e));let o=i.get(e);if(o!==void 0&&(clearTimeout(o),i.delete(e)),a.delete(e),t!==void 0)try{t()}catch{}};return{execute:(e,o)=>{a.set(e,o);let c=r.get(e);c!==void 0&&clearTimeout(c),r.set(e,setTimeout(()=>s(e),t)),n!==void 0&&!i.has(e)&&i.set(e,setTimeout(()=>s(e),n))},cleanup:o,flush:e=>{a.has(e)&&s(e)},flushAll:()=>{let e=[...a.keys()];for(let t of e)s(t)}}}})),Vge,Hge,Uge,Wge=c((()=>{({parse:Vge,stringify:Hge}=JSON),{keys:Uge}=Object}));function Gge(e,t){return t.split(`.`).reduce((e,t)=>e[t],e)}var Kge=c((()=>{})),qge=c((()=>{Kge()})),Jge=c((()=>{Wge()})),dv=c((()=>{Jge()})),Yge=c((()=>{U(),cv(),dv()})),Xge=c((()=>{U(),dv()})),Zge=c((()=>{Ec(),Lo({uid:T().brand(),name:T().optional().default(`Default Environment`),color:T().optional().default(`#FFFFFF`),value:T().default(``),isDefault:Ao().optional()})})),Qge=c((()=>{Zge()})),$ge=c((()=>{U(),Qge(),dv()})),fv,pv,mv,hv=c((()=>{fv={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_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`},pv=(e,t=fv.DEFAULT)=>(console.error(e),e instanceof Error?(e.message=mv(e.message),e):typeof e==`string`?Error(mv(e)):Error(t)),mv=e=>e===`Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'.`?fv.MISSING_FILE:e===`Failed to construct 'URL': Invalid URL`?fv.INVALID_URL:e===`Failed to execute 'fetch' on 'Window': Invalid name`?fv.INVALID_HEADER:e})),e_e,gv,_v=c((()=>{e_e=[`post`,`put`,`patch`,`delete`],gv=e=>e_e.includes(e.toLowerCase())})),vv,yv,bv=c((()=>{vv={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`}},yv=e=>{let t=e.trim().toLowerCase();return vv[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}}})),xv,Sv=c((()=>{xv={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)`}}})),Cv,t_e,wv=c((()=>{Cv=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],t_e=Object.freeze(new Set(Cv))})),Tv,Ev=c((()=>{wv(),Tv=e=>e&&typeof e==`string`?t_e.has(e.toLowerCase()):!1})),Dv,Ov=c((()=>{Dv={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}})),kv,Av=c((()=>{Ov(),kv=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&Dv.PATH,n&&Dv.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[])}));function jv(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var Mv,Nv,Pv=c((()=>{Ov(),Mv=(e,t={})=>e.replace(Dv.PATH,(e,n)=>t[n]??e),Nv=(e,t={})=>e.replace(Dv.VARIABLES,(e,n)=>t[n]??e)})),n_e,r_e=c((()=>{n_e=e=>{let t=0,n=0,r=0;if(!e?.length)return n;for(r=0;r<e.length;r++)t=e.charCodeAt(r),n=(n<<5)-n+t,n|=0;return n}}));function i_e(e){return Dv.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var a_e=c((()=>{Ov()}));function Fv(e){try{let{hostname:t}=new URL(e);if(o_e.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&s_e.includes(n))}catch{return!0}}var o_e,s_e,Iv=c((()=>{o_e=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],s_e=[`test`,`example`,`invalid`,`localhost`]})),Lv,Rv=c((()=>{Ov(),Lv=e=>!(Dv.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))}));function c_e(e){try{return!!new URL(e)}catch{return!1}}var l_e=c((()=>{})),u_e,zv,Bv,Vv=c((()=>{Ov(),Rv(),a_e(),u_e=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n);t[n]=r.length>1?r:r[0]??``})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},zv=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(Dv.MULTIPLE_SLASHES,`/`):t.trim(),Bv=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!Lv(e)||typeof window<`u`)){let[i=``,a]=(r?e:Lv(e)?zv(window.location.origin,e):i_e(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:zv(i,s),d=u_e(o,l,n).toString();return d?`${u}?${d}`:u}return t?zv(e,t):``}})),Hv,Uv=c((()=>{Vv(),Hv=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>`u`&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;return n&&(r=zv(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}}})),Wv,d_e=c((()=>{Wv=async(e,t,n)=>{let r=e;for(let e of n){let n=e.hooks?.[t];n&&(r=await n(r)??r)}return r}})),Gv,Kv,qv=c((()=>{Iv(),Rv(),Gv=(e,t)=>{try{if(!Kv(e,t))return t??``;let n=new URL(t);return n.href=Lv(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),Lv(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},Kv=(e,t)=>{try{return!e||!t||Lv(t)?!1:Lv(e)||Fv(e)?!0:!Fv(t)}catch{return!1}}}));function Jv(e){if(e&&typeof e==`object`)switch(e[ny]){case Qv:case ty:return!0}return!1}function Yv(e){if(e&&typeof e==`object`)switch(e[ny]){case Xv:case Qv:case ey:case ty:return!0}return!1}var Xv,Zv,Qv,$v,ey,ty,ny,ry,iy,ay,oy,sy,cy,ly,uy=c((()=>{Xv=Symbol.for(`yaml.alias`),Zv=Symbol.for(`yaml.document`),Qv=Symbol.for(`yaml.map`),$v=Symbol.for(`yaml.pair`),ey=Symbol.for(`yaml.scalar`),ty=Symbol.for(`yaml.seq`),ny=Symbol.for(`yaml.node.type`),ry=e=>!!e&&typeof e==`object`&&e[ny]===Xv,iy=e=>!!e&&typeof e==`object`&&e[ny]===Zv,ay=e=>!!e&&typeof e==`object`&&e[ny]===Qv,oy=e=>!!e&&typeof e==`object`&&e[ny]===$v,sy=e=>!!e&&typeof e==`object`&&e[ny]===ey,cy=e=>!!e&&typeof e==`object`&&e[ny]===ty,ly=e=>(sy(e)||Jv(e))&&!!e.anchor}));function dy(e,t){let n=f_e(t);iy(e)?fy(null,e.contents,n,Object.freeze([e]))===_y&&(e.contents=null):fy(null,e,n,Object.freeze([]))}function fy(e,t,n,r){let i=p_e(e,t,n,r);if(Yv(i)||oy(i))return m_e(e,r,i),fy(e,i,n,r);if(typeof i!=`symbol`){if(Jv(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=fy(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===hy)return hy;else i===_y&&(t.items.splice(e,1),--e)}}else if(oy(t)){r=Object.freeze(r.concat(t));let e=fy(`key`,t.key,n,r);if(e===hy)return hy;e===_y&&(t.key=null);let i=fy(`value`,t.value,n,r);if(i===hy)return hy;i===_y&&(t.value=null)}}return i}async function py(e,t){let n=f_e(t);iy(e)?await my(null,e.contents,n,Object.freeze([e]))===_y&&(e.contents=null):await my(null,e,n,Object.freeze([]))}async function my(e,t,n,r){let i=await p_e(e,t,n,r);if(Yv(i)||oy(i))return m_e(e,r,i),my(e,i,n,r);if(typeof i!=`symbol`){if(Jv(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=await my(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===hy)return hy;else i===_y&&(t.items.splice(e,1),--e)}}else if(oy(t)){r=Object.freeze(r.concat(t));let e=await my(`key`,t.key,n,r);if(e===hy)return hy;e===_y&&(t.key=null);let i=await my(`value`,t.value,n,r);if(i===hy)return hy;i===_y&&(t.value=null)}}return i}function f_e(e){return typeof e==`object`&&(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 p_e(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(ay(t))return n.Map?.(e,t,r);if(cy(t))return n.Seq?.(e,t,r);if(oy(t))return n.Pair?.(e,t,r);if(sy(t))return n.Scalar?.(e,t,r);if(ry(t))return n.Alias?.(e,t,r)}function m_e(e,t,n){let r=t[t.length-1];if(Jv(r))r.items[e]=n;else if(oy(r))e===`key`?r.key=n:r.value=n;else if(iy(r))r.contents=n;else{let e=ry(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var hy,gy,_y,vy=c((()=>{uy(),hy=Symbol(`break visit`),gy=Symbol(`skip children`),_y=Symbol(`remove node`),dy.BREAK=hy,dy.SKIP=gy,dy.REMOVE=_y,py.BREAK=hy,py.SKIP=gy,py.REMOVE=_y})),h_e,g_e,yy,__e=c((()=>{uy(),vy(),h_e={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},g_e=e=>e.replace(/[!,[\]{}]/g,e=>h_e[e]),yy=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}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);break}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(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,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+g_e(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&Yv(e.contents)){let t={};dy(e.contents,(e,n)=>{Yv(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||(!e||r.some(e=>e.startsWith(a)))&&t.push(`%TAG ${i} ${a}`);return t.join(`
|
||
`)}},yy.defaultYaml={explicit:!1,version:`1.2`},yy.defaultTags={"!!":`tag:yaml.org,2002:`}}));function v_e(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 y_e(e){let t=new Set;return dy(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function b_e(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function x_e(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??=y_e(e);let a=b_e(t,i);return i.add(a),a},setAnchors:()=>{for(let e of n){let t=r.get(e);if(typeof t==`object`&&t.anchor&&(sy(t.node)||Jv(t.node)))t.node.anchor=t.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:r}}var by=c((()=>{uy(),vy()}));function xy(e,t,n,r){if(r&&typeof r==`object`)if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=xy(e,r,String(t),n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=xy(e,r,t,n);i===void 0?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=xy(e,r,t,t);n===void 0?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=xy(e,r,t,n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}return e.call(t,n,r)}var S_e=c((()=>{}));function Sy(e,t,n){if(Array.isArray(e))return e.map((e,t)=>Sy(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!ly(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var Cy=c((()=>{uy()})),wy,Ty=c((()=>{S_e(),uy(),Cy(),wy=class{constructor(e){Object.defineProperty(this,ny,{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:n,onAnchor:r,reviver:i}={}){if(!iy(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=Sy(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?xy(i,{"":o},``,o):o}}}));function Ey(e,t,n){if(ry(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Jv(t)){let r=0;for(let i of t.items){let t=Ey(e,i,n);t>r&&(r=t)}return r}else if(oy(t)){let r=Ey(e,t.key,n),i=Ey(e,t.value,n);return Math.max(r,i)}return 1}var Dy,Oy=c((()=>{by(),vy(),uy(),Ty(),Cy(),Dy=class extends wy{constructor(e){super(Xv),this.source=e,Object.defineProperty(this,`tag`,{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],dy(e,{Node:(e,t)=>{(ry(t)||ly(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,a=this.resolve(r,t);if(!a){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let o=n.get(a);if(o||=(Sy(a,null,t),n.get(a)),o?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Ey(r,a,n)),o.count*o.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(v_e(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}}})),ky,Ay,jy=c((()=>{uy(),Ty(),Cy(),ky=e=>!e||typeof e!=`function`&&typeof e!=`object`,Ay=class extends wy{constructor(e){super(ey),this.value=e}toJSON(e,t){return t?.keep?this.value:Sy(this.value,e,t)}toString(){return String(this.value)}},Ay.BLOCK_FOLDED=`BLOCK_FOLDED`,Ay.BLOCK_LITERAL=`BLOCK_LITERAL`,Ay.PLAIN=`PLAIN`,Ay.QUOTE_DOUBLE=`QUOTE_DOUBLE`,Ay.QUOTE_SINGLE=`QUOTE_SINGLE`}));function C_e(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function My(e,t,n){if(iy(e)&&(e=e.contents),Yv(e))return e;if(oy(e)){let t=n.schema[Qv].createNode?.(n.schema,null,n);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{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:o,sourceObjects:s}=n,c;if(r&&e&&typeof e==`object`){if(c=s.get(e),c)return c.anchor??=i(e),new Dy(c.anchor);c={anchor:null,node:null},s.set(e,c)}t?.startsWith(`!!`)&&(t=w_e+t.slice(2));let l=C_e(e,t,o.tags);if(!l){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new Ay(e);return c&&(c.node=t),t}l=e instanceof Map?o[Qv]:Symbol.iterator in Object(e)?o[ty]:o[Qv]}a&&(a(l),delete n.onTagObj);let u=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from==`function`?l.nodeClass.from(n.schema,e,n):new Ay(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}var w_e,Ny=c((()=>{Oy(),uy(),jy(),w_e=`tag:yaml.org,2002:`}));function Py(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return My(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var Fy,Iy,Ly=c((()=>{Ny(),uy(),Ty(),Fy=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,Iy=class extends wy{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=>Yv(t)||oy(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Fy(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(Jv(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,Py(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(Jv(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&sy(i)?i.value:i:Jv(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!oy(t))return!1;let n=t.value;return n==null||e&&sy(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return Jv(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(Jv(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,Py(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}}));function Ry(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var T_e,zy,By=c((()=>{T_e=e=>e.replace(/^(?!$)(?: $)?/gm,`#`),zy=(e,t,n)=>e.endsWith(`
|
||
`)?Ry(n,t):n.includes(`
|
||
`)?`
|
||
`+Ry(n,t):(e.endsWith(` `)?``:` `)+n}));function Vy(e,t,n=`flow`,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:o,onOverflow:s}={}){if(!i||i<0)return e;i<a&&(a=0);let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let l=[],u={},d=i-t.length;typeof r==`number`&&(r>i-Math.max(2,a)?l.push(0):d=i-r);let f,p,m=!1,h=-1,g=-1,_=-1;n===`block`&&(h=E_e(e,h,t.length),h!==-1&&(d=h+c));for(let r;r=e[h+=1];){if(n===`quoted`&&r===`\\`){switch(g=h,e[h+1]){case`x`:h+=3;break;case`u`:h+=5;break;case`U`:h+=9;break;default:h+=1}_=h}if(r===`
|
||
`)n===`block`&&(h=E_e(e,h,t.length)),d=h+t.length+c,f=void 0;else{if(r===` `&&p&&p!==` `&&p!==`
|
||
`&&p!==` `){let t=e[h+1];t&&t!==` `&&t!==`
|
||
`&&t!==` `&&(f=h)}if(h>=d)if(f)l.push(f),d=f+c,f=void 0;else if(n===`quoted`){for(;p===` `||p===` `;)p=r,r=e[h+=1],m=!0;let t=h>_+1?h-2:g-1;if(u[t])return e;l.push(t),u[t]=!0,d=t+c,f=void 0}else m=!0}p=r}if(m&&s&&s(),l.length===0)return e;o&&o();let v=e.slice(0,l[0]);for(let r=0;r<l.length;++r){let i=l[r],a=l[r+1]||e.length;i===0?v=`\n${t}${e.slice(0,a)}`:(n===`quoted`&&u[i]&&(v+=`${e[i]}\\`),v+=`\n${t}${e.slice(i+1,a)}`)}return v}function E_e(e,t,n){let r=t,i=t+1,a=e[i];for(;a===` `||a===` `;)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
|
||
`);r=t,i=t+1,a=e[i]}return r}var Hy,D_e,O_e,k_e=c((()=>{Hy=`flow`,D_e=`block`,O_e=`quoted`}));function A_e(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if(e[t]===`
|
||
`){if(t-n>r)return!0;if(n=t+1,i-n<=r)return!1}return!0}function Uy(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(Yy(e)?` `:``),o=``,s=0;for(let e=0,t=n[e];t;t=n[++e])if(t===` `&&n[e+1]===`\\`&&n[e+2]===`n`&&(o+=n.slice(s,e)+`\\ `,e+=1,s=e,t=`\\`),t===`\\`)switch(n[e+1]){case`u`:{o+=n.slice(s,e);let t=n.substr(e+2,4);switch(t){case`0000`:o+=`\\0`;break;case`0007`:o+=`\\a`;break;case`000b`:o+=`\\v`;break;case`001b`:o+=`\\e`;break;case`0085`:o+=`\\N`;break;case`00a0`:o+=`\\_`;break;case`2028`:o+=`\\L`;break;case`2029`:o+=`\\P`;break;default:t.substr(0,2)===`00`?o+=`\\x`+t.substr(2):o+=n.substr(e,6)}e+=5,s=e+1}break;case`n`:if(r||n[e+2]===`"`||n.length<i)e+=1;else{for(o+=n.slice(s,e)+`
|
||
|
||
`;n[e+2]===`\\`&&n[e+3]===`n`&&n[e+4]!==`"`;)o+=`
|
||
`,e+=2;o+=a,n[e+2]===` `&&(o+=`\\`),e+=1,s=e+1}break;default:e+=1}return o=s?o+n.slice(s):n,r?o:Vy(o,a,O_e,Jy(t,!1))}function Wy(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
||
`)||/[ \t]\n|\n[ \t]/.test(e))return Uy(e,t);let n=t.indent||(Yy(e)?` `:``),r=`'`+e.replace(/'/g,`''`).replace(/\n+/g,`$&\n${n}`)+`'`;return t.implicitKey?r:Vy(r,n,Hy,Jy(t,!1))}function Gy(e,t){let{singleQuote:n}=t.options,r;if(n===!1)r=Uy;else{let t=e.includes(`"`),i=e.includes(`'`);r=t&&!i?Wy:i&&!t?Uy:n?Wy:Uy}return r(e,t)}function Ky({comment:e,type:t,value:n},r,i,a){let{blockQuote:o,commentString:s,lineWidth:c}=r.options;if(!o||/\n[\t ]+$/.test(n))return Gy(n,r);let l=r.indent||(r.forceBlockIndent||Yy(n)?` `:``),u=o===`literal`?!0:o===`folded`||t===Ay.BLOCK_FOLDED?!1:t===Ay.BLOCK_LITERAL?!0:!A_e(n,c,l.length);if(!n)return u?`|
|
||
`:`>
|
||
`;let d,f;for(f=n.length;f>0;--f){let e=n[f-1];if(e!==`
|
||
`&&e!==` `&&e!==` `)break}let p=n.substring(f),m=p.indexOf(`
|
||
`);m===-1?d=`-`:n===p||m!==p.length-1?(d=`+`,a&&a()):d=``,p&&=(n=n.slice(0,-p.length),p[p.length-1]===`
|
||
`&&(p=p.slice(0,-1)),p.replace(Xy,`$&${l}`));let h=!1,g,_=-1;for(g=0;g<n.length;++g){let e=n[g];if(e===` `)h=!0;else if(e===`
|
||
`)_=g;else break}let v=n.substring(0,_<g?_+1:g);v&&=(n=n.substring(v.length),v.replace(/\n+/g,`$&${l}`));let y=(h?l?`2`:`1`:``)+d;if(e&&(y+=` `+s(e.replace(/ ?[\r\n]+/g,` `)),i&&i()),!u){let e=n.replace(/\n+/g,`
|
||
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\n+/g,`$&${l}`),i=!1,a=Jy(r,!0);o!==`folded`&&t!==Ay.BLOCK_FOLDED&&(a.onOverflow=()=>{i=!0});let s=Vy(`${v}${e}${p}`,l,D_e,a);if(!i)return`>${y}\n${l}${s}`}return n=n.replace(/\n+/g,`$&${l}`),`|${y}\n${l}${v}${n}${p}`}function j_e(e,t,n,r){let{type:i,value:a}=e,{actualString:o,implicitKey:s,indent:c,indentStep:l,inFlow:u}=t;if(s&&a.includes(`
|
||
`)||u&&/[[\]{},]/.test(a))return Gy(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes(`
|
||
`)?Gy(a,t):Ky(e,t,n,r);if(!s&&!u&&i!==Ay.PLAIN&&a.includes(`
|
||
`))return Ky(e,t,n,r);if(Yy(a)){if(c===``)return t.forceBlockIndent=!0,Ky(e,t,n,r);if(s&&c===l)return Gy(a,t)}let d=a.replace(/\n+/g,`$&\n${c}`);if(o){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return Gy(a,t)}return s?d:Vy(d,c,Hy,Jy(t,!1))}function qy(e,t,n,r){let{implicitKey:i,inFlow:a}=t,o=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==Ay.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=Ay.QUOTE_DOUBLE);let c=e=>{switch(e){case Ay.BLOCK_FOLDED:case Ay.BLOCK_LITERAL:return i||a?Gy(o.value,t):Ky(o,t,n,r);case Ay.QUOTE_DOUBLE:return Uy(o.value,t);case Ay.QUOTE_SINGLE:return Wy(o.value,t);case Ay.PLAIN:return j_e(o,t,n,r);default:return null}},l=c(s);if(l===null){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(l=c(r),l===null)throw Error(`Unsupported default string type ${r}`)}return l}var Jy,Yy,Xy,Zy=c((()=>{jy(),k_e(),Jy=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Yy=e=>/^(%|---|\.\.\.)/m.test(e);try{Xy=RegExp(`(^|(?<!
|
||
))
|
||
+(?!
|
||
|$)`,`g`)}catch{Xy=/\n+(?!\n|$)/g}}));function M_e(e,t){let n=Object.assign({blockQuote:!0,commentString:T_e,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,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),r;switch(n.collectionStyle){case`block`:r=!1;break;case`flow`:r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:r,options:n}}function N_e(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let n,r;if(sy(t)){r=t.value;let i=e.filter(e=>e.identify?.(r));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}n=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else r=t,n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!n){let e=r?.constructor?.name??(r===null?`null`:typeof r);throw Error(`Tag not resolved for ${e} value`)}return n}function P_e(e,t,{anchors:n,doc:r}){if(!r.directives)return``;let i=[],a=(sy(e)||Jv(e))&&e.anchor;a&&v_e(a)&&(n.add(a),i.push(`&${a}`));let o=e.tag??(t.default?null:t.tag);return o&&i.push(r.directives.tagString(o)),i.join(` `)}function Qy(e,t,n,r){if(oy(e))return e.toString(t,n,r);if(ry(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 i,a=Yv(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??=N_e(t.doc.schema.tags,a);let o=P_e(a,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let s=typeof i.stringify==`function`?i.stringify(a,t,n,r):sy(a)?qy(a,t,n,r):a.toString(t,n,r);return o?sy(a)||s[0]===`{`||s[0]===`[`?`${o} ${s}`:`${o}\n${t.indent}${s}`:s}var $y=c((()=>{by(),uy(),By(),Zy()}));function F_e({key:e,value:t},n,r,i){let{allNullValues:a,doc:o,indent:s,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:d}}=n,f=Yv(e)&&e.comment||null;if(d){if(f)throw Error(`With simple keys, key nodes cannot have comments`);if(Jv(e)||!Yv(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let p=!d&&(!e||f&&t==null&&!n.inFlow||Jv(e)||(sy(e)?e.type===Ay.BLOCK_FOLDED||e.type===Ay.BLOCK_LITERAL:typeof e==`object`));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(d||!a),indent:s+c});let m=!1,h=!1,g=Qy(e,n,()=>m=!0,()=>h=!0);if(!p&&!n.inFlow&&g.length>1024){if(d)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);p=!0}if(n.inFlow){if(a||t==null)return m&&r&&r(),g===``?`?`:p?`? ${g}`:g}else if(a&&!d||t==null&&p)return g=`? ${g}`,f&&!m?g+=zy(g,n.indent,l(f)):h&&i&&i(),g;m&&(f=null),p?(f&&(g+=zy(g,n.indent,l(f))),g=`? ${g}\n${s}:`):(g=`${g}:`,f&&(g+=zy(g,n.indent,l(f))));let _,v,y;Yv(t)?(_=!!t.spaceBefore,v=t.commentBefore,y=t.comment):(_=!1,v=null,y=null,t&&typeof t==`object`&&(t=o.createNode(t))),n.implicitKey=!1,!p&&!f&&sy(t)&&(n.indentAtStart=g.length+1),h=!1,!u&&c.length>=2&&!n.inFlow&&!p&&cy(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let b=!1,x=Qy(t,n,()=>b=!0,()=>h=!0),ee=` `;if(f||_||v){if(ee=_?`
|
||
`:``,v){let e=l(v);ee+=`\n${Ry(e,n.indent)}`}x===``&&!n.inFlow?ee===`
|
||
`&&y&&(ee=`
|
||
|
||
`):ee+=`\n${n.indent}`}else if(!p&&Jv(t)){let e=x[0],r=x.indexOf(`
|
||
`),i=r!==-1,a=n.inFlow??t.flow??t.items.length===0;if(i||!a){let t=!1;if(i&&(e===`&`||e===`!`)){let n=x.indexOf(` `);e===`&`&&n!==-1&&n<r&&x[n+1]===`!`&&(n=x.indexOf(` `,n+1)),(n===-1||r<n)&&(t=!0)}t||(ee=`\n${n.indent}`)}}else (x===``||x[0]===`
|
||
`)&&(ee=``);return g+=ee+x,n.inFlow?b&&r&&r():y&&!b?g+=zy(g,n.indent,l(y)):h&&i&&i(),g}var I_e=c((()=>{uy(),jy(),$y(),By()}));function L_e(e,t){(e===`debug`||e===`warn`)&&console.warn(t)}var R_e=c((()=>{}));function z_e(e,t,n){if(n=e&&ry(n)?n.resolve(e.doc):n,cy(n))for(let r of n.items)eb(e,t,r);else if(Array.isArray(n))for(let r of n)eb(e,t,r);else eb(e,t,n)}function eb(e,t,n){let r=e&&ry(n)?n.resolve(e.doc):n;if(!ay(r))throw Error(`Merge sources must be maps or map aliases`);let i=r.toJSON(null,e,Map);for(let[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}var tb,nb,B_e,rb=c((()=>{uy(),jy(),tb=`<<`,nb={identify:e=>e===tb||typeof e==`symbol`&&e.description===tb,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new Ay(Symbol(tb)),{addToJSMap:z_e}),stringify:()=>tb},B_e=(e,t)=>(nb.identify(t)||sy(t)&&(!t.type||t.type===Ay.PLAIN)&&nb.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===nb.tag&&e.default)}));function V_e(e,t,{key:n,value:r}){if(Yv(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(B_e(e,n))z_e(e,t,r);else{let i=Sy(n,``,e);if(t instanceof Map)t.set(i,Sy(r,i,e));else if(t instanceof Set)t.add(i);else{let a=H_e(n,i,e),o=Sy(r,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}}return t}function H_e(e,t,n){if(t===null)return``;if(typeof t!=`object`)return String(t);if(Yv(e)&&n?.doc){let t=M_e(n.doc,{});t.anchors=new Set;for(let e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+`..."`),L_e(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}var U_e=c((()=>{R_e(),rb(),$y(),uy(),Cy()}));function ib(e,t,n){return new ab(My(e,void 0,n),My(t,void 0,n))}var ab,ob=c((()=>{Ny(),I_e(),U_e(),uy(),ab=class e{constructor(e,t=null){Object.defineProperty(this,ny,{value:$v}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return Yv(n)&&(n=n.clone(t)),Yv(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){return V_e(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?F_e(this,e,t,n):JSON.stringify(this)}}}));function W_e(e,t,n){return(t.inFlow??e.flow?K_e:G_e)(e,t,n)}function G_e({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:a,onChompKeep:o,onComment:s}){let{indent:c,options:{commentString:l}}=n,u=Object.assign({},n,{indent:a,type:null}),d=!1,f=[];for(let e=0;e<t.length;++e){let i=t[e],o=null;if(Yv(i))!d&&i.spaceBefore&&f.push(``),sb(n,f,i.commentBefore,d),i.comment&&(o=i.comment);else if(oy(i)){let e=Yv(i.key)?i.key:null;e&&(!d&&e.spaceBefore&&f.push(``),sb(n,f,e.commentBefore,d))}d=!1;let s=Qy(i,u,()=>o=null,()=>d=!0);o&&(s+=zy(s,a,l(o))),d&&o&&(d=!1),f.push(r+s)}let p;if(f.length===0)p=i.start+i.end;else{p=f[0];for(let e=1;e<f.length;++e){let t=f[e];p+=t?`\n${c}${t}`:`
|
||
`}}return e?(p+=`
|
||
`+Ry(l(e),c),s&&s()):d&&o&&o(),p}function K_e({items:e},t,{flowChars:n,itemIndent:r}){let{indent:i,indentStep:a,flowCollectionPadding:o,options:{commentString:s}}=t;r+=a;let c=Object.assign({},t,{indent:r,inFlow:!0,type:null}),l=!1,u=0,d=[];for(let n=0;n<e.length;++n){let i=e[n],a=null;if(Yv(i))i.spaceBefore&&d.push(``),sb(t,d,i.commentBefore,!1),i.comment&&(a=i.comment);else if(oy(i)){let e=Yv(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(``),sb(t,d,e.commentBefore,!1),e.comment&&(l=!0));let n=Yv(i.value)?i.value:null;n?(n.comment&&(a=n.comment),n.commentBefore&&(l=!0)):i.value==null&&e?.comment&&(a=e.comment)}a&&(l=!0);let o=Qy(i,c,()=>a=null);n<e.length-1&&(o+=`,`),a&&(o+=zy(o,r,s(a))),!l&&(d.length>u||o.includes(`
|
||
`))&&(l=!0),d.push(o),u=d.length}let{start:f,end:p}=n;if(d.length===0)return f+p;if(!l){let e=d.reduce((e,t)=>e+t.length+2,2);l=t.options.lineWidth>0&&e>t.options.lineWidth}if(l){let e=f;for(let t of d)e+=t?`\n${a}${i}${t}`:`
|
||
`;return`${e}\n${i}${p}`}else return`${f}${o}${d.join(` `)}${o}${p}`}function sb({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,``)),r){let i=Ry(t(r),e);n.push(i.trimStart())}}var q_e=c((()=>{uy(),$y(),By()}));function cb(e,t){let n=sy(t)?t.value:t;for(let r of e)if(oy(r)&&(r.key===t||r.key===n||sy(r.key)&&r.key.value===n))return r}var lb,ub=c((()=>{q_e(),U_e(),Ly(),uy(),ob(),jy(),lb=class extends Iy{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(Qv,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,a=new this(e),o=(e,o)=>{if(typeof i==`function`)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(o!==void 0||r)&&a.items.push(ib(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))o(e,t[e]);return typeof e.sortMapEntries==`function`&&a.items.sort(e.sortMapEntries),a}add(e,t){let n;n=oy(e)?e:!e||typeof e!=`object`||!(`key`in e)?new ab(e,e?.value):new ab(e.key,e.value);let r=cb(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);sy(r.value)&&ky(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>i(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=cb(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=cb(this.items,e)?.value;return(!t&&sy(n)?n.value:n)??void 0}has(e){return!!cb(this.items,e)}set(e,t){this.add(new ab(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(let e of this.items)V_e(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!oy(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})),W_e(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:n,onComment:t})}}})),db,fb=c((()=>{uy(),ub(),db={collection:`map`,default:!0,nodeClass:lb,tag:`tag:yaml.org,2002:map`,resolve(e,t){return ay(e)||t(`Expected a mapping for this tag`),e},createNode:(e,t,n)=>lb.from(e,t,n)}}));function pb(e){let t=sy(e)?e.value:e;return t&&typeof t==`string`&&(t=Number(t)),typeof t==`number`&&Number.isInteger(t)&&t>=0?t:null}var mb,hb=c((()=>{Ny(),q_e(),Ly(),uy(),jy(),Cy(),mb=class extends Iy{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(ty,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=pb(e);return typeof t==`number`?this.items.splice(t,1).length>0:!1}get(e,t){let n=pb(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&sy(r)?r.value:r}has(e){let t=pb(e);return typeof t==`number`&&t<this.items.length}set(e,t){let n=pb(e);if(typeof n!=`number`)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[n];sy(r)&&ky(t)?r.value=t:this.items[n]=t}toJSON(e,t){let n=[];t?.onCreate&&t.onCreate(n);let r=0;for(let e of this.items)n.push(Sy(e,String(r++),t));return n}toString(e,t,n){return e?W_e(this,e,{blockItemPrefix:`- `,flowChars:{start:`[`,end:`]`},itemIndent:(e.indent||``)+` `,onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){if(typeof r==`function`){let n=t instanceof Set?a:String(e++);a=r.call(t,n,a)}i.items.push(My(a,void 0,n))}}return i}}})),gb,_b=c((()=>{uy(),hb(),gb={collection:`seq`,default:!0,nodeClass:mb,tag:`tag:yaml.org,2002:seq`,resolve(e,t){return cy(e)||t(`Expected a sequence for this tag`),e},createNode:(e,t,n)=>mb.from(e,t,n)}})),vb,yb=c((()=>{Zy(),vb={identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),qy(e,t,n,r)}}})),bb,xb=c((()=>{jy(),bb={identify:e=>e==null,createNode:()=>new Ay(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ay(null),stringify:({source:e},t)=>typeof e==`string`&&bb.test.test(e)?e:t.options.nullStr}})),Sb,J_e=c((()=>{jy(),Sb={identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Ay(e[0]===`t`||e[0]===`T`),stringify({source:e,value:t},n){return e&&Sb.test.test(e)&&t===(e[0]===`t`||e[0]===`T`)?e:t?n.options.trueStr:n.options.falseStr}}}));function Cb({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==`bigint`)return String(r);let i=typeof r==`number`?r:Number(r);if(!isFinite(i))return isNaN(i)?`.nan`:i<0?`-.inf`:`.inf`;let a=Object.is(r,-0)?`-0`:JSON.stringify(r);if(!e&&t&&(!n||n===`tag:yaml.org,2002:float`)&&/^\d/.test(a)){let e=a.indexOf(`.`);e<0&&(e=a.length,a+=`.`);let n=t-(a.length-e-1);for(;n-- >0;)a+=`0`}return a}var wb=c((()=>{})),Tb,Eb,Db,Y_e=c((()=>{jy(),wb(),Tb={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:Cb},Eb={identify:e=>typeof e==`number`,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():Cb(e)}},Db={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new Ay(parseFloat(e)),n=e.indexOf(`.`);return n!==-1&&e[e.length-1]===`0`&&(t.minFractionDigits=e.length-n-1),t},stringify:Cb}}));function X_e(e,t,n){let{value:r}=e;return Ob(r)&&r>=0?n+r.toString(t):Cb(e)}var Ob,kb,Ab,jb,Mb,Z_e=c((()=>{wb(),Ob=e=>typeof e==`bigint`||Number.isInteger(e),kb=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n),Ab={identify:e=>Ob(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^0o[0-7]+$/,resolve:(e,t,n)=>kb(e,2,8,n),stringify:e=>X_e(e,8,`0o`)},jb={identify:Ob,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>kb(e,0,10,n),stringify:Cb},Mb={identify:e=>Ob(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>kb(e,2,16,n),stringify:e=>X_e(e,16,`0x`)}})),Q_e,$_e=c((()=>{fb(),xb(),_b(),yb(),J_e(),Y_e(),Z_e(),Q_e=[db,gb,vb,bb,Sb,Ab,jb,Mb,Tb,Eb,Db]}));function eve(e){return typeof e==`bigint`||Number.isInteger(e)}var Nb,tve,nve,rve=c((()=>{jy(),fb(),_b(),Nb=({value:e})=>JSON.stringify(e),tve=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:Nb},{identify:e=>e==null,createNode:()=>new Ay(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:Nb},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:Nb},{identify:eve,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>eve(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Nb}],nve=[db,gb].concat(tve,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}})})),Pb,ive=c((()=>{jy(),Zy(),Pb={identify:e=>e instanceof Uint8Array,default:!1,tag:`tag:yaml.org,2002:binary`,resolve(e,t){if(typeof atob==`function`){let t=atob(e.replace(/[\n\r]/g,``)),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}else return t(`This environment does not support reading binary tags; either Buffer or atob is required`),e},stringify({comment:e,type:t,value:n},r,i,a){if(!n)return``;let o=n,s;if(typeof btoa==`function`){let e=``;for(let t=0;t<o.length;++t)e+=String.fromCharCode(o[t]);s=btoa(e)}else throw Error(`This environment does not support writing binary tags; either Buffer or btoa is required`);if(t??=Ay.BLOCK_LITERAL,t!==Ay.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),i=Array(n);for(let t=0,r=0;t<n;++t,r+=e)i[t]=s.substr(r,e);s=i.join(t===Ay.BLOCK_LITERAL?`
|
||
`:` `)}return qy({comment:e,type:t,value:s},r,i,a)}}}));function ave(e,t){if(cy(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!oy(r)){if(ay(r)){r.items.length>1&&t(`Each pair must have its own sequence indicator`);let e=r.items[0]||new ab(new Ay(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[n]=oy(r)?r:new ab(r)}}else t(`Expected a sequence for this tag`);return e}function ove(e,t,n){let{replacer:r}=n,i=new mb(e);i.tag=`tag:yaml.org,2002:pairs`;let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof r==`function`&&(e=r.call(t,String(a++),e));let o,s;if(Array.isArray(e))if(e.length===2)o=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)o=t[0],s=e[o];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(ib(o,s,n))}return i}var Fb,Ib=c((()=>{uy(),ob(),jy(),hb(),Fb={collection:`seq`,default:!1,tag:`tag:yaml.org,2002:pairs`,resolve:ave,createNode:ove}})),Lb,Rb,sve=c((()=>{uy(),Cy(),ub(),hb(),Ib(),Lb=class e extends mb{constructor(){super(),this.add=lb.prototype.add.bind(this),this.delete=lb.prototype.delete.bind(this),this.get=lb.prototype.get.bind(this),this.has=lb.prototype.has.bind(this),this.set=lb.prototype.set.bind(this),this.tag=e.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;t?.onCreate&&t.onCreate(n);for(let e of this.items){let r,i;if(oy(e)?(r=Sy(e.key,``,t),i=Sy(e.value,r,t)):r=Sy(e,``,t),n.has(r))throw Error(`Ordered maps must not include duplicate keys`);n.set(r,i)}return n}static from(e,t,n){let r=ove(e,t,n),i=new this;return i.items=r.items,i}},Lb.tag=`tag:yaml.org,2002:omap`,Rb={collection:`seq`,identify:e=>e instanceof Map,nodeClass:Lb,default:!1,tag:`tag:yaml.org,2002:omap`,resolve(e,t){let n=ave(e,t),r=[];for(let{key:e}of n.items)sy(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new Lb,n)},createNode:(e,t,n)=>Lb.from(e,t,n)}}));function cve({value:e,source:t},n){return t&&(e?lve:uve).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}var lve,uve,dve=c((()=>{jy(),lve={identify:e=>e===!0,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ay(!0),stringify:cve},uve={identify:e=>e===!1,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ay(!1),stringify:cve}})),fve,pve,mve,hve=c((()=>{jy(),wb(),fve={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:Cb},pve={identify:e=>typeof e==`number`,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():Cb(e)}},mve={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new Ay(parseFloat(e.replace(/_/g,``))),n=e.indexOf(`.`);if(n!==-1){let r=e.substring(n+1).replace(/_/g,``);r[r.length-1]===`0`&&(t.minFractionDigits=r.length)}return t},stringify:Cb}}));function zb(e,t,n,{intAsBigInt:r}){let i=e[0];if((i===`-`||i===`+`)&&(t+=1),e=e.substring(t).replace(/_/g,``),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let t=BigInt(e);return i===`-`?BigInt(-1)*t:t}let a=parseInt(e,n);return i===`-`?-1*a:a}function gve(e,t,n){let{value:r}=e;if(Bb(r)){let e=r.toString(t);return r<0?`-`+n+e.substr(1):n+e}return Cb(e)}var Bb,_ve,vve,yve,bve,xve=c((()=>{wb(),Bb=e=>typeof e==`bigint`||Number.isInteger(e),_ve={identify:Bb,default:!0,tag:`tag:yaml.org,2002:int`,format:`BIN`,test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>zb(e,2,2,n),stringify:e=>gve(e,2,`0b`)},vve={identify:Bb,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>zb(e,1,8,n),stringify:e=>gve(e,8,`0`)},yve={identify:Bb,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>zb(e,0,10,n),stringify:Cb},bve={identify:Bb,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>zb(e,2,16,n),stringify:e=>gve(e,16,`0x`)}})),Vb,Hb,Sve=c((()=>{uy(),ob(),ub(),Vb=class e extends lb{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=oy(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new ab(e.key,null):new ab(e,null),cb(this.items,t.key)||this.items.push(t)}get(e,t){let n=cb(this.items,e);return!t&&oy(n)?sy(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=cb(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ab(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof r==`function`&&(e=r.call(t,e,e)),i.items.push(ib(e,null,n));return i}},Vb.tag=`tag:yaml.org,2002:set`,Hb={collection:`map`,identify:e=>e instanceof Set,nodeClass:Vb,default:!1,tag:`tag:yaml.org,2002:set`,createNode:(e,t,n)=>Vb.from(e,t,n),resolve(e,t){if(ay(e)){if(e.hasAllNullValues(!0))return Object.assign(new Vb,e);t(`Set items must all have null values`)}else t(`Expected a mapping for this tag`);return e}}}));function Cve(e,t){let n=e[0],r=n===`-`||n===`+`?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,``).split(`:`).reduce((e,t)=>e*i(60)+i(t),i(0));return n===`-`?i(-1)*a:a}function wve(e){let{value:t}=e,n=e=>e;if(typeof t==`bigint`)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Cb(e);let r=``;t<0&&(r=`-`,t*=n(-1));let i=n(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),r+a.map(e=>String(e).padStart(2,`0`)).join(`:`).replace(/000000\d*$/,``)}var Tve,Eve,Ub,Dve=c((()=>{wb(),Tve={identify:e=>typeof e==`bigint`||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:n})=>Cve(e,n),stringify:wve},Eve={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Cve(e,!1),stringify:wve},Ub={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(Ub.test);if(!t)throw Error(`!!timestamp expects a date, starting with yyyy-mm-dd`);let[,n,r,i,a,o,s]=t.map(Number),c=t[7]?Number((t[7]+`00`).substr(1,3)):0,l=Date.UTC(n,r-1,i,a||0,o||0,s||0,c),u=t[8];if(u&&u!==`Z`){let e=Cve(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,``)??``}})),Ove,kve=c((()=>{fb(),xb(),_b(),yb(),ive(),dve(),hve(),xve(),rb(),sve(),Ib(),Sve(),Dve(),Ove=[db,gb,vb,bb,lve,uve,_ve,vve,yve,bve,fve,pve,mve,Pb,nb,Rb,Fb,Hb,Tve,Eve,Ub]}));function Ave(e,t,n){let r=jve.get(t);if(r&&!e)return n&&!r.includes(nb)?r.concat(nb):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(jve.keys()).filter(e=>e!==`yaml11`).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else typeof e==`function`&&(i=e(i.slice()));return n&&(i=i.concat(nb)),i.reduce((e,t)=>{let n=typeof t==`string`?Mve[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(Mve).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}var jve,Mve,Nve,Pve=c((()=>{fb(),xb(),_b(),yb(),J_e(),Y_e(),Z_e(),$_e(),rve(),ive(),rb(),sve(),Ib(),kve(),Sve(),Dve(),jve=new Map([[`core`,Q_e],[`failsafe`,[db,gb,vb]],[`json`,nve],[`yaml11`,Ove],[`yaml-1.1`,Ove]]),Mve={binary:Pb,bool:Sb,float:Db,floatExp:Eb,floatNaN:Tb,floatTime:Eve,int:jb,intHex:Mb,intOct:Ab,intTime:Tve,map:db,merge:nb,null:bb,omap:Rb,pairs:Fb,seq:gb,set:Hb,timestamp:Ub},Nve={"tag:yaml.org,2002:binary":Pb,"tag:yaml.org,2002:merge":nb,"tag:yaml.org,2002:omap":Rb,"tag:yaml.org,2002:pairs":Fb,"tag:yaml.org,2002:set":Hb,"tag:yaml.org,2002:timestamp":Ub}})),Fve,Wb,Ive=c((()=>{uy(),fb(),_b(),yb(),Pve(),Fve=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,Wb=class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(e)?Ave(e,`compat`):e?Ave(null,e):null,this.name=typeof i==`string`&&i||`core`,this.knownTags=r?Nve:{},this.tags=Ave(t,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,Qv,{value:db}),Object.defineProperty(this,ey,{value:vb}),Object.defineProperty(this,ty,{value:gb}),this.sortMapEntries=typeof a==`function`?a:a===!0?Fve:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}}));function Lve(e,t){let n=[],r=t.directives===!0;if(t.directives!==!1&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push(`---`);let i=M_e(e,t),{commentString:a}=i.options;if(e.commentBefore){n.length!==1&&n.unshift(``);let t=a(e.commentBefore);n.unshift(Ry(t,``))}let o=!1,s=null;if(e.contents){if(Yv(e.contents)){if(e.contents.spaceBefore&&r&&n.push(``),e.contents.commentBefore){let t=a(e.contents.commentBefore);n.push(Ry(t,``))}i.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>o=!0,c=Qy(e.contents,i,()=>s=null,t);s&&(c+=zy(c,``,a(s))),(c[0]===`|`||c[0]===`>`)&&n[n.length-1]===`---`?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(Qy(e.contents,i));if(e.directives?.docEnd)if(e.comment){let t=a(e.comment);t.includes(`
|
||
`)?(n.push(`...`),n.push(Ry(t,``))):n.push(`... ${t}`)}else n.push(`...`);else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,``)),t&&((!o||s)&&n[n.length-1]!==``&&n.push(``),n.push(Ry(a(t),``)))}return n.join(`
|
||
`)+`
|
||
`}var Rve=c((()=>{uy(),$y(),By()}));function Gb(e){if(Jv(e))return!0;throw Error(`Expected a YAML collection as document contents`)}var Kb,qb=c((()=>{Oy(),Ly(),uy(),ob(),Cy(),Ive(),Rve(),by(),S_e(),Ny(),__e(),Kb=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,ny,{value:Zv});let r=null;typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=i;let{version:a}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new yy({version:a}),this.setSchema(a,n),this.contents=e===void 0?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[ny]:{value:Zv}});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=Yv(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){Gb(this.contents)&&this.contents.add(e)}addIn(e,t){Gb(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=y_e(this);e.anchor=!t||n.has(t)?b_e(t||`a`,n):t}return new Dy(e.anchor)}createNode(e,t,n){let r;if(typeof t==`function`)e=t.call({"":e},``,e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:a,flow:o,keepUndefined:s,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=x_e(this,a||`a`),p={aliasDuplicateObjects:i??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f},m=My(e,l,p);return o&&Jv(m)&&(m.flow=!0),d(),m}createPair(e,t,n={}){return new ab(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return Gb(this.contents)?this.contents.delete(e):!1}deleteIn(e){return Fy(e)?this.contents==null?!1:(this.contents=null,!0):Gb(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return Jv(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Fy(e)?!t&&sy(this.contents)?this.contents.value:this.contents:Jv(this.contents)?this.contents.getIn(e,t):void 0}has(e){return Jv(this.contents)?this.contents.has(e):!1}hasIn(e){return Fy(e)?this.contents!==void 0:Jv(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=Py(this.schema,[e],t):Gb(this.contents)&&this.contents.set(e,t)}setIn(e,t){Fy(e)?this.contents=t:this.contents==null?this.contents=Py(this.schema,Array.from(e),t):Gb(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new yy({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new yy({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=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(n)this.schema=new Wb(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},s=Sy(this.contents,t??``,o);if(typeof i==`function`)for(let{count:e,res:t}of o.anchors.values())i(t,e);return typeof a==`function`?xy(a,{"":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 Lve(this,e)}}})),Jb,Yb,Xb,Zb,Qb=c((()=>{Jb=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},Yb=class extends Jb{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},Xb=class extends Jb{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}},Zb=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`…
|
||
`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}}}));function $b(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let ee=e[e.length-1],S=ee?ee.offset+ee.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:S,start:x??S}}var ex=c((()=>{}));function tx(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(`
|
||
`))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let t of e.items){for(let e of t.start)if(e.type===`newline`)return!0;if(t.sep){for(let e of t.sep)if(e.type===`newline`)return!0}if(tx(t.key)||tx(t.value))return!0}return!1;default:return!0}}var zve=c((()=>{}));function Bve(e,t,n){if(t?.type===`flow-collection`){let r=t.end[0];r.indent===e&&(r.source===`]`||r.source===`}`)&&tx(t)&&n(r,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}var Vve=c((()=>{zve()}));function Hve(e,t,n){let{uniqueKeys:r}=e.options;if(r===!1)return!1;let i=typeof r==`function`?r:(e,t)=>e===t||sy(e)&&sy(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}var Uve=c((()=>{uy()}));function Wve({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new(a?.nodeClass??lb)(n.schema);n.atRoot&&=!1;let s=r.offset,c=null;for(let a of r.items){let{start:l,key:u,sep:d,value:f}=a,p=$b(l,{indicator:`explicit-key-ind`,next:u??d?.[0],offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(u&&(u.type===`block-seq`?i(s,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in u&&u.indent!==r.indent&&i(s,`BAD_INDENT`,Gve)),!p.anchor&&!p.tag&&!d){c=p.end,p.comment&&(o.comment?o.comment+=`
|
||
`+p.comment:o.comment=p.comment);continue}(p.newlineAfterProp||tx(u))&&i(u??l[l.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else p.found?.indent!==r.indent&&i(s,`BAD_INDENT`,Gve);n.atKey=!0;let h=p.end,g=u?e(n,u,p,i):t(n,h,l,null,p,i);n.schema.compat&&Bve(r.indent,u,i),n.atKey=!1,Hve(n,o.items,g)&&i(h,`DUPLICATE_KEY`,`Map keys must be unique`);let _=$b(d??[],{indicator:`map-value-ind`,next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||u.type===`block-scalar`});if(s=_.end,_.found){m&&(f?.type===`block-map`&&!_.hasNewline&&i(s,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),n.options.strict&&p.start<_.found.offset-1024&&i(g.range,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit block mapping key`));let c=f?e(n,f,_,i):t(n,s,d,null,_,i);n.schema.compat&&Bve(r.indent,f,i),s=c.range[2];let l=new ab(g,c);n.options.keepSourceTokens&&(l.srcToken=a),o.items.push(l)}else{m&&i(g.range,`MISSING_CHAR`,`Implicit map keys need to be followed by map values`),_.comment&&(g.comment?g.comment+=`
|
||
`+_.comment:g.comment=_.comment);let e=new ab(g);n.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return c&&c<s&&i(c,`IMPOSSIBLE`,`Map comment with trailing content`),o.range=[r.offset,s,c??s],o}var Gve,Kve=c((()=>{ob(),ub(),ex(),zve(),Vve(),Uve(),Gve=`All mapping items must start at the same column`}));function qve({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new(a?.nodeClass??mb)(n.schema);n.atRoot&&=!1,n.atKey&&=!1;let s=r.offset,c=null;for(let{start:a,value:l}of r.items){let u=$b(a,{indicator:`seq-item-ind`,next:l,offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||l)l?.type===`block-seq`?i(u.end,`BAD_INDENT`,`All sequence items must start at the same column`):i(s,`MISSING_CHAR`,`Sequence item without - indicator`);else{c=u.end,u.comment&&(o.comment=u.comment);continue}let d=l?e(n,l,u,i):t(n,u.end,a,null,u,i);n.schema.compat&&Bve(r.indent,l,i),s=d.range[2],o.items.push(d)}return o.range=[r.offset,s,c??s],o}var Jve=c((()=>{hb(),ex(),Vve()}));function nx(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}var rx=c((()=>{}));function Yve({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=r.start.source===`{`,s=o?`flow map`:`flow sequence`,c=new(a?.nodeClass??(o?lb:mb))(n.schema);c.flow=!0;let l=n.atRoot;l&&(n.atRoot=!1),n.atKey&&=!1;let u=r.offset+r.start.source.length;for(let a=0;a<r.items.length;++a){let l=r.items[a],{start:d,key:f,sep:p,value:m}=l,h=$b(d,{flow:s,indicator:`explicit-key-ind`,next:f??p?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!h.found){if(!h.anchor&&!h.tag&&!p&&!m){a===0&&h.comma?i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`):a<r.items.length-1&&i(h.start,`UNEXPECTED_TOKEN`,`Unexpected empty item in ${s}`),h.comment&&(c.comment?c.comment+=`
|
||
`+h.comment:c.comment=h.comment),u=h.end;continue}!o&&n.options.strict&&tx(f)&&i(f,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`)}if(a===0)h.comma&&i(h.comma,`UNEXPECTED_TOKEN`,`Unexpected , in ${s}`);else if(h.comma||i(h.start,`MISSING_CHAR`,`Missing , between ${s} items`),h.comment){let e=``;loop:for(let t of d)switch(t.type){case`comma`:case`space`:break;case`comment`:e=t.source.substring(1);break loop;default:break loop}if(e){let t=c.items[c.items.length-1];oy(t)&&(t=t.value??t.key),t.comment?t.comment+=`
|
||
`+e:t.comment=e,h.comment=h.comment.substring(e.length+1)}}if(!o&&!p&&!h.found){let r=m?e(n,m,h,i):t(n,h.end,p,null,h,i);c.items.push(r),u=r.range[2],ax(m)&&i(r.range,`BLOCK_IN_FLOW`,ix)}else{n.atKey=!0;let a=h.end,g=f?e(n,f,h,i):t(n,a,d,null,h,i);ax(f)&&i(g.range,`BLOCK_IN_FLOW`,ix),n.atKey=!1;let _=$b(p??[],{flow:s,indicator:`map-value-ind`,next:m,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(_.found){if(!o&&!h.found&&n.options.strict){if(p)for(let e of p){if(e===_.found)break;if(e.type===`newline`){i(e,`MULTILINE_IMPLICIT_KEY`,`Implicit keys of flow sequence pairs need to be on a single line`);break}}h.start<_.found.offset-1024&&i(_.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]===`:`?i(m,`MISSING_CHAR`,`Missing space after : in ${s}`):i(_.start,`MISSING_CHAR`,`Missing , or : between ${s} items`));let v=m?e(n,m,_,i):_.found?t(n,_.end,p,null,_,i):null;v?ax(m)&&i(v.range,`BLOCK_IN_FLOW`,ix):_.comment&&(g.comment?g.comment+=`
|
||
`+_.comment:g.comment=_.comment);let y=new ab(g,v);if(n.options.keepSourceTokens&&(y.srcToken=l),o){let e=c;Hve(n,e.items,g)&&i(a,`DUPLICATE_KEY`,`Map keys must be unique`),e.items.push(y)}else{let e=new lb(n.schema);e.flow=!0,e.items.push(y);let t=(v??g).range;e.range=[g.range[0],t[1],t[2]],c.items.push(e)}u=v?v.range[2]:_.end}}let d=o?`}`:`]`,[f,...p]=r.end,m=u;if(f?.source===d)m=f.offset+f.source.length;else{let e=s[0].toUpperCase()+s.substring(1),t=l?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;i(u,l?`MISSING_CHAR`:`BAD_INDENT`,t),f&&f.source.length!==1&&p.unshift(f)}if(p.length>0){let e=nx(p,m,n.options.strict,i);e.comment&&(c.comment?c.comment+=`
|
||
`+e.comment:c.comment=e.comment),c.range=[r.offset,m,e.offset]}else c.range=[r.offset,m,m];return c}var ix,ax,Xve=c((()=>{uy(),ob(),ub(),hb(),rx(),ex(),zve(),Uve(),ix=`Block collections are not allowed within flow collections`,ax=e=>e&&(e.type===`block-map`||e.type===`block-seq`)}));function Zve(e,t,n,r,i,a){let o=n.type===`block-map`?Wve(e,t,n,r,a):n.type===`block-seq`?qve(e,t,n,r,a):Yve(e,t,n,r,a),s=o.constructor;return i===`!`||i===s.tagName?(o.tag=s.tagName,o):(i&&(o.tag=i),o)}function Qve(e,t,n,r,i){let a=r.tag,o=a?t.directives.tagName(a.source,e=>i(a,`TAG_RESOLVE_FAILED`,e)):null;if(n.type===`block-seq`){let{anchor:e,newlineAfterProp:t}=r,n=e&&a?e.offset>a.offset?e:a:e??a;n&&(!t||t.offset<n.offset)&&i(n,`MISSING_CHAR`,`Missing newline after block sequence props`)}let s=n.type===`block-map`?`map`:n.type===`block-seq`?`seq`:n.start.source===`{`?`map`:`seq`;if(!a||!o||o===`!`||o===lb.tagName&&s===`map`||o===mb.tagName&&s===`seq`)return Zve(e,t,n,i,o);let c=t.schema.tags.find(e=>e.tag===o&&e.collection===s);if(!c){let r=t.schema.knownTags[o];if(r?.collection===s)t.schema.tags.push(Object.assign({},r,{default:!1})),c=r;else return r?i(a,`BAD_COLLECTION_TYPE`,`${r.tag} used for ${s} collection, but expects ${r.collection??`scalar`}`,!0):i(a,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${o}`,!0),Zve(e,t,n,i,o)}let l=Zve(e,t,n,i,o,c),u=c.resolve?.(l,e=>i(a,`TAG_RESOLVE_FAILED`,e),t.options)??l,d=Yv(u)?u:new Ay(u);return d.range=l.range,d.tag=o,c?.format&&(d.format=c.format),d}var $ve=c((()=>{uy(),jy(),ub(),hb(),Kve(),Jve(),Xve()}));function eye(e,t,n){let r=t.offset,i=tye(t,e.options.strict,n);if(!i)return{value:``,type:null,comment:``,range:[r,r,r]};let a=i.mode===`>`?Ay.BLOCK_FOLDED:Ay.BLOCK_LITERAL,o=t.source?nye(t.source):[],s=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(t===``||t===`\r`)s=e;else break}if(s===0){let e=i.chomp===`+`&&o.length>0?`
|
||
`.repeat(Math.max(1,o.length-1)):``,n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:a,comment:i.comment,range:[r,n,n]}}let c=t.indent+i.indent,l=t.offset+i.length,u=0;for(let t=0;t<s;++t){let[r,a]=o[t];if(a===``||a===`\r`)i.indent===0&&r.length>c&&(c=r.length);else{r.length<c&&n(l+r.length,`MISSING_CHAR`,`Block scalars with more-indented leading empty lines must use an explicit indentation indicator`),i.indent===0&&(c=r.length),u=t,c===0&&!e.atRoot&&n(l,`BAD_INDENT`,`Block scalar values in collections must be indented`);break}l+=r.length+a.length+1}for(let e=o.length-1;e>=s;--e)o[e][0].length>c&&(s=e+1);let d=``,f=``,p=!1;for(let e=0;e<u;++e)d+=o[e][0].slice(c)+`
|
||
`;for(let e=u;e<s;++e){let[t,r]=o[e];l+=t.length+r.length+1;let s=r[r.length-1]===`\r`;if(s&&(r=r.slice(0,-1)),r&&t.length<c){let e=`Block scalar lines must not be less indented than their ${i.indent?`explicit indentation indicator`:`first line`}`;n(l-r.length-(s?2:1),`BAD_INDENT`,e),t=``}a===Ay.BLOCK_LITERAL?(d+=f+t.slice(c)+r,f=`
|
||
`):t.length>c||r[0]===` `?(f===` `?f=`
|
||
`:!p&&f===`
|
||
`&&(f=`
|
||
|
||
`),d+=f+t.slice(c)+r,f=`
|
||
`,p=!0):r===``?f===`
|
||
`?d+=`
|
||
`:f=`
|
||
`:(d+=f+r,f=` `,p=!1)}switch(i.chomp){case`-`:break;case`+`:for(let e=s;e<o.length;++e)d+=`
|
||
`+o[e][0].slice(c);d[d.length-1]!==`
|
||
`&&(d+=`
|
||
`);break;default:d+=`
|
||
`}let m=r+i.length+t.source.length;return{value:d,type:a,comment:i.comment,range:[r,m,m]}}function tye({offset:e,props:t},n,r){if(t[0].type!==`block-scalar-header`)return r(t[0],`IMPOSSIBLE`,`Block scalar header not found`),null;let{source:i}=t[0],a=i[0],o=0,s=``,c=-1;for(let t=1;t<i.length;++t){let n=i[t];if(!s&&(n===`-`||n===`+`))s=n;else{let r=Number(n);!o&&r?o=r:c===-1&&(c=e+t)}}c!==-1&&r(c,`UNEXPECTED_TOKEN`,`Block scalar header includes extra characters: ${i}`);let l=!1,u=``,d=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case`space`:l=!0;case`newline`:d+=i.source.length;break;case`comment`:n&&!l&&r(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`),d+=i.source.length,u=i.source.substring(1);break;case`error`:r(i,`UNEXPECTED_TOKEN`,i.message),d+=i.source.length;break;default:{r(i,`UNEXPECTED_TOKEN`,`Unexpected token in block scalar header: ${i.type}`);let e=i.source;e&&typeof e==`string`&&(d+=e.length)}}}return{mode:a,indent:o,chomp:s,comment:u,length:d}}function nye(e){let t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r?.[1]?[r[1],n.slice(r[1].length)]:[``,n]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}var rye=c((()=>{jy()}));function iye(e,t,n){let{offset:r,type:i,source:a,end:o}=e,s,c,l=(e,t,i)=>n(r+e,t,i);switch(i){case`scalar`:s=Ay.PLAIN,c=aye(a,l);break;case`single-quoted-scalar`:s=Ay.QUOTE_SINGLE,c=oye(a,l);break;case`double-quoted-scalar`:s=Ay.QUOTE_DOUBLE,c=cye(a,l);break;default:return n(e,`UNEXPECTED_TOKEN`,`Expected a flow scalar value, but found: ${i}`),{value:``,type:null,comment:``,range:[r,r+a.length,r+a.length]}}let u=r+a.length,d=nx(o,u,t,n);return{value:c,type:s,comment:d.comment,range:[r,u,d.offset]}}function aye(e,t){let n=``;switch(e[0]){case` `:n=`a tab character`;break;case`,`:n=`flow indicator character ,`;break;case`%`:n=`directive indicator character %`;break;case`|`:case`>`:n=`block scalar indicator ${e[0]}`;break;case`@`:case"`":n=`reserved character ${e[0]}`;break}return n&&t(0,`BAD_SCALAR_START`,`Plain value cannot start with ${n}`),sye(e)}function oye(e,t){return(e[e.length-1]!==`'`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing 'quote`),sye(e.slice(1,-1)).replace(/''/g,`'`)}function sye(e){let t,n;try{t=RegExp(`(.*?)(?<![ ])[ ]*\r?
|
||
`,`sy`),n=RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
||
`,`sy`)}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],a=` `,o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)r[1]===``?a===`
|
||
`?i+=a:a=`
|
||
`:(i+=a+r[1],a=` `),o=n.lastIndex;let s=/[ \t]*(.*)/sy;return s.lastIndex=o,r=s.exec(e),i+a+(r?.[1]??``)}function cye(e,t){let n=``;for(let r=1;r<e.length-1;++r){let i=e[r];if(!(i===`\r`&&e[r+1]===`
|
||
`))if(i===`
|
||
`){let{fold:t,offset:i}=lye(e,r);n+=t,r=i}else if(i===`\\`){let i=e[++r],a=dye[i];if(a)n+=a;else if(i===`
|
||
`)for(i=e[r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`\r`&&e[r+1]===`
|
||
`)for(i=e[++r+1];i===` `||i===` `;)i=e[++r+1];else if(i===`x`||i===`u`||i===`U`){let a={x:2,u:4,U:8}[i];n+=uye(e,r+1,a,t),r+=a}else{let i=e.substr(r-1,2);t(r-1,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),n+=i}}else if(i===` `||i===` `){let t=r,a=e[r+1];for(;a===` `||a===` `;)a=e[++r+1];a!==`
|
||
`&&!(a===`\r`&&e[r+2]===`
|
||
`)&&(n+=r>t?e.slice(t,r+1):i)}else n+=i}return(e[e.length-1]!==`"`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing "quote`),n}function lye(e,t){let n=``,r=e[t+1];for(;(r===` `||r===` `||r===`
|
||
`||r===`\r`)&&!(r===`\r`&&e[t+2]!==`
|
||
`);)r===`
|
||
`&&(n+=`
|
||
`),t+=1,r=e[t+1];return n||=` `,{fold:n,offset:t}}function uye(e,t,n,r){let i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){let i=e.substr(t-2,n+2);return r(t-2,`BAD_DQ_ESCAPE`,`Invalid escape sequence ${i}`),i}return String.fromCodePoint(a)}var dye,fye=c((()=>{jy(),rx(),dye={0:`\0`,a:`\x07`,b:`\b`,e:`\x1B`,f:`\f`,n:`
|
||
`,r:`\r`,t:` `,v:`\v`,N:`
`,_:`\xA0`,L:`\u2028`,P:`\u2029`," ":` `,'"':`"`,"/":`/`,"\\":`\\`," ":` `}}));function pye(e,t,n,r){let{value:i,type:a,comment:o,range:s}=t.type===`block-scalar`?eye(e,t,r):iye(t,e.options.strict,r),c=n?e.directives.tagName(n.source,e=>r(n,`TAG_RESOLVE_FAILED`,e)):null,l;l=e.options.stringKeys&&e.atKey?e.schema[ey]:c?mye(e.schema,i,c,n,r):t.type===`scalar`?hye(e,i,t,r):e.schema[ey];let u;try{let a=l.resolve(i,e=>r(n??t,`TAG_RESOLVE_FAILED`,e),e.options);u=sy(a)?a:new Ay(a)}catch(e){let a=e instanceof Error?e.message:String(e);r(n??t,`TAG_RESOLVE_FAILED`,a),u=new Ay(i)}return u.range=s,u.source=i,a&&(u.type=a),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function mye(e,t,n,r,i){if(n===`!`)return e[ey];let a=[];for(let t of e.tags)if(!t.collection&&t.tag===n)if(t.default&&t.test)a.push(t);else return t;for(let e of a)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${n}`,n!==`tag:yaml.org,2002:str`),e[ey])}function hye({atKey:e,directives:t,schema:n},r,i,a){let o=n.tags.find(t=>(t.default===!0||e&&t.default===`key`)&&t.test?.test(r))||n[ey];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[ey];o.tag!==e.tag&&a(i,`TAG_RESOLVE_FAILED`,`Value may be parsed as either ${t.tagString(o.tag)} or ${t.tagString(e.tag)}`,!0)}return o}var gye=c((()=>{uy(),jy(),rye(),fye()}));function _ye(e,t,n){if(t){n??=t.length;for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case`space`:case`comment`:case`newline`:e-=n.source.length;continue}for(n=t[++r];n?.type===`space`;)e+=n.source.length,n=t[++r];break}}return e}var vye=c((()=>{}));function yye(e,t,n,r){let i=e.atKey,{spaceBefore:a,comment:o,anchor:s,tag:c}=n,l,u=!0;switch(t.type){case`alias`:l=bye(e,t,r),(s||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`:l=pye(e,t,c,r),s&&(l.anchor=s.source.substring(1));break;case`block-map`:case`block-seq`:case`flow-collection`:l=Qve(xye,e,t,n,r),s&&(l.anchor=s.source.substring(1));break;default:r(t,`UNEXPECTED_TOKEN`,t.type===`error`?t.message:`Unsupported token (type: ${t.type})`),l=ox(e,t.offset,void 0,null,n,r),u=!1}return s&&l.anchor===``&&r(s,`BAD_ALIAS`,`Anchor cannot be an empty string`),i&&e.options.stringKeys&&(!sy(l)||typeof l.value!=`string`||l.tag&&l.tag!==`tag:yaml.org,2002:str`)&&r(c??t,`NON_STRING_KEY`,`With stringKeys, all keys must be strings`),a&&(l.spaceBefore=!0),o&&(t.type===`scalar`&&t.source===``?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&u&&(l.srcToken=t),l}function ox(e,t,n,r,{spaceBefore:i,comment:a,anchor:o,tag:s,end:c},l){let u=pye(e,{type:`scalar`,offset:_ye(t,n,r),indent:-1,source:``},s,l);return o&&(u.anchor=o.source.substring(1),u.anchor===``&&l(o,`BAD_ALIAS`,`Anchor cannot be an empty string`)),i&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=c),u}function bye({options:e},{offset:t,source:n,end:r},i){let a=new Dy(n.substring(1));a.source===``&&i(t,`BAD_ALIAS`,`Alias cannot be an empty string`),a.source.endsWith(`:`)&&i(t+n.length-1,`BAD_ALIAS`,`Alias ending in : is ambiguous`,!0);let o=t+n.length,s=nx(r,o,e.strict,i);return a.range=[t,o,s.offset],s.comment&&(a.comment=s.comment),a}var xye,Sye=c((()=>{Oy(),uy(),$ve(),gye(),rx(),vye(),xye={composeNode:yye,composeEmptyNode:ox}}));function Cye(e,t,{offset:n,start:r,value:i,end:a},o){let s=new Kb(void 0,Object.assign({_directives:t},e)),c={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},l=$b(r,{indicator:`doc-start`,next:i??a?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});l.found&&(s.directives.docStart=!0,i&&(i.type===`block-map`||i.type===`block-seq`)&&!l.hasNewline&&o(l.end,`MISSING_CHAR`,`Block collection cannot start on same line with directives-end marker`)),s.contents=i?yye(c,i,l,o):ox(c,l.end,r,null,l,o);let u=s.contents.range[2],d=nx(a,u,!1,o);return d.comment&&(s.comment=d.comment),s.range=[n,u,d.offset],s}var wye=c((()=>{qb(),Sye(),rx(),ex()}));function sx(e){if(typeof e==`number`)return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+(typeof n==`string`?n.length:1)]}function Tye(e){let t=``,n=!1,r=!1;for(let i=0;i<e.length;++i){let a=e[i];switch(a[0]){case`#`:t+=(t===``?``:r?`
|
||
|
||
`:`
|
||
`)+(a.substring(1)||` `),n=!0,r=!1;break;case`%`:e[i+1]?.[0]!==`#`&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}var cx,Eye=c((()=>{__e(),qb(),Qb(),uy(),wye(),rx(),cx=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let i=sx(e);r?this.warnings.push(new Xb(i,t,n)):this.errors.push(new Yb(i,t,n))},this.directives=new yy({version:e.version||`1.2`}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=Tye(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(Jv(i)&&!i.flow&&i.items.length>0){let e=i.items[0];oy(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Tye(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case`directive`:this.directives.add(e.source,(t,n,r)=>{let i=sx(e);i[0]+=t,this.onError(i,`BAD_DIRECTIVE`,n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case`document`:{let t=Cye(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,n=new Yb(sx(e),`UNEXPECTED_TOKEN`,t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case`doc-end`:{if(!this.doc){this.errors.push(new Yb(sx(e),`UNEXPECTED_TOKEN`,`Unexpected doc-end without preceding document`));break}this.doc.directives.docEnd=!0;let t=nx(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 Yb(sx(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 Kb(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 Dye(e,t=!0,n){if(e){let r=(e,t,r)=>{let i=typeof e==`number`?e:Array.isArray(e)?e[0]:e.offset;if(n)n(i,t,r);else throw new Yb([i,i+1],t,r)};switch(e.type){case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return iye(e,t,r);case`block-scalar`:return eye({options:{strict:t}},e,r)}}return null}function Oye(e,t){let{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:a=-1,type:o=`PLAIN`}=t,s=qy({type:o,value:e},{implicitKey:n,indent:r>0?` `.repeat(r):``,inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:`newline`,offset:-1,indent:r,source:`
|
||
`}];switch(s[0]){case`|`:case`>`:{let e=s.indexOf(`
|
||
`),t=s.substring(0,e),n=s.substring(e+1)+`
|
||
`,i=[{type:`block-scalar-header`,offset:a,indent:r,source:t}];return jye(i,c)||i.push({type:`newline`,offset:-1,indent:r,source:`
|
||
`}),{type:`block-scalar`,offset:a,indent:r,props:i,source:n}}case`"`:return{type:`double-quoted-scalar`,offset:a,indent:r,source:s,end:c};case`'`:return{type:`single-quoted-scalar`,offset:a,indent:r,source:s,end:c};default:return{type:`scalar`,offset:a,indent:r,source:s,end:c}}}function kye(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:a=!1,type:o}=n,s=`indent`in e?e.indent:null;if(r&&typeof s==`number`&&(s+=2),!o)switch(e.type){case`single-quoted-scalar`:o=`QUOTE_SINGLE`;break;case`double-quoted-scalar`:o=`QUOTE_DOUBLE`;break;case`block-scalar`:{let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);o=t.source[0]===`>`?`BLOCK_FOLDED`:`BLOCK_LITERAL`;break}default:o=`PLAIN`}let c=qy({type:o,value:t},{implicitKey:i||s===null,indent:s!==null&&s>0?` `.repeat(s):``,inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case`|`:case`>`:Aye(e,c);break;case`"`:lx(e,c,`double-quoted-scalar`);break;case`'`:lx(e,c,`single-quoted-scalar`);break;default:lx(e,c,`scalar`)}}function Aye(e,t){let n=t.indexOf(`
|
||
`),r=t.substring(0,n),i=t.substring(n+1)+`
|
||
`;if(e.type===`block-scalar`){let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);t.source=r,e.source=i}else{let{offset:t}=e,n=`indent`in e?e.indent:-1,a=[{type:`block-scalar-header`,offset:t,indent:n,source:r}];jye(a,`end`in e?e.end:void 0)||a.push({type:`newline`,offset:-1,indent:n,source:`
|
||
`});for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:`block-scalar`,indent:n,props:a,source:i})}}function jye(e,t){if(t)for(let n of t)switch(n.type){case`space`:case`comment`:e.push(n);break;case`newline`:return e.push(n),!0}return!1}function lx(e,t,n){switch(e.type){case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:e.type=n,e.source=t;break;case`block-scalar`:{let r=e.props.slice(1),i=t.length;e.props[0].type===`block-scalar-header`&&(i-=e.props[0].source.length);for(let e of r)e.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case`block-map`:case`block-seq`:{let r={type:`newline`,offset:e.offset+t.length,indent:e.indent,source:`
|
||
`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r=`indent`in e?e.indent:-1,i=`end`in e&&Array.isArray(e.end)?e.end.filter(e=>e.type===`space`||e.type===`comment`||e.type===`newline`):[];for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}var Mye=c((()=>{rye(),fye(),Qb(),Zy()}));function ux(e){switch(e.type){case`block-scalar`:{let t=``;for(let n of e.props)t+=ux(n);return t+e.source}case`block-map`:case`block-seq`:{let t=``;for(let n of e.items)t+=dx(n);return t}case`flow-collection`:{let t=e.start.source;for(let n of e.items)t+=dx(n);for(let n of e.end)t+=n.source;return t}case`document`:{let t=dx(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if(`end`in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function dx({start:e,key:t,sep:n,value:r}){let i=``;for(let t of e)i+=t.source;if(t&&(i+=ux(t)),n)for(let e of n)i+=e.source;return r&&(i+=ux(r)),i}var Nye,Pye=c((()=>{Nye=e=>`type`in e?ux(e):dx(e)}));function fx(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),Fye(Object.freeze([]),e,t)}function Fye(e,t,n){let r=n(t,e);if(typeof r==`symbol`)return r;for(let i of[`key`,`value`]){let a=t[i];if(a&&`items`in a){for(let t=0;t<a.items.length;++t){let r=Fye(Object.freeze(e.concat([[i,t]])),a.items[t],n);if(typeof r==`number`)t=r-1;else if(r===px)return px;else r===mx&&(a.items.splice(t,1),--t)}typeof r==`function`&&i===`key`&&(r=r(t,e))}}return typeof r==`function`?r(t,e):r}var px,Iye,mx,Lye=c((()=>{px=Symbol(`break visit`),Iye=Symbol(`skip children`),mx=Symbol(`remove item`),fx.BREAK=px,fx.SKIP=Iye,fx.REMOVE=mx,fx.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},fx.parentCollection=(e,t)=>{let n=fx.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&`items`in i)return i;throw Error(`Parent collection not found`)}})),Rye=u({BOM:()=>``,DOCUMENT:()=>``,FLOW_END:()=>``,SCALAR:()=>``,createScalarToken:()=>Oye,isCollection:()=>Vye,isScalar:()=>Hye,prettyToken:()=>zye,resolveAsScalar:()=>Dye,setScalarValue:()=>kye,stringify:()=>Nye,tokenType:()=>Bye,visit:()=>fx});function zye(e){switch(e){case``:return`<BOM>`;case``:return`<DOC>`;case``:return`<FLOW_END>`;case``:return`<SCALAR>`;default:return JSON.stringify(e)}}function Bye(e){switch(e){case``: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`
|
||
`:case`\r
|
||
`: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` `: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 Vye,Hye,hx=c((()=>{Mye(),Pye(),Lye(),Vye=e=>!!e&&`items`in e,Hye=e=>!!e&&(e.type===`scalar`||e.type===`single-quoted-scalar`||e.type===`double-quoted-scalar`||e.type===`block-scalar`)}));function gx(e){switch(e){case void 0:case` `:case`
|
||
`:case`\r`:case` `:return!0;default:return!1}}var _x,Uye,vx,Wye,yx,bx,Gye=c((()=>{hx(),_x=new Set(`0123456789ABCDEFabcdef`),Uye=new Set(`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()`),vx=new Set(`,[]{}`),Wye=new Set(` ,[]{}
|
||
\r `),yx=e=>!e||Wye.has(e),bx=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(typeof e!=`string`)throw TypeError(`source is not a string`);this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??`stream`;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===` `||t===` `;)t=this.buffer[++e];return!t||t===`#`||t===`
|
||
`?!0:t===`\r`?this.buffer[e+1]===`
|
||
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;t===` `;)t=this.buffer[++n+e];if(t===`\r`){let t=this.buffer[n+e+1];if(t===`
|
||
`||!t&&!this.atEnd)return e+n+1}return t===`
|
||
`||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t===`-`||t===`.`){let t=this.buffer.substr(e,3);if((t===`---`||t===`...`)&&gx(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!=`number`||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
||
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]===`\r`&&--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(e===null)return this.setNext(`stream`);if(e[0]===``&&(yield*this.pushCount(1),e=e.substring(1)),e[0]===`%`){let t=e.length,n=e.indexOf(`#`);for(;n!==-1;){let r=e[n-1];if(r===` `||r===` `){t=n-1;break}else n=e.indexOf(`#`,n+1)}for(;;){let n=e[t-1];if(n===` `||n===` `)--t;else break}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===`...`)&&gx(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&&!gx(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===`:`)&&gx(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return`doc`}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)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(yx),`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,n=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(r===null)return this.setNext(`flow`);if((n!==-1&&n<this.indentNext&&r[0]!==`#`||n===0&&(r.startsWith(`---`)||r.startsWith(`...`))&&gx(r[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(r[0]===`]`||r[0]===`}`)))return this.flowLevel=0,yield``,yield*this.parseLineStart();let i=0;for(;r[i]===`,`;)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),r[i]){case void 0:return`flow`;case`#`:return yield*this.pushCount(r.length-i),`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(yx),`flow`;case`"`:case`'`:return this.flowKey=!0,yield*this.parseQuotedScalar();case`:`:{let e=this.charAt(1);if(this.flowKey||gx(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(;t!==-1&&this.buffer[t+1]===`'`;)t=this.buffer.indexOf(`'`,t+2);else for(;t!==-1;){let e=0;for(;this.buffer[t-1-e]===`\\`;)e+=1;if(e%2==0)break;t=this.buffer.indexOf(`"`,t+1)}let n=this.buffer.substring(0,t),r=n.indexOf(`
|
||
`,this.pos);if(r!==-1){for(;r!==-1;){let e=this.continueScalar(r+1);if(e===-1)break;r=n.indexOf(`
|
||
`,e)}r!==-1&&(t=r-(n[r-1]===`\r`?2:1))}if(t===-1){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=>gx(e)||e===`#`)}*parseBlockScalar(){let e=this.pos-1,t=0,n;loop:for(let r=this.pos;n=this.buffer[r];++r)switch(n){case` `:t+=1;break;case`
|
||
`:e=r,t=0;break;case`\r`:{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext(`block-scalar`);if(e===`
|
||
`)break}default:break loop}if(!n&&!this.atEnd)return this.setNext(`block-scalar`);if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let t=this.continueScalar(e+1);if(t===-1)break;e=this.buffer.indexOf(`
|
||
`,t)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext(`block-scalar`);e=this.buffer.length}}let r=e+1;for(n=this.buffer[r];n===` `;)n=this.buffer[++r];if(n===` `){for(;n===` `||n===` `||n===`\r`||n===`
|
||
`;)n=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)do{let n=e-1,r=this.buffer[n];r===`\r`&&(r=this.buffer[--n]);let i=n;for(;r===` `;)r=this.buffer[--n];if(r===`
|
||
`&&n>=this.pos&&n+1+t>i)e=n;else break}while(!0);return yield``,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,t=this.pos-1,n=this.pos-1,r;for(;r=this.buffer[++n];)if(r===`:`){let r=this.buffer[n+1];if(gx(r)||e&&vx.has(r))break;t=n}else if(gx(r)){let i=this.buffer[n+1];if(r===`\r`&&(i===`
|
||
`?(n+=1,r=`
|
||
`,i=this.buffer[n+1]):t=n),i===`#`||e&&vx.has(i))break;if(r===`
|
||
`){let e=this.continueScalar(n+1);if(e===-1)break;n=Math.max(n,e-2)}}else{if(e&&vx.has(r))break;t=n}return!r&&!this.atEnd?this.setNext(`plain-scalar`):(yield``,yield*this.pushToIndex(t+1,!0),e?`flow`:`doc`)}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield``),0)}*pushIndicators(){switch(this.charAt(0)){case`!`:return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case`&`:return(yield*this.pushUntil(yx))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case`-`:case`?`:case`:`:{let e=this.flowLevel>0,t=this.charAt(1);if(gx(t)||e&&vx.has(t))return e?this.flowKey&&=!1:this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)===`<`){let e=this.pos+2,t=this.buffer[e];for(;!gx(t)&&t!==`>`;)t=this.buffer[++e];return yield*this.pushToIndex(t===`>`?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(Uye.has(t))t=this.buffer[++e];else if(t===`%`&&_x.has(this.buffer[e+1])&&_x.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
|
||
`?yield*this.pushCount(1):e===`\r`&&this.charAt(1)===`
|
||
`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===` `||e&&n===` `);let r=t-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}})),xx,Kye=c((()=>{xx=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){let r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};let r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}}));function Sx(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function qye(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 Jye(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 Cx(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 wx(e){if(e.length===0)return[];let t=e.length;loop: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 loop}for(;e[++t]?.type===`space`;);return e.splice(t,e.length)}function Yye(e){if(e.start.type===`flow-seq-start`)for(let t of e.items)t.sep&&!t.value&&!Sx(t.start,`explicit-key-ind`)&&!Sx(t.sep,`map-value-ind`)&&(t.key&&(t.value=t.key),delete t.key,Jye(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}var Tx,Xye=c((()=>{hx(),Gye(),Tx=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 bx,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=Bye(e);if(!t){let t=`Not a YAML token: ${e}`;yield*this.pop({type:`error`,offset:this.offset,message:t,source:e}),this.offset+=e.length}else if(t===`scalar`)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}}*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(this.type===`doc-end`&&e?.type!==`doc-end`){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:`doc-end`,offset:this.offset,source:this.source});return}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()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(!t)yield{type:`error`,offset:this.offset,source:``,message:`Tried to pop an empty stack`};else if(this.stack.length===0)yield t;else{let e=this.peek(1);switch(t.type===`block-scalar`?t.indent=`indent`in e?e.indent:0:t.type===`flow-collection`&&e.type===`document`&&(t.indent=0),t.type===`flow-collection`&&Yye(t),e.type){case`document`:e.value=t;break;case`block-scalar`:e.props.push(t);break;case`block-map`:{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case`block-seq`:{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case`flow-collection`:{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((e.type===`document`||e.type===`block-map`||e.type===`block-seq`)&&(t.type===`block-map`||t.type===`block-seq`)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&qye(n.start)===-1&&(t.indent===0||n.start.every(e=>e.type!==`comment`||e.indent<t.indent))&&(e.type===`document`?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case`directive-line`:yield{type:`directive`,offset:this.offset,source:this.source};return;case`byte-order-mark`:case`space`:case`comment`:case`newline`:yield this.sourceToken;return;case`doc-mode`:case`doc-start`:{let e={type:`document`,offset:this.offset,start:[]};this.type===`doc-start`&&e.start.push(this.sourceToken),this.stack.push(e);return}}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`:qye(e.start)===-1?e.start.push(this.sourceToken):(yield*this.pop(),yield*this.step());return;case`anchor`:case`tag`:case`space`:case`comment`:case`newline`:e.start.push(this.sourceToken);return}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(this.type===`map-value-ind`){let t=wx(Cx(this.peek(2))),n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];let r={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};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`:e.props.push(this.sourceToken);return;case`scalar`:if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf(`
|
||
`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
|
||
`,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 n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.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 n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;r<t.sep.length;++r){let i=t.sep[r];switch(i.type){case`newline`:n.push(r);break;case`space`:break;case`comment`:i.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey)if(!t.sep)if(Sx(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=wx(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Sx(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(Jye(t.key)&&!Sx(t.sep,`newline`)){let e=wx(t.start),n=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:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):Sx(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]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!Sx(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:i});this.stack.push(r);return}}}}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 n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.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 n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||Sx(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!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]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=wx(Cx(t));Yye(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(`
|
||
`)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(`
|
||
`,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=wx(Cx(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=wx(Cx(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 this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(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],this.type===`newline`&&(yield*this.pop())}}}}));function Zye(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new xx||null,prettyErrors:t}}function Qye(e,t={}){let{lineCounter:n,prettyErrors:r}=Zye(t),i=new Tx(n?.addNewLine),a=new cx(t),o=Array.from(a.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(Zb(e,n)),t.warnings.forEach(Zb(e,n));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function Ex(e,t={}){let{lineCounter:n,prettyErrors:r}=Zye(t),i=new Tx(n?.addNewLine),a=new cx(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new Yb(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(Zb(e,n)),o.warnings.forEach(Zb(e,n))),o}function Dx(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=Ex(e,n);if(!i)return null;if(i.warnings.forEach(e=>L_e(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Ox(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return iy(e)&&!r?e.toString(n):new Kb(e,r,n).toString(n)}var $ye=c((()=>{Eye(),qb(),Qb(),R_e(),uy(),Kye(),Xye()})),ebe=u({Alias:()=>Dy,CST:()=>Rye,Composer:()=>cx,Document:()=>Kb,Lexer:()=>bx,LineCounter:()=>xx,Pair:()=>ab,Parser:()=>Tx,Scalar:()=>Ay,Schema:()=>Wb,YAMLError:()=>Jb,YAMLMap:()=>lb,YAMLParseError:()=>Yb,YAMLSeq:()=>mb,YAMLWarning:()=>Xb,isAlias:()=>ry,isCollection:()=>Jv,isDocument:()=>iy,isMap:()=>ay,isNode:()=>Yv,isPair:()=>oy,isScalar:()=>sy,isSeq:()=>cy,parse:()=>Dx,parseAllDocuments:()=>Qye,parseDocument:()=>Ex,stringify:()=>Ox,visit:()=>dy,visitAsync:()=>py}),tbe=c((()=>{Eye(),qb(),Ive(),Qb(),Oy(),uy(),ob(),jy(),ub(),hb(),hx(),Gye(),Kye(),Xye(),$ye(),vy()})),nbe=u({Alias:()=>Dy,CST:()=>Rye,Composer:()=>cx,Document:()=>Kb,Lexer:()=>bx,LineCounter:()=>xx,Pair:()=>ab,Parser:()=>Tx,Scalar:()=>Ay,Schema:()=>Wb,YAMLError:()=>Jb,YAMLMap:()=>lb,YAMLParseError:()=>Yb,YAMLSeq:()=>mb,YAMLWarning:()=>Xb,default:()=>kx,isAlias:()=>ry,isCollection:()=>Jv,isDocument:()=>iy,isMap:()=>ay,isNode:()=>Yv,isPair:()=>oy,isScalar:()=>sy,isSeq:()=>cy,parse:()=>Dx,parseAllDocuments:()=>Qye,parseDocument:()=>Ex,stringify:()=>Ox,visit:()=>dy,visitAsync:()=>py}),kx,Ax=c((()=>{tbe(),tbe(),kx=ebe}));function jx(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var Mx,Nx,rbe,ibe=c((()=>{Ax(),Mx={parse:e=>{let t=Dx(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return Mx.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:Ox},Nx={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return Nx.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)},rbe=e=>{if(typeof e!=`string`)return e;let t=Nx.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return Mx.parseSafe(e,e=>{throw Error(e)})}}));async function abe(e,t,n,r=!0){t===obe&&(t=sbe);let i=await(n?n(e,void 0):fetch(Gv(t,e)));if(i.status!==200)throw console.error(`[fetchDocument] Failed to fetch the OpenAPI document from ${e} (Status: ${i.status})`),t||console.warn(`[fetchDocument] Tried to fetch the OpenAPI document from ${e} without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`),Error(`Failed to fetch the OpenAPI document from ${e} (Status: ${i.status})`);return r?jx(await i.text()):await i.text()}var obe,sbe,cbe=c((()=>{qv(),ibe(),obe=`https://api.scalar.com/request-proxy`,sbe=`https://proxy.scalar.com`})),Px,Fx,Ix,lbe=c((()=>{Nhe(),Px=e=>e.deprecated||e[`x-scalar-stability`]===u_.Deprecated,Fx=e=>e.deprecated?u_.Deprecated:e[`x-scalar-stability`],Ix=e=>{switch(Fx(e)){case u_.Deprecated:return`text-red`;case u_.Experimental:return`text-orange`;case u_.Stable:return`text-green`;default:return``}}})),ube=c((()=>{sv()})),Lx,dbe=c((()=>{Lx=e=>e?.[`x-internal`]===!0||e?.[`x-scalar-ignore`]===!0})),Rx=c((()=>{f_(),_v(),Sv(),Ev(),m_(),Ov(),r_e(),l_e(),Uv(),Vv(),d_e(),cbe(),Ghe(),lbe(),ibe(),Rhe(),ube(),dbe()})),fbe,zx,pbe=c((()=>{n_(),jhe(),nv(),av(),sv(),c_(),ube(),fbe=async(t,{shouldLoad:n=!0}={})=>{if(t===null||typeof t==`string`&&t.trim()===``)return console.warn(`[@scalar/oas-utils] Empty OpenAPI document provided.`),{schema:{},errors:[]};let r=t,i=[];if(n){let n=await(0,e.load)(t).catch(e=>({errors:[{code:e.code,message:e.message}],filesystem:[]}));r=n.filesystem,i=n.errors??[]}let{specification:a}=(0,e.upgrade)(r),{schema:o,errors:s=[]}=(0,e.dereference)(a);return{schema:o,errors:[...i,...s]}},zx=async(e,{shouldLoad:t=!0,dereferencedDocument:n=void 0}={})=>{let{schema:r,errors:i}=n?{schema:n,errors:[]}:await fbe(e??``,{shouldLoad:t});return r||console.warn(`[@scalar/oas-utils] OpenAPI Parser Warning: Schema is undefined`),{schema:Array.isArray(r)?{}:r,errors:i}}})),mbe=c((()=>{pbe()})),Bx,hbe=c((()=>{U(),Rx(),mbe(),Bx={}})),gbe=c((()=>{U(),cv(),dv()}));function _be(){return{request:iv.parse({method:`get`,parameters:[],path:``,summary:`My First Request`,examples:[]})}}var Vx=c((()=>{U(),Rx(),cv(),dv()})),vbe=c((()=>{U(),cv(),dv()})),ybe=c((()=>{U(),cv(),dv()})),bbe=c((()=>{U(),Rx(),cv(),dv()}));function xbe(){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 n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}var Sbe,Cbe,wbe,Tbe,Ebe,Dbe,Obe,kbe,Abe,jbe,Mbe,Nbe,Pbe,Fbe,Hx,Ibe,Ux,Lbe,Wx=c((()=>{Sbe=`/* Inter (--scalar-font) */
|
||
/* cyrillic-ext */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");
|
||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||
}
|
||
/* cyrillic */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");
|
||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||
}
|
||
/* greek-ext */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");
|
||
unicode-range: U+1F00-1FFF;
|
||
}
|
||
/* greek */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");
|
||
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||
}
|
||
/* vietnamese */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");
|
||
unicode-range:
|
||
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
||
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
||
U+0329, U+1EA0-1EF9, U+20AB;
|
||
}
|
||
/* latin-ext */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");
|
||
unicode-range:
|
||
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,
|
||
U+A720-A7FF;
|
||
}
|
||
/* latin */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");
|
||
unicode-range:
|
||
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
|
||
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||
}
|
||
/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */
|
||
@font-face {
|
||
font-family: "Inter";
|
||
font-style: normal;
|
||
font-weight: 100 900;
|
||
font-display: swap;
|
||
src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");
|
||
unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;
|
||
}
|
||
/* JetBrains Mono (--scalar-font-code) */
|
||
/* cyrillic-ext */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");
|
||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||
}
|
||
/* cyrillic */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");
|
||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||
}
|
||
/* greek */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");
|
||
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||
}
|
||
/* vietnamese */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");
|
||
unicode-range:
|
||
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
||
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
||
U+0329, U+1EA0-1EF9, U+20AB;
|
||
}
|
||
/* latin-ext */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");
|
||
unicode-range:
|
||
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,
|
||
U+A720-A7FF;
|
||
}
|
||
/* latin */
|
||
@font-face {
|
||
font-family: "JetBrains Mono";
|
||
font-style: normal;
|
||
font-weight: 400;
|
||
src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");
|
||
unicode-range:
|
||
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
|
||
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||
}
|
||
`,Cbe=`/* basic theme */
|
||
:root {
|
||
--scalar-text-decoration: underline;
|
||
--scalar-text-decoration-hover: underline;
|
||
}
|
||
|
||
.dark-mode {
|
||
--scalar-background-1: #131313;
|
||
--scalar-background-2: #1d1d1d;
|
||
--scalar-background-3: #272727;
|
||
--scalar-background-card: #1d1d1d;
|
||
|
||
--scalar-color-1: rgba(255, 255, 255, 0.9);
|
||
--scalar-color-2: rgba(255, 255, 255, 0.62);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.44);
|
||
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
--scalar-background-accent: var(--scalar-background-3);
|
||
|
||
--scalar-border-color: #2a2b2a;
|
||
}
|
||
|
||
.light-mode,
|
||
.light-mode .dark-mode {
|
||
--scalar-background-1: #f9f9f9;
|
||
--scalar-background-2: #f1f1f1;
|
||
--scalar-background-3: #e7e7e7;
|
||
--scalar-background-card: #fff;
|
||
|
||
--scalar-color-1: #1b1b1b;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
--scalar-background-accent: var(--scalar-background-3);
|
||
|
||
--scalar-border-color: rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
/* Document Sidebar */
|
||
.t-doc__sidebar {
|
||
--scalar-color-green: var(--scalar-color-1);
|
||
--scalar-color-red: var(--scalar-color-1);
|
||
--scalar-color-yellow: var(--scalar-color-1);
|
||
--scalar-color-blue: var(--scalar-color-1);
|
||
--scalar-color-orange: var(--scalar-color-1);
|
||
--scalar-color-purple: var(--scalar-color-1);
|
||
}
|
||
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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: currentColor;
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: transparent;
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
/* advanced */
|
||
.light-mode .dark-mode,
|
||
.light-mode {
|
||
--scalar-color-green: #069061;
|
||
--scalar-color-red: #ef0006;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #0082d0;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: #00b648;
|
||
--scalar-color-red: #dd2f2c;
|
||
--scalar-color-yellow: #ffc90d;
|
||
--scalar-color-blue: #4eb3ec;
|
||
--scalar-color-orange: #ff8d4d;
|
||
--scalar-color-purple: #b191f9;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
|
||
.scalar-api-client__item,
|
||
.scalar-card,
|
||
.dark-mode .dark-mode.scalar-card {
|
||
--scalar-background-1: var(--scalar-background-card);
|
||
--scalar-background-2: var(--scalar-background-1);
|
||
--scalar-background-3: var(--scalar-background-1);
|
||
}
|
||
.dark-mode .dark-mode.scalar-card {
|
||
--scalar-background-3: var(--scalar-background-3);
|
||
}
|
||
|
||
.light-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);
|
||
}
|
||
.dark-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);
|
||
}
|
||
`,wbe=`/* basic theme */
|
||
:root {
|
||
--scalar-text-decoration: underline;
|
||
--scalar-text-decoration-hover: underline;
|
||
}
|
||
.light-mode {
|
||
--scalar-background-1: #f0f2f5;
|
||
--scalar-background-2: #eaecf0;
|
||
--scalar-background-3: #e0e2e6;
|
||
--scalar-border-color: rgb(213 213 213);
|
||
|
||
--scalar-color-1: rgb(9, 9, 11);
|
||
--scalar-color-2: rgb(113, 113, 122);
|
||
--scalar-color-3: rgba(25, 25, 28, 0.5);
|
||
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
--scalar-background-accent: #8ab4f81f;
|
||
}
|
||
.light-mode .scalar-card.dark-mode,
|
||
.dark-mode {
|
||
--scalar-background-1: #000e23;
|
||
--scalar-background-2: #01132e;
|
||
--scalar-background-3: #03193b;
|
||
--scalar-border-color: #2e394c;
|
||
|
||
--scalar-color-1: #fafafa;
|
||
--scalar-color-2: rgb(161, 161, 170);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.533);
|
||
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
--scalar-background-accent: #8ab4f81f;
|
||
|
||
--scalar-code-language-color-supersede: var(--scalar-color-1);
|
||
}
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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: currentColor;
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-3);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
z-index: 1;
|
||
}
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-search-background: white;
|
||
}
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #069061;
|
||
--scalar-color-red: #ef0006;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #0082d0;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: rgba(69, 255, 165, 0.823);
|
||
--scalar-color-red: #ff8589;
|
||
--scalar-color-yellow: #ffcc4d;
|
||
--scalar-color-blue: #6bc1fe;
|
||
--scalar-color-orange: #f98943;
|
||
--scalar-color-purple: #b191f9;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
/* Custom theme */
|
||
/* Document header */
|
||
@keyframes headerbackground {
|
||
from {
|
||
background: transparent;
|
||
backdrop-filter: none;
|
||
}
|
||
to {
|
||
background: var(--scalar-header-background-1);
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
}
|
||
|
||
.light-mode .t-doc__header,
|
||
.dark-mode .t-doc__header {
|
||
animation: headerbackground forwards;
|
||
animation-timeline: scroll();
|
||
animation-range: 0px 200px;
|
||
}
|
||
|
||
/* Document Layout */
|
||
.dark-mode .t-doc .layout-content {
|
||
background: transparent;
|
||
}
|
||
|
||
.dark-mode h2.t-editor__heading,
|
||
.dark-mode .t-editor__page-title h1,
|
||
.dark-mode h1.section-header:not(::selection),
|
||
.dark-mode .markdown h1,
|
||
.dark-mode .markdown h2,
|
||
.dark-mode .markdown h3,
|
||
.dark-mode .markdown h4,
|
||
.dark-mode .markdown h5,
|
||
.dark-mode .markdown h6 {
|
||
-webkit-text-fill-color: transparent;
|
||
background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
/* Hero Section Flare */
|
||
.section-flare-item:nth-of-type(1) {
|
||
--c1: #ffffff;
|
||
--c2: #babfd8;
|
||
--c3: #2e8bb2;
|
||
--c4: #1a8593;
|
||
--c5: #0a143e;
|
||
--c6: #0a0f52;
|
||
--c7: #2341b8;
|
||
|
||
--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);
|
||
--solid-wrap: var(--solid), var(--c1);
|
||
--trans:
|
||
var(--c1), transparent, var(--c2), transparent, var(--c3),
|
||
transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),
|
||
transparent, var(--c7);
|
||
--trans-wrap: var(--trans), transparent, var(--c1);
|
||
|
||
background:
|
||
radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)),
|
||
radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));
|
||
width: 70vw;
|
||
height: 700px;
|
||
border-radius: 50%;
|
||
filter: blur(100px);
|
||
z-index: 0;
|
||
right: 0;
|
||
position: absolute;
|
||
transform: rotate(-45deg);
|
||
top: -300px;
|
||
opacity: 0.3;
|
||
}
|
||
.section-flare-item:nth-of-type(3) {
|
||
--star-color: #6b9acc;
|
||
--star-color2: #446b8d;
|
||
--star-color3: #3e5879;
|
||
background-image:
|
||
radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));
|
||
background-repeat: repeat;
|
||
background-size: 200px 200px;
|
||
width: 100%;
|
||
height: 100%;
|
||
mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
}
|
||
.section-flare {
|
||
top: -150px !important;
|
||
height: 100vh;
|
||
background: linear-gradient(#000, var(--scalar-background-1));
|
||
width: 100vw;
|
||
overflow-x: hidden;
|
||
}
|
||
.light-mode .section-flare {
|
||
display: none;
|
||
}
|
||
.light-mode .scalar-card {
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #fff;
|
||
--scalar-background-3: #fff;
|
||
}
|
||
|
||
*::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);
|
||
}
|
||
|
||
@media (max-width: 1000px) {
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
}
|
||
.light-mode .t-doc__header,
|
||
.dark-mode .t-doc__header {
|
||
animation: none;
|
||
background: var(--scalar-header-background-1);
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
}
|
||
`,Tbe=`/* basic theme */
|
||
:root {
|
||
--scalar-text-decoration: underline;
|
||
--scalar-text-decoration-hover: underline;
|
||
}
|
||
.light-mode {
|
||
--scalar-color-1: rgb(9, 9, 11);
|
||
--scalar-color-2: rgb(113, 113, 122);
|
||
--scalar-color-3: rgba(25, 25, 28, 0.5);
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f4f4f5;
|
||
--scalar-background-3: #e3e3e6;
|
||
--scalar-background-accent: #8ab4f81f;
|
||
|
||
--scalar-border-color: rgb(228, 228, 231);
|
||
--scalar-code-language-color-supersede: var(--scalar-color-1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-1: #fafafa;
|
||
--scalar-color-2: rgb(161, 161, 170);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.533);
|
||
--scalar-color-accent: var(--scalar-color-1);
|
||
|
||
--scalar-background-1: #09090b;
|
||
--scalar-background-2: #18181b;
|
||
--scalar-background-3: #2c2c30;
|
||
--scalar-background-accent: #8ab4f81f;
|
||
|
||
--scalar-border-color: rgba(255, 255, 255, 0.16);
|
||
--scalar-code-language-color-supersede: var(--scalar-color-1);
|
||
}
|
||
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-3);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: transparent;
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
}
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-2);
|
||
}
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #069061;
|
||
--scalar-color-red: #ef0006;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #0082d0;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: rgba(69, 255, 165, 0.823);
|
||
--scalar-color-red: #ff8589;
|
||
--scalar-color-yellow: #ffcc4d;
|
||
--scalar-color-blue: #6bc1fe;
|
||
--scalar-color-orange: #f98943;
|
||
--scalar-color-purple: #b191f9;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
/* Custom theme */
|
||
.dark-mode h2.t-editor__heading,
|
||
.dark-mode .t-editor__page-title h1,
|
||
.dark-mode h1.section-header:not(::selection),
|
||
.dark-mode .markdown h1,
|
||
.dark-mode .markdown h2,
|
||
.dark-mode .markdown h3,
|
||
.dark-mode .markdown h4,
|
||
.dark-mode .markdown h5,
|
||
.dark-mode .markdown h6 {
|
||
-webkit-text-fill-color: transparent;
|
||
background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
.examples .scalar-card-footer {
|
||
--scalar-background-3: transparent;
|
||
padding-top: 0;
|
||
}
|
||
/* Hero section flare */
|
||
.section-flare {
|
||
width: 100vw;
|
||
height: 550px;
|
||
position: absolute;
|
||
}
|
||
.section-flare-item:nth-of-type(1) {
|
||
position: absolute;
|
||
width: 100vw;
|
||
height: 550px;
|
||
--stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);
|
||
--rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%);
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
background-size: 300%, 200%;
|
||
background-position:
|
||
50% 50%,
|
||
50% 50%;
|
||
filter: invert(100%);
|
||
-webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
pointer-events: none;
|
||
opacity: 0.07;
|
||
}
|
||
.dark-mode .section-flare-item:nth-of-type(1) {
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
filter: opacity(50%) saturate(200%);
|
||
opacity: 0.25;
|
||
height: 350px;
|
||
}
|
||
.section-flare-item:nth-of-type(1):after {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
background-size: 200%, 100%;
|
||
background-attachment: fixed;
|
||
mix-blend-mode: difference;
|
||
}
|
||
.dark-mode .section-flare:after {
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
}
|
||
.section-flare-item:nth-of-type(2) {
|
||
--star-color: #fff;
|
||
--star-color2: #fff;
|
||
--star-color3: #fff;
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
background-image:
|
||
radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),
|
||
radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));
|
||
background-repeat: repeat;
|
||
background-size: 200px 200px;
|
||
mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
opacity: 0.2;
|
||
}
|
||
.light-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);
|
||
}
|
||
.dark-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);
|
||
}
|
||
|
||
/* document header */
|
||
.light-mode .t-doc__header,
|
||
.dark-mode .t-doc__header {
|
||
animation: headerbackground forwards;
|
||
animation-timeline: scroll();
|
||
animation-range: 0px 200px;
|
||
}
|
||
@keyframes headerbackground {
|
||
from {
|
||
background: transparent;
|
||
backdrop-filter: none;
|
||
}
|
||
to {
|
||
background: var(--scalar-header-background-1);
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
}
|
||
/* remove flare on safari to prevent dropped frames on scroll */
|
||
@supports (-webkit-hyphens: none) {
|
||
.section-flare {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* document background */
|
||
.light-mode .t-doc .layout-content,
|
||
.dark-mode .t-doc .layout-content {
|
||
background: transparent;
|
||
}
|
||
`,Ebe=`/* basic theme */
|
||
: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: #0099ff;
|
||
--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;
|
||
}
|
||
/* Document Sidebar */
|
||
.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: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
/* advanced */
|
||
.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: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
|
||
--scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);
|
||
--scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);
|
||
|
||
--scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);
|
||
--scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);
|
||
|
||
--scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
|
||
--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: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
|
||
--scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);
|
||
--scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);
|
||
|
||
--scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);
|
||
|
||
--scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
|
||
--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 0.6 1 / 1);
|
||
--scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);
|
||
--scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);
|
||
--scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);
|
||
--scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.4 0.02);
|
||
--scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-accent: color(display-p3 0.07 0.67 1);
|
||
--scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);
|
||
--scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);
|
||
--scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);
|
||
--scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);
|
||
--scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);
|
||
}
|
||
}
|
||
`,Dbe=`.light-mode {
|
||
--scalar-color-1: #1b1b1b;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
--scalar-color-accent: #f06292;
|
||
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f6f6f6;
|
||
--scalar-background-3: #e7e7e7;
|
||
|
||
--scalar-border-color: rgba(0, 0, 0, 0.1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-1: rgba(255, 255, 255, 0.9);
|
||
--scalar-color-2: rgba(156, 163, 175, 1);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.44);
|
||
--scalar-color-accent: #f06292;
|
||
|
||
--scalar-background-1: #111728;
|
||
--scalar-background-2: #1e293b;
|
||
--scalar-background-3: #334155;
|
||
--scalar-background-accent: #f062921f;
|
||
|
||
--scalar-border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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: currentColor;
|
||
|
||
--scalar-sidebar-item-active-background: #f062921f;
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: transparent;
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-button-1: rgb(49 53 56);
|
||
--scalar-button-1-color: #fff;
|
||
--scalar-button-1-hover: rgb(28 31 33);
|
||
|
||
--scalar-color-green: #069061;
|
||
--scalar-color-red: #ef0006;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #0082d0;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
|
||
--scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
|
||
--scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
|
||
}
|
||
.dark-mode {
|
||
--scalar-button-1: #f6f6f6;
|
||
--scalar-button-1-color: #000;
|
||
--scalar-button-1-hover: #e7e7e7;
|
||
|
||
--scalar-color-green: #a3ffa9;
|
||
--scalar-color-red: #ffa3a3;
|
||
--scalar-color-yellow: #fffca3;
|
||
--scalar-color-blue: #a5d6ff;
|
||
--scalar-color-orange: #e2ae83;
|
||
--scalar-color-purple: #d2a8ff;
|
||
|
||
--scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
|
||
--scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
|
||
}
|
||
.section-flare {
|
||
width: 100%;
|
||
height: 400px;
|
||
position: absolute;
|
||
}
|
||
.section-flare-item:first-of-type:before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
--stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);
|
||
--stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);
|
||
--rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);
|
||
contain: strict;
|
||
contain-intrinsic-size: 100vw 40vh;
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
background-size: 300%, 200%;
|
||
background-position:
|
||
50% 50%,
|
||
50% 50%;
|
||
filter: opacity(20%) saturate(200%);
|
||
-webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
|
||
pointer-events: none;
|
||
}
|
||
.section-flare-item:first-of-type:after {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
background-image: var(--stripes), var(--rainbow);
|
||
background-size: 200%, 100%;
|
||
background-attachment: fixed;
|
||
mix-blend-mode: difference;
|
||
background-image: var(--stripesDark), var(--rainbow);
|
||
pointer-events: none;
|
||
}
|
||
.light-mode .section-flare-item:first-of-type:after,
|
||
.light-mode .section-flare-item:first-of-type:before {
|
||
background-image: var(--stripes), var(--rainbow);
|
||
filter: opacity(4%) saturate(200%);
|
||
}
|
||
`,Obe=`.light-mode {
|
||
color-scheme: light;
|
||
--scalar-color-1: #1c1e21;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
--scalar-color-disabled: #b4b1b1;
|
||
--scalar-color-ghost: #a7a7a7;
|
||
--scalar-color-accent: #2f8555;
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f5f5f5;
|
||
--scalar-background-3: #ededed;
|
||
--scalar-background-4: rgba(0, 0, 0, 0.06);
|
||
--scalar-background-accent: #2f85551f;
|
||
|
||
--scalar-border-color: rgba(0, 0, 0, 0.1);
|
||
--scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
|
||
--scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
|
||
--scalar-lifted-brightness: 1;
|
||
--scalar-backdrop-brightness: 1;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
|
||
--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;
|
||
|
||
--scalar-button-1: rgb(49 53 56);
|
||
--scalar-button-1-color: #fff;
|
||
--scalar-button-1-hover: rgb(28 31 33);
|
||
|
||
--scalar-color-green: #007300;
|
||
--scalar-color-red: #af272b;
|
||
--scalar-color-yellow: #b38200;
|
||
--scalar-color-blue: #3b8ba5;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
}
|
||
|
||
.dark-mode {
|
||
color-scheme: dark;
|
||
--scalar-color-1: rgba(255, 255, 255, 0.9);
|
||
--scalar-color-2: rgba(255, 255, 255, 0.62);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.44);
|
||
--scalar-color-disabled: rgba(255, 255, 255, 0.34);
|
||
--scalar-color-ghost: rgba(255, 255, 255, 0.26);
|
||
--scalar-color-accent: #27c2a0;
|
||
--scalar-background-1: #1b1b1d;
|
||
--scalar-background-2: #242526;
|
||
--scalar-background-3: #3b3b3b;
|
||
--scalar-background-4: rgba(255, 255, 255, 0.06);
|
||
--scalar-background-accent: #27c2a01f;
|
||
|
||
--scalar-border-color: rgba(255, 255, 255, 0.1);
|
||
--scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
|
||
--scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
|
||
--scalar-lifted-brightness: 1.45;
|
||
--scalar-backdrop-brightness: 0.5;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
|
||
--scalar-shadow-2:
|
||
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);
|
||
|
||
--scalar-button-1: #f6f6f6;
|
||
--scalar-button-1-color: #000;
|
||
--scalar-button-1-hover: #e7e7e7;
|
||
|
||
--scalar-color-green: #26b226;
|
||
--scalar-color-red: #fb565b;
|
||
--scalar-color-yellow: #ffc426;
|
||
--scalar-color-blue: #6ecfef;
|
||
--scalar-color-orange: #ff8d4d;
|
||
--scalar-color-purple: #b191f9;
|
||
}
|
||
`,kbe=`/* basic theme */
|
||
.light-mode {
|
||
--scalar-color-1: #1b1b1b;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
--scalar-color-accent: #7070ff;
|
||
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f6f6f6;
|
||
--scalar-background-3: #e7e7e7;
|
||
--scalar-background-accent: #7070ff1f;
|
||
|
||
--scalar-border-color: rgba(0, 0, 0, 0.1);
|
||
|
||
--scalar-code-language-color-supersede: var(--scalar-color-3);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-1: #f7f8f8;
|
||
--scalar-color-2: rgb(180, 188, 208);
|
||
--scalar-color-3: #b4bcd099;
|
||
--scalar-color-accent: #828fff;
|
||
|
||
--scalar-background-1: #000212;
|
||
--scalar-background-2: #0d0f1e;
|
||
--scalar-background-3: #232533;
|
||
--scalar-background-accent: #8ab4f81f;
|
||
|
||
--scalar-border-color: #313245;
|
||
--scalar-code-language-color-supersede: var(--scalar-color-3);
|
||
}
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
--scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);
|
||
--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-background-2: rgba(0, 0, 0, 0.03);
|
||
}
|
||
.dark-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
--scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);
|
||
--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
}
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #069061;
|
||
--scalar-color-red: #ef0006;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #0082d0;
|
||
--scalar-color-orange: #fb892c;
|
||
--scalar-color-purple: #5203d1;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.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-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
/* Custom Theme */
|
||
.dark-mode h2.t-editor__heading,
|
||
.dark-mode .t-editor__page-title h1,
|
||
.dark-mode h1.section-header:not(::selection),
|
||
.dark-mode .markdown h1,
|
||
.dark-mode .markdown h2,
|
||
.dark-mode .markdown h3,
|
||
.dark-mode .markdown h4,
|
||
.dark-mode .markdown h5,
|
||
.dark-mode .markdown h6 {
|
||
-webkit-text-fill-color: transparent;
|
||
background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
.sidebar-search {
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
@keyframes headerbackground {
|
||
from {
|
||
background: transparent;
|
||
backdrop-filter: none;
|
||
}
|
||
to {
|
||
background: var(--scalar-header-background-1);
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
}
|
||
.dark-mode .scalar-card {
|
||
background: rgba(255, 255, 255, 0.05) !important;
|
||
}
|
||
.dark-mode .scalar-card * {
|
||
--scalar-background-2: transparent !important;
|
||
--scalar-background-1: transparent !important;
|
||
}
|
||
.light-mode .dark-mode.scalar-card *,
|
||
.light-mode .dark-mode.scalar-card {
|
||
--scalar-background-1: #0d0f1e !important;
|
||
--scalar-background-2: #0d0f1e !important;
|
||
--scalar-background-3: #191b29 !important;
|
||
}
|
||
.light-mode .dark-mode.scalar-card {
|
||
background: #191b29 !important;
|
||
}
|
||
.badge {
|
||
box-shadow: 0 0 0 1px var(--scalar-border-color);
|
||
margin-right: 6px;
|
||
}
|
||
|
||
.table-row.required-parameter .table-row-item:nth-of-type(2):after {
|
||
background: transparent;
|
||
box-shadow: none;
|
||
}
|
||
/* Hero Section Flare */
|
||
.section-flare {
|
||
width: 100vw;
|
||
background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);
|
||
height: 100vh;
|
||
}
|
||
.light-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
|
||
}
|
||
.dark-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
|
||
}
|
||
|
||
/* document layout */
|
||
.light-mode .t-doc .layout-content,
|
||
.dark-mode .t-doc .layout-content {
|
||
background: transparent;
|
||
}
|
||
`,Abe=`/* basic theme */
|
||
.light-mode {
|
||
color-scheme: light;
|
||
--scalar-color-1: #322b3b;
|
||
--scalar-color-2: #645676;
|
||
--scalar-color-3: #9789a9;
|
||
--scalar-color-accent: #40b4c4;
|
||
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f4f2f7;
|
||
--scalar-background-3: #cfc7dc;
|
||
--scalar-background-accent: #f3fafb;
|
||
|
||
--scalar-border-color: #e4e0eb;
|
||
}
|
||
.dark-mode {
|
||
color-scheme: dark;
|
||
--scalar-color-1: #fff;
|
||
--scalar-color-2: #b8b6ba;
|
||
--scalar-color-3: #706c74;
|
||
--scalar-color-accent: #ed78c2;
|
||
|
||
--scalar-background-1: #27212e;
|
||
--scalar-background-2: #322c39;
|
||
--scalar-background-3: #4c4059;
|
||
--scalar-background-accent: #eb64b91f;
|
||
|
||
--scalar-border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
/* Sidebar */
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
--scalar-sidebar-search-background: var(--scalar-background-2);
|
||
--scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color);
|
||
--scalar-sidebar-search--color: var(--scalar-color-3);
|
||
}
|
||
.dark-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
--scalar-sidebar-search-background: var(--scalar-background-2);
|
||
--scalar-sidebar-search-border-color: #514c56;
|
||
--scalar-sidebar-search--color: var(--scalar-color-3);
|
||
}
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-button-1: rgb(49 53 56);
|
||
--scalar-button-1-color: #fff;
|
||
--scalar-button-1-hover: rgb(28 31 33);
|
||
|
||
--scalar-color-green: #74dfc4;
|
||
--scalar-color-red: #d887f5;
|
||
--scalar-color-yellow: #ffe261;
|
||
--scalar-color-blue: #40b4c4;
|
||
--scalar-color-orange: #ff52bf;
|
||
--scalar-color-purple: #91889b;
|
||
|
||
--scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
|
||
--scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
|
||
}
|
||
.dark-mode {
|
||
--scalar-button-1: #f6f6f6;
|
||
--scalar-button-1-color: #27212e;
|
||
--scalar-button-1-hover: #e7e7e7;
|
||
|
||
--scalar-color-green: #74dfc4;
|
||
--scalar-color-red: #d887f5;
|
||
--scalar-color-yellow: #ffe261;
|
||
--scalar-color-blue: #40b4c4;
|
||
--scalar-color-orange: #ff52bf;
|
||
--scalar-color-purple: #91889b;
|
||
|
||
--scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
|
||
--scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
|
||
}
|
||
/* Radius */
|
||
:root {
|
||
--scalar-radius: 2px;
|
||
--scalar-radius-lg: 3px;
|
||
--scalar-radius-xl: 4px;
|
||
}
|
||
/* P3 color support */
|
||
@supports (color: color(display-p3 1 1 1)) {
|
||
.light-mode {
|
||
--scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);
|
||
--scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);
|
||
--scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);
|
||
--scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);
|
||
--scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);
|
||
--scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);
|
||
--scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);
|
||
--scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);
|
||
--scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);
|
||
--scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);
|
||
--scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);
|
||
}
|
||
}
|
||
`,jbe=`/* basic theme */
|
||
:root {
|
||
--scalar-text-decoration: underline;
|
||
--scalar-text-decoration-hover: underline;
|
||
}
|
||
.light-mode {
|
||
--scalar-background-1: #f9f6f0;
|
||
--scalar-background-2: #f2efe8;
|
||
--scalar-background-3: #e9e7e2;
|
||
--scalar-border-color: rgba(203, 165, 156, 0.6);
|
||
|
||
--scalar-color-1: #c75549;
|
||
--scalar-color-2: #c75549;
|
||
--scalar-color-3: #c75549;
|
||
|
||
--scalar-color-accent: #c75549;
|
||
--scalar-background-accent: #dcbfa81f;
|
||
|
||
--scalar-code-language-color-supersede: var(--scalar-color-1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-background-1: #140507;
|
||
--scalar-background-2: #20090c;
|
||
--scalar-background-3: #321116;
|
||
--scalar-border-color: #3c3031;
|
||
|
||
--scalar-color-1: rgba(255, 255, 255, 0.9);
|
||
--scalar-color-2: rgba(255, 255, 255, 0.62);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.44);
|
||
|
||
--scalar-color-accent: rgba(255, 255, 255, 0.9);
|
||
--scalar-background-accent: #441313;
|
||
|
||
--scalar-code-language-color-supersede: var(--scalar-color-1);
|
||
}
|
||
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-3);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
z-index: 1;
|
||
}
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #09533a;
|
||
--scalar-color-red: #aa181d;
|
||
--scalar-color-yellow: #ab8d2b;
|
||
--scalar-color-blue: #19689a;
|
||
--scalar-color-orange: #b26c34;
|
||
--scalar-color-purple: #4c2191;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: rgba(69, 255, 165, 0.823);
|
||
--scalar-color-red: #ff8589;
|
||
--scalar-color-yellow: #ffcc4d;
|
||
--scalar-color-blue: #6bc1fe;
|
||
--scalar-color-orange: #f98943;
|
||
--scalar-color-purple: #b191f9;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
/* Custom Theme */
|
||
.dark-mode h2.t-editor__heading,
|
||
.dark-mode .t-editor__page-title h1,
|
||
.dark-mode h1.section-header:not(::selection),
|
||
.dark-mode .markdown h1,
|
||
.dark-mode .markdown h2,
|
||
.dark-mode .markdown h3,
|
||
.dark-mode .markdown h4,
|
||
.dark-mode .markdown h5,
|
||
.dark-mode .markdown h6 {
|
||
-webkit-text-fill-color: transparent;
|
||
background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-search-background: white;
|
||
}
|
||
.examples .scalar-card-footer {
|
||
--scalar-background-3: transparent;
|
||
padding-top: 0;
|
||
}
|
||
/* Hero section flare */
|
||
.section-flare {
|
||
overflow-x: hidden;
|
||
height: 100vh;
|
||
left: initial;
|
||
}
|
||
.section-flare-item:nth-of-type(1) {
|
||
background: #d25019;
|
||
position: relative;
|
||
top: -150px;
|
||
right: -400px;
|
||
width: 80vw;
|
||
height: 500px;
|
||
margin-top: -150px;
|
||
border-radius: 50%;
|
||
filter: blur(100px);
|
||
z-index: 0;
|
||
}
|
||
.light-mode .section-flare {
|
||
display: none;
|
||
}
|
||
*::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);
|
||
}
|
||
|
||
/* document layout */
|
||
.dark-mode .t-doc .layout-content {
|
||
background: transparent;
|
||
}
|
||
`,Mbe=`.light-mode {
|
||
color-scheme: light;
|
||
--scalar-color-1: #000000;
|
||
--scalar-color-2: #000000;
|
||
--scalar-color-3: #000000;
|
||
--scalar-color-accent: #645b0f;
|
||
--scalar-background-1: #ccc9b3;
|
||
--scalar-background-2: #c2bfaa;
|
||
--scalar-background-3: #b8b5a1;
|
||
--scalar-background-accent: #000000;
|
||
|
||
--scalar-border-color: rgba(0, 0, 0, 0.2);
|
||
--scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
|
||
--scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
|
||
--scalar-lifted-brightness: 1;
|
||
--scalar-backdrop-brightness: 1;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
|
||
--scalar-shadow-2:
|
||
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;
|
||
|
||
--scalar-button-1: rgb(49 53 56);
|
||
--scalar-button-1-color: #fff;
|
||
--scalar-button-1-hover: rgb(28 31 33);
|
||
|
||
--scalar-color-red: #b91c1c;
|
||
--scalar-color-orange: #a16207;
|
||
--scalar-color-green: #047857;
|
||
--scalar-color-blue: #1d4ed8;
|
||
--scalar-color-orange: #c2410c;
|
||
--scalar-color-purple: #6d28d9;
|
||
}
|
||
|
||
.dark-mode {
|
||
color-scheme: dark;
|
||
--scalar-color-1: #fffef3;
|
||
--scalar-color-2: #fffef3;
|
||
--scalar-color-3: #fffef3;
|
||
--scalar-color-accent: #c3b531;
|
||
--scalar-background-1: #313332;
|
||
--scalar-background-2: #393b3a;
|
||
--scalar-background-3: #414342;
|
||
--scalar-background-accent: #fffef3;
|
||
|
||
--scalar-border-color: #505452;
|
||
--scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
|
||
--scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
|
||
--scalar-lifted-brightness: 1.45;
|
||
--scalar-backdrop-brightness: 0.5;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
|
||
--scalar-shadow-2:
|
||
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);
|
||
|
||
--scalar-button-1: #f6f6f6;
|
||
--scalar-button-1-color: #000;
|
||
--scalar-button-1-hover: #e7e7e7;
|
||
|
||
--scalar-color-green: #00b648;
|
||
--scalar-color-red: #dc1b19;
|
||
--scalar-color-yellow: #ffc90d;
|
||
--scalar-color-blue: #4eb3ec;
|
||
--scalar-color-orange: #ff8d4d;
|
||
--scalar-color-purple: #b191f9;
|
||
}
|
||
|
||
/* Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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: currentColor;
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-3);
|
||
--scalar-sidebar-color-active: var(--scalar-color-1);
|
||
|
||
--scalar-sidebar-search-background: transparent;
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
*::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);
|
||
}
|
||
`,Nbe=`/* basic theme */
|
||
.light-mode {
|
||
--scalar-background-1: #fff;
|
||
--scalar-background-2: #f5f6f8;
|
||
--scalar-background-3: #eceef1;
|
||
|
||
--scalar-color-1: #1b1b1b;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
|
||
--scalar-color-accent: #5469d4;
|
||
--scalar-background-accent: #5469d41f;
|
||
|
||
--scalar-border-color: rgba(215, 215, 206, 0.68);
|
||
}
|
||
.dark-mode {
|
||
--scalar-background-1: #15171c;
|
||
--scalar-background-2: #1c1e24;
|
||
--scalar-background-3: #22252b;
|
||
|
||
--scalar-color-1: #fafafa;
|
||
--scalar-color-2: #c9ced8;
|
||
--scalar-color-3: #8c99ad;
|
||
|
||
--scalar-color-accent: #5469d4;
|
||
--scalar-background-accent: #5469d41f;
|
||
|
||
--scalar-border-color: #3f4145;
|
||
}
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-3);
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
|
||
--scalar-sidebar-search-background: var(--scalar-background-1);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #17803d;
|
||
--scalar-color-red: #e10909;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #1763a6;
|
||
--scalar-color-orange: #e25b09;
|
||
--scalar-color-purple: #5c3993;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: #30a159;
|
||
--scalar-color-red: #dc1b19;
|
||
--scalar-color-yellow: #eec644;
|
||
--scalar-color-blue: #2b7abf;
|
||
--scalar-color-orange: #f07528;
|
||
--scalar-color-purple: #7a59b1;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
.light-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
|
||
}
|
||
.dark-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
|
||
}
|
||
`,Pbe=`/* basic theme */
|
||
.light-mode {
|
||
--scalar-background-1: #f3f3ee;
|
||
--scalar-background-2: #e8e8e3;
|
||
--scalar-background-3: #e4e4df;
|
||
--scalar-border-color: rgba(215, 215, 206, 0.85);
|
||
|
||
--scalar-color-1: #1b1b1b;
|
||
--scalar-color-2: #757575;
|
||
--scalar-color-3: #8e8e8e;
|
||
|
||
--scalar-color-accent: #1763a6;
|
||
--scalar-background-accent: #1f648e1f;
|
||
}
|
||
.dark-mode {
|
||
--scalar-background-1: #09090b;
|
||
--scalar-background-2: #18181b;
|
||
--scalar-background-3: #2c2c30;
|
||
--scalar-border-color: rgba(255, 255, 255, 0.17);
|
||
|
||
--scalar-color-1: #fafafa;
|
||
--scalar-color-2: rgb(161, 161, 170);
|
||
--scalar-color-3: rgba(255, 255, 255, 0.533);
|
||
|
||
--scalar-color-accent: #4eb3ec;
|
||
--scalar-background-accent: #8ab4f81f;
|
||
}
|
||
/* Document Sidebar */
|
||
.light-mode .t-doc__sidebar,
|
||
.dark-mode .t-doc__sidebar {
|
||
--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: currentColor;
|
||
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-3);
|
||
--scalar-sidebar-color-active: var(--scalar-color-1);
|
||
|
||
--scalar-sidebar-search-background: var(--scalar-background-1);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
}
|
||
|
||
/* advanced */
|
||
.light-mode {
|
||
--scalar-color-green: #17803d;
|
||
--scalar-color-red: #e10909;
|
||
--scalar-color-yellow: #edbe20;
|
||
--scalar-color-blue: #1763a6;
|
||
--scalar-color-orange: #e25b09;
|
||
--scalar-color-purple: #5c3993;
|
||
|
||
--scalar-button-1: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-green: #30a159;
|
||
--scalar-color-red: #dc1b19;
|
||
--scalar-color-yellow: #eec644;
|
||
--scalar-color-blue: #2b7abf;
|
||
--scalar-color-orange: #f07528;
|
||
--scalar-color-purple: #7a59b1;
|
||
|
||
--scalar-button-1: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
}
|
||
.dark-mode h2.t-editor__heading,
|
||
.dark-mode .t-editor__page-title h1,
|
||
.dark-mode h1.section-header:not(::selection),
|
||
.dark-mode .markdown h1,
|
||
.dark-mode .markdown h2,
|
||
.dark-mode .markdown h3,
|
||
.dark-mode .markdown h4,
|
||
.dark-mode .markdown h5,
|
||
.dark-mode .markdown h6 {
|
||
-webkit-text-fill-color: transparent;
|
||
background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
.light-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
|
||
}
|
||
.dark-mode *::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);
|
||
}
|
||
`,Fbe=`.light-mode {
|
||
color-scheme: light;
|
||
--scalar-color-1: #584c27;
|
||
--scalar-color-2: #616161;
|
||
--scalar-color-3: #a89f84;
|
||
--scalar-color-accent: #b58900;
|
||
--scalar-background-1: #fdf6e3;
|
||
--scalar-background-2: #eee8d5;
|
||
--scalar-background-3: #ddd6c1;
|
||
--scalar-background-accent: #b589001f;
|
||
|
||
--scalar-border-color: #ded8c8;
|
||
--scalar-scrollbar-color: rgba(0, 0, 0, 0.18);
|
||
--scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);
|
||
--scalar-lifted-brightness: 1;
|
||
--scalar-backdrop-brightness: 1;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
|
||
--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;
|
||
|
||
--scalar-button-1: rgb(49 53 56);
|
||
--scalar-button-1-color: #fff;
|
||
--scalar-button-1-hover: rgb(28 31 33);
|
||
|
||
--scalar-color-red: #b91c1c;
|
||
--scalar-color-orange: #a16207;
|
||
--scalar-color-green: #047857;
|
||
--scalar-color-blue: #1d4ed8;
|
||
--scalar-color-orange: #c2410c;
|
||
--scalar-color-purple: #6d28d9;
|
||
}
|
||
|
||
.dark-mode {
|
||
color-scheme: dark;
|
||
--scalar-color-1: #fff;
|
||
--scalar-color-2: #cccccc;
|
||
--scalar-color-3: #6d8890;
|
||
--scalar-color-accent: #007acc;
|
||
--scalar-background-1: #00212b;
|
||
--scalar-background-2: #012b36;
|
||
--scalar-background-3: #004052;
|
||
--scalar-background-accent: #015a6f;
|
||
|
||
--scalar-border-color: #2f4851;
|
||
--scalar-scrollbar-color: rgba(255, 255, 255, 0.24);
|
||
--scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);
|
||
--scalar-lifted-brightness: 1.45;
|
||
--scalar-backdrop-brightness: 0.5;
|
||
|
||
--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
|
||
--scalar-shadow-2:
|
||
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);
|
||
|
||
--scalar-button-1: #f6f6f6;
|
||
--scalar-button-1-color: #000;
|
||
--scalar-button-1-hover: #e7e7e7;
|
||
|
||
--scalar-color-green: #00b648;
|
||
--scalar-color-red: #dc1b19;
|
||
--scalar-color-yellow: #ffc90d;
|
||
--scalar-color-blue: #4eb3ec;
|
||
--scalar-color-orange: #ff8d4d;
|
||
--scalar-color-purple: #b191f9;
|
||
}
|
||
|
||
/* Sidebar */
|
||
.light-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-color-accent);
|
||
--scalar-sidebar-search-background: var(--scalar-background-2);
|
||
--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);
|
||
--scalar-sidebar-search--color: var(--scalar-color-3);
|
||
}
|
||
|
||
.dark-mode .t-doc__sidebar {
|
||
--scalar-sidebar-background-1: var(--scalar-background-1);
|
||
--scalar-sidebar-item-hover-color: currentColor;
|
||
--scalar-sidebar-item-hover-background: var(--scalar-background-2);
|
||
--scalar-sidebar-item-active-background: var(--scalar-background-accent);
|
||
--scalar-sidebar-border-color: var(--scalar-border-color);
|
||
--scalar-sidebar-color-1: var(--scalar-color-1);
|
||
--scalar-sidebar-color-2: var(--scalar-color-2);
|
||
--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);
|
||
--scalar-sidebar-search-background: var(--scalar-background-2);
|
||
--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);
|
||
--scalar-sidebar-search--color: var(--scalar-color-3);
|
||
}
|
||
*::selection {
|
||
background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);
|
||
}
|
||
`,Hx=[`alternate`,`default`,`moon`,`purple`,`solarized`,`bluePlanet`,`deepSpace`,`saturn`,`kepler`,`elysiajs`,`fastify`,`mars`,`laserwave`,`none`],Ibe={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`},Ux={default:{uid:`qTQR9jSM8E-LihpyZzPOi`,name:`Default`,description:`Default Scalar theme`,theme:Ebe,slug:`default`},alternate:{uid:`2skUDSH4S8HYFF9yXysr-`,name:`Alternate`,description:`Alternate Scalar theme`,theme:Cbe,slug:`alternate`},moon:{uid:`DG9ZUNp5lJhDeX_kPX4Bl`,name:`Moon`,description:`Lunar styles`,theme:Mbe,slug:`moon`},purple:{uid:`pE_1ysxcZ-y2LM1GGNBUv`,name:`Purple`,description:`Purple Scalar theme`,theme:Nbe,slug:`purple`},solarized:{uid:`BdGVG1vf-4nYl3wJKyj8l`,name:`Solarized`,description:`Solarized Scalar theme`,theme:Fbe,slug:`solarized`},bluePlanet:{uid:`X12IfAvl7ue-42V2lW40S`,name:`Blue Planet`,description:`Blue Planet Scalar theme`,theme:wbe,slug:`blue-planet`},deepSpace:{uid:`K8b38NWQiicq4-zXGXKdI`,name:`Deep Space`,description:`Deep Space Scalar theme`,theme:Tbe,slug:`deep-space`},saturn:{uid:`1jyAjmbIZQG-RUU4Ugk9o`,name:`Saturn`,description:`Saturn Scalar theme`,theme:Pbe,slug:`saturn`},kepler:{uid:`jZ6dnWbtqQ0Hz3s9jLPH0`,name:`Kepler-11e`,description:`Kepler-11e Scalar theme`,theme:kbe,slug:`kepler-11e`},mars:{uid:`YY4LQgwiXix55-TmMz9qd`,name:`Mars`,description:`Mars Scalar theme`,theme:jbe,slug:`mars`},laserwave:{uid:`c5fZEi-K-hP-xXf885dkf`,name:`Laserwave`,description:`Laserwave Scalar theme`,theme:Abe,slug:`laserwave`},elysiajs:{uid:`nEVZkRmCylPkT0o9YJa7y`,name:`Elysia.js`,description:`Elysia.js theme`,theme:Dbe,slug:`elysiajs`},fastify:{uid:`nTZcdcM2_yHFZFxTQe9Kk`,name:`Fastify`,description:`Fastify theme`,theme:Obe,slug:`fastify`}},Object.values(Ux),Lbe=(e,t)=>{let{fonts:n=!0,layer:r=`scalar-theme`}=t??{},i=[Ux[e||`default`]?.theme??`/* basic theme */
|
||
: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: #0099ff;
|
||
--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;
|
||
}
|
||
/* Document Sidebar */
|
||
.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: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));
|
||
--scalar-sidebar-search-color: var(--scalar-color-3);
|
||
--scalar-sidebar-search-border-color: var(--scalar-border-color);
|
||
}
|
||
/* advanced */
|
||
.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: rgba(0, 0, 0, 1);
|
||
--scalar-button-1-hover: rgba(0, 0, 0, 0.8);
|
||
--scalar-button-1-color: rgba(255, 255, 255, 0.9);
|
||
|
||
--scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);
|
||
--scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);
|
||
|
||
--scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);
|
||
--scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);
|
||
|
||
--scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
|
||
--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: rgba(255, 255, 255, 1);
|
||
--scalar-button-1-hover: rgba(255, 255, 255, 0.9);
|
||
--scalar-button-1-color: black;
|
||
|
||
--scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);
|
||
--scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);
|
||
|
||
--scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);
|
||
|
||
--scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);
|
||
--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 0.6 1 / 1);
|
||
--scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);
|
||
--scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);
|
||
--scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);
|
||
--scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.4 0.02);
|
||
--scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);
|
||
}
|
||
.dark-mode {
|
||
--scalar-color-accent: color(display-p3 0.07 0.67 1);
|
||
--scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);
|
||
--scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);
|
||
--scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);
|
||
--scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);
|
||
--scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);
|
||
--scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);
|
||
}
|
||
}
|
||
`,n?Sbe:``].join(``);return r?`@layer ${r} {\n${i}}`:i}})),Rbe,zbe,Bbe=c((()=>{Rbe=[`addTopNav`,`closeModal`,`closeTopNav`,`createNew`,`executeRequest`,`focusAddressBar`,`focusRequestSearch`,`jumpToLastTab`,`jumpToTab`,`navigateSearchResultsDown`,`navigateSearchResultsUp`,`navigateTopNavLeft`,`navigateTopNavRight`,`openCommandPalette`,`selectSearchResult`,`toggleSidebar`],zbe="Space(Backspace(Tab(Enter(Escape(ArrowDown(ArrowLeft(ArrowRight(ArrowUp(End(Home(PageDown(PageUp(Delete(0(1(2(3(4(5(6(7(8(9(a(b(c(d(e(f(g(h(i(j(k(l(m(n(o(p(q(r(s(t(u(v(w(x(y(z(0(1(2(3(4(5(6(7(8(9(*(+(-(.(/(F1(F2(F3(F4(F5(F6(F7(F8(F9(F10(F11(F12(;(=(,(-(.(/(`([(\\(](".split(`(`)})),Gx,Vbe,Hbe,Ube=c((()=>{Wx(),r_(),Ec(),Bbe(),Gx=Io(zo([Ko(`Meta`),Ko(`Control`),Ko(`Shift`),Ko(`Alt`),Ko(`default`)])).optional().default([`default`]),Vbe=Wo(Go(zbe),Lo({modifiers:Gx.optional(),event:Go(Rbe)})),Hbe=Lo({modifiers:Gx,hotKeys:Vbe.optional()}).optional(),Lo({uid:Vg.brand(),name:T().default(`Default Workspace`),description:T().default(`Basic Scalar Workspace`),collections:Io(T().brand()).default([]),environments:Uo(T(),T()).default({}),hotKeyConfig:Hbe,activeEnvironmentId:T().optional().default(`default`),cookies:Io(T().brand()).default([]),proxyUrl:T().optional(),themeId:Go(Hx).optional().default(`default`).catch(`default`),selectedHttpClient:Lo({targetKey:T(),clientKey:T()}).optional().default({targetKey:`shell`,clientKey:`curl`})})})),Wbe=c((()=>{Ube()})),Gbe=c((()=>{Vx(),U(),cv(),dv(),Wbe()}));function Kbe(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Kbe(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Kx(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Kbe(e))&&(r&&(r+=` `),r+=t);return r}var qbe=c((()=>{})),qx,Jx,Jbe,Ybe,Xbe,Zbe=c((()=>{qbe(),qx=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Jx=e=>{let t=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?Kx(n):e?.hooks.onComplete(Kx(n)):e?.hooks[`cx:done`](Kx(n))};return{compose:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return e=>{let r=Object.fromEntries(Object.entries(e||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(n.map(e=>e(r)),e?.class,e?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=qx(t)||qx(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:Jbe,cva:Ybe,cx:Xbe}=Jx()})),Qbe,$be,Yx,Xx,Zx,exe,txe,Qx,nxe,rxe,ixe,$x,axe,oxe,sxe,cxe,eS,lxe,uxe,tS,nS,dxe,rS,fxe,pxe,mxe,hxe,gxe,_xe,iS,aS,vxe,oS,sS,cS,yxe,bxe,xxe,Sxe,Cxe,wxe,lS,uS,dS,fS,pS,Txe,Exe,mS,Dxe,Oxe,kxe,Axe,hS,gS,_S,vS,jxe,yS,bS,xS,Mxe,SS,Nxe,Pxe,CS,wS,TS,ES,DS,OS,kS,Fxe,Ixe,AS,jS,Lxe,MS,NS,PS,FS,Rxe,zxe=c((()=>{Qbe=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},$be=(e,t)=>({classGroupId:e,validator:t}),Yx=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Xx=`-`,Zx=[],exe=`arbitrary..`,txe=e=>{let t=rxe(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return nxe(e);let n=e.split(Xx);return Qx(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Qbe(i,t):t:i||Zx}return n[e]||Zx}}},Qx=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Qx(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Xx):e.slice(t).join(Xx),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},nxe=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?exe+r:void 0})(),rxe=e=>{let{theme:t,classGroups:n}=e;return ixe(n,t)},ixe=(e,t)=>{let n=Yx();for(let r in e){let i=e[r];$x(i,n,r,t)}return n},$x=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];axe(i,t,n,r)}},axe=(e,t,n,r)=>{if(typeof e==`string`){oxe(e,t,n);return}if(typeof e==`function`){sxe(e,t,n,r);return}cxe(e,t,n,r)},oxe=(e,t,n)=>{let r=e===``?t:eS(t,e);r.classGroupId=n},sxe=(e,t,n,r)=>{if(lxe(e)){$x(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push($be(n,e))},cxe=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];$x(o,eS(t,a),n,r)}},eS=(e,t)=>{let n=e,r=t.split(Xx),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Yx(),n.nextPart.set(t,i)),n=i}return n},lxe=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,uxe=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},tS=`!`,nS=`:`,dxe=[],rS=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),fxe=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===nS){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(tS)?(c=s.slice(0,-1),l=!0):s.startsWith(tS)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return rS(t,l,c,u)};if(t){let e=t+nS,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):rS(dxe,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},pxe=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},mxe=e=>({cache:uxe(e.cacheSize),parseClassName:fxe(e),sortModifiers:pxe(e),...txe(e)}),hxe=/\s+/,gxe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(hxe),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+tS:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},_xe=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=iS(n))&&(i&&(i+=` `),i+=r);return i},iS=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=iS(e[r]))&&(n&&(n+=` `),n+=t);return n},aS=(e,...t)=>{let n,r,i,a,o=o=>(n=mxe(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=gxe(e,n);return i(e,a),a};return a=o,(...e)=>a(_xe(...e))},vxe=[],oS=e=>{let t=t=>t[e]||vxe;return t.isThemeGetter=!0,t},sS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,cS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,yxe=/^\d+\/\d+$/,bxe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xxe=/\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$/,Sxe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Cxe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wxe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,lS=e=>yxe.test(e),uS=e=>!!e&&!Number.isNaN(Number(e)),dS=e=>!!e&&Number.isInteger(Number(e)),fS=e=>e.endsWith(`%`)&&uS(e.slice(0,-1)),pS=e=>bxe.test(e),Txe=()=>!0,Exe=e=>xxe.test(e)&&!Sxe.test(e),mS=()=>!1,Dxe=e=>Cxe.test(e),Oxe=e=>wxe.test(e),kxe=e=>!hS(e)&&!bS(e),Axe=e=>wS(e,OS,mS),hS=e=>sS.test(e),gS=e=>wS(e,kS,Exe),_S=e=>wS(e,Fxe,uS),vS=e=>wS(e,ES,mS),jxe=e=>wS(e,DS,Oxe),yS=e=>wS(e,AS,Dxe),bS=e=>cS.test(e),xS=e=>TS(e,kS),Mxe=e=>TS(e,Ixe),SS=e=>TS(e,ES),Nxe=e=>TS(e,OS),Pxe=e=>TS(e,DS),CS=e=>TS(e,AS,!0),wS=(e,t,n)=>{let r=sS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},TS=(e,t,n=!1)=>{let r=cS.exec(e);return r?r[1]?t(r[1]):n:!1},ES=e=>e===`position`||e===`percentage`,DS=e=>e===`image`||e===`url`,OS=e=>e===`length`||e===`size`||e===`bg-size`,kS=e=>e===`length`,Fxe=e=>e===`number`,Ixe=e=>e===`family-name`,AS=e=>e===`shadow`,jS=()=>{let e=oS(`color`),t=oS(`font`),n=oS(`text`),r=oS(`font-weight`),i=oS(`tracking`),a=oS(`leading`),o=oS(`breakpoint`),s=oS(`container`),c=oS(`spacing`),l=oS(`radius`),u=oS(`shadow`),d=oS(`inset-shadow`),f=oS(`text-shadow`),p=oS(`drop-shadow`),m=oS(`blur`),h=oS(`perspective`),g=oS(`aspect`),_=oS(`ease`),v=oS(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),bS,hS],ee=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],S=()=>[`auto`,`contain`,`none`],C=()=>[bS,hS,c],te=()=>[lS,`full`,`auto`,...C()],ne=()=>[dS,`none`,`subgrid`,bS,hS],re=()=>[`auto`,{span:[`full`,dS,bS,hS]},dS,bS,hS],w=()=>[dS,`auto`,bS,hS],ie=()=>[`auto`,`min`,`max`,`fr`,bS,hS],ae=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],oe=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],se=()=>[`auto`,...C()],ce=()=>[lS,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...C()],le=()=>[e,bS,hS],ue=()=>[...b(),SS,vS,{position:[bS,hS]}],de=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],fe=()=>[`auto`,`cover`,`contain`,Nxe,Axe,{size:[bS,hS]}],pe=()=>[fS,xS,gS],me=()=>[``,`none`,`full`,l,bS,hS],he=()=>[``,uS,xS,gS],ge=()=>[`solid`,`dashed`,`dotted`,`double`],_e=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ve=()=>[uS,fS,SS,vS],ye=()=>[``,`none`,m,bS,hS],be=()=>[`none`,uS,bS,hS],xe=()=>[`none`,uS,bS,hS],Se=()=>[uS,bS,hS],Ce=()=>[lS,`full`,...C()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[pS],breakpoint:[pS],color:[Txe],container:[pS],"drop-shadow":[pS],ease:[`in`,`out`,`in-out`],font:[kxe],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[pS],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[pS],shadow:[pS],spacing:[`px`,uS],text:[pS],"text-shadow":[pS],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,lS,hS,bS,g]}],container:[`container`],columns:[{columns:[uS,hS,bS,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:te()}],"inset-x":[{"inset-x":te()}],"inset-y":[{"inset-y":te()}],start:[{start:te()}],end:[{end:te()}],top:[{top:te()}],right:[{right:te()}],bottom:[{bottom:te()}],left:[{left:te()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[dS,`auto`,bS,hS]}],basis:[{basis:[lS,`full`,`auto`,s,...C()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[uS,lS,`auto`,`initial`,`none`,hS]}],grow:[{grow:[``,uS,bS,hS]}],shrink:[{shrink:[``,uS,bS,hS]}],order:[{order:[dS,`first`,`last`,`none`,bS,hS]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...ae(),`normal`]}],"justify-items":[{"justify-items":[...oe(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...oe()]}],"align-content":[{content:[`normal`,...ae()]}],"align-items":[{items:[...oe(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...oe(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...oe(),`baseline`]}],"place-self":[{"place-self":[`auto`,...oe()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:se()}],mx:[{mx:se()}],my:[{my:se()}],ms:[{ms:se()}],me:[{me:se()}],mt:[{mt:se()}],mr:[{mr:se()}],mb:[{mb:se()}],ml:[{ml:se()}],"space-x":[{"space-x":C()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":C()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ce()}],w:[{w:[s,`screen`,...ce()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ce()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ce()]}],h:[{h:[`screen`,`lh`,...ce()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ce()]}],"max-h":[{"max-h":[`screen`,`lh`,...ce()]}],"font-size":[{text:[`base`,n,xS,gS]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,bS,_S]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,fS,hS]}],"font-family":[{font:[Mxe,hS,t]}],"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:[i,bS,hS]}],"line-clamp":[{"line-clamp":[uS,`none`,bS,_S]}],leading:[{leading:[a,...C()]}],"list-image":[{"list-image":[`none`,bS,hS]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,bS,hS]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:le()}],"text-color":[{text:le()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ge(),`wavy`]}],"text-decoration-thickness":[{decoration:[uS,`from-font`,`auto`,bS,gS]}],"text-decoration-color":[{decoration:le()}],"underline-offset":[{"underline-offset":[uS,`auto`,bS,hS]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:C()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,bS,hS]}],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`,bS,hS]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ue()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:fe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},dS,bS,hS],radial:[``,bS,hS],conic:[dS,bS,hS]},Pxe,jxe]}],"bg-color":[{bg:le()}],"gradient-from-pos":[{from:pe()}],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:le()}],"gradient-via":[{via:le()}],"gradient-to":[{to:le()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":he()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ge(),`hidden`,`none`]}],"divide-style":[{divide:[...ge(),`hidden`,`none`]}],"border-color":[{border:le()}],"border-color-x":[{"border-x":le()}],"border-color-y":[{"border-y":le()}],"border-color-s":[{"border-s":le()}],"border-color-e":[{"border-e":le()}],"border-color-t":[{"border-t":le()}],"border-color-r":[{"border-r":le()}],"border-color-b":[{"border-b":le()}],"border-color-l":[{"border-l":le()}],"divide-color":[{divide:le()}],"outline-style":[{outline:[...ge(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[uS,bS,hS]}],"outline-w":[{outline:[``,uS,xS,gS]}],"outline-color":[{outline:le()}],shadow:[{shadow:[``,`none`,u,CS,yS]}],"shadow-color":[{shadow:le()}],"inset-shadow":[{"inset-shadow":[`none`,d,CS,yS]}],"inset-shadow-color":[{"inset-shadow":le()}],"ring-w":[{ring:he()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:le()}],"ring-offset-w":[{"ring-offset":[uS,gS]}],"ring-offset-color":[{"ring-offset":le()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":le()}],"text-shadow":[{"text-shadow":[`none`,f,CS,yS]}],"text-shadow-color":[{"text-shadow":le()}],opacity:[{opacity:[uS,bS,hS]}],"mix-blend":[{"mix-blend":[..._e(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":_e()}],"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":[uS]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":le()}],"mask-image-linear-to-color":[{"mask-linear-to":le()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":le()}],"mask-image-t-to-color":[{"mask-t-to":le()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":le()}],"mask-image-r-to-color":[{"mask-r-to":le()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":le()}],"mask-image-b-to-color":[{"mask-b-to":le()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":le()}],"mask-image-l-to-color":[{"mask-l-to":le()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":le()}],"mask-image-x-to-color":[{"mask-x-to":le()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":le()}],"mask-image-y-to-color":[{"mask-y-to":le()}],"mask-image-radial":[{"mask-radial":[bS,hS]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":le()}],"mask-image-radial-to-color":[{"mask-radial-to":le()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[uS]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":le()}],"mask-image-conic-to-color":[{"mask-conic-to":le()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ue()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:fe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,bS,hS]}],filter:[{filter:[``,`none`,bS,hS]}],blur:[{blur:ye()}],brightness:[{brightness:[uS,bS,hS]}],contrast:[{contrast:[uS,bS,hS]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,CS,yS]}],"drop-shadow-color":[{"drop-shadow":le()}],grayscale:[{grayscale:[``,uS,bS,hS]}],"hue-rotate":[{"hue-rotate":[uS,bS,hS]}],invert:[{invert:[``,uS,bS,hS]}],saturate:[{saturate:[uS,bS,hS]}],sepia:[{sepia:[``,uS,bS,hS]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,bS,hS]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[uS,bS,hS]}],"backdrop-contrast":[{"backdrop-contrast":[uS,bS,hS]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,uS,bS,hS]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[uS,bS,hS]}],"backdrop-invert":[{"backdrop-invert":[``,uS,bS,hS]}],"backdrop-opacity":[{"backdrop-opacity":[uS,bS,hS]}],"backdrop-saturate":[{"backdrop-saturate":[uS,bS,hS]}],"backdrop-sepia":[{"backdrop-sepia":[``,uS,bS,hS]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,bS,hS]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[uS,`initial`,bS,hS]}],ease:[{ease:[`linear`,`initial`,_,bS,hS]}],delay:[{delay:[uS,bS,hS]}],animate:[{animate:[`none`,v,bS,hS]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,bS,hS]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:xe()}],"scale-x":[{"scale-x":xe()}],"scale-y":[{"scale-y":xe()}],"scale-z":[{"scale-z":xe()}],"scale-3d":[`scale-3d`],skew:[{skew:Se()}],"skew-x":[{"skew-x":Se()}],"skew-y":[{"skew-y":Se()}],transform:[{transform:[bS,hS,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":[`translate-none`],accent:[{accent:le()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:le()}],"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`,bS,hS]}],"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":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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`,bS,hS]}],fill:[{fill:[`none`,...le()]}],"stroke-w":[{stroke:[uS,xS,gS,_S]}],stroke:[{stroke:[`none`,...le()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`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`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`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-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-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-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-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`]}},Lxe=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(MS(e,`cacheSize`,t),MS(e,`prefix`,n),MS(e,`experimentalParseClassName`,r),NS(e.theme,a.theme),NS(e.classGroups,a.classGroups),NS(e.conflictingClassGroups,a.conflictingClassGroups),NS(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),MS(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),PS(e.theme,i.theme),PS(e.classGroups,i.classGroups),PS(e.conflictingClassGroups,i.conflictingClassGroups),PS(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),FS(e,i,`orderSensitiveModifiers`),e),MS=(e,t,n)=>{n!==void 0&&(e[t]=n)},NS=(e,t)=>{if(t)for(let n in t)MS(e,n,t[n])},PS=(e,t)=>{if(t)for(let n in t)FS(e,t,n)},FS=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Rxe=(e,...t)=>typeof e==`function`?aS(jS,e,...t):aS(()=>Lxe(jS(),e),...t)})),Bxe,IS,LS,Vxe,Hxe=c((()=>{Zbe(),zxe(),Bxe=Rxe({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:IS,cx:LS,compose:Vxe}=Jx({hooks:{onComplete:e=>Bxe(e)}})}));function RS(){let e=Cd(),t=H(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:LS(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:LS(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:H(()=>t.value.rest)}}var Uxe=c((()=>{U(),Hxe()})),zS=c((()=>{Hxe(),Uxe()})),Wxe,Gxe,Kxe=c((()=>{zS(),U(),Wxe={class:`circular-loader`},Gxe=j({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=RS(),n=IS({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,i)=>e.loader?(N(),P(`div`,qc(z({key:0},k(t)(`loader-wrapper`,k(n)({size:e.size})))),[(N(),P(`svg`,{class:E([`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`},[i[0]||=Ud(`<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),I(`g`,Wxe,[I(`circle`,{class:E([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):R(``,!0)}})})),BS,VS=c((()=>{BS=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),HS,US=c((()=>{Kxe(),VS(),HS=BS(Gxe,[[`__scopeId`,`data-v-27df5cd8`]])}));function WS(){return $l({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:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}var qxe=c((()=>{U()})),GS,Jxe=c((()=>{GS={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`]}})),Yxe,Xxe,Zxe=c((()=>{US(),Jxe(),zS(),U(),Yxe={key:3,class:`centered`},Xxe=j({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=IS({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:GS},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`}]}),n=IS({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=IS({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=RS();return(a,o)=>(N(),F(vd(e.is),z({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},k(i)(k(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:A(()=>[a.$slots.icon||e.icon?(N(),P(`div`,{key:0,class:E([k(n)({size:e.size}),{invisible:e.loader?.isActive}])},[M(a.$slots,`icon`,{},()=>[(N(),F(vd(e.icon),{class:`size-full`}))])],2)):R(``,!0),e.loader?(N(),P(`span`,{key:1,class:E({invisible:e.loader?.isActive})},[M(a.$slots,`default`)],2)):M(a.$slots,`default`,{key:2}),e.loader?.isActive?(N(),P(`div`,Yxe,[V(k(HS),{class:E(k(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):R(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}})})),KS,qS=c((()=>{Zxe(),KS=Xxe})),JS,Qxe,$xe,eSe=c((()=>{U(),JS=Symbol(),Qxe=e=>{let t=$u(JS,void 0);t&&(t.value=e)},$xe=()=>{let e=O();return Qu(JS,e),{id:e}}})),tSe,nSe=c((()=>{eSe(),zS(),U(),tSe=j({inheritAttrs:!1,__name:`ScalarCard`,props:{label:{}},setup(e){let{id:t}=$xe(),n=H(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=RS();return(e,t)=>(N(),P(`div`,z({role:`group`},{...n.value,...k(r)(`scalar-card bg-b-2 flex flex-col divide-y rounded-xl border`)}),[M(e.$slots,`default`)],16))}})})),YS,rSe=c((()=>{nSe(),YS=tSe})),iSe,aSe=c((()=>{zS(),U(),iSe=j({inheritAttrs:!1,__name:`ScalarCardSection`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`div`,qc(Vd(k(t)(`scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]`))),[M(e.$slots,`default`)],16))}})})),XS,ZS=c((()=>{aSe(),XS=iSe})),oSe,sSe=c((()=>{ZS(),zS(),U(),oSe=j({inheritAttrs:!1,__name:`ScalarCardFooter`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),F(XS,qc(Vd(k(t)(`scalar-card-footer`))),{default:A(()=>[M(e.$slots,`default`)]),_:3},16))}})})),QS,cSe=c((()=>{sSe(),QS=oSe})),lSe,uSe,dSe,fSe=c((()=>{eSe(),ZS(),zS(),U(),lSe=[`id`],uSe={key:0,class:`flex`},dSe=j({inheritAttrs:!1,__name:`ScalarCardHeader`,setup(e){let{cx:t}=RS(),n=ud();return Qxe(n),(e,r)=>(N(),F(XS,qc(Vd(k(t)(`scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0`))),{default:A(()=>[I(`div`,{id:k(n),class:`scalar-card-header-title min-w-0 flex-1 truncate`},[M(e.$slots,`default`)],8,lSe),e.$slots.actions?(N(),P(`div`,uSe,[M(e.$slots,`actions`)])):R(``,!0)]),_:3},16))}})})),$S,pSe=c((()=>{fSe(),$S=dSe}));function eC(e={}){let t=H(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:H(()=>({width:`1em`,height:`1em`,...t.value})),weight:H(()=>e.weight??mSe)}}var mSe,tC=c((()=>{U(),mSe=`regular`})),hSe,gSe,_Se,vSe,ySe,bSe,xSe,SSe=c((()=>{tC(),U(),hSe={key:0},gSe={key:1},_Se={key:2},vSe={key:3},ySe={key:4},bSe={key:5},xSe=j({name:`ScalarIconArrowRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,hSe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,gSe,[...r[1]||=[I(`path`,{d:`M216,128l-72,72V56Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,_Se,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,vSe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,ySe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,bSe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),CSe,wSe=c((()=>{SSe(),CSe=xSe})),TSe,ESe,DSe,OSe,kSe,ASe,jSe,MSe=c((()=>{tC(),U(),TSe={key:0},ESe={key:1},DSe={key:2},OSe={key:3},kSe={key:4},ASe={key:5},jSe=j({name:`ScalarIconArrowUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,TSe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,ESe,[...r[1]||=[I(`path`,{d:`M200,112H56l72-72Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,DSe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,OSe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,kSe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,ASe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),nC,NSe=c((()=>{MSe(),nC=jSe})),PSe,FSe,ISe,LSe,RSe,zSe,BSe,VSe=c((()=>{tC(),U(),PSe={key:0},FSe={key:1},ISe={key:2},LSe={key:3},RSe={key:4},zSe={key:5},BSe=j({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,PSe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,FSe,[...r[1]||=[I(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,ISe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,LSe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,RSe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,zSe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),rC,HSe=c((()=>{VSe(),rC=BSe})),USe,WSe,GSe,KSe,qSe,JSe,YSe,XSe=c((()=>{tC(),U(),USe={key:0},WSe={key:1},GSe={key:2},KSe={key:3},qSe={key:4},JSe={key:5},YSe=j({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,USe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,WSe,[...r[1]||=[I(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,GSe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,KSe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,qSe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,JSe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),iC,ZSe=c((()=>{XSe(),iC=YSe})),QSe,$Se,eCe,tCe,nCe,rCe,iCe,aCe=c((()=>{tC(),U(),QSe={key:0},$Se={key:1},eCe={key:2},tCe={key:3},nCe={key:4},rCe={key:5},iCe=j({name:`ScalarIconBookOpen`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,QSe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,$Se,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,eCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,tCe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,nCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,rCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),oCe,sCe=c((()=>{aCe(),oCe=iCe})),cCe,lCe,uCe,dCe,fCe,pCe,mCe,hCe=c((()=>{tC(),U(),cCe={key:0},lCe={key:1},uCe={key:2},dCe={key:3},fCe={key:4},pCe={key:5},mCe=j({name:`ScalarIconBookOpenText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,cCe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,lCe,[...r[1]||=[I(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,uCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,dCe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,fCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,pCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),gCe,_Ce=c((()=>{hCe(),gCe=mCe})),vCe,yCe,bCe,xCe,SCe,CCe,wCe,TCe=c((()=>{tC(),U(),vCe={key:0},yCe={key:1},bCe={key:2},xCe={key:3},SCe={key:4},CCe={key:5},wCe=j({name:`ScalarIconBracketsCurly`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,vCe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,yCe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,bCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,xCe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,SCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,CCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),aC,ECe=c((()=>{TCe(),aC=wCe})),DCe,OCe,kCe,ACe,jCe,MCe,NCe,PCe=c((()=>{tC(),U(),DCe={key:0},OCe={key:1},kCe={key:2},ACe={key:3},jCe={key:4},MCe={key:5},NCe=j({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,DCe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,OCe,[...r[1]||=[I(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,kCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,ACe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,jCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,MCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),oC,FCe=c((()=>{PCe(),oC=NCe})),ICe,LCe,RCe,zCe,BCe,VCe,HCe,UCe=c((()=>{tC(),U(),ICe={key:0},LCe={key:1},RCe={key:2},zCe={key:3},BCe={key:4},VCe={key:5},HCe=j({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,ICe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,LCe,[...r[1]||=[I(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,RCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,zCe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,BCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,VCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),sC,WCe=c((()=>{UCe(),sC=HCe})),GCe,KCe,qCe,JCe,YCe,XCe,ZCe,QCe=c((()=>{tC(),U(),GCe={key:0},KCe={key:1},qCe={key:2},JCe={key:3},YCe={key:4},XCe={key:5},ZCe=j({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,GCe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,KCe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,qCe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,JCe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,YCe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,XCe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),cC,$Ce=c((()=>{QCe(),cC=ZCe})),ewe,twe,nwe,rwe,iwe,awe,owe,swe=c((()=>{tC(),U(),ewe={key:0},twe={key:1},nwe={key:2},rwe={key:3},iwe={key:4},awe={key:5},owe=j({name:`ScalarIconCloud`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,ewe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,twe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,nwe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,rwe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,iwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,awe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),cwe,lwe=c((()=>{swe(),cwe=owe})),uwe,dwe,fwe,pwe,mwe,hwe,gwe,_we=c((()=>{tC(),U(),uwe={key:0},dwe={key:1},fwe={key:2},pwe={key:3},mwe={key:4},hwe={key:5},gwe=j({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,uwe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,dwe,[...r[1]||=[I(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,fwe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,pwe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,mwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,hwe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),lC,vwe=c((()=>{_we(),lC=gwe})),ywe,bwe,xwe,Swe,Cwe,wwe,Twe,Ewe=c((()=>{tC(),U(),ywe={key:0},bwe={key:1},xwe={key:2},Swe={key:3},Cwe={key:4},wwe={key:5},Twe=j({name:`ScalarIconDiscordLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,ywe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,bwe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,xwe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Swe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Cwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,wwe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),Dwe,Owe=c((()=>{Ewe(),Dwe=Twe})),kwe,Awe,jwe,Mwe,Nwe,Pwe,Fwe,Iwe=c((()=>{tC(),U(),kwe={key:0},Awe={key:1},jwe={key:2},Mwe={key:3},Nwe={key:4},Pwe={key:5},Fwe=j({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,kwe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,Awe,[...r[1]||=[I(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,jwe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Mwe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Nwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Pwe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),uC,Lwe=c((()=>{Iwe(),uC=Fwe})),Rwe,zwe,Bwe,Vwe,Hwe,Uwe,Wwe,Gwe=c((()=>{tC(),U(),Rwe={key:0},zwe={key:1},Bwe={key:2},Vwe={key:3},Hwe={key:4},Uwe={key:5},Wwe=j({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,Rwe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,zwe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,Bwe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Vwe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Hwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Uwe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),dC,Kwe=c((()=>{Gwe(),dC=Wwe})),qwe,Jwe,Ywe,Xwe,Zwe,Qwe,$we,eTe=c((()=>{tC(),U(),qwe={key:0},Jwe={key:1},Ywe={key:2},Xwe={key:3},Zwe={key:4},Qwe={key:5},$we=j({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,qwe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,Jwe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,Ywe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Xwe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Zwe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Qwe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),fC,tTe=c((()=>{eTe(),fC=$we})),nTe,rTe,iTe,aTe,oTe,sTe,cTe,lTe=c((()=>{tC(),U(),nTe={key:0},rTe={key:1},iTe={key:2},aTe={key:3},oTe={key:4},sTe={key:5},cTe=j({name:`ScalarIconFileDashed`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,nTe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,rTe,[...r[1]||=[I(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,iTe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,aTe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,oTe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,sTe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),uTe,dTe=c((()=>{lTe(),uTe=cTe})),fTe,pTe,mTe,hTe,gTe,_Te,vTe,yTe=c((()=>{tC(),U(),fTe={key:0},pTe={key:1},mTe={key:2},hTe={key:3},gTe={key:4},_Te={key:5},vTe=j({name:`ScalarIconFileMd`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,fTe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,pTe,[...r[1]||=[I(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,mTe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,hTe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,gTe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,_Te,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),bTe,xTe=c((()=>{yTe(),bTe=vTe})),STe,CTe,wTe,TTe,ETe,DTe,OTe,kTe=c((()=>{tC(),U(),STe={key:0},CTe={key:1},wTe={key:2},TTe={key:3},ETe={key:4},DTe={key:5},OTe=j({name:`ScalarIconFileText`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,STe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,CTe,[...r[1]||=[I(`path`,{d:`M208,88H152V32Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,wTe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,TTe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,ETe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,DTe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),ATe,jTe=c((()=>{kTe(),ATe=OTe})),MTe,NTe,PTe,FTe,ITe,LTe,RTe,zTe=c((()=>{tC(),U(),MTe={key:0},NTe={key:1},PTe={key:2},FTe={key:3},ITe={key:4},LTe={key:5},RTe=j({name:`ScalarIconGavel`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,MTe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,NTe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,PTe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,FTe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,ITe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,LTe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),pC,BTe=c((()=>{zTe(),pC=RTe})),VTe,HTe,UTe,WTe,GTe,KTe,qTe,JTe=c((()=>{tC(),U(),VTe={key:0},HTe={key:1},UTe={key:2},WTe={key:3},GTe={key:4},KTe={key:5},qTe=j({name:`ScalarIconGear`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,VTe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,HTe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,UTe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,WTe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,GTe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,KTe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),YTe,XTe=c((()=>{JTe(),YTe=qTe})),ZTe,QTe,$Te,eEe,tEe,nEe,rEe,iEe=c((()=>{tC(),U(),ZTe={key:0},QTe={key:1},$Te={key:2},eEe={key:3},tEe={key:4},nEe={key:5},rEe=j({name:`ScalarIconGitBranch`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,ZTe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,QTe,[...r[1]||=[I(`path`,{d:`M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,$Te,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,eEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,tEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,nEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),aEe,oEe=c((()=>{iEe(),aEe=rEe})),sEe,cEe,lEe,uEe,dEe,fEe,pEe,mEe=c((()=>{tC(),U(),sEe={key:0},cEe={key:1},lEe={key:2},uEe={key:3},dEe={key:4},fEe={key:5},pEe=j({name:`ScalarIconGithubLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,sEe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,cEe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,lEe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,uEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,dEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,fEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),hEe,gEe=c((()=>{mEe(),hEe=pEe})),_Ee,vEe,yEe,bEe,xEe,SEe,CEe,wEe=c((()=>{tC(),U(),_Ee={key:0},vEe={key:1},yEe={key:2},bEe={key:3},xEe={key:4},SEe={key:5},CEe=j({name:`ScalarIconGlobe`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,_Ee,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,vEe,[...r[1]||=[I(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,yEe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,bEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,xEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,SEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),mC,TEe=c((()=>{wEe(),mC=CEe})),EEe,DEe,OEe,kEe,AEe,jEe,MEe,NEe=c((()=>{tC(),U(),EEe={key:0},DEe={key:1},OEe={key:2},kEe={key:3},AEe={key:4},jEe={key:5},MEe=j({name:`ScalarIconGlobeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,EEe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,DEe,[...r[1]||=[I(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,OEe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,kEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,AEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,jEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),PEe,FEe=c((()=>{NEe(),PEe=MEe})),IEe,LEe,REe,zEe,BEe,VEe,HEe,UEe=c((()=>{tC(),U(),IEe={key:0},LEe={key:1},REe={key:2},zEe={key:3},BEe={key:4},VEe={key:5},HEe=j({name:`ScalarIconHash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,IEe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,LEe,[...r[1]||=[I(`path`,{d:`M165.82,96l-11.64,64h-64l11.64-64Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,REe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,zEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,BEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,VEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),WEe,GEe=c((()=>{UEe(),WEe=HEe})),KEe,qEe,JEe,YEe,XEe,ZEe,QEe,$Ee=c((()=>{tC(),U(),KEe={key:0},qEe={key:1},JEe={key:2},YEe={key:3},XEe={key:4},ZEe={key:5},QEe=j({name:`ScalarIconHouse`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,KEe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,qEe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,JEe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,YEe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,XEe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,ZEe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),eDe,tDe=c((()=>{$Ee(),eDe=QEe})),nDe,rDe,iDe,aDe,oDe,sDe,cDe,lDe=c((()=>{tC(),U(),nDe={key:0},rDe={key:1},iDe={key:2},aDe={key:3},oDe={key:4},sDe={key:5},cDe=j({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,nDe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,rDe,[...r[1]||=[I(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,iDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,aDe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,oDe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,sDe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),hC,uDe=c((()=>{lDe(),hC=cDe})),dDe,fDe,pDe,mDe,hDe,gDe,_De,vDe=c((()=>{tC(),U(),dDe={key:0},fDe={key:1},pDe={key:2},mDe={key:3},hDe={key:4},gDe={key:5},_De=j({name:`ScalarIconLink`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,dDe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,fDe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,pDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,mDe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,hDe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,gDe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),yDe,bDe=c((()=>{vDe(),yDe=_De})),xDe,SDe,CDe,wDe,TDe,EDe,DDe,ODe=c((()=>{tC(),U(),xDe={key:0},SDe={key:1},CDe={key:2},wDe={key:3},TDe={key:4},EDe={key:5},DDe=j({name:`ScalarIconList`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,xDe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,SDe,[...r[1]||=[I(`path`,{d:`M216,64V192H40V64Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,CDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,wDe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,TDe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,EDe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),kDe,ADe=c((()=>{ODe(),kDe=DDe})),jDe,MDe,NDe,PDe,FDe,IDe,LDe,RDe=c((()=>{tC(),U(),jDe={key:0},MDe={key:1},NDe={key:2},PDe={key:3},FDe={key:4},IDe={key:5},LDe=j({name:`ScalarIconLockSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,jDe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,MDe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,NDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,PDe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,FDe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,IDe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),gC,zDe=c((()=>{RDe(),gC=LDe})),BDe,VDe,HDe,UDe,WDe,GDe,KDe,qDe=c((()=>{tC(),U(),BDe={key:0},VDe={key:1},HDe={key:2},UDe={key:3},WDe={key:4},GDe={key:5},KDe=j({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,BDe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,VDe,[...r[1]||=[I(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,HDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,UDe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,WDe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,GDe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),_C,JDe=c((()=>{qDe(),_C=KDe})),YDe,XDe,ZDe,QDe,$De,eOe,tOe,nOe=c((()=>{tC(),U(),YDe={key:0},XDe={key:1},ZDe={key:2},QDe={key:3},$De={key:4},eOe={key:5},tOe=j({name:`ScalarIconMinus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,YDe,[...r[0]||=[I(`path`,{d:`M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z`},null,-1)]])):k(n)===`duotone`?(N(),P(`g`,XDe,[...r[1]||=[I(`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),I(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z`},null,-1)]])):k(n)===`fill`?(N(),P(`g`,ZDe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,QDe,[...r[3]||=[I(`path`,{d:`M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z`},null,-1)]])):k(n)===`regular`?(N(),P(`g`,$De,[...r[4]||=[I(`path`,{d:`M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z`},null,-1)]])):k(n)===`thin`?(N(),P(`g`,eOe,[...r[5]||=[I(`path`,{d:`M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z`},null,-1)]])):R(``,!0)],16))}})})),rOe,iOe=c((()=>{nOe(),rOe=tOe})),aOe,oOe,sOe,cOe,lOe,uOe,dOe,fOe=c((()=>{tC(),U(),aOe={key:0},oOe={key:1},sOe={key:2},cOe={key:3},lOe={key:4},uOe={key:5},dOe=j({name:`ScalarIconNotepad`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,aOe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,oOe,[...r[1]||=[I(`path`,{d:`M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,sOe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,cOe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,lOe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,uOe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),pOe,mOe=c((()=>{fOe(),pOe=dOe})),hOe,gOe,_Oe,vOe,yOe,bOe,xOe,SOe=c((()=>{tC(),U(),hOe={key:0},gOe={key:1},_Oe={key:2},vOe={key:3},yOe={key:4},bOe={key:5},xOe=j({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,hOe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,gOe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,_Oe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,vOe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,yOe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,bOe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),COe,wOe=c((()=>{SOe(),COe=xOe})),TOe,EOe,DOe,OOe,kOe,AOe,jOe,MOe=c((()=>{tC(),U(),TOe={key:0},EOe={key:1},DOe={key:2},OOe={key:3},kOe={key:4},AOe={key:5},jOe=j({name:`ScalarIconPlay`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,TOe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,EOe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,DOe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,OOe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,kOe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,AOe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),vC,NOe=c((()=>{MOe(),vC=jOe})),POe,FOe,IOe,LOe,ROe,zOe,BOe,VOe=c((()=>{tC(),U(),POe={key:0},FOe={key:1},IOe={key:2},LOe={key:3},ROe={key:4},zOe={key:5},BOe=j({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,POe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,FOe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,IOe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,LOe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,ROe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,zOe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),yC,HOe=c((()=>{VOe(),yC=BOe})),UOe,WOe,GOe,KOe,qOe,JOe,YOe,XOe=c((()=>{tC(),U(),UOe={key:0},WOe={key:1},GOe={key:2},KOe={key:3},qOe={key:4},JOe={key:5},YOe=j({name:`ScalarIconScroll`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,UOe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,WOe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,GOe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,KOe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,qOe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,JOe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),ZOe,QOe=c((()=>{XOe(),ZOe=YOe})),$Oe,eke,tke,nke,rke,ike,ake,oke=c((()=>{tC(),U(),$Oe={key:0},eke={key:1},tke={key:2},nke={key:3},rke={key:4},ike={key:5},ake=j({name:`ScalarIconSparkle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,$Oe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,eke,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,tke,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,nke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,rke,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,ike,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),bC,ske=c((()=>{oke(),bC=ake})),cke,lke,uke,dke,fke,pke,mke,hke=c((()=>{tC(),U(),cke={key:0},lke={key:1},uke={key:2},dke={key:3},fke={key:4},pke={key:5},mke=j({name:`ScalarIconSwap`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,cke,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,lke,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,uke,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,dke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,fke,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,pke,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),gke,_ke=c((()=>{hke(),gke=mke})),vke,yke,bke,xke,Ske,Cke,wke,Tke=c((()=>{tC(),U(),vke={key:0},yke={key:1},bke={key:2},xke={key:3},Ske={key:4},Cke={key:5},wke=j({name:`ScalarIconTag`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,vke,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,yke,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,bke,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,xke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Ske,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Cke,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),Eke,Dke=c((()=>{Tke(),Eke=wke})),Oke,kke,Ake,jke,Mke,Nke,Pke,Fke=c((()=>{tC(),U(),Oke={key:0},kke={key:1},Ake={key:2},jke={key:3},Mke={key:4},Nke={key:5},Pke=j({name:`ScalarIconTerminalWindow`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,Oke,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,kke,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,Ake,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,jke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Mke,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Nke,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),xC,Ike=c((()=>{Fke(),xC=Pke})),Lke,Rke,zke,Bke,Vke,Hke,Uke,Wke=c((()=>{tC(),U(),Lke={key:0},Rke={key:1},zke={key:2},Bke={key:3},Vke={key:4},Hke={key:5},Uke=j({name:`ScalarIconTextAlignLeft`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,Lke,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,Rke,[...r[1]||=[I(`path`,{d:`M216,64V168a16,16,0,0,1-16,16H40V64Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,zke,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Bke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Vke,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Hke,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),Gke,Kke=c((()=>{Wke(),Gke=Uke})),qke,Jke,Yke,Xke,Zke,Qke,$ke,eAe=c((()=>{tC(),U(),qke={key:0},Jke={key:1},Yke={key:2},Xke={key:3},Zke={key:4},Qke={key:5},$ke=j({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,qke,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,Jke,[...r[1]||=[I(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,Yke,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,Xke,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,Zke,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,Qke,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),SC,tAe=c((()=>{eAe(),SC=$ke})),nAe,rAe,iAe,aAe,oAe,sAe,cAe,lAe=c((()=>{tC(),U(),nAe={key:0},rAe={key:1},iAe={key:2},aAe={key:3},oAe={key:4},sAe={key:5},cAe=j({name:`ScalarIconUpload`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,nAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,rAe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,iAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,aAe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,oAe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,sAe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),uAe,dAe=c((()=>{lAe(),uAe=cAe})),fAe,pAe,mAe,hAe,gAe,_Ae,vAe,yAe=c((()=>{tC(),U(),fAe={key:0},pAe={key:1},mAe={key:2},hAe={key:3},gAe={key:4},_Ae={key:5},vAe=j({name:`ScalarIconWarning`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,fAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,pAe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,mAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,hAe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,gAe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,_Ae,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),CC,bAe=c((()=>{yAe(),CC=vAe})),xAe,SAe,CAe,wAe,TAe,EAe,DAe,OAe=c((()=>{tC(),U(),xAe={key:0},SAe={key:1},CAe={key:2},wAe={key:3},TAe={key:4},EAe={key:5},DAe=j({name:`ScalarIconWarningCircle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,xAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,SAe,[...r[1]||=[I(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,CAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,wAe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,TAe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,EAe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),kAe,AAe=c((()=>{OAe(),kAe=DAe})),jAe,MAe,NAe,PAe,FAe,IAe,LAe,RAe=c((()=>{tC(),U(),jAe={key:0},MAe={key:1},NAe={key:2},PAe={key:3},FAe={key:4},IAe={key:5},LAe=j({name:`ScalarIconWarningOctagon`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,jAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,MAe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,NAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,PAe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,FAe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,IAe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),zAe,BAe=c((()=>{RAe(),zAe=LAe})),VAe,HAe,UAe,WAe,GAe,KAe,qAe,JAe=c((()=>{tC(),U(),VAe={key:0},HAe={key:1},UAe={key:2},WAe={key:3},GAe={key:4},KAe={key:5},qAe=j({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,VAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,HAe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,UAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,WAe,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,GAe,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,KAe,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),wC,YAe=c((()=>{JAe(),wC=qAe})),XAe,ZAe,QAe,$Ae,eje,tje,nje,rje=c((()=>{tC(),U(),XAe={key:0},ZAe={key:1},QAe={key:2},$Ae={key:3},eje={key:4},tje={key:5},nje=j({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,XAe,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,ZAe,[...r[1]||=[I(`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),I(`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)]])):k(n)===`fill`?(N(),P(`g`,QAe,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,$Ae,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,eje,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,tje,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),TC,ije=c((()=>{rje(),TC=nje})),aje,oje,sje,cje,lje,uje,dje,fje=c((()=>{tC(),U(),aje={key:0},oje={key:1},sje={key:2},cje={key:3},lje={key:4},uje={key:5},dje=j({name:`ScalarIconXCircle`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=eC(e);return(e,r)=>(N(),P(`svg`,z({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},k(t)),[M(e.$slots,`default`),k(n)===`bold`?(N(),P(`g`,aje,[...r[0]||=[I(`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)]])):k(n)===`duotone`?(N(),P(`g`,oje,[...r[1]||=[I(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),I(`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)]])):k(n)===`fill`?(N(),P(`g`,sje,[...r[2]||=[I(`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)]])):k(n)===`light`?(N(),P(`g`,cje,[...r[3]||=[I(`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)]])):k(n)===`regular`?(N(),P(`g`,lje,[...r[4]||=[I(`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)]])):k(n)===`thin`?(N(),P(`g`,uje,[...r[5]||=[I(`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)]])):R(``,!0)],16))}})})),pje,mje=c((()=>{fje(),pje=dje})),EC=c((()=>{wSe(),NSe(),HSe(),ZSe(),sCe(),_Ce(),ECe(),FCe(),WCe(),$Ce(),lwe(),vwe(),Owe(),Lwe(),Kwe(),tTe(),dTe(),xTe(),jTe(),BTe(),XTe(),oEe(),gEe(),TEe(),FEe(),GEe(),tDe(),uDe(),bDe(),ADe(),zDe(),JDe(),iOe(),mOe(),wOe(),NOe(),HOe(),QOe(),ske(),_ke(),Dke(),Ike(),Kke(),tAe(),dAe(),bAe(),AAe(),BAe(),YAe(),ije(),mje()})),hje,gje=c((()=>{U(),EC(),hje=j({__name:`ScalarCheckbox`,props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:`checkbox`}},setup(e){let t=e;return(e,n)=>(N(),P(`div`,{class:E([`flex size-4 items-center justify-center p-0.75`,[t.selected||t.indeterminate&&t.type===`checkbox`?`bg-c-accent text-b-1`:`text-transparent shadow-border`,t.type===`checkbox`?`rounded`:`rounded-full`]])},[t.selected?(N(),F(k(cC),{key:0,class:`size-3`,weight:`bold`})):t.indeterminate&&t.type===`checkbox`?(N(),F(k(rOe),{key:1,"aria-hidden":`true`,class:`size-3`,weight:`bold`})):R(``,!0)],2))}})})),_je,vje=c((()=>{gje(),_je=hje})),yje=c((()=>{zS(),U()})),bje=c((()=>{yje()})),xje=c((()=>{zS(),U()})),Sje=c((()=>{xje()})),Cje,wje,Tje=c((()=>{zS(),U(),Cje={key:0,class:`flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium`},wje=j({inheritAttrs:!1,__name:`ScalarFormField`,props:{is:{default:`label`}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),F(vd(e.is),qc(Vd(k(t)(`flex flex-col gap-1.5 rounded`))),{default:A(()=>[n.$slots.label?(N(),P(`div`,Cje,[M(n.$slots,`label`)])):R(``,!0),M(n.$slots,`default`),n.$slots.below?(N(),P(`span`,{key:1,class:E(k(t)(`-mt-1.5 text-sm`))},[M(n.$slots,`below`)],2)):R(``,!0)]),_:3},16))}})})),DC,Eje=c((()=>{Tje(),DC=wje})),OC,Dje,Oje,kje=c((()=>{U(),OC=Symbol(),Dje=()=>$u(OC,!1),Oje=()=>{Qu(OC,!0)}})),Aje,jje=c((()=>{kje(),zS(),U(),Aje=j({inheritAttrs:!1,__name:`ScalarFormInput`,props:{is:{default:`button`}},setup(e){let{cx:t}=RS(),n=Dje(),r=IS({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(i,a)=>(N(),F(vd(e.is),z({type:e.is===`button`?`button`:void 0},k(t)(k(r)({button:e.is===`button`,grouped:k(n)}))),{default:A(()=>[M(i.$slots,`default`)]),_:3},16,[`type`]))}})})),kC,AC=c((()=>{jje(),kC=Aje})),Mje,Nje=c((()=>{kje(),zS(),U(),Mje=j({inheritAttrs:!1,__name:`ScalarFormInputGroup`,props:{is:{default:`div`}},setup(e){let{cx:t}=RS();return Oje(),(n,r)=>(N(),F(vd(e.is),qc(Vd(k(t)(`flex flex-col border rounded divide-y`))),{default:A(()=>[M(n.$slots,`default`)]),_:3},16))}})})),jC,MC=c((()=>{Nje(),jC=Mje})),Pje,Fje=c((()=>{Pje={}}));function Ije(e,t,n,r,i,a){return N(),P(`fieldset`,Lje,[I(`legend`,Rje,[I(`span`,zje,[M(e.$slots,`label`)])]),M(e.$slots,`default`)])}var Lje,Rje,zje,NC,Bje=c((()=>{VS(),Fje(),U(),Lje={class:`flex min-w-0 flex-col gap-3`},Rje={class:`contents`},zje={class:`text-base font-medium text-c-1`},NC=BS(Pje,[[`render`,Ije]])})),Vje,Hje,Uje,Wje=c((()=>{vje(),AC(),zS(),U(),Vje={class:`flex-1 text-left min-w-0 truncate`},Hje=[`type`],Uje=j({inheritAttrs:!1,__name:`ScalarCheckboxInput`,props:Td({type:{default:`checkbox`},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=jd(e,`modelValue`),{stylingAttrsCx:r,otherAttrs:i}=RS();return(e,a)=>(N(),F(k(kC),z({is:`label`},k(r)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":n.value})),{default:A(()=>[V(_je,{class:`shrink-0`,indeterminate:t.indeterminate&&t.type===`checkbox`,selected:n.value,type:t.type},null,8,[`indeterminate`,`selected`,`type`]),I(`div`,Vje,[M(e.$slots,`default`)]),Xu(I(`input`,z({ref:`inputEl`,"onUpdate:modelValue":a[0]||=e=>n.value=e,class:`sr-only`,type:t.type},k(i)),null,16,Hje),[[Qp,n.value]])]),_:3},16))}})})),Gje,PC=c((()=>{Wje(),Gje=Uje})),Kje=c((()=>{MC(),PC(),U()})),qje=c((()=>{Kje()})),Jje,Yje=c((()=>{MC(),PC(),U(),Jje=j({__name:`ScalarCheckboxRadioGroup`,props:Td({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=ud();return(r,i)=>(N(),F(k(jC),null,{default:A(()=>[(N(!0),P(B,null,yd(e.options,e=>(N(),F(Gje,{key:e.value,modelValue:t.value?.value===e.value,name:k(n),type:`radio`,value:e.value,"onUpdate:modelValue":n=>t.value=n?e:void 0},{default:A(()=>[L(D(e.label),1)]),_:2},1032,[`modelValue`,`name`,`value`,`onUpdate:modelValue`]))),128))]),_:1}))}})})),Xje,Zje=c((()=>{Yje(),Xje=Jje})),Qje,$je=c((()=>{zS(),U(),Qje=j({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`div`,qc(Vd(k(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}})})),FC,IC=c((()=>{$je(),FC=Qje})),eMe,tMe,nMe,rMe,iMe,aMe=c((()=>{IC(),zS(),U(),EC(),eMe={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},tMe={key:0,class:`whitespace-nowrap px-1.5`},nMe={key:0,class:`sr-only`,role:`alert`},rMe={key:1,class:`sr-only`},iMe=j({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Td({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=jd(e,`copied`),{cx:n}=RS(),r=H(()=>t.value?cC:lC);return(i,a)=>(N(),P(`button`,z({type:`button`},k(n)(`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`)),[V(Np,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:A(()=>[(N(),F(vd(r.value),{class:`size-full`}))]),_:1}),a[4]||=I(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),I(`div`,{class:E([`group/copy-label absolute flex items-center -inset-y-0.5 rounded`,{"left-0 pl-[100%]":e.placement===`right`,"right-0 pr-[100%]":e.placement===`left`}])},[I(`div`,eMe,[V(Np,{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:A(()=>[t.value?(N(),P(`div`,tMe,[M(i.$slots,`copied`,{},()=>[a[0]||=L(`Copied`,-1)])])):(N(),P(`div`,{key:1,class:E([`whitespace-nowrap px-1.5`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[M(i.$slots,`copy`,{},()=>[a[1]||=L(`Copy`,-1)])],2))]),_:3})]),t.value?(N(),P(`div`,nMe,[M(i.$slots,`copied`,{},()=>[a[2]||=L(`Copied`,-1)])])):(N(),P(`div`,rMe,[M(i.$slots,`copy`,{},()=>[a[3]||=L(`Copy`,-1)])])),M(i.$slots,`backdrop`,{},()=>[V(FC)])],2)],16))}})})),LC,RC=c((()=>{aMe(),LC=iMe}));function zC(e){return Pl()?(Fl(e),!0):!1}function oMe(){return UC&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function sMe(...e){if(e.length!==1)return du(...e);let t=e[0];return typeof t==`function`?eu(zce(()=>({get:t,set:GC}))):O(t)}function BC(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function cMe(e,t={}){let n,r,i=GC,a=e=>{clearTimeout(e),i(),i=GC},o;return s=>{let c=uu(e),l=uu(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function lMe(...e){let t=0,n,r=!0,i=GC,a,o,s,c,l;!cu(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[o,s=!0,c=!0,l=!1]=e;let u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=GC)};return e=>{let d=uu(o),f=Date.now()-t,p=()=>a=e();return u(),d<=0?(t=Date.now(),p()):(f>d&&(c||!r)?(t=Date.now(),p()):s&&(a=new Promise((e,a)=>{i=l?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),u()},Math.max(0,d-f))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function uMe(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function dMe(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function VC(e){return Array.isArray(e)?e:[e]}function fMe(e){return e||cp()}function pMe(e,t=200,n={}){return BC(cMe(t,n),e)}function mMe(e,t=200,n=!1,r=!0,i=!1){return BC(lMe(t,n,r,i),e)}function hMe(e,t,n={}){let{eventFilter:r=CMe,...i}=n;return nd(e,BC(r,t),i)}function gMe(e,t=!0,n){fMe(n)?Af(e,n):t?e():Ku(e)}function _Me(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=lu(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},uu(t))}return r&&(a.value=!0,UC&&l()),zC(c),{isPending:tu(a),start:l,stop:c}}function vMe(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return hMe(e,t,{...a,eventFilter:cMe(r,{maxWait:i})})}function yMe(e,t,n){return nd(e,t,{...n,immediate:!0})}var HC,bMe,UC,WC,xMe,SMe,GC,KC,CMe,qC=c((()=>{U(),HC=new WeakMap,bMe=(...e)=>{let t=e[0],n=cp()?.proxy;if(n==null&&!ed())throw Error(`injectLocal must be called in setup`);return n&&HC.has(n)&&t in HC.get(n)?HC.get(n)[t]:$u(...e)},UC=typeof window<`u`&&typeof document<`u`,typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,WC=e=>e!=null,xMe=Object.prototype.toString,SMe=e=>xMe.call(e)===`[object Object]`,GC=()=>{},KC=oMe(),CMe=e=>e()}));function JC(e){let t=uu(e);return t?.$el??t}function YC(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=H(()=>{let t=VC(uu(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=yMe(()=>[i.value?.map(e=>JC(e))??[ew].filter(e=>e!=null),VC(uu(i.value?e[1]:e[0])),VC(k(i.value?e[2]:e[1])),uu(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=SMe(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return zC(n),()=>{a(),n()}}function XC(e,t,n={}){let{window:r=ew,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:GC,cancel:GC,trigger:GC}:GC;if(KC&&!nw){nw=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,GC,e)),r.document.documentElement.addEventListener(`click`,GC,e)}let c=!0,l=e=>uu(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=JC(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=uu(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=uu(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=JC(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},p=!1,m=[YC(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),YC(r,`pointerdown`,t=>{let n=JC(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&YC(r,`blur`,n=>{setTimeout(()=>{let i=JC(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function wMe(){let e=lu(!1),t=cp();return t&&Af(()=>{e.value=!0},t),e}function ZC(e){let t=wMe();return H(()=>(t.value,!!e()))}function TMe(e,t,n={}){let{window:r=ew,...i}=n,a,o=ZC(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=nd(H(()=>{let t=VC(uu(e)).map(JC).filter(WC);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return zC(u),{isSupported:o,stop:u,takeRecords:l}}function EMe(e,t,n={}){let{window:r=ew,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return GC;let o,s=e=>{o?.(),o=e},c=td(()=>{let n=JC(e);if(n){let{stop:e}=TMe(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return zC(l),l}function DMe(e={}){let{window:t=ew,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(;e?.shadowRoot;)e=e?.shadowRoot?.activeElement;return e},o=lu(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};YC(t,`blur`,e=>{e.relatedTarget===null&&s()},e),YC(t,`focus`,s,e)}return r&&EMe(o,s,{document:i}),s(),o}function OMe(){let e=ed()?bMe(HMe,null):null;return typeof e==`number`?e:void 0}function QC(e,t={}){let{window:n=ew,ssrWidth:r=OMe()}=t,i=ZC(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=lu(typeof r==`number`),o=lu(),s=lu(!1);return td(()=>{if(a.value){a.value=!i.value,s.value=uu(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=dMe(n[1])),i&&a&&(a=r<=dMe(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(uu(e)),s.value=o.value.matches)}),YC(o,`change`,e=>{s.value=e.matches},{passive:!0}),H(()=>s.value)}function kMe(e,t={}){let{controls:n=!1,navigator:r=tw}=t,i=ZC(()=>r&&`permissions`in r),a=lu(),o=typeof e==`string`?{name:e}:e,s=lu(),c=()=>{s.value=a.value?.state??`prompt`};YC(a,`change`,c,{passive:!0});let l=uMe(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return su(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function AMe(e={}){let{navigator:t=tw,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=ZC(()=>t&&`clipboard`in t),s=kMe(`clipboard-read`),c=kMe(`clipboard-write`),l=H(()=>o.value||a),u=lu(``),d=lu(!1),f=_Me(()=>d.value=!1,i,{immediate:!1});async function p(){let e=!(o.value&&_(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=g())}l.value&&n&&YC([`copy`,`cut`],p,{passive:!0});async function m(e=uu(r)){if(l.value&&e!=null){let n=!(o.value&&_(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&h(e),u.value=e,d.value=!0,f.start()}}function h(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()}function g(){return((document==null?void 0:document.getSelection)?.call(document))?.toString()??``}function _(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:u,copied:d,copy:m}}function jMe(e,t,n={}){let{window:r=ew,...i}=n,a,o=ZC(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=nd(H(()=>{let t=uu(e);return Array.isArray(t)?t.map(e=>JC(e)):[JC(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return zC(l),{isSupported:o,stop:l}}function MMe(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=ew}=t,o=lu(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(YC(e,`mouseenter`,()=>c(!0),{passive:!0}),YC(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&EMe(H(()=>JC(e)),()=>c(!1)),o):o}function NMe(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:a=0,window:o=ew,immediate:s=!0}=n,c=ZC(()=>o&&`IntersectionObserver`in o),l=H(()=>VC(uu(e)).map(JC).filter(WC)),u=GC,d=lu(s),f=c.value?nd(()=>[l.value,JC(r),d.value],([e,n])=>{if(u(),!d.value||!e.length)return;let r=new IntersectionObserver(t,{root:JC(n),rootMargin:i,threshold:a});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=GC}},{immediate:s,flush:`post`}):GC,p=()=>{u(),f(),d.value=!1};return zC(p),{isSupported:c,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function PMe(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=VMe}=t,a=sMe(e),o=e=>{let t=i?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||t.length===0){let t=i?.createElement(`link`);t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(`.`).pop()}`,i?.head.append(t));return}t?.forEach(t=>t.href=`${n}${e}`)};return nd(a,(e,t)=>{typeof e==`string`&&e!==t&&o(e)},{immediate:!0}),a}function FMe(e,t={}){let{window:n=ew}=t,r=H(()=>JC(e)),i=lu(!1),a=H(()=>i.value);if(!n||!DMe(t).value)return{focused:a};let o={passive:!0};return YC(r,UMe,()=>i.value=!0,o),YC(r,WMe,()=>{var e;return i.value=((e=r.value)?.matches)?.call(e,GMe)??!1},o),{focused:a}}function $C(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function IMe(e,t={}){let{throttle:n=0,idle:r=200,onStop:i=GC,onScroll:a=GC,offset:o={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:l=`auto`,window:u=ew,onError:d=e=>{console.error(e)}}=t,f=typeof s==`boolean`?{mutation:s}:s,p=lu(0),m=lu(0),h=H({get(){return p.value},set(e){_(e,void 0)}}),g=H({get(){return m.value},set(e){_(void 0,e)}});function _(t,n){var r;if(!u)return;let i=uu(e);if(!i)return;(r=i instanceof Document?u.document.body:i)==null||r.scrollTo({top:uu(n)??g.value,left:uu(t)??h.value,behavior:uu(l)});let a=i?.document?.documentElement||i?.documentElement||i;h!=null&&(p.value=a.scrollLeft),g!=null&&(m.value=a.scrollTop)}let v=lu(!1),y=$l({left:!0,right:!1,top:!0,bottom:!1}),b=$l({left:!1,right:!1,top:!1,bottom:!1}),x=e=>{v.value&&(v.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,i(e))},ee=pMe(x,n+r),S=e=>{if(!u)return;let t=e?.document?.documentElement||e?.documentElement||JC(e),{display:n,flexDirection:r,direction:i}=getComputedStyle(t),a=i===`rtl`?-1:1,s=t.scrollLeft;b.left=s<p.value,b.right=s>p.value;let c=Math.abs(s*a)<=(o.left||0),l=Math.abs(s*a)+t.clientWidth>=t.scrollWidth-(o.right||0)-rw;n===`flex`&&r===`row-reverse`?(y.left=l,y.right=c):(y.left=c,y.right=l),p.value=s;let d=t.scrollTop;e===u.document&&!d&&(d=u.document.body.scrollTop),b.top=d<m.value,b.bottom=d>m.value;let f=Math.abs(d)<=(o.top||0),h=Math.abs(d)+t.clientHeight>=t.scrollHeight-(o.bottom||0)-rw;n===`flex`&&r===`column-reverse`?(y.top=h,y.bottom=f):(y.top=f,y.bottom=h),m.value=d},C=e=>{u&&(S(e.target.documentElement??e.target),v.value=!0,ee(e),a(e))};return YC(e,`scroll`,n?mMe(C,n,!0,!1):C,c),gMe(()=>{try{let t=uu(e);if(!t)return;S(t)}catch(e){d(e)}}),f?.mutation&&e!=null&&e!==u&&e!==document&&TMe(e,()=>{let t=uu(e);t&&S(t)},{attributes:!0,childList:!0,subtree:!0}),YC(e,`scrollend`,x,c),{x:h,y:g,isScrolling:v,arrivedState:y,directions:b,measure(){let t=uu(e);u&&t&&S(t)}}}function LMe(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:LMe(t)}}function RMe(e){let t=e||window.event,n=t.target;return LMe(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}function zMe(e,t=!1){let n=lu(t),r=null,i=``;nd(sMe(e),e=>{let t=$C(uu(e));if(t){let e=t;if(iw.get(e)||iw.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=$C(uu(e));!t||n.value||(KC&&(r=YC(t,`touchmove`,e=>{RMe(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=$C(uu(e));!t||!n.value||(KC&&r?.(),t.style.overflow=i,iw.delete(t),n.value=!1)};return zC(o),H({get(){return n.value},set(e){e?a():o()}})}function BMe(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,{start:a}=_Me(s,t,{immediate:r}),o=lu(!1);async function s(){o.value&&(await e(),a())}function c(){o.value||(o.value=!0,i&&e(),a())}function l(){o.value=!1}return r&&UC&&c(),zC(l),{isActive:o,pause:l,resume:c}}var ew,VMe,tw,nw,HMe,UMe,WMe,GMe,rw,iw,aw=c((()=>{qC(),qC(),U(),ew=UC?window:void 0,VMe=UC?window.document:void 0,tw=UC?window.navigator:void 0,UC&&window.location,nw=!1,HMe=Symbol(`vueuse-ssr-width`),UMe=`focusin`,WMe=`focusout`,GMe=`:focus-within`,rw=1,iw=new WeakMap})),KMe,qMe=c((()=>{RC(),U(),aw(),KMe=j({__name:`ScalarCopy`,props:Td({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=jd(e,`copied`);Af(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=AMe({legacy:!0,copiedDuring:e.duration});return nd(r,e=>t.value=e),(i,a)=>(N(),F(LC,{copied:t.value||k(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>k(n)(e.content)},bd({_:2},[i.$slots.copy?{name:`copy`,fn:A(()=>[M(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:A(()=>[M(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:A(()=>[M(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}})})),JMe,YMe=c((()=>{qMe(),JMe=KMe})),ow,XMe=c((()=>{ow={bash:`Bash`,c:`C`,clojure:`Clojure`,cpp:`C++`,csharp:`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,diff:`Diff`,docker:`Docker`,dockerfile:`Dockerfile`,elixir:`Elixir`,fsharp:`F#`,go:`Go`,graphql:`GraphQL`,haskell:`Haskell`,html:`HTML`,http:`HTTP`,ini:`INI`,java:`Java`,javascript:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,less:`Less`,lua:`Lua`,makefile:`Makefile`,markdown:`Markdown`,matlab:`MATLAB`,nginx:`Nginx`,objectivec:`Objective-C`,ocaml:`OCaml`,perl:`Perl`,php:`PHP`,plaintext:`Plain Text`,powershell:`PowerShell`,properties:`Properties`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,scss:`SCSS`,shell:`Shell`,sql:`SQL`,swift:`Swift`,toml:`TOML`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`}})),ZMe,QMe,$Me=c((()=>{YMe(),XMe(),zS(),U(),ZMe={class:`hidden group-hocus-within/code-block:inline`},QMe=j({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Td({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=jd(e,`copied`),n=H(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in ow,{cx:i}=RS();return(a,o)=>(N(),F(k(JMe),z({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":o[0]||=e=>t.value=e,placement:`left`},{...k(i)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),bd({backdrop:A(()=>[M(a.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:A(()=>[I(`span`,ZMe,[e.showLang?(N(),P(`span`,{key:0,class:E([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},D(r(e.lang)?k(ow)[e.lang]:e.lang),3)):R(``,!0),I(`span`,{class:E({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}})})),sw,eNe=c((()=>{$Me(),sw=QMe})),cw=c((()=>{})),lw,tNe=c((()=>{lw=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}},lw.prototype.property={},lw.prototype.normal={},lw.prototype.space=null}));function nNe(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new lw(n,r,t)}var rNe=c((()=>{tNe()}));function uw(e){return e.toLowerCase()}var dw=c((()=>{})),fw,iNe=c((()=>{fw=class{constructor(e,t){this.property=e,this.attribute=t}},fw.prototype.space=null,fw.prototype.boolean=!1,fw.prototype.booleanish=!1,fw.prototype.overloadedBoolean=!1,fw.prototype.number=!1,fw.prototype.commaSeparated=!1,fw.prototype.spaceSeparated=!1,fw.prototype.commaOrSpaceSeparated=!1,fw.prototype.mustUseProperty=!1,fw.prototype.defined=!1})),pw=u({boolean:()=>hw,booleanish:()=>gw,commaOrSpaceSeparated:()=>xw,commaSeparated:()=>bw,number:()=>vw,overloadedBoolean:()=>_w,spaceSeparated:()=>yw});function mw(){return 2**++aNe}var aNe,hw,gw,_w,vw,yw,bw,xw,Sw=c((()=>{aNe=0,hw=mw(),gw=mw(),_w=mw(),vw=mw(),yw=mw(),bw=mw(),xw=mw()}));function oNe(e,t,n){n&&(e[t]=n)}var Cw,ww,sNe=c((()=>{iNe(),Sw(),Cw=Object.keys(pw),ww=class extends fw{constructor(e,t,n,r){let i=-1;if(super(e,t),oNe(this,`space`,r),typeof n==`number`)for(;++i<Cw.length;){let e=Cw[i];oNe(this,Cw[i],(n&pw[e])===pw[e])}}},ww.prototype.defined=!0}));function Tw(e){let t={},n={},r;for(r in e.properties)if(cNe.call(e.properties,r)){let i=e.properties[r],a=new ww(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[uw(r)]=r,n[uw(a.attribute)]=r}return new lw(t,n,e.space)}var cNe,Ew=c((()=>{dw(),tNe(),sNe(),cNe={}.hasOwnProperty})),Dw,lNe=c((()=>{Ew(),Dw=Tw({space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})})),Ow,uNe=c((()=>{Ew(),Ow=Tw({space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})}));function dNe(e,t){return t in e?e[t]:t}var fNe=c((()=>{}));function pNe(e,t){return dNe(e,t.toLowerCase())}var mNe=c((()=>{fNe()})),kw,hNe=c((()=>{Ew(),mNe(),kw=Tw({space:`xmlns`,attributes:{xmlnsxlink:`xmlns:xlink`},transform:pNe,properties:{xmlns:null,xmlnsXLink:null}})})),Aw,gNe=c((()=>{Sw(),Ew(),Aw=Tw({transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gw,ariaAutoComplete:null,ariaBusy:gw,ariaChecked:gw,ariaColCount:vw,ariaColIndex:vw,ariaColSpan:vw,ariaControls:yw,ariaCurrent:null,ariaDescribedBy:yw,ariaDetails:null,ariaDisabled:gw,ariaDropEffect:yw,ariaErrorMessage:null,ariaExpanded:gw,ariaFlowTo:yw,ariaGrabbed:gw,ariaHasPopup:null,ariaHidden:gw,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:yw,ariaLevel:vw,ariaLive:null,ariaModal:gw,ariaMultiLine:gw,ariaMultiSelectable:gw,ariaOrientation:null,ariaOwns:yw,ariaPlaceholder:null,ariaPosInSet:vw,ariaPressed:gw,ariaReadOnly:gw,ariaRelevant:null,ariaRequired:gw,ariaRoleDescription:yw,ariaRowCount:vw,ariaRowIndex:vw,ariaRowSpan:vw,ariaSelected:gw,ariaSetSize:vw,ariaSort:null,ariaValueMax:vw,ariaValueMin:vw,ariaValueNow:vw,ariaValueText:null,role:null}})})),_Ne,vNe=c((()=>{Sw(),Ew(),mNe(),_Ne=Tw({space:`html`,attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},transform:pNe,mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:bw,acceptCharset:yw,accessKey:yw,action:null,allow:null,allowFullScreen:hw,allowPaymentRequest:hw,allowUserMedia:hw,alt:null,as:null,async:hw,autoCapitalize:null,autoComplete:yw,autoFocus:hw,autoPlay:hw,blocking:yw,capture:null,charSet:null,checked:hw,cite:null,className:yw,cols:vw,colSpan:null,content:null,contentEditable:gw,controls:hw,controlsList:yw,coords:vw|bw,crossOrigin:null,data:null,dateTime:null,decoding:null,default:hw,defer:hw,dir:null,dirName:null,disabled:hw,download:_w,draggable:gw,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:hw,formTarget:null,headers:yw,height:vw,hidden:hw,high:vw,href:null,hrefLang:null,htmlFor:yw,httpEquiv:yw,id:null,imageSizes:null,imageSrcSet:null,inert:hw,inputMode:null,integrity:null,is:null,isMap:hw,itemId:null,itemProp:yw,itemRef:yw,itemScope:hw,itemType:yw,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:hw,low:vw,manifest:null,max:null,maxLength:vw,media:null,method:null,min:null,minLength:vw,multiple:hw,muted:hw,name:null,nonce:null,noModule:hw,noValidate:hw,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:hw,optimum:vw,pattern:null,ping:yw,placeholder:null,playsInline:hw,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:hw,referrerPolicy:null,rel:yw,required:hw,reversed:hw,rows:vw,rowSpan:vw,sandbox:yw,scope:null,scoped:hw,seamless:hw,selected:hw,shadowRootClonable:hw,shadowRootDelegatesFocus:hw,shadowRootMode:null,shape:null,size:vw,sizes:null,slot:null,span:vw,spellCheck:gw,src:null,srcDoc:null,srcLang:null,srcSet:null,start:vw,step:null,style:null,tabIndex:vw,target:null,title:null,translate:null,type:null,typeMustMatch:hw,useMap:null,value:gw,width:vw,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:yw,axis:null,background:null,bgColor:null,border:vw,borderColor:null,bottomMargin:vw,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:hw,declare:hw,event:null,face:null,frame:null,frameBorder:null,hSpace:vw,leftMargin:vw,link:null,longDesc:null,lowSrc:null,marginHeight:vw,marginWidth:vw,noResize:hw,noHref:hw,noShade:hw,noWrap:hw,object:null,profile:null,prompt:null,rev:null,rightMargin:vw,rules:null,scheme:null,scrolling:gw,standby:null,summary:null,text:null,topMargin:vw,valueType:null,version:null,vAlign:null,vLink:null,vSpace:vw,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:hw,disableRemotePlayback:hw,prefix:null,property:null,results:vw,security:null,unselectable:null}})})),yNe,bNe=c((()=>{Sw(),Ew(),fNe(),yNe=Tw({space:`svg`,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`},transform:dNe,properties:{about:xw,accentHeight:vw,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:vw,amplitude:vw,arabicForm:null,ascent:vw,attributeName:null,attributeType:null,azimuth:vw,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:vw,by:null,calcMode:null,capHeight:vw,className:yw,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:vw,diffuseConstant:vw,direction:null,display:null,dur:null,divisor:vw,dominantBaseline:null,download:hw,dx:null,dy:null,edgeMode:null,editable:null,elevation:vw,enableBackground:null,end:null,event:null,exponent:vw,externalResourcesRequired:null,fill:null,fillOpacity:vw,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:bw,g2:bw,glyphName:bw,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:vw,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:vw,horizOriginX:vw,horizOriginY:vw,id:null,ideographic:vw,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:vw,k:vw,k1:vw,k2:vw,k3:vw,k4:vw,kernelMatrix:xw,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:vw,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:vw,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:vw,overlineThickness:vw,paintOrder:null,panose1:null,path:null,pathLength:vw,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:yw,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:vw,pointsAtY:vw,pointsAtZ:vw,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xw,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xw,rev:xw,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xw,requiredFeatures:xw,requiredFonts:xw,requiredFormats:xw,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:vw,specularExponent:vw,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:vw,strikethroughThickness:vw,string:null,stroke:null,strokeDashArray:xw,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:vw,strokeOpacity:vw,strokeWidth:null,style:null,surfaceScale:vw,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xw,tabIndex:vw,tableValues:null,target:null,targetX:vw,targetY:vw,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xw,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:vw,underlineThickness:vw,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:vw,values:null,vAlphabetic:vw,vMathematical:vw,vectorEffect:null,vHanging:vw,vIdeographic:vw,version:null,vertAdvY:vw,vertOriginX:vw,vertOriginY:vw,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:vw,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})}));function jw(e,t){let n=uw(t),r=t,i=fw;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&CNe.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Mw,SNe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Mw.test(e)){let n=e.replace(wNe,xNe);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=ww}return new i(r,t)}function xNe(e){return`-`+e.toLowerCase()}function SNe(e){return e.charAt(1).toUpperCase()}var CNe,Mw,wNe,TNe=c((()=>{dw(),sNe(),iNe(),CNe=/^data[-\w.:]+$/i,Mw=/-[a-z]/g,wNe=/[A-Z]/g})),Nw,Pw,Fw=c((()=>{rNe(),lNe(),uNe(),hNe(),gNe(),vNe(),bNe(),TNe(),dw(),Nw=nNe([Ow,Dw,kw,Aw,_Ne],`html`),Pw=nNe([Ow,Dw,kw,Aw,yNe],`svg`)}));function ENe(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function DNe(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var Iw=c((()=>{}));function ONe(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){Lw.lastIndex=i;let e=Lw.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}var Lw,kNe=c((()=>{Lw=/[#.]/g})),ANe=c((()=>{kNe()}));function Rw(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function jNe(e){return e.join(` `).trim()}var zw=c((()=>{}));function MNe(e,t,n){let r=n&&LNe(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=ONe(n,t),s.tagName=s.tagName.toLowerCase(),r&&Vw.call(r,s.tagName)&&(s.tagName=r[s.tagName]),NNe(i,s.tagName)){let t;for(t in i)Vw.call(i,t)&&PNe(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)Bw(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function NNe(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?RNe.has(e.type.toLowerCase()):!(`value`in e)}function PNe(e,t,n,r){let i=jw(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Rw(r):i.commaSeparated?ENe(r):i.commaOrSpaceSeparated?Rw(ENe(r).join(` `)):FNe(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?INe(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;)e[a]=FNe(i,i.property,o[a]);o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function Bw(e,t){let n=-1;if(t!=null)if(typeof t==`string`||typeof t==`number`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Bw(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?Bw(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function FNe(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||uw(n)===uw(t)))return!0}return n}function INe(e){let t=[],n;for(n in e)Vw.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function LNe(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var RNe,Vw,zNe=c((()=>{Iw(),ANe(),Fw(),zw(),RNe=new Set([`button`,`menu`,`reset`,`submit`]),Vw={}.hasOwnProperty})),BNe,VNe=c((()=>{BNe=`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(`.`)})),HNe,UNe,WNe=c((()=>{Fw(),zNe(),VNe(),HNe=MNe(Nw,`div`),UNe=MNe(Pw,`g`,BNe)})),GNe=c((()=>{WNe()}));function KNe(e){let t=String(e),n=[];for(Hw.lastIndex=0;Hw.test(t);)n.push(Hw.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}var Hw,qNe=c((()=>{Hw=/\r?\n|\r/g})),JNe=c((()=>{qNe()})),Uw,Ww=c((()=>{Uw={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/`}}));function YNe(e,t){let n=t||{};return Gw({file:n.file||void 0,location:!1,schema:n.space===`svg`?Pw:Nw,verbose:n.verbose||!1},e)}function Gw(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},Kw(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:XNe(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=KNe(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},Kw(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},Kw(e,r,n),n}default:return n=ZNe(e,t),n}}function XNe(e,t){let n=-1,r=[];for(;++n<t.length;){let i=Gw(e,t[n]);r.push(i)}return r}function ZNe(e,t){let n=e.schema;e.schema=t.namespaceURI===Uw.svg?Pw:Nw;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;Jw.call(ePe,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?UNe:HNe)(t.tagName,i,XNe(e,t.childNodes));if(Kw(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&qw(r.startTag),o=r&&r.endTag&&qw(r.endTag),s=Gw(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function Kw(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=QNe(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function QNe(e,t,n){let r=qw(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)Jw.call(n.attrs,i)&&(r[jw(e.schema,i).property]=qw(n.attrs[i]));n.startTag;let a=qw(n.startTag),o=n.endTag?qw(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function qw(e){let t=$Ne({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=$Ne({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function $Ne(e){return e.line&&e.column?e:void 0}var Jw,ePe,tPe=c((()=>{cw(),GNe(),Fw(),JNe(),Ww(),Jw={}.hasOwnProperty,ePe=Object.prototype})),nPe=c((()=>{tPe()}));function rPe(e){return e>=55296&&e<=57343}function iPe(e){return e>=56320&&e<=57343}function aPe(e,t){return(e-55296)*1024+9216+t}function oPe(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function sPe(e){return e>=64976&&e<=65007||cPe.has(e)}var cPe,W,Yw,Xw=c((()=>{cPe=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`})(W||={}),Yw={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`}})),Zw,Qw=c((()=>{(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`})(Zw||={})})),lPe,uPe,dPe=c((()=>{Xw(),Qw(),lPe=65536,uPe=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=lPe,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:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_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(iPe(t))return this.pos++,this._addGap(),aPe(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,W.EOF;return this._err(Zw.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((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,W.EOF;let n=this.html.charCodeAt(t);return n===W.CARRIAGE_RETURN?W.LINE_FEED:n}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,W.EOF;let e=this.html.charCodeAt(this.pos);return e===W.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,W.LINE_FEED):e===W.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,rPe(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===W.LINE_FEED||e===W.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){oPe(e)?this._err(Zw.controlCharacterInInputStream):sPe(e)&&this._err(Zw.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}}));function fPe(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var $w,eT=c((()=>{(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`})($w||={})})),pPe,mPe=c((()=>{pPe=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ȀDMPTLJNjǑǖ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;扐blè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;戥ǹ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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ቻDzኀ\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ǣጓ\0y;䐎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;䅻Dzᕔ\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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ƀ;oș᳔ndĀ;ș᳑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;ẝẤijạả;怄;怅怃Ā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;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱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ↄⅪ←ٖ↛ǰ↉\0proø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⧓ସdz⧟\0⧣p肻\xA0ଷ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᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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㚆㚝㚵㚼Dz㚋\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)))}));function hPe(e){return e>=55296&&e<=57343||e>1114111?65533:gPe.get(e)??e}var gPe,_Pe=c((()=>{gPe=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 tT(e){return e>=nT.ZERO&&e<=nT.NINE}function vPe(e){return e>=nT.UPPER_A&&e<=nT.UPPER_F||e>=nT.LOWER_A&&e<=nT.LOWER_F}function yPe(e){return e>=nT.UPPER_A&&e<=nT.UPPER_Z||e>=nT.LOWER_A&&e<=nT.LOWER_Z||tT(e)}function bPe(e){return e===nT.EQUALS||yPe(e)}function xPe(e,t,n,r){let i=(t&rT.BRANCH_LENGTH)>>7,a=t&rT.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var nT,SPe,rT,iT,aT,CPe,wPe=c((()=>{_Pe(),mPe(),(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`})(nT||={}),SPe=32,(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(rT||={}),(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`})(iT||={}),(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(aT||={}),CPe=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=iT.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=aT.Strict}startEntity(e){this.decodeMode=e,this.state=iT.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case iT.EntityStart:return e.charCodeAt(t)===nT.NUM?(this.state=iT.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=iT.NamedEntity,this.stateNamedEntity(e,t));case iT.NumericStart:return this.stateNumericStart(e,t);case iT.NumericDecimal:return this.stateNumericDecimal(e,t);case iT.NumericHex:return this.stateNumericHex(e,t);case iT.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|SPe)===nT.LOWER_X?(this.state=iT.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=iT.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(tT(r)||vPe(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(tT(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===nT.SEMI)this.consumed+=1;else if(this.decodeMode===aT.Strict)return 0;return this.emitCodePoint(hPe(this.result),this.consumed),this.errors&&(e!==nT.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&rT.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=xPe(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===aT.Attribute&&(i===0||bPe(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&rT.VALUE_LENGTH)>>14,i!==0){if(a===nT.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==aT.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&rT.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~rT.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case iT.NamedEntity:return this.result!==0&&(this.decodeMode!==aT.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case iT.NumericDecimal:return this.emitNumericEntity(0,2);case iT.NumericHex:return this.emitNumericEntity(0,3);case iT.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case iT.EntityStart:return 0}}}}));function oT(e){return TPe.get(e)??K.UNKNOWN}var sT,cT,lT,G,K,TPe,uT,EPe,dT,fT=c((()=>{(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/`})(sT||={}),(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`})(cT||={}),(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(lT||={}),(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`})(G||={}),(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`})(K||={}),TPe=new Map([[G.A,K.A],[G.ADDRESS,K.ADDRESS],[G.ANNOTATION_XML,K.ANNOTATION_XML],[G.APPLET,K.APPLET],[G.AREA,K.AREA],[G.ARTICLE,K.ARTICLE],[G.ASIDE,K.ASIDE],[G.B,K.B],[G.BASE,K.BASE],[G.BASEFONT,K.BASEFONT],[G.BGSOUND,K.BGSOUND],[G.BIG,K.BIG],[G.BLOCKQUOTE,K.BLOCKQUOTE],[G.BODY,K.BODY],[G.BR,K.BR],[G.BUTTON,K.BUTTON],[G.CAPTION,K.CAPTION],[G.CENTER,K.CENTER],[G.CODE,K.CODE],[G.COL,K.COL],[G.COLGROUP,K.COLGROUP],[G.DD,K.DD],[G.DESC,K.DESC],[G.DETAILS,K.DETAILS],[G.DIALOG,K.DIALOG],[G.DIR,K.DIR],[G.DIV,K.DIV],[G.DL,K.DL],[G.DT,K.DT],[G.EM,K.EM],[G.EMBED,K.EMBED],[G.FIELDSET,K.FIELDSET],[G.FIGCAPTION,K.FIGCAPTION],[G.FIGURE,K.FIGURE],[G.FONT,K.FONT],[G.FOOTER,K.FOOTER],[G.FOREIGN_OBJECT,K.FOREIGN_OBJECT],[G.FORM,K.FORM],[G.FRAME,K.FRAME],[G.FRAMESET,K.FRAMESET],[G.H1,K.H1],[G.H2,K.H2],[G.H3,K.H3],[G.H4,K.H4],[G.H5,K.H5],[G.H6,K.H6],[G.HEAD,K.HEAD],[G.HEADER,K.HEADER],[G.HGROUP,K.HGROUP],[G.HR,K.HR],[G.HTML,K.HTML],[G.I,K.I],[G.IMG,K.IMG],[G.IMAGE,K.IMAGE],[G.INPUT,K.INPUT],[G.IFRAME,K.IFRAME],[G.KEYGEN,K.KEYGEN],[G.LABEL,K.LABEL],[G.LI,K.LI],[G.LINK,K.LINK],[G.LISTING,K.LISTING],[G.MAIN,K.MAIN],[G.MALIGNMARK,K.MALIGNMARK],[G.MARQUEE,K.MARQUEE],[G.MATH,K.MATH],[G.MENU,K.MENU],[G.META,K.META],[G.MGLYPH,K.MGLYPH],[G.MI,K.MI],[G.MO,K.MO],[G.MN,K.MN],[G.MS,K.MS],[G.MTEXT,K.MTEXT],[G.NAV,K.NAV],[G.NOBR,K.NOBR],[G.NOFRAMES,K.NOFRAMES],[G.NOEMBED,K.NOEMBED],[G.NOSCRIPT,K.NOSCRIPT],[G.OBJECT,K.OBJECT],[G.OL,K.OL],[G.OPTGROUP,K.OPTGROUP],[G.OPTION,K.OPTION],[G.P,K.P],[G.PARAM,K.PARAM],[G.PLAINTEXT,K.PLAINTEXT],[G.PRE,K.PRE],[G.RB,K.RB],[G.RP,K.RP],[G.RT,K.RT],[G.RTC,K.RTC],[G.RUBY,K.RUBY],[G.S,K.S],[G.SCRIPT,K.SCRIPT],[G.SEARCH,K.SEARCH],[G.SECTION,K.SECTION],[G.SELECT,K.SELECT],[G.SOURCE,K.SOURCE],[G.SMALL,K.SMALL],[G.SPAN,K.SPAN],[G.STRIKE,K.STRIKE],[G.STRONG,K.STRONG],[G.STYLE,K.STYLE],[G.SUB,K.SUB],[G.SUMMARY,K.SUMMARY],[G.SUP,K.SUP],[G.TABLE,K.TABLE],[G.TBODY,K.TBODY],[G.TEMPLATE,K.TEMPLATE],[G.TEXTAREA,K.TEXTAREA],[G.TFOOT,K.TFOOT],[G.TD,K.TD],[G.TH,K.TH],[G.THEAD,K.THEAD],[G.TITLE,K.TITLE],[G.TR,K.TR],[G.TRACK,K.TRACK],[G.TT,K.TT],[G.U,K.U],[G.UL,K.UL],[G.SVG,K.SVG],[G.VAR,K.VAR],[G.WBR,K.WBR],[G.XMP,K.XMP]]),uT=K,EPe={[sT.HTML]:new Set([uT.ADDRESS,uT.APPLET,uT.AREA,uT.ARTICLE,uT.ASIDE,uT.BASE,uT.BASEFONT,uT.BGSOUND,uT.BLOCKQUOTE,uT.BODY,uT.BR,uT.BUTTON,uT.CAPTION,uT.CENTER,uT.COL,uT.COLGROUP,uT.DD,uT.DETAILS,uT.DIR,uT.DIV,uT.DL,uT.DT,uT.EMBED,uT.FIELDSET,uT.FIGCAPTION,uT.FIGURE,uT.FOOTER,uT.FORM,uT.FRAME,uT.FRAMESET,uT.H1,uT.H2,uT.H3,uT.H4,uT.H5,uT.H6,uT.HEAD,uT.HEADER,uT.HGROUP,uT.HR,uT.HTML,uT.IFRAME,uT.IMG,uT.INPUT,uT.LI,uT.LINK,uT.LISTING,uT.MAIN,uT.MARQUEE,uT.MENU,uT.META,uT.NAV,uT.NOEMBED,uT.NOFRAMES,uT.NOSCRIPT,uT.OBJECT,uT.OL,uT.P,uT.PARAM,uT.PLAINTEXT,uT.PRE,uT.SCRIPT,uT.SECTION,uT.SELECT,uT.SOURCE,uT.STYLE,uT.SUMMARY,uT.TABLE,uT.TBODY,uT.TD,uT.TEMPLATE,uT.TEXTAREA,uT.TFOOT,uT.TH,uT.THEAD,uT.TITLE,uT.TR,uT.TRACK,uT.UL,uT.WBR,uT.XMP]),[sT.MATHML]:new Set([uT.MI,uT.MO,uT.MN,uT.MS,uT.MTEXT,uT.ANNOTATION_XML]),[sT.SVG]:new Set([uT.TITLE,uT.FOREIGN_OBJECT,uT.DESC]),[sT.XLINK]:new Set,[sT.XML]:new Set,[sT.XMLNS]:new Set},dT=new Set([uT.H1,uT.H2,uT.H3,uT.H4,uT.H5,uT.H6]),new Set([G.STYLE,G.SCRIPT,G.XMP,G.IFRAME,G.NOEMBED,G.NOFRAMES,G.PLAINTEXT])}));function DPe(e){return e>=W.DIGIT_0&&e<=W.DIGIT_9}function pT(e){return e>=W.LATIN_CAPITAL_A&&e<=W.LATIN_CAPITAL_Z}function OPe(e){return e>=W.LATIN_SMALL_A&&e<=W.LATIN_SMALL_Z}function mT(e){return OPe(e)||pT(e)}function kPe(e){return mT(e)||DPe(e)}function hT(e){return e+32}function APe(e){return e===W.SPACE||e===W.LINE_FEED||e===W.TABULATION||e===W.FORM_FEED}function jPe(e){return APe(e)||e===W.SOLIDUS||e===W.GREATER_THAN_SIGN}function MPe(e){return e===W.NULL?Zw.nullCharacterReference:e>1114111?Zw.characterReferenceOutsideUnicodeRange:rPe(e)?Zw.surrogateCharacterReference:sPe(e)?Zw.noncharacterCharacterReference:oPe(e)||e===W.CARRIAGE_RETURN?Zw.controlCharacterReference:null}var q,gT,NPe,PPe=c((()=>{dPe(),Xw(),eT(),wPe(),Qw(),fT(),(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`})(q||={}),gT={DATA:q.DATA,RCDATA:q.RCDATA,RAWTEXT:q.RAWTEXT,SCRIPT_DATA:q.SCRIPT_DATA,PLAINTEXT:q.PLAINTEXT,CDATA_SECTION:q.CDATA_SECTION},NPe=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=q.DATA,this.returnState=q.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new uPe(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new CPe(pPe,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Zw.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(Zw.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=MPe(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,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,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}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):!1}_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):!1}_createStartTagToken(){this.currentToken={type:$w.START_TAG,tagName:``,tagID:K.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:$w.END_TAG,tagName:``,tagID:K.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:$w.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:$w.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(fPe(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Zw.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=oT(e.tagName),e.type===$w.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(Zw.endTagWithAttributes),e.selfClosing&&this._err(Zw.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 $w.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case $w.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case $w.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}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:$w.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=APe(e)?$w.WHITESPACE_CHARACTER:e===W.NULL?$w.NULL_CHARACTER:$w.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken($w.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=q.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?aT.Attribute:aT.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===q.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case q.DATA:this._stateData(e);break;case q.RCDATA:this._stateRcdata(e);break;case q.RAWTEXT:this._stateRawtext(e);break;case q.SCRIPT_DATA:this._stateScriptData(e);break;case q.PLAINTEXT:this._statePlaintext(e);break;case q.TAG_OPEN:this._stateTagOpen(e);break;case q.END_TAG_OPEN:this._stateEndTagOpen(e);break;case q.TAG_NAME:this._stateTagName(e);break;case q.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case q.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case q.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case q.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case q.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case q.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case q.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case q.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case q.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case q.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case q.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case q.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case q.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case q.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case q.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case q.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case q.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case q.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case q.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case q.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case q.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case q.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case q.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case q.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case q.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case q.BOGUS_COMMENT:this._stateBogusComment(e);break;case q.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case q.COMMENT_START:this._stateCommentStart(e);break;case q.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case q.COMMENT:this._stateComment(e);break;case q.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case q.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case q.COMMENT_END:this._stateCommentEnd(e);break;case q.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case q.DOCTYPE:this._stateDoctype(e);break;case q.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case q.DOCTYPE_NAME:this._stateDoctypeName(e);break;case q.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case q.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case q.CDATA_SECTION:this._stateCdataSection(e);break;case q.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case q.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case q.CHARACTER_REFERENCE:this._stateCharacterReference();break;case q.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case W.LESS_THAN_SIGN:this.state=q.TAG_OPEN;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitCodePoint(e);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case W.AMPERSAND:this._startCharacterReference();break;case W.LESS_THAN_SIGN:this.state=q.RCDATA_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case W.LESS_THAN_SIGN:this.state=q.RAWTEXT_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(mT(e))this._createStartTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case W.EXCLAMATION_MARK:this.state=q.MARKUP_DECLARATION_OPEN;break;case W.SOLIDUS:this.state=q.END_TAG_OPEN;break;case W.QUESTION_MARK:this._err(Zw.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e);break;case W.EOF:this._err(Zw.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(Zw.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=q.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(mT(e))this._createEndTagToken(),this.state=q.TAG_NAME,this._stateTagName(e);else switch(e){case W.GREATER_THAN_SIGN:this._err(Zw.missingEndTagName),this.state=q.DATA;break;case W.EOF:this._err(Zw.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(Zw.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.BEFORE_ATTRIBUTE_NAME;break;case W.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.tagName+=`�`;break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(pT(e)?hT(e):e)}}_stateRcdataLessThanSign(e){e===W.SOLIDUS?this.state=q.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=q.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){mT(e)?(this.state=q.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=q.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=q.BEFORE_ATTRIBUTE_NAME,!1;case W.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=q.SELF_CLOSING_START_TAG,!1;case W.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=q.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===W.SOLIDUS?this.state=q.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){mT(e)?(this.state=q.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case W.SOLIDUS:this.state=q.SCRIPT_DATA_END_TAG_OPEN;break;case W.EXCLAMATION_MARK:this.state=q.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=q.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){mT(e)?(this.state=q.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===W.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===W.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=q.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case W.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case W.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case W.HYPHEN_MINUS:this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case W.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(`>`);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===W.SOLIDUS?this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:mT(e)?(this._emitChars(`<`),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){mT(e)?(this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Yw.SCRIPT,!1)&&jPe(this.preprocessor.peek(Yw.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Yw.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case W.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case W.HYPHEN_MINUS:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case W.HYPHEN_MINUS:this._emitChars(`-`);break;case W.LESS_THAN_SIGN:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case W.GREATER_THAN_SIGN:this.state=q.SCRIPT_DATA,this._emitChars(`>`);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case W.EOF:this._err(Zw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===W.SOLIDUS?(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Yw.SCRIPT,!1)&&jPe(this.preprocessor.peek(Yw.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Yw.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.SOLIDUS:case W.GREATER_THAN_SIGN:case W.EOF:this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case W.EQUALS_SIGN:this._err(Zw.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=q.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:case W.SOLIDUS:case W.GREATER_THAN_SIGN:case W.EOF:this._leaveAttrName(),this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case W.EQUALS_SIGN:this._leaveAttrName(),this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case W.QUOTATION_MARK:case W.APOSTROPHE:case W.LESS_THAN_SIGN:this._err(Zw.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(pT(e)?hT(e):e)}}_stateAfterAttributeName(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.SOLIDUS:this.state=q.SELF_CLOSING_START_TAG;break;case W.EQUALS_SIGN:this.state=q.BEFORE_ATTRIBUTE_VALUE;break;case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentTagToken();break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:this.state=q.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case W.APOSTROPHE:this.state=q.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(Zw.missingAttributeValue),this.state=q.DATA,this.emitCurrentTagToken();break;default:this.state=q.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case W.QUOTATION_MARK:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case W.APOSTROPHE:this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case W.AMPERSAND:this._startCharacterReference();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case W.AMPERSAND:this._startCharacterReference();break;case W.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case W.QUOTATION_MARK:case W.APOSTROPHE:case W.LESS_THAN_SIGN:case W.EQUALS_SIGN:case W.GRAVE_ACCENT:this._err(Zw.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break;case W.SOLIDUS:this._leaveAttrValue(),this.state=q.SELF_CLOSING_START_TAG;break;case W.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break;case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this._err(Zw.missingWhitespaceBetweenAttributes),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case W.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=q.DATA,this.emitCurrentTagToken();break}case W.EOF:this._err(Zw.eofInTag),this._emitEOFToken();break;default:this._err(Zw.unexpectedSolidusInTag),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case W.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Yw.DASH_DASH,!0)?(this._createCommentToken(Yw.DASH_DASH.length+1),this.state=q.COMMENT_START):this._consumeSequenceIfMatch(Yw.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Yw.DOCTYPE.length+1),this.state=q.DOCTYPE):this._consumeSequenceIfMatch(Yw.CDATA_START,!0)?this.inForeignNode?this.state=q.CDATA_SECTION:(this._err(Zw.cdataInHtmlContent),this._createCommentToken(Yw.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=q.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Zw.incorrectlyOpenedComment),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case W.HYPHEN_MINUS:this.state=q.COMMENT_START_DASH;break;case W.GREATER_THAN_SIGN:{this._err(Zw.abruptClosingOfEmptyComment),this.state=q.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case W.GREATER_THAN_SIGN:this._err(Zw.abruptClosingOfEmptyComment),this.state=q.DATA,this.emitCurrentComment(t);break;case W.EOF:this._err(Zw.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=q.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=q.COMMENT_END_DASH;break;case W.LESS_THAN_SIGN:t.data+=`<`,this.state=q.COMMENT_LESS_THAN_SIGN;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.data+=`�`;break;case W.EOF:this._err(Zw.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case W.EXCLAMATION_MARK:t.data+=`!`,this.state=q.COMMENT_LESS_THAN_SIGN_BANG;break;case W.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=q.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===W.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=q.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===W.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=q.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==W.GREATER_THAN_SIGN&&e!==W.EOF&&this._err(Zw.nestedComment),this.state=q.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:this.state=q.COMMENT_END;break;case W.EOF:this._err(Zw.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentComment(t);break;case W.EXCLAMATION_MARK:this.state=q.COMMENT_END_BANG;break;case W.HYPHEN_MINUS:t.data+=`-`;break;case W.EOF:this._err(Zw.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=q.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case W.HYPHEN_MINUS:t.data+=`--!`,this.state=q.COMMENT_END_DASH;break;case W.GREATER_THAN_SIGN:this._err(Zw.incorrectlyClosedComment),this.state=q.DATA,this.emitCurrentComment(t);break;case W.EOF:this._err(Zw.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=q.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.BEFORE_DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case W.EOF:{this._err(Zw.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(Zw.missingWhitespaceBeforeDoctypeName),this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(pT(e))this._createDoctypeToken(String.fromCharCode(hT(e))),this.state=q.DOCTYPE_NAME;else switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.NULL:this._err(Zw.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=q.DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:{this._err(Zw.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=q.DATA;break}case W.EOF:{this._err(Zw.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=q.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.AFTER_DOCTYPE_NAME;break;case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.name+=`�`;break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(pT(e)?hT(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Yw.PUBLIC,!1)?this.state=q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Yw.SYSTEM,!1)?this.state=q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Zw.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.QUOTATION_MARK:this._err(Zw.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(Zw.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(Zw.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.publicId=``,this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(Zw.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case W.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.publicId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(Zw.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.EOF:this._err(Zw.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 W.APOSTROPHE:this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.publicId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(Zw.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.EOF:this._err(Zw.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 W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case W.GREATER_THAN_SIGN:this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.QUOTATION_MARK:this._err(Zw.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(Zw.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.QUOTATION_MARK:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:this.state=q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.QUOTATION_MARK:this._err(Zw.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:this._err(Zw.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(Zw.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.QUOTATION_MARK:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case W.APOSTROPHE:t.systemId=``,this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case W.GREATER_THAN_SIGN:this._err(Zw.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(t);break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case W.QUOTATION_MARK:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.systemId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(Zw.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.EOF:this._err(Zw.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 W.APOSTROPHE:this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case W.NULL:this._err(Zw.unexpectedNullCharacter),t.systemId+=`�`;break;case W.GREATER_THAN_SIGN:this._err(Zw.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.EOF:this._err(Zw.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 W.SPACE:case W.LINE_FEED:case W.TABULATION:case W.FORM_FEED:break;case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.EOF:this._err(Zw.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(Zw.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case W.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=q.DATA;break;case W.NULL:this._err(Zw.unexpectedNullCharacter);break;case W.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case W.RIGHT_SQUARE_BRACKET:this.state=q.CDATA_SECTION_BRACKET;break;case W.EOF:this._err(Zw.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===W.RIGHT_SQUARE_BRACKET?this.state=q.CDATA_SECTION_END:(this._emitChars(`]`),this.state=q.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case W.GREATER_THAN_SIGN:this.state=q.DATA;break;case W.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=q.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(W.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&kPe(this.preprocessor.peek(1))?q.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){kPe(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===W.SEMICOLON&&this._err(Zw.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}})),_T,vT,yT,FPe,IPe,bT,xT,LPe,RPe,zPe,BPe,VPe,HPe=c((()=>{fT(),_T=new Set([K.DD,K.DT,K.LI,K.OPTGROUP,K.OPTION,K.P,K.RB,K.RP,K.RT,K.RTC]),vT=new Set([..._T,K.CAPTION,K.COLGROUP,K.TBODY,K.TD,K.TFOOT,K.TH,K.THEAD,K.TR]),yT=new Set([K.APPLET,K.CAPTION,K.HTML,K.MARQUEE,K.OBJECT,K.TABLE,K.TD,K.TEMPLATE,K.TH]),FPe=new Set([...yT,K.OL,K.UL]),IPe=new Set([...yT,K.BUTTON]),bT=new Set([K.ANNOTATION_XML,K.MI,K.MN,K.MO,K.MS,K.MTEXT]),xT=new Set([K.DESC,K.FOREIGN_OBJECT,K.TITLE]),LPe=new Set([K.TR,K.TEMPLATE,K.HTML]),RPe=new Set([K.TBODY,K.TFOOT,K.THEAD,K.TEMPLATE,K.HTML]),zPe=new Set([K.TABLE,K.TEMPLATE,K.HTML]),BPe=new Set([K.TD,K.TH]),VPe=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=K.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===K.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===sT.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 n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&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])!==sT.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 n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(dT,sT.HTML)}popUntilTableCellPopped(){this.popUntilPopped(BPe,sT.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(zPe,sT.HTML)}clearBackToTableBodyContext(){this.clearBackTo(RPe,sT.HTML)}clearBackToTableRowContext(){this.clearBackTo(LPe,sT.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]===K.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 this.stackTop===0&&this.tagIDs[0]===K.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case sT.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case sT.SVG:if(xT.has(r))return!1;break;case sT.MATHML:if(bT.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,yT)}hasInListItemScope(e){return this.hasInDynamicScope(e,FPe)}hasInButtonScope(e){return this.hasInDynamicScope(e,IPe)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case sT.HTML:if(dT.has(t))return!0;if(yT.has(t))return!1;break;case sT.SVG:if(xT.has(t))return!1;break;case sT.MATHML:if(bT.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===sT.HTML)switch(this.tagIDs[t]){case e:return!0;case K.TABLE:case K.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===sT.HTML)switch(this.tagIDs[e]){case K.TBODY:case K.THEAD:case K.TFOOT:return!0;case K.TABLE:case K.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===sT.HTML)switch(this.tagIDs[t]){case e:return!0;case K.OPTION:case K.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&_T.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&vT.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&vT.has(this.currentTagId);)this.pop()}}})),ST,CT,wT,UPe,WPe=c((()=>{ST=3,(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(CT||={}),wT={type:CT.Marker},UPe=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===CT.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<ST)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<ST)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=ST&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(wT)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:CT.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:CT.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(wT);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===CT.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===CT.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===CT.Element&&t.element===e)}}})),TT,ET=c((()=>{fT(),TT={createDocument(){return{nodeName:`#document`,mode:lT.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};TT.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return 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 n=e.childNodes[e.childNodes.length-1];if(TT.isTextNode(n)){n.value+=t;return}}TT.appendChild(e,TT.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&TT.isTextNode(r)?r.value+=t:TT.insertBefore(e,TT.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}}}));function GPe(e,t){return t.some(t=>e.startsWith(t))}function KPe(e){return e.name===DT&&e.publicId===null&&(e.systemId===null||e.systemId===JPe)}function qPe(e){if(e.name!==DT)return lT.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===YPe)return lT.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),ZPe.has(n))return lT.QUIRKS;let e=t===null?XPe:OT;if(GPe(n,e))return lT.QUIRKS;if(e=t===null?kT:QPe,GPe(n,e))return lT.LIMITED_QUIRKS}return lT.NO_QUIRKS}var DT,JPe,YPe,OT,XPe,ZPe,kT,QPe,$Pe=c((()=>{fT(),DT=`html`,JPe=`about:legacy-compat`,YPe=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,OT=`+//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(`,`),XPe=[...OT,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],ZPe=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),kT=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],QPe=[...kT,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`]}));function eFe(e){let t=e.tagID;return t===K.FONT&&e.attrs.some(({name:e})=>e===cT.COLOR||e===cT.SIZE||e===cT.FACE)||fFe.has(t)}function tFe(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===sFe){e.attrs[t].name=cFe;break}}function nFe(e){for(let t=0;t<e.attrs.length;t++){let n=lFe.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function AT(e){for(let t=0;t<e.attrs.length;t++){let n=uFe.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function rFe(e){let t=dFe.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=oT(e.tagName))}function iFe(e,t){return t===sT.MATHML&&(e===K.MI||e===K.MO||e===K.MN||e===K.MS||e===K.MTEXT)}function aFe(e,t,n){if(t===sT.MATHML&&e===K.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===cT.ENCODING){let t=n[e].value.toLowerCase();return t===jT.TEXT_HTML||t===jT.APPLICATION_XML}}return t===sT.SVG&&(e===K.FOREIGN_OBJECT||e===K.DESC||e===K.TITLE)}function oFe(e,t,n,r){return(!r||r===sT.HTML)&&aFe(e,t,n)||(!r||r===sT.MATHML)&&iFe(e,t)}var jT,sFe,cFe,lFe,uFe,dFe,fFe,pFe=c((()=>{fT(),jT={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},sFe=`definitionurl`,cFe=`definitionURL`,lFe=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])),uFe=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:sT.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:sT.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:sT.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:sT.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:sT.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:sT.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:sT.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:sT.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:sT.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:sT.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:sT.XMLNS}]]),dFe=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])),fFe=new Set([K.B,K.BIG,K.BLOCKQUOTE,K.BODY,K.BR,K.CENTER,K.CODE,K.DD,K.DIV,K.DL,K.DT,K.EM,K.EMBED,K.H1,K.H2,K.H3,K.H4,K.H5,K.H6,K.HEAD,K.HR,K.I,K.IMG,K.LI,K.LISTING,K.MENU,K.META,K.NOBR,K.OL,K.P,K.PRE,K.RUBY,K.S,K.SMALL,K.SPAN,K.STRONG,K.STRIKE,K.SUB,K.SUP,K.TABLE,K.TT,K.U,K.UL,K.VAR])}));function mFe(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):SIe(e,t),n}function hFe(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function gFe(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=uLe;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=_Fe(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function _Fe(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function vFe(e,t,n){let r=oT(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===K.TEMPLATE&&i===sT.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function yFe(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function MT(e,t){for(let n=0;n<lLe;n++){let n=mFe(e,t);if(!n)break;let r=hFe(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=gFe(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&vFe(e,a,i),yFe(e,r,n)}}function NT(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function bFe(e,t){e._appendCommentNode(t,e.openElements.items[0])}function xFe(e,t){e._appendCommentNode(t,e.document)}function PT(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function SFe(e,t){e._setDocumentType(t);let n=t.forceQuirks?lT.QUIRKS:qPe(t);KPe(t)||e._err(t,Zw.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=J.BEFORE_HTML}function FT(e,t){e._err(t,Zw.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,lT.QUIRKS),e.insertionMode=J.BEFORE_HTML,e._processToken(t)}function CFe(e,t){t.tagID===K.HTML?(e._insertElement(t,sT.HTML),e.insertionMode=J.BEFORE_HEAD):IT(e,t)}function wFe(e,t){let n=t.tagID;(n===K.HTML||n===K.HEAD||n===K.BODY||n===K.BR)&&IT(e,t)}function IT(e,t){e._insertFakeRootElement(),e.insertionMode=J.BEFORE_HEAD,e._processToken(t)}function TFe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.HEAD:e._insertElement(t,sT.HTML),e.headElement=e.openElements.current,e.insertionMode=J.IN_HEAD;break;default:LT(e,t)}}function EFe(e,t){let n=t.tagID;n===K.HEAD||n===K.BODY||n===K.HTML||n===K.BR?LT(e,t):e._err(t,Zw.endTagWithoutMatchingOpenElement)}function LT(e,t){e._insertFakeElement(G.HEAD,K.HEAD),e.headElement=e.openElements.current,e.insertionMode=J.IN_HEAD,e._processToken(t)}function RT(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:e._appendElement(t,sT.HTML),t.ackSelfClosing=!0;break;case K.TITLE:e._switchToTextParsing(t,gT.RCDATA);break;case K.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,gT.RAWTEXT):(e._insertElement(t,sT.HTML),e.insertionMode=J.IN_HEAD_NO_SCRIPT);break;case K.NOFRAMES:case K.STYLE:e._switchToTextParsing(t,gT.RAWTEXT);break;case K.SCRIPT:e._switchToTextParsing(t,gT.SCRIPT_DATA);break;case K.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=J.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(J.IN_TEMPLATE);break;case K.HEAD:e._err(t,Zw.misplacedStartTagForHeadElement);break;default:BT(e,t)}}function DFe(e,t){switch(t.tagID){case K.HEAD:e.openElements.pop(),e.insertionMode=J.AFTER_HEAD;break;case K.BODY:case K.BR:case K.HTML:BT(e,t);break;case K.TEMPLATE:zT(e,t);break;default:e._err(t,Zw.endTagWithoutMatchingOpenElement)}}function zT(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==K.TEMPLATE&&e._err(t,Zw.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(K.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Zw.endTagWithoutMatchingOpenElement)}function BT(e,t){e.openElements.pop(),e.insertionMode=J.AFTER_HEAD,e._processToken(t)}function OFe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.BASEFONT:case K.BGSOUND:case K.HEAD:case K.LINK:case K.META:case K.NOFRAMES:case K.STYLE:RT(e,t);break;case K.NOSCRIPT:e._err(t,Zw.nestedNoscriptInHead);break;default:VT(e,t)}}function kFe(e,t){switch(t.tagID){case K.NOSCRIPT:e.openElements.pop(),e.insertionMode=J.IN_HEAD;break;case K.BR:VT(e,t);break;default:e._err(t,Zw.endTagWithoutMatchingOpenElement)}}function VT(e,t){let n=t.type===$w.EOF?Zw.openElementsLeftAfterEof:Zw.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=J.IN_HEAD,e._processToken(t)}function AFe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.BODY:e._insertElement(t,sT.HTML),e.framesetOk=!1,e.insertionMode=J.IN_BODY;break;case K.FRAMESET:e._insertElement(t,sT.HTML),e.insertionMode=J.IN_FRAMESET;break;case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:case K.NOFRAMES:case K.SCRIPT:case K.STYLE:case K.TEMPLATE:case K.TITLE:e._err(t,Zw.abandonedHeadElementChild),e.openElements.push(e.headElement,K.HEAD),RT(e,t),e.openElements.remove(e.headElement);break;case K.HEAD:e._err(t,Zw.misplacedStartTagForHeadElement);break;default:HT(e,t)}}function jFe(e,t){switch(t.tagID){case K.BODY:case K.HTML:case K.BR:HT(e,t);break;case K.TEMPLATE:zT(e,t);break;default:e._err(t,Zw.endTagWithoutMatchingOpenElement)}}function HT(e,t){e._insertFakeElement(G.BODY,K.BODY),e.insertionMode=J.IN_BODY,UT(e,t)}function UT(e,t){switch(t.type){case $w.CHARACTER:NFe(e,t);break;case $w.WHITESPACE_CHARACTER:MFe(e,t);break;case $w.COMMENT:NT(e,t);break;case $w.START_TAG:WT(e,t);break;case $w.END_TAG:GT(e,t);break;case $w.EOF:CIe(e,t);break;default:}}function MFe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function NFe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function PFe(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function FFe(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function IFe(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_FRAMESET)}function LFe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML)}function RFe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&dT.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,sT.HTML)}function zFe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function BFe(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML),n||(e.formElement=e.openElements.current))}function VFe(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===K.LI&&r===K.LI||(n===K.DD||n===K.DT)&&(r===K.DD||r===K.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==K.ADDRESS&&r!==K.DIV&&r!==K.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML)}function HFe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML),e.tokenizer.state=gT.PLAINTEXT}function UFe(e,t){e.openElements.hasInScope(K.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML),e.framesetOk=!1}function WFe(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(G.A);n&&(MT(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function GFe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function KFe(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(K.NOBR)&&(MT(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,sT.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qFe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function JFe(e,t){e.treeAdapter.getDocumentMode(e.document)!==lT.QUIRKS&&e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._insertElement(t,sT.HTML),e.framesetOk=!1,e.insertionMode=J.IN_TABLE}function YFe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,sT.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function XFe(e){let t=fPe(e,cT.TYPE);return t!=null&&t.toLowerCase()===cLe}function ZFe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,sT.HTML),XFe(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function QFe(e,t){e._appendElement(t,sT.HTML),t.ackSelfClosing=!0}function $Fe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._appendElement(t,sT.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function eIe(e,t){t.tagName=G.IMG,t.tagID=K.IMG,YFe(e,t)}function tIe(e,t){e._insertElement(t,sT.HTML),e.skipNextNewLine=!0,e.tokenizer.state=gT.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=J.TEXT}function nIe(e,t){e.openElements.hasInButtonScope(K.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,gT.RAWTEXT)}function rIe(e,t){e.framesetOk=!1,e._switchToTextParsing(t,gT.RAWTEXT)}function iIe(e,t){e._switchToTextParsing(t,gT.RAWTEXT)}function aIe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===J.IN_TABLE||e.insertionMode===J.IN_CAPTION||e.insertionMode===J.IN_TABLE_BODY||e.insertionMode===J.IN_ROW||e.insertionMode===J.IN_CELL?J.IN_SELECT_IN_TABLE:J.IN_SELECT}function oIe(e,t){e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML)}function sIe(e,t){e.openElements.hasInScope(K.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,sT.HTML)}function cIe(e,t){e.openElements.hasInScope(K.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(K.RTC),e._insertElement(t,sT.HTML)}function lIe(e,t){e._reconstructActiveFormattingElements(),tFe(t),AT(t),t.selfClosing?e._appendElement(t,sT.MATHML):e._insertElement(t,sT.MATHML),t.ackSelfClosing=!0}function uIe(e,t){e._reconstructActiveFormattingElements(),nFe(t),AT(t),t.selfClosing?e._appendElement(t,sT.SVG):e._insertElement(t,sT.SVG),t.ackSelfClosing=!0}function dIe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,sT.HTML)}function WT(e,t){switch(t.tagID){case K.I:case K.S:case K.B:case K.U:case K.EM:case K.TT:case K.BIG:case K.CODE:case K.FONT:case K.SMALL:case K.STRIKE:case K.STRONG:GFe(e,t);break;case K.A:WFe(e,t);break;case K.H1:case K.H2:case K.H3:case K.H4:case K.H5:case K.H6:RFe(e,t);break;case K.P:case K.DL:case K.OL:case K.UL:case K.DIV:case K.DIR:case K.NAV:case K.MAIN:case K.MENU:case K.ASIDE:case K.CENTER:case K.FIGURE:case K.FOOTER:case K.HEADER:case K.HGROUP:case K.DIALOG:case K.DETAILS:case K.ADDRESS:case K.ARTICLE:case K.SEARCH:case K.SECTION:case K.SUMMARY:case K.FIELDSET:case K.BLOCKQUOTE:case K.FIGCAPTION:LFe(e,t);break;case K.LI:case K.DD:case K.DT:VFe(e,t);break;case K.BR:case K.IMG:case K.WBR:case K.AREA:case K.EMBED:case K.KEYGEN:YFe(e,t);break;case K.HR:$Fe(e,t);break;case K.RB:case K.RTC:sIe(e,t);break;case K.RT:case K.RP:cIe(e,t);break;case K.PRE:case K.LISTING:zFe(e,t);break;case K.XMP:nIe(e,t);break;case K.SVG:uIe(e,t);break;case K.HTML:PFe(e,t);break;case K.BASE:case K.LINK:case K.META:case K.STYLE:case K.TITLE:case K.SCRIPT:case K.BGSOUND:case K.BASEFONT:case K.TEMPLATE:RT(e,t);break;case K.BODY:FFe(e,t);break;case K.FORM:BFe(e,t);break;case K.NOBR:KFe(e,t);break;case K.MATH:lIe(e,t);break;case K.TABLE:JFe(e,t);break;case K.INPUT:ZFe(e,t);break;case K.PARAM:case K.TRACK:case K.SOURCE:QFe(e,t);break;case K.IMAGE:eIe(e,t);break;case K.BUTTON:UFe(e,t);break;case K.APPLET:case K.OBJECT:case K.MARQUEE:qFe(e,t);break;case K.IFRAME:rIe(e,t);break;case K.SELECT:aIe(e,t);break;case K.OPTION:case K.OPTGROUP:oIe(e,t);break;case K.NOEMBED:case K.NOFRAMES:iIe(e,t);break;case K.FRAMESET:IFe(e,t);break;case K.TEXTAREA:tIe(e,t);break;case K.NOSCRIPT:e.options.scriptingEnabled?iIe(e,t):dIe(e,t);break;case K.PLAINTEXT:HFe(e,t);break;case K.COL:case K.TH:case K.TD:case K.TR:case K.HEAD:case K.FRAME:case K.TBODY:case K.TFOOT:case K.THEAD:case K.CAPTION:case K.COLGROUP:break;default:dIe(e,t)}}function fIe(e,t){if(e.openElements.hasInScope(K.BODY)&&(e.insertionMode=J.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function pIe(e,t){e.openElements.hasInScope(K.BODY)&&(e.insertionMode=J.AFTER_BODY,XIe(e,t))}function mIe(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function hIe(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(K.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(K.FORM):n&&e.openElements.remove(n))}function gIe(e){e.openElements.hasInButtonScope(K.P)||e._insertFakeElement(G.P,K.P),e._closePElement()}function _Ie(e){e.openElements.hasInListItemScope(K.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(K.LI),e.openElements.popUntilTagNamePopped(K.LI))}function vIe(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function yIe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function bIe(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function xIe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(G.BR,K.BR),e.openElements.pop(),e.framesetOk=!1}function SIe(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==K.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function GT(e,t){switch(t.tagID){case K.A:case K.B:case K.I:case K.S:case K.U:case K.EM:case K.TT:case K.BIG:case K.CODE:case K.FONT:case K.NOBR:case K.SMALL:case K.STRIKE:case K.STRONG:MT(e,t);break;case K.P:gIe(e);break;case K.DL:case K.UL:case K.OL:case K.DIR:case K.DIV:case K.NAV:case K.PRE:case K.MAIN:case K.MENU:case K.ASIDE:case K.BUTTON:case K.CENTER:case K.FIGURE:case K.FOOTER:case K.HEADER:case K.HGROUP:case K.DIALOG:case K.ADDRESS:case K.ARTICLE:case K.DETAILS:case K.SEARCH:case K.SECTION:case K.SUMMARY:case K.LISTING:case K.FIELDSET:case K.BLOCKQUOTE:case K.FIGCAPTION:mIe(e,t);break;case K.LI:_Ie(e);break;case K.DD:case K.DT:vIe(e,t);break;case K.H1:case K.H2:case K.H3:case K.H4:case K.H5:case K.H6:yIe(e);break;case K.BR:xIe(e);break;case K.BODY:fIe(e,t);break;case K.HTML:pIe(e,t);break;case K.FORM:hIe(e);break;case K.APPLET:case K.OBJECT:case K.MARQUEE:bIe(e,t);break;case K.TEMPLATE:zT(e,t);break;default:SIe(e,t)}}function CIe(e,t){e.tmplInsertionModeStack.length>0?JIe(e,t):PT(e,t)}function wIe(e,t){var n;t.tagID===K.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function TIe(e,t){e._err(t,Zw.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function KT(e,t){if(e.openElements.currentTagId!==void 0&&iE.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=J.IN_TABLE_TEXT,t.type){case $w.CHARACTER:FIe(e,t);break;case $w.WHITESPACE_CHARACTER:PIe(e,t);break}else YT(e,t)}function EIe(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_CAPTION}function DIe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_COLUMN_GROUP}function OIe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(G.COLGROUP,K.COLGROUP),e.insertionMode=J.IN_COLUMN_GROUP,ZT(e,t)}function kIe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_TABLE_BODY}function AIe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(G.TBODY,K.TBODY),e.insertionMode=J.IN_TABLE_BODY,$T(e,t)}function jIe(e,t){e.openElements.hasInTableScope(K.TABLE)&&(e.openElements.popUntilTagNamePopped(K.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function MIe(e,t){XFe(t)?e._appendElement(t,sT.HTML):YT(e,t),t.ackSelfClosing=!0}function NIe(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,sT.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function qT(e,t){switch(t.tagID){case K.TD:case K.TH:case K.TR:AIe(e,t);break;case K.STYLE:case K.SCRIPT:case K.TEMPLATE:RT(e,t);break;case K.COL:OIe(e,t);break;case K.FORM:NIe(e,t);break;case K.TABLE:jIe(e,t);break;case K.TBODY:case K.TFOOT:case K.THEAD:kIe(e,t);break;case K.INPUT:MIe(e,t);break;case K.CAPTION:EIe(e,t);break;case K.COLGROUP:DIe(e,t);break;default:YT(e,t)}}function JT(e,t){switch(t.tagID){case K.TABLE:e.openElements.hasInTableScope(K.TABLE)&&(e.openElements.popUntilTagNamePopped(K.TABLE),e._resetInsertionMode());break;case K.TEMPLATE:zT(e,t);break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TBODY:case K.TD:case K.TFOOT:case K.TH:case K.THEAD:case K.TR:break;default:YT(e,t)}}function YT(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,UT(e,t),e.fosterParentingEnabled=n}function PIe(e,t){e.pendingCharacterTokens.push(t)}function FIe(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function XT(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)YT(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function IIe(e,t){let n=t.tagID;sE.has(n)?e.openElements.hasInTableScope(K.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_TABLE,qT(e,t)):WT(e,t)}function LIe(e,t){let n=t.tagID;switch(n){case K.CAPTION:case K.TABLE:e.openElements.hasInTableScope(K.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(K.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_TABLE,n===K.TABLE&&JT(e,t));break;case K.BODY:case K.COL:case K.COLGROUP:case K.HTML:case K.TBODY:case K.TD:case K.TFOOT:case K.TH:case K.THEAD:case K.TR:break;default:GT(e,t)}}function ZT(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.COL:e._appendElement(t,sT.HTML),t.ackSelfClosing=!0;break;case K.TEMPLATE:RT(e,t);break;default:QT(e,t)}}function RIe(e,t){switch(t.tagID){case K.COLGROUP:e.openElements.currentTagId===K.COLGROUP&&(e.openElements.pop(),e.insertionMode=J.IN_TABLE);break;case K.TEMPLATE:zT(e,t);break;case K.COL:break;default:QT(e,t)}}function QT(e,t){e.openElements.currentTagId===K.COLGROUP&&(e.openElements.pop(),e.insertionMode=J.IN_TABLE,e._processToken(t))}function $T(e,t){switch(t.tagID){case K.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_ROW;break;case K.TH:case K.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(G.TR,K.TR),e.insertionMode=J.IN_ROW,tE(e,t);break;case K.CAPTION:case K.COL:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE,qT(e,t));break;default:qT(e,t)}}function eE(e,t){let n=t.tagID;switch(t.tagID){case K.TBODY:case K.TFOOT:case K.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE);break;case K.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE,JT(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TD:case K.TH:case K.TR:break;default:JT(e,t)}}function tE(e,t){switch(t.tagID){case K.TH:case K.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,sT.HTML),e.insertionMode=J.IN_CELL,e.activeFormattingElements.insertMarker();break;case K.CAPTION:case K.COL:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:case K.TR:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,$T(e,t));break;default:qT(e,t)}}function zIe(e,t){switch(t.tagID){case K.TR:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY);break;case K.TABLE:e.openElements.hasInTableScope(K.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,eE(e,t));break;case K.TBODY:case K.TFOOT:case K.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(K.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=J.IN_TABLE_BODY,eE(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:case K.TD:case K.TH:break;default:JT(e,t)}}function BIe(e,t){let n=t.tagID;sE.has(n)?(e.openElements.hasInTableScope(K.TD)||e.openElements.hasInTableScope(K.TH))&&(e._closeTableCell(),tE(e,t)):WT(e,t)}function VIe(e,t){let n=t.tagID;switch(n){case K.TD:case K.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=J.IN_ROW);break;case K.TABLE:case K.TBODY:case K.TFOOT:case K.THEAD:case K.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),zIe(e,t));break;case K.BODY:case K.CAPTION:case K.COL:case K.COLGROUP:case K.HTML:break;default:GT(e,t)}}function HIe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.OPTION:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e._insertElement(t,sT.HTML);break;case K.OPTGROUP:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop(),e._insertElement(t,sT.HTML);break;case K.HR:e.openElements.currentTagId===K.OPTION&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop(),e._appendElement(t,sT.HTML),t.ackSelfClosing=!0;break;case K.INPUT:case K.KEYGEN:case K.TEXTAREA:case K.SELECT:e.openElements.hasInSelectScope(K.SELECT)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),t.tagID!==K.SELECT&&e._processStartTag(t));break;case K.SCRIPT:case K.TEMPLATE:RT(e,t);break;default:}}function UIe(e,t){switch(t.tagID){case K.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===K.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===K.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===K.OPTGROUP&&e.openElements.pop();break;case K.OPTION:e.openElements.currentTagId===K.OPTION&&e.openElements.pop();break;case K.SELECT:e.openElements.hasInSelectScope(K.SELECT)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode());break;case K.TEMPLATE:zT(e,t);break;default:}}function WIe(e,t){let n=t.tagID;n===K.CAPTION||n===K.TABLE||n===K.TBODY||n===K.TFOOT||n===K.THEAD||n===K.TR||n===K.TD||n===K.TH?(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),e._processStartTag(t)):HIe(e,t)}function GIe(e,t){let n=t.tagID;n===K.CAPTION||n===K.TABLE||n===K.TBODY||n===K.TFOOT||n===K.THEAD||n===K.TR||n===K.TD||n===K.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(K.SELECT),e._resetInsertionMode(),e.onEndTag(t)):UIe(e,t)}function KIe(e,t){switch(t.tagID){case K.BASE:case K.BASEFONT:case K.BGSOUND:case K.LINK:case K.META:case K.NOFRAMES:case K.SCRIPT:case K.STYLE:case K.TEMPLATE:case K.TITLE:RT(e,t);break;case K.CAPTION:case K.COLGROUP:case K.TBODY:case K.TFOOT:case K.THEAD:e.tmplInsertionModeStack[0]=J.IN_TABLE,e.insertionMode=J.IN_TABLE,qT(e,t);break;case K.COL:e.tmplInsertionModeStack[0]=J.IN_COLUMN_GROUP,e.insertionMode=J.IN_COLUMN_GROUP,ZT(e,t);break;case K.TR:e.tmplInsertionModeStack[0]=J.IN_TABLE_BODY,e.insertionMode=J.IN_TABLE_BODY,$T(e,t);break;case K.TD:case K.TH:e.tmplInsertionModeStack[0]=J.IN_ROW,e.insertionMode=J.IN_ROW,tE(e,t);break;default:e.tmplInsertionModeStack[0]=J.IN_BODY,e.insertionMode=J.IN_BODY,WT(e,t)}}function qIe(e,t){t.tagID===K.TEMPLATE&&zT(e,t)}function JIe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(K.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):PT(e,t)}function YIe(e,t){t.tagID===K.HTML?WT(e,t):nE(e,t)}function XIe(e,t){if(t.tagID===K.HTML){if(e.fragmentContext||(e.insertionMode=J.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===K.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else nE(e,t)}function nE(e,t){e.insertionMode=J.IN_BODY,UT(e,t)}function ZIe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.FRAMESET:e._insertElement(t,sT.HTML);break;case K.FRAME:e._appendElement(t,sT.HTML),t.ackSelfClosing=!0;break;case K.NOFRAMES:RT(e,t);break;default:}}function QIe(e,t){t.tagID===K.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==K.FRAMESET&&(e.insertionMode=J.AFTER_FRAMESET))}function $Ie(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.NOFRAMES:RT(e,t);break;default:}}function eLe(e,t){t.tagID===K.HTML&&(e.insertionMode=J.AFTER_AFTER_FRAMESET)}function tLe(e,t){t.tagID===K.HTML?WT(e,t):rE(e,t)}function rE(e,t){e.insertionMode=J.IN_BODY,UT(e,t)}function nLe(e,t){switch(t.tagID){case K.HTML:WT(e,t);break;case K.NOFRAMES:RT(e,t);break;default:}}function rLe(e,t){t.chars=`�`,e._insertCharacters(t)}function iLe(e,t){e._insertCharacters(t),e.framesetOk=!1}function aLe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==sT.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function oLe(e,t){if(eFe(t))aLe(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===sT.MATHML?tFe(t):r===sT.SVG&&(rFe(t),nFe(t)),AT(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function sLe(e,t){if(t.tagID===K.P||t.tagID===K.BR){aLe(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===sT.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}var cLe,lLe,uLe,J,dLe,iE,aE,oE,sE,fLe=c((()=>{PPe(),HPe(),WPe(),ET(),$Pe(),pFe(),Qw(),Xw(),fT(),eT(),cLe=`hidden`,lLe=8,uLe=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`})(J||={}),dLe={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},iE=new Set([K.TABLE,K.TBODY,K.TFOOT,K.THEAD,K.TR]),aE={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:TT,onParseError:null},oE=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=J.INITIAL,this.originalInsertionMode=J.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={...aE,...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 NPe(this.options,this),this.activeFormattingElements=new UPe(this.treeAdapter),this.fragmentContextID=n?oT(this.treeAdapter.getTagName(n)):K.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new VPe(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...aE,...t};e??=n.treeAdapter.createElement(G.TEMPLATE,sT.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,sT.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===K.TEMPLATE&&i.tmplInsertionModeStack.unshift(J.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??dLe,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===sT.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,sT.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=J.TEXT}switchToPlaintextParsing(){this.insertionMode=J.TEXT,this.originalInsertionMode=J.IN_BODY,this.tokenizer.state=gT.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===G.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==sT.HTML))switch(this.fragmentContextID){case K.TITLE:case K.TEXTAREA:this.tokenizer.state=gT.RCDATA;break;case K.STYLE:case K.XMP:case K.IFRAME:case K.NOEMBED:case K.NOFRAMES:case K.NOSCRIPT:this.tokenizer.state=gT.RAWTEXT;break;case K.SCRIPT:this.tokenizer.state=gT.SCRIPT_DATA;break;case K.PLAINTEXT:this.tokenizer.state=gT.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,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 n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,sT.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,sT.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(G.HTML,sT.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,K.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):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),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===$w.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===K.SVG&&this.treeAdapter.getTagName(t)===G.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===sT.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===K.MGLYPH||e.tagID===K.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,sT.HTML)}_processToken(e){switch(e.type){case $w.CHARACTER:this.onCharacter(e);break;case $w.NULL_CHARACTER:this.onNullCharacter(e);break;case $w.COMMENT:this.onComment(e);break;case $w.DOCTYPE:this.onDoctype(e);break;case $w.START_TAG:this._processStartTag(e);break;case $w.END_TAG:this.onEndTag(e);break;case $w.EOF:this.onEof(e);break;case $w.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return oFe(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===CT.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;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=J.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(K.P),this.openElements.popUntilTagNamePopped(K.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case K.TR:this.insertionMode=J.IN_ROW;return;case K.TBODY:case K.THEAD:case K.TFOOT:this.insertionMode=J.IN_TABLE_BODY;return;case K.CAPTION:this.insertionMode=J.IN_CAPTION;return;case K.COLGROUP:this.insertionMode=J.IN_COLUMN_GROUP;return;case K.TABLE:this.insertionMode=J.IN_TABLE;return;case K.BODY:this.insertionMode=J.IN_BODY;return;case K.FRAMESET:this.insertionMode=J.IN_FRAMESET;return;case K.SELECT:this._resetInsertionModeForSelect(e);return;case K.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case K.HTML:this.insertionMode=this.headElement?J.AFTER_HEAD:J.BEFORE_HEAD;return;case K.TD:case K.TH:if(e>0){this.insertionMode=J.IN_CELL;return}break;case K.HEAD:if(e>0){this.insertionMode=J.IN_HEAD;return}break}this.insertionMode=J.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===K.TEMPLATE)break;if(e===K.TABLE){this.insertionMode=J.IN_SELECT_IN_TABLE;return}}this.insertionMode=J.IN_SELECT}_isElementCausesFosterParenting(e){return iE.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&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 K.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===sT.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case K.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}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 EPe[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){iLe(this,e);return}switch(this.insertionMode){case J.INITIAL:FT(this,e);break;case J.BEFORE_HTML:IT(this,e);break;case J.BEFORE_HEAD:LT(this,e);break;case J.IN_HEAD:BT(this,e);break;case J.IN_HEAD_NO_SCRIPT:VT(this,e);break;case J.AFTER_HEAD:HT(this,e);break;case J.IN_BODY:case J.IN_CAPTION:case J.IN_CELL:case J.IN_TEMPLATE:NFe(this,e);break;case J.TEXT:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:KT(this,e);break;case J.IN_TABLE_TEXT:FIe(this,e);break;case J.IN_COLUMN_GROUP:QT(this,e);break;case J.AFTER_BODY:nE(this,e);break;case J.AFTER_AFTER_BODY:rE(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){rLe(this,e);return}switch(this.insertionMode){case J.INITIAL:FT(this,e);break;case J.BEFORE_HTML:IT(this,e);break;case J.BEFORE_HEAD:LT(this,e);break;case J.IN_HEAD:BT(this,e);break;case J.IN_HEAD_NO_SCRIPT:VT(this,e);break;case J.AFTER_HEAD:HT(this,e);break;case J.TEXT:this._insertCharacters(e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:KT(this,e);break;case J.IN_COLUMN_GROUP:QT(this,e);break;case J.AFTER_BODY:nE(this,e);break;case J.AFTER_AFTER_BODY:rE(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){NT(this,e);return}switch(this.insertionMode){case J.INITIAL:case J.BEFORE_HTML:case J.BEFORE_HEAD:case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:case J.IN_BODY:case J.IN_TABLE:case J.IN_CAPTION:case J.IN_COLUMN_GROUP:case J.IN_TABLE_BODY:case J.IN_ROW:case J.IN_CELL:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:case J.IN_TEMPLATE:case J.IN_FRAMESET:case J.AFTER_FRAMESET:NT(this,e);break;case J.IN_TABLE_TEXT:XT(this,e);break;case J.AFTER_BODY:bFe(this,e);break;case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:xFe(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case J.INITIAL:SFe(this,e);break;case J.BEFORE_HEAD:case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:this._err(e,Zw.misplacedDoctype);break;case J.IN_TABLE_TEXT:XT(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,Zw.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?oLe(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case J.INITIAL:FT(this,e);break;case J.BEFORE_HTML:CFe(this,e);break;case J.BEFORE_HEAD:TFe(this,e);break;case J.IN_HEAD:RT(this,e);break;case J.IN_HEAD_NO_SCRIPT:OFe(this,e);break;case J.AFTER_HEAD:AFe(this,e);break;case J.IN_BODY:WT(this,e);break;case J.IN_TABLE:qT(this,e);break;case J.IN_TABLE_TEXT:XT(this,e);break;case J.IN_CAPTION:IIe(this,e);break;case J.IN_COLUMN_GROUP:ZT(this,e);break;case J.IN_TABLE_BODY:$T(this,e);break;case J.IN_ROW:tE(this,e);break;case J.IN_CELL:BIe(this,e);break;case J.IN_SELECT:HIe(this,e);break;case J.IN_SELECT_IN_TABLE:WIe(this,e);break;case J.IN_TEMPLATE:KIe(this,e);break;case J.AFTER_BODY:YIe(this,e);break;case J.IN_FRAMESET:ZIe(this,e);break;case J.AFTER_FRAMESET:$Ie(this,e);break;case J.AFTER_AFTER_BODY:tLe(this,e);break;case J.AFTER_AFTER_FRAMESET:nLe(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?sLe(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case J.INITIAL:FT(this,e);break;case J.BEFORE_HTML:wFe(this,e);break;case J.BEFORE_HEAD:EFe(this,e);break;case J.IN_HEAD:DFe(this,e);break;case J.IN_HEAD_NO_SCRIPT:kFe(this,e);break;case J.AFTER_HEAD:jFe(this,e);break;case J.IN_BODY:GT(this,e);break;case J.TEXT:wIe(this,e);break;case J.IN_TABLE:JT(this,e);break;case J.IN_TABLE_TEXT:XT(this,e);break;case J.IN_CAPTION:LIe(this,e);break;case J.IN_COLUMN_GROUP:RIe(this,e);break;case J.IN_TABLE_BODY:eE(this,e);break;case J.IN_ROW:zIe(this,e);break;case J.IN_CELL:VIe(this,e);break;case J.IN_SELECT:UIe(this,e);break;case J.IN_SELECT_IN_TABLE:GIe(this,e);break;case J.IN_TEMPLATE:qIe(this,e);break;case J.AFTER_BODY:XIe(this,e);break;case J.IN_FRAMESET:QIe(this,e);break;case J.AFTER_FRAMESET:eLe(this,e);break;case J.AFTER_AFTER_BODY:rE(this,e);break;default:}}onEof(e){switch(this.insertionMode){case J.INITIAL:FT(this,e);break;case J.BEFORE_HTML:IT(this,e);break;case J.BEFORE_HEAD:LT(this,e);break;case J.IN_HEAD:BT(this,e);break;case J.IN_HEAD_NO_SCRIPT:VT(this,e);break;case J.AFTER_HEAD:HT(this,e);break;case J.IN_BODY:case J.IN_TABLE:case J.IN_CAPTION:case J.IN_COLUMN_GROUP:case J.IN_TABLE_BODY:case J.IN_ROW:case J.IN_CELL:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:CIe(this,e);break;case J.TEXT:TIe(this,e);break;case J.IN_TABLE_TEXT:XT(this,e);break;case J.IN_TEMPLATE:JIe(this,e);break;case J.AFTER_BODY:case J.IN_FRAMESET:case J.AFTER_FRAMESET:case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:PT(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===W.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case J.IN_HEAD:case J.IN_HEAD_NO_SCRIPT:case J.AFTER_HEAD:case J.TEXT:case J.IN_COLUMN_GROUP:case J.IN_SELECT:case J.IN_SELECT_IN_TABLE:case J.IN_FRAMESET:case J.AFTER_FRAMESET:this._insertCharacters(e);break;case J.IN_BODY:case J.IN_CAPTION:case J.IN_CELL:case J.IN_TEMPLATE:case J.AFTER_BODY:case J.AFTER_AFTER_BODY:case J.AFTER_AFTER_FRAMESET:MFe(this,e);break;case J.IN_TABLE:case J.IN_TABLE_BODY:case J.IN_ROW:KT(this,e);break;case J.IN_TABLE_TEXT:PIe(this,e);break;default:}}},sE=new Set([K.CAPTION,K.COL,K.COLGROUP,K.TBODY,K.TD,K.TFOOT,K.TH,K.THEAD,K.TR])})),pLe=c((()=>{fT(),ET(),new Set([G.AREA,G.BASE,G.BASEFONT,G.BGSOUND,G.BR,G.COL,G.EMBED,G.FRAME,G.HR,G.IMG,G.INPUT,G.KEYGEN,G.LINK,G.META,G.PARAM,G.SOURCE,G.TRACK,G.WBR])}));function mLe(e,t){return oE.parse(e,t)}function hLe(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=oE.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}var gLe=c((()=>{fLe(),ET(),pLe(),Qw(),pFe(),fT(),eT(),PPe()}));function cE(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?_Le(e.position):`start`in e||`end`in e?_Le(e):`line`in e||`column`in e?lE(e):``}function lE(e){return vLe(e&&e.line)+`:`+vLe(e&&e.column)}function _Le(e){return lE(e&&e.start)+`-`+lE(e&&e.end)}function vLe(e){return e&&typeof e==`number`?e:1}var yLe=c((()=>{})),bLe=c((()=>{yLe()})),uE,xLe=c((()=>{bLe(),uE=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=cE(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}},uE.prototype.file=``,uE.prototype.name=``,uE.prototype.reason=``,uE.prototype.message=``,uE.prototype.stack=``,uE.prototype.column=void 0,uE.prototype.line=void 0,uE.prototype.ancestors=void 0,uE.prototype.cause=void 0,uE.prototype.fatal=void 0,uE.prototype.place=void 0,uE.prototype.ruleId=void 0,uE.prototype.source=void 0})),SLe=c((()=>{xLe()}));function CLe(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);dE(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function wLe(e){if(dE(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function TLe(e){dE(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function ELe(...e){let t=-1,n;for(;++t<e.length;)dE(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:DLe(n)}function DLe(e){dE(e);let t=e.codePointAt(0)===47,n=OLe(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function OLe(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function dE(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var fE,kLe=c((()=>{fE={basename:CLe,dirname:wLe,extname:TLe,join:ELe,sep:`/`}}));function ALe(){return`/`}var jLe,MLe=c((()=>{jLe={cwd:ALe}}));function pE(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}var NLe=c((()=>{}));function PLe(e){if(typeof e==`string`)e=new URL(e);else if(!pE(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(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return FLe(e)}function FLe(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,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var ILe=c((()=>{NLe()}));function mE(e,t){if(e&&e.includes(fE.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+fE.sep+"`")}function hE(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function LLe(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function RLe(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var gE,_E,zLe=c((()=>{SLe(),kLe(),MLe(),ILe(),gE=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],_E=class{constructor(e){let t;t=e?pE(e)?{path:e}:typeof e==`string`||RLe(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:jLe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<gE.length;){let e=gE[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)gE.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?fE.basename(this.path):void 0}set basename(e){hE(e,`basename`),mE(e,`basename`),this.path=fE.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?fE.dirname(this.path):void 0}set dirname(e){LLe(this.basename,`dirname`),this.path=fE.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?fE.extname(this.path):void 0}set extname(e){if(mE(e,`extname`),LLe(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=fE.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){pE(e)&&(e=PLe(e)),hE(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?fE.basename(this.path,this.extname):void 0}set stem(e){hE(e,`stem`),mE(e,`stem`),this.path=fE.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new uE(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}}})),BLe=c((()=>{zLe()})),VLe,HLe=c((()=>{VLe={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 `-->` 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 `-->` 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 `-->` 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 `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` 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 `<!--`. Expected `-->`"},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`}}}));function ULe(e,t){let n=t||$Le,r=n.onerror,i=e instanceof _E?e:new _E(e),a=n.fragment?hLe:mLe,o=String(i);return YNe(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=WLe(t),s=n[a]??!0,c=typeof s==`number`?s:s?1:0;if(c){let n=VLe[a],o=new uE(l(n.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`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=QLe[c],o.note=l(n.description),o.url=n.url===!1?void 0:JLe+t,r(o)}function l(t){return t.replace(XLe,n).replace(ZLe,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return KLe(o.charAt(e.startOffset+i))}function r(){return qLe(o.charCodeAt(e.startOffset))}}}}function WLe(e){return e.replace(YLe,GLe)}function GLe(e){return e.charAt(1).toUpperCase()}function KLe(e){return e==="`"?"` ` `":e}function qLe(e){return`0x`+e.toString(16).toUpperCase()}var JLe,YLe,XLe,ZLe,QLe,$Le,eRe=c((()=>{cw(),nPe(),gLe(),BLe(),SLe(),HLe(),JLe=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,YLe=/-[a-z]/g,XLe=/%c(?:([-+])(\d+))?/g,ZLe=/%x/g,QLe={2:!0,1:!1,0:null},$Le={}})),tRe=c((()=>{eRe()}));function nRe(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return ULe(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}var rRe=c((()=>{tRe()})),iRe=c((()=>{rRe()})),vE,aRe=c((()=>{vE=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]})),yE,oRe=c((()=>{yE=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}},yE.prototype.normal={},yE.prototype.property={},yE.prototype.space=void 0}));function sRe(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new yE(n,r,t)}var cRe=c((()=>{oRe()}));function bE(e){return e.toLowerCase()}var lRe=c((()=>{})),xE,uRe=c((()=>{xE=class{constructor(e,t){this.attribute=t,this.property=e}},xE.prototype.attribute=``,xE.prototype.booleanish=!1,xE.prototype.boolean=!1,xE.prototype.commaOrSpaceSeparated=!1,xE.prototype.commaSeparated=!1,xE.prototype.defined=!1,xE.prototype.mustUseProperty=!1,xE.prototype.number=!1,xE.prototype.overloadedBoolean=!1,xE.prototype.property=``,xE.prototype.spaceSeparated=!1,xE.prototype.space=void 0})),SE=u({boolean:()=>wE,booleanish:()=>TE,commaOrSpaceSeparated:()=>AE,commaSeparated:()=>kE,number:()=>DE,overloadedBoolean:()=>EE,spaceSeparated:()=>OE});function CE(){return 2**++dRe}var dRe,wE,TE,EE,DE,OE,kE,AE,jE=c((()=>{dRe=0,wE=CE(),TE=CE(),EE=CE(),DE=CE(),OE=CE(),kE=CE(),AE=CE()}));function fRe(e,t,n){n&&(e[t]=n)}var ME,NE,pRe=c((()=>{uRe(),jE(),ME=Object.keys(SE),NE=class extends xE{constructor(e,t,n,r){let i=-1;if(super(e,t),fRe(this,`space`,r),typeof n==`number`)for(;++i<ME.length;){let e=ME[i];fRe(this,ME[i],(n&SE[e])===SE[e])}}},NE.prototype.defined=!0}));function PE(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new NE(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[bE(r)]=r,n[bE(a.attribute)]=r}return new yE(t,n,e.space)}var FE=c((()=>{lRe(),pRe(),oRe()})),IE,mRe=c((()=>{FE(),jE(),IE=PE({properties:{ariaActiveDescendant:null,ariaAtomic:TE,ariaAutoComplete:null,ariaBusy:TE,ariaChecked:TE,ariaColCount:DE,ariaColIndex:DE,ariaColSpan:DE,ariaControls:OE,ariaCurrent:null,ariaDescribedBy:OE,ariaDetails:null,ariaDisabled:TE,ariaDropEffect:OE,ariaErrorMessage:null,ariaExpanded:TE,ariaFlowTo:OE,ariaGrabbed:TE,ariaHasPopup:null,ariaHidden:TE,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:OE,ariaLevel:DE,ariaLive:null,ariaModal:TE,ariaMultiLine:TE,ariaMultiSelectable:TE,ariaOrientation:null,ariaOwns:OE,ariaPlaceholder:null,ariaPosInSet:DE,ariaPressed:TE,ariaReadOnly:TE,ariaRelevant:null,ariaRequired:TE,ariaRoleDescription:OE,ariaRowCount:DE,ariaRowIndex:DE,ariaRowSpan:DE,ariaSelected:TE,ariaSetSize:DE,ariaSort:null,ariaValueMax:DE,ariaValueMin:DE,ariaValueNow:DE,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}})}));function hRe(e,t){return t in e?e[t]:t}var gRe=c((()=>{}));function _Re(e,t){return hRe(e,t.toLowerCase())}var vRe=c((()=>{gRe()})),yRe,bRe=c((()=>{vRe(),FE(),jE(),yRe=PE({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:kE,acceptCharset:OE,accessKey:OE,action:null,allow:null,allowFullScreen:wE,allowPaymentRequest:wE,allowUserMedia:wE,alt:null,as:null,async:wE,autoCapitalize:null,autoComplete:OE,autoFocus:wE,autoPlay:wE,blocking:OE,capture:null,charSet:null,checked:wE,cite:null,className:OE,cols:DE,colSpan:null,content:null,contentEditable:TE,controls:wE,controlsList:OE,coords:DE|kE,crossOrigin:null,data:null,dateTime:null,decoding:null,default:wE,defer:wE,dir:null,dirName:null,disabled:wE,download:EE,draggable:TE,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:wE,formTarget:null,headers:OE,height:DE,hidden:EE,high:DE,href:null,hrefLang:null,htmlFor:OE,httpEquiv:OE,id:null,imageSizes:null,imageSrcSet:null,inert:wE,inputMode:null,integrity:null,is:null,isMap:wE,itemId:null,itemProp:OE,itemRef:OE,itemScope:wE,itemType:OE,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:wE,low:DE,manifest:null,max:null,maxLength:DE,media:null,method:null,min:null,minLength:DE,multiple:wE,muted:wE,name:null,nonce:null,noModule:wE,noValidate:wE,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:wE,optimum:DE,pattern:null,ping:OE,placeholder:null,playsInline:wE,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:wE,referrerPolicy:null,rel:OE,required:wE,reversed:wE,rows:DE,rowSpan:DE,sandbox:OE,scope:null,scoped:wE,seamless:wE,selected:wE,shadowRootClonable:wE,shadowRootDelegatesFocus:wE,shadowRootMode:null,shape:null,size:DE,sizes:null,slot:null,span:DE,spellCheck:TE,src:null,srcDoc:null,srcLang:null,srcSet:null,start:DE,step:null,style:null,tabIndex:DE,target:null,title:null,translate:null,type:null,typeMustMatch:wE,useMap:null,value:TE,width:DE,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:OE,axis:null,background:null,bgColor:null,border:DE,borderColor:null,bottomMargin:DE,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:wE,declare:wE,event:null,face:null,frame:null,frameBorder:null,hSpace:DE,leftMargin:DE,link:null,longDesc:null,lowSrc:null,marginHeight:DE,marginWidth:DE,noResize:wE,noHref:wE,noShade:wE,noWrap:wE,object:null,profile:null,prompt:null,rev:null,rightMargin:DE,rules:null,scheme:null,scrolling:TE,standby:null,summary:null,text:null,topMargin:DE,valueType:null,version:null,vAlign:null,vLink:null,vSpace:DE,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:wE,disableRemotePlayback:wE,prefix:null,property:null,results:DE,security:null,unselectable:null},space:`html`,transform:_Re})})),xRe,SRe=c((()=>{gRe(),FE(),jE(),xRe=PE({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:AE,accentHeight:DE,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:DE,amplitude:DE,arabicForm:null,ascent:DE,attributeName:null,attributeType:null,azimuth:DE,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:DE,by:null,calcMode:null,capHeight:DE,className:OE,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:DE,diffuseConstant:DE,direction:null,display:null,dur:null,divisor:DE,dominantBaseline:null,download:wE,dx:null,dy:null,edgeMode:null,editable:null,elevation:DE,enableBackground:null,end:null,event:null,exponent:DE,externalResourcesRequired:null,fill:null,fillOpacity:DE,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:kE,g2:kE,glyphName:kE,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:DE,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:DE,horizOriginX:DE,horizOriginY:DE,id:null,ideographic:DE,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:DE,k:DE,k1:DE,k2:DE,k3:DE,k4:DE,kernelMatrix:AE,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:DE,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:DE,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:DE,overlineThickness:DE,paintOrder:null,panose1:null,path:null,pathLength:DE,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:OE,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:DE,pointsAtY:DE,pointsAtZ:DE,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:AE,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:AE,rev:AE,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:AE,requiredFeatures:AE,requiredFonts:AE,requiredFormats:AE,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:DE,specularExponent:DE,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:DE,strikethroughThickness:DE,string:null,stroke:null,strokeDashArray:AE,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:DE,strokeOpacity:DE,strokeWidth:null,style:null,surfaceScale:DE,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:AE,tabIndex:DE,tableValues:null,target:null,targetX:DE,targetY:DE,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:AE,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:DE,underlineThickness:DE,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:DE,values:null,vAlphabetic:DE,vMathematical:DE,vectorEffect:null,vHanging:DE,vIdeographic:DE,version:null,vertAdvY:DE,vertOriginX:DE,vertOriginY:DE,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:DE,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:hRe})})),LE,CRe=c((()=>{FE(),LE=PE({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}})})),RE,wRe=c((()=>{FE(),vRe(),RE=PE({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:_Re})})),zE,TRe=c((()=>{FE(),zE=PE({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}})}));function ERe(e,t){let n=bE(t),r=t,i=xE;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&ARe.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(BE,ORe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!BE.test(e)){let n=e.replace(kRe,DRe);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=NE}return new i(r,t)}function DRe(e){return`-`+e.toLowerCase()}function ORe(e){return e.charAt(1).toUpperCase()}var kRe,BE,ARe,jRe=c((()=>{pRe(),uRe(),lRe(),kRe=/[A-Z]/g,BE=/-[a-z]/g,ARe=/^data[-\w.:]+$/i})),MRe,VE,NRe=c((()=>{cRe(),mRe(),bRe(),SRe(),CRe(),wRe(),TRe(),jRe(),MRe=sRe([IE,yRe,LE,RE,zE],`html`),VE=sRe([IE,xRe,LE,RE,zE],`svg`)}));function HE(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&UE.call(t,e)){let n=String(t[e]);i=UE.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var UE,WE=c((()=>{UE={}.hasOwnProperty}));function PRe(e,t){if(e=e.replace(t.subset?FRe(t.subset):LRe,r),t.subset||t.escapeOnly)return e;return e.replace(RRe,n).replace(zRe,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function FRe(e){let t=GE.get(e);return t||(t=IRe(e),GE.set(e,t)),t}function IRe(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(BRe,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var LRe,RRe,zRe,BRe,GE,VRe=c((()=>{LRe=/["&'<>`]/g,RRe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zRe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,BRe=/[|\\{}()[\]^$+*?.]/g,GE=new WeakMap}));function HRe(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!URe.test(String.fromCharCode(t))?r:r+`;`}var URe,WRe=c((()=>{URe=/[\dA-Fa-f]/}));function GRe(e,t,n){let r=`&#`+String(e);return n&&t&&!KRe.test(String.fromCharCode(t))?r:r+`;`}var KRe,qRe=c((()=>{KRe=/\d/})),JRe,YRe=c((()=>{JRe=`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(`.`)})),KE,XRe=c((()=>{KE={nbsp:`\xA0`,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:`€`}})),ZRe,QRe=c((()=>{ZRe=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`]}));function $Re(e,t,n,r){let i=String.fromCharCode(e);if(qE.call(JE,i)){let e=JE[i],a=`&`+e;return n&&JRe.includes(e)&&!ZRe.includes(e)&&(!r||t&&t!==61&&eze.test(String.fromCharCode(t)))?a:a+`;`}return``}var qE,JE,YE,eze,tze=c((()=>{for(YE in YRe(),XRe(),QRe(),qE={}.hasOwnProperty,JE={},KE)qE.call(KE,YE)&&(JE[KE[YE]]=YE);eze=/[^\dA-Za-z]/}));function nze(e,t,n){let r=HRe(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=$Re(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=GRe(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}var rze=c((()=>{WRe(),qRe(),tze()}));function XE(e,t){return PRe(e,Object.assign({format:nze},t))}var ize=c((()=>{VRe(),rze()})),ZE=c((()=>{ize()}));function aze(e,t,n,r){return r.settings.bogusComments?`<?`+XE(e.value,Object.assign({},r.settings.characterReferences,{subset:sze}))+`>`:`<!--`+e.value.replace(oze,i)+`-->`;function i(e){return XE(e,Object.assign({},r.settings.characterReferences,{subset:cze}))}}var oze,sze,cze,lze=c((()=>{ZE(),oze=/^>|^->|<!--|-->|--!>|<!-$/g,sze=[`>`],cze=[`<`,`>`]}));function uze(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}var dze=c((()=>{}));function QE(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var fze=c((()=>{}));function $E(e){return typeof e==`object`?e.type===`text`?pze(e.value):!1:pze(e)}function pze(e){return e.replace(mze,``)===``}var mze,hze=c((()=>{mze=/[ \t\n\f\r]/g})),eD=c((()=>{hze()}));function gze(e){return t;function t(t,n,r){let i=t?t.children:_ze,a=(n||0)+e,o=i[a];if(!r)for(;o&&$E(o);)a+=e,o=i[a];return o}}var tD,nD,_ze,vze=c((()=>{eD(),tD=gze(1),nD=gze(-1),_ze=[]}));function yze(e){return t;function t(t,n,r){return bze.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var bze,xze=c((()=>{bze={}.hasOwnProperty}));function rD(e,t,n){let r=tD(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&$E(r.value.charAt(0)))}function Sze(e,t,n){let r=tD(n,t);return!r||r.type!==`comment`}function Cze(e,t,n){let r=tD(n,t);return!r||r.type!==`comment`}function wze(e,t,n){let r=tD(n,t);return r?r.type===`element`&&(r.tagName===`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`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function Tze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Eze(e,t,n){let r=tD(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function Dze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function Oze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function kze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Aze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function jze(e,t,n){let r=tD(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function Mze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function Nze(e,t,n){return!tD(n,t)}function Pze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function Fze(e,t,n){let r=tD(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var iD,Ize=c((()=>{eD(),vze(),xze(),iD=yze({body:Cze,caption:rD,colgroup:rD,dd:Dze,dt:Eze,head:rD,html:Sze,li:Tze,optgroup:kze,option:Aze,p:wze,rp:Oze,rt:Oze,tbody:Mze,td:Fze,tfoot:Nze,th:Fze,thead:jze,tr:Pze})}));function Lze(e){let t=tD(e,-1);return!t||t.type!==`comment`}function Rze(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function zze(e){let t=tD(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&$E(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function Bze(e,t,n){let r=nD(n,t),i=tD(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&iD(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function Vze(e,t,n){let r=nD(n,t),i=tD(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&iD(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var Hze,Uze=c((()=>{eD(),vze(),Ize(),xze(),Hze=yze({body:zze,colgroup:Bze,head:Rze,html:Lze,tbody:Vze})}));function Wze(e,t,n,r){let i=r.schema,a=i.space===`svg`?!1:r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=VE);let l=Gze(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!Hze(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!iD(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function Gze(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Kze(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function Kze(e,t,n){let r=ERe(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=e.settings.allowDangerousCharacters?0:1,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=XE(r.attribute,Object.assign({},e.settings.characterReferences,{subset:aD.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?DNe:jNe)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=XE(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:aD.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&QE(n,o)>QE(n,e.alternative)&&(o=e.alternative),s=o+XE(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?aD.single:aD.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var aD,qze=c((()=>{fze(),Iw(),NRe(),zw(),ZE(),Ize(),Uze(),aD={name:[[`
|
||
\f\r &/=>`.split(``),`
|
||
\f\r "&'/=>\``.split(``)],[`\0
|
||
\f\r "&'/<=>`.split(``),`\0
|
||
\f\r "&'/<=>\``.split(``)]],unquoted:[[`
|
||
\f\r &>`.split(``),`\0
|
||
\f\r "&'<=>\``.split(``)],[`\0
|
||
\f\r "&'<=>\``.split(``),`\0
|
||
\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]}}));function Jze(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:XE(e.value,Object.assign({},r.settings.characterReferences,{subset:Yze}))}var Yze,Xze=c((()=>{ZE(),Yze=[`<`,`&`]}));function Zze(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jze(e,t,n,r)}var Qze=c((()=>{Xze()}));function $ze(e,t,n,r){return r.all(e)}var eBe=c((()=>{}));function tBe(e){throw Error("Expected node, not `"+e+"`")}function nBe(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var rBe,iBe=c((()=>{WE(),lze(),dze(),qze(),Qze(),eBe(),Xze(),rBe=HE(`type`,{invalid:tBe,unknown:nBe,handlers:{comment:aze,doctype:uze,element:Wze,raw:Zze,root:$ze,text:Jze}})}));function aBe(e,t){let n=t||cBe,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:oBe,all:sBe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||vE,characterReferences:n.characterReferences||lBe,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?VE:MRe,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function oBe(e,t,n){return rBe(e,t,n,this)}function sBe(e){let t=[],n=e&&e.children||uBe,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}var cBe,lBe,uBe,dBe=c((()=>{aRe(),NRe(),iBe(),cBe={},lBe={},uBe=[]})),fBe=c((()=>{dBe()}));function pBe(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return aBe(e,n)}}var mBe=c((()=>{fBe()})),hBe=c((()=>{mBe()}));function gBe(e){if(e)throw e}var _Be=c((()=>{})),vBe=l(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function oD(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var yBe=c((()=>{}));function bBe(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?xBe(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function xBe(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var SBe=c((()=>{})),CBe=c((()=>{SBe()})),wBe,TBe=c((()=>{wBe=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r})}));function sD(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function cD(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function lD(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 EBe(e){if(!oD(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function DBe(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function uD(e){return OBe(e)?e:new _E(e)}function OBe(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function kBe(e){return typeof e==`string`||ABe(e)}function ABe(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var dD,jBe,MBe,fD,NBe=c((()=>{_Be(),dD=f(vBe(),1),cw(),yBe(),CBe(),BLe(),TBe(),jBe={}.hasOwnProperty,MBe=class e extends wBe{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=bBe()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,dD.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(lD(`data`,this.frozen),this.namespace[e]=t,this):jBe.call(this.namespace,e)&&this.namespace[e]||void 0:e?(lD(`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,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=uD(e),n=this.parser||this.Parser;return sD(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),sD(`process`,this.parser||this.Parser),cD(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=uD(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);kBe(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),sD(`processSync`,this.parser||this.Parser),cD(`processSync`,this.compiler||this.Compiler),this.process(e,r),DBe(`processSync`,`process`,t),n;function r(e,r){t=!0,gBe(e),n=r}}run(e,t,n){EBe(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=uD(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),DBe(`runSync`,`run`,n),r;function i(e,t){gBe(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=uD(t),r=this.compiler||this.Compiler;return cD(`stringify`,r),EBe(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(lD(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(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");o(e.plugins),e.settings&&(r.settings=(0,dD.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];oD(o)&&oD(r)&&(r=(0,dD.default)(!0,o,r)),n[i]=[e,r,...a]}}}},fD=new MBe().freeze()})),PBe=c((()=>{NBe()}));function FBe(e){let t=[],n=-1;for(;++n<e.length;)t[n]=mD(e[n]);return pD(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function IBe(e){let t=e;return pD(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function LBe(e){return pD(t);function t(t){return t&&t.type===e}}function pD(e){return t;function t(t,n,r){return!!(zBe(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function RBe(){return!0}function zBe(e){return typeof e==`object`&&!!e&&`type`in e}var mD,BBe=c((()=>{mD=(function(e){if(e==null)return RBe;if(typeof e==`function`)return pD(e);if(typeof e==`object`)return Array.isArray(e)?FBe(e):IBe(e);if(typeof e==`string`)return LBe(e);throw Error(`Expected function, string, or object as test`)})})),hD=c((()=>{BBe()}));function VBe(e){return e}var HBe=c((()=>{}));function gD(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=mD(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+VBe(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=_D,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=UBe(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function UBe(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?_D:[e]}var _D,vD,WBe=c((()=>{hD(),HBe(),_D=[],vD=`skip`})),yD=c((()=>{WBe()}));function bD(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),gD(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var GBe=c((()=>{yD()})),xD=c((()=>{GBe()})),SD,KBe=c((()=>{SD={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`}})),CD,qBe=c((()=>{hD(),CD=(function(e,t,n){let r=mD(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),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]})})),JBe=c((()=>{qBe()}));function YBe(e){let t=[],n=-1;for(;++n<e.length;)t[n]=ED(e[n]);return wD(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function XBe(e){return wD(t);function t(t){return t.tagName===e}}function wD(e){return t;function t(t,n,r){return!!(QBe(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function ZBe(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function QBe(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var TD,ED,$Be=c((()=>{TD=(function(e,t,n,r,i){let a=ED(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return QBe(e)?a.call(i,e,n,r):!1}),ED=(function(e){if(e==null)return ZBe;if(typeof e==`string`)return XBe(e);if(typeof e==`object`)return YBe(e);if(typeof e==`function`)return wD(e);throw Error("Expected function, string, or array as `test`")})})),DD=c((()=>{$Be()}));function eVe(e,t){let n=t||{},r=`children`in e?e.children:[],i=ND(e),a=oVe(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...rVe(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...tVe(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?AD(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
|
||
`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function tVe(e,t,n){return e.type===`element`?nVe(e,t,n):e.type===`text`?n.whitespace===`normal`?rVe(e,n):iVe(e):[]}function nVe(e,t,n){let r=oVe(e,n),i=e.children||[],a=-1,o=[];if(dVe(e))return o;let s,c;for(AD(e)||MD(e)&&CD(t,e,MD)?c=`
|
||
`:uVe(e)?(s=2,c=2):ND(e)&&(s=1,c=1);++a<i.length;)o=o.concat(tVe(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?AD(i[a+1]):c}));return jD(e)&&CD(t,e,jD)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function rVe(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){OD.lastIndex=a;let e=OD.exec(n),i=e&&`index`in e?e.index:n.length;r.push(aVe(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a===0?t.breakBefore:!0,i===n.length?t.breakAfter:!0)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function iVe(e){return[String(e.value)]}function aVe(e,t,n){let r=[],i=0,a;for(;i<e.length;){kD.lastIndex=i;let n=kD.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function oVe(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}}return t.whitespace}function sVe(e){return!!(e.properties||{}).hidden}function cVe(e){return e.tagName===`td`||e.tagName===`th`}function lVe(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var OD,kD,AD,jD,uVe,MD,dVe,ND,fVe=c((()=>{JBe(),DD(),OD=/\n/g,kD=/[\t ]+/g,AD=ED(`br`),jD=ED(cVe),uVe=ED(`p`),MD=ED(`tr`),dVe=ED([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,sVe,lVe]),ND=ED(`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(`.`))})),pVe=c((()=>{fVe()}));function mVe(e){let t=`[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*`,n=`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord`,r={$pattern:t,built_in:n+` 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`},i={begin:t,relevance:0},a={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?/}]},o={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]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l={scope:`punctuation`,match:/,/,relevance:0},u=e.COMMENT(`;`,`$`,{relevance:0}),d={className:`literal`,begin:/\b(true|false|nil)\b/},f={begin:`\\[|(#::?`+t+`)?\\{`,end:`[\\]\\}]`,relevance:0},p={className:`symbol`,begin:`[:]{1,2}`+t},m={begin:`\\(`,end:`\\)`},h={endsWithParent:!0,relevance:0},g={keywords:r,className:`name`,begin:t,relevance:0,starts:h},_=[l,m,o,s,c,u,p,f,a,d,i];return m.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)},g,h],h.contains=_,f.contains=_,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[l,m,o,s,c,u,p,f,a,d]}}var hVe=c((()=>{}));function gVe(e){let t={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`}]},n={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/}]},i={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,n]},{begin:`"""`,end:`"""`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`'`,end:`'`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];let a=`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(`.`),o=a.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:a.concat(o).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,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:`=>`}]}}var _Ve=c((()=>{}));function vVe(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:`</`}}var yVe=c((()=>{}));function bVe(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$pattern:n,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`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={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},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=`[/|([{<"']`,c=[{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}),u={className:`string`,begin:`~[a-z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end),o,i]}))},d={className:`string`,begin:`~[A-Z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end)]}))},f={className:`regex`,variants:[{begin:`~r(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),o,i]}))},{begin:`~R(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]}))}]},p={className:`string`,contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},h=e.inherit(m,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),g=[p,f,d,u,e.HASH_COMMENT_MODE,h,m,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:n+`:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=g,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:g}}var xVe=c((()=>{}));function SVe(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function CVe(e){return e?typeof e==`string`?e:e.source:null}function PD(e){return FD(`(?=`,e,`)`)}function FD(...e){return e.map(e=>CVe(e)).join(``)}function wVe(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ID(...e){return`(`+(wVe(e).capture?``:`?:`)+e.map(e=>CVe(e)).join(`|`)+`)`}function TVe(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(`.`),n={scope:`keyword`,match:/\b(yield|return|let|do|match|use)!/},r=[`if`,`else`,`endif`,`line`,`nowarn`,`light`,`r`,`i`,`I`,`load`,`time`,`help`,`quit`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__LINE__`,`__SOURCE_DIRECTORY__`,`__SOURCE_FILE__`],o=`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:i,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":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:FD(d,/``.*?``/)},{match:FD(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=FD(`[`,...Array.from(t).map(SVe),`]`),r=ID(n,/\./);return{scope:`operator`,match:ID(ID(FD(FD(r,PD(r)),r,`*`),FD(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:FD(t,PD(FD(/\s*/,ID(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:PD(ID(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:PD(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},x={begin:[/^\s*/,FD(/#/,ID(...r)),/\b/],beginScope:{2:`meta`},end:PD(/\s|$/)},ee={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},S={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},C={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},te={scope:`string`,begin:/"""/,end:/"""/,relevance:2},ne={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},re={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,ne]},w={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,ne]},ie={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},ne],relevance:2},ae={scope:`string`,match:FD(/'/,ID(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};ne.contains=[w,re,C,S,ae,n,c,u,_,b,x,ee,f,m];let oe={variants:[ie,w,re,te,C,S,ae]};return{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,oe,c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,te,C,S,ae,ee]},v,_,b,x,ee,f,m]}}var EVe=c((()=>{}));function DVe(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([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:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}var OVe=c((()=>{}));function kVe(e){let t=e.regex,n=`HTTP/([32]|1\\.[01])`,r={className:`attribute`,begin:t.concat(`^`,/[A-Za-z][A-Za-z0-9-]*/,`(?=\\:\\s)`),starts:{contains:[{className:`punctuation`,begin:/: /,relevance:0,starts:{end:`$`,relevance:0}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=`+n+` \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) `+n+`$)`,end:/$/,contains:[{className:`string`,begin:` `,end:` `,excludeBegin:!0,excludeEnd:!0},{className:`meta`,begin:n},{className:`keyword`,begin:`[A-Z]+`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(r,{relevance:0})]}}var AVe=c((()=>{}));function jVe(e){let t=`('|\\.')+`,n={relevance:0,contains:[{begin:t}]};return{name:`Matlab`,keywords:{keyword:`arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while`,built_in:`sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell `},illegal:`(//|"|#|/\\*|\\s+/\\w+)`,contains:[{className:`function`,beginKeywords:`function`,end:`$`,contains:[e.UNDERSCORE_TITLE_MODE,{className:`params`,variants:[{begin:`\\(`,end:`\\)`},{begin:`\\[`,end:`\\]`}]}]},{className:`built_in`,begin:/true|false/,relevance:0,starts:n},{begin:`[a-zA-Z][a-zA-Z_0-9]*`+t,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:n},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}var MVe=c((()=>{}));function NVe(e){let t=e.regex,n={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,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:`([a-z]+):/`,end:`\\s`,endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,n],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},n]};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\\}\\{]`}}var PVe=c((()=>{}));function FVe(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:/->/}]}}var IVe=c((()=>{}));function LVe(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$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=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={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+/}]}]}),u={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]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={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}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}var RVe=c((()=>{}));function zVe(e){let t=`[ \\t\\f]*`,n=t+`[:=][ \\t\\f]*`;``+n;let r=`([^\\\\:= \\t\\f\\n]|\\\\.)+`;return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:r+n},{begin:r+`[ \\t\\f]+`}],contains:[{className:`attr`,begin:r,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:r+t+`$`}]}}var BVe=c((()=>{}));function VVe(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={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}]},a={className:`type`,begin:`\\b[A-Z][A-Za-z0-9_]*`,relevance:0},o={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:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={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`}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:`keyword`}},p={className:`string`,begin:/\S+/};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:[p]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}var HVe=c((()=>{}));function UVe(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={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,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`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(`.`),b=`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(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}var WVe=c((()=>{}));function GVe(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={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(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f={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,n,e.C_BLOCK_COMMENT_MODE,c,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat([`self`]),relevance:0}]),relevance:0},h={begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C`,aliases:[`h`],keywords:f,disableAutodetect:!0,illegal:`</`,contains:[].concat(m,h,p,[l,{begin:e.IDENT_RE+`::`,keywords:f},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:f}}}var KVe=c((()=>{}));function qVe(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={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(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`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(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`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(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[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:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}var JVe=c((()=>{}));function YVe(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`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`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={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},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={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:`<!--|-->`},{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,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,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:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var XVe=c((()=>{}));function ZVe(e){let t=e.regex,n=QVe(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.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},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+rHe.join(`|`)+`)`},{begin:`:(:)?(`+iHe.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+aHe.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:nHe.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+tHe.join(`|`)+`)\\b`}]}}var QVe,$Ve,eHe,tHe,nHe,rHe,iHe,aHe,oHe=c((()=>{QVe=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_-]*/}}),$Ve=`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(`.`),eHe=`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(`.`),tHe=[...$Ve,...eHe],nHe=`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(),rHe=`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(),iHe=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),aHe=`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()}));function sHe(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:/$/}]}}var cHe=c((()=>{}));function lHe(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:/["']/}]}]}}var uHe=c((()=>{}));function dHe(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/]}}var fHe=c((()=>{}));function pHe(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=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(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var mHe=c((()=>{}));function hHe(e,t,n){return n===-1?``:e.replace(t,r=>hHe(e,t,n-1))}function gHe(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+hHe(`(?:<`+n+`~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={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`]},a={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,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+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[o,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:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,BD,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},BD,a]}}var LD,RD,zD,BD,_He=c((()=>{LD=`[0-9](_*[0-9])*`,RD=`\\.(${LD})`,zD=`[0-9a-fA-F](_*[0-9a-fA-F])*`,BD={className:`number`,variants:[{begin:`(\\b(${LD})((${RD})|\\.)?|(${RD}))[eE][+-]?(${LD})[fFdD]?\\b`},{begin:`\\b(${LD})((${RD})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${RD})[fFdD]?\\b`},{begin:`\\b(${LD})[fFdD]\\b`},{begin:`\\b0[xX]((${zD})\\.?|(${zD})?\\.(${zD}))[pP][+-]?(${LD})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${zD})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0}}));function vHe(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=VD,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:VD,keyword:yHe,literal:bHe,built_in:SHe,"variable.language":xHe},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\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},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,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:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},ee={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},S={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:{_:[...HD,...UD]}},C={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},te={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},ne={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function re(e){return t.concat(`(?!`,e.join(`|`),`)`)}let w={match:t.concat(/\b/,re([...WD,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},ie={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},ae={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},oe=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,se={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(oe)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,S,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},se,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:oe,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:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},te,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},ie,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},w,ne,ee,ae,{match:/\$[(.]/}]}}var VD,yHe,bHe,HD,UD,WD,xHe,SHe,CHe=c((()=>{VD=`[A-Za-z$_][0-9A-Za-z$_]*`,yHe=`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(`.`),bHe=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],HD=`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(`.`),UD=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],WD=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],xHe=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],SHe=[].concat(WD,HD,UD)}));function wHe(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var THe=c((()=>{}));function EHe(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`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=DHe,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{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,n,r,s,c,{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,c,o,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,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
|
||
`},l]}}var GD,KD,qD,DHe,OHe=c((()=>{GD=`[0-9](_*[0-9])*`,KD=`\\.(${GD})`,qD=`[0-9a-fA-F](_*[0-9a-fA-F])*`,DHe={className:`number`,variants:[{begin:`(\\b(${GD})((${KD})|\\.)?|(${KD}))[eE][+-]?(${GD})[fFdD]?\\b`},{begin:`\\b(${GD})((${KD})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${KD})[fFdD]?\\b`},{begin:`\\b(${GD})[fFdD]\\b`},{begin:`\\b0[xX]((${qD})\\.?|(${qD})?\\.(${qD}))[pP][+-]?(${GD})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${qD})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0}}));function kHe(e){let t=AHe(e),n=IHe,r=`[\\w-]+`,i=`(`+r+`|@\\{[\\w-]+\\})`,a=[],o=[],s=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},c=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:PHe.join(` `)},u={begin:`\\(`,end:`\\)`,contains:o,keywords:l,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s(`'`),s(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,u,c(`variable`,`@@?`+r,10),c(`variable`,`@\\{`+r+`\\}`),c(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:r+`\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let d=o.concat({begin:/\{/,end:/\}/,contains:a}),f={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(o)},p={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+FHe.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:o}}]},m={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}},h={className:`variable`,variants:[{begin:`@`+r+`\\s*:`,relevance:15},{begin:`@`+r}],starts:{end:`[;}]`,returnEnd:!0,contains:d}},g={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,c(`keyword`,`all\\b`),c(`variable`,`@\\{`+r+`\\}`),{begin:`\\b(`+NHe.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,c(`selector-tag`,i,0),c(`selector-id`,`#`+i),c(`selector-class`,`\\.`+i,0),c(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+JD.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+YD.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:`!important`},t.FUNCTION_DISPATCH]},_={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[g]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,_,p,g,f,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}var AHe,jHe,MHe,NHe,PHe,JD,YD,FHe,IHe,LHe=c((()=>{AHe=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_-]*/}}),jHe=`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(`.`),MHe=`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(`.`),NHe=[...jHe,...MHe],PHe=`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(),JD=`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(),YD=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),FHe=`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(),IHe=JD.concat(YD).sort().reverse()}));function RHe(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!`+t+`)`,`$`),e.COMMENT(`--`+t,n,{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:i.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:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}var zHe=c((()=>{}));function BHe(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={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,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={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,n,r,i,a,o]}}var VHe=c((()=>{}));function HHe(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={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}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\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}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.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}]},c={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}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}var UHe=c((()=>{}));function WHe(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+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r=[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`],i=`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(`.`),a=[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],o=[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],s={"variable.language":[`this`,`super`],$pattern:n,keyword:i,literal:a,built_in:o,type:r},c={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:s,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:`(`+c.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}var GHe=c((()=>{}));function KHe(e){let t=e.regex,n=`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}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={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]},l={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,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{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}]},l,{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:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`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,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}var qHe=c((()=>{}));function JHe(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
||
]`,m={scope:`string`,variants:[u,l,d,f]},h={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},g=[`false`,`null`,`true`],_=`__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(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),x={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},ee=t.concat(r,`\\b(?!\\()`),S={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),ee],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),ee],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},C={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},te={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[C,o,S,e.C_BLOCK_COMMENT_MODE,m,h,x]},ne={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[te]};te.contains.push(ne);let re=[C,S,e.C_BLOCK_COMMENT_MODE,m,h,x],w={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...re]},...re,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[w,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/},o,ne,S,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},x,{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:y,contains:[`self`,w,o,S,e.C_BLOCK_COMMENT_MODE,m,h]}]},{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]},m,h]}}var YHe=c((()=>{}));function XHe(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}var ZHe=c((()=>{}));function QHe(e){let t=e.regex,n=/[\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(`.`),i={$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`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{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,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[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(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,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:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}var $He=c((()=>{}));function eUe(e){let t=e.regex,n=/(?:(?:[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]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,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:n},{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:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var tUe=c((()=>{}));function nUe(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a=[`include`,`extend`,`prepend`,`public`,`private`,`protected`,`raise`,`throw`],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`,...a],built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},s={className:`doctag`,begin:`@[A-Za-z]+`},c={begin:`#<`,end:`>`},l=[e.COMMENT(`#`,`$`,{contains:[s]}),e.COMMENT(`^=begin`,`^=end`,{contains:[s],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],u={className:`subst`,begin:/#\{/,end:/\}/,keywords:o},d={className:`string`,contains:[e.BACKSLASH_ESCAPE,u],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,u]})]}]},f=`[0-9](_?[0-9])*`,p={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${f}))?([eE][+-]?(${f})|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`}]},m={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},h={match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:o},g={variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:o},_={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},v={match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},y=[d,g,h,{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},_,{relevance:0,match:r,scope:`title.class`},v,{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[d,{begin:n}],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,u],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(c,l),relevance:0}].concat(c,l);u.contains=y,m.contains=y;let b=[{begin:/^\s*=>/,starts:{end:`$`,contains:y}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:o,contains:y}}];return l.unshift(c),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(b,l,y)}}var rUe=c((()=>{}));function iUe(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`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(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,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_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],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:u}},{className:`punctuation`,begin:`->`},a]}}var aUe=c((()=>{}));function oUe(e){let t=sUe(e),n=pUe,r=fUe,i=`@[a-z-]+`,a={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(`+uUe.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+mUe.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,a,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:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:dUe.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}var sUe,cUe,lUe,uUe,dUe,fUe,pUe,mUe,hUe=c((()=>{sUe=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_-]*/}}),cUe=`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(`.`),lUe=`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(`.`),uUe=[...cUe,...lUe],dUe=`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(),fUe=`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(),pUe=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),mUe=`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()}));function gUe(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}var _Ue=c((()=>{}));function vUe(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`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(`.`),c=[`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(`.`),u=`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(`.`),d=[`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`],f=[`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=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={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 y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}var yUe=c((()=>{}));function bUe(e){return e?typeof e==`string`?e:e.source:null}function XD(e){return ZD(`(?=`,e,`)`)}function ZD(...e){return e.map(e=>bUe(e)).join(``)}function xUe(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function QD(...e){return`(`+(xUe(e).capture?``:`?:`)+e.map(e=>bUe(e)).join(`|`)+`)`}function SUe(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,QD(...CUe,...eO)],className:{2:`keyword`}},a={match:ZD(/\./,QD(...tO)),relevance:0},o=tO.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:QD(...tO.filter(e=>typeof e!=`string`).concat(wUe).map($D),...eO)}]},c={$pattern:QD(/\b\w+/,/#\w+/),keyword:o.concat(EUe),literal:nO},l=[i,a,s],u=[{match:ZD(/\./,QD(...rO)),relevance:0},{className:`built_in`,match:ZD(/\b/,QD(...rO),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:oO},{match:`\\.(\\.|${aO})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:ZD(/\\/,e,/[0\\tnr"']/)},{match:ZD(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:ZD(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:ZD(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:ZD(e,/"""/),end:ZD(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:ZD(e,/"/),end:ZD(/"/,e),contains:[g(e),v(e)]}),x={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},ee=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],S={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:ee},C=e=>{let t=ZD(e,/\//),n=ZD(/\//,e);return{begin:t,end:n,contains:[...ee,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},te={scope:`regexp`,variants:[C(`###`),C(`##`),C(`#`),S]},ne={match:ZD(/`/,lO,/`/)},re=[ne,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${cO}+`}],w=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:OUe,contains:[...f,h,x]}]}},{scope:`keyword`,match:ZD(/@/,QD(...DUe),XD(QD(/\(/,/\s+/)))},{scope:`meta`,match:ZD(/@/,lO)}],ie={match:XD(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:ZD(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,cO,`+`)},{className:`type`,match:uO,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ZD(/\s+&\s+/,XD(uO)),relevance:0}]},ae={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...w,d,ie]};ie.contains.push(ae);let oe={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:ZD(lO,/\s*:/),keywords:`_|0`,relevance:0},...r,te,...l,...u,...f,h,x,...re,...w,ie]},se={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,ie]},ce={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:QD(XD(ZD(lO,/\s*:/)),XD(ZD(lO,/\s+/,lO,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:lO}]},...r,...l,...f,h,x,...w,ie,oe],endsParent:!0,illegal:/["']/},le={match:[/(func|macro)/,/\s+/,QD(ne.match,lO,oO)],className:{1:`keyword`,3:`title.function`},contains:[se,ce,t],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[se,ce,t],illegal:/\[|%/},de={match:[/operator/,/\s+/,oO],className:{1:`keyword`,3:`title`}},fe={begin:[/precedencegroup/,/\s+/,uO],className:{1:`keyword`,3:`title`},contains:[ie],keywords:[...TUe,...nO],end:/}/},pe={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},me={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},he={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,lO,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[se,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:uO},...l],relevance:0}]};for(let e of x.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,x,...re];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,le,ue,pe,me,he,de,fe,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},te,...l,...u,...f,h,x,...re,...w,ie,oe]}}var $D,CUe,eO,wUe,tO,nO,TUe,EUe,rO,iO,aO,oO,sO,cO,lO,uO,DUe,OUe,kUe=c((()=>{$D=e=>ZD(/\b/,e,/\w$/.test(e)?/\b/:/\B/),CUe=[`Protocol`,`Type`].map($D),eO=[`init`,`self`].map($D),wUe=[`Any`,`Self`],tO=[`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`],nO=[`false`,`nil`,`true`],TUe=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],EUe=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],rO=`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(`.`),iO=QD(/[/=\-+!*%<>&|^~?]/,/[\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]/),aO=QD(iO,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),oO=ZD(iO,aO,`*`),sO=QD(/[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]/),cO=QD(sO,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),lO=ZD(sO,cO,`*`),uO=ZD(/[A-Z]/,cO,`*`),DUe=[`attached`,`autoclosure`,ZD(/convention\(/,QD(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,ZD(/objc\(/,lO,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],OUe=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`]}));function AUe(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=dO,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:dO,keyword:fO,literal:pO,built_in:vO,"variable.language":_O},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\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},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,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:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},ee={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},S={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:{_:[...mO,...hO]}},C={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},te={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},ne={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function re(e){return t.concat(`(?!`,e.join(`|`),`)`)}let w={match:t.concat(/\b/,re([...gO,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},ie={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},ae={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},oe=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,se={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(oe)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),C,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,S,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},se,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:oe,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:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},te,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},ie,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},w,ne,ee,ae,{match:/\$[(.]/}]}}function jUe(e){let t=e.regex,n=AUe(e),r=dO,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:dO,keyword:fO.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:pO,built_in:vO.concat(i),"variable.language":_O},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}var dO,fO,pO,mO,hO,gO,_O,vO,MUe=c((()=>{dO=`[A-Za-z$_][0-9A-Za-z$_]*`,fO=`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(`.`),pO=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],mO=`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(`.`),hO=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],gO=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],_O=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],vO=[].concat(gO,mO,hO)}));function NUe(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{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:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{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(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var PUe=c((()=>{}));function FUe(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={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,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={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},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{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}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}var IUe=c((()=>{})),LUe=l(((e,t)=>{function n(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],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),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=u({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 typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var ee=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function S(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=ee.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var C=/\b\B/,te=`[a-zA-Z]\\w*`,ne=`[a-zA-Z_]\\w*`,re=`\\b\\d+(\\.\\d+)?`,w=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,ie=`\\b(0b[01]+)`,ae=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,oe=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},se={begin:`\\\\[\\s\\S]`,relevance:0},ce={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[se]},le={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[se]},ue={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/},de=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);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 i=y(`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:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},fe=de(`//`,`$`),pe=de(`/\\*`,`\\*/`),me=de(`#`,`$`),he={scope:`number`,begin:re,relevance:0},ge={scope:`number`,begin:w,relevance:0},_e={scope:`number`,begin:ie,relevance:0},ve={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[se,{begin:/\[/,end:/\]/,relevance:0,contains:[se]}]},ye={scope:`title`,begin:te,relevance:0},be={scope:`title`,begin:ne,relevance:0},xe={begin:`\\.\\s*`+ne,relevance:0},Se=Object.freeze({__proto__:null,APOS_STRING_MODE:ce,BACKSLASH_ESCAPE:se,BINARY_NUMBER_MODE:_e,BINARY_NUMBER_RE:ie,COMMENT:de,C_BLOCK_COMMENT_MODE:pe,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:ge,C_NUMBER_RE:w,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:me,IDENT_RE:te,MATCH_NOTHING_RE:C,METHOD_GUARD:xe,NUMBER_MODE:he,NUMBER_RE:re,PHRASAL_WORDS_MODE:ue,QUOTE_STRING_MODE:le,REGEXP_MODE:ve,RE_STARTERS_RE:ae,SHEBANG:oe,TITLE_MODE:ye,UNDERSCORE_IDENT_RE:ne,UNDERSCORE_TITLE_MODE:be});function Ce(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function we(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Te(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=Ce,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Ee(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function De(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 Oe(e,t){e.relevance===void 0&&(e.relevance=1)}var ke=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Ae=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],je=`keyword`;function Me(e,t,n=je){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Me(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,Ne(n[0],n[1])]})}}function Ne(e,t){return t?Number(t):Pe(e)?0:1}function Pe(e){return Ae.includes(e.toLowerCase())}var Fe={},Ie=e=>{console.error(e)},Le=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Re=(e,t)=>{Fe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Fe[`${e}/${t}`]=!0)},ze=Error();function Be(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Ve(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Ie(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),ze;if(typeof e.beginScope!=`object`||e.beginScope===null)throw Ie(`beginScope must be object`),ze;Be(e,e.begin,{key:`beginScope`}),e.begin=S(e.begin,{joinWith:``})}}function He(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Ie(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),ze;if(typeof e.endScope!=`object`||e.endScope===null)throw Ie(`endScope must be object`),ze;Be(e,e.end,{key:`endScope`}),e.end=S(e.end,{joinWith:``})}}function Ue(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function We(e){Ue(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Ve(e),He(e)}function Ge(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{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+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=t(S(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),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 n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(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}function o(n,r){let a=n;if(n.isCompiled)return a;[we,De,We,ke].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[Te,Ee,Oe].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=Me(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return eee(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}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=a(e.classNameAliases||{}),o(e)}function Ke(e){return e?e.endsWithParent||Ke(e.starts):!1}function eee(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ke(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var tee=`11.11.1`,nee=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},qe=i,Je=a,Ye=Symbol(`nomatch`),Xe=7,Ze=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=ce(n[1]);return t||(Le(s.replace(`{}`,n[1])),Le(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||ce(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(Re(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),Re(`10.7.0`,`Please use highlight(code, options) instead.
|
||
https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};me(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,me(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!ae.keywords){se.addText(le);return}let e=0;ae.keywordPatternRe.lastIndex=0;let t=ae.keywordPatternRe.exec(le),n=``;for(;t;){n+=le.substring(e,t.index);let r=re.case_insensitive?t[0].toLowerCase():t[0],i=u(ae,r);if(i){let[e,a]=i;if(se.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Xe&&(ue+=a),e.startsWith(`_`))n+=t[0];else{let n=re.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=ae.keywordPatternRe.lastIndex,t=ae.keywordPatternRe.exec(le)}n+=le.substring(e),se.addText(n)}function f(){if(le===``)return;let e=null;if(typeof ae.subLanguage==`string`){if(!t[ae.subLanguage]){se.addText(le);return}e=v(ae.subLanguage,le,!0,oe[ae.subLanguage]),oe[ae.subLanguage]=e._top}else e=ee(le,ae.subLanguage.length?ae.subLanguage:null);ae.relevance>0&&(ue+=e.relevance),se.__addSublanguage(e._emitter,e.language)}function p(){ae.subLanguage==null?d():f(),le=``}function m(e,t){e!==``&&(se.startScope(t),se.addText(e),se.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=re.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(le=i,d(),le=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&se.openNode(re.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(le,re.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),le=``):e.beginScope._multi&&(h(e.beginScope,t),le=``)),ae=Object.create(e,{parent:{value:ae}}),ae}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return ae.matcher.regexIndex===0?(le+=e[0],1):(pe=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?le+=t:(n.excludeBegin&&(le+=t),p(),!n.returnBegin&&!n.excludeBegin&&(le=t)),g(n,e),n.returnBegin?0:t.length}function S(e){let t=e[0],r=n.substring(e.index),i=_(ae,e,r);if(!i)return Ye;let a=ae;ae.endScope&&ae.endScope._wrap?(p(),m(t,ae.endScope._wrap)):ae.endScope&&ae.endScope._multi?(p(),h(ae.endScope,e)):a.skip?le+=t:(a.returnEnd||a.excludeEnd||(le+=t),p(),a.excludeEnd&&(le=t));do ae.scope&&se.closeNode(),!ae.skip&&!ae.subLanguage&&(ue+=ae.relevance),ae=ae.parent;while(ae!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function C(){let e=[];for(let t=ae;t!==re;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>se.openNode(e))}let te={};function ne(t,r){let a=r&&r[0];if(le+=t,a==null)return p(),0;if(te.type===`begin`&&r.type===`end`&&te.index===r.index&&a===``){if(le+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=te.rule,t}return 1}if(te=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(ae.scope||`<unnamed>`)+`"`);throw e.mode=ae,e}else if(r.type===`end`){let e=S(r);if(e!==Ye)return e}if(r.type===`illegal`&&a===``)return le+=`
|
||
`,1;if(fe>1e5&&fe>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return le+=a,a.length}let re=ce(e);if(!re)throw Ie(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let w=Ge(re),ie=``,ae=a||w,oe={},se=new l.__emitter(l);C();let le=``,ue=0,de=0,fe=0,pe=!1;try{if(re.__emitTokens)re.__emitTokens(n,se);else{for(ae.matcher.considerAll();;){fe++,pe?pe=!1:ae.matcher.considerAll(),ae.matcher.lastIndex=de;let e=ae.matcher.exec(n);if(!e)break;let t=ne(n.substring(de,e.index),e);de=e.index+t}ne(n.substring(de))}return se.finalize(),ie=se.toHTML(),{language:e,value:ie,relevance:ue,illegal:!1,_emitter:se,_top:ae}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:qe(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:de,context:n.slice(de-100,de+100),mode:t.mode,resultSoFar:ie},_emitter:se};if(o)return{language:e,value:qe(n),illegal:!1,relevance:0,errorRaised:t,_emitter:se,_top:ae};throw t}}function b(e){let t={value:qe(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function ee(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(ce).filter(ue).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(ce(e.language).supersetOf===t.language)return 1;if(ce(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function S(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function C(e){let t=null,n=d(e);if(u(n))return;if(me(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.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)),l.throwUnescapedHTML))throw new nee(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):ee(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,S(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),me(`after:highlightElement`,{el:e,result:i,text:r})}function te(e){l=Je(l,e)}let ne=()=>{ie(),Re(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function re(){ie(),Re(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let w=!1;function ie(){function e(){ie()}if(document.readyState===`loading`){w||window.addEventListener(`DOMContentLoaded`,e,!1),w=!0;return}document.querySelectorAll(l.cssSelector).forEach(C)}function ae(n,r){let i=null;try{i=r(e)}catch(e){if(Ie(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)Ie(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&le(i.aliases,{languageName:n})}function oe(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function se(){return Object.keys(t)}function ce(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function le(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function ue(e){let t=ce(e);return t&&!t.disableAutodetect}function de(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))})}function fe(e){de(e),a.push(e)}function pe(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function me(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function he(e){return Re(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),Re(`10.7.0`,`Please use highlightElement now.`),C(e)}Object.assign(e,{highlight:p,highlightAuto:ee,highlightAll:ie,highlightElement:C,highlightBlock:he,configure:te,initHighlighting:ne,initHighlightingOnLoad:re,registerLanguage:ae,unregisterLanguage:oe,listLanguages:se,getLanguage:ce,registerAliases:le,autoDetection:ue,inherit:Je,addPlugin:fe,removePlugin:pe}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=tee,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in Se)typeof Se[e]==`object`&&n(Se[e]);return Object.assign(e,Se),e},Qe=Ze({});Qe.newInstance=()=>Ze({}),t.exports=Qe,Qe.HighlightJS=Qe,Qe.default=Qe})),RUe,zUe,BUe=c((()=>{RUe=f(LUe()),zUe=RUe.default}));function VUe(e){let t=zUe.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||yO,a=typeof i.prefix==`string`?i.prefix:HUe;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:UUe,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||yO).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var yO,HUe,UUe,WUe=c((()=>{cw(),BUe(),yO={},HUe=`hljs-`,UUe=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],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}}})),GUe=c((()=>{WUe()}));function KUe(e){let t=e||JUe,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=`hljs`,l=e?.lowlight??VUe(i);if(n&&l.registerAlias(n),o){let e=o.indexOf(`-`);c=e>-1?o.slice(0,e):o}return(e,t)=>{bD(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let u=qUe(e);if(u===`no-highlight`||!u&&!r||u&&a?.includes(u))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(c)||e.properties.className.unshift(c);let d;try{d=u?l.highlight(u,eVe(i),{prefix:o}):l.highlightAuto(eVe(i),{prefix:o,subset:s})}catch(n){let r=n;if(u&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${u}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}throw r}!u&&d.data?.language&&e.properties.className.push(`language-`+d.data.language),d.children.length>0&&(e.children=d.children)})}}function qUe(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return SD[n||``]||n}var JUe,YUe=c((()=>{pVe(),GUe(),xD(),KBe(),JUe={}})),XUe=c((()=>{YUe()}));function bO(e){return e?.type===`text`}function ZUe(e){return e?.type===`element`}function QUe(e){return{type:`text`,value:e}}function $Ue(){return{type:`text`,value:`
|
||
`}}function eWe(){return e=>{bD(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=tWe(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!bO(n)||bO(n)&&!xO(n))&&(e.children.push($Ue()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function tWe(e,t=[],n){let r=()=>t[t.length-1]??(t.push(nWe())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(bO(i)&&xO(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[QUe(i)]}):r()?.children.push(QUe(i)),o!==a.length-1&&t.push(nWe())})}else ZUe(i)&&i.children.some(xO)?tWe(i,t,!0):r()?.children.push(i)}),t}function nWe(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function xO(e){return bO(e)&&/\r?\n/.test(e.value)||ZUe(e)&&e.children.some(xO)}var rWe=c((()=>{xD()}));function iWe(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${SD[t.lang]??t.lang}`,i=fD().use(nRe,{fragment:!0}).use(aWe(e)).use(KUe,{languages:t.languages}).use(t?.lineNumbers?eWe:(()=>{})).use(pBe).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),i):i}function aWe(e){return()=>t=>{bD(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var oWe=c((()=>{iRe(),hBe(),PBe(),xD(),KBe(),XUe(),rWe()})),sWe=c((()=>{oWe()})),cWe=l(((e,t)=>{t.exports=function(e){let t={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:`variable`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={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},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:`string`,begin:/\\"/,relevance:0},o={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:[n,r,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}}})),lWe,SO,uWe=c((()=>{WVe(),KVe(),hVe(),JVe(),XVe(),oHe(),_Ve(),cHe(),yVe(),xVe(),EVe(),uHe(),fHe(),OVe(),AVe(),mHe(),_He(),CHe(),THe(),OHe(),LHe(),zHe(),VHe(),UHe(),MVe(),PVe(),GHe(),IVe(),qHe(),YHe(),ZHe(),RVe(),BVe(),$He(),tUe(),rUe(),aUe(),HVe(),hUe(),_Ue(),yUe(),kUe(),MUe(),PUe(),IUe(),lWe=f(cWe(),1),SO={bash:UVe,c:GVe,clojure:mVe,cpp:qVe,csharp:YVe,css:ZVe,curl:lWe.default,dart:gVe,diff:sHe,docker:vVe,dockerfile:vVe,elixir:bVe,fsharp:TVe,go:lHe,graphql:dHe,haskell:DVe,html:NUe,http:kVe,ini:pHe,java:gHe,javascript:vHe,json:wHe,kotlin:EHe,less:kHe,lua:RHe,makefile:BHe,markdown:HHe,matlab:jVe,nginx:NVe,objectivec:WHe,ocaml:FVe,perl:KHe,php:JHe,plaintext:XHe,powershell:LVe,properties:zVe,python:QHe,r:eUe,ruby:nUe,rust:iUe,scala:VVe,scss:oUe,shell:gUe,sql:vUe,swift:SUe,toml:pHe,typescript:jUe,xml:NUe,yaml:FUe}})),dWe=c((()=>{uWe()})),fWe=c((()=>{})),CO,pWe,wO,mWe=c((()=>{fWe(),CO=typeof self==`object`?self:globalThis,pWe=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new CO[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new CO[a](o),i)};return r},wO=e=>pWe(new Map,e)(0)})),TO,hWe,gWe,EO,DO,_We,OO,vWe=c((()=>{fWe(),TO=``,{toString:hWe}={},{keys:gWe}=Object,EO=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=hWe.call(e).slice(8,-1);switch(n){case`Array`:return[1,TO];case`Object`:return[2,TO];case`Date`:return[3,TO];case`RegExp`:return[4,TO];case`Map`:return[5,TO];case`Set`:return[6,TO]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},DO=([e,t])=>e===0&&(t===`function`||t===`symbol`),_We=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=EO(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of gWe(r))(e||!DO(EO(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(DO(EO(n))||DO(EO(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!DO(EO(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},OO=(e,{json:t,lossy:n}={})=>{let r=[];return _We(!(t||n),!!t,new Map,r)(e),r}})),kO,AO=c((()=>{mWe(),vWe(),kO=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?wO(OO(e,t)):structuredClone(e):(e,t)=>wO(OO(e,t))}));function yWe(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return xWe.test(e)?!1:bWe.test(e)}var bWe,xWe,SWe=c((()=>{bWe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,xWe=/^[a-zA-Z]:\\/}));function CWe(e){let t=e||EWe,n=t.protocols||wWe,r=ED(t.test);return function(e){bD(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(yWe(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=jO(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=jO(t.rel,e)||TWe,a=typeof i==`string`?Rw(i):i,o=jO(t.target,e),s=jO(t.properties,e);if(s&&Object.assign(e.properties,kO(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=jO(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:kO(n),children:kO(r)})}}}})}}function jO(e,t){return typeof e==`function`?e(t):e}var wWe,TWe,EWe,DWe=c((()=>{AO(),DD(),SWe(),zw(),xD(),wWe=[`http`,`https`],TWe=[`nofollow`],EWe={}})),OWe=c((()=>{DWe()})),MO,kWe=c((()=>{DD(),MO=ED(function(e){return e.tagName===`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`})})),NO=c((()=>{kWe()})),AWe,jWe=c((()=>{AWe=`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(`.`)})),MWe,NWe=c((()=>{MWe=[`button`,`input`,`select`,`textarea`]})),PWe,FWe=c((()=>{PWe=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`]}));function IWe(e,t){LWe(e,{collapse:JWe((t||XWe).newlines?KWe:qWe),whitespace:`normal`})}function LWe(e,t){if(`children`in e){let n={...t};return(e.type===`root`||UWe(e))&&(n.before=!0,n.after=!0),n.whitespace=YWe(e,t),zWe(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return RWe(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:PO(e),stripAtStart:!1,remove:!1}}function RWe(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&GWe(n.charAt(0))&&i++,i!==a&&GWe(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function zWe(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=LWe(i[o],{...t,after:BWe(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),HWe(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function BWe(e,t,n){for(;++t<e.length;){let n=e[t],r=VWe(n);if(r===void 0&&`children`in n&&!WWe(n)&&(r=BWe(n.children,-1)),typeof r==`boolean`)return r}return n}function VWe(e){if(e.type===`element`){if(HWe(e))return!1;if(UWe(e))return!0}else if(e.type===`text`){if(!$E(e))return!1}else if(!PO(e))return!1}function HWe(e){return MO(e)||TD(e,MWe)}function UWe(e){return TD(e,AWe)}function WWe(e){return!!(e.type===`element`&&e.properties.hidden)||PO(e)||TD(e,PWe)}function GWe(e){return e===` `||e===`
|
||
`}function KWe(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function qWe(){return` `}function JWe(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function YWe(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`;default:}return t.whitespace}var XWe,PO,ZWe=c((()=>{NO(),DD(),eD(),hD(),jWe(),NWe(),FWe(),XWe={},PO=mD([`comment`,`doctype`])})),QWe=c((()=>{ZWe()}));function $We(e,t){let n=e.type===`element`&&eGe.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var eGe,tGe=c((()=>{eGe={}.hasOwnProperty})),nGe=c((()=>{tGe()}));function rGe(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!iGe.has(String(t[n])))return!1;return!0}var iGe,aGe=c((()=>{iGe=new Set([`pingback`,`prefetch`,`stylesheet`])})),oGe=c((()=>{aGe()}));function sGe(e){return!!(e.type===`text`||cGe(e)||MO(e)||rGe(e)||lGe(e)&&$We(e,`itemProp`))}var cGe,lGe,uGe=c((()=>{NO(),nGe(),oGe(),DD(),cGe=ED(`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(`.`)),lGe=ED(`meta`)})),dGe=c((()=>{uGe()})),fGe,pGe=c((()=>{fGe=[`pre`,`script`,`style`,`textarea`]})),mGe=c((()=>{pGe()}));function hGe(e,t){let n=t||_Ge,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};IWe(e,{newlines:!0}),gD(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&fGe.includes(e.tagName))return vD;if(e.children.length===0||!FO(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
|
||
`)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(FO(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||FO(r,s))&&($E(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=(gGe(r,i&&$E(i)?e[e.length-2]:i)&&gGe(r,n)?`
|
||
|
||
`:`
|
||
`)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=$E(i)?a:i.value+a:e.push({type:`text`,value:a})}}function gGe(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function FO(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||MO(t)||!sGe(t):!1)}var _Ge,vGe=c((()=>{NO(),QWe(),dGe(),eD(),mGe(),yD(),_Ge={}})),yGe=c((()=>{vGe()}));function bGe(e){return function(t){hGe(t,e)}}var xGe=c((()=>{yGe()})),SGe=c((()=>{xGe()}));function CGe(e,t){let n=(t||jGe).space;return RO(e,n===`svg`?Pw:Nw)}function wGe(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=IO(e.children,n,t),LO(e,n),n}function TGe(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=IO(e.children,n,t),LO(e,n),n}function EGe(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return LO(e,t),t}function DGe(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return LO(e,t),t}function OGe(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return LO(e,t),t}function kGe(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=Pw);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&MGe.call(e.properties,a)){let t=AGe(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Uw[o],childNodes:[],parentNode:null};return s.childNodes=IO(e.children,s,r),LO(e,s),e.tagName===`template`&&e.content&&(s.content=TGe(e.content,r)),s}function AGe(e,t,n){let r=jw(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?DNe(n):jNe(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Uw[r.space]}return i}function IO(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=RO(e[r],n);a.parentNode=t,i.push(a)}return i}function LO(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var jGe,MGe,RO,NGe=c((()=>{Iw(),cw(),Fw(),zw(),Ww(),WE(),jGe={},MGe={}.hasOwnProperty,RO=HE(`type`,{handlers:{root:wGe,element:kGe,text:DGe,comment:OGe,doctype:EGe}})})),PGe=c((()=>{NGe()}));function FGe(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function IGe(e){let t=BO(e),n=zO(e);if(t&&n)return{start:t,end:n}}var zO,BO,LGe=c((()=>{zO=FGe(`end`),BO=FGe(`start`)})),VO=c((()=>{LGe()}));function RGe(e,t){let n=ZGe(e),r=HE(`type`,{handlers:{root:BGe,element:VGe,text:HGe,comment:GGe,doctype:UGe,raw:KGe},unknown:qGe}),i={parser:n?new oE(WO):oE.getFragmentParser(void 0,WO),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),HO(i,BO());let a=YNe(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&bD(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function zGe(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function BGe(e,t){zGe(e.children,t)}function VGe(e,t){YGe(e,t),zGe(e.children,t),XGe(e,t)}function HGe(e,t){let n={type:$w.CHARACTER,chars:e.value,location:UO(e)};HO(t,BO(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function UGe(e,t){let n={type:$w.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:UO(e)};HO(t,BO(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function WGe(e,t){t.stitches=!0;let n=QGe(e);`children`in e&&`children`in n&&(n.children=RGe({type:`root`,children:e.children},t.options).children),GGe({type:`comment`,value:{stitch:n}},t)}function GGe(e,t){let n=e.value,r={type:$w.COMMENT,data:n,location:UO(e)};HO(t,BO(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function KGe(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,JGe(t,BO(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function qGe(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))WGe(n,t);else{let e=``;throw $Ge.has(n.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 `"+n.type+"` node"+e)}}function HO(e,t){JGe(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,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=gT.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 JGe(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function YGe(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===gT.PLAINTEXT)return;HO(t,BO(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:Uw.html;i===Uw.html&&n===`svg`&&(i=Uw.svg);let a=CGe({...e,children:[]},{space:i===Uw.svg?`svg`:`html`}),o={type:$w.START_TAG,tagName:n,tagID:oT(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:UO(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function XGe(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&vE.includes(n)||t.parser.tokenizer.state===gT.PLAINTEXT)return;HO(t,zO(e));let r={type:$w.END_TAG,tagName:n,tagID:oT(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:UO(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===gT.RCDATA||t.parser.tokenizer.state===gT.RAWTEXT||t.parser.tokenizer.state===gT.SCRIPT_DATA)&&(t.parser.tokenizer.state=gT.DATA)}function ZGe(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function UO(e){let t=BO(e)||{line:void 0,column:void 0,offset:void 0},n=zO(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function QGe(e){return`children`in e?kO({...e,children:[]}):kO(e)}var $Ge,WO,eKe=c((()=>{AO(),nPe(),PGe(),aRe(),gLe(),VO(),xD(),Ww(),WE(),$Ge=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),WO={sourceCodeLocationInfo:!0,scriptingEnabled:!1}})),tKe=c((()=>{eKe()}));function nKe(e){return function(t,n){return RGe(t,{...e,file:n})}}var rKe=c((()=>{tKe()})),iKe=c((()=>{rKe()})),GO,KO,aKe=c((()=>{GO=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],KO={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...GO,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...GO],h2:[[`className`,`sr-only`]],img:[...GO,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...GO,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...GO],table:[...GO],ul:[...GO,[`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(`.`)}}));function oKe(e,t){let n={type:`root`,children:[]},r=sKe({schema:t?{...KO,...t}:KO,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function sKe(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return cKe(e,n);case`doctype`:return lKe(e,n);case`element`:return uKe(e,n);case`root`:return dKe(e,n);case`text`:return fKe(e,n);default:}}}function cKe(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return qO(r,t),r}}function lKe(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return qO(e,t),e}}function uKe(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=pKe(e,t.children),i=mKe(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&JO.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return qO(o,t),o}function dKe(e,t){let n={type:`root`,children:pKe(e,t.children)};return qO(n,t),n}function fKe(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return qO(n,t),n}function pKe(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=sKe(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function mKe(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&JO.call(r,n)?r[n]:void 0,o=r&&JO.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(JO.call(s,l)){let t=s[l],n=hKe(e,yKe(a,l),l,t);n??=hKe(e,yKe(o,l),l,t),n!=null&&(c[l]=n)}if(i&&JO.call(i,n)){let e=i[n];for(l in e)JO.call(e,l)&&!JO.call(c,l)&&(c[l]=e[l])}return c}function hKe(e,t,n,r){return t?Array.isArray(r)?gKe(e,t,n,r):_Ke(e,t,n,r):void 0}function gKe(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=_Ke(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function _Ke(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&vKe(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function vKe(e,t,n){let r=e.schema.protocols&&JO.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function qO(e,t){let n=IGe(t);t.data&&(e.data=kO(t.data)),n&&(e.position=n)}function yKe(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}var JO,bKe=c((()=>{AO(),VO(),aKe(),JO={}.hasOwnProperty})),xKe=c((()=>{bKe(),aKe()}));function SKe(e){return function(t){return oKe(t,e)}}var CKe=c((()=>{xKe()})),wKe=c((()=>{xKe(),CKe()}));function YO(e){return e!==null&&(e<32||e===127)}function XO(e){return e!==null&&e<-2}function ZO(e){return e!==null&&(e<0||e===32)}function QO(e){return e===-2||e===-1||e===32}function $O(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}var ek,tk,TKe,nk,EKe,DKe,rk,ik,ak=c((()=>{ek=$O(/[A-Za-z]/),tk=$O(/[\dA-Za-z]/),TKe=$O(/[#-'*+\--9=?A-Z^-~]/),nk=$O(/\d/),EKe=$O(/[\dA-Fa-f]/),DKe=$O(/[!-/:-@[-`{-~]/),rk=$O(/\p{P}|\p{S}/u),ik=$O(/\s/)}));function OKe(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var kKe=c((()=>{}));function AKe(e,t,n){let r=mD((n||{}).ignore||[]),i=jKe(t),a=-1;for(;++a<i.length;)gD(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function jKe(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([MKe(e[0]),NKe(e[1])])}return t}function MKe(e){return typeof e==`string`?new RegExp(OKe(e),`g`):e}function NKe(e){return typeof e==`function`?e:function(){return e}}var PKe=c((()=>{kKe(),yD(),hD()})),FKe=c((()=>{PKe()}));function IKe(){return{transforms:[UKe],enter:{literalAutolink:RKe,literalAutolinkEmail:ok,literalAutolinkHttp:ok,literalAutolinkWww:ok},exit:{literalAutolink:HKe,literalAutolinkEmail:VKe,literalAutolinkHttp:zKe,literalAutolinkWww:BKe}}}function LKe(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:sk,notInConstruct:ck},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:sk,notInConstruct:ck},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:sk,notInConstruct:ck}]}}function RKe(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function ok(e){this.config.enter.autolinkProtocol.call(this,e)}function zKe(e){this.config.exit.autolinkProtocol.call(this,e)}function BKe(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 VKe(e){this.config.exit.autolinkEmail.call(this,e)}function HKe(e){this.exit(e)}function UKe(e){AKe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,WKe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,GKe]],{ignore:[`link`,`linkReference`]})}function WKe(e,t,n,r,i){let a=``;if(!JKe(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!KKe(n)))return!1;let o=qKe(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function GKe(e,t,n,r){return!JKe(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function KKe(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])))}function qKe(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=QE(e,`(`),a=QE(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function JKe(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||ik(n)||rk(n))&&(!t||n!==47)}var sk,ck,YKe=c((()=>{fze(),cw(),ak(),FKe(),sk=`phrasing`,ck=[`autolink`,`link`,`image`,`label`]})),XKe=c((()=>{YKe()}));function lk(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var uk=c((()=>{}));function ZKe(){return{enter:{gfmFootnoteDefinition:$Ke,gfmFootnoteDefinitionLabelString:eqe,gfmFootnoteCall:rqe,gfmFootnoteCallString:iqe},exit:{gfmFootnoteDefinition:nqe,gfmFootnoteDefinitionLabelString:tqe,gfmFootnoteCall:oqe,gfmFootnoteCallString:aqe}}}function QKe(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:lqe,footnoteReference:sqe}}}function $Ke(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function eqe(){this.buffer()}function tqe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=lk(this.sliceSerialize(e)).toLowerCase()}function nqe(e){this.exit(e)}function rqe(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function iqe(){this.buffer()}function aqe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=lk(this.sliceSerialize(e)).toLowerCase()}function oqe(e){this.exit(e)}function sqe(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function cqe(){return`[`}function lqe(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),uqe)),o(),a}function uqe(e,t,n){return t===0?e:(n?``:` `)+e}var dqe=c((()=>{cw(),uk(),sqe.peek=cqe})),fqe=c((()=>{dqe()}));function pqe(){return{canContainEols:[`delete`],enter:{strikethrough:hqe},exit:{strikethrough:gqe}}}function mqe(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:yqe}],handlers:{delete:_qe}}}function hqe(e){this.enter({type:`delete`,children:[]},e)}function gqe(e){this.exit(e)}function _qe(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function vqe(){return`~`}var yqe,bqe=c((()=>{yqe=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],_qe.peek=vqe})),xqe=c((()=>{bqe()}));function Sqe(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||wqe,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=Cqe(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=Tqe(n[u]);else{let e=Tqe(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&!(t.alignDelimiters===!1&&a===``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
|
||
`)}function Cqe(e){return e==null?``:String(e)}function wqe(e){return e.length}function Tqe(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var Eqe=c((()=>{}));function Dqe(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Dqe(e,t.extensions[n]);for(r in t)if(Aqe.call(t,r))switch(r){case`extensions`:break;case`unsafe`:Oqe(e[r],t[r]);break;case`join`:Oqe(e[r],t[r]);break;case`handlers`:kqe(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function Oqe(e,t){t&&e.push(...t)}function kqe(e,t){t&&Object.assign(e,t)}var Aqe,jqe=c((()=>{Aqe={}.hasOwnProperty}));function Mqe(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Nqe);return i(),o}function Nqe(e,t,n){return`>`+(n?``:` `)+e}var Pqe=c((()=>{}));function Fqe(e,t){return Iqe(e,t.inConstruct,!0)&&!Iqe(e,t.notInConstruct,!1)}function Iqe(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}var Lqe=c((()=>{}));function Rqe(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
||
`&&Fqe(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
||
`}var zqe=c((()=>{Lqe()}));function Bqe(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}var Vqe=c((()=>{}));function dk(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}var Hqe=c((()=>{}));function Uqe(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}var Wqe=c((()=>{}));function Gqe(e,t,n,r){let i=Uqe(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(dk(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Kqe);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(Bqe(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
||
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
||
`),a&&(u+=s.move(a+`
|
||
`)),u+=s.move(c),l(),u}function Kqe(e,t,n){return(n?``:` `)+e}var qqe=c((()=>{Vqe(),Hqe(),Wqe()}));function fk(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var pk=c((()=>{}));function Jqe(e,t,n,r){let i=fk(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
||
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}var Yqe=c((()=>{pk()}));function Xqe(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}var Zqe=c((()=>{}));function Qqe(e,t,n,r){let i=Xqe(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function $qe(e,t,n){return n.options.emphasis||`*`}var eJe=c((()=>{Zqe(),Qqe.peek=$qe}));function mk(e,t){let n=t||iJe;return tJe(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function tJe(e,t,n){if(rJe(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return nJe(e.children,t,n)}return Array.isArray(e)?nJe(e,t,n):``}function nJe(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=tJe(e[i],t,n);return r.join(``)}function rJe(e){return!!(e&&typeof e==`object`)}var iJe,aJe=c((()=>{iJe={}})),hk=c((()=>{aJe()}));function oJe(e,t){let n=!1;return bD(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&mk(e)&&(t.options.setext||n))}var sJe=c((()=>{xD(),hk()}));function cJe(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(oJe(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
||
`,after:`
|
||
`});return r(),t(),o+`
|
||
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
||
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
||
`,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}var lJe=c((()=>{sJe()}));function uJe(e){return e.value||``}function dJe(){return`<`}var fJe=c((()=>{uJe.peek=dJe}));function pJe(e,t,n,r){let i=fk(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function mJe(){return`!`}var hJe=c((()=>{pk(),pJe.peek=mJe}));function gJe(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function _Je(){return`!`}var vJe=c((()=>{gJe.peek=_Je}));function yJe(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function bJe(){return"`"}var xJe=c((()=>{yJe.peek=bJe}));function SJe(e,t){let n=mk(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}var CJe=c((()=>{hk()}));function wJe(e,t,n,r){let i=fk(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(SJe(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function TJe(e,t,n){return SJe(e,n)?`<`:`[`}var EJe=c((()=>{pk(),CJe(),wJe.peek=TJe}));function DJe(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function OJe(){return`[`}var kJe=c((()=>{DJe.peek=OJe}));function gk(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}var _k=c((()=>{}));function AJe(e){let t=gk(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}var jJe=c((()=>{_k()}));function MJe(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}var NJe=c((()=>{}));function PJe(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}var FJe=c((()=>{}));function IJe(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?MJe(n):gk(n),s=e.ordered?o===`.`?`)`:`.`:AJe(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),PJe(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}var LJe=c((()=>{_k(),jJe(),NJe(),FJe()}));function RJe(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}var zJe=c((()=>{}));function BJe(e,t,n,r){let i=RJe(n),a=n.bulletCurrent||gk(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}var VJe=c((()=>{_k(),zJe()}));function HJe(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var UJe=c((()=>{})),WJe,GJe=c((()=>{hD(),WJe=mD([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`])})),KJe=c((()=>{GJe()}));function qJe(e,t,n,r){return(e.children.some(function(e){return WJe(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}var JJe=c((()=>{KJe()}));function YJe(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}var XJe=c((()=>{}));function ZJe(e,t,n,r){let i=YJe(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function QJe(e,t,n){return n.options.strong||`*`}var $Je=c((()=>{XJe(),ZJe.peek=QJe}));function eYe(e,t,n,r){return n.safe(e.value,r)}var tYe=c((()=>{}));function nYe(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}var rYe=c((()=>{}));function iYe(e,t,n){let r=(PJe(n)+(n.options.ruleSpaces?` `:``)).repeat(nYe(n));return n.options.ruleSpaces?r.slice(0,-1):r}var aYe=c((()=>{rYe(),FJe()})),vk,oYe=c((()=>{Pqe(),zqe(),qqe(),Yqe(),eJe(),lJe(),fJe(),hJe(),vJe(),xJe(),EJe(),kJe(),LJe(),VJe(),UJe(),JJe(),$Je(),tYe(),aYe(),vk={blockquote:Mqe,break:Rqe,code:Gqe,definition:Jqe,emphasis:Qqe,hardBreak:Rqe,heading:cJe,html:uJe,image:pJe,imageReference:gJe,inlineCode:yJe,link:wJe,linkReference:DJe,list:IJe,listItem:BJe,paragraph:HJe,root:qJe,strong:ZJe,text:eYe,thematicBreak:iYe}}));function sYe(e,t,n,r){if(t.type===`code`&&dk(t,r)&&(e.type===`list`||e.type===t.type&&dk(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&oJe(t,r))?void 0:n.spread?1:0}var cYe,lYe=c((()=>{Hqe(),sJe(),cYe=[sYe]})),yk,uYe,dYe=c((()=>{yk=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],uYe=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
|
||
`,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:yk},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
|
||
]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:yk},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
|
||
*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:yk},{atBreak:!0,character:`+`,after:`(?:[ \r
|
||
])`},{atBreak:!0,character:`-`,after:`(?:[ \r
|
||
-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
|
||
]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:yk},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:yk},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:yk},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:yk},{atBreak:!0,character:`~`}]}));function bk(e){let t=`&`+e+`;`;xk.innerHTML=t;let n=xk.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}var xk,Sk=c((()=>{xk=document.createElement(`i`)}));function fYe(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var pYe=c((()=>{}));function mYe(e){return e.replace(gYe,hYe)}function hYe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return fYe(n.slice(t?2:1),t?16:10)}return bk(n)||e}var gYe,_Ye=c((()=>{Sk(),pYe(),gYe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi}));function vYe(e){return e.label||!e.identifier?e.label||``:mYe(e.identifier)}var yYe=c((()=>{_Ye()}));function bYe(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}var xYe=c((()=>{}));function SYe(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
|
||
`)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}var CYe=c((()=>{}));function wYe(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
|
||
`,after:`
|
||
`,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(TYe(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function TYe(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
|
||
`.repeat(1+a);if(a===!1)return`
|
||
|
||
<!---->
|
||
|
||
`}return`
|
||
|
||
`}var EYe=c((()=>{}));function DYe(e,t){let n=[],r=0,i=0,a;for(;a=OYe.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}var OYe,kYe=c((()=>{OYe=/\r?\n|\r/g}));function AYe(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!Fqe(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(jYe);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(MYe(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(MYe(r.slice(c,l),n.after)),a.join(``)}function jYe(e,t){return e-t}function MYe(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}var NYe=c((()=>{Lqe()}));function PYe(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}var FYe=c((()=>{}));function IYe(e,t={}){let n={enter:i,indentLines:DYe,associationId:vYe,containerPhrasing:BYe,containerFlow:VYe,createTracker:PYe,compilePattern:bYe,safe:HYe,stack:[],unsafe:[...uYe],join:[...cYe],handlers:{...vk},options:{},indexStack:[],handle:void 0};Dqe(n,t),n.options.tightDefinitions&&n.join.push(zYe),n.handle=HE(`type`,{invalid:LYe,unknown:RYe,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
|
||
`,after:`
|
||
`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
|
||
`),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function LYe(e){throw Error("Cannot handle value `"+e+"`, expected node")}function RYe(e){let t=e;throw Error("Cannot handle unknown node `"+t.type+"`")}function zYe(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function BYe(e,t){return SYe(e,this,t)}function VYe(e,t){return wYe(e,this,t)}function HYe(e,t){return AYe(this,e,t)}var UYe=c((()=>{WE(),jqe(),oYe(),lYe(),dYe(),yYe(),xYe(),CYe(),EYe(),kYe(),NYe(),FYe()})),Ck=c((()=>{UYe(),oYe()}));function WYe(){return{enter:{table:GYe,tableData:JYe,tableHeader:JYe,tableRow:qYe},exit:{codeText:YYe,table:KYe,tableData:wk,tableHeader:wk,tableRow:wk}}}function GYe(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function KYe(e){this.exit(e),this.data.inTable=void 0}function qYe(e){this.enter({type:`tableRow`,children:[]},e)}function wk(e){this.exit(e)}function JYe(e){this.enter({type:`tableCell`,children:[]},e)}function YYe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,XYe));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function XYe(e,t){return t===`|`?t:e}function ZYe(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
||
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
||
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return Sqe(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=vk.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}var QYe=c((()=>{cw(),Eqe(),Ck()})),$Ye=c((()=>{QYe()}));function eXe(){return{exit:{taskListCheckValueChecked:nXe,taskListCheckValueUnchecked:nXe,paragraph:rXe}}}function tXe(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:iXe}}}function nXe(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function rXe(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function iXe(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=vk.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}var aXe=c((()=>{cw(),Ck()})),oXe=c((()=>{aXe()}));function sXe(){return[IKe(),ZKe(),pqe(),WYe(),eXe()]}function cXe(e){return{extensions:[LKe(),QKe(),mqe(),ZYe(e),tXe()]}}var lXe=c((()=>{XKe(),fqe(),xqe(),$Ye(),oXe()})),uXe=c((()=>{lXe()}));function Tk(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Ek(e,t){return e.length>0?(Tk(e,e.length,0,t),e):t}var Dk=c((()=>{}));function dXe(e){let t={},n=-1;for(;++n<e.length;)fXe(t,e[n]);return t}function fXe(e,t){let n;for(n in t){let r=(Ok.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Ok.call(r,a)||(r[a]=[]);let e=i[a];pXe(r[a],Array.isArray(e)?e:e?[e]:[])}}}function pXe(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Tk(e,0,0,r)}var Ok,mXe=c((()=>{Dk(),Ok={}.hasOwnProperty}));function hXe(){return{text:Lk}}function gXe(e,t,n){let r=this,i,a;return o;function o(t){return!kk(t)||!EXe.call(r,r.previous)||Ak(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return kk(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(OXe,u,l)(t):t===45||t===95||tk(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&ek(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function _Xe(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!wXe.call(r,r.previous)||Ak(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(DXe,e.attempt(jk,e.attempt(Mk,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function vXe(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&TXe.call(r,r.previous)&&!Ak(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(ek(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||YO(t)||ZO(t)||ik(t)||rk(t)?n(t):e.attempt(jk,e.attempt(Mk,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function yXe(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function bXe(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(Nk,c,s)(t):t===null||ZO(t)||ik(t)||t!==45&&rk(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function xXe(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Nk,t,a)(o):o===null||ZO(o)||ik(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function SXe(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||ZO(o)||ik(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||ZO(e)||ik(e)?t(e):r(e)}function a(e){return ek(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):ek(t)?(e.consume(t),o):n(t)}}function CXe(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return tk(e)?n(e):t(e)}}function wXe(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ZO(e)}function TXe(e){return!ek(e)}function EXe(e){return!(e===47||kk(e))}function kk(e){return e===43||e===45||e===46||e===95||tk(e)}function Ak(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var DXe,jk,Mk,Nk,OXe,Pk,Fk,Ik,Lk,Rk,kXe=c((()=>{for(ak(),DXe={tokenize:yXe,partial:!0},jk={tokenize:bXe,partial:!0},Mk={tokenize:xXe,partial:!0},Nk={tokenize:SXe,partial:!0},OXe={tokenize:CXe,partial:!0},Pk={tokenize:_Xe,previous:wXe},Fk={tokenize:vXe,previous:TXe},Ik={tokenize:gXe,previous:EXe},Lk={},Rk=48;Rk<123;)Lk[Rk]=Ik,Rk++,Rk===58?Rk=65:Rk===91&&(Rk=97);Lk[43]=Ik,Lk[45]=Ik,Lk[46]=Ik,Lk[95]=Ik,Lk[72]=[Ik,Fk],Lk[104]=[Ik,Fk],Lk[87]=[Ik,Pk],Lk[119]=[Ik,Pk]}));function zk(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&tk(e.charCodeAt(n+1))&&tk(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}var Bk=c((()=>{ak()})),AXe=c((()=>{kXe()}));function Vk(e){if(e===null||ZO(e)||ik(e))return 1;if(rk(e))return 2}var jXe=c((()=>{ak()}));function Hk(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var Uk=c((()=>{}));function MXe(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);PXe(d,-c),PXe(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>1?`strong`:`emphasis`,start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Ek(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Ek(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Ek(l,Hk(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Ek(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Ek(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Tk(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function NXe(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Vk(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=Vk(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function PXe(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Wk,FXe=c((()=>{Dk(),jXe(),Uk(),Wk={name:`attention`,tokenize:NXe,resolveAll:MXe}}));function IXe(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return ek(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||tk(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||tk(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||YO(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):TKe(t)?(e.consume(t),l):n(t)}function u(e){return tk(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||tk(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var LXe,RXe=c((()=>{ak(),LXe={name:`autolink`,tokenize:IXe}}));function Gk(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return QO(r)?(e.enter(n),s(r)):t(r)}function s(r){return QO(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var Kk=c((()=>{ak()}));function zXe(e,t,n){return r;function r(t){return QO(t)?Gk(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||XO(e)?t(e):n(e)}}var qk,Jk=c((()=>{Kk(),ak(),qk={tokenize:zXe,partial:!0}}));function BXe(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return QO(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function VXe(e,t,n){let r=this;return i;function i(t){return QO(t)?Gk(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(Yk,t,n)(r)}}function HXe(e){e.exit(`blockQuote`)}var Yk,UXe=c((()=>{Kk(),ak(),Yk={name:`blockQuote`,tokenize:BXe,continuation:{tokenize:VXe},exit:HXe}}));function WXe(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return DKe(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var Xk,GXe=c((()=>{ak(),Xk={name:`characterEscape`,tokenize:WXe}}));function KXe(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=tk,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=EKe,u):(e.enter(`characterReferenceValue`),a=7,o=nk,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===tk&&!bk(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Zk,qXe=c((()=>{Sk(),ak(),Zk={name:`characterReference`,tokenize:KXe}}));function JXe(e,t,n){let r=this,i={tokenize:x,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),QO(t)?Gk(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||XO(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Qk,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||XO(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):QO(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Gk(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||XO(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||XO(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&QO(t)?Gk(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||XO(t)?e.check(Qk,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||XO(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),QO(t)?Gk(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),QO(t)?Gk(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||XO(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function YXe(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Qk,$k,XXe=c((()=>{Kk(),ak(),Qk={tokenize:YXe,partial:!0},$k={name:`codeFenced`,tokenize:JXe,concrete:!0}}));function ZXe(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Gk(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):XO(t)?e.attempt($Xe,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||XO(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function QXe(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):XO(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Gk(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):XO(e)?i(e):n(e)}}var eA,$Xe,eZe=c((()=>{Kk(),ak(),eA={name:`codeIndented`,tokenize:ZXe},$Xe={tokenize:QXe,partial:!0}}));function tZe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function nZe(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function rZe(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):XO(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||XO(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var iZe,aZe=c((()=>{ak(),iZe={name:`codeText`,tokenize:rZe,resolve:tZe,previous:nZe}}));function tA(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}var oZe,sZe=c((()=>{oZe=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 n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&tA(this.left,n),i.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),tA(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tA(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);tA(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);tA(this.left,t.reverse())}}}}));function cZe(e){let t={},n=-1,r,i,a,o,s,c,l,u=new oZe(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,lZe(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return Tk(e,0,1/0,u.slice(0)),!l}function lZe(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var uZe=c((()=>{Dk(),sZe()}));function dZe(e){return cZe(e),e}function fZe(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):XO(t)?e.check(hZe,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function pZe(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Gk(e,a,`linePrefix`)}function a(i){if(i===null||XO(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}var mZe,hZe,gZe=c((()=>{Kk(),ak(),uZe(),mZe={tokenize:fZe,resolve:dZe},hZe={tokenize:pZe,partial:!0}}));function _Ze(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||YO(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||XO(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||ZO(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||YO(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}var vZe=c((()=>{ak()}));function yZe(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):XO(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||XO(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!QO(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}var bZe=c((()=>{ak()}));function xZe(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):XO(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Gk(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||XO(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}var SZe=c((()=>{Kk(),ak()}));function nA(e,t){let n;return r;function r(i){return XO(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):QO(i)?Gk(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var CZe=c((()=>{Kk(),ak()}));function wZe(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return yZe.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=lk(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return ZO(t)?nA(e,l)(t):l(t)}function l(t){return _Ze(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(DZe,d,d)(t)}function d(t){return QO(t)?Gk(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||XO(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function TZe(e,t,n){return r;function r(t){return ZO(t)?nA(e,i)(t):n(t)}function i(t){return xZe(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return QO(t)?Gk(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||XO(e)?t(e):n(e)}}var EZe,DZe,OZe=c((()=>{vZe(),bZe(),Kk(),SZe(),CZe(),ak(),uk(),EZe={name:`definition`,tokenize:wZe},DZe={tokenize:TZe,partial:!0}}));function kZe(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return XO(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var AZe,jZe=c((()=>{ak(),AZe={name:`hardBreakEscape`,tokenize:kZe}}));function MZe(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},Tk(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function NZe(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||ZO(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||XO(n)?(e.exit(`atxHeading`),t(n)):QO(n)?Gk(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||ZO(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var PZe,FZe=c((()=>{Kk(),ak(),Dk(),PZe={name:`headingAtx`,tokenize:NZe,resolve:MZe}})),IZe,rA,LZe=c((()=>{IZe=`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(`.`),rA=[`pre`,`script`,`style`,`textarea`]}));function RZe(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(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 zZe(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:de):ek(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):ek(a)?(e.consume(a),i=4,r.interrupt?t:de):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:de):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:w:m):n(i)}function h(t){return ek(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||ZO(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&rA.includes(l)?(i=1,r.interrupt?t(s):w(s)):IZe.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):w(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||tk(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:w):n(i)}function v(t){return QO(t)?(e.consume(t),v):ne(t)}function y(t){return t===47?(e.consume(t),ne):t===58||t===95||ek(t)?(e.consume(t),b):QO(t)?(e.consume(t),y):ne(t)}function b(t){return t===45||t===46||t===58||t===95||tk(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),ee):QO(t)?(e.consume(t),x):y(t)}function ee(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,S):QO(t)?(e.consume(t),ee):C(t)}function S(t){return t===c?(e.consume(t),c=null,te):t===null||XO(t)?n(t):(e.consume(t),S)}function C(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||ZO(t)?x(t):(e.consume(t),C)}function te(e){return e===47||e===62||QO(e)?y(e):n(e)}function ne(t){return t===62?(e.consume(t),re):n(t)}function re(t){return t===null||XO(t)?w(t):QO(t)?(e.consume(t),re):n(t)}function w(t){return t===45&&i===2?(e.consume(t),se):t===60&&i===1?(e.consume(t),ce):t===62&&i===4?(e.consume(t),fe):t===63&&i===3?(e.consume(t),de):t===93&&i===5?(e.consume(t),ue):XO(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(UZe,pe,ie)(t)):t===null||XO(t)?(e.exit(`htmlFlowData`),ie(t)):(e.consume(t),w)}function ie(t){return e.check(WZe,ae,pe)(t)}function ae(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),oe}function oe(t){return t===null||XO(t)?ie(t):(e.enter(`htmlFlowData`),w(t))}function se(t){return t===45?(e.consume(t),de):w(t)}function ce(t){return t===47?(e.consume(t),o=``,le):w(t)}function le(t){if(t===62){let n=o.toLowerCase();return rA.includes(n)?(e.consume(t),fe):w(t)}return ek(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),le):w(t)}function ue(t){return t===93?(e.consume(t),de):w(t)}function de(t){return t===62?(e.consume(t),fe):t===45&&i===2?(e.consume(t),de):w(t)}function fe(t){return t===null||XO(t)?(e.exit(`htmlFlowData`),pe(t)):(e.consume(t),fe)}function pe(n){return e.exit(`htmlFlow`),t(n)}}function BZe(e,t,n){let r=this;return i;function i(t){return XO(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function VZe(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(qk,t,n)}}var HZe,UZe,WZe,GZe=c((()=>{ak(),LZe(),Jk(),HZe={name:`htmlFlow`,tokenize:zZe,resolveTo:RZe,concrete:!0},UZe={tokenize:VZe,partial:!0},WZe={tokenize:BZe,partial:!0}}));function KZe(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):ek(t)?(e.consume(t),C):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):ek(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):XO(t)?(o=d,ce(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?se(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):XO(t)?(o=h,ce(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?se(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?se(t):XO(t)?(o=v,ce(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):XO(t)?(o=y,ce(t)):(e.consume(t),y)}function b(e){return e===62?se(e):y(e)}function x(t){return ek(t)?(e.consume(t),ee):n(t)}function ee(t){return t===45||tk(t)?(e.consume(t),ee):S(t)}function S(t){return XO(t)?(o=S,ce(t)):QO(t)?(e.consume(t),S):se(t)}function C(t){return t===45||tk(t)?(e.consume(t),C):t===47||t===62||ZO(t)?te(t):n(t)}function te(t){return t===47?(e.consume(t),se):t===58||t===95||ek(t)?(e.consume(t),ne):XO(t)?(o=te,ce(t)):QO(t)?(e.consume(t),te):se(t)}function ne(t){return t===45||t===46||t===58||t===95||tk(t)?(e.consume(t),ne):re(t)}function re(t){return t===61?(e.consume(t),w):XO(t)?(o=re,ce(t)):QO(t)?(e.consume(t),re):te(t)}function w(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,ie):XO(t)?(o=w,ce(t)):QO(t)?(e.consume(t),w):(e.consume(t),ae)}function ie(t){return t===i?(e.consume(t),i=void 0,oe):t===null?n(t):XO(t)?(o=ie,ce(t)):(e.consume(t),ie)}function ae(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||ZO(t)?te(t):(e.consume(t),ae)}function oe(e){return e===47||e===62||ZO(e)?te(e):n(e)}function se(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ce(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),le}function le(t){return QO(t)?Gk(e,ue,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ue(t)}function ue(t){return e.enter(`htmlTextData`),o(t)}}var qZe,JZe=c((()=>{Kk(),ak(),qZe={name:`htmlText`,tokenize:KZe}}));function YZe(e){let t=-1;for(;++t<e.length;){let n=e[t][1];(n.type===`labelImage`||n.type===`labelLink`||n.type===`labelEnd`)&&(e.splice(t+1,n.type===`labelImage`?4:2),n.type=`data`,t++)}return e}function XZe(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=Ek(s,e.slice(a+1,a+r+3)),s=Ek(s,[[`enter`,u,t]]),s=Ek(s,Hk(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Ek(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Ek(s,e.slice(o+1)),s=Ek(s,[[`exit`,c,t]]),Tk(e,a,e.length,s),e}function ZZe(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(lk(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(tQe,u,o?u:d)(t):t===91?e.attempt(nQe,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(rQe,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function QZe(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return ZO(t)?nA(e,a)(t):a(t)}function a(t){return t===41?u(t):_Ze(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return ZO(t)?nA(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?xZe(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return ZO(t)?nA(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function $Ze(e,t,n){let r=this;return i;function i(t){return yZe.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(lk(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function eQe(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var iA,tQe,nQe,rQe,aA=c((()=>{vZe(),bZe(),SZe(),CZe(),ak(),Dk(),uk(),Uk(),iA={name:`labelEnd`,tokenize:ZZe,resolveTo:XZe,resolveAll:YZe},tQe={tokenize:QZe},nQe={tokenize:$Ze},rQe={tokenize:eQe}}));function iQe(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var aQe,oQe=c((()=>{aA(),aQe={name:`labelStartImage`,tokenize:iQe,resolveAll:iA.resolveAll}}));function sQe(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var cQe,lQe=c((()=>{aA(),cQe={name:`labelStartLink`,tokenize:sQe,resolveAll:iA.resolveAll}}));function uQe(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Gk(e,t,`linePrefix`)}}var oA,dQe=c((()=>{Kk(),oA={name:`lineEnding`,tokenize:uQe}}));function fQe(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||XO(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),QO(t)?Gk(e,s,`whitespace`)(t):s(t))}}var sA,pQe=c((()=>{Kk(),ak(),sA={name:`thematicBreak`,tokenize:fQe}}));function mQe(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:nk(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(sA,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return nk(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(qk,r.interrupt?n:u,e.attempt(yQe,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return QO(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function hQe(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(qk,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Gk(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!QO(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bQe,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Gk(e,e.attempt(cA,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function gQe(e,t,n){let r=this;return Gk(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function _Qe(e){e.exit(this.containerState.type)}function vQe(e,t,n){let r=this;return Gk(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!QO(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var cA,yQe,bQe,xQe=c((()=>{Kk(),ak(),Jk(),pQe(),cA={name:`list`,tokenize:mQe,continuation:{tokenize:hQe},exit:_Qe},yQe={tokenize:vQe,partial:!0},bQe={tokenize:gQe,partial:!0}}));function SQe(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function CQe(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),QO(t)?Gk(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||XO(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var lA,wQe=c((()=>{Kk(),ak(),lA={name:`setextUnderline`,tokenize:CQe,resolveTo:SQe}})),uA=c((()=>{FXe(),RXe(),Jk(),UXe(),GXe(),qXe(),XXe(),eZe(),aZe(),gZe(),OZe(),jZe(),FZe(),GZe(),JZe(),aA(),oQe(),lQe(),dQe(),xQe(),wQe(),pQe()}));function TQe(){return{document:{91:{tokenize:kQe,continuation:{tokenize:AQe},exit:jQe}},text:{91:{tokenize:OQe},93:{add:`after`,tokenize:EQe,resolveTo:DQe}}}}function EQe(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=lk(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function DQe(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function OQe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||ZO(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(lk(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return ZO(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function kQe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||ZO(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=lk(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return ZO(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Gk(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function AQe(e,t,n){return e.check(qk,t,e.attempt(NQe,t,n))}function jQe(e){e.exit(`gfmFootnoteDefinition`)}function MQe(e,t,n){let r=this;return Gk(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}var NQe,PQe=c((()=>{uA(),Kk(),ak(),uk(),NQe={tokenize:MQe,partial:!0}})),FQe=c((()=>{PQe()}));function IQe(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Tk(o,o.length,0,Hk(s,e.slice(r+1,n),t)),Tk(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Tk(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=Vk(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=Vk(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var LQe=c((()=>{Dk(),jXe(),Uk()})),RQe=c((()=>{LQe()}));function zQe(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}var BQe,VQe=c((()=>{BQe=class{constructor(){this.map=[]}add(e,t,n){zQe(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}}));function HQe(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}var UQe=c((()=>{}));function WQe(){return{flow:{null:{tokenize:GQe,resolveAll:KQe}}}}function GQe(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?ee:c;return a===ee&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):XO(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):QO(t)?Gk(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||ZO(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,QO(t)?Gk(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return QO(t)?Gk(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||XO(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return QO(t)?Gk(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||XO(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function ee(t){return e.enter(`tableRow`),S(t)}function S(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),S):n===null||XO(n)?(e.exit(`tableRow`),t(n)):QO(n)?Gk(e,S,`whitespace`)(n):(e.enter(`data`),C(n))}function C(t){return t===null||t===124||ZO(t)?(e.exit(`data`),S(t)):(e.consume(t),t===92?te:C)}function te(t){return t===92||t===124?(e.consume(t),C):C(t)}}function KQe(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new BQe;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(qQe(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=dA(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=dA(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=dA(f,t,o,i,n,d)):(o[0]=o[1],d=dA(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&qQe(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=HQe(t.events,n))}return e}function dA(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},fA(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=fA(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=fA(t.events,n[2]),a=fA(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},fA(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function qQe(e,t,n,r,i){let a=[],o=fA(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function fA(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var JQe=c((()=>{Kk(),ak(),VQe(),UQe()})),YQe=c((()=>{JQe()}));function XQe(){return{text:{91:$Qe}}}function ZQe(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return ZO(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return XO(r)?t(r):QO(r)?e.check({tokenize:QQe},t,n)(r):n(r)}}function QQe(e,t,n){return Gk(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}var $Qe,e$e=c((()=>{Kk(),ak(),$Qe={tokenize:ZQe}})),t$e=c((()=>{e$e()}));function n$e(e){return dXe([hXe(),TQe(),IQe(e),WQe(),XQe()])}var r$e=c((()=>{mXe(),AXe(),FQe(),RQe(),YQe(),t$e()}));function pA(e){let t=this,n=e||i$e,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(n$e(n)),a.push(sXe()),o.push(cXe(n))}var i$e,a$e=c((()=>{uXe(),r$e(),i$e={}})),o$e=c((()=>{a$e()}));function s$e(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Gk(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return XO(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var c$e,l$e=c((()=>{Kk(),ak(),c$e={tokenize:s$e}}));function u$e(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return Tk(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(mA,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(mA,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return XO(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;Tk(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function d$e(e,t,n){return Gk(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var f$e,mA,p$e=c((()=>{Kk(),ak(),Dk(),f$e={tokenize:u$e},mA={tokenize:d$e}}));function m$e(e){let t=this,n=e.attempt(qk,r,e.attempt(this.parser.constructs.flowInitial,i,Gk(e,e.attempt(this.parser.constructs.flow,i,e.attempt(mZe,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var h$e,g$e=c((()=>{uA(),Kk(),h$e={tokenize:m$e}}));function _$e(e){return{tokenize:t,resolveAll:v$e(e===`text`?y$e:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function v$e(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function y$e(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var b$e,x$e,S$e,C$e=c((()=>{b$e={resolveAll:v$e()},x$e=_$e(`string`),S$e=_$e(`text`)}));function w$e(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:S(x),check:S(ee),interrupt:S(ee,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=Ek(o,e),g(),o[o.length-1]===null?(C(t,0),l.events=Hk(a,l.events,l),l.events):[]}function f(e,t){return E$e(p(e),t)}function p(e){return T$e(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,ne()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){XO(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,ne()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){C(e,t.from)}function ee(e,t){t.restore()}function S(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=te(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function C(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Tk(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function te(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,ne()}}function ne(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function T$e(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function E$e(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
||
`;break;case-3:o=`\r
|
||
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var D$e=c((()=>{ak(),Dk(),Uk()})),O$e=u({attentionMarkers:()=>I$e,contentInitial:()=>A$e,disable:()=>L$e,document:()=>k$e,flow:()=>M$e,flowInitial:()=>j$e,insideSpan:()=>F$e,string:()=>N$e,text:()=>P$e}),k$e,A$e,j$e,M$e,N$e,P$e,F$e,I$e,L$e,R$e=c((()=>{uA(),C$e(),k$e={42:cA,43:cA,45:cA,48:cA,49:cA,50:cA,51:cA,52:cA,53:cA,54:cA,55:cA,56:cA,57:cA,62:Yk},A$e={91:EZe},j$e={[-2]:eA,[-1]:eA,32:eA},M$e={35:PZe,42:sA,45:[lA,sA],60:HZe,61:lA,95:sA,96:$k,126:$k},N$e={38:Zk,92:Xk},P$e={[-5]:oA,[-4]:oA,[-3]:oA,33:aQe,38:Zk,42:Wk,60:[LXe,qZe],91:cQe,92:[AZe,Xk],93:iA,95:Wk,96:iZe},F$e={null:[Wk,b$e]},I$e={null:[42,95]},L$e={null:[]}}));function z$e(e){let t={defined:[],lazy:{},constructs:dXe([O$e,...(e||{}).extensions||[]]),content:n(c$e),document:n(f$e),flow:n(h$e),string:n(x$e),text:n(S$e)};return t;function n(e){return n;function n(n){return w$e(t,e,n)}}}var B$e=c((()=>{mXe(),l$e(),p$e(),g$e(),C$e(),D$e(),R$e()}));function V$e(e){for(;!cZe(e););return e}var H$e=c((()=>{uZe()}));function U$e(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(hA.lastIndex=u,c=hA.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var hA,W$e=c((()=>{hA=/[\0\t\n\r]/g})),G$e=c((()=>{B$e(),H$e(),W$e()}));function K$e(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),q$e(n)(V$e(z$e(n).document().write(U$e()(e,t,!0))))}function q$e(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ae),autolinkProtocol:te,autolinkEmail:te,atxHeading:a(Ee),blockQuote:a(xe),characterEscape:te,characterReference:te,codeFenced:a(Se),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Se,o),codeText:a(Ce,o),codeTextData:te,data:te,codeFlowValue:te,definition:a(we),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Te),hardBreakEscape:a(De),hardBreakTrailing:a(De),htmlFlow:a(Oe,o),htmlFlowData:te,htmlText:a(Oe,o),htmlTextData:te,image:a(ke),label:o,link:a(Ae),listItem:a(Me),listItemValue:f,listOrdered:a(je,d),listUnordered:a(je),paragraph:a(Ne),reference:me,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ee),strong:a(Pe),thematicBreak:a(Ie)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:be,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:ne,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:_e,characterReference:ve,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:ne,codeIndented:c(_),codeText:c(oe),codeTextData:ne,data:ne,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(w),hardBreakTrailing:c(w),htmlFlow:c(ie),htmlFlowData:ne,htmlText:c(ae),htmlTextData:ne,image:c(ce),label:ue,labelText:le,lineEnding:re,link:c(se),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:he,resourceDestinationString:de,resourceTitleString:fe,resource:pe,setextHeading:c(C),setextHeadingLineSequence:S,setextHeadingText:ee,strong:c(),thematicBreak:c()}};J$e(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];_A.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||X$e).call(a,void 0,e[0])}for(r.position={start:gA(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:gA(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 i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:gA(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||X$e).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+cE({start:e.start,end:e.end})+`): it’s not open`);n.position.end=gA(e.end)}function u(){return mk(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=lk(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function S(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function te(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Fe(),n.position={start:gA(e.start),end:void 0},t.push(n)),this.stack.push(n)}function ne(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=gA(e.end)}function re(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=gA(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(te.call(this,e),ne.call(this,e))}function w(){this.data.atHardBreak=!0}function ie(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ae(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function se(){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 ce(){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 le(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=mYe(t),n.identifier=lk(t).toLowerCase()}function ue(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function de(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function fe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function pe(){this.data.inReference=void 0}function me(){this.data.referenceType=`collapsed`}function he(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=lk(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ge(e){this.data.characterReferenceType=e.type}function _e(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=fYe(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=bk(t);let i=this.stack[this.stack.length-1];i.value+=r}function ve(e){let t=this.stack.pop();t.position.end=gA(e.end)}function ye(e){ne.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function be(e){ne.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function xe(){return{type:`blockquote`,children:[]}}function Se(){return{type:`code`,lang:null,meta:null,value:``}}function Ce(){return{type:`inlineCode`,value:``}}function we(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Te(){return{type:`emphasis`,children:[]}}function Ee(){return{type:`heading`,depth:0,children:[]}}function De(){return{type:`break`}}function Oe(){return{type:`html`,value:``}}function ke(){return{type:`image`,title:null,url:``,alt:null}}function Ae(){return{type:`link`,title:null,url:``,children:[]}}function je(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ne(){return{type:`paragraph`,children:[]}}function Pe(){return{type:`strong`,children:[]}}function Fe(){return{type:`text`,value:``}}function Ie(){return{type:`thematicBreak`}}}function gA(e){return{line:e.line,column:e.column,offset:e.offset}}function J$e(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?J$e(e,r):Y$e(e,r)}}function Y$e(e,t){let n;for(n in t)if(_A.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function X$e(e,t){throw e?Error("Cannot close `"+e.type+"` ("+cE({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+cE({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+cE({start:t.start,end:t.end})+`) is still open`)}var _A,Z$e=c((()=>{hk(),G$e(),pYe(),_Ye(),uk(),Sk(),bLe(),_A={}.hasOwnProperty})),Q$e=c((()=>{Z$e()}));function $$e(e){let t=this;t.parser=n;function n(n){return K$e(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}var e1e=c((()=>{Q$e()})),t1e=c((()=>{e1e()}));function n1e(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}var r1e=c((()=>{}));function i1e(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
||
`}]}var a1e=c((()=>{}));function o1e(e,t){let n=t.value?t.value+`
|
||
`:``,r={};t.lang&&(r.className=[`language-`+t.lang]);let i={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:`element`,tagName:`pre`,properties:{},children:[i]},e.patch(t,i),i}var s1e=c((()=>{}));function c1e(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var l1e=c((()=>{}));function u1e(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var d1e=c((()=>{}));function f1e(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=zk(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}var p1e=c((()=>{Bk()}));function m1e(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var h1e=c((()=>{}));function g1e(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}var _1e=c((()=>{}));function v1e(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}var y1e=c((()=>{}));function b1e(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return v1e(e,t);let i={src:zk(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}var x1e=c((()=>{Bk(),y1e()}));function S1e(e,t){let n={src:zk(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}var C1e=c((()=>{Bk()}));function w1e(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}var T1e=c((()=>{}));function E1e(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return v1e(e,t);let i={href:zk(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}var D1e=c((()=>{Bk(),y1e()}));function O1e(e,t){let n={href:zk(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var k1e=c((()=>{Bk()}));function A1e(e,t,n){let r=e.all(t),i=n?j1e(n):M1e(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
||
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
||
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function j1e(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=M1e(n[r])}return t}function M1e(e){return e.spread??e.children.length>1}var N1e=c((()=>{}));function P1e(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}var F1e=c((()=>{}));function I1e(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var L1e=c((()=>{}));function R1e(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}var z1e=c((()=>{}));function B1e(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var V1e=c((()=>{}));function H1e(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=BO(t.children[1]),o=zO(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}var U1e=c((()=>{VO()}));function W1e(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}var G1e=c((()=>{}));function K1e(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var q1e=c((()=>{}));function J1e(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(Y1e(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Y1e(t.slice(i),i>0,!1)),a.join(``)}function Y1e(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===vA||t===yA;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===vA||t===yA;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}var vA,yA,X1e=c((()=>{vA=9,yA=32}));function Z1e(e,t){let n={type:`text`,value:J1e(String(t.value))};return e.patch(t,n),e.applyData(t,n)}var Q1e=c((()=>{X1e()}));function $1e(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var e0e=c((()=>{}));function bA(){}var t0e,n0e=c((()=>{r1e(),a1e(),s1e(),l1e(),d1e(),p1e(),h1e(),_1e(),x1e(),C1e(),T1e(),D1e(),k1e(),N1e(),F1e(),L1e(),z1e(),V1e(),U1e(),G1e(),q1e(),Q1e(),e0e(),t0e={blockquote:n1e,break:i1e,code:o1e,delete:c1e,emphasis:u1e,footnoteReference:f1e,heading:m1e,html:g1e,imageReference:b1e,image:S1e,inlineCode:w1e,linkReference:E1e,link:O1e,listItem:A1e,list:P1e,paragraph:I1e,root:R1e,strong:B1e,table:H1e,tableCell:K1e,tableRow:W1e,text:Z1e,thematicBreak:$1e,toml:bA,yaml:bA,definition:bA,footnoteDefinition:bA}}));function r0e(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function i0e(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function a0e(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||r0e,r=e.options.footnoteBackLabel||i0e,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=zk(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...kO(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
||
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
||
`}]}}var o0e=c((()=>{AO(),Bk()}));function s0e(e,t){let n=t||p0e,r=new Map,i=new Map,a={all:s,applyData:l0e,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...t0e,...n.handlers},one:o,options:n,patch:c0e,wrap:d0e};return bD(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(xA.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=kO(n);return r.children=a.all(e),r}return kO(e)}return(a.options.unknownHandler||u0e)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=f0e(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=f0e(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function c0e(e,t){e.position&&(t.position=IGe(e))}function l0e(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,kO(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function u0e(e,t){let n=t.data||{},r=`value`in t&&!(xA.call(n,`hProperties`)||xA.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function d0e(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
||
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
||
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
||
`}),n}function f0e(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}var xA,p0e,m0e=c((()=>{AO(),xD(),VO(),n0e(),xA={}.hasOwnProperty,p0e={}}));function h0e(e,t){let n=s0e(e,t),r=n.one(e,void 0),i=a0e(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
||
`},i)),a}var g0e=c((()=>{cw(),o0e(),m0e()})),_0e=c((()=>{g0e()}));function v0e(e,t){return e&&`run`in e?async function(n,r){let i=h0e(n,{file:r,...t});await e.run(i,r)}:function(n,r){return h0e(n,{file:r,...e||t})}}var y0e=c((()=>{_0e()})),b0e=c((()=>{y0e()}));function x0e(e){let t=this;t.compiler=n;function n(n){return IYe(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var S0e=c((()=>{Ck()})),C0e=c((()=>{S0e()}));function w0e(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function T0e(){return e=>{bD(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!w0e(e));if(r===-1)return;let i=e.children[r];if(!i||i.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(!a||a.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!E0e.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
|
||
`&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&w0e(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value.charAt(o+1)===`
|
||
`&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value=a.value.slice(o+2):a.value=a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.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:` `},...c]}]}})}}var E0e,D0e=c((()=>{xD(),E0e=[`note`,`tip`,`important`,`warning`,`caution`,`success`]})),O0e=c((()=>{D0e()}));function k0e(e,t){let n=t?.removeTags??[],r=[...KO.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return fD().use($$e).use(pA).use(P0e,{transform:t?.transform,type:t?.transformType}).use(v0e,{allowDangerousHtml:!0}).use(T0e).use(nKe).use(SKe,{...KO,clobberPrefix:``,tagNames:r,attributes:{...KO.attributes,abbr:[`title`],"*":[...KO.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(KUe,{languages:SO,detect:!0}).use(CWe,{target:`_blank`}).use(bGe).use(pBe).processSync(e).toString()}function A0e(e){return fD().use($$e).use(pA).parse(e)}function j0e(e,t=1){let n=A0e(e),r=[];return bD(n,`heading`,e=>{let n=SA(e);n&&r.push({depth:e.depth??t,value:n})}),r}function SA(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>SA(e)).join(``):``}function M0e(e){let t=A0e(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>N0e(e))}function N0e(e){return fD().use(x0e).use(pA).stringify({type:`root`,children:e}).trim()}var CA,P0e,F0e=c((()=>{OWe(),SGe(),iKe(),wKe(),hBe(),o$e(),t1e(),b0e(),C0e(),PBe(),xD(),dWe(),O0e(),XUe(),CA=e=>e.type===`heading`&&`depth`in e&&`children`in e,P0e=(e,...t)=>t=>{!e?.transform||!e?.type||bD(t,e?.type,t=>(e?.transform&&e?.transform(t),vD))}})),I0e=c((()=>{F0e()})),L0e=c((()=>{sWe(),dWe(),I0e()})),R0e,z0e,B0e,V0e=c((()=>{IC(),eNe(),zS(),U(),L0e(),y_(),R0e={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1`},z0e=[`id`,`innerHTML`],B0e=j({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=ud(),n=H(()=>e.prettyPrintedContent||v_(e.content??``)),r=H(()=>iWe(n.value,{lang:e.lang.trim(),languages:SO,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=H(()=>!n.value.includes(`
|
||
`)),a=H(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:o}=RS();return(s,c)=>(N(),P(`div`,qc(Vd(k(o)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[I(`div`,R0e,[I(`pre`,{id:k(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:r.value},null,8,z0e)]),e.copy&&a.value?(N(),F(k(sw),{key:0,class:E([`scalar-code-copy absolute`,[i.value?`top-[calc(10px+0.5lh)] -translate-y-1/2 m-0 right-1`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,showLang:!i.value,lang:e.lang,"aria-controls":k(t)},{backdrop:A(()=>[V(FC,{class:E([`scalar-code-copy-backdrop`,[i.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`])):R(``,!0)],16))}})})),wA,H0e=c((()=>{V0e(),wA=B0e})),U0e,W0e=c((()=>{zS(),U(),U0e=j({inheritAttrs:!1,__name:`ScalarColorModeToggleIcon`,props:{is:{default:`button`},mode:{default:`light`}},setup(e){let{cx:t}=RS(),n=H(()=>e.mode===`dark`?`Set light mode`:`Set dark mode`);return(r,i)=>(N(),F(vd(e.is),z({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is===`button`?`button`:void 0},k(t)(`size-3 flex items-center justify-center text-c-1`)),{default:A(()=>[...i[0]||=[I(`span`,{class:`toggle-icon-sun-ray`},null,-1),I(`span`,{class:`toggle-icon-sun-ray`},null,-1),I(`span`,{class:`toggle-icon-sun-ray`},null,-1),I(`span`,{class:`toggle-icon-sun-ray`},null,-1),I(`span`,{class:`toggle-icon-ellipse`},[I(`span`,{class:`toggle-icon-moon-mask`})],-1)]]),_:1},16,[`aria-label`,`class`,`type`]))}})})),TA,EA=c((()=>{VS(),W0e(),TA=BS(U0e,[[`__scopeId`,`data-v-60be8692`]])})),G0e,K0e,q0e=c((()=>{EA(),zS(),U(),G0e=[`aria-pressed`],K0e=j({inheritAttrs:!1,__name:`ScalarColorModeToggleButton`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let{cx:t}=RS(),n=jd(e,`modelValue`);return(e,r)=>(N(),P(`button`,z({"aria-pressed":n.value,type:`button`},k(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=>n.value=!n.value}),[r[1]||=I(`div`,{class:`h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1`},null,-1),I(`div`,{class:E([`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]":n.value}])},[V(TA,{is:`div`,mode:n.value?`dark`:`light`},null,8,[`mode`])],2)],16,G0e))}})})),DA,J0e=c((()=>{q0e(),DA=K0e}));function OA(e={}){let{initialColorMode:t=`system`,overrideColorMode:n}=e;function r(){kA.value=o.value===`dark`?`light`:`dark`,!(typeof window>`u`)&&window?.localStorage?.setItem(`colorMode`,kA.value)}function i(e){kA.value=e,!(typeof window>`u`)&&window?.localStorage?.setItem(`colorMode`,kA.value)}function a(){return typeof window>`u`?`light`:typeof window?.matchMedia==`function`?window?.matchMedia(`(prefers-color-scheme: dark)`)?.matches?`dark`:`light`:`dark`}let o=H({get:()=>kA.value===`system`?a():kA.value,set:i}),s=H({get:()=>o.value===`dark`,set:e=>i(e?`dark`:`light`)});function c(e){typeof document>`u`||typeof window>`u`||((n??(e===`system`?a():e))===`dark`?(document.body.classList.add(`dark-mode`),document.body.classList.remove(`light-mode`)):(document.body.classList.add(`light-mode`),document.body.classList.remove(`dark-mode`)))}let l=Y0e.parse(typeof window<`u`?window?.localStorage?.getItem(`colorMode`):`system`);kA.value=n??l??t,nd(kA,c,{immediate:!0});let u=()=>kA.value===`system`&&c(`system`),d=O(null);return Af(()=>{typeof window<`u`&&typeof window?.matchMedia==`function`&&(d.value=window.matchMedia(`(prefers-color-scheme: dark)`),d.value?.addEventListener(`change`,u))}),Nf(()=>{d.value?.removeEventListener(`change`,u)}),{colorMode:H({get:()=>kA.value,set:i}),darkLightMode:o,isDarkMode:s,toggleColorMode:r,setColorMode:i,getSystemModePreference:a}}var kA,Y0e,X0e=c((()=>{U(),Ec(),kA=O(`dark`),Y0e=Go([`dark`,`light`,`system`]).optional().catch(void 0)})),AA=c((()=>{X0e()})),Z0e,Q0e=c((()=>{EA(),J0e(),U(),AA(),Z0e=j({__name:`ScalarColorModeToggle`,props:{variant:{default:`switch`}},setup(e){let{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=OA(),i=H(()=>t.value?`Set light mode`:`Set dark mode`);return(a,o)=>e.variant===`switch`?(N(),F(DA,{key:0,modelValue:k(t),"onUpdate:modelValue":o[0]||=e=>cu(t)?t.value=e:null,"aria-label":i.value},null,8,[`modelValue`,`aria-label`])):(N(),F(TA,{key:1,"aria-label":i.value,mode:k(r),onClick:k(n)},null,8,[`aria-label`,`mode`,`onClick`]))}})})),jA,$0e=c((()=>{Q0e(),jA=Z0e})),MA,e2e,t2e,NA=c((()=>{U(),Bg(),MA=Symbol(),e2e=()=>$u(MA,`body`),t2e=e=>{let t=e??`scalar-teleport-${zg()}`;return Qu(MA,`#${t}`),t}})),n2e,r2e=c((()=>{NA(),U(),n2e=j({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=e2e();return(n,r)=>(N(),F(hf,{defer:!e.immediate,disabled:e.disabled,to:e.to||k(t)},[I(`div`,z({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[M(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}})})),PA,i2e=c((()=>{r2e(),PA=n2e})),a2e,o2e,s2e=c((()=>{NA(),U(),a2e=[`id`],o2e=j({inheritAttrs:!1,__name:`ScalarTeleportRoot`,props:{id:{}},setup(e){let t=t2e(e.id);return(e,n)=>(N(),P(B,null,[M(e.$slots,`default`),I(`div`,{id:k(t),class:`scalar-teleport-root contents`},null,8,a2e)],64))}})})),c2e,l2e=c((()=>{s2e(),c2e=o2e}));function u2e(e,t={enabled:O(!0)}){let n=O(0),r=O(0),i=O();return typeof ResizeObserver<`u`&&(i.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),nd([()=>uu(t.enabled),()=>uu(e)],([e,t])=>{!t||!i.value||(e?i.value.observe(t):i.value.disconnect())},{immediate:!0}),{width:H(()=>uu(t.enabled)?`${n.value}px`:void 0),height:H(()=>uu(t.enabled)?`${r.value}px`:void 0)}}var d2e=c((()=>{U()}));function f2e(e,t,n){return UA(e,HA(t,n))}function FA(e,t){return typeof e==`function`?e(t):e}function IA(e){return e.split(`-`)[0]}function LA(e){return e.split(`-`)[1]}function p2e(e){return e===`x`?`y`:`x`}function m2e(e){return e===`y`?`height`:`width`}function RA(e){return w2e.has(IA(e))?`y`:`x`}function h2e(e){return p2e(RA(e))}function g2e(e,t,n){n===void 0&&(n=!1);let r=LA(e),i=h2e(e),a=m2e(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=BA(o)),[o,BA(o)]}function _2e(e){let t=BA(e);return[zA(e),t,zA(t)]}function zA(e){return e.replace(/start|end/g,e=>C2e[e])}function v2e(e,t,n){switch(e){case`top`:case`bottom`:return n?t?JA:qA:t?qA:JA;case`left`:case`right`:return t?T2e:E2e;default:return[]}}function y2e(e,t,n,r){let i=LA(e),a=v2e(IA(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(zA)))),a}function BA(e){return e.replace(/left|right|bottom|top/g,e=>S2e[e])}function b2e(e){return{top:0,right:0,bottom:0,left:0,...e}}function x2e(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:b2e(e)}function VA(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var HA,UA,WA,GA,KA,S2e,C2e,w2e,qA,JA,T2e,E2e,YA=c((()=>{HA=Math.min,UA=Math.max,WA=Math.round,GA=Math.floor,KA=e=>({x:e,y:e}),S2e={left:`right`,right:`left`,bottom:`top`,top:`bottom`},C2e={start:`end`,end:`start`},w2e=new Set([`top`,`bottom`]),qA=[`left`,`right`],JA=[`right`,`left`],T2e=[`top`,`bottom`],E2e=[`bottom`,`top`]}));function D2e(e,t,n){let{reference:r,floating:i}=e,a=RA(t),o=h2e(t),s=m2e(o),c=IA(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(LA(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function XA(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=FA(t,e),p=x2e(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=VA(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=VA(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}async function O2e(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=IA(n),s=LA(n),c=RA(n)===`y`,l=j2e.has(o)?-1:1,u=a&&c?-1:1,d=FA(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var k2e,A2e,j2e,M2e,N2e,P2e,F2e=c((()=>{YA(),k2e=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=D2e(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=D2e(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}},A2e=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=FA(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=IA(r),_=RA(o),v=IA(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[BA(o)]:_2e(o)),x=p!==`none`;!d&&x&&b.push(...y2e(o,m,p,y));let ee=[o,...b],S=await XA(t,h),C=[],te=i.flip?.overflows||[];if(l&&C.push(S[g]),u){let e=g2e(r,a,y);C.push(S[e[0]],S[e[1]])}if(te=[...te,{placement:r,overflows:C}],!C.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=ee[e];if(t&&(!(u===`alignment`&&_!==RA(t))||te.every(e=>RA(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:te},reset:{placement:t}};let n=te.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=te.filter(e=>{if(x){let t=RA(e.placement);return t===_||t===`y`}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&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},j2e=new Set([`left`,`top`]),M2e=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await O2e(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},N2e=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=FA(e,t),l={x:n,y:r},u=await XA(t,c),d=RA(IA(i)),f=p2e(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=f2e(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=f2e(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},P2e=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=FA(e,t),u=await XA(t,l),d=IA(i),f=LA(i),p=RA(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=HA(h-u[g],v),x=HA(m-u[_],y),ee=!t.middlewareData.shift,S=b,C=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=v),ee&&!f){let e=UA(u.left,0),t=UA(u.right,0),n=UA(u.top,0),r=UA(u.bottom,0);p?C=m-2*(e!==0||t!==0?e+t:UA(u.left,u.right)):S=h-2*(n!==0||r!==0?n+r:UA(u.top,u.bottom))}await c({...t,availableWidth:C,availableHeight:S});let te=await o.getDimensions(s.floating);return m!==te.width||h!==te.height?{reset:{rects:!0}}:{}}}}}));function ZA(){return typeof window<`u`}function QA(e){return tj(e)?(e.nodeName||``).toLowerCase():`#document`}function $A(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ej(e){return((tj(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function tj(e){return ZA()?e instanceof Node||e instanceof $A(e).Node:!1}function nj(e){return ZA()?e instanceof Element||e instanceof $A(e).Element:!1}function rj(e){return ZA()?e instanceof HTMLElement||e instanceof $A(e).HTMLElement:!1}function I2e(e){return!ZA()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof $A(e).ShadowRoot}function ij(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=lj(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!B2e.has(i)}function L2e(e){return V2e.has(QA(e))}function aj(e){return H2e.some(t=>{try{return e.matches(t)}catch{return!1}})}function oj(e){let t=sj(),n=nj(e)?lj(e):e;return U2e.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||W2e.some(e=>(n.willChange||``).includes(e))||G2e.some(e=>(n.contain||``).includes(e))}function R2e(e){let t=dj(e);for(;rj(t)&&!cj(t);){if(oj(t))return t;if(aj(t))return null;t=dj(t)}return null}function sj(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}function cj(e){return K2e.has(QA(e))}function lj(e){return $A(e).getComputedStyle(e)}function uj(e){return nj(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dj(e){if(QA(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||I2e(e)&&e.host||ej(e);return I2e(t)?t.host:t}function z2e(e){let t=dj(e);return cj(t)?e.ownerDocument?e.ownerDocument.body:e.body:rj(t)&&ij(t)?t:z2e(t)}function fj(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=z2e(e),i=r===e.ownerDocument?.body,a=$A(r);if(i){let e=pj(a);return t.concat(a,a.visualViewport||[],ij(r)?r:[],e&&n?fj(e):[])}return t.concat(r,fj(r,[],n))}function pj(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var B2e,V2e,H2e,U2e,W2e,G2e,K2e,q2e=c((()=>{B2e=new Set([`inline`,`contents`]),V2e=new Set([`table`,`td`,`th`]),H2e=[`:popover-open`,`:modal`],U2e=[`transform`,`translate`,`scale`,`rotate`,`perspective`],W2e=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],G2e=[`paint`,`layout`,`strict`,`content`],K2e=new Set([`html`,`body`,`#document`])}));function J2e(e){let t=lj(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=rj(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=WA(n)!==a||WA(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function mj(e){return nj(e)?e:e.contextElement}function hj(e){let t=mj(e);if(!rj(t))return KA(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=J2e(t),o=(a?WA(n.width):n.width)/r,s=(a?WA(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}function Y2e(e){let t=$A(e);return!sj()||!t.visualViewport?h4e:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function X2e(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$A(e)?!1:t}function gj(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=mj(e),o=KA(1);t&&(r?nj(r)&&(o=hj(r)):o=hj(e));let s=X2e(a,n,r)?Y2e(a):KA(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=$A(a),t=r&&nj(r)?$A(r):r,n=e,i=pj(n);for(;i&&r&&t!==n;){let e=hj(i),t=i.getBoundingClientRect(),r=lj(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=$A(i),i=pj(n)}}return VA({width:u,height:d,x:c,y:l})}function _j(e,t){let n=uj(e).scrollLeft;return t?t.left+n:gj(ej(e)).left+n}function Z2e(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-_j(e,n),y:n.top+t.scrollTop}}function Q2e(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=ej(r),s=t?aj(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=KA(1),u=KA(0),d=rj(r);if((d||!d&&!a)&&((QA(r)!==`body`||ij(o))&&(c=uj(r)),rj(r))){let e=gj(r);l=hj(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Z2e(o,c):KA(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function $2e(e){return Array.from(e.getClientRects())}function e4e(e){let t=ej(e),n=uj(e),r=e.ownerDocument.body,i=UA(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=UA(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+_j(e),s=-n.scrollTop;return lj(r).direction===`rtl`&&(o+=UA(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function t4e(e,t){let n=$A(e),r=ej(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=sj();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=_j(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=yj&&(a-=o)}else l<=yj&&(a+=l);return{width:a,height:o,x:s,y:c}}function n4e(e,t){let n=gj(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=rj(e)?hj(e):KA(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function r4e(e,t,n){let r;if(t===`viewport`)r=t4e(e,n);else if(t===`document`)r=e4e(ej(e));else if(nj(t))r=n4e(t,n);else{let n=Y2e(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return VA(r)}function i4e(e,t){let n=dj(e);return n===t||!nj(n)||cj(n)?!1:lj(n).position===`fixed`||i4e(n,t)}function a4e(e,t){let n=t.get(e);if(n)return n;let r=fj(e,[],!1).filter(e=>nj(e)&&QA(e)!==`body`),i=null,a=lj(e).position===`fixed`,o=a?dj(e):e;for(;nj(o)&&!cj(o);){let t=lj(o),n=oj(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&g4e.has(i.position)||ij(o)&&!n&&i4e(e,o))?r=r.filter(e=>e!==o):i=t,o=dj(o)}return t.set(e,r),r}function o4e(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?aj(t)?[]:a4e(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=r4e(t,n,i);return e.top=UA(r.top,e.top),e.right=HA(r.right,e.right),e.bottom=HA(r.bottom,e.bottom),e.left=UA(r.left,e.left),e},r4e(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function s4e(e){let{width:t,height:n}=J2e(e);return{width:t,height:n}}function c4e(e,t,n){let r=rj(t),i=ej(t),a=n===`fixed`,o=gj(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=KA(0);function l(){c.x=_j(i)}if(r||!r&&!a)if((QA(t)!==`body`||ij(i))&&(s=uj(t)),r){let e=gj(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Z2e(i,s):KA(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function vj(e){return lj(e).position===`static`}function l4e(e,t){if(!rj(e)||lj(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return ej(e)===n&&(n=n.ownerDocument.body),n}function u4e(e,t){let n=$A(e);if(aj(e))return n;if(!rj(e)){let t=dj(e);for(;t&&!cj(t);){if(nj(t)&&!vj(t))return t;t=dj(t)}return n}let r=l4e(e,t);for(;r&&L2e(r)&&vj(r);)r=l4e(r,t);return r&&cj(r)&&vj(r)&&!oj(r)?n:r||R2e(e)||n}function d4e(e){return lj(e).direction===`rtl`}function f4e(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function p4e(e,t){let n=null,r,i=ej(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=GA(d),h=GA(i.clientWidth-(u+f)),g=GA(i.clientHeight-(d+p)),_=GA(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:UA(0,HA(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!f4e(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function m4e(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=mj(e),u=i||a?[...l?fj(l):[],...fj(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?p4e(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?gj(e):null;c&&g();function g(){let t=gj(e);h&&!f4e(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var h4e,yj,g4e,_4e,v4e,y4e,bj,xj,b4e,x4e,S4e=c((()=>{F2e(),YA(),q2e(),h4e=KA(0),yj=25,g4e=new Set([`absolute`,`fixed`]),_4e=async function(e){let t=this.getOffsetParent||u4e,n=this.getDimensions,r=await n(e.floating);return{reference:c4e(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},v4e={convertOffsetParentRelativeRectToViewportRelativeRect:Q2e,getDocumentElement:ej,getClippingRect:o4e,getOffsetParent:u4e,getElementRects:_4e,getClientRects:$2e,getDimensions:s4e,getScale:hj,isElement:nj,isRTL:d4e},y4e=M2e,bj=N2e,xj=A2e,b4e=P2e,x4e=(e,t,n)=>{let r=new Map,i={platform:v4e,...n},a={...i.platform,_c:r};return k2e(e,t,{...i,platform:a})}})),C4e=c((()=>{U(),U()}));function w4e(e){return typeof e==`object`&&!!e&&`$el`in e}function T4e(e){if(w4e(e)){let t=e.$el;return tj(t)&&QA(t)===`#comment`?null:t}return e}function Sj(e){return typeof e==`function`?e():k(e)}function E4e(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function D4e(e,t){let n=E4e(e);return Math.round(t*n)/n}function O4e(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=H(()=>Sj(n.open)??!0),a=H(()=>Sj(n.middleware)),o=H(()=>Sj(n.placement)??`bottom`),s=H(()=>Sj(n.strategy)??`absolute`),c=H(()=>Sj(n.transform)??!0),l=H(()=>T4e(e.value)),u=H(()=>T4e(t.value)),d=O(0),f=O(0),p=O(s.value),m=O(o.value),h=lu({}),g=O(!1),_=H(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=D4e(u.value,d.value),n=D4e(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...E4e(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;x4e(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function ee(){i.value||(g.value=!1)}return nd([a,o,s,i],y,{flush:`sync`}),nd([l,u],x,{flush:`sync`}),nd(i,ee,{flush:`sync`}),Pl()&&Fl(b),{x:tu(d),y:tu(f),strategy:tu(p),placement:tu(m),middlewareData:tu(h),isPositioned:tu(g),floatingStyles:_,update:y}}var k4e=c((()=>{S4e(),q2e(),C4e()})),A4e,j4e=c((()=>{i2e(),d2e(),U(),YA(),k4e(),A4e=j({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 n=O(null),r=O(null),i=H(()=>{if(typeof window<`u`&&r.value){if(typeof e.target==`string`){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}}),a=u2e(i,{enabled:H(()=>e.resize)}),o=H(()=>RA(e.placement??`bottom`)===`y`?a.width.value:void 0),s=H(()=>RA(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=O4e(i,n,{placement:H(()=>e.placement??`bottom`),whileElementsMounted:m4e,middleware:H(()=>[y4e(e.offset),xj(),bj({padding:10}),b4e({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-20}px`,maxHeight:`${Math.max(0,t)-20}px`})}}),...e.middleware])});return t({targetRef:i}),(t,i)=>(N(),P(B,null,[I(`div`,{ref_key:`wrapperRef`,ref:r,class:E({contents:!!t.$slots.default})},[M(t.$slots,`default`)],2),t.$slots.floating?(N(),F(k(PA),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:A(()=>[I(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:Kc(k(c))},[M(t.$slots,`floating`,{data:k(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):R(``,!0)],64))}})})),Cj,wj=c((()=>{j4e(),Cj=A4e})),M4e,N4e=c((()=>{zS(),U(),M4e=j({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`div`,qc(Vd(k(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[M(e.$slots,`default`)],16))}})})),Tj,Ej=c((()=>{N4e(),Tj=M4e})),P4e,F4e=c((()=>{U(),EC(),P4e=j({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(N(),P(`div`,{class:E([`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?(N(),F(k(cC),{key:0,class:`size-3`,weight:`bold`})):R(``,!0)],2))}})})),Dj,Oj=c((()=>{F4e(),Dj=P4e})),I4e,L4e=c((()=>{Oj(),zS(),U(),Ag(),I4e=j({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=IS({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(n,r)=>(N(),F(k(gme),{as:`template`,disabled:e.option.disabled,value:e.option},{default:A(({active:n,selected:r})=>[I(`li`,{class:E(k(LS)(k(t)({active:n,selected:r,disabled:e.option.disabled})))},[V(Dj,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),I(`span`,{class:E([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},D(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}})})),R4e,z4e=c((()=>{L4e(),R4e=I4e})),B4e,V4e,H4e=c((()=>{wj(),Ej(),z4e(),zS(),U(),Ag(),B4e={class:`custom-scroll min-h-0 flex-1`},V4e=j({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}=RS();return(n,r)=>(N(),F(k(fme),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:A(({open:r})=>[e.label?(N(),F(k(pme),{key:0,class:`sr-only`},{default:A(()=>[L(D(e.label),1)]),_:1})):R(``,!0),V(k(Cj),z(n.$props,{placement:e.placement??`bottom-start`}),{floating:A(({width:n})=>[r?(N(),P(`div`,z({key:0,style:{width:n}},k(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[I(`div`,B4e,[V(k(hme),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:A(()=>[(N(!0),P(B,null,yd(e.options,t=>(N(),F(R4e,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),V(k(Tj))],16)):R(``,!0)]),default:A(()=>[V(k(mme),{id:e.id,as:`template`},{default:A(()=>[M(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}})})),kj,U4e=c((()=>{H4e(),kj=V4e})),W4e=c((()=>{AC(),U()})),G4e=c((()=>{W4e()}));function K4e(e){return e?.options!==void 0}function q4e(e){return e[0]?K4e(e[0]):!1}var J4e=c((()=>{})),Y4e,X4e=c((()=>{Y4e=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())))})),Z4e,Q4e,$4e=c((()=>{zS(),U(),Z4e=[`aria-selected`],Q4e=j({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=IS({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(n,r)=>(N(),P(`li`,{"aria-selected":e.selected,class:E(k(LS)(k(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[M(n.$slots,`default`,{active:e.active,selected:e.selected})],10,Z4e))}})})),Aj,e3e=c((()=>{$4e(),Aj=Q4e})),t3e,n3e,r3e,i3e=c((()=>{U(),t3e=[`id`,`aria-labelledby`,`role`],n3e=[`id`],r3e=j({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>ud()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(N(),P(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?R(``,!0):(N(),P(`div`,{key:0,id:`${e.id}-label`,class:`min-w-0 truncate px-2.5 py-1.5 text-c-2`},[M(t.$slots,`label`)],8,n3e)),M(t.$slots,`default`)],8,t3e))}})})),a3e,o3e=c((()=>{i3e(),a3e=r3e})),s3e,c3e,l3e,u3e,d3e,f3e=c((()=>{X4e(),Oj(),e3e(),o3e(),J4e(),U(),EC(),s3e={class:`relative flex`},c3e=[`aria-activedescendant`,`placeholder`],l3e=[`aria-multiselectable`],u3e={class:`inline-block min-w-0 flex-1 truncate text-c-1`},d3e=j({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Td({options:{},placeholder:{},filterFn:{type:Function,default:Y4e},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:Td([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=jd(e,`modelValue`),i=Sd(),a=`scalar-combobox-items-${ud()}`,o={id:`${ud()}-add`,label:`Add a new option`};function s(e){return`${a}-${e.id}`}let c=H(()=>q4e(e.options)?e.options.flatMap(e=>e.options):e.options),l=H(()=>q4e(e.options)?e.options:[{label:``,options:e.options}]),u=O(``),d=O(r.value?.[0]??c.value[0]);Af(()=>{u.value=``,d.value=r.value?.[0]??c.value[0],r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(s(e))?.scrollIntoView({block:`nearest`})},10)}),nd(()=>u.value,()=>d.value=p.value[0]);let f=H(()=>e.filterFn(u.value,c.value,l.value)),p=H(()=>i.add?[...f.value,o]:f.value);function m(t){if(t){if(t.id===o.id){g();return}e.multiselect?r.value.some(e=>e.id===t.id)?r.value=r.value.filter(e=>e.id!==t.id):r.value=[...r.value,c.value.find(e=>e.id===t.id)]:r.value=[c.value.find(e=>e.id===t.id)]}}function h(e){let t=p.value,n=t.findIndex(e=>e.id===d.value?.id)+e;n<0||n>t.length-1||(d.value=t[n],d.value&&document?.getElementById(s(d.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function g(){n(`add`),u.value=``}let _=O(null);return Af(()=>setTimeout(()=>_.value?.focus(),0)),(t,n)=>(N(),P(B,null,[I(`div`,s3e,[V(k(_C),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),Xu(I(`input`,{ref_key:`input`,ref:_,"onUpdate:modelValue":n[0]||=e=>u.value=e,"aria-activedescendant":d.value?s(d.value):void 0,"aria-autocomplete":`list`,"aria-controls":a,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:[n[1]||=em($p(e=>h(1),[`prevent`]),[`down`]),n[2]||=em($p(e=>d.value&&m(d.value),[`prevent`]),[`enter`]),n[3]||=em($p(e=>h(-1),[`prevent`]),[`up`])]},null,40,c3e),[[Xp,u.value]])]),Xu(I(`ul`,{id:a,"aria-multiselectable":e.multiselect,class:`border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0`,role:`listbox`,tabindex:`-1`},[(N(!0),P(B,null,yd(l.value,(i,o)=>(N(),F(a3e,{id:`${a}-group-${o}`,key:o,hidden:!i.options.some(e=>f.value.some(t=>t.id===e.id))||!i.label},{label:A(()=>[t.$slots.group?M(t.$slots,`group`,{key:0,group:i}):(N(),P(B,{key:1},[L(D(i.label),1)],64))]),default:A(()=>[(N(!0),P(B,null,yd(f.value,a=>(N(),P(B,{key:a.id},[i.options.some(e=>e.id===a.id)?(N(),F(Aj,{key:0,id:s(a),active:d.value?.id===a.id,selected:r.value.some(e=>e.id===a.id),onClick:e=>m(a),onMousedown:n[4]||=$p(()=>{},[`prevent`]),onMouseenter:e=>d.value=a},{default:A(({active:n,selected:i})=>[t.$slots.option?M(t.$slots,`option`,{key:0,active:n,option:a,selected:i}):(N(),P(B,{key:1},[V(k(Dj),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),I(`span`,u3e,D(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):R(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(N(),F(Aj,{key:0,id:s(o),active:d.value?.id===o.id,onClick:g,onMousedown:n[5]||=$p(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>d.value=o},{default:A(({active:e})=>[V(k(yC),{class:`size-4 p-px`}),M(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):R(``,!0)],8,l3e),[[Rp,f.value.length||i.add]])],64))}})})),jj,p3e=c((()=>{f3e(),jj=d3e})),m3e,h3e=c((()=>{wj(),Ej(),zS(),U(),Ag(),m3e=j({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:n}=RS(),r=O(null),i=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:r}),(e,t)=>(N(),F(k(cg),{as:`template`},{default:A(({open:t})=>[V(k(Cj),qc(Vd(e.$props)),bd({default:A(()=>[V(k(lg),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:A(()=>[M(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:A(({width:r})=>[V(k(ug),z({style:{width:r}},k(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:A(({close:n})=>[M(e.$slots,`popover`,{close:n,open:t}),V(k(Tj))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}})})),Mj,g3e=c((()=>{h3e(),Mj=m3e})),_3e,v3e=c((()=>{p3e(),g3e(),U(),_3e=j({__name:`ScalarCombobox`,props:Td({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Td([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=jd(e,`modelValue`);return(t,i)=>(N(),F(Mj,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:A(({open:e})=>[M(t.$slots,`default`,{open:e})]),popover:A(({open:i,close:a})=>[V(jj,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:i,options:e.options,placeholder:e.placeholder,onAdd:()=>(a(),n(`add`)),"onUpdate:modelValue":e=>(a(),r.value=e[0])},bd({_:2},[t.$slots.option?{name:`option`,fn:A(e=>[M(t.$slots,`option`,qc(Vd(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:A(e=>[M(t.$slots,`group`,qc(Vd(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:A(e=>[M(t.$slots,`add`,qc(Vd(e)))]),key:`2`}:void 0]),1032,[`filterFn`,`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}})})),Nj,y3e=c((()=>{v3e(),Nj=_3e})),b3e,x3e=c((()=>{p3e(),g3e(),U(),b3e=j({__name:`ScalarComboboxMultiselect`,props:Td({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:Td([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=n,i=jd(e,`modelValue`),a=O(null);return t({comboboxPopoverRef:a}),(t,n)=>(N(),F(Mj,{ref_key:`comboboxPopoverRef`,ref:a,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:A(({open:e})=>[M(t.$slots,`default`,{open:e})]),popover:A(({open:a})=>[e.options?.length?(N(),F(jj,{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,filterFn:e.filterFn,multiselect:``,open:a,options:e.options,placeholder:e.placeholder,onAdd:n[1]||=e=>r(`add`)},bd({_:2},[t.$slots.option?{name:`option`,fn:A(e=>[M(t.$slots,`option`,qc(Vd(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:A(e=>[M(t.$slots,`group`,qc(Vd(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:A(e=>[M(t.$slots,`add`,qc(Vd(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`filterFn`,`open`,`options`,`placeholder`])):R(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}})})),Pj,S3e=c((()=>{x3e(),Pj=b3e})),C3e,w3e,T3e,E3e=c((()=>{Ej(),zS(),U(),C3e={class:`custom-scroll min-h-0 flex-1`},w3e={class:`flex flex-col p-0.75`},T3e=j({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),F(vd(e.is??`div`),qc(Vd(k(t)(`relative flex w-56`))),{default:A(()=>[I(`div`,C3e,[M(n.$slots,`menu`,{},()=>[I(`div`,w3e,[M(n.$slots,`default`)])]),M(n.$slots,`backdrop`,{},()=>[V(k(Tj))])])]),_:3},16))}})})),Fj,Ij=c((()=>{E3e(),Fj=T3e}));function D3e(){let e=O();return Qu(Lj,e),{active:e}}function O3e(){let e=$u(Lj);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}var Lj,k3e=c((()=>{U(),Lj=Symbol()})),A3e,j3e,M3e=c((()=>{wj(),Ij(),k3e(),zS(),U(),aw(),A3e=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],j3e=j({inheritAttrs:!1,__name:`ScalarDropdown`,props:Td({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=O(),n=O(),r=jd(e,`open`),{active:i}=D3e(),a=ud(),o=O(a),s=ud();async function c(){r.value=!r.value,await Ku(),r.value&&n.value?.focus()}async function l(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await Ku(),n.value?.focus(),[`ArrowDown`,` `,`Enter`].includes(e.key)?f(1):e.key===`ArrowUp`&&f(-1)}nd(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?o.value=e.id:(o.value=a,e.setAttribute(`id`,o.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${r.value}`),r.value&&e.setAttribute(`aria-controls`,s),e.addEventListener(`click`,c),e.addEventListener(`keydown`,l)),t&&t!==e&&(t.id===a&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,c),t.removeEventListener(`keydown`,l))},{immediate:!0}),nd(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute(`aria-expanded`,`${e}`),e?n.setAttribute(`aria-controls`,s):n.removeAttribute(`aria-controls`))},{immediate:!0});async function u(){t.value?.targetRef?.focus(),r.value=!1}function d(){if(!i.value||!n.value)return;let e=n.value.querySelector(`#${i.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),u())}function f(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let a=t.findIndex(e=>e.id===i.value);if(a===-1){let n=t[e>0?0:t.length-1];n?.id&&(i.value=n.id);return}let o=a+e;if(o<0||o>t.length-1)return;let s=t[o];s?.id&&(i.value=s.id)}XC(n,u,{ignore:[H(()=>t.value?.targetRef)]});let{cx:p}=RS();return(a,c)=>(N(),F(k(Cj),z({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),bd({default:A(()=>[M(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:A(({width:e})=>[V(Fj,z({style:{width:e}},k(p)(`max-h-[inherit] max-w-[inherit]`)),{menu:A(()=>[I(`div`,{id:k(s),ref_key:`menuRef`,ref:n,"aria-activedescendant":k(i),"aria-labelledby":o.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:$p(u,[`stop`]),onKeydown:[c[0]||=em($p(e=>f(1),[`prevent`,`stop`]),[`down`]),em($p(d,[`prevent`,`stop`]),[`enter`]),em($p(u,[`prevent`,`stop`]),[`escape`]),em($p(d,[`prevent`,`stop`]),[`space`]),em($p(u,[`prevent`,`stop`]),[`tab`]),c[1]||=em($p(e=>f(-1),[`prevent`,`stop`]),[`up`])]},[M(a.$slots,`items`,{open:r.value})],40,A3e)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}})})),Rj,N3e=c((()=>{M3e(),Rj=j3e})),P3e,F3e=c((()=>{zS(),U(),P3e=j({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=IS({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`],variants:{disabled:{true:`pointer-events-none text-c-3`},active:{true:``}},compoundVariants:[{disabled:!1,active:!0,class:`bg-b-2`}]});return(n,r)=>(N(),F(vd(e.is),{"aria-disabled":e.disabled,class:E([`item`,k(LS)(`scalar-dropdown-item`,k(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:A(()=>[M(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}})})),zj,Bj=c((()=>{VS(),F3e(),zj=BS(P3e,[[`__scopeId`,`data-v-6660bbc5`]])})),I3e,L3e=c((()=>{I3e={}}));function R3e(e,t,n,r,i,a){return N(),P(`div`,z3e)}var z3e,Vj,B3e=c((()=>{VS(),L3e(),U(),z3e={class:`-mx-0.75 my-0.75 h-border bg-border`},Vj=BS(I3e,[[`render`,R3e]])})),V3e,H3e=c((()=>{k3e(),Bj(),U(),V3e=j({__name:`ScalarDropdownItem`,props:{id:{default:()=>ud()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=O3e();return(n,r)=>(N(),F(zj,{id:e.id,active:k(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:r[0]||=e=>n.$emit(`click`,e),onMouseenter:r[1]||=n=>t.value=e.id},{default:A(()=>[M(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}})})),Hj,U3e=c((()=>{VS(),H3e(),Hj=BS(V3e,[[`__scopeId`,`data-v-3402682d`]])})),W3e,G3e,K3e,q3e=c((()=>{U(),W3e={key:1,class:`rounded border bg-b-2 p-3 text-sm`},G3e={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},K3e=j({__name:`ScalarErrorBoundary`,setup(e){let t=O(!1),n=O();return Fle((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(N(),P(`div`,W3e,[r[0]||=I(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(N(),P(`div`,G3e,D(n.value?.name)+`: `+D(n.value?.message),1)):R(``,!0)])):M(e.$slots,`default`,{key:0})}})})),Uj,J3e=c((()=>{q3e(),Uj=K3e})),Y3e=c((()=>{zS(),U()})),X3e=c((()=>{Y3e()})),Z3e=c((()=>{zS(),U()})),Q3e=c((()=>{Z3e()})),$3e=c((()=>{qS(),zS(),U()})),e6e=c((()=>{$3e()})),t6e=c((()=>{zS(),U()})),n6e=c((()=>{t6e()})),r6e=c((()=>{US(),zS(),U()})),i6e=c((()=>{r6e()})),a6e=c((()=>{X3e(),Q3e(),e6e(),n6e(),i6e(),zS(),U()})),o6e=c((()=>{a6e()})),Wj,Gj,s6e=c((()=>{Wj=[`B`,`kB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],Gj=(e,t=3)=>{if(!Number.isFinite(e)||e<=0)return`0 B`;let n=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),Wj.length-1));return Number((e/1e3**n).toPrecision(t))>=1e3&&n<Wj.length-1&&(n+=1),`${Number((e/1e3**n).toPrecision(t))} ${Wj[n]}`}})),c6e=c((()=>{qS(),zS(),U()})),l6e=c((()=>{c6e()})),u6e=c((()=>{zS(),U()})),d6e=c((()=>{u6e()})),f6e,p6e=c((()=>{zS(),U(),f6e=j({inheritAttrs:!1,__name:`ScalarHeaderButton`,props:{is:{default:`button`},active:{type:Boolean}},setup(e){let t=IS({base:`group/button flex items-center rounded px-2.5 py-1.5 font-medium no-underline leading-5 `,variants:{active:{true:`bg-b-3 cursor-default`,false:`bg-transparent hover:bg-b-3 cursor-pointer`}}}),{cx:n}=RS();return(r,i)=>(N(),F(vd(e.is),z({type:e.is===`button`?`button`:void 0},k(n)(k(t)({active:e.active}))),{default:A(()=>[M(r.$slots,`default`)]),_:3},16,[`type`]))}})})),m6e,h6e=c((()=>{p6e(),m6e=f6e})),Kj,g6e,_6e,v6e=c((()=>{Kj={"⌘":`Command`,"^":`Control`,ctrl:`Control`,"⌥":`Option`,alt:`Alt`,"⇧":`Shift`,"⇪":`Caps Lock`,"↵":`Enter`,"←":`Left Arrow`,"→":`Right Arrow`,"↑":`Up Arrow`,"↓":`Down Arrow`},g6e={Meta:`⌘`,Shift:`⇧`,Alt:`⌥`,Control:`^`},_6e={Meta:`ctrl`,Shift:`⇧`,Alt:`alt`,Control:`ctrl`}})),y6e,qj,Jj=c((()=>{y6e=e=>{let t=Reflect.get(e,`userAgentData`);if(!(!t||typeof t!=`object`)&&!(!(`platform`in t)||typeof t.platform!=`string`))return t.platform},qj=()=>{if(typeof navigator>`u`)return!1;let e=y6e(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)}}));function b6e(e){return e===`default`}function x6e(e){let t=b6e(e)?`Meta`:e;return qj()?g6e[t]:_6e[t]}function S6e(e,t){return[...t.map(e=>x6e(e)),e]}function C6e(e){return e in Kj?Kj[e]:e}var w6e=c((()=>{v6e(),Jj()})),T6e,E6e,D6e,O6e=c((()=>{w6e(),zS(),U(),T6e={"aria-hidden":`true`,class:`contents`},E6e={class:`sr-only`},D6e=j({inheritAttrs:!1,__name:`ScalarHotkey`,props:{hotkey:{},modifier:{default:()=>[`Meta`]}},setup(e){let{cx:t}=RS(),n=H(()=>S6e(e.hotkey,e.modifier));return(e,r)=>(N(),P(`div`,qc(Vd(k(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`))),[(N(!0),P(B,null,yd(n.value,(e,t)=>(N(),P(`div`,{key:t},[I(`span`,T6e,D(e),1),I(`span`,E6e,D(k(C6e)(e)),1)]))),128))],16))}})})),Yj,k6e=c((()=>{O6e(),Yj=D6e})),Xj,Zj,Qj=c((()=>{Xj=Object.defineProperty,Zj=(e,t)=>{let n={};for(var r in e)Xj(n,r,{get:e[r],enumerable:!0});return t||Xj(n,Symbol.toStringTag,{value:`Module`}),n}}));function A6e(e,t){return N(),P(`svg`,M6e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var j6e,M6e,N6e,P6e=c((()=>{Qj(),U(),j6e=Zj({default:()=>N6e,render:()=>A6e}),M6e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},N6e={render:A6e}}));function F6e(e,t){return N(),P(`svg`,L6e,[...t[0]||=[I(`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 I6e,L6e,R6e,z6e=c((()=>{Qj(),U(),I6e=Zj({default:()=>R6e,render:()=>F6e}),L6e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},R6e={render:F6e}}));function B6e(e,t){return N(),P(`svg`,H6e,[...t[0]||=[I(`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 V6e,H6e,U6e,W6e=c((()=>{Qj(),U(),V6e=Zj({default:()=>U6e,render:()=>B6e}),H6e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},U6e={render:B6e}}));function G6e(e,t){return N(),P(`svg`,q6e,[...t[0]||=[I(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var K6e,q6e,J6e,Y6e=c((()=>{Qj(),U(),K6e=Zj({default:()=>J6e,render:()=>G6e}),q6e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},J6e={render:G6e}}));function X6e(e,t){return N(),P(`svg`,Q6e,[...t[0]||=[I(`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 Z6e,Q6e,$6e,e8e=c((()=>{Qj(),U(),Z6e=Zj({default:()=>$6e,render:()=>X6e}),Q6e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},$6e={render:X6e}}));function t8e(e,t){return N(),P(`svg`,r8e,[...t[0]||=[I(`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 n8e,r8e,i8e,a8e=c((()=>{Qj(),U(),n8e=Zj({default:()=>i8e,render:()=>t8e}),r8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},i8e={render:t8e}}));function o8e(e,t){return N(),P(`svg`,c8e,[...t[0]||=[I(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),I(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),I(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),I(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var s8e,c8e,l8e,u8e=c((()=>{Qj(),U(),s8e=Zj({default:()=>l8e,render:()=>o8e}),c8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},l8e={render:o8e}}));function d8e(e,t){return N(),P(`svg`,p8e,[...t[0]||=[I(`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),I(`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),I(`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 f8e,p8e,m8e,h8e=c((()=>{Qj(),U(),f8e=Zj({default:()=>m8e,render:()=>d8e}),p8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},m8e={render:d8e}}));function g8e(e,t){return N(),P(`svg`,v8e,[...t[0]||=[I(`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 _8e,v8e,y8e,b8e=c((()=>{Qj(),U(),_8e=Zj({default:()=>y8e,render:()=>g8e}),v8e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},y8e={render:g8e}}));function x8e(e,t){return N(),P(`svg`,C8e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var S8e,C8e,w8e,T8e=c((()=>{Qj(),U(),S8e=Zj({default:()=>w8e,render:()=>x8e}),C8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},w8e={render:x8e}}));function E8e(e,t){return N(),P(`svg`,O8e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var D8e,O8e,k8e,A8e=c((()=>{Qj(),U(),D8e=Zj({default:()=>k8e,render:()=>E8e}),O8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},k8e={render:E8e}}));function j8e(e,t){return N(),P(`svg`,N8e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var M8e,N8e,P8e,F8e=c((()=>{Qj(),U(),M8e=Zj({default:()=>P8e,render:()=>j8e}),N8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},P8e={render:j8e}}));function I8e(e,t){return N(),P(`svg`,R8e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var L8e,R8e,z8e,B8e=c((()=>{Qj(),U(),L8e=Zj({default:()=>z8e,render:()=>I8e}),R8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},z8e={render:I8e}}));function V8e(e,t){return N(),P(`svg`,U8e,[...t[0]||=[I(`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 H8e,U8e,W8e,G8e=c((()=>{Qj(),U(),H8e=Zj({default:()=>W8e,render:()=>V8e}),U8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},W8e={render:V8e}}));function K8e(e,t){return N(),P(`svg`,J8e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var q8e,J8e,Y8e,X8e=c((()=>{Qj(),U(),q8e=Zj({default:()=>Y8e,render:()=>K8e}),J8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Y8e={render:K8e}}));function Z8e(e,t){return N(),P(`svg`,$8e,[...t[0]||=[I(`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 Q8e,$8e,e5e,t5e=c((()=>{Qj(),U(),Q8e=Zj({default:()=>e5e,render:()=>Z8e}),$8e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},e5e={render:Z8e}}));function n5e(e,t){return N(),P(`svg`,i5e,[...t[0]||=[I(`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 r5e,i5e,a5e,o5e=c((()=>{Qj(),U(),r5e=Zj({default:()=>a5e,render:()=>n5e}),i5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},a5e={render:n5e}}));function s5e(e,t){return N(),P(`svg`,l5e,[...t[0]||=[I(`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 c5e,l5e,u5e,d5e=c((()=>{Qj(),U(),c5e=Zj({default:()=>u5e,render:()=>s5e}),l5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},u5e={render:s5e}}));function f5e(e,t){return N(),P(`svg`,m5e,[...t[0]||=[I(`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),I(`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 p5e,m5e,h5e,g5e=c((()=>{Qj(),U(),p5e=Zj({default:()=>h5e,render:()=>f5e}),m5e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},h5e={render:f5e}}));function _5e(e,t){return N(),P(`svg`,y5e,[...t[0]||=[I(`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),I(`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 v5e,y5e,b5e,x5e=c((()=>{Qj(),U(),v5e=Zj({default:()=>b5e,render:()=>_5e}),y5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},b5e={render:_5e}}));function S5e(e,t){return N(),P(`svg`,w5e,[...t[0]||=[I(`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 C5e,w5e,T5e,E5e=c((()=>{Qj(),U(),C5e=Zj({default:()=>T5e,render:()=>S5e}),w5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},T5e={render:S5e}}));function D5e(e,t){return N(),P(`svg`,k5e,[...t[0]||=[I(`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),I(`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 O5e,k5e,A5e,j5e=c((()=>{Qj(),U(),O5e=Zj({default:()=>A5e,render:()=>D5e}),k5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},A5e={render:D5e}}));function M5e(e,t){return N(),P(`svg`,P5e,[...t[0]||=[I(`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 N5e,P5e,F5e,I5e=c((()=>{Qj(),U(),N5e=Zj({default:()=>F5e,render:()=>M5e}),P5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},F5e={render:M5e}}));function L5e(e,t){return N(),P(`svg`,z5e,[...t[0]||=[I(`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 R5e,z5e,B5e,V5e=c((()=>{Qj(),U(),R5e=Zj({default:()=>B5e,render:()=>L5e}),z5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},B5e={render:L5e}}));function H5e(e,t){return N(),P(`svg`,W5e,[...t[0]||=[I(`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),I(`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 U5e,W5e,G5e,K5e=c((()=>{Qj(),U(),U5e=Zj({default:()=>G5e,render:()=>H5e}),W5e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},G5e={render:H5e}}));function q5e(e,t){return N(),P(`svg`,Y5e,[...t[0]||=[I(`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),I(`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 J5e,Y5e,X5e,Z5e=c((()=>{Qj(),U(),J5e=Zj({default:()=>X5e,render:()=>q5e}),Y5e={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},X5e={render:q5e}}));function Q5e(e,t){return N(),P(`svg`,e7e,[...t[0]||=[I(`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 $5e,e7e,t7e,n7e=c((()=>{Qj(),U(),$5e=Zj({default:()=>t7e,render:()=>Q5e}),e7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},t7e={render:Q5e}}));function r7e(e,t){return N(),P(`svg`,a7e,[...t[0]||=[I(`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),I(`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 i7e,a7e,o7e,s7e=c((()=>{Qj(),U(),i7e=Zj({default:()=>o7e,render:()=>r7e}),a7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},o7e={render:r7e}}));function c7e(e,t){return N(),P(`svg`,u7e,[...t[0]||=[I(`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 l7e,u7e,d7e,f7e=c((()=>{Qj(),U(),l7e=Zj({default:()=>d7e,render:()=>c7e}),u7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},d7e={render:c7e}}));function p7e(e,t){return N(),P(`svg`,h7e,[...t[0]||=[I(`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 m7e,h7e,g7e,_7e=c((()=>{Qj(),U(),m7e=Zj({default:()=>g7e,render:()=>p7e}),h7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},g7e={render:p7e}}));function v7e(e,t){return N(),P(`svg`,b7e,[...t[0]||=[I(`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),I(`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 y7e,b7e,x7e,S7e=c((()=>{Qj(),U(),y7e=Zj({default:()=>x7e,render:()=>v7e}),b7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},x7e={render:v7e}}));function C7e(e,t){return N(),P(`svg`,T7e,[...t[0]||=[I(`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),I(`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 w7e,T7e,E7e,D7e=c((()=>{Qj(),U(),w7e=Zj({default:()=>E7e,render:()=>C7e}),T7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},E7e={render:C7e}}));function O7e(e,t){return N(),P(`svg`,A7e,[...t[0]||=[I(`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 k7e,A7e,j7e,M7e=c((()=>{Qj(),U(),k7e=Zj({default:()=>j7e,render:()=>O7e}),A7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},j7e={render:O7e}}));function N7e(e,t){return N(),P(`svg`,F7e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var P7e,F7e,I7e,L7e=c((()=>{Qj(),U(),P7e=Zj({default:()=>I7e,render:()=>N7e}),F7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},I7e={render:N7e}}));function R7e(e,t){return N(),P(`svg`,B7e,[...t[0]||=[I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var z7e,B7e,V7e,H7e=c((()=>{Qj(),U(),z7e=Zj({default:()=>V7e,render:()=>R7e}),B7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},V7e={render:R7e}}));function U7e(e,t){return N(),P(`svg`,G7e,[...t[0]||=[I(`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 W7e,G7e,K7e,q7e=c((()=>{Qj(),U(),W7e=Zj({default:()=>K7e,render:()=>U7e}),G7e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},K7e={render:U7e}}));function J7e(e,t){return N(),P(`svg`,X7e,[...t[0]||=[I(`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 Y7e,X7e,Z7e,Q7e=c((()=>{Qj(),U(),Y7e=Zj({default:()=>Z7e,render:()=>J7e}),X7e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`},Z7e={render:J7e}}));function $7e(e,t){return N(),P(`svg`,t9e,[...t[0]||=[I(`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 e9e,t9e,n9e,r9e=c((()=>{Qj(),U(),e9e=Zj({default:()=>n9e,render:()=>$7e}),t9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},n9e={render:$7e}}));function i9e(e,t){return N(),P(`svg`,o9e,[...t[0]||=[I(`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 a9e,o9e,s9e,c9e=c((()=>{Qj(),U(),a9e=Zj({default:()=>s9e,render:()=>i9e}),o9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},s9e={render:i9e}}));function l9e(e,t){return N(),P(`svg`,d9e,[...t[0]||=[I(`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 u9e,d9e,f9e,p9e=c((()=>{Qj(),U(),u9e=Zj({default:()=>f9e,render:()=>l9e}),d9e={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},f9e={render:l9e}}));function m9e(e,t){return N(),P(`svg`,g9e,[...t[0]||=[I(`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),I(`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 h9e,g9e,_9e,v9e=c((()=>{Qj(),U(),h9e=Zj({default:()=>_9e,render:()=>m9e}),g9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},_9e={render:m9e}}));function y9e(e,t){return N(),P(`svg`,x9e,[...t[0]||=[I(`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 b9e,x9e,S9e,C9e=c((()=>{Qj(),U(),b9e=Zj({default:()=>S9e,render:()=>y9e}),x9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},S9e={render:y9e}}));function w9e(e,t){return N(),P(`svg`,E9e,[...t[0]||=[I(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),I(`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 T9e,E9e,D9e,O9e=c((()=>{Qj(),U(),T9e=Zj({default:()=>D9e,render:()=>w9e}),E9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},D9e={render:w9e}}));function k9e(e,t){return N(),P(`svg`,j9e,[...t[0]||=[I(`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 A9e,j9e,M9e,N9e=c((()=>{Qj(),U(),A9e=Zj({default:()=>M9e,render:()=>k9e}),j9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},M9e={render:k9e}}));function P9e(e,t){return N(),P(`svg`,I9e,[...t[0]||=[I(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),I(`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),I(`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 F9e,I9e,L9e,R9e=c((()=>{Qj(),U(),F9e=Zj({default:()=>L9e,render:()=>P9e}),I9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},L9e={render:P9e}}));function z9e(e,t){return N(),P(`svg`,V9e,[...t[0]||=[I(`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),I(`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),I(`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 B9e,V9e,H9e,U9e=c((()=>{Qj(),U(),B9e=Zj({default:()=>H9e,render:()=>z9e}),V9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},H9e={render:z9e}}));function W9e(e,t){return N(),P(`svg`,K9e,[...t[0]||=[I(`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),I(`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 G9e,K9e,q9e,J9e=c((()=>{Qj(),U(),G9e=Zj({default:()=>q9e,render:()=>W9e}),K9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},q9e={render:W9e}}));function Y9e(e,t){return N(),P(`svg`,Z9e,[...t[0]||=[I(`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 X9e,Z9e,Q9e,$9e=c((()=>{Qj(),U(),X9e=Zj({default:()=>Q9e,render:()=>Y9e}),Z9e={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Q9e={render:Y9e}}));function eet(e,t){return N(),P(`svg`,net,[...t[0]||=[I(`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 tet,net,ret,iet=c((()=>{Qj(),U(),tet=Zj({default:()=>ret,render:()=>eet}),net={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},ret={render:eet}}));function aet(e,t){return N(),P(`svg`,set,[...t[0]||=[I(`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 oet,set,cet,uet=c((()=>{Qj(),U(),oet=Zj({default:()=>cet,render:()=>aet}),set={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},cet={render:aet}}));function det(e,t){return N(),P(`svg`,pet,[...t[0]||=[I(`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 fet,pet,met,het=c((()=>{Qj(),U(),fet=Zj({default:()=>met,render:()=>det}),pet={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},met={render:det}}));function get(e,t){return N(),P(`svg`,vet,[...t[0]||=[I(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),I(`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 _et,vet,yet,bet=c((()=>{Qj(),U(),_et=Zj({default:()=>yet,render:()=>get}),vet={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},yet={render:get}}));function xet(e,t){return N(),P(`svg`,wet,[...t[0]||=[I(`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 Cet,wet,Tet,Eet=c((()=>{Qj(),U(),Cet=Zj({default:()=>Tet,render:()=>xet}),wet={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`},Tet={render:xet}}));function Det(e,t){return N(),P(`svg`,ket,[...t[0]||=[I(`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 Oet,ket,Aet,jet=c((()=>{Qj(),U(),Oet=Zj({default:()=>Aet,render:()=>Det}),ket={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},Aet={render:Det}}));function Met(e,t){return N(),P(`svg`,Pet,[...t[0]||=[I(`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 Net,Pet,Fet,Iet=c((()=>{Qj(),U(),Net=Zj({default:()=>Fet,render:()=>Met}),Pet={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Fet={render:Met}}));function Let(e,t){return N(),P(`svg`,zet,[...t[0]||=[I(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var Ret,zet,Bet,Vet=c((()=>{Qj(),U(),Ret=Zj({default:()=>Bet,render:()=>Let}),zet={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},Bet={render:Let}}));function Het(e,t){return N(),P(`svg`,Wet,[...t[0]||=[I(`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 Uet,Wet,Get,Ket=c((()=>{Qj(),U(),Uet=Zj({default:()=>Get,render:()=>Het}),Wet={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Get={render:Het}}));function qet(e,t){return N(),P(`svg`,Yet,[...t[0]||=[I(`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),I(`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 Jet,Yet,Xet,Zet=c((()=>{Qj(),U(),Jet=Zj({default:()=>Xet,render:()=>qet}),Yet={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Xet={render:qet}}));function Qet(e,t){return N(),P(`svg`,ett,[...t[0]||=[I(`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 $et,ett,ttt,ntt=c((()=>{Qj(),U(),$et=Zj({default:()=>ttt,render:()=>Qet}),ett={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},ttt={render:Qet}}));function rtt(e,t){return N(),P(`svg`,att,[...t[0]||=[I(`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 itt,att,ott,stt=c((()=>{Qj(),U(),itt=Zj({default:()=>ott,render:()=>rtt}),att={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},ott={render:rtt}}));function ctt(e,t){return N(),P(`svg`,utt,[...t[0]||=[I(`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 ltt,utt,dtt,ftt=c((()=>{Qj(),U(),ltt=Zj({default:()=>dtt,render:()=>ctt}),utt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},dtt={render:ctt}}));function ptt(e,t){return N(),P(`svg`,htt,[...t[0]||=[I(`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 mtt,htt,gtt,_tt=c((()=>{Qj(),U(),mtt=Zj({default:()=>gtt,render:()=>ptt}),htt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},gtt={render:ptt}}));function vtt(e,t){return N(),P(`svg`,btt,[...t[0]||=[I(`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 ytt,btt,xtt,Stt=c((()=>{Qj(),U(),ytt=Zj({default:()=>xtt,render:()=>vtt}),btt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},xtt={render:vtt}}));function Ctt(e,t){return N(),P(`svg`,Ttt,[...t[0]||=[I(`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 wtt,Ttt,Ett,Dtt=c((()=>{Qj(),U(),wtt=Zj({default:()=>Ett,render:()=>Ctt}),Ttt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Ett={render:Ctt}}));function Ott(e,t){return N(),P(`svg`,Att,[...t[0]||=[I(`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),I(`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),I(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var ktt,Att,jtt,Mtt=c((()=>{Qj(),U(),ktt=Zj({default:()=>jtt,render:()=>Ott}),Att={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},jtt={render:Ott}}));function Ntt(e,t){return N(),P(`svg`,Ftt,[...t[0]||=[I(`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 Ptt,Ftt,Itt,Ltt=c((()=>{Qj(),U(),Ptt=Zj({default:()=>Itt,render:()=>Ntt}),Ftt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Itt={render:Ntt}}));function Rtt(e,t){return N(),P(`svg`,Btt,[...t[0]||=[I(`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),I(`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 ztt,Btt,Vtt,Htt=c((()=>{Qj(),U(),ztt=Zj({default:()=>Vtt,render:()=>Rtt}),Btt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Vtt={render:Rtt}}));function Utt(e,t){return N(),P(`svg`,Gtt,[...t[0]||=[I(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var Wtt,Gtt,Ktt,qtt=c((()=>{Qj(),U(),Wtt=Zj({default:()=>Ktt,render:()=>Utt}),Gtt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},Ktt={render:Utt}}));function Jtt(e,t){return N(),P(`svg`,Xtt,[...t[0]||=[I(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),I(`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 Ytt,Xtt,Ztt,Qtt=c((()=>{Qj(),U(),Ytt=Zj({default:()=>Ztt,render:()=>Jtt}),Xtt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},Ztt={render:Jtt}}));function $tt(e,t){return N(),P(`svg`,tnt,[...t[0]||=[I(`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 ent,tnt,nnt,rnt=c((()=>{Qj(),U(),ent=Zj({default:()=>nnt,render:()=>$tt}),tnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},nnt={render:$tt}}));function int(e,t){return N(),P(`svg`,ont,[...t[0]||=[I(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),I(`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 ant,ont,snt,cnt=c((()=>{Qj(),U(),ant=Zj({default:()=>snt,render:()=>int}),ont={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},snt={render:int}}));function lnt(e,t){return N(),P(`svg`,dnt,[...t[0]||=[I(`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 unt,dnt,fnt,pnt=c((()=>{Qj(),U(),unt=Zj({default:()=>fnt,render:()=>lnt}),dnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},fnt={render:lnt}}));function mnt(e,t){return N(),P(`svg`,gnt,[...t[0]||=[I(`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 hnt,gnt,_nt,vnt=c((()=>{Qj(),U(),hnt=Zj({default:()=>_nt,render:()=>mnt}),gnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},_nt={render:mnt}}));function ynt(e,t){return N(),P(`svg`,xnt,[...t[0]||=[I(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),I(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var bnt,xnt,Snt,Cnt=c((()=>{Qj(),U(),bnt=Zj({default:()=>Snt,render:()=>ynt}),xnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Snt={render:ynt}}));function wnt(e,t){return N(),P(`svg`,Ent,[...t[0]||=[I(`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),I(`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 Tnt,Ent,Dnt,Ont=c((()=>{Qj(),U(),Tnt=Zj({default:()=>Dnt,render:()=>wnt}),Ent={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Dnt={render:wnt}}));function knt(e,t){return N(),P(`svg`,jnt,[...t[0]||=[I(`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 Ant,jnt,Mnt,Nnt=c((()=>{Qj(),U(),Ant=Zj({default:()=>Mnt,render:()=>knt}),jnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Mnt={render:knt}}));function Pnt(e,t){return N(),P(`svg`,Int,[...t[0]||=[I(`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 Fnt,Int,Lnt,Rnt=c((()=>{Qj(),U(),Fnt=Zj({default:()=>Lnt,render:()=>Pnt}),Int={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Lnt={render:Pnt}}));function znt(e,t){return N(),P(`svg`,Vnt,[...t[0]||=[I(`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),I(`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 Bnt,Vnt,Hnt,Unt=c((()=>{Qj(),U(),Bnt=Zj({default:()=>Hnt,render:()=>znt}),Vnt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Hnt={render:znt}}));function Wnt(e,t){return N(),P(`svg`,Knt,[...t[0]||=[I(`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 Gnt,Knt,qnt,Jnt=c((()=>{Qj(),U(),Gnt=Zj({default:()=>qnt,render:()=>Wnt}),Knt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},qnt={render:Wnt}}));function Ynt(e,t){return N(),P(`svg`,Znt,[...t[0]||=[I(`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 Xnt,Znt,Qnt,$nt=c((()=>{Qj(),U(),Xnt=Zj({default:()=>Qnt,render:()=>Ynt}),Znt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`},Qnt={render:Ynt}}));function ert(e,t){return N(),P(`svg`,nrt,[...t[0]||=[I(`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 trt,nrt,rrt,irt=c((()=>{Qj(),U(),trt=Zj({default:()=>rrt,render:()=>ert}),nrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},rrt={render:ert}}));function art(e,t){return N(),P(`svg`,srt,[...t[0]||=[I(`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 ort,srt,crt,lrt=c((()=>{Qj(),U(),ort=Zj({default:()=>crt,render:()=>art}),srt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},crt={render:art}}));function urt(e,t){return N(),P(`svg`,frt,[...t[0]||=[I(`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 drt,frt,prt,mrt=c((()=>{Qj(),U(),drt=Zj({default:()=>prt,render:()=>urt}),frt={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},prt={render:urt}}));function hrt(e,t){return N(),P(`svg`,_rt,[...t[0]||=[I(`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 grt,_rt,vrt,yrt=c((()=>{Qj(),U(),grt=Zj({default:()=>vrt,render:()=>hrt}),_rt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},vrt={render:hrt}}));function brt(e,t){return N(),P(`svg`,Srt,[...t[0]||=[I(`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 xrt,Srt,Crt,wrt=c((()=>{Qj(),U(),xrt=Zj({default:()=>Crt,render:()=>brt}),Srt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Crt={render:brt}}));function Trt(e,t){return N(),P(`svg`,Drt,[...t[0]||=[I(`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),I(`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 Ert,Drt,Ort,krt=c((()=>{Qj(),U(),Ert=Zj({default:()=>Ort,render:()=>Trt}),Drt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Ort={render:Trt}}));function Art(e,t){return N(),P(`svg`,Mrt,[...t[0]||=[I(`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 jrt,Mrt,Nrt,Prt=c((()=>{Qj(),U(),jrt=Zj({default:()=>Nrt,render:()=>Art}),Mrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Nrt={render:Art}}));function Frt(e,t){return N(),P(`svg`,Lrt,[...t[0]||=[I(`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 Irt,Lrt,Rrt,zrt=c((()=>{Qj(),U(),Irt=Zj({default:()=>Rrt,render:()=>Frt}),Lrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Rrt={render:Frt}}));function Brt(e,t){return N(),P(`svg`,Hrt,[...t[0]||=[I(`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 Vrt,Hrt,Urt,Wrt=c((()=>{Qj(),U(),Vrt=Zj({default:()=>Urt,render:()=>Brt}),Hrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Urt={render:Brt}}));function Grt(e,t){return N(),P(`svg`,qrt,[...t[0]||=[I(`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 Krt,qrt,Jrt,Yrt=c((()=>{Qj(),U(),Krt=Zj({default:()=>Jrt,render:()=>Grt}),qrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Jrt={render:Grt}}));function Xrt(e,t){return N(),P(`svg`,Qrt,[...t[0]||=[I(`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 Zrt,Qrt,$rt,eit=c((()=>{Qj(),U(),Zrt=Zj({default:()=>$rt,render:()=>Xrt}),Qrt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`},$rt={render:Xrt}}));function tit(e,t){return N(),P(`svg`,rit,[...t[0]||=[I(`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 nit,rit,iit,ait=c((()=>{Qj(),U(),nit=Zj({default:()=>iit,render:()=>tit}),rit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},iit={render:tit}}));function oit(e,t){return N(),P(`svg`,cit,[...t[0]||=[I(`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 sit,cit,lit,uit=c((()=>{Qj(),U(),sit=Zj({default:()=>lit,render:()=>oit}),cit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},lit={render:oit}}));function dit(e,t){return N(),P(`svg`,pit,[...t[0]||=[I(`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 fit,pit,mit,hit=c((()=>{Qj(),U(),fit=Zj({default:()=>mit,render:()=>dit}),pit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},mit={render:dit}}));function git(e,t){return N(),P(`svg`,vit,[...t[0]||=[I(`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 _it,vit,yit,bit=c((()=>{Qj(),U(),_it=Zj({default:()=>yit,render:()=>git}),vit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},yit={render:git}}));function xit(e,t){return N(),P(`svg`,Cit,[...t[0]||=[I(`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),I(`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),I(`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 Sit,Cit,wit,Tit=c((()=>{Qj(),U(),Sit=Zj({default:()=>wit,render:()=>xit}),Cit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},wit={render:xit}}));function Eit(e,t){return N(),P(`svg`,Oit,[...t[0]||=[I(`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 Dit,Oit,kit,Ait=c((()=>{Qj(),U(),Dit=Zj({default:()=>kit,render:()=>Eit}),Oit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},kit={render:Eit}}));function jit(e,t){return N(),P(`svg`,Nit,[...t[0]||=[I(`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),I(`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 Mit,Nit,Pit,Fit=c((()=>{Qj(),U(),Mit=Zj({default:()=>Pit,render:()=>jit}),Nit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Pit={render:jit}}));function Iit(e,t){return N(),P(`svg`,Rit,[...t[0]||=[I(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var Lit,Rit,zit,Bit=c((()=>{Qj(),U(),Lit=Zj({default:()=>zit,render:()=>Iit}),Rit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},zit={render:Iit}}));function Vit(e,t){return N(),P(`svg`,Uit,[...t[0]||=[I(`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),I(`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 Hit,Uit,Wit,Git=c((()=>{Qj(),U(),Hit=Zj({default:()=>Wit,render:()=>Vit}),Uit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Wit={render:Vit}}));function Kit(e,t){return N(),P(`svg`,Jit,[...t[0]||=[I(`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),I(`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 qit,Jit,Yit,Xit=c((()=>{Qj(),U(),qit=Zj({default:()=>Yit,render:()=>Kit}),Jit={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Yit={render:Kit}}));function Zit(e,t){return N(),P(`svg`,$it,[...t[0]||=[I(`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 Qit,$it,eat,tat=c((()=>{Qj(),U(),Qit=Zj({default:()=>eat,render:()=>Zit}),$it={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},eat={render:Zit}}));function nat(e,t){return N(),P(`svg`,iat,[...t[0]||=[I(`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 rat,iat,aat,oat=c((()=>{Qj(),U(),rat=Zj({default:()=>aat,render:()=>nat}),iat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},aat={render:nat}}));function sat(e,t){return N(),P(`svg`,lat,[...t[0]||=[I(`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 cat,lat,uat,dat=c((()=>{Qj(),U(),cat=Zj({default:()=>uat,render:()=>sat}),lat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`},uat={render:sat}}));function fat(e,t){return N(),P(`svg`,mat,[...t[0]||=[I(`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 pat,mat,hat,gat=c((()=>{Qj(),U(),pat=Zj({default:()=>hat,render:()=>fat}),mat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},hat={render:fat}}));function _at(e,t){return N(),P(`svg`,yat,[...t[0]||=[I(`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),I(`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 vat,yat,bat,xat=c((()=>{Qj(),U(),vat=Zj({default:()=>bat,render:()=>_at}),yat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},bat={render:_at}}));function Sat(e,t){return N(),P(`svg`,wat,[...t[0]||=[I(`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 Cat,wat,Tat,Eat=c((()=>{Qj(),U(),Cat=Zj({default:()=>Tat,render:()=>Sat}),wat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Tat={render:Sat}}));function Dat(e,t){return N(),P(`svg`,kat,[...t[0]||=[I(`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 Oat,kat,Aat,jat=c((()=>{Qj(),U(),Oat=Zj({default:()=>Aat,render:()=>Dat}),kat={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Aat={render:Dat}}));function Mat(e,t){return N(),P(`svg`,Pat,[...t[0]||=[I(`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 Nat,Pat,Fat,Iat=c((()=>{Qj(),U(),Nat=Zj({default:()=>Fat,render:()=>Mat}),Pat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Fat={render:Mat}}));function Lat(e,t){return N(),P(`svg`,zat,[...t[0]||=[I(`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 Rat,zat,Bat,Vat=c((()=>{Qj(),U(),Rat=Zj({default:()=>Bat,render:()=>Lat}),zat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`},Bat={render:Lat}}));function Hat(e,t){return N(),P(`svg`,Wat,[...t[0]||=[I(`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 Uat,Wat,Gat,Kat=c((()=>{Qj(),U(),Uat=Zj({default:()=>Gat,render:()=>Hat}),Wat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`},Gat={render:Hat}}));function qat(e,t){return N(),P(`svg`,Yat,[...t[0]||=[I(`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 Jat,Yat,Xat,Zat=c((()=>{Qj(),U(),Jat=Zj({default:()=>Xat,render:()=>qat}),Yat={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},Xat={render:qat}}));function Qat(e,t){return N(),P(`svg`,eot,[...t[0]||=[I(`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 $at,eot,tot,not=c((()=>{Qj(),U(),$at=Zj({default:()=>tot,render:()=>Qat}),eot={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`},tot={render:Qat}}));function rot(e,t){return N(),P(`svg`,aot,[...t[0]||=[I(`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 iot,aot,oot,sot=c((()=>{Qj(),U(),iot=Zj({default:()=>oot,render:()=>rot}),aot={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},oot={render:rot}}));function cot(e,t){return N(),P(`svg`,uot,[...t[0]||=[I(`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 lot,uot,dot,fot=c((()=>{Qj(),U(),lot=Zj({default:()=>dot,render:()=>cot}),uot={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`},dot={render:cot}}));function pot(e,t){return N(),P(`svg`,hot,[...t[0]||=[I(`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 mot,hot,got,_ot=c((()=>{Qj(),U(),mot=Zj({default:()=>got,render:()=>pot}),hot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},got={render:pot}}));function vot(e,t){return N(),P(`svg`,bot)}var yot,bot,xot,Sot=c((()=>{Qj(),U(),yot=Zj({default:()=>xot,render:()=>vot}),bot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},xot={render:vot}}));function Cot(e,t){return N(),P(`svg`,Tot,[...t[0]||=[Ud(`<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 wot,Tot,Eot,Dot=c((()=>{Qj(),U(),wot=Zj({default:()=>Eot,render:()=>Cot}),Tot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Eot={render:Cot}}));function Oot(e,t){return N(),P(`svg`,Aot,[...t[0]||=[I(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),I(`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 kot,Aot,jot,Mot=c((()=>{Qj(),U(),kot=Zj({default:()=>jot,render:()=>Oot}),Aot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},jot={render:Oot}}));function Not(e,t){return N(),P(`svg`,Fot,[...t[0]||=[Ud(`<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 Pot,Fot,Iot,Lot=c((()=>{Qj(),U(),Pot=Zj({default:()=>Iot,render:()=>Not}),Fot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Iot={render:Not}}));function Rot(e,t){return N(),P(`svg`,Bot,[...t[0]||=[I(`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 zot,Bot,Vot,Hot=c((()=>{Qj(),U(),zot=Zj({default:()=>Vot,render:()=>Rot}),Bot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Vot={render:Rot}}));function Uot(e,t){return N(),P(`svg`,Got,[...t[0]||=[I(`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 Wot,Got,Kot,qot=c((()=>{Qj(),U(),Wot=Zj({default:()=>Kot,render:()=>Uot}),Got={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Kot={render:Uot}}));function Jot(e,t){return N(),P(`svg`,Xot,[...t[0]||=[I(`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 Yot,Xot,Zot,Qot=c((()=>{Qj(),U(),Yot=Zj({default:()=>Zot,render:()=>Jot}),Xot={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Zot={render:Jot}}));function $ot(e,t){return N(),P(`svg`,tst,[...t[0]||=[I(`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),I(`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 est,tst,nst,rst=c((()=>{Qj(),U(),est=Zj({default:()=>nst,render:()=>$ot}),tst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},nst={render:$ot}}));function ist(e,t){return N(),P(`svg`,ost,[...t[0]||=[I(`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),I(`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 ast,ost,sst,cst=c((()=>{Qj(),U(),ast=Zj({default:()=>sst,render:()=>ist}),ost={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},sst={render:ist}}));function lst(e,t){return N(),P(`svg`,dst,[...t[0]||=[I(`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 ust,dst,fst,pst=c((()=>{Qj(),U(),ust=Zj({default:()=>fst,render:()=>lst}),dst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},fst={render:lst}}));function mst(e,t){return N(),P(`svg`,gst,[...t[0]||=[Ud(`<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 hst,gst,_st,vst=c((()=>{Qj(),U(),hst=Zj({default:()=>_st,render:()=>mst}),gst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},_st={render:mst}}));function yst(e,t){return N(),P(`svg`,xst,[...t[0]||=[I(`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 bst,xst,Sst,Cst=c((()=>{Qj(),U(),bst=Zj({default:()=>Sst,render:()=>yst}),xst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Sst={render:yst}}));function wst(e,t){return N(),P(`svg`,Est,[...t[0]||=[I(`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 Tst,Est,Dst,Ost=c((()=>{Qj(),U(),Tst=Zj({default:()=>Dst,render:()=>wst}),Est={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Dst={render:wst}}));function kst(e,t){return N(),P(`svg`,jst,[...t[0]||=[Ud(`<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 Ast,jst,Mst,Nst=c((()=>{Qj(),U(),Ast=Zj({default:()=>Mst,render:()=>kst}),jst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Mst={render:kst}}));function Pst(e,t){return N(),P(`svg`,Ist,[...t[0]||=[I(`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 Fst,Ist,Lst,Rst=c((()=>{Qj(),U(),Fst=Zj({default:()=>Lst,render:()=>Pst}),Ist={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Lst={render:Pst}}));function zst(e,t){return N(),P(`svg`,Vst,[...t[0]||=[Ud(`<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 Bst,Vst,Hst,Ust=c((()=>{Qj(),U(),Bst=Zj({default:()=>Hst,render:()=>zst}),Vst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Hst={render:zst}}));function Wst(e,t){return N(),P(`svg`,Kst,[...t[0]||=[I(`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),I(`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 Gst,Kst,qst,Jst=c((()=>{Qj(),U(),Gst=Zj({default:()=>qst,render:()=>Wst}),Kst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},qst={render:Wst}}));function Yst(e,t){return N(),P(`svg`,Zst,[...t[0]||=[I(`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),I(`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),I(`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),I(`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 Xst,Zst,Qst,$st=c((()=>{Qj(),U(),Xst=Zj({default:()=>Qst,render:()=>Yst}),Zst={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},Qst={render:Yst}}));function ect(e,t){return N(),P(`svg`,nct,[...t[0]||=[I(`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 tct,nct,rct,ict=c((()=>{Qj(),U(),tct=Zj({default:()=>rct,render:()=>ect}),nct={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},rct={render:ect}}));function act(e,t){return N(),P(`svg`,sct,[...t[0]||=[I(`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),I(`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 oct,sct,cct,lct=c((()=>{Qj(),U(),oct=Zj({default:()=>cct,render:()=>act}),sct={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`},cct={render:act}}));function uct(e,t){return N(),P(`svg`,fct,[...t[0]||=[I(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),I(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var dct,fct,pct,mct=c((()=>{Qj(),U(),dct=Zj({default:()=>pct,render:()=>uct}),fct={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},pct={render:uct}})),$j,eM,hct,gct,_ct=c((()=>{P6e(),z6e(),W6e(),Y6e(),e8e(),a8e(),u8e(),h8e(),b8e(),T8e(),A8e(),F8e(),B8e(),G8e(),X8e(),t5e(),o5e(),d5e(),g5e(),x5e(),E5e(),j5e(),I5e(),V5e(),K5e(),Z5e(),n7e(),s7e(),f7e(),_7e(),S7e(),D7e(),M7e(),L7e(),H7e(),q7e(),Q7e(),r9e(),c9e(),p9e(),v9e(),C9e(),O9e(),N9e(),R9e(),U9e(),J9e(),$9e(),iet(),uet(),het(),bet(),Eet(),jet(),Iet(),Vet(),Ket(),Zet(),ntt(),stt(),ftt(),_tt(),Stt(),Dtt(),Mtt(),Ltt(),Htt(),qtt(),Qtt(),rnt(),cnt(),pnt(),vnt(),Cnt(),Ont(),Nnt(),Rnt(),Unt(),Jnt(),$nt(),irt(),lrt(),mrt(),yrt(),wrt(),krt(),Prt(),zrt(),Wrt(),Yrt(),eit(),ait(),uit(),hit(),bit(),Tit(),Ait(),Fit(),Bit(),Git(),Xit(),tat(),oat(),dat(),gat(),xat(),Eat(),jat(),Iat(),Vat(),Kat(),Zat(),not(),sot(),fot(),_ot(),Sot(),Dot(),Mot(),Lot(),Hot(),qot(),Qot(),rst(),cst(),pst(),vst(),Cst(),Ost(),Nst(),Rst(),Ust(),Jst(),$st(),ict(),lct(),mct(),$j=Object.assign({"../icons/Add.svg":j6e,"../icons/AddTab.svg":I6e,"../icons/Alert.svg":V6e,"../icons/ArrowLeft.svg":K6e,"../icons/ArrowRight.svg":Z6e,"../icons/Brackets.svg":n8e,"../icons/Branch.svg":s8e,"../icons/Changelog.svg":f8e,"../icons/Checkmark.svg":_8e,"../icons/ChevronDown.svg":S8e,"../icons/ChevronLeft.svg":D8e,"../icons/ChevronRight.svg":M8e,"../icons/ChevronUp.svg":L8e,"../icons/Clipboard.svg":H8e,"../icons/Close.svg":q8e,"../icons/CloseTab.svg":Q8e,"../icons/CloseTabs.svg":r5e,"../icons/Cloud.svg":c5e,"../icons/CodeFolder.svg":p5e,"../icons/Cog.svg":v5e,"../icons/Collection.svg":C5e,"../icons/Cookie.svg":O5e,"../icons/DarkMode.svg":N5e,"../icons/Delete.svg":R5e,"../icons/Discord.svg":U5e,"../icons/DocsPage.svg":J5e,"../icons/Download.svg":$5e,"../icons/Duplicate.svg":i7e,"../icons/Edit.svg":l7e,"../icons/Ellipses.svg":m7e,"../icons/Email.svg":y7e,"../icons/Error.svg":w7e,"../icons/Example.svg":k7e,"../icons/ExternalLink.svg":P7e,"../icons/FilterList.svg":z7e,"../icons/Folder.svg":W7e,"../icons/GitHub.svg":Y7e,"../icons/GitHubLine.svg":e9e,"../icons/Globe.svg":a9e,"../icons/Google.svg":u9e,"../icons/Help.svg":h9e,"../icons/Hide.svg":b9e,"../icons/History.svg":T9e,"../icons/House.svg":A9e,"../icons/Import.svg":F9e,"../icons/Info.svg":B9e,"../icons/Key.svg":G9e,"../icons/Leave.svg":X9e,"../icons/LightDarkModeToggle.svg":tet,"../icons/LightMode.svg":oet,"../icons/Link.svg":fet,"../icons/Lock.svg":_et,"../icons/Logo.svg":Cet,"../icons/Magic.svg":Oet,"../icons/Markdown.svg":Net,"../icons/Menu.svg":Ret,"../icons/NotAllowed.svg":Uet,"../icons/Page.svg":Jet,"../icons/Pencil.svg":$et,"../icons/Play.svg":itt,"../icons/Refresh.svg":ltt,"../icons/Roadmap.svg":mtt,"../icons/Scribble.svg":ytt,"../icons/Search.svg":wtt,"../icons/Server.svg":ktt,"../icons/Settings.svg":Ptt,"../icons/Show.svg":ztt,"../icons/Sort.svg":Wtt,"../icons/Terminal.svg":Ytt,"../icons/Trash.svg":ent,"../icons/Unlock.svg":ant,"../icons/Unwatch.svg":unt,"../icons/Upload.svg":hnt,"../icons/User.svg":bnt,"../icons/UserSwitch.svg":Tnt,"../icons/Users.svg":Ant,"../icons/Versions.svg":Fnt,"../icons/Wallet.svg":Bnt,"../icons/Watch.svg":Gnt,"../icons/Workspace.svg":Xnt,"../icons/programming-framework-angular.svg":trt,"../icons/programming-framework-astro.svg":ort,"../icons/programming-framework-laravel.svg":drt,"../icons/programming-framework-nextdotjs.svg":grt,"../icons/programming-framework-react.svg":xrt,"../icons/programming-framework-vuedotjs.svg":Ert,"../icons/programming-language-c.svg":jrt,"../icons/programming-language-clojure.svg":Irt,"../icons/programming-language-csharp.svg":Vrt,"../icons/programming-language-css3.svg":Krt,"../icons/programming-language-dart.svg":Zrt,"../icons/programming-language-fsharp.svg":nit,"../icons/programming-language-go.svg":sit,"../icons/programming-language-html5.svg":fit,"../icons/programming-language-http.svg":_it,"../icons/programming-language-java.svg":Sit,"../icons/programming-language-javascript.svg":Dit,"../icons/programming-language-json.svg":Mit,"../icons/programming-language-kotlin.svg":Lit,"../icons/programming-language-node.svg":Hit,"../icons/programming-language-objc.svg":qit,"../icons/programming-language-ocaml.svg":Qit,"../icons/programming-language-php.svg":rat,"../icons/programming-language-powershell.svg":cat,"../icons/programming-language-python.svg":pat,"../icons/programming-language-r.svg":vat,"../icons/programming-language-ruby.svg":Cat,"../icons/programming-language-rust.svg":Oat,"../icons/programming-language-scala.svg":Nat,"../icons/programming-language-shell.svg":Rat,"../icons/programming-language-swift.svg":Uat,"../icons/programming-language-typescript.svg":Jat,"../icons/programming-script-code.svg":$at,"../icons/programming-tool-git.svg":iot,"../icons/programming-tool-tailwindcss.svg":lot}),eM=Object.assign({"../logos/Adonisjs.svg":mot,"../logos/Astro.svg":yot,"../logos/Docusaurus.svg":wot,"../logos/Dotnet.svg":kot,"../logos/Elysiajs.svg":Pot,"../logos/Express.svg":zot,"../logos/Fastapi.svg":Wot,"../logos/Fastify.svg":Yot,"../logos/Go.svg":est,"../logos/Hono.svg":ast,"../logos/Laravel.svg":ust,"../logos/Litestar.svg":hst,"../logos/Nestjs.svg":bst,"../logos/Nextjs.svg":Tst,"../logos/Nitro.svg":Ast,"../logos/Nuxt.svg":Fst,"../logos/Openapi.svg":Bst,"../logos/Platformatic.svg":Gst,"../logos/React.svg":Xst,"../logos/Rust.svg":tct,"../logos/Svelte.svg":oct,"../logos/Vue.svg":dct}),hct=e=>{let t=`../icons/${e}.svg`;return $j[t]?$j[t]:(console.warn(`Could not find icon: ${e}`),null)},gct=e=>{let t=`../logos/${e}.svg`;return eM[t]?eM[t]:(console.warn(`Could not find icon: ${e}`),null)}})),tM,vct=c((()=>{zS(),tM=IS({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`}})})),yct,bct=c((()=>{_ct(),vct(),zS(),U(),yct=j({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){fde(e=>({c07589c2:r.value}));let t=e,{cx:n}=RS(),r=H(()=>t.thickness??`2`),i=H(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=H(()=>{if(t.icon)return hct(t.icon);if(t.logo)return gct(t.logo)});return(t,r)=>(N(),F(vd(a.value),qc(Vd({...k(n)(`scalar-icon`,k(tM)({size:e.size})),...i.value})),null,16))}})})),nM,rM=c((()=>{VS(),bct(),nM=BS(yct,[[`__scopeId`,`data-v-b651bb23`]])})),xct,Sct=c((()=>{vct(),rM(),zS(),U(),xct=j({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=RS();return(n,r)=>typeof e.icon==`string`?(N(),F(nM,z({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(N(),F(vd(e.icon),z({key:1,label:e.label,weight:e.weight},k(t)(k(tM)({size:e.size}))),null,16,[`label`,`weight`]))}})})),iM,aM=c((()=>{Sct(),iM=xct})),oM,Cct,wct=c((()=>{oM=`scalar-tooltip`,Cct=`scalar-tooltip`}));function Tct(){if(typeof document>`u`||typeof window>`u`||uM.value)return;let e=document.getElementById(oM);e?uM.value=e:(uM.value=document.createElement(`div`),uM.value.role=`tooltip`,uM.value.id=oM,uM.value.classList.add(Cct),uM.value.classList.add(`scalar-app`),uM.value.style.setProperty(`display`,`none`),uM.value.addEventListener(`mouseleave`,sM),document.body.appendChild(uM.value))}function sM(e){Oct(e)&&(cM(),dM.value=void 0)}function Ect(e){e.key===`Escape`&&(e.stopPropagation(),sM(e))}function cM(){lM.value&&(clearTimeout(lM.value),lM.value=void 0)}function Dct(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function Oct(e){let t=k(dM.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=Dct(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function kct(e){Tct();function t(t){let r=k(e.delay)??300;cM(),r>0?lM.value=setTimeout(()=>n(t),r):n(t)}function n(t){cM(),document.addEventListener(`keydown`,Ect,{once:!0,capture:!0}),dM.value=e}nd(()=>k(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,sM),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,sM),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,sM),e.addEventListener(`focus`,n),e.addEventListener(`blur`,sM),e.setAttribute(`aria-describedby`,oM))},{immediate:!0})}var lM,uM,dM,fM,pM=c((()=>{wct(),U(),k4e(),lM=O(),uM=O(),dM=O(),{floatingStyles:fM}=O4e(H(()=>k(dM.value?.targetRef)),uM,{placement:H(()=>k(dM.value?.placement)),whileElementsMounted:m4e,middleware:H(()=>[xj(),bj()])}),nd(fM,()=>{uM.value&&(uM.value.style.position=fM.value.position,uM.value.style.top=fM.value.top,uM.value.style.left=fM.value.left,uM.value.style.transform=fM.value.transform??``,uM.value.style.willChange=fM.value.willChange??``)}),nd(dM,e=>{if(uM.value)if(e){let t=k(e?.contentTarget)??`textContent`;uM.value[t]=k(e?.content)??``;let n=k(e?.offset)??4;uM.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),uM.value.style.setProperty(`display`,`block`)}else uM.value.innerHTML=``,uM.value.style.removeProperty(`--scalar-tooltip-offset`),uM.value.style.setProperty(`display`,`none`)},{deep:!0})})),Act=c((()=>{k6e(),pM(),U()})),jct=c((()=>{Act()})),Mct,Nct=c((()=>{pM(),U(),Mct=j({__name:`ScalarTooltip`,props:{content:{default:``},delay:{default:()=>300},placement:{default:`top`},offset:{default:()=>4}},setup(e){let t=O(null);return kct({content:H(()=>e.content),delay:H(()=>e.delay),placement:H(()=>e.placement),offset:H(()=>e.offset),targetRef:H(()=>t.value?.children?.[0]||t.value||void 0)}),(e,n)=>(N(),P(`div`,{ref_key:`wrapperRef`,ref:t,class:E({contents:!!e.$slots.default})},[M(e.$slots,`default`)],2))}})})),mM,Pct=c((()=>{Nct(),mM=Mct})),Fct,Ict,Lct,Rct=c((()=>{Jxe(),aM(),pM(),zS(),U(),Fct=[`aria-disabled`],Ict={key:0,class:`sr-only`},Lct=j({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=IS({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:GS},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=RS(),r=fd(`ref`);return kct({content:H(()=>e.label),offset:H(()=>e.variant===`ghost`?0:4),placement:H(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:H(()=>e.tooltip?r.value:void 0)}),(r,i)=>(N(),P(`button`,z({ref:`ref`,"aria-disabled":e.disabled,type:`button`},k(n)(k(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[V(k(iM),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?R(``,!0):(N(),P(`span`,Ict,D(e.label),1))],16,Fct))}})})),hM,gM=c((()=>{Rct(),hM=Lct})),zct,Bct,Vct=c((()=>{zS(),U(),L0e(),zct=[`innerHTML`],Bct=j({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:n}=RS();t({el:fd(`div`)});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!CA(t))return t;let n=SA(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},i=H(()=>k0e(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?r:e.transform,transformType:e.transformType}));return(t,r)=>(N(),P(`div`,z({ref:`div`},k(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:i.value}),null,16,zct))}})})),_M,Hct=c((()=>{Vct(),_M=Bct})),Uct,Wct,Gct=c((()=>{Hct(),zS(),U(),aw(),Uct=[`aria-controls`,`aria-expanded`],Wct=j({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Td({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=Ble(e,[`clamp`]),n=ud(),r=jd(e,`modelValue`),i=jd(e,`truncated`),a=fd(`scalar-markdown`);jMe(()=>a.value?.el,o);function o(){let e=a.value?.el;e&&(i.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}Af(o);let{cx:s}=RS();return(a,o)=>(N(),P(`div`,qc(Vd(k(s)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[V(_M,z(t,{id:k(n),ref:`scalar-markdown`,clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(i.value||r.value)?(N(),P(`button`,{key:0,"aria-controls":k(n),"aria-expanded":r.value,class:E([`whitespace-nowrap font-medium hover:underline`,{"self-end":r.value}]),type:`button`,onClick:o[0]||=e=>r.value=!r.value},[M(a.$slots,`button`,{open:r.value},()=>[L(D(r.value?` Show Less`:`More`),1)])],10,Uct)):R(``,!0)],16))}})})),vM,Kct=c((()=>{Gct(),vM=Wct})),qct,Jct,Yct,Xct=c((()=>{h6e(),rM(),U(),EC(),qct={class:`h-5 w-auto`},Jct={class:`sr-only`},Yct=j({__name:`ScalarMenuButton`,props:{open:{type:Boolean}},setup(e){return(t,n)=>(N(),F(k(m6e),{class:`gap-0.75 px-2`},{default:A(()=>[I(`div`,qct,[M(t.$slots,`logo`,{},()=>[V(k(nM),{icon:`Logo`})])]),I(`span`,Jct,[M(t.$slots,`label`,{},()=>[L(D(e.open?`Close Menu`:`Open Menu`),1)])]),V(k(oC),{class:E([`shrink-0 text-c-3 group-hover/button:text-c-1 size-3.5`,e.open?`rotate-180`:``]),weight:`bold`},null,8,[`class`])]),_:3}))}})})),Zct,Qct=c((()=>{Xct(),Zct=Yct})),$ct,elt,tlt=c((()=>{Bj(),aM(),zS(),U(),$ct={key:1,class:`size-3`},elt=j({inheritAttrs:!1,__name:`ScalarMenuLink`,props:{is:{default:()=>t.DropdownMenu.Item},icon:{type:[Object,Function]},strong:{type:Boolean}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),F(k(zj),z(k(t)(`flex items-center`),{is:e.is,as:`a`}),{default:A(()=>[e.icon?(N(),F(k(iM),{key:0,class:E([e.strong?`text-c-1`:`text-c-2`,typeof e.icon==`string`?`size-3`:`size-3.5 -mx-0.25`]),icon:e.icon,thickness:e.strong?`2.5`:`2`,weight:e.strong?`bold`:`regular`},null,8,[`class`,`icon`,`thickness`,`weight`])):(N(),P(`div`,$ct)),I(`div`,{class:E([`flex items-center flex-1 min-w-0 truncate`,e.strong?`font-medium`:`font-normal`])},[M(n.$slots,`default`)],2)]),_:3},16,[`is`]))}})})),yM,bM=c((()=>{tlt(),yM=elt})),nlt,rlt=c((()=>{bM(),zS(),U(),nlt=j({inheritAttrs:!1,__name:`ScalarMenuProduct`,props:{is:{default:`a`},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=RS(),n=IS({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,i)=>(N(),F(k(yM),z({is:e.is,icon:e.icon,strong:``,target:`_blank`},k(t)(k(n)({selected:e.selected}))),{default:A(()=>[M(r.$slots,`default`)]),_:3},16,[`is`,`icon`]))}})})),xM,ilt=c((()=>{rlt(),xM=nlt})),alt,olt=c((()=>{ilt(),zS(),U(),EC(),alt=j({inheritAttrs:!1,__name:`ScalarMenuProducts`,props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:[`open`],setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`div`,qc(Vd(k(t)(`flex flex-col`))),[V(xM,{href:e.hrefs?.dashboard??`https://dashboard.scalar.com`,icon:k(eDe),selected:e.selected===`dashboard`,onClick:r[0]||=e=>n.$emit(`open`,e,`dashboard`)},{default:A(()=>[...r[4]||=[L(` Dashboard `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),e.showDocs||e.selected===`docs`?(N(),F(xM,{key:0,href:e.hrefs?.docs??`https://docs.scalar.com`,icon:k(iC),selected:e.selected===`docs`,onClick:r[1]||=e=>n.$emit(`open`,e,`docs`)},{default:A(()=>[...r[5]||=[L(` Docs `,-1)]]),_:1},8,[`href`,`icon`,`selected`])):R(``,!0),V(xM,{href:e.hrefs?.editor??`https://editor.scalar.com`,icon:k(pOe),selected:e.selected===`editor`,onClick:r[2]||=e=>n.$emit(`open`,e,`editor`)},{default:A(()=>[...r[6]||=[L(` Editor `,-1)]]),_:1},8,[`href`,`icon`,`selected`]),V(xM,{href:e.hrefs?.client??`https://client.scalar.com`,icon:k(rC),selected:e.selected===`client`,onClick:r[3]||=e=>n.$emit(`open`,e,`client`)},{default:A(()=>[...r[7]||=[L(` Client `,-1)]]),_:1},8,[`href`,`icon`,`selected`])],16))}})})),SM,slt=c((()=>{olt(),SM=alt})),clt,llt=c((()=>{B3e(),U(),clt=j({inheritAttrs:!1,__name:`ScalarMenuSection`,setup(e){return(e,t)=>(N(),P(B,null,[V(k(Vj)),M(e.$slots,`default`)],64))}})})),CM,wM=c((()=>{llt(),CM=clt})),ult,dlt=c((()=>{bM(),wM(),U(),EC(),ult=j({__name:`ScalarMenuResources`,setup(e){return(e,t)=>(N(),F(CM,null,{title:A(()=>[...t[0]||=[L(`Resources`,-1)]]),default:A(()=>[V(yM,{href:`mailto:support@scalar.com`,icon:k(uC),target:`_blank`},{default:A(()=>[...t[1]||=[L(` Sales & Support `,-1)]]),_:1},8,[`icon`]),V(yM,{href:`https://scalar.com/terms-and-conditions`,icon:k(ATe),target:`_blank`},{default:A(()=>[...t[2]||=[L(` Terms & Conditions `,-1)]]),_:1},8,[`icon`]),V(yM,{href:`https://scalar.com/privacy-policy`,icon:k(gCe),target:`_blank`},{default:A(()=>[...t[3]||=[L(` Privacy Policy `,-1)]]),_:1},8,[`icon`])]),_:1}))}})})),TM,flt=c((()=>{dlt(),TM=ult})),plt,mlt=c((()=>{Ij(),Qct(),slt(),flt(),U(),plt=j({inheritAttrs:!1,__name:`ScalarMenu`,setup(e){let n=O(!1);function r(){n.value=!1}return(e,i)=>(N(),F(k(t.DropdownMenu).Root,{open:n.value,"onUpdate:open":i[0]||=e=>n.value=e},{default:A(()=>[V(k(t.DropdownMenu).Trigger,{asChild:``},{default:A(()=>[M(e.$slots,`button`,{open:n.value},()=>[V(Zct,{class:`min-w-0`,open:n.value},bd({_:2},[e.$slots.logo?{name:`logo`,fn:A(()=>[M(e.$slots,`logo`)]),key:`0`}:void 0,e.$slots.label?{name:`label`,fn:A(()=>[M(e.$slots,`label`)]),key:`1`}:void 0]),1032,[`open`])])]),_:3}),V(k(t.DropdownMenu).Content,z({align:`start`,as:k(Fj),class:`max-h-radix-popper z-context`,sideOffset:5},e.$attrs),{default:A(()=>[M(e.$slots,`products`,{close:r},()=>[V(SM)]),M(e.$slots,`profile`,{close:r}),M(e.$slots,`sections`,{close:r},()=>[V(TM)])]),_:3},16,[`as`])]),_:3},8,[`open`]))}})})),hlt,glt=c((()=>{mlt(),hlt=plt})),_lt,vlt=c((()=>{bM(),wM(),U(),EC(),_lt=j({__name:`ScalarMenuSupport`,setup(e){return(e,t)=>(N(),F(CM,null,{title:A(()=>[...t[0]||=[L(`Resources`,-1)]]),default:A(()=>[V(yM,{href:`https://discord.gg/scalar`,icon:k(Dwe),target:`_blank`},{default:A(()=>[...t[1]||=[L(` Discord `,-1)]]),_:1},8,[`icon`]),V(yM,{href:`https://github.com/scalar/scalar`,icon:k(hEe),target:`_blank`},{default:A(()=>[...t[2]||=[L(` GitHub `,-1)]]),_:1},8,[`icon`])]),_:1}))}})})),ylt,blt=c((()=>{vlt(),ylt=_lt})),xlt=c((()=>{zS(),U()})),Slt=c((()=>{xlt()})),Clt=c((()=>{Oj(),Ij(),Bj(),bM(),Slt(),U()})),wlt=c((()=>{Clt()})),Tlt,Elt,Dlt=c((()=>{Oj(),Ij(),Bj(),bM(),U(),EC(),Tlt={class:`flex h-full items-center gap-1 flex-1 truncate`},Elt=j({inheritAttrs:!1,__name:`ScalarMenuWorkspacePicker`,props:Td({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:Td([`createWorkspace`],[`update:modelValue`]),setup(e,{emit:n}){let r=n,i=jd(e,`modelValue`);return(n,a)=>(N(),F(k(t.DropdownMenu).Sub,null,{default:A(()=>[V(yM,z({is:k(t.DropdownMenu).SubTrigger,icon:k(gke)},n.$attrs),{default:A(()=>[a[2]||=I(`div`,null,`Change workspace`,-1),V(k(sC),{class:`ml-auto text-c-2 -mr-0.25 size-3`,weight:`bold`})]),_:1},16,[`is`,`icon`]),V(k(t.DropdownMenu).Portal,null,{default:A(()=>[V(k(t.DropdownMenu).SubContent,{as:k(Fj),class:`max-h-radix-popper z-context-plus`,sideOffset:3},{default:A(()=>[V(k(t.DropdownMenu).RadioGroup,{modelValue:i.value,"onUpdate:modelValue":a[0]||=e=>i.value=e,class:`contents`},{default:A(()=>[(N(!0),P(B,null,yd(e.workspaceOptions,(n,r)=>(N(),P(B,{key:r},[n.label?(N(),F(k(t.DropdownMenu).Label,{key:0,class:`px-3 py-1.5 text-xs font-medium text-c-3 select-none`},{default:A(()=>[L(D(n.label),1)]),_:2},1024)):R(``,!0),(N(!0),P(B,null,yd(n.options,e=>(N(),F(k(t.DropdownMenu).RadioItem,{key:e.id,as:k(zj),class:`group/item flex items-center`,value:e.id},{default:A(()=>[I(`div`,Tlt,D(e.label),1),V(k(Dj),{class:`ml-auto`,selected:e.id===i.value},null,8,[`selected`])]),_:2},1032,[`as`,`value`]))),128)),r<e.workspaceOptions.length-1?(N(),F(k(t.DropdownMenu).Separator,{key:1,class:`h-px bg-b-3 my-1.5`})):R(``,!0)],64))),128))]),_:1},8,[`modelValue`]),V(k(t.DropdownMenu).Item,{as:k(zj),class:`flex items-center`,onClick:a[1]||=e=>r(`createWorkspace`)},{default:A(()=>[V(k(yC),{class:`bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3`,weight:`bold`}),a[3]||=L(` Create workspace `,-1)]),_:1},8,[`as`])]),_:1},8,[`as`])]),_:1})]),_:1}))}})})),Olt,klt=c((()=>{Dlt(),Olt=Elt}));function EM(){return $l({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var Alt,jlt,Mlt,Nlt=c((()=>{gM(),zS(),U(),EC(),Ag(),Alt={key:0,class:`close-button z-10 fixed right-2 top-2`},jlt={},Mlt=j({...jlt,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=IS({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`}}}),i=IS({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,a)=>(N(),F(k(Ype),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:A(()=>[I(`div`,{class:E(k(LS)(e.size===`full`?`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`,e.size===`full`&&`flex`))},[V(k(Xpe),{class:E(k(r)({size:e.size,variant:e.variant})),style:Kc({maxWidth:e.maxWidth})},{default:A(()=>[e.title?(N(),F(k(Zpe),{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:A(()=>[L(D(e.title),1)]),_:1})):R(``,!0),e.size===`full`?(N(),P(`div`,{key:1,class:E(e.bodyClass)},[M(t.$slots,`default`,{},void 0,!0)],2)):(N(),P(`div`,{key:2,class:E(k(LS)(k(i)({size:e.size,variant:e.variant}),e.bodyClass))},[M(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(N(),P(`div`,Alt,[V(k(hM),{class:`hover:bg-b-3 focus:outline-none`,icon:k(TC),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):R(``,!0)],2)]),_:3},8,[`open`]))}})})),DM,Plt=c((()=>{VS(),Nlt(),DM=BS(Mlt,[[`__scopeId`,`data-v-5bb1dcc2`]])})),Flt,Ilt=c((()=>{wj(),Ej(),zS(),U(),Ag(),Flt=j({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}=RS();return(n,r)=>(N(),F(k(cg),{as:`template`},{default:A(({open:r})=>[V(k(Cj),qc(Vd(n.$props)),{floating:A(({width:i,height:a})=>[V(k(ug),z({focus:e.focus,style:{width:i,height:a}},k(t)(`relative flex flex-col p-0.75`)),{default:A(({close:e})=>[M(n.$slots,`popover`,{close:()=>e(),open:r}),M(n.$slots,`backdrop`,{open:r},()=>[V(k(Tj))])]),_:2},1040,[`focus`,`style`])]),default:A(()=>[V(k(lg),{as:`template`},{default:A(()=>[M(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}})})),OM,Llt=c((()=>{Ilt(),OM=Flt})),Rlt=c((()=>{qS(),zS(),U()})),zlt=c((()=>{Rlt()})),Blt,Vlt,Hlt=c((()=>{US(),gM(),zS(),U(),EC(),Blt=[`aria-label`],Vlt=j({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Td({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=O(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=RS();return(o,s)=>(N(),P(`label`,qc(Vd(k(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[V(k(_C),{class:`text-sidebar-c-search size-4`}),Xu(I(`input`,z({ref_key:`inputRef`,ref:n},k(a),{"onUpdate:modelValue":s[0]||=e=>t.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`}),null,16,Blt),[[Xp,t.value]]),e.loader&&e.loader.isActive?(N(),F(k(HS),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(N(),F(k(hM),{key:1,class:`-my-1`,icon:k(TC),label:`Clear Search`,size:`sm`,weight:`bold`,onClick:$p(r,[`stop`,`prevent`])},null,8,[`icon`])):R(``,!0)],16))}})})),kM,Ult=c((()=>{Hlt(),kM=Vlt})),Wlt,Glt,Klt,qlt,Jlt,Ylt,Xlt,Zlt,Qlt=c((()=>{aM(),zS(),U(),Wlt=[`aria-selected`],Glt={key:0,class:`flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1`},Klt={class:`flex min-w-0 flex-1 flex-col gap-0.5`},qlt={class:`flex items-center gap-1`},Jlt={class:`flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium`},Ylt={key:0,class:`text-base text-c-2`},Xlt={key:0,class:`truncate zoomed:whitespace-normal! wrap-break-word text-c-2`},Zlt=j({inheritAttrs:!1,__name:`ScalarSearchResultItem`,props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`a`,z({"aria-selected":e.selected,role:`option`,tabindex:`-1`},k(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?(N(),P(`div`,Glt,[M(n.$slots,`icon`,{},()=>[e.icon?(N(),F(k(iM),{key:0,class:`size-4`,icon:e.icon},null,8,[`icon`])):R(``,!0)]),r[0]||=I(`span`,null,` `,-1)])):R(``,!0),I(`div`,Klt,[I(`div`,qlt,[I(`div`,Jlt,[M(n.$slots,`default`)]),n.$slots.addon?(N(),P(`div`,Ylt,[M(n.$slots,`addon`)])):R(``,!0)]),n.$slots.description?(N(),P(`div`,Xlt,[M(n.$slots,`description`)])):R(``,!0)])],16,Wlt))}})})),AM,$lt=c((()=>{Qlt(),AM=Zlt})),eut,tut=c((()=>{zS(),U(),eut=j({inheritAttrs:!1,__name:`ScalarSearchResultList`,props:{noResults:{type:Boolean}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`div`,z({role:`listbox`},k(t)(`flex flex-col`)),[e.noResults?M(n.$slots,`noResults`,{key:0},()=>[r[0]||=I(`div`,{class:`flex flex-col items-center gap-2 px-3 py-4`},[I(`div`,{class:`text-base font-medium text-c-2`,role:`alert`},` No results found `)],-1)]):R(``,!0),M(n.$slots,`default`)],16))}})})),jM,nut=c((()=>{tut(),jM=eut})),rut,iut=c((()=>{zS(),U(),rut=j({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`aside`,qc(Vd(k(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[M(e.$slots,`default`)],16))}})})),aut,out=c((()=>{iut(),aut=rut})),sut,cut=c((()=>{zS(),U(),sut=j({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=H(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=RS();return(r,i)=>(N(),P(`div`,qc(Vd(k(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(N(!0),P(B,null,yd(t.value,(n,r)=>(N(),P(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=I(`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?(N(),P(`div`,{key:0,class:E([`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)):R(``,!0)]))),128))],16))}})})),MM,NM=c((()=>{VS(),cut(),MM=BS(sut,[[`__scopeId`,`data-v-3e080c68`]])})),lut,uut,dut,fut=c((()=>{aM(),NM(),zS(),U(),lut={key:0,class:`h-lh *:size-4 mr-1 flex items-center`},uut={class:`group/button-label flex-1 min-w-0`},dut=j({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=IS({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:n}=RS();return(r,i)=>(N(),F(vd(e.is),z({"aria-selected":e.selected,type:e.is===`button`?`button`:void 0},k(n)(k(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:A(()=>[M(r.$slots,`indent`,{},()=>[V(MM,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(N(),P(`div`,lut,[M(r.$slots,`icon`,{},()=>[e.icon?(N(),F(k(iM),{key:0,icon:e.icon},null,8,[`icon`])):R(``,!0)])])):R(``,!0),I(`div`,uut,[M(r.$slots,`default`)]),M(r.$slots,`aside`)]),_:3},16,[`aria-selected`,`type`]))}})})),PM,FM=c((()=>{fut(),PM=dut})),put,mut,hut,gut=c((()=>{$0e(),zS(),U(),put={class:`flex items-center`},mut={class:`flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2`},hut=j({inheritAttrs:!1,__name:`ScalarSidebarFooter`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`div`,qc(Vd(k(t)(`flex flex-col gap-3 p-3 pt-0 border-sidebar-border`))),[M(e.$slots,`default`),I(`div`,put,[I(`div`,mut,[M(e.$slots,`description`,{},()=>[n[0]||=I(`a`,{class:`no-underline hover:underline`,href:`https://www.scalar.com`,target:`_blank`},` Powered by Scalar `,-1)])]),M(e.$slots,`toggle`,{},()=>[V(k(jA))])])],16))}})})),_ut,vut=c((()=>{gut(),_ut=hut})),yut,but,xut=c((()=>{aM(),zS(),U(),EC(),yut={class:`sr-only`},but=j({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=IS({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=RS();return(r,i)=>(N(),F(vd(e.is),z({type:e.is===`button`?`button`:void 0},k(n)(k(t)({open:e.open}))),{default:A(()=>[M(r.$slots,`default`,{open:e.open},()=>[e.icon?(N(),F(k(iM),{key:0,icon:e.icon},null,8,[`icon`])):(N(),F(k(sC),{key:1,class:`size-3`,weight:`bold`}))]),I(`span`,yut,[M(r.$slots,`label`,{open:e.open},()=>[L(D(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}})})),IM,Sut=c((()=>{xut(),IM=but})),LM,RM,zM=c((()=>{U(),LM=Symbol(),RM=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=$u(LM,0);return n?Qu(LM,0):t&&r<6?Qu(LM,r+1):Qu(LM,r),{level:r}}})),Cut,wut,Tut,Eut,Dut,Out=c((()=>{NM(),FM(),Sut(),zM(),zS(),U(),Cut={class:`group/group-button relative flex flex-col text-base`},wut={key:0,class:`size-4`},Tut=[`aria-expanded`],Eut={key:0,class:`group/items flex flex-col gap-px`},Dut=j({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Td({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Td([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=jd(e,`open`),{level:i}=RM({increment:!0}),{cx:a}=RS(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(N(),F(vd(e.is),qc(Vd(k(a)(`group/item flex flex-col gap-px`))),{default:A(()=>[I(`div`,Cut,[M(t.$slots,`before`,{open:r.value}),M(t.$slots,`button`,{level:k(i),open:r.value},()=>[V(PM,{is:`button`,active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:k(i),selected:e.selected,onClick:o},bd({indent:A(()=>[V(MM,{class:`mr-0 -my-2`,indent:k(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:A(()=>[M(t.$slots,`aside`,{open:r.value}),e.discrete?(N(),P(`div`,wut)):M(t.$slots,`toggle`,{key:1,open:r.value},()=>[V(IM,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])])]),default:A(()=>[M(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:A(()=>[M(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(N(),P(`button`,{key:0,"aria-expanded":r.value,class:E([`absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2`,e.selected?`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`]),type:`button`,onClick:s},[M(t.$slots,`toggle`,{open:r.value},()=>[V(IM,{open:r.value},{label:A(()=>[L(D(r.value?`Close`:`Open`)+` `,1),M(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])],10,Tut)):R(``,!0)]),M(t.$slots,`after`,{open:r.value})]),r.value?(N(),P(`ul`,Eut,[M(t.$slots,`items`,{open:r.value})])):R(``,!0)]),_:3},16))}})})),kut,Aut=c((()=>{Out(),kut=Dut})),jut,Mut=c((()=>{FM(),zM(),zS(),U(),jut=j({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:n}=RM(),{cx:r}=RS();return(i,a)=>(N(),P(`li`,qc(Vd(k(r)(`group/item flex flex-col text-base`))),[M(i.$slots,`before`),M(i.$slots,`button`,{level:k(n)},()=>[V(PM,z(t,{indent:e.indent??k(n)}),bd({_:2},[i.$slots.default?{name:`default`,fn:A(()=>[M(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:A(()=>[M(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:A(()=>[M(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),M(i.$slots,`after`)],16))}})})),Nut,Put=c((()=>{Mut(),Nut=jut})),Fut,Iut,Lut=c((()=>{U(),Fut=Symbol(),Iut=()=>{let e=O([]),t=H(()=>e.value.some(e=>e.value));return Qu(Fut,e),{open:t}}})),Rut,zut=c((()=>{Lut(),zS(),U(),Rut=j({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=Iut(),{cx:n}=RS();return(r,i)=>(N(),F(vd(e.is),qc(Vd(k(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,k(t)?`-translate-x-full`:`translate-x-0`))),{default:A(()=>[M(r.$slots,`default`)]),_:3},16))}})})),But,Vut=c((()=>{zut(),But=Rut})),Hut,Uut=c((()=>{NM(),zS(),U(),Hut=j({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`div`,qc(Vd(k(t)(`flex px-2 h-1`))),[V(MM,{indent:e.indent},null,8,[`indent`])],16))}})})),BM,VM=c((()=>{Uut(),BM=Hut})),Wut=c((()=>{FM(),zM(),Lut(),Vut(),VM(),U()})),Gut=c((()=>{Wut()})),Kut,qut,Jut,Yut=c((()=>{zS(),U(),EC(),Kut={class:`flex-1 text-left leading-none`},qut={key:0,class:`uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border`},Jut=j({inheritAttrs:!1,__name:`ScalarSidebarSearchButton`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`button`,z({role:`search`,type:`button`},k(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`)),[V(k(_C),{class:`size-4`}),I(`span`,Kut,[M(e.$slots,`default`,{},()=>[n[0]||=L(`Search...`,-1)])]),e.$slots.shortcut?(N(),P(`span`,qut,[n[1]||=I(`span`,{class:`sr-only`},`Keyboard Shortcut:`,-1),I(`kbd`,null,[M(e.$slots,`shortcut`)])])):R(``,!0)],16))}})})),Xut,Zut=c((()=>{Yut(),Xut=Jut})),Qut,$ut,edt=c((()=>{US(),gM(),zS(),U(),EC(),Qut=[`aria-label`],$ut=j({inheritAttrs:!1,__name:`ScalarSidebarSearchInput`,props:Td({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=O(null),n=jd(e,`modelValue`);function r(){n.value=``,t.value&&t.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=RS();return Af(()=>e.autofocus&&t.value?.focus()),(o,s)=>(N(),P(`label`,qc(Vd(k(i)(`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`,n.value?`text-sidebar-c-1`:`text-sidebar-c-search`))),[V(k(_C),{class:`text-sidebar-c-search size-4`}),Xu(I(`input`,z({ref_key:`inputRef`,ref:t},k(a),{"onUpdate:modelValue":s[0]||=e=>n.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`}),null,16,Qut),[[Xp,n.value]]),e.loader&&e.loader.isActive?(N(),F(k(HS),{key:0,class:`mr-3 self-center`,loader:e.loader,size:`md`},null,8,[`loader`])):n.value?(N(),F(k(hM),{key:1,class:`p-0.25 size-4`,icon:k(TC),label:`Clear Search`,weight:`bold`,onClick:$p(r,[`stop`,`prevent`])},null,8,[`icon`])):R(``,!0)],16))}})})),HM,tdt=c((()=>{edt(),HM=$ut})),ndt,rdt,idt=c((()=>{FM(),zM(),VM(),zS(),U(),ndt={class:`flex flex-col gap-px`},rdt=j({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let{level:t}=RM({increment:!1}),{cx:n}=RS();return(r,i)=>(N(),F(vd(e.is),qc(Vd(k(n)(`group/item group/sidebar-section contents`))),{default:A(()=>[V(BM,{class:`group/spacer-before h-3`,indent:k(t)},null,8,[`indent`]),V(PM,{is:`div`,class:`text-sm/4 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:k(t)},{default:A(()=>[M(r.$slots,`default`)]),_:3},8,[`icon`,`indent`]),I(`ul`,ndt,[M(r.$slots,`items`)]),V(BM,{class:`group/spacer-after h-3`,indent:k(t)},null,8,[`indent`])]),_:3},16))}})})),adt,odt=c((()=>{idt(),adt=rdt})),sdt=c((()=>{AC(),zS(),U()})),cdt=c((()=>{sdt()})),ldt,udt,ddt,fdt,pdt,mdt,hdt,gdt,_dt=c((()=>{AC(),zS(),U(),ldt={class:`flex items-center flex-1 relative`},udt={key:0,class:`select-none whitespace-nowrap text-transparent`},ddt=[`aria-readonly`,`readonly`],fdt={key:1,class:`absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap`},pdt={key:0,class:`text-c-2`},mdt={class:`text-transparent`},hdt={key:1,class:`text-c-2`},gdt=j({inheritAttrs:!1,__name:`ScalarTextInput`,props:Td({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:Td([`click`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=jd(e,`modelValue`),i=O(),{stylingAttrsCx:a,otherAttrs:o}=RS();Af(()=>{`autofocus`in o.value&&i.value?.focus()});function s(t){n(`click`,t),e.readonly?i.value?.select():i.value?.focus()}return(t,n)=>(N(),F(k(kC),z({is:`div`},k(a)(`cursor-text text-c-1`,e.readonly?``:`focus-within:bg-b-1`),{onClick:s}),{default:A(()=>[I(`div`,ldt,[t.$slots.prefix?(N(),P(`div`,udt,[M(t.$slots,`prefix`)])):R(``,!0),Xu(I(`input`,z({ref_key:`input`,ref:i,"onUpdate:modelValue":n[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},k(o)),null,16,ddt),[[Qp,r.value]]),t.$slots.prefix||t.$slots.suffix?(N(),P(`div`,fdt,[t.$slots.prefix?(N(),P(`span`,pdt,[M(t.$slots,`prefix`)])):R(``,!0),I(`span`,mdt,D(r.value||t.$attrs.placeholder),1),t.$slots.suffix?(N(),P(`span`,hdt,[M(t.$slots,`suffix`)])):R(``,!0)])):R(``,!0)]),M(t.$slots,`aside`)]),_:3},16))}})})),UM,vdt=c((()=>{_dt(),UM=gdt})),ydt,bdt=c((()=>{IC(),RC(),vdt(),U(),aw(),ydt=j({__name:`ScalarTextInputCopy`,props:Td({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:modelValue`,`update:copied`],setup(e){Af(()=>{e.immediate&&t.value&&r(t.value)});let t=jd(e,`modelValue`),n=jd(e,`copied`),{copy:r,copied:i}=AMe({legacy:!0,copiedDuring:e.duration});return nd(i,e=>n.value=e),(a,o)=>(N(),F(UM,{modelValue:t.value,"onUpdate:modelValue":o[1]||=e=>t.value=e,readonly:!e.editable,onClick:o[2]||=e=>t.value&&k(r)(t.value)},{aside:A(()=>[V(k(LC),{class:`z-1`,copied:n.value||k(i),placement:`left`,onClick:o[0]||=$p(e=>t.value&&k(r)(t.value),[`stop`])},bd({backdrop:A(()=>[V(k(FC),{class:`bg-b-1.5`})]),_:2},[a.$slots.copy?{name:`copy`,fn:A(()=>[M(a.$slots,`copy`)]),key:`0`}:void 0,a.$slots.copied?{name:`copied`,fn:A(()=>[M(a.$slots,`copied`)]),key:`1`}:void 0]),1032,[`copied`])]),_:3},8,[`modelValue`,`readonly`]))}})})),xdt,Sdt=c((()=>{bdt(),xdt=ydt}));function WM(e,t){let n=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,`gm`))];return n.length===0?{}:Object.fromEntries(n.map(e=>[e[1],e[2]]))}function Cdt(e){return e?{...WM(`--scalar-color-[1-3]`,e),...WM(`--scalar-background-[1-3]`,e),...WM(`--scalar-color-accent`,e)}:{}}function wdt(e){return{colors:H(()=>({light:Cdt(uu(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:Cdt(uu(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}var Tdt,Edt=c((()=>{U(),Tdt=[`--scalar-color-1`,`--scalar-color-2`,`--scalar-color-3`,`--scalar-background-1`,`--scalar-background-2`,`--scalar-background-3`,`--scalar-color-accent`]})),Ddt,Odt=c((()=>{Edt(),zS(),U(),Ddt=j({inheritAttrs:!1,__name:`ScalarThemeSwatches`,props:{css:{}},setup(e){let{colors:t}=wdt(()=>e.css),{cx:n}=RS();return(e,r)=>(N(),P(`div`,z({style:{"--bg-light":k(t).light[`--scalar-background-1`],"--bg-dark":k(t).dark[`--scalar-background-1`]}},k(n)(`flex *:size-3 overflow-hidden rounded`,`bg-(--bg-light) dark:bg-(--bg-dark)`)),[(N(!0),P(B,null,yd(k(Tdt),e=>(N(),P(`div`,{key:e,class:`bg-(--bg-light) dark:bg-(--bg-dark)`,style:Kc({"--bg-light":k(t).light[e],"--bg-dark":k(t).dark[e]})},null,4))),128))],16))}})})),GM,kdt=c((()=>{Odt(),GM=Ddt})),Adt,jdt,Mdt,Ndt=c((()=>{zS(),U(),Adt=[`aria-checked`,`aria-disabled`],jdt={key:0,class:`sr-only`},Mdt=j({__name:`ScalarToggle`,props:Td({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=jd(e,`modelValue`);function r(){t.disabled||(n.value=!n.value)}let i=IS({base:`relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300`,variants:{checked:{true:`bg-c-accent`},disabled:{true:`cursor-not-allowed opacity-40`}}});return(t,a)=>(N(),P(`button`,{"aria-checked":n.value,"aria-disabled":e.disabled,class:E(k(LS)(k(i)({checked:n.value,disabled:e.disabled}))),role:`switch`,type:`button`,onClick:r},[I(`div`,{class:E([`absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 text-c-accent transition-transform duration-300`,{"translate-x-2.5":n.value}])},null,2),e.label?(N(),P(`span`,jdt,D(e.label),1)):R(``,!0)],10,Adt))}})})),KM,Pdt=c((()=>{Ndt(),KM=Mdt})),Fdt,Idt,Ldt=c((()=>{AC(),Pdt(),zS(),U(),Fdt={class:`flex-1 text-left min-w-0 truncate`},Idt=j({inheritAttrs:!1,__name:`ScalarToggleInput`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),{stylingAttrsCx:n,otherAttrs:r}=RS();return(e,i)=>(N(),F(k(kC),z({is:`label`},k(n)(`cursor-pointer gap-2 hover:bg-b-2`,{"text-c-1":t.value})),{default:A(()=>[I(`div`,Fdt,[M(e.$slots,`default`)]),V(KM,z({modelValue:t.value,"onUpdate:modelValue":i[0]||=e=>t.value=e,class:`shrink-0`},k(r)),null,16,[`modelValue`])]),_:3},16))}})})),qM,Rdt=c((()=>{Ldt(),qM=Idt})),zdt=c((()=>{MC(),Rdt(),U()})),Bdt=c((()=>{zdt()})),Vdt,Hdt=c((()=>{U(),Vdt=j({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``}},setup(e){let t=e,n=O(null),r=O(null),i=O(0),a=O(0),o=H(()=>t.text.split(`
|
||
`)),s=H(()=>o.value.length*t.lineHeight),c=H(()=>Math.floor(i.value/t.lineHeight)),l=H(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),o.value.length)),u=H(()=>{let e=Math.max(0,c.value-10),t=Math.min(o.value.length,l.value+10);return o.value.slice(e,t)}),d=H(()=>({height:`${s.value}px`,transform:`translateY(${Math.max(0,c.value-10)*t.lineHeight}px)`})),f=()=>n.value&&(i.value=n.value.scrollTop),p=()=>n.value&&(a.value=n.value.clientHeight);return Af(()=>{p(),window.addEventListener(`resize`,p)}),Mf(()=>{window.removeEventListener(`resize`,p)}),td(()=>{r.value&&(r.value.style.transform=`translateY(${Math.max(0,c.value-10)*t.lineHeight}px)`)}),(i,a)=>(N(),P(`div`,{ref_key:`containerRef`,ref:n,class:E([`scalar-virtual-text overflow-auto`,e.containerClass]),onScroll:f},[I(`code`,{ref_key:`contentRef`,ref:r,class:E([`scalar-virtual-text-content`,e.contentClass]),style:Kc(d.value)},[(N(!0),P(B,null,yd(u.value,(n,r)=>(N(),P(`div`,{key:c.value+r,class:E([`scalar-virtual-text-line`,e.lineClass]),style:Kc({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},D(n),7))),128))],6)],34))}})})),JM,Udt=c((()=>{Hdt(),JM=Vdt})),Wdt,Gdt=c((()=>{Wdt={path:/[\/\.-]/,property:/[A-Z\_\.-]/}})),Kdt,qdt,Jdt=c((()=>{Gdt(),U(),Kdt={key:0},qdt=j({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=H(()=>{let t=new RegExp(e.regex??Wdt[e.preset],`g`);return e.text.replace(t,`$&`).split(``).filter(Boolean)});return(e,n)=>(N(!0),P(B,null,yd(t.value,(e,t)=>(N(),P(B,{key:t},[t===0?R(``,!0):(N(),P(`wbr`,Kdt)),L(D(e),1)],64))),128))}})})),YM,Ydt=c((()=>{Jdt(),YM=qdt})),XM,ZM,Xdt,QM,$M,Zdt=c((()=>{XM=`scalar-app`,ZM=`headlessui-portal-root`,Xdt=e=>e!==null&&e instanceof HTMLElement,QM=e=>{!e||e.classList.contains(XM)||e.classList.add(XM)},$M=()=>{QM(document.getElementById(ZM));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{Xdt(e)&&e.id===ZM&&QM(e)})));return e.observe(document.body,{childList:!0}),e}})),Y=c((()=>{US(),qxe(),qS(),rSe(),ZS(),cSe(),pSe(),vje(),bje(),Sje(),Eje(),AC(),MC(),Bje(),PC(),qje(),Zje(),IC(),H0e(),RC(),YMe(),eNe(),EA(),J0e(),$0e(),NA(),i2e(),l2e(),wj(),Ej(),Oj(),z4e(),U4e(),G4e(),y3e(),S3e(),Ij(),N3e(),Bj(),B3e(),U3e(),J3e(),X3e(),Q3e(),e6e(),n6e(),i6e(),o6e(),l6e(),d6e(),h6e(),k6e(),rM(),aM(),pM(),jct(),Pct(),gM(),Hct(),Kct(),Qct(),ilt(),slt(),bM(),wM(),flt(),glt(),blt(),Slt(),wlt(),klt(),Nlt(),Plt(),Llt(),zlt(),Ult(),$lt(),nut(),out(),NM(),FM(),vut(),Sut(),Aut(),Put(),Vut(),VM(),Gut(),Zut(),tdt(),odt(),cdt(),vdt(),Sdt(),Edt(),kdt(),Pdt(),Rdt(),Bdt(),Udt(),Ydt(),Zdt(),zS()})),Qdt,eN,tN=c((()=>{Yge(),Xge(),$ge(),hbe(),gbe(),Vx(),vbe(),ybe(),bbe(),Gbe(),U(),Y(),Qdt=`WORKSPACE_SYMBOL`,eN=()=>{let e=$u(Qdt);if(!e)throw Error(`Workspace store not provided`);return e}})),$dt,eft=c((()=>{U(),Y(),bv(),$dt=j({__name:`HttpMethod`,props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=H(()=>yv(n.method)),a=Object.entries(vv).map(([e])=>({id:e,label:e.toUpperCase(),color:yv(e).colorClass})),o=H({get:()=>a.find(({id:e})=>e===n.method),set:e=>e?.id&&r(`change`,e.id)}),s=IS({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 border-r`,false:`cursor-auto`}}}),c=H(()=>i.value.short);return(t,n)=>e.isEditable?(N(),F(k(kj),{key:0,modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`font-code scalar-client mt-1 text-sm`,options:k(a)},{default:A(()=>[I(`div`,{class:E([`h-full`,{"pointer-events-none":!e.isEditable}])},[I(`button`,{class:E([`relative h-full`,k(LS)(k(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},[I(`span`,null,D(c.value),1)],2)],2)]),_:1},8,[`modelValue`,`options`])):(N(),P(`div`,{key:1,class:E([`relative gap-1 whitespace-nowrap`,k(LS)(k(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},D(i.value.short),3))}})})),nN,rN=c((()=>{Mg(),eft(),nN=jg($dt,[[`__scopeId`,`data-v-076b14a1`]])}));function iN(e,t){let n=e.split(`.`).reduce((e,t)=>e?.[t],t);return typeof n==`string`?n:JSON.stringify(n)}function aN(e,t){let n=e,r=new Set;return n=n.replace(Dv.VARIABLES,(e,n)=>{let i=n.trim();r.add(i);let a=iN(i,t);return d_(a)&&a!==``?a:`{{${i}}}`}),n=n.replace(Dv.PATH,(e,n)=>{let i=n.trim();if(r.has(i))return`{${i}}`;let a=iN(i,t);return d_(a)&&a!==``?a:`{${i}}`}),n=n.replace(/:\b[\w.]+\b/g,e=>{let n=e.slice(1);if(r.has(n))return e;let i=iN(n,t);return d_(i)&&i!==``?i:e}),n}var oN=c((()=>{Rx()})),tft=c((()=>{hq()})),nft,sN,cN=c((()=>{oN(),hq(),tft(),U(),Qge(),Rx(),nft=Symbol(),sN=()=>{let e=$u(nft);if(!e)throw Error(`Active entities store not provided`);return e}})),rft,lN,uN,dN=c((()=>{U(),rft=Symbol(),lN=()=>$u(rft,O(sse.parse({}))),uN=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname})),ift,fN,pN=c((()=>{U(),ift=Symbol(),fN=()=>{let e=$u(ift);if(!e)throw Error(`useSidebar must have injected SIDEBAR_SYMBOL`);let{collapsedSidebarFolders:t,isSidebarOpen:n}=e;return{collapsedSidebarFolders:eu(t),isSidebarOpen:eu(n),setCollapsedSidebarFolder:(e,n)=>t[e]=n,toggleSidebarFolder:e=>t[e]=!t[e],setSidebarOpen:e=>n.value=e,toggleSidebarOpen:()=>n.value=!n.value}}})),aft,oft=c((()=>{aft=({plugins:e=[]})=>{let t=new Map;return e.forEach(e=>{let n=e();t.set(n.name,n)}),{getViewComponents:e=>Array.from(t.values()).flatMap(t=>t.views?.[e]||[]),executeHook:(e,...n)=>{let[r]=n;if(e===`onBeforeRequest`&&r&&`request`in r){let e=Array.from(t.values()).map(e=>e.hooks?.onBeforeRequest).filter(e=>typeof e==`function`);return Promise.all(e.map(e=>e({request:r.request})))}if(e===`onResponseReceived`&&r&&`response`in r&&`operation`in r){let e=Array.from(t.values()).map(e=>e.hooks?.onResponseReceived).filter(e=>typeof e==`function`);return Promise.all(e.map(e=>e({response:r.response,operation:r.operation})))}return Promise.resolve([])}}}})),sft,mN,hN=c((()=>{oft(),U(),sft=Symbol(),mN=()=>$u(sft)||aft({})})),gN,cft,lft=c((()=>{gN=(e,t=!1)=>{let n=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 n[e]),delete n[`x-scalar-set-cookie`];let r=Object.keys(n).find(e=>e.toLowerCase()===`x-scalar-modified-headers`),i=r?n[r]?.toString().split(`, `)?.map(e=>e.toLowerCase())??[]:[];return Object.keys(n).forEach(e=>{i.includes(e.toLowerCase())&&delete n[e]}),r&&delete n[r],Object.keys(n).forEach(e=>{let t=/^x-scalar-original-/i;if(t.test(e)){let r=e.replace(t,``);n[e]&&(n[r]=n[e],delete n[e])}}),Object.keys(n).forEach(e=>{let t=cft(e);e!==t&&n[e]&&(n[t]=n[e],delete n[e])}),Object.fromEntries(Object.entries(n).sort(([e],[t])=>e.localeCompare(t)))},cft=e=>e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join(`-`)})),_N,uft=c((()=>{Ec(),r_(),_N=Lo({uid:Vg.brand(),name:T().default(``),value:T().default(``),domain:T().optional(),path:T().optional()})})),dft=c((()=>{uft()})),vN,yN,bN,xN,SN,fft,CN,wN,TN,pft,mft,hft,EN,DN,ON=c((()=>{vN=typeof Buffer==`function`,typeof TextDecoder==`function`&&new TextDecoder,yN=typeof TextEncoder==`function`?new TextEncoder:void 0,bN=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`),(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(bN),xN=String.fromCharCode.bind(String),typeof Uint8Array.from==`function`&&Uint8Array.from.bind(Uint8Array),SN=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),fft=e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=bN[t>>18&63]+bN[t>>12&63]+bN[t>>6&63]+bN[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},CN=typeof btoa==`function`?e=>btoa(e):vN?e=>Buffer.from(e,`binary`).toString(`base64`):fft,wN=vN?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(xN.apply(null,e.subarray(r,r+t)));return CN(n.join(``))},TN=(e,t=!1)=>t?SN(wN(e)):wN(e),pft=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?xN(192|t>>>6)+xN(128|t&63):xN(224|t>>>12&15)+xN(128|t>>>6&63)+xN(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return xN(240|t>>>18&7)+xN(128|t>>>12&63)+xN(128|t>>>6&63)+xN(128|t&63)}},mft=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,hft=e=>e.replace(mft,pft),EN=vN?e=>Buffer.from(e,`utf8`).toString(`base64`):yN?e=>wN(yN.encode(e)):e=>CN(hft(e)),DN=(e,t=!1)=>t?SN(EN(e)):EN(e)})),kN,gft=c((()=>{oN(),Rx(),dft(),ON(),kN=(e=[],t={},n=``)=>{let r={},i=[],a=new URLSearchParams;return e.forEach(e=>{if(e.type===`apiKey`){let o=aN(e.value,t)||n;e.in===`header`&&(r[e.name]=o),e.in===`query`&&a.append(e.name,o),e.in===`cookie`&&i.push(_N.parse({uid:e.uid,name:e.name,value:o,path:`/`}))}if(e.type===`http`)if(e.scheme===`basic`){let n=`${aN(e.username,t)}:${aN(e.password,t)}`;r.Authorization=`Basic ${n===`:`?`username:password`:DN(n)}`}else r.Authorization=`Bearer ${aN(e.token,t)||n}`;e.type===`oauth2`&&(r.Authorization=`Bearer ${Object.values(e.flows).filter(d_).find(e=>e.token)?.token||n}`)}),{headers:r,cookies:i,urlParams:a}}})),AN,jN=c((()=>{AN=()=>typeof window<`u`&&`electron`in window}));function _ft(e,t,n){if(!gv(e))return{body:void 0,contentType:void 0};if(t.body.activeBody===`formData`&&t.body.formData){let e=t.body.formData.encoding===`form-data`?`multipart/form-data`:`application/x-www-form-urlencoded`,r=t.body.formData.encoding===`form-data`?new FormData:new URLSearchParams;return t.body.formData.value.forEach(e=>{!e.enabled||!e.key||(e.file&&r instanceof FormData?r.append(e.key,e.file,e.file.name):e.value!==void 0&&r.append(e.key,aN(e.value,n)))}),{body:r,contentType:e}}return t.body.activeBody===`raw`?{body:aN(t.body.raw?.value??``,n),contentType:t.body.raw?.encoding}:t.body.activeBody===`binary`?{body:t.body.binary,contentType:t.body.binary?.type}:{body:void 0,contentType:void 0}}var vft=c((()=>{oN(),Rx()}));function yft(e,t){let n={};return e.parameters.headers.forEach(e=>{let r=e.key.trim().toLowerCase();e.enabled&&(r!==`content-type`||e.value!==`multipart/form-data`)&&(n[r]=aN(e.value,t))}),n}var bft=c((()=>{oN()}));function xft(e,t,n){let r=new URLSearchParams,i=(n?.parameters??[]).reduce((e,t)=>(t.in===`query`&&(e[t.name]=t),e),{});return e.parameters.query.forEach(e=>{if(!e.enabled)return;let n=i[e.key];switch(e.type){case`array`:{let i=aN(e.value??``,t).split(/,\ ?/);if(n?.explode===!1){let t=i.join(`,`);r.append(e.key,t)}else i.forEach(t=>{r.append(e.key,t.trim())});break}default:{let n=aN(e.value??``,t);r.append(e.key,n.trim());break}}}),r}var Sft=c((()=>{oN()}));function MN(e){let t=NN[e];if(t)return t;if(e.endsWith(`+json`))return{extension:`.json`,raw:!0,language:`json`}}function Cft(e){return!!MN(e)?.raw}var NN,PN=c((()=>{NN={"application/epub+zip":{extension:`.epub`},"application/gzip":{extension:`.gz`},"application/java-archive":{extension:`.jar`},"application/javascript":{extension:`.js`,raw:!0},"application/json":{extension:`.json`,raw:!0,language:`json`},"application/ld+json":{extension:`.jsonld`,raw:!0,language:`json`},"application/problem+json":{extension:`.json`,raw:!0,language:`json`},"application/vnd.api+json":{extension:`.json`,raw:!0,language:`json`},"application/dns-json":{extension:`.json`,raw:!0,language:`json`},"application/msword":{extension:`.doc`},"application/octet-stream":{extension:`.bin`},"application/ogg":{extension:`.ogx`},"application/pdf":{extension:`.pdf`,preview:`object`},"application/rtf":{extension:`.rtf`,raw:!0},"application/vnd.amazon.ebook":{extension:`.azw`},"application/vnd.apple.installer+xml":{extension:`.mpkg`,raw:!0,language:`xml`},"application/vnd.mozilla.xul+xml":{extension:`.xul`,raw:!0,language:`xml`},"application/vnd.ms-excel":{extension:`.xls`},"application/vnd.ms-fontobject":{extension:`.eot`},"application/vnd.ms-powerpoint":{extension:`.ppt`},"application/vnd.oasis.opendocument.presentation":{extension:`.odp`},"application/vnd.oasis.opendocument.spreadsheet":{extension:`.ods`},"application/vnd.oasis.opendocument.text":{extension:`.odt`},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:`.pptx`},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:`.xlsx`},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:`.docx`},"application/vnd.rar":{extension:`.rar`},"application/vnd.visio":{extension:`.vsd`},"application/x-7z-compressed":{extension:`.7z`},"application/x-abiword":{extension:`.abw`},"application/x-bzip":{extension:`.bz`},"application/x-bzip2":{extension:`.bz2`},"application/x-cdf":{extension:`.cda`},"application/x-csh":{extension:`.csh`},"application/x-freearc":{extension:`.arc`},"application/x-httpd-php":{extension:`.php`,raw:!0},"application/x-sh":{extension:`.sh`,raw:!0},"application/x-tar":{extension:`.tar`},"application/xhtml+xml":{extension:`.xhtml`,raw:!0,language:`html`},"application/xml":{extension:`.xml`,raw:!0,language:`xml`},"application/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"application/zip":{extension:`.zip`},"audio/aac":{extension:`.aac`},"audio/midi":{extension:`.midi`},"audio/mpeg":{extension:`.mp3`,preview:`audio`},"audio/ogg":{extension:`.oga`},"audio/wav":{extension:`.wav`},"audio/webm":{extension:`.weba`},"font/otf":{extension:`.otf`},"font/ttf":{extension:`.ttf`},"font/woff":{extension:`.woff`},"font/woff2":{extension:`.woff2`},"image/apng":{extension:`.apng`,preview:`image`,alpha:!0},"image/avif":{extension:`.avif`,preview:`image`},"image/bmp":{extension:`.bmp`,preview:`image`},"image/gif":{extension:`.gif`,preview:`image`,alpha:!0},"image/jpeg":{extension:`.jpg`,preview:`image`},"image/png":{extension:`.png`,preview:`image`,alpha:!0},"image/svg+xml":{extension:`.svg`,raw:!0,language:`xml`,preview:`image`,alpha:!0},"image/tiff":{extension:`.tiff`},"image/vnd.microsoft.icon":{extension:`.ico`,preview:`image`},"image/webp":{extension:`.webp`,preview:`image`,alpha:!0},"text/calendar":{extension:`.ics`,raw:!0},"text/css":{extension:`.css`,raw:!0,language:`css`},"text/csv":{extension:`.csv`,raw:!0},"text/html":{extension:`.html`,raw:!0,language:`html`,preview:`object`},"text/javascript":{extension:`.js`,raw:!0},"text/plain":{extension:`.txt`,raw:!0},"text/xml":{extension:`.xml`,raw:!0,language:`xml`},"text/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"video/3gpp":{extension:`.3gp`},"audio/3gpp":{extension:`.3gp`},"video/3gpp2":{extension:`.3g2`},"audio/3gpp2":{extension:`.3g2`},"video/mp2t":{extension:`.ts`},"video/mp4":{extension:`.mp4`,preview:`video`},"video/mpeg":{extension:`.mpeg`},"video/ogg":{extension:`.ogv`},"video/webm":{extension:`.webm`,preview:`video`},"video/x-msvideo":{extension:`.avi`}},Object.entries(NN).filter(([,e])=>e?.raw).map(([e])=>e)})),FN=l((e=>{e.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,``).replace(/[ \t\n\r]+$/u,``),e.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,``),e.isHTTPWhitespaceChar=e=>e===` `||e===` `||e===`
|
||
`||e===`\r`,e.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),e.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),e.asciiLowercase=e=>e.replace(/[A-Z]/gu,e=>e.toLowerCase()),e.collectAnHTTPQuotedString=(e,t)=>{let n=``;for(t++;;){for(;t<e.length&&e[t]!==`"`&&e[t]!==`\\`;)n+=e[t],++t;if(t>=e.length)break;let r=e[t];if(++t,r===`\\`){if(t>=e.length){n+=`\\`;break}n+=e[t],++t}else break}return[n,t]}})),wft=l(((e,t)=>{var{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:i}=FN();t.exports=class{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!i(t))throw Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}})),Tft=l(((e,t)=>{var{removeLeadingAndTrailingHTTPWhitespace:n,removeTrailingHTTPWhitespace:r,isHTTPWhitespaceChar:i,solelyContainsHTTPTokenCodePoints:a,soleyContainsHTTPQuotedStringTokenCodePoints:o,asciiLowercase:s,collectAnHTTPQuotedString:c}=FN();t.exports=e=>{e=n(e);let t=0,l=``;for(;t<e.length&&e[t]!==`/`;)l+=e[t],++t;if(l.length===0||!a(l)||t>=e.length)return null;++t;let u=``;for(;t<e.length&&e[t]!==`;`;)u+=e[t],++t;if(u=r(u),u.length===0||!a(u))return null;let d={type:s(l),subtype:s(u),parameters:new Map};for(;t<e.length;){for(++t;i(e[t]);)++t;let n=``;for(;t<e.length&&e[t]!==`;`&&e[t]!==`=`;)n+=e[t],++t;if(n=s(n),t<e.length){if(e[t]===`;`)continue;++t}let l=null;if(e[t]===`"`)for([l,t]=c(e,t);t<e.length&&e[t]!==`;`;)++t;else{for(l=``;t<e.length&&e[t]!==`;`;)l+=e[t],++t;if(l=r(l),l===``)continue}n.length>0&&a(n)&&o(l)&&!d.parameters.has(n)&&d.parameters.set(n,l)}return d}})),Eft=l(((e,t)=>{var{solelyContainsHTTPTokenCodePoints:n}=FN();t.exports=e=>{let t=`${e.type}/${e.subtype}`;if(e.parameters.size===0)return t;for(let[r,i]of e.parameters)t+=`;`,t+=r,t+=`=`,(!n(i)||i.length===0)&&(i=i.replace(/(["\\])/gu,`\\$1`),i=`"${i}"`),t+=i;return t}})),IN=l(((e,t)=>{var n=wft(),r=Tft(),i=Eft(),{asciiLowercase:a,solelyContainsHTTPTokenCodePoints:o}=FN();t.exports=class{constructor(e){e=String(e);let t=r(e);if(t===null)throw Error(`Could not parse MIME type string "${e}"`);this._type=t.type,this._subtype=t.subtype,this._parameters=new n(t.parameters)}static parse(e){try{return new this(e)}catch{return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid type: must be a non-empty string`);if(!o(e))throw Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(e=a(String(e)),e.length===0)throw Error(`Invalid subtype: must be a non-empty string`);if(!o(e))throw Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return i(this)}isJavaScript({prohibitParameters:e=!1}={}){switch(this._type){case`text`:switch(this._subtype){case`ecmascript`:case`javascript`:case`javascript1.0`:case`javascript1.1`:case`javascript1.2`:case`javascript1.3`:case`javascript1.4`:case`javascript1.5`:case`jscript`:case`livescript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}case`application`:switch(this._subtype){case`ecmascript`:case`javascript`:case`x-ecmascript`:case`x-javascript`:return!e||this._parameters.size===0;default:return!1}default:return!1}}isXML(){return this._subtype===`xml`&&(this._type===`text`||this._type===`application`)||this._subtype.endsWith(`+xml`)}isHTML(){return this._subtype===`html`&&this._type===`text`}}}));function Dft(e,t){let n=new Oft.default(t);return Cft(n.essence)?new TextDecoder(n.parameters.get(`charset`)).decode(e):new Blob([e],{type:n.essence})}var Oft,kft=c((()=>{PN(),Oft=f(IN(),1)}));function Aft({example:e,env:t,globalCookies:n,serverUrl:r,proxyUrl:i}){let a=[],o=Mft(Kv(i,r)?i:r??`http://localhost`);return n.forEach(e=>{let{name:t,value:n,domain:i,...o}=e;!LN(r,i)||!t||a.push(_N.parse({name:t,value:n,domain:i,path:o.path}))}),e.parameters.cookies.forEach(e=>{!e.enabled||!e.key||a.push(_N.parse({name:e.key,value:aN(e.value,t),domain:o,path:jft}))}),{cookieParams:a}}var jft,Mft,LN,Nft,Pft=c((()=>{oN(),dft(),qv(),jft=`/`,Mft=e=>{let t=new URL(e.startsWith(`http`)?e:`http://${e}`).hostname;return t.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)||t.match(/^[a-fA-F0-9:]+$/)||t.startsWith(`.`)?t:`.${t}`},LN=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}},Nft=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t?`${t}; ${n}`.trim():n.trim()}})),Fft,Ift=c((()=>{oN(),hv(),lft(),gft(),jN(),vft(),bft(),Sft(),kft(),Pft(),f_(),Sv(),Vv(),qv(),Fft=({environment:e,example:t,globalCookies:n,proxyUrl:r,request:i,securitySchemes:a,selectedSecuritySchemeUids:o=[],server:s,status:c,pluginManager:l})=>{try{let u=e??{},d=new AbortController,f=t.parameters.path.reduce((e,t)=>{if(t.enabled){let n=aN(t.value,u);e[t.key]=encodeURIComponent(n)}return e},{}),p=aN(s?.url??``,u),m=aN(aN(i.path,u),f),h=p||m;if(!h)throw fv.URL_EMPTY;Object.entries(s?.variables??{}).forEach(([e,t])=>{h=aN(h,{[e]:f[e]||t.default})});let g=xft(t,u,i),_=yft(t,u),{body:v}=_ft(i.method,t,u),{cookieParams:y}=Aft({example:t,env:u,globalCookies:n,serverUrl:h,proxyUrl:r}),b=kN(o.flat().map(e=>a[e]).filter(d_),u),x={...Object.entries(b.headers).reduce((e,[t,n])=>(e[t.toLowerCase()]=n,e),{}),..._},ee=[...y,...b.cookies],S=new URLSearchParams([...g,...b.urlParams]);AN()&&x[`user-agent`]&&(x[`X-Scalar-User-Agent`]=x[`user-agent`]),h=Bv(h,m,S);let C=aN(Nft(ee,x.Cookie),u);C&&(AN()||Kv(r,h)?(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."),x[`X-Scalar-Cookie`]=C):(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:
|
||
|
||
- The browser URL must be on the same domain as the server URL.
|
||
- The connection must be made over HTTPS.
|
||
`),x.Cookie=C));let te=Gv(r,h),ne=new Request(te,{method:i.method.toUpperCase(),body:v??null,headers:x});return[null,{request:ne,sendRequest:async()=>{if(c?.emit(`start`),l)try{await l.executeHook(`onBeforeRequest`,{request:ne})}catch(e){let t=Error(fv.ON_BEFORE_REQUEST_FAILED,{cause:e});return c?.emit(`abort`),[pv(t),null]}let e=Date.now();try{let n=await fetch(ne,{signal:d.signal}),a=n.headers.get(`content-type`)?.startsWith(`text/event-stream`);c?.emit(`stop`);let o=Date.now()-e,s=n.clone(),u=gN(n.headers,Kv(r,h)),f=n.headers.get(`content-type`)??`text/plain;charset=UTF-8`,p=await s.arrayBuffer(),g=Dft(p,f),_=n.clone(),v=_.statusText||xv[_.status]?.name||``,y=[204,205,304].includes(_.status),b=new Response(y?null:_.body,{status:_.status,statusText:v,headers:_.headers});l&&await l.executeHook(`onResponseReceived`,{response:b,operation:i});let x=`getSetCookie`in b.headers&&typeof b.headers.getSetCookie==`function`?b.headers.getSetCookie():[];return a&&n.body?[null,{timestamp:Date.now(),request:t,response:{...b,headers:u,cookieHeaderKeys:x,reader:n.body?.getReader(),duration:o,method:i.method,path:m}}]:[null,{timestamp:Date.now(),request:t,response:{...n,headers:u,cookieHeaderKeys:x,data:g,size:p.byteLength,duration:Date.now()-e,method:i.method,status:n.status,path:m}}]}catch(e){return c?.emit(`abort`),[pv(e,fv.REQUEST_FAILED),null]}},controller:d}]}catch(e){return console.error(e),c?.emit(`abort`),[pv(e),null]}}})),Lft,Rft,zft,Bft,Vft,Hft=c((()=>{pN(),U(),Lft=[`aria-pressed`],Rft={class:`sr-only`},zft={class:`size-4`,fill:`none`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`},Bft={"clip-path":`url(#mask)`},Vft=j({__name:`SidebarToggle`,setup(e){let{isSidebarOpen:t,toggleSidebarOpen:n}=fN();return(e,r)=>(N(),P(`button`,{"aria-pressed":k(t),class:`scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded-lg p-2`,type:`button`,onClick:r[0]||=(...e)=>k(n)&&k(n)(...e)},[I(`span`,Rft,D(k(t)?`Hide`:`Show`)+` sidebar`,1),(N(),P(`svg`,zft,[r[1]||=I(`defs`,null,[I(`clipPath`,{id:`mask`},[I(`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),I(`g`,Bft,[I(`path`,{class:E([`transition-transform duration-300`,k(t)?`translate-x-0`:`-translate-x-1/2`]),d:`M1 3.2h8v17.5H1z`,fill:`currentColor`},null,2)]),r[2]||=I(`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,Lft))}})})),Uft,Wft=c((()=>{Hft(),Uft=Vft})),Gft,Kft=c((()=>{Gft=e=>{let t={invalidParams:new Set,hasBlockingErrors:!1};return e?(e.parameters?.path?.forEach(e=>{e.enabled&&e.value.trim()===``&&(t.invalidParams.add(e.key),t.hasBlockingErrors=!0)}),[`query`,`headers`,`cookies`].forEach(n=>{e.parameters?.[n]?.forEach(e=>{e.required&&e.value===``&&t.invalidParams.add(e.key)})}),t):t}}));function RN(e,t,n={cyclesFix:!0},r=[]){let i=[],a=Array.isArray(e);for(let o in e){let s=e[o],c=a?+o:o;if(!(o in t)){i.push({type:`REMOVE`,path:[c],oldValue:e[o]});continue}let l=t[o],u=typeof s==`object`&&typeof l==`object`&&Array.isArray(s)===Array.isArray(l);s&&l&&u&&!qft[Object.getPrototypeOf(s)?.constructor?.name]&&(!n.cyclesFix||!r.includes(s))?i.push.apply(i,RN(s,l,n,n.cyclesFix?r.concat([s]):[]).map(e=>(e.path.unshift(c),e))):s!==l&&!(Number.isNaN(s)&&Number.isNaN(l))&&!(u&&(isNaN(s)?s+``==l+``:+s==+l))&&i.push({path:[c],type:`CHANGE`,value:l,oldValue:s})}let o=Array.isArray(t);for(let n in t)n in e||i.push({type:`CREATE`,path:[o?+n:n],value:t[n]});return i}var qft,zN=c((()=>{qft={Date:!0,RegExp:!0,String:!0,Number:!0}})),BN,VN,HN,Jft,UN,Yft,WN,Xft,Zft,Qft,$ft,ept,tpt=c((()=>{Rx(),cv(),Ec(),qge(),zN(),BN=(e,t=[])=>{let n=[],r=!1;for(let i=0;i<e.length;i++){if(r){r=!1;continue}let a=e[i],o=e[i+1];if(a){if(t.length)a.path=[...t,...a.path],o&&(o.path=[...t,...o.path]);else if(a.path[0]!==`paths`){n.push(a);continue}if(a.type===`REMOVE`&&o?.type===`CREATE`){let[,e,i]=a.path,[,s,c]=o.path,l=[`paths`,s].filter(e=>typeof e==`string`);if(e!==s&&n.push({type:`CHANGE`,path:[`paths`,`path`],oldValue:e,value:s}),i&&typeof c==`string`&&i!==c&&s&&(n.push({type:`CHANGE`,path:[`paths`,s,`method`],oldValue:i,value:c}),l.push(c)),t.length===0){let e=RN(a.oldValue,o.value);if(e.length){let t=BN(e,l);n.push(...t)}}r=!0}else a.type===`CREATE`&&a.path.length>3&&typeof a.path.at(-1)!=`number`?n.push({...a,type:`CHANGE`,oldValue:void 0}):a.type===`REMOVE`&&a.path.length>3&&typeof a.path.at(-1)!=`number`?n.push({...a,type:`CHANGE`,value:void 0}):n.push(a)}}return n},VN=(e,t,n)=>{for(let r of e){let e=t[r];if(e&&n(e))return e}return null},HN=e=>{if(e instanceof tc){let t=e.unwrap();if(t instanceof rs)return HN(t)}if(e instanceof ic){let t=e._zod.def.innerType;if(t instanceof rs)return HN(t)}if(e instanceof cc){let t=e._zod.def.innerType;if(t instanceof rs)return HN(t)}if(e instanceof uc){let t=e._zod.def.in;if(t instanceof rs)return HN(t)}return e},Jft=(e,t)=>{let n=e;for(let e of t){if(n=HN(n),n instanceof Is)return n;if(n instanceof Hs&&typeof e==`string`&&e in n.shape){let t=n.shape[e];if(t instanceof rs)n=t;else return null}else if(n instanceof Vs)if(typeof e==`number`)if(n.element instanceof rs)n=n.element;else return null;else if(typeof e==`string`){if(n.element instanceof rs)n=n.element;else return null;if(n instanceof Hs&&e in n.shape){let t=n.shape[e];if(t instanceof rs)n=t;else return null}else return null}else return null;else if(n instanceof Js){let t=n._zod.def.valueType;if(!t||!(t instanceof rs))return null;if(typeof e==`string`)n=t,n=HN(n);else if(typeof e==`number`){if(n=t,n=HN(n),n instanceof Vs)if(n.element instanceof rs)n=n.element;else return null}else n=t}else return null;n=HN(n)}return n},UN=(e,t)=>{let n=Jft(e,t.path);if(!n)return null;let r=t.path.join(`.`),i=t.path.slice(0,-1).join(`.`);if(t.type===`REMOVE`)return{path:r,pathMinusOne:i,value:void 0};let a=h_(t.value,n,!1);return a==null?null:{path:r,pathMinusOne:i,value:a}},Yft=(e,{activeCollection:t},{collectionMutators:n})=>{if(!t.value)return!1;if(typeof e.path[e.path.length-1]==`number`&&(e.type===`CREATE`||e.type===`REMOVE`)){let r=UN(l_,{...e,path:e.path});if(!r)return!1;let i=[...Gge(t.value,r.pathMinusOne)];e.type===`CREATE`?i.push(r.value):e.type===`REMOVE`&&i.pop(),n.edit(t.value.uid,r.pathMinusOne,i)}else{let r=UN(l_,e);if(!r)return!1;n.edit(t.value.uid,r.path,r.value)}return!0},WN=(e,t)=>{let{requests:n,requestExamples:r,requestExampleMutators:i}=t,a=n[e];a?.examples.forEach(e=>{let t=wge(a,r[e]?.name??`Default`);t&&i.set({...t,uid:e})})},Xft=(e,{activeCollection:t},n)=>{if(!t.value)return!1;let{requests:r,requestMutators:i}=n,[,a,o,...s]=e.path;if(a===`path`&&e.type===`CHANGE`)t.value.requests.forEach(t=>{r[t]?.path===e.oldValue&&i.edit(t,`path`,e.value)});else if(o===`method`&&e.type===`CHANGE`)t.value.requests.forEach(t=>{r[t]?.method===e.oldValue&&r[t]?.path===a&&i.edit(t,`method`,e.value)});else if(e.type!==`CHANGE`&&typeof s.at(-1)==`number`){let s=VN(t.value.requests,r,e=>e.path===a&&e.method===o),c=UN(iv,{...e,path:e.path.slice(3)});if(!s||!c)return!1;let l=[...Gge(s,c.pathMinusOne)];e.type===`CREATE`?l.push(c.value):e.type===`REMOVE`&&l.pop(),i.edit(s.uid,c.pathMinusOne,l),(e.path[3]===`parameters`||e.path[3]===`requestBody`)&&WN(s.uid,n)}else if(e.type===`CREATE`){let[n]=Object.entries(e.value??{}),[r,s]=n??[],c=o?e.value:s,l=o||r,u=ov.array().parse(c.servers??[]),{security:d,...f}=c,p={...f,method:Tv(l)?l:`get`,path:a,parameters:c.parameters??[],servers:u.map(e=>e.uid)};d?.length&&(p.security=d.map(e=>{if(Object.keys(e).length){let[t]=Object.keys(e);return t?{[t]:e[t]}:e}return e}));let m=h_(p,iv,!1);if(!m)return!1;i.add(m,t.value.uid)}else if(e.type===`REMOVE`){let e=VN(t.value.requests,r,e=>e.path===a&&e.method===o);if(!e)return!1;i.delete(e,t.value.uid)}else if(e.type===`CHANGE`){let c=VN(t.value.requests,r,e=>e.path===a&&e.method===o),l=UN(iv,{...e,path:s});if(!c||!l)return!1;i.edit(c.uid,l.path,l.value),(e.path[3]===`parameters`||e.path[3]===`requestBody`)&&WN(c.uid,n)}return!0},Zft=(e,{activeCollection:t},{servers:n,serverMutators:r})=>{if(!t.value)return!1;let[,i,...a]=e.path;if(a?.length){let o=t.value.servers[i];if(!o)return!1;let s=n[o],c=UN(ov,{...e,path:a});if(!s||!c)return!1;let l=e.type===`REMOVE`&&a[a.length-1]===`variables`?{}:c.value;r.edit(o,c.path,l)}else if(e.type===`REMOVE`){if(!t.value.servers[i])return!1;r.delete(t.value.servers[i],t.value.uid)}else if(e.type===`CREATE`){let n=h_(e.value,ov,!1);if(!n)return!1;r.add(n,t.value.uid)}return!0},Qft=(e,{activeCollection:t},{tags:n,tagMutators:r})=>{if(!t.value)return!1;let[,i,...a]=e.path;if(a?.length){let o=t.value.tags[i];if(!o)return!1;let s=n[o],c=UN(s_,{...e,path:a});if(!s||!c)return!1;r.edit(o,c.path,c.value)}else if(e.type===`REMOVE`){let e=t.value.tags[i];if(!e)return!1;let a=n[e];if(!a)return!1;r.delete(a,t.value.uid)}else if(e.type===`CREATE`){let n=h_(e.value,s_,!1);if(!n)return!1;r.add(n,t.value.uid)}return!0},$ft=(e,t,n)=>{let r=HN(e);if(r instanceof Us||r instanceof Gs)for(let e of r.options){if(!(e instanceof rs))continue;let r=HN(e);if(r instanceof Hs&&t in r.shape){let e=HN(r.shape[t]);if(e instanceof Qs&&e.value===n||e instanceof ic&&e._zod.def.innerType instanceof Qs&&e._zod.def.innerType.value===n||e instanceof tc&&e._zod.def.innerType instanceof Qs&&e._zod.def.innerType.value===n||e instanceof ic&&e._zod.def.innerType instanceof tc&&e._zod.def.innerType._zod.def.innerType instanceof Qs&&e._zod.def.innerType._zod.def.innerType.value===n)return r}}return null},ept=(e,{activeCollection:t},{securitySchemes:n,securitySchemeMutators:r})=>{if(!t.value)return!1;let[,,i,...a]=e.path,o=n[i]??VN(t.value.securitySchemes,n,e=>e.nameKey===i);if(a?.length){let t=$ft(t_,`type`,o?.type??``);if(!t||!o)return!1;let n=UN(t,{...e,path:a});if(!n)return!1;let i=n.path;r.edit(o.uid,i,n.value)}else if(e.type===`REMOVE`){if(!o)return!1;r.delete(o.uid)}else e.type===`CREATE`&&r.add(t_.parse(e.value),t.value.uid);return!0}}));function npt(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}function rpt(e,t){return N(),P(`svg`,mpt,hpt)}function ipt(e,t){return N(),P(`svg`,jpt,Mpt)}function apt(e,t){return N(),P(`svg`,Fpt,Ipt)}function opt(e,t){return N(),P(`svg`,zpt,Bpt)}function spt(e,t){return N(),P(`svg`,Upt,Wpt)}var cpt,lpt,GN,KN,upt,qN,dpt,fpt,JN,YN,ppt,mpt,hpt,gpt,_pt,vpt,ypt,bpt,xpt,Spt,Cpt,wpt,Tpt,Ept,Dpt,Opt,kpt,Apt,jpt,Mpt,Npt,Ppt,Fpt,Ipt,Lpt,Rpt,zpt,Bpt,Vpt,Hpt,Upt,Wpt,Gpt,Kpt,qpt,Jpt,XN,Ypt,Xpt,ZN,Zpt,Qpt,$pt=c((()=>{U(),cpt=Object.defineProperty,lpt=(e,t,n)=>t in e?cpt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GN=(e,t,n)=>(lpt(e,typeof t==`symbol`?t:t+``,n),n),npt(`[data-sonner-toaster][dir=ltr],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%)}[data-sonner-toaster][dir=rtl],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%)}[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}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[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);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[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}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [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)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [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}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [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;background:var(--gray1);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]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[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)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[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}[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}[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-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] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[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%)}`),KN=0,upt=class{constructor(){GN(this,`subscribers`),GN(this,`toasts`),GN(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),GN(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),GN(this,`addToast`,e=>{this.publish(e),this.toasts=[...this.toasts,e]}),GN(this,`create`,e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:KN++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r}),GN(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)),GN(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),GN(this,`error`,(e,t)=>this.create({...t,type:`error`,message:e})),GN(this,`success`,(e,t)=>this.create({...t,type:`success`,message:e})),GN(this,`info`,(e,t)=>this.create({...t,type:`info`,message:e})),GN(this,`warning`,(e,t)=>this.create({...t,type:`warning`,message:e})),GN(this,`loading`,(e,t)=>this.create({...t,type:`loading`,message:e})),GN(this,`promise`,(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=e instanceof Promise?e:e(),i=n!==void 0;return r.then(e=>{if(e&&typeof e.ok==`boolean`&&!e.ok){i=!1;let e=typeof t.error==`function`?t.error(`HTTP error! status: ${response.status}`):t.error,r=typeof t.description==`function`?t.description(`HTTP error! status: ${response.status}`):t.description;this.create({id:n,type:`error`,message:e,description:r})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?t.success(e):t.success,a=typeof t.description==`function`?t.description(e):t.description;this.create({id:n,type:`success`,message:r,description:a})}}).catch(e=>{if(t.error!==void 0){i=!1;let r=typeof t.error==`function`?t.error(e):t.error,a=typeof t.description==`function`?t.description(e):t.description;this.create({id:n,type:`error`,message:r,description:a})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),(e=t.finally)==null||e.call(t)}),n}),GN(this,`custom`,(e,t)=>{let n=t?.id||KN++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}},qN=new upt,dpt=(e,t)=>{let n=t?.id||KN++;return qN.create({message:e,id:n,type:`default`,...t}),n},fpt=dpt,JN=Object.assign(fpt,{success:qN.success,info:qN.info,warning:qN.warning,error:qN.error,custom:qN.custom,message:qN.message,promise:qN.promise,dismiss:qN.dismiss,loading:qN.loading}),YN=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},ppt={},mpt={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`},hpt=[I(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),I(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)],gpt=YN(ppt,[[`render`,rpt]]),_pt=()=>{let e=O(!1);return td(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}},vpt=[`aria-live`,`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`],ypt=[`aria-label`,`data-disabled`],bpt={key:0,"data-icon":``},xpt={"data-content":``},Spt=4e3,Cpt=14,wpt=20,Tpt=200,Ept=j({__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},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:[`update:heights`,`removeToast`],setup(e,{emit:t}){let n=t,r=e,i=O(!1),a=O(!1),o=O(!1),s=O(!1),c=O(0),l=O(0),u=O(null),d=O(null),f=H(()=>r.index===0),p=H(()=>r.index+1<=r.visibleToasts),m=H(()=>r.toast.type),h=H(()=>r.toast.dismissible!==!1),g=H(()=>r.cn(r.classes?.toast,r.toast?.classes?.toast,r.classes?.default,r.classes?.[r.toast.type||`default`],r.toast?.classes?.[r.toast.type||`default`])),_=r.toast.style||{},v=H(()=>r.heights.findIndex(e=>e.toastId===r.toast.id)||0),y=H(()=>r.toast.closeButton??r.closeButton),b=H(()=>r.toast.duration||r.duration||Spt),x=O(0),ee=O(0),S=O(b.value),C=O(0),te=O(null),ne=H(()=>r.position.split(`-`)),re=H(()=>ne.value[0]),w=H(()=>ne.value[1]),ie=typeof r.toast.title!=`string`,ae=typeof r.toast.description!=`string`,oe=H(()=>r.heights.reduce((e,t,n)=>n>=v.value?e:e+t.height,0)),se=_pt(),ce=H(()=>r.toast.invert||r.invert),le=H(()=>m.value===`loading`);Af(()=>{if(!i.value)return;let e=d.value,t=e?.style.height;e.style.height=`auto`;let a=e.getBoundingClientRect().height;e.style.height=t,l.value=a;let o;o=r.heights.find(e=>e.toastId===r.toast.id)?r.heights.map(e=>e.toastId===r.toast.id?{...e,height:a}:e):[{toastId:r.toast.id,height:a,position:r.toast.position},...r.heights],n(`update:heights`,o)});let ue=()=>{a.value=!0,c.value=ee.value,n(`update:heights`,r.heights.filter(e=>e.toastId!==r.toast.id)),setTimeout(()=>{n(`removeToast`,r.toast)},Tpt)},de=()=>{var e,t;le.value||!h.value||(ue(),(t=(e=r.toast).onDismiss)==null||t.call(e,r.toast))},fe=e=>{le.value||!h.value||(u.value=new Date,c.value=ee.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(o.value=!0,te.value={x:e.clientX,y:e.clientY}))},pe=e=>{var t,n,i;if(s.value)return;te.value=null;let a=Number(d.value?.style.getPropertyValue(`--swipe-amount`).replace(`px`,``)||0),l=new Date().getTime()-u.value.getTime(),f=Math.abs(a)/l;if(Math.abs(a)>=wpt||f>.11){c.value=ee.value,(n=(t=r.toast).onDismiss)==null||n.call(t,r.toast),ue(),s.value=!0;return}(i=d.value)==null||i.style.setProperty(`--swipe-amount`,`0px`),o.value=!1},me=e=>{var t;if(!te.value)return;let n=e.clientY-te.value.y,r=e.clientX-te.value.x,i=(ne.value[0]===`top`?Math.min:Math.max)(0,n),a=e.pointerType===`touch`?10:2;Math.abs(i)>a?(t=d.value)==null||t.style.setProperty(`--swipe-amount`,`${n}px`):Math.abs(r)>a&&(te.value=null)};return td(()=>{ee.value=v.value*Cpt+oe.value}),td(e=>{if(r.toast.promise&&m.value===`loading`||r.toast.duration===1/0||r.toast.type===`loading`)return;let t;r.expanded||r.interacting||r.pauseWhenPageIsHidden&&se?(()=>{if(C.value<x.value){let e=new Date().getTime()-x.value;S.value-=e}C.value=new Date().getTime()})():(x.value=new Date().getTime(),t=setTimeout(()=>{var e,t;(t=(e=r.toast).onAutoClose)==null||t.call(e,r.toast),ue()},S.value)),e(()=>{clearTimeout(t)})}),td(()=>{r.toast.delete&&ue()}),Af(()=>{if(d.value){let e=d.value.getBoundingClientRect().height;l.value=e,n(`update:heights`,[{toastId:r.toast.id,height:e,position:r.toast.position},...r.heights])}i.value=!0}),Nf(()=>{d.value&&n(`update:heights`,r.heights.filter(e=>e.toastId!==r.toast.id))}),(e,t)=>{var n;return N(),P(`li`,{"aria-live":e.toast.important?`assertive`:`polite`,"aria-atomic":`true`,role:`status`,tabindex:`0`,ref_key:`toastRef`,ref:d,"data-sonner-toast":``,class:E(g.value),"data-styled":!(e.toast.component||(n=e.toast)!=null&&n.unstyled||e.unstyled),"data-mounted":i.value,"data-promise":!!e.toast.promise,"data-removed":a.value,"data-visible":p.value,"data-y-position":re.value,"data-x-position":w.value,"data-index":e.index,"data-front":f.value,"data-swiping":o.value,"data-dismissible":h.value,"data-type":m.value,"data-invert":ce.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&i.value),style:Kc({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${a.value?c.value:ee.value}px`,"--initial-height":e.expandByDefault?`auto`:`${l.value}px`,...e.style,...k(_)}),onPointerdown:fe,onPointerup:pe,onPointermove:me},[y.value&&!e.toast.component?(N(),P(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":le.value,"data-close-button":``,class:E(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:de},[V(gpt)],10,ypt)):R(``,!0),e.toast.component?(N(),F(vd(e.toast.component),z({key:1},e.toast.componentProps,{onCloseToast:ue}),null,16)):(N(),P(B,{key:2},[m.value!==`default`||e.toast.icon||e.toast.promise?(N(),P(`div`,bpt,[(e.toast.promise||m.value===`loading`)&&!e.toast.icon?M(e.$slots,`loading-icon`,{key:0}):R(``,!0),e.toast.icon?(N(),F(vd(e.toast.icon),{key:1})):(N(),P(B,{key:2},[m.value===`success`?M(e.$slots,`success-icon`,{key:0}):m.value===`error`?M(e.$slots,`error-icon`,{key:1}):m.value===`warning`?M(e.$slots,`warning-icon`,{key:2}):m.value===`info`?M(e.$slots,`info-icon`,{key:3}):R(``,!0)],64))])):R(``,!0),I(`div`,xpt,[I(`div`,{"data-title":``,class:E(e.cn(e.classes?.title,e.toast.classes?.title))},[ie?(N(),F(vd(e.toast.title),qc(z({key:0},e.toast.componentProps)),null,16)):(N(),P(B,{key:1},[L(D(e.toast.title),1)],64))],2),e.toast.description?(N(),P(`div`,{key:0,"data-description":``,class:E(e.cn(e.descriptionClass,e.toast.descriptionClass,e.classes?.description,e.toast.classes?.description))},[ae?(N(),F(vd(e.toast.description),qc(z({key:0},e.toast.componentProps)),null,16)):(N(),P(B,{key:1},[L(D(e.toast.description),1)],64))],2)):R(``,!0)]),e.toast.cancel?(N(),P(`button`,{key:1,class:E(e.cn(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=()=>{var t;ue(),(t=e.toast.cancel)!=null&&t.onClick&&e.toast.cancel.onClick()}},D(e.toast.cancel.label),3)):R(``,!0),e.toast.action?(N(),P(`button`,{key:2,class:E(e.cn(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,onClick:t[1]||=t=>{var n;(n=e.toast.action)==null||n.onClick(t),!t.defaultPrevented&&ue()}},D(e.toast.action.label),3)):R(``,!0)],64))],46,vpt)}}}),Dpt=[`data-visible`],Opt={class:`sonner-spinner`},kpt=j({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(N(),P(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[I(`div`,Opt,[(N(!0),P(B,null,yd(k(t),e=>(N(),P(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,Dpt))}}),Apt={},jpt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Mpt=[I(`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)],Npt=YN(Apt,[[`render`,ipt]]),Ppt={},Fpt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Ipt=[I(`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)],Lpt=YN(Ppt,[[`render`,apt]]),Rpt={},zpt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},Bpt=[I(`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)],Vpt=YN(Rpt,[[`render`,opt]]),Hpt={},Upt={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Wpt=[I(`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)],Gpt=YN(Hpt,[[`render`,spt]]),Kpt=[`aria-label`],qpt=[`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],Jpt=3,XN=`32px`,Ypt=4e3,Xpt=356,ZN=14,Zpt=typeof window<`u`&&typeof document<`u`,Qpt=j({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:{default:Ypt},gap:{default:ZN},visibleToasts:{default:Jpt},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{default:()=>({})},offset:{default:XN},dir:{default:`auto`},icons:{},containerAriaLabel:{default:`Notifications`},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){function t(...e){return e.filter(Boolean).join(` `)}function n(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}let r=e,i=Cd(),a=O([]),o=H(()=>{let e=a.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([r.position].concat(e))):[r.position]}),s=O([]),c=O(!1),l=O(!1),u=O(r.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:r.theme),d=H(()=>r.cn||t),f=O(null),p=O(null),m=O(!1),h=r.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function g(e){a.value=a.value.filter(({id:t})=>t!==e.id)}let _=e=>{var t,n;m.value&&!((n=(t=e.currentTarget)?.contains)!=null&&n.call(t,e.relatedTarget))&&(m.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))},v=e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||m.value||(m.value=!0,p.value=e.relatedTarget)},y=e=>{e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(l.value=!1)};return td(e=>{let t=qN.subscribe(e=>{if(e.dismiss){a.value=a.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}Ku(()=>{let t=a.value.findIndex(t=>t.id===e.id);t===-1?a.value=[e,...a.value]:a.value.splice(t,1,e)})});e(()=>{t()})}),nd(()=>r.theme,e=>{if(e!==`system`){u.value=e;return}e===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?u.value=`dark`:u.value=`light`),!(typeof window>`u`)&&window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,({matches:e})=>{e?u.value=`dark`:u.value=`light`})}),nd(()=>f.value,()=>{if(f.value)return()=>{p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}}),td(()=>{a.value.length<=1&&(c.value=!1)}),td(e=>{function t(e){let t=r.hotkey.every(t=>e[t]||e.code===t),n=Array.isArray(f.value)?f.value[0]:f.value;t&&(c.value=!0,n?.focus());let i=document.activeElement===f.value||n?.contains(document.activeElement);e.code===`Escape`&&i&&(c.value=!1)}Zpt&&(document.addEventListener(`keydown`,t),e(()=>{document.removeEventListener(`keydown`,t)}))}),(e,t)=>(N(),P(`section`,{"aria-label":`${e.containerAriaLabel} ${k(h)}`,tabIndex:-1},[(N(!0),P(B,null,yd(o.value,(r,o)=>(N(),P(`ol`,z({key:r,ref_for:!0,ref_key:`listRef`,ref:f,"data-sonner-toaster":``,class:e.class,dir:e.dir===`auto`?n():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${s.value[0]?.height}px`,"--offset":typeof e.offset==`number`?`${e.offset}px`:e.offset||XN,"--width":`${Xpt}px`,"--gap":`${ZN}px`,...e.style,...k(i).style},onBlur:_,onFocus:v,onMouseenter:t[1]||=e=>c.value=!0,onMousemove:t[2]||=e=>c.value=!0,onMouseleave:t[3]||=()=>{l.value||(c.value=!1)},onPointerdown:y,onPointerup:t[4]||=e=>l.value=!1},e.$attrs),[(N(!0),P(B,null,yd(a.value.filter(t=>!t.position&&o===0||t.position===e.position),(n,r)=>(N(),F(Ept,{key:n.id,index:r,toast:n,duration:e.toastOptions?.duration??e.duration,class:E(e.toastOptions?.class),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:l.value,position:e.position,style:Kc(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,toasts:a.value,expandByDefault:e.expand,gap:e.gap,expanded:c.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,"onUpdate:heights":t[0]||=e=>s.value=e,onRemoveToast:g},{"loading-icon":A(()=>[M(e.$slots,`loading-icon`,{},()=>[V(kpt,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":A(()=>[M(e.$slots,`success-icon`,{},()=>[V(Npt)])]),"error-icon":A(()=>[M(e.$slots,`error-icon`,{},()=>[V(Gpt)])]),"warning-icon":A(()=>[M(e.$slots,`warning-icon`,{},()=>[V(Vpt)])]),"info-icon":A(()=>[M(e.$slots,`info-icon`,{},()=>[V(Lpt)])]),_:2},1032,[`index`,`toast`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`toasts`,`expandByDefault`,`gap`,`expanded`,`pauseWhenPageIsHidden`,`cn`,`heights`]))),128))],16,qpt))),128))],8,Kpt))}})}));function emt(e){$N.toast=e}function QN(){return{initializeToasts:emt,toast:(e,t=`info`,n={timeout:3e3})=>{$N.toast(e,t,n)}}}var $N,eP,tP=c((()=>{U(),$pt(),(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/**
|
||
* We need to be explicit to avoid !important. :)
|
||
*
|
||
* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
|
||
*/
|
||
.scalar-toaster [data-sonner-toast][data-styled='true'] {
|
||
background: var(--scalar-background-1);
|
||
color: var(--scalar-color-1);
|
||
padding: 18px;
|
||
border: none;
|
||
border-radius: var(--scalar-radius-lg);
|
||
font-size: var(--scalar-font-size-3);
|
||
font-weight: var(--scalar-font-medium);
|
||
box-shadow: var(--scalar-shadow-2);
|
||
}
|
||
.scalar-toaster [data-sonner-toast] [data-icon] {
|
||
align-self: flex-start;
|
||
position: relative;
|
||
top: 2px;
|
||
}
|
||
.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
|
||
height: auto;
|
||
}
|
||
.scalar-toaster [data-sonner-toast][data-type='error'] {
|
||
background: var(--scalar-background-1);
|
||
}
|
||
.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
|
||
color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
|
||
}
|
||
.scalar-toaster [data-sonner-toast][data-type='warning'] {
|
||
background: var(--scalar-background-1);
|
||
}
|
||
.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
|
||
color: color-mix(
|
||
in srgb,
|
||
var(--scalar-color-orange) 90%,
|
||
var(--scalar-color-1)
|
||
);
|
||
}
|
||
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})(),$N={toast:()=>null},eP=j({__name:`ScalarToasts`,setup(e){let t=O(!1);Af(()=>t.value=!0);let n={success:JN.success,error:JN.error,warn:JN.warning,info:JN},{initializeToasts:r}=QN();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(N(),F(k(Qpt),{key:0,class:`scalar-toaster`})):R(``,!0)}})})),tmt,nmt,rmt,imt=c((()=>{cN(),hbe(),tN(),tpt(),U(),tP(),Rx(),mbe(),aw(),zN(),tmt=5*1e3,nmt=60*1e3,rmt=()=>{let{toast:e}=QN(),t=sN(),n=eN(),{activeCollection:r,activeWorkspace:i}=t,{collectionMutators:a}=n,o=t=>e(`[useOpenApiWatcher] Changes to the ${t} were not applied`,`error`),s=e=>{e.path[0]===`info`||e.path[0]===`security`?Yft(e,t,n)||o(`collection`):e.path[0]===`components`&&e.path[1]===`securitySchemes`?ept(e,t,n)||o(`securitySchemes`):e.path[0]===`servers`?Zft(e,t,n)||o(`servers`):e.path[0]===`tags`?Qft(e,t,n)||o(`tags`):e.path[0]===`paths`&&(Xft(e,t,n)||o(`requests`))},{pause:c,resume:l}=BMe(async()=>{let t=r.value?.documentUrl;if(!t)return;let n=Bx[t];try{let e=await abe(t,i.value?.proxyUrl,void 0,!1),o=n_e(e);if(a.edit(r.value.uid,`watchModeStatus`,`WATCHING`),!n?.hash){let{schema:n}=await zx(e);n&&(Bx[t]={hash:o,schema:n})}else if(n.hash&&n.hash!==o){let{schema:r}=await zx(e),i=BN(RN(n.schema,r));try{i.forEach(s),Bx[t]={hash:o,schema:r}}catch(e){console.error(`[useOpenApiWatcher] Error:`,e)}}else console.log(`[useOpenApiWatcher] No changes detected yet…`)}catch(t){console.error(`[useOpenApiWatcher] Error:`,t),console.info(`[useOpenApiWatcher] Pausing watcher for 60 seconds`),c(),a.edit(r.value.uid,`watchModeStatus`,`ERROR`),e(`[useOpenApiWatcher] Unable to fetch the spec file, paused the watcher for 60 seconds`,`error`),setTimeout(()=>{console.info(`[useOpenApiWatcher] Resuming watcher`),l()},nmt)}},tmt);nd([()=>r.value?.documentUrl,()=>r.value?.watchMode],([e,t])=>{e&&t?(console.info(`[useOpenApiWatcher] Watching ${e} …`),l()):r.value&&(c(),a.edit(r.value.uid,`watchModeStatus`,`IDLE`))},{immediate:!0})}})),nP,amt=c((()=>{nP={xs:`(min-width: 400px)`,sm:`(min-width: 600px)`,md:`(min-width: 800px)`,lg:`(min-width: 1000px)`,xl:`(min-width: 1200px)`,zoomed:`(max-width: 720px) and (max-height: 480px)`}}));function omt(){let e={xs:QC(nP.xs),sm:QC(nP.sm),md:QC(nP.md),lg:QC(nP.lg),xl:QC(nP.xl),zoomed:QC(nP.zoomed)};return{screens:nP,mediaQueries:e,breakpoints:H(()=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,k(t)])))}}var smt=c((()=>{aw(),U(),amt()})),cmt=c((()=>{smt()})),lmt,umt,dmt,fmt,pmt=c((()=>{Pg(),pN(),tN(),U(),cmt(),lmt={key:0,class:`xl:min-h-header flex min-h-12 items-center justify-between px-3 py-1.5 text-sm md:px-[18px] md:py-2.5`},umt={class:`m-0 text-sm font-medium whitespace-nowrap`},dmt={class:`bg-b-1 sticky bottom-0 z-10 w-[inherit] pt-0 has-[.empty-sidebar-item]:border-t md:px-2.5 md:pb-2.5`},fmt=j({__name:`Sidebar`,props:{title:{}},setup(e){let{isSidebarOpen:t}=fN(),{sidebarWidth:n,setSidebarWidth:r}=eN(),{layout:i}=Ng(),a=O(!1),o=O(null),{breakpoints:s}=omt(),c=e=>{e.preventDefault();let t=e.clientX,i=Number.parseInt(getComputedStyle(o.value).width||n.value,10),s=e=>{a.value=!0,document.body.classList.add(`dragging`);let n=i+e.clientX-t;n>420&&(n=420+(n-420)*.2),n<240&&(n=240),r(`${n}px`)},c=()=>{a.value=!1,document.body.classList.remove(`dragging`),document.documentElement.removeEventListener(`mousemove`,s,!1),document.documentElement.removeEventListener(`mouseup`,c,!1),Number.parseInt(n.value,10)>420?r(`360px`):Number.parseInt(n.value,10)<240&&r(`240px`)};document.documentElement.addEventListener(`mousemove`,s,!1),document.documentElement.addEventListener(`mouseup`,c,!1)};return(r,l)=>Xu((N(),P(`aside`,{ref_key:`sidebarRef`,ref:o,class:E([`sidebar bg-b-1 relative flex min-w-full flex-1 flex-col overflow-hidden leading-5 md:min-w-fit md:flex-none md:border-r md:border-b-0`,{dragging:a.value}]),style:Kc({width:k(s).lg?k(n):`100%`})},[M(r.$slots,`header`,{},void 0,!0),k(i)!==`modal`&&e.title?(N(),P(`div`,lmt,[I(`h2`,umt,D(e.title),1),k(s).lg?R(``,!0):M(r.$slots,`button`,{key:0},void 0,!0)])):R(``,!0),I(`div`,{class:E([`custom-scroll sidebar-height w-[inherit] pb-0 md:pb-[37px]`,{"sidebar-mask":k(i)!==`modal`}])},[M(r.$slots,`content`,{},void 0,!0)],2),k(s).lg?(N(),P(B,{key:1},[I(`div`,dmt,[M(r.$slots,`button`,{},void 0,!0)]),I(`div`,{class:`resizer`,onMousedown:c},null,32)],64)):R(``,!0)],6)),[[Rp,k(t)]])}})})),mmt,hmt=c((()=>{Mg(),pmt(),mmt=jg(fmt,[[`__scopeId`,`data-v-7aa06e5a`]])})),rP,iP,gmt,_mt=c((()=>{U(),rP=500,iP=100,gmt=j({__name:`ScalarAsciiArt`,props:{art:{},animate:{type:Boolean}},setup(e){let t=e,n=H(()=>t.art.split(`
|
||
`)),r=(e,t)=>({animationDuration:`${e*iP}ms, ${rP}ms`,animationTimingFunction:`steps(${e}), step-end`,animationDelay:`${t*iP}ms, 0ms`,animationIterationCount:`1, ${((n.value?.length??0)+(n.value?.[n.value?.length-1]?.length??0)+5)*iP/rP}`});return(t,i)=>(N(),P(`div`,{"aria-hidden":`true`,class:E([`ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]`,{"ascii-art-animate":e.animate}]),role:`presentation`,inert:``},[(N(!0),P(B,null,yd(n.value,(e,t)=>(N(),P(`span`,{key:t,class:`inline-block`,style:Kc({width:`calc(${e.length+1}ch)`})},[I(`span`,{class:`inline-block whitespace-pre overflow-hidden`,style:Kc(r(e.length,t))},D(e),5)],4))),128))],2))}})})),aP,oP=c((()=>{Mg(),_mt(),aP=jg(gmt,[[`__scopeId`,`data-v-69ebd973`]])})),vmt,ymt=c((()=>{vmt=` ,\\
|
||
\\\\\\,_
|
||
\\\` ,\\
|
||
__,.-" =__)
|
||
." )
|
||
,_/ , \\/\\_
|
||
\\_| )_-\\ \\_-\`
|
||
\`-----\` \`--\``})),bmt,xmt=c((()=>{bmt=` __
|
||
// \\,_
|
||
\\\` ,\\
|
||
__,.-" =__)
|
||
." )
|
||
,_/ , \\/\\
|
||
\\_| // / / /
|
||
/ / `})),Smt,Cmt,wmt=c((()=>{U(),Y(),Smt={class:`flex justify-between gap-10`},Cmt=j({__name:`SidebarListElementForm`,props:{danger:{type:Boolean},label:{}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),P(`form`,{class:`flex flex-col gap-4 text-base`,onSubmit:r[1]||=$p(e=>n(`submit`),[`prevent`])},[M(t.$slots,`default`),I(`div`,Smt,[V(k(KS),{size:`sm`,type:`button`,variant:`outlined`,onClick:r[0]||=e=>n(`cancel`)},{default:A(()=>[...r[2]||=[L(` Cancel `,-1)]]),_:1}),V(k(KS),{"data-testid":`sidebar-list-element-form-submit-button`,size:`sm`,type:`submit`,variant:e.danger?`danger`:`solid`},{default:A(()=>[L(D(e.label??`Save`),1)]),_:1},8,[`variant`])])],32))}})})),sP,cP=c((()=>{wmt(),sP=Cmt})),Tmt,Emt,Dmt=c((()=>{cP(),U(),Tmt={key:0,class:`text-c-2 text-sm leading-normal text-pretty`},Emt=j({__name:`DeleteSidebarListElement`,props:{variableName:{},warningMessage:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=e,r=t,i=H(()=>n.variableName.length>18?n.variableName.slice(0,18)+`…`:n.variableName);return(t,n)=>(N(),F(sP,{danger:``,label:`Delete ${i.value}`,onCancel:n[0]||=e=>r(`close`),onSubmit:n[1]||=e=>r(`delete`)},{default:A(()=>[e.warningMessage?(N(),P(`p`,Tmt,D(e.warningMessage),1)):R(``,!0)]),_:1},8,[`label`]))}})})),lP,uP=c((()=>{Dmt(),lP=Emt})),Omt,kmt=c((()=>{cP(),U(),Y(),Omt=j({__name:`EditSidebarListElement`,props:{name:{}},emits:[`close`,`edit`],setup(e,{emit:t}){let n=e,r=t,i=O(n.name);return(e,t)=>(N(),F(sP,{onCancel:t[1]||=e=>r(`close`),onSubmit:t[2]||=e=>r(`edit`,i.value)},{default:A(()=>[V(k(UM),{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,autofocus:``},null,8,[`modelValue`])]),_:1}))}})})),dP,fP=c((()=>{kmt(),dP=Omt}));function pP(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Amt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(!jmt(e[n],t[n]))return!1;return!0}function jmt(e,t){return mP(e)?Mmt(e,t):mP(t)?Mmt(t,e):e===t}function Mmt(e,t){return mP(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}var Nmt,Pmt,mP,hP,Fmt,gP,_P,vP,yP,Imt=c((()=>{U(),Nmt=Object.assign,Pmt=()=>{},mP=Array.isArray,hP=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),hP.MATCHER_NOT_FOUND,hP.NAVIGATION_GUARD_REDIRECT,hP.NAVIGATION_ABORTED,hP.NAVIGATION_CANCELLED,hP.NAVIGATION_DUPLICATED,Fmt=Symbol(``),gP=Symbol(``),_P=Symbol(``),vP=Symbol(``),yP=Symbol(``)}));function Lmt(e){let t=$u(_P),n=$u(vP),r=H(()=>{let n=k(e.to);return t.resolve(n)}),i=H(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(pP.bind(null,i));if(o>-1)return o;let s=Vmt(e[t-2]);return t>1&&Vmt(i)===s&&a[a.length-1].path!==s?a.findIndex(pP.bind(null,e[t-2])):o}),a=H(()=>i.value>-1&&Bmt(n.params,r.value.params)),o=H(()=>i.value>-1&&i.value===n.matched.length-1&&Amt(n.params,r.value.params));function s(n={}){if(zmt(n)){let n=t[k(e.replace)?`replace`:`push`](k(e.to)).catch(Pmt);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:H(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Rmt(e){return e.length===1?e[0]:e}function zmt(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Bmt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!mP(i)||i.length!==r.length||r.some((e,t)=>e!==i[t]))return!1}return!0}function Vmt(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}function Hmt(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}function bP(){return $u(_P)}function Umt(e){return $u(vP)}var Wmt,xP,SP,Gmt,CP,wP=c((()=>{Imt(),U(),Wmt=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Wmt.Static,xP=j({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Lmt,setup(e,{slots:t}){let n=$l(Lmt(e)),{options:r}=$u(_P),i=H(()=>({[SP(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[SP(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Rmt(t.default(n));return e.custom?r:Yd(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),SP=(e,t,n)=>e??t??n,Gmt=j({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=$u(yP),i=H(()=>e.route||r.value),a=$u(gP,0),o=H(()=>{let e=k(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=H(()=>i.value.matched[o.value]);Qu(gP,H(()=>o.value+1)),Qu(Fmt,s),Qu(yP,i);let c=O();return nd(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!pP(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Hmt(n.default,{Component:l,route:r});let u=o.props[a],d=u?u===!0?r.params:typeof u==`function`?u(r):u:null,f=Yd(l,Nmt({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Hmt(n.default,{Component:f,route:r})||f}}}),CP=Gmt})),Kmt,qmt,Jmt,Ymt,Xmt,Zmt,Qmt=c((()=>{cN(),tN(),uP(),fP(),U(),Y(),wP(),Kmt={class:`flex w-[inherit] items-center text-base`},qmt={class:`m-0 flex items-center gap-1.5 font-bold`},Jmt={class:`line-clamp-1 text-left`},Ymt={class:`overflow-hidden text-ellipsis`},Xmt={class:`flex h-4 w-4 items-center justify-center`},Zmt=j({__name:`WorkspaceDropdown`,setup(e){let{activeWorkspace:t}=sN(),{workspaces:n,workspaceMutators:r,events:i}=eN(),{push:a}=bP(),o=e=>{e!==t.value?.uid&&a({name:`workspace`,params:{workspace:e}})},s=H(()=>Object.keys(n).length===1),c=()=>i.commandPalette.emit({commandName:`Create Workspace`}),l=O(``),u=O(``),d=EM(),f=EM(),p=e=>{let t=n[e];t&&(l.value=t.name,u.value=e,d.show())},m=e=>{e.trim()&&(r.edit(u.value,`name`,e.trim()),d.hide())},h=e=>{let t=n[e];t&&(l.value=t.name,u.value=e,f.show())},g=async()=>{if(!s.value){let e=t.value?.uid===u.value,i={...n};if(delete i[u.value],r.delete(u.value),e){let e=Object.keys(i)[0];await a({name:`workspace`,params:{workspace:e}})}}f.hide()};return(e,r)=>(N(),P(`div`,null,[I(`div`,Kmt,[V(k(Rj),null,{items:A(()=>[(N(!0),P(B,null,yd(k(n),(e,n)=>(N(),F(k(Hj),{key:n,class:`group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:$p(t=>o(e.uid),[`stop`])},{default:A(()=>[V(k(Dj),{selected:k(t)?.uid===n},null,8,[`selected`]),I(`span`,Ymt,D(e.name),1),V(k(Rj),{placement:`right-start`,teleport:``},{items:A(()=>[V(k(Hj),{class:`flex gap-2`,onMousedown:t=>p(e.uid),onTouchend:$p(t=>p(e.uid),[`prevent`])},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Edit`,size:`md`,thickness:`1.5`}),r[2]||=I(`span`,null,`Rename`,-1)]),_:1},8,[`onMousedown`,`onTouchend`]),s.value?R(``,!0):(N(),F(k(Hj),{key:0,class:`flex gap-2`,onMousedown:$p(t=>h(e.uid),[`prevent`]),onTouchend:$p(t=>h(e.uid),[`prevent`])},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Delete`,size:`md`,thickness:`1.5`}),r[3]||=I(`span`,null,`Delete`,-1)]),_:1},8,[`onMousedown`,`onTouchend`]))]),default:A(()=>[V(k(KS),{class:`hover:bg-b-3 -mr-1 ml-auto aspect-square h-fit px-0.5 py-0 group-hover/item:flex`,size:`sm`,type:`button`,variant:`ghost`},{default:A(()=>[V(k(nM),{icon:`Ellipses`,size:`sm`})]),_:1})]),_:2},1024)]),_:2},1032,[`onClick`]))),128)),V(k(Vj)),V(k(Hj),{class:`flex items-center gap-1.5`,onClick:c},{default:A(()=>[I(`div`,Xmt,[V(k(nM),{icon:`Add`,size:`sm`})]),r[4]||=I(`span`,null,`Create Workspace`,-1)]),_:1})]),default:A(()=>[V(k(KS),{class:`text-c-1 hover:bg-b-2 line-clamp-1 h-full w-fit justify-start px-1.5 py-1.5 font-normal`,variant:`ghost`},{default:A(()=>[I(`div`,qmt,[I(`h2`,Jmt,D(k(t)?.name),1)])]),_:1})]),_:1})]),V(k(DM),{size:`xxs`,state:k(f),title:`Delete workspace`},{default:A(()=>[V(lP,{variableName:l.value,warningMessage:`This cannot be undone. You're about to delete the workspace and everything inside it.`,onClose:r[0]||=e=>k(f).hide(),onDelete:g},null,8,[`variableName`])]),_:1},8,[`state`]),V(k(DM),{size:`xxs`,state:k(d),title:`Rename Workspace`},{default:A(()=>[V(dP,{name:l.value,onClose:r[1]||=e=>k(d).hide(),onEdit:m},null,8,[`name`])]),_:1},8,[`state`])]))}})})),$mt,eht=c((()=>{Qmt(),$mt=Zmt})),tht,nht=c((()=>{Pg(),U(),Y(),tht=j({__name:`SidebarButton`,props:{click:{type:Function},hotkey:{}},setup(e){let t=e,{layout:n}=Ng(),r=()=>{t.click()};return(t,i)=>(N(),F(k(KS),{class:`bg-b-1 text-c-1 hover:bg-b-2 group relative h-auto w-auto border px-2 py-1 md:w-full md:p-1.5`,variant:`outlined`,onClick:r},{default:A(()=>[M(t.$slots,`title`),e.hotkey&&k(n)===`desktop`?(N(),F(k(Yj),{key:0,class:`text-c-2 add-item-hotkey absolute right-2 hidden group-hover:opacity-80 md:flex`,hotkey:e.hotkey},null,8,[`hotkey`])):R(``,!0)]),_:3}))}})})),rht,iht=c((()=>{nht(),rht=tht})),aht,oht,sht,cht=c((()=>{hq(),cN(),Pg(),tN(),U(),Y(),wP(),aht={class:`m-0 flex items-center gap-1.5 font-medium whitespace-nowrap`},oht={class:`flex h-4 w-4 items-center justify-center`},sht=j({__name:`EnvironmentSelector`,setup(e){let{activeCollection:t,activeWorkspace:n,activeEnvironment:r}=sN(),{collectionMutators:i}=eN(),{layout:a}=Ng(),o=bP(),s=e=>{t.value&&n.value&&(i.edit(t.value.uid,`x-scalar-active-environment`,e),n.value.activeEnvironmentId=e)},c=()=>o.push({name:`environment.default`,params:{[mq.Workspace]:n.value?.uid}}),l=H(()=>{let{value:e}=r,{value:n}=t;return e?.name||n?.[`x-scalar-active-environment`]||`No Environment`}),u=H(()=>{let{value:e}=t,n=e?.[`x-scalar-environments`];return n?Object.entries(n).map(([e,t])=>({...t,uid:e,name:e})):[]}),d=()=>{let e=u.value;if(e.length>0){let t=e[e.length-1];t?.uid&&s(t.uid)}};nd(u,(e,t)=>{e.length>t.length&&d()});let f=e=>{let r=e[`x-scalar-active-environment`];r&&t.value&&n.value?(t.value[`x-scalar-active-environment`]=r,n.value.activeEnvironmentId=r):n.value&&(n.value.activeEnvironmentId=``)};return nd(t,e=>e&&f(e)),Af(()=>{t.value&&f(t.value)}),(e,n)=>(N(),F(k(Rj),{teleport:``},{items:A(()=>[(N(!0),P(B,null,yd(u.value,e=>(N(),F(k(Hj),{key:e.uid,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:$p(t=>s(e.uid),[`stop`])},{default:A(()=>[V(k(Dj),{selected:k(t)?.[`x-scalar-active-environment`]===e.uid},null,8,[`selected`]),L(` `+D(e.name),1)]),_:2},1032,[`onClick`]))),128)),V(k(Hj),{class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:n[0]||=$p(e=>s(``),[`stop`])},{default:A(()=>[V(k(Dj),{selected:k(r)?.uid===``&&k(t)?.[`x-scalar-active-environment`]===``||k(r)?.name===`No Environment`},null,8,[`selected`]),n[1]||=L(` No Environment `,-1)]),_:1}),V(k(Vj)),k(a)===`modal`?R(``,!0):(N(),F(k(Hj),{key:0,class:`flex items-center gap-1.5`,onClick:c},{default:A(()=>[I(`div`,oht,[V(k(nM),{icon:`Brackets`,size:`sm`})]),n[2]||=I(`span`,{class:`leading-none`},`Manage Environments`,-1)]),_:1}))]),default:A(()=>[V(k(KS),{class:`text-c-1 hover:bg-b-2 line-clamp-1 h-auto w-fit justify-start px-1.5 py-1.5 font-normal`,variant:`ghost`},{default:A(()=>[I(`h2`,aht,D(l.value),1)]),_:1})]),_:1}))}})})),lht,uht=c((()=>{cht(),lht=sht}));function TP(e){return Array.isArray?Array.isArray(e):_ht(e)===`[object Array]`}function dht(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-Fht?`-0`:t}function fht(e){return e==null?``:dht(e)}function EP(e){return typeof e==`string`}function pht(e){return typeof e==`number`}function mht(e){return e===!0||e===!1||ght(e)&&_ht(e)==`[object Boolean]`}function hht(e){return typeof e==`object`}function ght(e){return hht(e)&&e!==null}function DP(e){return e!=null}function OP(e){return!e.trim().length}function _ht(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}function vht(e){let t=null,n=null,r=null,i=1,a=null;if(EP(e)||TP(e))r=e,t=yht(e),n=kP(e);else{if(!MP.call(e,`name`))throw Error(zht(`name`));let o=e.name;if(r=o,MP.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(Bht(o));t=yht(o),n=kP(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function yht(e){return TP(e)?e:e.split(`.`)}function kP(e){return TP(e)?e.join(`.`):e}function bht(e,t){let n=[],r=!1,i=(e,t,a)=>{if(DP(e))if(!t[a])n.push(e);else{let o=e[t[a]];if(!DP(o))return;if(a===t.length-1&&(EP(o)||pht(o)||mht(o)))n.push(fht(o));else if(TP(o)){r=!0;for(let e=0,n=o.length;e<n;e+=1)i(o[e],t,a+1)}else t.length&&i(o,t,a+1)}};return i(e,EP(t)?t.split(`.`):t,0),r?n:n[0]}function xht(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(Kht).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}function Sht(e,t,{getFn:n=NP.getFn,fieldNormWeight:r=NP.fieldNormWeight}={}){let i=new PP({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(vht)),i.setSources(t),i.create(),i}function Cht(e,{getFn:t=NP.getFn,fieldNormWeight:n=NP.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new PP({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function AP(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=NP.distance,ignoreLocation:a=NP.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function wht(e=[],t=NP.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function Tht(e,t,n,{location:r=NP.location,distance:i=NP.distance,threshold:a=NP.threshold,findAllMatches:o=NP.findAllMatches,minMatchCharLength:s=NP.minMatchCharLength,includeMatches:c=NP.includeMatches,ignoreLocation:l=NP.ignoreLocation}={}){if(t.length>FP)throw Error(Rht(FP));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=AP(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,x=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;)AP(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l})<=p?a=s:b=s,s=Math.floor((b-a)/2+a);b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,ee=Array(_+2);ee[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),ee[a]=(ee[a+1]<<1|1)&s,r&&(ee[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),ee[a]&x&&(y=AP(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}if(AP(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>p)break;v=ee}let ee={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=wht(g,s);e.length?c&&(ee.indices=e):ee.isMatch=!1}return ee}function Eht(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function Dht(e,t){let n=e.match(t);return n?n[1]:null}function Oht(e,t={}){return e.split(egt).map(e=>{let n=e.trim().split($ht).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<HP;){let e=VP[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<HP;){let e=VP[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}function kht(...e){UP.push(...e)}function jP(e,t){for(let n=0,r=UP.length;n<r;n+=1){let r=UP[n];if(r.condition(e,t))return new r(e,t)}return new LP(e,t)}function Aht(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=rgt(e);if(!a&&i.length>1&&!KP(e))return r(qP(e));if(igt(e)){let r=a?e[GP.PATH]:i[0],o=a?e[GP.PATTERN]:e[r];if(!EP(o))throw Error(Lht(r));let s={keyId:kP(r),pattern:o};return n&&(s.searcher=jP(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];TP(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return KP(e)||(e=qP(e)),r(e)}function jht(e,{ignoreFieldNorm:t=NP.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function Mht(e,t){let n=e.matches;t.matches=[],DP(n)&&n.forEach(e=>{if(!DP(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function Nht(e,t){t.score=e.score}function Pht(e,t,{includeMatches:n=NP.includeMatches,includeScore:r=NP.includeScore}={}){let i=[];return n&&i.push(Mht),r&&i.push(Nht),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var Fht,Iht,Lht,Rht,zht,Bht,MP,Vht,Hht,Uht,Wht,Ght,NP,Kht,PP,FP,IP,LP,RP,qht,Jht,Yht,Xht,Zht,Qht,zP,BP,VP,HP,$ht,egt,tgt,ngt,UP,WP,GP,KP,rgt,igt,qP,JP,YP=c((()=>{Fht=1/0,Iht=`Incorrect 'index' type`,Lht=e=>`Invalid value for key ${e}`,Rht=e=>`Pattern length exceeds max of ${e}.`,zht=e=>`Missing ${e} property in key`,Bht=e=>`Property 'weight' in key '${e}' must be a positive integer`,MP=Object.prototype.hasOwnProperty,Vht=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=vht(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}},Hht={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Uht={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},Wht={location:0,threshold:.6,distance:100},Ght={useExtendedSearch:!1,getFn:bht,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},NP={...Uht,...Hht,...Wht,...Ght},Kht=/[^ ]+/g,PP=class{constructor({getFn:e=NP.getFn,fieldNormWeight:t=NP.fieldNormWeight}={}){this.norm=xht(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,EP(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();EP(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!DP(e)||OP(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(DP(i)){if(TP(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(DP(r))if(EP(r)&&!OP(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else TP(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(EP(i)&&!OP(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}},FP=32,IP=String.prototype.normalize?(e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``)):(e=>e),LP=class{constructor(e,{location:t=NP.location,threshold:n=NP.threshold,distance:r=NP.distance,includeMatches:i=NP.includeMatches,findAllMatches:a=NP.findAllMatches,minMatchCharLength:o=NP.minMatchCharLength,isCaseSensitive:s=NP.isCaseSensitive,ignoreDiacritics:c=NP.ignoreDiacritics,ignoreLocation:l=NP.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?IP(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Eht(e),startIndex:t})},d=this.pattern.length;if(d>FP){let e=0,t=d%FP,n=d-t;for(;e<n;)u(this.pattern.substr(e,FP),e),e+=FP;if(t){let e=d-FP;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?IP(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=Tht(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&(u=[...u,...g])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=u),p}},RP=class{constructor(e){this.pattern=e}static isMultiMatch(e){return Dht(e,this.multiRegex)}static isSingleMatch(e){return Dht(e,this.singleRegex)}search(){}},qht=class extends RP{constructor(e){super(e)}static get type(){return`exact`}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Jht=class extends RP{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Yht=class extends RP{constructor(e){super(e)}static get type(){return`prefix-exact`}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Xht=class extends RP{constructor(e){super(e)}static get type(){return`inverse-prefix-exact`}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Zht=class extends RP{constructor(e){super(e)}static get type(){return`suffix-exact`}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},Qht=class extends RP{constructor(e){super(e)}static get type(){return`inverse-suffix-exact`}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},zP=class extends RP{constructor(e,{location:t=NP.location,threshold:n=NP.threshold,distance:r=NP.distance,includeMatches:i=NP.includeMatches,findAllMatches:a=NP.findAllMatches,minMatchCharLength:o=NP.minMatchCharLength,isCaseSensitive:s=NP.isCaseSensitive,ignoreDiacritics:c=NP.ignoreDiacritics,ignoreLocation:l=NP.ignoreLocation}={}){super(e),this._bitapSearch=new LP(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},BP=class extends RP{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}},VP=[qht,BP,Yht,Xht,Qht,Zht,Jht,zP],HP=VP.length,$ht=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,egt=`|`,tgt=new Set([zP.type,BP.type]),ngt=class{constructor(e,{isCaseSensitive:t=NP.isCaseSensitive,ignoreDiacritics:n=NP.ignoreDiacritics,includeMatches:r=NP.includeMatches,minMatchCharLength:i=NP.minMatchCharLength,ignoreLocation:a=NP.ignoreLocation,findAllMatches:o=NP.findAllMatches,location:s=NP.location,threshold:c=NP.threshold,distance:l=NP.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?IP(e):e,this.pattern=e,this.query=Oht(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:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?IP(e):e;let a=0,o=[],s=0;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(a+=1,s+=u,n){let e=r.constructor.type;tgt.has(e)?o=[...o,...l]:o.push(l)}}else{s=0,a=0,o.length=0;break}}if(a){let e={isMatch:!0,score:s/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}},UP=[],WP={AND:`$and`,OR:`$or`},GP={PATH:`$path`,PATTERN:`$val`},KP=e=>!!(e[WP.AND]||e[WP.OR]),rgt=e=>!!e[GP.PATH],igt=e=>!TP(e)&&hht(e)&&!KP(e),qP=e=>({[WP.AND]:Object.keys(e).map(t=>({[t]:e[t]}))}),JP=class{constructor(e,t={},n){this.options={...NP,...t},this.options.useExtendedSearch,this._keyStore=new Vht(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof PP))throw Error(Iht);this._myIndex=t||Sht(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){DP(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=EP(e)?EP(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return jht(s,{ignoreFieldNorm:o}),i&&s.sort(a),pht(t)&&t>-1&&(s=s.slice(0,t)),Pht(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=jP(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!DP(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=Aht(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===WP.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(DP(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=jP(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!DP(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!DP(t))return[];let r=[];if(TP(t))t.forEach(({v:t,i,n:a})=>{if(!DP(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}},JP.version=`7.1.0`,JP.createIndex=Sht,JP.parseIndex=Cht,JP.config=NP,JP.parseQuery=Aht,kht(ngt)}));function agt(){let e=bP(),{activeWorkspace:t,activeWorkspaceRequests:n,activeWorkspaceCollections:r}=sN(),{requests:i,tags:a}=eN(),o=O([]),s=O([]),c=O(0),l=O(``),u=O(null),d=O([]),f=new JP(o.value,{keys:[`title`,`description`,`body`]}),p=()=>{l.value=``,c.value=0,s.value=[],u.value instanceof HTMLInputElement&&u.value.blur()},m=n=>{o.value=n.filter(e=>!Lx(e)).filter(e=>!(r.value?.find(t=>t.requests.includes(e.uid)))?.tags.map(e=>a[e]).filter(d_).filter(t=>e.tags?.includes(t.name)).filter(e=>Lx(e)).length).map(n=>({id:n.uid,title:n.summary??n.method,description:n.description??``,httpVerb:n.method,path:n.path,link:e?.resolve({name:`request`,params:{[mq.Request]:n.uid,[mq.Workspace]:t.value?.uid}})?.href})),f.setCollection(o.value)},h=()=>{c.value=0,s.value=f.search(l.value)};nd(l,e=>{e.length?h():s.value=[]});let g=e=>{let t=e===`up`?-1:1,n=b.value.length;c.value=(c.value+t+n)%n,Ku(()=>{let e=d.value[c.value];e instanceof HTMLElement&&e.scrollIntoView({behavior:`smooth`,block:`center`})})},_=()=>{if(c.value>=0){let e=b.value[c.value];e&&y(e)}},v=H(()=>n.value.map(e=>i[e]).filter(d_));nd(n,()=>{m(v.value)},{immediate:!0});let y=t=>{e.push(t.item.id),p()},b=H(()=>l.value.length===0?o.value.map(e=>({item:e})):s.value);return{searchText:l,searchResultsWithPlaceholderResults:b,selectedSearchResult:c,onSearchResultClick:y,fuseSearch:h,searchInputRef:u,searchResultRefs:d,navigateSearchResults:g,selectSearchResult:_,populateFuseDataArray:m}}var ogt=c((()=>{hq(),cN(),tN(),U(),wP(),Rx(),YP()}));function sgt(e,{collections:t,collectionMutators:n,tags:r,tagMutators:i,workspaceMutators:a}){let{layout:o}=Ng(),s=(e,t)=>{e.type===`collection`?n.edit(e.uid,`children`,t):e.type===`tag`&&i.edit(e.uid,`children`,t)};return{handleDragEnd:(o,c)=>{if(!o||!c)return;let{id:l,parentId:u}=o,{id:d,parentId:f,offset:p}=c;if(u?t[u]?n.edit(u,`children`,t[u].children.filter(e=>e!==l)):r[u]&&i.edit(u,`children`,r[u].children.filter(e=>e!==l)):a.edit(e.value?.uid,`collections`,e.value?.collections.filter(e=>e!==l)??[]),p===2){let e=t[d]||r[d];e&&s(e,[...e.children??[],l])}else if(f){let e=t[f]||r[f];if(!e)return;let n=[...e.children??[]],i=n.findIndex(e=>d===e)??0;n.splice(i+p,0,l),s(e,n)}else{let t=[...e.value?.collections??[]],n=t.findIndex(e=>d===e)??0;t.splice(n+p,0,l),a.edit(e.value?.uid,`collections`,t)}},isDroppable:(e,n)=>!(o===`modal`||!t[e.id]&&n.offset!==2||t[e.id]&&t[n.id]?.info?.title===`Drafts`)}}var cgt=c((()=>{Pg()})),lgt=u({default:()=>fgt,render:()=>ugt});function ugt(e,t){return N(),P(`svg`,dgt,[...t[0]||=[I(`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 dgt,fgt,pgt=c((()=>{U(),dgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},fgt={render:ugt}})),mgt=u({default:()=>_gt,render:()=>hgt});function hgt(e,t){return N(),P(`svg`,ggt,[...t[0]||=[I(`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 ggt,_gt,vgt=c((()=>{U(),ggt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},_gt={render:hgt}})),ygt=u({default:()=>Sgt,render:()=>bgt});function bgt(e,t){return N(),P(`svg`,xgt,[...t[0]||=[I(`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 xgt,Sgt,Cgt=c((()=>{U(),xgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Sgt={render:bgt}})),wgt=u({default:()=>Dgt,render:()=>Tgt});function Tgt(e,t){return N(),P(`svg`,Egt,[...t[0]||=[I(`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 Egt,Dgt,Ogt=c((()=>{U(),Egt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Dgt={render:Tgt}})),kgt=u({default:()=>Mgt,render:()=>Agt});function Agt(e,t){return N(),P(`svg`,jgt,[...t[0]||=[I(`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 jgt,Mgt,Ngt=c((()=>{U(),jgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Mgt={render:Agt}})),Pgt=u({default:()=>Lgt,render:()=>Fgt});function Fgt(e,t){return N(),P(`svg`,Igt,[...t[0]||=[I(`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 Igt,Lgt,Rgt=c((()=>{U(),Igt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Lgt={render:Fgt}})),zgt=u({default:()=>Hgt,render:()=>Bgt});function Bgt(e,t){return N(),P(`svg`,Vgt,[...t[0]||=[I(`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 Vgt,Hgt,Ugt=c((()=>{U(),Vgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Hgt={render:Bgt}})),Wgt=u({default:()=>qgt,render:()=>Ggt});function Ggt(e,t){return N(),P(`svg`,Kgt,[...t[0]||=[I(`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 Kgt,qgt,Jgt=c((()=>{U(),Kgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},qgt={render:Ggt}})),Ygt=u({default:()=>Qgt,render:()=>Xgt});function Xgt(e,t){return N(),P(`svg`,Zgt,[...t[0]||=[I(`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 Zgt,Qgt,$gt=c((()=>{U(),Zgt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Qgt={render:Xgt}})),e_t=u({default:()=>r_t,render:()=>t_t});function t_t(e,t){return N(),P(`svg`,n_t,[...t[0]||=[I(`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 n_t,r_t,i_t=c((()=>{U(),n_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},r_t={render:t_t}})),a_t=u({default:()=>c_t,render:()=>o_t});function o_t(e,t){return N(),P(`svg`,s_t,[...t[0]||=[I(`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 s_t,c_t,l_t=c((()=>{U(),s_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},c_t={render:o_t}})),u_t=u({default:()=>p_t,render:()=>d_t});function d_t(e,t){return N(),P(`svg`,f_t,[...t[0]||=[I(`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 f_t,p_t,m_t=c((()=>{U(),f_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},p_t={render:d_t}})),h_t=u({default:()=>v_t,render:()=>g_t});function g_t(e,t){return N(),P(`svg`,__t,[...t[0]||=[I(`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 __t,v_t,y_t=c((()=>{U(),__t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},v_t={render:g_t}})),b_t=u({default:()=>C_t,render:()=>x_t});function x_t(e,t){return N(),P(`svg`,S_t,[...t[0]||=[I(`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 S_t,C_t,w_t=c((()=>{U(),S_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},C_t={render:x_t}})),T_t=u({default:()=>O_t,render:()=>E_t});function E_t(e,t){return N(),P(`svg`,D_t,[...t[0]||=[I(`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 D_t,O_t,k_t=c((()=>{U(),D_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},O_t={render:E_t}})),A_t=u({default:()=>N_t,render:()=>j_t});function j_t(e,t){return N(),P(`svg`,M_t,[...t[0]||=[I(`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 M_t,N_t,P_t=c((()=>{U(),M_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},N_t={render:j_t}})),F_t=u({default:()=>R_t,render:()=>I_t});function I_t(e,t){return N(),P(`svg`,L_t,[...t[0]||=[I(`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 L_t,R_t,z_t=c((()=>{U(),L_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},R_t={render:I_t}})),B_t=u({default:()=>U_t,render:()=>V_t});function V_t(e,t){return N(),P(`svg`,H_t,[...t[0]||=[I(`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 H_t,U_t,W_t=c((()=>{U(),H_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},U_t={render:V_t}})),G_t=u({default:()=>J_t,render:()=>K_t});function K_t(e,t){return N(),P(`svg`,q_t,[...t[0]||=[I(`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 q_t,J_t,Y_t=c((()=>{U(),q_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},J_t={render:K_t}})),X_t=u({default:()=>$_t,render:()=>Z_t});function Z_t(e,t){return N(),P(`svg`,Q_t,[...t[0]||=[I(`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 Q_t,$_t,evt=c((()=>{U(),Q_t={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},$_t={render:Z_t}})),tvt=u({default:()=>ivt,render:()=>nvt});function nvt(e,t){return N(),P(`svg`,rvt,[...t[0]||=[I(`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 rvt,ivt,avt=c((()=>{U(),rvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ivt={render:nvt}})),ovt=u({default:()=>lvt,render:()=>svt});function svt(e,t){return N(),P(`svg`,cvt,[...t[0]||=[I(`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 cvt,lvt,uvt=c((()=>{U(),cvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},lvt={render:svt}})),dvt=u({default:()=>mvt,render:()=>fvt});function fvt(e,t){return N(),P(`svg`,pvt,[...t[0]||=[I(`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 pvt,mvt,hvt=c((()=>{U(),pvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},mvt={render:fvt}})),gvt=u({default:()=>yvt,render:()=>_vt});function _vt(e,t){return N(),P(`svg`,vvt,[...t[0]||=[I(`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 vvt,yvt,bvt=c((()=>{U(),vvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},yvt={render:_vt}})),xvt=u({default:()=>wvt,render:()=>Svt});function Svt(e,t){return N(),P(`svg`,Cvt,[...t[0]||=[I(`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 Cvt,wvt,Tvt=c((()=>{U(),Cvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},wvt={render:Svt}})),Evt=u({default:()=>kvt,render:()=>Dvt});function Dvt(e,t){return N(),P(`svg`,Ovt,[...t[0]||=[I(`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 Ovt,kvt,Avt=c((()=>{U(),Ovt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},kvt={render:Dvt}})),jvt=u({default:()=>Pvt,render:()=>Mvt});function Mvt(e,t){return N(),P(`svg`,Nvt,[...t[0]||=[I(`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 Nvt,Pvt,Fvt=c((()=>{U(),Nvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Pvt={render:Mvt}})),Ivt=u({default:()=>zvt,render:()=>Lvt});function Lvt(e,t){return N(),P(`svg`,Rvt,[...t[0]||=[I(`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 Rvt,zvt,Bvt=c((()=>{U(),Rvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},zvt={render:Lvt}})),Vvt=u({default:()=>Wvt,render:()=>Hvt});function Hvt(e,t){return N(),P(`svg`,Uvt,[...t[0]||=[I(`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 Uvt,Wvt,Gvt=c((()=>{U(),Uvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Wvt={render:Hvt}})),Kvt=u({default:()=>Yvt,render:()=>qvt});function qvt(e,t){return N(),P(`svg`,Jvt,[...t[0]||=[I(`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 Jvt,Yvt,Xvt=c((()=>{U(),Jvt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Yvt={render:qvt}})),Zvt=u({default:()=>eyt,render:()=>Qvt});function Qvt(e,t){return N(),P(`svg`,$vt,[...t[0]||=[I(`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 $vt,eyt,tyt=c((()=>{U(),$vt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},eyt={render:Qvt}})),nyt=u({default:()=>ayt,render:()=>ryt});function ryt(e,t){return N(),P(`svg`,iyt,[...t[0]||=[I(`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 iyt,ayt,oyt=c((()=>{U(),iyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},ayt={render:ryt}})),syt=u({default:()=>uyt,render:()=>cyt});function cyt(e,t){return N(),P(`svg`,lyt,[...t[0]||=[I(`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 lyt,uyt,dyt=c((()=>{U(),lyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},uyt={render:cyt}})),fyt=u({default:()=>hyt,render:()=>pyt});function pyt(e,t){return N(),P(`svg`,myt,[...t[0]||=[I(`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 myt,hyt,gyt=c((()=>{U(),myt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},hyt={render:pyt}})),_yt=u({default:()=>byt,render:()=>vyt});function vyt(e,t){return N(),P(`svg`,yyt,[...t[0]||=[I(`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 yyt,byt,xyt=c((()=>{U(),yyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},byt={render:vyt}})),Syt=u({default:()=>Tyt,render:()=>Cyt});function Cyt(e,t){return N(),P(`svg`,wyt,[...t[0]||=[I(`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 wyt,Tyt,Eyt=c((()=>{U(),wyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Tyt={render:Cyt}})),Dyt=u({default:()=>Ayt,render:()=>Oyt});function Oyt(e,t){return N(),P(`svg`,kyt,[...t[0]||=[I(`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 kyt,Ayt,jyt=c((()=>{U(),kyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ayt={render:Oyt}})),Myt=u({default:()=>Fyt,render:()=>Nyt});function Nyt(e,t){return N(),P(`svg`,Pyt,[...t[0]||=[I(`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 Pyt,Fyt,Iyt=c((()=>{U(),Pyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Fyt={render:Nyt}})),Lyt=u({default:()=>Byt,render:()=>Ryt});function Ryt(e,t){return N(),P(`svg`,zyt,[...t[0]||=[I(`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 zyt,Byt,Vyt=c((()=>{U(),zyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Byt={render:Ryt}})),Hyt=u({default:()=>Gyt,render:()=>Uyt});function Uyt(e,t){return N(),P(`svg`,Wyt,[...t[0]||=[I(`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 Wyt,Gyt,Kyt=c((()=>{U(),Wyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Gyt={render:Uyt}})),qyt=u({default:()=>Xyt,render:()=>Jyt});function Jyt(e,t){return N(),P(`svg`,Yyt,[...t[0]||=[I(`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 Yyt,Xyt,Zyt=c((()=>{U(),Yyt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Xyt={render:Jyt}})),Qyt=u({default:()=>tbt,render:()=>$yt});function $yt(e,t){return N(),P(`svg`,ebt,[...t[0]||=[I(`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 ebt,tbt,nbt=c((()=>{U(),ebt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},tbt={render:$yt}})),rbt=u({default:()=>obt,render:()=>ibt});function ibt(e,t){return N(),P(`svg`,abt,[...t[0]||=[I(`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 abt,obt,sbt=c((()=>{U(),abt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},obt={render:ibt}})),cbt=u({default:()=>dbt,render:()=>lbt});function lbt(e,t){return N(),P(`svg`,ubt,[...t[0]||=[I(`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 ubt,dbt,fbt=c((()=>{U(),ubt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},dbt={render:lbt}})),pbt=u({default:()=>gbt,render:()=>mbt});function mbt(e,t){return N(),P(`svg`,hbt,[...t[0]||=[I(`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 hbt,gbt,_bt=c((()=>{U(),hbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},gbt={render:mbt}})),vbt=u({default:()=>xbt,render:()=>ybt});function ybt(e,t){return N(),P(`svg`,bbt,[...t[0]||=[I(`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 bbt,xbt,Sbt=c((()=>{U(),bbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},xbt={render:ybt}})),Cbt=u({default:()=>Ebt,render:()=>wbt});function wbt(e,t){return N(),P(`svg`,Tbt,[...t[0]||=[I(`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 Tbt,Ebt,Dbt=c((()=>{U(),Tbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ebt={render:wbt}})),Obt=u({default:()=>jbt,render:()=>kbt});function kbt(e,t){return N(),P(`svg`,Abt,[...t[0]||=[I(`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 Abt,jbt,Mbt=c((()=>{U(),Abt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},jbt={render:kbt}})),Nbt=u({default:()=>Ibt,render:()=>Pbt});function Pbt(e,t){return N(),P(`svg`,Fbt,[...t[0]||=[I(`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 Fbt,Ibt,Lbt=c((()=>{U(),Fbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Ibt={render:Pbt}})),Rbt=u({default:()=>Vbt,render:()=>zbt});function zbt(e,t){return N(),P(`svg`,Bbt,[...t[0]||=[I(`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 Bbt,Vbt,Hbt=c((()=>{U(),Bbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Vbt={render:zbt}})),Ubt=u({default:()=>Kbt,render:()=>Wbt});function Wbt(e,t){return N(),P(`svg`,Gbt,[...t[0]||=[I(`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 Gbt,Kbt,qbt=c((()=>{U(),Gbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Kbt={render:Wbt}})),Jbt=u({default:()=>Zbt,render:()=>Ybt});function Ybt(e,t){return N(),P(`svg`,Xbt,[...t[0]||=[I(`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 Xbt,Zbt,Qbt=c((()=>{U(),Xbt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Zbt={render:Ybt}})),$bt=u({default:()=>nxt,render:()=>ext});function ext(e,t){return N(),P(`svg`,txt,[...t[0]||=[I(`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 txt,nxt,rxt=c((()=>{U(),txt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},nxt={render:ext}})),ixt=u({default:()=>sxt,render:()=>axt});function axt(e,t){return N(),P(`svg`,oxt,[...t[0]||=[I(`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 oxt,sxt,cxt=c((()=>{U(),oxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},sxt={render:axt}})),lxt=u({default:()=>fxt,render:()=>uxt});function uxt(e,t){return N(),P(`svg`,dxt,[...t[0]||=[I(`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 dxt,fxt,pxt=c((()=>{U(),dxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},fxt={render:uxt}})),mxt=u({default:()=>_xt,render:()=>hxt});function hxt(e,t){return N(),P(`svg`,gxt,[...t[0]||=[I(`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 gxt,_xt,vxt=c((()=>{U(),gxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},_xt={render:hxt}})),yxt=u({default:()=>Sxt,render:()=>bxt});function bxt(e,t){return N(),P(`svg`,xxt,[...t[0]||=[I(`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 xxt,Sxt,Cxt=c((()=>{U(),xxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Sxt={render:bxt}})),wxt=u({default:()=>Dxt,render:()=>Txt});function Txt(e,t){return N(),P(`svg`,Ext,[...t[0]||=[I(`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 Ext,Dxt,Oxt=c((()=>{U(),Ext={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Dxt={render:Txt}})),kxt=u({default:()=>Mxt,render:()=>Axt});function Axt(e,t){return N(),P(`svg`,jxt,[...t[0]||=[I(`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 jxt,Mxt,Nxt=c((()=>{U(),jxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Mxt={render:Axt}})),Pxt=u({default:()=>Lxt,render:()=>Fxt});function Fxt(e,t){return N(),P(`svg`,Ixt,[...t[0]||=[I(`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 Ixt,Lxt,Rxt=c((()=>{U(),Ixt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Lxt={render:Fxt}})),zxt=u({default:()=>Hxt,render:()=>Bxt});function Bxt(e,t){return N(),P(`svg`,Vxt,[...t[0]||=[I(`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 Vxt,Hxt,Uxt=c((()=>{U(),Vxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Hxt={render:Bxt}})),Wxt=u({default:()=>qxt,render:()=>Gxt});function Gxt(e,t){return N(),P(`svg`,Kxt,[...t[0]||=[I(`path`,{d:`M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4`},null,-1)]])}var Kxt,qxt,Jxt=c((()=>{U(),Kxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},qxt={render:Gxt}})),Yxt=u({default:()=>Qxt,render:()=>Xxt});function Xxt(e,t){return N(),P(`svg`,Zxt,[...t[0]||=[I(`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 Zxt,Qxt,$xt=c((()=>{U(),Zxt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},Qxt={render:Xxt}})),eSt=u({default:()=>rSt,render:()=>tSt});function tSt(e,t){return N(),P(`svg`,nSt,[...t[0]||=[I(`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 nSt,rSt,iSt=c((()=>{U(),nSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},rSt={render:tSt}})),aSt=u({default:()=>cSt,render:()=>oSt});function oSt(e,t){return N(),P(`svg`,sSt,[...t[0]||=[I(`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 sSt,cSt,lSt=c((()=>{U(),sSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},cSt={render:oSt}})),uSt=u({default:()=>pSt,render:()=>dSt});function dSt(e,t){return N(),P(`svg`,fSt,[...t[0]||=[I(`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 fSt,pSt,mSt=c((()=>{U(),fSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},pSt={render:dSt}})),hSt=u({default:()=>vSt,render:()=>gSt});function gSt(e,t){return N(),P(`svg`,_St,[...t[0]||=[I(`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 _St,vSt,ySt=c((()=>{U(),_St={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`},vSt={render:gSt}})),bSt=u({default:()=>CSt,render:()=>xSt});function xSt(e,t){return N(),P(`svg`,SSt,[...t[0]||=[I(`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 SSt,CSt,wSt=c((()=>{U(),SSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},CSt={render:xSt}})),TSt=u({default:()=>OSt,render:()=>ESt});function ESt(e,t){return N(),P(`svg`,DSt,[...t[0]||=[I(`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 DSt,OSt,kSt=c((()=>{U(),DSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},OSt={render:ESt}})),ASt=u({default:()=>NSt,render:()=>jSt});function jSt(e,t){return N(),P(`svg`,MSt,[...t[0]||=[I(`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 MSt,NSt,PSt=c((()=>{U(),MSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},NSt={render:jSt}})),FSt=u({default:()=>RSt,render:()=>ISt});function ISt(e,t){return N(),P(`svg`,LSt,[...t[0]||=[I(`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 LSt,RSt,zSt=c((()=>{U(),LSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},RSt={render:ISt}})),BSt=u({default:()=>USt,render:()=>VSt});function VSt(e,t){return N(),P(`svg`,HSt,[...t[0]||=[I(`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 HSt,USt,WSt=c((()=>{U(),HSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},USt={render:VSt}})),GSt=u({default:()=>JSt,render:()=>KSt});function KSt(e,t){return N(),P(`svg`,qSt,[...t[0]||=[I(`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 qSt,JSt,YSt=c((()=>{U(),qSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},JSt={render:KSt}})),XSt=u({default:()=>$St,render:()=>ZSt});function ZSt(e,t){return N(),P(`svg`,QSt,[...t[0]||=[I(`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 QSt,$St,eCt=c((()=>{U(),QSt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},$St={render:ZSt}})),tCt=u({default:()=>iCt,render:()=>nCt});function nCt(e,t){return N(),P(`svg`,rCt,[...t[0]||=[I(`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 rCt,iCt,aCt=c((()=>{U(),rCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},iCt={render:nCt}})),oCt=u({default:()=>lCt,render:()=>sCt});function sCt(e,t){return N(),P(`svg`,cCt,[...t[0]||=[I(`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 cCt,lCt,uCt=c((()=>{U(),cCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},lCt={render:sCt}})),dCt=u({default:()=>mCt,render:()=>fCt});function fCt(e,t){return N(),P(`svg`,pCt,[...t[0]||=[I(`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 pCt,mCt,hCt=c((()=>{U(),pCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},mCt={render:fCt}})),gCt=u({default:()=>yCt,render:()=>_Ct});function _Ct(e,t){return N(),P(`svg`,vCt,[...t[0]||=[I(`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 vCt,yCt,bCt=c((()=>{U(),vCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},yCt={render:_Ct}})),xCt=u({default:()=>wCt,render:()=>SCt});function SCt(e,t){return N(),P(`svg`,CCt,[...t[0]||=[I(`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 CCt,wCt,TCt=c((()=>{U(),CCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},wCt={render:SCt}})),ECt=u({default:()=>kCt,render:()=>DCt});function DCt(e,t){return N(),P(`svg`,OCt,[...t[0]||=[I(`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 OCt,kCt,ACt=c((()=>{U(),OCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},kCt={render:DCt}})),jCt=u({default:()=>PCt,render:()=>MCt});function MCt(e,t){return N(),P(`svg`,NCt,[...t[0]||=[I(`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 NCt,PCt,FCt=c((()=>{U(),NCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},PCt={render:MCt}})),ICt=u({default:()=>zCt,render:()=>LCt});function LCt(e,t){return N(),P(`svg`,RCt,[...t[0]||=[I(`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 RCt,zCt,BCt=c((()=>{U(),RCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},zCt={render:LCt}})),VCt=u({default:()=>WCt,render:()=>HCt});function HCt(e,t){return N(),P(`svg`,UCt,[...t[0]||=[I(`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 UCt,WCt,GCt=c((()=>{U(),UCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},WCt={render:HCt}})),KCt=u({default:()=>YCt,render:()=>qCt});function qCt(e,t){return N(),P(`svg`,JCt,[...t[0]||=[I(`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 JCt,YCt,XCt=c((()=>{U(),JCt={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`},YCt={render:qCt}}));async function ZCt(e){let t=ZP.get(e);if(t)return t;let n=XP[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=Fce(r.default??r);return ZP.set(e,i),i}var XP,QCt,ZP,$Ct=c((()=>{U(),XP=Object.assign({"./icons/basic-shape-diamond.svg":()=>Promise.resolve().then(()=>(pgt(),lgt)),"./icons/basic-shape-hexagon.svg":()=>Promise.resolve().then(()=>(vgt(),mgt)),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Promise.resolve().then(()=>(Cgt(),ygt)),"./icons/basic-shape-primary-square-rectangle.svg":()=>Promise.resolve().then(()=>(Ogt(),wgt)),"./icons/basic-shape-shield.svg":()=>Promise.resolve().then(()=>(Ngt(),kgt)),"./icons/computer-device-desktop-monitor.svg":()=>Promise.resolve().then(()=>(Rgt(),Pgt)),"./icons/computer-device-desktop.svg":()=>Promise.resolve().then(()=>(Ugt(),zgt)),"./icons/computer-device-laptop.svg":()=>Promise.resolve().then(()=>(Jgt(),Wgt)),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Promise.resolve().then(()=>($gt(),Ygt)),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Promise.resolve().then(()=>(i_t(),e_t)),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Promise.resolve().then(()=>(l_t(),a_t)),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Promise.resolve().then(()=>(m_t(),u_t)),"./icons/computer-device-mobile-tablet-touch.svg":()=>Promise.resolve().then(()=>(y_t(),h_t)),"./icons/computer-device-mobile-tablet.svg":()=>Promise.resolve().then(()=>(w_t(),b_t)),"./icons/computer-device-network-ethernet-cat6.svg":()=>Promise.resolve().then(()=>(k_t(),T_t)),"./icons/computer-device-network-lan-www.svg":()=>Promise.resolve().then(()=>(P_t(),A_t)),"./icons/computer-device-network-wifi-connection.svg":()=>Promise.resolve().then(()=>(z_t(),F_t)),"./icons/computer-device-network-wifi-router.svg":()=>Promise.resolve().then(()=>(W_t(),B_t)),"./icons/ecology-science-erlenmeyer-flask.svg":()=>Promise.resolve().then(()=>(Y_t(),G_t)),"./icons/image-flash-lightning.svg":()=>Promise.resolve().then(()=>(evt(),X_t)),"./icons/image-picture-flower.svg":()=>Promise.resolve().then(()=>(avt(),tvt)),"./icons/interface-alert-exclamation-diamond.svg":()=>Promise.resolve().then(()=>(uvt(),ovt)),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Promise.resolve().then(()=>(hvt(),dvt)),"./icons/interface-alert-information-circle.svg":()=>Promise.resolve().then(()=>(bvt(),gvt)),"./icons/interface-award-crown.svg":()=>Promise.resolve().then(()=>(Tvt(),xvt)),"./icons/interface-bookmark-tag.svg":()=>Promise.resolve().then(()=>(Avt(),Evt)),"./icons/interface-bookmark.svg":()=>Promise.resolve().then(()=>(Fvt(),jvt)),"./icons/interface-calendar-date-one.svg":()=>Promise.resolve().then(()=>(Bvt(),Ivt)),"./icons/interface-content-book-open-pages.svg":()=>Promise.resolve().then(()=>(Gvt(),Vvt)),"./icons/interface-content-book-page.svg":()=>Promise.resolve().then(()=>(Xvt(),Kvt)),"./icons/interface-content-file.svg":()=>Promise.resolve().then(()=>(tyt(),Zvt)),"./icons/interface-content-folder.svg":()=>Promise.resolve().then(()=>(oyt(),nyt)),"./icons/interface-copy-clipboard.svg":()=>Promise.resolve().then(()=>(dyt(),syt)),"./icons/interface-edit-attachment.svg":()=>Promise.resolve().then(()=>(gyt(),fyt)),"./icons/interface-edit-binocular.svg":()=>Promise.resolve().then(()=>(xyt(),_yt)),"./icons/interface-edit-magic-wand.svg":()=>Promise.resolve().then(()=>(Eyt(),Syt)),"./icons/interface-edit-tool-paint-roller.svg":()=>Promise.resolve().then(()=>(jyt(),Dyt)),"./icons/interface-edit-tool-pencil.svg":()=>Promise.resolve().then(()=>(Iyt(),Myt)),"./icons/interface-favorite-award.svg":()=>Promise.resolve().then(()=>(Vyt(),Lyt)),"./icons/interface-favorite-flag.svg":()=>Promise.resolve().then(()=>(Kyt(),Hyt)),"./icons/interface-favorite-heart.svg":()=>Promise.resolve().then(()=>(Zyt(),qyt)),"./icons/interface-favorite-star.svg":()=>Promise.resolve().then(()=>(nbt(),Qyt)),"./icons/interface-favorite-stars-sparkles.svg":()=>Promise.resolve().then(()=>(sbt(),rbt)),"./icons/interface-hierarchy-flowchart.svg":()=>Promise.resolve().then(()=>(fbt(),cbt)),"./icons/interface-home-house.svg":()=>Promise.resolve().then(()=>(_bt(),pbt)),"./icons/interface-hyperlink.svg":()=>Promise.resolve().then(()=>(Sbt(),vbt)),"./icons/interface-lighting-brightness.svg":()=>Promise.resolve().then(()=>(Dbt(),Cbt)),"./icons/interface-lock-closed.svg":()=>Promise.resolve().then(()=>(Mbt(),Obt)),"./icons/interface-lock-open-unlock.svg":()=>Promise.resolve().then(()=>(Lbt(),Nbt)),"./icons/interface-login-key.svg":()=>Promise.resolve().then(()=>(Hbt(),Rbt)),"./icons/interface-search.svg":()=>Promise.resolve().then(()=>(qbt(),Ubt)),"./icons/interface-setting-cog.svg":()=>Promise.resolve().then(()=>(Qbt(),Jbt)),"./icons/interface-share-megaphone-bullhorn.svg":()=>Promise.resolve().then(()=>(rxt(),$bt)),"./icons/interface-share-rocket.svg":()=>Promise.resolve().then(()=>(cxt(),ixt)),"./icons/interface-share-satellite.svg":()=>Promise.resolve().then(()=>(pxt(),lxt)),"./icons/interface-share-space-ship.svg":()=>Promise.resolve().then(()=>(vxt(),mxt)),"./icons/interface-share.svg":()=>Promise.resolve().then(()=>(Cxt(),yxt)),"./icons/interface-signal-square.svg":()=>Promise.resolve().then(()=>(Oxt(),wxt)),"./icons/interface-time-clock-circle.svg":()=>Promise.resolve().then(()=>(Nxt(),kxt)),"./icons/interface-time-hour-glass.svg":()=>Promise.resolve().then(()=>(Rxt(),Pxt)),"./icons/interface-users-multiple.svg":()=>Promise.resolve().then(()=>(Uxt(),zxt)),"./icons/interface-weather-moon.svg":()=>Promise.resolve().then(()=>(Jxt(),Wxt)),"./icons/mail-chat-bubble-square.svg":()=>Promise.resolve().then(()=>($xt(),Yxt)),"./icons/mail-send-email-paper-airplane.svg":()=>Promise.resolve().then(()=>(iSt(),eSt)),"./icons/mail-send-envelope.svg":()=>Promise.resolve().then(()=>(lSt(),aSt)),"./icons/money-cashier-receipt.svg":()=>Promise.resolve().then(()=>(mSt(),uSt)),"./icons/money-currency-dollar-pay.svg":()=>Promise.resolve().then(()=>(ySt(),hSt)),"./icons/money-graph-arrow-increase.svg":()=>Promise.resolve().then(()=>(wSt(),bSt)),"./icons/money-graph-bar-chart-increase.svg":()=>Promise.resolve().then(()=>(kSt(),TSt)),"./icons/nature-ecology-leaf.svg":()=>Promise.resolve().then(()=>(PSt(),ASt)),"./icons/phone-telephone.svg":()=>Promise.resolve().then(()=>(zSt(),FSt)),"./icons/programming-bug.svg":()=>Promise.resolve().then(()=>(WSt(),BSt)),"./icons/programming-cloud.svg":()=>Promise.resolve().then(()=>(YSt(),GSt)),"./icons/programming-computer-database-server.svg":()=>Promise.resolve().then(()=>(eCt(),XSt)),"./icons/programming-computer-database.svg":()=>Promise.resolve().then(()=>(aCt(),tCt)),"./icons/programming-module-four-layout.svg":()=>Promise.resolve().then(()=>(uCt(),oCt)),"./icons/programming-module-three.svg":()=>Promise.resolve().then(()=>(hCt(),dCt)),"./icons/programming-module.svg":()=>Promise.resolve().then(()=>(bCt(),gCt)),"./icons/programming-script-code.svg":()=>Promise.resolve().then(()=>(TCt(),xCt)),"./icons/shopping-cart.svg":()=>Promise.resolve().then(()=>(ACt(),ECt)),"./icons/shopping-gift-present.svg":()=>Promise.resolve().then(()=>(FCt(),jCt)),"./icons/shopping-shipping-box-parcel-package.svg":()=>Promise.resolve().then(()=>(BCt(),ICt)),"./icons/tag-new-circle.svg":()=>Promise.resolve().then(()=>(GCt(),VCt)),"./icons/travel-map-earth-globe.svg":()=>Promise.resolve().then(()=>(XCt(),KCt))}),QCt=Object.keys(XP).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]})),ZP=new Map})),ewt,twt=c((()=>{$Ct(),U(),ewt=j({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=lu();return td(async()=>{n.value=await ZCt(t.src)}),(e,t)=>n.value?(N(),F(vd(n.value),{key:0})):R(``,!0)}})})),QP,nwt=c((()=>{twt(),QP=ewt})),$P=c((()=>{$Ct(),nwt()})),rwt,iwt,awt,owt=c((()=>{U(),Y(),$P(),Ag(),rwt={class:`flex text-sm`},iwt={class:`bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1`},awt=j({__name:`IconSelector`,props:{modelValue:{},placement:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=H({get:()=>n.modelValue,set:e=>r(`update:modelValue`,e)});return(t,n)=>(N(),F(k(OM),{class:`bg-b-2 rounded`,focus:``,placement:e.placement??`bottom`},{popover:A(({close:e})=>[V(k(jme),{modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,class:`flex flex-col`},{default:A(()=>[I(`div`,rwt,[V(k(mg),{class:`text-c-2 px-1 py-1`},{default:A(()=>[M(t.$slots,`title`,{},()=>[n[1]||=L(`Select an icon`,-1)])]),_:3})]),I(`ul`,iwt,[(N(!0),P(B,null,yd(k(QCt),t=>(N(),F(k(Nme),{key:t.src,as:`li`,class:`text-c-3 hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2 flex cursor-pointer items-center justify-center rounded p-2`,value:t.src,onClick:e},{default:A(()=>[V(k(mg),{class:`sr-only`},{default:A(()=>[L(D(t.src.replaceAll(`-`,` `))+` Icon `,1)]),_:2},1024),V(k(QP),{class:`stroke-[1.5]`,src:t.src},null,8,[`src`])]),_:2},1032,[`value`,`onClick`]))),128))])]),_:2},1032,[`modelValue`])]),default:A(()=>[M(t.$slots,`default`)]),_:3},8,[`placement`]))}})})),eF,swt=c((()=>{owt(),eF=awt})),cwt,lwt,uwt,dwt=c((()=>{swt(),cP(),U(),Y(),$P(),cwt={class:`grid grid-cols-[auto_1fr] gap-2`},lwt={class:`flex aspect-square`},uwt=j({__name:`EditSidebarListCollection`,props:{name:{},icon:{}},emits:[`close`,`edit`],setup(e,{emit:t}){let n=e,r=t,i=O(n.name),a=O(n.icon);return(e,t)=>(N(),F(sP,{onCancel:t[2]||=e=>r(`close`),onSubmit:t[3]||=e=>r(`edit`,i.value,a.value)},{default:A(()=>[I(`div`,cwt,[I(`div`,lwt,[V(eF,{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,placement:`bottom-start`},{default:A(()=>[V(k(KS),{class:`aspect-square h-auto px-0`,variant:`outlined`},{default:A(()=>[V(k(QP),{class:`text-c-2 size-4`,src:a.value},null,8,[`src`])]),_:1})]),_:1},8,[`modelValue`])]),V(k(UM),{modelValue:i.value,"onUpdate:modelValue":t[1]||=e=>i.value=e,autofocus:``,class:`flex-1`},null,8,[`modelValue`])])]),_:1}))}})})),fwt,pwt=c((()=>{dwt(),fwt=uwt})),mwt,hwt=c((()=>{hq(),cN(),Vx(),tN(),uP(),fP(),pwt(),U(),Y(),wP(),mwt=j({__name:`RequestSidebarItemMenu`,props:{menuItem:{}},emits:[`closeMenu`,`toggleWatchMode`,`clearDrafts`],setup(e,{emit:t}){let n=e,r=t,{replace:i}=bP(),{activeRouterParams:a,activeWorkspaceCollections:o,activeWorkspaceRequests:s}=sN(),{events:c,requestMutators:l}=eN(),u=EM(),d=EM(),f=EM(),p=()=>c.commandPalette.emit({commandName:`Add Example`,metaData:{itemUid:n.menuItem.item?.entity.uid}}),m=(e,t)=>{n.menuItem.item?.edit(e,t),u.hide()},h=()=>{if(n.menuItem.item?.delete(),!s.value.length){let{request:e}=_be(),t=o.value.find(e=>e.info?.title===`Drafts`);t&&(l.add(e,t.uid),i({name:`request`,params:{[mq.Request]:e.uid}}))}if(a.value[mq.Request]===n.menuItem.item?.entity.uid&&i({name:`request`,params:{[mq.Request]:`default`}}),a.value[mq.Examples]===n.menuItem.item?.entity.uid&&i({name:`request`,params:{[mq.Request]:`default`}}),o.value[0]){let e=o.value[0].requests[0];i({name:`request`,params:{[mq.Request]:e}})}d.hide()},g=O(null);nd([()=>n.menuItem.open,g],([e])=>{e&&g.value?.$parent?.$el&&g.value.$parent.$el.focus()});let _=()=>n.menuItem.open&&r(`closeMenu`);Af(()=>window.addEventListener(`click`,_)),Mf(()=>window.removeEventListener(`click`,_));let v=()=>{r(`toggleWatchMode`,n.menuItem.item)},y=()=>{r(`clearDrafts`),f.hide()},b=H(()=>n.menuItem.item?.title===`Drafts`);return(t,n)=>(N(),P(B,null,[e.menuItem.targetRef&&e.menuItem.open?(N(),F(k(Cj),{key:0,placement:`right-start`,target:e.menuItem.targetRef,teleport:``},{floating:A(()=>[V(k(Fj),{onKeydown:n[3]||=em(e=>t.$emit(`closeMenu`),[`escape`])},{default:A(()=>[e.menuItem.item?.entity.type===`request`?(N(),F(k(zj),{key:0,class:`flex items-center gap-2`,onClick:p},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Example`,size:`md`,thickness:`1.5`}),n[8]||=I(`span`,null,`Add Example`,-1)]),_:1})):R(``,!0),b.value?R(``,!0):(N(),F(k(zj),{key:1,ref_key:`menuRef`,ref:g,class:`flex items-center gap-2`,onClick:n[0]||=e=>k(u).show()},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Edit`,size:`md`,thickness:`1.5`}),I(`span`,null,[e.menuItem.item?.entity.type===`collection`?(N(),P(B,{key:0},[L(` Edit `)],64)):(N(),P(B,{key:1},[L(` Rename `)],64))])]),_:1},512)),e.menuItem.item?.documentUrl?(N(),F(k(zj),{key:2,ref_key:`menuRef`,ref:g,class:`flex items-center gap-2`,onClick:v},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:e.menuItem.item?.watchMode?`Unwatch`:`Watch`,size:`md`,thickness:`1.5`},null,8,[`icon`]),I(`span`,null,D(e.menuItem.item?.watchMode?`Disable Watch Mode`:`Enable Watch Mode`),1)]),_:1},512)):R(``,!0),b.value?R(``,!0):(N(),F(k(zj),{key:3,class:`flex items-center gap-2`,onClick:n[1]||=e=>k(d).show()},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Delete`,size:`md`,thickness:`1.5`}),n[9]||=I(`span`,null,`Delete`,-1)]),_:1})),b.value?(N(),F(k(zj),{key:4,class:`flex items-center gap-2`,onClick:n[2]||=e=>k(f).show()},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Delete`,size:`md`,thickness:`1.5`}),n[10]||=I(`span`,null,`Clear Drafts`,-1)]),_:1})):R(``,!0)]),_:1})]),_:1},8,[`target`])):R(``,!0),V(k(DM),{size:`xxs`,state:k(d),title:`Delete ${e.menuItem.item?.resourceTitle}`},{default:A(()=>[V(lP,{variableName:e.menuItem.item?.title??``,warningMessage:e.menuItem.item?.warning,onClose:n[4]||=e=>k(d).hide(),onDelete:h},null,8,[`variableName`,`warningMessage`])]),_:1},8,[`state`,`title`]),V(k(DM),{size:`xxs`,state:k(u),title:`Edit ${e.menuItem.item?.resourceTitle}`},{default:A(()=>[e.menuItem.item?.resourceTitle===`Collection`?(N(),F(fwt,{key:0,icon:e.menuItem.item?.icon||`interface-content-folder`,name:e.menuItem.item?.title,onClose:n[5]||=e=>k(u).hide(),onEdit:m},null,8,[`icon`,`name`])):(N(),F(dP,{key:1,name:e.menuItem.item?.title??``,onClose:n[6]||=e=>k(u).hide(),onEdit:m},null,8,[`name`]))]),_:1},8,[`state`,`title`]),V(k(DM),{size:`xxs`,state:k(f),title:`Clear Drafts`},{default:A(()=>[V(lP,{variableName:`All Drafts`,warningMessage:`This action will clear all drafts. This cannot be undone.`,onClose:n[7]||=e=>k(f).hide(),onDelete:y})]),_:1},8,[`state`])],64))}})})),gwt,_wt=c((()=>{Mg(),hwt(),gwt=jg(mwt,[[`__scopeId`,`data-v-01a1ab71`]])})),vwt,ywt=c((()=>{vwt=(e,t,n)=>{let r=e.find(e=>e.info?.title===`Drafts`),i=t.length===1;if(!t[0])return!1;let a=r?.requests.includes(t[0]);if(!a)return!1;let o=n[r?.requests[0]??``]?.summary!==`My First Request`;return i&&a&&!o}})),bwt,xwt,Swt=c((()=>{Jj(),bwt={Alt:`altKey`,Control:`ctrlKey`,Shift:`shiftKey`,Meta:`metaKey`},xwt=e=>e.map(e=>e===`default`?qj()?`metaKey`:`ctrlKey`:bwt[e])})),tF,nF,Cwt,wwt,Twt,Ewt,rF,Dwt=c((()=>{U(),tF=O(null),nF=O(null),Cwt=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},wwt=[`draggable`],Twt=j({__name:`Draggable`,props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:[Boolean,Function],default:!0},parentIds:{},id:{}},emits:[`onDragEnd`,`onDragStart`],setup(e,{expose:t,emit:n}){let r=n,i=H(()=>e.parentIds.at(-1)??null),a=t=>{!t.dataTransfer||!(t.target instanceof HTMLElement)||!e.isDraggable||(t.target.classList.add(`dragging`),t.dataTransfer.dropEffect=`move`,t.dataTransfer.effectAllowed=`move`,tF.value={id:e.id,parentId:i.value},r(`onDragStart`,{id:e.id,parentId:i.value}))},o=t=>typeof e.isDroppable==`function`?e.isDroppable(tF.value,{id:e.id,parentId:i.value,offset:t}):e.isDroppable,s=Cwt(t=>{if(!tF.value||tF.value.id===e.id||e.parentIds.includes(tF.value?.id??``))return;let n=nF.value?.offset,r=t.target.offsetHeight,a=e.floor*r,s=e.ceiling*r,c=3;t.offsetY<=0&&n&&n!==3?c=n:t.offsetY<=a?c=0:t.offsetY>=s?c=1:t.offsetY>a&&t.offsetY<s&&(c=2),o(c)&&(nF.value={id:e.id,parentId:i.value,offset:c})},25),c=[`above`,`below`,`asChild`],l=H(()=>{let t=`sidebar-indent-nested`;return e.id===nF.value?.id&&(t+=` dragover-${c[nF.value.offset]}`),t}),u=()=>{if(!nF.value||!tF.value)return;let e={...tF.value},t={...nF.value};tF.value=null,nF.value=null,document.querySelectorAll(`div.dragging`).forEach(e=>e.classList.remove(`dragging`)),e.id!==t.id&&r(`onDragEnd`,e,t)};return t({draggingItem:tF,hoveredItem:nF}),(t,n)=>(N(),P(`div`,{class:E(l.value),draggable:e.isDraggable,onDragend:u,onDragover:n[0]||=$p((...e)=>k(s)&&k(s)(...e),[`prevent`,`stop`]),onDragstart:$p(a,[`stop`])},[M(t.$slots,`default`,{},void 0,!0)],42,wwt))}}),Ewt=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},rF=Ewt(Twt,[[`__scopeId`,`data-v-a89d6a6e`]])})),Owt,kwt,Awt,jwt,Mwt,Nwt,Pwt,Fwt,Iwt,Lwt,Rwt,zwt,Bwt,Vwt,Hwt,Uwt,iF,Wwt,Gwt=c((()=>{hq(),cN(),Pg(),pN(),Swt(),tN(),rN(),U(),Y(),wP(),Rx(),Dwt(),Owt={class:`line-clamp-1 w-full pl-2 break-all`},kwt={class:`flex flex-row items-center gap-1`},Awt={class:`relative`},jwt={class:`flex items-start`},Mwt={class:`flex h-5 max-w-[14px] shrink-0 items-center justify-center`},Nwt={class:`flex flex-1 flex-row justify-between font-medium`},Pwt={class:`line-clamp-1 w-full text-left break-all`},Fwt={class:`relative flex h-fit items-center justify-end gap-0.5`},Iwt={class:`flex items-center justify-center`,type:`button`},Lwt=[`aria-expanded`],Rwt={class:`flex h-5 max-w-[14px] shrink-0 items-center justify-center`},zwt={class:`flex flex-1 flex-row justify-between`},Bwt={class:`line-clamp-1 w-full text-left font-medium break-all`},Vwt={class:`relative flex h-fit items-center justify-end gap-0.5`},Hwt={class:`flex items-center justify-center`,type:`button`},Uwt={key:3},iF=`hover:bg-sidebar-b-active indent-padding-left`,Wwt=j({__name:`RequestSidebarItem`,props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:[Boolean,Function],default:!1},parentUids:{},uid:{},menuItem:{}},emits:[`onDragEnd`,`newTab`,`openMenu`],setup(e,{emit:t}){fde(e=>({v2bb71a6d:ee.value,b961af9e:S.value}));let n=t,{activeCollection:r,activeRequest:i,activeRouterParams:a,activeWorkspace:o}=sN(),{collections:s,tags:c,requests:l,requestExamples:u,collectionMutators:d,tagMutators:f,requestMutators:p,requestExampleMutators:m,events:h}=eN(),g=bP(),{collapsedSidebarFolders:_,toggleSidebarFolder:v}=fN(),{layout:y}=Ng(),b=H(()=>{let t=s[e.uid],n=c[e.uid],r=l[e.uid],i=u[e.uid];return t?{title:t.info?.title||`Untitled Collection`,entity:t,resourceTitle:`Collection`,children:t.children,icon:t[`x-scalar-icon`],documentUrl:t.documentUrl,watchMode:t.watchMode,to:t.uid&&t?.info?.title!==`Drafts`?{name:`collection`,params:{[mq.Workspace]:o.value?.uid,[mq.Collection]:t.uid}}:void 0,warning:`This cannot be undone. You're about to delete the collection and all folders and requests inside it.`,edit:(e,n)=>{d.edit(t.uid,`info.title`,e),n&&d.edit(t.uid,`x-scalar-icon`,n)},delete:()=>{o.value&&d.delete(t,o.value)}}:n?{title:n.name,entity:n,resourceTitle:`Tag`,children:n.children,warning:`This cannot be undone. You're about to delete the tag and all requests inside it`,edit:e=>f.edit(n.uid,`name`,e),delete:()=>e.parentUids[0]&&f.delete(n,e.parentUids[0])}:r?{title:r.summary??r.path,to:{name:`request`,params:{workspace:o.value?.uid,request:r.uid}},method:r.method,entity:r,resourceTitle:`Request`,warning:`This cannot be undone. You're about to delete the request.`,children:r.examples.slice(1),edit:e=>p.edit(r.uid,`summary`,e),delete:()=>e.parentUids[0]&&p.delete(r,e.parentUids[0])}:i?.requestUid?{title:i.name,to:{name:`request.examples`,params:{workspace:o.value?.uid,request:i.requestUid,examples:i.uid}},method:l[i.requestUid]?.method,entity:i,resourceTitle:`Example`,warning:`This cannot be undone. You're about to delete the example from the request.`,children:[],edit:e=>m.edit(i.uid,`name`,e),delete:()=>m.delete(i)}:{title:`Unknown`,entity:{uid:``,type:`unknown`},resourceTitle:`Unknown`,children:[],edit:()=>null,delete:()=>null}}),x=H(()=>b.value.entity.type===`collection`&&b.value.title===`Drafts`),ee=H(()=>e.parentUids.length?y===`modal`?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:`12px`),S=H(()=>e.parentUids.length?y===`modal`?`${(e.parentUids.length-1)*12}px`:`${e.parentUids.length*12}px`:`0px`),C=H(()=>_[e.uid]||i.value?.uid===e.uid&&b.value.entity.examples.length>1),te=H(()=>typeof g.currentRoute.value.name==`string`&&g.currentRoute.value.name.startsWith(`request`)&&a.value[mq.Request]===`default`&&i.value?.uid===e.uid),ne=O(null),re=H(()=>{let e=.5,t=.5;if(!ne.value)return{ceiling:e,floor:t};let{draggingItem:n}=ne.value;return!s[n?.id]&&b.value.entity.type===`collection`?(e=1,t=0):b.value.entity.type===`tag`&&(e=.8,t=.2),{ceiling:e,floor:t}}),w=(e,t)=>!(y===`modal`||u[t.id]||s[e.id]),ie=(e,t)=>{e&&(xwt([`default`]).some(t=>e[t])?n(`newTab`,t.title||``,t.entity.uid):t.to&&g.push(t.to),Ku(()=>h.focusAddressBar.emit()))};function ae(t){let n=e.parentUids[0]?s[e.parentUids[0]]?.uid||``:t,r=e.parentUids[0]&&c[t]?.name?{tags:[c[t].name]}:{},i=p.add(r,n);i&&(g.push({name:`request`,params:{workspace:o.value?.uid,request:i.uid}}),h.hotKeys.emit({focusAddressBar:new KeyboardEvent(`keydown`,{key:`l`})}))}let oe=H(()=>{let{uid:e,watchModeStatus:t}=r.value||{};return e===b.value.entity.uid?t===`WATCHING`?`text-c-1`:t===`ERROR`?`text-red`:`text-c-3`:`text-c-3`}),se=H(()=>b.value.title===`Drafts`&&y!==`modal`&&b.value.children.length>0),ce=H(()=>{let t=l[e.uid];if(t)return!Lx(t);let n=c[e.uid];return n?!Lx(n):!0});return(t,n)=>{let r=_d(`RequestSidebarItem`,!0);return ce.value?(N(),P(`li`,{key:0,class:E([`relative flex flex-row`,[k(y)===`modal`&&e.parentUids.length>1||k(y)!==`modal`&&e.parentUids.length?`before:bg-border indent-border-line-offset mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-[calc(.75rem_+_.5px)] before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full`:``]])},[V(k(rF),{id:b.value.entity.uid,ref_key:`draggableRef`,ref:ne,ceiling:re.value.ceiling,class:`gap-1/2 flex flex-1 flex-col text-base/5`,floor:re.value.floor,isDraggable:e.isDraggable,isDroppable:e.isDroppable,parentIds:e.parentUids,onOnDragEnd:n[13]||=(...e)=>t.$emit(`onDragEnd`,...e)},{default:A(()=>[(b.value.entity.type===`request`||b.value.entity.type===`requestExample`)&&b.value.to?(N(),F(k(xP),{key:0,class:`group no-underline`,to:b.value.to,onClick:n[1]||=$p(e=>ie(e,b.value),[`prevent`])},{default:A(({isExactActive:r})=>[I(`div`,{class:E([`relative flex min-h-8 w-full cursor-pointer flex-row items-start justify-between gap-0.5 rounded py-1.5 pr-2`,[iF,r||te.value?`bg-sidebar-b-active text-sidebar-c-active font-medium transition-none`:`text-sidebar-c-2`]])},[I(`span`,Owt,D(b.value.title||`Untitled`),1),I(`div`,kwt,[I(`div`,Awt,[k(y)===`modal`?R(``,!0):(N(),F(k(KS),{key:0,class:E([`hover:bg-b-3 hidden aspect-square h-fit px-0.5 py-0 opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,{flex:e.menuItem?.item?.entity.uid===b.value.entity.uid&&e.menuItem.open}]),size:`sm`,type:`button`,variant:`ghost`,onClick:n[0]||=$p(n=>t.$emit(`openMenu`,{item:b.value,parentUids:e.parentUids,targetRef:n.currentTarget,open:!e.menuItem.open}),[`stop`,`prevent`])},{default:A(()=>[V(k(nM),{icon:`Ellipses`,size:`md`})]),_:1},8,[`class`]))]),I(`span`,jwt,[n[14]||=L(` `,-1),n[15]||=I(`span`,{class:`sr-only`},`HTTP Method:`,-1),b.value.method?(N(),F(k(nN),{key:0,class:`font-bold`,method:b.value.method},null,8,[`method`])):R(``,!0)])])],2)]),_:1},8,[`to`])):(k(y)!==`modal`||e.parentUids.length)&&b.value.entity.type===`collection`&&b.value.to?(N(),F(k(xP),{key:1,"aria-expanded":!!k(_)[b.value.entity.uid],class:E([`hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 no-underline focus-visible:z-10`,[iF,{"bg-sidebar-b-active text-sidebar-c-active transition-none":typeof k(g).currentRoute.value.name==`string`&&k(g).currentRoute.value.name.startsWith(`collection`)&&k(g).currentRoute.value.params[k(mq).Collection]===b.value.entity.uid,"text-c-2":b.value.title===`Untitled Collection`}]]),to:b.value.to},{default:A(()=>[I(`span`,Mwt,[M(t.$slots,`leftIcon`,{},void 0,!0),n[16]||=L(` `,-1)]),I(`div`,Nwt,[I(`span`,Pwt,D(b.value.title),1),I(`div`,Fwt,[I(`div`,{class:E([`items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,{flex:e.menuItem.open,hidden:!e.menuItem.open||e.menuItem.item?.entity.uid!==b.value.entity.uid}])},[k(y)!==`modal`&&!x.value||x.value&&se.value?(N(),F(k(KS),{key:0,class:`hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,size:`sm`,variant:`ghost`,onClick:n[2]||=$p(n=>t.$emit(`openMenu`,{item:b.value,parentUids:e.parentUids,targetRef:n.currentTarget?.parentNode,open:!0}),[`stop`,`prevent`])},{default:A(()=>[V(k(nM),{icon:`Ellipses`,size:`md`})]),_:1})):R(``,!0),k(y)===`modal`?R(``,!0):(N(),F(k(KS),{key:1,class:`hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,size:`sm`,variant:`ghost`,onClick:n[3]||=$p(e=>ae(b.value.entity.uid),[`stop`,`prevent`])},{default:A(()=>[V(k(nM),{icon:`Add`,size:`md`,thickness:`2`})]),_:1}))],2),b.value.watchMode?(N(),F(k(mM),{key:0,content:`Watching: ${b.value.documentUrl}`,offset:12,placement:`right`},{default:A(()=>[I(`button`,Iwt,[V(k(nM),{class:E([`ml-0.5 text-sm`,oe.value]),icon:`Watch`,size:`md`,thickness:`2`},null,8,[`class`])])]),_:1},8,[`content`])):R(``,!0),I(`span`,{class:`flex cursor-pointer items-center justify-center`,onClick:n[4]||=$p(e=>k(v)(b.value.entity.uid),[`stop`,`prevent`])},[V(k(IM),{class:`text-c-3 hover:text-c-1 shrink-0`,open:!!k(_)[b.value.entity.uid]},null,8,[`open`])])])])]),_:3},8,[`aria-expanded`,`class`,`to`])):k(y)!==`modal`||e.parentUids.length?(N(),P(`button`,{key:2,"aria-expanded":!!k(_)[b.value.entity.uid],class:E([`hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10`,[iF]]),type:`button`,onClick:n[8]||=e=>k(v)(b.value.entity.uid)},[I(`span`,Rwt,[M(t.$slots,`leftIcon`,{},void 0,!0),n[17]||=L(` `,-1)]),I(`div`,zwt,[I(`span`,Bwt,D(b.value.title),1),I(`div`,Vwt,[I(`div`,{class:E([`items-center gap-px opacity-0 group-hover:flex group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,{flex:e.menuItem.open,hidden:!e.menuItem.open||e.menuItem.item?.entity.uid!==b.value.entity.uid}])},[k(y)!==`modal`&&!x.value||x.value&&se.value?(N(),F(k(KS),{key:0,class:`hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,size:`sm`,variant:`ghost`,onClick:n[5]||=$p(n=>t.$emit(`openMenu`,{item:b.value,parentUids:e.parentUids,targetRef:n.currentTarget?.parentNode,open:!0}),[`stop`,`prevent`])},{default:A(()=>[V(k(nM),{icon:`Ellipses`,size:`md`})]),_:1})):R(``,!0),k(y)===`modal`?R(``,!0):(N(),F(k(KS),{key:1,class:`hover:bg-b-3 hover:text-c-1 aspect-square h-fit px-0.5 py-0 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100`,size:`sm`,variant:`ghost`,onClick:n[6]||=$p(e=>ae(b.value.entity.uid),[`stop`,`prevent`])},{default:A(()=>[V(k(nM),{icon:`Add`,size:`md`,thickness:`2`})]),_:1}))],2),b.value.watchMode?(N(),F(k(mM),{key:0,content:`Watching: {{ item.documentUrl }}`,offset:12,placement:`right`},{default:A(()=>[I(`button`,Hwt,[V(k(nM),{class:E([`ml-0.5 text-sm`,oe.value]),icon:`Watch`,size:`md`,thickness:`2`},null,8,[`class`])])]),_:1})):R(``,!0),I(`span`,{class:`flex cursor-pointer items-center justify-center`,onClick:n[7]||=$p(e=>k(v)(b.value.entity.uid),[`stop`,`prevent`])},[V(k(IM),{class:`text-c-3 hover:text-c-1 shrink-0`,open:!!k(_)[b.value.entity.uid]},null,8,[`open`])])])])],10,Lwt)):R(``,!0),C.value?(N(),P(`ul`,Uwt,[(N(!0),P(B,null,yd(b.value.children,i=>(N(),F(r,{key:i,isDraggable:!k(u)[i],isDroppable:w,menuItem:e.menuItem,parentUids:[...e.parentUids,e.uid],uid:i,onNewTab:n[9]||=(e,n)=>t.$emit(`newTab`,e,n),onOnDragEnd:n[10]||=(...e)=>t.$emit(`onDragEnd`,...e),onOpenMenu:n[11]||=e=>t.$emit(`openMenu`,e)},null,8,[`isDraggable`,`menuItem`,`parentUids`,`uid`]))),128)),b.value.children.length===0?(N(),F(k(KS),{key:0,class:E([`text-c-1 hover:bg-b-2 flex h-8 w-full justify-start gap-1.5 py-0 text-xs`,e.parentUids.length?`pl-9`:``]),variant:`ghost`,onClick:n[12]||=e=>ae(b.value.entity.uid)},{default:A(()=>[V(k(nM),{icon:`Add`,size:`sm`}),n[18]||=I(`span`,null,`Add Request`,-1)]),_:1},8,[`class`])):R(``,!0)])):R(``,!0)]),_:3},8,[`id`,`ceiling`,`floor`,`isDraggable`,`isDroppable`,`parentIds`])],2)):R(``,!0)}}})})),Kwt,qwt=c((()=>{Mg(),Gwt(),Kwt=jg(Wwt,[[`__scopeId`,`data-v-b2f06757`]])})),Jwt,Ywt,Xwt,Zwt,Qwt,$wt,eTt,tTt,nTt,rTt=c((()=>{hq(),cN(),Pg(),pN(),Vx(),tN(),rN(),hmt(),oP(),ymt(),xmt(),eht(),iht(),uht(),ogt(),cgt(),_wt(),ywt(),qwt(),U(),Y(),tP(),wP(),$P(),Jwt={class:`bg-b-1 sticky top-0 z-20 flex h-12 items-center px-3`},Ywt={key:1,class:`text-c-3`},Xwt=[`aria-pressed`],Zwt={class:`sr-only`},Qwt={key:0,class:`search-button-fade sticky top-12 z-10 px-3 py-2.5 pt-0 focus-within:z-20`,role:`search`},$wt={key:1,class:`contents`},eTt={key:0,class:`empty-sidebar-item-content px-2.5 py-2.5`},tTt={class:`rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]`},nTt=j({__name:`RequestSidebar`,emits:[`newTab`,`clearDrafts`],setup(e,{emit:t}){let n=t,{isSidebarOpen:r,setCollapsedSidebarFolder:i,toggleSidebarOpen:a}=fN(),{layout:o}=Ng(),s=eN(),{activeCollection:c,activeWorkspaceCollections:l,activeRequest:u,activeWorkspaceRequests:d,activeWorkspace:f}=sN(),{findRequestParents:p,events:m,requestMutators:h,requests:g}=s,{handleDragEnd:_,isDroppable:v}=sgt(f,s),{replace:y}=bP(),b=()=>{m.commandPalette.emit({commandName:`Import from OpenAPI/Swagger/Postman/cURL`})},x=ud(),{toast:ee}=QN(),S=$l({open:!1}),C=O(!1);nd(u,e=>{e&&p(e).forEach(e=>i(e,!0))},{immediate:!0});let{searchText:te,searchResultsWithPlaceholderResults:ne,selectedSearchResult:re,onSearchResultClick:w,fuseSearch:ie,searchInputRef:ae,searchResultRefs:oe,navigateSearchResults:se,selectSearchResult:ce}=agt(),le=O(),ue=e=>{e&&(e.toggleSidebar&&a(),e.focusRequestSearch&&ae.value?.focus())};Af(()=>m.hotKeys.on(ue)),Mf(()=>{m.hotKeys.off(ue)});let de=e=>{if(e?.documentUrl){e.watchMode=!e.watchMode;let t=l.value.find(t=>t.uid===e.entity.uid);t&&(t.watchMode=e.watchMode)}};nd(()=>l.value.map(e=>e.watchMode),(e,t)=>{e.forEach((e,n)=>{if(o!==`modal`&&e!==t[n]&&l.value[n]?.info?.title!==`Drafts`&&l.value[n]){let t=l.value[n];if(!t)return;ee(`${t.info?.title}: Watch Mode ${e?`enabled`:`disabled`}`,`info`)}})});let fe=H(()=>{let e=ne.value;if(!e.length)return`No results found`;let t=e[re.value]?.item;if(!t)return`No result selected`;let n=te.value.length?`${e.length} result${e.length===1?``:`s`} found, `:``,r=`, HTTP Method ${t.httpVerb}, Path ${t.path}`;return`${n}Selected: ${`${t.title} ${r}`}`}),pe=()=>{let e=l.value.find(e=>e.info?.title===`Drafts`);if(e&&e.requests.forEach(t=>{g[t]&&h.delete(g[t],e.uid)}),d.value.length){let e=l.value[0]?.requests[0];e&&y({name:`request`,params:{[mq.Request]:e}})}else{let{request:t}=_be();e&&(h.add(t,e.uid),y({name:`request`,params:{[mq.Request]:t.uid}}))}};nd(C,e=>{e||(te.value=``)});let me=H(()=>vwt(l.value,d.value,g)),he=H(()=>o===`modal`&&c.value?[c.value]:l.value);function ge(e){!te.value&&e.relatedTarget!==le.value&&(C.value=!1)}return(e,t)=>(N(),P(B,null,[Xu(V(k(mmt),{class:E([k(r)?`sidebar-active-width`:``])},bd({content:A(()=>[I(`div`,Jwt,[I(`div`,{class:E([`size-8`,{"xl:hidden":k(o)!==`modal`}])},null,2),k(o)===`modal`?R(``,!0):(N(),F(k($mt),{key:0})),k(o)===`modal`?R(``,!0):(N(),P(`span`,Ywt,` / `)),k(o)===`modal`?R(``,!0):(N(),F(lht,{key:2})),I(`button`,{ref_key:`searchToggleRef`,ref:le,"aria-pressed":C.value,class:`ml-auto`,type:`button`,onClick:t[0]||=e=>C.value=!C.value},[I(`span`,Zwt,D(C.value?`Hide`:`Show`)+` search `,1),V(k(nM),{class:`text-c-3 hover:bg-b-2 max-h-8 max-w-8 rounded-lg p-1.75 text-sm`,icon:`Search`})],8,Xwt)]),C.value?(N(),P(`div`,Qwt,[V(k(HM),{ref_key:`searchInputRef`,ref:ae,modelValue:k(te),"onUpdate:modelValue":t[1]||=e=>cu(te)?te.value=e:null,autofocus:``,"aria-controls":k(x),label:fe.value,onInput:k(ie),onKeydown:[t[2]||=em($p(e=>k(se)(`down`),[`stop`]),[`down`]),t[3]||=em($p(e=>k(ce)(),[`stop`]),[`enter`]),t[4]||=em($p(e=>k(se)(`up`),[`stop`]),[`up`])],onBlur:ge},null,8,[`modelValue`,`aria-controls`,`label`,`onInput`])])):R(``,!0),I(`div`,{class:E([`gap-1/2 flex flex-1 flex-col overflow-visible overflow-y-auto px-3 pt-0 pb-3`,[{"pb-14":k(o)!==`modal`},{"h-[calc(100%-273.5px)]":me.value}]]),onDragenter:t[7]||=$p(()=>{},[`prevent`]),onDragover:t[8]||=$p(()=>{},[`prevent`])},[k(te)?(N(),F(k(jM),{key:0,id:k(x),"aria-label":`Search Results`,class:`gap-px`,noResults:!k(ne).length},{default:A(()=>[(N(!0),P(B,null,yd(k(ne),(e,n)=>(N(),F(k(AM),{id:`#search-input-${e.item.id}`,key:e.refIndex,ref_for:!0,ref:e=>k(oe)[n]=e,selected:k(re)===n,class:`px-2`,href:e.item.link,onClick:$p(t=>k(w)(e),[`prevent`]),onFocus:e=>re.value=n},{addon:A(()=>[t[10]||=I(`span`,{class:`sr-only`},`HTTP Method:`,-1),V(nN,{class:`font-bold`,method:e.item.httpVerb??`get`},null,8,[`method`])]),default:A(()=>[L(D(e.item.title)+` `,1)]),_:2},1032,[`id`,`selected`,`href`,`onClick`,`onFocus`]))),128))]),_:1},8,[`id`,`noResults`])):(N(),P(`nav`,$wt,[(N(!0),P(B,null,yd(he.value,e=>(N(),F(Kwt,{key:e.uid,isDraggable:k(o)!==`modal`&&e.info?.title!==`Drafts`,isDroppable:k(v),menuItem:S,parentUids:[],uid:e.uid,onNewTab:t[5]||=(e,t)=>n(`newTab`,{name:e,uid:t}),onOnDragEnd:k(_),onOpenMenu:t[6]||=e=>Object.assign(S,e)},{leftIcon:A(()=>[e.info?.title===`Drafts`?(N(),F(k(nM),{key:0,class:`text-sidebar-c-2`,icon:`Scribble`,thickness:`2.25`})):(N(),F(k(QP),{key:1,class:`text-sidebar-c-2 size-3.5 min-w-3.5 stroke-2`,src:e[`x-scalar-icon`]||`interface-content-folder`},null,8,[`src`]))]),_:2},1032,[`isDraggable`,`isDroppable`,`menuItem`,`uid`,`onOnDragEnd`]))),128))]))],34)]),button:A(()=>[I(`div`,{class:E({"empty-sidebar-item":me.value})},[me.value?(N(),P(`div`,eTt,[I(`div`,tTt,[V(aP,{art:k(vmt),class:`rabbitsit font-bold`},null,8,[`art`]),V(aP,{art:k(bmt),class:`rabbitjump absolute top-0 left-0 font-bold`},null,8,[`art`])]),t[11]||=I(`div`,{class:`mt-2 mb-2 text-center text-sm text-balance`},[I(`b`,{class:`font-medium`},`Let's Get Started`),I(`p`,{class:`mt-2`},` Create request, folder, collection or import from OpenAPI/Postman `)],-1)])):R(``,!0),k(o)===`modal`?R(``,!0):(N(),F(k(KS),{key:1,class:E([`mb-1.5 hidden h-fit w-full p-1.5 opacity-0`,{"flex opacity-100":me.value}]),onClick:b},{default:A(()=>[...t[12]||=[L(` Import Collection `,-1)]]),_:1},8,[`class`])),k(o)===`modal`?R(``,!0):(N(),F(rht,{key:2,click:k(m).commandPalette.emit,hotkey:`K`},{title:A(()=>[...t[13]||=[L(` Add Item `,-1)]]),_:1},8,[`click`]))],2)]),_:2},[k(o)===`modal`?void 0:{name:`header`,fn:A(()=>[]),key:`0`}]),1032,[`class`]),[[Rp,k(r)]]),k(o)!==`modal`&&S?(N(),F(gwt,{key:0,menuItem:S,onClearDrafts:pe,onCloseMenu:t[9]||=e=>S.open=!1,onToggleWatchMode:de},null,8,[`menuItem`])):R(``,!0)],64))}})})),iTt,aTt=c((()=>{Mg(),rTt(),iTt=jg(nTt,[[`__scopeId`,`data-v-23d35bb5`]])})),oTt,sTt=c((()=>{oTt={parse(e){try{return{error:!1,data:JSON.parse(e)}}catch(e){return{error:!0,message:e.message?String(e.message):`Unknown Error`}}}}})),cTt=c((()=>{sTt()})),lTt,uTt,dTt,fTt=c((()=>{cN(),dN(),Pg(),pN(),hN(),hv(),Ift(),tN(),Wft(),Kft(),imt(),aTt(),U(),tP(),wP(),f_(),cTt(),lTt={class:`flex h-full`},uTt={class:`flex h-full flex-1 flex-col`},dTt=j({__name:`RequestRoot`,emits:[`newTab`],setup(e){let t=eN(),{toast:n}=QN(),{layout:r}=Ng(),i=lN(),{isSidebarOpen:a}=fN(),{activeCollection:o,activeExample:s,activeEnvironment:c,activeRequest:l,activeWorkspace:u,activeServer:d}=sN(),{cookies:f,requestHistory:p,showSidebar:m,securitySchemes:h,modalState:g,events:_}=t,v=mN(),y=O();y.value;let b=O(),x=H(()=>Gft(s.value??null)),ee=O(null),S=H(()=>(o.value?.useCollectionSecurity?o.value?.selectedSecuritySchemeUids:l.value?.selectedSecuritySchemeUids)??[]),C=async()=>{if(!l.value||!s.value||!o.value)return;if(x.value.hasBlockingErrors){n(`Path parameters must have values.`,`error`),_.requestStatus.emit(`abort`);return}let e=typeof c.value==`object`?c.value.value:`{}`,t=oTt.parse(e);t.error&&console.error(`INVALID ENVIRONMENT!`);let r=t.error||typeof t.data!=`object`?{}:t.data??{},a=u.value?.cookies.map(e=>f[e]).filter(d_)??[],m=o.value?.info?.title===`Drafts`?void 0:d.value,[g,y]=Fft({request:l.value,example:s.value,selectedSecuritySchemeUids:S.value,proxyUrl:u.value?.proxyUrl??``,environment:r,globalCookies:a,status:_.requestStatus,securitySchemes:h,server:m,pluginManager:v});if(i.value?.onRequestSent?.(l.value.path??``),g){n(g.message,`error`);return}b.value=y.controller;let[C,te]=await y.sendRequest();ee.value=te,C?n(C.message,`error`):p.push(re(te))},te=async()=>b.value?.abort(fv.REQUEST_ABORTED);function ne(){}nd(g,({open:e})=>{e||te()}),Af(()=>{_.executeRequest.on(C),_.executeRequest.on(ne),_.cancelRequest.on(te)}),rmt(),Mf(()=>{_.executeRequest.off(C),_.executeRequest.off(ne),_.cancelRequest.off(te)});let re=e=>{try{return structuredClone(e)}catch{let t={...e};return e.response?.data&&(e.response.data instanceof Blob||e.response.data instanceof ArrayBuffer?t.response.data=e.response.data:t.response.data=JSON.parse(JSON.stringify(e.response.data))),t}};return(e,t)=>(N(),P(`div`,{ref_key:`_element`,ref:y,class:E([`bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0`,{"!mr-0 !mb-0 !border-0":k(r)===`modal`}])},[k(m)?(N(),F(Uft,{key:0,modelValue:k(a),"onUpdate:modelValue":t[0]||=e=>cu(a)?a.value=e:null,class:E([`absolute top-2 left-3 z-50`,[{hidden:k(a)},{"xl:!flex":!k(a)},{"!flex":k(r)===`modal`}]])},null,8,[`modelValue`,`class`])):R(``,!0),I(`div`,lTt,[k(m)?(N(),F(iTt,{key:0,onNewTab:t[1]||=t=>e.$emit(`newTab`,t)})):R(``,!0),I(`div`,uTt,[V(k(CP),{invalidParams:x.value.invalidParams,requestResult:ee.value,selectedSecuritySchemeUids:S.value},null,8,[`invalidParams`,`requestResult`,`selectedSecuritySchemeUids`])])])],2))}})})),pTt=u({default:()=>mTt}),mTt,hTt=c((()=>{Mg(),fTt(),mTt=jg(dTt,[[`__scopeId`,`data-v-cf286224`]])})),gTt=l(((e,t)=>{t.exports=function(e){return e.map(function(e){return e===``?`''`:e&&typeof e==`object`?e.op.replace(/(.)/g,`\\$1`):/["\s\\]/.test(e)&&!/'/.test(e)?`'`+e.replace(/(['])/g,`\\$1`)+`'`:/["'\s]/.test(e)?`"`+e.replace(/(["\\$`!])/g,`\\$1`)+`"`:String(e).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,`$1\\$2`)}).join(` `)}})),_Tt=l(((e,t)=>{for(var n=`(?:`+[`\\|\\|`,`\\&\\&`,`;;`,`\\|\\&`,`\\<\\(`,`\\<\\<\\<`,`>>`,`>\\&`,`<\\&`,`[&;()|<>]`].join(`|`)+`)`,r=RegExp(`^`+n+`$`),i=`|&;()<> \\t`,a=`"((\\\\"|[^"])*?)"`,o=`'((\\\\'|[^'])*?)'`,s=/^#$/,c=`'`,l=`"`,u=`$`,d=``,f=4294967296,p=0;p<4;p++)d+=(f*Math.random()).toString(16);var m=RegExp(`^`+d);function h(e,t){for(var n=t.lastIndex,r=[],i;i=t.exec(e);)r.push(i),t.lastIndex===i.index&&(t.lastIndex+=1);return t.lastIndex=n,r}function g(e,t,n){var r=typeof e==`function`?e(n):e[n];return r===void 0&&n!=``?r=``:r===void 0&&(r=`$`),typeof r==`object`?t+d+JSON.stringify(r)+d:t+r}function _(e,t,d){d||={};var f=d.escape||`\\`,p=`(\\`+f+`['"`+i+`]|[^\\s'"`+i+`])+`,m=h(e,new RegExp([`(`+n+`)`,`(`+p+`|`+a+`|`+o+`)+`].join(`|`),`g`));if(m.length===0)return[];t||={};var _=!1;return m.map(function(n){var i=n[0];if(!i||_)return;if(r.test(i))return{op:i};var a=!1,o=!1,d=``,p=!1,m;function h(){m+=1;var e,n,r=i.charAt(m);if(r===`{`){if(m+=1,i.charAt(m)===`}`)throw Error(`Bad substitution: `+i.slice(m-2,m+1));if(e=i.indexOf(`}`,m),e<0)throw Error(`Bad substitution: `+i.slice(m));n=i.slice(m,e),m=e}else if(/[*@#?$!_-]/.test(r))n=r,m+=1;else{var a=i.slice(m);e=a.match(/[^\w\d_]/),e?(n=a.slice(0,e.index),m+=e.index-1):(n=a,m=i.length)}return g(t,``,n)}for(m=0;m<i.length;m++){var v=i.charAt(m);if(p||=!a&&(v===`*`||v===`?`),o)d+=v,o=!1;else if(a)v===a?a=!1:a==c?d+=v:v===f?(m+=1,v=i.charAt(m),v===l||v===f||v===u?d+=v:d+=f+v):v===u?d+=h():d+=v;else if(v===l||v===c)a=v;else if(r.test(v))return{op:i};else if(s.test(v)){_=!0;var y={comment:e.slice(n.index+m+1)};return d.length?[d,y]:[y]}else v===f?o=!0:v===u?d+=h():d+=v}return p?{op:`glob`,pattern:d}:d}).reduce(function(e,t){return t===void 0?e:e.concat(t)},[])}t.exports=function(e,t,n){var r=_(e,t,n);return typeof t==`function`?r.reduce(function(e,t){if(typeof t==`object`)return e.concat(t);var n=t.split(RegExp(`(`+d+`.*?`+d+`)`,`g`));return n.length===1?e.concat(n[0]):e.concat(n.filter(Boolean).map(function(e){return m.test(e)?JSON.parse(e.split(d)[1]):e}))},[]):r}})),vTt=l((e=>{e.quote=gTt(),e.parse=_Tt()}));function yTt(e){let t=(0,kTt.parse)(e).map(e=>typeof e==`object`&&`op`in e&&e.op===`glob`?e.pattern.trim():typeof e==`string`?e.trim():e).filter(e=>e!==``),n={url:``},r=t[Symbol.iterator](),i=r.next().value;for(;i;)i===`-X`||i===`--request`?bTt(r,n):i===`--url`?xTt(r,n):i===`-H`||i===`--header`?STt(r,n):i===`--data`||i===`-d`||i===`--data-raw`||i===`--data-urlencode`||i===`--data-binary`||i===`--data-ascii`?OTt(r,n,e):typeof i==`string`&&!n.url&&(i.startsWith(`http`)||i.startsWith(`www.`))?xTt([i][Symbol.iterator](),n):i===`-P`?CTt(r,n):typeof i==`string`&&i.toLowerCase().includes(`content-type`)?TTt(i,n):i===`-u`||i===`--user`?ETt(r,n):(i===`-b`||i===`--cookie`)&&DTt(r,n),i=r.next().value;return n}function bTt(e,t){t.method=e.next().value.toLowerCase()}function xTt(e,t){let n=new URL(e.next().value.replace(/['"]/g,``));t.servers=[n.origin],t.path=n.pathname===`/`?``:n.pathname,t.url=t.servers[0]+t.path;let r=wTt(n.search);t.queryParameters=t.queryParameters?[...t.queryParameters,...r]:r}function STt(e,t){let n=e.next().value.split(/:(.*)/);t.headers=t.headers||{},n[1]===void 0?t.headers[n[0].trim()]=``:t.headers[n[0].trim()]=n[1].trim()}function CTt(e,t){let n=e.next().value.replace(/['"]/g,``).split(`=`);t.pathVariables=t.pathVariables||{},n[1]===void 0?t.pathVariables[n[0].trim()]=``:t.pathVariables[n[0].trim()]=n[1].trim()}function wTt(e){let t=[];return new URL(e,`http://example.com`).searchParams.forEach((e,n)=>{t.push({key:n,value:e})}),t}function TTt(e,t){let n=e.replace(/['"]/g,``).split(/:(.+)/);t.headers=t.headers||{},n[0]&&(n[1]===void 0?t.headers[n[0].trim()]=``:t.headers[n[0].trim()]=n[1].trim())}function ETt(e,t){let n=e.next().value;try{let e=DN(n);t.headers=t.headers||{},t.headers.Authorization=`Basic ${e}`}catch(e){console.warn(`Could not base64 encode these HTTP basic auth credentials:`,n,e)}}function DTt(e,t){let n=e.next().value;t.headers=t.headers||{},t.headers.Cookie?t.headers.Cookie+=`; ${n}`:t.headers.Cookie=n.replace(/;$/,``)}function OTt(e,t,n){let r=e.next().value;if(typeof r==`string`&&(r.startsWith(`@`)?t.body=``:t.body=r,!t.url||n.includes(`-G`))){let e=wTt(`?${t.body}`);t.queryParameters=t.queryParameters?[...t.queryParameters,...e]:e}}var kTt,ATt=c((()=>{ON(),kTt=vTt()}));function jTt(e){try{return JSON.parse(e)}catch{let t={};return e.split(`&`).forEach(e=>{let[n,r]=e.split(`=`);n&&r&&(t[decodeURIComponent(n)]=decodeURIComponent(r))}),t}}function MTt(e){let{method:t=`get`,url:n,body:r=``,headers:i={},servers:a,queryParameters:o=[]}=yTt(e),s=new URL(n).pathname,c=r?.includes(`=`)&&!r.startsWith(`{`)?`application/x-www-form-urlencoded`:i[`Content-Type`]||``,l=r?jTt(r):{},u=[...Array.isArray(o)?o.map(({key:e,value:t})=>({name:e,in:`query`,schema:{type:typeof t,examples:[t]}})):[],...Object.entries(i||{}).map(([e,t])=>({name:e,in:`header`,schema:{type:typeof t},example:t}))];return{method:t,url:n,path:s,headers:i,servers:a??[],...Object.keys(l).length>0&&{requestBody:{content:{[c]:{schema:{type:`object`,properties:Object.fromEntries(Object.entries(l).map(([e,t])=>[e,{type:typeof t}]))},example:l}}}},parameters:u}}var NTt=c((()=>{ATt()})),PTt,FTt=c((()=>{U(),Y(),PTt=j({__name:`ViewLayout`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`div`,qc(Vd(k(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`))),[M(e.$slots,`default`)],16))}})})),aF,oF=c((()=>{FTt(),aF=PTt}));function ITt(e,t){return N(),P(`div`,RTt,[M(e.$slots,`default`)])}var LTt,RTt,sF,zTt=c((()=>{Mg(),U(),LTt={},RTt={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`},sF=jg(LTt,[[`render`,ITt]])})),BTt,VTt,HTt=c((()=>{U(),BTt=[`aria-controls`,`aria-selected`,`tabindex`],VTt=j({__name:`SectionFilterButton`,props:{selected:{type:Boolean},controls:{}},setup(e){return(t,n)=>(N(),P(`button`,{"aria-controls":e.controls??``,"aria-selected":!!e.selected,class:E([`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`},[M(t.$slots,`default`)],10,BTt))}})})),UTt,WTt=c((()=>{HTt(),UTt=VTt})),GTt,KTt,qTt,JTt,YTt=c((()=>{WTt(),U(),Y(),GTt={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`},KTt={class:`filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center`},qTt={class:`context-bar-group-hover:hidden mr-1.5`},JTt=j({__name:`SectionFilter`,props:Td({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=O(),r=r=>{let i=r===`prev`?-1:1,a=t.value?e.filters.indexOf(t.value):0,o=e.filters.length,s=(a+i+o)%o;t.value=e.filters[s],Ku(()=>{if(n.value){let e=n.value.querySelector(`button[aria-selected="true"]`);e&&e.focus()}})};return(i,a)=>(N(),P(`div`,{ref_key:`tablist`,ref:n,class:`filter-hover context-bar-group ml-auto hidden lg:flex`,role:`tablist`,onKeydown:[a[0]||=em(e=>r(`prev`),[`left`]),a[1]||=em(e=>r(`next`),[`right`])]},[I(`div`,GTt,[(N(!0),P(B,null,yd(e.filters,n=>(N(),F(UTt,{key:n,class:`filter-hover-item`,controls:e.filterIds?.[n],role:`tab`,selected:t.value===n,onClick:e=>t.value=n},{default:A(()=>[L(D(n),1)]),_:2},1032,[`controls`,`selected`,`onClick`]))),128)),I(`div`,KTt,[I(`span`,qTt,D(t.value),1),V(k(nM),{icon:`FilterList`,size:`md`,thickness:`2`})])])],544))}})})),cF,lF=c((()=>{Mg(),YTt(),cF=jg(JTt,[[`__scopeId`,`data-v-f97cc68c`]])})),XTt,ZTt,QTt=c((()=>{U(),Y(),XTt={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`},ZTt=j({inheritAttrs:!1,__name:`ViewLayoutSection`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),P(`section`,qc(Vd(k(t)(`xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0`))),[e.$slots.title?(N(),P(`div`,XTt,[M(e.$slots,`title`)])):R(``,!0),M(e.$slots,`default`)],16))}})})),uF,dF=c((()=>{QTt(),uF=ZTt}));function fF({multiple:e,accept:t,onChange:n,onError:r}={}){let i=O(null),a;return typeof document<`u`&&(a=document.createElement(`input`),a.type=`file`,a.onchange=e=>{i.value=e.target.files,n?.(i.value)},a.onerror=()=>r?.(),a.multiple=e,a.accept=t),{files:eu(i),open:()=>{if(!a)return r?.();a.click()}}}var pF=c((()=>{U()})),$Tt,eEt,tEt,nEt=c((()=>{U(),Y(),$Tt=[`role`],eEt={key:0,class:`sr-only`},tEt=j({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`div`,qc(Vd(k(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[I(`table`,{class:E([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:Kc({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(N(),P(`caption`,eEt,[M(n.$slots,`caption`)])):R(``,!0),M(n.$slots,`default`)],14,$Tt)],16))}})})),mF,hF=c((()=>{nEt(),mF=tEt})),rEt,iEt=c((()=>{U(),Y(),rEt=j({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),F(vd(e.is),z(k(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:A(()=>[M(n.$slots,`default`)]),_:3},16))}})})),gF,_F=c((()=>{iEt(),gF=rEt})),aEt,oEt=c((()=>{_F(),U(),Y(),aEt=j({__name:`DataTableHeader`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),F(gF,z({is:`th`},k(t)(`items-center font-medium px-2 min-w-0 -outline-offset-1`)),{default:A(()=>[M(e.$slots,`default`)]),_:3},16))}})})),vF,yF=c((()=>{oEt(),vF=aEt}));function sEt(e,t){return N(),P(`tr`,lEt,[M(e.$slots,`default`)])}var cEt,lEt,bF,xF=c((()=>{Mg(),U(),cEt={},lEt={class:`group contents`},bF=jg(cEt,[[`render`,sEt]])})),uEt,dEt,fEt,pEt,mEt,hEt,gEt,_Et,vEt=c((()=>{U(),Y(),Ag(),uEt=[`aria-labelledby`],dEt={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},fEt=[`id`],pEt={key:0,class:`sr-only`},mEt={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`},hEt={class:`sr-only`},gEt={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},_Et=j({__name:`ViewLayoutCollapse`,props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},layout:{default:`client`}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=ud(),i=O(e.defaultOpen),a=()=>{i.value=!i.value,n(`update:modelValue`,i.value)};return Af(()=>{n(`update:modelValue`,i.value)}),(t,n)=>(N(),F(k(Kh),{as:`div`,class:E([`group/collapse focus-within:text-c-1 text-c-2 last:ui-open:border-b-0 border-b`,{"last-of-type:first-of-type:border-b-0":e.layout===`reference`}]),defaultOpen:e.defaultOpen,static:e.layout===`reference`?!0:void 0,onClick:a},{default:A(({open:n})=>[I(`section`,{"aria-labelledby":k(r),class:`contents`},[I(`div`,{class:E([`bg-b-2 flex items-center`,e.layout===`reference`&&`rounded-t-xl border border-b-0`])},[V(k(qh),{class:E([`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`,{"!pl-3":e.layout===`reference`}]),disabled:e.layout===`reference`},{default:A(()=>[e.layout===`reference`?R(``,!0):(N(),F(k(nM),{key:0,class:E([`text-c-3 group-hover:text-c-1 ui-open:rotate-90 ui-not-open:rotate-0 rounded-px outline-offset-2 group-focus-visible:outline`]),icon:`ChevronRight`,size:`md`})),I(`h2`,dEt,[I(`span`,{id:k(r),class:`contents`},[M(t.$slots,`title`,{open:n}),n?R(``,!0):(N(),P(`span`,pEt,` (Collapsed) `))],8,fEt),!n&&e.itemCount?(N(),P(`span`,mEt,[L(D(e.itemCount)+` `,1),I(`span`,hEt,`Item`+D(e.itemCount===1?``:`s`),1)])):R(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(N(),P(`div`,gEt,[M(t.$slots,`actions`,{open:n})])):R(``,!0)],2),V(k(Jh),z(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:A(()=>[M(t.$slots,`default`,{open:n})]),_:2},1040)],8,uEt)]),_:3},8,[`class`,`defaultOpen`,`static`]))}})})),SF,CF=c((()=>{vEt(),SF=_Et})),yEt,bEt,xEt=c((()=>{_F(),U(),Y(),yEt=[`checked`,`disabled`],bEt=j({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`}},emits:[`update:modelValue`],setup(e){let t=IS({base:`w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-1 pointer-events-none absolute`,variants:{align:{left:`left-0`,center:`centered`}}});return(n,r)=>(N(),F(gF,{class:`group/cell relative flex min-w-8`},{default:A(()=>[I(`input`,{checked:e.modelValue,class:`peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default`,disabled:!!e.disabled,type:`checkbox`,onChange:r[0]||=e=>n.$emit(`update:modelValue`,e.target.checked)},null,40,yEt),I(`div`,{class:E(k(t)({align:e.align}))},[I(`div`,{class:E([`absolute m-auto size-3/4 rounded border-[1px] opacity-0`,!e.disabled&&`group-has-[:focus-visible]/cell:border-c-accent group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100`])},null,2),V(k(nM),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}})})),wF,TF=c((()=>{xEt(),wF=bEt})),EF,DF,SEt=c((()=>{U(),EF=e=>!!(e.description||e.type||e.default||e.format||e.minimum||e.maximum),DF=e=>H(()=>{if(e.value===void 0||e.value===``)return!1;if(e.type){if(e.type===`integer`){let t=Number(e.value);if(isNaN(t)||!Number.isInteger(t))return`Value must be a whole number (e.g., 42)`;if(e.minimum!==void 0&&t<e.minimum)return`Value must be ${e.minimum} or greater`;if(e.maximum!==void 0&&t>e.maximum)return`Value must be ${e.maximum} or less`}if(e.type===`number`){let t=Number(e.value);if(isNaN(t))return`Value must be a number (e.g., 42.5)`;if(e.minimum!==void 0&&t<e.minimum)return`Value must be ${e.minimum} or greater`;if(e.maximum!==void 0&&t>e.maximum)return`Value must be ${e.maximum} or less`}if(e.type===`string`&&e.format){if(e.format===`date`&&!/^\d{4}-\d{2}-\d{2}$/.test(e.value))return`Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)`;if(e.format===`date-time`&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(e.value))return`Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)`;if(e.format===`email`&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.value))return`Please enter a valid email address (e.g., user@example.com)`;if(e.format===`uri`&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(e.value))return`Please enter a valid URI (e.g., https://example.com)`}}return!1})})),CEt,wEt,TEt,EEt,DEt,OEt,kEt,AEt,jEt,MEt,NEt,PEt=c((()=>{SEt(),U(),Y(),EC(),CEt=[`aria-label`,`role`],wEt={class:`w-content text-xxs text-c-1 grid min-w-48 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none`},TEt={key:0,class:`text-error-1`},EEt={key:1,class:`schema text-c-2 flex items-center`},DEt={key:0},OEt={key:1},kEt={key:2},AEt={key:3},jEt={key:4},MEt={key:2,class:`text-sm leading-snug text-pretty`,style:{maxWidth:`16rem`}},NEt=j({__name:`RequestTableTooltip`,props:{item:{}},setup(e){let t=H(()=>!!DF(e.item).value);return(n,r)=>(N(),F(k(OM),{teleport:``,offset:4,placement:`left`},{popover:A(()=>[I(`div`,wEt,[t.value?(N(),P(`div`,TEt,D(k(DF)(e.item).value),1)):e.item.type||e.item.format||e.item.minimum||e.item.maximum||e.item.default?(N(),P(`div`,EEt,[e.item.type?(N(),P(`span`,DEt,D(e.item.type),1)):R(``,!0),e.item.format?(N(),P(`span`,OEt,D(e.item.format),1)):R(``,!0),e.item.minimum?(N(),P(`span`,kEt,`min: `+D(e.item.minimum),1)):R(``,!0),e.item.maximum?(N(),P(`span`,AEt,`max: `+D(e.item.maximum),1)):R(``,!0),e.item.default?(N(),P(`span`,jEt,`default: `+D(e.item.default),1)):R(``,!0)])):R(``,!0),e.item.description&&!t.value?(N(),P(`span`,MEt,D(e.item.description),1)):R(``,!0)])]),default:A(()=>[I(`button`,{type:`button`,"aria-label":t.value?`Input is invalid`:`More Information`,class:`text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1`,role:t.value?`alert`:`none`},[t.value?(N(),F(k(CC),{key:0,class:`text-orange size-3.5 brightness-90 hover:brightness-75`})):(N(),F(k(hC),{key:1,class:`text-c-2 hover:text-c-1 size-3.5`}))],8,CEt)]),_:1}))}})})),FEt,IEt=c((()=>{Mg(),PEt(),FEt=jg(NEt,[[`__scopeId`,`data-v-4df72868`]])})),LEt,REt,zEt,BEt,VEt=c((()=>{vq(),hF(),_F(),TF(),yF(),xF(),SEt(),IEt(),U(),Y(),wP(),EC(),LEt={class:`text-c-2 filemask flex w-full max-w-[100%] items-end justify-end overflow-hidden p-1`},REt=[`onClick`],zEt={key:1,class:`p-0.5`},BEt=j({__name:`RequestTable`,props:{items:{},hasCheckboxDisabled:{type:Boolean,default:!1},showUploadButton:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!1},isReadOnly:{type:Boolean,default:!1},environment:{},envVariables:{},workspace:{},invalidParams:{},label:{}},emits:[`updateRow`,`toggleRow`,`addRow`,`deleteRow`,`inputFocus`,`inputBlur`,`uploadFile`,`removeFile`],setup(e,{emit:t}){let n=e,r=t,i=[``,``,`36px`],a=(e,t,n)=>{r(`updateRow`,e,t,n)},o=e=>{r(`uploadFile`,e)},s=e=>Array.isArray(e.default)&&e.default.length===1?e.default[0]:e.default,c=e=>!!(e.key||e.value);return(t,l)=>(N(),F(mF,{class:`group/table flex-1`,columns:i},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(vF,null,{default:A(()=>[L(D(e.label)+` Enabled`,1)]),_:1}),V(vF,null,{default:A(()=>[L(D(e.label)+` Key`,1)]),_:1}),V(vF,null,{default:A(()=>[L(D(e.label)+` Value`,1)]),_:1})]),_:1}),(N(!0),P(B,null,yd(e.items,(t,i)=>(N(),F(bF,{id:t.key,key:i,class:E({alert:k(DF)(t).value,error:e.invalidParams&&e.invalidParams.has(t.key)})},{default:A(()=>[e.isGlobal?(N(),F(k(xP),{key:0,class:`text-c-2 flex items-center justify-center border-t !border-r`,to:t.route??{}},{default:A(()=>[l[4]||=I(`span`,{class:`sr-only`},`Global`,-1),V(k(mM),{content:`Global cookies are shared across the whole workspace.`,placement:`top`},{default:A(()=>[V(k(nM),{tabindex:`0`,class:`text-c-1`,icon:`Globe`,size:`xs`})]),_:1})]),_:1},8,[`to`])):(N(),F(wF,{key:1,class:`!border-r`,disabled:n.hasCheckboxDisabled,modelValue:t.enabled,"onUpdate:modelValue":e=>r(`toggleRow`,i,e)},null,8,[`disabled`,`modelValue`,`onUpdate:modelValue`])),V(gF,null,{default:A(()=>[V(_q,{"aria-label":`${e.label} Key`,disableCloseBrackets:``,disabled:n.isReadOnly,disableEnter:``,disableTabIndent:``,lineWrapping:``,envVariables:e.envVariables,environment:e.environment,modelValue:t.key,placeholder:`Key`,required:!!t.required,workspace:e.workspace,onBlur:l[0]||=e=>r(`inputBlur`),onFocus:l[1]||=e=>r(`inputFocus`),onSelectVariable:e=>a(i,`key`,e),"onUpdate:modelValue":e=>r(`updateRow`,i,`key`,e)},null,8,[`aria-label`,`disabled`,`envVariables`,`environment`,`modelValue`,`required`,`workspace`,`onSelectVariable`,`onUpdate:modelValue`])]),_:2},1024),V(gF,null,{default:A(()=>[V(_q,{"aria-label":`${e.label} Value`,class:E(k(EF)(t)?`pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10`:`group-hover:pr-6 group-has-[.cm-focused]:pr-6`),default:t.default,disableCloseBrackets:``,disabled:n.isReadOnly,disableEnter:``,disableTabIndent:``,lineWrapping:``,enum:t.enum??[],envVariables:e.envVariables,environment:e.environment,examples:t.examples??[],max:t.maximum,min:t.minimum,modelValue:t.value,nullable:!!t.nullable,placeholder:`Value`,type:t.type,workspace:e.workspace,onBlur:l[2]||=e=>r(`inputBlur`),onFocus:l[3]||=e=>r(`inputFocus`),onSelectVariable:e=>a(i,`value`,e),"onUpdate:modelValue":e=>r(`updateRow`,i,`value`,e)},{icon:A(()=>[c(t)&&!t.required?(N(),F(k(KS),{key:0,class:E([{"-mr-0.5":k(EF)(t)},`text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex`]),size:`sm`,variant:`ghost`,onClick:e=>r(`deleteRow`,i)},{default:A(()=>[V(k(SC),{class:`size-3.5`})]),_:1},8,[`class`,`onClick`])):R(``,!0),k(EF)(t)?(N(),F(FEt,{key:1,item:{...t,default:s(t)}},null,8,[`item`])):R(``,!0)]),_:2},1032,[`aria-label`,`class`,`default`,`disabled`,`enum`,`envVariables`,`environment`,`examples`,`max`,`min`,`modelValue`,`nullable`,`type`,`workspace`,`onSelectVariable`,`onUpdate:modelValue`])]),_:2},1024),e.showUploadButton?(N(),F(gF,{key:2,class:`group/upload flex items-center justify-center whitespace-nowrap`},{default:A(()=>[t.file?(N(),P(B,{key:0},[I(`div`,LEt,[I(`span`,null,D(t.file?.name),1)]),I(`button`,{class:`bg-b-2 md:centered-x md:centered-y static rounded p-0.5 text-center text-xs font-medium md:absolute md:w-[calc(100%_-_8px)] md:opacity-0 md:group-hover/upload:opacity-100`,type:`button`,onClick:e=>r(`removeFile`,i)},` Delete `,8,REt)],64)):(N(),P(`div`,zEt,[V(k(KS),{class:`bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none`,size:`sm`,variant:`outlined`,onClick:e=>o(i)},{default:A(()=>[l[5]||=I(`span`,null,`Upload File`,-1),V(k(nM),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1},8,[`onClick`])]))]),_:2},1024)):R(``,!0)]),_:2},1032,[`id`,`class`]))),128))]),_:1}))}})})),OF,kF=c((()=>{Mg(),VEt(),OF=jg(BEt,[[`__scopeId`,`data-v-9a415d6b`]])})),HEt,UEt,WEt,GEt,KEt=c((()=>{tN(),pF(),vq(),hF(),yF(),xF(),CF(),kF(),U(),Y(),Rx(),cv(),HEt={key:0,class:`text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm`},UEt={key:1,class:`flex items-center justify-center overflow-hidden border-t p-1.5`},WEt={class:`text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap`},GEt=j({__name:`RequestBody`,props:{example:{},operation:{},environment:{},envVariables:{},workspace:{},title:{}},setup(e){let{requestExampleMutators:t}=eN(),n={json:`json`,xml:`xml`,yaml:`yaml`,edn:`edn`,other:`html`},r=Object.entries({multipartForm:`Multipart Form`,formUrlEncoded:`Form URL Encoded`,binaryFile:`Binary File`,json:`JSON`,xml:`XML`,yaml:`YAML`,edn:`EDN`,other:`Other`,none:`None`}).map(([e,t])=>({id:e,label:t})),i=H(()=>{let{activeBody:t,formData:n,raw:r}=e.example.body;return t===`formData`?n?.encoding===`urlencoded`?`formUrlEncoded`:`multipartForm`:t===`binary`?`binaryFile`:t===`raw`&&r?.encoding?r.encoding===`html`||r.encoding===`text`?`other`:r.encoding:Object.keys(e.operation.requestBody?.content||{})[0]||`none`}),a=H({get:()=>r.find(e=>e.id===i.value)??r[r.length-1]??r[0],set:e=>{e?.id&&g(e.id)}}),o=O(null),s=H(()=>n[a.value?.id]??`plaintext`),c=n=>{let r=u.value;if(r.length>n){let i=[...r];i.splice(n,1),t.edit(e.example.uid,`body.formData.value`,i)}},l=(n,r,i)=>{let a=u.value;if(a.length>n){let o=[...a];o[n]={...o[n],value:o[n]?.value||``,key:o[n]?.key||``,enabled:o[n]?.enabled??!1,[r]:i||``},(o[n]?.key!==``||o[n]?.value!==``)&&(o[n].enabled=!0),o[n]?.key===``&&o[n]?.value===``&&o.splice(n,1),t.edit(e.example.uid,`body.formData.value`,o)}else{let n=[Q_.parse({[r]:i})];t.edit(e.example.uid,`body.formData.value`,n),Ku(()=>{o.value&&o.value.querySelectorAll(`input`)[r===`key`?0:1]?.focus()})}n===a.length-1&&f()},u=H(()=>e.example.body.formData?.value??[]),d=()=>{let e=u.value[u.value.length-1];(!e||e.key!==``||e.value!==``)&&f()},f=()=>{let n=Q_.parse({enabled:!1}),r=[...u.value,n];e.example.body.formData?t.edit(e.example.uid,`body.formData.value`,r):t.edit(e.example.uid,`body.formData`,{value:r,encoding:`form-data`})},p=(n,r)=>{let i=u.value;if(i.length>n){let a=[...i];a[n]&&(a[n].enabled=r),t.edit(e.example.uid,`body.formData.value`,a)}},m=n=>t.edit(e.example.uid,`body.raw.value`,n),h=t=>{if(t===`multipartForm`)return{activeBody:`formData`,encoding:`form-data`,header:`multipart/form-data`};if(t===`formUrlEncoded`)return{activeBody:`formData`,encoding:`urlencoded`,header:`application/x-www-form-urlencoded`};if(t===`binaryFile`)return{activeBody:`binary`,encoding:void 0,header:`application/octet-stream`};if(t===`json`)return{activeBody:`raw`,encoding:`json`,header:Object.keys(e.operation.requestBody?.content??{}).find(e=>e.includes(`json`)||e.endsWith(`+json`))||`application/json`};if(t===`xml`)return{activeBody:`raw`,encoding:`xml`,header:`application/xml`};if(t===`yaml`)return{activeBody:`raw`,encoding:`yaml`,header:`application/yaml`};if(t===`edn`)return{activeBody:`raw`,encoding:`edn`,header:`application/edn`};if(t===`other`){let t=Object.keys(e.operation.requestBody?.content??{}).find(e=>e.startsWith(`text/`));return{activeBody:`raw`,encoding:t?`text`:`html`,header:t??`application/html`}}return{activeBody:`raw`,encoding:void 0,header:void 0}},g=n=>{let{activeBody:r,encoding:i,header:a}=h(n);if(t.edit(e.example.uid,`body.activeBody`,r),i&&r===`raw`)t.edit(e.example.uid,`body.raw`,{encoding:i,value:e.example.body.raw?.value??``});else if(i&&r===`formData`)t.edit(e.example.uid,`body.formData`,{encoding:i,value:e.example.body.formData?.value??[]});else if(!i&&r!==`binary`){let{raw:n,...r}=e.example.body;t.edit(e.example.uid,`body`,r)}let o=[...e.example.parameters.headers],s=o.findIndex(e=>e.key.toLowerCase()===`content-type`);if(s>=0)a&&o[s]?o[s].value=a:o[s]&&(r!==`raw`||n===`none`)&&o.splice(s,1);else if(a){let e=o[o.length-1];e&&e.key===``&&e.value===``?o.splice(o.length-1,0,{key:`Content-Type`,value:a,enabled:!0}):o.push({key:`Content-Type`,value:a,enabled:!0})}t.edit(e.example.uid,`parameters.headers`,o)},_=n=>{let{open:r}=fF({onChange:r=>{let i=r?.[0];if(i){let r=[...u.value];r[n]={...r[n],file:i,value:r[n]?.value||i.name,key:r[n]?.key||i.name,enabled:!0},t.edit(e.example.uid,`body.formData.value`,r),d()}},multiple:!1,accept:`*/*`});r()},v=()=>t.edit(e.example.uid,`body.binary`,void 0);function y(n){let r=u.value,i=[...r],a=r[n],o=a?.file;r.length>1&&(!a?.key&&!a?.value||o&&a?.key===o.name&&a?.value===o.name)?i.splice(n,1):i[n]&&(i[n].file=void 0),t.edit(e.example.uid,`body.formData.value`,i)}function b(){let{open:n}=fF({onChange:n=>{let r=n?.[0];r&&t.edit(e.example.uid,`body.binary`,r)},multiple:!1,accept:`*/*`});n()}nd(a,e=>{[`multipartForm`,`formUrlEncoded`].includes(e?.id||``)&&d()},{immediate:!0}),nd(()=>e.example.uid,()=>{e.operation.method&&gv(e.operation.method)&&g(i.value),[`multipartForm`,`formUrlEncoded`].includes(i.value)&&d()},{immediate:!0});let x=H(()=>{let t=a.value?.id,{header:n}=h(t),r=e.operation.requestBody?.content||{},i=n&&r[n]?.examples||{};return Object.entries(i).map(([e,t])=>({id:e,label:e,value:t}))}),ee=H({get:()=>{let t=e.example.body.raw?.value??`{}`;try{let e=JSON.parse(t);return x.value.find(t=>{let n=t.value;return JSON.stringify(n.value)===JSON.stringify(e)})??x.value[0]}catch{return x.value[0]}},set:e=>{if(e?.id){let t=x.value.find(t=>t.id===e.id);if(t){let e=t.value;m(JSON.stringify(e.value,null,2))}}}});return(t,n)=>(N(),F(SF,null,{title:A(()=>[L(D(e.title),1)]),default:A(()=>[V(mF,{columns:[``],presentational:``},{default:A(()=>[V(bF,null,{default:A(()=>[V(vF,{class:`relative col-span-full flex h-8 cursor-pointer items-center justify-between !p-0`},{default:A(()=>[V(k(kj),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:k(r),teleport:``},{default:A(()=>[V(k(KS),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal`,variant:`ghost`},{default:A(()=>[I(`span`,null,D(a.value?.label),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`]),x.value.length>0?(N(),F(k(kj),{key:0,modelValue:ee.value,"onUpdate:modelValue":n[1]||=e=>ee.value=e,options:x.value,side:`left`,teleport:``},{default:A(()=>[V(k(KS),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-2 font-normal`,fullWidth:``,variant:`ghost`},{default:A(()=>[I(`span`,null,D(ee.value?.label),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):R(``,!0)]),_:1})]),_:1}),V(bF,null,{default:A(()=>[a.value?.id===`none`?(N(),P(`div`,HEt,[...n[2]||=[I(`span`,null,`No Body`,-1)]])):a.value?.id===`binaryFile`?(N(),P(`div`,UEt,[e.example.body.binary?(N(),P(B,{key:0},[I(`span`,WEt,D(e.example.body.binary.name),1),V(k(KS),{class:`bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:v},{default:A(()=>[...n[3]||=[L(` Delete `,-1)]]),_:1})],64)):(N(),F(k(KS),{key:1,class:`bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:b},{default:A(()=>[n[4]||=I(`span`,null,`Upload File`,-1),V(k(nM),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1}))])):a.value?.id==`multipartForm`?(N(),F(OF,{key:2,ref_key:`tableWrapperRef`,ref:o,class:`!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none`,columns:[`32px`,``,``,`104px`],envVariables:e.envVariables,environment:e.environment,items:u.value,showUploadButton:``,workspace:e.workspace,onDeleteRow:c,onRemoveFile:y,onToggleRow:p,onUpdateRow:l,onUploadFile:_},null,8,[`envVariables`,`environment`,`items`,`workspace`])):a.value?.id==`formUrlEncoded`?(N(),F(OF,{key:3,ref_key:`tableWrapperRef`,ref:o,class:`!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none`,columns:[`32px`,``,``,`104px`],envVariables:e.envVariables,environment:e.environment,items:u.value,showUploadButton:``,workspace:e.workspace,onDeleteRow:c,onRemoveFile:y,onToggleRow:p,onUpdateRow:l,onUploadFile:_},null,8,[`envVariables`,`environment`,`items`,`workspace`])):(N(),F(_q,{key:4,class:`border-t px-3`,content:``,envVariables:e.envVariables,environment:e.environment,language:s.value,lineNumbers:``,lint:``,modelValue:e.example.body?.raw?.value??``,workspace:e.workspace,"onUpdate:modelValue":m},null,8,[`envVariables`,`environment`,`language`,`modelValue`,`workspace`]))]),_:1}),V(bF)]),_:1})]),_:1}))}})})),qEt,JEt=c((()=>{Mg(),KEt(),qEt=jg(GEt,[[`__scopeId`,`data-v-9aa4b63a`]])})),YEt,XEt,ZEt,QEt=c((()=>{tN(),CF(),kF(),U(),Y(),cv(),YEt={class:`text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100`},XEt={class:`sr-only`},ZEt=j({__name:`RequestParams`,props:{example:{},environment:{},envVariables:{},workspace:{},title:{},label:{},paramKey:{},readOnlyEntries:{default:()=>[]},invalidParams:{}},setup(e){let{requestExampleMutators:t}=eN(),n=H(()=>e.example.parameters[e.paramKey]??[]);Af(()=>{Ku(()=>{l()})});let r=()=>{let r=Q_.parse({enabled:!1}),i=[...n.value,r];t.edit(e.example.uid,`parameters.${e.paramKey}`,i)},i=O(null),a=(a,o,s)=>{let c=n.value;if(c.length>a){let n=[...c];if(!n[a])return;n[a]={...n[a],[o]:s},(n[a].key!==``||n[a].value!==``)&&(n[a].enabled=!0),n[a].key===``&&n[a].value===``&&n.splice(a,1),t.edit(e.example.uid,`parameters.${e.paramKey}`,n)}else{let n=[Q_.parse({[o]:s})];t.edit(e.example.uid,`parameters.${e.paramKey}`,n),Ku(()=>{i.value&&i.value.querySelectorAll(`input`)[o===`key`?0:1]?.focus()})}a===c.length-1&&r()},o=(n,r)=>t.edit(e.example.uid,`parameters.${e.paramKey}.${n}.enabled`,r),s=()=>{let i=n.value.filter(e=>e.required);t.edit(e.example.uid,`parameters.${e.paramKey}`,i),Ku(()=>r())},c=r=>{let i=n.value;if(i.length>r){let n=[...i];n.splice(r,1),t.edit(e.example.uid,`parameters.${e.paramKey}`,n)}};function l(){if(n.value.length===0)r();else if(n.value.length>=1){let e=n.value[n.value.length-1];e&&e.key!==``&&e.value!==``&&r()}}let u=H(()=>n.value.filter(e=>e.key||e.value).length),d=H(()=>n.value.length>1);nd(()=>e.example,(e,t)=>{e!==t&&l()},{immediate:!0});let f=H(()=>(e.readOnlyEntries??[]).length>0);return(t,r)=>(N(),F(SF,{class:`group/params`,itemCount:u.value},{title:A(()=>[L(D(e.title),1)]),actions:A(()=>[I(`div`,YEt,[d.value?(N(),F(k(mM),{key:0,content:`Clear optional parameters`,placement:`left`},{default:A(()=>[V(k(KS),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:$p(s,[`stop`])},{default:A(()=>[r[0]||=L(` Clear `,-1),I(`span`,XEt,`All `+D(e.title),1)]),_:1})]),_:1})):R(``,!0)])]),default:A(()=>[I(`div`,{ref_key:`tableWrapperRef`,ref:i},[f.value?(N(),F(OF,{key:0,class:E([`flex-1`,{"bg-c-3/5":f.value}]),columns:[`32px`,``,``],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,isGlobal:``,isReadOnly:``,items:e.readOnlyEntries,label:e.label,workspace:e.workspace},null,8,[`class`,`envVariables`,`environment`,`invalidParams`,`items`,`label`,`workspace`])):R(``,!0),V(OF,{class:`flex-1`,columns:[`32px`,``,``],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,items:n.value,label:e.label,workspace:e.workspace,onToggleRow:o,onUpdateRow:a,onDeleteRow:c},null,8,[`envVariables`,`environment`,`invalidParams`,`items`,`label`,`workspace`])],512)]),_:1},8,[`itemCount`]))}})})),AF,$Et=c((()=>{QEt(),AF=ZEt})),eDt,tDt=c((()=>{tN(),CF(),kF(),U(),Rx(),eDt=j({__name:`RequestPathParams`,props:{example:{},operation:{},paramKey:{},title:{},environment:{},envVariables:{},workspace:{},invalidParams:{}},setup(e){let{requestMutators:t,requestExampleMutators:n}=eN(),r=H(()=>e.example.parameters[e.paramKey].map(e=>({...e,enum:e.enum}))),i=(r,i,a)=>{let o=e.example.parameters[e.paramKey],s=o[r]?.key;if(s){if(i===`key`){if(o[r]?.required)return;if(a){let n=encodeURIComponent(s),r=encodeURIComponent(a),i=RegExp(`(?<=/):${n}(?=[/?#]|$)`,`g`),o=e.operation.path.replace(i,`:${r}`);t.edit(e.operation.uid,`path`,o)}else{o.splice(r,1);let n=RegExp(`/:${encodeURIComponent(s)}(?=[/?#]|$)`,`g`),i=e.operation.path.replace(n,``);t.edit(e.operation.uid,`path`,i)}}n.edit(e.example.uid,`parameters.${e.paramKey}.${r}.${i}`,a)}},a=t=>{let i=r.value;if(i.length>t){let r=[...i];r.splice(t,1),n.edit(e.example.uid,`parameters.${e.paramKey}`,r)}},o=t=>{let r=t.match(Dv.PATH)?.map(e=>e.slice(1,-1))||[],i=e.example.parameters[e.paramKey],a=new Map(i.map(e=>[e.key,e])),o=r.map(e=>a.get(e)||{key:e,value:``,enabled:!0});i.forEach(e=>{!r.includes(e.key)&&(e.value||e.required)&&o.push(e)}),i.splice(0,i.length,...o),n.edit(e.example.uid,`parameters.${e.paramKey}`,i)},s=e=>{e&&o(e)};return nd(()=>e.operation.path,e=>{e&&s(e)}),(t,n)=>(N(),F(SF,{itemCount:r.value.length},{title:A(()=>[L(D(e.title),1)]),default:A(()=>[r.value.length?(N(),F(OF,{key:0,class:`flex-1`,columns:[`32px`,``,``],envVariables:e.envVariables,environment:e.environment,invalidParams:e.invalidParams,items:r.value,workspace:e.workspace,onUpdateRow:i,onDeleteRow:a},null,8,[`envVariables`,`environment`,`invalidParams`,`items`,`workspace`])):R(``,!0)]),_:1},8,[`itemCount`]))}})})),nDt,rDt=c((()=>{tDt(),nDt=eDt})),iDt,aDt,oDt=c((()=>{iDt={apiKeyCookie:{label:`API Key in Cookies`,payload:{type:`apiKey`,in:`cookie`,nameKey:`apiKeyCookie`}},apiKeyHeader:{label:`API Key in Headers`,payload:{type:`apiKey`,in:`header`,nameKey:`apiKeyHeader`}},apiKeyQuery:{label:`API Key in Query Params`,payload:{type:`apiKey`,in:`query`,nameKey:`apiKeyQuery`}},httpBasic:{label:`HTTP Basic`,payload:{type:`http`,scheme:`basic`,nameKey:`httpBasic`}},httpBearer:{label:`HTTP Bearer`,payload:{type:`http`,scheme:`bearer`,nameKey:`httpBearer`}},oauth2Implicit:{label:`Oauth2 Implicit Flow`,payload:{type:`oauth2`,nameKey:`oauth2Implicit`,flows:{implicit:{type:`implicit`}}}},oauth2Password:{label:`Oauth2 Password Flow`,payload:{type:`oauth2`,nameKey:`oauth2Password`,flows:{password:{type:`password`}}}},oauth2ClientCredentials:{label:`Oauth2 Client Credentials`,payload:{type:`oauth2`,nameKey:`oauth2ClientCredentials`,flows:{clientCredentials:{type:`clientCredentials`}}}},oauth2AuthorizationFlow:{label:`Oauth2 Authorization Code`,payload:{type:`oauth2`,nameKey:`oauth2AuthorizationFlow`,flows:{authorizationCode:{type:`authorizationCode`}}}}},aDt=Object.entries(iDt).map(([e,t])=>({id:e,isDeletable:!1,...t}))})),jF,MF,sDt,cDt,lDt=c((()=>{oDt(),Rx(),jF=e=>({id:e.uid,label:e.type===`openIdConnect`?`${e.nameKey} (coming soon)`:e.nameKey}),MF=(e,t)=>jF(e.reduce((e,n,r)=>{let i=t[n];return i&&(e.nameKey+=`${r>0?` & `:``}${i.nameKey}`,e.uid=`${e.uid}${r>0?`,`:``}${i.uid}`),e},{type:`complex`,nameKey:``,uid:``})),sDt=(e,t)=>JSON.stringify(e?.security)===`[{}]`&&t?.security?.length?t?.security.find(e=>JSON.stringify(e)===`{}`)?t.security:[...t.security,{}]:e?.security??t?.security??[],cDt=(e,t,n,r=!1)=>{{let i=t.reduce((e,t)=>{let r=n[t];return r&&(e[r.nameKey]=r),e},{}),a=e.flatMap(e=>{let t=Object.keys(e);if(t.length>1)return MF(t.map(e=>i[e]?.uid).filter(d_),n);if(t[0]){let e=i[t[0]];if(e)return jF(e)}return[]}),o=t.filter(e=>!a.some(t=>t.id===e)).map(e=>{let t=n[e];return t?jF(t):null}).filter(d_),s=[{label:`Required authentication`,options:a},{label:`Available authentication`,options:o}];return r?a.length?s:o:(s.push({label:`Add new authentication`,options:aDt}),s)}}})),uDt,dDt,fDt,pDt=c((()=>{tN(),U(),Y(),uDt={class:`text-c-2 mb-4 text-sm leading-normal`},dDt={class:`flex justify-between gap-2`},fDt=j({__name:`DeleteRequestAuthModal`,props:{state:{},scheme:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=e,r=t,{securitySchemeMutators:i}=eN(),a=()=>{n.scheme?.id&&i.delete(n.scheme.id),r(`delete`)};return(t,n)=>(N(),F(k(DM),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:A(()=>[I(`p`,uDt,` This cannot be undone. You're about to delete the `+D(e.scheme?.label)+` security scheme from the collection. `,1),I(`div`,dDt,[V(k(KS),{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=>r(`close`)},{default:A(()=>[...n[1]||=[L(` Cancel `,-1)]]),_:1}),V(k(KS),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:a},{default:A(()=>[L(` Delete `+D(e.scheme?.label),1)]),_:1})])]),_:1},8,[`state`]))}})})),NF,mDt=c((()=>{pDt(),NF=fDt})),PF,hDt=c((()=>{Rg(),PF=(e,t,n,{securitySchemeMutators:r,securitySchemes:i},a=!1)=>{if(r.edit(e,t,n),a)try{let r=JSON.parse(Lg().getItem(Ig.AUTH)??`{}`),a=i[e];if(r&&a?.nameKey){let e=r[a.nameKey]||={};e[t]=n,Lg().setItem(Ig.AUTH,JSON.stringify(r))}}catch(e){console.error(e)}}})),gDt,_Dt=c((()=>{Rg(),f_(),gDt=(e,t)=>{try{let{collectionMutators:n,securitySchemes:r,securitySchemeMutators:i}=e,a=JSON.parse(Lg().getItem(Ig.AUTH)??`{}`),o=Object.keys(r).reduce((e,t)=>{let n=r[t];return n&&(e[n.nameKey]=n.uid),e},{});Object.entries(a).forEach(([e,t])=>{let n=o[e];n&&Object.entries(t).forEach(([e,t])=>{i.edit(n,e,t)})});let s=JSON.parse(Lg().getItem(Ig.SELECTED_SECURITY_SCHEMES)??`[]`).map(e=>Array.isArray(e)?e.map(e=>o[e]).filter(d_):o[e]).filter(d_);n.edit(t,`selectedSecuritySchemeUids`,s)}catch(e){console.error(e)}}})),vDt,yDt,bDt,xDt,SDt,CDt,wDt=c((()=>{U(),Y(),vDt={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`},yDt={class:`text-c-1 whitespace-nowrap`},bDt={class:`text-c-1 overflow-hidden text-ellipsis`},xDt={class:`overflow-hidden text-ellipsis`},SDt={class:`flex h-4 w-4 items-center justify-center`},CDt=j({__name:`DataTableInputSelect`,props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=H(()=>n.value??[]),a=O(!1),o=O(``),s=O(null);nd(o,e=>{r(`update:modelValue`,e)});let c=e=>{r(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||r(`update:modelValue`,``),a.value=!1},d=e=>n.modelValue.toString()===e;nd(a,e=>{e&&Ku(()=>{s.value?.focus()})});let f=H(()=>n.modelValue===void 0?n.default:n.modelValue),p=H(()=>{let e=new Set(n.modelValue.toString().split(`, `));return i.value.filter(t=>e.has(t)).map(e=>({id:e,label:e,value:e}))}),m=H(()=>i.value.map(e=>({id:e,label:e,value:e}))),h=e=>{r(`update:modelValue`,e.map(e=>e.value).join(`, `))};return(t,n)=>(N(),P(`div`,vDt,[e.type===`array`?(N(),F(k(Pj),{key:0,modelValue:p.value,options:m.value,"onUpdate:modelValue":h},{default:A(()=>[V(k(KS),{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:A(()=>[I(`span`,yDt,D(p.value.length>0?p.value.map(e=>e.label).join(`, `):`Select a value`),1),V(k(nM),{icon:`ChevronDown`,size:`md`,class:`min-w-4`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?Xu((N(),P(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.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:em(l,[`enter`])},null,544)),[[Xp,o.value]]):(N(),F(k(Rj),{key:2,resize:``,value:f.value},{items:A(()=>[(N(!0),P(B,null,yd(i.value,e=>(N(),F(k(Hj),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:A(()=>[I(`div`,{class:E([`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`])},[V(k(nM),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),I(`span`,xDt,D(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(N(),P(B,{key:0},[i.value.length?(N(),F(k(Vj),{key:0})):R(``,!0),V(k(Hj),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:A(()=>[I(`div`,SDt,[V(k(nM),{icon:`Add`,size:`sm`})]),n[2]||=I(`span`,null,`Add value`,-1)]),_:1})],64)):R(``,!0)]),default:A(()=>[V(k(KS),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:A(()=>[I(`span`,bDt,D(f.value||`Select a value`),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}})})),FF,TDt=c((()=>{wDt(),FF=CDt})),EDt,DDt,ODt,kDt,ADt,jDt=c((()=>{TDt(),vq(),_F(),U(),Y(),EC(),EDt=[`for`],DDt={class:`relative flex min-w-0 flex-1`},ODt=[`readOnly`,`type`,`value`],kDt={key:1,class:`centered-y text-orange absolute right-7 text-xs`},ADt=j({inheritAttrs:!1,__name:`DataTableInput`,props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},min:{},max:{},environment:{},envVariables:{},description:{},lineWrapping:{type:Boolean,default:!1}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{emit:t}){let n=e,r=t,i=O(!0),a=O(!1),o=O(null),s=()=>{a.value||r(`inputBlur`)},c=H(()=>n.type===`password`?`text`:n.type??`text`),l=()=>{!n.enum?.length&&!n.readOnly&&o.value?.focus()};return(t,a)=>(N(),F(gF,{class:E([`relative flex`,e.containerClass])},{default:A(()=>[t.$slots.default?(N(),P(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,for:e.id??``,onClick:l},[M(t.$slots,`default`,{},void 0,!0),a[6]||=L(`: `,-1)],8,EDt)):R(``,!0),I(`div`,DDt,[n.enum&&n.enum.length?(N(),F(FF,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":a[0]||=e=>r(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(N(),P(B,{key:1},[i.value&&e.type===`password`?(N(),P(`input`,z({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":e.type===`password`}],"data-1p-ignore":``,readOnly:e.readOnly,spellcheck:`false`,type:c.value,value:e.modelValue,onInput:a[1]||=e=>r(`update:modelValue`,e.target.value??``)}),null,16,ODt)):(N(),F(_q,z({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:o,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1`,[e.type===`password`&&e.description&&`pr-12`,e.description&&`pr-8`,e.type===`password`&&`scalar-password-input`]],description:e.description,disableCloseBrackets:``,disableTabIndent:``,envVariables:e.envVariables,environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,modelValue:e.modelValue??``,readOnly:e.readOnly,required:!!e.required,spellcheck:`false`,type:c.value,onBlur:s,onFocus:a[2]||=e=>r(`inputFocus`),"onUpdate:modelValue":a[3]||=e=>r(`update:modelValue`,e)}),null,16,[`id`,`class`,`description`,`envVariables`,`environment`,`lineWrapping`,`max`,`min`,`modelValue`,`readOnly`,`required`,`type`]))],64))]),t.$slots.warning?(N(),P(`div`,kDt,[M(t.$slots,`warning`,{},void 0,!0)])):R(``,!0),M(t.$slots,`icon`,{},void 0,!0),e.modelValue?(N(),F(k(hM),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:k(TC),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):R(``,!0),e.type===`password`?(N(),F(k(hM),{key:3,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,icon:i.value?k(dC):k(fC),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):R(``,!0)]),_:3},8,[`class`]))}})})),IF,MDt=c((()=>{Mg(),jDt(),IF=jg(ADt,[[`__scopeId`,`data-v-c1a50a6e`]])})),NDt,PDt,FDt=c((()=>{MDt(),U(),NDt=[`for`],PDt=j({__name:`RequestAuthDataTableInput`,props:{type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},readOnly:{type:Boolean,default:!1},environment:{},envVariables:{},workspace:{}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{emit:t}){let n=e,r=t,i=ud();return(e,t)=>(N(),F(IF,z({id:k(i),canAddCustomEnumValue:!n.readOnly,containerClass:n.containerClass},e.$attrs,{envVariables:n.envVariables,environment:n.environment,lineWrapping:``,modelValue:n.modelValue,readOnly:n.readOnly,required:n.required,type:n.type,workspace:n.workspace,onInputBlur:t[0]||=e=>r(`inputBlur`),onInputFocus:t[1]||=e=>r(`inputFocus`),onSelectVariable:t[2]||=e=>r(`selectVariable`,e),"onUpdate:modelValue":t[3]||=e=>r(`update:modelValue`,e)}),{default:A(()=>[I(`label`,{for:k(i)},[M(e.$slots,`default`)],8,NDt)]),icon:A(()=>[M(e.$slots,`icon`)]),_:3},16,[`id`,`canAddCustomEnumValue`,`containerClass`,`envVariables`,`environment`,`modelValue`,`readOnly`,`required`,`type`,`workspace`]))}})})),LF,IDt=c((()=>{FDt(),LF=PDt})),RF,zF,LDt,RDt,zDt,BF,BDt=c((()=>{ON(),qv(),Pv(),Rv(),Uv(),RF=e=>{if(!e?.url)return;let t=Object.entries(e.variables??{}).reduce((e,[t,n])=>{let r=n.value||n.default;return r&&(e[t]=r),e},{});return jv(e.url,t)},zF=e=>{let t=RF(e);return t?Lv(t)?typeof window>`u`?{}:{basePath:t}:{baseUrl:t}:{}},LDt=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),TN(e,!0)},RDt=async(e,t)=>{if(t===`plain`)return e;if(typeof crypto?.subtle?.digest!=`function`)return console.warn(`SHA-256 is only supported when using https, using a plain text code challenge instead.`),e;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return TN(new Uint8Array(r),!0)},zDt=async(e,t,n)=>{try{if(!e)return[Error(`Flow not found`),null];let r=e.selectedScopes.join(` `);if(e.type===`clientCredentials`||e.type===`password`)return BF(e,r,{proxyUrl:n},t);let i=(Math.random()+1).toString(36).substring(2,10),a=Hv(e.authorizationUrl,zF(t)),o=new URL(a),s=null;if(e.type===`implicit`)o.searchParams.set(`response_type`,`token`);else if(e.type===`authorizationCode`&&(o.searchParams.set(`response_type`,`code`),e[`x-usePkce`]!==`no`)){let t=LDt(),n=await RDt(t,e[`x-usePkce`]);s={codeVerifier:t,codeChallenge:n,codeChallengeMethod:e[`x-usePkce`]===`SHA-256`?`S256`:`plain`},o.searchParams.set(`code_challenge`,n),o.searchParams.set(`code_challenge_method`,s.codeChallengeMethod)}if(e[`x-scalar-redirect-uri`].startsWith(`/`)){let n=RF(t)||window.location.origin+window.location.pathname,r=Hv(e[`x-scalar-redirect-uri`],{baseUrl:n});o.searchParams.set(`redirect_uri`,r)}else o.searchParams.set(`redirect_uri`,e[`x-scalar-redirect-uri`]);e[`x-scalar-security-query`]&&Object.keys(e[`x-scalar-security-query`]).forEach(t=>{let n=e[`x-scalar-security-query`]?.[t];n&&o.searchParams.set(t,n)}),o.searchParams.set(`client_id`,e[`x-scalar-client-id`]),o.searchParams.set(`state`,i),r&&o.searchParams.set(`scope`,r);let c=window.open(o,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return c?new Promise(a=>{let o=setInterval(()=>{let l=null,u=null,d=null,f=null;try{let t=new URL(c.location.href).searchParams,n=e[`x-tokenName`]||`access_token`;l=t.get(n),u=t.get(`code`),d=t.get(`error`),f=t.get(`error_description`);let r=new URLSearchParams(c.location.href.split(`#`)[1]);l||=r.get(n),u||=r.get(`code`),d||=r.get(`error`),f||=r.get(`error_description`)}catch{}(c.closed||l||u||d)&&(clearInterval(o),c.close(),d?a([Error(`OAuth error: ${d}${f?` (${f})`:``}`),null]):l?c.location.href.match(/state=([^&]*)/)?.[1]===i?a([null,l]):a([Error(`State mismatch`),null]):u?new URL(c.location.href).searchParams.get(`state`)===i?BF(e,r,{code:u,pkce:s,proxyUrl:n},t).then(a):a([Error(`State mismatch`),null]):(clearInterval(o),a([Error(`Window was closed without granting authorization`),null])))},200)}):[Error(`Failed to open auth window`),null]}catch{return[Error(`Failed to authorize oauth2 flow`),null]}},BF=async(e,t,{code:n,pkce:r,proxyUrl:i}={},a)=>{if(!e)return[Error(`OAuth2 flow was not defined`),null];let o=new URLSearchParams;o.set(`client_id`,e[`x-scalar-client-id`]),t&&(e.type===`clientCredentials`||e.type===`password`)&&o.set(`scope`,t),e.clientSecret&&(!e[`x-scalar-credentials-location`]||e[`x-scalar-credentials-location`]===`body`)&&o.set(`client_secret`,e.clientSecret),`x-scalar-redirect-uri`in e&&e[`x-scalar-redirect-uri`]&&o.set(`redirect_uri`,e[`x-scalar-redirect-uri`]),n?(o.set(`code`,n),o.set(`grant_type`,`authorization_code`),r&&o.set(`code_verifier`,r.codeVerifier)):e.type===`password`?(o.set(`grant_type`,`password`),o.set(`username`,e.username),o.set(`password`,e.password)):o.set(`grant_type`,`client_credentials`),e[`x-scalar-security-body`]&&Object.entries(e[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&o.set(e,String(t))});try{let t={"Content-Type":`application/x-www-form-urlencoded`};e.clientSecret&&(!e[`x-scalar-credentials-location`]||e[`x-scalar-credentials-location`]===`header`)&&(t.Authorization=`Basic ${DN(`${e[`x-scalar-client-id`]}:${e.clientSecret}`)}`);let n=Hv(e.tokenUrl,zF(a)),r=Kv(i,n)?`${i}?${new URLSearchParams([[`scalar_url`,n]]).toString()}`:n;return[null,(await(await fetch(r,{method:`POST`,headers:t,body:o})).json())[e[`x-tokenName`]||`access_token`]]}catch{return[Error(`Failed to get an access token. Please check your credentials.`),null]}}})),VDt,HDt,UDt,WDt,GDt,KDt,qDt,JDt=c((()=>{_F(),TF(),xF(),U(),Y(),Ag(),VDt={class:`flex h-fit w-full`},HDt={class:`flex-1`},UDt={class:`flex items-center gap-1.75`},WDt={class:`grid auto-rows-auto`,style:{gridTemplateColumns:`1fr auto`}},GDt={key:0},KDt={class:`font-code text-xs`},qDt=j({__name:`OAuthScopesInput`,props:{flow:{},updateScheme:{type:Function}},setup(e){let t=H(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),n=H(()=>e.flow?.selectedScopes||[]);function r(t,r){r?e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[...n.value,t]):e.updateScheme(`flows.${e.flow.type}.selectedScopes`,n.value.filter(e=>e!==t))}let i=H(()=>e.flow?.selectedScopes?.length===Object.keys(e.flow?.scopes??{}).length),a=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,Object.keys(e.flow?.scopes??{}))},o=()=>{e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[])};return(s,c)=>(N(),F(k(gF),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:A(()=>[I(`div`,VDt,[c[2]||=I(`div`,{class:`text-c-1 h-full items-center`},null,-1),V(k(Kh),{as:`div`,class:`bl flex w-full flex-col`},{default:A(()=>[V(k(qh),{class:E([`group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left`,(e.flow?.selectedScopes?.length||0)>0?`text-c-1`:`text-c-3`])},{default:A(({open:t})=>[I(`div`,HDt,` Scopes Selected `+D(e.flow?.selectedScopes?.length||0)+` / `+D(Object.keys(e.flow?.scopes??{}).length||0),1),I(`div`,UDt,[i.value?(N(),F(k(KS),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:$p(o,[`stop`])},{default:A(()=>[...c[0]||=[L(` Deselect All `,-1)]]),_:1})):R(``,!0),i.value?R(``,!0):(N(),F(k(KS),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:$p(a,[`stop`])},{default:A(()=>[...c[1]||=[L(` Select All `,-1)]]),_:1})),V(k(nM),{class:`text-c-3 group-hover/scopes-accordion:text-c-2`,icon:t?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])])]),_:1},8,[`class`]),V(k(Jh),{as:`template`},{default:A(()=>[I(`table`,WDt,[(N(!0),P(B,null,yd(t.value,({id:e,label:t,description:i})=>(N(),F(k(bF),{key:e,class:`text-c-2`,onClick:t=>r(e,!n.value.includes(e))},{default:A(()=>[V(k(gF),{class:`hover:text-c-1 box-border !max-h-[initial] w-full cursor-pointer px-3 py-1.5`},{default:A(()=>[i?(N(),P(`div`,GDt,[I(`span`,KDt,D(t),1),L(` – `+D(i),1)])):R(``,!0)]),_:2},1024),V(k(wF),{modelValue:n.value.includes(e),"onUpdate:modelValue":()=>{}},null,8,[`modelValue`])]),_:2},1032,[`onClick`]))),128))])]),_:1})]),_:1})])]),_:1}))}})})),YDt,XDt=c((()=>{JDt(),YDt=qDt})),ZDt,QDt,$Dt,eOt=c((()=>{dN(),tN(),xF(),BDt(),hDt(),XDt(),IDt(),U(),Y(),tP(),cv(),ZDt={class:`flex h-8 items-center justify-end border-t`},QDt={class:`flex h-8 w-full items-center justify-end border-t`},$Dt=j({__name:`OAuth2`,props:{collection:{},environment:{},envVariables:{},flow:{},persistAuth:{type:Boolean,default:!1},scheme:{},server:{},workspace:{}},emits:[`authorized`],setup(e,{emit:t}){let n=t,r=WS(),{toast:i}=QN(),a=eN(),o=lN(),s=(t,n)=>PF(e.scheme.uid,t,n,a,e.persistAuth),c=O(!1),l=H(()=>uN(o.value));nd(()=>`x-scalar-redirect-uri`in e.flow?e.flow[`x-scalar-redirect-uri`]:void 0,t=>{!(`x-scalar-redirect-uri`in e.flow)||c.value||t||l.value&&(c.value=!0,s(`flows.${e.flow.type}.x-scalar-redirect-uri`,l.value))},{immediate:!0});let u=async()=>{if(r.isActive||!e.collection?.uid)return;if(!e.server){i(`No server selected`,`error`);return}r.start();let[t,a]=await zDt(e.flow,e.server,e.workspace?.proxyUrl);await r.clear(),a?(s(`flows.${e.flow.type}.token`,a),n(`authorized`)):(console.error(t),i(t?.message??`Failed to authorize`,`error`))},d={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace};return(t,n)=>(N(),P(B,null,[e.flow.token?(N(),P(B,{key:0},[V(k(bF),null,{default:A(()=>[V(LF,z(d,{class:`border-r-transparent`,modelValue:e.flow.token,placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":n[0]||=t=>s(`flows.${e.flow.type}.token`,t)}),{default:A(()=>[...n[10]||=[L(` Access Token `,-1)]]),_:1},16,[`modelValue`])]),_:1}),V(k(bF),{class:`min-w-full`},{default:A(()=>[I(`div`,ZDt,[V(k(KS),{class:`mr-1 p-0 px-2 py-0.5`,loader:k(r),size:`sm`,variant:`outlined`,onClick:n[1]||=t=>s(`flows.${e.flow.type}.token`,``)},{default:A(()=>[...n[11]||=[L(` Clear `,-1)]]),_:1},8,[`loader`]),M(t.$slots,`oauth-actions`)])]),_:3})],64)):(N(),P(B,{key:1},[V(k(bF),null,{default:A(()=>[`authorizationUrl`in e.flow?(N(),F(LF,z({key:0},d,{containerClass:`border-r-0`,modelValue:e.flow.authorizationUrl,placeholder:`https://galaxy.scalar.com/authorize`,"onUpdate:modelValue":n[2]||=t=>s(`flows.${e.flow.type}.authorizationUrl`,t)}),{default:A(()=>[...n[12]||=[L(` Auth URL `,-1)]]),_:1},16,[`modelValue`])):R(``,!0),`tokenUrl`in e.flow?(N(),F(LF,z({key:1},d,{modelValue:e.flow.tokenUrl,placeholder:`https://galaxy.scalar.com/token`,"onUpdate:modelValue":n[3]||=t=>s(`flows.${e.flow.type}.tokenUrl`,t)}),{default:A(()=>[...n[13]||=[L(` Token URL `,-1)]]),_:1},16,[`modelValue`])):R(``,!0)]),_:1}),`x-scalar-redirect-uri`in e.flow?(N(),F(k(bF),{key:0},{default:A(()=>[V(LF,z(d,{modelValue:e.flow[`x-scalar-redirect-uri`],placeholder:`https://galaxy.scalar.com/callback`,"onUpdate:modelValue":n[4]||=t=>s(`flows.${e.flow.type}.x-scalar-redirect-uri`,t)}),{default:A(()=>[...n[14]||=[L(` Redirect URL `,-1)]]),_:1},16,[`modelValue`])]),_:1})):R(``,!0),e.flow.type===`password`?(N(),P(B,{key:1},[V(k(bF),null,{default:A(()=>[V(LF,z(d,{class:`text-c-2`,modelValue:e.flow.username,placeholder:`janedoe`,"onUpdate:modelValue":n[5]||=t=>s(`flows.${e.flow.type}.username`,t)}),{default:A(()=>[...n[15]||=[L(` Username `,-1)]]),_:1},16,[`modelValue`])]),_:1}),V(k(bF),null,{default:A(()=>[V(LF,z(d,{modelValue:e.flow.password,placeholder:`********`,type:`password`,"onUpdate:modelValue":n[6]||=t=>s(`flows.${e.flow.type}.password`,t)}),{default:A(()=>[...n[16]||=[L(` Password `,-1)]]),_:1},16,[`modelValue`])]),_:1})],64)):R(``,!0),V(k(bF),null,{default:A(()=>[V(LF,z(d,{modelValue:e.flow[`x-scalar-client-id`],placeholder:`12345`,"onUpdate:modelValue":n[7]||=t=>s(`flows.${e.flow.type}.x-scalar-client-id`,t)}),{default:A(()=>[...n[17]||=[L(` Client ID `,-1)]]),_:1},16,[`modelValue`])]),_:1}),`clientSecret`in e.flow?(N(),F(k(bF),{key:2},{default:A(()=>[V(LF,z(d,{modelValue:e.flow.clientSecret,placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":n[8]||=t=>s(`flows.${e.flow.type}.clientSecret`,t)}),{default:A(()=>[...n[18]||=[L(` Client Secret `,-1)]]),_:1},16,[`modelValue`])]),_:1})):R(``,!0),`x-usePkce`in e.flow?(N(),F(k(bF),{key:3},{default:A(()=>[V(LF,z(d,{enum:k(Zg),modelValue:e.flow[`x-usePkce`],readOnly:``,"onUpdate:modelValue":n[9]||=t=>s(`flows.${e.flow.type}.x-usePkce`,t)}),{default:A(()=>[...n[19]||=[L(` Use PKCE `,-1)]]),_:1},16,[`enum`,`modelValue`])]),_:1})):R(``,!0),Object.keys(e.flow.scopes??{}).length?(N(),F(k(bF),{key:4},{default:A(()=>[V(YDt,{flow:e.flow,updateScheme:s},null,8,[`flow`])]),_:1})):R(``,!0)],64)),e.flow.token?R(``,!0):(N(),F(k(bF),{key:2,class:`min-w-full`},{default:A(()=>[I(`div`,QDt,[V(k(KS),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:k(r),size:`sm`,variant:`outlined`,onClick:u},{default:A(()=>[...n[20]||=[L(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1}))],64))}})})),tOt,nOt=c((()=>{eOt(),tOt=$Dt})),rOt,iOt,aOt,oOt,sOt,cOt,lOt=c((()=>{tN(),_F(),xF(),hDt(),_Dt(),IDt(),nOt(),U(),Y(),rOt={class:`bg-b-1 text-c-2 outline-b-3 top-0 z-1 h-full w-full overflow-hidden px-3 py-1.25 text-ellipsis group-hover/auth:absolute group-hover/auth:h-auto group-hover/auth:border-b *:first:line-clamp-1 *:first:text-ellipsis group-hover/auth:*:first:line-clamp-none`},iOt={key:0,class:`flex min-h-8 border-t text-base`},aOt={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},oOt=[`onClick`],sOt={class:`relative z-10`},cOt=j({__name:`RequestAuthTab`,props:{collection:{},environment:{},envVariables:{},layout:{},persistAuth:{type:Boolean,default:!1},securitySchemeUids:{},server:{},workspace:{}},emits:[`authorized`],setup(e,{emit:t}){let n=t,r=eN(),{securitySchemes:i}=r,a=H(()=>e.securitySchemeUids.map(e=>({scheme:i[e]}))),o=O(``),s=e=>{let t=e.description?`: ${e.description}`:``,n=`${Sl(e.nameKey)}${t||`: ${e.type}`}`;if(e.type===`apiKey`)return`${Sl(e.nameKey)}${t||`: ${e.in}`}`;if(e.type===`oauth2`){let n=Object.values(e.flows??{})[0];return`${Sl(e.nameKey)}: ${o.value?o.value:n?.type??``}${t}`}return e.type===`http`?`${Sl(e.nameKey)}: ${e.scheme}${t}`:`${n}${t}`},c=(t,n,i)=>{PF(t,n,i,r,e.persistAuth)};Af(()=>{e.persistAuth&&gDt(r,e.collection.uid)});let l={environment:e.environment,envVariables:e.envVariables,workspace:e.workspace};return(t,r)=>(N(!0),P(B,null,yd(a.value,({scheme:i})=>(N(),P(B,{key:i?.uid},[a.value.length>1&&i?(N(),F(k(bF),{key:0},{default:A(()=>[V(k(gF),{"aria-label":s(i),class:`text-c-2 group/auth flex items-center leading-[22px] whitespace-nowrap outline-none hover:whitespace-normal`},{default:A(()=>[I(`p`,rOt,D(s(i)),1)]),_:2},1032,[`aria-label`])]),_:2},1024)):R(``,!0),i?.description&&a.value.length<=1?(N(),F(k(bF),{key:1},{default:A(()=>[V(k(gF),{"aria-label":i.description,class:`max-h-[auto]`},{default:A(()=>[V(k(vM),{class:`auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25`,value:i.description},null,8,[`value`])]),_:2},1032,[`aria-label`])]),_:2},1024)):R(``,!0),i?.type===`http`?(N(),P(B,{key:2},[i.scheme===`bearer`?(N(),F(k(bF),{key:0},{default:A(()=>[V(LF,z({ref_for:!0},l,{containerClass:e.layout===`reference`&&`border-t`,modelValue:i.token,placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>c(i.uid,`token`,e)}),{default:A(()=>[...r[1]||=[L(` Bearer Token `,-1)]]),_:1},16,[`containerClass`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):i?.scheme===`basic`?(N(),P(B,{key:1},[V(k(bF),null,{default:A(()=>[V(LF,z({ref_for:!0},l,{class:`text-c-2`,modelValue:i.username,placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>c(i.uid,`username`,e)}),{default:A(()=>[...r[2]||=[L(` Username `,-1)]]),_:1},16,[`modelValue`,`onUpdate:modelValue`])]),_:2},1024),V(k(bF),null,{default:A(()=>[V(LF,z({ref_for:!0},l,{modelValue:i.password,placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>c(i.uid,`password`,e)}),{default:A(()=>[...r[3]||=[L(` Password `,-1)]]),_:1},16,[`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):R(``,!0)],64)):i?.type===`apiKey`?(N(),P(B,{key:3},[V(k(bF),null,{default:A(()=>[V(LF,z({ref_for:!0},l,{containerClass:e.layout===`reference`&&`border-t`,modelValue:i.name,placeholder:`api-key`,"onUpdate:modelValue":e=>c(i.uid,`name`,e)}),{default:A(()=>[...r[4]||=[L(` Name `,-1)]]),_:1},16,[`containerClass`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),V(k(bF),null,{default:A(()=>[V(LF,z({ref_for:!0},l,{modelValue:i.value,placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>c(i.uid,`value`,e)}),{default:A(()=>[...r[5]||=[L(` Value `,-1)]]),_:1},16,[`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):i?.type===`oauth2`?(N(),P(B,{key:4},[V(k(bF),null,{default:A(()=>[Object.keys(i.flows).length>1?(N(),P(`div`,iOt,[I(`div`,aOt,[(N(!0),P(B,null,yd(i?.flows,(t,n,r)=>(N(),P(`button`,{key:n,class:E([`floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-base font-medium`,{"!text-c-1 !rounded-none border-b-[1px] !border-current":e.layout!==`reference`&&(o.value===n||r===0&&!o.value),"!text-c-1 !rounded-none border-b-[1px] !border-current opacity-100":e.layout===`reference`&&(o.value===n||r===0&&!o.value)}]),type:`button`,onClick:e=>o.value=n},[I(`span`,sOt,D(n),1)],10,oOt))),128))])])):R(``,!0)]),_:2},1024),(N(!0),P(B,null,yd(i?.flows,(a,s,c)=>(N(),P(B,{key:s},[o.value===s||c===0&&!o.value?(N(),F(tOt,z({key:0,ref_for:!0},l,{collection:e.collection,flow:a,persistAuth:e.persistAuth,scheme:i,server:e.server,workspace:e.workspace,onAuthorized:r[0]||=e=>n(`authorized`)}),{"oauth-actions":A(()=>[M(t.$slots,`oauth-actions`)]),_:3},16,[`collection`,`flow`,`persistAuth`,`scheme`,`server`,`workspace`])):R(``,!0)],64))),128))],64)):i?.type===`openIdConnect`?(N(),P(`div`,{key:5,class:E([`text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-base`,{"rounded-b-lg":e.layout===`reference`}])},` Coming soon `,2)):R(``,!0)],64))),128))}})})),uOt,dOt=c((()=>{lOt(),uOt=cOt})),fOt,pOt,mOt,hOt,gOt=c((()=>{tN(),hF(),mDt(),dOt(),U(),Y(),f_(),fOt=[`onClick`],pOt={class:`relative z-10 font-medium whitespace-nowrap`},mOt={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`},hOt=j({__name:`RequestAuthDataTable`,props:{collection:{},environment:{},envVariables:{},layout:{default:`client`},persistAuth:{type:Boolean,default:!1},selectedSchemeOptions:{default:()=>[]},server:{},workspace:{}},emits:[`authorized`,`activeSchemes`],setup(e,{emit:t}){let n=t,{securitySchemes:r}=eN(),i=EM(),a=O(null),o=O(0),s=H(()=>{if(!e.selectedSchemeOptions||e.selectedSchemeOptions.length===0)return[];let t=e.selectedSchemeOptions[o.value];if(!t)return[];let n=t.id.split(`,`).filter(Boolean);return n.length>1?n:[t.id]});nd(s,e=>{n(`activeSchemes`,e.map(e=>r[e]).filter(d_))},{immediate:!0});let c=H(()=>s.value.length>0);return nd(()=>e.selectedSchemeOptions,e=>{(!e||!e[o.value])&&(o.value=Math.max(0,o.value-1))}),(t,r)=>(N(),P(`form`,{onSubmit:r[2]||=$p(()=>{},[`prevent`])},[e.selectedSchemeOptions.length>1?(N(),P(`div`,{key:0,class:E([`box-content flex flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3`,e.layout===`client`&&`border-x-0`])},[(N(!0),P(B,null,yd(e.selectedSchemeOptions,(e,t)=>(N(),P(`div`,{key:e.id,class:E([`relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer`,[o.value===t?`text-c-1`:`text-c-3`]])},[I(`button`,{class:`floating-bg relative cursor-pointer border-b-[1px] border-transparent py-1 text-sm font-medium`,type:`button`,onClick:e=>o.value=t},[I(`span`,pOt,D(e.label),1)],8,fOt),o.value===t?(N(),P(`div`,mOt)):R(``,!0)],2))),128))],2)):R(``,!0),c.value?(N(),F(k(mF),{key:1,class:E([`flex-1`,e.layout===`reference`&&`bg-b-1 rounded-b-lg border border-t-0`]),columns:[``],presentational:``},{default:A(()=>[V(uOt,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,layout:e.layout,persistAuth:e.persistAuth,securitySchemeUids:s.value,server:e.server,workspace:e.workspace,onAuthorized:r[0]||=e=>n(`authorized`)},{"oauth-actions":A(()=>[M(t.$slots,`oauth-actions`,{},void 0,!0)]),_:3},8,[`collection`,`envVariables`,`environment`,`layout`,`persistAuth`,`securitySchemeUids`,`server`,`workspace`])]),_:3},8,[`class`])):(N(),P(`div`,{key:2,class:E([`text-c-3 bg-b-1 flex min-h-16 items-center justify-center border-t px-4 text-sm`,e.layout===`reference`&&`min-h-[calc(4rem+0.5px)] rounded-b-lg border`])},` No authentication selected `,2)),V(NF,{scheme:a.value,state:k(i),onClose:r[1]||=e=>k(i).hide()},null,8,[`scheme`,`state`])],32))}})})),_Ot,vOt=c((()=>{Mg(),gOt(),_Ot=jg(hOt,[[`__scopeId`,`data-v-0bb98074`]])})),yOt,bOt,xOt,SOt,COt=c((()=>{tN(),CF(),lDt(),mDt(),vOt(),U(),Y(),Rx(),Rg(),EC(),yOt=[`id`],bOt={class:`flex flex-1`},xOt={class:`min-w-0 flex-1 truncate`},SOt=j({__name:`RequestAuth`,props:{collection:{},isReadOnly:{type:Boolean,default:!1},environment:{},envVariables:{},layout:{},operation:{},persistAuth:{type:Boolean,default:!1},selectedSecuritySchemeUids:{},server:{},title:{},workspace:{}},emits:[`authorized`,`activeSchemes`],setup(e,{emit:t}){let n=t,{securitySchemes:r,securitySchemeMutators:i,requestMutators:a,collectionMutators:o}=eN(),s=ud(),c=O(null),l=EM(),u=O(null),d=O(!1),f=H(()=>{let t=sDt(e.operation,e.collection);return{filteredRequirements:t.filter(e=>Object.keys(e).length),requirements:t}}),p=H(()=>{let{filteredRequirements:e,requirements:t}=f.value;if(!t.length)return null;let n=!t.some(e=>Object.keys(e).length>1)&&e.length<t.length;return{icon:n?`Unlock`:`Lock`,text:n?`Optional`:`Required`}}),m=H(()=>e.selectedSecuritySchemeUids.map(e=>{if(Array.isArray(e))return MF(e,r);let t=r[e??``];if(t)return jF(t)}).filter(d_));function h(t){let n=t.find(e=>e.payload),r=t.filter(e=>!e.payload).map(({id:e})=>{let t=e.split(`,`);return t.length>1?t:e});if(n?.payload){let t=i.add(n.payload,e.collection?.uid);t&&r.push(t.uid)}g(r)}let g=t=>{if(e.collection.useCollectionSecurity){if(o.edit(e.collection.uid,`selectedSecuritySchemeUids`,t),!e.persistAuth)return;let n=t.map(e=>Array.isArray(e)?e.map(e=>r[e]?.nameKey):r[e]?.nameKey);Lg().setItem(Ig.SELECTED_SECURITY_SCHEMES,JSON.stringify(n))}else e.operation?.uid&&a.edit(e.operation.uid,`selectedSecuritySchemeUids`,t)};function _({id:e,label:t}){u.value={id:e,label:t},l.show()}let v=t=>{t&&(g(e.selectedSecuritySchemeUids.filter(e=>{let n=t.split(`,`);return n.length>1&&Array.isArray(e)&&n.length===e.length?e.every(e=>!n.includes(e)):e!==t})),c.value?.$el.focus(),l.hide())},y=H(()=>cDt(f.value.filteredRequirements,e.collection?.securitySchemes??[],r,e.isReadOnly)),b=e=>{d.value&&e.stopPropagation(),c.value?.$el.click()};return(t,r)=>(N(),F(SF,{class:`group/params relative`,itemCount:m.value.length,layout:e.layout,"onUpdate:modelValue":r[4]||=e=>d.value=e},{title:A(()=>[I(`div`,{id:k(s),class:`inline-flex items-center gap-0.5 leading-[20px]`},[I(`span`,null,D(e.title),1),p.value?(N(),P(`span`,{key:0,class:E([`text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]`,{"text-c-1":p.value.text===`Required`}]),onClick:b},D(p.value.text),3)):R(``,!0)],8,yOt)]),actions:A(()=>[I(`div`,bOt,[V(k(Pj),{class:`w-72 text-xs`,modelValue:m.value,multiple:``,options:y.value,placement:`bottom-end`,teleport:``,onDelete:_,"onUpdate:modelValue":h},{option:A(({option:t,selected:n})=>[V(k(Dj),{multiselect:``,selected:n},null,8,[`selected`]),I(`div`,xOt,D(t.label),1),t.isDeletable??!e.isReadOnly?(N(),F(k(hM),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:k(SC),label:`Delete ${t.label}`,size:`xs`,onClick:$p(e=>_(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])):R(``,!0)]),default:A(()=>[V(k(KS),{ref_key:`comboboxButtonRef`,ref:c,"aria-describedby":k(s),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 transition-transform`,variant:`ghost`},{default:A(()=>[m.value.length===1?(N(),P(B,{key:0},[r[5]||=I(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),L(` `+D(m.value[0]?.label),1)],64)):m.value.length>1?(N(),P(B,{key:1},[r[6]||=L(` Multiple `,-1),r[7]||=I(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(N(),P(B,{key:2},[r[8]||=I(`span`,{class:`sr-only`},`Select`,-1),r[9]||=L(` Auth Type `,-1)],64)),V(k(oC),{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:A(()=>[V(_Ot,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,layout:e.layout,persistAuth:e.persistAuth,selectedSchemeOptions:m.value,server:e.server,workspace:e.workspace,onActiveSchemes:r[0]||=e=>n(`activeSchemes`,e),onAuthorized:r[1]||=e=>n(`authorized`)},{"oauth-actions":A(()=>[M(t.$slots,`oauth-actions`,{},void 0,!0)]),_:3},8,[`collection`,`envVariables`,`environment`,`layout`,`persistAuth`,`selectedSchemeOptions`,`server`,`workspace`]),V(NF,{scheme:u.value,state:k(l),onClose:r[2]||=e=>k(l).hide(),onDelete:r[3]||=e=>v(u.value?.id)},null,8,[`scheme`,`state`])]),_:3},8,[`itemCount`,`layout`]))}})})),VF,wOt=c((()=>{Mg(),COt(),VF=jg(SOt,[[`__scopeId`,`data-v-3f1067a4`]])})),HF,UF=c((()=>{HF=e=>Object.entries(e)})),WF,GF,TOt=c((()=>{UF(),WF={c:[`libcurl`],clojure:[`clj_http`],csharp:[`httpclient`,`restsharp`],dart:[`http`],fsharp:[`httpclient`],go:[`native`],http:[`http1.1`],java:[`asynchttp`,`nethttp`,`okhttp`,`unirest`],js:[`axios`,`fetch`,`jquery`,`ofetch`,`xhr`],kotlin:[`okhttp`],node:[`axios`,`fetch`,`ofetch`,`undici`],objc:[`nsurlsession`],ocaml:[`cohttp`],php:[`curl`,`guzzle`],powershell:[`restmethod`,`webrequest`],python:[`python3`,`requests`,`httpx_sync`,`httpx_async`],r:[`httr`],ruby:[`native`],rust:[`reqwest`],shell:[`curl`,`httpie`,`wget`],swift:[`nsurlsession`]},GF=HF(WF).flatMap(([e,t])=>t.map(t=>`${e}/${t}`))})),KF=c((()=>{TOt()})),qF,JF,YF,XF=c((()=>{qF=``,JF=`
|
||
`,YF=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=qF,this.lineJoin=JF,this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{let n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{let n=this.indentLine(e,t);this.code.push(n)},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||qF,this.lineJoin=t??JF}}}));function ZF(e,t={}){let{delimiter:n=`"`,escapeChar:r=`\\`,escapeNewlines:i=!0}=t;return[...e.toString()].map(e=>e===`\b`?`${r}b`:e===` `?`${r}t`:e===`
|
||
`?i?`${r}n`:e:e===`\f`?`${r}f`:e===`\r`?i?`${r}r`:e:e===r?r+r:e===n?r+n:e<` `||e>`~`?JSON.stringify(e).slice(1,-1):e).join(``)}var QF,$F,eI=c((()=>{QF=e=>ZF(e,{delimiter:`'`}),$F=e=>ZF(e,{delimiter:`"`})})),EOt,DOt=c((()=>{XF(),eI(),EOt={info:{key:`libcurl`,title:`Libcurl`,link:`http://curl.haxx.se/libcurl`,description:`Simple REST and HTTP API Client for C`},convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:i})=>{let{push:a,blank:o,join:s}=new YF({indent:` `});a(`CURL *hnd = curl_easy_init();`),o(),a(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),a(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);let c=Object.keys(n);return c.length&&(o(),a(`struct curl_slist *headers = NULL;`),c.forEach(e=>{n[e]?a(`headers = curl_slist_append(headers, "${e}: ${$F(n[e])}");`):a(`headers = curl_slist_append(headers, "${e};");`)}),a(`curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);`)),r.cookie&&(o(),a(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),i!=null&&(o(),i.text?a(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(i.text)});`):i.mimeType===`application/x-www-form-urlencoded`&&i.params?a(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "${i.params.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`)}");`):i.mimeType===`multipart/form-data`&&i.params&&(a(`curl_mime *mime = curl_mime_init(hnd);`),i.params.forEach(e=>{o(),a(`{`),a(`curl_mimepart *part = curl_mime_addpart(mime);`,1),e.name&&a(`curl_mime_name(part, "${e.name}");`,1),e.fileName?a(`curl_mime_filedata(part, "${e.fileName}");`,1):e.value&&a(`curl_mime_data(part, "${$F(e.value)}", CURL_ZERO_TERMINATED);`,1),a(`}`)}),o(),a(`curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime);`))),o(),a(`CURLcode ret = curl_easy_perform(hnd);`),s()}}}));function OOt(e){return{...e,method:(e.method||`GET`).toUpperCase()}}function tI(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join(`&`)}`:``}function nI(e=[]){return e.reduce((e,{name:t,value:n})=>(rI(e,t,n),e),{})}function kOt(e,t){return`${e}${t}`}function AOt(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `)),t}var rI,iI=c((()=>{rI=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]}}));function aI(e,t){let n=new URL(t?.url??``),r=n.pathname===`/`?n.origin:n.toString(),i={method:t?.method??`GET`,url:r,httpVersion:`HTTP/1.1`,cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},a=(i?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),o=nI(i.queryString),s=(i.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),c=new URL(i.url),l={protocol:c.protocol,hostname:c.hostname,host:c.hostname,port:c.port,pathname:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,path:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password,searchParams:c.searchParams,username:c.username,toString:c.toString,toJSON:()=>c.toJSON()},u={url:i.url,uriObj:l,method:i.method?.toLocaleUpperCase()??`GET`,httpVersion:i.httpVersion,cookies:i.cookies??[],headers:i.headers??[],headersSize:i.headersSize??0,headersObj:a??{},bodySize:i.bodySize??0,queryString:i.queryString??[],postData:i.postData?{mimeType:i.postData.mimeType??`application/json`,text:i.postData.text??``,params:i.postData.params??[],paramsObj:i.postData.params?.reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:a??{},fullUrl:i.url,queryObj:o??{},cookiesObj:s??{}};if(u.postData?.mimeType===`application/json`&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error(`Error parsing JSON:`,e)}return typeof e.convert==`function`?e.convert(u):``}var oI=c((()=>{iI()})),jOt,MOt=c((()=>{DOt(),oI(),jOt={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e){return aI(EOt,e)}}})),NOt=c((()=>{MOt()})),sI,cI,lI,uI=c((()=>{sI=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),cI=(e,t)=>{let n=sI(e,t);if(n)return e[n]},lI=(e,t)=>!!sI(e,t)})),dI,POt,fI,pI,mI,hI,gI,FOt,IOt=c((()=>{XF(),uI(),dI=class{name;toString;constructor(e){this.name=``,this.toString=()=>`:${this.name}`,this.name=e}},POt=class{path;toString;constructor(e){this.path=``,this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}},fI=e=>e===void 0?null:e===null?`null`:e.constructor.name.toLowerCase(),pI=e=>fI(e)===`object`?Object.keys(e).length===0:!1,mI=e=>(Object.keys(e).filter(t=>pI(e[t])).forEach(t=>{delete e[t]}),e),hI=(e,t)=>{let n=` `.repeat(e);return t.replace(/\n/g,`\n${n}`)},gI=e=>{switch(fI(e)){case`string`:return`"${e.replace(/"/g,`\\"`)}"`;case`file`:return e.toString();case`keyword`:return e.toString();case`null`:return`nil`;case`regexp`:return`#"${e.source}"`;case`object`:return`{${hI(1,Object.keys(e).reduce((t,n)=>`${t}:${n} ${hI(n.length+2,gI(e[n]))}\n `,``).trim())}}`;case`array`:return`[${hI(1,e.reduce((e,t)=>`${e} ${gI(t)}`,``).trim())}]`;default:return e.toString()}},FOt={info:{key:`clj_http`,title:`clj-http`,link:`https://github.com/dakrone/clj-http`,description:`An idiomatic clojure http client wrapping the apache client.`},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:i},a)=>{let{push:o,join:s}=new YF({indent:a?.indent});if(t=t.toLowerCase(),![`get`,`post`,`put`,`delete`,`patch`,`head`,`options`].includes(t))return o(`Method not supported`),s();let c={headers:i,"query-params":e};switch(e&&Object.keys(e).length>0&&(r=r.split(`?`)[0]),n?.mimeType){case`application/json`:{c[`content-type`]=new dI(`json`),c[`form-params`]=n.jsonObj;let e=sI(c.headers,`content-type`);e&&delete c.headers[e]}break;case`application/x-www-form-urlencoded`:{c[`form-params`]=n.paramsObj;let e=sI(c.headers,`content-type`);e&&delete c.headers[e]}break;case`text/plain`:{c.body=n.text;let e=sI(c.headers,`content-type`);e&&delete c.headers[e]}break;case`multipart/form-data`:if(n?.params){c.multipart=n.params.map(e=>e.fileName&&!e.value?{name:e.name,content:new POt(e.fileName)}:{name:e.name,content:e.value});let e=sI(c.headers,`content-type`);e&&delete c.headers[e]}break}switch(cI(c.headers,`accept`)){case`application/json`:{c.accept=new dI(`json`);let e=sI(c.headers,`accept`);e&&delete c.headers[e]}break}if(o(`(require '[clj-http.client :as client])
|
||
`),pI(mI(c)))o(`(client/${t} "${r}")`);else{let e=hI(11+t.length+r.length,gI(mI(c)));o(`(client/${t} "${r}" ${e})`)}return s()}}})),LOt,ROt=c((()=>{IOt(),oI(),LOt={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e){return aI(FOt,e)}}})),zOt=c((()=>{ROt()}));function BOt(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}")`}}function VOt(e,t,n){let r=t.headers||[],i=t.cookies||[],a=r.find(e=>e.name.toLowerCase()===`authorization`);if(a){let[t,n]=a.value.split(` `,2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=DN(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;t.toLowerCase()!==`authorization`&&o.set(t,n)}for(let[n,r]of o)if(n.toLowerCase()===`accept`&&UOt(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else if(n.toLowerCase()===`content-type`&&t.postData)continue;else e.push(`request.Headers.TryAddWithoutValidation("${n}", "${r}");`);if(i.length>0){let t=i.map(e=>`${e.name}=${e.value}`).join(`; `);e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}function HOt(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:i}=t.postData;if(n===`application/json`&&r)try{let t=JSON.parse(r),n=_I(JSON.stringify(t,null,2));e.push(`request.Content = new StringContent(`),e.push(`${n},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}catch{let t=_I(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}else if(n===`application/x-www-form-urlencoded`&&i){let t=i.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 i)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 i)e.push(` ["${t.name}"] = "${t.value}",`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}}else if(n===`multipart/form-data`&&i){e.push(`var content = new MultipartFormDataContent();`);let t=0;for(let n of i)if(n.fileName!==void 0)if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${vI(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${vI(n.name)}", "${vI(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${vI(n.fileName)}")), "${vI(n.name)}", "${vI(n.fileName)}");`);else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${vI(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${vI(n.name)}");`)}else e.push(`content.Add(new StringContent("${vI(n.value??``)}"), "${vI(n.name)}");`);e.push(`request.Content = content;`)}else if(n===`application/octet-stream`&&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=_I(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function _I(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function vI(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function UOt(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 WOt,GOt=c((()=>{ON(),iI(),WOt={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=tI(n.queryString),i=`${n.url}${r}`,a=[];a.push(`using var client = new HttpClient();`),a.push(``);let o=BOt(n.method);return a.push(`var request = new HttpRequestMessage(${o}, "${i}");`),VOt(a,n,t),HOt(a,n),a.push(``),a.push(`using var response = await client.SendAsync(request);`),a.join(`
|
||
`)}}})),KOt=c((()=>{GOt()})),qOt,JOt=c((()=>{XF(),eI(),uI(),qOt={info:{key:`restsharp`,title:`RestSharp`,link:`http://restsharp.org/`,description:`Simple REST and HTTP API Client for .NET`},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:i,postData:a})=>{let{push:o,join:s}=new YF;return[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t.toUpperCase())?(o(`var client = new RestClient("${n}");`),o(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach(e=>{o(`request.AddHeader("${e}", "${$F(r[e])}");`)}),i?.forEach(({name:e,value:t})=>{o(`request.AddCookie("${e}", "${t}");`)}),a?.text&&o(`request.AddParameter("${cI(e,`content-type`)}", ${JSON.stringify(a.text)}, ParameterType.RequestBody);`),o(`IRestResponse response = client.Execute(request);`),s()):`Method not supported`}}})),YOt,XOt=c((()=>{JOt(),oI(),YOt={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e){return aI(qOt,e)}}})),ZOt=c((()=>{XOt()})),QOt,$Ot=c((()=>{QOt={target:`dart`,client:`http`,title:`Http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http;
|
||
|
||
void main() async {
|
||
`,i=``,a=``;n.cookies&&n.cookies.length>0&&(a=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),i=` "Cookie": "${a}",\n`);let o=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;e&&n&&(o.Authorization=`'Basic ' + base64Encode(utf8.encode('${`${e}:${n}`}'))`)}if(i&&(o.Cookie=a),Object.keys(o).length>0){r+=` final headers = <String,String>{
|
||
`;for(let[e,t]of Object.entries(o))t.includes(`utf8.encode`)?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`;r+=` };
|
||
|
||
`}let s=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,c=`${n.url}${s}`,l=``;if(n.postData)if(n.postData.mimeType===`application/json`)l=` final body = r'${n.postData.text}';\n\n`;else if(n.postData.mimeType===`application/x-www-form-urlencoded`)l=` final body = '${n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`)||``}';\n\n`;else if(n.postData.mimeType===`multipart/form-data`){l=` final body = <String,String>{
|
||
`;for(let e of n.postData.params||[]){let t=e.value||``,n=e.fileName||``;l+=` '${e.name}': '${n||t}',\n`}l+=` };
|
||
|
||
`}else n.postData.mimeType===`application/octet-stream`&&(l=` final body = '${n.postData.text}';\n\n`);l&&(r+=l);let u=n.method.toLowerCase(),d=Object.keys(o).length>0?`, headers: headers`:``;return r+=` final response = await http.${u}(Uri.parse('${c}')${d}${l?`, body: body`:``});\n`,r+=` print(response.body);
|
||
`,r+=`}`,r}}})),ekt=c((()=>{$Ot()}));function tkt(e){return!e||e.length===0?``:`?`+e.map(e=>`${e.name}=${e.value}`).join(`&`)}function nkt(e,t){return e?!t||t.length===0?e:e+tkt(t):``}function rkt(e,t){return`let httpRequestMessage = new HttpRequestMessage(
|
||
HttpMethod("${e}"),
|
||
new Uri("${yI(t)}")
|
||
)\n\n`}function ikt(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${yI(n.name??``)}", "${yI(n.value??``)}")\n`;return t+=`
|
||
`,t}function akt(e,t){let n=`let cookieContainer = CookieContainer()
|
||
`;for(let r of e)n+=`cookieContainer.Add(Uri("${yI(t)}"), Cookie("${yI(r.name??``)}", "${yI(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
|
||
`,n+=`handler.CookieContainer <- cookieContainer
|
||
|
||
`,n}function okt(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=ckt(e);break;case`application/x-www-form-urlencoded`:t+=ukt(e);break;case`application/json`:t+=lkt(e);break;default:t+=skt(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content
|
||
|
||
`,t}function skt(e,t){let n=`let content = new StringContent("${yI(e.text??``)}", Encoding.UTF8, "${yI(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${yI(t??``)}")\n`,n}function ckt(e){let t=`let content = new MultipartFormDataContent()
|
||
`,n=0,r=0;for(let i of e.params)if(i.value===`BINARY`){let e=yI(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${yI(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++}else{let e=yI(i.name??``),n=yI(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${yI(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function lkt(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`}function ukt(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
|
||
`;for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${yI(n.name??``)}", "${yI(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
|
||
`,t}function yI(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var dkt,fkt=c((()=>{dkt={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=nkt(e.url,e.queryString),r=``;return r+=rkt(e.method,n),e.headers&&e.headers.length>0&&(r+=ikt(e.headers)),e.postData&&(r+=okt(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=akt(e.cookies,e.url),r+=`let client = new HttpClient(handler)
|
||
`):r+=`let client = new HttpClient()
|
||
`,r+=`let! result = client.SendAsync(httpRequestMessage)
|
||
`,r}}})),pkt=c((()=>{fkt()})),mkt,hkt=c((()=>{XF(),eI(),mkt={info:{key:`native`,title:`NewRequest`,link:`http://golang.org/pkg/net/http/#NewRequest`,description:`Golang HTTP client request`},convert:({postData:e,method:t,allHeaders:n,fullUrl:r},i={})=>{let{blank:a,push:o,join:s,addPostProcessor:c}=new YF({indent:` `}),{showBoilerplate:l=!0,checkErrors:u=!1,printBody:d=!0,timeout:f=-1,insecureSkipVerify:p=!1}=i,m=u?`err`:`_`,h=l?1:0,g=()=>{u&&(o(`if err != nil {`,h),o(`panic(err)`,h+1),o(`}`,h))},_=new Set;l&&(o(`package main`),a(),o(`import ()`),c(e=>{let t=[..._];t.sort();let n=t.map(e=>`\t"${e}"`).join(`
|
||
`);return e.replace(/import \(\)/,`import (\n${n}\n)`)}),_.add(`fmt`),_.add(`net/http`),a(),o(`func main() {`)),p&&(_.add(`crypto/tls`),o(`insecureTransport := http.DefaultTransport.(*http.Transport).Clone()`,h),o(`insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}`,h));let v=f>0,y=v||p,b=y?`client`:`http.DefaultClient`;return y&&(o(`client := http.Client{`,h),v&&(_.add(`time`),o(`Timeout: time.Duration(${f} * time.Second),`,h+1)),p&&o(`Transport: insecureTransport,`,h+1),o(`}`,h),a()),o(`url := "${r}"`,h),a(),e!=null&&(e.params||e.text)?e.mimeType===`application/x-www-form-urlencoded`&&e.params?(_.add(`net/url`),_.add(`strings`),o(`postData := url.Values{}`,h),e.params.forEach(e=>{o(`postData.Set("${e.name}", "${$F(e.value)}")`,h)}),a(),o(`req, ${m} := http.NewRequest("${t}", url, strings.NewReader(postData.Encode()))`,h)):e.mimeType===`multipart/form-data`&&e.params?(_.add(`bytes`),_.add(`mime/multipart`),o(`payload := &bytes.Buffer{}`,h),o(`writer := multipart.NewWriter(payload)`,h),e.params.forEach(e=>{a(),e.fileName?(o(`part, ${m} := writer.CreateFormFile("${e.name}", "${e.fileName}")`,h),g(),a(),o(`f, ${m} := os.Open("${e.fileName}")`,h),g(),o(`defer f.Close()`,h),a(),o(`_, ${m} = io.Copy(part, f)`,h),g()):(o(`${m} = writer.WriteField("${e.name}", "${$F(e.value)}")`,h),g())}),o(`writer.Close()`,h),a(),o(`req, ${m} := http.NewRequest("${t}", url, payload)`,h)):(_.add(`strings`),o(`payload := strings.NewReader(${JSON.stringify(e.text)})`,h),a(),o(`req, ${m} := http.NewRequest("${t}", url, payload)`,h)):o(`req, ${m} := http.NewRequest("${t}", url, nil)`,h),g(),a(),e!=null&&e.mimeType===`multipart/form-data`&&e.params&&o(`req.Header.Set("Content-Type", writer.FormDataContentType())`,h),Object.keys(n).length&&(Object.keys(n).forEach(e=>{o(`req.Header.Add("${e}", "${$F(n[e])}")`,h)}),a()),o(`res, ${m} := ${b}.Do(req)`,h),g(),d&&(_.add(`io`),a(),o(`defer res.Body.Close()`,h),o(`body, ${m} := io.ReadAll(res.Body)`,h),g()),a(),o(`fmt.Println(res)`,h),d&&o(`fmt.Println(string(body))`,h),l&&(a(),o(`}`)),s()}}})),gkt,_kt=c((()=>{hkt(),oI(),gkt={target:`go`,client:`native`,title:`NewRequest`,generate(e){return aI(mkt,e)}}})),vkt=c((()=>{_kt()})),ykt,bkt=c((()=>{ykt={target:`http`,client:`http1.1`,title:`HTTP/1.1`,generate(e){let t={method:`GET`,headers:[],queryString:[],...e};t.method=t.method.toUpperCase();let n,r;try{n=new URL(t.url||`http://`),r=n.pathname+(n.search||``)}catch{r=t.url||`/`}let i=n?.hostname||`UNKNOWN_HOSTNAME`,a=`${t.method} ${r} HTTP/1.1\r\n`;if(t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let o=new Map;if(o.set(`Host`,i),t.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)}),t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let s=``;if(t.postData){if(t.postData.mimeType===`application/json`&&t.postData.text)o.set(`Content-Type`,`application/json`),s=t.postData.text;else if(t.postData.mimeType===`application/octet-stream`&&t.postData.text)o.set(`Content-Type`,`application/octet-stream`),s=t.postData.text;else if(t.postData.mimeType===`application/x-www-form-urlencoded`&&t.postData.params){let e=t.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);o.set(`Content-Type`,`application/x-www-form-urlencoded`),s=e}else if(t.postData.mimeType===`multipart/form-data`&&t.postData.params){let e=`----WebKitFormBoundary7MA4YWxkTrZu0gW`;o.set(`Content-Type`,`multipart/form-data; boundary=${e}`),s=t.postData.params.map(t=>{let n=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${n}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n${n}\r\n${t.value??``}\r\n`}).join(``)+`--${e}--\r\n`}}return o.forEach((e,t)=>{a+=`${t}: ${e}\r\n`}),a+=`\r\n${s}`,a}}})),xkt=c((()=>{bkt()})),Skt,Ckt=c((()=>{XF(),eI(),Skt={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:n,fullUrl:r},i)=>{let{blank:a,push:o,join:s}=new YF({indent:{indent:` `,...i}.indent});return o(`AsyncHttpClient client = new DefaultAsyncHttpClient();`),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${$F(t[e])}")`,1)}),n?.text&&o(`.setBody(${JSON.stringify(n.text)})`,1),o(`.execute()`,1),o(`.toCompletableFuture()`,1),o(`.thenAccept(System.out::println)`,1),o(`.join();`,1),a(),o(`client.close();`),s()}}})),wkt,Tkt=c((()=>{Ckt(),oI(),wkt={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e){return aI(Skt,e)}}})),Ekt=c((()=>{Tkt()})),Dkt,Okt=c((()=>{XF(),eI(),Dkt={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:n,postData:r},i)=>{let{push:a,join:o}=new YF({indent:{indent:` `,...i}.indent});return a(`HttpRequest request = HttpRequest.newBuilder()`),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{a(`.header("${t}", "${$F(e[t])}")`,2)}),r?.text?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(`.build();`,2),a(`HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());`),a(`System.out.println(response.body());`),o()}}})),kkt,Akt=c((()=>{Okt(),oI(),kkt={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e){return aI(Dkt,e)}}})),jkt=c((()=>{Akt()})),Mkt,Nkt=c((()=>{XF(),eI(),Mkt={info:{key:`okhttp`,title:`OkHttp`,link:`http://square.github.io/okhttp/`,description:`An HTTP Request Client Library`},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},i)=>{let{push:a,blank:o,join:s}=new YF({indent:{indent:` `,...i}.indent});return a(`OkHttpClient client = new OkHttpClient();`),o(),e!=null&&(e.mimeType===`application/x-www-form-urlencoded`&&e.params?(a(`FormBody formBody = new FormBody.Builder()`),e.params.forEach(e=>{a(`.addEncoded("${e.name}", "${e.value}")`,1)}),a(`.build();`,1),o()):e.mimeType===`multipart/form-data`&&e.params?(a(`MultipartBody body = new MultipartBody.Builder()`),a(`.setType(MultipartBody.FORM)`,1),e.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a(`.addFormDataPart("${e.name}", "${e.value}")`,1):a(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1)}),a(`.build();`,1),o()):(a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),a(`Request request = new Request.Builder()`),a(`.url("${n}")`,1),[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(t.toUpperCase())?[`POST`,`PUT`,`DELETE`,`PATCH`].includes(t.toUpperCase())?e!=null&&(e.text||e.params)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):e?.text?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{a(`.addHeader("${e}", "${$F(r[e])}")`,1)}),a(`.build();`,1),o(),a(`Response response = client.newCall(request).execute();`),s()}}})),Pkt,Fkt=c((()=>{Nkt(),oI(),Pkt={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e){return aI(Mkt,e)}}})),Ikt=c((()=>{Fkt()})),Lkt,Rkt=c((()=>{XF(),eI(),Lkt={info:{key:`unirest`,title:`Unirest`,link:`http://unirest.io/java.html`,description:`Lightweight HTTP Request Client Library`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{join:a,push:o}=new YF({indent:{indent:` `,...i}.indent});return[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(e.toUpperCase())?o(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):o(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{o(`.header("${e}", "${$F(t[e])}")`,1)}),n?.text&&o(`.body(${JSON.stringify(n.text)})`,1),o(`.asString();`,1),a()}}})),zkt,Bkt=c((()=>{Rkt(),oI(),zkt={target:`java`,client:`unirest`,title:`Unirest`,generate(e){return aI(Lkt,e)}}})),Vkt=c((()=>{Bkt()}));function Hkt(e){return Ukt.call(e)===`[object RegExp]`}var Ukt,Wkt=c((()=>{({toString:Ukt}=Object.prototype)}));function Gkt(e){let t=typeof e;return e!==null&&(t===`object`||t===`function`)}var Kkt=c((()=>{}));function qkt(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>Jkt.call(e,t))]}var Jkt,Ykt=c((()=>{({propertyIsEnumerable:Jkt}=Object.prototype)}));function Xkt({includeGlobalProperties:e=!1}={}){return new Set([...Zkt,...e?Qkt:[]])}var Zkt,Qkt,$kt=c((()=>{Zkt=`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(`.`),Qkt=[`globalThis`,`Infinity`,`NaN`,`undefined`]}));function eAt({exact:e=!0}={}){return e?rAt:nAt}var tAt,bI,nAt,rAt,iAt=c((()=>{$kt(),tAt=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,bI=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...Xkt({includeGlobalProperties:!0})].join(`|`)})(?![$_\\p{ID_Continue}]))${tAt.source}`,nAt=new RegExp(bI,`u`),rAt=RegExp(`^${bI}$`,`u`)}));function aAt(e){let t=(...t)=>e(...t);return Object.defineProperty(t,`name`,{value:`functionTimeout(${e.name||`<anonymous>`})`,configurable:!0}),t}function oAt(){return!1}var sAt=c((()=>{})),cAt=l(((e,t)=>{t.exports=Worker}));function lAt(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout}}=t,o,s,c=new Promise((c,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(SI(e)),s=()=>{l(SI(e))},e.addEventListener(`abort`,s,{once:!0})}if(n===1/0){e.then(c,l);return}let u=new uAt;o=a.setTimeout.call(void 0,()=>{if(r){try{c(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?c():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n),(async()=>{try{c(await e)}catch(e){l(e)}})()}).finally(()=>{c.clear(),s&&t.signal&&t.signal.removeEventListener(`abort`,s)});return c.clear=()=>{a.clearTimeout.call(void 0,o),o=void 0},c}var uAt,dAt,xI,SI,fAt=c((()=>{uAt=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},dAt=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}},xI=e=>globalThis.DOMException===void 0?new dAt(e):new DOMException(e),SI=e=>{let t=e.reason===void 0?xI(`This operation was aborted.`):e.reason;return t instanceof Error?t:xI(t)}}));function pAt(e,t,n){let r,i=new Promise((i,a)=>{if(n={rejectionEvents:[`error`],multiArgs:!1,resolveImmediately:!1,...n},!(n.count>=0&&(n.count===1/0||Number.isInteger(n.count))))throw TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();let o=[t].flat(),s=[],{addListener:c,removeListener:l}=mAt(e),u=(...e)=>{let t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(s.push(t),n.count===s.length&&(r(),i(s)))},d=e=>{r(),a(e)};r=()=>{for(let e of o)l(e,u);for(let e of n.rejectionEvents)l(e,d)};for(let e of o)c(e,u);for(let e of n.rejectionEvents)c(e,d);n.signal&&n.signal.addEventListener(`abort`,()=>{d(n.signal.reason)},{once:!0}),n.resolveImmediately&&i(s)});if(i.cancel=r,typeof n.timeout==`number`){let e=lAt(i,{milliseconds:n.timeout});return e.cancel=r,e}return i}function CI(e,t,n){typeof n==`function`&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};let r=pAt(e,t,n),i=r.then(e=>e[0]);return i.cancel=r.cancel,i}var mAt,hAt=c((()=>{fAt(),mAt=e=>{let t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw TypeError(`Emitter is not compatible`);return{addListener:t.bind(e),removeListener:n.bind(e)}}}));function gAt(e){let t,n;return yAt?n=new wI.default(xAt(e),{type:`module`}):(t=URL.createObjectURL(bAt(e)),n=new wI.default(t,{type:`module`})),{worker:n,cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}function _At(e){let t=SAt(e),n=()=>gAt(t);async function r({worker:e,arguments_:t}){let n=CI(e,`message`,{rejectionEvents:[`error`,`messageerror`]});e.postMessage(t);let{data:{output:r,error:i}}=await n;if(i)throw i;return r}let i=async(...e)=>{let{worker:t,cleanup:i}=n();try{return await r({arguments_:e,worker:t})}finally{i()}};return i.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:i,cleanup:a}=n(),o=CI(e,[],{rejectionEvents:[`abort`]});try{return await Promise.race([r({arguments_:t,worker:i}),o])}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),a()}},i}function vAt(e){let t=CAt(e),n=()=>gAt(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=n();try{let n=!0;for(;;){let r=CI(t,`message`,{rejectionEvents:[`error`,`messageerror`]});t.postMessage(n?e:void 0),n=!1;let{data:{output:i,error:a}}=await r;if(a)throw a;let{value:o,done:s}=i;if(s)break;yield o}}finally{r()}}});return r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted();let{worker:r,cleanup:i}=n(),a=CI(e,[],{rejectionEvents:[`abort`]});try{let e=!0;for(;;){let n=Promise.race([CI(r,`message`,{rejectionEvents:[`error`,`messageerror`]}),a]);r.postMessage(e?t:void 0),e=!1;let{data:{output:i,error:o}}=await n;if(o)throw o;let{value:s,done:c}=i;if(c)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{a.cancel(),i()}}}),r}var wI,yAt,bAt,xAt,SAt,CAt,wAt=c((()=>{wI=f(cAt(),1),hAt(),yAt=!!globalThis.process?.versions?.node,bAt=e=>new globalThis.Blob([e],{type:`text/javascript`}),xAt=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString(`base64`)}`,SAt=e=>`
|
||
globalThis.onmessage = async ({data: arguments_}) => {
|
||
try {
|
||
const output = await (${e.toString()})(...arguments_);
|
||
globalThis.postMessage({output});
|
||
} catch (error) {
|
||
globalThis.postMessage({error});
|
||
}
|
||
};
|
||
`,CAt=e=>`
|
||
const nothing = Symbol('nothing');
|
||
let iterator = nothing;
|
||
|
||
globalThis.onmessage = async ({data: arguments_}) => {
|
||
try {
|
||
if (iterator === nothing) {
|
||
iterator = await (${e.toString()})(...arguments_);
|
||
}
|
||
|
||
const output = await iterator.next();
|
||
globalThis.postMessage({output});
|
||
} catch (error) {
|
||
globalThis.postMessage({error});
|
||
}
|
||
};
|
||
`}));function TAt(e,t,{timeout:n,throwOnTimeout:r}={}){try{return aAt(()=>structuredClone(e).test(t),{timeout:DAt(n),context:EAt})()}catch(e){if(oAt(e)&&!r)return!1;throw e}}var EAt,DAt,OAt=c((()=>{sAt(),wAt(),EAt={},DAt=e=>{if(e===void 0||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t},_At((e,t,n)=>new RegExp(e,t).test(n)),_At((e,t,n)=>{let r=new RegExp(e,t).exec(n);if(r!==null)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),vAt(function*(e,t,n){let r=new RegExp(e,t),i=n.matchAll(r);for(let e of i)yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}})}));function kAt(e){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:TAt(AAt,e,{timeout:1e3})}var AAt,jAt=c((()=>{iAt(),OAt(),AAt=eAt()}));function TI(e,t,n){let r=[];return(function e(t,n={},i=``){let a=n.indent||` `,o;o=n.inlineCharacterLimit===void 0?{newline:`
|
||
`,newlineOrSpace:`
|
||
`,pad:i,indent:i+a}:{newline:`@@__STRINGIFY_OBJECT_NEW_LINE__@@`,newlineOrSpace:`@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@`,pad:`@@__STRINGIFY_OBJECT_PAD__@@`,indent:`@@__STRINGIFY_OBJECT_INDENT__@@`};let s=e=>{if(n.inlineCharacterLimit===void 0)return e;let t=e.replaceAll(o.newline,``).replaceAll(o.newlineOrSpace,` `).replaceAll(o.pad,``).replaceAll(o.indent,``);return t.length<=n.inlineCharacterLimit?t:e.replaceAll(o.newline,`
|
||
`).replaceAll(o.newlineOrSpace,`
|
||
`).replaceAll(o.pad,i).replaceAll(o.indent,i+a)};if(r.includes(t))return`"[Circular]"`;let c=typeof t;if(t==null||c===`number`||c===`boolean`||c===`function`||Hkt(t))return String(t);if(c===`bigint`)return String(t)+`n`;if(c===`symbol`){let{description:r}=t;if(r===void 0)return`Symbol()`;if(r?.startsWith(`Symbol.`)&&Symbol[r.slice(7)]===t)return r;let i=Symbol.keyFor(t);return i===void 0?`Symbol(${e(r,n)})`:`Symbol.for(${e(i,n)})`}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 c=t instanceof Map,l=c?`Map`:`Set`;if(t.size===0)return`new ${l}()`;r.push(t);let u=[...t].map(t=>{if(c){let[r,s]=t;return o.indent+`[${e(r,n,i+a)}, ${e(s,n,i+a)}]`}return o.indent+e(t,n,i+a)}).join(`,`+o.newlineOrSpace);return r.pop(),s(`new ${l}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(t.length===0)return`[]`;r.push(t);let c=t.map((r,s)=>{let c=e(r,n,i+a);return n.transform&&(c=n.transform(t,s,c)),o.indent+c}).join(`,`+o.newlineOrSpace);return r.pop(),s(`[${o.newline}${c}${o.newline}${o.pad}]`)}if(Gkt(t)){let c=qkt(t);if(n.filter&&(c=c.filter(e=>n.filter(t,e))),c.length===0)return`{}`;r.push(t);let l=c.map(r=>{let s=typeof r==`symbol`,c;c=s?`[${e(r,n)}]`:kAt(r)?r:e(r,n);let l=e(t[r],n,i+a);return n.transform&&(l=n.transform(t,r,l)),o.indent+c+`: `+l}).join(`,`+o.newlineOrSpace);return r.pop(),s(`{${o.newline}${l}${o.newline}${o.pad}}`)}let l=String(t).replaceAll(`\\`,`\\\\`).replaceAll(/[\u0000-\u001F\u007F]/g,e=>MAt[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,`0`)}`);return n.singleQuotes===!1?`"${l.replaceAll(`"`,String.raw`\"`)}"`:`'${l.replaceAll(`'`,String.raw`\'`)}'`})(e,t,n)}var MAt,EI=c((()=>{Wkt(),Kkt(),Ykt(),jAt(),MAt={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`}})),NAt,PAt=c((()=>{EI(),XF(),NAt={info:{key:`axios`,title:`Axios`,link:`https://github.com/axios/axios`,description:`Promise based HTTP client for the browser and node.js`},convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:i},a)=>{let{blank:o,push:s,join:c,addPostProcessor:l}=new YF({indent:{indent:` `,...a}.indent});s(`import axios from 'axios';`),o();let u={method:t,url:n};switch(Object.keys(r).length&&(u.params=r),Object.keys(e).length&&(u.headers=e),i?.mimeType){case`application/x-www-form-urlencoded`:i?.params&&(s(`const encodedParams = new URLSearchParams();`),i.params.forEach(e=>{s(`encodedParams.set('${e.name}', '${e.value}');`)}),o(),u.data=`encodedParams,`,l(e=>e.replace(/'encodedParams,'/,`encodedParams,`)));break;case`application/json`:i?.jsonObj&&(u.data=i.jsonObj);break;case`multipart/form-data`:if(!i?.params)break;s(`const form = new FormData();`),i.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||``}');`)}),o(),u.data=`[form]`;break;default:i?.text&&(u.data=i.text)}return s(`const options = ${TI(u,{indent:` `,inlineCharacterLimit:80}).replace(`"[form]"`,`form`)};`),o(),s(`try {`),s(`const { data } = await axios.request(options);`,1),s(`console.log(data);`,1),s(`} catch (error) {`),s(`console.error(error);`,1),s(`}`),c()}}})),FAt,IAt=c((()=>{PAt(),oI(),FAt={target:`js`,client:`axios`,title:`Axios`,generate(e){return aI(NAt,e)}}})),LAt=c((()=>{IAt()}));function RAt(e){return/\s|-/.test(e)}function DI(e,t=0){let n=[],r=` `.repeat(t),i=` `.repeat(t+2);if(Object.keys(e).length===0)return`{}`;for(let[r,a]of Object.entries(e)){let e=RAt(r)?`'${r}'`:r;if(a instanceof OI){let t=a.value.split(`
|
||
`),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
|
||
`)),n.push(`${i}${e}: ${r}`)}else if(Array.isArray(a)){let r=a.map(e=>typeof e==`string`?`'${e}'`:e&&typeof e==`object`?DI(e):JSON.stringify(e));if(r.some(e=>e.includes(`
|
||
`))){let a=r.map(e=>zAt(e,t+4)).join(`,
|
||
`);n.push(`${i}${e}: [\n${a}\n${i}]`)}else n.push(`${i}${e}: [${r.join(`, `)}]`)}else if(a&&typeof a==`object`)n.push(`${i}${e}: ${DI(a,t+2)}`);else if(typeof a==`string`){let t=`'${a}'`;n.push(`${i}${e}: ${t}`)}else n.push(`${i}${e}: ${a}`)}return`{\n${n.join(`,
|
||
`)}\n${r}}`}function zAt(e,t){let n=` `.repeat(t);return e.split(`
|
||
`).map(e=>`${n}${e}`).join(`
|
||
`)}var OI,kI=c((()=>{OI=class{value;constructor(e){this.value=e}}})),BAt,VAt=c((()=>{iI(),kI(),BAt={target:`js`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=tI(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=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new OI(`JSON.stringify(${DI(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
|
||
`,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`}),n+=`
|
||
`,r.body=new OI(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new OI(`new URLSearchParams(${DI(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${DI(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}}})),HAt=c((()=>{VAt()})),UAt,WAt=c((()=>{EI(),XF(),uI(),UAt={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:n,postData:r},i)=>{let a={indent:` `,...i},{blank:o,push:s,join:c}=new YF({indent:a.indent}),l={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(r?.mimeType){case`application/x-www-form-urlencoded`:l.data=r?.paramsObj?r.paramsObj:r.text;break;case`application/json`:l.processData=!1,l.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||``}');`)}),l.processData=!1,l.contentType=!1,l.mimeType=`multipart/form-data`,l.data=`[form]`,lI(n,`content-type`)&&cI(n,`content-type`)?.includes(`boundary`)){let e=sI(n,`content-type`);e&&delete l.headers[e]}o();break;default:r?.text&&(l.data=r.text)}return s(`const settings = ${TI(l,{indent:a.indent}).replace(`'[form]'`,`form`)};`),o(),s(`$.ajax(settings).done(function (response) {`),s(`console.log(response);`,1),s(`});`),c()}}})),GAt,KAt=c((()=>{WAt(),oI(),GAt={target:`js`,client:`jquery`,title:`jQuery`,generate(e){return aI(UAt,e)}}})),qAt=c((()=>{KAt()})),JAt,YAt=c((()=>{iI(),kI(),JAt={target:`js`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=nI(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${DI(n)}`:``;return`import { ofetch } from 'ofetch'
|
||
|
||
ofetch('${t.url}'${r})`}}})),XAt=c((()=>{YAt()})),ZAt,QAt=c((()=>{EI(),XF(),eI(),uI(),ZAt={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:n,fullUrl:r},i)=>{let a={indent:` `,cors:!0,...i},{blank:o,push:s,join:c}=new YF({indent:a.indent});switch(e?.mimeType){case`application/json`:s(`const data = JSON.stringify(${TI(e?.jsonObj,{indent:a.indent})});`),o();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||``}');`)}),lI(t,`content-type`)&&cI(t,`content-type`)?.includes(`boundary`)){let e=sI(t,`content-type`);e&&delete t[e]}o();break;default:s(`const data = ${e?.text?`'${e.text}'`:`null`};`),o()}return s(`const xhr = new XMLHttpRequest();`),a.cors&&s(`xhr.withCredentials = true;`),o(),s(`xhr.addEventListener('readystatechange', function () {`),s(`if (this.readyState === this.DONE) {`,1),s(`console.log(this.responseText);`,2),s(`}`,1),s(`});`),o(),s(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${QF(t[e])}');`)}),o(),s(`xhr.send(data);`),c()}}})),$At,ejt=c((()=>{QAt(),oI(),$At={target:`js`,client:`xhr`,title:`XHR`,generate(e){return aI(ZAt,e)}}})),tjt=c((()=>{ejt()})),njt,rjt=c((()=>{XF(),eI(),njt={info:{key:`okhttp`,title:`OkHttp`,link:`http://square.github.io/okhttp/`,description:`An HTTP Request Client Library`},convert:({postData:e,fullUrl:t,method:n,allHeaders:r},i)=>{let{blank:a,join:o,push:s}=new YF({indent:{indent:` `,...i}.indent});return s(`val client = OkHttpClient()`),a(),e!=null&&(e.mimeType===`application/x-www-form-urlencoded`&&e.params?(s(`val formBody = FormBody.Builder()`),e.params.forEach(e=>{s(`.addEncoded("${e.name}", "${e.value}")`,1)}),s(`.build()`,1),a()):e.mimeType===`multipart/form-data`&&e.params?(s(`val body = MultipartBody.Builder()`),s(`.setType(MultipartBody.FORM)`,1),e.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&s(`.addFormDataPart("${e.name}", "${e.value}")`,1):s(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${e.fileName}")))`,1)}),s(`.build()`,1),a()):(s(`val mediaType = MediaType.parse("${e.mimeType}")`),s(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),s(`val request = Request.Builder()`),s(`.url("${t}")`,1),[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(n.toUpperCase())?[`POST`,`PUT`,`DELETE`,`PATCH`].includes(n.toUpperCase())?e!=null&&(e.text||e.params)?s(`.${n.toLowerCase()}(body)`,1):s(`.${n.toLowerCase()}(null)`,1):s(`.${n.toLowerCase()}()`,1):e?.text?s(`.method("${n.toUpperCase()}", body)`,1):s(`.method("${n.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{s(`.addHeader("${e}", "${$F(r[e])}")`,1)}),s(`.build()`,1),a(),s(`val response = client.newCall(request).execute()`),o()}}})),ijt,ajt=c((()=>{rjt(),oI(),ijt={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e){return aI(njt,e)}}})),ojt=c((()=>{ajt()})),sjt,cjt=c((()=>{EI(),XF(),sjt={info:{key:`axios`,title:`Axios`,link:`https://github.com/axios/axios`,description:`Promise based HTTP client for the browser and node.js`},convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:i},a)=>{let{blank:o,join:s,push:c,addPostProcessor:l}=new YF({indent:{indent:` `,...a}.indent});c(`const axios = require('axios').default;`);let u={method:e,url:t};switch(Object.keys(n).length&&(u.params=n),Object.keys(r).length&&(u.headers=r),i?.mimeType){case`application/x-www-form-urlencoded`:i.params&&(c(`const { URLSearchParams } = require('url');`),o(),c(`const encodedParams = new URLSearchParams();`),i.params.forEach(e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)}),o(),u.data=`encodedParams,`,l(e=>e.replace(/'encodedParams,'/,`encodedParams,`)));break;case`application/json`:o(),i?.jsonObj&&(u.data=i.jsonObj);break;default:o(),i?.text&&(u.data=i.text)}return c(`const options = ${TI(u,{indent:` `,inlineCharacterLimit:80})};`),o(),c(`try {`),c(`const { data } = await axios.request(options);`,1),c(`console.log(data);`,1),c(`} catch (error) {`),c(`console.error(error);`,1),c(`}`),s()}}})),ljt,ujt=c((()=>{cjt(),oI(),ljt={target:`node`,client:`axios`,title:`Axios`,generate(e){return aI(sjt,e)}}})),djt=c((()=>{ujt()})),fjt,pjt=c((()=>{iI(),kI(),fjt={target:`node`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=tI(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=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData,o=!1;if(e===`application/json`&&i)try{r.body=new OI(`JSON.stringify(${DI(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
|
||
`,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):(o||=(n=`import fs from 'node:fs'\n\n${n}`,!0),n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`)}),n+=`
|
||
`,r.body=new OI(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new OI(`new URLSearchParams(${DI(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${DI(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}}})),mjt=c((()=>{pjt()})),hjt,gjt=c((()=>{iI(),kI(),hjt={target:`node`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=nI(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${DI(n)}`:``;return`import { ofetch } from 'ofetch'
|
||
|
||
ofetch('${t.url}'${r})`}}})),_jt=c((()=>{gjt()})),vjt,yjt=c((()=>{iI(),kI(),vjt={target:`node`,client:`undici`,title:`undici`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method},r=tI(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=new OI(`JSON.stringify(${DI(JSON.parse(n.body))})`)));let i=Object.keys(n).length?`, ${DI(n)}`:``;return`import { request } from 'undici'
|
||
|
||
const { statusCode, body } = await request('${t.url}${r}'${i})`}}})),bjt=c((()=>{yjt()})),AI,jI,xjt=c((()=>{AI=(e,t,n,r)=>{let i=`${e} *${t} = `;return`${i}${jI(n,r?i.length:void 0)};`},jI=(e,t)=>{let n=t===void 0?`, `:`,\n ${` `.repeat(t)}`;switch(Object.prototype.toString.call(e)){case`[object Number]`:return`@${e}`;case`[object Array]`:return`@[ ${e.map(e=>jI(e)).join(n)} ]`;case`[object Object]`:{let t=[],r=e;for(let e in r)Object.hasOwn(r,e)&&t.push(`@"${e}": ${jI(r[e])}`);return`@{ ${t.join(n)} }`}case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?``:`@"${e.toString().replace(/"/g,`\\"`)}"`}}})),Sjt,Cjt=c((()=>{XF(),xjt(),Sjt={info:{key:`nsurlsession`,title:`NSURLSession`,link:`https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html`,description:`Foundation's NSURLSession request`},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},i)=>{let a={indent:` `,pretty:!0,timeout:10,...i},{push:o,join:s,blank:c}=new YF({indent:a.indent}),l={hasHeaders:!1,hasBody:!1};if(o(`#import <Foundation/Foundation.h>`),Object.keys(e).length&&(l.hasHeaders=!0,c(),o(AI(`NSDictionary`,`headers`,e,a.pretty))),t&&(t.text||t.jsonObj||t.params))switch(l.hasBody=!0,t.mimeType){case`application/x-www-form-urlencoded`:if(t.params?.length){c();let[e,...n]=t.params;o(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),n.forEach(({name:e,value:t})=>{o(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)})}else l.hasBody=!1;break;case`application/json`:t.jsonObj&&(o(AI(`NSDictionary`,`parameters`,t.jsonObj,a.pretty)),c(),o(`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`));break;case`multipart/form-data`:o(AI(`NSArray`,`parameters`,t.params||[],a.pretty)),o(`NSString *boundary = @"${t.boundary}";`),c(),o(`NSError *error;`),o(`NSMutableString *body = [NSMutableString string];`),o(`for (NSDictionary *param in parameters) {`),o(`[body appendFormat:@"--%@\\r\\n", boundary];`,1),o(`if (param[@"fileName"]) {`,1),o(`[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];`,2),o(`[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];`,2),o(`[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];`,2),o(`if (error) {`,2),o(`NSLog(@"%@", error);`,3),o(`}`,2),o(`} else {`,1),o(`[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];`,2),o(`[body appendFormat:@"%@", param[@"value"]];`,2),o(`}`,1),o(`}`),o(`[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];`),o(`NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];`);break;default:c(),o(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),o(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),o(` cachePolicy:NSURLRequestUseProtocolCachePolicy`),o(` timeoutInterval:${a.timeout.toFixed(1)}];`),o(`[request setHTTPMethod:@"${n}"];`),l.hasHeaders&&o(`[request setAllHTTPHeaderFields:headers];`),l.hasBody&&o(`[request setHTTPBody:postData];`),c(),o(`NSURLSession *session = [NSURLSession sharedSession];`),o(`NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request`),o(` completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {`),o(` if (error) {`,1),o(` NSLog(@"%@", error);`,2),o(` } else {`,1),o(` NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;`,2),o(` NSLog(@"%@", httpResponse);`,2),o(` }`,1),o(` }];`),o(`[dataTask resume];`),s()}}})),wjt,Tjt=c((()=>{Cjt(),oI(),wjt={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e){return aI(Sjt,e)}}})),Ejt=c((()=>{Tjt()})),Djt,Ojt=c((()=>{XF(),eI(),Djt={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:n,method:r},i)=>{let a={indent:` `,...i},o=[`get`,`post`,`head`,`delete`,`patch`,`put`,`options`],{push:s,blank:c,join:l}=new YF({indent:a.indent});s(`open Cohttp_lwt_unix`),s(`open Cohttp`),s(`open Lwt`),c(),s(`let uri = Uri.of_string "${e}" in`);let u=Object.keys(t);return u.length===1?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${$F(t[u[0]])}" in`):u.length>1&&(s(`let headers = Header.add_list (Header.init ()) [`),u.forEach(e=>{s(`("${e}", "${$F(t[e])}");`,1)}),s(`] in`)),n?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),c(),s(`Client.call ${u.length?`~headers `:``}${n?.text?`~body `:``}${o.includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`} uri`),s(`>>= fun (res, body_stream) ->`),s(`(* Do stuff with the result *)`,1),l()}}})),kjt,Ajt=c((()=>{Ojt(),oI(),kjt={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e){return aI(Djt,e)}}})),jjt=c((()=>{Ajt()}));function MI(e){return` `.repeat(e*2)}function NI(e,t=0){if(e==null)return`null`;if(e instanceof PI){let n=e.value.split(`
|
||
`);if(n.length>1){let e=MI(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
|
||
`)}return e.value}if(typeof e==`string`)return`'${e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`)}'`;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)){if(e.length===0)return`[]`;let n=e.map(e=>NI(e,t+1)).join(`,
|
||
`+MI(t+1));return`[\n${MI(t+1)}${n}\n${MI(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${NI(n,t+1)}`).join(`,
|
||
`+MI(t+1));return`[\n${MI(t+1)}${r}\n${MI(t)}]`}return`null`}var PI,Mjt=c((()=>{PI=class{value;constructor(e){this.value=e}}})),Njt,Pjt=c((()=>{Mjt(),Njt={target:`php`,client:`curl`,title:`cURL`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[],i=!1,a=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,o=`${n.url}${a}`;r.push(`$ch = curl_init("${o}");`),r.push(``),n.method===`POST`&&r.push(`curl_setopt($ch, CURLOPT_POST, true);`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let s=[...n.headers||[]],c=()=>s.some(e=>e.name.toLowerCase()===`content-type`);if(n.postData&&(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params&&!c()?s.push({name:`Content-Type`,value:`application/x-www-form-urlencoded`}):n.postData.mimeType===`application/octet-stream`&&!c()&&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=>e.name.toLowerCase()===`accept-encoding`);t&&/gzip|deflate/.test(t.value)&&r.push(`curl_setopt($ch, CURLOPT_ENCODING, '');`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=NI(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)i=!0,r.push(`$mime = curl_mime_init($ch);`),n.postData.params.forEach((e,t)=>{let n=`$part${t}`;r.push(`${n} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${n}, '${e.name}');`),e.fileName===void 0?e.value!==void 0&&r.push(`curl_mime_data(${n}, '${e.value}');`):r.push(`curl_mime_filedata(${n}, '${e.fileName}');`),e.contentType&&r.push(`curl_mime_type(${n}, '${e.contentType}');`)}),r.push(`curl_setopt($ch, CURLOPT_MIMEPOST, $mime);`);else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e=n.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):``}`).join(`&`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if(n.postData.mimeType===`application/octet-stream`)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||``}');`);else if(n.postData.text)try{let e=NI(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(``),r.push(`curl_exec($ch);`),i&&r.push(`curl_mime_free($mime);`),r.push(``),r.push(`curl_close($ch);`),r.join(`
|
||
`).replace(/\n\n\n/g,`
|
||
|
||
`)}}})),Fjt=c((()=>{Pjt()})),Ijt,Ljt=c((()=>{iI(),Mjt(),Ijt={target:`php`,client:`guzzle`,title:`Guzzle`,generate(e,t){if(!e)return``;let n={},r=(e.method||`GET`).toUpperCase(),i=e.url||``;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{t[e.name]===void 0?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=nI(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType===`application/json`)try{n.json=JSON.parse(e.postData.text||`{}`)}catch{n.body=e.postData.text}else if(e.postData.mimeType===`multipart/form-data`){if(e.postData.params)n.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new PI(`fopen('${e.fileName}', 'r')`):e.value||``};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType===`application/x-www-form-urlencoded`){if(e.postData.params){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||``}),n.form_params=t}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>e.name===`Accept-Encoding`&&e.value.includes(`gzip`))&&(n.decode_content=!0);let a=`$client = new GuzzleHttp\\Client();
|
||
|
||
`;if(Object.keys(n).length>0){let e=NI(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}}})),Rjt=c((()=>{Ljt()})),FI,zjt=c((()=>{XF(),eI(),uI(),FI=e=>({method:t,headersObj:n,cookies:r,uriObj:i,fullUrl:a,postData:o,allHeaders:s})=>{let{push:c,join:l}=new YF;if(![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t.toUpperCase()))return`Method not supported`;let u=[],d=Object.keys(n);return d.length&&(c(`$headers=@{}`),d.forEach(e=>{e!==`connection`&&c(`$headers.Add("${e}", "${ZF(n[e],{escapeChar:"`"})}")`)}),u.push(`-Headers $headers`)),r.length&&(c(`$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession`),r.forEach(e=>{c(`$cookie = New-Object System.Net.Cookie`),c(`$cookie.Name = '${e.name}'`),c(`$cookie.Value = '${e.value}'`),c(`$cookie.Domain = '${i.host}'`),c(`$session.Cookies.Add($cookie)`)}),u.push(`-WebSession $session`)),o?.text&&(u.push(`-ContentType '${ZF(cI(s,`content-type`),{delimiter:`'`,escapeChar:"`"})}'`),u.push(`-Body '${o.text}'`)),c(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(` `)}`),l()}})),Bjt,Vjt=c((()=>{zjt(),Bjt={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:FI(`Invoke-RestMethod`)}})),Hjt,Ujt=c((()=>{Vjt(),oI(),Hjt={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e){return aI(Bjt,e)}}})),Wjt=c((()=>{Ujt()})),Gjt,Kjt=c((()=>{zjt(),Gjt={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:FI(`Invoke-WebRequest`)}})),qjt,Jjt=c((()=>{Kjt(),oI(),qjt={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e){return aI(Gjt,e)}}})),Yjt=c((()=>{Jjt()}));function II(e){let t=[[`true`,`True`],[`false`,`False`],[`null`,`None`]],n=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)n=n.replace(new RegExp(e,`gm`),`$1${r}`)}return n}function LI(e,t,n){let r={url:`https://example.com`,method:`get`,...t},i=r.method.toLowerCase(),a={};if(r.headers?.length&&(a.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(a.params=nI(r.queryString)),r.cookies?.length&&(a.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(a.auth=[n.auth.username,n.auth.password]),r.postData){let{mimeType:e,text:t,params:n}=r.postData;if(e===`application/json`&&t)try{a.json=JSON.parse(t)}catch{a.data=t}else if(e===`application/octet-stream`&&t)a.data=t;else if(e===`multipart/form-data`&&n){let e=[],t={};n.forEach(n=>{if(n.fileName!==void 0){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),i=`open(${r}, "rb")`;if(n.contentType){let a=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${i}, ${a}))`)}else e.push(`(${t}, ${i})`)}else if(n.value!==void 0)if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),i=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${i}))`)}else rI(t,n.name,n.value)}),e.length&&(a.files=e),Object.keys(t).length&&(a.data=t)}else if(e===`application/x-www-form-urlencoded`&&n){let e={};n.forEach(t=>{rI(e,t.name,t.value??``)}),a.data=e}}let o=[],s=`"${r.url}"`;r.url.length>RI?o.push(s):o.push(``);for(let[e,t]of Object.entries(a))if(e===`auth`)o.push(`${e}=(${II(JSON.stringify(t[0]))}, ${II(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
|
||
`+t.map(e=>` ${e}`).join(`,
|
||
`)+`
|
||
]`;o.push(`${e}=${n}`)}else if(e===`json`){let n=II(JSON.stringify(t,null,2).split(`
|
||
`).map((e,t)=>t===0?e:` `+e).join(`
|
||
`));o.push(`${e}=${n}`)}else if(e===`data`&&r.postData?.mimeType===`application/octet-stream`)o.push(`${e}=b"${t}"`);else{let n=II(JSON.stringify(t,null,2).split(`
|
||
`).map((e,t)=>t===0?e:` `+e).join(`
|
||
`));o.push(`${e}=${n}`)}return r.url.length>RI?`${e}.${i}(\n ${o.join(`,
|
||
`)}\n)`:o.length<=1?`${e}.${i}(${s})`:`${e}.${i}(${s}${o.length>1?`,`:``}\n ${o.slice(1).join(`,
|
||
`)}\n)`}var RI,zI=c((()=>{iI(),RI=40})),Xjt,Zjt=c((()=>{zI(),Xjt={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=LI(`await client`,e,t);return n=n.split(`
|
||
`).map(e=>e.trim()===``?e:` `+e).join(`
|
||
`),`async with httpx.AsyncClient() as client:\n${n}`}}})),Qjt,$jt=c((()=>{zI(),Qjt={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return LI(`httpx`,e,t)}}})),eMt=c((()=>{Zjt(),$jt()})),tMt,nMt=c((()=>{XF(),eI(),tMt={info:{key:`python3`,title:`http.client`,link:`https://docs.python.org/3/library/http.client.html`,description:`Python3 HTTP Client`},convert:({uriObj:{path:e,protocol:t,host:n},postData:r,allHeaders:i,method:a},o={})=>{let{insecureSkipVerify:s=!1}=o,{push:c,blank:l,join:u}=new YF;c(`import http.client`),s&&c(`import ssl`),l(),t===`https:`?(c(`conn = http.client.HTTPSConnection("${n}"${s?`, context = ssl._create_unverified_context()`:``})`),l()):(c(`conn = http.client.HTTPConnection("${n}")`),l());let d=JSON.stringify(r?.text);d&&(c(`payload = ${d}`),l());let f=i,p=Object.keys(f).length;if(p===1)for(let e in f)c(`headers = { '${e}': "${$F(f[e])}" }`),l();else if(p>1){let e=1;c(`headers = {`);for(let t in f)e++===p?c(` '${t}': "${$F(f[t])}"`):c(` '${t}': "${$F(f[t])}",`);c(`}`),l()}return c(d&&p?`conn.request("${a}", "${e}", payload, headers)`:d&&!p?`conn.request("${a}", "${e}", payload)`:!d&&p?`conn.request("${a}", "${e}", headers=headers)`:`conn.request("${a}", "${e}")`),l(),c(`res = conn.getresponse()`),c(`data = res.read()`),l(),c(`print(data.decode("utf-8"))`),u()}}})),rMt,iMt=c((()=>{nMt(),oI(),rMt={target:`python`,client:`python3`,title:`http.client`,generate(e){return aI(tMt,e)}}})),aMt=c((()=>{iMt()})),oMt,sMt=c((()=>{zI(),oMt={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return LI(`requests`,e,t)}}})),cMt=c((()=>{sMt()})),lMt,uMt=c((()=>{XF(),eI(),uI(),lMt={info:{key:`httr`,title:`httr`,link:`https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html`,description:`httr: Tools for Working with URLs and HTTP`},convert:({url:e,queryObj:t,queryString:n,postData:r,allHeaders:i,method:a},o={})=>{let{push:s,blank:c,join:l}=new YF({indent:o.indent??` `});s(`library(httr)`),c(),s(`url <- "${e}"`),c();let u=t;delete t.key;let d=Object.entries(u).flatMap(([e,t])=>Array.isArray(t)?t.map(t=>[e,t]):[[e,t]]),f=d.length;if(f===1){let e=d[0];s(`queryString <- list(${e[0]} = "${e[1]}")`),c()}else f>1&&(s(`queryString <- list(`),d.forEach(([e,t],n)=>{s(`${e} = "${t}"${n===f-1?``:`,`}`,1)}),s(`)`),c());let p=JSON.stringify(r?.text);if(p&&(s(`payload <- ${p}`),c()),r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){case`application/x-www-form-urlencoded`:s(`encode <- "form"`),c();break;case`application/json`:s(`encode <- "json"`),c();break;case`multipart/form-data`:s(`encode <- "multipart"`),c();break;default:s(`encode <- "raw"`),c();break}let m=cI(i,`cookie`),h=cI(i,`accept`),g=m?`set_cookies(\`${String(m).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,_=h?`accept("${$F(h)}")`:void 0,v=`content_type("${$F(r?.mimeType??`application/octet-stream`)}")`,y=Object.entries(i).filter(([e])=>![`cookie`,`accept`,`content-type`].includes(e.toLowerCase())).map(([e,t])=>`'${e}' = '${QF(t)}'`).join(`, `),b=y?`add_headers(${y})`:void 0,x=`response <- VERB("${a}", url`;p&&(x+=`, body = payload`),n.length&&(x+=`, query = queryString`);let ee=[b,v,_,g].filter(e=>!!e).join(`, `);return ee&&(x+=`, ${ee}`),r&&(r.text||r.jsonObj||r.params)&&(x+=`, encode = encode`),x+=`)`,s(x),c(),s(`content(response, "text")`),l()}}})),dMt,fMt=c((()=>{uMt(),oI(),dMt={target:`r`,client:`httr`,title:`httr`,generate(e){return aI(lMt,e)}}})),pMt=c((()=>{fMt()})),mMt,hMt=c((()=>{XF(),eI(),mMt={info:{key:`native`,title:`net::http`,link:`http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html`,description:`Ruby HTTP client`},convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:i},a={})=>{let{insecureSkipVerify:o=!1}=a,{push:s,blank:c,join:l}=new YF;s(`require 'uri'`),s(`require 'net/http'`),c();let u=t.toUpperCase(),d=[`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`],f=u.charAt(0)+u.substring(1).toLowerCase();d.includes(u)||(s(`class Net::HTTP::${f} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${r?.text?`true`:`false`}'`),s(` RESPONSE_HAS_BODY = true`),s(`end`),c()),s(`url = URI("${n}")`),c(),s(`http = Net::HTTP.new(url.host, url.port)`),e.protocol===`https:`&&(s(`http.use_ssl = true`),o&&s(`http.verify_mode = OpenSSL::SSL::VERIFY_NONE`)),c(),s(`request = Net::HTTP::${f}.new(url)`);let p=Object.keys(i);return p.length&&p.forEach(e=>{s(`request["${e}"] = '${QF(i[e])}'`)}),r?.text&&s(`request.body = ${JSON.stringify(r.text)}`),c(),s(`response = http.request(request)`),s(`puts response.read_body`),l()}}})),gMt,_Mt=c((()=>{hMt(),oI(),gMt={target:`ruby`,client:`native`,title:`net::http`,generate(e){return aI(mMt,e)}}})),vMt=c((()=>{_Mt()}));function yMt(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function BI(e){return`"${yMt(e)}"`}function VI(e,t){return`${` `.repeat(e*4)}${t}`}function HI(e,...t){return VI(1,`.${e}(${t.join(`, `)})`)}function bMt(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
|
||
`);return n.map((e,t)=>t===0?e:(n.length-1,VI(1,e))).join(`
|
||
`)}catch{return e}}var xMt=c((()=>{})),SMt,CMt,wMt,TMt,EMt,DMt,OMt=c((()=>{iI(),xMt(),SMt={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=OOt(e),r=tI(n.queryString),i=kOt(n.url||``,r),a=AOt(n),o=[],s=wMt(t?.auth);s&&o.push(s),o.push(...TMt(a));let c=EMt(n.postData);return c&&o.push(c),DMt(i,n.method,o)}},CMt=e=>{if(e.fileName){let t=[VI(2,`let part = reqwest::multipart::Part::text(${BI(e.value||``)})`),VI(3,`.file_name(${BI(e.fileName)})`)];return e.contentType?(t.push(VI(3,`.mime_str(${BI(e.contentType)})`)),t.push(VI(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(VI(2,`form = form.part(${BI(e.name)}, part);`)),t.join(`
|
||
`)}return e.contentType?[VI(2,`let part = reqwest::multipart::Part::text(${BI(e.value||``)})`),VI(3,`.mime_str(${BI(e.contentType)})`),VI(3,`.unwrap();`),VI(2,`form = form.part(${BI(e.name)}, part);`)].join(`
|
||
`):VI(2,`form = form.text(${BI(e.name)}, ${BI(e.value||``)});`)},wMt=e=>!e?.username||!e?.password?null:HI(`basic_auth`,BI(e.username),BI(e.password)),TMt=e=>Object.entries(e).map(([e,t])=>HI(`header`,BI(e),BI(t))),EMt=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return HI(`json`,`&serde_json::json!(${bMt(n)})`);case`application/x-www-form-urlencoded`:return HI(`form`,`&[${r?.map(e=>`(${BI(e.name)}, ${BI(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(CMt).join(`
|
||
`)||``;return VI(1,[`.multipart({`,VI(2,`let mut form = reqwest::multipart::Form::new();`),e,VI(3,`form`),VI(2,`})`)].join(`
|
||
`))}default:return HI(`body`,BI(n||``))}},DMt=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``];n.length>0?(r.push(`let request = client`),r.push(VI(1,`.${t.toLowerCase()}(${BI(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${BI(e)})`);let i=r[r.length-1];return r[r.length-1]=i+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
|
||
`)}})),kMt=c((()=>{OMt()})),UI,AMt=c((()=>{UI=e=>e.replace(/'/g,`'\\''`)})),jMt,MMt=c((()=>{AMt(),jMt={target:`shell`,client:`curl`,title:`Curl`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[`curl`],i=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,a=`${n.url}${i}`,o=/[\s<>[\]{}|\\^%$]/.test(a);if(r[0]=`curl ${i||o?`'${a}'`:a}`,n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=UI(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=UI(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=n.headers.find(e=>e.name.toLowerCase()===`accept-encoding`);e&&/gzip|deflate/.test(e.value)&&r.push(`--compressed`)}if(n.cookies?.length){let e=UI(n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));r.push(`--cookie '${e}'`)}if(n.postData)if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=UI(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=UI(n.postData.text??``);r.push(`--data '${e}'`)}}else if(n.postData.mimeType===`application/octet-stream`){let e=UI(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params)n.postData.params.forEach(e=>{let t=UI(e.value??``),n=UI(encodeURIComponent(e.name));r.push(`--data-urlencode '${n}=${t}'`)});else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)n.postData.params.forEach(e=>{let t=UI(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=UI(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=UI(`${e.value??``}${n}`);r.push(`--form '${t}=${i}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=UI(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=UI(n.postData.text??``);r.push(`--data '${e}'`)}return r.join(` \\
|
||
`)}}})),NMt=c((()=>{MMt()})),WI,PMt,FMt=c((()=>{WI=(e=``)=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`,PMt=e=>e.replace(/\r/g,`\\r`).replace(/\n/g,`\\n`)})),IMt,LMt=c((()=>{XF(),FMt(),IMt={info:{key:`httpie`,title:`HTTPie`,link:`http://httpie.org/`,description:`a CLI, cURL-like tool for humans`},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:i,url:a},o)=>{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,...o},{push:c,join:l,unshift:u}=new YF({indent:s.indent,join:s.indent===!1?` `:` \\\n${s.indent}`}),d=!1,f=[];s.headers&&f.push(s.short?`-h`:`--headers`),s.body&&f.push(s.short?`-b`:`--body`),s.verbose&&f.push(s.short?`-v`:`--verbose`),s.print&&f.push(`${s.short?`-p`:`--print`}=${s.print}`),s.verify&&f.push(`--verify=${s.verify}`),s.cert&&f.push(`--cert=${s.cert}`),s.pretty&&f.push(`--pretty=${s.pretty}`),s.style&&f.push(`--style=${s.style}`),s.timeout&&f.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach(e=>{let t=n[e];Array.isArray(t)?t.forEach(t=>{c(`${e}==${WI(t)}`)}):c(`${e}==${WI(t)}`)}),Object.keys(e).sort().forEach(t=>{c(`${t}:${WI(e[t])}`)}),t?.mimeType===`application/x-www-form-urlencoded`?t.params?.length&&(f.push(s.short?`-f`:`--form`),t.params.forEach(e=>{c(`${e.name}=${WI(e.value)}`)})):t?.mimeType===`multipart/form-data`?t?.params?.length&&(f.push(`--multipart`),t.params.forEach(e=>{e.fileName?c(`${e.name}@${WI(e.fileName)}`):c(`${e.name}='${WI(e.value)}'`)})):d=!0;let p=f.length?`${f.join(` `)} `:``;return a=WI(s.queryParams?a:r),u(`http ${p}${i} ${a}`),d&&t?.text&&u(`echo ${WI(t.text)} | `),l()}}})),RMt,zMt=c((()=>{LMt(),oI(),RMt={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e){return aI(IMt,e)}}})),BMt=c((()=>{zMt()})),VMt,HMt=c((()=>{XF(),FMt(),VMt={info:{key:`wget`,title:`Wget`,link:`https://www.gnu.org/software/wget/`,description:`a free software package for retrieving files using HTTP, HTTPS`},convert:({method:e,postData:t,allHeaders:n,fullUrl:r},i)=>{let a={indent:` `,short:!1,verbose:!1,...i},{push:o,join:s}=new YF({indent:a.indent,join:a.indent===!1?` `:` \\\n${a.indent}`});return a.verbose?o(`wget ${a.short?`-v`:`--verbose`}`):o(`wget ${a.short?`-q`:`--quiet`}`),o(`--method ${WI(e)}`),Object.keys(n).forEach(e=>{o(`--header ${WI(`${e}: ${n[e]}`)}`)}),t?.text&&o(`--body-data ${PMt(WI(t.text))}`),o(a.short?`-O`:`--output-document`),o(`- ${WI(r)}`),s()}}})),UMt,WMt=c((()=>{HMt(),oI(),UMt={target:`shell`,client:`wget`,title:`Wget`,generate(e){return aI(VMt,e)}}})),GMt=c((()=>{WMt()})),GI,KI,qI,JI,KMt=c((()=>{GI=(e,t)=>t.repeat(e),KI=(e,t,n,r)=>{let i=GI(r,n),a=GI(r-1,n),o=t?`,\n${i}`:`, `;return t?`[\n${i}${e.join(o)}\n${a}]`:`[${e.join(o)}]`},qI=(e,t,n)=>`let ${e} = ${JI(t,n)}`,JI=(e,t,n)=>{let r=n===void 0?1:n+1;switch(Object.prototype.toString.call(e)){case`[object Number]`:return e;case`[object Array]`:{let n=!1;return KI(e.map(e=>(Object.prototype.toString.call(e)===`[object Object]`&&(n=Object.keys(e).length>1),JI(e,t,r))),n,t.indent,r)}case`[object Object]`:{let n=[],i=e;for(let e in i)Object.hasOwn(i,e)&&n.push(`"${e}": ${JI(i[e],t,r)}`);return KI(n,t.pretty&&n.length>1,t.indent,r)}case`[object Boolean]`:return e.toString();default:return e==null?``:`"${e.toString().replace(/"/g,`\\"`)}"`}}})),qMt,JMt=c((()=>{XF(),KMt(),qMt={info:{key:`nsurlsession`,title:`NSURLSession`,link:`https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html`,description:`Foundation's NSURLSession request`},convert:({allHeaders:e,postData:t,fullUrl:n,method:r},i)=>{let a={indent:` `,pretty:!0,timeout:`10`,...i},{push:o,blank:s,join:c}=new YF({indent:a.indent}),l={hasHeaders:!1,hasBody:!1};if(o(`import Foundation`),Object.keys(e).length&&(l.hasHeaders=!0,s(),o(qI(`headers`,e,a))),t&&(t.text||t.jsonObj||t.params))switch(l.hasBody=!0,t.mimeType){case`application/x-www-form-urlencoded`:if(s(),t.params?.length){let[e,...n]=t.params;o(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),n.forEach(({name:e,value:t})=>{o(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)})}else l.hasBody=!1;break;case`application/json`:t.jsonObj&&(o(`${qI(`parameters`,t.jsonObj,a)} as [String : Any]`),s(),o(`let postData = JSONSerialization.data(withJSONObject: parameters, options: [])`));break;case`multipart/form-data`:o(qI(`parameters`,t.params,a)),s(),o(`let boundary = "${t.boundary}"`),s(),o(`var body = ""`),o(`var error: NSError? = nil`),o(`for param in parameters {`),o(`let paramName = param["name"]!`,1),o(`body += "--\\(boundary)\\r\\n"`,1),o(`body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""`,1),o(`if let filename = param["fileName"] {`,1),o(`let contentType = param["content-type"]!`,2),o(`let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)`,2),o(`if (error != nil) {`,2),o(`print(error as Any)`,3),o(`}`,2),o(`body += "; filename=\\"\\(filename)\\"\\r\\n"`,2),o(`body += "Content-Type: \\(contentType)\\r\\n\\r\\n"`,2),o(`body += fileContent`,2),o(`} else if let paramValue = param["value"] {`,1),o(`body += "\\r\\n\\r\\n\\(paramValue)"`,2),o(`}`,1),o(`}`);break;default:s(),o(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return s(),o(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),o(` cachePolicy: .useProtocolCachePolicy,`),o(` timeoutInterval: ${Number.parseInt(a.timeout,10).toFixed(1)})`),o(`request.httpMethod = "${r}"`),l.hasHeaders&&o(`request.allHTTPHeaderFields = headers`),l.hasBody&&o(`request.httpBody = postData as Data`),s(),o(`let session = URLSession.shared`),o(`let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in`),o(`if (error != nil) {`,1),o(`print(error as Any)`,2),o(`} else {`,1),o(`let httpResponse = response as? HTTPURLResponse`,2),o(`print(httpResponse)`,2),o(`}`,1),o(`})`),s(),o(`dataTask.resume()`),c()}}})),YMt,XMt=c((()=>{JMt(),oI(),YMt={target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e){return aI(qMt,e)}}})),ZMt=c((()=>{XMt()})),YI,QMt=c((()=>{NOt(),zOt(),KOt(),ZOt(),ekt(),pkt(),vkt(),xkt(),Ekt(),jkt(),Ikt(),Vkt(),LAt(),HAt(),qAt(),XAt(),tjt(),ojt(),djt(),mjt(),_jt(),bjt(),Ejt(),jjt(),Fjt(),Rjt(),Wjt(),Yjt(),eMt(),aMt(),cMt(),pMt(),vMt(),kMt(),NMt(),BMt(),GMt(),ZMt(),YI=[{key:`c`,title:`C`,default:`libcurl`,clients:[jOt]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[WOt,YOt]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[LOt]},{key:`dart`,title:`Dart`,default:`http`,clients:[QOt]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[dkt]},{key:`go`,title:`Go`,default:`native`,clients:[gkt]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[ykt]},{key:`java`,title:`Java`,default:`unirest`,clients:[wkt,kkt,Pkt,zkt]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[BAt,FAt,JAt,GAt,$At]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[ijt]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[fjt,ljt,hjt,vjt]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[wjt]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[kjt]},{key:`php`,title:`PHP`,default:`curl`,clients:[Njt,Ijt]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[qjt,Hjt]},{key:`python`,title:`Python`,default:`python3`,clients:[rMt,oMt,Qjt,Xjt]},{key:`r`,title:`R`,default:`httr`,clients:[dMt]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[gMt]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[SMt]},{key:`shell`,title:`Shell`,default:`curl`,clients:[jMt,UMt,RMt]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[YMt]}]}));function XI(){function e(e,t){return YI.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return YI},plugins(){return YI.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var $Mt=c((()=>{QMt()})),ZI=c((()=>{KF(),$Mt()})),QI,$I,eNt=c((()=>{ZI(),QI=`ws://replace.me`,$I=(e,t,n)=>{try{if(!n.url)return[Error(`Please enter a URL to see a code snippet`),null];let r=n.url.startsWith(`/`)?``:`/`;try{new URL(n.url)}catch(e){console.error(`[getSnippet] Invalid URL`,e),n.url=`${QI}${r}${n.url}`}if(n.postData?.mimeType===`application/json`)try{JSON.parse(n.postData.text||`{}`)}catch(e){return console.error(`[getSnippet] Invalid JSON body`,e),[Error(`Invalid JSON body`),null]}let i=e.replace(`javascript`,`js`);if(XI().hasPlugin(i,t)){let e=XI().print(i,t,n);return e?[null,e.replace(`${QI}${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]}})),tNt,nNt=c((()=>{Rx(),tNt=({baseUrl:e=``,method:t,body:n,path:r,cookies:i,headers:a,query:o})=>{let s=Bv(e,r,void 0,!0),c={method:t.toUpperCase(),url:s.toString(),httpVersion:`HTTP/1.1`,headers:[],queryString:[],cookies:[],headersSize:-1,bodySize:-1};if(i.length&&(c.cookies=i.filter(e=>e.enabled).map(({key:e,value:t})=>({name:e,value:t}))),a.length&&(c.headers=a.filter(e=>e.enabled&&!(e.key.toLowerCase()===`accept`&&e.value===`*/*`)).map(({key:e,value:t})=>({name:e.replace(/\b\w/g,e=>e.toUpperCase()),value:t}))),o.length&&(c.queryString=o.filter(e=>e.enabled).map(({key:e,value:t})=>({name:e,value:t}))),n)try{let e=a.find(e=>e.key.toLowerCase()===`content-type`)?.value;if(n.activeBody===`formData`&&n.formData){let t=[];n.formData.value.forEach(({key:e,value:n,file:r,enabled:i})=>{i&&(r?t.push({name:e||`blob`,value:`BINARY`,fileName:r.name,contentType:r.type||`application/octet-stream`}):t.push({name:e,value:n}))}),n.formData?.encoding===`urlencoded`?c.postData={mimeType:e||`application/x-www-form-urlencoded`,params:t}:c.postData={mimeType:e||`multipart/form-data`,params:t}}else n.activeBody===`raw`&&n.raw&&(c.postData={mimeType:e||`application/json`,text:n.raw?.value??``})}catch{}return c}})),rNt,iNt,aNt=c((()=>{oN(),gft(),nNt(),Rx(),rNt=`YOUR_SECRET_TOKEN`,iNt=({operation:e,example:t,server:n,securitySchemes:r=[],environment:i})=>{let a=i&&Array.isArray(i)?Object.fromEntries(i.map(e=>[e.key,e.value])):i||{},o=(t?.parameters?.path??[]).reduce((e,t)=>{if(t.enabled){let n=aN(t.value,a);e[t.key]=encodeURIComponent(n)}return e},{}),s=(()=>{if(n?.url&&(Dv.VARIABLES.test(n.url)||Dv.PATH.test(n.url))){let e=Object.entries(n?.variables||{}).reduce((e,[t,n])=>(o[t]?e[t]=o[t]:n.default&&(e[t]=aN(n.default,a)),e),{});return aN(aN(n.url,a),e)}return n?.url})(),c=(()=>{let t=e?.path??`/`;return t&&(Dv.VARIABLES.test(t)||Dv.PATH.test(t))?aN(aN(t,a),o):t})(),l=kN(r,a,rNt),u=[...(t?.parameters.headers??[]).map(e=>({...e,value:Dv.VARIABLES.test(e.value)||Dv.PATH.test(e.value)?aN(e.value,a):e.value}))??[],...Object.entries(l.headers).map(([e,t])=>({key:e,value:t,enabled:!0}))],d=[...(t?.parameters.cookies??[]).map(e=>({...e,value:Dv.VARIABLES.test(e.value)||Dv.PATH.test(e.value)?aN(e.value,a):e.value}))??[],...l.cookies.map(e=>({key:e.name,value:e.value,enabled:!0}))],f=[...(t?.parameters.query??[]).map(e=>({...e,value:Dv.VARIABLES.test(e.value)||Dv.PATH.test(e.value)?aN(e.value,a):e.value}))??[],...Array.from(l.urlParams.entries()).map(([e,t])=>({key:e,value:t,enabled:!0}))],p=(()=>{let e=t?.body;return e?.raw?.value&&(Dv.VARIABLES.test(e.raw.value)||Dv.PATH.test(e.raw.value))?{...e,raw:{...e.raw,value:aN(e.raw.value,a)}}:e})();return tNt({baseUrl:s,method:e?.method??`get`,path:c,body:p,cookies:d,headers:u,query:f})}})),oNt,sNt,cNt=c((()=>{eNt(),aNt(),U(),Y(),Rx(),ON(),oNt={key:0,class:`text-c-3 flex min-h-16 items-center justify-center px-4 text-sm`},sNt=j({__name:`CodeSnippet`,props:{target:{},client:{},operation:{},server:{},example:{},securitySchemes:{default:()=>[]},environment:{}},setup(e){let t=H(()=>e.securitySchemes.flatMap(e=>e.type===`apiKey`?e.value:e?.type===`http`?[e.token,e.password,DN(`${e.username}:${e.password}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e?.token).filter(d_):[])),n=H(()=>{let t=iNt({operation:e.operation,example:e.example,server:e.server,securitySchemes:e.securitySchemes,environment:e.environment}),[n,r]=$I(e.target,e.client,t);return{error:n,payload:r}}),r=H(()=>e.target===`shell`&&e.client===`curl`?`curl`:e.target??`plaintext`);return(e,i)=>n.value.error?(N(),P(`div`,oNt,D(n.value.error.message),1)):n.value.payload?(N(),F(k(wA),{key:1,class:`w-full`,content:n.value.payload,hideCredentials:t.value,lang:r.value,lineNumbers:``},null,8,[`content`,`hideCredentials`,`lang`])):R(``,!0)}})})),lNt,uNt=c((()=>{cNt(),lNt=sNt})),dNt,fNt,pNt,mNt,hNt=c((()=>{tN(),hF(),xF(),CF(),uNt(),U(),Y(),ZI(),dNt={class:`w-full`},fNt={class:`flex flex-1`},pNt={class:`bg-b-1 flex items-center justify-center overflow-hidden border-t`},mNt=j({__name:`RequestCodeExample`,props:{collection:{},example:{},operation:{},server:{},workspace:{},environment:{}},setup(e){let{securitySchemes:t,workspaceMutators:n}=eN(),r=H(()=>a.value.targetKey===`custom`&&i.value?.some(e=>e.lang===a.value.clientKey)?a.value:{targetKey:e.workspace.selectedHttpClient?.targetKey??`js`,clientKey:e.workspace.selectedHttpClient?.clientKey??`fetch`}),i=H(()=>e.operation[`x-codeSamples`]||e.operation[`x-code-samples`]||e.operation[`x-custom-examples`]),a=O(i.value?.length?{targetKey:`custom`,clientKey:i.value[0]?.lang}:{targetKey:e.workspace.selectedHttpClient?.targetKey??`js`,clientKey:e.workspace.selectedHttpClient?.clientKey??`fetch`}),o=H(()=>(e.operation.selectedSecuritySchemeUids||e.collection.selectedSecuritySchemeUids||[]).flat().map(e=>t[e]).filter(e=>!!e)),s=H(()=>{let t={},n=XI().clients().map(e=>({label:e.title,options:e.clients.map(n=>(t[`${e.key},${n.client}`]=n.title,{id:`${e.key},${n.client}`,label:n.title}))})),r=(e.operation[`x-codeSamples`]||e.operation[`x-code-samples`]||e.operation[`x-custom-examples`]||[]).map(e=>({id:`custom,${e.lang}`,label:e.label||e.lang})),i=r.length>0?[{id:`customExamples`,label:`Code Examples`,options:r.map(e=>({id:e.id,label:e.label??e.id}))},...n]:n;return r.forEach(e=>{t[e.id]=e.label??e.id}),{options:i,dict:t}}),c=H(()=>{let e=r.value;if(e.targetKey===`custom`){let t=`custom,${e.clientKey}`;return{id:t,label:s.value.dict[t]??`Unknown`}}let t=`${e.targetKey},${e.clientKey}`;return{id:t,label:s.value.dict[t]??`Unknown`}}),l=H(()=>r.value.targetKey),u=H(()=>r.value.clientKey),d=t=>{if(!t)return;let{id:r}=t,[i,o]=r.split(`,`);!i||!o||(a.value={targetKey:i,clientKey:o},i!==`custom`&&n.edit(e.workspace.uid,`selectedHttpClient`,{targetKey:i,clientKey:o}))},f=H(()=>{if(!c.value.id.startsWith(`custom,`))return;let e=c.value.id.split(`,`)[1];return i.value?.find(t=>t.lang===e)?.source});return(t,n)=>(N(),P(`div`,dNt,[V(SF,{class:`group/preview w-full border-b-0`,defaultOpen:!1},{title:A(()=>[...n[0]||=[L(`Code Snippet`,-1)]]),actions:A(()=>[I(`div`,fNt,[V(k(Nj),{modelValue:c.value,options:s.value.options,placement:`bottom-end`,"onUpdate:modelValue":d},{default:A(()=>[V(k(KS),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-1.25 py-0.75 font-normal`,variant:`ghost`},{default:A(()=>[I(`span`,null,D(c.value?.label),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])])]),default:A(()=>[V(mF,{columns:[``],presentational:``},{default:A(()=>[V(bF,null,{default:A(()=>[I(`div`,pNt,[f.value?(N(),F(k(wA),{key:0,content:f.value,lang:c.value.id.split(`,`)[1]??`plaintext`},null,8,[`content`,`lang`])):(N(),F(k(lNt),{key:1,client:u.value,example:e.example,operation:e.operation,securitySchemes:o.value,server:e.server,target:l.value,environment:e.environment},null,8,[`client`,`example`,`operation`,`securitySchemes`,`server`,`target`,`environment`]))])]),_:1})]),_:1})]),_:1})]))}})})),gNt,_Nt=c((()=>{Mg(),hNt(),gNt=jg(mNt,[[`__scopeId`,`data-v-2891f052`]])})),vNt,yNt,bNt,xNt,SNt,CNt,wNt=c((()=>{Pg(),hN(),Pft(),tN(),lF(),dF(),JEt(),$Et(),rDt(),wOt(),_Nt(),U(),Y(),Rx(),vNt={class:`group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24`},yNt=[`for`],bNt=[`id`,`placeholder`,`value`],xNt={key:2,class:`text-c-1 flex h-8 items-center`},SNt=[`id`,`role`],CNt=j({__name:`RequestSection`,props:{collection:{},environment:{},envVariables:{},example:{},invalidParams:{},operation:{},selectedSecuritySchemeUids:{},server:{},workspace:{}},setup(e){let t=[`Auth`,`Path Parameters`,`Cookies`,`Headers`,`Query`,`Body`],{requestMutators:n,cookies:r,securitySchemes:i}=eN(),{layout:a}=Ng(),o=H(()=>{let n=new Set([`All`,...t]);return e.example.parameters.path.length||n.delete(`Path Parameters`),gv(e.operation.method??`get`)||n.delete(`Body`),c.value&&n.delete(`Auth`),[...n]}),s=H(()=>Object.fromEntries(o.value.map(e=>[e,ud()]))),c=H(()=>a===`modal`&&!e.operation.security&&!Object.keys(i??{}).length),l=O(`All`);nd(()=>e.operation,e=>{l.value===`Body`&&e&&!gv(e.method)&&(l.value=`All`)});let u=t=>{let r=t.target;n.edit(e.operation.uid,`summary`,r.value)},d=H(()=>(e.workspace.cookies??[]).map(e=>r[e]).filter(d_).filter(e=>e.name).filter(t=>LN(e.server?.url||e.operation.path,t.domain)).map(e=>({key:e.name,value:e.value,route:{name:`cookies`,params:{cookies:e.uid}},enabled:!0}))),f=()=>e.operation.summary?e.operation.summary:e.operation.path.replace(Dv.PROTOCOL,``)?e.operation.path.replace(Dv.PROTOCOL,``):`Request Name`,p=ud(),m=mN().getViewComponents(`request.section`),h=(t,r)=>n.edit(e.operation.uid,t,r);return nd(()=>c.value,e=>{e&&l.value===`Auth`&&(l.value=`All`)}),(t,n)=>(N(),F(uF,{"aria-label":`Request: ${e.operation.summary}`},{title:A(()=>[I(`div`,vNt,[k(a)===`modal`?R(``,!0):(N(),P(`label`,{key:0,class:`pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0`,for:k(p)},null,8,yNt)),k(a)===`modal`?(N(),P(`span`,xNt,D(e.operation.summary),1)):(N(),P(`input`,{key:1,id:k(p),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:f(),value:e.operation.summary,onInput:u},null,40,bNt))]),V(cF,{modelValue:l.value,"onUpdate:modelValue":n[0]||=e=>l.value=e,filterIds:s.value,filters:o.value},null,8,[`modelValue`,`filterIds`,`filters`])]),default:A(()=>[I(`div`,{id:s.value.All,class:`request-section-content custom-scroll relative flex flex-1 flex-col`,role:l.value===`All`?`tabpanel`:`none`},[e.collection&&e.workspace&&(k(a)!==`modal`||Object.keys(k(i)??{}).length)?Xu((N(),F(VF,{key:0,id:s.value.Auth,class:`request-section-content-auth`,collection:e.collection,envVariables:e.envVariables,environment:e.environment,isReadOnly:k(a)===`modal`,layout:`client`,operation:e.operation,role:l.value===`All`?`none`:`tabpanel`,selectedSecuritySchemeUids:e.selectedSecuritySchemeUids,server:e.server,title:`Authentication`,workspace:e.workspace},null,8,[`id`,`collection`,`envVariables`,`environment`,`isReadOnly`,`operation`,`role`,`selectedSecuritySchemeUids`,`server`,`workspace`])),[[Rp,!c.value&&(l.value===`All`||l.value===`Auth`)]]):R(``,!0),Xu(V(nDt,{id:s.value[`Path Parameters`],class:`request-section-content-path-params`,envVariables:e.envVariables,environment:e.environment,example:e.example,invalidParams:e.invalidParams,operation:e.operation,paramKey:`path`,role:l.value===`All`?`none`:`tabpanel`,title:`Path Parameters`,workspace:e.workspace},null,8,[`id`,`envVariables`,`environment`,`example`,`invalidParams`,`operation`,`role`,`workspace`]),[[Rp,(l.value===`All`||l.value===`Path Parameters`)&&e.example.parameters.path.length]]),Xu(V(AF,{id:s.value.Cookies,class:`request-section-content-cookies`,envVariables:e.envVariables,environment:e.environment,example:e.example,invalidParams:e.invalidParams,label:`Cookie`,operation:e.operation,paramKey:`cookies`,readOnlyEntries:d.value,role:l.value===`All`?`none`:`tabpanel`,title:`Cookies`,workspace:e.workspace},null,8,[`id`,`envVariables`,`environment`,`example`,`invalidParams`,`operation`,`readOnlyEntries`,`role`,`workspace`]),[[Rp,l.value===`All`||l.value===`Cookies`]]),Xu(V(AF,{id:s.value.Headers,class:`request-section-content-headers`,envVariables:e.envVariables,environment:e.environment,example:e.example,invalidParams:e.invalidParams,label:`Header`,operation:e.operation,paramKey:`headers`,role:l.value===`All`?`none`:`tabpanel`,title:`Headers`,workspace:e.workspace},null,8,[`id`,`envVariables`,`environment`,`example`,`invalidParams`,`operation`,`role`,`workspace`]),[[Rp,l.value===`All`||l.value===`Headers`]]),Xu(V(AF,{id:s.value.Query,class:`request-section-content-query`,envVariables:e.envVariables,environment:e.environment,example:e.example,invalidParams:e.invalidParams,label:`Parameter`,operation:e.operation,paramKey:`query`,role:l.value===`All`?`none`:`tabpanel`,title:`Query Parameters`,workspace:e.workspace},null,8,[`id`,`envVariables`,`environment`,`example`,`invalidParams`,`operation`,`role`,`workspace`]),[[Rp,l.value===`All`||l.value===`Query`]]),e.operation.method&&(l.value===`All`||l.value===`Body`)&&k(gv)(e.operation.method)?(N(),F(qEt,{key:1,id:s.value.Body,class:`request-section-content-body`,envVariables:e.envVariables,environment:e.environment,example:e.example,operation:e.operation,role:l.value===`All`?`none`:`tabpanel`,title:`Body`,workspace:e.workspace},null,8,[`id`,`envVariables`,`environment`,`example`,`operation`,`role`,`workspace`])):R(``,!0),(N(!0),P(B,null,yd(k(m),(t,n)=>(N(),F(k(Uj),{key:t.title??n},{default:A(()=>[Xu((N(),F(vd(t.component),{operation:e.operation,"onUpdate:operation":h},null,40,[`operation`])),[[Rp,l.value===`All`||l.value===t.title]])]),_:2},1024))),128)),n[1]||=I(`div`,{class:`flex flex-grow`},null,-1),V(k(Uj),null,{default:A(()=>[V(gNt,{class:`request-section-content-code-example -mt-1/2 border-t`,collection:e.collection,environment:e.envVariables,example:e.example,operation:e.operation,server:e.server,workspace:e.workspace},null,8,[`collection`,`environment`,`example`,`operation`,`server`,`workspace`])]),_:1})],8,SNt)]),_:1},8,[`aria-label`]))}})})),TNt,ENt=c((()=>{Mg(),wNt(),TNt=jg(CNt,[[`__scopeId`,`data-v-287f5ecf`]])})),eL,DNt=c((()=>{eL=` .:=+++++=================-
|
||
.--#* :.
|
||
.-:-** -.
|
||
.:-::-+* =:
|
||
.:-:::-=# ::
|
||
.-:::----** ..
|
||
.-:::::---=# ..
|
||
:-::::::----** ..
|
||
.:-::::::::----*= ..
|
||
.-::::::::------+- ..
|
||
..::::::::-------= ..
|
||
.:::::----------++ ..
|
||
.:::----------+**+*++*+*++*+++*++++++++++:.
|
||
------------+*+=-=======================.
|
||
.----------+*+=========================:.
|
||
:--------+*+=-========================.
|
||
.=------+*+=-========================:.
|
||
.=----+*+=-------=================+-.
|
||
.----+*+=----------================.
|
||
.:=-+*+=----------=-==============-
|
||
.-+*+=----------------===========.
|
||
.-+=------------------====-====:.`})),ONt,kNt,ANt,jNt,MNt,NNt=c((()=>{oP(),DNt(),U(),Y(),ONt={class:`flex-center flex w-full scale-75`},kNt={class:`relative`},ANt={class:`relative -ml-12`},jNt={class:`relative -ml-12`},MNt=j({__name:`EmptyState`,setup(e){return(e,t)=>(N(),P(`div`,ONt,[I(`div`,kNt,[V(k(Yj),{class:`keycap-hotkey right-14 border-transparent py-0 text-xl`,hotkey:``}),V(aP,{art:k(eL),class:`text-c-3 !leading-[6px]`},null,8,[`art`])]),I(`div`,ANt,[V(k(Yj),{class:`keycap-hotkey right-14 border-transparent py-0 text-xl`,hotkey:``,modifier:[`Shift`]}),V(aP,{art:k(eL),class:`keycap-n !leading-[6px]`},null,8,[`art`])]),I(`div`,jNt,[t[0]||=I(`div`,{class:`keycap-hotkey right-16 text-xl`},`P`,-1),V(aP,{art:k(eL),class:`keycap-n !leading-[6px]`},null,8,[`art`])])]))}})})),tL,PNt=c((()=>{Mg(),NNt(),tL=jg(MNt,[[`__scopeId`,`data-v-b1211b87`]])}));function FNt(e){let t=``;if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=INt(n.trim()))}return t}var INt,LNt=c((()=>{INt=e=>{try{return decodeURIComponent(e)}catch{return e}}}));function RNt(e){let t=e=>e instanceof Blob,n=H(()=>cu(e.data)?e.data.value:e.data),r=H(()=>cu(e.headers)?e.headers.value:e.headers),i=H(()=>new zNt.default(r.value.find(e=>e.name.toLowerCase()===`content-type`)?.value??``));return{mimeType:i,attachmentFilename:H(()=>FNt(r.value.find(e=>e.name.toLowerCase()===`content-disposition`)?.value??``)),dataUrl:H(()=>t(n.value)?URL.createObjectURL(n.value):typeof n.value==`string`?URL.createObjectURL(new Blob([n.value],{type:i.value.toString()})):n.value instanceof Object&&Object.keys(n.value).length?URL.createObjectURL(new Blob([JSON.stringify(n.value)],{type:i.value.toString()})):``)}}var zNt,BNt=c((()=>{LNt(),U(),zNt=f(IN(),1)})),VNt,HNt,UNt=c((()=>{PN(),U(),Y(),VNt=[`download`,`href`],HNt=j({__name:`ResponseBodyDownload`,props:{href:{},type:{},filename:{}},setup(e){let t=e,n=H(()=>{let e=MN(t.type??``)?.extension??`.unknown`;return t.filename?t.filename:`response${e}`});return(t,r)=>(N(),P(`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:`${n.value}`,href:e.href,onClick:r[0]||=$p(()=>{},[`stop`])},[V(k(nM),{icon:`Download`,size:`xs`}),r[1]||=I(`span`,null,[I(`span`,null,`Download`),I(`span`,{class:`sr-only`},`Response Body`)],-1)],8,VNt))}})})),nL,WNt=c((()=>{UNt(),nL=HNt}));function GNt(e,t){return N(),P(`div`,qNt,[I(`div`,JNt,[M(e.$slots,`default`)])])}var KNt,qNt,JNt,rL,YNt=c((()=>{Mg(),U(),KNt={},qNt={class:`flex justify-center px-2 py-3`},JNt={class:`text-c-3 p-2 text-sm`},rL=jg(KNt,[[`render`,GNt]])})),XNt,ZNt,QNt,$Nt,ePt,tPt=c((()=>{YNt(),U(),XNt=[`src`],ZNt=[`src`,`type`],QNt=[`src`,`type`],$Nt=[`data`,`type`],ePt=j({__name:`ResponseBodyPreview`,props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=O(!1);return nd(()=>e.src,()=>t.value=!1),(n,r)=>!t.value&&e.src?(N(),P(`div`,{key:0,class:E([`flex justify-center overflow-auto rounded-b`,{"bg-preview p-2":e.alpha}])},[e.mode===`image`?(N(),P(`img`,{key:0,class:E([`h-full max-w-full`,{rounded:e.alpha}]),src:e.src,onError:r[0]||=e=>t.value=!0},null,42,XNt)):e.mode===`video`?(N(),P(`video`,{key:1,autoplay:``,controls:``,width:`100%`,onError:r[1]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,ZNt)],32)):e.mode===`audio`?(N(),P(`audio`,{key:2,class:`my-12`,controls:``,onError:r[2]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,QNt)],32)):(N(),P(`object`,{key:3,class:`aspect-[4/3] w-full`,data:e.src,type:e.type,onError:r[3]||=e=>t.value=!0},null,40,$Nt))],2)):(N(),F(rL,{key:1},{default:A(()=>[...r[4]||=[L(`Preview unavailable`,-1)]]),_:1}))}})})),nPt,rPt=c((()=>{Mg(),tPt(),nPt=jg(ePt,[[`__scopeId`,`data-v-0956ad2d`]])}));function iPt(e){if(e<768)return!1;for(let t=0,n=aL.length;;){let r=t+n>>1;if(e<aL[r])n=r;else if(e>=oL[r])t=r+1;else return!0;if(t==n)return!1}}function aPt(e){return e>=127462&&e<=127487}function oPt(e,t,n=!0,r=!0){return(n?sPt:cPt)(e,t,r)}function sPt(e,t,n){if(t==e.length)return t;t&&lPt(e.charCodeAt(t))&&uPt(e.charCodeAt(t-1))&&t--;let r=iL(e,t);for(t+=dPt(r);t<e.length;){let i=iL(e,t);if(r==sL||i==sL||n&&iPt(i))t+=dPt(i),r=i;else if(aPt(i)){let n=0,r=t-2;for(;r>=0&&aPt(iL(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function cPt(e,t,n){for(;t>0;){let r=sPt(e,t-2,n);if(r<t)return r;t--}return 0}function iL(e,t){let n=e.charCodeAt(t);if(!uPt(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return lPt(r)?(n-55296<<10)+(r-56320)+65536:n}function lPt(e){return e>=56320&&e<57344}function uPt(e){return e>=55296&&e<56320}function dPt(e){return e<65536?1:2}var aL,oL,sL,fPt=c((()=>{aL=[],oL=[],(()=>{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,n=0;t<e.length;t++)(t%2?oL:aL).push(n+=e[t])})(),sL=8205}));function pPt(e){let t=-1;for(let n of e)t+=n.length+1;return t}function cL(e,t,n=0,r=1e9){for(let i=0,a=0,o=!0;a<e.length&&i<=r;a++){let s=e[a],c=i+s.length;c>=n&&(c>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),o?(t[t.length-1]+=s,o=!1):t.push(s)),i=c+1}return t}function mPt(e,t,n){return cL(e,[``],t,n)}function lL(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}function uL(e,t,n=!0,r=!0){return oPt(e,t,n,r)}function hPt(e){return e>=56320&&e<57344}function gPt(e){return e>=55296&&e<56320}function dL(e,t){let n=e.charCodeAt(t);if(!gPt(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return hPt(r)?(n-55296<<10)+(r-56320)+65536:n}function _Pt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function fL(e){return e<65536?1:2}function pL(e,t,n,r=!1){if(t==0&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&t==0&&e[i]==0?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function mL(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(jL.empty);e.push(n)}}function hL(e,t,n){let r=e.inserted;for(let i=0,a=0,o=0;o<e.sections.length;){let s=e.sections[o++],c=e.sections[o++];if(c<0)i+=s,a+=s;else{let l=i,u=a,d=jL.empty;for(;l+=s,u+=c,c&&r&&(d=d.append(r[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)s=e.sections[o++],c=e.sections[o++];t(i,l,a,u,d),i=l,a=u}}}function gL(e,t,n,r=!1){let i=[],a=r?[]:null,o=new VL(e),s=new VL(t);for(let e=-1;;)if(o.done&&s.len||s.done&&o.len)throw Error(`Mismatched change set lengths`);else if(o.ins==-1&&s.ins==-1){let e=Math.min(o.len,s.len);pL(i,e,-1),o.forward(e),s.forward(e)}else if(s.ins>=0&&(o.ins<0||e==o.i||o.off==0&&(s.len<o.len||s.len==o.len&&!n))){let t=s.len;for(pL(i,s.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&(pL(i,0,o.ins),a&&mL(a,i,o.text),e=o.i),o.forward(n),t-=n}s.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(s.ins==-1){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(s.ins==0&&s.len<n)n-=s.len,s.next();else break;pL(i,t,e<o.i?o.ins:0),a&&e<o.i&&mL(a,i,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&s.done)return a?BL.createSet(i,a):zL.create(i);else throw Error(`Mismatched change set lengths`)}function vPt(e,t,n=!1){let r=[],i=n?[]:null,a=new VL(e),o=new VL(t);for(let e=!1;;)if(a.done&&o.done)return i?BL.createSet(r,i):zL.create(r);else if(a.ins==0)pL(r,a.len,0,e),a.next();else if(o.len==0&&!o.done)pL(r,0,o.ins,e),i&&mL(i,r,o.text),o.next();else if(a.done||o.done)throw Error(`Mismatched change set lengths`);else{let t=Math.min(a.len2,o.len),n=r.length;if(a.ins==-1){let n=o.ins==-1?-1:o.off?0:o.ins;pL(r,t,n,e),i&&n&&mL(i,r,o.text)}else o.ins==-1?(pL(r,a.off?0:a.len,t,e),i&&mL(i,r,a.textBit(t))):(pL(r,a.off?0:a.len,o.off?0:o.ins,e),i&&!o.off&&mL(i,r,o.text));e=(a.ins>t||o.ins>=0&&o.len>t)&&(e||r.length>n),a.forward2(t),o.forward(t)}}function yPt(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError(`Selection points outside of document`)}function _L(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}function bPt(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function vL(e,t){let n=!1;for(let r of t)bL(e,r)&1&&(n=!0);return n}function xPt(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),a=r.filter(e=>!(e&1)),o=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let a=xL(e,r[t]);if(i[t]==2)for(let e of a)n.push(e);else n.push(a)}return t.combine(n)}return{create(e){for(let t of r)bL(e,t);return e.values[o]=s(e),1},update(e,n){if(!vL(e,a))return 0;let r=s(e);return t.compare(r,e.values[o])?0:(e.values[o]=r,1)},reconfigure(e,i){let a=vL(e,r),c=i.config.facets[t.id],l=i.facet(t);if(c&&!a&&_L(n,c))return e.values[o]=l,0;let u=s(e);return t.compare(u,l)?(e.values[o]=l,0):(e.values[o]=u,1)}}}function yL(e){return t=>new ZL(t,e)}function SPt(e,t,n){let r=[[],[],[],[],[]],i=new Map;function a(e,o){let s=i.get(e);if(s!=null){if(s<=o)return;let t=r[s].indexOf(e);t>-1&&r[s].splice(t,1),e instanceof $L&&n.delete(e.compartment)}if(i.set(e,o),Array.isArray(e))for(let t of e)a(t,o);else if(e instanceof $L){if(n.has(e.compartment))throw RangeError(`Duplicate use of compartment in extensions`);let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),a(r,o)}else if(e instanceof ZL)a(e.inner,e.prec);else if(e instanceof JL)r[o].push(e),e.provides&&a(e.provides,o);else if(e instanceof KL)r[o].push(e),e.facet.extensions&&a(e.facet.extensions,YL.default);else{let t=e.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);a(t,o)}}return a(e,YL.default),r.reduce((e,t)=>e.concat(t))}function bL(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw Error(`Cyclic dependency between fields and/or facets`);if(r&2)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function xL(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}function CPt(e,t){let n=[];for(let r=0,i=0;;){let a,o;if(r<e.length&&(i==t.length||t[i]>=e[r]))a=e[r++],o=e[r++];else if(i<t.length)a=t[i++],o=t[i++];else return n;!n.length||n[n.length-1]<a?n.push(a,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function wPt(e,t,n){let r,i,a;return n?(r=t.changes,i=BL.empty(t.changes.length),a=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(r)),{changes:a,selection:t.selection?t.selection.map(i):e.selection?.map(r),effects:lR.mapEffects(e.effects,r).concat(lR.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function SL(e,t,n){let r=t.selection,i=CL(t.annotations);return t.userEvent&&(i=i.concat(uR.userEvent.of(t.userEvent))),{changes:t.changes instanceof BL?t.changes:BL.of(t.changes||[],n,e.facet(rR)),selection:r&&(r instanceof UL?r:UL.single(r.anchor,r.head)),effects:CL(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function TPt(e,t,n){let r=SL(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let i=1;i<t.length;i++){t[i].filter===!1&&(n=!1);let a=!!t[i].sequential;r=wPt(r,SL(e,t[i],a?r.changes.newLength:e.doc.length),a)}let i=uR.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return DPt(n?EPt(i):i)}function EPt(e){let t=e.startState,n=!0;for(let r of t.facet(iR)){let t=r(e);if(t===!1){n=!1;break}Array.isArray(t)&&(n=n===!0?t:CPt(n,t))}if(n!==!0){let r,i;if(n===!1)i=e.changes.invertedDesc,r=BL.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=uR.create(t,r,e.selection&&e.selection.map(i),lR.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(aR);for(let n=r.length-1;n>=0;n--){let i=r[n](e);e=i instanceof uR?i:Array.isArray(i)&&i.length==1&&i[0]instanceof uR?i[0]:TPt(t,CL(i),!1)}return e}function DPt(e){let t=e.startState,n=t.facet(oR),r=e;for(let i=n.length-1;i>=0;i--){let a=n[i](e);a&&Object.keys(a).length&&(r=wPt(r,SL(t,a,e.changes.newLength),!0))}return r==e?e:uR.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}function CL(e){return e==null?RPt:Array.isArray(e)?e:[e]}function OPt(e){if(fR)return fR.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>``&&(n.toUpperCase()!=n.toLowerCase()||zPt.test(n)))return!0}return!1}function kPt(e){return t=>{if(!/\S/.test(t))return dR.Space;if(OPt(t))return dR.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return dR.Word;return dR.Other}}function wL(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],a=r[e];if(a===void 0)r[e]=i;else if(!(a===i||i===void 0))if(Object.hasOwnProperty.call(n,e))r[e]=n[e](a,i);else throw Error(`Config merge conflict for field `+e)}for(let e in t)r[e]===void 0&&(r[e]=t[e]);return r}function TL(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}function APt(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(TL(t,r)>0)return e.slice().sort(TL);t=r}return e}function jPt(e,t,n){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 i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let a=r.get(e.chunk[t]);a!=null&&(n?n.mapPos(a):a)==e.chunkPos[t]&&!n?.touchesRange(a,a+e.chunk[t].length)&&i.add(e.chunk[t])}return i}function EL(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}function MPt(e,t,n,r,i,a){e.goto(t),n.goto(r);let o=r+i,s=r,c=r-t;for(;;){let t=e.to+c-n.to,r=t||e.endSide-n.endSide,i=r<0?e.to+c:n.to,l=Math.min(i,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&DL(e.activeForPoint(e.to),n.activeForPoint(n.to))||a.comparePoint(s,l,e.point,n.point):l>s&&!DL(e.active,n.active)&&a.compareRange(s,l,e.active,n.active),i>o)break;(t||e.openEnd!=n.openEnd)&&a.boundChange&&a.boundChange(i),s=i,r<=0&&e.next(),r>=0&&n.next()}}function DL(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function OL(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function kL(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function NPt(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function AL(e,t,n=e.length){let r=0;for(let i=0;i<n;)e.charCodeAt(i)==9?(r+=t-r%t,i++):(r++,i=uL(e,i));return r}function PPt(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=e.charCodeAt(r)==9?n-i%n:1,r=uL(e,r)}return r===!0?-1:e.length}var jL,ML,NL,PL,FL,IL,FPt,LL,RL,zL,BL,VL,HL,UL,WL,GL,KL,qL,JL,YL,XL,ZL,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,IPt,LPt,lR,uR,RPt,dR,zPt,fR,pR,mR,hR,BPt,gR,_R,vR,yR,bR,xR=c((()=>{fPt(),jL=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,n){[e,t]=lL(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),NL.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=lL(this,e,t);let n=[];return this.decompose(e,t,n,0),NL.from(n,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),n=this.length-this.scanIdentical(e,-1),r=new PL(this),i=new PL(e);for(let e=t,a=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new PL(this,e)}iterRange(e,t=this.length){return new FL(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t??=this.lines+1;let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new IL(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(t.length==0)throw RangeError(`A document must have at least one line`);return t.length==1&&!t[0]?e.empty:t.length<=32?new ML(t):NL.from(ML.split(t,[]))}},ML=class e extends jL{constructor(e,t=pPt(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.text[i],o=r+a.length;if((t?n:o)>=e)return new FPt(r,o,n,a);r=o+1,n++}}decompose(t,n,r,i){let a=t<=0&&n>=this.length?this:new e(mPt(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let t=r.pop(),n=cL(a.text,t.text.slice(),0,a.length);if(n.length<=32)r.push(new e(n,t.length+a.length));else{let t=n.length>>1;r.push(new e(n.slice(0,t)),new e(n.slice(t)))}}else r.push(a)}replace(t,n,r){if(!(r instanceof e))return super.replace(t,n,r);[t,n]=lL(this,t,n);let i=cL(this.text,cL(r.text,mPt(this.text,0,t)),n),a=this.length+r.length-(n-t);return i.length<=32?new e(i,a):NL.from(e.split(i,[]),a)}sliceString(e,t=this.length,n=`
|
||
`){[e,t]=lL(this,e,t);let r=``;for(let i=0,a=0;i<=t&&a<this.text.length;a++){let o=this.text[a],s=i+o.length;i>e&&a&&(r+=n),e<s&&t>i&&(r+=o.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(t,n){let r=[],i=-1;for(let a of t)r.push(a),i+=a.length+1,r.length==32&&(n.push(new e(r,i)),r=[],i=-1);return i>-1&&n.push(new e(r,i)),n}},NL=class e extends jL{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,n,r){for(let i=0;;i++){let a=this.children[i],o=r+a.length,s=n+a.lines-1;if((t?s:o)>=e)return a.lineInner(e,t,n,r);r=o+1,n=s+1}}decompose(e,t,n,r){for(let i=0,a=0;a<=t&&i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(e<=s&&t>=a){let i=r&((a<=e?1:0)|(s>=t?2:0));a>=e&&s<=t&&!i?n.push(o):o.decompose(e-a,t-a,n,i)}a=s+1}}replace(t,n,r){if([t,n]=lL(this,t,n),r.lines<this.lines)for(let i=0,a=0;i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(t>=a&&n<=s){let c=o.replace(t-a,n-a,r),l=this.lines-o.lines+c.lines;if(c.lines<l>>4&&c.lines>l>>6){let a=this.children.slice();return a[i]=c,new e(a,this.length-(n-t)+r.length)}return super.replace(a,s,c)}a=s+1}return super.replace(t,n,r)}sliceString(e,t=this.length,n=`
|
||
`){[e,t]=lL(this,e,t);let r=``;for(let i=0,a=0;i<this.children.length&&a<=t;i++){let o=this.children[i],s=a+o.length;a>e&&i&&(r+=n),e<s&&t>a&&(r+=o.sliceString(e-a,t-a,n)),a=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(t,n){if(!(t instanceof e))return 0;let r=0,[i,a,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=n,a+=n){if(i==o||a==s)return r;let e=this.children[i],c=t.children[a];if(e!=c)return r+e.scanIdentical(c,n);r+=e.length+1}}static from(t,n=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 n of t)n.flatten(e);return new ML(e,n)}let i=Math.max(32,r>>5),a=i<<1,o=i>>1,s=[],c=0,l=-1,u=[];function d(t){let n;if(t.lines>a&&t instanceof e)for(let e of t.children)d(e);else t.lines>o&&(c>o||!c)?(f(),s.push(t)):t instanceof ML&&c&&(n=u[u.length-1])instanceof ML&&t.lines+n.lines<=32?(c+=t.lines,l+=t.length+1,u[u.length-1]=new ML(n.text.concat(t.text),n.length+1+t.length)):(c+t.lines>i&&f(),c+=t.lines,l+=t.length+1,u.push(t))}function f(){c!=0&&(s.push(u.length==1?u[0]:e.from(u,l)),l=-1,c=u.length=0)}for(let e of t)d(e);return f(),s.length==1?s[0]:new e(s,n)}},jL.empty=new ML([``],0),PL=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 ML?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],a=i>>1,o=r instanceof ML?r.text.length:r.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value=``,this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
|
||
`,this;e--}else if(r instanceof ML){let i=r.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=e==0?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[a+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof ML?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},FL=class{constructor(e,t,n){this.value=``,this.done=!1,this.cursor=new PL(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}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 n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),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!=``}},IL=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value=``,this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value=``,this.afterBreak=!1):t?(this.done=!0,this.value=``):n?this.afterBreak?this.value=``:(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}},typeof Symbol<`u`&&(jL.prototype[Symbol.iterator]=function(){return this.iter()},PL.prototype[Symbol.iterator]=FL.prototype[Symbol.iterator]=IL.prototype[Symbol.iterator]=function(){return this}),FPt=class{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}},LL=/\r\n?|\n/,RL=(function(e){return e[e.Simple=0]=`Simple`,e[e.TrackDel=1]=`TrackDel`,e[e.TrackBefore=2]=`TrackBefore`,e[e.TrackAfter=3]=`TrackAfter`,e})(RL||={}),zL=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 n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],a=this.sections[t++];a<0?(e(n,r,i),r+=i):r+=a,n+=i}}iterChangedRanges(e,t=!1){hL(this,e,t)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],r=this.sections[e++];r<0?t.push(n,r):t.push(r,n)}return new e(t)}composeDesc(e){return this.empty?e:e.empty?this:vPt(this,e)}mapDesc(e,t=!1){return e.empty?this:gL(this,e,t)}mapPos(e,t=-1,n=RL.Simple){let r=0,i=0;for(let a=0;a<this.sections.length;){let o=this.sections[a++],s=this.sections[a++],c=r+o;if(s<0){if(c>e)return i+(e-r);i+=o}else{if(n!=RL.Simple&&c>=e&&(n==RL.TrackDel&&r<e&&c>e||n==RL.TrackBefore&&r<e||n==RL.TrackAfter&&c>e))return null;if(c>e||c==e&&t<0&&!o)return e==r||t<0?i:i+s;i+=s}r=c}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],a=this.sections[n++],o=r+i;if(a>=0&&r<=t&&o>=e)return r<e&&o>t?`cover`:!0;r=o}return!1}toString(){let e=``;for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?` `:``)+n+(r>=0?`:`+r:``)}return e}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(e=>typeof e!=`number`))throw RangeError(`Invalid JSON representation of ChangeDesc`);return new e(t)}static create(t){return new e(t)}},BL=class e extends zL{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 hL(this,(t,n,r,i,a)=>e=e.replace(r,r+(n-t),a),!1),e}mapDesc(e,t=!1){return gL(this,e,t,!0)}invert(t){let n=this.sections.slice(),r=[];for(let e=0,i=0;e<n.length;e+=2){let a=n[e],o=n[e+1];if(o>=0){n[e]=o,n[e+1]=a;let s=e>>1;for(;r.length<s;)r.push(jL.empty);r.push(a?t.slice(i,i+a):jL.empty)}i+=a}return new e(n,r)}compose(e){return this.empty?e:e.empty?this:vPt(this,e,!0)}map(e,t=!1){return e.empty?this:gL(this,e,t,!0)}iterChanges(e,t=!1){hL(this,e,t)}get desc(){return zL.create(this.sections)}filter(t){let n=[],r=[],i=[],a=new VL(this);done:for(let e=0,o=0;;){let s=e==t.length?1e9:t[e++];for(;o<s||o==s&&a.len==0;){if(a.done)break done;let e=Math.min(a.len,s-o);pL(i,e,-1);let t=a.ins==-1?-1:a.off==0?a.ins:0;pL(n,e,t),t>0&&mL(r,n,a.text),a.forward(e),o+=e}let c=t[e++];for(;o<c;){if(a.done)break done;let e=Math.min(a.len,c-o);pL(n,e,-1),pL(i,e,a.ins==-1?-1:a.off==0?a.ins:0),a.forward(e),o+=e}}return{changes:new e(n,r),filtered:zL.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):r==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(t,n,r){let i=[],a=[],o=0,s=null;function c(t=!1){if(!t&&!i.length)return;o<n&&pL(i,n-o,-1);let r=new e(i,a);s=s?s.compose(r.map(s)):r,i=[],a=[],o=0}function l(t){if(Array.isArray(t))for(let e of t)l(e);else if(t instanceof e){if(t.length!=n)throw RangeError(`Mismatched change set length (got ${t.length}, expected ${n})`);c(),s=s?s.compose(t.map(s)):t}else{let{from:e,to:s=e,insert:l}=t;if(e>s||e<0||s>n)throw RangeError(`Invalid change range ${e} to ${s} (in doc of length ${n})`);let u=l?typeof l==`string`?jL.of(l.split(r||LL)):l:jL.empty,d=u.length;if(e==s&&d==0)return;e<o&&c(),e>o&&pL(i,e-o,-1),pL(i,s-e,d),mL(a,i,u),o=s}}return l(t),c(!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 n=[],r=[];for(let e=0;e<t.length;e++){let i=t[e];if(typeof i==`number`)n.push(i,-1);else if(!Array.isArray(i)||typeof i[0]!=`number`||i.some((e,t)=>t&&typeof e!=`string`))throw RangeError(`Invalid JSON representation of ChangeSet`);else if(i.length==1)n.push(i[0],0);else{for(;r.length<e;)r.push(jL.empty);r[e]=jL.of(i.slice(1)),n.push(i[0],r[e].length)}}return new e(n,r)}static createSet(t,n){return new e(t,n)}},VL=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 this.ins==-2}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?jL.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?jL.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},HL=class e{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(t,n=-1){let r,i;return this.empty?r=i=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new e(r,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return UL.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return UL.range(this.anchor,n)}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||typeof e.anchor!=`number`||typeof e.head!=`number`)throw RangeError(`Invalid JSON representation for SelectionRange`);return UL.range(e.anchor,e.head)}static create(t,n,r){return new e(t,n,r)}},UL=class e{constructor(e,t){this.ranges=e,this.mainIndex=t}map(t,n=-1){return t.empty?this:e.create(this.ranges.map(e=>e.map(t,n)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new e([this.main],0)}addRange(t,n=!0){return e.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let r=this.ranges.slice();return r[n]=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)||typeof t.main!=`number`||t.main>=t.ranges.length)throw RangeError(`Invalid JSON representation for EditorSelection`);return new e(t.ranges.map(e=>HL.fromJSON(e)),t.main)}static single(t,n=t){return new e([e.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw RangeError(`A selection needs at least one range`);for(let r=0,i=0;i<t.length;i++){let a=t[i];if(a.empty?a.from<=r:a.from<r)return e.normalized(t.slice(),n);r=a.to}return new e(t,n)}static cursor(e,t=0,n,r){return HL.create(e,e,(t==0?0:t<0?8:16)|(n==null?7:Math.min(6,n))|(r??16777215)<<6)}static range(e,t,n,r){let i=(n??16777215)<<6|(r==null?7:Math.min(6,r));return t<e?HL.create(t,e,48|i):HL.create(e,t,(t>e?8:0)|i)}static normalized(t,n=0){let r=t[n];t.sort((e,t)=>e.from-t.from),n=t.indexOf(r);for(let r=1;r<t.length;r++){let i=t[r],a=t[r-1];if(i.empty?i.from<=a.to:i.from<a.to){let o=a.from,s=Math.max(i.to,a.to);r<=n&&n--,t.splice(--r,2,i.anchor>i.head?e.range(s,o):e.range(o,s))}}return new e(t,n)}},WL=0,GL=class e{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=WL++,this.default=e([]),this.extensions=typeof i==`function`?i(this):i}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:_L),!!t.static,t.enables)}of(e){return new KL([],this,0,e)}compute(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new KL(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new KL(e,this,2,t)}from(e,t){return t||=e=>e,this.compute([e],n=>t(n.field(e)))}},KL=class{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=WL++}dynamicSlot(e){let t=this.value,n=this.facet.compareInput,r=this.id,i=e[r]>>1,a=this.type==2,o=!1,s=!1,c=[];for(let t of this.dependencies)t==`doc`?o=!0:t==`selection`?s=!0:(e[t.id]??1)&1||c.push(e[t.id]);return{create(e){return e.values[i]=t(e),1},update(e,r){if(o&&r.docChanged||s&&(r.docChanged||r.selection)||vL(e,c)){let r=t(e);if(a?!bPt(r,e.values[i],n):!n(r,e.values[i]))return e.values[i]=r,1}return 0},reconfigure:(e,o)=>{let s,c=o.config.address[r];if(c!=null){let r=xL(o,c);if(this.dependencies.every(t=>t instanceof GL?o.facet(t)===e.facet(t):t instanceof JL?o.field(t,!1)==e.field(t,!1):!0)||(a?bPt(s=t(e),r,n):n(s=t(e),r)))return e.values[i]=r,0}else s=t(e);return e.values[i]=s,1}}}},qL=GL.define({static:!0}),JL=class e{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(t){let n=new e(WL++,t.create,t.update,t.compare||((e,t)=>e===t),t);return t.provide&&(n.provides=t.provide(n)),n}create(e){return(e.facet(qL).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,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>n.config.address[this.id]==null?(e.values[t]=this.create(e),1):(e.values[t]=n.field(this),0)}}init(e){return[this,qL.of({field:this,create:e})]}get extension(){return this}},YL={lowest:4,low:3,default:2,high:1,highest:0},XL={highest:yL(YL.highest),high:yL(YL.high),default:yL(YL.default),low:yL(YL.low),lowest:yL(YL.lowest)},ZL=class{constructor(e,t){this.inner=e,this.prec=t}},QL=class e{of(e){return new $L(this,e)}reconfigure(t){return e.reconfigure.of({compartment:this,extension:t})}get(e){return e.config.compartments.get(this)}},$L=class{constructor(e,t){this.compartment=e,this.inner=t}},eR=class e{constructor(e,t,n,r,i,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(t,n,r){let i=[],a=Object.create(null),o=new Map;for(let e of SPt(t,n,o))e instanceof JL?i.push(e):(a[e.facet.id]||(a[e.facet.id]=[])).push(e);let s=Object.create(null),c=[],l=[];for(let e of i)s[e.id]=l.length<<1,l.push(t=>e.slot(t));let u=r?.config.facets;for(let e in a){let t=a[e],n=t[0].facet,i=u&&u[e]||[];if(t.every(e=>e.type==0))if(s[n.id]=c.length<<1|1,_L(i,t))c.push(r.facet(n));else{let e=n.combine(t.map(e=>e.value));c.push(r&&n.compare(e,r.facet(n))?r.facet(n):e)}else{for(let e of t)e.type==0?(s[e.id]=c.length<<1|1,c.push(e.value)):(s[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));s[n.id]=l.length<<1,l.push(e=>xPt(e,n,t))}}return new e(t,o,l.map(e=>e(s)),s,c,a)}},tR=GL.define(),nR=GL.define({combine:e=>e.some(e=>e),static:!0}),rR=GL.define({combine:e=>e.length?e[0]:void 0,static:!0}),iR=GL.define(),aR=GL.define(),oR=GL.define(),sR=GL.define({combine:e=>e.length?e[0]:!1}),cR=class{constructor(e,t){this.type=e,this.value=t}static define(){return new IPt}},IPt=class{of(e){return new cR(this,e)}},LPt=class{constructor(e){this.map=e}of(e){return new lR(this,e)}},lR=class e{constructor(e,t){this.type=e,this.value=t}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new e(this.type,n)}is(e){return this.type==e}static define(e={}){return new LPt(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}},lR.reconfigure=lR.define(),lR.appendConfig=lR.define(),uR=class e{constructor(t,n,r,i,a,o){this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=a,this.scrollIntoView=o,this._doc=null,this._state=null,r&&yPt(r,n.newLength),a.some(t=>t.type==e.time)||(this.annotations=a.concat(e.time.of(Date.now())))}static create(t,n,r,i,a,o){return new e(t,n,r,i,a,o)}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 n=this.annotation(e.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]==`.`))}},uR.time=cR.define(),uR.userEvent=cR.define(),uR.addToHistory=cR.define(),uR.remote=cR.define(),RPt=[],dR=(function(e){return e[e.Word=0]=`Word`,e[e.Space=1]=`Space`,e[e.Other=2]=`Other`,e})(dR||={}),zPt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{fR=RegExp(`[\\p{Alphabetic}\\p{Number}_]`,`u`)}catch{}pR=class e{constructor(e,t,n,r,i,a){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,a&&(a._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)bL(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw RangeError(`Field is not present in this state`);return}return bL(this,n),xL(this,n)}update(...e){return TPt(this,e,!0)}applyTransaction(t){let n=this.config,{base:r,compartments:i}=n;for(let e of t.effects)e.is(QL.reconfigure)?(n&&=(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),null),i.set(e.value.compartment,e.value.extension)):e.is(lR.reconfigure)?(n=null,r=e.value):e.is(lR.appendConfig)&&(n=null,r=CL(r).concat(e.value));let a;n?a=t.startState.values.slice():(n=eR.resolve(r,i,this),a=new e(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values);let o=t.startState.facet(nR)?t.newSelection:t.newSelection.asSingle();new e(n,t.newDoc,o,a,(e,n)=>n.update(e,t),t)}replaceSelection(e){return typeof e==`string`&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:UL.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],a=CL(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),s=this.changes(o.changes),c=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(c);let l=r.mapDesc(s,!0);i.push(o.range.map(l)),r=r.compose(c),a=lR.mapEffects(a,c).concat(lR.mapEffects(CL(o.effects),l))}return{changes:r,selection:UL.create(i,t.mainIndex),effects:a}}changes(t=[]){return t instanceof BL?t:BL.of(t,this.doc.length,this.facet(e.lineSeparator))}toText(t){return jL.of(t.split(this.facet(e.lineSeparator)||LL))}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 t==null?e.default:(bL(this,t),xL(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof JL&&this.config.address[r.id]!=null&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(t,n={},r){if(!t||typeof t.doc!=`string`)throw RangeError(`Invalid JSON representation for EditorState`);let i=[];if(r){for(let e in r)if(Object.prototype.hasOwnProperty.call(t,e)){let n=r[e],a=t[e];i.push(n.init(e=>n.spec.fromJSON(a,e)))}}return e.create({doc:t.doc,selection:UL.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(t={}){let n=eR.resolve(t.extensions||[],new Map),r=t.doc instanceof jL?t.doc:jL.of((t.doc||``).split(n.staticFacet(e.lineSeparator)||LL)),i=t.selection?t.selection instanceof UL?t.selection:UL.single(t.selection.anchor,t.selection.head):UL.single(0);return yPt(i,r.length),n.staticFacet(nR)||(i=i.asSingle()),new e(n,r,i,n.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(e.tabSize)}get lineBreak(){return this.facet(e.lineSeparator)||`
|
||
`}get readOnly(){return this.facet(sR)}phrase(t,...n){for(let n of this.facet(e.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(e,t)=>{if(t==`$`)return`$`;let r=+(t||1);return!r||r>n.length?e:n[r-1]})),t}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(tR))for(let a of i(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&r.push(a[e]);return r}charCategorizer(e){return kPt(this.languageDataAt(`wordChars`,e).join(``))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),a=e-n,o=e-n;for(;a>0;){let e=uL(t,a,!1);if(i(t.slice(e,a))!=dR.Word)break;a=e}for(;o<r;){let e=uL(t,o);if(i(t.slice(o,e))!=dR.Word)break;o=e}return a==o?null:UL.range(a+n,o+n)}},pR.allowMultipleSelections=nR,pR.tabSize=GL.define({combine:e=>e.length?e[0]:4}),pR.lineSeparator=rR,pR.readOnly=sR,pR.phrases=GL.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),pR.languageData=tR,pR.changeFilter=iR,pR.transactionFilter=aR,pR.transactionExtender=oR,QL.reconfigure=lR.define(),mR=class{eq(e){return this==e}range(e,t=e){return hR.create(e,t,this)}},mR.prototype.startSide=mR.prototype.endSide=0,mR.prototype.point=!1,mR.prototype.mapMode=RL.TrackDel,hR=class e{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(t,n,r){return new e(t,n,r)}},BPt=class e{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let a=r,o=i.length;;){if(a==o)return a;let r=a+o>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==a)return s>=0?a:o;s>=0?o=r:a=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,i);i<a;i++)if(r(this.from[i]+e,this.to[i]+e,this.value[i])===!1)return!1}map(t,n){let r=[],i=[],a=[],o=-1,s=-1;for(let e=0;e<this.value.length;e++){let c=this.value[e],l=this.from[e]+t,u=this.to[e]+t,d,f;if(l==u){let e=n.mapPos(l,c.startSide,c.mapMode);if(e==null||(d=f=e,c.startSide!=c.endSide&&(f=n.mapPos(l,c.endSide),f<d)))continue}else if(d=n.mapPos(l,c.startSide),f=n.mapPos(u,c.endSide),d>f||d==f&&c.startSide>0&&c.endSide<=0)continue;(f-d||c.endSide-c.startSide)<0||(o<0&&(o=d),c.point&&(s=Math.max(s,f-d)),r.push(c),i.push(d-o),a.push(f-o))}return{mapped:r.length?new e(i,a,r,s):null,pos:o}}},gR=class e{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(t,n,r,i){return new e(t,n,r,i)}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:n=[],sort:r=!1,filterFrom:i=0,filterTo:a=this.length}=t,o=t.filter;if(n.length==0&&!o)return this;if(r&&(n=n.slice().sort(TL)),this.isEmpty)return n.length?e.of(n):this;let s=new vR(this,null,-1).goto(0),c=0,l=[],u=new _R;for(;s.value||c<n.length;)if(c<n.length&&(s.from-n[c].from||s.startSide-n[c].value.startSide)>=0){let e=n[c++];u.addInner(e.from,e.to,e.value)||l.push(e)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(c==n.length||this.chunkEnd(s.chunkIndex)<n[c].from)&&(!o||i>this.chunkEnd(s.chunkIndex)||a<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||i>s.to||a<s.from||o(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value)||l.push(hR.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!l.length?e.empty:this.nextLayer.update({add:l,filter:o,filterFrom:i,filterTo:a}))}map(t){if(t.empty||this.isEmpty)return this;let n=[],r=[],i=-1;for(let e=0;e<this.chunk.length;e++){let a=this.chunkPos[e],o=this.chunk[e],s=t.touchesRange(a,a+o.length);if(s===!1)i=Math.max(i,o.maxPoint),n.push(o),r.push(t.mapPos(a));else if(s===!0){let{mapped:e,pos:s}=o.map(a,t);e&&(i=Math.max(i,e.maxPoint),n.push(e),r.push(s))}}let a=this.nextLayer.map(t);return n.length==0?a:new e(r,n,a||e.empty,i)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],a=this.chunk[r];if(t>=i&&e<=i+a.length&&a.between(i,e-i,t-i,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return yR.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return yR.from(e).goto(t)}static compare(e,t,n,r,i=-1){let a=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=jPt(a,o,n),c=new bR(a,s,i),l=new bR(o,s,i);n.iterGaps((e,t,n)=>MPt(c,e,l,t,n,r)),n.empty&&n.length==0&&MPt(c,0,l,0,0,r)}static eq(e,t,n=0,r){r??=999999999;let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),a=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=a.length)return!1;if(!i.length)return!0;let o=jPt(i,a),s=new bR(i,o,0).goto(n),c=new bR(a,o,0).goto(n);for(;;){if(s.to!=c.to||!DL(s.active,c.active)||s.point&&(!c.point||!s.point.eq(c.point)))return!1;if(s.to>r)return!0;s.next(),c.next()}}static spans(e,t,n,r,i=-1){let a=new bR(e,null,i).goto(t),o=t,s=a.openStart;for(;;){let e=Math.min(a.to,n);if(a.point){let n=a.activeForPoint(a.to),i=a.pointFrom<t?n.length+1:a.point.startSide<0?n.length:Math.min(n.length,s);r.point(o,e,a.point,n,i,a.pointRank),s=Math.min(a.openEnd(e),n.length)}else e>o&&(r.span(o,e,a.active,s),s=a.openEnd(e));if(a.to>n)return s+(a.point&&a.to>n?1:0);o=a.to,a.next()}}static of(e,t=!1){let n=new _R;for(let r of e instanceof hR?[e]:t?APt(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(t){if(!t.length)return e.empty;let n=t[t.length-1];for(let r=t.length-2;r>=0;r--)for(let i=t[r];i!=e.empty;i=i.nextLayer)n=new e(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}},gR.empty=new gR([],[],null,-1),gR.empty.nextLayer=gR.empty,_R=class e{finishChunk(e){this.chunks.push(new BPt(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,n,r){this.addInner(t,n,r)||(this.nextLayer||=new e).add(t,n,r)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.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 n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(gR.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=gR.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}},vR=class{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,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,n){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++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||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}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex];if(this.from=e+t.from[this.rangeIndex],this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},yR=class e{constructor(e){this.heap=e}static from(t,n=null,r=-1){let i=[];for(let e=0;e<t.length;e++)for(let a=t[e];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new vR(a,n,r,e));return i.length==1?i[0]:new e(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)EL(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)EL(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)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(),EL(this.heap,0)}}},bR=class{constructor(e,t,n){this.minPoint=n,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=yR.from(e,t,n)}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){OL(this.active,e),OL(this.activeTo,e),OL(this.activeRank,e),this.minActive=NPt(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;kL(this.active,t,n),kL(this.activeTo,t,r),kL(this.activeRank,t,i),e&&kL(e,t,this.cursor.from),this.minActive=NPt(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=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),n&&OL(n,r)}else if(!this.cursor.value){this.to=this.endSide=1e9;break}else if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(!e.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{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}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}})),SR,CR,wR,TR,ER,DR,VPt,HPt=c((()=>{SR=`ͼ`,CR=typeof Symbol>`u`?`__`+SR:Symbol.for(SR),wR=typeof Symbol>`u`?`__styleSet`+Math.floor(Math.random()*1e8):Symbol(`styleSet`),TR=typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},ER=class{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,a,o){let s=[],c=/^@(\w+)\b/.exec(e[0]),l=c&&c[1]==`keyframes`;if(c&&t==null)return a.push(e[0]+`;`);for(let n in t){let o=t[n];if(/&/.test(n))i(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),o,a);else if(o&&typeof o==`object`){if(!c)throw RangeError(`The value of a property (`+n+`) should be a primitive value.`);i(r(n),o,s,l)}else o!=null&&s.push(n.replace(/_.*/,``).replace(/[A-Z]/g,e=>`-`+e.toLowerCase())+`: `+o+`;`)}(s.length||l)&&a.push((n&&!c&&!o?e.map(n):e).join(`, `)+` {`+s.join(` `)+`}`)}for(let t in e)i(r(t),e[t],this.rules)}getRules(){return this.rules.join(`
|
||
`)}static newName(){let e=TR[CR]||1;return TR[CR]=e+1,SR+e.toString(36)}static mount(e,t,n){let r=e[wR],i=n&&n.nonce;r?i&&r.setNonce(i):r=new VPt(e,i),r.mount(Array.isArray(t)?t:[t],e)}},DR=new Map,VPt=class{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=DR.get(n);if(t)return e[wR]=t;this.sheet=new r.CSSStyleSheet,DR.set(n,this)}else this.styleTag=n.createElement(`style`),t&&this.styleTag.setAttribute(`nonce`,t);this.modules=[],e[wR]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t<e.length;t++){let a=e[t],o=this.modules.indexOf(a);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),o==-1){if(this.modules.splice(i++,0,a),n)for(let e=0;e<a.rules.length;e++)n.insertRule(a.rules[e],r++)}else{for(;i<o;)r+=this.modules[i++].rules.length;r+=a.rules.length,i++}}if(n)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()+`
|
||
`;this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute(`nonce`)!=e&&this.styleTag.setAttribute(`nonce`,e)}}}));function UPt(e){var t=!(WPt&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||GPt&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?kR:OR)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var OR,kR,WPt,GPt,AR,KPt=c((()=>{for(OR={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:`'`},kR={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},WPt=typeof navigator<`u`&&/Mac/.test(navigator.platform),GPt=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),AR=0;AR<10;AR++)OR[48+AR]=OR[96+AR]=String(AR);for(AR=1;AR<=24;AR++)OR[AR+111]=`F`+AR;for(AR=65;AR<=90;AR++)OR[AR]=String.fromCharCode(AR+32),kR[AR]=String.fromCharCode(AR);for(var e in OR)kR.hasOwnProperty(e)||(kR[e]=OR[e])}));function jR(e){let t;return t=e.nodeType==11?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function MR(e,t){return t?e==t||e.contains(t.nodeType==1?t:t.parentNode):!1}function NR(e,t){if(!t.anchorNode)return!1;try{return MR(e,t.anchorNode)}catch{return!1}}function PR(e){return e.nodeType==3?BR(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function FR(e,t,n,r){return n?qPt(e,t,n,r,-1)||qPt(e,t,n,r,1):!1}function IR(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function LR(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function qPt(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:RR(e))){if(e.nodeName==`DIV`)return!1;let n=e.parentNode;if(!n||n.nodeType!=1)return!1;t=IR(e)+(i<0?0:1),e=n}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.nodeType==1&&e.contentEditable==`false`)return!1;t=i<0?RR(e):0}else return!1}}function RR(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function zR(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function JPt(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 YPt(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function XPt(e,t,n,r,i,a,o,s){let c=e.ownerDocument,l=c.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let e,f=u==c.body,p=1,m=1;if(f)e=JPt(l);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:p,scaleY:m}=YPt(u,t)),e={left:t.left,right:t.left+u.clientWidth*p,top:t.top,bottom:t.top+u.clientHeight*m}}let h=0,g=0;if(i==`nearest`)t.top<e.top?(g=-(e.top-t.top+o),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+o)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+o,n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+o)));else{let r=t.bottom-t.top,a=e.bottom-e.top;g=(i==`center`&&r<=a?t.top+r/2-a/2:i==`start`||i==`center`&&n<0?t.top-o:t.bottom-a+o)-e.top}if(r==`nearest`?t.left<e.left?(h=-(e.left-t.left+a),n>0&&t.right>e.right+h&&(h=t.right-e.right+h+a)):t.right>e.right&&(h=t.right-e.right+a,n<0&&t.left<e.left+h&&(h=-(e.left+h-t.left+a))):h=(r==`center`?t.left+(t.right-t.left)/2-(e.right-e.left)/2:r==`start`==s?t.left-a:t.right-(e.right-e.left)+a)-e.left,h||g)if(f)l.scrollBy(h,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/m,n=(u.scrollTop-e)*m}if(h){let t=u.scrollLeft;u.scrollLeft+=h/p,e=(u.scrollLeft-t)*p}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-h)<1&&(r=`nearest`),n&&Math.abs(n-g)<1&&(i=`nearest`)}if(f)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function ZPt(e){let t=e.ownerDocument,n,r;for(let i=e.parentNode;i&&!(i==t.body||n&&r);)if(i.nodeType==1)!r&&i.scrollHeight>i.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}function QPt(e){if(e.setActive)return e.setActive();if(fz)return e.focus(fz);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(fz==null?{get preventScroll(){return fz={preventScroll:!0},!0}}:void 0),!fz){fz=!1;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],i=t[e++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=i&&(n.scrollLeft=i)}}}function BR(e,t,n=t){let r=iLt||=document.createRange();return r.setEnd(e,n),r.setStart(e,t),r}function VR(e,t,n,r){let i={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=r);let a=new KeyboardEvent(`keydown`,i);a.synthetic=!0,e.dispatchEvent(a);let o=new KeyboardEvent(`keyup`,i);return o.synthetic=!0,e.dispatchEvent(o),a.defaultPrevented||o.defaultPrevented}function $Pt(e){for(;e;){if(e&&(e.nodeType==9||e.nodeType==11&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function eFt(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function tFt(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,RR(n));;)if(r){if(n.nodeType!=1)return!1;let e=n.childNodes[r-1];e.contentEditable==`false`?r--:(n=e,r=RR(n))}else if(n==e)return!0;else r=IR(n),n=n.parentNode}function nFt(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function rFt(e,t){for(let n=e,r=t;;)if(n.nodeType==3&&r>0)return{node:n,offset:r};else if(n.nodeType==1&&r>0){if(n.contentEditable==`false`)return null;n=n.childNodes[r-1],r=RR(n)}else if(n.parentNode&&!LR(n))r=IR(n),n=n.parentNode;else return null}function iFt(e,t){for(let n=e,r=t;;)if(n.nodeType==3&&r<n.nodeValue.length)return{node:n,offset:r};else if(n.nodeType==1&&r<n.childNodes.length){if(n.contentEditable==`false`)return null;n=n.childNodes[r],r=0}else if(n.parentNode&&!LR(n))r=IR(n)+1,n=n.parentNode;else return null}function aFt(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}function oFt(e,t,n,r,i,a,o,s,c){let{children:l}=e,u=l.length?l[t]:null,d=a.length?a[a.length-1]:null,f=d?d.breakAfter:o;if(!(t==r&&u&&!o&&!f&&a.length<2&&u.merge(n,i,a.length?d:null,n==0,s,c))){if(r<l.length){let e=l[r];e&&(i<e.length||e.breakAfter&&d?.breakAfter)?(t==r&&(e=e.split(i),i=0),!f&&d&&e.merge(0,i,d,!0,0,c)?a[a.length-1]=e:((i||e.children.length&&!e.children[0].length)&&e.merge(0,i,null,!1,0,c),a.push(e))):e?.breakAfter&&(d?d.breakAfter=1:o=1),r++}for(u&&(u.breakAfter=o,n>0&&(!o&&a.length&&u.merge(n,u.length,a[0],!1,s,0)?u.breakAfter=a.shift().breakAfter:(n<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(n,u.length,null,!1,s,0),t++));t<r&&a.length;)if(l[r-1].become(a[a.length-1]))r--,a.pop(),c=a.length?0:s;else if(l[t].become(a[0]))t++,a.shift(),s=a.length?0:c;else break;!a.length&&t&&r<l.length&&!l[t-1].breakAfter&&l[r].merge(0,0,l[t-1],!1,s,c)&&t--,(t<r||a.length)&&e.replaceChildren(t,r,a)}}function sFt(e,t,n,r,i,a){let o=e.childCursor(),{i:s,off:c}=o.findPos(n,1),{i:l,off:u}=o.findPos(t,-1),d=t-n;for(let e of r)d+=e.length;e.length+=d,oFt(e,l,u,s,c,r,0,i,a)}function cFt(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let i=t,a=t,o=0;t==0&&n<0||t==r&&n>=0?Oz.chrome||Oz.gecko||(t?(i--,o=1):a<r&&(a++,o=-1)):n<0?i--:a<r&&a++;let s=BR(e,i,a).getClientRects();if(!s.length)return null;let c=s[(o?o<0:n>=0)?0:s.length-1];return Oz.safari&&!o&&c.width==0&&(c=Array.prototype.find.call(s,e=>e.width)||c),o?zR(c,o<0):c||null}function lFt(e,t){let n=e.dom,{children:r}=e,i=0;for(let e=0;i<r.length;i++){let a=r[i],o=e+a.length;if(!(o==e&&a.getSide()<=0)){if(t>e&&t<o&&a.dom.parentNode==n)return a.domAtPos(t-e);if(t<=e)break;e=o}}for(let e=i;e>0;e--){let t=r[e-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let e=i;e<r.length;e++){let t=r[e];if(t.dom.parentNode==n)return t.domAtPos(0)}return new pz(n,0)}function uFt(e,t,n){let r,{children:i}=e;n>0&&t instanceof Az&&i.length&&(r=i[i.length-1])instanceof Az&&r.mark.eq(t.mark)?uFt(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function dFt(e,t,n){let r=null,i=-1,a=null,o=-1;function s(e,t){for(let c=0,l=0;c<e.children.length&&l<=t;c++){let u=e.children[c],d=l+u.length;d>=t&&(u.children.length?s(u,t-l):(!a||a.isHidden&&n>0)&&(d>t||l==d&&u.getSide()>0)?(a=u,o=t-l):(l<t||l==d&&u.getSide()<0&&!u.isHidden)&&(r=u,i=t-l)),l=d}}s(e,t);let c=(n<0?r:a)||r||a;return c?c.coordsAt(Math.max(0,c==r?i:o),n):fFt(e)}function fFt(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=PR(t);return n[n.length-1]||null}function HR(e,t){for(let n in e)n==`class`&&t.class?t.class+=` `+e.class:n==`style`&&t.style?t.style+=`;`+e.style:t[n]=e[n];return t}function UR(e,t,n){if(e==t)return!0;e||=Nz,t||=Nz;let r=Object.keys(e),i=Object.keys(t);if(r.length-(n&&r.indexOf(n)>-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let a of r)if(a!=n&&(i.indexOf(a)==-1||e[a]!==t[a]))return!1;return!0}function WR(e,t,n){let r=!1;if(t)for(let i in t)n&&i in n||(r=!0,i==`style`?e.style.cssText=``:e.removeAttribute(i));if(n)for(let i in n)t&&t[i]==n[i]||(r=!0,i==`style`?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}function pFt(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}function mFt(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n??=e.inclusive,r??=e.inclusive,{start:n??t,end:r??t}}function hFt(e,t){return e==t||!!(e&&t&&e.compare(t))}function GR(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}function KR(e,t){for(let n of t)e=new Az(n,[e],e.length);return e}function gFt(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<e[n]);return t}function _Ft(e){return e<=247?oLt[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?sLt[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}function vFt(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.direction!=i.direction||!vFt(r.inner,i.inner))return!1}return!0}function yFt(e,t,n,r,i){for(let a=0;a<=r.length;a++){let o=a?r[a-1].to:t,s=a<r.length?r[a].from:n,c=a?256:i;for(let t=o,n=c,r=c;t<s;t++){let i=_Ft(e.charCodeAt(t));i==512?i=n:i==8&&r==4&&(i=16),Zz[t]=i==4?2:i,i&7&&(r=i),n=i}for(let e=o,t=c,r=c;e<s;e++){let i=Zz[e];if(i==128)e<s-1&&t==Zz[e+1]&&t&24?i=Zz[e]=t:Zz[e]=256;else if(i==64){let i=e+1;for(;i<s&&Zz[i]==64;)i++;let a=e&&t==8||i<n&&Zz[i]==8?r==1?1:8:256;for(let t=e;t<i;t++)Zz[t]=a;e=i-1}else i==8&&r==1&&(Zz[e]=1);t=i,i&7&&(r=i)}}}function bFt(e,t,n,r,i){let a=i==1?2:1;for(let o=0,s=0,c=0;o<=r.length;o++){let l=o?r[o-1].to:t,u=o<r.length?r[o].from:n;for(let t=l,n,r,o;t<u;t++)if(r=Jz[n=e.charCodeAt(t)])if(r<0){for(let e=s-3;e>=0;e-=3)if(Yz[e+1]==-r){let n=Yz[e+2],r=n&2?i:n&4?n&1?a:i:0;r&&(Zz[t]=Zz[Yz[e]]=r),s=e;break}}else if(Yz.length==189)break;else Yz[s++]=t,Yz[s++]=n,Yz[s++]=c;else if((o=Zz[t])==2||o==1){let e=o==i;c=e?0:1;for(let t=s-3;t>=0;t-=3){let n=Yz[t+2];if(n&2)break;if(e)Yz[t+2]|=2;else{if(n&4)break;Yz[t+2]|=4}}}}}function xFt(e,t,n,r){for(let i=0,a=r;i<=n.length;i++){let o=i?n[i-1].to:e,s=i<n.length?n[i].from:t;for(let c=o;c<s;){let o=Zz[c];if(o==256){let o=c+1;for(;;)if(o==s){if(i==n.length)break;o=n[i++].to,s=i<n.length?n[i].from:t}else if(Zz[o]==256)o++;else break;let l=a==1,u=l==((o<t?Zz[o]:r)==1)?l?1:2:r;for(let t=o,r=i,a=r?n[r-1].to:e;t>c;)t==a&&(t=n[--r].from,a=r?n[r-1].to:e),Zz[--t]=u;c=o}else a=o,c++}}}function qR(e,t,n,r,i,a,o){let s=r%2?2:1;if(r%2==i%2)for(let c=t,l=0;c<n;){let t=!0,u=!1;if(l==a.length||c<a[l].from){let e=Zz[c];e!=s&&(t=!1,u=e==16)}let d=!t&&s==1?[]:null,f=t?r:r+1,p=c;run:for(;;)if(l<a.length&&p==a[l].from){if(u)break run;let m=a[l];if(!t)for(let e=m.to,t=l+1;;){if(e==n)break run;if(t<a.length&&a[t].from==e)e=a[t++].to;else if(Zz[e]==s)break run;else break}l++,d?d.push(m):(m.from>c&&o.push(new Xz(c,m.from,f)),JR(e,m.direction==Kz==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.to),p=m.to}else if(p==n||(t?Zz[p]!=s:Zz[p]==s))break;else p++;d?qR(e,c,p,r+1,i,d,o):c<p&&o.push(new Xz(c,p,f)),c=p}else for(let c=n,l=a.length;c>t;){let n=!0,u=!1;if(!l||c>a[l-1].to){let e=Zz[c-1];e!=s&&(n=!1,u=e==16)}let d=!n&&s==1?[]:null,f=n?r:r+1,p=c;run:for(;;)if(l&&p==a[l-1].to){if(u)break run;let m=a[--l];if(!n)for(let e=m.from,n=l;;){if(e==t)break run;if(n&&a[n-1].to==e)e=a[--n].from;else if(Zz[e-1]==s)break run;else break}d?d.push(m):(m.to<c&&o.push(new Xz(m.to,c,f)),JR(e,m.direction==Kz==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.from),p=m.from}else if(p==t||(n?Zz[p-1]!=s:Zz[p-1]==s))break;else p--;d?qR(e,p,c,r+1,i,d,o):p<c&&o.push(new Xz(p,c,f)),c=p}}function JR(e,t,n,r,i,a,o){let s=t%2?2:1;yFt(e,i,a,r,s),bFt(e,i,a,r,s),xFt(i,a,r,s),qR(e,i,a,t,n,r,o)}function SFt(e,t,n){if(!e)return[new Xz(0,0,t==qz?1:0)];if(t==Kz&&!n.length&&!cLt.test(e))return CFt(e.length);if(n.length)for(;e.length>Zz.length;)Zz[Zz.length]=256;let r=[],i=t==Kz?0:1;return JR(e,i,i,n,0,e.length,r),r}function CFt(e){return[new Xz(0,e,0)]}function wFt(e,t,n,r,i){let a=r.head-e.from,o=Xz.find(t,a,r.bidiLevel??-1,r.assoc),s=t[o],c=s.side(i,n);if(a==c){let e=o+=i?1:-1;if(e<0||e>=t.length)return null;s=t[o=e],a=s.side(!i,n),c=s.side(i,n)}let l=uL(e.text,a,s.forward(i,n));(l<s.from||l>s.to)&&(l=c),Qz=e.text.slice(Math.min(a,l),Math.max(a,l));let u=o==(i?t.length-1:0)?null:t[o+(i?1:-1)];return u&&l==c&&u.level+(i?0:1)<s.level?UL.cursor(u.side(!i,n)+e.from,u.forward(i,n)?1:-1,u.level):UL.cursor(l+e.from,s.forward(i,n)?-1:1,s.level)}function TFt(e,t,n){for(let r=t;r<n;r++){let t=_Ft(e.charCodeAt(r));if(t==1)return Kz;if(t==2||t==4)return qz}return Kz}function YR(e,t,n){let r=e.facet(nB);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+`:`,t):console.error(t)}function EFt(e,t){let n=e.state.facet(SB);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return gR.spans(r,t.from,t.to,{point(){},span(e,n,r,a){let o=e-t.from,s=n-t.from,c=i;for(let e=r.length-1;e>=0;e--,a--){let n=r[e].spec.bidiIsolate,i;if(n??=TFt(t.text,o,s),a>0&&c.length&&(i=c[c.length-1]).to==o&&i.direction==n)i.to=s,c=i.inner;else{let e={from:o,to:s,direction:n,inner:[]};c.push(e),c=e.inner}}}}),i}function XR(e){let t=0,n=0,r=0,i=0;for(let a of e.state.facet(CB)){let o=a(e);o&&(o.left!=null&&(t=Math.max(t,o.left)),o.right!=null&&(n=Math.max(n,o.right)),o.top!=null&&(r=Math.max(r,o.top)),o.bottom!=null&&(i=Math.max(i,o.bottom)))}return{left:t,right:n,top:r,bottom:i}}function DFt(e){return e.node.nodeType==1&&e.node.firstChild&&(e.offset==0||e.node.childNodes[e.offset-1].contentEditable==`false`)&&(e.offset==e.node.childNodes.length||e.node.childNodes[e.offset].contentEditable==`false`)}function OFt(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=rFt(n.focusNode,n.focusOffset),i=iFt(n.focusNode,n.focusOffset),a=r||i;if(i&&r&&i.node!=r.node){let t=hz.get(i.node);if(!t||t instanceof kz&&t.text!=i.node.nodeValue)a=i;else if(e.docView.lastCompositionAfterCursor){let e=hz.get(r.node);!e||e instanceof kz&&e.text!=r.node.nodeValue||(a=i)}}if(e.docView.lastCompositionAfterCursor=a!=r,!a)return null;let o=t-a.offset;return{from:o,to:o+a.node.nodeValue.length,node:a.node}}function kFt(e,t,n){let r=OFt(e,n);if(!r)return null;let{node:i,from:a,to:o}=r,s=i.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let c=t.invertedDesc,l=new TB(c.mapPos(a),c.mapPos(o),a,o),u=[];for(let t=i.parentNode;;t=t.parentNode){let n=hz.get(t);if(n instanceof Az)u.push({node:t,deco:n.mark});else if(n instanceof Bz||t.nodeName==`DIV`&&t.parentNode==e.contentDOM)return{range:l,text:i,marks:u,line:t};else if(t!=e.contentDOM)u.push({node:t,deco:new Lz({inclusive:!0,attributes:pFt(t),tagName:t.tagName.toLowerCase()})});else return null}}function AFt(e,t){return e.nodeType==1?(t&&e.childNodes[t-1].contentEditable==`false`?1:0)|(t<e.childNodes.length&&e.childNodes[t].contentEditable==`false`?2:0):0}function jFt(e,t,n){let r=new dLt;return gR.compare(e,t,n,r),r.changes}function MFt(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(n.nodeType==1&&n.contentEditable==`false`)return!0;return!1}function NFt(e,t){let n=!1;return t&&e.iterChangedRanges((e,r)=>{e<t.to&&r>t.from&&(n=!0)}),n}function PFt(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),a=t-i.from;if(i.length==0)return UL.cursor(t);a==0?n=1:a==i.length&&(n=-1);let o=a,s=a;n<0?o=uL(i.text,a,!1):s=uL(i.text,a);let c=r(i.text.slice(o,s));for(;o>0;){let e=uL(i.text,o,!1);if(r(i.text.slice(e,o))!=c)break;o=e}for(;s<i.length;){let e=uL(i.text,s);if(r(i.text.slice(s,e))!=c)break;s=e}return UL.range(o+i.from,s+i.from)}function FFt(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function IFt(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function ZR(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function LFt(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function RFt(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function QR(e,t,n){let r,i,a,o,s=!1,c,l,u,d;for(let f=e.firstChild;f;f=f.nextSibling){let e=PR(f);for(let p=0;p<e.length;p++){let m=e[p];i&&ZR(i,m)&&(m=LFt(RFt(m,i.bottom),i.top));let h=FFt(t,m),g=IFt(n,m);if(h==0&&g==0)return f.nodeType==3?zFt(f,t,n):QR(f,t,n);if(!r||o>g||o==g&&a>h){r=f,i=m,a=h,o=g;let c=g?n<m.top?-1:1:h?t<m.left?-1:1:0;s=!c||(c>0?p<e.length-1:p>0)}h==0?n>m.bottom&&(!u||u.bottom<m.bottom)?(c=f,u=m):n<m.top&&(!d||d.top>m.top)&&(l=f,d=m):u&&ZR(u,m)?u=RFt(u,m.bottom):d&&ZR(d,m)&&(d=LFt(d,m.top))}}if(u&&u.bottom>=n?(r=c,i=u):d&&d.top<=n&&(r=l,i=d),!r)return{node:e,offset:0};let f=Math.max(i.left,Math.min(i.right,t));return r.nodeType==3?zFt(r,f,n):s&&r.contentEditable!=`false`?QR(r,f,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(i.left+i.right)/2?1:0)}}function zFt(e,t,n){let r=e.nodeValue.length,i=-1,a=1e9,o=0;for(let s=0;s<r;s++){let r=BR(e,s,s+1).getClientRects();for(let c=0;c<r.length;c++){let l=r[c];if(l.top==l.bottom)continue;o||=t-l.left;let u=(l.top>n?l.top-n:n-l.bottom)-1;if(l.left-1<=t&&l.right+1>=t&&u<a){let n=t>=(l.left+l.right)/2,r=n;if((Oz.chrome||Oz.gecko)&&BR(e,s).getBoundingClientRect().left==l.right&&(r=!n),u<=0)return{node:e,offset:s+(r?1:0)};i=s+(r?1:0),a=u}}}return{node:e,offset:i>-1?i:o>0?e.nodeValue.length:0}}function BFt(e,t,n,r=-1){let i=e.contentDOM.getBoundingClientRect(),a=i.top+e.viewState.paddingTop,o,{docHeight:s}=e.viewState,{x:c,y:l}=t,u=l-a;if(u<0)return 0;if(u>s)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,i=!1;o=e.elementAtHeight(u),o.type!=Fz.Text;)for(;u=r>0?o.bottom+t:o.top-t,!(u>=0&&u<=s);){if(i)return n?null:0;i=!0,r=-r}l=a+u;let d=o.from;if(d<e.viewport.from)return e.viewport.from==0?0:n?null:VFt(e,i,o,c,l);if(d>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:VFt(e,i,o,c,l);let f=e.dom.ownerDocument,p=e.root.elementFromPoint?e.root:f,m=p.elementFromPoint(c,l);m&&!e.contentDOM.contains(m)&&(m=null),m||(c=Math.max(i.left+1,Math.min(i.right-1,c)),m=p.elementFromPoint(c,l),m&&!e.contentDOM.contains(m)&&(m=null));let h,g=-1;if(m&&e.docView.nearest(m)?.isEditable!=0){if(f.caretPositionFromPoint){let e=f.caretPositionFromPoint(c,l);e&&({offsetNode:h,offset:g}=e)}else if(f.caretRangeFromPoint){let t=f.caretRangeFromPoint(c,l);t&&({startContainer:h,startOffset:g}=t,(!e.contentDOM.contains(h)||Oz.safari&&HFt(h,g,c)||Oz.chrome&&UFt(h,g,c))&&(h=void 0))}h&&(g=Math.min(RR(h),g))}if(!h||!e.docView.dom.contains(h)){let t=Bz.find(e.docView,d);if(!t)return u>o.top+o.height/2?o.to:o.from;({node:h,offset:g}=QR(t.dom,c,l))}let _=e.docView.nearest(h);if(!_)return null;if(_.isWidget&&_.dom?.nodeType==1){let e=_.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?_.posAtStart:_.posAtEnd}else return _.localPosFromDOM(h,g)+_.posAtStart}function VFt(e,t,n,r,i){let a=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>e.defaultLineHeight*1.5){let t=e.viewState.heightOracle.textHeight,r=Math.floor((i-n.top-(e.defaultLineHeight-t)*.5)/t);a+=r*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+PPt(o,a,e.state.tabSize)}function HFt(e,t,n){let r;if(e.nodeType!=3||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType!=1||t.nodeName!=`BR`)return!1;return BR(e,r-1,r).getBoundingClientRect().left>n}function UFt(e,t,n){if(t!=0)return!1;for(let t=e;;){let e=t.parentNode;if(!e||e.nodeType!=1||e.firstChild!=t)return!1;if(e.classList.contains(`cm-line`))break;t=e}return n-(e.nodeType==1?e.getBoundingClientRect():BR(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}function WFt(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type)){for(let e of n.type)if(e.to>t||e.to==t&&(e.to==n.to||e.type==Fz.Text))return e}return n}function GFt(e,t,n,r){let i=WFt(e,t.head),a=!r||i.type!=Fz.Text||!(e.lineWrapping||i.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head);if(a){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),o=e.posAtCoords({x:n==(r==Gz.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2});if(o!=null)return UL.cursor(o,n?-1:1)}return UL.cursor(n?i.to:i.from,n?-1:1)}function KFt(e,t,n,r){let i=e.state.doc.lineAt(t.head),a=e.bidiSpans(i),o=e.textDirectionAt(i.from);for(let s=t,c=null;;){let t=wFt(i,a,o,s,n),l=Qz;if(!t){if(i.number==(n?e.state.doc.lines:1))return s;l=`
|
||
`,i=e.state.doc.line(i.number+(n?1:-1)),a=e.bidiSpans(i),t=e.visualLineSide(i,!n)}if(!c){if(!r)return t;c=r(l)}else if(!c(l))return s;s=t}}function qFt(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==dR.Space&&(i=t),i==t}}function JFt(e,t,n,r){let i=t.head,a=n?1:-1;if(i==(n?e.state.doc.length:0))return UL.cursor(i,t.assoc);let o=t.goalColumn,s,c=e.contentDOM.getBoundingClientRect(),l=e.coordsAtPos(i,t.assoc||-1),u=e.documentTop;if(l)o??=l.left-c.left,s=a<0?l.top:l.bottom;else{let t=e.viewState.lineBlockAt(i);o??=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from)),s=(a<0?t.top:t.bottom)+u}let d=c.left+o,f=r??e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let n=s+(f+t)*a,r=BFt(e,{x:d,y:n},!1,a);if(n<c.top||n>c.bottom||(a<0?r<i:r>i)){let t=e.docView.coordsForChar(r),i=!t||n<t.top?-1:1;return UL.cursor(r,i,void 0,o)}}}function $R(e,t,n){for(;;){let r=0;for(let i of e)i.between(t-1,t+1,(e,i,a)=>{if(t>e&&t<i){let a=r||n||(t-e<i-t?-1:1);t=a<0?e:i,r=a}});if(!r)return t}}function ez(e,t,n){let r=$R(e.state.facet(xB).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:UL.cursor(r,r<n.from?1:-1)}function YFt(e,t,n){for(;;){if(!t||n<RR(t))return!1;if(t==e)return!0;n=IR(t)+1,t=t.parentNode}}function XFt(e,t){let n,{newSel:r}=t,i=e.state.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:r,to:o}=t.bounds,s=i.from,c=null;(a===8||Oz.android&&t.text.length<o-r)&&(s=i.to,c=`end`);let l=QFt(e.state.doc.sliceString(r,o,OB),t.text,s-r,c);l&&(Oz.chrome&&a==13&&l.toB==l.from+2&&t.text.slice(l.from,l.toB)==OB+OB&&l.toB--,n={from:r+l.from,to:r+l.toA,insert:jL.of(t.text.slice(l.from,l.toB).split(OB))})}else r&&(!e.hasFocus&&e.state.facet(pB)||r.main.eq(i))&&(r=null);if(!n&&!r)return!1;if(!n&&t.typeOver&&!i.empty&&r&&r.main.empty?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,i.to)}:n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:(Oz.mac||Oz.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute(`autocorrect`)==`off`?(r&&n.insert.length==2&&(r=UL.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:jL.of([` `])}):Oz.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==`
|
||
`&&e.lineWrapping&&(r&&=UL.single(r.main.anchor-1,r.main.head-1),n={from:i.from,to:i.to,insert:jL.of([` `])}),n)return tz(e,n,r,a);if(r&&!r.main.eq(i)){let t=!1,n=`select`;return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin==`select`&&(t=!0),n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}else return!1}function tz(e,t,n,r=-1){if(Oz.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(Oz.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&e.state.sliceDoc(t.from,i.from)==` `)&&t.insert.length==1&&t.insert.lines==2&&VR(e.contentDOM,`Enter`,13)||(t.from==i.from-1&&t.to==i.to&&t.insert.length==0||r==8&&t.insert.length<t.to-t.from&&t.to>i.head)&&VR(e.contentDOM,`Backspace`,8)||t.from==i.from&&t.to==i.to+1&&t.insert.length==0&&VR(e.contentDOM,`Delete`,46)))return!0;let a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,s=()=>o||=ZFt(e,t,n);return e.state.facet(iB).some(n=>n(e,t.from,t.to,a,s))||e.dispatch(s()),!0}function ZFt(e,t,n){let r,i=e.state,a=i.selection.main;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=a.from<t.from?i.sliceDoc(a.from,t.from):``,o=a.to>t.to?i.sliceDoc(t.to,a.to):``;r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+o))}else{let o=i.changes(t),s=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let c=e.state.sliceDoc(t.from,t.to),l,u=n&&OFt(e,n.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(a.head);let d=a.to-t.to,f=a.to-a.from;r=i.changeByRange(n=>{if(n.from==a.from&&n.to==a.to)return{changes:o,range:s||n.map(o)};let r=n.to-d,u=r-c.length;if(n.to-n.from!=f||e.state.sliceDoc(u,r)!=c||n.to>=l.from&&n.from<=l.to)return{range:n};let p=i.changes({from:u,to:r,insert:t.insert}),m=n.to-a.to;return{changes:p,range:s?UL.range(Math.max(0,s.anchor+m),Math.max(0,s.head+m)):n.map(p)}})}else r={changes:o,selection:s&&i.selection.replaceRange(s)}}let o=`input.type`;return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,o+=`.compose`,e.inputState.compositionFirstChange&&(o+=`.start`,e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:o,scrollIntoView:!0})}function QFt(e,t,n,r){let i=Math.min(e.length,t.length),a=0;for(;a<i&&e.charCodeAt(a)==t.charCodeAt(a);)a++;if(a==i&&e.length==t.length)return null;let o=e.length,s=t.length;for(;o>0&&s>0&&e.charCodeAt(o-1)==t.charCodeAt(s-1);)o--,s--;if(r==`end`){let e=Math.max(0,a-Math.min(o,s));n-=o+e-a}if(o<a&&e.length<t.length){let e=n<=a&&n>=o?a-n:0;a-=e,s=a+(s-o),o=a}else if(s<a){let e=n<=a&&n>=s?a-n:0;a-=e,o=a+(o-s),s=a}return{from:a,toA:o,toB:s}}function $Ft(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}=e.observer.selectionRange;return n&&(t.push(new kB(n,r)),(i!=n||a!=r)&&t.push(new kB(i,a))),t}function eIt(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?UL.single(n+t,r+t):null}function tIt(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(e){YR(n.state,e)}}}function nIt(e){let t=Object.create(null);function n(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 i=e.domEventHandlers[r];i&&n(r).handlers.push(tIt(t.value,i))}if(e&&e.domEventObservers)for(let r in e.domEventObservers){let i=e.domEventObservers[r];i&&n(r).observers.push(tIt(t.value,i))}}for(let e in NB)n(e).handlers.push(NB[e]);for(let e in PB)n(e).observers.push(PB[e]);return t}function nz(e){return Math.max(0,e)*.7+8}function rIt(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}function iIt(e,t){let n=e.state.facet($z);return n.length?n[0](t):Oz.mac?t.metaKey:t.ctrlKey}function aIt(e,t){let n=e.state.facet(eB);return n.length?n[0](t):Oz.mac?!t.altKey:!t.ctrlKey}function oIt(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=jR(e.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let e=0;e<i.length;e++){let n=i[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}function sIt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=hz.get(n))&&r.ignoreEvent(t))return!1;return!0}function cIt(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement(`textarea`));n.style.cssText=`position: fixed; left: -10000px; top: 10px`,n.focus(),setTimeout(()=>{e.focus(),n.remove(),lIt(e,n.value)},50)}function rz(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function lIt(e,t){t=rz(e.state,oB,t);let{state:n}=e,r,i=1,a=n.toText(t),o=a.lines==n.selection.ranges.length;if(BB!=null&&n.selection.ranges.every(e=>e.empty)&&BB==a.toString()){let e=-1;r=n.changeByRange(r=>{let s=n.doc.lineAt(r.from);if(s.from==e)return{range:r};e=s.from;let c=n.toText((o?a.line(i++).text:t)+n.lineBreak);return{changes:{from:s.from,insert:c},range:UL.cursor(r.from+c.length)}})}else r=o?n.changeByRange(e=>{let t=a.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:UL.cursor(e.from+t.length)}}):n.replaceSelection(a);e.dispatch(r,{userEvent:`input.paste`,scrollIntoView:!0})}function uIt(e,t,n,r){if(r==1)return UL.cursor(t,n);if(r==2)return PFt(e.state,t,n);{let n=Bz.find(e.docView,t),r=e.state.doc.lineAt(n?n.posAtEnd:t),i=n?n.posAtStart:r.from,a=n?n.posAtEnd:r.to;return a<e.state.doc.length&&a==r.to&&a++,UL.range(i,a)}}function dIt(e,t,n,r){let i=Bz.find(e.docView,t);if(!i)return 1;let a=t-i.posAtStart;if(a==0)return 1;if(a==i.length)return-1;let o=i.coordsAt(a,-1);if(o&&IB(n,r,o))return-1;let s=i.coordsAt(a,1);return s&&IB(n,r,s)?1:o&&o.bottom>=r?-1:1}function fIt(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:dIt(e,n,t.clientX,t.clientY)}}function pIt(e){if(!_Lt)return e.detail;let t=LB,n=zB;return LB=e,zB=Date.now(),RB=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(RB+1)%3:1}function mIt(e,t){let n=fIt(e,t),r=pIt(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,a,o){let s=fIt(e,t),c,l=uIt(e,s.pos,s.bias,r);if(n.pos!=s.pos&&!a){let t=uIt(e,n.pos,n.bias,r),i=Math.min(t.from,l.from),a=Math.max(t.to,l.to);l=i<l.from?UL.range(i,a):UL.range(a,i)}return a?i.replaceRange(i.main.extend(l.from,l.to)):o&&r==1&&i.ranges.length>1&&(c=hIt(i,s.pos))?c:o?i.addRange(l):UL.create([l])}}}function hIt(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:i}=e.ranges[n];if(r<=t&&i>=t)return UL.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}function gIt(e,t,n,r){if(n=rz(e.state,oB,n),!n)return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:a}=e.inputState,o=r&&a&&aIt(e,t)?{from:a.from,to:a.to}:null,s={from:i,insert:n},c=e.state.changes(o?[o,s]:s);e.focus(),e.dispatch({changes:c,selection:{anchor:c.mapPos(i,-1),head:c.mapPos(i,1)},userEvent:o?`move.drop`:`input.drop`}),e.inputState.draggedContent=null}function _It(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.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)}function vIt(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let i=-1;for(let{from:r}of e.selection.ranges){let a=e.doc.lineAt(r);a.number>i&&(t.push(a.text),n.push({from:a.from,to:Math.min(e.doc.length,a.to+1)})),i=a.number}r=!0}return{text:rz(e,sB,t.join(e.lineBreak)),ranges:n,linewise:r}}function yIt(e,t){let n=[];for(let r of e.facet(aB)){let i=r(e,t);i&&n.push(i)}return n?e.update({effects:n,annotations:VB.of(!0)}):null}function bIt(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=yIt(e.state,t);n?e.dispatch(n):e.update([])}},10)}function xIt(e){HB.has(e)||(HB.add(e),e.addEventListener(`copy`,()=>{}),e.addEventListener(`cut`,()=>{}))}function SIt(){WB=!1}function iz(e,t){return e==t?e:(e.constructor!=t.constructor&&(WB=!0),t)}function CIt(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof ZB&&(r=e[t+1])instanceof ZB&&e.splice(t-1,3,new ZB(n.length+1+r.length))}function wIt(e,t,n){let r=new CLt;return gR.compare(e,t,n,r,0),r.changes}function TIt(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,a=Math.max(0,n.left),o=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),c=Math.min(i.innerHeight,n.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(t.nodeType==1){let n=t,r=window.getComputedStyle(n);if((n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)&&r.overflow!=`visible`){let r=n.getBoundingClientRect();a=Math.max(a,r.left),o=Math.min(o,r.right),s=Math.max(s,r.top),c=Math.min(t==e.parentNode?i.innerHeight:c,r.bottom)}t=r.position==`absolute`||r.position==`fixed`?n.offsetParent:n.parentNode}else if(t.nodeType==11)t=t.host;else break;return{left:a-n.left,right:Math.max(a,o)-n.left,top:s-(n.top+t),bottom:Math.max(s,c)-(n.top+t)}}function EIt(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}function DIt(e,t,n){let r=[],i=e,a=0;return gR.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),a+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),a+=t-i),{total:a,ranges:r}}function az({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:i}=t[e],a=i-n;if(r<=a)return n+r;r-=a}}function oz(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}function OIt(e,t){for(let n of e)if(t(n))return n}function sz(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new GB(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>sz(e,t)):e._content)}function cz(e,t,n){return new ER(t,{finish(t){return/&/.test(t)?t.replace(/&\w*/,t=>{if(t==`&`)return e;if(!n||!n[t])throw RangeError(`Unsupported selector: ${t}`);return n[t]}):e+` `+t}})}function kIt(e,t,n){for(;t;){let r=hz.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i==e.dom?n>0?t.nextSibling:t.previousSibling:i}return null}function AIt(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor);return FR(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function jIt(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return AIt(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener(`beforeinput`,r,!0),e.dom.ownerDocument.execCommand(`indent`),e.contentDOM.removeEventListener(`beforeinput`,r,!0),n?AIt(e,n):null}function MIt(e,t,n){for(let r=e.state.facet(t),i=r.length-1;i>=0;i--){let t=r[i],a=typeof t==`function`?t(e):t;a&&HR(a,n)}return n}function NIt(e,t){let n=e.split(/-(?!$)/),r=n[n.length-1];r==`Space`&&(r=` `);let i,a,o,s;for(let e=0;e<n.length-1;++e){let r=n[e];if(/^(cmd|meta|m)$/i.test(r))s=!0;else if(/^a(lt)?$/i.test(r))i=!0;else if(/^(c|ctrl|control)$/i.test(r))a=!0;else if(/^s(hift)?$/i.test(r))o=!0;else if(/^mod$/i.test(r))t==`mac`?s=!0:a=!0;else throw Error(`Unrecognized modifier name: `+r)}return i&&(r=`Alt-`+r),a&&(r=`Ctrl-`+r),s&&(r=`Meta-`+r),o&&(r=`Shift-`+r),r}function lz(e,t,n){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n!==!1&&t.shiftKey&&(e=`Shift-`+e),e}function PIt(e){let t=e.facet(fV),n=pV.get(t);return n||pV.set(t,n=FIt(t.reduce((e,t)=>e.concat(t),[]))),n}function FIt(e,t=jLt){let n=Object.create(null),r=Object.create(null),i=(e,t)=>{let n=r[e];if(n==null)r[e]=t;else if(n!=t)throw Error(`Key binding `+e+` is used both as a regular binding and as a multi-stroke prefix`)},a=(e,r,a,o,s)=>{let c=n[e]||(n[e]=Object.create(null)),l=r.split(/ (?!$)/).map(e=>NIt(e,t));for(let t=1;t<l.length;t++){let n=l.slice(0,t).join(` `);i(n,!0),c[n]||(c[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=mV={view:t,prefix:n,scope:e};return setTimeout(()=>{mV==r&&(mV=null)},NLt),!0}]})}let u=l.join(` `);i(u,!1);let d=c[u]||(c[u]={preventDefault:!1,stopPropagation:!1,run:(c._any?.run)?.slice()||[]});a&&d.run.push(a),o&&(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=n[t]||(n[t]=Object.create(null));e._any||={preventDefault:!1,stopPropagation:!1,run:[]};let{any:i}=r;for(let t in e)e[t].run.push(e=>i(e,hV))}let i=r[t]||r.key;if(i)for(let t of e)a(t,i,r.run,r.preventDefault,r.stopPropagation),r.shift&&a(t,`Shift-`+i,r.shift,r.preventDefault,r.stopPropagation)}return n}function IIt(e,t,n,r){hV=t;let i=UPt(t),a=fL(dL(i,0))==i.length&&i!=` `,o=``,s=!1,c=!1,l=!1;mV&&mV.view==n&&mV.scope==r&&(o=mV.prefix+` `,jB.indexOf(t.keyCode)<0&&(c=!0,mV=null));let u=new Set,d=e=>{if(e){for(let t of e.run)if(!u.has(t)&&(u.add(t),t(n)))return e.stopPropagation&&(l=!0),!0;e.preventDefault&&(e.stopPropagation&&(l=!0),c=!0)}return!1},f=e[r],p,m;return f&&(d(f[o+lz(i,t,!a)])?s=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Oz.windows&&t.ctrlKey&&t.altKey)&&(p=OR[t.keyCode])&&p!=i?(d(f[o+lz(p,t,!0)])||t.shiftKey&&(m=kR[t.keyCode])!=i&&m!=p&&d(f[o+lz(m,t,!1)]))&&(s=!0):a&&t.shiftKey&&d(f[o+lz(i,t,!0)])&&(s=!0),!s&&d(f._any)&&(s=!0)),c&&(s=!0),s&&l&&t.stopPropagation(),hV=null,s}function LIt(e,t,n,r,i){t.lastIndex=0;for(let a=e.iterRange(n,r),o=n,s;!a.next().done;o+=a.value.length)if(!a.lineBreak)for(;s=t.exec(a.value);)i(o+s.index,s)}function RIt(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:a}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),a=Math.min(e.state.doc.lineAt(a).to,a+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=a:r.push({from:i,to:a});return r}function zIt(){if(yV==null&&typeof document<`u`&&document.body){let e=document.body.style;yV=(e.tabSize??e.MozTabSize)!=null}return yV||!1}function BIt(e={}){return[bV.of(e),VIt()]}function VIt(){return LLt||=hB.fromClass(class{constructor(e){this.view=e,this.decorations=Iz.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(bV)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new _V({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,a=dL(t[0],0);if(a==9){let e=i.lineAt(r),t=n.state.tabSize,a=AL(e.text,t,r-e.from);return Iz.replace({widget:new BLt((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[a]||(this.decorationCache[a]=Iz.replace({widget:new zLt(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(bV);e.startState.facet(bV)==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 HIt(e){return e>=32?RLt:e==10?``:String.fromCharCode(9216+e)}function UIt(e){return hB.fromClass(class{constructor(t){this.view=t,this.placeholder=e?Iz.set([Iz.widget({widget:new VLt(e),side:1}).range(0)]):Iz.none}get decorations(){return this.view.state.doc.length?Iz.none:this.placeholder}},{decorations:e=>e.decorations})}function WIt(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}function GIt(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+`px`)}function KIt(e,t){let{left:n,right:r,top:i,bottom:a}=e.getBoundingClientRect(),o;if(o=e.querySelector(`.cm-tooltip-arrow`)){let e=o.getBoundingClientRect();i=Math.min(e.top,i),a=Math.max(e.bottom,a)}return t.clientX>=n-kV&&t.clientX<=r+kV&&t.clientY>=i-kV&&t.clientY<=a+kV}function qIt(e,t,n,r,i,a){let o=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>i||Math.min(o.bottom,s)<i)return!1;let c=e.posAtCoords({x:r,y:i},!1);return c>=t&&c<=n}function JIt(e,t={}){let n=lR.define(),r=JL.define({create(){return[]},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 n of e){let e=r.changes.mapPos(n.pos,-1,RL.TrackDel);if(e!=null){let i=Object.assign(Object.create(null),n);i.pos=e,i.end!=null&&(i.end=r.changes.mapPos(i.end)),t.push(i)}}e=t}for(let t of r.effects)t.is(n)&&(e=t.value),t.is(KLt)&&(e=[]);return e},provide:e=>DV.from(e)});return{active:r,extension:[r,hB.define(i=>new GLt(i,e,r,n,t.hoverTime||300)),WLt]}}function YIt(e,t){let n=e.plugin(TV);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}function XIt(e){let t=e.nextSibling;return e.remove(),t}function ZIt(e){return[QIt(),FV.of(Object.assign(Object.assign({},YLt),e))]}function QIt(e){let t=[XLt];return e&&e.fixed===!1&&t.push(IV.of(!0)),t}function $It(e){return Array.isArray(e)?e:[e]}function uz(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}function eLt(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}function dz(e,t){return e.state.facet(zV).formatNumber(t,e.state)}function tLt(e={}){return[zV.of(e),QIt(),eRt]}function nLt(e){let t=9;for(;t<e;)t=t*10+9;return t}var rLt,fz,iLt,pz,mz,hz,gz,_z,vz,yz,bz,xz,Sz,Cz,wz,Tz,Ez,Dz,Oz,aLt,kz,Az,jz,Mz,Nz,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,oLt,sLt,Jz,Yz,cLt,Xz,Zz,Qz,$z,eB,tB,nB,rB,iB,aB,oB,sB,cB,lLt,lB,uB,dB,fB,pB,uLt,mB,hB,gB,_B,vB,yB,bB,xB,SB,CB,wB,TB,EB,DB,dLt,OB,fLt,kB,pLt,mLt,AB,hLt,jB,MB,gLt,NB,PB,FB,IB,_Lt,LB,RB,zB,BB,VB,HB,UB,WB,vLt,yLt,GB,KB,qB,JB,YB,XB,ZB,bLt,xLt,SLt,CLt,QB,wLt,$B,eV,tV,TLt,nV,rV,iV,aV,oV,sV,ELt,DLt,cV,OLt,kLt,lV,ALt,uV,dV,jLt,MLt,fV,pV,mV,NLt,hV,PLt,gV,_V,vV,FLt,ILt,yV,bV,LLt,RLt,zLt,BLt,VLt,xV,SV,CV,wV,TV,HLt,ULt,EV,DV,OV,WLt,GLt,kV,KLt,AV,qLt,jV,MV,NV,PV,JLt,YLt,FV,IV,XLt,ZLt,LV,RV,QLt,$Lt,zV,BV,eRt,VV=c((()=>{xR(),HPt(),KPt(),rLt=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:n}=e;this.set(t,Math.min(e.anchorOffset,t?RR(t):0),n,Math.min(e.focusOffset,n?RR(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}},fz=null,pz=class e{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(t,n){return new e(t.parentNode,IR(t),n)}static after(t,n){return new e(t.parentNode,IR(t)+1,n)}},mz=[],hz=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 n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw RangeError(`Invalid child in posBefore`)}posAfter(e){return this.posBefore(e)+e.length}sync(t,n){if(this.flags&2){let r=this.dom,i=null,a;for(let o of this.children){if(o.flags&7){if(!o.dom&&(a=i?i.nextSibling:r.firstChild)){let t=e.get(a);(!t||!t.parent&&t.canReuseDOM(o))&&o.reuseDOM(a)}o.sync(t,n),o.flags&=-8}if(a=i?i.nextSibling:r.firstChild,n&&!n.written&&n.node==r&&a!=o.dom&&(n.written=!0),o.dom.parentNode==r)for(;a&&a!=o.dom;)a=aFt(a);else r.insertBefore(o.dom,a);i=o.dom}for(a=i?i.nextSibling:r.firstChild,a&&n&&n.node==r&&(n.written=!0);a;)a=aFt(a)}else if(this.flags&1)for(let e of this.children)e.flags&7&&(e.sync(t,n),e.flags&=-8)}reuseDOM(e){}localPosFromDOM(t,n){let r;if(t==this.dom)r=this.dom.childNodes[n];else{let e=RR(t)==0?0:n==0?-1:1;for(;;){let n=t.parentNode;if(n==this.dom)break;e==0&&n.firstChild!=n.lastChild&&(e=t==n.firstChild?-1:1),t=n}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 n=this.children[e];if(n.dom==r)return t;t+=n.length+n.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,i=-1,a=-1,o=-1;for(let s=0,c=n,l=n;s<this.children.length;s++){let n=this.children[s],u=c+n.length;if(c<e&&u>t)return n.domBoundsAround(e,t,c);if(u>=e&&r==-1&&(r=s,i=c),c>t&&n.dom.parentNode==this.dom){a=s,o=l;break}l=u,c=u+n.breakAfter}return{from:i,to:o<0?n+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].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),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&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,n=mz){this.markDirty();for(let r=e;r<t;r++){let e=this.children[r];e.parent==this&&n.indexOf(e)<0&&e.destroy()}n.length<250?this.children.splice(e,t-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(t));for(let e=0;e<n.length;e++)n[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new gz(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?`[`+(e==`Text`?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,n,r,i,a){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}},hz.prototype.breakAfter=0,gz=class{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}},_z=typeof navigator<`u`?navigator:{userAgent:``,vendor:``,platform:``},vz=typeof document<`u`?document:{documentElement:{style:{}}},yz=/Edge\/(\d+)/.exec(_z.userAgent),bz=/MSIE \d/.test(_z.userAgent),xz=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(_z.userAgent),Sz=!!(bz||xz||yz),Cz=!Sz&&/gecko\/(\d+)/i.test(_z.userAgent),wz=!Sz&&/Chrome\/(\d+)/.exec(_z.userAgent),Tz=`webkitFontSmoothing`in vz.documentElement.style,Ez=!Sz&&/Apple Computer/.test(_z.vendor),Dz=Ez&&(/Mobile\/\w+/.test(_z.userAgent)||_z.maxTouchPoints>2),Oz={mac:Dz||/Mac/.test(_z.platform),windows:/Win/.test(_z.platform),linux:/Linux|X11/.test(_z.platform),ie:Sz,ie_version:bz?vz.documentMode||6:xz?+xz[1]:yz?+yz[1]:0,gecko:Cz,gecko_version:Cz?+(/Firefox\/(\d+)/.exec(_z.userAgent)||[0,0])[1]:0,chrome:!!wz,chrome_version:wz?+wz[1]:0,ios:Dz,android:/Android\b/.test(_z.userAgent),webkit:Tz,safari:Ez,webkit_version:Tz?+(/\bAppleWebKit\/(\d+)/.exec(_z.userAgent)||[0,0])[1]:0,tabSize:vz.documentElement.style.tabSize==null?`-moz-tab-size`:`tab-size`},aLt=256,kz=class e extends hz{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){e.nodeType==3&&this.createDOM(e)}merge(t,n,r){return this.flags&8||r&&(!(r instanceof e)||this.length-(n-t)+r.length>aLt||r.flags&8)?!1:(this.text=this.text.slice(0,t)+(r?r.text:``)+this.text.slice(n),this.markDirty(),!0)}split(t){let n=new e(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new pz(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return cFt(this.dom,e,t)}},Az=class e extends hz{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let e of t)e.setParent(this)}setAttrs(e){if(eFt(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)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(t,n,r,i,a,o){return r&&(!(r instanceof e&&r.mark.eq(this.mark))||t&&a<=0||n<this.length&&o<=0)?!1:(sFt(this,t,n,r?r.children.slice():[],a-1,o-1),this.markDirty(),!0)}split(t){let n=[],r=0,i=-1,a=0;for(let e of this.children){let o=r+e.length;o>t&&n.push(r<t?e.split(t-r):e),i<0&&r>=t&&(i=a),r=o,a++}let o=this.length-t;return this.length=t,i>-1&&(this.children.length=i,this.markDirty()),new e(this.mark,n,o)}domAtPos(e){return lFt(this,e)}coordsAt(e,t){return dFt(this,e,t)}},jz=class e extends hz{static create(t,n,r){return new e(t,n,r)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(t){let n=e.create(this.widget,this.length-t,this.side);return this.length-=t,n}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,n,r,i,a,o){return r&&(!(r instanceof e)||!this.widget.compare(r.widget)||t>0&&a<=0||n<this.length&&o<=0)?!1:(this.length=t+(r?r.length:0)+(this.length-n),!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):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return jL.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):jL.empty}domAtPos(e){return(this.length?e==0:this.side>0)?pz.before(this.dom):pz.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let r=this.dom.getClientRects(),i=null;if(!r.length)return null;let a=this.side?this.side<0:e>0;for(let t=a?r.length-1:0;i=r[t],!(e>0?t==0:t==r.length-1||i.top<i.bottom);t+=a?-1:1);return zR(i,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},Mz=class e extends hz{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?pz.before(this.dom):pz.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return jL.empty}get isHidden(){return!0}},kz.prototype.children=jz.prototype.children=Mz.prototype.children=mz,Nz=Object.create(null),Pz=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,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},Fz=(function(e){return e[e.Text=0]=`Text`,e[e.WidgetBefore=1]=`WidgetBefore`,e[e.WidgetAfter=2]=`WidgetAfter`,e[e.WidgetRange=3]=`WidgetRange`,e})(Fz||={}),Iz=class extends mR{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new Lz(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new zz(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:i,end:a}=mFt(e,t);n=(i?t?-3e8:-1:5e8)-1,r=(a?t?2e8:1:-6e8)+1}return new zz(e,n,r,t,e.widget||null,!0)}static line(e){return new Rz(e)}static set(e,t=!1){return gR.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}},Iz.none=gR.empty,Lz=class e extends Iz{constructor(e){let{start:t,end:n}=mFt(e);super(t?-1:5e8,n?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)&&UR(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)}},Lz.prototype.point=!1,Rz=class e extends Iz{constructor(e){super(-2e8,-2e8,null,e)}eq(t){return t instanceof e&&this.spec.class==t.spec.class&&UR(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)}},Rz.prototype.mapMode=RL.TrackBefore,Rz.prototype.point=!0,zz=class e extends Iz{constructor(e,t,n,r,i,a){super(t,n,i,e),this.block=r,this.isReplace=a,this.mapMode=r?t<=0?RL.TrackBefore:RL.TrackAfter:RL.TrackDel}get type(){return this.startSide==this.endSide?this.startSide<=0?Fz.WidgetBefore:Fz.WidgetAfter:Fz.WidgetRange}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof e&&hFt(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)}},zz.prototype.point=!0,Bz=class e extends hz{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,n,r,i,a,o){if(r){if(!(r instanceof e))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),sFt(this,t,n,r?r.children.slice():[],a,o),!0}split(t){let n=new e;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(t);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let e=r;e<this.children.length;e++)n.append(this.children[e],0);for(;r>0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=t,n}transferDOM(e){this.dom&&=(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,null)}setDeco(e){UR(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){uFt(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=HR(t,this.attrs||{})),n&&(this.attrs=HR({class:n},this.attrs||{}))}domAtPos(e){return lFt(this,e)}reuseDOM(e){e.nodeName==`DIV`&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&(eFt(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),this.prevAttrs!==void 0&&(WR(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add(`cm-line`),this.prevAttrs=void 0),super.sync(e,t);let n=this.dom.lastChild;for(;n&&hz.get(n)instanceof Az;)n=n.lastChild;if(!n||!this.length||n.nodeName!=`BR`&&hz.get(n)?.isEditable==0&&(!Oz.ios||!this.children.some(e=>e instanceof kz))){let e=document.createElement(`BR`);e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof kz)||/[^ -~]/.test(n.text))return null;let r=PR(n.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=dFt(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(t){return t instanceof e&&this.children.length==0&&t.children.length==0&&UR(this.attrs,t.attrs)&&this.breakAfter==t.breakAfter}covers(){return!0}static find(t,n){for(let r=0,i=0;r<t.children.length;r++){let a=t.children[r],o=i+a.length;if(o>=n){if(a instanceof e)return a;if(o>n)break}i=o+a.breakAfter}return null}},Vz=class e extends hz{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(t,n,r,i,a,o){return r&&(!(r instanceof e)||!this.widget.compare(r.widget)||t>0&&a<=0||n<this.length&&o<=0)?!1:(this.length=t+(r?r.length:0)+(this.length-n),!0)}domAtPos(e){return e==0?pz.before(this.dom):pz.after(this.dom,e==this.length)}split(t){let n=this.length-t;this.length=t;let r=new e(this.widget,n,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return mz}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):jL.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):!1}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 Hz?null:zR(this.dom.getBoundingClientRect(),this.length?e==0:t<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:n}=this.deco;return t==n?!1:e<0?t<0:n>0}},Hz=class extends Pz{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}},Uz=class e{constructor(e,t,n,r){this.doc=e,this.pos=t,this.end=n,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(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Vz&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Bz),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&=(this.curLine.append(KR(new Mz(-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 Vz)&&this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw Error(`Ran out of text content when drawing inline views`);if(n){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}else this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(KR(new kz(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,i,a){if(this.disallowBlockEffectsFor[a]&&n instanceof zz){if(n.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 o=t-e;if(n instanceof zz)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Vz(n.widget||Wz.block,o,n));else{let a=jz.create(n.widget||Wz.inline,o,o?0:n.startSide),s=this.atCursorPos&&!a.isEditable&&i<=r.length&&(e<t||n.startSide>0),c=!a.isEditable&&(e<t||i>r.length||n.startSide<=0),l=this.getLine();this.pendingBuffer==2&&!s&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),s&&(l.append(KR(new Mz(1),r),i),i=r.length+Math.max(0,i-r.length)),l.append(KR(a,r),i),this.atCursorPos=c,this.pendingBuffer=c?e<t||i>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text=``,this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(t,n,r,i,a){let o=new e(t,n,r,a);return o.openEnd=gR.spans(i,n,r,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}},Wz=class extends Pz{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}},Wz.inline=new Wz(`span`),Wz.block=new Wz(`div`),Gz=(function(e){return e[e.LTR=0]=`LTR`,e[e.RTL=1]=`RTL`,e})(Gz||={}),Kz=Gz.LTR,qz=Gz.RTL,oLt=gFt(`88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008`),sLt=gFt(`4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333`),Jz=Object.create(null),Yz=[];for(let e of[`()`,`[]`,`{}`]){let t=e.charCodeAt(0),n=e.charCodeAt(1);Jz[t]=n,Jz[n]=-t}cLt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,Xz=class{get dir(){return this.level%2?qz:Kz}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,r){let i=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o.from<=t&&o.to>=t){if(o.level==n)return a;(i<0||(r==0?e[i].level>o.level:r<0?o.from<t:o.to>t))&&(i=a)}}if(i<0)throw RangeError(`Index out of range`);return i}},Zz=[],Qz=``,$z=GL.define(),eB=GL.define(),tB=GL.define(),nB=GL.define(),rB=GL.define(),iB=GL.define(),aB=GL.define(),oB=GL.define(),sB=GL.define(),cB=GL.define({combine:e=>e.some(e=>e)}),lLt=GL.define({combine:e=>e.some(e=>e)}),lB=GL.define(),uB=class e{constructor(e,t=`nearest`,n=`nearest`,r=5,i=5,a=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=i,this.isSnapshot=a}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(UL.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},dB=lR.define({map:(e,t)=>e.map(t)}),fB=lR.define(),pB=GL.define({combine:e=>e.length?e[0]:!0}),uLt=0,mB=GL.define(),hB=class e{constructor(e,t,n,r,i){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.extension=i(this)}static define(t,n){let{eventHandlers:r,eventObservers:i,provide:a,decorations:o}=n||{};return new e(uLt++,t,r,i,e=>{let t=[mB.of(e)];return o&&t.push(yB.of(t=>{let n=t.plugin(e);return n?o(n):Iz.none})),a&&t.push(a(e)),t})}static fromClass(t,n){return e.define(e=>new t(e),n)}},gB=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(!this.value){if(this.spec)try{this.value=this.spec.create(e)}catch(t){YR(e.state,t,`CodeMirror plugin crashed`),this.deactivate()}}else if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(YR(e.state,t,`CodeMirror plugin crashed`),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}return this}destroy(e){if(this.value?.destroy)try{this.value.destroy()}catch(t){YR(e.state,t,`CodeMirror plugin crashed`)}}deactivate(){this.spec=this.value=null}},_B=GL.define(),vB=GL.define(),yB=GL.define(),bB=GL.define(),xB=GL.define(),SB=GL.define(),CB=GL.define(),wB=GL.define(),TB=class e{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,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,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(t,n){if(n.length==0)return t;let r=[];for(let i=0,a=0,o=0,s=0;;i++){let c=i==t.length?null:t[i],l=o-s,u=c?c.fromB:1e9;for(;a<n.length&&n[a]<u;){let t=n[a],i=n[a+1],o=Math.max(s,t),c=Math.min(u,i);if(o<=c&&new e(o+l,c+l,o,c).addToSet(r),i>u)break;a+=2}if(!c)return r;new e(c.fromA,c.toA,c.fromB,c.toB).addToSet(r),o=c.toA,s=c.toB}}},EB=class e{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=BL.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new TB(e,t,n,i))),this.changedRanges=r}static create(t,n,r){return new e(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},DB=class extends hz{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=Iz.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 Bz],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new TB(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 n=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(this.domChanged?.newSel?n=this.domChanged.newSel.head:!NFt(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let r=n>-1?kFt(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:n,to:r}=this.hasComposition;t=new TB(n,r,e.changes.mapPos(n,-1),e.changes.mapPos(r,1)).addToSet(t.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(Oz.ie||Oz.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,a=jFt(i,this.updateDeco(),e.changes);return t=TB.extendWithRanges(t,a),!(this.flags&7)&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length,r),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);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=Oz.chrome||Oz.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 i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof Vz&&e.widget instanceof Hz&&i.push(e.dom);r.updateGaps(i)}updateChildren(e,t,n){let r=n?n.range.addToSet(e.slice()):e,i=this.childCursor(t);for(let e=r.length-1;;e--){let t=e>=0?r[e]:null;if(!t)break;let{fromA:a,toA:o,fromB:s,toB:c}=t,l,u,d,f;if(n&&n.range.fromB<c&&n.range.toB>s){let e=Uz.build(this.view.state.doc,s,n.range.fromB,this.decorations,this.dynamicDecorationMap),t=Uz.build(this.view.state.doc,n.range.toB,c,this.decorations,this.dynamicDecorationMap);u=e.breakAtStart,d=e.openStart,f=t.openEnd;let r=this.compositionView(n);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(),l=e.content.concat(r).concat(t.content)}else ({content:l,breakAtStart:u,openStart:d,openEnd:f}=Uz.build(this.view.state.doc,s,c,this.decorations,this.dynamicDecorationMap));let{i:p,off:m}=i.findPos(o,1),{i:h,off:g}=i.findPos(a,-1);oFt(this,h,g,p,m,l,u,d,f)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(fB)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new kz(e.text.nodeValue);t.flags|=8;for(let{deco:n}of e.marks)t=new Az(n,[t],t.length);let n=new Bz;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some(e=>e.flags&7)?1:0),this.markedForComposition.add(t);let n=hz.get(e);n&&n!=t&&(n.dom=null),t.setDOM(e)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r);for(let i=e.marks.length-1;i>=-1;i--)n=r.childPos(n.off,1),r=r.children[n.i],t(i>=0?e.marks[i].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,i=!r&&!(this.view.state.facet(pB)||this.dom.tabIndex>-1)&&NR(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||t||i))return;let a=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(o.anchor)),c=o.empty?s:this.moveToLine(this.domAtPos(o.head));if(Oz.gecko&&o.empty&&!this.hasComposition&&DFt(s)){let e=document.createTextNode(``);this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=c=new pz(e,0),a=!0}let l=this.view.observer.selectionRange;(a||!l.focusNode||(!FR(s.node,s.offset,l.anchorNode,l.anchorOffset)||!FR(c.node,c.offset,l.focusNode,l.focusOffset))&&!this.suppressWidgetCursorChange(l,o))&&(this.view.observer.ignore(()=>{Oz.android&&Oz.chrome&&this.dom.contains(l.focusNode)&&MFt(l.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=jR(this.view.root);if(e)if(o.empty){if(Oz.gecko){let e=AFt(s.node,s.offset);if(e&&e!=3){let t=(e==1?rFt:iFt)(s.node,s.offset);t&&(s=new pz(t.node,t.offset))}}e.collapse(s.node,s.offset),o.bidiLevel!=null&&e.caretBidiLevel!==void 0&&(e.caretBidiLevel=o.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(c.node,c.offset)}catch{}}else{let t=document.createRange();o.anchor>o.head&&([s,c]=[c,s]),t.setEnd(c.node,c.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(s,c)),this.impreciseAnchor=s.precise?null:new pz(l.anchorNode,l.anchorOffset),this.impreciseHead=c.precise?null:new pz(l.focusNode,l.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&FR(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,n=jR(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=Bz.find(this,t.head);if(!a)return;let o=a.posAtStart;if(t.head==o||t.head==o+a.length)return;let s=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!s||!c||s.bottom>c.top)return;let l=this.domAtPos(t.head+t.assoc);n.collapse(l.node,l.offset),n.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&&n.collapse(r,i)}moveToLine(e){let t=this.dom,n;if(e.node!=t)return e;for(let r=e.offset;!n&&r<t.childNodes.length;r++){let e=hz.get(t.childNodes[r]);e instanceof Bz&&(n=e.domAtPos(0))}for(let r=e.offset-1;!n&&r>=0;r--){let e=hz.get(t.childNodes[r]);e instanceof Bz&&(n=e.domAtPos(e.length))}return n?new pz(n.node,n.offset,!0):e}nearest(e){for(let t=e;t;){let e=hz.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw RangeError(`Trying to find position for a DOM position outside of the document`);return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(n<e.length||e instanceof Bz)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0;for(let i=this.length,a=this.children.length-1;a>=0;a--){let o=this.children[a],s=i-o.breakAfter,c=s-o.length;if(s<e)break;if(c<=e&&(c<e||o.covers(-1))&&(s>e||o.covers(1))&&(!n||o instanceof Bz&&!(n instanceof Bz&&t>=0)))n=o,r=c;else if(n&&c==e&&s==e&&o instanceof Vz&&Math.abs(t)<2){if(o.deco.startSide<0)break;a&&(n=null)}i=c}return n?n.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t];if(!(r instanceof Bz))return null;for(;r.children.length;){let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null;if((r=r.children[e]).length)break}n=t}if(!(r instanceof kz))return null;let i=uL(r.text,n);if(i==n)return null;let a=BR(r.dom,n,i).getClientRects();for(let e=0;e<a.length;e++){let t=a[e];if(e==a.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,i=this.view.contentDOM.clientWidth,a=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,s=this.view.textDirection==Gz.LTR;for(let e=0,c=0;c<this.children.length;c++){let l=this.children[c],u=e+l.length;if(u>r)break;if(e>=n){let n=l.dom.getBoundingClientRect();if(t.push(n.height),a){let t=l.dom.lastChild,r=t?PR(t):[];if(r.length){let t=r[r.length-1],a=s?t.right-n.left:n.right-t.left;a>o&&(o=a,this.minWidth=i,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+l.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction==`rtl`?Gz.RTL:Gz.LTR}measureTextSize(){for(let e of this.children)if(e instanceof Bz){let t=e.measureTextSize();if(t)return t}let e=document.createElement(`div`),t,n,r;return e.className=`cm-line`,e.style.width=`99999px`,e.style.position=`absolute`,e.textContent=`abc def ghi jkl mno pqr stu`,this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=PR(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,r=i?i.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new gz(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let i=r==t.viewports.length?null:t.viewports[r],a=i?i.from-1:this.length;if(a>n){let r=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(Iz.replace({widget:new Hz(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!i)break;n=i.to+1}return Iz.set(e)}updateDeco(){let e=1,t=this.view.state.facet(yB).map(t=>(this.dynamicDecorationMap[e++]=typeof t==`function`)?t(this.view):t),n=!1,r=this.view.state.facet(bB).map((e,t)=>{let r=typeof e==`function`;return r&&(n=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(gR.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);this.view.scrollDOM.scrollTop=t.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let t of this.view.state.facet(lB))try{if(t(this.view,e.range,e))return!0}catch(e){YR(this.view.state,e,`scroll handler`)}let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let i=XR(this.view),a={left:n.left-i.left,top:n.top-i.top,right:n.right+i.right,bottom:n.bottom+i.bottom},{offsetWidth:o,offsetHeight:s}=this.view.scrollDOM;XPt(this.view.scrollDOM,a,t.head<t.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,o),-o),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==Gz.LTR)}},dLt=class{constructor(){this.changes=[]}compareRange(e,t){GR(e,t,this.changes)}comparePoint(e,t){GR(e,t,this.changes)}boundChange(e){GR(e,e,this.changes)}},OB=``,fLt=class{constructor(e,t){this.points=e,this.text=``,this.lineSeparator=t.facet(pR.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=OB}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let i=r.nextSibling;if(i==t)break;let a=hz.get(r),o=hz.get(i);(a&&o?a.breakAfter:(a?a.breakAfter:LR(r))||LR(i)&&(r.nodeName!=`BR`||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),r=i}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,a=1,o;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(o=r.exec(t))&&(i=o.index,a=o[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=i+a}}readNode(e){if(e.cmIgnore)return;let t=hz.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName==`BR`?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(YFt(e,n.node,n.offset)?t:0))}},kB=class{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}},pLt=class{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text=``,this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let t=i||a?[]:$Ft(e),n=new fLt(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=eIt(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!MR(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!MR(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),o=e.viewport;if((Oz.ios||Oz.chrome)&&e.state.selection.main.empty&&n!=r&&(o.from>0||o.to<e.state.doc.length)){let t=Math.min(n,r),i=Math.max(n,r),a=o.from-t,s=o.to-i;(a==0||a==1||t==0)&&(s==0||s==-1||i==e.state.doc.length)&&(n=0,r=e.state.doc.length)}this.newSel=UL.single(r,n)}}},mLt=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,Oz.safari&&e.contentDOM.addEventListener(`input`,()=>null),Oz.gecko&&xIt(e.contentDOM.ownerDocument)}handleEvent(e){!sIt(this.view,e)||this.ignoreDuringComposition(e)||e.type==`keydown`&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=nIt(e),n=this.handlers,r=this.view.contentDOM;for(let e in t)if(e!=`scroll`){let i=!t[e].handlers.length,a=n[e];a&&i!=!a.handlers.length&&(r.removeEventListener(e,this.handleEvent),a=null),a||r.addEventListener(e,this.handleEvent,{passive:i})}for(let e in n)e!=`scroll`&&!t[e]&&r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&jB.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Oz.android&&Oz.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return Oz.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((t=AB.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||hLt.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let t=this.pendingIOSKey;return!t||t.key==`Enter`&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,VR(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Oz.safari&&!Oz.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}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()}},AB=[{key:`Backspace`,keyCode:8,inputType:`deleteContentBackward`},{key:`Enter`,keyCode:13,inputType:`insertParagraph`},{key:`Enter`,keyCode:13,inputType:`insertLineBreak`},{key:`Delete`,keyCode:46,inputType:`deleteContentForward`}],hLt=`dthko`,jB=[16,17,18,20,91,92,224,225],MB=6,gLt=class{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=ZPt(e.contentDOM),this.atoms=e.state.facet(xB).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener(`mousemove`,this.move=this.move.bind(this)),i.addEventListener(`mouseup`,this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(pR.allowMultipleSelections)&&iIt(e,t),this.dragging=oIt(e,t)&&pIt(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&rIt(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,r=0,i=0,a=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:o}=this.scrollParents.y.getBoundingClientRect());let s=XR(this.view);e.clientX-s.left<=r+MB?t=-nz(r-e.clientX):e.clientX+s.right>=a-MB&&(t=nz(e.clientX-a)),e.clientY-s.top<=i+MB?n=-nz(i-e.clientY):e.clientY+s.bottom>=o-MB&&(n=nz(e.clientY-o)),this.setScrollSpeed(t,n)}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),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],i=null;if(r.empty){let e=$R(this.atoms,r.from,0);e!=r.from&&(i=UL.cursor(e,-1))}else{let e=$R(this.atoms,r.from,-1),t=$R(this.atoms,r.to,1);(e!=r.from||t!=r.to)&&(i=UL.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}i&&(t||=e.ranges.slice(),t[n]=i)}return t?UL.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,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)}},NB=Object.create(null),PB=Object.create(null),FB=Oz.ie&&Oz.ie_version<15||Oz.ios&&Oz.webkit_version<604,PB.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},NB.keydown=(e,t)=>(e.inputState.setSelectionOrigin(`select`),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),PB.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin(`select.pointer`)},PB.touchmove=e=>{e.inputState.setSelectionOrigin(`select.pointer`)},NB.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(tB))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=mIt(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new gLt(e,t,n,r)),r&&e.observer.ignore(()=>{QPt(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let i=e.inputState.mouseSelection;if(i)return i.start(t),i.dragging===!1}return!1},IB=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right,_Lt=Oz.ie&&Oz.ie_version<=11,LB=null,RB=0,zB=0,NB.dragstart=(e,t)=>{let{selection:{main:n}}=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>=n.to||t<=n.from)&&(n=UL.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData(`Text`,rz(e.state,sB,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed=`copyMove`),!1},NB.dragend=e=>(e.inputState.draggedContent=null,!1),NB.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,a=()=>{++i==n.length&&gIt(e,t,r.filter(e=>e!=null).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=a,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),a()},t.readAsText(n[e])}return!0}else{let n=t.dataTransfer.getData(`Text`);if(n)return gIt(e,t,n,!0),!0}return!1},NB.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=FB?null:t.clipboardData;return n?(lIt(e,n.getData(`text/plain`)||n.getData(`text/uri-list`)),!0):(cIt(e),!1)},BB=null,NB.copy=NB.cut=(e,t)=>{let{text:n,ranges:r,linewise:i}=vIt(e.state);if(!n&&!i)return!1;BB=i?n:null,t.type==`cut`&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:`delete.cut`});let a=FB?null:t.clipboardData;return a?(a.clearData(),a.setData(`text/plain`,n),!0):(_It(e,n),!1)},VB=cR.define(),PB.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),bIt(e)},PB.blur=e=>{e.observer.clearSelectionRange(),bIt(e)},PB.compositionstart=PB.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange??(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},PB.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,Oz.chrome&&Oz.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},PB.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},NB.beforeinput=(e,t)=>{if(t.inputType==`insertReplacementText`&&e.observer.editContext){let n=t.dataTransfer?.getData(`text/plain`),r=t.getTargetRanges();if(n&&r.length){let t=r[0];return tz(e,{from:e.posAtDOM(t.startContainer,t.startOffset),to:e.posAtDOM(t.endContainer,t.endOffset),insert:e.state.toText(n)},null),!0}}let n;if(Oz.chrome&&Oz.android&&(n=AB.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(n.key,n.keyCode),n.key==`Backspace`||n.key==`Delete`)){let t=window.visualViewport?.height||0;setTimeout(()=>{(window.visualViewport?.height||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Oz.ios&&t.inputType==`deleteContentForward`&&e.observer.flushSoon(),Oz.safari&&t.inputType==`insertText`&&e.inputState.composing>=0&&setTimeout(()=>PB.compositionend(e,t),20),!1},HB=new Set,UB=[`pre-wrap`,`normal`,`pre-line`,`break-spaces`],WB=!1,vLt=class{constructor(e){this.lineWrapping=e,this.doc=jL.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}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 UB.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(r*10)]||(t=!0,this.heightSamples[Math.floor(r*10)]=!0)}return t}refresh(e,t,n,r,i,a){let o=UB.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(let e=0;e<a.length;e++){let t=a[e];t<0?e++:this.heightSamples[Math.floor(t*10)]=!0}}return s}},yLt=class{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}},GB=class e{constructor(e,t,n,r,i){this.from=e,this.length=t,this.top=n,this.height=r,this._content=i}get type(){return typeof this._content==`number`?Fz.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 zz?this._content.widget:null}get widgetLineBreaks(){return typeof this._content==`number`?this._content:0}join(t){let n=(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,n)}},KB=(function(e){return e[e.ByPos=0]=`ByPos`,e[e.ByHeight=1]=`ByHeight`,e[e.ByPosNoHeight=2]=`ByPosNoHeight`,e})(KB||={}),qB=.001,JB=class e{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>qB&&(WB=!0),this.height=e)}replace(t,n,r){return e.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let i=this,a=n.doc;for(let o=r.length-1;o>=0;o--){let{fromA:s,toA:c,fromB:l,toB:u}=r[o],d=i.lineAt(s,KB.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=c?d:i.lineAt(c,KB.ByPosNoHeight,n,0,0);for(u+=f.to-c,c=f.to;o>0&&d.from<=r[o-1].toA;)s=r[o-1].fromA,l=r[o-1].fromB,o--,s<d.from&&(d=i.lineAt(s,KB.ByPosNoHeight,n,0,0));l+=d.from-s,s=d.from;let p=SLt.build(n.setDoc(a),e,l,u);i=iz(i,i.replace(s,c,p))}return i.updateHeight(n,0)}static empty(){return new XB(0,0)}static of(t){if(t.length==1)return t[0];let n=0,r=t.length,i=0,a=0;for(;;)if(n==r)if(i>a*2){let e=t[n-1];e.break?t.splice(--n,1,e.left,null,e.right):t.splice(--n,1,e.left,e.right),r+=1+e.break,i-=e.size}else if(a>i*2){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,a-=e.size}else break;else if(i<a){let e=t[n++];e&&(i+=e.size)}else{let e=t[--r];e&&(a+=e.size)}let o=0;return t[n-1]==null?(o=1,n--):t[n]??(o=1,r++),new bLt(e.of(t.slice(0,n)),o,e.of(t.slice(r)))}},JB.prototype.size=1,YB=class extends JB{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,r){return new GB(r,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,r,i){return this.blockAt(0,n,r,i)}forEachLine(e,t,n,r,i,a){e<=i+this.length&&t>=i&&a(this.blockAt(0,n,r,i))}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},XB=class e extends YB{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,r){return new GB(r,this.length,n,this.height,this.breaks)}replace(t,n,r){let i=r[0];return r.length==1&&(i instanceof e||i instanceof ZB&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof ZB?i=new e(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):JB.of(r)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(n||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:``})`}},ZB=class e extends JB{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,i=r-n+1,a,o=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i);a=t/i,this.length>i+1&&(o=(this.height-t)/(this.length-i-1))}else a=this.height/i;return{firstLine:n,lastLine:r,perLine:a,perChar:o}}blockAt(e,t,n,r){let{firstLine:i,lastLine:a,perLine:o,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let i=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),a=t.doc.lineAt(i),c=o+a.length*s,l=Math.max(n,e-c/2);return new GB(a.from,a.length,l,c,0)}else{let r=Math.max(0,Math.min(a-i,Math.floor((e-n)/o))),{from:s,length:c}=t.doc.line(i+r);return new GB(s,c,n+o*r,o,0)}}lineAt(e,t,n,r,i){if(t==KB.ByHeight)return this.blockAt(e,n,r,i);if(t==KB.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new GB(t,r-t,0,0,0)}let{firstLine:a,perLine:o,perChar:s}=this.heightMetrics(n,i),c=n.doc.lineAt(e),l=o+c.length*s,u=c.number-a,d=r+o*u+s*(c.from-i-u);return new GB(c.from,c.length,Math.max(r,Math.min(d,r+this.height-l)),l,0)}forEachLine(e,t,n,r,i,a){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:o,perLine:s,perChar:c}=this.heightMetrics(n,i);for(let l=e,u=r;l<=t;){let t=n.doc.lineAt(l);if(l==e){let n=t.number-o;u+=s*n+c*(e-i-n)}let r=s+c*t.length;a(new GB(t.from,t.length,u,r,0)),u+=r,l=t.to+1}}replace(t,n,r){let i=this.length-n;if(i>0){let t=r[r.length-1];t instanceof e?r[r.length-1]=new e(t.length+i):r.push(null,new e(i-1))}if(t>0){let n=r[0];n instanceof e?r[0]=new e(t+n.length):r.unshift(new e(t-1),null)}return JB.of(r)}decomposeLeft(t,n){n.push(new e(t-1),null)}decomposeRight(t,n){n.push(null,new e(this.length-t-1))}updateHeight(t,n=0,r=!1,i){let a=n+this.length;if(i&&i.from<=n+this.length&&i.more){let r=[],o=Math.max(n,i.from),s=-1;for(i.from>n&&r.push(new e(i.from-n-1).updateHeight(t,n));o<=a&&i.more;){let e=t.doc.lineAt(o).length;r.length&&r.push(null);let n=i.heights[i.index++];s==-1?s=n:Math.abs(n-s)>=qB&&(s=-2);let a=new XB(e,n);a.outdated=!1,r.push(a),o+=e+1}o<=a&&r.push(null,new e(a-o).updateHeight(t,o));let c=JB.of(r);return(s<0||Math.abs(c.height-this.height)>=qB||Math.abs(s-this.heightMetrics(t,n).perLine)>=qB)&&(WB=!0),iz(this,c)}else (r||this.outdated)&&(this.setHeight(t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},bLt=class extends JB{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,r){let i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}lineAt(e,t,n,r,i){let a=r+this.left.height,o=i+this.left.length+this.break,s=t==KB.ByHeight?e<a:e<o,c=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,a,o);if(this.break||(s?c.to<o:c.from>o))return c;let l=t==KB.ByPosNoHeight?KB.ByPosNoHeight:KB.ByPos;return s?c.join(this.right.lineAt(o,l,n,a,o)):this.left.lineAt(o,l,n,r,i).join(c)}forEachLine(e,t,n,r,i,a){let o=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,a),t>=s&&this.right.forEachLine(e,t,n,o,s,a);else{let c=this.lineAt(s,KB.ByPos,n,r,i);e<c.from&&this.left.forEachLine(e,c.from-1,n,r,i,a),c.to>=e&&c.from<=t&&a(c),t>c.to&&this.right.forEachLine(c.to+1,t,n,o,s,a)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let i=[];e>0&&this.decomposeLeft(e,i);let a=i.length;for(let e of n)i.push(e);if(e>0&&CIt(i,a-1),t<this.length){let e=i.length;this.decomposeRight(t,i),CIt(i,e)}return JB.of(i)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&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?JB.of(this.break?[e,null,t]:[e,t]):(this.left=iz(this.left,e),this.right=iz(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,n=!1,r){let{left:i,right:a}=this,o=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=o+a.length&&r.more?s=a=a.updateHeight(e,o,n,r):a.updateHeight(e,o,n),s?this.balanced(i,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?` `:`-`)+this.right}},xLt=5,SLt=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),n=this.nodes[this.nodes.length-1];n instanceof XB?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new XB(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let a=t-e;n.block?this.addBlock(new YB(a,r,n)):(a||i||r>=xLt)&&this.addLineDeco(r,i,a)}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||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new XB(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new ZB(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof XB)return e;let t=new XB(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,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos+=n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof XB)&&!this.isCovered?this.nodes.push(new XB(0,-1)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let e of this.nodes)e instanceof XB&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(t,n,r,i){let a=new e(r,t);return gR.spans(n,r,i,a,0),a.finish(r)}},CLt=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&GR(e,t,this.changes,5)}},QB=class{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}draw(e,t){return Iz.replace({widget:new wLt(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}},wLt=class extends Pz{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}},$B=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=tV,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Gz.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1,this.heightOracle=new vLt(e.facet(vB).some(e=>typeof e!=`function`&&e.class==`cm-lineWrapping`)),this.stateDeco=e.facet(yB).filter(e=>typeof e!=`function`),this.heightMap=JB.empty().applyChanges(this.stateDeco,jL.empty,this.heightOracle.setDoc(e.doc),[new TB(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=Iz.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new eV(t,n))}}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?tV:new TLt(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(sz(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(yB).filter(e=>typeof e!=`function`);let r=e.changedRanges,i=TB.extendWithRanges(r,wIt(n,this.stateDeco,e?e.changes:BL.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);SIt(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=a||WB)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=i.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 c=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&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(lLt)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction==`rtl`?Gz.RTL:Gz.LTR;let a=this.heightOracle.mustRefreshForWrapping(i),o=t.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,l=0;if(o.width&&o.height){let{scaleX:e,scaleY:n}=YPt(t,o);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,c|=8,a=s=!0)}let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=u||this.paddingBottom!=d)&&(this.paddingTop=u,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let f=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=f&&(this.scrollAnchorHeight=-1,this.scrollTop=f),this.scrolledToBottom=nFt(e.scrollDOM);let p=(this.printing?EIt:TIt)(t,this.paddingTop),m=p.top-this.pixelViewport.top,h=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;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 _=o.width;if((this.contentDOMWidth!=_||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(a=!0),a||r.lineWrapping&&Math.abs(_-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:o,textHeight:s}=e.docView.measureTextSize();a=n>0&&r.refresh(i,n,o,s,_/o,t),a&&(e.docView.minWidth=0,c|=8)}m>0&&h>0?l=Math.max(m,h):m<0&&h<0&&(l=Math.min(m,h)),SIt();for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(a?JB.empty().applyChanges(this.stateDeco,jL.empty,this.heightOracle,[new TB(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new yLt(n.from,i))}WB&&(c|=2)}let v=!this.viewportIsAppropriate(this.viewport,l)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return v&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(l,this.scrollTarget),c|=this.updateForViewport()),(c&2||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,s=new eV(r.lineAt(a-n*1e3,KB.ByHeight,i,0,0).from,r.lineAt(o+(1-n)*1e3,KB.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,KB.ByPos,i,0,0),o;o=t.y==`center`?(a.top+a.bottom)/2-n/2:t.y==`start`||t.y==`nearest`&&e<s.from?a.top:a.bottom-n,s=new eV(r.lineAt(o-1e3/2,KB.ByHeight,i,0,0).from,r.lineAt(o+n+1e3/2,KB.ByHeight,i,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new eV(this.heightMap.lineAt(n,KB.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,KB.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,KB.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,KB.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:o}=this;return(e==0||r<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||i>=o+Math.max(10,Math.min(n,250)))&&r>a-2*1e3&&i<o+2*1e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)t.touchesRange(r.from,r.to)||n.push(new QB(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,i=r>>1,a=r<<1;if(this.defaultTextDirection!=Gz.LTR&&!n)return[];let o=[],s=(r,a,c,l)=>{if(a-r<i)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<a){s(r,e-10,c,l),s(e+10,a,c,l);return}let f=OIt(e,e=>e.from>=c.from&&e.to<=c.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-a)<i&&!d.some(t=>e.from<t&&e.to>t));if(!f){if(a<c.to&&t&&n&&t.visibleRanges.some(e=>e.from<=a&&e.to>=a)){let e=t.moveToLineBoundary(UL.cursor(a),!1,!0).head;e>r&&(a=e)}let e=this.gapSize(c,r,a,l);f=new QB(r,a,e,n||e<2e6?e:2e6)}o.push(f)},c=t=>{if(t.length<a||t.type!=Fz.Text)return;let i=DIt(t.from,t.to,this.stateDeco);if(i.total<a)return;let o=this.scrollTarget?this.scrollTarget.range.head:null,c,l;if(n){let e=r/this.heightOracle.lineLength*this.heightOracle.lineHeight,n,a;if(o!=null){let r=oz(i,o),s=((this.visibleBottom-this.visibleTop)/2+e)/t.height;n=r-s,a=r+s}else n=(this.visibleTop-t.top-e)/t.height,a=(this.visibleBottom-t.top+e)/t.height;c=az(i,n),l=az(i,a)}else{let n=i.total*this.heightOracle.charWidth,a=r*this.heightOracle.charWidth,s=0;if(n>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=n.size-n.displaySize);let u=this.pixelViewport.left+s,d=this.pixelViewport.right+s,f,p;if(o!=null){let e=oz(i,o),t=((d-u)/2+a)/n;f=e-t,p=e+t}else f=(u-a)/n,p=(d+a)/n;c=az(i,f),l=az(i,p)}c>t.from&&s(t.from,c,t,i),l<t.to&&s(l,t.to,t,i)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(c):c(e);return o}gapSize(e,t,n,r){let i=oz(r,n)-oz(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){QB.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Iz.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=[];gR.spans(e,this.viewport.from,this.viewport.to,{span(e,n){t.push({from:e,to:n})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((e,n)=>e.from!=t[n].from||e.to!=t[n].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||sz(this.heightMap.lineAt(e,KB.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)||sz(this.heightMap.lineAt(this.scaler.fromDOM(e),KB.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 sz(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}},eV=class{constructor(e,t){this.from=e,this.to=t}},tV={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}},TLt=class e{constructor(e,t,n){let r=0,i=0,a=0;this.viewports=n.map(({from:n,to:i})=>{let a=t.lineAt(n,KB.ByPos,e,0,0).top,o=t.lineAt(i,KB.ByPos,e,0,0).bottom;return r+=o-a,{from:n,to:i,top:a,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let e of this.viewports)e.domTop=a+(e.top-i)*this.scale,a=e.domBottom=e.domTop+(e.bottom-e.top),i=e.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}eq(t){return t instanceof e?this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((e,n)=>e.from==t.viewports[n].from&&e.to==t.viewports[n].to):!1}},nV=GL.define({combine:e=>e.join(` `)}),rV=GL.define({combine:e=>e.indexOf(!0)>-1}),iV=ER.newName(),aV=ER.newName(),oV=ER.newName(),sV={"&light":`.`+aV,"&dark":`.`+oV},ELt=cz(`.`+iV,{"&":{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`}},sV),DLt={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},cV=Oz.ie&&Oz.ie_version<=11,OLt=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new rLt,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);(Oz.ie&&Oz.ie_version<=11||Oz.ios&&e.composing)&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(Oz.chrome&&Oz.chrome_version<126)&&(this.editContext=new kLt(e),e.state.facet(pB)&&(e.contentDOM.editContext=this.editContext.editContext)),cV&&(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`)),typeof ResizeObserver==`function`&&(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(),typeof IntersectionObserver==`function`&&(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){(e.type==`change`||!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,n)=>t!=e[n]))){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:n}=this,r=this.selectionRange;if(n.state.facet(pB)?n.root.activeElement!=this.dom:!NR(this.dom,r))return;let i=r.anchorNode&&n.docView.nearest(r.anchorNode);if(i&&i.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Oz.ie&&Oz.ie_version<=11||Oz.android&&Oz.chrome)&&!n.state.selection.main.empty&&r.focusNode&&FR(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=jR(e.root);if(!t)return!1;let n=Oz.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&jIt(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=NR(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&tFt(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),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 n=this.dom;n;)if(n.nodeType==1)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||=this.scrollTargets.slice(0,e),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;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,DLt),cV&&this.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),cV&&this.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){this.delayedAndroidKey||(this.flushingAndroidKey=this.view.win.requestAnimationFrame(()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&VR(this.dom,e.key,e.keyCode))})),(!this.delayedAndroidKey||e==`Enter`)&&(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,n=-1,r=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(r=!0),t==-1?{from:t,to:n}=e:(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&NR(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 i=new pLt(this.view,e,t,n);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}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 n=this.view.state,r=XFt(this.view,t);return this.view.state==n&&(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(e.type==`attributes`),e.type==`attributes`&&(t.flags|=4),e.type==`childList`){let n=kIt(t,e.previousSibling||e.target.previousSibling,-1),r=kIt(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}else if(e.type==`characterData`)return{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue};else return 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(pB)!=e.state.facet(pB)&&(e.view.contentDOM.editContext=e.state.facet(pB)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),(e=this.intersection)==null||e.disconnect(),(t=this.gapIntersection)==null||t.disconnect(),(n=this.resizeScroll)==null||n.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())}},kLt=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:n}=e.state.selection.main,r=this.toEditorPos(t.updateRangeStart),i=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:r,drifted:!1});let a={from:r,to:i,insert:jL.of(t.text.split(`
|
||
`))};if(a.from==this.from&&n<this.from?a.from=n:a.to==this.to&&n>this.to&&(a.to=n),!(a.from==a.to&&!a.insert.length)){if(this.pendingContextChange=a,!e.state.readOnly){let n=this.to-this.from+(a.to-a.from+a.insert.length);tz(e,a,UL.single(this.toEditorPos(t.selectionStart,n),this.toEditorPos(t.selectionEnd,n)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))}},this.handlers.characterboundsupdate=n=>{let r=[],i=null;for(let t=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);t<a;t++){let n=e.coordsForChar(t);i=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||i||new DOMRect,r.push(i)}t.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if(t!=`None`&&r!=`None`){let i=this.toEditorPos(e.rangeStart),a=this.toEditorPos(e.rangeEnd);if(i<a){let e=`text-decoration: underline ${t==`Dashed`?`dashed `:t==`Squiggle`?`wavy `:``}${r==`Thin`?1:2}px`;n.push(Iz.mark({attributes:{style:e}}).range(i,a))}}}e.dispatch({effects:fB.of(Iz.set(n))})},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=jR(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((i,a,o,s,c)=>{if(n)return;let l=c.length-(a-i);if(r&&a>=r.to)if(r.from==i&&r.to==a&&r.insert.eq(c)){r=this.pendingContextChange=null,t+=l,this.to+=l;return}else r=null,this.revertPending(e.state);if(i+=t,a+=t,a<=this.from)this.from+=l,this.to+=l;else if(i<this.to){if(i<this.from||a>this.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(a),c.toString()),this.to+=l}t+=l}),r&&!n&&this.revertPending(e.state),!n}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)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||t)&&this.setSelection(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,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,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>1e4*3)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.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])}},lV=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||$Pt(e.parent)||document,this.viewState=new $B(e.state||pR.create(e)),e.scrollTo&&e.scrollTo.is(dB)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(mB).map(e=>new gB(e));for(let e of this.plugins)e.update(this);this.observer=new OLt(this),this.inputState=new mLt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new DB(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),document.fonts?.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=e.length==1&&e[0]instanceof uR?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw Error(`Calls to EditorView.update are not allowed while an update is in progress`);let t=!1,n=!1,r,i=this.state;for(let t of e){if(t.startState!=i)throw RangeError(`Trying to update state with a transaction that doesn't start from the previous state.`);i=t.state}if(this.destroyed){this.viewState.state=i;return}let a=this.hasFocus,o=0,s=null;e.some(e=>e.annotation(VB))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,s=yIt(i,a),s||(o=1));let c=this.observer.delayedAndroidKey,l=null;if(c?(this.observer.clearDelayedAndroidKey(),l=this.observer.readChange(),(l&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(l=null)):this.observer.clear(),i.facet(pR.phrases)!=this.state.facet(pR.phrases))return this.setState(i);r=EB.create(this,i,e),r.flags|=o;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 uB(e.empty?e:UL.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(dB)&&(u=e.value.clip(this.state))}this.viewState.update(r,u),this.bidiCache=dV.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(wB)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(e=>e.isUserEvent(`select.pointer`)))}finally{this.updateState=0}if(r.startState.facet(nV)!=r.state.facet(nV)&&(this.viewState.mustMeasureContent=!0),(t||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),t&&this.docViewUpdate(),!r.empty)for(let e of this.state.facet(rB))try{e(r)}catch(e){YR(this.state,e,`update listener`)}(s||l)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),l&&!XFt(this,l)&&c.force&&VR(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw Error(`Calls to EditorView.setState are not allowed while an update is in progress`);if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new $B(e),this.plugins=e.facet(mB).map(e=>new gB(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new DB(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(mB),n=e.state.facet(mB);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new gB(i));else{let t=this.plugins[n];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!=n&&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){YR(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){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:i,scrollAnchorHeight:a}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(a<0)if(nFt(n))i=-1,a=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);i=e.from,a=e.top}this.updateState=1;let o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(e>5){console.warn(this.measureRequests.length?`Measure loop restarted more than 5 times`:`Viewport failed to stabilize`);break}let s=[];o&4||([this.measureRequests,s]=[s,this.measureRequests]);let c=s.map(e=>{try{return e.read(this)}catch(e){return YR(this.state,e),uV}}),l=EB.create(this,this.state,[]),u=!1;l.flags|=o,t?t.flags|=o:t=l,this.updateState=2,l.empty||(this.updatePlugins(l),this.inputState.update(l),this.updateAttrs(),u=this.docView.update(l),u&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(c[e]!=uV)try{let t=s[e];t.write&&t.write(c[e],this)}catch(e){YR(this.state,e)}if(u&&this.docView.updateSelection(!0),!l.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,a=-1;continue}else{let e=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-a;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(rB))e(t)}get themeClasses(){return iV+` `+(this.state.facet(rV)?oV:aV)+` `+this.state.facet(nV)}updateAttrs(){let e=MIt(this,_B,{class:`cm-editor`+(this.hasFocus?` cm-focused `:` `)+this.themeClasses}),t={spellcheck:`false`,autocorrect:`off`,autocapitalize:`off`,writingsuggestions:`false`,translate:`no`,contenteditable:this.state.facet(pB)?`true`:`false`,class:`cm-content`,style:`${Oz.tabSize}: ${this.state.tabSize}`,role:`textbox`,"aria-multiline":`true`};this.state.readOnly&&(t[`aria-readonly`]=`true`),MIt(this,vB,t);let n=this.observer.ignore(()=>{let n=WR(this.contentDOM,this.contentAttrs,t),r=WR(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(t){let n=!0;for(let r of t)for(let t of r.effects)if(t.is(e.announce)){n&&(this.announceDOM.textContent=``),n=!1;let e=this.announceDOM.appendChild(document.createElement(`div`));e.textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(wB);let t=this.state.facet(e.cspNonce);ER.mount(this.root,this.styleModules.concat(ELt).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw Error(`Reading the editor layout isn't allowed during an update`);this.updateState==0&&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(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||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,n){return ez(this,e,KFt(this,e,t,n))}moveByGroup(e,t){return ez(this,e,KFt(this,e,t,t=>qFt(this,e.head,t)))}visualLineSide(e,t){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return UL.cursor(i.side(t,r)+e.from,i.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,n=!0){return GFt(this,e,t,n)}moveVertically(e,t,n){return ez(this,e,JFt(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),BFt(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),i=this.bidiSpans(r),a=i[Xz.find(i,e-r.from,-1,t)];return zR(n,a.dir==Gz.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(cB)||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>ALt)return CFt(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||vFt(r.isolates,n=EFt(this,e))))return r.order;n||=EFt(this,e);let r=SFt(e.text,t,n);return this.bidiCache.push(new dV(e.from,e.to,t,n,!0,r)),r}get hasFocus(){return(this.dom.ownerDocument.hasFocus()||Oz.safari&&this.inputState?.lastContextMenu>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{QPt(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?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 dB.of(new uB(typeof e==`number`?UL.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return dB.of(new uB(UL.cursor(n.from),`start`,`start`,n.top-e,t,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e==`boolean`?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return hB.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return hB.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=ER.newName(),r=[nV.of(n),wB.of(cz(`.${n}`,e))];return t&&t.dark&&r.push(rV.of(!0)),r}static baseTheme(e){return XL.lowest(wB.of(cz(`.`+iV,e,sV)))}static findFromDOM(e){let t=e.querySelector(`.cm-content`);return(t&&hz.get(t)||hz.get(e))?.rootView?.view||null}},lV.styleModule=wB,lV.inputHandler=iB,lV.clipboardInputFilter=oB,lV.clipboardOutputFilter=sB,lV.scrollHandler=lB,lV.focusChangeEffect=aB,lV.perLineTextDirection=cB,lV.exceptionSink=nB,lV.updateListener=rB,lV.editable=pB,lV.mouseSelectionStyle=tB,lV.dragMovesSelection=eB,lV.clickAddsSelectionRange=$z,lV.decorations=yB,lV.outerDecorations=bB,lV.atomicRanges=xB,lV.bidiIsolatedRanges=SB,lV.scrollMargins=CB,lV.darkTheme=rV,lV.cspNonce=GL.define({combine:e=>e.length?e[0]:``}),lV.contentAttributes=vB,lV.editorAttributes=_B,lV.lineWrapping=lV.contentAttributes.of({class:`cm-lineWrapping`}),lV.announce=lR.define(),ALt=4096,uV={},dV=class e{constructor(e,t,n,r,i,a){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=i,this.order=a}static update(t,n){if(n.empty&&!t.some(e=>e.fresh))return t;let r=[],i=t.length?t[t.length-1].dir:Gz.LTR;for(let a=Math.max(0,t.length-10);a<t.length;a++){let o=t[a];o.dir==i&&!n.touchesRange(o.from,o.to)&&r.push(new e(n.mapPos(o.from,1),n.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}},jLt=Oz.mac?`mac`:Oz.windows?`win`:Oz.linux?`linux`:`key`,MLt=XL.default(lV.domEventHandlers({keydown(e,t){return IIt(PIt(t.state),e,t,`editor`)}})),fV=GL.define({enables:MLt}),pV=new WeakMap,mV=null,NLt=4e3,hV=null,PLt=!(Oz.ios&&Oz.webkit&&Oz.webkit_version<534),gV={".cm-line":{"& ::selection, &::selection":{backgroundColor:`transparent !important`}},".cm-content":{"& :focus":{caretColor:`initial !important`,"&::selection, & ::selection":{backgroundColor:`Highlight !important`}}}},PLt&&(gV[`.cm-line`].caretColor=gV[`.cm-content`].caretColor=`transparent !important`),_V=class{constructor(e){let{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:a=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,n,i)=>r(i,n,n+e[0].length,e,t);else if(typeof n==`function`)this.addMatch=(e,t,r,i)=>{let a=n(e,t,r);a&&i(r,r+e[0].length,a)};else if(n)this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n);else throw RangeError(`Either 'decorate' or 'decoration' should be provided to MatchDecorator`);this.boundary=i,this.maxLength=a}createDeco(e){let t=new _R,n=t.add.bind(t);for(let{from:t,to:r}of RIt(e,this.maxLength))LIt(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((t,i,a,o)=>{o>e.view.viewport.from&&a<e.view.viewport.to&&(n=Math.min(a,n),r=Math.max(o,r))}),e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let i of e.visibleRanges){let a=Math.max(i.from,n),o=Math.min(i.to,r);if(o>a){let n=e.state.doc.lineAt(a),r=n.to<o?e.state.doc.lineAt(o):n,s=Math.max(i.from,n.from),c=Math.min(i.to,r.to);if(this.boundary){for(;a>n.from;a--)if(this.boundary.test(n.text[a-1-n.from])){s=a;break}for(;o<r.to;o++)if(this.boundary.test(r.text[o-r.from])){c=o;break}}let l=[],u,d=(e,t,n)=>l.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(u=this.regexp.exec(n.text))&&u.index<c-n.from;)this.addMatch(u,e,u.index+n.from,d);else LIt(e.state.doc,this.regexp,s,c,(t,n)=>this.addMatch(n,e,t,d));t=t.update({filterFrom:s,filterTo:c,filter:(e,t)=>e<s||t>c,add:l})}}return t}},vV=/x/.unicode==null?`g`:`gu`,FLt=RegExp(`[\0-\b
|
||
--\u2028\u2029-]`,vV),ILt={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`},yV=null,bV=GL.define({combine(e){let t=wL(e,{render:null,specialChars:FLt,addSpecialChars:null});return(t.replaceTabs=!zIt())&&(t.specialChars=RegExp(` |`+t.specialChars.source,vV)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+`|`+t.addSpecialChars.source,vV)),t}}),LLt=null,RLt=`•`,zLt=class extends Pz{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=HIt(this.code),n=e.state.phrase(`Control character`)+` `+(ILt[this.code]||`0x`+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let i=document.createElement(`span`);return i.textContent=t,i.title=n,i.setAttribute(`aria-label`,n),i.className=`cm-specialChar`,i}ignoreEvent(){return!1}},BLt=class extends Pz{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement(`span`);return e.textContent=` `,e.className=`cm-tab`,e.style.width=this.width+`px`,e}ignoreEvent(){return!1}},VLt=class extends Pz{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement(`span`);return t.className=`cm-placeholder`,t.style.pointerEvents=`none`,t.appendChild(typeof this.content==`string`?document.createTextNode(this.content):typeof this.content==`function`?this.content(e):this.content.cloneNode(!0)),typeof this.content==`string`?t.setAttribute(`aria-label`,`placeholder `+this.content):t.setAttribute(`aria-hidden`,`true`),t}coordsAt(e){let t=e.firstChild?PR(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=zR(t[0],n.direction!=`rtl`),i=parseInt(n.lineHeight);return r.bottom-r.top>i*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+i}:r}ignoreEvent(){return!1}},xV=`-10000px`,SV=class{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let i=null;this.tooltipViews=this.tooltips.map(e=>i=n(e,i))}update(e,t){var n;let r=e.state.facet(this.facet),i=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let a=[],o=t?[]:null;for(let n=0;n<i.length;n++){let r=i[n],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)a[n]=this.createTooltipView(r,n?a[n-1]:null),o&&(o[n]=!!r.above);else{let r=a[n]=this.tooltipViews[s];o&&(o[n]=t[s]),r.update&&r.update(e)}}}for(let e of this.tooltipViews)a.indexOf(e)<0&&(this.removeTooltipView(e),(n=e.destroy)==null||n.call(e));return t&&(o.forEach((e,n)=>t[n]=e),t.length=o.length),this.input=r,this.tooltips=i,this.tooltipViews=a,!0}},CV=GL.define({combine:e=>({position:Oz.ios?`absolute`:e.find(e=>e.position)?.position||`fixed`,parent:e.find(e=>e.parent)?.parent||null,tooltipSpace:e.find(e=>e.tooltipSpace)?.tooltipSpace||WIt})}),wV=new WeakMap,TV=hB.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(CV);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=typeof ResizeObserver==`function`?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new SV(e,EV,(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=typeof IntersectionObserver==`function`?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 n=t||e.geometryChanged,r=e.state.facet(CV);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!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);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add(`cm-tooltip`),e.arrow&&!n.dom.querySelector(`.cm-tooltip > .cm-tooltip-arrow`)){let e=document.createElement(`div`);e.className=`cm-tooltip-arrow`,n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=xV,n.dom.style.left=`0px`,this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener(`resize`,this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(e=t.destroy)==null||e.call(t);this.parent&&this.container.remove(),(t=this.resizeObserver)==null||t.disconnect(),(n=this.intersectionObserver)==null||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if(this.position==`fixed`&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(Oz.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==xV&&e.style.left==`0px`){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(n||this.position==`absolute`)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else ({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),i=XR(this.view);return{visible:{left:r.left+i.left,top:r.top+i.top,right:r.right-i.right,bottom:r.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(CV).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}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:n,scaleX:r,scaleY:i}=e,a=[];for(let o=0;o<this.manager.tooltips.length;o++){let s=this.manager.tooltips[o],c=this.manager.tooltipViews[o],{dom:l}=c,u=e.pos[o],d=e.size[o];if(!u||s.clip!==!1&&(u.bottom<=Math.max(t.top,n.top)||u.top>=Math.min(t.bottom,n.bottom)||u.right<Math.max(t.left,n.left)-.1||u.left>Math.min(t.right,n.right)+.1)){l.style.top=xV;continue}let f=s.arrow?c.dom.querySelector(`.cm-tooltip-arrow`):null,p=f?7:0,m=d.right-d.left,h=wV.get(c)??d.bottom-d.top,g=c.offset||ULt,_=this.view.textDirection==Gz.LTR,v=d.width>n.right-n.left?_?n.left:n.right-d.width:_?Math.max(n.left,Math.min(u.left-(f?14:0)+g.x,n.right-m)):Math.min(Math.max(n.left,u.left-m+(f?14:0)-g.x),n.right-m),y=this.above[o];!s.strictSide&&(y?u.top-h-p-g.y<n.top:u.bottom+h+p+g.y>n.bottom)&&y==n.bottom-u.bottom>u.top-n.top&&(y=this.above[o]=!y);let b=(y?u.top-n.top:n.bottom-u.bottom)-p;if(b<h&&c.resize!==!1){if(b<this.view.defaultLineHeight){l.style.top=xV;continue}wV.set(c,h),l.style.height=(h=b)/i+`px`}else l.style.height&&(l.style.height=``);let x=y?u.top-h-p-g.y:u.bottom+p+g.y,ee=v+m;if(c.overlap!==!0)for(let e of a)e.left<ee&&e.right>v&&e.top<x+h&&e.bottom>x&&(x=y?e.top-h-2-p:e.bottom+p+2);if(this.position==`absolute`?(l.style.top=(x-e.parent.top)/i+`px`,GIt(l,(v-e.parent.left)/r)):(l.style.top=x/i+`px`,GIt(l,v/r)),f){let e=u.left+(_?g.x:-g.x)-(v+14-7);f.style.left=e/r+`px`}c.overlap!==!0&&a.push({left:v,top:x,right:ee,bottom:x+h}),l.classList.toggle(`cm-tooltip-above`,y),l.classList.toggle(`cm-tooltip-below`,!y),c.positioned&&c.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=xV}},{eventObservers:{scroll(){this.maybeMeasure()}}}),HLt=lV.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`}}}),ULt={x:0,y:0},EV=GL.define({enables:[TV,HLt]}),DV=GL.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])}),OV=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 SV(e,DV,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add(`cm-tooltip-section`),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}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)(e=t.destroy)==null||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(r!==void 0){if(t===void 0)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`)}},WLt=EV.compute([DV],e=>{let t=e.facet(DV);return t.length===0?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>e.end??e.pos)),create:OV.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),GLt=class{constructor(e,t,n,r,i){this.view=e,this.source=t,this.field=n,this.setHover=r,this.hoverTime=i,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,n=e.docView.nearest(t.target);if(!n)return;let r,i=1;if(n instanceof jz)r=n.posAtStart;else{if(r=e.posAtCoords(t),r==null)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let a=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),o=a&&a.dir==Gz.RTL?-1:1;i=t.x<n.left?-o:o}let a=this.source(e,r,i);if(a?.then){let t=this.pending={pos:r};a.then(n=>{this.pending==t&&(this.pending=null,n&&!(Array.isArray(n)&&!n.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])}))},t=>YR(e.state,t,`hover tooltip`))}else a&&!(Array.isArray(a)&&!a.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(a)?a:[a])})}get tooltip(){let e=this.view.plugin(TV),t=e?e.manager.tooltips.findIndex(e=>e.create==OV.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:n}=this;if(t.length&&n&&!KIt(n.dom,e)||this.pending){let{pos:n}=t[0]||this.pending,r=t[0]?.end??n;(n==r?this.view.posAtCoords(this.lastMove)!=n:!qIt(this.view,n,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=n=>{e.removeEventListener(`mouseleave`,t),this.active.length&&!this.view.dom.contains(n.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)}},kV=4,KLt=lR.define(),AV=GL.define({combine(e){let t,n;for(let r of e)t||=r.topContainer,n||=r.bottomContainer;return{topContainer:t,bottomContainer:n}}}),qLt=hB.fromClass(class{constructor(e){this.input=e.state.facet(MV),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(AV);this.top=new jV(e,!0,t.topContainer),this.bottom=new jV(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(AV);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new jV(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new jV(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(MV);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],a=[],o=[];for(let n of t){let t=this.specs.indexOf(n),s;t<0?(s=n(e.view),o.push(s)):(s=this.panels[t],s.update&&s.update(e)),r.push(s),(s.top?i:a).push(s)}this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(a);for(let e of o)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=>lV.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})}),jV=class{constructor(e,t,n){this.view=e,this.top=t,this.container=n,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(this.panels.length==0){this.dom&&=(this.dom.remove(),void 0);return}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=XIt(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=XIt(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)}}},MV=GL.define({enables:qLt}),NV=class extends mR{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}},NV.prototype.elementClass=``,NV.prototype.toDOM=void 0,NV.prototype.mapMode=RL.TrackBefore,NV.prototype.startSide=NV.prototype.endSide=-1,NV.prototype.point=!0,PV=GL.define(),JLt=GL.define(),YLt={class:``,renderEmptyElements:!1,elementStyle:``,markers:()=>gR.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},FV=GL.define(),IV=GL.define({combine:e=>e.some(e=>e)}),XLt=hB.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(FV).map(t=>new LV(e,t));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(IV),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,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+`px`),this.view.state.facet(IV)!=!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 n=gR.iter(this.view.state.facet(PV),this.view.viewport.from),r=[],i=this.gutters.map(e=>new ZLt(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 a of e.type)if(a.type==Fz.Text&&t){uz(n,r,a.from);for(let e of i)e.line(this.view,a,r);t=!1}else if(a.widget)for(let e of i)e.widget(this.view,a)}else if(e.type==Fz.Text){uz(n,r,e.from);for(let t of i)t.line(this.view,e,r)}else if(e.widget)for(let t of i)t.widget(this.view,e);for(let e of i)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(FV),n=e.state.facet(FV),r=e.docChanged||e.heightChanged||e.viewportChanged||!gR.eq(e.startState.facet(PV),e.state.facet(PV),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=t.indexOf(r);n<0?i.push(new LV(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),i.indexOf(e)<0&&e.destroy();for(let e of i)this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>lV.scrollMargins.of(t=>{let n=t.plugin(e);return!n||n.gutters.length==0||!n.fixed?null:t.textDirection==Gz.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}})}),ZLt=class{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=gR.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,i=(t.top-this.height)/e.scaleY,a=t.height/e.scaleY;if(this.i==r.elements.length){let t=new RV(e,a,i,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,a,i,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];uz(this.cursor,r,t.from),n.length&&(r=r.concat(n));let i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);let a=this.gutter;r.length==0&&!a.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let n of e.state.facet(JLt)){let i=n(e,t.widget,t);i&&(r||=[]).push(i)}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()}}},LV=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 n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let i=r.target,a;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect();a=(e.top+e.bottom)/2}else a=r.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[n](e,o,r)&&r.preventDefault()});this.markers=$It(t.markers(e)),t.initialSpacer&&(this.spacer=new RV(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=$It(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 n=e.view.viewport;return!gR.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},RV=class{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement(`div`),this.dom.className=`cm-gutterElement`,this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+`px`),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+`px`:``),eLt(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n=`cm-gutterElement`,r=this.dom.firstChild;for(let i=0,a=0;;){let o=a,s=i<t.length?t[i++]:null,c=!1;if(s){let e=s.elementClass;e&&(n+=` `+e);for(let e=a;e<this.markers.length;e++)if(this.markers[e].compare(s)){o=e,c=!0;break}}else o=this.markers.length;for(;a<o;){let e=this.markers[a++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(c?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),c&&a++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}},QLt=GL.define(),$Lt=GL.define(),zV=GL.define({combine(e){return wL(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],i=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||i(e,t,n):i}return n}})}}),BV=class extends NV{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}},eRt=FV.compute([zV],e=>({class:`cm-lineNumbers`,renderEmptyElements:!1,markers(e){return e.state.facet(QLt)},lineMarker(e,t,n){return n.some(e=>e.toDOM)?null:new BV(dz(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let r of e.state.facet($Lt)){let i=r(e,t,n);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(zV)!=e.state.facet(zV),initialSpacer(e){return new BV(dz(e,nLt(e.state.doc.lines)))},updateSpacer(e,t){let n=dz(t.view,nLt(t.view.state.doc.lines));return n==e.number?e:new BV(n)},domEventHandlers:e.facet(zV).domEventHandlers}))}));function tRt(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function HV(e,t,n,r){for(;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof iH&&e.index<0?null:e.parent;if(!t)return e;e=t}let i=r?0:eH.IgnoreOverlays;if(r)for(let r=e,a=r.parent;a;r=a,a=r.parent)r instanceof iH&&r.index<0&&a.enter(t,n,i)?.from!=r.from&&(e=a);for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}function nRt(e,t,n,r){let i=e.cursor(),a=[];if(!i.firstChild())return a;if(n!=null){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return a}for(;;){if(r!=null&&i.type.is(r))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return r==null?a:[]}}function UV(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}function rRt(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let i=e[r];(i.from>n.from||i.to<n.to)&&(n=i,t=r)}let r=n instanceof iH&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new yRt(i,n)}function iRt(e,t,n){let r=e.resolveInner(t,n),i=null;for(let e=r instanceof iH?r:r.context.parent;e;e=e.parent)if(e.index<0){let a=e.parent;(i||=[r]).push(a.resolve(t,n)),e=a}else{let a=XV.get(e.tree);if(a&&a.overlay&&a.overlay[0].from<=t&&a.overlay[a.overlay.length-1].to>=t){let o=new iH(a.tree,a.overlay[0].from+e.from,-1,e);(i||=[r]).push(HV(o,t,n,!1))}}return i?rRt(i):r}function WV(e){return e.children.some(e=>e instanceof nH||!e.type.isAnonymous||WV(e))}function aRt(e){let{buffer:t,nodeSet:n,maxBufferLength:r=qV,reused:i=[],minRepeatType:a=n.types.length}=e,o=Array.isArray(t)?new _Rt(t,t.length):t,s=n.types,c=0,l=0;function u(e,t,_,v,y,b){let{id:x,start:ee,end:S,size:C}=o,te=l,ne=c;for(;C<0;)if(o.next(),C==-1){let t=i[x];_.push(t),v.push(ee-e);return}else if(C==-3){c=x;return}else if(C==-4){l=x;return}else throw RangeError(`Unrecognized record size: ${C}`);let re=s[x],w,ie,ae=ee-e;if(S-ee<=r&&(ie=h(o.pos-t,y))){let t=new Uint16Array(ie.size-ie.skip),r=o.pos-ie.size,i=t.length;for(;o.pos>r;)i=g(ie.start,t,i);w=new nH(t,S-ie.start,n),ae=ie.start-e}else{let e=o.pos-C;o.next();let t=[],n=[],i=x>=a?x:-1,s=0,c=S;for(;o.pos>e;)i>=0&&o.id==i&&o.size>=0?(o.end<=c-r&&(p(t,n,ee,s,o.end,c,i,te,ne),s=t.length,c=o.end),o.next()):b>2500?d(ee,e,t,n):u(ee,e,t,n,i,b+1);if(i>=0&&s>0&&s<t.length&&p(t,n,ee,s,ee,c,i,te,ne),t.reverse(),n.reverse(),i>-1&&s>0){let e=f(re,ne);w=KV(re,t,n,0,t.length,0,S-ee,e,e)}else w=m(re,t,n,S-ee,te-S,ne)}_.push(w),v.push(ae)}function d(e,t,i,a){let s=[],c=0,l=-1;for(;o.pos>t;){let{id:e,start:t,end:n,size:i}=o;if(i>4)o.next();else if(l>-1&&t<l)break;else l<0&&(l=n-r),s.push(e,t,n),c++,o.next()}if(c){let t=new Uint16Array(c*4),r=s[s.length-2];for(let e=s.length-3,n=0;e>=0;e-=3)t[n++]=s[e],t[n++]=s[e+1]-r,t[n++]=s[e+2]-r,t[n++]=n;i.push(new nH(t,s[2]-r,n)),a.push(r-e)}}function f(e,t){return(n,r,i)=>{let a=0,o=n.length-1,s,c;if(o>=0&&(s=n[o])instanceof tH){if(!o&&s.type==e&&s.length==i)return s;(c=s.prop(YV.lookAhead))&&(a=r[o]+s.length+c)}return m(e,n,r,i,a,t)}}function p(e,t,r,i,a,o,s,c,l){let u=[],d=[];for(;e.length>i;)u.push(e.pop()),d.push(t.pop()+r-a);e.push(m(n.types[s],u,d,o-a,c-o,l)),t.push(a-r)}function m(e,t,n,r,i,a,o){if(a){let e=[YV.contextHash,a];o=o?[e].concat(o):[e]}if(i>25){let e=[YV.lookAhead,i];o=o?[e].concat(o):[e]}return new tH(e,t,n,r,o)}function h(e,t){let n=o.fork(),i=0,s=0,c=0,l=n.end-r,u={size:0,start:0,skip:0};scan:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){u.size=i,u.start=s,u.skip=c,c+=4,i+=4,n.next();continue}let o=n.pos-e;if(e<0||o<r||n.start<l)break;let d=n.id>=a?4:0,f=n.start;for(n.next();n.pos>o;){if(n.size<0)if(n.size==-3)d+=4;else break scan;else n.id>=a&&(d+=4);n.next()}s=f,i+=e,c+=d}return(t<0||i==e)&&(u.size=i,u.start=s,u.skip=c),u.size>4?u:void 0}function g(e,t,n){let{id:r,start:i,end:s,size:u}=o;if(o.next(),u>=0&&r<a){let a=n;if(u>4){let r=o.pos-(u-4);for(;o.pos>r;)n=g(e,t,n)}t[--n]=a,t[--n]=s-e,t[--n]=i-e,t[--n]=r}else u==-3?c=r:u==-4&&(l=r);return n}let _=[],v=[];for(;o.pos>0;)u(e.start||0,e.bufferStart||0,_,v,-1,0);let y=e.length??(_.length?v[0]+_[0].length:0);return new tH(s[e.topID],_.reverse(),v.reverse(),y)}function GV(e,t){if(!e.isAnonymous||t instanceof nH||t.type!=e)return 1;let n=sH.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof tH)){n=1;break}n+=GV(e,r)}sH.set(t,n)}return n}function KV(e,t,n,r,i,a,o,s,c){let l=0;for(let n=r;n<i;n++)l+=GV(e,t[n]);let u=Math.ceil(l*1.5/8),d=[],f=[];function p(t,n,r,i,o){for(let s=r;s<i;){let r=s,l=n[s],m=GV(e,t[s]);for(s++;s<i;s++){let n=GV(e,t[s]);if(m+n>=u)break;m+=n}if(s==r+1){if(m>u){let e=t[r];p(e.children,e.positions,0,e.children.length,n[r]+o);continue}d.push(t[r])}else{let i=n[s-1]+t[s-1].length-l;d.push(KV(e,t,n,r,s,l,i,null,c))}f.push(l+o-a)}}return p(t,n,r,i,0),(s||c)(d,f,o)}function oRt(e){return(t,n,r,i)=>new SRt(t,e,n,r,i)}function sRt(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError(`Invalid inner parse ranges given: `+JSON.stringify(e))}function cRt(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function lRt(e,t,n,r,i,a){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),i.push(o-a)}}function uRt(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let i=e.tree,a=i.children.indexOf(r),o=i.children[a],s=o.buffer,c=[a];function l(e,r,i,a,u,d){let f=n[d],p=[],m=[];lRt(o,e,f,p,m,a);let h=s[f+1],g=s[f+2];c.push(p.length);let _=d?l(f+4,s[f+3],o.set.types[s[f]],h,g-h,d-1):t.toTree();return p.push(_),m.push(h-a),lRt(o,s[f+3],r,p,m,a),new tH(i,p,m,u)}i.children[a]=l(0,s.length,ZV.none,0,o.length,n.length-1);for(let t of c){let n=e.tree.children[t],r=e.tree.positions[t];e.yield(new iH(n,r+e.from,t,e._tree))}}function dRt(e,t){let n=null,r=t;for(let i=1,a=0;i<e.length;i++){let o=e[i-1].to,s=e[i].from;for(;a<r.length;a++){let e=r[a];if(e.from>=s)break;e.to<=o||(n||(r=n=t.slice()),e.from<o?(n[a]=new JV(e.from,o),e.to>s&&n.splice(a+1,0,new JV(s,e.to))):e.to>s?n[a--]=new JV(s,e.to):n.splice(a--,1))}}return r}function fRt(e,t,n,r){let i=0,a=0,o=!1,s=!1,c=-1e9,l=[];for(;;){let u=i==e.length?1e9:o?e[i].to:e[i].from,d=a==t.length?1e9:s?t[a].to:t[a].from;if(o!=s){let e=Math.max(c,n),t=Math.min(u,d,r);e<t&&l.push(new JV(e,t))}if(c=Math.min(u,d),c==1e9)break;u==c&&(o?(o=!1,i++):o=!0),d==c&&(s?(s=!1,a++):s=!0)}return l}function pRt(e,t){let n=[];for(let{pos:r,mount:i,frag:a}of e){let e=r+(i.overlay?i.overlay[0].from:0),o=e+i.tree.length,s=Math.max(a.from,e),c=Math.min(a.to,o);if(i.overlay){let o=fRt(t,i.overlay.map(e=>new JV(e.from+r,e.to+r)),s,c);for(let t=0,r=s;;t++){let s=t==o.length,l=s?c:o[t].from;if(l>r&&n.push(new lH(r,l,i.tree,-e,a.from>=r||a.openStart,a.to<=l||a.openEnd)),s)break;r=o[t].to}}else n.push(new lH(s,c,i.tree,-e,a.from>=e||a.openStart,a.to<=o||a.openEnd))}return n}var qV,mRt,JV,YV,XV,hRt,ZV,gRt,QV,$V,eH,tH,_Rt,nH,rH,iH,vRt,aH,yRt,oH,sH,cH,lH,uH,bRt,dH,xRt,fH,SRt,pH,CRt,mH=c((()=>{qV=1024,mRt=0,JV=class{constructor(e,t){this.from=e,this.to=t}},YV=class{constructor(e={}){this.id=mRt++,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 typeof e!=`function`&&(e=ZV.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}},YV.closedBy=new YV({deserialize:e=>e.split(` `)}),YV.openedBy=new YV({deserialize:e=>e.split(` `)}),YV.group=new YV({deserialize:e=>e.split(` `)}),YV.isolate=new YV({deserialize:e=>{if(e&&e!=`rtl`&&e!=`ltr`&&e!=`auto`)throw RangeError(`Invalid value for isolate: `+e);return e||`auto`}}),YV.contextHash=new YV({perNode:!0}),YV.lookAhead=new YV({perNode:!0}),YV.mounted=new YV({perNode:!0}),XV=class{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[YV.mounted.id]}},hRt=Object.create(null),ZV=class e{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(t){let n=t.props&&t.props.length?Object.create(null):hRt,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new e(t.name||``,n,t.id,r);if(t.props){for(let e of t.props)if(Array.isArray(e)||(e=e(i)),e){if(e[0].perNode)throw RangeError(`Can't store a per-node prop on a node type`);n[e[0].id]=e[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e==`string`){if(this.name==e)return!0;let t=this.prop(YV.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(` `))t[r]=e[n];return e=>{for(let n=e.prop(YV.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}},ZV.none=new ZV(``,Object.create(null),0,8),gRt=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 n=[];for(let e of this.types){let r=null;for(let n of t){let t=n(e);t&&(r||=Object.assign({},e.props),r[t[0].id]=t[1])}n.push(r?new ZV(e.name,r,e.id,e.flags):e)}return new e(n)}},QV=new WeakMap,$V=new WeakMap,(function(e){e[e.ExcludeBuffers=1]=`ExcludeBuffers`,e[e.IncludeAnonymous=2]=`IncludeAnonymous`,e[e.IgnoreMounts=4]=`IgnoreMounts`,e[e.IgnoreOverlays=8]=`IgnoreOverlays`})(eH||={}),tH=class e{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props[typeof e==`number`?e:e.id]=t}}toString(){let e=XV.get(this);if(e&&!e.overlay)return e.tree.toString();let t=``;for(let e of this.children){let n=e.toString();n&&(t&&(t+=`,`),t+=n)}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 oH(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new oH(QV.get(this)||this.topNode);return r.moveTo(e,t),QV.set(this,r._tree),r}get topNode(){return new iH(this,0,0,null)}resolve(e,t=0){let n=HV(QV.get(this)||this.topNode,e,t,!1);return QV.set(this,n),n}resolveInner(e,t=0){let n=HV($V.get(this)||this.topNode,e,t,!0);return $V.set(this,n),n}resolveStack(e,t=0){return iRt(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:i=this.length}=e,a=e.mode||0,o=(a&eH.IncludeAnonymous)>0;for(let e=this.cursor(a|eH.IncludeAnonymous);;){let a=!1;if(e.from<=i&&e.to>=r&&(!o&&e.type.isAnonymous||t(e)!==!1)){if(e.firstChild())continue;a=!0}for(;a&&n&&(o||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;a=!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:KV(ZV.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,r)=>new e(this.type,t,n,r,this.propValues),t.makeTree||((t,n,r)=>new e(ZV.none,t,n,r)))}static build(e){return aRt(e)}},tH.empty=new tH(ZV.none,[],[],0),_Rt=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)}},nH=class e{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ZV.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],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),e+=4,n==e)return i;let a=[];for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3];return i+`(`+a.join(`,`)+`)`}findChild(e,t,n,r,i){let{buffer:a}=this,o=-1;for(let s=e;s!=t&&!(tRt(i,r,a[s+1],a[s+2])&&(o=s,n>0));s=a[s+3]);return o}slice(t,n,r){let i=this.buffer,a=new Uint16Array(n-t),o=0;for(let e=t,s=0;e<n;){a[s++]=i[e++],a[s++]=i[e++]-r;let n=a[s++]=i[e++]-r;a[s++]=i[e++]-t,o=Math.max(o,n)}return new e(a,o,this.set)}},rH=class{cursor(e=0){return new oH(this,e)}getChild(e,t=null,n=null){let r=nRt(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return nRt(this,e,t,n)}resolve(e,t=0){return HV(this,e,t,!1)}resolveInner(e,t=0){return HV(this,e,t,!0)}matchContext(e){return UV(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}},iH=class e extends rH{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,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,n,r,i,a=0){for(let o=this;;){for(let{children:s,positions:c}=o._tree,l=n>0?s.length:-1;t!=l;t+=n){let l=s[t],u=c[t]+o.from;if(tRt(i,r,u,u+l.length)){if(l instanceof nH){if(a&eH.ExcludeBuffers)continue;let e=l.findChild(0,l.buffer.length,n,r-u,i);if(e>-1)return new aH(new vRt(o,l,t,u),null,e)}else if(a&eH.IncludeAnonymous||!l.type.isAnonymous||WV(l)){let s;if(!(a&eH.IgnoreMounts)&&(s=XV.get(l))&&!s.overlay)return new e(s.tree,u,t,o);let c=new e(l,u,t,o);return a&eH.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,i)}}}if(a&eH.IncludeAnonymous||!o.type.isAnonymous||(t=o.index>=0?o.index+n:n<0?-1:o._parent._tree.children.length,o=o._parent,!o))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,n,r=0){let i;if(!(r&eH.IgnoreOverlays)&&(i=XV.get(this._tree))&&i.overlay){let r=t-this.from;for(let{from:t,to:a}of i.overlay)if((n>0?t<=r:t<r)&&(n<0?a>=r:a>r))return new e(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,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()}},vRt=class{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}},aH=class e extends rH{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,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(t,n,r){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return a<0?null:new e(this.context,this,a)}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,n,r=0){if(r&eH.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return a<0?null:new e(this.context,this,a)}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,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let a=n.buffer[this.index+1];e.push(n.slice(r,i,a)),t.push(0)}return new tH(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}},yRt=class{constructor(e,t){this.heads=e,this.node=t}get next(){return rRt(this.heads)}},oH=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 iH)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):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof iH?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}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,n=this.mode){return this.buffer?n&eH.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&eH.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&eH.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)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+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<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{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:n}=r)}else ({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&eH.IncludeAnonymous||e instanceof nH||!e.type.isAnonymous||WV(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,n=0;if(e&&e.context==this.buffer)scan:for(let r=this.index,i=this.stack.length;i>=0;){for(let a=e;a;a=a._parent)if(a.index==r){if(r==this.index)return a;t=a,n=i+1;break scan}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new aH(this.buffer,t,this.stack[e]);return this.bufferNode=new aH(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return UV(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return UV(this._tree,e,r);let a=n[t.buffer[this.stack[i]]];if(!a.isAnonymous){if(e[r]&&e[r]!=a.name)return!1;r--}}return!0}},sH=new WeakMap,cH=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof aH?this.setBuffer(e.context.buffer,e.index,t):e instanceof iH&&this.map.set(e.tree,t)}get(e){return e instanceof aH?this.getBuffer(e.context.buffer,e.index):e instanceof iH?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)}},lH=class e{constructor(e,t,n,r,i=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(i?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let i=[new e(0,t.length,t,0,!1,r)];for(let e of n)e.to>t.length&&i.push(e);return i}static applyChanges(t,n,r=128){if(!n.length)return t;let i=[],a=1,o=t.length?t[0]:null;for(let s=0,c=0,l=0;;s++){let u=s<n.length?n[s]:null,d=u?u.fromA:1e9;if(d-c>=r)for(;o&&o.from<d;){let n=o;if(c>=n.from||d<=n.to||l){let t=Math.max(n.from,c)-l,r=Math.min(n.to,d)-l;n=t>=r?null:new e(t,r,n.tree,n.offset+l,s>0,!!u)}if(n&&i.push(n),o.to>d)break;o=a<t.length?t[a++]:null}if(!u)break;c=u.toA,l=u.toA-u.toB}return i}},uH=class{startParse(e,t,n){return typeof e==`string`&&(e=new bRt(e)),n=n?n.length?n.map(e=>new JV(e.from,e.to)):[new JV(0,0)]:[new JV(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},bRt=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)}},dH=class{constructor(e,t,n,r,i){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=i}},xRt=class{constructor(e,t,n,r,i,a,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}},fH=new YV({perNode:!0}),SRt=class{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,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(),this.stoppedAt!=null)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return this.stoppedAt!=null&&(e=new tH(e.type,e.children,e.positions,e.length,e.propValues.concat([[fH,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[YV.mounted.id]=new XV(t,e.overlay,e.parser),e.target.props=n}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 CRt(this.fragments),t=null,n=null,r=new oH(new iH(this.baseTree,this.ranges[0].from,0,null),eH.IncludeAnonymous|eH.IgnoreMounts);scan:for(let i,a;;){let o=!0,s;if(this.stoppedAt!=null&&r.from>=this.stoppedAt)o=!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 n of e.mount.overlay){let i=n.from+e.pos,a=n.to+e.pos;i>=r.from&&a<=r.to&&!t.ranges.some(e=>e.from<a&&e.to>i)&&t.ranges.push({from:i,to:a})}}o=!1}else if(n&&(a=cRt(n.ranges,r.from,r.to)))o=a!=2;else if(!r.type.isAnonymous&&(i=this.nest(r,this.input))&&(r.from<r.to||!i.overlay)){r.tree||uRt(r);let a=e.findMounts(r.from,i.parser);if(typeof i.overlay==`function`)t=new xRt(i.parser,i.overlay,a,this.inner.length,r.from,r.tree,t);else{let e=dRt(this.ranges,i.overlay||(r.from<r.to?[new JV(r.from,r.to)]:[]));e.length&&sRt(e),(e.length||!i.overlay)&&this.inner.push(new dH(i.parser,e.length?i.parser.startParse(this.input,pRt(a,e),e):i.parser.startParse(``),i.overlay?i.overlay.map(e=>new JV(e.from-r.from,e.to-r.from)):null,r.tree,e.length?e[0].from:r.from)),i.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):o=!1}}else if(t&&(s=t.predicate(r))&&(s===!0&&(s=new JV(r.from,r.to)),s.from<s.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==s.from?t.ranges[e]={from:t.ranges[e].from,to:s.to}:t.ranges.push(s)}if(o&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break scan;if(t&&!--t.depth){let e=dRt(this.ranges,t.ranges);e.length&&(sRt(e),this.inner.splice(t.index,0,new dH(t.parser,t.parser.startParse(this.input,pRt(t.mounts,e),e),t.ranges.map(e=>new JV(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}},pH=class{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(eH.IncludeAnonymous|eH.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,eH.IgnoreOverlays|eH.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&&t.positions[0]==0&&t.children[0]instanceof tH)t=t.children[0];else break}return!1}},CRt=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(fH)??t.to,this.inner=new pH(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(fH)??e.to,this.inner=new pH(e.tree,-e.offset)}}findMounts(e,t){let n=[];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(YV.mounted);if(r&&r.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let i=this.fragments[t];if(i.from>=e.to)break;i.tree==this.curFrag.tree&&n.push({frag:i,pos:e.from-i.offset,mount:r})}}}return n}}}));function wRt(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}function TRt(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}function hH(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of n.split(` `))if(e){let n=[],i=2,a=e;for(let t=0;;){if(a==`...`&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!r)throw RangeError(`Invalid path: `+e);if(n.push(r[0]==`*`?``:r[0][0]==`"`?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&o==`!`){i=0;break}if(o!=`/`)throw RangeError(`Invalid path: `+e);a=e.slice(t)}let o=n.length-1,s=n[o];if(!s)throw RangeError(`Invalid path: `+e);t[s]=new yH(r,i,o>0?n.slice(0,o):null).sort(t[s])}}return vH.add(t)}function ERt(e,t){let n=Object.create(null);for(let t of e)if(!Array.isArray(t.tag))n[t.tag.id]=t.class;else for(let e of t.tag)n[e.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+` `+r:r;break}}return t},scope:r}}function DRt(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+` `+e:e)}return n}function ORt(e,t,n,r=0,i=e.length){let a=new MRt(r,Array.isArray(t)?t:[t],n);a.highlightRange(e.cursor(),r,i,``,a.highlighters),a.flush(i)}function kRt(e){let t=e.type.prop(vH);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}var ARt,gH,jRt,_H,vH,yH,MRt,bH,xH,SH,CH,wH,TH,EH,DH,OH,kH,AH,jH,MH,NH,PH,X,FH=c((()=>{mH(),ARt=0,gH=class e{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=ARt++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(t,n){let r=typeof t==`string`?t:`?`;if(t instanceof e&&(n=t),n?.base)throw Error(`Can not derive from a modified tag`);let i=new e(r,[],null,[]);if(i.set.push(i),n)for(let e of n.set)i.set.push(e);return i}static defineModifier(e){let t=new _H(e);return e=>e.modified.indexOf(t)>-1?e:_H.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}},jRt=0,_H=class e{constructor(e){this.name=e,this.instances=[],this.id=jRt++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(e=>e.base==t&&wRt(n,e.modified));if(r)return r;let i=[],a=new gH(t.name,i,t,n);for(let e of n)e.instances.push(a);let o=TRt(n);for(let n of t.set)if(!n.modified.length)for(let t of o)i.push(e.get(n,t));return a}},vH=new YV,yH=class{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}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}},yH.empty=new yH([],2,null),MRt=class{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,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,n,r,i){let{type:a,from:o,to:s}=e;if(o>=n||s<=t)return;a.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(a)));let c=r,l=kRt(e)||yH.empty,u=DRt(i,l.tags);if(u&&(c&&(c+=` `),c+=u,l.mode==1&&(r+=(r?` `:``)+u)),this.startSpan(Math.max(t,o),c),l.opaque)return;let d=e.tree&&e.tree.prop(YV.mounted);if(d&&d.overlay){let a=e.node.enter(d.overlay[0].from+o,1),l=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let f=0,p=o;;f++){let m=f<d.overlay.length?d.overlay[f]:null,h=m?m.from+o:s,g=Math.max(t,p),_=Math.min(n,h);if(g<_&&u)for(;e.from<_&&(this.highlightRange(e,g,_,r,i),this.startSpan(Math.min(_,e.to),c),!(e.to>=h||!e.nextSibling())););if(!m||h>n)break;p=m.to+o,p>t&&(this.highlightRange(a.cursor(),Math.max(t,m.from+o),Math.min(n,p),``,l),this.startSpan(Math.min(n,p),c))}u&&e.parent()}else if(e.firstChild()){d&&(r=``);do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}},bH=gH.define,xH=bH(),SH=bH(),CH=bH(SH),wH=bH(SH),TH=bH(),EH=bH(TH),DH=bH(TH),OH=bH(),kH=bH(OH),AH=bH(),jH=bH(),MH=bH(),NH=bH(MH),PH=bH(),X={comment:xH,lineComment:bH(xH),blockComment:bH(xH),docComment:bH(xH),name:SH,variableName:bH(SH),typeName:CH,tagName:bH(CH),propertyName:wH,attributeName:bH(wH),className:bH(SH),labelName:bH(SH),namespace:bH(SH),macroName:bH(SH),literal:TH,string:EH,docString:bH(EH),character:bH(EH),attributeValue:bH(EH),number:DH,integer:bH(DH),float:bH(DH),bool:bH(TH),regexp:bH(TH),escape:bH(TH),color:bH(TH),url:bH(TH),keyword:AH,self:bH(AH),null:bH(AH),atom:bH(AH),unit:bH(AH),modifier:bH(AH),operatorKeyword:bH(AH),controlKeyword:bH(AH),definitionKeyword:bH(AH),moduleKeyword:bH(AH),operator:jH,derefOperator:bH(jH),arithmeticOperator:bH(jH),logicOperator:bH(jH),bitwiseOperator:bH(jH),compareOperator:bH(jH),updateOperator:bH(jH),definitionOperator:bH(jH),typeOperator:bH(jH),controlOperator:bH(jH),punctuation:MH,separator:bH(MH),bracket:NH,angleBracket:bH(NH),squareBracket:bH(NH),paren:bH(NH),brace:bH(NH),content:OH,heading:kH,heading1:bH(kH),heading2:bH(kH),heading3:bH(kH),heading4:bH(kH),heading5:bH(kH),heading6:bH(kH),contentSeparator:bH(OH),list:bH(OH),quote:bH(OH),emphasis:bH(OH),strong:bH(OH),link:bH(OH),monospace:bH(OH),strikethrough:bH(OH),inserted:bH(),deleted:bH(),changed:bH(),invalid:bH(),meta:PH,documentMeta:bH(PH),annotation:bH(PH),processingInstruction:bH(PH),definition:gH.defineModifier(`definition`),constant:gH.defineModifier(`constant`),function:gH.defineModifier(`function`),standard:gH.defineModifier(`standard`),local:gH.defineModifier(`local`),special:gH.defineModifier(`special`)};for(let e in X){let t=X[e];t instanceof gH&&(t.name=e)}ERt([{tag:X.link,class:`tok-link`},{tag:X.heading,class:`tok-heading`},{tag:X.emphasis,class:`tok-emphasis`},{tag:X.strong,class:`tok-strong`},{tag:X.keyword,class:`tok-keyword`},{tag:X.atom,class:`tok-atom`},{tag:X.bool,class:`tok-bool`},{tag:X.url,class:`tok-url`},{tag:X.labelName,class:`tok-labelName`},{tag:X.inserted,class:`tok-inserted`},{tag:X.deleted,class:`tok-deleted`},{tag:X.literal,class:`tok-literal`},{tag:X.string,class:`tok-string`},{tag:X.number,class:`tok-number`},{tag:[X.regexp,X.escape,X.special(X.string)],class:`tok-string2`},{tag:X.variableName,class:`tok-variableName`},{tag:X.local(X.variableName),class:`tok-variableName tok-local`},{tag:X.definition(X.variableName),class:`tok-variableName tok-definition`},{tag:X.special(X.variableName),class:`tok-variableName2`},{tag:X.definition(X.propertyName),class:`tok-propertyName tok-definition`},{tag:X.typeName,class:`tok-typeName`},{tag:X.namespace,class:`tok-namespace`},{tag:X.className,class:`tok-className`},{tag:X.macroName,class:`tok-macroName`},{tag:X.propertyName,class:`tok-propertyName`},{tag:X.operator,class:`tok-operator`},{tag:X.comment,class:`tok-comment`},{tag:X.meta,class:`tok-meta`},{tag:X.invalid,class:`tok-invalid`},{tag:X.punctuation,class:`tok-punctuation`}])}));function NRt(e){return GL.define({combine:e?t=>t.concat(e):void 0})}function PRt(e,t,n){let r=e.facet(eU),i=IH(e).topNode;if(!r||r.allowsNesting)for(let e=i;e;e=e.enter(t,n,eH.ExcludeBuffers))e.type.isTop&&(i=e);return i}function IH(e){let t=e.field(JH.state,!1);return t?t.tree:tH.empty}function FRt(e,t,n){return lH.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}function IRt(e){let t=e.facet(nU);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function LRt(e,t){let n=``,r=e.tabSize,i=e.facet(nU)[0];if(i==` `){for(;t>=r;)n+=` `,t-=r;i=` `}for(let e=0;e<t;e++)n+=i;return n}function RRt(e,t){e instanceof pR&&(e=new rU(e));for(let n of e.state.facet(dzt)){let r=n(e,t);if(r!==void 0)return r}let n=IH(e.state);return n.length>=t?zRt(e,n,t):null}function zRt(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;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 BRt(r,e,n)}function BRt(e,t,n){for(let r=e;r;r=r.next){let e=HRt(r.node);if(e)return e(fzt.create(t,n,r))}return 0}function VRt(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function HRt(e){let t=e.type.prop(iU);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(YV.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>KRt(e,!0,1,void 0,n&&!VRt(e)?t.from:void 0)}return e.parent==null?URt:null}function URt(){return 0}function WRt(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function GRt(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,a=e.state.doc.lineAt(n.from),o=i==null||i<=a.from?a.to:Math.min(a.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=o)return null;let e=/^ */.exec(a.text.slice(n.to-a.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}function LH({closing:e,align:t=!0,units:n=1}){return r=>KRt(r,t,n,e)}function KRt(e,t,n,r,i){let a=e.textAfter,o=a.match(/^\s*/)[0].length,s=r&&a.slice(o,o+r.length)==r||i==e.pos+o,c=t?GRt(e):null;return c?s?e.column(c.from):e.column(c.to):e.baseIndent+(s?0:e.unit*n)}function RH({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function qRt(){return pR.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 n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+mzt)return e;let a=n.sliceString(i.from,r);if(!t.some(e=>e.test(a)))return e;let{state:o}=e,s=-1,c=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=RRt(o,t.from);if(n==null)continue;let r=/^\s*/.exec(t.text)[0],i=LRt(o,n);r!=i&&c.push({from:t.from,to:t.from+r.length,insert:i})}return c.length?[e,{changes:c,sequential:!0}]:e})}function zH(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function JRt(e,t,n){let r=IH(e);if(r.length<n)return null;let i=r.resolveStack(n,1),a=null;for(let o=i;o;o=o.next){let i=o.node;if(i.to<=n||i.from>n)continue;if(a&&i.from<t)break;let s=i.type.prop(aU);if(s&&(i.to<r.length-50||r.length==e.doc.length||!YRt(i))){let r=s(i,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(a=r)}}return a}function YRt(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function XRt(e,t,n){for(let r of e.facet(hzt)){let i=r(e,t,n);if(i)return i}return JRt(e,t,n)}function ZRt(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}function BH(e,t,n){var r;let i=null;return(r=e.field(cU,!1))==null||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function QRt(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}function $Rt(e){let t=[cU,yzt];return e&&t.push(lU.of(e)),t}function ezt(e,t){let{state:n}=e,r=n.facet(lU),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=BH(e.state,n.from,n.to);r&&e.dispatch({effects:sU.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let a=document.createElement(`span`);return a.textContent=r.placeholderText,a.setAttribute(`aria-label`,n.phrase(`folded code`)),a.title=n.phrase(`unfold`),a.className=`cm-foldPlaceholder`,a.onclick=i,a}function tzt(e={}){let t=Object.assign(Object.assign({},vzt),e),n=new dU(t,!0),r=new dU(t,!1),i=hB.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(eU)!=e.state.facet(eU)||e.startState.field(cU,!1)!=e.state.field(cU,!1)||IH(e.startState)!=IH(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new _R;for(let i of e.viewportLineBlocks){let a=BH(e.state,i.from,i.to)?r:XRt(e.state,i.from,i.to)?n:null;a&&t.add(i.from,i.from,a)}return t.finish()}}),{domEventHandlers:a}=t;return[i,ZIt({class:`cm-foldGutter`,markers(e){return e.plugin(i)?.markers||gR.empty},initialSpacer(){return new dU(t,!1)},domEventHandlers:Object.assign(Object.assign({},a),{click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let r=BH(e.state,t.from,t.to);if(r)return e.dispatch({effects:sU.of(r)}),!0;let i=XRt(e.state,t.from,t.to);return i?(e.dispatch({effects:oU.of(i)}),!0):!1}})}),$Rt()]}function VH(e){let t=e.facet(pU);return t.length?t:e.facet(mU)}function nzt(e,t){let n=[xzt],r;return e instanceof fU&&(e.module&&n.push(lV.styleModule.of(e.module)),r=e.themeType),t?.fallback?n.push(mU.of(e)):r?n.push(pU.computeN([lV.darkTheme],t=>t.facet(lV.darkTheme)==(r==`dark`)?[e]:[])):n.push(pU.of(e)),n}function rzt(e){let t=[],n=e.matched?wzt:Tzt;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function izt(e={}){return[_U.of(e),Ezt]}function HH(e,t,n){let r=e.prop(t<0?YV.openedBy:YV.closedBy);if(r)return r;if(e.name.length==1){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function UH(e){let t=e.type.prop(vU);return t?t(e.node):e}function WH(e,t,n,r={}){let i=r.maxScanDistance||hU,a=r.brackets||gU,o=IH(e),s=o.resolveInner(t,n);for(let r=s;r;r=r.parent){let i=HH(r.type,n,a);if(i&&r.from<r.to){let o=UH(r);if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return azt(e,t,n,r,o,i,a)}}return ozt(e,t,n,o,s.type,i,a)}function azt(e,t,n,r,i,a,o){let s=r.parent,c={from:i.from,to:i.to},l=0,u=s?.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(l==0&&a.indexOf(u.type.name)>-1&&u.from<u.to){let e=UH(u);return{start:c,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(HH(u.type,n,o))l++;else if(HH(u.type,-n,o)){if(l==0){let e=UH(u);return{start:c,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}l--}}while(n<0?u.prevSibling():u.nextSibling());return{start:c,matched:!1}}function ozt(e,t,n,r,i,a,o){let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),c=o.indexOf(s);if(c<0||c%2==0!=n>0)return null;let l={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=a;){let a=u.value;n<0&&(e+=a.length);let s=t+e*n;for(let e=n>0?0:a.length-1,t=n>0?a.length:-1;e!=t;e+=n){let t=o.indexOf(a[e]);if(!(t<0||r.resolveInner(s+e,1).type!=i))if(t%2==0==n>0)d++;else if(d==1)return{start:l,end:{from:s+e,to:s+e+1},matched:t>>1==c>>1};else d--}n>0&&(e+=a.length)}return u.done?{start:l,matched:!1}:null}function GH(e,t){bU.indexOf(e)>-1||(bU.push(e),console.warn(t))}function szt(e,t){let n=[];for(let r of t.split(` `)){let t=[];for(let n of r.split(`.`)){let r=e[n]||X[n];r?typeof r==`function`?t.length?t=t.map(r):GH(n,`Modifier ${n} used at start of tag`):t.length?GH(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:GH(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,`_`),i=r+` `+n.map(e=>e.id),a=xU[i];if(a)return a.id;let o=xU[i]=ZV.define({id:yU.length,name:r,props:[hH({[r]:n})]});return yU.push(o),o.id}var KH,qH,JH,YH,czt,XH,lzt,ZH,QH,$H,uzt,eU,tU,dzt,nU,rU,iU,fzt,pzt,mzt,hzt,aU,oU,sU,cU,gzt,lU,uU,_zt,vzt,dU,yzt,fU,pU,mU,bzt,xzt,Szt,Czt,hU,gU,_U,wzt,Tzt,Ezt,vU,Dzt,yU,bU,xU,Ozt,SU=c((()=>{mH(),xR(),VV(),FH(),HPt(),KH=new YV,qH=new YV,JH=class{constructor(e,t,n=[],r=``){this.data=e,this.name=r,pR.prototype.hasOwnProperty(`tree`)||Object.defineProperty(pR.prototype,`tree`,{get(){return IH(this)}}),this.parser=t,this.extension=[eU.of(this),pR.languageData.of((e,t,n)=>{let r=PRt(e,t,n),i=r.type.prop(KH);if(!i)return[];let a=e.facet(i),o=r.type.prop(qH);if(o){let i=r.resolve(t-r.from,n);for(let t of o)if(t.test(i,e)){let n=e.facet(t.facet);return t.type==`replace`?n:n.concat(a)}}return a})].concat(n)}isActiveAt(e,t,n=-1){return PRt(e,t,n).type.prop(KH)==this.data}findRegions(e){let t=e.facet(eU);if(t?.data==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(KH)==this.data){n.push({from:t,to:t+e.length});return}let i=e.prop(YV.mounted);if(i){if(i.tree.prop(KH)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof tH&&r(i,e.positions[n]+t)}};return r(IH(e),0),n}get allowsNesting(){return!0}},JH.setState=lR.define(),YH=class e extends JH{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(t){let n=NRt(t.languageData);return new e(n,t.parser.configure({props:[KH.add(e=>e.isTop?n:void 0)]}),t.name)}configure(t,n){return new e(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}},czt=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 n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}},XH=null,lzt=class e{constructor(e,t,n=[],r,i,a,o,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=a,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new e(t,n,[],tH.empty,0,r,[],null)}startParse(){return this.parser.startParse(new czt(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=tH.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{if(typeof e==`number`){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||=this.startParse(),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(lH.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=this.parse.stoppedAt??this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||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(lH.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=XH;XH=this;try{return e()}finally{XH=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=FRt(e,t.from,t.to);return e}changes(t,n){let{fragments:r,tree:i,treeLen:a,viewport:o,skipped:s}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges((t,n,r,i)=>e.push({fromA:t,toA:n,fromB:r,toB:i})),r=lH.applyChanges(r,e),i=tH.empty,a=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){s=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);n<r&&s.push({from:n,to:r})}}}return new e(this.parser,n,r,i,a,o,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:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=FRt(this.fragments,n,r),this.skipped.splice(t--,1))}return this.skipped.length>=t?!1:(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 uH{createParse(t,n,r){let i=r[0].from,a=r[r.length-1].to;return{parsedPos:i,advance(){let t=XH;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=a,new tH(ZV.none,[],[],a-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return XH}},ZH=class e{constructor(e){this.context=e,this.tree=e.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=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),n.viewport.to);return n.work(20,r)||n.takeTree(),new e(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=lzt.create(t.facet(eU).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}},JH.state=JL.define({create:ZH.init,update(e,t){for(let e of t.effects)if(e.is(JH.setState))return e.value;return t.startState.facet(eU)==t.state.facet(eU)?e.apply(t):ZH.init(t.state)}}),QH=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)},typeof requestIdleCallback<`u`&&(QH=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)}),$H=typeof navigator<`u`&&navigator.scheduling?.isInputPending?()=>navigator.scheduling.isInputPending():null,uzt=hB.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(JH.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(JH.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=QH(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:n,viewport:{to:r}}=this.view,i=n.field(JH.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!$H?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>$H&&$H()||Date.now()>a,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:JH.setState.of(new ZH(i.context))})),this.chunkBudget>0&&!(s&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&=(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>YR(this.view.state,e)).then(()=>this.workScheduled--),null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),eU=GL.define({combine(e){return e.length?e[0]:null},enables:e=>[JH.state,uzt,lV.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),tU=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},dzt=GL.define(),nU=GL.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}}),rU=class{constructor(e,t={}){this.state=e,this.options=t,this.unit=IRt(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;return r!=null&&r>=n.from&&r<=n.to?i&&r==e?{text:``,from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return``;let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),a=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return a>-1&&(i+=a-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return AL(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},iU=new YV,fzt=class e extends rU{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(t,n,r){return new e(t,n,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 n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(WRt(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return BRt(this.context.next,this.base,this.pos)}},pzt=e=>e.baseIndent,mzt=200,hzt=GL.define(),aU=new YV,oU=lR.define({map:ZRt}),sU=lR.define({map:ZRt}),cU=JL.define({create(){return Iz.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(oU)&&!QRt(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(lU),i=r?Iz.replace({widget:new _zt(r(t.state,n.value))}):uU;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(sU)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{e<r&&t>r&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>lV.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError(`Invalid JSON for fold state`);let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid JSON for fold state`);t.push(uU.range(r,i))}return Iz.set(t,!0)}}),gzt={placeholderDOM:null,preparePlaceholder:null,placeholderText:`…`},lU=GL.define({combine(e){return wL(e,gzt)}}),uU=Iz.replace({widget:new class extends Pz{toDOM(e){return ezt(e,null)}}}),_zt=class extends Pz{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ezt(e,this.value)}},vzt={openText:`⌄`,closedText:`›`,markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},dU=class extends NV{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}},yzt=lV.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`}}),fU=class e{constructor(e,t){this.specs=e;let n;function r(e){let t=ER.newName();return(n||=Object.create(null))[`.`+t]=e,t}let i=typeof t.all==`string`?t.all:t.all?r(t.all):void 0,a=t.scope;this.scope=a instanceof JH?e=>e.prop(KH)==a.data:a?e=>e==a:void 0,this.style=ERt(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new ER(n):null,this.themeType=t.themeType}static define(t,n){return new e(t,n||{})}},pU=GL.define(),mU=GL.define({combine(e){return e.length?[e[0]]:null}}),bzt=class{constructor(e){this.markCache=Object.create(null),this.tree=IH(e.state),this.decorations=this.buildDeco(e,VH(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=IH(e.state),n=VH(e.state),r=n!=VH(e.startState),{viewport:i}=e.view,a=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&a>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return Iz.none;let n=new _R;for(let{from:r,to:i}of e.visibleRanges)ORt(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=Iz.mark({class:r})))},r,i);return n.finish()}},xzt=XL.high(hB.fromClass(bzt,{decorations:e=>e.decorations})),Szt=fU.define([{tag:X.meta,color:`#404740`},{tag:X.link,textDecoration:`underline`},{tag:X.heading,textDecoration:`underline`,fontWeight:`bold`},{tag:X.emphasis,fontStyle:`italic`},{tag:X.strong,fontWeight:`bold`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.keyword,color:`#708`},{tag:[X.atom,X.bool,X.url,X.contentSeparator,X.labelName],color:`#219`},{tag:[X.literal,X.inserted],color:`#164`},{tag:[X.string,X.deleted],color:`#a11`},{tag:[X.regexp,X.escape,X.special(X.string)],color:`#e40`},{tag:X.definition(X.variableName),color:`#00f`},{tag:X.local(X.variableName),color:`#30a`},{tag:[X.typeName,X.namespace],color:`#085`},{tag:X.className,color:`#167`},{tag:[X.special(X.variableName),X.macroName],color:`#256`},{tag:X.definition(X.propertyName),color:`#00c`},{tag:X.comment,color:`#940`},{tag:X.invalid,color:`#f00`}]),Czt=lV.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:`#328c8252`},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bb555544`}}),hU=1e4,gU=`()[]{}`,_U=GL.define({combine(e){return wL(e,{afterCursor:!0,brackets:gU,maxScanDistance:hU,renderMatch:rzt})}}),wzt=Iz.mark({class:`cm-matchingBracket`}),Tzt=Iz.mark({class:`cm-nonmatchingBracket`}),Ezt=[JL.define({create(){return Iz.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(_U);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=WH(t.state,e.head,-1,r)||e.head>0&&WH(t.state,e.head-1,1,r)||r.afterCursor&&(WH(t.state,e.head,1,r)||e.head<t.state.doc.length&&WH(t.state,e.head+1,-1,r));i&&(n=n.concat(r.renderMatch(i,t.state)))}return Iz.set(n,!0)},provide:e=>lV.decorations.from(e)}),Czt],vU=new YV,Dzt=Object.create(null),yU=[ZV.none],bU=[],xU=Object.create(null),Ozt=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`]])Ozt[e]=szt(Dzt,t);Iz.mark({class:`cm-iso`,inclusive:!0,attributes:{dir:`rtl`},bidiIsolate:Gz.RTL}),Iz.mark({class:`cm-iso`,inclusive:!0,attributes:{dir:`ltr`},bidiIsolate:Gz.LTR}),Iz.mark({class:`cm-iso`,inclusive:!0,attributes:{dir:`auto`},bidiIsolate:null})}));function kzt(e,t,n,r,i,a){switch(r){case`AttributeValue`:{let n=e.resolveInner(t,0).tree;if(!n)return null;let r=n.prop(YV.mounted)?.tree;if(r?.type.name!==`Styles`)return null;let a=[];return r.iterate({from:0,to:r.length,enter:({type:n,from:r,to:o})=>{let s=kzt(e,t+1+r,t+1+o,n.name,i);if(s){if(Array.isArray(s))throw Error(`Unexpected nested overlays`);a.push(s)}}}),a}case`CallExpression`:{let e=Azt(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}case`ColorLiteral`:{let e=jzt(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}case`ValueName`:{let e=Mzt(i.sliceString(t,n));return e?Object.assign(Object.assign({},e),{from:t,to:n}):null}default:return null}}function Azt(e){switch(e.slice(0,3)){case`rgb`:{let t=Hzt.exec(e);if(!t)return null;let[n,r,i,a,o]=t,s=Izt(r,i,a);return{colorType:OU.rgb,color:s,alpha:o||``}}case`hsl`:{let t=Uzt.exec(e);if(!t)return null;let[n,r,i,a,o]=t,s=Lzt(r,i,a);return{colorType:OU.hsl,color:s,alpha:o||``}}default:return null}}function jzt(e){if(!Wzt.exec(e))return null;let[t,n]=Pzt(e);return{colorType:OU.hex,color:t,alpha:n}}function Mzt(e){let t=EU.get(e);return t?{colorType:OU.named,color:t,alpha:``}:null}function Nzt(e,t){let n=[],r=IH(e.state);for(let i of e.visibleRanges)r.iterate({from:i.from,to:i.to,enter:({type:i,from:a,to:o})=>{let s=t(r,a,o,i.name,e.state.doc,e.state.facet(eU)?.name);if(s){if(!Array.isArray(s)){n.push(Iz.widget({widget:new AU(s),side:1}).range(s.from));return}for(let e of s)n.push(Iz.widget({widget:new AU(e),side:1}).range(e.from))}}});return Iz.set(n)}function Pzt(e){return e.length===4?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,``]:e.length===5?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]:e.length===9?[`#${e.slice(1,-2)}`,e.slice(-2)]:[e,``]}function CU(e){let t;if(e.endsWith(`%`)){let n=Number(e.slice(0,-1));t=Math.round(n/100*255)}else t=Number(e);return wU(t)}function wU(e){let t=e.toString(16);return t.length===1?`0`+t:t}function Fzt(e){let t=e.slice(1,3),n=e.slice(3,5),r=e.slice(5,7);return[parseInt(t,16),parseInt(n,16),parseInt(r,16)]}function Izt(e,t,n){return`#${CU(e)}${CU(t)}${CU(n)}`}function Lzt(e,t,n){let r=Number(t)/100,i=Number(n)/100,[a,o,s]=Rzt(Number(e),r,i);return`#${wU(a)}${wU(o)}${wU(s)}`}function Rzt(e,t,n){if(t===0){let e=Math.round(n*255);return[e,e,e]}let r;r=n<.5?n*(1+t):n+t-n*t;let i=2*n-r;e/=360;let a=zzt(e+.333),o=e,s=zzt(e-.333),c=TU(r,i,a),l=TU(r,i,o),u=TU(r,i,s);return[Math.round(c*255),Math.round(l*255),Math.round(u*255)]}function zzt(e){return e<0?e+1:e>1?e-1:e}function TU(e,t,n){return 6*n<1?t+(e-t)*6*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}function Bzt(e,t,n){let r=e/255,i=t/255,a=n/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=(s+o)/2;if(s===o)return[0,0,c];let l;l=c<=.5?(s-o)/(s+o):(s-o)/(2-s-o);let u;for(u=s===r?(i-a)/(s-o):i===s?2+(a-r)/(s-o):4+(r-i)/(s-o),u=Math.round(u*60);u<0;)u+=360;return[u,l,c]}var EU,Vzt,DU,OU,Hzt,Uzt,Wzt,kU,AU,Gzt,Kzt,jU,qzt=c((()=>{VV(),mH(),SU(),EU=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`]]),Vzt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},DU=new WeakMap,OU=(function(e){return e.rgb=`RGB`,e.hex=`HEX`,e.named=`NAMED`,e.hsl=`HSL`,e})(OU||={}),Hzt=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,Uzt=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,Wzt=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i,kU=`cm-css-color-picker-wrapper`,AU=class extends Pz{constructor(e){var{color:t}=e,n=Vzt(e,[`color`]);super(),this.state=n,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`);DU.set(e,this.state),e.type=`color`,e.value=this.color;let t=document.createElement(`span`);return t.appendChild(e),t.className=kU,t}ignoreEvent(){return!1}},Gzt=lV.baseTheme({[`.${kU}`]:{display:`inline-block`,outline:`1px solid #eee`,marginRight:`0.6ch`,height:`1em`,width:`1em`,transform:`translateY(1px)`},[`.${kU} 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`}}}),Kzt=e=>hB.fromClass(class{constructor(t){this.decorations=Nzt(t,e.discoverColors)}update(t){(t.docChanged||t.viewportChanged)&&(this.decorations=Nzt(t.view,e.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{let n=e.target;if(n.nodeName!==`INPUT`||!n.parentElement||!n.parentElement.classList.contains(`cm-css-color-picker-wrapper`))return!1;let r=DU.get(n),i=n.value+r.alpha;if(r.colorType===OU.rgb)i=`rgb(${Fzt(n.value).join(`, `)}${r.alpha})`;else if(r.colorType===OU.named)for(let[e,t]of EU.entries())t===n.value&&(i=e);else if(r.colorType===OU.hsl){let[e,t,a]=Fzt(n.value),[o,s,c]=Bzt(e,t,a);i=`hsl(${o}, ${Math.round(s*100)}%, ${Math.round(c*100)}%${r.alpha})`}return t.dispatch({changes:{from:r.from,to:r.to,insert:i}}),!0}}}),jU=[Kzt({discoverColors:kzt}),Gzt]}));function Jzt(e){let t=Object.keys(e).join(``),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,``)),`[${n?`\\w`:``}${t.replace(/[^\w\s]/g,`\\$&`)}]`}function Yzt(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=Jzt(t)+Jzt(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function Xzt(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:Yzt(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function Zzt(e,t){return n=>{for(let t=IH(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}function MU(e){return e.selection.main.from}function Qzt(e,t){let{source:n}=e,r=t&&n[0]!=`^`,i=n[n.length-1]!=`$`;return!r&&!i?e:RegExp(`${r?`^`:``}(?:${n})${i?`$`:``}`,e.flags??(e.ignoreCase?`i`:``))}function $zt(e,t,n,r){let{main:i}=e.selection,a=n-i.from,o=r-i.from;return Object.assign(Object.assign({},e.changeByRange(s=>{if(s!=i&&n!=r&&e.sliceDoc(s.from+a,s.from+o)!=e.sliceDoc(n,r))return{range:s};let c=e.toText(t);return{changes:{from:s.from+a,to:r==i.from?s.to:s.from+o,insert:c},range:UL.cursor(s.from+a+c.length)}})),{scrollIntoView:!0,userEvent:`input.complete`})}function eBt(e){if(!Array.isArray(e))return e;let t=HU.get(e);return t||HU.set(e,t=Xzt(e)),t}function tBt(e,t){return e?t?e+` `+t:e:t}function nBt(e,t,n,r,i,a){let o=e.textDirection==Gz.RTL,s=o,c=!1,l=`top`,u,d,f=t.left-i.left,p=i.right-t.right,m=r.right-r.left,h=r.bottom-r.top;if(s&&f<Math.min(m,p)?s=!1:!s&&p<Math.min(m,f)&&(s=!0),m<=(s?f:p))u=Math.max(i.top,Math.min(n.top,i.bottom-h))-t.top,d=Math.min(400,s?f:p);else{c=!0,d=Math.min(400,(o?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=h||e>t.top?u=n.bottom-t.top:(l=`bottom`,u=t.bottom-n.top)}let g=(t.bottom-t.top)/a.offsetHeight,_=(t.right-t.left)/a.offsetWidth;return{style:`${l}: ${u/g}px; max-width: ${d/_}px`,class:`cm-completionInfo-`+(c?o?`left-narrow`:`right-narrow`:s?`left`:`right`)}}function rBt(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,n,r){let i=document.createElement(`span`);i.className=`cm-completionLabel`;let a=e.displayLabel||e.label,o=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>o&&i.appendChild(document.createTextNode(a.slice(o,t)));let s=i.appendChild(document.createElement(`span`));s.appendChild(document.createTextNode(a.slice(t,n))),s.className=`cm-completionMatchedText`,o=n}return o<a.length&&i.appendChild(document.createTextNode(a.slice(o))),i},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)}function NU(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}function iBt(e,t){return n=>new kBt(n,e,t)}function aBt(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/i:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/i)}function oBt(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function sBt(e,t){let n=[],r=null,i=e=>{n.push(e);let{section:t}=e.completion;if(t){r||=[];let e=typeof t==`string`?t:t.name;r.some(t=>t.name==e)||r.push(typeof t==`string`?{name:e}:t)}},a=t.facet(GU);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(r.result.filter===!1)for(let t of r.result.options)i(new BU(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),o,s=a.filterStrict?new OBt(n):new DBt(n);for(let t of r.result.options)if(o=s.match(t.label)){let n=t.displayLabel?e?e(t,o.matched):[]:o.matched;i(new BU(t,r.source,n,o.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0,i=(e,t)=>(e.rank??1e9)-(t.rank??1e9)||(e.name<t.name?-1:1);for(let n of r.sort(i))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e[typeof n==`string`?n:n.name])}}let o=[],s=null,c=a.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;!s||s.label!=t.label||s.detail!=t.detail||s.type!=null&&t.type!=null&&s.type!=t.type||s.apply!=t.apply||s.boost!=t.boost?o.push(e):oBt(e.completion)>oBt(s)&&(o[o.length-1]=e),s=e.completion}return o}function cBt(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,a=r==t.length;if(i||a)return i==a;if(e[n++].result!=t[r++].result)return!1}}function lBt(e,t){let n={"aria-autocomplete":`list`,"aria-haspopup":`listbox`,"aria-controls":e};return t>-1&&(n[`aria-activedescendant`]=e+`-`+t),n}function uBt(e,t){if(e.isUserEvent(`input.complete`)){let n=e.annotation(VU);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent(`input.type`);return n&&t.activateOnTyping?5:n?1:e.isUserEvent(`delete.backward`)?2:e.selection?8:e.docChanged?16:0}function dBt(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return typeof e==`function`?e(i,n,r,t):Qzt(e,!0).test(i)}function PU(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(XU).active.find(e=>e.source==t.source);return r instanceof qU?(typeof n==`string`?e.dispatch(Object.assign(Object.assign({},$zt(e.state,n,r.from,r.to)),{annotations:VU.of(t.completion)})):n(e,t.completion,r.from,r.to),!0):!1}function FU(e,t=`option`){return n=>{let r=n.state.field(XU,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(GU).interactionDelay)return!1;let i=1,a;t==`page`&&(a=YIt(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(a.dom.offsetHeight/a.dom.querySelector(`li`).offsetHeight)-1));let{length:o}=r.open.options,s=r.open.selected>-1?r.open.selected+i*(e?1:-1):e?0:o-1;return s<0?s=t==`page`?0:o-1:s>=o&&(s=t==`page`?o-1:0),n.dispatch({effects:YU.of(s)}),!0}}function IU(e,t){return UL.create(e.filter(e=>e.field==t).map(e=>UL.range(e.from,e.to)))}function fBt(e){let t=KBt.parse(e);return(e,n,r,i)=>{let{text:a,ranges:o}=t.instantiate(e.state,r),s={changes:{from:r,to:i,insert:jL.of(a)},scrollIntoView:!0,annotations:n?[VU.of(n),uR.userEvent.of(`input.complete`)]:void 0};if(o.length&&(s.selection=IU(o,0)),o.some(e=>e.field>0)){let t=new $U(o,0),n=s.effects=[eW.of(t)];e.state.field(tW,!1)===void 0&&n.push(lR.appendConfig.of([tW,eVt,tVt,QU]))}e.dispatch(e.state.update(s))}}function pBt(e){return({state:t,dispatch:n})=>{let r=t.field(tW,!1);if(!r||e<0&&r.active==0)return!1;let i=r.active+e,a=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:IU(r.ranges,i),effects:eW.of(a?null:new $U(r.ranges,i)),scrollIntoView:!0})),!0}}function LU(e,t){return Object.assign(Object.assign({},t),{apply:fBt(e)})}function mBt(){return[rVt,oW]}function hBt(e){for(let t=0;t<8;t+=2)if(sW.charCodeAt(t)==e)return sW.charAt(t+1);return _Pt(e<128?e:e+1)}function gBt(e,t){return e.languageDataAt(`closeBrackets`,t)[0]||rW}function _Bt(e,t){let n=gBt(e,e.selection.main.head),r=n.brackets||rW.brackets;for(let i of r){let a=hBt(dL(i,0));if(t==i)return a==i?SBt(e,i,r.indexOf(i+i+i)>-1,n):bBt(e,i,a,n.before||rW.before);if(t==a&&vBt(e,e.selection.main.from))return xBt(e,i,a)}return null}function vBt(e,t){let n=!1;return e.field(oW).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function RU(e,t){let n=e.sliceString(t,t+2);return n.slice(0,fL(dL(n,0)))}function yBt(e,t){let n=e.sliceString(t-2,t);return fL(dL(n,0))==n.length?n:n.slice(1)}function bBt(e,t,n,r){let i=null,a=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:iW.of(a.to+t.length),range:UL.range(a.anchor+t.length,a.head+t.length)};let o=RU(e.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:t+n,from:a.head},effects:iW.of(a.head+t.length),range:UL.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(a,{scrollIntoView:!0,userEvent:`input.type`})}function xBt(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&RU(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:UL.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:`input.type`})}function SBt(e,t,n,r){let i=r.stringPrefixes||rW.stringPrefixes,a=null,o=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:iW.of(r.to+t.length),range:UL.range(r.anchor+t.length,r.head+t.length)};let o=r.head,s=RU(e.doc,o),c;if(s==t){if(CBt(e,o))return{changes:{insert:t+t,from:o},effects:iW.of(o+t.length),range:UL.cursor(o+t.length)};if(vBt(e,o)){let r=n&&e.sliceDoc(o,o+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:o,to:o+r.length,insert:r},range:UL.cursor(o+r.length)}}}else if(n&&e.sliceDoc(o-2*t.length,o)==t+t&&(c=TBt(e,o-2*t.length,i))>-1&&CBt(e,c))return{changes:{insert:t+t+t+t,from:o},effects:iW.of(o+t.length),range:UL.cursor(o+t.length)};else if(e.charCategorizer(o)(s)!=dR.Word&&TBt(e,o,i)>-1&&!wBt(e,o,t,i))return{changes:{insert:t+t,from:o},effects:iW.of(o+t.length),range:UL.cursor(o+t.length)};return{range:a=r}});return a?null:e.update(o,{scrollIntoView:!0,userEvent:`input.type`})}function CBt(e,t){let n=IH(e).resolveInner(t+1);return n.parent&&n.from==t}function wBt(e,t,n,r){let i=IH(e).resolveInner(t,-1),a=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+a)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let c=i.to==t&&i.parent;if(!c)break;i=c}return!1}function TBt(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=dR.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=dR.Word)return n}return-1}function EBt(e={}){return[UBt,XU,GU.of(e),VBt,oVt,QU]}var zU,BU,VU,HU,UU,WU,DBt,OBt,GU,kBt,ABt,jBt,MBt,NBt,PBt,KU,qU,JU,YU,XU,FBt,IBt,ZU,LBt,RBt,zBt,BBt,VBt,HBt,UBt,QU,WBt,GBt,KBt,qBt,JBt,$U,eW,YBt,tW,XBt,ZBt,QBt,$Bt,nW,eVt,tVt,rW,iW,aW,oW,sW,nVt,rVt,iVt,aVt,cW,oVt,sVt=c((()=>{xR(),VV(),SU(),zU=class{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=IH(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),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(Qzt(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e==`abort`&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}},BU=class{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}},VU=cR.define(),HU=new WeakMap,UU=lR.define(),WU=lR.define(),DBt=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 n=dL(e,t),r=fL(n);this.chars.push(n);let i=e.slice(t,t+r),a=i.toUpperCase();this.folded.push(dL(a==i?i.toLowerCase():a,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:r,precise:i,byWord:a}=this;if(t.length==1){let r=dL(e,0),i=fL(r),a=i==e.length?0:-100;if(r!=t[0])if(r==n[0])a+=-200;else return null;return this.ret(a,[0,i])}let o=e.indexOf(this.pattern);if(o==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,c=0;if(o<0){for(let i=0,a=Math.min(e.length,200);i<a&&c<s;){let a=dL(e,i);(a==t[c]||a==n[c])&&(r[c++]=i),i+=fL(a)}if(c<s)return null}let l=0,u=0,d=!1,f=0,p=-1,m=-1,h=/[a-z]/.test(e),g=!0;for(let r=0,c=Math.min(e.length,200),_=0;r<c&&u<s;){let c=dL(e,r);o<0&&(l<s&&c==t[l]&&(i[l++]=r),f<s&&(c==t[f]||c==n[f]?(f==0&&(p=r),m=r+1,f++):f=0));let v,y=c<255?c>=48&&c<=57||c>=97&&c<=122?2:c>=65&&c<=90?1:0:(v=_Pt(c))==v.toLowerCase()?v==v.toUpperCase()?0:2:1;(!r||y==1&&h||_==0&&y!=0)&&(t[u]==c||n[u]==c&&(d=!0)?a[u++]=r:a.length&&(g=!1)),_=y,r+=fL(c)}return u==s&&a[0]==0&&g?this.result(-100+(d?-200:0),a,e):f==s&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):f==s?this.ret(-900-e.length,[p,m]):u==s?this.result(-100+(d?-200:0)+-700+(g?0:-1100),a,e):t.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?fL(dL(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}},OBt=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),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return n==null?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}},GU=GL.define({combine(e){return wL(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:nBt,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)=>n=>tBt(e(n),t(n)),optionClass:(e,t)=>n=>tBt(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}}),kBt=class{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,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:i,selected:a}=r.open,o=e.state.facet(GU);this.optionContent=rBt(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=NU(i.length,a,o.maxRenderedOptions),this.dom=document.createElement(`div`),this.dom.className=`cm-tooltip-autocomplete`,this.updateTooltipClass(e.state),this.dom.addEventListener(`mousedown`,n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if(t.nodeName==`LI`&&(i=/-(\d+)$/.exec(t.id))&&+i[1]<r.length){this.applyCompletion(e,r[+i[1]]),n.preventDefault();return}}),this.dom.addEventListener(`focusout`,t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(GU).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:WU.of(null)})}),this.showOptions(i,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),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),t!=n){let{options:r,selected:i,disabled:a}=t.open;(!n.open||n.open.options!=r)&&(this.range=NU(r.length,i,e.state.facet(GU).maxRenderedOptions),this.showOptions(r,t.id)),this.updateSel(),a!=n.open?.disabled&&this.dom.classList.toggle(`cm-tooltip-autocomplete-disabled`,!!a)}}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=NU(t.options.length,t.selected,this.view.state.facet(GU).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let i=typeof r==`string`?document.createTextNode(r):r(n);if(!i)return;`then`in i?i.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)}).catch(e=>YR(this.view.state,e,`completion info`)):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement(`div`);if(n.className=`cm-tooltip cm-completionInfo`,e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!=`LI`||!n.id?r--:r==e?n.hasAttribute(`aria-selected`)||(n.setAttribute(`aria-selected`,`true`),t=n):n.hasAttribute(`aria-selected`)&&n.removeAttribute(`aria-selected`);return t&&aBt(this.list,t),t}measureInfo(){let e=this.dom.querySelector(`[aria-selected]`);if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(GU).positionInfo(this.view,t,r,n,i,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,n){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 i=null;for(let a=n.from;a<n.to;a++){let{completion:o,match:s}=e[a],{section:c}=o;if(c){let e=typeof c==`string`?c:c.name;if(e!=i&&(a>n.from||n.from==0))if(i=e,typeof c!=`string`&&c.header)r.appendChild(c.header(c));else{let t=r.appendChild(document.createElement(`completion-section`));t.textContent=e}}let l=r.appendChild(document.createElement(`li`));l.id=t+`-`+a,l.setAttribute(`role`,`option`);let u=this.optionClass(o);u&&(l.className=u);for(let e of this.optionContent){let t=e(o,this.view.state,this.view,s);t&&l.appendChild(t)}}return n.from&&r.classList.add(`cm-completionListIncompleteTop`),n.to<e.length&&r.classList.add(`cm-completionListIncompleteBottom`),r}destroyInfo(){this.info&&=(this.infoDestroy&&this.infoDestroy(),this.info.remove(),null)}destroy(){this.destroyInfo()}},ABt=class e{constructor(e,t,n,r,i,a){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=a}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new e(this.options,lBt(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,i,a,o){if(i&&!o&&t.some(e=>e.isPending))return i.setDisabled();let s=sBt(t,n);if(!s.length)return i&&t.some(e=>e.isPending)?i.setDisabled():null;let c=n.facet(GU).selectOnOpen?0:-1;if(i&&i.selected!=c&&i.selected!=-1){let e=i.options[i.selected].completion;for(let t=0;t<s.length;t++)if(s[t].completion==e){c=t;break}}return new e(s,lBt(r,c),{pos:t.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:FBt,above:a.aboveCursor},i?i.timestamp:Date.now(),c,!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)}},jBt=class e{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new e(PBt,`cm-ac-`+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(GU),i=(r.override||n.languageDataAt(`autocomplete`,MU(n)).map(eBt)).map(e=>(this.active.find(t=>t.source==e)||new KU(e,this.active.some(e=>e.state!=0)?1:0)).update(t,r));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let a=this.open,o=t.effects.some(e=>e.is(JU));a&&t.docChanged&&(a=a.map(t.changes)),t.selection||i.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!cBt(i,this.active)||o?a=ABt.build(i,n,this.id,a,r,o):a&&a.disabled&&!i.some(e=>e.isPending)&&(a=null),!a&&i.every(e=>!e.isPending)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new KU(e.source,0):e));for(let e of t.effects)e.is(YU)&&(a&&=a.setSelected(e.value,this.id));return i==this.active&&a==this.open?this:new e(i,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?MBt:NBt}},MBt={"aria-autocomplete":`list`},NBt={},PBt=[],KU=class e{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(t,n){let r=uBt(t,n),i=this;(r&8||r&16&&this.touches(t))&&(i=new e(i.source,0)),r&4&&i.state==0&&(i=new e(this.source,1)),i=i.updateFor(t,r);for(let n of t.effects)if(n.is(UU))i=new e(i.source,1,n.value);else if(n.is(WU))i=new e(i.source,0);else if(n.is(JU))for(let e of n.value)e.source==i.source&&(i=e);return i}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(MU(e.state))}},qU=class e extends KU{constructor(e,t,n,r,i,a){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=a}hasResult(){return!0}updateFor(t,n){if(!(n&3))return this.map(t.changes);let r=this.result;r.map&&!t.changes.empty&&(r=r.map(r,t.changes));let i=t.changes.mapPos(this.from),a=t.changes.mapPos(this.to,1),o=MU(t.state);if(o>a||!r||n&2&&(MU(t.startState)==this.from||o<this.limit))return new KU(this.source,n&4?1:0);let s=t.changes.mapPos(this.limit);return dBt(r.validFor,t.state,i,a)?new e(this.source,this.explicit,s,r,i,a):r.update&&(r=r.update(r,i,a,new zU(t.state,o,!1)))?new e(this.source,this.explicit,s,r,r.from,r.to??MU(t.state)):new KU(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 KU(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}},JU=lR.define({map(e,t){return e.map(e=>e.map(t))}}),YU=lR.define(),XU=JL.define({create(){return jBt.start()},update(e,t){return e.update(t)},provide:e=>[EV.from(e,e=>e.tooltip),lV.contentAttributes.from(e,e=>e.attrs)]}),FBt=iBt(XU,PU),IBt=e=>{let t=e.state.field(XU,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(GU).interactionDelay?!1:PU(e,t.open.options[t.open.selected])},ZU=e=>e.state.field(XU,!1)?(e.dispatch({effects:UU.of(!0)}),!0):!1,LBt=e=>{let t=e.state.field(XU,!1);return!t||!t.active.some(e=>e.state!=0)?!1:(e.dispatch({effects:WU.of(null)}),!0)},RBt=class{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}},zBt=50,BBt=1e3,VBt=hB.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(XU).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(XU),n=e.state.facet(GU);if(!e.selectionSet&&!e.docChanged&&e.startState.field(XU)==t)return;let r=e.transactions.some(e=>{let t=uBt(e,n);return t&8||(e.selection||e.docChanged)&&!(t&3)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>zBt&&Date.now()-n.time>BBt){for(let e of n.context.abortListeners)try{e()}catch(e){YR(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(UU)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let t of e.transactions)t.isUserEvent(`input.type`)?this.composing=2:this.composing==2&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(XU);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(GU).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=new zU(t,MU(t),e.explicit,this.view),r=new RBt(e,n);this.running.push(r),Promise.resolve(e.source(n)).then(e=>{r.context.aborted||(r.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:WU.of(null)}),YR(this.view.state,e)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(GU).updateSyncTime))}accept(){this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(GU),n=this.view.state.field(XU);for(let r=0;r<this.running.length;r++){let i=this.running[r];if(i.done===void 0)continue;if(this.running.splice(r--,1),i.done){let n=MU(i.updates.length?i.updates[0].startState:this.view.state),r=Math.min(n,i.done.from+(i.active.explicit?0:1)),a=new qU(i.active.source,i.active.explicit,r,i.done,i.done.from,i.done.to??n);for(let e of i.updates)a=a.update(e,t);if(a.hasResult()){e.push(a);continue}}let a=n.active.find(e=>e.source==i.active.source);if(a&&a.isPending)if(i.done==null){let n=new KU(i.active.source,0);for(let e of i.updates)n=n.update(e,t);n.isPending||e.push(n)}else this.startQuery(a)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:JU.of(e)})}},{eventHandlers:{blur(e){let t=this.view.state.field(XU,!1);if(t&&t.tooltip&&this.view.state.facet(GU).closeOnBlur){let n=t.open&&YIt(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:WU.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:UU.of(!1)}),20),this.composing=0}}}),HBt=typeof navigator==`object`&&/Win/.test(navigator.platform),UBt=XL.highest(lV.domEventHandlers({keydown(e,t){let n=t.state.field(XU,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(HBt&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),a=r.completion.commitCharacters||i.result.commitCharacters;return a&&a.indexOf(e.key)>-1&&PU(t,r),!1}})),QU=lV.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`}}}),WBt=class{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}},GBt=class e{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(t){let n=t.mapPos(this.from,-1,RL.TrackDel),r=t.mapPos(this.to,1,RL.TrackDel);return n==null||r==null?null:new e(this.field,n,r)}},KBt=class e{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),a=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=a,o=/^\t*/.exec(i)[0].length;for(let t=0;t<o;t++)n+=e.facet(nU);r.push(t+n.length-o),i=n+i.slice(o)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new GBt(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(t){let n=[],r=[],i=[],a;for(let e of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(e);){let t=a[1]?+a[1]:null,o=a[2]||a[3]||``,s=-1,c=o.replace(/\\[{}]/g,e=>e[1]);for(let e=0;e<n.length;e++)(t==null?c&&n[e].name==c:n[e].seq==t)&&(s=e);if(s<0){let e=0;for(;e<n.length&&(t==null||n[e].seq!=null&&n[e].seq<t);)e++;n.splice(e,0,{seq:t,name:c}),s=e;for(let e of i)e.field>=s&&e.field++}i.push(new WBt(s,r.length,a.index,a.index+c.length)),e=e.slice(0,a.index)+o+e.slice(a.index+a[0].length)}e=e.replace(/\\([{}])/g,(e,t,n)=>{for(let e of i)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t}),r.push(e)}return new e(r,i)}},qBt=Iz.widget({widget:new class extends Pz{toDOM(){let e=document.createElement(`span`);return e.className=`cm-snippetFieldPosition`,e}ignoreEvent(){return!1}}}),JBt=Iz.mark({class:`cm-snippetField`}),$U=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=Iz.set(e.map(e=>(e.from==e.to?qBt:JBt).range(e.from,e.to)))}map(t){let n=[];for(let e of this.ranges){let r=e.map(t);if(!r)return null;n.push(r)}return new e(n,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))}},eW=lR.define({map(e,t){return e&&e.map(t)}}),YBt=lR.define(),tW=JL.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(eW))return n.value;if(n.is(YBt)&&e)return new $U(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>lV.decorations.from(e,e=>e?e.deco:Iz.none)}),XBt=({state:e,dispatch:t})=>e.field(tW,!1)?(t(e.update({effects:eW.of(null)})),!0):!1,ZBt=pBt(1),QBt=pBt(-1),$Bt=[{key:`Tab`,run:ZBt,shift:QBt},{key:`Escape`,run:XBt}],nW=GL.define({combine(e){return e.length?e[0]:$Bt}}),eVt=XL.highest(fV.compute([nW],e=>e.facet(nW))),tVt=lV.domEventHandlers({mousedown(e,t){let n=t.state.field(tW,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!i||i.field==n.active?!1:(t.dispatch({selection:IU(n.ranges,i.field),effects:eW.of(n.ranges.some(e=>e.field>i.field)?new $U(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),rW={brackets:[`(`,`[`,`{`,`'`,`"`],before:`)]}:;>`,stringPrefixes:[]},iW=lR.define({map(e,t){return t.mapPos(e,-1,RL.TrackAfter)??void 0}}),aW=new class extends mR{},aW.startSide=1,aW.endSide=-1,oW=JL.define({create(){return gR.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(iW)&&(e=e.update({add:[aW.range(n.value,n.value+1)]}));return e}}),sW=`()[]{}<>`,nVt=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),rVt=lV.inputHandler.of((e,t,n,r)=>{if((nVt?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||r.length==2&&fL(dL(r,0))==1||t!=i.from||n!=i.to)return!1;let a=_Bt(e.state,r);return a?(e.dispatch(a),!0):!1}),iVt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=gBt(e,e.selection.main.head).brackets||rW.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=yBt(e.doc,t.head);for(let i of n)if(i==r&&RU(e.doc,t.head)==hBt(dL(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:UL.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:`delete.backward`})),!r},aVt=[{key:`Backspace`,run:iVt}],cW=[{key:`Ctrl-Space`,run:ZU},{mac:"Alt-`",run:ZU},{key:`Escape`,run:LBt},{key:`ArrowDown`,run:FU(!0)},{key:`ArrowUp`,run:FU(!1)},{key:`PageDown`,run:FU(!0,`page`)},{key:`PageUp`,run:FU(!1,`page`)},{key:`Enter`,run:IBt}],oVt=XL.highest(fV.computeN([GU],e=>e.facet(GU).defaultKeymap?[cW]:[]))}));function cVt(e={}){return[mW,pW.of(e),lV.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?hW:e.inputType==`historyRedo`?gW:null;return n?(e.preventDefault(),n(t)):!1}})]}function lW(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(mW,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}function uW(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function lVt(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function uVt(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function dVt(e,t){return e.length?t.length?e.concat(t):e:t}function fVt(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-bVt));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),uW(e,e.length-1,1e9,n.setSelAfter(r)))}else return[_W.selection([t])]}function pVt(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function dW(e,t){if(!e.length)return e;let n=e.length,r=vW;for(;n;){let i=mVt(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}else t=i.mapped,n--,r=i.selectionsAfter}return r.length?[_W.selection(r)]:vW}function mVt(e,t,n){let r=dVt(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):vW,n);if(!e.changes)return _W.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new _W(i,lR.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}function hVt(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:UL.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var fW,gVt,_Vt,pW,mW,hW,gW,vVt,yVt,_W,vW,bVt,xVt,yW,SVt,CVt,wVt,TVt,EVt,DVt=c((()=>{xR(),VV(),SU(),mH(),fW=cR.define(),gVt=cR.define(),_Vt=GL.define(),pW=GL.define({combine(e){return wL(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),mW=JL.define({create(){return yW.empty},update(e,t){let n=t.state.facet(pW),r=t.annotation(fW);if(r){let i=_W.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?uW(o,o.length,n.minDepth,i):fVt(o,t.startState.selection),new yW(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(gVt);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(uR.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=_W.fromTransaction(t),o=t.annotation(uR.time),s=t.annotation(uR.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new yW(e.done.map(_W.fromJSON),e.undone.map(_W.fromJSON))}}),hW=lW(0,!1),gW=lW(1,!1),vVt=lW(0,!0),yVt=lW(1,!0),_W=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}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&&BL.fromJSON(t.changes),[],t.mapped&&zL.fromJSON(t.mapped),t.startSelection&&UL.fromJSON(t.startSelection),t.selectionsAfter.map(UL.fromJSON))}static fromTransaction(t,n){let r=vW;for(let e of t.startState.facet(_Vt)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,vW)}static selection(t){return new e(void 0,vW,void 0,void 0,t)}},vW=[],bVt=200,xVt=/^(input\.type|delete)($|\.)/,yW=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||xVt.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,lVt(s.changes,t.changes))||r==`input.type.compose`)?uW(o,o.length-1,i.minDepth,new _W(t.changes.compose(s.changes),dVt(lR.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,vW)):uW(o,o.length,i.minDepth,t),new e(o,vW,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:vW;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&uVt(a[a.length-1],t)?this:new e(fVt(this.done,t),this.undone,n,r)}addMapping(t){return new e(dW(this.done,t),dW(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1],a=i.selectionsAfter[0]||t.selection;if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:fW.of({side:e,rest:pVt(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?vW:r.slice(0,r.length-1);return i.mapped&&(n=dW(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:fW.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}else return null}},yW.empty=new yW(vW,vW),SVt=[{key:`Mod-z`,run:hW,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:gW,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:gW,preventDefault:!0},{key:`Mod-u`,run:vVt,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:yVt,preventDefault:!0}],typeof Intl<`u`&&Intl.Segmenter&&new Intl.Segmenter(void 0,{granularity:`word`}),CVt=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:`input`})),!0),wVt=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(hVt(e,(t,n)=>{n.push({from:t.from,insert:e.facet(nU)})}),{userEvent:`input.indent`})),!0),TVt=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(hVt(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=AL(r,e.tabSize),a=0,o=LRt(e,Math.max(0,i-IRt(e)));for(;a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),EVt={key:`Tab`,run:wVt,shift:TVt}}));function bW(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}function OVt(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||AVt(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function kVt(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function AVt(e,t,n,r){let i=kVt(n,r,t);return i<0||kVt(n,r,e)<i}function jVt(e,t,n){let r=e.cursor(eH.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}function MVt(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}function xW(e,t){return e[t]|e[t+1]<<16}function NVt(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function PVt(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}var FVt,SW,IVt,LVt,CW,wW,RVt,TW,EW,DW,OW,kW,zVt,BVt,VVt,HVt,AW,jW,MW,NW=c((()=>{mH(),FVt=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,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,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new SW(i,i.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,n=e&65535,{parser:r}=this.p,i=this.reducePos<this.pos-25;i&&this.setLookAhead(this.pos);let a=r.dynamicPrecedence(n);if(a&&(this.score+=a),t==0){this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(n,this.reducePos);return}let o=this.stack.length-(t-1)*3-(e&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from,c=this.reducePos-s;c>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-l;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,s,e,u+4,!0)}if(e&262144)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,s)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(r==0&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&e.buffer[r-4]==0&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t){e.buffer[r-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:a}=this.p;(r>this.pos||t<=a.maxNode)&&(this.pos=r,a.stateFlag(i,1)||(this.reducePos=r)),this.pushState(i,n),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){e&65536?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,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,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new IVt(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}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 n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)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=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216))if(t&65536){let n=(t>>19)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}})};return n(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(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!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||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new SW(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()}},SW=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},IVt=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3,this.state=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0)}},LVt=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(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,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}},CW=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},wW=new CW,RVt=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=wW,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 n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}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=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos);this.chunk=this.pos+e.length>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=wW,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 n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},TW=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;OVt(this.data,e,t,this.id,n.data,n.tokenPrecTable)}},TW.prototype.contextual=TW.prototype.fallback=TW.prototype.extend=!1,EW=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?bW(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(OVt(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}},EW.prototype.contextual=TW.prototype.fallback=TW.prototype.extend=!1,DW=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},OW=typeof process<`u`&&process.env&&/\bparse\b/.test(process.env.LOG),kW=null,zVt=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?jVt(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?jVt(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 n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],a=this.start[t]+n.positions[r];if(a>e)return this.nextStart=a,null;if(i instanceof tH){if(a==e){if(a<this.safeFrom)return null;let e=a+i.length;if(e<=this.safeTo){let t=i.prop(YV.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,a+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+i.length}}},BVt=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new CW)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if(!(n&&!c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new CW,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new CW,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,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++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;s+=3){if(o[s]==65535)if(o[s+1]==1)s=xW(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(xW(o,s+2),t,n,r));break}o[s]==t&&(r=this.putAction(xW(o,s+1),t,n,r))}return r}},VVt=class{constructor(e,t,n,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 RVt(t,r),this.tokens=new BVt(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[FVt.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new zVt(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&NVt(r);if(e)return OW&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw OW&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return OW&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500)if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}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(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,a=OW?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(r);o;){let r=this.parser.nodeSet.types[o.type.id]==o.type?i.getGoto(e.state,o.type.id):-1;if(r>-1&&o.length&&(!t||(o.prop(YV.contextHash)||0)==n))return e.useNode(o,r),OW&&console.log(a+this.stackID(e)+` (via reuse of ${i.getName(o.type.id)})`),!0;if(!(o instanceof tH)||o.children.length==0||o.positions[0]>0)break;let s=o.children[0];if(s instanceof tH&&o.positions[0]==0)o=s;else break}}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),OW&&console.log(a+this.stackID(e)+` (via always-reduce ${i.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let o=0;o<s.length;){let c=s[o++],l=s[o++],u=s[o++],d=o==s.length||!n,f=d?e:e.split(),p=this.tokens.mainToken;if(f.apply(c,l,p?p.start:f.pos,u),OW&&console.log(a+this.stackID(f)+` (via ${c&65536?`reduce of ${i.getName(c&65535)}`:`shift`} for ${i.getName(l)} @ ${r}${f==e?``:`, split`})`),d)return!0;f.pos>r?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return MVt(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=OW?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),OW&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;u.forceReduce()&&e<10&&(OW&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)OW&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))OW&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),OW&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),MVt(o,n)):(!r||r.score<o.score)&&(r=o)}return r}stackToTree(e){return e.close(),tH.build({buffer:LVt.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=(kW||=new WeakMap).get(e);return t||kW.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}},HVt=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},AW=e=>e,jW=class{constructor(e){this.start=e.start,this.shift=e.shift||AW,this.reduce=e.reduce||AW,this.reuse=e.reuse||AW,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},MW=class e extends uH{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=YV[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let a=t[n+-r];for(let o=-r;o>0;o--)i(t[n++],e,a);n++}}}this.nodeSet=new gRt(t.map((t,i)=>ZV.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:i==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=qV;let a=bW(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(PVt),this.states=bW(e.states,Uint32Array),this.data=bW(e.stateData),this.goto=bW(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new TW(a,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,n){let r=new VVt(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535)if(n[i+1]==1)a=n[i=xW(n,i+2)];else if(n[i+1]==2)return xW(n,i+2);else break;if(a==t||a==0)return xW(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=xW(this.data,n+2);else break;r=t(xW(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=xW(this.data,n+2);else break;if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=PVt(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}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 t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new HVt(e,n,r)}static deserialize(t){return new e(t)}}}));function PW(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function UVt(e){return e>=48&&e<=57}var WVt,FW,GVt,KVt,IW,LW,qVt,JVt,RW,YVt,zW,XVt,ZVt,QVt,$Vt,eHt,tHt,nHt,rHt,iHt,aHt,oHt,sHt,cHt,lHt,uHt=c((()=>{NW(),FH(),WVt=99,FW=1,GVt=100,KVt=101,IW=2,LW=[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],qVt=58,JVt=40,RW=95,YVt=91,zW=45,XVt=46,ZVt=35,QVt=37,$Vt=38,eHt=92,tHt=10,nHt=new DW((e,t)=>{for(let n=!1,r=0,i=0;;i++){let{next:a}=e;if(PW(a)||a==zW||a==RW||n&&UVt(a))!n&&(a!=zW||i>0)&&(n=!0),r===i&&a==zW&&r++,e.advance();else if(a==eHt&&e.peek(1)!=tHt)e.advance(),e.next>-1&&e.advance(),n=!0;else{n&&e.acceptToken(a==JVt?GVt:r==2&&t.canShift(IW)?IW:KVt);break}}}),rHt=new DW(e=>{if(LW.includes(e.peek(-1))){let{next:t}=e;(PW(t)||t==RW||t==ZVt||t==XVt||t==YVt||t==qVt&&PW(e.peek(1))||t==zW||t==$Vt)&&e.acceptToken(WVt)}}),iHt=new DW(e=>{if(!LW.includes(e.peek(-1))){let{next:t}=e;if(t==QVt&&(e.advance(),e.acceptToken(FW)),PW(t)){do e.advance();while(PW(e.next)||UVt(e.next));e.acceptToken(FW)}}}),aHt=hH({"AtKeyword import charset namespace keyframes media supports":X.definitionKeyword,"from to selector":X.keyword,NamespaceName:X.namespace,KeyframeName:X.labelName,KeyframeRangeName:X.operatorKeyword,TagName:X.tagName,ClassName:X.className,PseudoClassName:X.constant(X.className),IdName:X.labelName,"FeatureName PropertyName":X.propertyName,AttributeName:X.attributeName,NumberLiteral:X.number,KeywordQuery:X.keyword,UnaryQueryOp:X.operatorKeyword,"CallTag ValueName":X.atom,VariableName:X.variableName,Callee:X.operatorKeyword,Unit:X.unit,"UniversalSelector NestingSelector":X.definitionOperator,MatchOp:X.compareOperator,"ChildOp SiblingOp, LogicOp":X.logicOperator,BinOp:X.arithmeticOperator,Important:X.modifier,Comment:X.blockComment,ColorLiteral:X.color,"ParenthesizedContent StringLiteral":X.string,":":X.punctuation,"PseudoOp #":X.derefOperator,"; ,":X.separator,"( )":X.paren,"[ ]":X.squareBracket,"{ }":X.brace}),oHt={__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},sHt={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},cHt={__proto__:null,not:132,only:132},lHt=MW.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:[aHt],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:[rHt,iHt,nHt,1,2,3,4,new EW(`m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~`,28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>oHt[e]||-1},{term:58,get:e=>sHt[e]||-1},{term:101,get:e=>cHt[e]||-1}],tokenPrec:1200})}));function BW(){if(!VW&&typeof document==`object`&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)r!=`cssText`&&r!=`cssFloat`&&typeof e[r]==`string`&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>`-`+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));VW=t.sort().map(e=>({type:`property`,label:e,apply:e+`: `}))}return VW||[]}function dHt(e,t){if((e.name==`(`||e.type.isError)&&(e=e.parent||e),e.name!=`ArgList`)return!1;let n=e.parent?.firstChild;return n?.name==`Callee`?t.sliceString(n.from,n.to)==`var`:!1}function fHt(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function pHt(e,t,n){if(t.to-t.from>4096){let r=GW.get(t);if(r)return r;let i=[],a=new Set,o=t.cursor(eH.IncludeAnonymous);if(o.firstChild())do for(let t of pHt(e,o.node,n))a.has(t.label)||(a.add(t.label),i.push(t));while(o.nextSibling());return GW.set(t,i),i}else{let r=[],i=new Set;return t.cursor().iterate(t=>{if(n(t)&&t.matchContext(vHt)&&t.node.nextSibling?.name==`:`){let n=e.sliceString(t.from,t.to);i.has(n)||(i.add(n),r.push({label:n,type:`variable`}))}}),r}}function mHt(){return new tU(KW,KW.data.of({autocomplete:bHt}))}var VW,HW,UW,hHt,gHt,WW,_Ht,GW,vHt,yHt,bHt,KW,xHt=c((()=>{uHt(),SU(),mH(),VW=null,HW=`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})),UW=`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}))),hHt=`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})),gHt=[`@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})),WW=/^(\w[\w-]*|-\w[\w-]*|)$/,_Ht=/^-(-[\w-]*)?$/,GW=new cH,vHt=[`Declaration`],yHt=e=>t=>{let{state:n,pos:r}=t,i=IH(n).resolveInner(r,-1),a=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)==`-`;if(i.name==`PropertyName`||(a||i.name==`TagName`)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:BW(),validFor:WW};if(i.name==`ValueName`)return{from:i.from,options:UW,validFor:WW};if(i.name==`PseudoClassName`)return{from:i.from,options:HW,validFor:WW};if(e(i)||(t.explicit||a)&&dHt(i,n.doc))return{from:e(i)||a?i.from:r,options:pHt(n.doc,fHt(i),e),validFor:_Ht};if(i.name==`TagName`){for(let{parent:e}=i;e;e=e.parent)if(e.name==`Block`)return{from:i.from,options:BW(),validFor:WW};return{from:i.from,options:hHt,validFor:WW}}if(i.name==`AtKeyword`)return{from:i.from,options:gHt,validFor:WW};if(!t.explicit)return null;let o=i.resolve(r),s=o.childBefore(r);return s&&s.name==`:`&&o.name==`PseudoClassSelector`?{from:r,options:HW,validFor:WW}:s&&s.name==`:`&&o.name==`Declaration`||o.name==`ArgList`?{from:r,options:UW,validFor:WW}:o.name==`Block`||o.name==`Styles`?{from:r,options:BW(),validFor:WW}:null},bHt=yHt(e=>e.name==`VariableName`),KW=YH.define({name:`css`,parser:lHt.configure({props:[iU.add({Declaration:RH()}),aU.add({"Block KeyframeList":zH})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*\}$/,wordChars:`-`}})}));function SHt(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function CHt(e){return e==9||e==10||e==13||e==32}function qW(e,t){let n=e.pos+t;if(dG==n&&uG==e)return lG;let r=e.peek(t);for(;CHt(r);)r=e.peek(++t);let i=``;for(;SHt(r);)i+=String.fromCharCode(r),r=e.peek(++t);return uG=e,dG=n,lG=i?i.toLowerCase():r==ZHt||r==QHt?void 0:null}function wHt(e,t){this.name=e,this.parent=t}function THt(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}function JW(e,t,n){let r=2+e.length;return new DW(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==fG||a==1&&i.next==mG||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if((a==2||a==r)&&CHt(i.next))o++;else if(a==r&&i.next==pG){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((i.next==10||i.next==13)&&s){i.acceptToken(t,1);break}else a=o=0;i.advance()}})}function EHt(e,t){let n=Object.create(null);for(let r of e.getChildren(aG)){let e=r.getChild(VHt),i=r.getChild(oG)||r.getChild(sG);e&&(n[t.read(e.from,e.to)]=i?i.type.id==oG?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function DHt(e,t){let n=e.getChild(BHt);return n?t.read(n.from,n.to):` `}function YW(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=EHt(e.node.parent.firstChild,t)))return{parser:i.parser};return null}function OHt(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)(t.tag==`script`?n:t.tag==`style`?r:t.tag==`textarea`?i:a).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return oRt((e,t)=>{let s=e.type.id;if(s==HHt)return YW(e,t,n);if(s==UHt)return YW(e,t,r);if(s==WHt)return YW(e,t,i);if(s==iG&&a.length){let n=e.node,r=n.firstChild,i=r&&DHt(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=EHt(r,t)))){let t=n.lastChild,i=t.type.id==KHt?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==aG){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=DHt(n.parent,t))continue;let e=n.lastChild;if(e.type.id==oG){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}]}}else if(e.type.id==sG)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var kHt,AHt,jHt,MHt,NHt,PHt,XW,FHt,ZW,QW,$W,eG,tG,IHt,LHt,RHt,nG,zHt,rG,iG,BHt,aG,VHt,oG,sG,HHt,UHt,WHt,GHt,KHt,qHt,JHt,YHt,XHt,cG,lG,uG,dG,fG,pG,mG,ZHt,QHt,$Ht,eUt,tUt,nUt,rUt,iUt,aUt,oUt,sUt,cUt,lUt,uUt=c((()=>{NW(),FH(),mH(),kHt=54,AHt=1,jHt=55,MHt=2,NHt=56,PHt=3,XW=4,FHt=5,ZW=6,QW=7,$W=8,eG=9,tG=10,IHt=11,LHt=12,RHt=13,nG=57,zHt=14,rG=58,iG=20,BHt=22,aG=23,VHt=24,oG=26,sG=27,HHt=28,UHt=31,WHt=34,GHt=36,KHt=37,qHt=0,JHt=1,YHt={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},XHt={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},cG={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}},lG=null,uG=null,dG=0,fG=60,pG=62,mG=47,ZHt=63,QHt=33,$Ht=45,eUt=[ZW,tG,QW,$W,eG],tUt=new jW({start:null,shift(e,t,n,r){return eUt.indexOf(t)>-1?new wHt(qW(r,1)||``,e):e},reduce(e,t){return t==iG&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==ZW||i==GHt?new wHt(qW(r,1)||``,e):e},strict:!1}),nUt=new DW((e,t)=>{if(e.next!=fG){e.next<0&&t.context&&e.acceptToken(nG);return}e.advance();let n=e.next==mG;n&&e.advance();let r=qW(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?zHt:ZW);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(IHt);if(i&&XHt[i])return e.acceptToken(nG,-2);if(t.dialectEnabled(qHt))return e.acceptToken(LHt);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(RHt)}else{if(r==`script`)return e.acceptToken(QW);if(r==`style`)return e.acceptToken($W);if(r==`textarea`)return e.acceptToken(eG);if(YHt.hasOwnProperty(r))return e.acceptToken(tG);i&&cG[i]&&cG[i][r]?e.acceptToken(nG,-1):e.acceptToken(ZW)}},{contextual:!0}),rUt=new DW(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(rG);break}if(e.next==$Ht)t++;else if(e.next==pG&&t>=2){n>=3&&e.acceptToken(rG,-2);break}else t=0;e.advance()}}),iUt=new DW((e,t)=>{if(e.next==mG&&e.peek(1)==pG){let n=t.dialectEnabled(JHt)||THt(t.context);e.acceptToken(n?FHt:XW,2)}else e.next==pG&&e.acceptToken(XW,1)}),aUt=JW(`script`,kHt,AHt),oUt=JW(`style`,jHt,MHt),sUt=JW(`textarea`,NHt,PHt),cUt=hH({"Text RawText":X.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":X.angleBracket,TagName:X.tagName,"MismatchedCloseTag/TagName":[X.tagName,X.invalid],AttributeName:X.attributeName,"AttributeValue UnquotedAttributeValue":X.attributeValue,Is:X.definitionOperator,"EntityReference CharacterReference":X.character,Comment:X.blockComment,ProcessingInst:X.processingInstruction,DoctypeDecl:X.documentMeta}),lUt=MW.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:tUt,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:[cUt],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:[aUt,oUt,sUt,iUt,nUt,rUt,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511})}));function hG(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}var dUt,gG,fUt,pUt,mUt,hUt,gUt,_Ut,vUt,yUt,bUt,_G,vG,xUt,yG,SUt,CUt,wUt,TUt,EUt,DUt,OUt,kUt,AUt,jUt,MUt,NUt,PUt,FUt,IUt,LUt,RUt,zUt=c((()=>{NW(),FH(),dUt=312,gG=1,fUt=2,pUt=3,mUt=4,hUt=313,gUt=315,_Ut=316,vUt=5,yUt=6,bUt=0,_G=[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],vG=125,xUt=59,yG=47,SUt=42,CUt=43,wUt=45,TUt=60,EUt=44,DUt=63,OUt=46,kUt=new jW({start:!1,shift(e,t){return t==vUt||t==yUt||t==gUt?e:t==_Ut},strict:!1}),AUt=new DW((e,t)=>{let{next:n}=e;(n==vG||n==-1||t.context)&&e.acceptToken(hUt)},{contextual:!0,fallback:!0}),jUt=new DW((e,t)=>{let{next:n}=e,r;_G.indexOf(n)>-1||n==yG&&((r=e.peek(1))==yG||r==SUt)||n!=vG&&n!=xUt&&n!=-1&&!t.context&&e.acceptToken(dUt)},{contextual:!0}),MUt=new DW((e,t)=>{let{next:n}=e;if(n==CUt||n==wUt){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(gG);e.acceptToken(n?gG:fUt)}}else n==DUt&&e.peek(1)==OUt&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(pUt))},{contextual:!0}),NUt=new DW((e,t)=>{if(e.next!=TUt||!t.dialectEnabled(bUt)||(e.advance(),e.next==yG))return;let n=0;for(;_G.indexOf(e.next)>-1;)e.advance(),n++;if(hG(e.next,!0)){for(e.advance(),n++;hG(e.next,!1);)e.advance(),n++;for(;_G.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==EUt)return;for(let t=0;;t++){if(t==7){if(!hG(e.next,!0))return;break}if(e.next!=`extends`.charCodeAt(t))break;e.advance(),n++}}e.acceptToken(mUt,-n)}),PUt=hH({"get set async static":X.modifier,"for while do if else switch try catch finally return throw break continue default case":X.controlKeyword,"in of await yield void typeof delete instanceof":X.operatorKeyword,"let var const using function class extends":X.definitionKeyword,"import export from":X.moduleKeyword,"with debugger as new":X.keyword,TemplateString:X.special(X.string),super:X.atom,BooleanLiteral:X.bool,this:X.self,null:X.null,Star:X.modifier,VariableName:X.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":X.function(X.variableName),VariableDefinition:X.definition(X.variableName),Label:X.labelName,PropertyName:X.propertyName,PrivatePropertyName:X.special(X.propertyName),"CallExpression/MemberExpression/PropertyName":X.function(X.propertyName),"FunctionDeclaration/VariableDefinition":X.function(X.definition(X.variableName)),"ClassDeclaration/VariableDefinition":X.definition(X.className),PropertyDefinition:X.definition(X.propertyName),PrivatePropertyDefinition:X.definition(X.special(X.propertyName)),UpdateOp:X.updateOperator,"LineComment Hashbang":X.lineComment,BlockComment:X.blockComment,Number:X.number,String:X.string,Escape:X.escape,ArithOp:X.arithmeticOperator,LogicOp:X.logicOperator,BitOp:X.bitwiseOperator,CompareOp:X.compareOperator,RegExp:X.regexp,Equals:X.definitionOperator,Arrow:X.function(X.punctuation),": Spread":X.punctuation,"( )":X.paren,"[ ]":X.squareBracket,"{ }":X.brace,"InterpolationStart InterpolationEnd":X.special(X.brace),".":X.derefOperator,", ;":X.separator,"@":X.meta,TypeName:X.typeName,TypeDefinition:X.definition(X.typeName),"type enum interface implements namespace module declare":X.definitionKeyword,"abstract global Privacy readonly override":X.modifier,"is keyof unique infer":X.operatorKeyword,JSXAttributeValue:X.attributeValue,JSXText:X.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":X.angleBracket,"JSXIdentifier JSXNameSpacedName":X.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":X.attributeName,"JSXBuiltin/JSXIdentifier":X.standard(X.tagName)}),FUt={__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},IUt={__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},LUt={__proto__:null,"<":187},RUt=MW.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!kaXO(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:kUt,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:[PUt],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:[jUt,MUt,NUt,2,3,4,5,6,7,8,9,10,11,12,13,14,AUt,new EW("$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 EW(`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=>FUt[e]||-1},{term:338,get:e=>IUt[e]||-1},{term:92,get:e=>LUt[e]||-1}],tokenPrec:14749})}));function bG(e){return(t,n)=>{let r=t.node.getChild(`VariableDefinition`);return r&&n(r,e),!0}}function BUt(e,t){let n=SG.get(t);if(n)return n;let r=[],i=!0;function a(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(eH.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=qUt[t.name];if(e&&e(t,a)||CG.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of BUt(e,t.node))r.push(n);return!1}}),SG.set(t,r),r}function VUt(e){let t=IH(e.state).resolveInner(e.pos,-1);if(TG.indexOf(t.name)>-1)return null;let n=t.name==`VariableName`||t.to-t.from<20&&wG.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)CG.has(n.name)&&(r=r.concat(BUt(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:wG}}function HUt(e={}){let t=e.jsx?e.typescript?AG:kG:e.typescript?OG:EG,n=e.typescript?GUt.concat(JUt):xG.concat(MG);return new tU(t,[EG.data.of({autocomplete:Zzt(TG,Xzt(n))}),EG.data.of({autocomplete:VUt}),e.jsx?XUt:[]])}function UUt(e){for(;;){if(e.name==`JSXOpenTag`||e.name==`JSXSelfClosingTag`||e.name==`JSXFragmentTag`)return e;if(e.name==`JSXEscape`||!e.parent)return null;e=e.parent}}function WUt(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name==`JSXIdentifier`||r.name==`JSXBuiltin`||r.name==`JSXNamespacedName`||r.name==`JSXMemberExpression`)return e.sliceString(r.from,Math.min(r.to,n));return``}var xG,GUt,SG,CG,KUt,qUt,wG,TG,EG,DG,OG,kG,AG,jG,MG,JUt,YUt,XUt,ZUt=c((()=>{zUt(),SU(),xR(),VV(),sVt(),mH(),xG=[LU("function ${name}(${params}) {\n ${}\n}",{label:`function`,detail:`definition`,type:`keyword`}),LU("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:`for`,detail:`loop`,type:`keyword`}),LU("for (let ${name} of ${collection}) {\n ${}\n}",{label:`for`,detail:`of loop`,type:`keyword`}),LU(`do {
|
||
\${}
|
||
} while (\${})`,{label:`do`,detail:`loop`,type:`keyword`}),LU(`while (\${}) {
|
||
\${}
|
||
}`,{label:`while`,detail:`loop`,type:`keyword`}),LU(`try {
|
||
\${}
|
||
} catch (\${error}) {
|
||
\${}
|
||
}`,{label:`try`,detail:`/ catch block`,type:`keyword`}),LU(`if (\${}) {
|
||
\${}
|
||
}`,{label:`if`,detail:`block`,type:`keyword`}),LU(`if (\${}) {
|
||
\${}
|
||
} else {
|
||
\${}
|
||
}`,{label:`if`,detail:`/ else block`,type:`keyword`}),LU(`class \${name} {
|
||
constructor(\${params}) {
|
||
\${}
|
||
}
|
||
}`,{label:`class`,detail:`definition`,type:`keyword`}),LU('import {${names}} from "${module}"\n${}',{label:`import`,detail:`named`,type:`keyword`}),LU('import ${name} from "${module}"\n${}',{label:`import`,detail:`default`,type:`keyword`})],GUt=xG.concat([LU(`interface \${name} {
|
||
\${}
|
||
}`,{label:`interface`,detail:`definition`,type:`keyword`}),LU("type ${name} = ${type}",{label:`type`,detail:`definition`,type:`keyword`}),LU(`enum \${name} {
|
||
\${}
|
||
}`,{label:`enum`,detail:`definition`,type:`keyword`})]),SG=new cH,CG=new Set([`Script`,`Block`,`FunctionExpression`,`FunctionDeclaration`,`ArrowFunction`,`MethodDeclaration`,`ForStatement`]),KUt=[`FunctionDeclaration`],qUt={FunctionDeclaration:bG(`function`),ClassDeclaration:bG(`class`),ClassExpression:()=>!0,EnumDeclaration:bG(`constant`),TypeAliasDeclaration:bG(`type`),NamespaceDeclaration:bG(`namespace`),VariableDefinition(e,t){e.matchContext(KUt)||t(e,`variable`)},TypeDefinition(e,t){t(e,`type`)},__proto__:null},wG=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,TG=[`TemplateString`,`String`,`RegExp`,`LineComment`,`BlockComment`,`VariableDefinition`,`TypeDefinition`,`Label`,`PropertyDefinition`,`PropertyName`,`PrivatePropertyDefinition`,`PrivatePropertyName`,`JSXText`,`JSXAttributeValue`,`JSXOpenTag`,`JSXCloseTag`,`JSXSelfClosingTag`,`.`,`?.`],EG=YH.define({name:`javascript`,parser:RUt.configure({props:[iU.add({IfStatement:RH({except:/^\s*({|else\b)/}),TryStatement:RH({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:pzt,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:LH({closing:`}`}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":RH({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){return e.column(e.node.from)+e.unit}}),aU.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":zH,BlockComment(e){return{from:e.from+2,to:e.to-2}},JSXElement(e){let t=e.firstChild;if(!t||t.name==`JSXSelfClosingTag`)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){let t=e.firstChild?.nextSibling,n=e.lastChild;return!t||t.type.isError?null:{from:t.to,to:n.type.isError?e.to:n.from}}})]}),languageData:{closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,"`"]},commentTokens:{line:`//`,block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:`$`}}),DG={test:e=>/^JSX/.test(e.name),facet:NRt({commentTokens:{block:{open:`{/*`,close:`*/}`}}})},OG=EG.configure({dialect:`ts`},`typescript`),kG=EG.configure({dialect:`jsx`,props:[qH.add(e=>e.isTop?[DG]:void 0)]}),AG=EG.configure({dialect:`jsx ts`,props:[qH.add(e=>e.isTop?[DG]:void 0)]},`typescript`),jG=e=>({label:e,type:`keyword`}),MG=`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(jG),JUt=MG.concat([`declare`,`implements`,`private`,`protected`,`public`].map(jG)),YUt=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),XUt=lV.inputHandler.of((e,t,n,r,i)=>{if((YUt?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!EG.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let{head:t}=e,n=IH(o).resolveInner(t-1,-1),i;if(n.name==`JSXStartTag`&&(n=n.parent),!(o.doc.sliceString(t-1,t)!=r||n.name==`JSXAttributeValue`&&n.to>t)){if(r==`>`&&n.name==`JSXFragmentTag`)return{range:e,changes:{from:t,insert:`</>`}};if(r==`/`&&n.name==`JSXStartCloseTag`){let e=n.parent,r=e.parent;if(r&&e.from==t-2&&((i=WUt(o.doc,r.firstChild,t))||r.firstChild?.name==`JSXFragmentTag`)){let e=`${i}>`;return{range:UL.cursor(t+e.length,-1),changes:{from:t,insert:e}}}}else if(r==`>`){let r=UUt(n);if(r&&r.name==`JSXOpenTag`&&!/^\/?>|^<\//.test(o.doc.sliceString(t,t+2))&&(i=WUt(o.doc,r,t)))return{range:e,changes:{from:t,insert:`</${i}>`}}}}return{range:e}});return s.changes.empty?!1:(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})}));function NG(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}function PG(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`)if(t)t=!1;else return e;return null}function QUt(e,t,n){return n.tags[NG(e,PG(t))]?.children||n.allTags}function FG(e,t){let n=[];for(let r=PG(t);r&&!r.type.isTop;r=PG(r.parent)){let i=NG(e,r);if(i&&r.lastChild.name==`CloseTag`)break;i&&n.indexOf(i)<0&&(t.name==`EndTag`||t.from>=r.firstChild.to)&&n.push(i)}return n}function $Ut(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=PG(n,!0);return{from:r,to:i,options:QUt(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(FG(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function eWt(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:FG(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:GG}}function tWt(e,t,n,r){let i=[],a=0;for(let r of QUt(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of FG(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function nWt(e,t,n,r,i){let a=PG(n),o=a?t.tags[NG(e.doc,a)]:null,s=o&&o.attrs?Object.keys(o.attrs):[];return{from:r,to:i,options:(o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:`property`})),validFor:GG}}function rWt(e,t,n,r,i){let a=n.parent?.getChild(`AttributeName`),o=[],s;if(a){let c=e.sliceDoc(a.from,a.to),l=t.globalAttrs[c];if(!l){let r=PG(n),i=r?t.tags[NG(e.doc,r)]:null;l=i?.attrs&&i.attrs[c]}if(l){let t=e.sliceDoc(r,i).toLowerCase(),n=`"`,a=`"`;/^['"]/.test(t)?(s=t[0]==`"`?/^[^"]*$/:/^[^']*$/,n=``,a=e.sliceDoc(i,i+1)==t[0]?``:t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/;for(let e of l)o.push({label:e,apply:n+e+a,type:`constant`})}}return{from:r,to:i,options:o,validFor:s}}function iWt(e,t){let{state:n,pos:r}=t,i=IH(n).resolveInner(r,-1),a=i.resolve(r);for(let e=r,t;a==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;a=i=t,e=n.from}return i.name==`TagName`?i.parent&&/CloseTag$/.test(i.parent.name)?eWt(n,i,i.from,r):$Ut(n,e,i,i.from,r):i.name==`StartTag`?$Ut(n,e,i,r,r):i.name==`StartCloseTag`||i.name==`IncompleteCloseTag`?eWt(n,i,r,r):i.name==`OpenTag`||i.name==`SelfClosingTag`||i.name==`AttributeName`?nWt(n,e,i,i.name==`AttributeName`?i.from:r,r):i.name==`Is`||i.name==`AttributeValue`||i.name==`UnquotedAttributeValue`?rWt(n,e,i,i.name==`Is`?r:i.from,r):t.explicit&&(a.name==`Element`||a.name==`Text`||a.name==`Document`)?tWt(n,e,i,r):null}function aWt(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new WG(t,n):WG.default;return e=>iWt(r,e)}function oWt(e={}){let t=``,n;return e.matchClosingTags===!1&&(t=`noMatch`),e.selfClosingTags===!0&&(t=(t?t+` `:``)+`selfClosing`),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=OHt((e.nestedLanguages||[]).concat(KG),(e.nestedAttributes||[]).concat(qG))),new tU(n?JG.configure({wrap:n,dialect:t}):t?YG.configure({dialect:t}):YG,[YG.data.of({autocomplete:aWt(e)}),e.autoCloseTags===!1?[]:uWt,HUt().support,mHt().support])}var IG,LG,RG,zG,BG,VG,sWt,HG,UG,WG,GG,cWt,KG,qG,JG,YG,lWt,uWt,dWt=c((()=>{uUt(),xHt(),ZUt(),VV(),xR(),SU(),IG=[`_blank`,`_self`,`_top`,`_parent`],LG=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],RG=[`get`,`post`,`put`,`delete`],zG=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],BG=[`true`,`false`],VG={},sWt={a:{attrs:{href:null,ping:null,type:null,media:null,target:IG,hreflang:null}},abbr:VG,address:VG,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:[`default`,`rect`,`circle`,`poly`]}},article:VG,aside:VG,audio:{attrs:{src:null,mediagroup:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`none`,`metadata`,`auto`],autoplay:[`autoplay`],loop:[`loop`],controls:[`controls`]}},b:VG,base:{attrs:{href:null,target:IG}},bdi:VG,bdo:VG,blockquote:{attrs:{cite:null}},body:VG,br:VG,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[`autofocus`],disabled:[`autofocus`],formenctype:zG,formmethod:RG,formnovalidate:[`novalidate`],formtarget:IG,type:[`submit`,`reset`,`button`]}},canvas:{attrs:{width:null,height:null}},caption:VG,center:VG,cite:VG,code:VG,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:VG,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[`open`]}},dfn:VG,div:VG,dl:VG,dt:VG,em:VG,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[`disabled`],form:null,name:null}},figcaption:VG,figure:VG,footer:VG,form:{attrs:{action:null,name:null,"accept-charset":LG,autocomplete:[`on`,`off`],enctype:zG,method:RG,novalidate:[`novalidate`],target:IG}},h1:VG,h2:VG,h3:VG,h4:VG,h5:VG,h6:VG,head:{children:[`title`,`base`,`link`,`style`,`meta`,`script`,`noscript`,`command`]},header:VG,hgroup:VG,hr:VG,html:{attrs:{manifest:null}},i:VG,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:zG,formmethod:RG,formnovalidate:[`novalidate`],formtarget:IG,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:VG,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:[`autofocus`],disabled:[`disabled`],keytype:[`RSA`]}},label:{attrs:{for:null,form:null}},legend:VG,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:VG,menu:{attrs:{label:null,type:[`list`,`context`,`toolbar`]}},meta:{attrs:{content:null,charset:LG,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:VG,noscript:VG,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:VG,param:{attrs:{name:null,value:null}},pre:VG,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:VG,rt:VG,ruby:VG,samp:VG,script:{attrs:{type:[`text/javascript`],src:null,async:[`async`],defer:[`defer`],charset:LG}},section:VG,select:{attrs:{form:null,name:null,size:null,autofocus:[`autofocus`],disabled:[`disabled`],multiple:[`multiple`]}},slot:{attrs:{name:null}},small:VG,source:{attrs:{src:null,type:null,media:null}},span:VG,strong:VG,style:{attrs:{type:[`text/css`],media:null,scoped:null}},sub:VG,summary:VG,sup:VG,table:VG,tbody:VG,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:VG,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:VG,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:[`row`,`col`,`rowgroup`,`colgroup`]}},thead:VG,time:{attrs:{datetime:null}},title:VG,tr:VG,track:{attrs:{src:null,label:null,default:null,kind:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],srclang:null}},ul:{children:[`li`,`script`,`template`,`ul`,`ol`]},var:VG,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:VG},HG={accesskey:null,class:null,contenteditable:BG,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:BG,autocorrect:BG,autocapitalize:BG,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":BG,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":BG,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":BG,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":BG,"aria-hidden":BG,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":BG,"aria-multiselectable":BG,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":BG,"aria-relevant":null,"aria-required":BG,"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},UG=`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 UG)HG[e]=null;WG=class{constructor(e,t){this.tags=Object.assign(Object.assign({},sWt),e),this.globalAttrs=Object.assign(Object.assign({},HG),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},WG.default=new WG,GG=/^[:\-\.\w\u00b7-\uffff]*$/,cWt=EG.parser.configure({top:`SingleExpression`}),KG=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:OG.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:kG.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:AG.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:cWt},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:EG.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:KW.parser}],qG=[{name:`style`,parser:KW.parser.configure({top:`Styles`})}].concat(UG.map(e=>({name:e,parser:EG.parser}))),JG=YH.define({name:`html`,parser:lUt.configure({props:[iU.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){return 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=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||e.name!=`Element`||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&(n.name==`CloseTag`||n.name==`SelfClosingTag`))?e.lineIndent(t.from)+e.unit:null}}),aU.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),vU.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-._`}}),YG=JG.configure({wrap:OHt(KG,qG)}),lWt=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `)),uWt=lV.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!YG.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let t=o.doc.sliceString(e.from-1,e.to)==r,{head:n}=e,i=IH(o).resolveInner(n,-1),a;if(t&&r==`>`&&i.name==`EndTag`){let t=i.parent;if(t.parent?.lastChild?.name!=`CloseTag`&&(a=NG(o.doc,t.parent,n))&&!lWt.has(a))return{range:e,changes:{from:n,to:n+(o.doc.sliceString(n,n+1)===`>`?1:0),insert:`</${a}>`}}}else if(t&&r==`/`&&i.name==`IncompleteCloseTag`){let e=i.parent;if(i.from==n-2&&e.lastChild?.name!=`CloseTag`&&(a=NG(o.doc,e,n))&&!lWt.has(a)){let e=n+(o.doc.sliceString(n,n+1)===`>`?1:0),t=`${a}>`;return{range:UL.cursor(n+t.length,-1),changes:{from:n,to:e,insert:t}}}}return{range:e}});return s.changes.empty?!1:(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})})),fWt,pWt,mWt=c((()=>{NW(),FH(),fWt=hH({String:X.string,Number:X.number,"True False":X.bool,PropertyName:X.propertyName,Null:X.null,",":X.separator,"[ ]":X.squareBracket,"{ }":X.brace}),pWt=MW.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:[fWt],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 hWt(){return new tU(gWt)}var gWt,_Wt=c((()=>{mWt(),SU(),gWt=YH.define({name:`json`,parser:pWt.configure({props:[iU.add({Object:RH({except:/^\s*\}/}),Array:RH({except:/^\s*\]/})}),aU.add({"Object Array":zH})]}),languageData:{closeBrackets:{brackets:[`[`,`{`,`"`]},indentOnInput:/^\s*[\}\]]$/}})}));function vWt(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function yWt(e){return e==9||e==10||e==13||e==32}function XG(e,t){let n=e.pos+t;if(eK==e&&tK==n)return $G;for(;yWt(e.peek(t));)t++;let r=``;for(;;){let n=e.peek(t);if(!vWt(n))break;r+=String.fromCharCode(n),t++}return eK=e,tK=n,$G=r||null}function bWt(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 ZG(e,t){return new DW(n=>{let r=0,i=t.charCodeAt(0);scan:for(;!(n.next<0);n.advance(),r++)if(n.next==i){for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue scan;break}r&&n.acceptToken(e)})}var QG,xWt,SWt,CWt,wWt,TWt,EWt,DWt,OWt,kWt,$G,eK,tK,AWt,jWt,MWt,NWt,PWt,FWt,IWt,LWt=c((()=>{NW(),FH(),QG=1,xWt=2,SWt=3,CWt=4,wWt=5,TWt=35,EWt=36,DWt=37,OWt=11,kWt=13,$G=null,eK=null,tK=0,AWt=new jW({start:null,shift(e,t,n,r){return t==QG?new bWt(XG(r,1)||``,e):e},reduce(e,t){return t==OWt&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==QG||i==kWt?new bWt(XG(r,1)||``,e):e},hash(e){return e?e.hash:0},strict:!1}),jWt=new DW((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=XG(e,0);if(!n)return e.acceptToken(wWt);if(t.context&&n==t.context.name)return e.acceptToken(xWt);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(SWt,-2);e.acceptToken(CWt)}else if(e.next!=33&&e.next!=63)return e.acceptToken(QG)}},{contextual:!0}),MWt=ZG(TWt,`-->`),NWt=ZG(EWt,`?>`),PWt=ZG(DWt,`]]>`),FWt=hH({Text:X.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":X.angleBracket,TagName:X.tagName,"MismatchedCloseTag/TagName":[X.tagName,X.invalid],AttributeName:X.attributeName,AttributeValue:X.attributeValue,Is:X.definitionOperator,"EntityReference CharacterReference":X.character,Comment:X.blockComment,ProcessingInst:X.processingInstruction,DoctypeDecl:X.documentMeta,Cdata:X.special(X.string)}),IWt=MW.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:AWt,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:[FWt],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:[jWt,MWt,NWt,PWt,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})}));function nK(e,t){let n=t&&t.getChild(`TagName`);return n?e.sliceString(n.from,n.to):``}function rK(e,t){let n=t&&t.firstChild;return!n||n.name!=`OpenTag`?``:nK(e,n)}function RWt(e,t,n){let r=t&&t.getChildren(`Attribute`).find(e=>e.from<=n&&e.to>=n),i=r&&r.getChild(`AttributeName`);return i?e.sliceString(i.from,i.to):``}function iK(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name==`Element`)return t;return null}function zWt(e,t){let n=IH(e).resolveInner(t,-1),r=null;for(let e=n;!r&&e.parent;e=e.parent)(e.name==`OpenTag`||e.name==`CloseTag`||e.name==`SelfClosingTag`||e.name==`MismatchedCloseTag`)&&(r=e);if(r&&(r.to>t||r.lastChild.type.isError)){let e=r.parent;if(n.name==`TagName`)return r.name==`CloseTag`||r.name==`MismatchedCloseTag`?{type:`closeTag`,from:n.from,context:e}:{type:`openTag`,from:n.from,context:iK(e)};if(n.name==`AttributeName`)return{type:`attrName`,from:n.from,context:r};if(n.name==`AttributeValue`)return{type:`attrValue`,from:n.from,context:r};let i=n==r||n.name==`Attribute`?n.childBefore(t):n;return i?.name==`StartTag`?{type:`openTag`,from:t,context:iK(e)}:i?.name==`StartCloseTag`&&i.to<=t?{type:`closeTag`,from:t,context:e}:i?.name==`Is`?{type:`attrValue`,from:t,context:r}:i?{type:`attrName`,from:t,context:r}:null}else if(n.name==`StartCloseTag`)return{type:`closeTag`,from:t,context:n.parent};for(;n.parent&&n.to==t&&!n.lastChild?.type.isError;)n=n.parent;return n.name==`Element`||n.name==`Text`||n.name==`Document`?{type:`tag`,from:t,context:n.name==`Element`?n:iK(n)}:null}function BWt(e){return Object.assign(Object.assign({type:`property`},e.completion||{}),{label:e.name})}function VWt(e){return typeof e==`string`?{label:`"${e}"`,type:`constant`}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function HWt(e,t){let n=[],r=[],i=Object.create(null);for(let e of t){let t=BWt(e);n.push(t),e.global&&r.push(t),e.values&&(i[e.name]=e.values.map(VWt))}let a=[],o=[],s=Object.create(null);for(let t of e){let e=r,c=i;t.attributes&&(e=e.concat(t.attributes.map(e=>typeof e==`string`?n.find(t=>t.label==e)||{label:e,type:`property`}:(e.values&&(c==i&&(c=Object.create(c)),c[e.name]=e.values.map(VWt)),BWt(e)))));let l=new GWt(t,e,c);s[l.name]=l,a.push(l),t.top&&o.push(l)}o.length||(o=a);for(let t=0;t<a.length;t++){let n=e[t],r=a[t];if(n.children)for(let e of n.children)s[e]&&r.children.push(s[e]);else r.children=a}return e=>{let{doc:t}=e.state,n=zWt(e.state,e.pos);if(!n||n.type==`tag`&&!e.explicit)return null;let{type:c,from:l,context:u}=n;if(c==`openTag`){let e=o,n=rK(t,u);return n&&(e=s[n]?.children||a),{from:l,options:e.map(e=>e.completion),validFor:aK}}else if(c==`closeTag`){let n=rK(t,u);return n?{from:l,to:e.pos+(t.sliceString(e.pos,e.pos+1)==`>`?1:0),options:[s[n]?.closeNameCompletion||{label:n+`>`,type:`type`}],validFor:aK}:null}else if(c==`attrName`)return{from:l,options:s[nK(t,u)]?.attrs||r,validFor:aK};else if(c==`attrValue`){let n=RWt(t,u,l);if(!n)return null;let r=(s[nK(t,u)]?.attrValues||i)[n];return!r||!r.length?null:{from:l,to:e.pos+(t.sliceString(e.pos,e.pos+1)==`"`?1:0),options:r,validFor:/^"[^"]*"?$/}}else if(c==`tag`){let n=rK(t,u),r=s[n],i=[],c=u&&u.lastChild;n&&(!c||c.name!=`CloseTag`||nK(t,c)!=n)&&i.push(r?r.closeCompletion:{label:`</`+n+`>`,type:`type`,boost:2});let d=i.concat((r?.children||(u?a:o)).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:l,options:d,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}function UWt(e={}){let t=[oK.data.of({autocomplete:HWt(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(KWt),new tU(oK,t)}function WWt(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}var GWt,aK,oK,KWt,qWt=c((()=>{LWt(),SU(),xR(),VV(),GWt=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,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`})):[]}},aK=/^[:\-\.\w\u00b7-\uffff]*$/,oK=YH.define({name:`xml`,parser:IWt.configure({props:[iU.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),aU.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),vU.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/$/}}),KWt=lV.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=`>`&&r!=`/`||!oK.isActiveAt(e.state,t,-1))return!1;let a=i(),{state:o}=a,s=o.changeByRange(e=>{let{head:t}=e,n=o.doc.sliceString(t-1,t)==r,i=IH(o).resolveInner(t,-1),a;if(n&&r==`>`&&i.name==`EndTag`){let n=i.parent;if(n.parent?.lastChild?.name!=`CloseTag`&&(a=WWt(o.doc,n.parent,t)))return{range:e,changes:{from:t,to:t+(o.doc.sliceString(t,t+1)===`>`?1:0),insert:`</${a}>`}}}else if(n&&r==`/`&&i.name==`StartCloseTag`){let e=i.parent;if(i.from==t-2&&e.lastChild?.name!=`CloseTag`&&(a=WWt(o.doc,e,t))){let e=t+(o.doc.sliceString(t,t+1)===`>`?1:0),n=`${a}>`;return{range:UL.cursor(t+n.length,-1),changes:{from:t,to:e,insert:n}}}}return{range:e}});return s.changes.empty?!1:(e.dispatch([a,o.update(s,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)})}));function sK(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(lK(t)||t==-1)return n}}function cK(e){return e==32||e==9}function lK(e){return e==10||e==13}function JWt(e){return cK(e)||lK(e)}function uK(e){return e<0||JWt(e)}function dK(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&uK(e.peek(n+3))}function YWt(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function XWt(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function ZWt(e,t){return e.next==37?(e.advance(),XWt(e.next)&&e.advance(),XWt(e.next)&&e.advance(),!0):YWt(e.next)||t&&e.next==44?(e.advance(),!0):!1}function QWt(e){if(e.advance(),e.next==60){for(e.advance();;)if(!ZWt(e,!0)){e.next==62&&e.advance();break}}else for(;ZWt(e,!1););}function fK(e){for(e.advance();!uK(e.next)&&mK(e.tag)!=`f`;)e.advance()}function pK(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let a=e.next;if(a<0)break;if(e.advance(),a==n)if(a==39)if(e.next==39)e.advance();else break;else break;else if(a==92&&n==34)e.next>=0&&e.advance();else if(lK(a)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function $Wt(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!pK(e,!0))return!1}else if(e.next==93||e.next==125){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>n||lK(e.next))return!1;else e.advance()}function mK(e){return e<33?`u`:e>125?`s`:SGt[e-33]}function hK(e,t){let n=mK(e);return n!=`u`&&!(t&&n==`f`)}function eGt(e,t,n,r){if(mK(e.next)==`s`||(e.next==63||e.next==58||e.next==45)&&hK(e.peek(1),n))e.advance();else return!1;let i=e.pos;for(;;){let a=e.next,o=0,s=r+1;for(;JWt(a);){if(lK(a)){if(t)return!1;s=0}else s++;a=e.peek(++o)}if(!(a>=0&&(a==58?hK(e.peek(o+1),n):a==35?e.peek(o-1)!=32:hK(a,n)))||!n&&s<=r||s==0&&!n&&(dK(e,45,o)||dK(e,46,o)))break;if(t&&mK(a)==`f`)return!1;for(let t=o;t>=0;t--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}var gK,_K,tGt,nGt,vK,rGt,yK,iGt,aGt,bK,oGt,sGt,cGt,lGt,uGt,dGt,xK,fGt,pGt,mGt,hGt,gGt,_Gt,vGt,SK,CK,wK,TK,EK,yGt,bGt,xGt,SGt,CGt,wGt,TGt,EGt,DGt=c((()=>{NW(),FH(),gK=63,_K=64,tGt=1,nGt=2,vK=3,rGt=4,yK=5,iGt=6,aGt=7,bK=65,oGt=66,sGt=8,cGt=9,lGt=10,uGt=11,dGt=12,xK=13,fGt=19,pGt=20,mGt=29,hGt=33,gGt=34,_Gt=47,vGt=0,SK=1,CK=2,wK=3,TK=4,EK=class{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}},EK.top=new EK(null,-1,vGt),yGt=new jW({start:EK.top,reduce(e,t){return e.type==wK&&(t==pGt||t==gGt)?e.parent:e},shift(e,t,n,r){if(t==vK)return new EK(e,sK(r,r.pos),SK);if(t==bK||t==yK)return new EK(e,sK(r,r.pos),CK);if(t==gK)return e.parent;if(t==fGt||t==hGt)return new EK(e,0,wK);if(t==xK&&e.type==TK)return e.parent;if(t==_Gt){let t=/[1-9]/.exec(r.read(r.pos,n.pos));if(t)return new EK(e,e.depth+ +t[0],TK)}return e},hash(e){return e.hash}}),bGt=new DW((e,t)=>{if(e.next==-1&&t.canShift(_K))return e.acceptToken(_K);let n=e.peek(-1);if((lK(n)||n<0)&&t.context.type!=wK){if(dK(e,45))if(t.canShift(gK))e.acceptToken(gK);else return e.acceptToken(tGt,3);if(dK(e,46))if(t.canShift(gK))e.acceptToken(gK);else return e.acceptToken(nGt,3);let n=0;for(;e.next==32;)n++,e.advance();(n<t.context.depth||n==t.context.depth&&t.context.type==SK&&(e.next!=45||!uK(e.peek(1))))&&e.next!=-1&&!lK(e.next)&&e.next!=35&&e.acceptToken(gK,-n)}},{contextual:!0}),xGt=new DW((e,t)=>{if(t.context.type==wK){e.next==63&&(e.advance(),uK(e.next)&&e.acceptToken(aGt));return}if(e.next==45)e.advance(),uK(e.next)&&e.acceptToken(t.context.type==SK&&t.context.depth==sK(e,e.pos-1)?rGt:vK);else if(e.next==63)e.advance(),uK(e.next)&&e.acceptToken(t.context.type==CK&&t.context.depth==sK(e,e.pos-1)?iGt:yK);else{let n=e.pos;for(;;)if(cK(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)QWt(e);else if(e.next==38)fK(e);else if(e.next==42){fK(e);break}else if(e.next==39||e.next==34){if(pK(e,!0))break;return}else if(e.next==91||e.next==123){if(!$Wt(e))return;break}else{eGt(e,!0,!1,0);break}for(;cK(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(mGt))return;uK(e.peek(1))&&e.acceptTokenTo(t.context.type==CK&&t.context.depth==sK(e,n)?oGt:bK,n)}}},{contextual:!0}),SGt=`iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif`,CGt=new DW((e,t)=>{if(e.next==33)QWt(e),e.acceptToken(dGt);else if(e.next==38||e.next==42){let t=e.next==38?lGt:uGt;fK(e),e.acceptToken(t)}else e.next==39||e.next==34?(pK(e,!1),e.acceptToken(cGt)):eGt(e,!1,t.context.type==wK,t.context.depth)&&e.acceptToken(sGt)}),wGt=new DW((e,t)=>{let n=t.context.type==TK?t.context.depth:-1,r=e.pos;scan:for(;;){let i=0,a=e.next;for(;a==32;)a=e.peek(++i);if(!i&&(dK(e,45,i)||dK(e,46,i))||!lK(a)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break scan;let t=lK(e.next);if(e.advance(),t)continue scan;r=e.pos}}e.acceptTokenTo(xK,r)}),TGt=hH({DirectiveName:X.keyword,DirectiveContent:X.attributeValue,"DirectiveEnd DocEnd":X.meta,QuotedLiteral:X.string,BlockLiteralHeader:X.special(X.string),BlockLiteralContent:X.content,Literal:X.content,"Key/Literal Key/QuotedLiteral":X.definition(X.propertyName),"Anchor Alias":X.labelName,Tag:X.typeName,Comment:X.lineComment,": , -":X.separator,"?":X.punctuation,"[ ]":X.squareBracket,"{ }":X.brace}),EGt=MW.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:yGt,nodeProps:[[`isolate`,-3,8,9,14,``],[`openedBy`,18,`[`,32,`{`],[`closedBy`,19,`]`,33,`}`]],propSources:[TGt],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:[bGt,xGt,CGt,wGt,0,1],topRules:{Stream:[0,15]},tokenPrec:0})}));function OGt(){return new tU(AGt)}var kGt,AGt,jGt=c((()=>{DGt(),SU(),mH(),FH(),NW(),kGt=MW.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:`!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~`,goto:`vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS`,nodeNames:`⚠ Document Frontmatter DashLine FrontmatterContent Body`,maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),AGt=YH.define({name:`yaml`,parser:EGt.configure({props:[iU.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name==`BlockLiteralContent`&&t.from<t.to)return e.baseIndentFor(t);if(t.name==`BlockLiteral`)return e.baseIndentFor(t)+e.unit;if(t.name==`BlockSequence`||t.name==`BlockMapping`)return e.column(t.from,1);if(t.name==`QuotedLiteral`)return null;if(t.name==`Literal`){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:LH({closing:`}`}),FlowSequence:LH({closing:`]`})}),aU.add({"FlowMapping FlowSequence":zH,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:`#`},indentOnInput:/^\s*[\]\}]$/}}),YH.define({name:`yaml-frontmatter`,parser:kGt.configure({props:[hH({DashLine:X.meta})]})})}));function DK(){var e=arguments[0];typeof e==`string`&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n==`object`&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i==`string`?e.setAttribute(r,i):i!=null&&(e[r]=i)}t++}for(;t<arguments.length;t++)MGt(e,arguments[t]);return e}function MGt(e,t){if(typeof t==`string`)e.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)MGt(e,t[n]);else throw RangeError(`Unsupported child node: `+t)}var NGt=c((()=>{}));function OK(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&i.diagnostics.indexOf(t)<0))if(!r)r=new AK(e,n,t||i.diagnostics[0]);else if(i.diagnostics.indexOf(r.diagnostic)<0)return!1;else r=new AK(r.from,n,r.diagnostic)}),r}function PGt(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(LK).hideOn(e,n,r);if(i!=null)return i;let a=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(MK))||e.changes.touchesRange(a.from,Math.max(a.to,r)))}function FGt(e,t){return e.field(FK,!1)?t:t.concat(lR.appendConfig.of(BK))}function IGt(e,t){return{effects:FGt(e,[MK.of(t)])}}function LGt(e,t,n){let{diagnostics:r}=e.state.field(FK),i,a=-1,o=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(e,r,{spec:s})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return i=s.diagnostics,a=e,o=r,!1});let s=e.state.facet(LK).tooltipFilter;return i&&s&&(i=s(i,e.state)),i?{pos:a,end:o,above:e.state.doc.lineAt(a).to<o,create(){return{dom:RGt(e,i)}}}:null}function RGt(e,t){return DK(`ul`,{class:`cm-tooltip-lint`},t.map(t=>HGt(e,t,!1)))}function zGt(e,t,n){let r=[],i=-1;for(let a of e)a.then(n=>{r.push(n),clearTimeout(i),r.length==e.length?t(r):i=setTimeout(()=>t(r),200)},n)}function BGt(e,t={}){return[LK.of({source:e,config:t}),qGt,BK]}function VGt(e){let t=[];if(e)actions:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue actions}}t.push(``)}return t}function HGt(e,t,n){let r=n?VGt(t.actions):[];return DK(`li`,{class:`cm-diagnostic cm-diagnostic-`+t.severity},DK(`span`,{class:`cm-diagnosticText`},t.renderMessage?t.renderMessage(e):t.message),t.actions?.map((n,i)=>{let a=!1,o=r=>{if(r.preventDefault(),a)return;a=!0;let i=OK(e.state.field(FK).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,c=r[i]?s.indexOf(r[i]):-1,l=c<0?s:[s.slice(0,c),DK(`u`,s.slice(c,c+1)),s.slice(c+1)];return DK(`button`,{type:`button`,class:`cm-diagnosticAction`,onclick:o,onmousedown:o,"aria-label":` Action: ${s}${c<0?``:` (access key "${r[i]})"`}.`},l)}),t.source&&DK(`div`,{class:`cm-diagnosticSource`},t.source))}function UGt(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>')`}function kK(e){return UGt(`<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 WGt(e){return e==`error`?4:e==`warning`?3:e==`info`?2:1}function GGt(e){let t=`hint`,n=1;for(let r of e){let e=WGt(r.severity);e>n&&(n=e,t=r.severity)}return t}var AK,jK,MK,NK,PK,FK,KGt,IK,qGt,LK,JGt,RK,zK,YGt,BK,XGt=c((()=>{VV(),xR(),NGt(),AK=class{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}},jK=class e{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(t,n,r){let i=t,a=r.facet(LK).markerFilter;a&&(i=a(i,r));let o=t.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new _R,c=[],l=0;for(let e=0;;){let t=e==o.length?null:o[e];if(!t&&!c.length)break;let n,i;for(c.length?(n=l,i=c.reduce((e,t)=>Math.min(e,t.to),t&&t.from>n?t.from:1e8)):(n=t.from,i=t.to,c.push(t),e++);e<o.length;){let t=o[e];if(t.from==n&&(t.to>t.from||t.to==n))c.push(t),e++,i=Math.min(t.to,i);else{i=Math.min(t.from,i);break}}let a=GGt(c);if(c.some(e=>e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from))s.add(n,n,Iz.widget({widget:new JGt(a),diagnostics:c.slice()}));else{let e=c.reduce((e,t)=>t.markClass?e+` `+t.markClass:e,``);s.add(n,i,Iz.mark({class:`cm-lintRange cm-lintRange-`+a+e,diagnostics:c.slice(),inclusiveEnd:c.some(e=>e.to>i)}))}l=i;for(let e=0;e<c.length;e++)c[e].to<=l&&c.splice(e--,1)}let u=s.finish();return new e(u,n,OK(u))}},MK=lR.define(),NK=lR.define(),PK=lR.define(),FK=JL.define({create(){return new jK(Iz.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=OK(n,e.selected.diagnostic,i)||OK(n,null,i)}!n.size&&i&&t.state.facet(LK).autoPanel&&(i=null),e=new jK(n,i,r)}for(let n of t.effects)if(n.is(MK)){let r=t.state.facet(LK).autoPanel?n.value.length?zK.open:null:e.panel;e=jK.init(n.value,r,t.state)}else n.is(NK)?e=new jK(e.diagnostics,n.value?zK.open:null,e.selected):n.is(PK)&&(e=new jK(e.diagnostics,e.panel,n.value));return e},provide:e=>[MV.from(e,e=>e.panel),lV.decorations.from(e,e=>e.diagnostics)]}),KGt=Iz.mark({class:`cm-lintRange cm-lintRange-active`}),IK=e=>{let t=e.state.field(FK,!1);return!t||!t.panel?!1:(e.dispatch({effects:NK.of(!1)}),!0)},qGt=hB.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(LK);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(LK);t.length&&zGt(t.map(e=>Promise.resolve(e(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(IGt(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{YR(this.view.state,e)})}}update(e){let t=e.state.facet(LK);(e.docChanged||t!=e.startState.facet(LK)||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)}}),LK=GL.define({combine(e){return Object.assign({sources:e.map(e=>e.source).filter(e=>e!=null)},wL(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}}),JGt=class extends Pz{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return DK(`span`,{class:`cm-lintPoint cm-lintPoint-`+this.sev})}},RK=class{constructor(e,t){this.diagnostic=t,this.id=`item_`+Math.floor(Math.random()*4294967295).toString(16),this.dom=HGt(e,t,!0),this.dom.id=this.id,this.dom.setAttribute(`role`,`option`)}},zK=class e{constructor(e){this.view=e,this.items=[];let t=t=>{if(t.keyCode==27)IK(this.view),this.view.focus();else if(t.keyCode==38||t.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(t.keyCode==40||t.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(t.keyCode==36)this.moveSelection(0);else if(t.keyCode==35)this.moveSelection(this.items.length-1);else if(t.keyCode==13)this.view.focus();else if(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:n}=this.items[this.selectedIndex],r=VGt(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=OK(this.view.state.field(FK).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}else return;t.preventDefault()},n=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=DK(`ul`,{tabIndex:0,role:`listbox`,"aria-label":this.view.state.phrase(`Diagnostics`),onkeydown:t,onclick:n}),this.dom=DK(`div`,{class:`cm-panel-lint`},this.list,DK(`button`,{type:`button`,name:`close`,"aria-label":this.view.state.phrase(`close`),onclick:()=>IK(this.view)},`×`)),this.update()}get selectedIndex(){let e=this.view.state.field(FK).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(FK),n=0,r=!1,i=null,a=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:s})=>{for(let e of s.diagnostics){if(a.has(e))continue;a.add(e);let o=-1,s;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){o=t;break}o<0?(s=new RK(this.view,e),this.items.splice(n,0,s),r=!0):(s=this.items[o],o>n&&(this.items.splice(n,o-n),r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute(`aria-selected`)||(s.dom.setAttribute(`aria-selected`,`true`),i=s):s.dom.hasAttribute(`aria-selected`)&&s.dom.removeAttribute(`aria-selected`),n++}});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();this.items.length==0&&(this.items.push(new RK(this.view,{from:-1,to:-1,severity:`info`,message:this.view.state.phrase(`No diagnostics`)})),r=!0),i?(this.list.setAttribute(`aria-activedescendant`,i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):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 n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=OK(this.view.state.field(FK).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:PK.of(t)})}static open(t){return new e(t)}},YGt=lV.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:kK(`#d11`)},".cm-lintRange-warning":{backgroundImage:kK(`orange`)},".cm-lintRange-info":{backgroundImage:kK(`#999`)},".cm-lintRange-hint":{backgroundImage:kK(`#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}}}),BK=[FK,lV.decorations.compute([FK],e=>{let{selected:t,panel:n}=e.field(FK);return!t||!n||t.from==t.to?Iz.none:Iz.set([KGt.range(t.from,t.to)])}),JIt(LGt,{hideOn:PGt}),YGt]})),ZGt,QGt=c((()=>{SU(),VV(),ZGt=({theme:e,settings:t={},styles:n=[]})=>{let r={".cm-gutters":{}},i={};t.background&&(i.backgroundColor=t.background),t.backgroundImage&&(i.backgroundImage=t.backgroundImage),t.foreground&&(i.color=t.foreground),t.fontSize&&(i.fontSize=t.fontSize),(t.background||t.foreground)&&(r[`&`]=i),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 a={};return t.gutterActiveForeground&&(a.color=t.gutterActiveForeground),t.lineHighlight&&(r[`.cm-activeLine`]={backgroundColor:t.lineHighlight},a.backgroundColor=t.lineHighlight),r[`.cm-activeLineGutter`]=a,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}),[lV.theme(r,{dark:e===`dark`}),nzt(fU.define(n))]}})),$Gt,eKt=c((()=>{FH(),QGt(),$Gt=ZGt({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:[X.standard(X.tagName),X.tagName],color:`var(--scalar-color-purple)`},{tag:[X.comment],color:`var(--scalar-color-3)`},{tag:[X.className],color:`var(--scalar-color-orange)`},{tag:[X.variableName,X.propertyName,X.attributeName],color:`var(--scalar-color-1)`},{tag:[X.operator],color:`var(--scalar-color-2)`},{tag:[X.keyword,X.typeName,X.typeOperator],color:`var(--scalar-color-green)`},{tag:[X.string],color:`var(--scalar-color-blue)`},{tag:[X.bracket,X.regexp,X.meta],color:`var(--scalar-color-3)`},{tag:[X.number],color:`var(--scalar-color-orange)`},{tag:[X.name,X.quote],color:`var(--scalar-color-3)`},{tag:[X.heading],color:`var(--scalar-color-3)`,fontWeight:`bold`},{tag:[X.emphasis],color:`var(--scalar-color-3)`,fontStyle:`italic`},{tag:[X.deleted],color:`var(--scalar-color-3)`,backgroundColor:`transparent`},{tag:[X.atom,X.bool,X.special(X.variableName)],color:`var(--scalar-color-3)`},{tag:[X.url,X.escape,X.regexp,X.link],color:`var(--scalar-color-1)`},{tag:X.link,textDecoration:`underline`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.invalid,color:`var(--scalar-color-3)`}]})})),VK,tKt,nKt=c((()=>{VV(),VK=new _V({regexp:/(\{[^}]+\})/g,decoration:()=>Iz.mark({attributes:{class:`api-client-url-variable`}})}),tKt=()=>hB.fromClass(class{variables;constructor(e){this.variables=VK.createDeco(e)}update(e){this.variables=VK.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>lV.atomicRanges.of(t=>t.plugin(e)?.variables||Iz.none)})}));function rKt({onChange:e,onBlur:t,onFocus:n,provider:r,language:i,classes:a=[],readOnly:o=!1,lineNumbers:s=!1,withVariables:c=!1,forceFoldGutter:l=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:p=!1,lint:m=!1,additionalExtensions:h=[],placeholder:g}){let _=[BIt(),cVt(),fV.of(SVt),nzt(Szt,{fallback:!0}),lV.theme({".cm-line":{lineHeight:`22px`,padding:`0 2px 0 4px`},".cm-gutterElement":{lineHeight:`22px`},".cm-tooltip":{background:`var(--scalar-background-1)`,border:`1px solid var(--scalar-border-color)`,borderRadius:`var(--scalar-radius)`,boxShadow:`var(--scalar-shadow-2)`,fontSize:`12px`,overflow:`hidden`},".cm-tooltip-autocomplete ul":{padding:`6px`},".cm-tooltip-autocomplete ul li":{padding:`3px 6px`,color:`var(--scalar-color-1)`,borderRadius:`3px`},".cm-tooltip-autocomplete ul li[aria-selected]":{background:`var(--scalar-background-2)`,color:`var(--scalar-color-1)`},".cm-tooltip-autocomplete ul li:hover":{background:`var(--scalar-background-3)`,color:`var(--scalar-color-1)`},".cm-completionLabel":{color:`var(--scalar-color-1)`},".cm-completionDetail":{color:`var(--scalar-color-3)`},".cm-tooltip-lint":{backgroundColor:`var(--scalar-background-1)`},".cm-diagnostic-error":{borderLeft:`0`,color:`#dc1b19`},".cm-foldPlaceholder":{background:`var(--scalar-background-1)`,border:`none`,fontFamily:`var(--scalar-font)`}}),lV.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),lV.domEventHandlers({blur:(e,n)=>{t?.(n.state.doc.toString(),e)},focus:(e,t)=>{n?.(t.state.doc.toString(),e)}}),lV.editorAttributes.of({class:a.join(` `)}),...h];if(r&&_.push(r),p||_.push($Gt),o?_.push(lV.editable.of(!1)):(_.push(qRt(),izt(),EBt(),fV.of([...cW,iKt]),izt()),d||_.push(mBt(),fV.of([...aVt])),f?_.push(fV.of([{key:`Tab`,run:()=>!1,shift:()=>!1}])):_.push(fV.of([EVt]))),g&&_.push(UIt(g)),s&&_.push(tLt()),l&&_.push(tzt({markerDOM:e=>{let t=document.createElement(`div`);return t.classList.add(`cm-foldMarker`),t.innerHTML=e?HK:UK,t}})),i&&KK[i]&&(_.push(KK[i]()),l||_.push(tzt({markerDOM:e=>{let t=document.createElement(`div`);return t.classList.add(`cm-foldMarker`),t.innerHTML=e?HK:UK,t}}))),m&&i===`json`){let e=BGt(e=>{let t=[],n=e.state.doc.toString();if(n.trim())try{JSON.parse(n)}catch(n){n instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:`error`,message:n.message})}return t});_.push(e)}return c&&_.push(tKt()),u?_.push(fV.of([{key:`Enter`,run:()=>!0},{key:`Ctrl-Enter`,mac:`Cmd-Enter`,run:()=>!0},{key:`Shift-Enter`,run:()=>!0}])):_.push(fV.of([{key:`Enter`,run:CVt}])),_}var HK,UK,WK,iKt,GK,KK,aKt=c((()=>{sVt(),DVt(),xHt(),dWt(),_Wt(),qWt(),jGt(),SU(),XGt(),xR(),VV(),U(),eKt(),nKt(),HK=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>`,UK=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>`,lV.EDIT_CONTEXT=!1,WK=e=>`provider`in e&&!!uu(e.provider),iKt={key:`Mod-a`,run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},GK=e=>{let t=O(null),n=(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=H(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:uu(e.disableTabIndent),language:uu(e.language),classes:uu(e.classes),readOnly:uu(e.readOnly),lineNumbers:uu(e.lineNumbers),withVariables:uu(e.withVariables),forceFoldGutter:uu(e.forceFoldGutter),disableEnter:uu(e.disableEnter),disableCloseBrackets:uu(e.disableCloseBrackets),withoutTheme:uu(e.withoutTheme),lint:uu(e.lint),additionalExtensions:uu(e.extensions),placeholder:uu(e.placeholder)}));nd(e.codeMirrorRef,()=>{t.value?.destroy(),i()},{immediate:!0}),Mf(()=>t.value?.destroy());function i(){if(e.codeMirrorRef.value){let i=WK(e)?uu(e.provider):null,a=rKt({...r.value,provider:i});t.value=new lV({parent:e.codeMirrorRef.value,extensions:a}),WK(e)||n(uu(e.content))}}return nd(()=>WK(e)?uu(e.provider):null,()=>{WK(e)&&(t.value?.destroy(),i())}),nd(r,()=>{if(!t.value)return;let n=WK(e)?uu(e.provider):null,i=rKt({...r.value,provider:n});requestAnimationFrame(()=>{t.value?.dispatch({effects:lR.reconfigure.of(i)})})},{immediate:!0}),nd(()=>uu(e.content),()=>{WK(e)||n(uu(e.content))},{immediate:!0}),{setCodeMirrorContent:n,codeMirror:t}},KK={html:oWt,json:hWt,yaml:OGt,css:mHt,xml:UWt}}));function oKt(e){let{codeMirror:t,query:n,showDropdown:r,dropdownPosition:i}=e;function a(){return t.value?.state.selection.main.head||0}function o(e){return t.value?.coordsAtPos(e)}function s(){let e=a();requestAnimationFrame(()=>{let t=o(e-n.value.length-2);t&&(i.value={left:t.left,top:Math.max(t.bottom)})})}nd(n,s);function c(e){let i=`{{${e}}}`,o=a(),s=Math.max(0,o-n.value.length-2),c=o;t.value?.dispatch({changes:{from:s,to:c,insert:i}}),r.value=!1}function l(){let e=a(),c=t.value?.state.doc.sliceString(0,e)||``,l=c.lastIndexOf(`{{`);l>c.lastIndexOf(`}}`)?(n.value=c.slice(l+2),r.value=!0,i.value=o(e)||{left:0,top:0},n.value===``&&s()):r.value=!1}return nd(()=>t.value?.state.doc.toString(),l),{handleDropdownSelect:c,updateDropdownVisibility:l}}var sKt=c((()=>{U()})),qK=c((()=>{xR(),VV(),qzt(),aKt(),sKt()})),cKt,lKt,uKt,dKt=c((()=>{U(),Y(),y_(),qK(),cKt={class:`scalar-code-block group/code-block body-raw flex min-h-0 flex-col overflow-hidden p-px outline-none has-focus-visible:outline`},lKt={class:`body-raw-scroller custom-scroll relative pr-1`,tabindex:`0`},uKt=j({__name:`ResponseBodyRaw`,props:{content:{},language:{}},setup(e){let t=e,n=O(null),r=ud(),{codeMirror:i}=GK({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:du(()=>v_(t.content)),language:du(()=>t.language),forceFoldGutter:!0}),a=()=>i.value?.state.doc.toString()||``;return(t,i)=>(N(),P(`div`,cKt,[I(`div`,lKt,[I(`div`,{ref_key:`codeMirrorRef`,ref:n},null,512)]),a()?(N(),F(k(sw),{key:0,content:a(),"aria-controls":k(r),lang:e.language,class:`absolute top-2 right-2`},null,8,[`content`,`aria-controls`,`lang`])):R(``,!0)]))}})})),fKt,pKt=c((()=>{Mg(),dKt(),fKt=jg(uKt,[[`__scopeId`,`data-v-35bf3f39`]])})),mKt,hKt,gKt=c((()=>{U(),mKt={class:`text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5`},hKt=j({__name:`ResponseBodyToggle`,props:{modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e){return(t,n)=>(N(),P(`div`,mKt,[I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:`button`,onClick:n[0]||=$p(e=>t.$emit(`update:modelValue`,!0),[`stop`])},` Preview `,2),I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:`button`,onClick:n[1]||=$p(e=>t.$emit(`update:modelValue`,!1),[`stop`])},` Raw `,2)]))}})})),_Kt,vKt=c((()=>{gKt(),_Kt=hKt})),yKt,bKt,xKt,SKt,CKt=c((()=>{PN(),BNt(),CF(),WNt(),YNt(),rPt(),pKt(),vKt(),U(),yKt={key:0,class:`bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden`},bKt={class:`box-content flex min-h-8 items-center justify-between border-y px-3`},xKt={class:`text-xxs font-code leading-5`},SKt=j({__name:`ResponseBody`,props:{title:{},layout:{},data:{},headers:{}},setup(e){let t=e,n=O(!0),r=H(()=>!!(l.value?.raw&&l.value.preview)),i=H(()=>n.value||!r.value),a=H(()=>!n.value||!r.value),{mimeType:o,attachmentFilename:s,dataUrl:c}=RNt({data:du(t,`data`),headers:du(t,`headers`)}),l=H(()=>MN(o.value.essence));return(t,u)=>(N(),F(SF,{class:`max-h-content overflow-y-hidden`,layout:e.layout},bd({title:A(()=>[L(D(e.title),1)]),default:A(()=>[e.data?(N(),P(`div`,yKt,[I(`div`,bKt,[I(`span`,xKt,D(k(o).essence),1),r.value?(N(),F(_Kt,{key:0,modelValue:n.value,"onUpdate:modelValue":u[0]||=e=>n.value=e},null,8,[`modelValue`])):R(``,!0)]),l.value?.raw&&a.value?(N(),F(fKt,{key:k(c),content:e.data,language:l.value.language},null,8,[`content`,`language`])):R(``,!0),l.value?.preview&&i.value?(N(),F(nPt,{key:k(c),alpha:l.value.alpha,mode:l.value.preview,src:k(c),type:k(o).essence},null,8,[`alpha`,`mode`,`src`,`type`])):R(``,!0),!l.value?.raw&&!l.value?.preview?(N(),F(rL,{key:2},{default:A(()=>[...u[1]||=[L(` Binary file `,-1)]]),_:1})):R(``,!0)])):R(``,!0)]),_:2},[e.data&&k(c)?{name:`actions`,fn:A(()=>[V(nL,{filename:k(s),href:k(c),type:k(o).essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1032,[`layout`]))}})})),wKt,TKt=c((()=>{Mg(),CKt(),wKt=jg(SKt,[[`__scopeId`,`data-v-8e5d8a14`]])})),EKt,DKt,OKt=c((()=>{_F(),U(),EKt={class:`flex-1 px-2 py-1.5 whitespace-nowrap`},DKt=j({__name:`DataTableText`,props:{text:{}},setup(e){return(t,n)=>(N(),F(gF,{class:`relative flex`},{default:A(()=>[I(`span`,EKt,[M(t.$slots,`default`,{},()=>[L(D(e.text),1)])])]),_:3}))}})})),JK,YK=c((()=>{OKt(),JK=DKt})),kKt,AKt,jKt=c((()=>{U(),kKt=[`href`],AKt=j({__name:`HelpfulLink`,props:{href:{}},setup(e){return(t,n)=>(N(),P(`a`,{class:`decoration-c-3 cursor-help underline underline-offset-2`,href:e.href,rel:`noopener noreferrer`,target:`_blank`},[M(t.$slots,`default`)],8,kKt))}})})),XK,ZK=c((()=>{jKt(),XK=AKt})),QK,$K=c((()=>{QK=[{name:`Accept`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept`},{name:`Accept-CH`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH`},{name:`Accept-CH-Lifetime`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime`},{name:`Accept-Charset`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset`},{name:`Accept-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding`},{name:`Accept-Language`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language`},{name:`Accept-Patch`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch`},{name:`Accept-Post`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post`},{name:`Accept-Ranges`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges`},{name:`Access-Control-Allow-Credentials`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials`},{name:`Access-Control-Allow-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers`},{name:`Access-Control-Allow-Methods`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods`},{name:`Access-Control-Allow-Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin`},{name:`Access-Control-Expose-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers`},{name:`Access-Control-Max-Age`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age`},{name:`Access-Control-Request-Headers`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers`},{name:`Access-Control-Request-Method`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method`},{name:`Age`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age`},{name:`Allow`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow`},{name:`Alt-Svc`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc`},{name:`Alt-Used`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used`},{name:`Authorization`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization`},{name:`Cache-Control`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control`},{name:`Clear-Site-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data`},{name:`Connection`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection`},{name:`Content-Disposition`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition`},{name:`Content-DPR`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR`},{name:`Content-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding`},{name:`Content-Language`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language`},{name:`Content-Length`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length`},{name:`Content-Location`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location`},{name:`Content-Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range`},{name:`Content-Security-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy`},{name:`Content-Security-Policy-Report-Only`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only`},{name:`Content-Type`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type`},{name:`Cookie`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie`},{name:`Critical-CH`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH`},{name:`Cross-Origin-Embedder-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy`},{name:`Cross-Origin-Opener-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy`},{name:`Cross-Origin-Resource-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy`},{name:`Date`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date`},{name:`Device-Memory`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory`},{name:`Digest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest`},{name:`DNT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT`},{name:`Downlink`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink`},{name:`DPR`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR`},{name:`Early-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data`},{name:`ECT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT`},{name:`ETag`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag`},{name:`Expect`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect`},{name:`Expect-CT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT`},{name:`Expires`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires`},{name:`Forwarded`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded`},{name:`From`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From`},{name:`Host`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host`},{name:`If-Match`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match`},{name:`If-Modified-Since`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since`},{name:`If-None-Match`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match`},{name:`If-Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range`},{name:`If-Unmodified-Since`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since`},{name:`Keep-Alive`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive`},{name:`Large-Allocation`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation`},{name:`Last-Modified`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified`},{name:`Link`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link`},{name:`Location`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location`},{name:`Max-Forwards`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards`},{name:`NEL`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL`},{name:`Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin`},{name:`Permissions-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy`},{name:`Pragma`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma`},{name:`Proxy-Authenticate`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate`},{name:`Proxy-Authorization`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization`},{name:`Range`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range`},{name:`Referer`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer`},{name:`Referrer-Policy`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy`},{name:`Retry-After`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After`},{name:`RTT`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT`},{name:`Save-Data`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data`},{name:`Sec-CH-Prefers-Reduced-Motion`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion`},{name:`Sec-CH-Prefers-Reduced-Transparency`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency`},{name:`Sec-CH-UA`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA`},{name:`Sec-CH-UA-Arch`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch`},{name:`Sec-CH-UA-Bitness`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness`},{name:`Sec-CH-UA-Full-Version`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version`},{name:`Sec-CH-UA-Full-Version-List`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List`},{name:`Sec-CH-UA-Mobile`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile`},{name:`Sec-CH-UA-Model`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model`},{name:`Sec-CH-UA-Platform`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform`},{name:`Sec-CH-UA-Platform-Version`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version`},{name:`Sec-Fetch-Dest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest`},{name:`Sec-Fetch-Mode`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode`},{name:`Sec-Fetch-Site`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site`},{name:`Sec-Fetch-User`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User`},{name:`Sec-GPC`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC`},{name:`Sec-Purpose`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose`},{name:`Sec-WebSocket-Accept`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept`},{name:`Server`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server`},{name:`Server-Timing`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing`},{name:`Service-Worker-Navigation-Preload`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload`},{name:`Set-Cookie`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie`},{name:`SourceMap`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap`},{name:`Strict-Transport-Security`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security`},{name:`TE`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE`},{name:`Timing-Allow-Origin`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin`},{name:`Tk`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk`},{name:`Trailer`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer`},{name:`Transfer-Encoding`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding`},{name:`Upgrade`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade`},{name:`Upgrade-Insecure-Requests`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests`},{name:`User-Agent`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent`},{name:`Vary`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary`},{name:`Via`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via`},{name:`Viewport-Width`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width`},{name:`Want-Digest`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest`},{name:`Warning`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning`},{name:`Width`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width`},{name:`WWW-Authenticate`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate`},{name:`X-Content-Type-Options`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options`},{name:`X-DNS-Prefetch-Control`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control`},{name:`Non-standard`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard`},{name:`X-Forwarded-For`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For`},{name:`Non-standard`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard`},{name:`X-Forwarded-Host`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host`},{name:`Non-standard`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard`},{name:`X-Forwarded-Proto`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto`},{name:`Non-standard`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Non-standard`},{name:`X-Frame-Options`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options`},{name:`X-XSS-Protection`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection`},{name:`Cf-Cache-Status`,url:`https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses`},{name:`Cf-Ray`,url:`https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray`},{name:`Report-To`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to`},{name:`X-Cloud-Trace-Context`,url:`https://cloud.google.com/trace/docs/trace-context#legacy-http-header`},{name:`Speculation-Rules`,url:`https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules`}]})),MKt,NKt,PKt,FKt=c((()=>{hF(),yF(),xF(),YK(),CF(),ZK(),$K(),U(),MKt={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},NKt={key:1,class:`text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base`},PKt=j({__name:`RequestHeaders`,props:{headers:{}},setup(e){let t=e=>QK.find(t=>t.name.toLowerCase()===e.toLowerCase());return(n,r)=>(N(),F(SF,{class:`overflow-auto`,defaultOpen:!1,itemCount:e.headers.length},{title:A(()=>[...r[0]||=[L(`Request Headers`,-1)]]),default:A(()=>[e.headers.length?(N(),P(`div`,MKt,[V(mF,{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(k(vF),null,{default:A(()=>[...r[1]||=[L(`Header Key`,-1)]]),_:1}),V(k(vF),null,{default:A(()=>[...r[2]||=[L(`Header Value`,-1)]]),_:1})]),_:1}),(N(!0),P(B,null,yd(e.headers,e=>(N(),F(bF,{key:e.name,class:`group/row text-c-1`},{default:A(()=>[V(JK,{class:`bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0`},{default:A(()=>[typeof t(e.name)?.url==`string`?(N(),F(XK,{key:0,class:`decoration-c-3`,href:t(e.name).url},{default:A(()=>[L(D(e.name),1)]),_:2},1032,[`href`])):(N(),P(B,{key:1},[L(D(e.name),1)],64))]),_:2},1024),V(JK,{class:`z-0 group-first/row:border-t-0`,text:e.value},null,8,[`text`])]),_:2},1024))),128))]),_:1})])):(N(),P(`div`,NKt,` No Headers `))]),_:1},8,[`itemCount`]))}})})),IKt,LKt=c((()=>{FKt(),IKt=PKt})),RKt,zKt,BKt,VKt,HKt,UKt=c((()=>{CF(),U(),Y(),RKt={class:`flex w-full items-center justify-between`},zKt={key:0,class:`mr-2 flex items-center gap-2`},BKt={key:0,class:`text-red bg-b-danger sticky top-0 border-b p-2`},VKt={key:1,class:`p-2`},HKt=j({__name:`ResponseBodyStreaming`,props:{reader:{}},setup(e){let t=WS(),n=O(``),r=O(null),i=new TextDecoder,a=O(null),o=()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)};nd(n,()=>{Ku(o)});async function s(){try{for(;t.isLoading;){let{done:r,value:a}=await e.reader.read();if(r){t.clear();break}a&&(n.value+=i.decode(a,{stream:!0}))}}catch(e){console.error(`Error reading stream:`,e),t.clear(),r.value=e}finally{n.value+=i.decode()}}return Af(()=>{t.start(),s(),r.value=null}),Mf(()=>{e.reader.cancel(),t.clear()}),(e,i)=>(N(),F(SF,{class:`max-h-content overflow-y-hidden`},{title:A(()=>[I(`div`,RKt,[i[1]||=I(`div`,null,`Body`,-1),k(t).isActive?(N(),P(`div`,zKt,[V(k(HS),{loader:k(t),size:`xs`},null,8,[`loader`]),i[0]||=I(`span`,{class:`text-c-2`},` Listening… `,-1)])):R(``,!0)])]),default:A(()=>[I(`div`,{ref_key:`contentContainer`,ref:a,class:`text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap`},[r.value?(N(),P(`div`,BKt,D(r.value.message),1)):R(``,!0),n.value?(N(),P(`div`,VKt,D(n.value),1)):R(``,!0)],512)]),_:1}))}})})),WKt,GKt=c((()=>{UKt(),WKt=HKt})),KKt,qKt=c((()=>{BNt(),CF(),WNt(),U(),Y(),Rx(),KKt=j({__name:`ResponseBodyVirtual`,props:{content:{},data:{},headers:{}},setup(e){let t=e,n=H(()=>jx(t.content)),{mimeType:r,attachmentFilename:i,dataUrl:a}=RNt({data:du(t,`data`),headers:du(t,`headers`)});return(e,t)=>(N(),F(SF,{class:`!max-h-100% response-body-virtual overflow-x-auto`},bd({title:A(()=>[t[0]||=L(`Body`,-1)]),default:A(()=>[t[1]||=I(`div`,{class:`font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5`},` This response body is massive! Syntax highlighting won't work here. `,-1),V(k(JM),{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,text:n.value},null,8,[`text`])]),_:2},[k(a)?{name:`actions`,fn:A(()=>[V(nL,{filename:k(i),href:k(a),type:k(r).essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1024))}})})),JKt,YKt=c((()=>{qKt(),JKt=KKt})),XKt,ZKt,QKt=c((()=>{hF(),xF(),YK(),CF(),U(),XKt={key:1,class:`text-c-3 bg-b-1 flex min-h-[65px] items-center justify-center border-t px-4 text-sm`},ZKt=j({__name:`ResponseCookies`,props:{cookies:{}},setup(e){return(t,n)=>(N(),F(SF,{defaultOpen:!1},{title:A(()=>[...n[0]||=[L(`Cookies`,-1)]]),default:A(()=>[(N(),P(B,{key:0},[e.cookies.length?(N(),F(mF,{key:0,class:`flex-1`,columns:[``,``]},{default:A(()=>[(N(!0),P(B,null,yd(e.cookies,e=>(N(),F(bF,{key:e.name},{default:A(()=>[V(JK,{text:e.name},null,8,[`text`]),V(JK,{text:e.value},null,8,[`text`])]),_:2},1024))),128))]),_:1})):(N(),P(`div`,XKt,` No cookies `))],64))]),_:1}))}})})),$Kt,eqt=c((()=>{QKt(),$Kt=ZKt})),eq,tqt=c((()=>{eq=` .,,uod8B8bou,,.
|
||
..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
|
||
||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,
|
||
|||| '""^^!!||||||||||TFPRBBBVT!:...!
|
||
|||| '""^^!!|||||?!:.......!
|
||
|||| ||||.........!
|
||
|||| ||||.........!
|
||
|||| ||||.........!
|
||
|||| ||||.........!
|
||
|||| ||||.........!
|
||
|||| ||||.........!
|
||
||||, ||||.........\`
|
||
|||||!!-._ ||||.......;.
|
||
':!|||||||||!!-._ ||||.....bBBBBWdou,.
|
||
bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!
|
||
::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!
|
||
:::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!
|
||
:::;\`"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!
|
||
;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!
|
||
.ob86foi;::::::::::::::::::::::::!?TFPRBY..........\`
|
||
.b888888888886foi;:::::::::::::::::::::::..........\`
|
||
.b888888888888888888886foi;::::::::::::::::..........
|
||
.b888888888888888888888888888886foi;:::::::::......\`
|
||
!Tf998888888888888888888888888888888886foi;:::....\`
|
||
'"^!|Tf9988888888888888888888888888888888!::..\`
|
||
'"^!|Tf998888888888888888888888889!! '\`
|
||
'"^!|Tf9988888888888888888!!\` iBBbo.
|
||
'"^!|Tf998888888889!\` WBBBBbo.
|
||
'"^!|Tf9989!\` YBBBP^'
|
||
'"^!\` \`
|
||
`})),nqt,rqt,iqt,aqt,oqt=c((()=>{Pg(),tN(),tqt(),oP(),PNt(),U(),Y(),wP(),nqt={class:`flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize`},rqt={key:0,class:`scalar-version-number`},iqt={class:`text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm`},aqt=j({__name:`ResponseEmpty`,props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{}},setup(e){let{events:t,requestMutators:n}=eN(),r=Umt(),i=bP(),{layout:a}=Ng(),o=()=>{let r=e.operation.tags?.length?{tags:e.operation.tags[0]?[e.operation.tags[0]]:[]}:{},a=n.add(r,e.collection.uid);a&&(i.push({name:`request`,params:{workspace:e.workspace.uid,request:a.uid}}),Ku(()=>{t.hotKeys.emit({focusAddressBar:new KeyboardEvent(`keydown`,{key:`l`})})}))},s=e=>{e?.createNew&&r.name===`request`&&o()};return Af(()=>t.hotKeys.on(s)),Mf(()=>t.hotKeys.off(s)),(n,r)=>(N(),P(`div`,nqt,[I(`div`,{class:E([`flex h-[calc(100%_-_50px)] flex-col items-center justify-center`,{"hidden opacity-0":e.numWorkspaceRequests<=1&&k(a)!==`modal`}])},[k(a)===`modal`?R(``,!0):(N(),P(`div`,rqt,[L(` Scalar App V`+D(k(`2.43.0`))+` Beta `,1),r[3]||=I(`div`,{class:`mt-2`},[I(`a`,{href:`https://github.com/scalar/scalar/issues/2669`,target:`_blank`},` Roadmap `)],-1)])),r[4]||=I(`a`,{class:`gitbook-show scalar-version-number`,href:`https://www.scalar.com`,target:`_blank`},` Powered By Scalar.com `,-1),V(aP,{art:k(eq),class:`text-c-3`},null,8,[`art`])],2),k(a)===`modal`?R(``,!0):(N(),P(`div`,{key:0,class:E([`hidden h-[calc(100%_-_50px)] items-center justify-center pb-5`,{"!flex opacity-100":e.numWorkspaceRequests==1}])},[V(tL)],2)),I(`div`,iqt,[k(a)===`modal`?R(``,!0):(N(),P(`button`,{key:0,class:`flex items-center gap-1.5`,type:`button`,onClick:r[0]||=e=>k(t).commandPalette.emit()},[r[5]||=L(` Get Started `,-1),V(k(Yj),{hotkey:`k`})])),k(a)===`desktop`?(N(),P(`button`,{key:1,class:`flex items-center gap-1.5`,type:`button`,onClick:r[1]||=e=>o()},[r[6]||=L(` New Request `,-1),V(k(Yj),{hotkey:`N`})])):R(``,!0),I(`button`,{class:`flex items-center gap-1.5`,type:`button`,onClick:r[2]||=e=>k(t).executeRequest.emit()},[r[7]||=L(` Send Request `,-1),V(k(Yj),{hotkey:`↵`})])])]))}})})),sqt,cqt=c((()=>{Mg(),oqt(),sqt=jg(aqt,[[`__scopeId`,`data-v-6d2bdb61`]])})),lqt,uqt,dqt,fqt=c((()=>{hF(),yF(),xF(),YK(),CF(),ZK(),$K(),U(),lqt={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},uqt={key:1,class:`text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base`},dqt=j({__name:`ResponseHeaders`,props:{headers:{}},setup(e){let t=e=>QK.find(t=>t.name.toLowerCase()===e.toLowerCase());return(n,r)=>(N(),F(SF,{class:`overflow-auto`,defaultOpen:!1,itemCount:e.headers.length},{title:A(()=>[...r[0]||=[L(`Response Headers`,-1)]]),default:A(()=>[e.headers.length?(N(),P(`div`,lqt,[V(mF,{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(k(vF),null,{default:A(()=>[...r[1]||=[L(`Header Key`,-1)]]),_:1}),V(k(vF),null,{default:A(()=>[...r[2]||=[L(`Header Value`,-1)]]),_:1})]),_:1}),(N(!0),P(B,null,yd(e.headers,e=>(N(),F(bF,{key:e.name,class:`group/row text-c-1`},{default:A(()=>[V(JK,{class:`bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0`},{default:A(()=>[typeof t(e.name)?.url==`string`?(N(),F(XK,{key:0,class:`decoration-c-3`,href:t(e.name).url},{default:A(()=>[L(D(e.name),1)]),_:2},1032,[`href`])):(N(),P(B,{key:1},[L(D(e.name),1)],64))]),_:2},1024),V(JK,{class:`z-0 group-first/row:border-t-0`,text:e.value},null,8,[`text`])]),_:2},1024))),128))]),_:1})])):(N(),P(`div`,uqt,` No Headers `))]),_:1},8,[`itemCount`]))}})})),pqt,mqt=c((()=>{fqt(),pqt=dqt})),hqt,gqt,_qt=c((()=>{tN(),U(),Y(),hqt={key:0,class:`bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6`},gqt=j({__name:`ResponseLoadingOverlay`,setup(e){let{events:t}=eN(),n=WS(),r=O();return t.requestStatus.on(async e=>{e===`start`?r.value=setTimeout(()=>n.start(),1e3):(clearTimeout(r.value),r.value=void 0,await n.clear())}),(e,r)=>(N(),F(Np,null,{default:A(()=>[k(n).isActive?(N(),P(`div`,hqt,[V(k(HS),{class:`text-c-3`,loader:k(n),size:`3xl`},null,8,[`loader`]),V(k(KS),{variant:`ghost`,onClick:r[0]||=e=>k(t).cancelRequest.emit()},{default:A(()=>[...r[1]||=[L(` Cancel `,-1)]]),_:1})])):R(``,!0)]),_:1}))}})})),vqt,yqt=c((()=>{Mg(),_qt(),vqt=jg(gqt,[[`__scopeId`,`data-v-7ec8af01`]])}));function bqt(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(tq(e*1e3)%1e3),nanoseconds:Math.trunc(tq(e*1e6)%1e3)}}function xqt(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}function Sqt(e){switch(typeof e){case`number`:if(Number.isFinite(e))return bqt(e);break;case`bigint`:return xqt(e)}throw TypeError(`Expected a finite number or bigint`)}var tq,Cqt=c((()=>{tq=e=>Number.isFinite(e)?e:0}));function nq(e,t){let n=typeof e==`bigint`;if(!n&&!Number.isFinite(e))throw TypeError(`Expected a finite number or bigint`);t={...t};let r=e<0?`-`:``;e=e<0?-e:e,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 i=[],a=(e,t)=>{let n=Math.floor(e*10**t+Eqt);return(Math.round(n)/10**t).toFixed(t)},o=(e,n,r,a)=>{if(!((i.length===0||!t.colonNotation)&&wqt(e)&&!(t.colonNotation&&r===`m`))){if(a??=String(e),t.colonNotation){let e=a.includes(`.`)?a.split(`.`)[0].length:a.length,t=i.length>0?2:1;a=`0`.repeat(Math.max(0,t-e))+a}else a+=t.verbose?` `+Tqt(n,e):r;i.push(a)}},s=Sqt(e),c=BigInt(s.days);if(t.hideYearAndDays?o(BigInt(c)*24n+BigInt(s.hours),`hour`,`h`):(t.hideYear?o(c,`day`,`d`):(o(c/365n,`year`,`y`),o(c%365n,`day`,`d`)),o(Number(s.hours),`hour`,`h`)),o(Number(s.minutes),`minute`,`m`),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){let e=Number(s.seconds),n=Number(s.milliseconds),r=Number(s.microseconds),i=Number(s.nanoseconds);if(o(e,`second`,`s`),t.formatSubMilliseconds)o(n,`millisecond`,`ms`),o(r,`microsecond`,`µs`),o(i,`nanosecond`,`ns`);else{let e=n+r/1e3+i/1e6,a=typeof t.millisecondsDecimalDigits==`number`?t.millisecondsDecimalDigits:0,s=a?e.toFixed(a):e>=1?Math.round(e):Math.ceil(e);o(Number.parseFloat(s),`millisecond`,`ms`,s)}}else{let r=a((n?Number(e%Dqt):e)/1e3%60,typeof t.secondsDecimalDigits==`number`?t.secondsDecimalDigits:1),i=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,``);o(Number.parseFloat(i),`second`,`s`,i)}if(i.length===0)return r+`0`+(t.verbose?` milliseconds`:`ms`);let l=t.colonNotation?`:`:` `;return typeof t.unitCount==`number`&&(i=i.slice(0,Math.max(t.unitCount,1))),r+i.join(l)}var wqt,Tqt,Eqt,Dqt,Oqt=c((()=>{Cqt(),wqt=e=>e===0||e===0n,Tqt=(e,t)=>t===1||t===1n?e:`${e}s`,Eqt=1e-7,Dqt=24n*60n*60n*1000n})),kqt,Aqt,jqt,Mqt,Nqt,Pqt=c((()=>{tN(),ZK(),U(),Rx(),Oqt(),s6e(),kqt={class:`text-c-1 flex gap-1.5`},Aqt={key:0},jqt={key:0},Mqt={key:1},Nqt=j({__name:`ResponseMetaInformation`,props:{response:{}},setup(e){let t=e,{events:n}=eN(),r=O(),i=O(0);n.requestStatus.on(e=>{e===`start`?r.value=setInterval(()=>i.value+=1e3,1e3):(clearInterval(r.value),r.value=void 0,i.value=0)});let a=e=>{let t=Number.parseInt(e.headers?.[`Content-Length`]||e.headers?.[`content-length`]||`0`,10);return t?Gj(t):void 0},o=H(()=>{let e=t.response.status;if(e)return xv[e]??void 0});return(t,n)=>(N(),P(`div`,kqt,[r.value&&i.value?(N(),P(`span`,Aqt,D(k(nq)(i.value)),1)):(N(),P(B,{key:1},[I(`span`,null,[n[0]||=I(`span`,{class:`sr-only`},`Response Information, Duration:`,-1),L(` `+D(k(nq)(e.response.duration)),1)]),a(e.response)?(N(),P(`span`,jqt,[n[1]||=I(`span`,{class:`sr-only`},`, Size:`,-1),L(` `+D(a(e.response)),1)])):R(``,!0),o.value?(N(),P(B,{key:1},[n[2]||=I(`span`,{class:`sr-only`},`, Status:`,-1),o.value.url?(N(),F(XK,{key:0,class:`flex items-center gap-1.5`,href:o.value.url},{default:A(()=>[L(D(e.response.status)+` `+D(o.value.name)+` `,1),I(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:Kc({backgroundColor:o.value.color})},null,4)]),_:1},8,[`href`])):(N(),P(`span`,Mqt,[L(D(e.response.status)+` `+D(o.value.name)+` `,1),I(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:Kc({backgroundColor:o.value.color})},null,4)]))],64)):R(``,!0)],64))]))}})})),Fqt,Iqt=c((()=>{Pqt(),Fqt=Nqt})),Lqt,Rqt,rq,zqt,Bqt=c((()=>{hN(),lF(),dF(),TKt(),LKt(),GKt(),YKt(),eqt(),cqt(),mqt(),yqt(),Iqt(),U(),Y(),Lqt={class:`flex h-8 flex-1 items-center`},Rqt=[`id`,`role`],rq=2e5,zqt=j({__name:`ResponseSection`,props:{collection:{},operation:{},workspace:{},numWorkspaceRequests:{},response:{},requestResult:{}},setup(e){let t=mN().getViewComponents(`response.section`),n=H(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??``,required:!1})):[]}),r=H(()=>e.response?.cookieHeaderKeys.flatMap(t=>{let n=e.response?.headers?.[t];return n?{name:t,value:n,required:!1}:[]})??[]),i=[`Cookies`,`Headers`,`Body`],a=O(`All`),o=H(()=>[`All`,...i]),s=H(()=>Object.fromEntries(o.value.map(e=>[e,ud()]))),c=H(()=>{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)<=rq||t.includes(`text/html`)?!1:[`text/`,`application/json`,`application/ld+json`,`application/problem+json`,`application/vnd.api+json`,`application/xml`,`application/atom+xml`,`application/rss+xml`,`application/problem+xml`,`application/javascript`,`application/ecmascript`,`application/x-yaml`,`application/yaml`,`application/x-httpd-php`,`application/x-sh`,`application/x-perl`,`application/x-python`,`application/x-ruby`,`application/x-java-source`,`application/x-www-form-urlencoded`].some(e=>t.includes(e))&&(e.response.size??0)>rq}),l=H(()=>e.requestResult?.request.parameters.headers.filter(e=>e.enabled).map(e=>({name:e.key,value:e.value,required:!0}))??[]);return(i,u)=>(N(),F(uF,{"aria-label":`Response`},{title:A(()=>[I(`div`,Lqt,[I(`div`,{"aria-live":`polite`,class:E([`flex items-center`,{"animate-response-heading":e.response}])},[u[1]||=I(`span`,{class:`response-heading pointer-events-none absolute`},` Response `,-1),e.response?(N(),F(Fqt,{key:0,class:`animate-response-children`,response:e.response},null,8,[`response`])):R(``,!0)],2),V(cF,{modelValue:a.value,"onUpdate:modelValue":u[0]||=e=>a.value=e,filterIds:s.value,filters:o.value},null,8,[`modelValue`,`filterIds`,`filters`])])]),default:A(()=>[I(`div`,{id:s.value.All,class:E([`custom-scroll response-section-content relative grid h-full justify-stretch`,{"content-start":e.response}]),role:a.value===`All`&&e.response?`tabpanel`:`none`},[e.response?(N(),P(B,{key:1},[a.value===`All`||a.value===`Cookies`?(N(),F($Kt,{key:0,class:`response-section-content-cookies`,id:s.value.Cookies,cookies:r.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`cookies`,`role`])):R(``,!0),a.value===`All`||a.value===`Headers`?(N(),F(IKt,{key:1,class:`response-section-content-headers`,id:s.value.Headers,headers:l.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`headers`,`role`])):R(``,!0),a.value===`All`||a.value===`Headers`?(N(),F(pqt,{key:2,class:`response-section-content-headers`,id:s.value.Headers,headers:n.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`headers`,`role`])):R(``,!0),(N(!0),P(B,null,yd(k(t),(e,t)=>(N(),F(k(Uj),{key:e.title??t},{default:A(()=>[Xu((N(),F(vd(e.component),z({ref_for:!0},e.props??{}),null,16)),[[Rp,a.value===`All`||a.value===e.title]])]),_:2},1024))),128)),a.value===`All`||a.value===`Body`?(N(),P(B,{key:3},[`reader`in e.response?(N(),F(WKt,{key:0,class:`response-section-content-body`,id:s.value.Body,reader:e.response.reader},null,8,[`id`,`reader`])):c.value&&typeof e.response?.data==`string`?(N(),F(JKt,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,headers:n.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`content`,`data`,`headers`,`role`])):(N(),F(wKt,{key:2,class:`response-section-content-body`,id:s.value.Body,layout:`client`,active:!0,data:e.response?.data,headers:n.value,role:a.value===`All`?`none`:`tabpanel`,title:`Body`},null,8,[`id`,`data`,`headers`,`role`]))],64)):R(``,!0)],64)):(N(),F(sqt,{key:0,collection:e.collection,operation:e.operation,workspace:e.workspace,numWorkspaceRequests:e.numWorkspaceRequests},null,8,[`collection`,`operation`,`workspace`,`numWorkspaceRequests`])),V(vqt)],10,Rqt)]),_:1}))}})})),Vqt,Hqt=c((()=>{Mg(),Bqt(),Vqt=jg(zqt,[[`__scopeId`,`data-v-6e4eec82`]])})),Uqt,Wqt,Gqt=c((()=>{U(),Y(),Rx(),Uqt=[`href`],Wqt=j({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{}},setup(e){let t=H(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=Hv(t);if(!n?.length)return;let r=new URL(e.isDevelopment?`http://localhost:5065`:`https://client.scalar.com`);if(r.searchParams.set(`url`,n),e.integration!==null&&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),e.source===`gitbook`){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,n)=>t.value?(N(),P(`a`,{key:0,class:`open-api-client-button`,href:t.value,target:`_blank`},[V(k(nM),{icon:`ExternalLink`,size:`xs`,thickness:`2`}),n[0]||=L(` Open API Client `,-1)],8,Uqt)):R(``,!0)}})})),iq,aq=c((()=>{Mg(),Gqt(),iq=jg(Wqt,[[`__scopeId`,`data-v-c7bdd328`]])})),Kqt,qqt,Jqt,Yqt,Xqt=c((()=>{Pg(),pN(),tN(),gQt(),aq(),U(),Y(),wP(),Kqt={class:`lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center border-b p-2 pt-2 lg:p-1 lg:pt-1`},qqt={class:`mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1`},Jqt={class:`mb-2 flex w-1/2 flex-row items-center justify-end gap-1 lg:mb-0 lg:flex-1 lg:px-2.5`},Yqt=j({__name:`RequestSubpageHeader`,props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:[`hideModal`,`importCurl`],setup(e){let{hideClientButton:t,showSidebar:n,integration:r}=eN(),{isSidebarOpen:i}=fN(),{layout:a}=Ng(),{currentRoute:o}=bP();return(s,c)=>(N(),P(`div`,Kqt,[I(`div`,qqt,[k(n)?(N(),P(`div`,{key:0,class:E([`size-8`,{hidden:k(a)===`modal`&&!k(i)}])},null,2)):R(``,!0)]),V(hQt,{collection:e.collection,envVariables:e.envVariables,environment:e.environment,operation:e.operation,server:e.server,workspace:e.workspace,onImportCurl:c[0]||=e=>s.$emit(`importCurl`,e)},null,8,[`collection`,`envVariables`,`environment`,`operation`,`server`,`workspace`]),I(`div`,Jqt,[k(a)===`modal`&&e.collection.documentUrl&&!k(t)?(N(),F(k(iq),{key:0,buttonSource:`modal`,class:`!w-fit lg:-mr-1`,integration:k(r)??e.collection.integration??null,source:k(o).query.source===`gitbook`?`gitbook`:`api-reference`,url:e.collection.documentUrl},null,8,[`integration`,`source`,`url`])):R(``,!0),k(a)===`modal`?(N(),P(`button`,{key:1,class:`app-exit-button gitbook-hidden zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2`,type:`button`,onClick:c[1]||=e=>s.$emit(`hideModal`)},[V(k(nM),{icon:`Close`,size:`lg`,thickness:`2`}),c[3]||=I(`span`,{class:`sr-only`},`Close Client`,-1)])):R(``,!0),k(a)===`modal`?(N(),P(`button`,{key:2,class:`text-c-1 hover:bg-b-2 active:text-c-1 gitbook-show -mr-1.5 rounded p-2`,type:`button`,onClick:c[2]||=e=>s.$emit(`hideModal`)},[V(k(nM),{icon:`Close`,size:`md`,thickness:`1.75`}),c[4]||=I(`span`,{class:`sr-only`},`Close Client`,-1)])):R(``,!0)])]))}})})),Zqt,Qqt=c((()=>{Mg(),Xqt(),Zqt=jg(Yqt,[[`__scopeId`,`data-v-c8df97c6`]])})),$qt,eJt,tJt,nJt=c((()=>{cN(),Pg(),pN(),tN(),NTt(),oF(),zTt(),ENt(),PNt(),Hqt(),Qqt(),U(),$qt={class:`flex h-full`},eJt={key:0,class:`flex h-full flex-1 flex-col`},tJt=j({__name:`Request`,props:{invalidParams:{},selectedSecuritySchemeUids:{},requestResult:{}},emits:[`newTab`],setup(e){let{events:t}=eN(),{isSidebarOpen:n}=fN(),r=eN(),{layout:i}=Ng(),{activeCollection:a,activeExample:o,activeRequest:s,activeWorkspace:c,activeServer:l,activeEnvVariables:u,activeEnvironment:d,activeWorkspaceRequests:f}=sN(),{modalState:p,requestHistory:m}=r,h=H(()=>[...m].reverse().find(e=>e.request.uid===o.value?.uid));function g(e){t.commandPalette.emit({commandName:`Import from cURL`,metaData:{parsedCurl:MTt(e),collectionUid:a.value?.uid}})}return(t,r)=>k(a)&&k(c)?(N(),P(`div`,{key:0,class:E([`bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0`,{"!mr-0 !mb-0 !border-0":k(i)===`modal`}])},[I(`div`,$qt,[k(s)?(N(),P(`div`,eJt,[V(Zqt,{modelValue:k(n),"onUpdate:modelValue":r[0]||=e=>cu(n)?n.value=e:null,collection:k(a),envVariables:k(u),environment:k(d),operation:k(s),server:k(l),workspace:k(c),onHideModal:r[1]||=()=>k(p).hide(),onImportCurl:g},null,8,[`modelValue`,`collection`,`envVariables`,`environment`,`operation`,`server`,`workspace`]),V(aF,null,{default:A(()=>[k(o)?(N(),F(sF,{key:0,class:E([`flex-1`,[k(n)?`sidebar-active-hide-layout`:``]])},{default:A(()=>[V(TNt,{collection:k(a),envVariables:k(u),environment:k(d),example:k(o),invalidParams:e.invalidParams,operation:k(s),selectedSecuritySchemeUids:e.selectedSecuritySchemeUids,server:k(l),workspace:k(c)},null,8,[`collection`,`envVariables`,`environment`,`example`,`invalidParams`,`operation`,`selectedSecuritySchemeUids`,`server`,`workspace`]),V(Vqt,{collection:k(a),numWorkspaceRequests:k(f).length,operation:k(s),requestResult:e.requestResult,response:h.value?.response,workspace:k(c)},null,8,[`collection`,`numWorkspaceRequests`,`operation`,`requestResult`,`response`,`workspace`])]),_:1},8,[`class`])):R(``,!0)]),_:1})])):(N(),F(tL,{key:1}))])],2)):(N(),F(tL,{key:1}))}})})),rJt=u({default:()=>iJt}),iJt,aJt=c((()=>{Mg(),nJt(),iJt=jg(tJt,[[`__scopeId`,`data-v-57ae0d10`]])})),oJt,sJt,cJt,lJt=c((()=>{U(),Y(),oJt=[`for`],sJt=[`id`,`placeholder`,`value`],cJt=j({__name:`LabelInput`,props:{inputId:{},placeholder:{},value:{},layout:{}},emits:[`updateValue`],setup(e,{emit:t}){let n=t,{cx:r}=RS(),i=e=>{let t=e.target;n(`updateValue`,t.value)};return(t,n)=>(N(),P(`div`,qc(Vd(k(r)(`flex-1 flex gap-1 items-center pointer-events-none group`))),[e.layout===`modal`?(N(),P(`span`,qc(z({key:1},k(r)(`flex items-center text-c-1 h-8`))),D(e.value),17)):(N(),P(B,{key:0},[I(`label`,z(k(r)(`absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text`),{for:e.inputId}),null,16,oJt),I(`input`,z(k(r)(`flex-1 text-c-1 rounded pointer-events-auto relative w-full pl-1.25 -ml-0.5 md:-ml-1.25 h-8 group-hover-input has-[:focus-visible]:outline z-10`),{id:e.inputId,placeholder:e.placeholder,value:e.value,onInput:i}),null,16,sJt)],64))],16))}})})),uJt,dJt=c((()=>{Mg(),lJt(),uJt=jg(cJt,[[`__scopeId`,`data-v-fced736a`]])})),fJt,pJt,mJt,hJt=c((()=>{cN(),tN(),swt(),dJt(),U(),Y(),$P(),fJt=[`aria-label`],pJt={class:`group relative ml-1.25`},mJt=j({__name:`CollectionInfoForm`,setup(e){let{activeCollection:t}=sN(),{collectionMutators:n}=eN(),r=H(()=>t?.value?.[`x-scalar-icon`]||`interface-content-folder`),i=e=>{t?.value?.uid&&n.edit(t?.value?.uid,`x-scalar-icon`,e)},a=e=>{t.value&&n.edit(t.value.uid,`info.title`,e)},o=H(()=>({icon:t?.value?.[`x-scalar-icon`],title:t?.value?.info?.title,description:t?.value?.info?.description,version:t?.value?.info?.version}));return(e,t)=>(N(),P(`div`,{"aria-label":`Collection: ${o.value.title}`,class:`mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]`},[V(eF,{modelValue:r.value,placement:`bottom-start`,"onUpdate:modelValue":t[0]||=e=>i(e)},{default:A(()=>[V(k(KS),{class:`hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit`,variant:`ghost`},{default:A(()=>[V(k(QP),{class:`text-c-2 size-5`,src:r.value,"stroke-width":`2`},null,8,[`src`])]),_:1})]),_:1},8,[`modelValue`]),I(`div`,pJt,[V(uJt,{class:`text-xl font-bold`,inputId:`collectionName`,placeholder:`Untitled Collection`,value:o.value.title,onUpdateValue:a},null,8,[`value`])])],8,fJt))}})})),gJt,_Jt=c((()=>{Mg(),hJt(),gJt=jg(mJt,[[`__scopeId`,`data-v-68d5218e`]])})),vJt,yJt,bJt,xJt,SJt=c((()=>{hq(),cN(),_Jt(),U(),wP(),$P(),vJt={class:`bg-b-1 sticky -top-[104px] z-10 mx-auto w-full`},yJt={key:0,class:`flex max-w-40 items-center`},bJt={class:`text-c-1 mr-[6.25px] hidden overflow-hidden px-2 font-medium text-ellipsis whitespace-nowrap md:block`},xJt=j({__name:`CollectionNavigation`,props:{isSticky:{type:Boolean}},setup(e){let{currentRoute:t}=bP(),{activeCollection:n}=sN(),r=H(()=>[{displayName:`Overview`,to:{name:`collection.overview`,params:{[mq.Collection]:n.value?.uid}}},{displayName:`Servers`,to:{name:`collection.servers`,params:{[mq.Collection]:n.value?.uid}}},{displayName:`Authentication`,to:{name:`collection.authentication`,params:{[mq.Collection]:n.value?.uid}}},{displayName:`Environment`,to:{name:`collection.environment`,params:{[mq.Collection]:n.value?.uid}}},{displayName:`Settings`,to:{name:`collection.settings`}}]);return(i,a)=>(N(),P(`div`,vJt,[V(gJt),I(`div`,{class:E([`items-center text-sm font-medium`,e.isSticky?`h-fit border-b md:grid md:grid-cols-[1fr_720px_1fr] md:px-4`:`flex md:mx-auto md:max-w-[720px]`])},[e.isSticky?(N(),P(`div`,yJt,[V(k(QP),{class:`text-c-2 hidden size-3.5 md:block`,src:k(n)?.[`x-scalar-icon`]||`interface-content-folder`,"stroke-width":`2`},null,8,[`src`]),I(`span`,bJt,D(k(n)?.info?.title),1)])):R(``,!0),I(`div`,{class:E([`flex w-full max-w-[720px] gap-2 pl-1.5 md:ml-1.5 md:pl-0`,!e.isSticky&&`border-b`])},[(N(!0),P(B,null,yd(r.value,({to:e,displayName:n},r)=>(N(),F(k(xP),{key:r,class:`-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline`,to:e},{default:A(()=>[I(`span`,{class:E([`flex-center h-full w-full border-b`,typeof e.name==`string`&&typeof k(t).name==`string`&&k(t).name?.startsWith(e.name)?`text-c-1 border-c-1`:`text-c-2 hover:text-c-1 border-transparent`])},D(n),3)]),_:2},1032,[`to`]))),128))],2)],2)]))}})})),CJt,wJt=c((()=>{SJt(),CJt=xJt})),TJt,EJt,DJt=c((()=>{hq(),cN(),oF(),dF(),wJt(),U(),wP(),aw(),TJt={class:`w-full md:mx-auto md:max-w-[720px]`},EJt=j({__name:`Collection`,setup(e){let{activeCollection:t}=sN(),n=bP(),r=O(null),{y:i}=IMe(r),a=H(()=>i.value>104);return nd(t,e=>{if(e?.info?.title===`Drafts`){let t=e.requests[0];n.push({name:`request`,params:{[mq.Request]:t}})}},{immediate:!0}),(e,t)=>(N(),F(aF,{ref_key:`el`,ref:r,class:`h-fit overflow-auto pb-6 xl:overflow-auto`},{default:A(()=>[V(uF,{class:`xl:h-fit`},{default:A(()=>[V(CJt,{isSticky:a.value},null,8,[`isSticky`]),I(`div`,TJt,[V(k(CP))])]),_:1})]),_:1},512))}})})),OJt=u({default:()=>kJt}),kJt,AJt=c((()=>{DJt(),kJt=EJt})),jJt,MJt,NJt,PJt,FJt,IJt,LJt=c((()=>{vq(),U(),Y(),jJt={class:`flex h-full w-full flex-col gap-2 pt-8`},MJt={class:`flex min-h-8 items-center justify-between gap-2 pl-1.5`},NJt={class:`has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg`},PJt={class:`flex h-full min-h-[calc(1rem*4)] flex-col`},FJt={key:1,class:`text-c-3 flex h-full items-center justify-center rounded-lg border p-4`},IJt=j({__name:`MarkdownInput`,props:{modelValue:{},environment:{},envVariables:{},workspace:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=O(`preview`),i=O(null);nd(r,e=>{e===`edit`&&Ku(()=>{i.value?.focus()})});let a=()=>{requestAnimationFrame(()=>{r.value=`preview`})};return(t,o)=>(N(),P(`div`,jJt,[I(`div`,MJt,[o[5]||=I(`h3`,{class:`font-bold`},`Description`,-1),r.value===`preview`?(N(),F(k(KS),{key:0,class:`text-c-2 hover:text-c-1 flex items-center gap-2`,size:`sm`,type:`button`,variant:`outlined`,onClick:o[0]||=e=>r.value=`edit`},{default:A(()=>[V(k(nM),{icon:`Pencil`,size:`sm`,thickness:`1.5`}),o[4]||=I(`span`,null,`Edit`,-1)]),_:1})):R(``,!0)]),I(`div`,NJt,[I(`div`,PJt,[r.value===`preview`?(N(),P(B,{key:0},[e.modelValue&&e.modelValue.trim().length?(N(),P(B,{key:0},[e.modelValue?(N(),F(k(_M),{key:0,class:`h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)`,value:e.modelValue,withImages:``,onDblclick:o[1]||=e=>r.value=`edit`},null,8,[`value`])):R(``,!0),o[6]||=I(`div`,{class:`brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden`},null,-1)],64)):(N(),P(`div`,FJt,[V(k(KS),{class:`hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2`,size:`sm`,variant:`ghost`,onClick:o[2]||=e=>r.value=`edit`},{default:A(()=>[V(k(nM),{icon:`Pencil`,size:`sm`,thickness:`1.5`}),o[7]||=I(`span`,null,`Write a description`,-1)]),_:1})]))],64)):R(``,!0),r.value===`edit`?(N(),F(_q,{key:1,ref_key:`codeInputRef`,ref:i,class:`h-full flex-1 border px-0.5 py-0`,envVariables:e.envVariables,environment:e.environment,modelValue:e.modelValue,workspace:e.workspace,onBlur:a,"onUpdate:modelValue":o[3]||=e=>n(`update:modelValue`,e)},null,8,[`envVariables`,`environment`,`modelValue`,`workspace`])):R(``,!0)])])]))}})})),RJt,zJt=c((()=>{Mg(),LJt(),RJt=jg(IJt,[[`__scopeId`,`data-v-5997a667`]])})),BJt,VJt=c((()=>{cN(),tN(),dF(),zJt(),U(),BJt=j({__name:`CollectionOverview`,setup(e){let{activeCollection:t,activeEnvironment:n,activeEnvVariables:r,activeWorkspace:i}=sN(),{collectionMutators:a}=eN(),o=e=>{t.value&&a.edit(t.value.uid,`info.description`,e)};return(e,a)=>(N(),F(uF,null,{default:A(()=>[k(n)&&k(i)?(N(),F(RJt,{key:0,envVariables:k(r),environment:k(n),modelValue:k(t)?.info?.description??``,workspace:k(i),"onUpdate:modelValue":o},null,8,[`envVariables`,`environment`,`modelValue`,`workspace`])):R(``,!0)]),_:1}))}})})),HJt=u({default:()=>UJt}),UJt,WJt=c((()=>{VJt(),UJt=BJt})),GJt,KJt,qJt=c((()=>{U(),Y(),EC(),GJt={key:0,class:`sr-only`},KJt=j({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=H(()=>n.enum.map(e=>({id:e,label:e}))),a=H({get:()=>i.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(N(),F(k(kj),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:i.value},{default:A(()=>[V(k(KS),{"aria-controls":e.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:A(()=>[I(`span`,{class:E({"text-c-1":e.value})},[e.value?(N(),P(`span`,GJt,` Selected: `)):R(``,!0),L(` `+D(e.value||`Select value`),1)],2),V(k(oC),{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`]))}})})),JJt,YJt=c((()=>{qJt(),JJt=KJt})),XJt,ZJt=c((()=>{U(),XJt=j({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=H({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>Xu((N(),P(`input`,z({"onUpdate:modelValue":n[0]||=e=>i.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)),[[Xp,i.value]])}})})),QJt,$Jt=c((()=>{ZJt(),QJt=XJt})),eYt,tYt,nYt=c((()=>{YJt(),$Jt(),U(),eYt=[`for`],tYt=j({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=ud();function i(e,t){n(`update:variable`,e,t)}let a=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(N(!0),P(B,{key:0},yd(Object.keys(e.variables),t=>(N(),P(`div`,{key:t,class:E([`group/label flex h-8 w-full`,e.layout===`reference`&&`items-center border-x border-b last:rounded-b-lg`])},[I(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${k(r)}-${t}`},D(t),9,eYt),e.variables?.[t]?.enum?.length?(N(),F(JJt,{key:0,id:`${k(r)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`enum`,`value`,`onChange`])):(N(),F(QJt,{key:1,id:`${k(r)}-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):R(``,!0)}})})),oq,sq=c((()=>{nYt(),oq=tYt})),rYt,iYt,aYt,oYt,sYt,cYt=c((()=>{cN(),hF(),MDt(),xF(),dF(),U(),Y(),rYt={key:0},iYt={class:`flex flex-1 flex-col gap-1.5`},aYt=[`for`],oYt={class:`centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5`},sYt=j({__name:`Form`,props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup(e){let{activeEnvVariables:t,activeEnvironment:n,activeWorkspace:r}=sN(),i=ud();return(a,o)=>(N(),F(uF,{class:`last:rounded-b-lg`},bd({default:A(()=>[I(`div`,iYt,[Object.keys(e.data).length>0&&k(r)?(N(),F(mF,{key:0,columns:[``],class:`rounded-b-lg`},{default:A(()=>[(N(!0),P(B,null,yd(e.options,(a,o)=>(N(),F(bF,{key:o,class:E({"border-t":o===0})},{default:A(()=>[V(IF,{class:`pr-9`,lineWrapping:``,id:k(i),envVariables:k(t),environment:k(n),modelValue:e.data[a.key]??``,placeholder:a.placeholder,workspace:k(r),"onUpdate:modelValue":t=>e.onUpdate(a.key,t)},bd({default:A(()=>[I(`label`,{for:k(i)},D(a.label),9,aYt)]),_:2},[a.key===`description`?{name:`icon`,fn:A(()=>[I(`div`,oYt,[V(k(nM),{icon:`Markdown`,size:`lg`})])]),key:`0`}:void 0]),1032,[`id`,`envVariables`,`environment`,`modelValue`,`placeholder`,`workspace`,`onUpdate:modelValue`])]),_:2},1032,[`class`]))),128))]),_:1})):R(``,!0)])]),_:2},[e.title||a.$slots.title?{name:`title`,fn:A(()=>[e.title?(N(),P(`span`,rYt,D(e.title),1)):M(a.$slots,`title`,{key:1})]),key:`0`}:void 0]),1024))}})})),lYt,uYt=c((()=>{cYt(),lYt=sYt})),dYt,fYt=c((()=>{cN(),tN(),sq(),uYt(),U(),Rx(),dYt=j({__name:`CollectionServerForm`,props:{collectionId:{default:``},serverUid:{default:``}},setup(e){let t=e,{activeWorkspaceCollections:n}=sN(),{servers:r,serverMutators:i}=eN(),a=[{label:`URL`,key:`url`,placeholder:`https://void.scalar.com`,type:`text`},{label:`Description`,key:`description`,placeholder:`Production`,type:`text`}],o=H(()=>{let e=n.value.find(e=>e.uid===t.collectionId);return r[e&&typeof t.serverUid==`string`&&t.serverUid===`default`?e.servers[0]??``:e?.servers.find(e=>e===t.serverUid)??``]});nd(H(()=>o.value?.url?o.value.url.match(Dv.PATH)?.map(e=>e.slice(1,-1))??[]:[]),e=>{if(!o.value)return;let t=o.value.variables?{...o.value.variables}:{};Object.keys(t).forEach(n=>{e.includes(n)||delete t[n]}),e.forEach(e=>{t[e]||(t[e]={default:``})}),i.edit(o.value.uid,`variables`,t)},{immediate:!0});let s=(e,t)=>{!n.value||!o.value||i.edit(o.value.uid,e,t)},c=(e,t)=>{if(!o.value)return;let n=o.value.variables||{};n[e]={...n[e],default:t},i.edit(o.value.uid,`variables`,n)};return(e,t)=>(N(),P(`div`,{class:E([`divide-0.5 flex w-full flex-col divide-y rounded-b-lg text-sm`,o.value?.variables&&`bg-b-1`])},[o.value?(N(),P(B,{key:0},[V(lYt,{data:o.value,onUpdate:s,options:a},null,8,[`data`]),o.value.variables?(N(),F(oq,{key:0,variables:o.value.variables,"onUpdate:variable":c},null,8,[`variables`])):R(``,!0)],64)):R(``,!0)],2))}})})),pYt,mYt=c((()=>{fYt(),pYt=dYt})),hYt,gYt,_Yt,vYt,yYt,bYt,xYt,SYt=c((()=>{cN(),tN(),uP(),mYt(),U(),Y(),EC(),hYt={class:`flex h-full w-full flex-col gap-12 px-1.5 pt-8`},gYt={class:`flex flex-col gap-4`},_Yt={class:`rounded-lg border`},vYt={class:`bg-b-2 flex items-start justify-between rounded-t-lg py-1 pr-1 pl-3 text-sm`},yYt={key:1,class:`self-center`},bYt={class:`text-c-3 flex h-full items-center justify-center rounded-lg border p-4`},xYt=j({__name:`CollectionServers`,setup(e){let{activeCollection:t}=sN(),{servers:n,events:r,serverMutators:i}=eN(),a=EM(),o=O(null),s=H(()=>!n||!t.value?.servers?[]:Object.values(n).filter(e=>t.value?.servers.includes(e.uid))),c=()=>r.commandPalette.emit({commandName:`Add Server`}),l=()=>{!t.value?.uid||!o.value||(i.delete(o.value,t.value.uid),a.hide())},u=e=>{o.value=e,a.show()};return(e,r)=>(N(),P(`div`,hYt,[I(`div`,gYt,[r[2]||=Ud(`<div class="flex items-start justify-between gap-2"><div class="flex flex-col gap-2"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>`,1),(N(!0),P(B,null,yd(s.value,(e,n)=>(N(),P(`div`,{key:e.uid},[I(`div`,_Yt,[I(`div`,vYt,[e.description?(N(),F(k(_M),{key:0,class:`self-center`,value:e.description},null,8,[`value`])):(N(),P(`span`,yYt,`Server `+D(n+1),1)),V(k(KS),{class:`hover:bg-b-3 hover:text-c-1 h-fit p-1.25`,variant:`ghost`,onClick:t=>u(e.uid)},{default:A(()=>[V(k(SC),{class:`size-3.5`})]),_:1},8,[`onClick`])]),k(t)?(N(),F(pYt,{key:0,collectionId:k(t).uid,serverUid:e.uid},null,8,[`collectionId`,`serverUid`])):R(``,!0)])]))),128)),I(`div`,bYt,[V(k(KS),{class:`hover:bg-b-2 hover:text-c-1 flex items-center gap-2`,size:`sm`,variant:`ghost`,onClick:c},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Add`,size:`sm`,thickness:`1.5`}),r[1]||=I(`span`,null,`Add Server`,-1)]),_:1})])]),V(k(DM),{size:`xxs`,state:k(a),title:`Delete ${o.value?k(n)[o.value]?.url:`Server`}`},{default:A(()=>[V(lP,{variableName:`Server`,warningMessage:`Are you sure you want to delete this server? This action cannot be undone.`,onClose:r[0]||=e=>k(a).hide(),onDelete:l})]),_:1},8,[`state`,`title`])]))}})})),CYt=u({default:()=>wYt}),wYt,TYt=c((()=>{SYt(),wYt=xYt})),EYt,DYt,OYt,kYt=c((()=>{U(),Y(),EYt=[`onClick`],DYt=[`placeholder`],OYt=j({__name:`EnvironmentColors`,props:{activeColor:{},selector:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=O(``),a=O(null),o=O(!1),s=O(!1),c=[{color:`#FFFFFF`},{color:`#EF0006`},{color:`#EDBE20`},{color:`#069061`},{color:`#FB892C`},{color:`#0082D0`},{color:`#5203D1`},{color:`#FFC0CB`}],l=H(()=>n.activeColor&&!c.some(e=>e.color===n.activeColor)||i.value?`background-color: ${n.activeColor||i.value};`:`background: linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122));`),u=()=>{o.value=!o.value,n.selector&&(s.value=!1),Ku(()=>{a.value&&a.value.focus()})};nd(i,e=>{e&&!e.startsWith(`#`)&&(i.value=`#${e}`),o.value=!0});let d=()=>{n.selector&&(s.value=!s.value)},f=e=>{r(`select`,e),n.selector&&(s.value=!1)};return(t,r)=>(N(),P(`div`,null,[o.value?R(``,!0):(N(),P(B,{key:0},[n.selector&&!s.value?(N(),P(`div`,{key:0,class:E([`flex cursor-pointer items-center justify-center rounded-full`,n.selector?`h-4 w-4`:`h-5 w-5`]),style:Kc({backgroundColor:e.activeColor}),onClick:d},[e.activeColor?(N(),F(k(nM),{key:0,class:E([`text-c-btn`,n.selector&&`p-0.5`]),icon:`Checkmark`,size:`xs`},null,8,[`class`])):R(``,!0)],6)):R(``,!0),s.value||!n.selector?(N(),P(`div`,{key:1,class:E([`color-selector flex flex-row items-center justify-between gap-1.5 space-x-1`,n.selector?`h-4`:`min-h-10 min-w-[296px]`])},[(N(),P(B,null,yd(c,t=>I(`div`,{key:t.color,class:E([`flex cursor-pointer items-center justify-center rounded-full`,n.selector?`h-4 w-4`:`h-5 w-5`]),style:Kc({backgroundColor:t.color}),onClick:e=>f(t.color)},[e.activeColor===t.color&&!i.value?(N(),F(k(nM),{key:0,class:E([`text-c-btn`,n.selector&&`p-0.5`]),icon:`Checkmark`,size:`xs`},null,8,[`class`])):R(``,!0)],14,EYt)),64)),r[2]||=I(`hr`,{class:`border-ghost h-5 w-0.5 border-l`},null,-1),I(`label`,{class:E([`z-10 flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full`,n.selector?`h-4 w-4`:`h-5 w-5`]),style:Kc(l.value),onClick:u},[!o.value&&(e.activeColor===i.value||e.activeColor&&!c.some(t=>t.color===e.activeColor))?(N(),F(k(nM),{key:0,class:`text-c-btn`,icon:`Checkmark`,size:`xs`})):R(``,!0)],6)],2)):R(``,!0)],64)),o.value?(N(),P(`div`,{key:1,class:E([`color-selector flex flex-1 items-center gap-2 rounded`,n.selector?`h-4`:`min-h-10`])},[I(`span`,{class:E([`absolute rounded-full border border-dashed`,n.selector?`h-4 w-4`:`h-5 w-5`])},null,2),I(`span`,{class:E([`z-[1] rounded-full`,n.selector?`h-4 w-4`:`h-5 w-5`]),style:Kc(l.value)},null,6),Xu(I(`input`,{ref_key:`customColorInputRef`,ref:a,"onUpdate:modelValue":r[0]||=e=>i.value=e,class:`w-full flex-1 border-transparent text-sm outline-none`,placeholder:e.activeColor||`#000000`,type:`text`,onInput:r[1]||=e=>f(i.value)},null,40,DYt),[[Xp,i.value]]),I(`button`,{class:`text-c-3 hover:bg-b-2 rounded-lg p-1.5`,type:`button`,onClick:u},[V(k(nM),{icon:`Checkmark`,size:`xs`})])],2)):R(``,!0)]))}})})),cq,AYt=c((()=>{kYt(),cq=OYt})),jYt,MYt,NYt=c((()=>{cP(),AYt(),U(),Y(),jYt={class:`flex flex-col gap-4`},MYt=j({__name:`EnvironmentColorModal`,props:{state:{},selectedColor:{}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=e,r=t,i=O(``),a=e=>{i.value=e},o=()=>{r(`submit`,i.value),i.value=``};return(t,s)=>(N(),F(k(DM),{size:`xxs`,state:e.state,title:`Edit Environment Color`},{default:A(()=>[I(`div`,jYt,[V(cq,{activeColor:i.value||n.selectedColor,class:`w-full p-1`,onSelect:a},null,8,[`activeColor`]),V(sP,{onCancel:s[0]||=e=>r(`cancel`),onSubmit:o})])]),_:1},8,[`state`]))}})})),PYt,FYt=c((()=>{NYt(),PYt=MYt})),IYt,LYt,RYt,zYt=c((()=>{U(),Y(),IYt={class:`flex gap-2`},LYt={class:`flex max-h-8 flex-1`},RYt=j({__name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:r[0]||=em($p(()=>{},[`stop`]),[`enter`]),onSubmit:r[1]||=$p(t=>!e.disabled&&n.$emit(`submit`),[`prevent`,`stop`])},[I(`div`,qc(Vd(k(t)(`relative flex min-h-20 flex-col rounded`))),[M(n.$slots,`default`)],16),I(`div`,IYt,[I(`div`,LYt,[M(n.$slots,`options`)]),V(k(KS),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:A(()=>[M(n.$slots,`submit`,{},()=>[r[2]||=L(`Continue`,-1)])]),_:3},8,[`disabled`,`loader`])])],32))}})})),lq,BYt=c((()=>{zYt(),lq=RYt})),VYt,HYt,UYt=c((()=>{U(),VYt=[`placeholder`],HYt=j({inheritAttrs:!1,__name:`CommandActionInput`,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean}},emits:[`update:modelValue`,`onDelete`],setup(e,{emit:t}){let n=e,r=t,i=O(null);Af(()=>Ku(()=>{n.autofocus&&i.value?.focus()}));let a=H({get:()=>n.modelValue??``,set:e=>r(`update:modelValue`,e)});function o(e){if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,n=new Event(`submit`,{cancelable:!0});t.form?.dispatchEvent(n)}function s(e){a.value===``&&(e.preventDefault(),e.stopPropagation(),r(`onDelete`,e))}return(e,t)=>Xu((N(),P(`textarea`,z({id:`command-action-input`,ref_key:`input`,ref:i,"onUpdate:modelValue":t[0]||=e=>a.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:n.placeholder??``,wrap:`hard`},e.$attrs,{onKeydown:[t[1]||=em(e=>s(e),[`delete`]),t[2]||=em(e=>o(e),[`enter`])]}),null,16,VYt)),[[Xp,a.value]])}})})),uq,WYt=c((()=>{UYt(),uq=HYt})),GYt,KYt,qYt=c((()=>{tN(),BYt(),WYt(),AYt(),U(),Y(),tP(),GYt={class:`flex items-start gap-2`},KYt=j({__name:`EnvironmentModal`,props:{state:{},activeWorkspaceCollections:{},collectionId:{}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=e,r=t,{events:i}=eN(),a=O(``),o=O(`#FFFFFF`),s=H(()=>[...n.activeWorkspaceCollections.filter(e=>e.info?.title!==`Drafts`).map(e=>({id:e.uid,label:e.info?.title??`Untitled Collection`}))]),c=O(s.value.find(e=>e.id===n.collectionId)),{toast:l}=QN(),u=e=>{o.value=e};nd(()=>n.state.open,e=>{e&&(a.value=``,o.value=`#FFFFFF`,n.collectionId?c.value=s.value.find(e=>e.id===n.collectionId):c.value=void 0)});let d=()=>{if(!a.value.trim()){l(`Please enter a name before adding an environment.`,`error`);return}if(!c.value?.id){l(`Please select a collection before adding an environment.`,`error`);return}r(`submit`,{name:a.value,color:o.value,type:c.value?.id===`global`?`global`:`collection`,collectionId:c.value?.id===`global`?void 0:c.value?.id})},f=()=>{n.state.hide(),i.commandPalette.emit({commandName:`Create Collection`})};return(t,n)=>(N(),F(k(DM),{bodyClass:`border-t-0 rounded-t-lg`,size:`xs`,state:e.state},{default:A(()=>[V(lq,{disabled:!c.value||!a.value.trim(),onCancel:n[2]||=e=>r(`cancel`),onSubmit:d},{options:A(()=>[V(k(kj),{modelValue:c.value,"onUpdate:modelValue":n[1]||=e=>c.value=e,options:s.value,placeholder:`Select Type`},{default:A(()=>[s.value.length>0?(N(),F(k(KS),{key:0,class:`hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs`,variant:`outlined`},{default:A(()=>[I(`span`,{class:E(c.value?`text-c-1`:`text-c-3`)},D(c.value?c.value.label:`Select Collection`),3),V(k(nM),{class:`text-c-3`,icon:`ChevronDown`,size:`xs`})]),_:1})):(N(),F(k(KS),{key:1,class:`hover:bg-b-2 max-h-8 justify-between gap-1 p-2 text-xs`,variant:`outlined`,onClick:f},{default:A(()=>[...n[3]||=[I(`span`,{class:`text-c-1`},`Create Collection`,-1)]]),_:1}))]),_:1},8,[`modelValue`,`options`])]),submit:A(()=>[...n[4]||=[L(` Add Environment `,-1)]]),default:A(()=>[I(`div`,GYt,[V(cq,{activeColor:o.value,class:`peer`,selector:``,onSelect:u},null,8,[`activeColor`]),V(uq,{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,class:`-mt-[.5px] !p-0 peer-has-[.color-selector]:hidden`,placeholder:`Environment name`},null,8,[`modelValue`])])]),_:1},8,[`disabled`])]),_:1},8,[`state`]))}})})),JYt,YYt=c((()=>{qYt(),JYt=KYt})),XYt,ZYt=c((()=>{tN(),vq(),hF(),_F(),yF(),xF(),U(),Y(),EC(),XYt=j({__name:`EnvironmentForm`,props:{collection:{},environment:{},workspace:{},envVariables:{}},setup(e){let{collectionMutators:t}=eN(),n=O([]),r=O(new Set),i=O(new Map),a=O(!1),o=H(()=>{if(!e.environment?.value)return[{key:``,value:``}];try{let t=JSON.parse(e.environment.value),n=Object.entries(t).map(([e,t])=>({key:e,value:String(t)}));return n.length===0?[{key:``,value:``}]:n}catch{return[{key:``,value:``}]}}),s=H(()=>{let e=n.value[n.value.length-1];return e?e.key||e.value?[...n.value,{key:``,value:``}]:n.value:[{key:``,value:``}]}),c=H(()=>{let e=new Map;return n.value.forEach((t,n)=>{if(t.key){let r=e.get(t.key)||[];r.push(n),e.set(t.key,r)}}),i.value.forEach((t,n)=>{if(t){let r=e.get(t)||[];r.push(n),e.set(t,r)}}),Array.from(e.values()).filter(e=>e.length>1).flat()});nd(o,e=>{n.value=[...e],r.value=new Set(e.map(e=>e.key).filter(Boolean))},{immediate:!0});let l=async(o,s,c)=>{if(!a.value){if(s===`key`){i.value.set(o,c);let e=new Set(r.value),t=n.value[o];if(t&&e.delete(t.key),e.has(c))return}a.value=!0;try{let a=[...n.value],l=a[o];if(!l)return;a[o]={key:s===`key`?c:l.key,value:s===`value`?c:l.value},!a[o].key&&!a[o].value&&o!==a.length-1&&a.splice(o,1);let d=a.reduce((e,{key:t,value:n})=>((t||n)&&(e[t]=n),e),{});if(e.collection){let n={...e.collection[`x-scalar-environments`],[e.environment.name]:{...e.collection[`x-scalar-environments`]?.[e.environment.name],variables:d}};await t.edit(e.collection.uid,`x-scalar-environments`,n)}if(o===n.value.length-1){let e=a[a.length-1];e&&(e.key||e.value)&&await u()}await Ku(),n.value=a,s===`key`&&(r.value=new Set(a.map(e=>e.key).filter(Boolean)),i.value.delete(o))}finally{a.value=!1}}},u=async()=>{if(!a.value){a.value=!0;try{let r=[...n.value,{key:``,value:``}],i=r.reduce((e,{key:t,value:n})=>((t||n)&&(e[t]=n),e),{});if(e.collection){let n={...e.collection[`x-scalar-environments`],[e.environment.name]:{...e.collection[`x-scalar-environments`]?.[e.environment.name],variables:i}};await t.edit(e.collection.uid,`x-scalar-environments`,n)}await Ku(),n.value=r}finally{a.value=!1}}},d=async r=>{if(!a.value){a.value=!0;try{let i=[...n.value];i.splice(r,1);let a=i.reduce((e,{key:t,value:n})=>((t||n)&&(e[t]=n),e),{});if(e.collection){let n={...e.collection[`x-scalar-environments`],[e.environment.name]:{...e.collection[`x-scalar-environments`]?.[e.environment.name],variables:a}};await t.edit(e.collection.uid,`x-scalar-environments`,n)}await Ku(),n.value=i}finally{a.value=!1}}},f=async()=>{if(n.value.length===0)await u();else if(n.value.length>=1){let e=n.value[n.value.length-1];e&&(e.key||e.value)&&await u()}};return Af(()=>{f()}),nd(()=>n.value,()=>{f()}),(t,n)=>(N(),F(mF,{class:`group/table flex-1`,columns:[``,``]},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(vF,null,{default:A(()=>[...n[0]||=[L(`Key`,-1)]]),_:1}),V(vF,null,{default:A(()=>[...n[1]||=[L(`Value`,-1)]]),_:1})]),_:1}),(N(!0),P(B,null,yd(s.value,(t,n)=>(N(),F(bF,{key:n,class:E({error:c.value.includes(n)})},{default:A(()=>[V(gF,null,{default:A(()=>[V(_q,{disableCloseBrackets:``,disableEnter:``,disableTabIndent:``,lineWrapping:``,environment:e.environment,envVariables:e.envVariables,modelValue:t.key,placeholder:`Key`,workspace:e.workspace,"onUpdate:modelValue":e=>l(n,`key`,e)},bd({_:2},[c.value.includes(n)?{name:`icon`,fn:A(()=>[V(k(CC),{class:`text-red mr-0.75 size-3.5 brightness-[.9]`})]),key:`0`}:void 0]),1032,[`environment`,`envVariables`,`modelValue`,`workspace`,`onUpdate:modelValue`])]),_:2},1024),V(gF,null,{default:A(()=>[V(_q,{class:`pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10`,disableCloseBrackets:``,disableEnter:``,disableTabIndent:``,lineWrapping:``,environment:e.environment,envVariables:e.envVariables,modelValue:t.value,placeholder:`Value`,workspace:e.workspace,"onUpdate:modelValue":e=>l(n,`value`,e)},{icon:A(()=>[t.key||t.value?(N(),F(k(KS),{key:0,class:`text-c-2 hover:text-c-1 hover:bg-b-2 z-context hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex`,size:`sm`,variant:`ghost`,onClick:$p(e=>d(n),[`stop`])},{default:A(()=>[V(k(SC),{class:`size-3.5`})]),_:1},8,[`onClick`])):R(``,!0)]),_:2},1032,[`environment`,`envVariables`,`modelValue`,`workspace`,`onUpdate:modelValue`])]),_:2},1024)]),_:2},1032,[`class`]))),128))]),_:1}))}})})),QYt,$Yt=c((()=>{Mg(),ZYt(),QYt=jg(XYt,[[`__scopeId`,`data-v-83bfcc8a`]])})),eXt,tXt,nXt,rXt,iXt,aXt,oXt,sXt,cXt=c((()=>{cN(),tN(),dF(),uP(),fP(),FYt(),YYt(),$Yt(),U(),Y(),EC(),Dwt(),eXt={class:`flex h-full w-full flex-col gap-12 px-1.5 pt-8`},tXt={class:`flex flex-col gap-4`},nXt={class:`rounded-lg border`},rXt={class:`bg-b-2 flex cursor-grab items-center justify-between rounded-t-lg px-1 py-1 text-sm`},iXt={class:`flex items-center`},aXt=[`onClick`],oXt={class:`text-c-3 flex h-full items-center justify-center rounded-lg border p-4`},sXt=j({__name:`CollectionEnvironment`,setup(e){let{activeCollection:t,activeWorkspace:n,activeEnvVariables:r}=sN(),{collectionMutators:i}=eN(),a=EM(),o=EM(),s=EM(),c=EM(),l=O(``),u=O(null),d=O(void 0),f=H(()=>t.value?.[`x-scalar-environments`]?Object.entries(t.value[`x-scalar-environments`]).map(([e,t])=>({uid:e,name:e,value:JSON.stringify(t.variables||{}),color:t.color||`#FFFFFF`})):[]),p=()=>{!t.value?.uid||!u.value||(i.removeEnvironment(u.value,t.value.uid),o.hide())},m=e=>{u.value=e,o.show()},h=e=>{t.value?.uid&&(i.addEnvironment(e.name,{variables:{},color:e.color},t.value.uid),s.hide())},g=e=>{u.value=e.name,l.value=e.color||`#FFFFFF`,a.show()},_=e=>{if(!t.value?.uid||!u.value)return;let n={...t.value[`x-scalar-environments`],[u.value]:{variables:t.value[`x-scalar-environments`]?.[u.value]?.variables||{},color:e}};i.edit(t.value.uid,`x-scalar-environments`,n),a.hide()},v=e=>{u.value=e,d.value=e,c.show()},y=()=>{u.value=null,d.value=void 0,c.hide()},b=e=>{if(!t.value?.uid||!u.value)return;let n={...t.value[`x-scalar-environments`]};if(!n[u.value])return;let r={},a=Object.entries(n),o=a.findIndex(([e])=>e===u.value);a.forEach(([t,n],i)=>{i===o?r[e]=n:r[t]=n}),i.edit(t.value.uid,`x-scalar-environments`,r),u.value=null,d.value=void 0,c.hide()},x=(e,n)=>{if(!t.value?.uid)return;let r={...t.value[`x-scalar-environments`]},a={},o=Object.entries(r),s=o.findIndex(([t])=>t===e.id),c=o.findIndex(([e])=>e===n.id);if(s===-1||c===-1)return;let l=o[s];l&&(o.splice(s,1),o.splice(c,0,l),o.forEach(([e,t])=>{a[e]=t}),i.edit(t.value.uid,`x-scalar-environments`,a))};return(e,i)=>(N(),F(uF,null,{default:A(()=>[I(`div`,eXt,[I(`div`,tXt,[i[5]||=I(`div`,{class:`flex items-start justify-between gap-2`},[I(`div`,{class:`flex flex-col gap-2`},[I(`div`,{class:`flex h-8 items-center`},[I(`h3`,{class:`font-bold`},`Environment Variables`)]),I(`p`,{class:`text-sm`},[L(` Set environment variables at your collection level. Use `),I(`code`,{class:`font-code text-c-2`},`{{ variable }}`),L(` to add / search among the selected environment's variables in your request inputs. `)])])],-1),(N(!0),P(B,null,yd(f.value,e=>(N(),F(k(rF),{key:e.name,id:e.name,isDraggable:!0,isDroppable:!0,parentIds:[],onOnDragEnd:x},{default:A(()=>[I(`div`,nXt,[I(`div`,rXt,[I(`div`,iXt,[V(k(KS),{class:`hover:bg-b-3 flex h-6 w-6 p-1`,onClick:t=>g(e),variant:`ghost`},{default:A(()=>[I(`span`,{style:Kc({backgroundColor:e.color||`#FFFFFF`}),class:`h-2.5 w-2.5 rounded-full`},null,4)]),_:2},1032,[`onClick`]),I(`button`,{class:`hover:bg-b-3 rounded px-1 py-0.5 text-sm`,onClick:t=>v(e.name)},D(e.name),9,aXt)]),V(k(KS),{class:`hover:bg-b-3 hover:text-c-1 h-fit p-1.25`,variant:`ghost`,onClick:t=>m(e.name)},{default:A(()=>[V(k(SC),{class:`size-3.5`})]),_:1},8,[`onClick`])]),k(t)&&k(n)?(N(),F(QYt,{key:0,collection:k(t),environment:e,envVariables:k(r),workspace:k(n)},null,8,[`collection`,`environment`,`envVariables`,`workspace`])):R(``,!0)])]),_:2},1032,[`id`]))),128)),I(`div`,oXt,[V(k(KS),{class:`hover:bg-b-2 hover:text-c-1 flex items-center gap-2`,size:`sm`,variant:`ghost`,onClick:i[0]||=e=>k(s).show()},{default:A(()=>[V(k(nM),{class:`inline-flex`,icon:`Add`,size:`sm`,thickness:`1.5`}),i[4]||=I(`span`,null,`Add Environment`,-1)]),_:1})])]),V(k(DM),{size:`xxs`,state:k(o),title:`Delete ${u.value||`Environment`}`},{default:A(()=>[V(lP,{variableName:`Environment`,warningMessage:`Are you sure you want to delete this environment? This action cannot be undone.`,onClose:i[1]||=e=>k(o).hide(),onDelete:p})]),_:1},8,[`state`,`title`]),V(JYt,{activeWorkspaceCollections:k(t)?[k(t)]:[],collectionId:k(t)?.uid,state:k(s),onCancel:i[2]||=e=>k(s).hide(),onSubmit:h},null,8,[`activeWorkspaceCollections`,`collectionId`,`state`]),V(PYt,{selectedColor:l.value,state:k(a),onCancel:i[3]||=e=>k(a).hide(),onSubmit:_},null,8,[`selectedColor`,`state`]),V(k(DM),{size:`xxs`,state:k(c),title:`Edit ${u.value}`},{default:A(()=>[V(dP,{name:d.value??``,onClose:y,onEdit:b},null,8,[`name`])]),_:1},8,[`state`,`title`])])]),_:1}))}})})),lXt=u({default:()=>uXt}),uXt,dXt=c((()=>{cXt(),uXt=sXt})),fXt,pXt,mXt,hXt,gXt,_Xt=c((()=>{cN(),tN(),wOt(),U(),Y(),fXt={class:`flex h-full w-full flex-col gap-12 px-1.5 pt-8`},pXt={class:`flex flex-col gap-4`},mXt={class:`flex flex-col gap-2`},hXt={class:`flex h-8 items-center justify-between`},gXt=j({__name:`CollectionAuthentication`,setup(e){let{activeCollection:t,activeEnvVariables:n,activeEnvironment:r,activeServer:i,activeWorkspace:a}=sN(),{collectionMutators:o}=eN(),s=()=>{t.value?.uid&&o.edit(t.value.uid,`useCollectionSecurity`,!t.value.useCollectionSecurity)};return(e,o)=>(N(),P(`div`,fXt,[I(`div`,pXt,[I(`div`,mXt,[I(`div`,hXt,[o[0]||=I(`h3`,{class:`font-bold`},`Authentication`,-1),V(k(KM),{class:`w-4`,modelValue:k(t)?.useCollectionSecurity??!1,"onUpdate:modelValue":s},null,8,[`modelValue`])]),o[1]||=I(`p`,{class:`pr-6 text-sm`},` Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. `,-1)]),k(t)&&k(a)?(N(),F(k(VF),{key:0,class:E([`scalar-collection-auth`,!k(t)?.useCollectionSecurity&&`pointer-events-none opacity-50 mix-blend-luminosity`]),collection:k(t),envVariables:k(n),environment:k(r),layout:`client`,selectedSecuritySchemeUids:k(t)?.selectedSecuritySchemeUids??[],server:k(i),title:`Authentication`,workspace:k(a)},null,8,[`class`,`collection`,`envVariables`,`environment`,`selectedSecuritySchemeUids`,`server`,`workspace`])):R(``,!0)])]))}})})),vXt=u({default:()=>yXt}),yXt,bXt=c((()=>{Mg(),_Xt(),yXt=jg(gXt,[[`__scopeId`,`data-v-cc87292e`]])})),xXt,SXt=c((()=>{dF(),U(),xXt=j({__name:`CollectionCookies`,setup(e){return(e,t)=>(N(),F(uF,null,{title:A(()=>[...t[0]||=[L(`Cookies`,-1)]]),_:1}))}})})),CXt=u({default:()=>wXt}),wXt,TXt=c((()=>{SXt(),wXt=xXt})),EXt,DXt=c((()=>{dF(),U(),EXt=j({__name:`CollectionScripts`,setup(e){return(e,t)=>(N(),F(uF,null,{title:A(()=>[...t[0]||=[L(`Scripts`,-1)]]),_:1}))}})})),OXt=u({default:()=>kXt}),kXt,AXt=c((()=>{DXt(),kXt=EXt})),jXt,MXt=c((()=>{dF(),U(),jXt=j({__name:`CollectionSync`,setup(e){return(e,t)=>(N(),F(uF,null,{title:A(()=>[...t[0]||=[L(`Sync`,-1)]]),_:1}))}})})),NXt=u({default:()=>PXt}),PXt,FXt=c((()=>{MXt(),PXt=jXt})),IXt,LXt,RXt,zXt,BXt,VXt,HXt,UXt,WXt,GXt,KXt=c((()=>{hq(),cN(),tN(),uP(),U(),Y(),wP(),IXt={class:`flex h-full w-full flex-col gap-12 px-1.5 pt-8`},LXt={class:`flex flex-col gap-2`},RXt={class:`bg-b-2 rounded-lg border text-sm`},zXt={class:`bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3`},BXt={class:`text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap`},VXt={class:`flex items-center`},HXt=[`href`],UXt={class:`flex flex-col gap-4`},WXt={class:`flex items-center justify-between rounded-lg border p-3 text-sm`},GXt=j({__name:`CollectionSettings`,setup(e){let{activeCollection:t,activeWorkspace:n,activeWorkspaceCollections:r}=sN(),{collectionMutators:i}=eN(),{replace:a}=bP(),o=EM();function s(){t.value&&t.value?.documentUrl&&i.edit(t.value.uid,`watchMode`,!t.value?.watchMode)}function c(){if(!t.value||!n.value)return;i.delete(t.value,n.value);let e=r.value[0];e&&a({name:`collection`,params:{[mq.Workspace]:n.value.uid,[mq.Collection]:e.uid}}),o.hide()}return(e,n)=>(N(),P(B,null,[I(`div`,IXt,[I(`div`,LXt,[n[5]||=I(`div`,{class:`flex h-8 items-center`},[I(`h3`,{class:`font-bold`},`Features`)],-1),I(`div`,RXt,[I(`div`,zXt,[n[2]||=I(`div`,null,[I(`h4`,null,`Watch Mode`),I(`p`,{class:`text-c-2 mt-1`},` When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. `)],-1),V(k(KM),{class:`w-4`,disabled:!k(t)?.documentUrl,modelValue:k(t)?.watchMode??!1,"onUpdate:modelValue":s},null,8,[`disabled`,`modelValue`])]),I(`div`,BXt,[I(`div`,VXt,[k(t)?.documentUrl?(N(),P(B,{key:0},[n[3]||=I(`span`,{class:`bg-b-2 sticky left-0 pr-2 pl-3`},`Source`,-1),I(`a`,{class:`text-c-2 group rounded pr-3 no-underline hover:underline`,href:k(t).documentUrl,target:`_blank`},[L(D(k(t).documentUrl)+` `,1),V(k(nM),{class:`ml-1 hidden w-2.5 group-hover:inline`,icon:`ExternalLink`})],8,HXt)],64)):(N(),P(B,{key:1},[V(k(nM),{class:`text-c-2 mr-2 ml-3 w-4`,icon:`NotAllowed`,size:`sm`}),n[4]||=I(`span`,{class:`text-c-2 pr-3`},` No URL configured. Try importing an OpenAPI document from an URL. `,-1)],64))])])])]),I(`div`,UXt,[n[8]||=I(`h3`,{class:`font-bold`},`Danger Zone`,-1),I(`div`,WXt,[n[7]||=I(`div`,null,[I(`h4`,null,`Delete Collection`),I(`p`,{class:`text-c-2 mt-1`},` Be careful, my friend. Once deleted, there is no way to recover the collection. `)],-1),V(k(KS),{size:`sm`,variant:`danger`,onClick:n[0]||=e=>k(o).show()},{default:A(()=>[...n[6]||=[L(` Delete Collection `,-1)]]),_:1})])])]),V(k(DM),{size:`xxs`,state:k(o),title:`Delete ${k(t)?.info?.title}`},{default:A(()=>[V(lP,{variableName:k(t)?.info?.title??``,warningMessage:`This action cannot be undone.`,onClose:n[1]||=e=>k(o).hide(),onDelete:c},null,8,[`variableName`])]),_:1},8,[`state`,`title`])],64))}})})),qXt=u({default:()=>JXt}),JXt,YXt=c((()=>{KXt(),JXt=GXt}));function dq(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=QN();async function r(e){try{let n=XXt(e);await navigator.clipboard.writeText(n),t(`Copied to the clipboard`)}catch(e){let n=e;console.error(n.message),t(`Failed to copy to clipboard`)}}return{copyToClipboard:r}}var XXt,ZXt=c((()=>{tP(),XXt=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e)})),fq=c((()=>{ZXt()})),QXt,pq;c((()=>{uP(),U(),Y(),fq(),QXt={class:`absolute right-1 flex opacity-0 group-hover:opacity-100`},pq=function(e){return e.Delete=`Delete`,e.None=`None`,e}(pq||{}),j({__name:`SidebarListElementActions`,props:{variable:{},warningMessage:{},isCopyable:{type:Boolean},isDeletable:{type:Boolean},isRenameable:{type:Boolean}},emits:[`delete`,`rename`],setup(e,{emit:t}){let n=t,r=O({action:pq.None,name:``}),i=EM(),{copyToClipboard:a}=dq();function o(t){r.value={action:t,name:e.variable.name},i.show()}function s(){i.hide(),r.value={action:pq.None,name:``}}function c(e){n(`delete`,e),s()}return(t,l)=>(N(),P(B,null,[I(`div`,QXt,[e.isCopyable?(N(),P(`button`,{key:0,class:`text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]`,type:`button`,onClick:l[0]||=t=>k(a)(e.variable.name)},[V(k(nM),{class:`h-3 w-3`,icon:`Clipboard`})])):R(``,!0),e.isRenameable?(N(),P(`button`,{key:1,class:`text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]`,type:`button`,onClick:l[1]||=t=>n(`rename`,e.variable.uid)},[V(k(nM),{class:`h-3 w-3`,icon:`Edit`})])):R(``,!0),!e.variable.isDefault&&e.isDeletable?(N(),P(`button`,{key:2,class:`text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1`,type:`button`,onClick:l[2]||=$p(e=>o(pq.Delete),[`prevent`])},[V(k(nM),{class:`h-3.5 w-3.5`,icon:`Close`})])):R(``,!0)]),V(k(DM),{size:`sm`,state:k(i),title:`${r.value.action} ${r.value.name}`},{default:A(()=>[r.value.action===pq.Delete?(N(),F(lP,{key:0,variableName:r.value.name,warningMessage:e.warningMessage,onClose:s,onDelete:l[3]||=t=>c(e.variable.uid)},null,8,[`variableName`,`warningMessage`])):R(``,!0)]),_:1},8,[`state`,`title`])],64))}})})),u({default:()=>$Xt});var $Xt;u({default:()=>eZt});var eZt;c((()=>{U(),Y(),j({__name:`IntegrationLogo`,props:{integration:{}},setup(e){let t=e,n=[`adonisjs`,`astro`,`dotnet`,`elysiajs`,`express`,`fastapi`,`fastify`,`go`,`hono`,`laravel`,`litestar`,`nestjs`,`nextjs`,`nitro`,`nuxt`,`platformatic`,`react`,`rust`,`svelte`],r=H(()=>{let e=`Openapi`,r=t.integration?.toLocaleLowerCase();if(!r)return e;let i=r.charAt(0).toUpperCase()+r.slice(1);return n.includes(r)?i:e});return(e,t)=>(N(),F(k(nM),{class:`h-full w-full rounded-lg`,logo:r.value},null,8,[`logo`]))}})}));var tZt;c((()=>{U(),Y(),AA(),tZt={class:`flex flex-col gap-2`},j({__name:`SettingsAppearance`,setup(e){let{colorMode:t,setColorMode:n}=OA(),r=IS({base:`w-full shadow-none text-c-1 justify-start pl-2 gap-2 border`,variants:{active:{true:`bg-primary text-c-1 hover:bg-inherit`,false:`bg-b-1 hover:bg-b-2`}}});return(e,i)=>(N(),P(`div`,tZt,[V(k(KS),{class:E(k(LS)(k(r)({active:k(t)===`system`}))),onClick:i[0]||=e=>k(n)(`system`)},{default:A(()=>[I(`div`,{class:E([`flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1`,{"bg-c-accent text-b-1 border-transparent":k(t)===`system`}])},[k(t)===`system`?(N(),F(k(nM),{key:0,icon:`Checkmark`,size:`xs`,thickness:`3.5`})):R(``,!0)],2),i[3]||=L(` System Preference (default) `,-1)]),_:1},8,[`class`]),V(k(KS),{class:E(k(LS)(k(r)({active:k(t)===`light`}))),onClick:i[1]||=e=>k(n)(`light`)},{default:A(()=>[I(`div`,{class:E([`flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1`,{"bg-c-accent text-b-1 border-transparent":k(t)===`light`}])},[k(t)===`light`?(N(),F(k(nM),{key:0,icon:`Checkmark`,size:`xs`,thickness:`3.5`})):R(``,!0)],2),i[4]||=L(` Light Mode Always `,-1)]),_:1},8,[`class`]),V(k(KS),{class:E(k(LS)(k(r)({active:k(t)===`dark`}))),onClick:i[2]||=e=>k(n)(`dark`)},{default:A(()=>[I(`div`,{class:E([`flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1`,{"bg-c-accent text-b-1 border-transparent":k(t)===`dark`}])},[k(t)===`dark`?(N(),F(k(nM),{key:0,icon:`Checkmark`,size:`xs`,thickness:`3.5`})):R(``,!0)],2),i[5]||=L(` Dark Mode Always `,-1)]),_:1},8,[`class`])]))}})}));var nZt,rZt,iZt;c((()=>{U(),nZt={class:`flex flex-col gap-2`},rZt={key:0,class:`font-bold`},iZt={key:1,class:`text-c-2 mb-4 leading-[21px]`},j({__name:`SettingsSection`,setup(e){return(e,t)=>(N(),P(`div`,nZt,[e.$slots.title?(N(),P(`h3`,rZt,[M(e.$slots,`title`)])):R(``,!0),e.$slots.description?(N(),P(`p`,iZt,[M(e.$slots,`description`)])):R(``,!0),M(e.$slots,`default`)]))}})})),u({default:()=>aZt});var aZt,mq,oZt,hq=c((()=>{mq=function(e){return e.Request=`request`,e.Examples=`examples`,e.Cookies=`cookies`,e.Collection=`collection`,e.Schema=`schema`,e.Environment=`environment`,e.Servers=`servers`,e.Workspace=`workspace`,e.Settings=`settings`,e}({}),oZt=[{name:`request.root`,path:``,component:()=>Promise.resolve().then(()=>(hTt(),pTt)),redirect:(e,t)=>({name:`request`,params:{...e.params,request:`default`}}),children:[{name:`request`,path:`request/:${mq.Request}`,component:()=>Promise.resolve().then(()=>(aJt(),rJt))},{name:`request.examples`,path:`request/:${mq.Request}/examples/:${mq.Examples}`,component:()=>Promise.resolve().then(()=>(aJt(),rJt))},{name:`collection`,path:`collection/:${mq.Collection}`,component:()=>Promise.resolve().then(()=>(AJt(),OJt)),redirect:(e,t)=>({name:`collection.overview`}),children:[{name:`collection.overview`,path:`overview`,component:()=>Promise.resolve().then(()=>(WJt(),HJt))},{name:`collection.servers`,path:`servers`,component:()=>Promise.resolve().then(()=>(TYt(),CYt)),children:[{name:`collection.servers.edit`,path:`:${mq.Servers}`,component:()=>Promise.resolve().then(()=>(TYt(),CYt))}]},{name:`collection.environment`,path:`environment`,component:()=>Promise.resolve().then(()=>(dXt(),lXt))},{name:`collection.authentication`,path:`authentication`,component:()=>Promise.resolve().then(()=>(bXt(),vXt))},{name:`collection.cookies`,path:`cookies`,component:()=>Promise.resolve().then(()=>(TXt(),CXt))},{name:`collection.scripts`,path:`scripts`,component:()=>Promise.resolve().then(()=>(AXt(),OXt))},{name:`collection.sync`,path:`sync`,component:()=>Promise.resolve().then(()=>(FXt(),NXt))},{name:`collection.settings`,path:`settings`,component:()=>Promise.resolve().then(()=>(YXt(),qXt))}]}]}],mq.Workspace,`${mq.Workspace}`,mq.Workspace,`${mq.Workspace}`,[...oZt,`${mq.Environment}`,`${mq.Collection}${mq.Environment}`,`${mq.Cookies}`,`${mq.Settings}`]}));function sZt(e){return e?.color||`#FFFFFF`}var cZt=c((()=>{}));function gq(e){return e.flatMap(e=>{if(e.key===`value`)try{let t=JSON.parse(e.value);return Object.keys(t).map(n=>({key:n,value:t[n],source:e.source}))}catch{}return[e]})}var lZt=c((()=>{})),uZt,dZt,fZt,pZt,mZt,hZt=c((()=>{hq(),cN(),cZt(),lZt(),U(),Y(),wP(),EC(),aw(),YP(),uZt={key:0,class:`gap-1/2 flex flex-col`},dZt=[`onClick`],fZt={class:`flex items-center gap-2 whitespace-nowrap`},pZt={class:`w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap`},mZt=j({__name:`EnvironmentVariableDropdown`,props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:[`select`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=O(!0),o=O(null),s=O(0),c=bP(),{activeCollection:l}=sN(),u=()=>{if(!c)return;let{currentRoute:e,push:t}=c,n=e.value.params.workspace;!l.value||l.value.info?.title===`Drafts`?t({name:`environment.default`,params:{[mq.Workspace]:n}}):t({name:`collection.environment`,params:{[mq.Collection]:l.value.uid}}),a.value=!1},d=new JP(gq(r.envVariables),{keys:[`key`,`value`]}),f=H(()=>{let e=r.query;if(!e)return gq(r.envVariables).slice(-4).filter(({key:e,value:t})=>e!==``||t!==``);let t=d.search(e,{limit:10});return t.length>0?t.map(e=>e.item).filter(({key:e,value:t})=>e!==``||t!==``):[]}),p=e=>{i(`select`,e)};t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=f.value.length;n!==0&&(s.value=(s.value+t+n)%n)},handleSelect:()=>{if(s.value>=0){let e=f.value[s.value];e&&p(e.key)}}}),Af(()=>{s.value=0});let m=H(()=>({left:(r.dropdownPosition?.left??0)+`px`,top:(r.dropdownPosition?.top??0)+5+`px`}));return XC(o,()=>{a.value=!1},{ignore:[o]}),(t,n)=>a.value?(N(),F(k(PA),{key:0,class:`scalar-client`},{default:A(()=>[I(`div`,{ref_key:`dropdownRef`,ref:o,class:`custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75`,style:Kc(m.value)},[f.value.length?(N(),P(`ul`,uZt,[(N(!0),P(B,null,yd(f.value,(t,n)=>(N(),P(`li`,{key:t.key,class:E([`font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150`,{"bg-b-2":n===s.value}]),onClick:e=>p(t.key)},[I(`div`,fZt,[t.source===`collection`&&e.environment.name!==`No Environment`?(N(),P(`span`,{key:0,class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:Kc({backgroundColor:k(sZt)(e.environment)})},null,4)):(N(),F(k(mC),{key:1,class:`-ml-0.25 size-2.5`,icon:`Globe`})),L(` `+D(t.key),1)]),I(`span`,pZt,D(t.value),1)],10,dZt))),128))])):k(c)?(N(),F(k(KS),{key:1,class:`font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150`,variant:`outlined`,onClick:u},{default:A(()=>[V(k(yC),{class:`size-3`}),n[0]||=L(` Add Variable `,-1)]),_:1})):R(``,!0),n[1]||=I(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],4)]),_:1})):R(``,!0)}})})),gZt,_Zt=c((()=>{hZt(),gZt=mZt})),vZt,yZt,bZt,xZt=c((()=>{cZt(),lZt(),U(),Y(),Rx(),EC(),qK(),Bg(),vZt=class e extends Pz{app;uid;environment;envVariables;isReadOnly;constructor(e,t,n,r){super(),this.variableName=e,this.variableName=e,this.environment=t,this.envVariables=n,this.isReadOnly=r??!1,this.uid=zg()}toDOM(){let e=document.createElement(`span`);return e.className=`cm-pill`,e.textContent=`${this.variableName}`,this.app=im(j({props:{variableName:{type:String,default:null}},render:()=>{let t=this.envVariables?gq(this.envVariables).find(e=>e.key===this.variableName):void 0,n=t?.source===`global`,r=n?`var(--scalar-color-1)`:t&&this.environment&&this.environment.name!==`No Environment`?sZt(this.environment):`var(--scalar-color-1)`;e.style.setProperty(`--tw-bg-base`,r),e.style.opacity=t?.value?`1`:`0.5`;let i=t?.value||`No value`,a=Yd(`div`,{class:`flex items-center gap-1 whitespace-nowrap`},[(n||this.environment?.name===`No Environment`&&t?.value)&&Yd(mC,{class:`size-3 -ml-1`,icon:`Globe`}),Yd(`span`,this.variableName)]);return Yd(mM,{content:i,delay:0,placement:`bottom`,offset:6},{default:()=>a})}}),{variableName:this.variableName}),this.app.mount(e),e}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof e&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}},yZt=e=>hB.fromClass(class{decorations;constructor(e){this.decorations=this.buildDecorations(e)}update(e){(e.docChanged||e.viewportChanged)&&requestAnimationFrame(()=>{this.decorations=this.buildDecorations(e.view),e.view.update([])})}buildDecorations(t){let n=new _R;for(let{from:r,to:i}of t.visibleRanges){let a=t.state.doc.sliceString(r,i),o;for(;(o=Dv.VARIABLES.exec(a))!==null;){let t=r+o.index,i=t+o[0].length,a=o[1]??``;n.add(t,i,Iz.widget({widget:new vZt(a,e.environment,e.envVariables,e.isReadOnly),side:1}))}}return n.finish()}},{decorations:e=>e.decorations}),bZt=lV.domEventHandlers({keydown(e,t){if(e.key===`Backspace`){let{state:n}=t,{from:r,to:i}=n.selection.main;if(r===0&&i===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(r===i&&r>0&&n.doc.sliceString(r-2,r)===`}}`)return t.dispatch({changes:{from:r-2,to:i},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}})})),SZt,CZt,wZt,TZt,EZt,DZt,OZt,kZt=c((()=>{Pg(),_Zt(),TDt(),xZt(),U(),qK(),Bg(),SZt={class:`whitespace-nowrap`},CZt=[`id`],wZt={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`},TZt={key:5,class:`centered-y text-orange absolute right-7 text-xs`},EZt={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1`},DZt={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`},OZt=j({inheritAttrs:!1,__name:`CodeInput`,props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},lineWrapping:{type:Boolean,default:!1}},emits:[`submit`,`update:modelValue`,`curl`,`blur`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=Cd(),o=a.id||`id-${zg()}`,s=O(!1),c=O(!1),l=O(``),u=O({left:0,top:0}),d=O(null),{layout:f}=Ng();function p(e){return e===r.modelValue?null:r.importCurl&&e.trim().toLowerCase().startsWith(`curl`)?(i(`curl`,e),b.value?.dispatch({changes:{from:0,to:b.value.state.doc.length,insert:String(r.modelValue)}}),null):r.handleFieldChange?r.handleFieldChange(e):i(`update:modelValue`,e)}function m(e){return r.handleFieldSubmit?r.handleFieldSubmit(e):i(`submit`,e)}function h(e){s.value=!1,r.emitOnBlur&&r.modelValue&&m(e),i(`blur`,e)}let g=[...r.extensions];r.colorPicker&&g.push(jU);let _=H(()=>yZt({environment:r.environment,envVariables:r.envVariables,isReadOnly:f===`modal`})),v=H(()=>[...g,_.value,bZt]),y=O(null),{codeMirror:b}=GK({content:du(()=>r.modelValue===void 0?``:String(r.modelValue)),onChange:e=>{p(e),ee()},onFocus:()=>s.value=!0,onBlur:e=>h(e),codeMirrorRef:y,disableTabIndent:du(()=>r.disableTabIndent),disableEnter:du(()=>r.disableEnter),disableCloseBrackets:du(()=>r.disableCloseBrackets),lineNumbers:du(()=>r.lineNumbers),language:du(()=>r.language),lint:du(()=>r.lint),extensions:v,placeholder:du(()=>r.placeholder)});b.value?.focus(),nd(b,()=>{b.value&&Object.hasOwn(a,`autofocus`)&&b.value.focus()});let{handleDropdownSelect:x,updateDropdownVisibility:ee}=oKt({codeMirror:b,query:l,showDropdown:c,dropdownPosition:u}),S=H(()=>r.nullable?[`true`,`false`,`null`]:[`true`,`false`]),C=(e,t)=>{c.value?e===`down`?(t.preventDefault(),d.value?.handleArrowKey(`down`)):e===`up`?(t.preventDefault(),d.value?.handleArrowKey(`up`)):e===`enter`&&(t.preventDefault(),d.value?.handleSelect()):e===`escape`?r.disableTabIndent||t.stopPropagation():e===`enter`&&t.target instanceof HTMLDivElement&&m(t.target.textContent??``)},te=H(()=>Array.isArray(r.type)?r.type.find(e=>e!==`null`)??`string`:r.type),ne=H(()=>c.value&&r.withVariables&&f!==`modal`&&r.environment);return t({focus:()=>{b.value?.focus()},handleChange:p,handleSubmit:m,handleBlur:h,booleanOptions:S,codeMirror:b,modelValue:r.modelValue}),(t,n)=>(N(),P(B,null,[e.disabled?(N(),P(`div`,{key:0,class:E([`text-c-2 flex cursor-default items-center justify-center`,k(f)===`modal`?`font-code pr-2 pl-1 text-base`:`px-2`]),"data-testid":`code-input-disabled`},[I(`span`,SZt,D(e.modelValue),1)],2)):r.enum&&r.enum.length?(N(),F(FF,{key:1,default:r.default,modelValue:e.modelValue,type:te.value,value:r.enum,"onUpdate:modelValue":n[0]||=e=>i(`update:modelValue`,e)},null,8,[`default`,`modelValue`,`type`,`value`])):e.type===`boolean`||e.type?.includes(`boolean`)?(N(),F(FF,{key:2,default:r.default,modelValue:e.modelValue,value:S.value,"onUpdate:modelValue":n[1]||=e=>i(`update:modelValue`,e)},null,8,[`default`,`modelValue`,`value`])):r.examples&&r.examples.length?(N(),F(FF,{key:3,default:r.default,modelValue:r.modelValue,value:r.examples,"onUpdate:modelValue":n[2]||=e=>i(`update:modelValue`,e)},null,8,[`default`,`modelValue`,`value`])):(N(),P(`div`,z({key:4,id:k(o)},t.$attrs,{ref_key:`codeMirrorRef`,ref:y,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}],onKeydown:[n[3]||=em($p(e=>C(`down`,e),[`stop`]),[`down`]),n[4]||=em(e=>C(`enter`,e),[`enter`]),n[5]||=em(e=>C(`escape`,e),[`escape`]),n[6]||=em($p(e=>C(`up`,e),[`stop`]),[`up`])]}),[e.disableTabIndent?R(``,!0):(N(),P(`div`,wZt,[...n[7]||=[L(` Press `,-1),I(`kbd`,{class:`-mx-0.25 rounded border px-0.5 font-mono`},`Esc`,-1),L(` then `,-1),I(`kbd`,{class:`-mx-0.25 rounded border px-0.5 font-mono`},`Tab`,-1),L(` to exit `,-1)]]))],16,CZt)),t.$slots.warning?(N(),P(`div`,TZt,[M(t.$slots,`warning`,{},void 0,!0)])):R(``,!0),t.$slots.icon?(N(),P(`div`,EZt,[M(t.$slots,`icon`,{},void 0,!0)])):R(``,!0),e.required?(N(),P(`div`,DZt,` Required `)):R(``,!0),ne.value?(N(),F(gZt,{key:8,ref_key:`dropdownRef`,ref:d,dropdownPosition:u.value,envVariables:e.envVariables,environment:e.environment,query:l.value,onSelect:k(x)},null,8,[`dropdownPosition`,`envVariables`,`environment`,`query`,`onSelect`])):R(``,!0)],64))}})})),_q,vq=c((()=>{Mg(),kZt(),_q=jg(OZt,[[`__scopeId`,`data-v-103d9d56`]])})),yq,bq,xq,AZt,jZt,MZt=c((()=>{T_(),yq=Symbol(`isDetectChangesProxy`),bq=Symbol(`detectChangesProxyTarget`),xq=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!w_(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===yq)return!0;if(r===bq)return e;let a=Reflect.get(e,r,i);return AZt(a)?a:xq(a,t,{...n,path:[...n.path,String(r)]})},set(e,r,i,a){let o=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(o,i);let s=Reflect.set(e,r,i,a);return t?.hooks?.onAfterChange?.(o,i),s},deleteProperty(e,r){let i=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(i);let a=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(i),a}});return n.proxyCache.set(e,r),r},AZt=e=>typeof e==`object`&&!!e&&e[yq]===!0,jZt=e=>typeof e!=`object`||!e?e:e[yq]?e[bq]:e})),Sq,Cq=c((()=>{z_(),U(),MZt(),W_(),Sq=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=jZt(su(M_(B_(r))));return t!==null&&i>=t?a:(i!==0&&a!==r&&(console.warn(`%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).
|
||
%c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.
|
||
%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;`,i,`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:a}),console.groupEnd()),Object.entries(a).forEach(([e,t])=>{let r=n(t,i+1);Reflect.set(a,e,r)||console.warn(`%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.
|
||
%c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.
|
||
%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,a)}),a)};return n(e)}})),wq,NZt=c((()=>{uv(),Cq(),wq=(e={})=>{let{debug:t=!1}=e,n=new Map,r=[],i=null,{execute:a}=lv({delay:328}),o=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},s=()=>{if(r.length!==0){if(t)if(r.length===1){let e=r[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${r.length} operations`);for(let{message:e,args:t}of r)console.log(e,...t);console.groupEnd()}r.length=0,i=null}},c=(e,...n)=>{t&&(r.push({message:e,args:n}),i&&clearTimeout(i),i=setTimeout(s,500))},l=(e,t)=>{let n=o(e);return n.add(t),c(`Added listener for "${String(e)}" (${n.size} total)`),()=>u(e,t)},u=(e,t)=>{let r=n.get(e);r&&(r.delete(t),c(`Removed listener for "${String(e)}" (${r.size} remaining)`),r.size===0&&n.delete(e))},d=(e,t,r)=>{let i=r?.skipUnpackProxy?t:Sq(t,{depth:5}),a=n.get(e);if(!a||a.size===0){c(`🛑 No listeners for "${String(e)}"`);return}c(`Emitting "${String(e)}" to ${a.size} listener(s)`,t);let o=Array.from(a);for(let t of o)try{t(i)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}};return{on:l,off:u,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){d(t,n,r);return}a(`${t}-${r.debounceKey}`,()=>d(t,n,r))}}}})),PZt=c((()=>{U()}));function Tq(e,t,n){let r=new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0});e?.dispatchEvent(r)}var FZt=c((()=>{})),Eq=c((()=>{NZt(),PZt(),FZt()})),IZt,LZt,RZt,zZt,BZt,VZt,HZt=c((()=>{tN(),sq(),U(),Y(),Eq(),IZt=[`aria-expanded`],LZt={class:`overflow-hidden text-ellipsis whitespace-nowrap`},RZt=[`id`],zZt={key:0},BZt={class:`description text-c-3 px-3 py-1.5`},VZt=j({__name:`ServerDropdownItem`,props:{collection:{},operation:{},server:{},serverOption:{},type:{}},emits:[`update:variable`],setup(e,{emit:t}){let n=e,r=t,i=ud(),{collectionMutators:a,requestMutators:o,servers:s}=eN(),c=(e,t)=>{if(u(e)&&t?.stopPropagation(),l.value){n.operation?.servers?.length&&o.edit(n.operation.uid,`selectedServerUid`,null),n.type===`collection`?(a.edit(n.collection.uid,`selectedServerUid`,void 0),Tq(p.value,`scalar-update-selected-server`,{value:void 0,options:{disableOldStoreUpdate:!0}})):n.type===`request`&&n.operation&&o.edit(n.operation.uid,`selectedServerUid`,null);return}n.type===`collection`&&n.collection?(n.operation?.servers?.length&&o.edit(n.operation.uid,`selectedServerUid`,null),a.edit(n.collection.uid,`selectedServerUid`,e),Tq(p.value,`scalar-update-selected-server`,{value:s[e]?.url,options:{disableOldStoreUpdate:!0}})):n.type===`request`&&n.operation&&o.edit(n.operation.uid,`selectedServerUid`,e)},l=H(()=>n.type===`collection`?n.collection.selectedServerUid===n.serverOption.id&&!n.operation?.selectedServerUid:n.type===`request`&&n.operation?n.operation.selectedServerUid===n.serverOption.id:!1),u=e=>{if(!e)return!1;let t=s[e];return Object.keys(t?.variables??{}).length>0},d=H(()=>l.value&&u(n.server?.uid??``)),f=(e,t)=>{r(`update:variable`,e,t)},p=fd(`wrapper-ref`);return(t,n)=>(N(),P(`div`,{ref:`wrapper-ref`,class:E([`group/item flex min-h-fit flex-col rounded border`,{"border-transparent":!l.value}])},[I(`button`,z(d.value?{"aria-controls":k(i)}:{},{"aria-expanded":d.value,class:[`flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5`,l.value?`text-c-1 bg-b-2`:`hover:bg-b-2`],type:`button`,onClick:n[0]||=t=>c(e.serverOption.id,t)}),[V(k(Dj),{selected:l.value},null,8,[`selected`]),I(`span`,LZt,D(e.serverOption.label),1)],16,IZt),d.value?(N(),P(`div`,{key:0,id:k(i),class:`bg-b-2 divide divide-y rounded-b border-t *:pl-4`,onClick:n[1]||=$p(()=>{},[`stop`])},[V(oq,{variables:e.server?.variables,"onUpdate:variable":f},null,8,[`variables`]),e.server?.description?(N(),P(`div`,zZt,[I(`div`,BZt,[V(k(_M),{value:e.server.description},null,8,[`value`])])])):R(``,!0)],8,RZt)):R(``,!0)],2))}})})),Dq,UZt=c((()=>{Mg(),HZt(),Dq=jg(VZt,[[`__scopeId`,`data-v-92012388`]])})),WZt,GZt,KZt,qZt=c((()=>{Pg(),tN(),UZt(),U(),Y(),Eq(),WZt=[`onClick`],GZt={class:`flex h-4 w-4 items-center justify-center`},KZt=j({__name:`ServerDropdown`,props:{collection:{},operation:{},server:{},target:{}},setup(e){let{layout:t}=Ng(),{servers:n,collectionMutators:r,events:i,serverMutators:a}=eN(),o=H(()=>e.operation?.servers?.map(e=>({id:e,label:n[e]?.url??`Unknown server`}))),s=H(()=>e.collection?.servers?.filter(t=>!e.operation?.servers?.includes(t)).map(e=>({id:e,label:n[e]?.url??`Unknown server`}))),c=H(()=>o.value?.length&&s.value?.length);nd([()=>e.collection,()=>e.operation],([t,n])=>{if(!t||t.selectedServerUid||n?.selectedServerUid)return;let i=e.collection.servers?.[0];i&&r.edit(e.collection.uid,`selectedServerUid`,i)});let l=()=>i.commandPalette.emit({commandName:`Add Server`}),u=H(()=>e.server?.url?.endsWith(`/`)?e.server.url.slice(0,-1):e.server?.url||``),d=(t,n)=>{if(!e.server)return;let r=e.server.variables||{};r[t]={...r[t],default:n},a.edit(e.server.uid,`variables`,r),Tq(f.value?.$el,`scalar-update-selected-server-variables`,{key:t,value:n})},f=fd(`wrapper-ref`);return(n,r)=>(N(),F(k(OM),{ref:`wrapper-ref`,class:`max-h-[inherit] p-0 text-base`,focus:``,offset:0,placement:`bottom-start`,resize:``,target:e.target,teleport:`#${e.target}`},{popover:A(({close:n})=>[I(`div`,{class:`custom-scroll flex max-h-[inherit] flex-col gap-1 border-t p-1`,onClick:n},[(N(!0),P(B,null,yd(o.value,t=>(N(),F(Dq,{key:t.id,collection:e.collection,operation:e.operation,server:e.server,serverOption:t,type:`request`,"onUpdate:variable":d},null,8,[`collection`,`operation`,`server`,`serverOption`]))),128)),c.value?(N(),P(B,{key:0},[V(k(Vj)),r[2]||=I(`div`,{class:`text-xxs text-c-2 px-2.5 py-1`},`Collection`,-1)],64)):R(``,!0),(N(!0),P(B,null,yd(s.value,t=>(N(),F(Dq,{key:t.id,collection:e.collection,operation:e.operation,server:e.server,serverOption:t,type:`collection`,"onUpdate:variable":d},null,8,[`collection`,`operation`,`server`,`serverOption`]))),128)),k(t)===`modal`?R(``,!0):(N(),P(`button`,{key:1,class:`text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75`,type:`button`,onClick:l},[I(`div`,GZt,[V(k(nM),{icon:`Add`,size:`sm`})]),r[3]||=I(`span`,null,`Add Server`,-1)]))],8,WZt)]),backdrop:A(()=>[V(k(Tj),{class:`-top-(--scalar-address-bar-height) rounded-lg`})]),default:A(()=>[V(k(KS),{class:`z-context-plus hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap`,variant:`ghost`},{default:A(()=>[e.operation?.selectedServerUid||e.collection.selectedServerUid?(N(),P(B,{key:0},[r[0]||=I(`span`,{class:`sr-only`},`Server:`,-1),L(` `+D(u.value),1)],64)):(N(),P(B,{key:1},[r[1]||=I(`span`,{class:`sr-only`},`Add Server`,-1),V(k(nM),{icon:`Add`,size:`xs`})],64))]),_:1})]),_:1},8,[`target`,`teleport`]))}})})),JZt,YZt=c((()=>{qZt(),JZt=KZt})),XZt,ZZt,QZt=c((()=>{XZt={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`}},ZZt=e=>XZt[e]||{color:`text-grey`}})),Oq,$Zt=c((()=>{Oq=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+`s`:e+`ms`})),eQt,tQt,nQt,rQt=c((()=>{tN(),rN(),QZt(),U(),Y(),Rx(),Ag(),$Zt(),eQt={class:`min-w-0`},tQt={class:`text-c-1 min-w-0 truncate`},nQt=j({__name:`AddressBarHistory`,props:{operation:{},target:{}},setup(e){let{requestHistory:t}=eN(),n=H(()=>t.filter(t=>t.request.requestUid===e.operation.uid).slice().reverse());function r(e){console.warn(`Restoring from the request history doesn't work yet. Request History Item:`,e)}return(t,i)=>(N(),F(k(eg),{as:`div`},{default:A(({open:t})=>[V(k(Cj),{offset:0,resize:``,target:e.target},bd({default:A(()=>[n.value?.length?(N(),F(k(tg),{key:0,class:`address-bar-history-button z-context-plus text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5`},{default:A(()=>[V(k(nM),{icon:`History`,size:`sm`,thickness:`2.25`}),i[0]||=I(`span`,{class:`sr-only`},`Request History`,-1)]),_:1})):R(``,!0)]),_:2},[t?{name:`floating`,fn:A(({width:e})=>[V(k(ng),{class:`custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center border-t p-0.75`,static:``,style:Kc({width:e})},{default:A(()=>[(N(!0),P(B,null,yd(n.value,(e,t)=>(N(),F(k(rg),{key:e.timestamp,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:t=>r(e)},{default:A(()=>[e.response.method?(N(),F(nN,{key:0,class:`text-[11px]`,method:e.response.method},null,8,[`method`])):R(``,!0),I(`div`,eQt,[I(`div`,tQt,D(e.response.path),1)]),I(`div`,null,D(k(Oq)(e.response.duration)),1),I(`div`,{class:E([k(ZZt)(e.response.status).color])},D(e.response.status),3),I(`div`,null,D(k(xv)[e.response.status]?.name),1)]),_:2},1032,[`value`,`onClick`]))),128))]),_:1},8,[`style`]),V(k(Tj),{class:`-top-(--scalar-address-bar-height) rounded-lg`})]),key:`0`}:void 0]),1032,[`target`])]),_:1}))}})})),iQt,aQt=c((()=>{Mg(),rQt(),iQt=jg(nQt,[[`__scopeId`,`data-v-7e9dbe2f`]])})),oQt,sQt,cQt,lQt,uQt,dQt,fQt,pQt,mQt=c((()=>{Pg(),tN(),rN(),vq(),YZt(),aQt(),U(),Y(),bv(),EC(),oQt=[`id`],sQt={class:`address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]`},cQt={class:`pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border`},lQt={class:`z-context-plus flex gap-1`},uQt={class:`scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full bg-blend-normal`},dQt={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},fQt={class:`sr-only`},pQt=j({__name:`AddressBar`,props:{collection:{},operation:{},server:{},environment:{},envVariables:{},workspace:{}},emits:[`importCurl`],setup(e){let t=ud(),{requestMutators:n,events:r}=eN(),{layout:i}=Ng(),a=O(null),o=O(null),s=t=>{e.operation.path!==t&&n.edit(e.operation.uid,`path`,t)};nd(()=>e.operation.path,e=>{e&&s(e)});let c=O(100),l=O(0),u=O(!1),d=O();function f(){u.value?c.value-=(c.value-15)/60:c.value-=l.value/20,c.value<=0&&(clearInterval(d.value),d.value=void 0,c.value=100,u.value=!1)}function p(){d.value||=(u.value=!0,setInterval(f,20))}function m(){l.value=c.value,u.value=!1}function h(){clearInterval(d.value),d.value=void 0,c.value=100,u.value=!1}r.requestStatus.on(e=>{if(e===`start`)return p();if(e===`stop`)return m();if(e===`abort`)return h()}),r.focusAddressBar.on(()=>{i===`modal`?o.value?.$el?.focus():a.value?.focus()});function g(t){n.edit(e.operation.uid,`method`,t)}function _(){let{method:t}=e.operation;return vv[t].colorVar}function v(){u.value||(u.value=!0,r.executeRequest.emit({requestUid:e.operation.uid}))}r.hotKeys.on(e=>{e?.focusAddressBar&&a.value?.focus(),e?.executeRequest&&v()});function y(t){n.edit(e.operation.uid,`path`,t)}return(n,r)=>(N(),P(`div`,{id:k(t),class:`scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto`},[I(`div`,sQt,[I(`div`,cQt,[I(`div`,{class:`absolute top-0 left-0 z-[1002] h-full w-full`,style:Kc({backgroundColor:`color-mix(in srgb, transparent 90%, ${_()})`,transform:`translate3d(-${c.value}%,0,0)`})},null,4)]),I(`div`,lQt,[V(nN,{isEditable:k(i)!==`modal`,isSquare:``,method:e.operation.method,teleport:``,onChange:g},null,8,[`isEditable`,`method`])]),I(`div`,uQt,[e.collection.servers.length?(N(),F(k(JZt),{key:0,collection:e.collection,layout:`client`,operation:e.operation,server:e.server,target:k(t)},null,8,[`collection`,`operation`,`server`,`target`])):R(``,!0),r[1]||=I(`div`,{class:`fade-left`},null,-1),V(_q,{ref_key:`addressBarRef`,ref:a,"aria-label":`Path`,class:`min-w-fit outline-none`,disableCloseBrackets:``,disabled:k(i)===`modal`,disableEnter:``,disableTabIndent:``,emitOnBlur:!1,envVariables:e.envVariables,environment:e.environment,importCurl:``,modelValue:e.operation.path,placeholder:e.server?.uid&&e.collection.servers.includes(e.server.uid)?``:`Enter a URL or cURL command`,server:``,workspace:e.workspace,onCurl:r[0]||=e=>n.$emit(`importCurl`,e),onSubmit:v,"onUpdate:modelValue":y},null,8,[`disabled`,`envVariables`,`environment`,`modelValue`,`placeholder`,`workspace`]),r[2]||=I(`div`,{class:`fade-right`},null,-1)]),V(iQt,{operation:e.operation,target:k(t)},null,8,[`operation`,`target`]),V(k(KS),{ref_key:`sendButtonRef`,ref:o,class:`z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold`,disabled:u.value,onClick:v},{default:A(()=>[I(`span`,dQt,[V(k(vC),{class:`relative shrink-0`,size:`xs`,weight:`fill`}),r[3]||=I(`span`,{class:`text-xxs hidden lg:flex`},`Send`,-1)]),I(`span`,fQt,` Send `+D(e.operation.method)+` request to `+D(e.server?.url??``)+D(e.operation.path),1)]),_:1},8,[`disabled`])])],8,oQt))}})})),hQt,gQt=c((()=>{Mg(),mQt(),hQt=jg(pQt,[[`__scopeId`,`data-v-cb2a35da`]])}));gQt(),aq(),hmt();var kq,_Qt=c((()=>{KF(),m_(),kq=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return GF;let t=new Set(GF);if(Array.isArray(e))for(let n of e){let e=WF[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of p_(WF))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=WF[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)}}));async function vQt({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:yQt({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function yQt({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:i}){if(r>=n)return;let a=e.join(` `),o=i?.(a)??a;return await t(o)?o:yQt({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}var bQt=c((()=>{})),xQt,SQt=c((()=>{xQt=e=>e!==void 0&&Object.keys(e).length>0})),Aq,jq=c((()=>{z_(),Aq=(e,t,n=!1,r=new Set)=>{for(let i in t)if(!(i in e))e[i]=t[i];else{let a=e[i],o=t[i];if(typeof a==`object`&&a&&typeof o==`object`&&o&&!(n&&(Array.isArray(a)||Array.isArray(o)))){let e=M_(a),t=M_(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),Aq(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e}})),CQt,wQt,TQt,EQt,DQt,OQt,kQt,AQt,jQt,MQt=c((()=>{bQt(),x_(),SQt(),jq(),Cq(),CQt=async(e,t,{selectedRequirements:n,newSchemes:r,meta:i})=>{let a=t?.[`x-scalar-navigation`]?.name;if(!a)return;let o=()=>i.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:a}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method}),s=(await Promise.all(r.map(async e=>{let n=await vQt({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(n)return t.components||={},t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[n]=e.scheme,{[n]:[]}}))).filter(Boolean),c=o(),l=[...n,...s],u=()=>c?.selectedIndex?c.selectedIndex>=l.length?l.length-1:c.selectedIndex:0;return i.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:a},{selectedIndex:u(),selectedSchemes:l}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method},{selectedIndex:u(),selectedSchemes:l})},wQt=(e,t,{meta:n})=>{let r=t?.[`x-scalar-navigation`]?.name;if(r)return n.type===`document`?e?.auth.clearAuthSelectedSchemas({type:`document`,documentName:r}):e?.auth.clearAuthSelectedSchemas({type:`operation`,documentName:r,path:n.path,method:n.method})},TQt=(e,{payload:t,name:n})=>{let r=b_(e?.components?.securitySchemes?.[n]);if(!r){console.error(`Security scheme ${n} not found`);return}return r.type===t.type&&Aq(r,t),r},EQt=(e,t,{payload:n,name:r,overwrite:i=!1})=>{let a=t?.[`x-scalar-navigation`]?.name;if(!a)return;if(i){e?.auth.setAuthSecrets(a,r,n);return}let o=e?.auth.getAuthSecrets(a,r),s=Aq(Sq(o,{depth:1})??{},n);e?.auth.setAuthSecrets(a,r,s)},DQt=(e,t,{name:n})=>{let r=t?.[`x-scalar-navigation`]?.name;r&&e?.auth.clearAuthSecrets(r,n)},OQt=(e,t,{index:n,meta:r})=>{let i=t?.[`x-scalar-navigation`]?.name;if(!i||r.type===`operation`&&t?.paths?.[r.path]?.[r.method]===void 0)return;let a=r.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:i}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method});if(!a)return r.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:i},{selectedIndex:n,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:[]});a.selectedIndex=n},kQt=(e,t,{id:n,name:r,scopes:i,newScopePayload:a,meta:o})=>{let s=t?.[`x-scalar-navigation`]?.name;if(!s)return;let c=o.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:s}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:s,path:o.path,method:o.method});if(!c)return;let l=c.selectedSchemes.find(e=>JSON.stringify(Object.keys(e))===JSON.stringify(n));if(xQt(l)){if(a){let e=b_(t.components?.securitySchemes?.[r])?.flows?.[a?.flowType];if(!e)return;e.scopes||={},e.scopes[a.name]=a.description,l[r]=[...i,a.name];return}l[r]=i}},AQt=(e,t,{names:n})=>{let r=t?.[`x-scalar-navigation`]?.name;if(!r)return;let i=b_(t.components?.securitySchemes);if(!i)return;n.forEach(e=>{delete i[e]});let a=(e,t)=>Math.max(0,Math.min(e,t-1)),o=e=>(Sq(e,{depth:1})??[]).filter(e=>!n.some(t=>Object.keys(e).includes(t))),s=e?.auth.getAuthSelectedSchemas({type:`document`,documentName:r});s&&(s.selectedSchemes=o(s.selectedSchemes),s.selectedIndex=a(s.selectedIndex,s.selectedSchemes.length)),t.security&&=o(t.security),Object.entries(t.paths??{}).forEach(([t,n])=>{Object.entries(n).forEach(([n,i])=>{if(typeof i!=`object`)return;let s=b_(i);`security`in s&&s.security&&(s.security=o(s.security));let c=e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n});c&&(c.selectedSchemes=o(c.selectedSchemes),c.selectedIndex=a(c.selectedIndex,c.selectedSchemes.length))})})},jQt=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>CQt(t,e,n),clearSelectedSecuritySchemes:n=>wQt(t,e,n),updateSecurityScheme:t=>TQt(e,t),updateSecuritySchemeSecrets:n=>EQt(t,e,n),clearSecuritySchemeSecrets:n=>DQt(t,e,n),updateSelectedAuthTab:n=>OQt(t,e,n),updateSelectedScopes:n=>kQt(t,e,n),deleteSecurityScheme:n=>AQt(t,e,n)})}));function NQt(e){return Iq(e)&&!Mq(e)&&!Rq(e)&&Symbol.asyncIterator in e}function Mq(e){return Array.isArray(e)}function PQt(e){return typeof e==`bigint`}function Nq(e){return typeof e==`boolean`}function Pq(e){return e instanceof globalThis.Date}function FQt(e){return typeof e==`function`}function IQt(e){return Iq(e)&&!Mq(e)&&!Rq(e)&&Symbol.iterator in e}function LQt(e){return e===null}function Fq(e){return typeof e==`number`}function Iq(e){return typeof e==`object`&&!!e}function RQt(e){return e instanceof globalThis.RegExp}function Lq(e){return typeof e==`string`}function zQt(e){return typeof e==`symbol`}function Rq(e){return e instanceof globalThis.Uint8Array}function zq(e){return e===void 0}var Bq=c((()=>{}));function BQt(e){return e.map(e=>Vq(e))}function VQt(e){return new Date(e.getTime())}function HQt(e){return new Uint8Array(e)}function UQt(e){return new RegExp(e.source,e.flags)}function WQt(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=Vq(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=Vq(e[n]);return t}function Vq(e){return Mq(e)?BQt(e):Pq(e)?VQt(e):Rq(e)?HQt(e):RQt(e)?UQt(e):Iq(e)?WQt(e):e}function Hq(e){return Vq(e)}var Uq=c((()=>{Bq()}));function Wq(e,t){return Hq(t===void 0?e:{...t,...e})}var Gq=c((()=>{Uq()})),GQt=c((()=>{Gq(),Uq()}));function KQt(e){return Yq(e)&&globalThis.Symbol.asyncIterator in e}function qQt(e){return Yq(e)&&globalThis.Symbol.iterator in e}function JQt(e){return e instanceof globalThis.Promise}function Kq(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function YQt(e){return e instanceof globalThis.Map}function XQt(e){return e instanceof globalThis.Set}function ZQt(e){return globalThis.ArrayBuffer.isView(e)}function qq(e){return e instanceof globalThis.Uint8Array}function Jq(e,t){return t in e}function Yq(e){return typeof e==`object`&&!!e}function Xq(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Zq(e){return e===void 0}function Qq(e){return e===null}function $q(e){return typeof e==`boolean`}function eJ(e){return typeof e==`number`}function QQt(e){return globalThis.Number.isInteger(e)}function tJ(e){return typeof e==`bigint`}function nJ(e){return typeof e==`string`}function rJ(e){return typeof e==`function`}function iJ(e){return typeof e==`symbol`}function aJ(e){return tJ(e)||$q(e)||Qq(e)||eJ(e)||nJ(e)||iJ(e)||Zq(e)}var oJ=c((()=>{})),sJ=c((()=>{oJ()})),cJ,lJ=c((()=>{sJ(),(function(e){e.InstanceMode=`default`,e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(t,n){return e.ExactOptionalPropertyTypes?n in t:t[n]!==void 0}e.IsExactOptionalProperty=t;function n(t){let n=Yq(t);return e.AllowArrayObject?n:n&&!Xq(t)}e.IsObjectLike=n;function r(e){return n(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=r;function i(t){return e.AllowNaN?eJ(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=Zq(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(cJ||={})}));function $Qt(e){return globalThis.Object.freeze(e).map(e=>uJ(e))}function e$t(e){return e}function t$t(e){return e}function n$t(e){return e}function r$t(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=uJ(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=uJ(e[n]);return globalThis.Object.freeze(t)}function uJ(e){return Mq(e)?$Qt(e):Pq(e)?e$t(e):Rq(e)?t$t(e):RQt(e)?n$t(e):Iq(e)?r$t(e):e}var i$t=c((()=>{Bq()}));function dJ(e,t){let n=t===void 0?e:{...t,...e};switch(cJ.InstanceMode){case`freeze`:return uJ(n);case`clone`:return Hq(n);default:return n}}var fJ=c((()=>{lJ(),i$t(),Uq()})),pJ=c((()=>{fJ()})),mJ,a$t=c((()=>{mJ=class extends Error{constructor(e){super(e)}}})),hJ=c((()=>{a$t()})),gJ,_J,vJ,yJ,bJ,xJ=c((()=>{gJ=Symbol.for(`TypeBox.Transform`),_J=Symbol.for(`TypeBox.Readonly`),vJ=Symbol.for(`TypeBox.Optional`),yJ=Symbol.for(`TypeBox.Hint`),bJ=Symbol.for(`TypeBox.Kind`)})),SJ=c((()=>{xJ()}));function CJ(e){return Iq(e)&&e[_J]===`Readonly`}function wJ(e){return Iq(e)&&e[vJ]===`Optional`}function o$t(e){return FJ(e,`Any`)}function s$t(e){return FJ(e,`Argument`)}function TJ(e){return FJ(e,`Array`)}function EJ(e){return FJ(e,`AsyncIterator`)}function DJ(e){return FJ(e,`BigInt`)}function OJ(e){return FJ(e,`Boolean`)}function kJ(e){return FJ(e,`Computed`)}function AJ(e){return FJ(e,`Constructor`)}function c$t(e){return FJ(e,`Date`)}function jJ(e){return FJ(e,`Function`)}function MJ(e){return FJ(e,`Integer`)}function NJ(e){return FJ(e,`Intersect`)}function PJ(e){return FJ(e,`Iterator`)}function FJ(e,t){return Iq(e)&&bJ in e&&e[bJ]===t}function l$t(e){return Nq(e)||Fq(e)||Lq(e)}function IJ(e){return FJ(e,`Literal`)}function LJ(e){return FJ(e,`MappedKey`)}function RJ(e){return FJ(e,`MappedResult`)}function zJ(e){return FJ(e,`Never`)}function u$t(e){return FJ(e,`Not`)}function BJ(e){return FJ(e,`Null`)}function VJ(e){return FJ(e,`Number`)}function HJ(e){return FJ(e,`Object`)}function UJ(e){return FJ(e,`Promise`)}function WJ(e){return FJ(e,`Record`)}function GJ(e){return FJ(e,`Ref`)}function d$t(e){return FJ(e,`RegExp`)}function KJ(e){return FJ(e,`String`)}function qJ(e){return FJ(e,`Symbol`)}function JJ(e){return FJ(e,`TemplateLiteral`)}function f$t(e){return FJ(e,`This`)}function YJ(e){return Iq(e)&&gJ in e}function XJ(e){return FJ(e,`Tuple`)}function ZJ(e){return FJ(e,`Undefined`)}function QJ(e){return FJ(e,`Union`)}function p$t(e){return FJ(e,`Uint8Array`)}function m$t(e){return FJ(e,`Unknown`)}function h$t(e){return FJ(e,`Unsafe`)}function g$t(e){return FJ(e,`Void`)}function $J(e){return Iq(e)&&bJ in e&&Lq(e[bJ])}function eY(e){return o$t(e)||s$t(e)||TJ(e)||OJ(e)||DJ(e)||EJ(e)||kJ(e)||AJ(e)||c$t(e)||jJ(e)||MJ(e)||NJ(e)||PJ(e)||IJ(e)||LJ(e)||RJ(e)||zJ(e)||u$t(e)||BJ(e)||VJ(e)||HJ(e)||UJ(e)||WJ(e)||GJ(e)||d$t(e)||KJ(e)||qJ(e)||JJ(e)||f$t(e)||XJ(e)||ZJ(e)||QJ(e)||p$t(e)||m$t(e)||h$t(e)||g$t(e)||$J(e)}var tY=c((()=>{Bq(),SJ()}));function _$t(e){try{return new RegExp(e),!0}catch{return!1}}function nY(e){if(!Lq(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function v$t(e){return aY(e)||RY(e)}function rY(e){return zq(e)||PQt(e)}function iY(e){return zq(e)||Fq(e)}function aY(e){return zq(e)||Nq(e)}function oY(e){return zq(e)||Lq(e)}function y$t(e){return zq(e)||Lq(e)&&nY(e)&&_$t(e)}function b$t(e){return zq(e)||Lq(e)&&nY(e)}function x$t(e){return zq(e)||RY(e)}function sY(e){return Iq(e)&&e[vJ]===`Optional`}function cY(e){return yY(e,`Any`)&&oY(e.$id)}function S$t(e){return yY(e,`Argument`)&&Fq(e.index)}function lY(e){return yY(e,`Array`)&&e.type===`array`&&oY(e.$id)&&RY(e.items)&&iY(e.minItems)&&iY(e.maxItems)&&aY(e.uniqueItems)&&x$t(e.contains)&&iY(e.minContains)&&iY(e.maxContains)}function uY(e){return yY(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&oY(e.$id)&&RY(e.items)}function dY(e){return yY(e,`BigInt`)&&e.type===`bigint`&&oY(e.$id)&&rY(e.exclusiveMaximum)&&rY(e.exclusiveMinimum)&&rY(e.maximum)&&rY(e.minimum)&&rY(e.multipleOf)}function fY(e){return yY(e,`Boolean`)&&e.type===`boolean`&&oY(e.$id)}function C$t(e){return yY(e,`Computed`)&&Lq(e.target)&&Mq(e.parameters)&&e.parameters.every(e=>RY(e))}function pY(e){return yY(e,`Constructor`)&&e.type===`Constructor`&&oY(e.$id)&&Mq(e.parameters)&&e.parameters.every(e=>RY(e))&&RY(e.returns)}function mY(e){return yY(e,`Date`)&&e.type===`Date`&&oY(e.$id)&&iY(e.exclusiveMaximumTimestamp)&&iY(e.exclusiveMinimumTimestamp)&&iY(e.maximumTimestamp)&&iY(e.minimumTimestamp)&&iY(e.multipleOfTimestamp)}function hY(e){return yY(e,`Function`)&&e.type===`Function`&&oY(e.$id)&&Mq(e.parameters)&&e.parameters.every(e=>RY(e))&&RY(e.returns)}function gY(e){return yY(e,`Integer`)&&e.type===`integer`&&oY(e.$id)&&iY(e.exclusiveMaximum)&&iY(e.exclusiveMinimum)&&iY(e.maximum)&&iY(e.minimum)&&iY(e.multipleOf)}function w$t(e){return Iq(e)&&Object.entries(e).every(([e,t])=>nY(e)&&RY(t))}function _Y(e){return yY(e,`Intersect`)&&!(Lq(e.type)&&e.type!==`object`)&&Mq(e.allOf)&&e.allOf.every(e=>RY(e)&&!N$t(e))&&oY(e.type)&&(aY(e.unevaluatedProperties)||x$t(e.unevaluatedProperties))&&oY(e.$id)}function vY(e){return yY(e,`Iterator`)&&e.type===`Iterator`&&oY(e.$id)&&RY(e.items)}function yY(e,t){return Iq(e)&&bJ in e&&e[bJ]===t}function T$t(e){return bY(e)&&Lq(e.const)}function E$t(e){return bY(e)&&Fq(e.const)}function D$t(e){return bY(e)&&Nq(e.const)}function bY(e){return yY(e,`Literal`)&&oY(e.$id)&&O$t(e.const)}function O$t(e){return Nq(e)||Fq(e)||Lq(e)}function k$t(e){return yY(e,`MappedKey`)&&Mq(e.keys)&&e.keys.every(e=>Fq(e)||Lq(e))}function A$t(e){return yY(e,`MappedResult`)&&w$t(e.properties)}function xY(e){return yY(e,`Never`)&&Iq(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function SY(e){return yY(e,`Not`)&&RY(e.not)}function CY(e){return yY(e,`Null`)&&e.type===`null`&&oY(e.$id)}function wY(e){return yY(e,`Number`)&&e.type===`number`&&oY(e.$id)&&iY(e.exclusiveMaximum)&&iY(e.exclusiveMinimum)&&iY(e.maximum)&&iY(e.minimum)&&iY(e.multipleOf)}function TY(e){return yY(e,`Object`)&&e.type===`object`&&oY(e.$id)&&w$t(e.properties)&&v$t(e.additionalProperties)&&iY(e.minProperties)&&iY(e.maxProperties)}function EY(e){return yY(e,`Promise`)&&e.type===`Promise`&&oY(e.$id)&&RY(e.item)}function DY(e){return yY(e,`Record`)&&e.type===`object`&&oY(e.$id)&&v$t(e.additionalProperties)&&Iq(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&_$t(t[0])&&Iq(e.patternProperties)&&RY(e.patternProperties[t[0]])})(e)}function j$t(e){return yY(e,`Ref`)&&oY(e.$id)&&Lq(e.$ref)}function OY(e){return yY(e,`RegExp`)&&oY(e.$id)&&Lq(e.source)&&Lq(e.flags)&&iY(e.maxLength)&&iY(e.minLength)}function kY(e){return yY(e,`String`)&&e.type===`string`&&oY(e.$id)&&iY(e.minLength)&&iY(e.maxLength)&&y$t(e.pattern)&&b$t(e.format)}function AY(e){return yY(e,`Symbol`)&&e.type===`symbol`&&oY(e.$id)}function jY(e){return yY(e,`TemplateLiteral`)&&e.type===`string`&&Lq(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function M$t(e){return yY(e,`This`)&&oY(e.$id)&&Lq(e.$ref)}function N$t(e){return Iq(e)&&gJ in e}function MY(e){return yY(e,`Tuple`)&&e.type===`array`&&oY(e.$id)&&Fq(e.minItems)&&Fq(e.maxItems)&&e.minItems===e.maxItems&&(zq(e.items)&&zq(e.additionalItems)&&e.minItems===0||Mq(e.items)&&e.items.every(e=>RY(e)))}function NY(e){return yY(e,`Undefined`)&&e.type===`undefined`&&oY(e.$id)}function PY(e){return yY(e,`Union`)&&oY(e.$id)&&Iq(e)&&Mq(e.anyOf)&&e.anyOf.every(e=>RY(e))}function FY(e){return yY(e,`Uint8Array`)&&e.type===`Uint8Array`&&oY(e.$id)&&iY(e.minByteLength)&&iY(e.maxByteLength)}function IY(e){return yY(e,`Unknown`)&&oY(e.$id)}function P$t(e){return yY(e,`Unsafe`)}function LY(e){return yY(e,`Void`)&&e.type===`void`&&oY(e.$id)}function F$t(e){return Iq(e)&&bJ in e&&Lq(e[bJ])&&!I$t.includes(e[bJ])}function RY(e){return Iq(e)&&(cY(e)||S$t(e)||lY(e)||fY(e)||dY(e)||uY(e)||C$t(e)||pY(e)||mY(e)||hY(e)||gY(e)||_Y(e)||vY(e)||bY(e)||k$t(e)||A$t(e)||xY(e)||SY(e)||CY(e)||wY(e)||TY(e)||EY(e)||DY(e)||j$t(e)||OY(e)||kY(e)||AY(e)||jY(e)||M$t(e)||MY(e)||NY(e)||PY(e)||FY(e)||IY(e)||P$t(e)||LY(e)||F$t(e))}var I$t,L$t=c((()=>{Bq(),SJ(),I$t=`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(`.`)})),R$t=c((()=>{L$t(),Bq()})),z$t=c((()=>{})),B$t=c((()=>{z$t()})),zY,BY,VY,V$t,HY,UY,H$t,U$t=c((()=>{zY=`(true|false)`,BY=`(0|[1-9][0-9]*)`,VY=`(.*)`,V$t=`(?!.*)`,`${zY}`,HY=`^${BY}$`,UY=`^${VY}$`,H$t=`^${V$t}$`})),WY=c((()=>{U$t()}));function GY(e){return KY.has(e)}function W$t(e,t){KY.set(e,t)}function G$t(e){return KY.get(e)}var KY,K$t=c((()=>{KY=new Map}));function qY(e){return JY.has(e)}function q$t(e,t){JY.set(e,t)}function J$t(e){return JY.get(e)}var JY,Y$t=c((()=>{JY=new Map})),YY=c((()=>{K$t(),Y$t()}));function X$t(e,t){return e.includes(t)}function Z$t(e){return[...new Set(e)]}function Q$t(e,t){return e.filter(e=>t.includes(e))}function $$t(e,t){return e.reduce((e,t)=>Q$t(e,t),t)}function e1t(e){return e.length===1?e[0]:e.length>1?$$t(e.slice(1),e[0]):[]}function t1t(e){let t=[];for(let n of e)t.push(...n);return t}var n1t=c((()=>{})),XY=c((()=>{n1t()}));function ZY(e){return dJ({[bJ]:`Any`},e)}var r1t=c((()=>{pJ(),SJ()})),QY=c((()=>{r1t()}));function $Y(e,t){return dJ({[bJ]:`Array`,type:`array`,items:e},t)}var i1t=c((()=>{fJ(),SJ()})),eX=c((()=>{i1t()}));function a1t(e){return dJ({[bJ]:`Argument`,index:e})}var o1t=c((()=>{fJ(),SJ()})),s1t=c((()=>{o1t()}));function tX(e,t){return dJ({[bJ]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}var c1t=c((()=>{SJ(),fJ()})),nX=c((()=>{c1t()}));function rX(e,t,n){return dJ({[bJ]:`Computed`,target:e,parameters:t},n)}var l1t=c((()=>{pJ(),xJ()})),iX=c((()=>{l1t()}));function u1t(e,t){let{[t]:n,...r}=e;return r}function aX(e,t){return t.reduce((e,t)=>u1t(e,t),e)}var oX=c((()=>{})),sX=c((()=>{oX()}));function cX(e){return dJ({[bJ]:`Never`,not:{}},e)}var d1t=c((()=>{fJ(),SJ()})),lX=c((()=>{d1t()})),f1t=c((()=>{}));function uX(e){return dJ({[bJ]:`MappedResult`,properties:e})}var p1t=c((()=>{fJ(),SJ()}));function dX(e,t,n){return dJ({[bJ]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}var m1t=c((()=>{fJ(),SJ()})),fX=c((()=>{m1t()}));function pX(e,t,n){return dJ({[bJ]:`Function`,type:`Function`,parameters:e,returns:t},n)}var h1t=c((()=>{fJ(),SJ()})),mX=c((()=>{h1t()}));function hX(e,t){return dJ({[bJ]:`Union`,anyOf:e},t)}var g1t=c((()=>{fJ(),SJ()}));function _1t(e){return e.some(e=>wJ(e))}function v1t(e){return e.map(e=>wJ(e)?y1t(e):e)}function y1t(e){return aX(e,[vJ])}function b1t(e,t){return _1t(e)?aZ(hX(v1t(e),t)):hX(v1t(e),t)}function gX(e,t){return e.length===1?dJ(e[0],t):e.length===0?cX(t):b1t(e,t)}var x1t=c((()=>{fJ(),SJ(),sX(),lX(),oZ(),g1t(),tY()})),S1t=c((()=>{}));function _X(e,t){return e.length===0?cX(t):e.length===1?dJ(e[0],t):hX(e,t)}var C1t=c((()=>{lX(),fJ(),g1t()})),vX=c((()=>{x1t(),S1t(),C1t()}));function w1t(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function yX(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function bX(e,t){return yX(e,t,`(`)}function xX(e,t){return yX(e,t,`)`)}function T1t(e,t){return yX(e,t,`|`)}function E1t(e){if(!(bX(e,0)&&xX(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(bX(e,n)&&(t+=1),xX(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function D1t(e){return e.slice(1,e.length-1)}function O1t(e){let t=0;for(let n=0;n<e.length;n++)if(bX(e,n)&&(t+=1),xX(e,n)&&--t,T1t(e,n)&&t===0)return!0;return!1}function k1t(e){for(let t=0;t<e.length;t++)if(bX(e,t))return!0;return!1}function A1t(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(bX(e,i)&&(t+=1),xX(e,i)&&--t,T1t(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(SX(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(SX(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function j1t(e){function t(e,t){if(!bX(e,t))throw new wX(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(bX(e,r)&&(n+=1),xX(e,r)&&--n,n===0)return[t,r];throw new wX(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(bX(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(bX(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(SX(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(SX(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function SX(e){return E1t(e)?SX(D1t(e)):O1t(e)?A1t(e):k1t(e)?j1t(e):{type:`const`,const:w1t(e)}}function CX(e){return SX(e.slice(1,e.length-1))}var wX,TX=c((()=>{hJ(),wX=class extends mJ{}}));function M1t(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`0`&&e.expr[1].type===`const`&&e.expr[1].const===`[1-9][0-9]*`}function N1t(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`true`&&e.expr[1].type===`const`&&e.expr[1].const===`false`}function P1t(e){return e.type===`const`&&e.const===`.*`}function EX(e){return M1t(e)||P1t(e)?!1:N1t(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>EX(e)):e.type===`const`?!0:(()=>{throw new I1t(`Unknown expression type`)})()}function F1t(e){return EX(CX(e.pattern))}var I1t,L1t=c((()=>{TX(),hJ(),I1t=class extends mJ{}}));function*R1t(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of R1t(e.slice(1)))yield`${t}${n}`}function*z1t(e){return yield*R1t(e.expr.map(e=>[...DX(e)]))}function*B1t(e){for(let t of e.expr)yield*DX(t)}function*V1t(e){return yield e.const}function*DX(e){return e.type===`and`?yield*z1t(e):e.type===`or`?yield*B1t(e):e.type===`const`?yield*V1t(e):(()=>{throw new H1t(`Unknown expression`)})()}function OX(e){let t=CX(e.pattern);return EX(t)?[...DX(t)]:[]}var H1t,U1t=c((()=>{L1t(),TX(),hJ(),H1t=class extends mJ{}}));function kX(e,t){return dJ({[bJ]:`Literal`,const:e,type:typeof e},t)}var W1t=c((()=>{fJ(),SJ()})),AX=c((()=>{W1t()}));function G1t(e){return dJ({[bJ]:`Boolean`,type:`boolean`},e)}var K1t=c((()=>{SJ(),pJ()})),jX=c((()=>{K1t()}));function MX(e){return dJ({[bJ]:`BigInt`,type:`bigint`},e)}var q1t=c((()=>{SJ(),pJ()})),NX=c((()=>{q1t()}));function PX(e){return dJ({[bJ]:`Number`,type:`number`},e)}var J1t=c((()=>{fJ(),SJ()})),FX=c((()=>{J1t()}));function IX(e){return dJ({[bJ]:`String`,type:`string`},e)}var Y1t=c((()=>{fJ(),SJ()})),LX=c((()=>{Y1t()}));function*X1t(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield G1t():t===`number`?yield PX():t===`bigint`?yield MX():t===`string`?yield IX():yield(()=>{let e=t.split(`|`).map(e=>kX(e.trim()));return e.length===0?cX():e.length===1?e[0]:gX(e)})()}function*Z1t(e){if(e[1]!==`{`)return yield*[kX(`$`),...RX(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=X1t(e.slice(2,t)),r=RX(e.slice(t+1));return yield*[...n,...r]}yield kX(e)}function*RX(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[kX(e.slice(0,t)),...Z1t(e.slice(t))];yield kX(e)}function Q1t(e){return[...RX(e)]}var $1t=c((()=>{AX(),jX(),NX(),FX(),LX(),vX(),lX()}));function e0t(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function t0t(e,t){return JJ(e)?e.pattern.slice(1,e.pattern.length-1):QJ(e)?`(${e.anyOf.map(e=>t0t(e,t)).join(`|`)})`:VJ(e)||MJ(e)||DJ(e)?`${t}${BY}`:KJ(e)?`${t}${VY}`:IJ(e)?`${t}${e0t(e.const.toString())}`:OJ(e)?`${t}${zY}`:(()=>{throw new r0t(`Unexpected Kind '${e[bJ]}'`)})()}function n0t(e){return`^${e.map(e=>t0t(e,``)).join(``)}\$`}var r0t,i0t=c((()=>{WY(),SJ(),hJ(),tY(),r0t=class extends mJ{}}));function zX(e){return gX(OX(e).map(e=>kX(e)))}var a0t=c((()=>{vX(),AX(),U1t()}));function o0t(e,t){let n=Lq(e)?n0t(Q1t(e)):n0t(e);return dJ({[bJ]:`TemplateLiteral`,type:`string`,pattern:n},t)}var s0t=c((()=>{fJ(),$1t(),i0t(),Bq(),SJ()})),BX=c((()=>{L1t(),U1t(),$1t(),TX(),i0t(),a0t(),s0t()}));function c0t(e){return OX(e).map(e=>e.toString())}function l0t(e){let t=[];for(let n of e)t.push(...VX(n));return t}function u0t(e){return[e.toString()]}function VX(e){return[...new Set(JJ(e)?c0t(e):QJ(e)?l0t(e.anyOf):IJ(e)?u0t(e.const):VJ(e)||MJ(e)?[`[number]`]:[])]}var HX=c((()=>{BX(),tY()}));function d0t(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=WX(e,VX(t[i]),n);return r}function f0t(e,t,n){return d0t(e,t.properties,n)}function p0t(e,t,n){return uX(f0t(e,t,n))}var m0t=c((()=>{iZ(),HX(),KX()}));function h0t(e,t){return e.map(e=>C0t(e,t))}function g0t(e){return e.filter(e=>!zJ(e))}function _0t(e,t){return p2t(g0t(h0t(e,t)))}function v0t(e){return e.some(e=>zJ(e))?[]:e}function y0t(e,t){return gX(v0t(h0t(e,t)))}function b0t(e,t){return t in e?e[t]:t===`[number]`?gX(e):cX()}function x0t(e,t){return t===`[number]`?e:cX()}function S0t(e,t){return t in e?e[t]:cX()}function C0t(e,t){return NJ(e)?_0t(e.allOf,t):QJ(e)?y0t(e.anyOf,t):XJ(e)?b0t(e.items??[],t):TJ(e)?x0t(e.items,t):HJ(e)?S0t(e.properties,t):cX()}function UX(e,t){return t.map(t=>C0t(e,t))}function w0t(e,t){return gX(UX(e,t))}function WX(e,t,n){if(GJ(e)||GJ(t)){if(!eY(e)||!eY(t))throw new mJ(`Index types using Ref parameters require both Type and Key to be of TSchema`);return rX(`Index`,[e,t])}return RJ(t)?p0t(e,t,n):LJ(t)?O0t(e,t,n):dJ(eY(t)?w0t(e,VX(t)):w0t(e,t),n)}var GX=c((()=>{fJ(),hJ(),iX(),lX(),lZ(),vX(),HX(),k0t(),m0t(),tY()}));function T0t(e,t,n){return{[t]:WX(e,[t],Hq(n))}}function E0t(e,t,n){return t.reduce((t,r)=>({...t,...T0t(e,r,n)}),{})}function D0t(e,t,n){return E0t(e,t.keys,n)}function O0t(e,t,n){return uX(D0t(e,t,n))}var k0t=c((()=>{GX(),iZ(),Uq()})),KX=c((()=>{k0t(),m0t(),HX(),GX()}));function qX(e,t){return dJ({[bJ]:`Iterator`,type:`Iterator`,items:e},t)}var A0t=c((()=>{fJ(),SJ()})),JX=c((()=>{A0t()}));function j0t(e){let t=[];for(let n in e)wJ(e[n])||t.push(n);return t}function M0t(e,t){let n=j0t(e);return dJ(n.length>0?{[bJ]:`Object`,type:`object`,properties:e,required:n}:{[bJ]:`Object`,type:`object`,properties:e},t)}var YX,N0t=c((()=>{fJ(),SJ(),tY(),YX=M0t})),XX=c((()=>{N0t()}));function P0t(e,t){return dJ({[bJ]:`Promise`,type:`Promise`,item:e},t)}var F0t=c((()=>{fJ(),SJ()})),ZX=c((()=>{F0t()}));function I0t(e){return dJ(aX(e,[_J]))}function L0t(e){return dJ({...e,[_J]:`Readonly`})}function R0t(e,t){return t===!1?I0t(e):L0t(e)}function QX(e,t){let n=t??!0;return RJ(e)?H0t(e,n):R0t(e,n)}var z0t=c((()=>{fJ(),SJ(),sX(),U0t(),tY()}));function B0t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=QX(e[r],t);return n}function V0t(e,t){return B0t(e.properties,t)}function H0t(e,t){return uX(V0t(e,t))}var U0t=c((()=>{iZ(),z0t()})),$X=c((()=>{U0t(),z0t()}));function eZ(e,t){return dJ(e.length>0?{[bJ]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[bJ]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}var W0t=c((()=>{fJ(),SJ()})),tZ=c((()=>{W0t()}));function G0t(e,t){return e in t?rZ(e,t[e]):uX(t)}function K0t(e){return{[e]:kX(e)}}function q0t(e){let t={};for(let n of e)t[n]=kX(n);return t}function J0t(e,t){return X$t(t,e)?K0t(e):q0t(t)}function Y0t(e,t){return G0t(e,J0t(e,t))}function nZ(e,t){return t.map(t=>rZ(e,t))}function X0t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=rZ(e,t[r]);return n}function rZ(e,t){let n={...t};return wJ(t)?aZ(rZ(e,aX(t,[vJ]))):CJ(t)?QX(rZ(e,aX(t,[_J]))):RJ(t)?G0t(e,t.properties):LJ(t)?Y0t(e,t.keys):AJ(t)?dX(nZ(e,t.parameters),rZ(e,t.returns),n):jJ(t)?pX(nZ(e,t.parameters),rZ(e,t.returns),n):EJ(t)?tX(rZ(e,t.items),n):PJ(t)?qX(rZ(e,t.items),n):NJ(t)?cZ(nZ(e,t.allOf),n):QJ(t)?_X(nZ(e,t.anyOf),n):XJ(t)?eZ(nZ(e,t.items??[]),n):HJ(t)?YX(X0t(e,t.properties),n):TJ(t)?$Y(rZ(e,t.items),n):UJ(t)?P0t(rZ(e,t.item),n):t}function Z0t(e,t){let n={};for(let r of e)n[r]=rZ(r,t);return n}function Q0t(e,t,n){let r=eY(e)?VX(e):e;return YX(Z0t(r,t({[bJ]:`MappedKey`,keys:r})),n)}var $0t=c((()=>{SJ(),sX(),eX(),nX(),fX(),mX(),KX(),lZ(),JX(),AX(),XX(),oZ(),ZX(),$X(),tZ(),vX(),XY(),p1t(),tY()})),iZ=c((()=>{f1t(),p1t(),$0t()}));function e2t(e){return dJ(aX(e,[vJ]))}function t2t(e){return dJ({...e,[vJ]:`Optional`})}function n2t(e,t){return t===!1?e2t(e):t2t(e)}function aZ(e,t){let n=t??!0;return RJ(e)?o2t(e,n):n2t(e,n)}var r2t=c((()=>{fJ(),SJ(),sX(),s2t(),tY()}));function i2t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=aZ(e[r],t);return n}function a2t(e,t){return i2t(e.properties,t)}function o2t(e,t){return uX(a2t(e,t))}var s2t=c((()=>{iZ(),r2t()})),oZ=c((()=>{s2t(),r2t()}));function sZ(e,t={}){let n=e.every(e=>HJ(e)),r=eY(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return dJ(t.unevaluatedProperties===!1||eY(t.unevaluatedProperties)||n?{...r,[bJ]:`Intersect`,type:`object`,allOf:e}:{...r,[bJ]:`Intersect`,allOf:e},t)}var c2t=c((()=>{fJ(),SJ(),tY()}));function l2t(e){return e.every(e=>wJ(e))}function u2t(e){return aX(e,[vJ])}function d2t(e){return e.map(e=>wJ(e)?u2t(e):e)}function f2t(e,t){return l2t(e)?aZ(sZ(d2t(e),t)):sZ(d2t(e),t)}function p2t(e,t={}){if(e.length===1)return dJ(e[0],t);if(e.length===0)return cX(t);if(e.some(e=>YJ(e)))throw Error(`Cannot intersect transform types`);return f2t(e,t)}var m2t=c((()=>{SJ(),fJ(),sX(),lX(),oZ(),c2t(),tY()})),h2t=c((()=>{}));function cZ(e,t){if(e.length===1)return dJ(e[0],t);if(e.length===0)return cX(t);if(e.some(e=>YJ(e)))throw Error(`Cannot intersect transform types`);return sZ(e,t)}var g2t=c((()=>{fJ(),lX(),c2t(),tY()})),lZ=c((()=>{m2t(),h2t(),g2t()}));function uZ(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new mJ(`Ref: $ref must be a string`);return dJ({[bJ]:`Ref`,$ref:t},n)}var _2t=c((()=>{hJ(),fJ(),SJ()})),dZ=c((()=>{_2t()}));function v2t(e,t){return rX(`Awaited`,[rX(e,t)])}function y2t(e){return rX(`Awaited`,[uZ(e)])}function b2t(e){return cZ(C2t(e))}function x2t(e){return _X(C2t(e))}function S2t(e){return fZ(e)}function C2t(e){return e.map(e=>fZ(e))}function fZ(e,t){return dJ(kJ(e)?v2t(e.target,e.parameters):NJ(e)?b2t(e.allOf):QJ(e)?x2t(e.anyOf):UJ(e)?S2t(e.item):GJ(e)?y2t(e.$ref):e,t)}var w2t=c((()=>{fJ(),iX(),lZ(),vX(),dZ(),tY()})),pZ=c((()=>{w2t()}));function T2t(e){let t=[];for(let n of e)t.push(mZ(n));return t}function E2t(e){return t1t(T2t(e))}function D2t(e){return e1t(T2t(e))}function O2t(e){return e.map((e,t)=>t.toString())}function k2t(e){return[`[number]`]}function A2t(e){return globalThis.Object.getOwnPropertyNames(e)}function j2t(e){return gZ?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function mZ(e){return NJ(e)?E2t(e.allOf):QJ(e)?D2t(e.anyOf):XJ(e)?O2t(e.items??[]):TJ(e)?k2t(e.items):HJ(e)?A2t(e.properties):WJ(e)?j2t(e.patternProperties):[]}function hZ(e){gZ=!0;let t=mZ(e);return gZ=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}var gZ,_Z=c((()=>{XY(),tY(),gZ=!1}));function M2t(e,t){return rX(`KeyOf`,[rX(e,t)])}function N2t(e){return rX(`KeyOf`,[uZ(e)])}function P2t(e,t){return dJ(gX(F2t(mZ(e))),t)}function F2t(e){return e.map(e=>e===`[number]`?PX():kX(e))}function vZ(e,t){return kJ(e)?M2t(e.target,e.parameters):GJ(e)?N2t(e.$ref):RJ(e)?z2t(e,t):P2t(e,t)}var I2t=c((()=>{fJ(),AX(),FX(),iX(),dZ(),_Z(),vX(),B2t(),tY()}));function L2t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=vZ(e[r],Hq(t));return n}function R2t(e,t){return L2t(e.properties,t)}function z2t(e,t){return uX(R2t(e,t))}var B2t=c((()=>{iZ(),I2t(),Uq()}));function V2t(e){let t=mZ(e),n=UX(e,t);return t.map((e,r)=>[t[r],n[r]])}var H2t=c((()=>{GX(),_Z()})),yZ=c((()=>{B2t(),H2t(),_Z(),I2t()}));function U2t(e){let t=[];for(let n of e)t.push(...mZ(n));return Z$t(t)}function W2t(e){return e.filter(e=>!zJ(e))}function G2t(e,t){let n=[];for(let r of e)n.push(...UX(r,[t]));return W2t(n)}function K2t(e,t){let n={};for(let r of t)n[r]=p2t(G2t(e,r));return n}function q2t(e,t){return YX(K2t(e,U2t(e)),t)}var J2t=c((()=>{lZ(),KX(),yZ(),XX(),XY(),tY()})),Y2t=c((()=>{J2t()}));function X2t(e){return dJ({[bJ]:`Date`,type:`Date`},e)}var Z2t=c((()=>{SJ(),fJ()})),bZ=c((()=>{Z2t()}));function Q2t(e){return dJ({[bJ]:`Null`,type:`null`},e)}var $2t=c((()=>{fJ(),SJ()})),xZ=c((()=>{$2t()}));function e4t(e){return dJ({[bJ]:`Symbol`,type:`symbol`},e)}var t4t=c((()=>{fJ(),SJ()})),SZ=c((()=>{t4t()}));function n4t(e){return dJ({[bJ]:`Undefined`,type:`undefined`},e)}var r4t=c((()=>{fJ(),SJ()})),CZ=c((()=>{r4t()}));function i4t(e){return dJ({[bJ]:`Uint8Array`,type:`Uint8Array`},e)}var a4t=c((()=>{fJ(),SJ()})),wZ=c((()=>{a4t()}));function TZ(e){return dJ({[bJ]:`Unknown`},e)}var o4t=c((()=>{fJ(),SJ()})),EZ=c((()=>{o4t()}));function s4t(e){return e.map(e=>OZ(e,!1))}function c4t(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=QX(OZ(e[n],!1));return t}function DZ(e,t){return t===!0?e:QX(e)}function OZ(e,t){return NQt(e)||IQt(e)?DZ(ZY(),t):Mq(e)?QX(eZ(s4t(e))):Rq(e)?i4t():Pq(e)?X2t():Iq(e)?DZ(YX(c4t(e)),t):FQt(e)?DZ(pX([],TZ()),t):zq(e)?n4t():LQt(e)?Q2t():zQt(e)?e4t():PQt(e)?MX():Fq(e)||Nq(e)||Lq(e)?kX(e):YX({})}function l4t(e,t){return dJ(OZ(e,!0),t)}var u4t=c((()=>{QY(),NX(),bZ(),mX(),AX(),xZ(),XX(),SZ(),tZ(),$X(),CZ(),wZ(),EZ(),pJ(),Bq()})),d4t=c((()=>{u4t()}));function f4t(e,t){return AJ(e)?eZ(e.parameters,t):cX(t)}var p4t=c((()=>{tZ(),lX(),tY()})),m4t=c((()=>{p4t()}));function h4t(e,t){if(zq(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return _X([...new Set(n)].map(e=>kX(e)),{...t,[yJ]:`Enum`})}var g4t=c((()=>{AX(),SJ(),vX(),Bq()})),_4t=c((()=>{g4t()}));function kZ(e){return e===GZ.False?e:GZ.True}function AZ(e){throw new m3t(e)}function jZ(e){return xY(e)||_Y(e)||PY(e)||IY(e)||cY(e)}function MZ(e,t){return xY(t)?N4t(e,t):_Y(t)?PZ(e,t):PY(t)?HZ(e,t):IY(t)?u3t(e,t):cY(t)?NZ(e,t):AZ(`StructuralRight`)}function NZ(e,t){return GZ.True}function v4t(e,t){return _Y(t)?PZ(e,t):PY(t)&&t.anyOf.some(e=>cY(e)||IY(e))?GZ.True:PY(t)?GZ.Union:IY(t)||cY(t)?GZ.True:GZ.Union}function y4t(e,t){return IY(e)?GZ.False:cY(e)?GZ.Union:xY(e)?GZ.True:GZ.False}function b4t(e,t){return TY(t)&&LZ(t)?GZ.True:jZ(t)?MZ(e,t):lY(t)?kZ(UZ(e.items,t.items)):GZ.False}function x4t(e,t){return jZ(t)?MZ(e,t):uY(t)?kZ(UZ(e.items,t.items)):GZ.False}function S4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):dY(t)?GZ.True:GZ.False}function C4t(e,t){return D$t(e)||fY(e)?GZ.True:GZ.False}function w4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):fY(t)?GZ.True:GZ.False}function T4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):pY(t)?e.parameters.length>t.parameters.length?GZ.False:e.parameters.every((e,n)=>kZ(UZ(t.parameters[n],e))===GZ.True)?kZ(UZ(e.returns,t.returns)):GZ.False:GZ.False}function E4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):mY(t)?GZ.True:GZ.False}function D4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):hY(t)?e.parameters.length>t.parameters.length?GZ.False:e.parameters.every((e,n)=>kZ(UZ(t.parameters[n],e))===GZ.True)?kZ(UZ(e.returns,t.returns)):GZ.False:GZ.False}function O4t(e,t){return bY(e)&&Fq(e.const)||wY(e)||gY(e)?GZ.True:GZ.False}function k4t(e,t){return gY(t)||wY(t)?GZ.True:jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):GZ.False}function PZ(e,t){return t.allOf.every(t=>UZ(e,t)===GZ.True)?GZ.True:GZ.False}function A4t(e,t){return e.allOf.some(e=>UZ(e,t)===GZ.True)?GZ.True:GZ.False}function j4t(e,t){return jZ(t)?MZ(e,t):vY(t)?kZ(UZ(e.items,t.items)):GZ.False}function M4t(e,t){return bY(t)&&t.const===e.const?GZ.True:jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):kY(t)?e3t(e,t):wY(t)?R4t(e,t):gY(t)?O4t(e,t):fY(t)?C4t(e,t):GZ.False}function N4t(e,t){return GZ.False}function P4t(e,t){return GZ.True}function F4t(e){let[t,n]=[e,0];for(;SY(t);)t=t.not,n+=1;return n%2==0?t:TZ()}function I4t(e,t){return SY(e)?UZ(F4t(e),t):SY(t)?UZ(e,F4t(t)):AZ(`Invalid fallthrough for Not`)}function L4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):CY(t)?GZ.True:GZ.False}function R4t(e,t){return E$t(e)||wY(e)||gY(e)?GZ.True:GZ.False}function z4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):gY(t)||wY(t)?GZ.True:GZ.False}function FZ(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function B4t(e){return LZ(e)}function V4t(e){return FZ(e,0)||FZ(e,1)&&`description`in e.properties&&PY(e.properties.description)&&e.properties.description.anyOf.length===2&&(kY(e.properties.description.anyOf[0])&&NY(e.properties.description.anyOf[1])||kY(e.properties.description.anyOf[1])&&NY(e.properties.description.anyOf[0]))}function IZ(e){return FZ(e,0)}function H4t(e){return FZ(e,0)}function U4t(e){return FZ(e,0)}function W4t(e){return FZ(e,0)}function G4t(e){return LZ(e)}function K4t(e){let t=PX();return FZ(e,0)||FZ(e,1)&&`length`in e.properties&&kZ(UZ(e.properties.length,t))===GZ.True}function q4t(e){return FZ(e,0)}function LZ(e){let t=PX();return FZ(e,0)||FZ(e,1)&&`length`in e.properties&&kZ(UZ(e.properties.length,t))===GZ.True}function J4t(e){let t=pX([ZY()],ZY());return FZ(e,0)||FZ(e,1)&&`then`in e.properties&&kZ(UZ(e.properties.then,t))===GZ.True}function Y4t(e,t){return UZ(e,t)===GZ.False||sY(e)&&!sY(t)?GZ.False:GZ.True}function RZ(e,t){return IY(e)?GZ.False:cY(e)?GZ.Union:xY(e)||T$t(e)&&B4t(t)||E$t(e)&&IZ(t)||D$t(e)&&H4t(t)||AY(e)&&V4t(t)||dY(e)&&U4t(t)||kY(e)&&B4t(t)||AY(e)&&V4t(t)||wY(e)&&IZ(t)||gY(e)&&IZ(t)||fY(e)&&H4t(t)||FY(e)&&G4t(t)||mY(e)&&W4t(t)||pY(e)&&q4t(t)||hY(e)&&K4t(t)?GZ.True:DY(e)&&kY(zZ(e))?t[yJ]===`Record`?GZ.True:GZ.False:DY(e)&&wY(zZ(e))&&FZ(t,0)?GZ.True:GZ.False}function X4t(e,t){return jZ(t)?MZ(e,t):DY(t)?VZ(e,t):TY(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!sY(t.properties[n]))return GZ.False;if(sY(t.properties[n]))return GZ.True;if(Y4t(e.properties[n],t.properties[n])===GZ.False)return GZ.False}return GZ.True})():GZ.False}function Z4t(e,t){return jZ(t)?MZ(e,t):TY(t)&&J4t(t)?GZ.True:EY(t)?kZ(UZ(e.item,t.item)):GZ.False}function zZ(e){return HY in e.patternProperties?PX():UY in e.patternProperties?IX():AZ(`Unknown record key pattern`)}function BZ(e){return HY in e.patternProperties?e.patternProperties[HY]:UY in e.patternProperties?e.patternProperties[UY]:AZ(`Unable to get record value schema`)}function VZ(e,t){let[n,r]=[zZ(t),BZ(t)];return T$t(e)&&wY(n)&&kZ(UZ(e,r))===GZ.True?GZ.True:FY(e)&&wY(n)||kY(e)&&wY(n)||lY(e)&&wY(n)?UZ(e,r):TY(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(Y4t(r,e.properties[t])===GZ.False)return GZ.False;return GZ.True})():GZ.False}function Q4t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?UZ(BZ(e),BZ(t)):GZ.False}function $4t(e,t){return UZ(OY(e)?IX():e,OY(t)?IX():t)}function e3t(e,t){return bY(e)&&Lq(e.const)||kY(e)?GZ.True:GZ.False}function t3t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):kY(t)?GZ.True:GZ.False}function n3t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):AY(t)?GZ.True:GZ.False}function r3t(e,t){return jY(e)?UZ(zX(e),t):jY(t)?UZ(e,zX(t)):AZ(`Invalid fallthrough for TemplateLiteral`)}function i3t(e,t){return lY(t)&&e.items!==void 0&&e.items.every(e=>UZ(e,t.items)===GZ.True)}function a3t(e,t){return xY(e)?GZ.True:IY(e)?GZ.False:cY(e)?GZ.Union:GZ.False}function o3t(e,t){return jZ(t)?MZ(e,t):TY(t)&&LZ(t)||lY(t)&&i3t(e,t)?GZ.True:MY(t)?zq(e.items)&&!zq(t.items)||!zq(e.items)&&zq(t.items)?GZ.False:zq(e.items)&&!zq(t.items)||e.items.every((e,n)=>UZ(e,t.items[n])===GZ.True)?GZ.True:GZ.False:GZ.False}function s3t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):FY(t)?GZ.True:GZ.False}function c3t(e,t){return jZ(t)?MZ(e,t):TY(t)?RZ(e,t):DY(t)?VZ(e,t):LY(t)?f3t(e,t):NY(t)?GZ.True:GZ.False}function HZ(e,t){return t.anyOf.some(t=>UZ(e,t)===GZ.True)?GZ.True:GZ.False}function l3t(e,t){return e.anyOf.every(e=>UZ(e,t)===GZ.True)?GZ.True:GZ.False}function u3t(e,t){return GZ.True}function d3t(e,t){return xY(t)?N4t(e,t):_Y(t)?PZ(e,t):PY(t)?HZ(e,t):cY(t)?NZ(e,t):kY(t)?e3t(e,t):wY(t)?R4t(e,t):gY(t)?O4t(e,t):fY(t)?C4t(e,t):lY(t)?y4t(e,t):MY(t)?a3t(e,t):TY(t)?RZ(e,t):IY(t)?GZ.True:GZ.False}function f3t(e,t){return NY(e)||NY(e)?GZ.True:GZ.False}function p3t(e,t){return _Y(t)?PZ(e,t):PY(t)?HZ(e,t):IY(t)?u3t(e,t):cY(t)?NZ(e,t):TY(t)?RZ(e,t):LY(t)?GZ.True:GZ.False}function UZ(e,t){return jY(e)||jY(t)?r3t(e,t):OY(e)||OY(t)?$4t(e,t):SY(e)||SY(t)?I4t(e,t):cY(e)?v4t(e,t):lY(e)?b4t(e,t):dY(e)?S4t(e,t):fY(e)?w4t(e,t):uY(e)?x4t(e,t):pY(e)?T4t(e,t):mY(e)?E4t(e,t):hY(e)?D4t(e,t):gY(e)?k4t(e,t):_Y(e)?A4t(e,t):vY(e)?j4t(e,t):bY(e)?M4t(e,t):xY(e)?P4t(e,t):CY(e)?L4t(e,t):wY(e)?z4t(e,t):TY(e)?X4t(e,t):DY(e)?Q4t(e,t):kY(e)?t3t(e,t):AY(e)?n3t(e,t):MY(e)?o3t(e,t):EY(e)?Z4t(e,t):FY(e)?s3t(e,t):NY(e)?c3t(e,t):PY(e)?l3t(e,t):IY(e)?d3t(e,t):LY(e)?p3t(e,t):AZ(`Unknown left type operand '${e[bJ]}'`)}function WZ(e,t){return UZ(e,t)}var m3t,GZ,h3t=c((()=>{QY(),mX(),FX(),LX(),EZ(),BX(),WY(),SJ(),hJ(),R$t(),m3t=class extends mJ{},(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(GZ||={})}));function g3t(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=KZ(e[o],t,n,r,Hq(i));return a}function _3t(e,t,n,r,i){return g3t(e.properties,t,n,r,i)}function v3t(e,t,n,r,i){return uX(_3t(e,t,n,r,i))}var y3t=c((()=>{iZ(),qZ(),Uq()}));function b3t(e,t,n,r){let i=WZ(e,t);return i===GZ.Union?_X([n,r]):i===GZ.True?n:r}function KZ(e,t,n,r,i){return RJ(e)?v3t(e,t,n,r,i):LJ(e)?dJ(w3t(e,t,n,r,i)):dJ(b3t(e,t,n,r),i)}var qZ=c((()=>{fJ(),vX(),h3t(),T3t(),y3t(),tY()}));function x3t(e,t,n,r,i){return{[e]:KZ(kX(e),t,n,r,Hq(i))}}function S3t(e,t,n,r,i){return e.reduce((e,a)=>({...e,...x3t(a,t,n,r,i)}),{})}function C3t(e,t,n,r,i){return S3t(e.keys,t,n,r,i)}function w3t(e,t,n,r,i){return uX(C3t(e,t,n,r,i))}var T3t=c((()=>{iZ(),AX(),qZ(),Uq()}));function E3t(e){return e.allOf.every(e=>JZ(e))}function D3t(e){return e.anyOf.some(e=>JZ(e))}function O3t(e){return!JZ(e.not)}function JZ(e){return e[bJ]===`Intersect`?E3t(e):e[bJ]===`Union`?D3t(e):e[bJ]===`Not`?O3t(e):e[bJ]===`Undefined`}var k3t=c((()=>{SJ()})),YZ=c((()=>{h3t(),T3t(),y3t(),k3t(),qZ()}));function A3t(e,t){return XZ(zX(e),t)}var j3t=c((()=>{ZZ(),BX()}));function M3t(e,t){let n=e.filter(e=>WZ(e,t)===GZ.False);return n.length===1?n[0]:_X(n)}function XZ(e,t,n={}){return JJ(e)?dJ(A3t(e,t),n):RJ(e)?dJ(F3t(e,t),n):dJ(QJ(e)?M3t(e.anyOf,t):WZ(e,t)===GZ.False?e:cX(),n)}var ZZ=c((()=>{fJ(),vX(),lX(),YZ(),I3t(),j3t(),tY()}));function N3t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=XZ(e[r],t);return n}function P3t(e,t){return N3t(e.properties,t)}function F3t(e,t){return uX(P3t(e,t))}var I3t=c((()=>{iZ(),ZZ()})),L3t=c((()=>{I3t(),j3t(),ZZ()}));function R3t(e,t){return QZ(zX(e),t)}var z3t=c((()=>{$Z(),BX()}));function B3t(e,t){let n=e.filter(e=>WZ(e,t)!==GZ.False);return n.length===1?n[0]:_X(n)}function QZ(e,t,n){return JJ(e)?dJ(R3t(e,t),n):RJ(e)?dJ(U3t(e,t),n):dJ(QJ(e)?B3t(e.anyOf,t):WZ(e,t)===GZ.False?cX():e,n)}var $Z=c((()=>{fJ(),vX(),lX(),YZ(),W3t(),z3t(),tY()}));function V3t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=QZ(e[r],t);return n}function H3t(e,t){return V3t(e.properties,t)}function U3t(e,t){return uX(H3t(e,t))}var W3t=c((()=>{iZ(),$Z()})),G3t=c((()=>{W3t(),z3t(),$Z()}));function K3t(e,t){return AJ(e)?dJ(e.returns,t):cX(t)}var q3t=c((()=>{fJ(),lX(),tY()})),J3t=c((()=>{q3t()}));function Y3t(e){return QX(aZ(e))}var X3t=c((()=>{$X(),oZ()})),eQ=c((()=>{X3t()}));function tQ(e,t,n){return dJ({[bJ]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function nQ(e,t,n){let r={};for(let n of e)r[n]=t;return YX(r,{...n,[yJ]:`Record`})}function Z3t(e,t,n){return F1t(e)?nQ(VX(e),t,n):tQ(e.pattern,t,n)}function Q3t(e,t,n){return nQ(VX(_X(e)),t,n)}function $3t(e,t,n){return nQ([e.toString()],t,n)}function e6t(e,t,n){return tQ(e.source,t,n)}function t6t(e,t,n){return tQ(zq(e.pattern)?UY:e.pattern,t,n)}function n6t(e,t,n){return tQ(UY,t,n)}function r6t(e,t,n){return tQ(H$t,t,n)}function i6t(e,t,n){return YX({true:t,false:t},n)}function a6t(e,t,n){return tQ(HY,t,n)}function o6t(e,t,n){return tQ(HY,t,n)}function s6t(e,t,n={}){return QJ(e)?Q3t(e.anyOf,t,n):JJ(e)?Z3t(e,t,n):IJ(e)?$3t(e.const,t,n):OJ(e)?i6t(e,t,n):MJ(e)?a6t(e,t,n):VJ(e)?o6t(e,t,n):d$t(e)?e6t(e,t,n):KJ(e)?t6t(e,t,n):o$t(e)?n6t(e,t,n):zJ(e)?r6t(e,t,n):cX(n)}function rQ(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function c6t(e){let t=rQ(e);return t===UY?IX():t===HY?PX():IX({pattern:t})}function l6t(e){return e.patternProperties[rQ(e)]}var u6t=c((()=>{fJ(),SJ(),lX(),FX(),XX(),LX(),vX(),BX(),WY(),KX(),Bq(),tY()})),iQ=c((()=>{u6t()}));function d6t(e,t){return t.parameters=aQ(e,t.parameters),t.returns=oQ(e,t.returns),t}function f6t(e,t){return t.parameters=aQ(e,t.parameters),t.returns=oQ(e,t.returns),t}function p6t(e,t){return t.allOf=aQ(e,t.allOf),t}function m6t(e,t){return t.anyOf=aQ(e,t.anyOf),t}function h6t(e,t){return zq(t.items)||(t.items=aQ(e,t.items)),t}function g6t(e,t){return t.items=oQ(e,t.items),t}function _6t(e,t){return t.items=oQ(e,t.items),t}function v6t(e,t){return t.items=oQ(e,t.items),t}function y6t(e,t){return t.item=oQ(e,t.item),t}function b6t(e,t){let n=w6t(e,t.properties);return{...t,...YX(n)}}function x6t(e,t){let n=s6t(oQ(e,c6t(t)),oQ(e,l6t(t)));return{...t,...n}}function S6t(e,t){return t.index in e?e[t.index]:TZ()}function C6t(e,t){let n=CJ(t),r=wJ(t),i=oQ(e,t);return n&&r?Y3t(i):n&&!r?QX(i):!n&&r?aZ(i):i}function w6t(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:C6t(e,t[r])}),{})}function aQ(e,t){return t.map(t=>oQ(e,t))}function oQ(e,t){return AJ(t)?d6t(e,t):jJ(t)?f6t(e,t):NJ(t)?p6t(e,t):QJ(t)?m6t(e,t):XJ(t)?h6t(e,t):TJ(t)?g6t(e,t):EJ(t)?_6t(e,t):PJ(t)?v6t(e,t):UJ(t)?y6t(e,t):HJ(t)?b6t(e,t):WJ(t)?x6t(e,t):s$t(t)?S6t(e,t):t}function T6t(e,t){return oQ(t,Wq(e))}var E6t=c((()=>{Gq(),EZ(),eQ(),$X(),oZ(),XX(),iQ(),Bq(),tY()})),D6t=c((()=>{E6t()}));function O6t(e){return dJ({[bJ]:`Integer`,type:`integer`},e)}var k6t=c((()=>{fJ(),SJ()})),A6t=c((()=>{k6t()}));function j6t(e,t,n){return{[e]:sQ(kX(e),t,Hq(n))}}function M6t(e,t,n){return e.reduce((e,r)=>({...e,...j6t(r,t,n)}),{})}function N6t(e,t,n){return M6t(e.keys,t,n)}function P6t(e,t,n){return uX(N6t(e,t,n))}var F6t=c((()=>{iZ(),cQ(),AX(),Uq()}));function I6t(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function L6t(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function R6t(e){return e.toUpperCase()}function z6t(e){return e.toLowerCase()}function B6t(e,t,n){let r=CX(e.pattern);return EX(r)?o0t([_X(H6t([...DX(r)].map(e=>kX(e)),t))],n):{...e,pattern:V6t(e.pattern,t)}}function V6t(e,t){return typeof e==`string`?t===`Uncapitalize`?I6t(e):t===`Capitalize`?L6t(e):t===`Uppercase`?R6t(e):t===`Lowercase`?z6t(e):e:e.toString()}function H6t(e,t){return e.map(e=>sQ(e,t))}function sQ(e,t,n={}){return LJ(e)?P6t(e,t,n):JJ(e)?B6t(e,t,n):QJ(e)?_X(H6t(e.anyOf,t),n):IJ(e)?kX(V6t(e.const,t),n):dJ(e,n)}var cQ=c((()=>{fJ(),BX(),F6t(),AX(),vX(),tY()}));function U6t(e,t={}){return sQ(e,`Capitalize`,t)}var W6t=c((()=>{cQ()}));function G6t(e,t={}){return sQ(e,`Lowercase`,t)}var K6t=c((()=>{cQ()}));function q6t(e,t={}){return sQ(e,`Uncapitalize`,t)}var J6t=c((()=>{cQ()}));function Y6t(e,t={}){return sQ(e,`Uppercase`,t)}var X6t=c((()=>{cQ()})),Z6t=c((()=>{W6t(),F6t(),cQ(),K6t(),J6t(),X6t()}));function Q6t(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=uQ(e[i],t,Hq(n));return r}function $6t(e,t,n){return Q6t(e.properties,t,n)}function e8t(e,t,n){return uX($6t(e,t,n))}var t8t=c((()=>{iZ(),dQ(),Uq()}));function n8t(e,t){return e.map(e=>lQ(e,t))}function r8t(e,t){return e.map(e=>lQ(e,t))}function i8t(e,t){let{[t]:n,...r}=e;return r}function a8t(e,t){return t.reduce((e,t)=>i8t(e,t),e)}function o8t(e,t){let n=aX(e,[gJ,`$id`,`required`,`properties`]);return YX(a8t(e.properties,t),n)}function s8t(e){return _X(e.reduce((e,t)=>l$t(t)?[...e,kX(t)]:e,[]))}function lQ(e,t){return NJ(e)?cZ(n8t(e.allOf,t)):QJ(e)?_X(r8t(e.anyOf,t)):HJ(e)?o8t(e,t):YX({})}function uQ(e,t,n){let r=Mq(t)?s8t(t):t,i=eY(t)?VX(t):t,a=GJ(e),o=GJ(t);return RJ(e)?e8t(e,i,n):LJ(t)?d8t(e,t,n):a&&o||!a&&o||a&&!o?rX(`Omit`,[e,r],n):dJ({...lQ(e,i),...n})}var dQ=c((()=>{fJ(),oX(),xJ(),iX(),AX(),KX(),lZ(),vX(),XX(),f8t(),t8t(),tY(),Bq()}));function c8t(e,t,n){return{[t]:uQ(e,[t],Hq(n))}}function l8t(e,t,n){return t.reduce((t,r)=>({...t,...c8t(e,r,n)}),{})}function u8t(e,t,n){return l8t(e,t.keys,n)}function d8t(e,t,n){return uX(u8t(e,t,n))}var f8t=c((()=>{iZ(),dQ(),Uq()})),fQ=c((()=>{f8t(),t8t(),dQ()}));function p8t(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=mQ(e[i],t,Hq(n));return r}function m8t(e,t,n){return p8t(e.properties,t,n)}function h8t(e,t,n){return uX(m8t(e,t,n))}var g8t=c((()=>{iZ(),hQ(),Uq()}));function _8t(e,t){return e.map(e=>pQ(e,t))}function v8t(e,t){return e.map(e=>pQ(e,t))}function y8t(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function b8t(e,t){let n=aX(e,[gJ,`$id`,`required`,`properties`]);return YX(y8t(e.properties,t),n)}function x8t(e){return _X(e.reduce((e,t)=>l$t(t)?[...e,kX(t)]:e,[]))}function pQ(e,t){return NJ(e)?cZ(_8t(e.allOf,t)):QJ(e)?_X(v8t(e.anyOf,t)):HJ(e)?b8t(e,t):YX({})}function mQ(e,t,n){let r=Mq(t)?x8t(t):t,i=eY(t)?VX(t):t,a=GJ(e),o=GJ(t);return RJ(e)?h8t(e,i,n):LJ(t)?T8t(e,t,n):a&&o||!a&&o||a&&!o?rX(`Pick`,[e,r],n):dJ({...pQ(e,i),...n})}var hQ=c((()=>{fJ(),oX(),iX(),lZ(),AX(),XX(),vX(),KX(),xJ(),tY(),Bq(),E8t(),g8t()}));function S8t(e,t,n){return{[t]:mQ(e,[t],Hq(n))}}function C8t(e,t,n){return t.reduce((t,r)=>({...t,...S8t(e,r,n)}),{})}function w8t(e,t,n){return C8t(e,t.keys,n)}function T8t(e,t,n){return uX(w8t(e,t,n))}var E8t=c((()=>{iZ(),hQ(),Uq()})),gQ=c((()=>{E8t(),g8t(),hQ()}));function D8t(e,t){return rX(`Partial`,[rX(e,t)])}function O8t(e){return rX(`Partial`,[uZ(e)])}function k8t(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=aZ(e[n]);return t}function A8t(e){let t=aX(e,[gJ,`$id`,`required`,`properties`]);return YX(k8t(e.properties),t)}function j8t(e){return e.map(e=>M8t(e))}function M8t(e){return kJ(e)?D8t(e.target,e.parameters):GJ(e)?O8t(e.$ref):NJ(e)?cZ(j8t(e.allOf)):QJ(e)?_X(j8t(e.anyOf)):HJ(e)?A8t(e):DJ(e)||OJ(e)||MJ(e)||IJ(e)||BJ(e)||VJ(e)||KJ(e)||qJ(e)||ZJ(e)?e:YX({})}function _Q(e,t){return RJ(e)?I8t(e,t):dJ({...M8t(e),...t})}var N8t=c((()=>{fJ(),iX(),oZ(),XX(),lZ(),vX(),dZ(),sX(),SJ(),L8t(),tY()}));function P8t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=_Q(e[r],Hq(t));return n}function F8t(e,t){return P8t(e.properties,t)}function I8t(e,t){return uX(F8t(e,t))}var L8t=c((()=>{iZ(),N8t(),Uq()})),vQ=c((()=>{L8t(),N8t()}));function R8t(e,t){return rX(`Required`,[rX(e,t)])}function z8t(e){return rX(`Required`,[uZ(e)])}function B8t(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=aX(e[n],[vJ]);return t}function V8t(e){let t=aX(e,[gJ,`$id`,`required`,`properties`]);return YX(B8t(e.properties),t)}function H8t(e){return e.map(e=>U8t(e))}function U8t(e){return kJ(e)?R8t(e.target,e.parameters):GJ(e)?z8t(e.$ref):NJ(e)?cZ(H8t(e.allOf)):QJ(e)?_X(H8t(e.anyOf)):HJ(e)?V8t(e):DJ(e)||OJ(e)||MJ(e)||IJ(e)||BJ(e)||VJ(e)||KJ(e)||qJ(e)||ZJ(e)?e:YX({})}function yQ(e,t){return RJ(e)?q8t(e,t):dJ({...U8t(e),...t})}var W8t=c((()=>{fJ(),iX(),XX(),lZ(),vX(),dZ(),SJ(),sX(),J8t(),tY()}));function G8t(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=yQ(e[r],t);return n}function K8t(e,t){return G8t(e.properties,t)}function q8t(e,t){return uX(K8t(e,t))}var J8t=c((()=>{iZ(),W8t()})),bQ=c((()=>{J8t(),W8t()}));function Y8t(e,t){return t.map(t=>GJ(t)?xQ(e,t.$ref):CQ(e,t))}function xQ(e,t){return t in e?GJ(e[t])?xQ(e,e[t].$ref):CQ(e,e[t]):cX()}function X8t(e){return fZ(e[0])}function Z8t(e){return WX(e[0],e[1])}function Q8t(e){return vZ(e[0])}function $8t(e){return _Q(e[0])}function e5t(e){return uQ(e[0],e[1])}function t5t(e){return mQ(e[0],e[1])}function n5t(e){return yQ(e[0])}function r5t(e,t,n){let r=Y8t(e,n);return t===`Awaited`?X8t(r):t===`Index`?Z8t(r):t===`KeyOf`?Q8t(r):t===`Partial`?$8t(r):t===`Omit`?e5t(r):t===`Pick`?t5t(r):t===`Required`?n5t(r):cX()}function i5t(e,t){return $Y(CQ(e,t))}function a5t(e,t){return tX(CQ(e,t))}function o5t(e,t,n){return dX(SQ(e,t),CQ(e,n))}function s5t(e,t,n){return pX(SQ(e,t),CQ(e,n))}function c5t(e,t){return cZ(SQ(e,t))}function l5t(e,t){return qX(CQ(e,t))}function u5t(e,t){return YX(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:CQ(e,t[r])}),{}))}function d5t(e,t){let[n,r]=[CQ(e,l6t(t)),rQ(t)],i=Wq(t);return i.patternProperties[r]=n,i}function f5t(e,t){return GJ(t)?{...xQ(e,t.$ref),[gJ]:t[gJ]}:t}function p5t(e,t){return eZ(SQ(e,t))}function m5t(e,t){return _X(SQ(e,t))}function SQ(e,t){return t.map(t=>CQ(e,t))}function CQ(e,t){return wJ(t)?dJ(CQ(e,aX(t,[vJ])),t):CJ(t)?dJ(CQ(e,aX(t,[_J])),t):YJ(t)?dJ(f5t(e,t),t):TJ(t)?dJ(i5t(e,t.items),t):EJ(t)?dJ(a5t(e,t.items),t):kJ(t)?dJ(r5t(e,t.target,t.parameters)):AJ(t)?dJ(o5t(e,t.parameters,t.returns),t):jJ(t)?dJ(s5t(e,t.parameters,t.returns),t):NJ(t)?dJ(c5t(e,t.allOf),t):PJ(t)?dJ(l5t(e,t.items),t):HJ(t)?dJ(u5t(e,t.properties),t):WJ(t)?dJ(d5t(e,t)):XJ(t)?dJ(p5t(e,t.items||[]),t):QJ(t)?dJ(m5t(e,t.anyOf),t):t}function h5t(e,t){return t in e?CQ(e,e[t]):cX()}function g5t(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:h5t(e,n)}),{})}var _5t=c((()=>{pJ(),GQt(),sX(),eX(),pZ(),nX(),fX(),KX(),mX(),lZ(),JX(),yZ(),XX(),fQ(),gQ(),lX(),vQ(),iQ(),bQ(),tZ(),vX(),SJ(),tY()}));function v5t(e){return new y5t(e)}var y5t,b5t=c((()=>{pJ(),SJ(),_5t(),y5t=class{constructor(e){let t=g5t(e);this.$defs=this.WithIdentifiers(t)}Import(e,t){let n={...this.$defs,[e]:dJ(this.$defs[e],t)};return dJ({[bJ]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}}})),x5t=c((()=>{b5t()}));function S5t(e,t){return dJ({[bJ]:`Not`,not:e},t)}var C5t=c((()=>{fJ(),SJ()})),w5t=c((()=>{C5t()}));function T5t(e,t){return jJ(e)?eZ(e.parameters,t):cX()}var E5t=c((()=>{tZ(),lX(),tY()})),D5t=c((()=>{E5t()}));function O5t(e,t={}){zq(t.$id)&&(t.$id=`T${k5t++}`);let n=Wq(e({[bJ]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,dJ({[yJ]:`Recursive`,...n},t)}var k5t,A5t=c((()=>{Gq(),fJ(),Bq(),SJ(),k5t=0})),j5t=c((()=>{A5t()}));function M5t(e,t){let n=Lq(e)?new globalThis.RegExp(e):e;return dJ({[bJ]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}var N5t=c((()=>{fJ(),Bq(),SJ()})),P5t=c((()=>{N5t()}));function F5t(e){return NJ(e)?e.allOf:QJ(e)?e.anyOf:XJ(e)?e.items??[]:[]}function I5t(e){return F5t(e)}var L5t=c((()=>{tY()})),R5t=c((()=>{L5t()}));function z5t(e,t){return jJ(e)?dJ(e.returns,t):cX(t)}var B5t=c((()=>{fJ(),lX(),tY()})),V5t=c((()=>{B5t()})),H5t=c((()=>{})),U5t=c((()=>{})),W5t=c((()=>{H5t(),U5t()})),G5t=c((()=>{})),K5t=c((()=>{G5t()}));function q5t(e){return new J5t(e)}var J5t,Y5t,X5t=c((()=>{SJ(),tY(),J5t=class{constructor(e){this.schema=e}Decode(e){return new Y5t(this.schema,e)}},Y5t=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[gJ].Encode(e(n)),Decode:e=>this.decode(t[gJ].Decode(e))};return{...t,[gJ]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[gJ]:n}}Encode(e){return YJ(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}})),Z5t=c((()=>{X5t()}));function Q5t(e={}){return dJ({[bJ]:e[bJ]??`Unsafe`},e)}var $5t=c((()=>{fJ(),SJ()})),wQ=c((()=>{$5t()}));function e7t(e){return dJ({[bJ]:`Void`,type:`void`},e)}var t7t=c((()=>{fJ(),SJ()})),n7t=c((()=>{t7t()})),r7t=u({Any:()=>ZY,Argument:()=>a1t,Array:()=>$Y,AsyncIterator:()=>tX,Awaited:()=>fZ,BigInt:()=>MX,Boolean:()=>G1t,Capitalize:()=>U6t,Composite:()=>q2t,Const:()=>l4t,Constructor:()=>dX,ConstructorParameters:()=>f4t,Date:()=>X2t,Enum:()=>h4t,Exclude:()=>XZ,Extends:()=>KZ,Extract:()=>QZ,Function:()=>pX,Index:()=>WX,InstanceType:()=>K3t,Instantiate:()=>T6t,Integer:()=>O6t,Intersect:()=>cZ,Iterator:()=>qX,KeyOf:()=>vZ,Literal:()=>kX,Lowercase:()=>G6t,Mapped:()=>Q0t,Module:()=>v5t,Never:()=>cX,Not:()=>S5t,Null:()=>Q2t,Number:()=>PX,Object:()=>YX,Omit:()=>uQ,Optional:()=>aZ,Parameters:()=>T5t,Partial:()=>_Q,Pick:()=>mQ,Promise:()=>P0t,Readonly:()=>QX,ReadonlyOptional:()=>Y3t,Record:()=>s6t,Recursive:()=>O5t,Ref:()=>uZ,RegExp:()=>M5t,Required:()=>yQ,Rest:()=>I5t,ReturnType:()=>z5t,String:()=>IX,Symbol:()=>e4t,TemplateLiteral:()=>o0t,Transform:()=>q5t,Tuple:()=>eZ,Uint8Array:()=>i4t,Uncapitalize:()=>q6t,Undefined:()=>n4t,Union:()=>_X,Unknown:()=>TZ,Unsafe:()=>Q5t,Uppercase:()=>Y6t,Void:()=>e7t}),i7t=c((()=>{QY(),s1t(),eX(),nX(),pZ(),NX(),jX(),Y2t(),d4t(),fX(),m4t(),bZ(),_4t(),L3t(),YZ(),G3t(),mX(),KX(),J3t(),D6t(),A6t(),lZ(),Z6t(),JX(),yZ(),AX(),iZ(),x5t(),lX(),w5t(),xZ(),FX(),XX(),fQ(),oZ(),D5t(),vQ(),gQ(),ZX(),$X(),eQ(),iQ(),j5t(),dZ(),P5t(),bQ(),R5t(),V5t(),LX(),SZ(),BX(),Z5t(),tZ(),wZ(),CZ(),vX(),EZ(),wQ(),n7t()})),Z,a7t=c((()=>{i7t(),Z=r7t})),TQ=c((()=>{GQt(),pJ(),hJ(),R$t(),B$t(),WY(),YY(),XY(),SJ(),QY(),eX(),s1t(),nX(),pZ(),NX(),jX(),Y2t(),d4t(),fX(),m4t(),bZ(),_4t(),L3t(),YZ(),G3t(),mX(),KX(),J3t(),D6t(),A6t(),lZ(),JX(),Z6t(),yZ(),AX(),x5t(),iZ(),lX(),w5t(),xZ(),FX(),XX(),fQ(),oZ(),D5t(),vQ(),gQ(),ZX(),$X(),eQ(),iQ(),j5t(),dZ(),P5t(),bQ(),R5t(),V5t(),W5t(),K5t(),LX(),SZ(),BX(),Z5t(),tZ(),wZ(),CZ(),vX(),EZ(),wQ(),n7t(),a7t()})),EQ,o7t=c((()=>{EQ=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}})),DQ,s7t=c((()=>{o7t(),DQ=(e,t)=>{if(!e)return!1;if(e.type===`any`)return!0;if(e.type===`number`)return typeof t==`number`&&!Number.isNaN(t)&&Number.isFinite(t);if(e.type===`string`)return typeof t==`string`;if(e.type===`boolean`)return typeof t==`boolean`;if(e.type===`nullable`)return t===null;if(e.type===`notDefined`)return t===void 0;if(e.type===`array`)return Array.isArray(t)&&t.every(t=>DQ(e.items,t));if(e.type===`record`)return EQ(t)?Object.keys(t).every(n=>DQ(e.key,n)&&DQ(e.value,t[n])):!1;if(e.type===`object`)return EQ(t)?Object.keys(e.properties).every(n=>DQ(e.properties[n],t[n])):!1;if(e.type===`optional`)return t===void 0||DQ(e.schema,t);if(e.type===`union`)return e.schemas.some(e=>DQ(e,t));if(e.type===`intersection`)return e.schemas.length===0?!0:EQ(t)?e.schemas.every(e=>DQ(e,t)):!1;if(e.type===`literal`)return t===e.value;if(e.type===`lazy`)return DQ(e.schema(),t);if(e.type===`evaluate`)return DQ(e.schema,e.expression(t));let n=e;return console.warn(`Unknown schema type:`,n),!1}})),OQ,kQ,AQ,c7t=c((()=>{o7t(),s7t(),OQ=e=>e.type===`optional`?OQ(e.schema):e.type===`literal`?!0:e.type===`union`?e.schemas.length>0&&e.schemas.every(OQ):!1,kQ=(e,t)=>e.type===`object`?EQ(t)?Object.keys(e.properties).reduce((n,r)=>{if(!(r in t))return n;let i=e.properties[r],a=t[r],o=kQ(i,a);return OQ(i)?n+(o>0?o*10:0):n+(o>0?o:1)},0):0:e.type===`array`?Array.isArray(t)?1:0:e.type===`record`?EQ(t)?1:0:e.type===`optional`?t===void 0?1:kQ(e.schema,t):e.type===`union`?Math.max(...e.schemas.map(e=>kQ(e,t))):e.type===`intersection`?e.schemas.length===0?1:e.schemas.reduce((e,n)=>e+kQ(n,t),0):e.type===`lazy`?kQ(e.schema(),t):e.type===`evaluate`?kQ(e.schema,e.expression(t)):DQ(e,t)?1:0,AQ=(e,t,n=new WeakMap)=>{if(EQ(t)&&n.get(t)?.has(e))return t;if(EQ(t)){let r=n.get(t)||new Set;r.add(e),n.set(t,r)}if(!e||e.type===`any`)return t;if(e.type===`number`)return DQ(e,t)?t:0;if(e.type===`string`)return DQ(e,t)?t:``;if(e.type===`boolean`)return DQ(e,t)?t:!1;if(e.type===`nullable`)return null;if(e.type===`notDefined`)return;if(e.type===`optional`)return t===void 0?void 0:AQ(e.schema,t,n);if(e.type===`array`)return Array.isArray(t)?t.map(t=>AQ(e.items,t,n)):[];if(e.type===`record`)return EQ(t)?Object.fromEntries(Object.entries(t).map(([t,r])=>[t,AQ(e.value,r,n)])):{};if(e.type===`object`){let r=Object.keys(e.properties),i=EQ(t)?t:null,a=[];for(let t of r){let r=e.properties[t],o=i?.[t];r.type===`optional`&&o===void 0||a.push([t,AQ(r,o,n)])}return Object.fromEntries(a)}if(e.type===`union`)return AQ(e.schemas.reduce((e,n)=>{let r=kQ(n,t);return r>e.score?{schema:n,score:r}:e},{schema:e.schemas[0],score:0}).schema,t,n);if(e.type===`intersection`)return e.schemas.reduce((e,r)=>Object.assign(e,AQ(r,t,n)),{});if(e.type===`literal`)return e.value;if(e.type===`lazy`)return AQ(e.schema(),t,n);if(e.type===`evaluate`)return AQ(e.schema,e.expression(t),n);let r=e;return console.warn(`Unknown schema type:`,r),t}})),jQ,Q,MQ,NQ,PQ,FQ,IQ,LQ,RQ,$,zQ,BQ,l7t,u7t=c((()=>{jQ=e=>({type:`number`,typeName:e?.typeName,typeComment:e?.typeComment}),Q=e=>({type:`string`,typeName:e?.typeName,typeComment:e?.typeComment}),MQ=e=>({type:`boolean`,typeName:e?.typeName,typeComment:e?.typeComment}),NQ=e=>({type:`any`,typeName:e?.typeName,typeComment:e?.typeComment}),PQ=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),FQ=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),IQ=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),LQ=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),RQ=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),$=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),zQ=e=>({type:`literal`,value:e}),BQ=e=>({type:`lazy`,schema:e}),l7t=(e,t)=>({type:`evaluate`,expression:e,schema:t})})),VQ=c((()=>{c7t(),u7t()})),HQ,d7t,f7t,p7t,UQ=c((()=>{TQ(),VQ(),HQ=Z.Object({name:Z.String(),value:Z.String(),domain:Z.Optional(Z.String()),path:Z.Optional(Z.String()),isDisabled:Z.Optional(Z.Boolean())}),d7t=IQ({name:Q({typeComment:`Defines the cookie name and its value.`}),value:Q({typeComment:`Defines the cookie value.`}),domain:$(Q({typeComment:`Allows this domain and all subdomains.`})),path:$(Q({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:$(MQ({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),f7t=Z.Object({"x-scalar-cookies":Z.Optional(Z.Array(HQ))}),p7t=IQ({"x-scalar-cookies":$(PQ(d7t,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`})})),m7t,h7t,g7t,_7t=c((()=>{YY(),wQ(),SJ(),hJ(),m7t=class extends mJ{constructor(e){super(`Duplicate type kind '${e}' detected`)}},h7t=class extends mJ{constructor(e){super(`Duplicate string format '${e}' detected`)}},(function(e){function t(e,t){if(qY(e))throw new m7t(e);return q$t(e,t),(t={})=>Q5t({...t,[bJ]:e})}e.Type=t;function n(e,t){if(GY(e))throw new h7t(e);return W$t(e,t),e}e.Format=n})(g7t||={})})),v7t=c((()=>{lJ(),_7t()}));function y7t(e){switch(e.errorType){case l$.ArrayContains:return`Expected array to contain at least one matching value`;case l$.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case l$.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case l$.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case l$.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case l$.ArrayUniqueItems:return`Expected array elements to be unique`;case l$.Array:return`Expected array`;case l$.AsyncIterator:return`Expected AsyncIterator`;case l$.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case l$.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case l$.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case l$.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case l$.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case l$.BigInt:return`Expected bigint`;case l$.Boolean:return`Expected boolean`;case l$.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case l$.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case l$.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case l$.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case l$.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case l$.Date:return`Expected Date`;case l$.Function:return`Expected function`;case l$.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case l$.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case l$.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case l$.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case l$.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case l$.Integer:return`Expected integer`;case l$.IntersectUnevaluatedProperties:return`Unexpected property`;case l$.Intersect:return`Expected all values to match`;case l$.Iterator:return`Expected Iterator`;case l$.Literal:return`Expected ${typeof e.schema.const==`string`?`'${e.schema.const}'`:e.schema.const}`;case l$.Never:return`Never`;case l$.Not:return`Value should not match`;case l$.Null:return`Expected null`;case l$.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case l$.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case l$.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case l$.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case l$.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case l$.Number:return`Expected number`;case l$.Object:return`Expected object`;case l$.ObjectAdditionalProperties:return`Unexpected property`;case l$.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case l$.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case l$.ObjectRequiredProperty:return`Expected required property`;case l$.Promise:return`Expected Promise`;case l$.RegExp:return`Expected string to match regular expression`;case l$.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case l$.StringFormat:return`Expected string to match '${e.schema.format}' format`;case l$.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case l$.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case l$.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case l$.String:return`Expected string`;case l$.Symbol:return`Expected symbol`;case l$.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case l$.Tuple:return`Expected tuple`;case l$.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case l$.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case l$.Uint8Array:return`Expected Uint8Array`;case l$.Undefined:return`Expected undefined`;case l$.Union:return`Expected union value`;case l$.Void:return`Expected void`;case l$.Kind:return`Expected kind '${e.schema[bJ]}'`;default:return`Unknown error type`}}function b7t(){return x7t}var x7t,S7t=c((()=>{SJ(),uen(),x7t=y7t}));function C7t(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new w7t(e);return GQ(n,t)}function WQ(e,t){return!nJ(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function GQ(e,t){return e[bJ]===`This`||e[bJ]===`Ref`?C7t(e,t):e}var w7t,T7t=c((()=>{hJ(),SJ(),oJ(),w7t=class extends mJ{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}})),KQ=c((()=>{T7t()}));function*E7t(e){let t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function D7t(e){JQ(YQ.Array);for(let t of e)qQ(t)}function O7t(e){JQ(YQ.Boolean),JQ(e?1:0)}function k7t(e){JQ(YQ.BigInt),QQ.setBigInt64(0,e);for(let e of $Q)JQ(e)}function A7t(e){JQ(YQ.Date),qQ(e.getTime())}function j7t(e){JQ(YQ.Null)}function M7t(e){JQ(YQ.Number),QQ.setFloat64(0,e);for(let e of $Q)JQ(e)}function N7t(e){JQ(YQ.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())qQ(t),qQ(e[t])}function P7t(e){JQ(YQ.String);for(let t=0;t<e.length;t++)for(let n of E7t(e.charCodeAt(t)))JQ(n)}function F7t(e){JQ(YQ.Symbol),qQ(e.description)}function I7t(e){JQ(YQ.Uint8Array);for(let t=0;t<e.length;t++)JQ(e[t])}function L7t(e){return JQ(YQ.Undefined)}function qQ(e){if(Xq(e))return D7t(e);if($q(e))return O7t(e);if(tJ(e))return k7t(e);if(Kq(e))return A7t(e);if(Qq(e))return j7t(e);if(eJ(e))return M7t(e);if(Yq(e))return N7t(e);if(nJ(e))return P7t(e);if(iJ(e))return F7t(e);if(qq(e))return I7t(e);if(Zq(e))return L7t(e);throw new z7t(e)}function JQ(e){XQ^=H7t[e],XQ=XQ*B7t%V7t}function R7t(e){return XQ=BigInt(`14695981039346656037`),qQ(e),XQ}var z7t,YQ,XQ,B7t,V7t,H7t,ZQ,QQ,$Q,U7t=c((()=>{sJ(),hJ(),z7t=class extends mJ{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`})(YQ||={}),XQ=BigInt(`14695981039346656037`),[B7t,V7t]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],H7t=Array.from({length:256}).map((e,t)=>BigInt(t)),ZQ=new Float64Array(1),QQ=new DataView(ZQ.buffer),$Q=new Uint8Array(ZQ.buffer)})),e$=c((()=>{U7t()}));function W7t(e,t,n){let r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function G7t(e){return e[bJ]===`Any`||e[bJ]===`Unknown`}function t$(e){return e!==void 0}function K7t(e,t,n){return!0}function q7t(e,t,n){return!0}function J7t(e,t,n,r){if(!Xq(n)||t$(e.minItems)&&!(n.length>=e.minItems)||t$(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(W7t(r,n,e)===!1)return!0;if(!n.every(n=>n$(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=R7t(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(t$(e.contains)||eJ(e.minContains)||eJ(e.maxContains)))return!0;let i=t$(e.contains)?e.contains:cX(),a=n.reduce((e,n)=>n$(i,t,n,r)?e+1:e,0);return!(a===0||eJ(e.minContains)&&a<e.minContains||eJ(e.maxContains)&&a>e.maxContains)}function Y7t(e,t,n){return KQt(n)}function X7t(e,t,n){return!(!tJ(n)||t$(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||t$(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||t$(e.maximum)&&!(n<=e.maximum)||t$(e.minimum)&&!(n>=e.minimum)||t$(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function Z7t(e,t,n){return $q(n)}function Q7t(e,t,n,r){return n$(e.returns,t,n.prototype,r)}function $7t(e,t,n){return!(!Kq(n)||t$(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||t$(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||t$(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||t$(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||t$(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function e9t(e,t,n){return rJ(n)}function t9t(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return n$(a,[...t,...i],n,r)}function n9t(e,t,n){return!(!QQt(n)||t$(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||t$(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||t$(e.maximum)&&!(n<=e.maximum)||t$(e.minimum)&&!(n>=e.minimum)||t$(e.multipleOf)&&n%e.multipleOf!==0)}function r9t(e,t,n,r){let i=e.allOf.every(e=>n$(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(hZ(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}else if(eY(e.unevaluatedProperties)){let a=new RegExp(hZ(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||n$(e.unevaluatedProperties,t,n[i],r));return i&&o}else return i}function i9t(e,t,n){return qQt(n)}function a9t(e,t,n){return n===e.const}function o9t(e,t,n){return!1}function s9t(e,t,n,r){return!n$(e.not,t,n,r)}function c9t(e,t,n){return Qq(n)}function l9t(e,t,n){return!(!cJ.IsNumberLike(n)||t$(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||t$(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||t$(e.minimum)&&!(n>=e.minimum)||t$(e.maximum)&&!(n<=e.maximum)||t$(e.multipleOf)&&n%e.multipleOf!==0)}function u9t(e,t,n,r){if(!cJ.IsObjectLike(n)||t$(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||t$(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(W7t(r,n,e)===!1)return!0;let i=Object.getOwnPropertyNames(e.properties);for(let a of i){let i=e.properties[a];if(e.required&&e.required.includes(a)){if(!n$(i,t,n[a],r)||(JZ(i)||G7t(i))&&!(a in n))return!1}else if(cJ.IsExactOptionalProperty(n,a)&&!n$(i,t,n[a],r))return!1}if(e.additionalProperties===!1){let t=Object.getOwnPropertyNames(n);return e.required&&e.required.length===i.length&&t.length===i.length?!0:t.every(e=>i.includes(e))}else if(typeof e.additionalProperties==`object`)return Object.getOwnPropertyNames(n).every(a=>i.includes(a)||n$(e.additionalProperties,t,n[a],r));else return!0}function d9t(e,t,n){return JQt(n)}function f9t(e,t,n,r){if(!cJ.IsRecordLike(n)||t$(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||t$(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i),s=Object.entries(n).every(([e,n])=>o.test(e)?n$(a,t,n,r):!0),c=typeof e.additionalProperties==`object`?Object.entries(n).every(([n,i])=>o.test(n)?!0:n$(e.additionalProperties,t,i,r)):!0,l=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(e=>o.test(e)):!0;return s&&c&&l}function p9t(e,t,n,r){return n$(GQ(e,t),t,n,r)}function m9t(e,t,n){let r=new RegExp(e.source,e.flags);return t$(e.minLength)&&!(n.length>=e.minLength)||t$(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function h9t(e,t,n){return!nJ(n)||t$(e.minLength)&&!(n.length>=e.minLength)||t$(e.maxLength)&&!(n.length<=e.maxLength)||t$(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:t$(e.format)?GY(e.format)?G$t(e.format)(n):!1:!0}function g9t(e,t,n){return iJ(n)}function _9t(e,t,n){return nJ(n)&&new RegExp(e.pattern).test(n)}function v9t(e,t,n,r){return n$(GQ(e,t),t,n,r)}function y9t(e,t,n,r){if(!Xq(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let i=0;i<e.items.length;i++)if(!n$(e.items[i],t,n[i],r))return!1;return!0}function b9t(e,t,n){return Zq(n)}function x9t(e,t,n,r){return e.anyOf.some(e=>n$(e,t,n,r))}function S9t(e,t,n){return!(!qq(n)||t$(e.maxByteLength)&&!(n.length<=e.maxByteLength)||t$(e.minByteLength)&&!(n.length>=e.minByteLength))}function C9t(e,t,n){return!0}function w9t(e,t,n){return cJ.IsVoidLike(n)}function T9t(e,t,n){return qY(e[bJ])?J$t(e[bJ])(e,n):!1}function n$(e,t,n,r){let i=t$(e.$id)?WQ(e,t):t,a=e;switch(a[bJ]){case`Any`:return K7t(a,i,n);case`Argument`:return q7t(a,i,n);case`Array`:return J7t(a,i,n,r);case`AsyncIterator`:return Y7t(a,i,n);case`BigInt`:return X7t(a,i,n);case`Boolean`:return Z7t(a,i,n);case`Constructor`:return Q7t(a,i,n,r);case`Date`:return $7t(a,i,n);case`Function`:return e9t(a,i,n);case`Import`:return t9t(a,i,n,r);case`Integer`:return n9t(a,i,n);case`Intersect`:return r9t(a,i,n,r);case`Iterator`:return i9t(a,i,n);case`Literal`:return a9t(a,i,n);case`Never`:return o9t(a,i,n);case`Not`:return s9t(a,i,n,r);case`Null`:return c9t(a,i,n);case`Number`:return l9t(a,i,n);case`Object`:return u9t(a,i,n,r);case`Promise`:return d9t(a,i,n);case`Record`:return f9t(a,i,n,r);case`Ref`:return p9t(a,i,n,r);case`RegExp`:return m9t(a,i,n);case`String`:return h9t(a,i,n);case`Symbol`:return g9t(a,i,n);case`TemplateLiteral`:return _9t(a,i,n);case`This`:return v9t(a,i,n,r);case`Tuple`:return y9t(a,i,n,r);case`Undefined`:return b9t(a,i,n);case`Union`:return x9t(a,i,n,r);case`Uint8Array`:return S9t(a,i,n);case`Unknown`:return C9t(a,i,n);case`Void`:return w9t(a,i,n);default:if(!qY(a[bJ]))throw new E9t(a);return T9t(a,i,n)}}function r$(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?n$(e[0],[],e[1],e[2]??new WeakMap):n$(e[0],e[1],e[2],e[3]??new WeakMap)}var E9t,D9t=c((()=>{v7t(),KQ(),e$(),SJ(),yZ(),YZ(),YY(),hJ(),lX(),sJ(),tY(),E9t=class extends mJ{constructor(e){super(`Unknown type`),this.schema=e}}})),i$=c((()=>{D9t()}));function a$(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function o$(e){return e!==void 0}function s$(e,t,n,r,i=[]){return{type:e,schema:t,path:n,value:r,message:b7t()({errorType:e,path:n,schema:t,value:r,errors:i}),errors:i}}function*O9t(e,t,n,r){}function*k9t(e,t,n,r){}function*A9t(e,t,n,r){if(!Xq(r))return yield s$(l$.Array,e,n,r);o$(e.minItems)&&!(r.length>=e.minItems)&&(yield s$(l$.ArrayMinItems,e,n,r)),o$(e.maxItems)&&!(r.length<=e.maxItems)&&(yield s$(l$.ArrayMaxItems,e,n,r));for(let i=0;i<r.length;i++)yield*c$(e.items,t,`${n}/${i}`,r[i]);if(e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of r){let n=R7t(t);if(e.has(n))return!1;e.add(n)}return!0})()&&(yield s$(l$.ArrayUniqueItems,e,n,r)),!(o$(e.contains)||o$(e.minContains)||o$(e.maxContains)))return;let i=o$(e.contains)?e.contains:cX(),a=r.reduce((e,r,a)=>c$(i,t,`${n}${a}`,r).next().done===!0?e+1:e,0);a===0&&(yield s$(l$.ArrayContains,e,n,r)),eJ(e.minContains)&&a<e.minContains&&(yield s$(l$.ArrayMinContains,e,n,r)),eJ(e.maxContains)&&a>e.maxContains&&(yield s$(l$.ArrayMaxContains,e,n,r))}function*j9t(e,t,n,r){KQt(r)||(yield s$(l$.AsyncIterator,e,n,r))}function*M9t(e,t,n,r){if(!tJ(r))return yield s$(l$.BigInt,e,n,r);o$(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield s$(l$.BigIntExclusiveMaximum,e,n,r)),o$(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield s$(l$.BigIntExclusiveMinimum,e,n,r)),o$(e.maximum)&&!(r<=e.maximum)&&(yield s$(l$.BigIntMaximum,e,n,r)),o$(e.minimum)&&!(r>=e.minimum)&&(yield s$(l$.BigIntMinimum,e,n,r)),o$(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield s$(l$.BigIntMultipleOf,e,n,r))}function*N9t(e,t,n,r){$q(r)||(yield s$(l$.Boolean,e,n,r))}function*P9t(e,t,n,r){yield*c$(e.returns,t,n,r.prototype)}function*F9t(e,t,n,r){if(!Kq(r))return yield s$(l$.Date,e,n,r);o$(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield s$(l$.DateExclusiveMaximumTimestamp,e,n,r)),o$(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield s$(l$.DateExclusiveMinimumTimestamp,e,n,r)),o$(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield s$(l$.DateMaximumTimestamp,e,n,r)),o$(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield s$(l$.DateMinimumTimestamp,e,n,r)),o$(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield s$(l$.DateMultipleOfTimestamp,e,n,r))}function*I9t(e,t,n,r){rJ(r)||(yield s$(l$.Function,e,n,r))}function*L9t(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];yield*c$(a,[...t,...i],n,r)}function*R9t(e,t,n,r){if(!QQt(r))return yield s$(l$.Integer,e,n,r);o$(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield s$(l$.IntegerExclusiveMaximum,e,n,r)),o$(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield s$(l$.IntegerExclusiveMinimum,e,n,r)),o$(e.maximum)&&!(r<=e.maximum)&&(yield s$(l$.IntegerMaximum,e,n,r)),o$(e.minimum)&&!(r>=e.minimum)&&(yield s$(l$.IntegerMinimum,e,n,r)),o$(e.multipleOf)&&r%e.multipleOf!==0&&(yield s$(l$.IntegerMultipleOf,e,n,r))}function*z9t(e,t,n,r){let i=!1;for(let a of e.allOf)for(let e of c$(a,t,n,r))i=!0,yield e;if(i)return yield s$(l$.Intersect,e,n,r);if(e.unevaluatedProperties===!1){let t=new RegExp(hZ(e));for(let i of Object.getOwnPropertyNames(r))t.test(i)||(yield s$(l$.IntersectUnevaluatedProperties,e,`${n}/${i}`,r))}if(typeof e.unevaluatedProperties==`object`){let i=new RegExp(hZ(e));for(let a of Object.getOwnPropertyNames(r))if(!i.test(a)){let i=c$(e.unevaluatedProperties,t,`${n}/${a}`,r[a]).next();i.done||(yield i.value)}}}function*B9t(e,t,n,r){qQt(r)||(yield s$(l$.Iterator,e,n,r))}function*V9t(e,t,n,r){r!==e.const&&(yield s$(l$.Literal,e,n,r))}function*H9t(e,t,n,r){yield s$(l$.Never,e,n,r)}function*U9t(e,t,n,r){c$(e.not,t,n,r).next().done===!0&&(yield s$(l$.Not,e,n,r))}function*W9t(e,t,n,r){Qq(r)||(yield s$(l$.Null,e,n,r))}function*G9t(e,t,n,r){if(!cJ.IsNumberLike(r))return yield s$(l$.Number,e,n,r);o$(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield s$(l$.NumberExclusiveMaximum,e,n,r)),o$(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield s$(l$.NumberExclusiveMinimum,e,n,r)),o$(e.maximum)&&!(r<=e.maximum)&&(yield s$(l$.NumberMaximum,e,n,r)),o$(e.minimum)&&!(r>=e.minimum)&&(yield s$(l$.NumberMinimum,e,n,r)),o$(e.multipleOf)&&r%e.multipleOf!==0&&(yield s$(l$.NumberMultipleOf,e,n,r))}function*K9t(e,t,n,r){if(!cJ.IsObjectLike(r))return yield s$(l$.Object,e,n,r);o$(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield s$(l$.ObjectMinProperties,e,n,r)),o$(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield s$(l$.ObjectMaxProperties,e,n,r));let i=Array.isArray(e.required)?e.required:[],a=Object.getOwnPropertyNames(e.properties),o=Object.getOwnPropertyNames(r);for(let t of i)o.includes(t)||(yield s$(l$.ObjectRequiredProperty,e.properties[t],`${n}/${a$(t)}`,void 0));if(e.additionalProperties===!1)for(let t of o)a.includes(t)||(yield s$(l$.ObjectAdditionalProperties,e,`${n}/${a$(t)}`,r[t]));if(typeof e.additionalProperties==`object`)for(let i of o)a.includes(i)||(yield*c$(e.additionalProperties,t,`${n}/${a$(i)}`,r[i]));for(let i of a){let a=e.properties[i];e.required&&e.required.includes(i)?(yield*c$(a,t,`${n}/${a$(i)}`,r[i]),JZ(e)&&!(i in r)&&(yield s$(l$.ObjectRequiredProperty,a,`${n}/${a$(i)}`,void 0))):cJ.IsExactOptionalProperty(r,i)&&(yield*c$(a,t,`${n}/${a$(i)}`,r[i]))}}function*q9t(e,t,n,r){JQt(r)||(yield s$(l$.Promise,e,n,r))}function*J9t(e,t,n,r){if(!cJ.IsRecordLike(r))return yield s$(l$.Object,e,n,r);o$(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield s$(l$.ObjectMinProperties,e,n,r)),o$(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield s$(l$.ObjectMaxProperties,e,n,r));let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i);for(let[e,i]of Object.entries(r))o.test(e)&&(yield*c$(a,t,`${n}/${a$(e)}`,i));if(typeof e.additionalProperties==`object`)for(let[i,a]of Object.entries(r))o.test(i)||(yield*c$(e.additionalProperties,t,`${n}/${a$(i)}`,a));if(e.additionalProperties===!1){for(let[t,i]of Object.entries(r))if(!o.test(t))return yield s$(l$.ObjectAdditionalProperties,e,`${n}/${a$(t)}`,i)}}function*Y9t(e,t,n,r){yield*c$(GQ(e,t),t,n,r)}function*X9t(e,t,n,r){if(!nJ(r))return yield s$(l$.String,e,n,r);if(o$(e.minLength)&&!(r.length>=e.minLength)&&(yield s$(l$.StringMinLength,e,n,r)),o$(e.maxLength)&&!(r.length<=e.maxLength)&&(yield s$(l$.StringMaxLength,e,n,r)),!new RegExp(e.source,e.flags).test(r))return yield s$(l$.RegExp,e,n,r)}function*Z9t(e,t,n,r){if(!nJ(r))return yield s$(l$.String,e,n,r);o$(e.minLength)&&!(r.length>=e.minLength)&&(yield s$(l$.StringMinLength,e,n,r)),o$(e.maxLength)&&!(r.length<=e.maxLength)&&(yield s$(l$.StringMaxLength,e,n,r)),nJ(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield s$(l$.StringPattern,e,n,r))),nJ(e.format)&&(GY(e.format)?G$t(e.format)(r)||(yield s$(l$.StringFormat,e,n,r)):yield s$(l$.StringFormatUnknown,e,n,r))}function*Q9t(e,t,n,r){iJ(r)||(yield s$(l$.Symbol,e,n,r))}function*$9t(e,t,n,r){if(!nJ(r))return yield s$(l$.String,e,n,r);new RegExp(e.pattern).test(r)||(yield s$(l$.StringPattern,e,n,r))}function*een(e,t,n,r){yield*c$(GQ(e,t),t,n,r)}function*ten(e,t,n,r){if(!Xq(r))return yield s$(l$.Tuple,e,n,r);if(e.items===void 0&&r.length!==0||r.length!==e.maxItems)return yield s$(l$.TupleLength,e,n,r);if(e.items)for(let i=0;i<e.items.length;i++)yield*c$(e.items[i],t,`${n}/${i}`,r[i])}function*nen(e,t,n,r){Zq(r)||(yield s$(l$.Undefined,e,n,r))}function*ren(e,t,n,r){if(r$(e,t,r))return;let i=e.anyOf.map(e=>new u$(c$(e,t,n,r)));yield s$(l$.Union,e,n,r,i)}function*ien(e,t,n,r){if(!qq(r))return yield s$(l$.Uint8Array,e,n,r);o$(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield s$(l$.Uint8ArrayMaxByteLength,e,n,r)),o$(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield s$(l$.Uint8ArrayMinByteLength,e,n,r))}function*aen(e,t,n,r){}function*oen(e,t,n,r){cJ.IsVoidLike(r)||(yield s$(l$.Void,e,n,r))}function*sen(e,t,n,r){J$t(e[bJ])(e,r)||(yield s$(l$.Kind,e,n,r))}function*c$(e,t,n,r){let i=o$(e.$id)?[...t,e]:t,a=e;switch(a[bJ]){case`Any`:return yield*O9t(a,i,n,r);case`Argument`:return yield*k9t(a,i,n,r);case`Array`:return yield*A9t(a,i,n,r);case`AsyncIterator`:return yield*j9t(a,i,n,r);case`BigInt`:return yield*M9t(a,i,n,r);case`Boolean`:return yield*N9t(a,i,n,r);case`Constructor`:return yield*P9t(a,i,n,r);case`Date`:return yield*F9t(a,i,n,r);case`Function`:return yield*I9t(a,i,n,r);case`Import`:return yield*L9t(a,i,n,r);case`Integer`:return yield*R9t(a,i,n,r);case`Intersect`:return yield*z9t(a,i,n,r);case`Iterator`:return yield*B9t(a,i,n,r);case`Literal`:return yield*V9t(a,i,n,r);case`Never`:return yield*H9t(a,i,n,r);case`Not`:return yield*U9t(a,i,n,r);case`Null`:return yield*W9t(a,i,n,r);case`Number`:return yield*G9t(a,i,n,r);case`Object`:return yield*K9t(a,i,n,r);case`Promise`:return yield*q9t(a,i,n,r);case`Record`:return yield*J9t(a,i,n,r);case`Ref`:return yield*Y9t(a,i,n,r);case`RegExp`:return yield*X9t(a,i,n,r);case`String`:return yield*Z9t(a,i,n,r);case`Symbol`:return yield*Q9t(a,i,n,r);case`TemplateLiteral`:return yield*$9t(a,i,n,r);case`This`:return yield*een(a,i,n,r);case`Tuple`:return yield*ten(a,i,n,r);case`Undefined`:return yield*nen(a,i,n,r);case`Union`:return yield*ren(a,i,n,r);case`Uint8Array`:return yield*ien(a,i,n,r);case`Unknown`:return yield*aen(a,i,n,r);case`Void`:return yield*oen(a,i,n,r);default:if(!qY(a[bJ]))throw new len(e);return yield*sen(a,i,n,r)}}function cen(...e){return new u$(e.length===3?c$(e[0],e[1],``,e[2]):c$(e[0],[],``,e[1]))}var l$,len,u$,uen=c((()=>{v7t(),yZ(),YY(),k3t(),S7t(),hJ(),KQ(),e$(),i$(),SJ(),lX(),sJ(),(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`})(l$||={}),len=class extends mJ{constructor(e){super(`Unknown type`),this.schema=e}},u$=class{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}})),den=c((()=>{uen(),S7t()}));function fen(e,t,n){if(!r$(e,t,n))throw new gen(cen(e,t,n))}function pen(...e){return e.length===3?fen(e[0],e[1],e[2]):fen(e[0],[],e[1])}var men,d$,f$,p$,hen,gen,_en=c((()=>{den(),a$t(),D9t(),men=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},d$=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},gen=class extends mJ{constructor(e){let t=e.First();super(t===void 0?`Invalid Value`:t.message),f$.add(this),p$.set(this,void 0),men(this,p$,e,`f`),this.error=t}Errors(){return new u$(d$(this,f$,`m`,hen).call(this))}},p$=new WeakMap,f$=new WeakSet,hen=function*(){this.error&&(yield this.error),yield*d$(this,p$,`f`)}})),ven=c((()=>{_en()}));function yen(e,t){if(t.has(e))return t.get(e);let n={};t.set(e,n);for(let r of Object.getOwnPropertyNames(e))n[r]=m$(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=m$(e[r],t);return n}function ben(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(m$(e[r],t));return n}function xen(e){return e.slice()}function Sen(e){return new Map(m$([...e.entries()]))}function Cen(e){return new Set(m$([...e.entries()]))}function wen(e){return new Date(e.toISOString())}function Ten(e){return e}function m$(e,t=new WeakMap){if(Xq(e))return ben(e,t);if(Kq(e))return wen(e);if(ZQt(e))return xen(e);if(YQt(e))return Sen(e);if(XQt(e))return Cen(e);if(Yq(e))return yen(e,t);if(aJ(e))return Ten(e);throw Error(`ValueClone: Unable to clone value`)}var Een=c((()=>{sJ()})),h$=c((()=>{Een()}));function g$(e){return rJ(e)?e():m$(e)}function Den(e,t){return Jq(e,`default`)?g$(e.default):{}}function Oen(e,t){return{}}function ken(e,t){if(e.uniqueItems===!0&&!Jq(e,`default`))throw new y$(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!Jq(e,`default`))throw new y$(e,`Array with the contains constraint requires a default value`);return`default`in e?g$(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>_$(e.items,t))}function Aen(e,t){return Jq(e,`default`)?g$(e.default):(async function*(){})()}function jen(e,t){return Jq(e,`default`)?g$(e.default):BigInt(0)}function Men(e,t){return Jq(e,`default`)?g$(e.default):!1}function Nen(e,t){if(Jq(e,`default`))return g$(e.default);{let n=_$(e.returns,t);return typeof n==`object`&&!Array.isArray(n)?class{constructor(){for(let[e,t]of Object.entries(n)){let n=this;n[e]=t}}}:class{}}}function Pen(e,t){return Jq(e,`default`)?g$(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function Fen(e,t){return Jq(e,`default`)?g$(e.default):()=>_$(e.returns,t)}function Ien(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return _$(r,[...t,...n])}function Len(e,t){return Jq(e,`default`)?g$(e.default):e.minimum===void 0?0:e.minimum}function Ren(e,t){if(Jq(e,`default`))return g$(e.default);{let n=e.allOf.reduce((e,n)=>{let r=_$(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!r$(e,t,n))throw new y$(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function zen(e,t){return Jq(e,`default`)?g$(e.default):(function*(){})()}function Ben(e,t){return Jq(e,`default`)?g$(e.default):e.const}function Ven(e,t){if(Jq(e,`default`))return g$(e.default);throw new y$(e,`Never types cannot be created. Consider using a default value.`)}function Hen(e,t){if(Jq(e,`default`))return g$(e.default);throw new y$(e,`Not types must have a default value`)}function Uen(e,t){return Jq(e,`default`)?g$(e.default):null}function Wen(e,t){return Jq(e,`default`)?g$(e.default):e.minimum===void 0?0:e.minimum}function Gen(e,t){if(Jq(e,`default`))return g$(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=_$(a,t));return r}}function Ken(e,t){return Jq(e,`default`)?g$(e.default):Promise.resolve(_$(e.item,t))}function qen(e,t){return Jq(e,`default`)?g$(e.default):{}}function Jen(e,t){return Jq(e,`default`)?g$(e.default):_$(GQ(e,t),t)}function Yen(e,t){if(Jq(e,`default`))return g$(e.default);throw new y$(e,`RegExp types cannot be created. Consider using a default value.`)}function Xen(e,t){if(e.pattern!==void 0){if(Jq(e,`default`))return g$(e.default);throw new y$(e,`String types with patterns must specify a default value`)}else if(e.format!==void 0){if(Jq(e,`default`))return g$(e.default);throw new y$(e,`String types with formats must specify a default value`)}else if(Jq(e,`default`))return g$(e.default);else if(e.minLength!==void 0)return Array.from({length:e.minLength}).map(()=>` `).join(``);else return``}function Zen(e,t){return Jq(e,`default`)?g$(e.default):`value`in e?Symbol.for(e.value):Symbol()}function Qen(e,t){if(Jq(e,`default`))return g$(e.default);if(!F1t(e))throw new y$(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return OX(e)[0]}function $en(e,t){if(b$++>stn)throw new y$(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return Jq(e,`default`)?g$(e.default):_$(GQ(e,t),t)}function etn(e,t){return Jq(e,`default`)?g$(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>_$(e.items[r],t))}function ttn(e,t){if(Jq(e,`default`))return g$(e.default)}function ntn(e,t){if(Jq(e,`default`))return g$(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return _$(e.anyOf[0],t)}function rtn(e,t){return Jq(e,`default`)?g$(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function itn(e,t){return Jq(e,`default`)?g$(e.default):{}}function atn(e,t){if(Jq(e,`default`))return g$(e.default)}function otn(e,t){if(Jq(e,`default`))return g$(e.default);throw Error(`User defined types must specify a default value`)}function _$(e,t){let n=WQ(e,t),r=e;switch(r[bJ]){case`Any`:return Den(r,n);case`Argument`:return Oen(r,n);case`Array`:return ken(r,n);case`AsyncIterator`:return Aen(r,n);case`BigInt`:return jen(r,n);case`Boolean`:return Men(r,n);case`Constructor`:return Nen(r,n);case`Date`:return Pen(r,n);case`Function`:return Fen(r,n);case`Import`:return Ien(r,n);case`Integer`:return Len(r,n);case`Intersect`:return Ren(r,n);case`Iterator`:return zen(r,n);case`Literal`:return Ben(r,n);case`Never`:return Ven(r,n);case`Not`:return Hen(r,n);case`Null`:return Uen(r,n);case`Number`:return Wen(r,n);case`Object`:return Gen(r,n);case`Promise`:return Ken(r,n);case`Record`:return qen(r,n);case`Ref`:return Jen(r,n);case`RegExp`:return Yen(r,n);case`String`:return Xen(r,n);case`Symbol`:return Zen(r,n);case`TemplateLiteral`:return Qen(r,n);case`This`:return $en(r,n);case`Tuple`:return etn(r,n);case`Undefined`:return ttn(r,n);case`Union`:return ntn(r,n);case`Uint8Array`:return rtn(r,n);case`Unknown`:return itn(r,n);case`Void`:return atn(r,n);default:if(!qY(r[bJ]))throw new y$(r,`Unknown type`);return otn(r,n)}}function v$(...e){return b$=0,e.length===2?_$(e[0],e[1]):_$(e[0],[])}var y$,stn,b$,ctn=c((()=>{sJ(),i$(),h$(),KQ(),BX(),YY(),SJ(),hJ(),oJ(),y$=class extends mJ{constructor(e,t){super(t),this.schema=e}},stn=512,b$=0})),ltn=c((()=>{ctn()}));function utn(e,t,n){if(e[bJ]===`Object`&&typeof n==`object`&&!Qq(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[bJ]===`Literal`&&a.const===n[r]?100:0,s=r$(a,t,n[r])?10:0,c=i.includes(r)?1:0;return e+(o+s+c)},0)}else if(e[bJ]===`Union`){let r=e.anyOf.map(e=>GQ(e,t)).map(e=>utn(e,t,n));return Math.max(...r)}else return r$(e,t,n)?1:0}function dtn(e,t,n){let r=e.anyOf.map(e=>GQ(e,t)),[i,a]=[r[0],0];for(let e of r){let r=utn(e,t,n);r>a&&(i=e,a=r)}return i}function ftn(e,t,n,r){return`default`in e?typeof n==`function`?e.default:m$(e.default):S$(dtn(e,t,n),t,n,r)}function ptn(e,t,n){return r$(e,t,n)?m$(n):v$(e,t)}function mtn(e,t,n){return r$(e,t,n)?n:v$(e,t)}function htn(e,t,n,r){if(r$(e,t,n))return m$(n);let i=Xq(n)?n:v$(e,t),a=eJ(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(eJ(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>x$(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!r$(e,t,s))throw new C$(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function gtn(e,t,n,r){if(r$(e,t,n))return v$(e,t);let i=new Set(e.returns.required||[]),a=function(){};for(let[o,s]of Object.entries(e.returns.properties))!i.has(o)&&n.prototype[o]===void 0||(a.prototype[o]=x$(s,t,n.prototype[o],r));return a}function _tn(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return x$(a,[...t,...i],n,r)}function vtn(e,t){return Yq(e)&&!Yq(t)||!Yq(e)&&Yq(t)?e:!Yq(e)||!Yq(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?vtn(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function ytn(e,t,n){if(r$(e,t,n))return n;let r=v$(e,t),i=vtn(r,n);return r$(e,t,i)?i:r}function btn(e,t,n){throw new C$(e,`Never types cannot be cast`)}function xtn(e,t,n,r){if(r.has(n))return r.get(n);if(r$(e,t,n))return n;if(typeof n!=`object`||!n)return v$(e,t);let i=new Set(e.required||[]),a={};r.set(n,a);for(let[o,s]of Object.entries(e.properties))!i.has(o)&&n[o]===void 0||(a[o]=x$(s,t,n[o],r));if(typeof e.additionalProperties==`object`){let i=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))i.includes(o)||(a[o]=x$(e.additionalProperties,t,n[o],r))}return a}function Stn(e,t,n,r){if(r$(e,t,n))return m$(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return v$(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=x$(a,t,i,r);return o}function Ctn(e,t,n,r){return x$(GQ(e,t),t,n,r)}function wtn(e,t,n,r){return x$(GQ(e,t),t,n,r)}function Ttn(e,t,n,r){return r$(e,t,n)?m$(n):Xq(n)?e.items===void 0?[]:e.items.map((e,i)=>x$(e,t,n[i],r)):v$(e,t)}function Etn(e,t,n,r){return r$(e,t,n)?m$(n):ftn(e,t,n,r)}function x$(e,t,n,r){let i=nJ(e.$id)?WQ(e,t):t,a=e;switch(e[bJ]){case`Array`:return htn(a,i,n,r);case`Constructor`:return gtn(a,i,n,r);case`Import`:return _tn(a,i,n,r);case`Intersect`:return ytn(a,i,n);case`Never`:return btn(a,i,n);case`Object`:return xtn(a,i,n,r);case`Record`:return Stn(a,i,n,r);case`Ref`:return Ctn(a,i,n,r);case`This`:return wtn(a,i,n,r);case`Tuple`:return Ttn(a,i,n,r);case`Union`:return Etn(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return ptn(e,t,n);default:return mtn(a,i,n)}}function S$(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?x$(e[0],[],e[1],e[2]??new WeakMap):x$(e[0],e[1],e[2],e[3]??new WeakMap)}var C$,Dtn=c((()=>{sJ(),hJ(),SJ(),ltn(),i$(),h$(),KQ(),C$=class extends mJ{constructor(e,t){super(t),this.schema=e}}})),w$=c((()=>{Dtn()}));function Otn(e){return $J(e)&&e[bJ]!==`Unsafe`}function ktn(e,t,n){return Xq(n)?n.map(n=>T$(e.items,t,n)):n}function Atn(e,t,n){let r=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return T$(i,[...t,...r],n)}function jtn(e,t,n){let r=e.unevaluatedProperties,i=e.allOf.map(e=>T$(e,t,m$(n))).reduce((e,t)=>Yq(t)?{...e,...t}:t,{});if(!Yq(n)||!Yq(i)||!$J(r))return i;let a=mZ(e);for(let e of Object.getOwnPropertyNames(n))a.includes(e)||r$(r,t,n[e])&&(i[e]=T$(r,t,n[e]));return i}function Mtn(e,t,n){if(!Yq(n)||Xq(n))return n;let r=e.additionalProperties;for(let i of Object.getOwnPropertyNames(n)){if(Jq(e.properties,i)){n[i]=T$(e.properties[i],t,n[i]);continue}if($J(r)&&r$(r,t,n[i])){n[i]=T$(r,t,n[i]);continue}delete n[i]}return n}function Ntn(e,t,n){if(!Yq(n))return n;let r=e.additionalProperties,i=Object.getOwnPropertyNames(n),[a,o]=Object.entries(e.patternProperties)[0],s=new RegExp(a);for(let e of i){if(s.test(e)){n[e]=T$(o,t,n[e]);continue}if($J(r)&&r$(r,t,n[e])){n[e]=T$(r,t,n[e]);continue}delete n[e]}return n}function Ptn(e,t,n){return T$(GQ(e,t),t,n)}function Ftn(e,t,n){return T$(GQ(e,t),t,n)}function Itn(e,t,n){if(!Xq(n))return n;if(Zq(e.items))return[];let r=Math.min(n.length,e.items.length);for(let i=0;i<r;i++)n[i]=T$(e.items[i],t,n[i]);return n.length>r?n.slice(0,r):n}function Ltn(e,t,n){for(let r of e.anyOf)if(Otn(r)&&r$(r,t,n))return T$(r,t,n);return n}function T$(e,t,n){let r=nJ(e.$id)?WQ(e,t):t,i=e;switch(i[bJ]){case`Array`:return ktn(i,r,n);case`Import`:return Atn(i,r,n);case`Intersect`:return jtn(i,r,n);case`Object`:return Mtn(i,r,n);case`Record`:return Ntn(i,r,n);case`Ref`:return Ptn(i,r,n);case`This`:return Ftn(i,r,n);case`Tuple`:return Itn(i,r,n);case`Union`:return Ltn(i,r,n);default:return n}}function Rtn(...e){return e.length===3?T$(e[0],e[1],e[2]):T$(e[0],[],e[1])}var ztn=c((()=>{yZ(),i$(),h$(),KQ(),SJ(),sJ(),tY()})),Btn=c((()=>{ztn()}));function E$(e){return nJ(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function Vtn(e){return tJ(e)||$q(e)||eJ(e)}function D$(e){return e===!0||eJ(e)&&e===1||tJ(e)&&e===BigInt(`1`)||nJ(e)&&(e.toLowerCase()===`true`||e===`1`)}function O$(e){return e===!1||eJ(e)&&(e===0||Object.is(e,-0))||tJ(e)&&e===BigInt(`0`)||nJ(e)&&(e.toLowerCase()===`false`||e===`0`||e===`-0`)}function Htn(e){return nJ(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function Utn(e){return nJ(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function Wtn(e){return nJ(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}function Gtn(e){return nJ(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}function Ktn(e){return nJ(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}function qtn(e,t){let n=$tn(e);return n===t?n:e}function Jtn(e,t){let n=enn(e);return n===t?n:e}function Ytn(e,t){let n=Ztn(e);return n===t?n:e}function Xtn(e,t){return nJ(e.const)?qtn(t,e.const):eJ(e.const)?Jtn(t,e.const):$q(e.const)?Ytn(t,e.const):t}function Ztn(e){return D$(e)?!0:O$(e)?!1:e}function Qtn(e){return E$(e)?BigInt((e=>e.split(`.`)[0])(e)):eJ(e)?BigInt(Math.trunc(e)):O$(e)?BigInt(0):D$(e)?BigInt(1):e}function $tn(e){return iJ(e)&&e.description!==void 0?e.description.toString():Vtn(e)?e.toString():e}function enn(e){return E$(e)?parseFloat(e):D$(e)?1:O$(e)?0:e}function tnn(e){return E$(e)?parseInt(e):eJ(e)?Math.trunc(e):D$(e)?1:O$(e)?0:e}function nnn(e){return nJ(e)&&e.toLowerCase()===`null`?null:e}function rnn(e){return nJ(e)&&e===`undefined`?void 0:e}function inn(e){return Kq(e)?e:eJ(e)?new Date(e):D$(e)?new Date(1):O$(e)?new Date(0):E$(e)?new Date(parseInt(e)):Utn(e)?new Date(`1970-01-01T${e}.000Z`):Htn(e)?new Date(`1970-01-01T${e}`):Gtn(e)?new Date(`${e}.000Z`):Wtn(e)?new Date(e):Ktn(e)?new Date(`${e}T00:00:00.000Z`):e}function ann(e){return e}function onn(e,t,n){return(Xq(n)?n:[n]).map(n=>k$(e.items,t,n))}function snn(e,t,n){return Qtn(n)}function cnn(e,t,n){return Ztn(n)}function lnn(e,t,n){return inn(n)}function unn(e,t,n){let r=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return k$(i,[...t,...r],n)}function dnn(e,t,n){return tnn(n)}function fnn(e,t,n){return e.allOf.reduce((e,n)=>k$(n,t,e),n)}function pnn(e,t,n){return Xtn(e,n)}function mnn(e,t,n){return nnn(n)}function hnn(e,t,n){return enn(n)}function gnn(e,t,n){if(!Yq(n)||Xq(n))return n;for(let r of Object.getOwnPropertyNames(e.properties))Jq(n,r)&&(n[r]=k$(e.properties[r],t,n[r]));return n}function _nn(e,t,n){if(!(Yq(n)&&!Xq(n)))return n;let r=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[r];for(let[e,r]of Object.entries(n))n[e]=k$(i,t,r);return n}function vnn(e,t,n){return k$(GQ(e,t),t,n)}function ynn(e,t,n){return $tn(n)}function bnn(e,t,n){return nJ(n)||eJ(n)?Symbol(n):n}function xnn(e,t,n){return k$(GQ(e,t),t,n)}function Snn(e,t,n){return Xq(n)&&!Zq(e.items)?n.map((n,r)=>r<e.items.length?k$(e.items[r],t,n):n):n}function Cnn(e,t,n){return rnn(n)}function wnn(e,t,n){for(let r of e.anyOf)if(r$(r,t,n))return n;for(let r of e.anyOf){let e=k$(r,t,m$(n));if(r$(r,t,e))return e}return n}function k$(e,t,n){let r=WQ(e,t),i=e;switch(e[bJ]){case`Array`:return onn(i,r,n);case`BigInt`:return snn(i,r,n);case`Boolean`:return cnn(i,r,n);case`Date`:return lnn(i,r,n);case`Import`:return unn(i,r,n);case`Integer`:return dnn(i,r,n);case`Intersect`:return fnn(i,r,n);case`Literal`:return pnn(i,r,n);case`Null`:return mnn(i,r,n);case`Number`:return hnn(i,r,n);case`Object`:return gnn(i,r,n);case`Record`:return _nn(i,r,n);case`Ref`:return vnn(i,r,n);case`String`:return ynn(i,r,n);case`Symbol`:return bnn(i,r,n);case`This`:return xnn(i,r,n);case`Tuple`:return Snn(i,r,n);case`Undefined`:return Cnn(i,r,n);case`Union`:return wnn(i,r,n);default:return ann(n)}}function Tnn(...e){return e.length===3?k$(e[0],e[1],e[2]):k$(e[0],[],e[1])}var Enn=c((()=>{h$(),i$(),KQ(),SJ(),sJ()})),Dnn=c((()=>{Enn()}));function A$(e,t,n){try{return YJ(e)?e[gJ].Decode(n):n}catch(r){throw new znn(e,t,n,r)}}function Onn(e,t,n,r){return Xq(r)?A$(e,n,r.map((r,i)=>j$(e.items,t,`${n}/${i}`,r))):A$(e,n,r)}function knn(e,t,n,r){if(!Yq(r)||aJ(r))return A$(e,n,r);let i=V2t(e),a=i.map(e=>e[0]),o={...r};for(let[e,r]of i)e in o&&(o[e]=j$(r,t,`${n}/${e}`,o[e]));if(!YJ(e.unevaluatedProperties))return A$(e,n,o);let s=Object.getOwnPropertyNames(o),c=e.unevaluatedProperties,l={...o};for(let e of s)a.includes(e)||(l[e]=A$(c,`${n}/${e}`,l[e]));return A$(e,n,l)}function Ann(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return A$(e,n,j$(a,[...t,...i],n,r))}function jnn(e,t,n,r){return A$(e,n,j$(e.not,t,n,r))}function Mnn(e,t,n,r){if(!Yq(r))return A$(e,n,r);let i=mZ(e),a={...r};for(let r of i)Jq(a,r)&&(Zq(a[r])&&(!ZJ(e.properties[r])||cJ.IsExactOptionalProperty(a,r))||(a[r]=j$(e.properties[r],t,`${n}/${r}`,a[r])));if(!eY(e.additionalProperties))return A$(e,n,a);let o=Object.getOwnPropertyNames(a),s=e.additionalProperties,c={...a};for(let e of o)i.includes(e)||(c[e]=A$(s,`${n}/${e}`,c[e]));return A$(e,n,c)}function Nnn(e,t,n,r){if(!Yq(r))return A$(e,n,r);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=new RegExp(i),o={...r};for(let s of Object.getOwnPropertyNames(r))a.test(s)&&(o[s]=j$(e.patternProperties[i],t,`${n}/${s}`,o[s]));if(!eY(e.additionalProperties))return A$(e,n,o);let s=Object.getOwnPropertyNames(o),c=e.additionalProperties,l={...o};for(let e of s)a.test(e)||(l[e]=A$(c,`${n}/${e}`,l[e]));return A$(e,n,l)}function Pnn(e,t,n,r){return A$(e,n,j$(GQ(e,t),t,n,r))}function Fnn(e,t,n,r){return A$(e,n,j$(GQ(e,t),t,n,r))}function Inn(e,t,n,r){return Xq(r)&&Xq(e.items)?A$(e,n,e.items.map((e,i)=>j$(e,t,`${n}/${i}`,r[i]))):A$(e,n,r)}function Lnn(e,t,n,r){for(let i of e.anyOf)if(r$(i,t,r))return A$(e,n,j$(i,t,n,r));return A$(e,n,r)}function j$(e,t,n,r){let i=WQ(e,t),a=e;switch(e[bJ]){case`Array`:return Onn(a,i,n,r);case`Import`:return Ann(a,i,n,r);case`Intersect`:return knn(a,i,n,r);case`Not`:return jnn(a,i,n,r);case`Object`:return Mnn(a,i,n,r);case`Record`:return Nnn(a,i,n,r);case`Ref`:return Pnn(a,i,n,r);case`Symbol`:return A$(a,n,r);case`This`:return Fnn(a,i,n,r);case`Tuple`:return Inn(a,i,n,r);case`Union`:return Lnn(a,i,n,r);default:return A$(a,n,r)}}function Rnn(e,t,n){return j$(e,t,``,n)}var znn,Bnn=c((()=>{lJ(),SJ(),hJ(),yZ(),KQ(),i$(),sJ(),tY(),znn=class extends mJ{constructor(e,t,n,r){super(r instanceof Error?r.message:`Unknown error`),this.schema=e,this.path=t,this.value=n,this.error=r}}}));function M$(e,t,n){try{return YJ(e)?e[gJ].Encode(n):n}catch(r){throw new Qnn(e,t,n,r)}}function Vnn(e,t,n,r){let i=M$(e,n,r);return Xq(i)?i.map((r,i)=>N$(e.items,t,`${n}/${i}`,r)):i}function Hnn(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref],o=M$(e,n,r);return N$(a,[...t,...i],n,o)}function Unn(e,t,n,r){let i=M$(e,n,r);if(!Yq(r)||aJ(r))return i;let a=V2t(e),o=a.map(e=>e[0]),s={...i};for(let[e,r]of a)e in s&&(s[e]=N$(r,t,`${n}/${e}`,s[e]));if(!YJ(e.unevaluatedProperties))return s;let c=Object.getOwnPropertyNames(s),l=e.unevaluatedProperties,u={...s};for(let e of c)o.includes(e)||(u[e]=M$(l,`${n}/${e}`,u[e]));return u}function Wnn(e,t,n,r){return M$(e.not,n,M$(e,n,r))}function Gnn(e,t,n,r){let i=M$(e,n,r);if(!Yq(i))return i;let a=mZ(e),o={...i};for(let r of a)Jq(o,r)&&(Zq(o[r])&&(!ZJ(e.properties[r])||cJ.IsExactOptionalProperty(o,r))||(o[r]=N$(e.properties[r],t,`${n}/${r}`,o[r])));if(!eY(e.additionalProperties))return o;let s=Object.getOwnPropertyNames(o),c=e.additionalProperties,l={...o};for(let e of s)a.includes(e)||(l[e]=M$(c,`${n}/${e}`,l[e]));return l}function Knn(e,t,n,r){let i=M$(e,n,r);if(!Yq(r))return i;let a=Object.getOwnPropertyNames(e.patternProperties)[0],o=new RegExp(a),s={...i};for(let i of Object.getOwnPropertyNames(r))o.test(i)&&(s[i]=N$(e.patternProperties[a],t,`${n}/${i}`,s[i]));if(!eY(e.additionalProperties))return s;let c=Object.getOwnPropertyNames(s),l=e.additionalProperties,u={...s};for(let e of c)o.test(e)||(u[e]=M$(l,`${n}/${e}`,u[e]));return u}function qnn(e,t,n,r){return M$(e,n,N$(GQ(e,t),t,n,r))}function Jnn(e,t,n,r){return M$(e,n,N$(GQ(e,t),t,n,r))}function Ynn(e,t,n,r){let i=M$(e,n,r);return Xq(e.items)?e.items.map((e,r)=>N$(e,t,`${n}/${r}`,i[r])):[]}function Xnn(e,t,n,r){for(let i of e.anyOf)if(r$(i,t,r))return M$(e,n,N$(i,t,n,r));for(let i of e.anyOf){let a=N$(i,t,n,r);if(r$(e,t,a))return M$(e,n,a)}return M$(e,n,r)}function N$(e,t,n,r){let i=WQ(e,t),a=e;switch(e[bJ]){case`Array`:return Vnn(a,i,n,r);case`Import`:return Hnn(a,i,n,r);case`Intersect`:return Unn(a,i,n,r);case`Not`:return Wnn(a,i,n,r);case`Object`:return Gnn(a,i,n,r);case`Record`:return Knn(a,i,n,r);case`Ref`:return qnn(a,i,n,r);case`This`:return Jnn(a,i,n,r);case`Tuple`:return Ynn(a,i,n,r);case`Union`:return Xnn(a,i,n,r);default:return M$(a,n,r)}}function Znn(e,t,n){return N$(e,t,``,n)}var Qnn,$nn=c((()=>{lJ(),SJ(),hJ(),yZ(),KQ(),i$(),sJ(),tY(),Qnn=class extends mJ{constructor(e,t,n,r){super(`${r instanceof Error?r.message:`Unknown error`}`),this.schema=e,this.path=t,this.value=n,this.error=r}}}));function ern(e,t){return YJ(e)||P$(e.items,t)}function trn(e,t){return YJ(e)||P$(e.items,t)}function nrn(e,t){return YJ(e)||P$(e.returns,t)||e.parameters.some(e=>P$(e,t))}function rrn(e,t){return YJ(e)||P$(e.returns,t)||e.parameters.some(e=>P$(e,t))}function irn(e,t){return YJ(e)||YJ(e.unevaluatedProperties)||e.allOf.some(e=>P$(e,t))}function arn(e,t){let n=globalThis.Object.getOwnPropertyNames(e.$defs).reduce((t,n)=>[...t,e.$defs[n]],[]),r=e.$defs[e.$ref];return YJ(e)||P$(r,[...n,...t])}function orn(e,t){return YJ(e)||P$(e.items,t)}function srn(e,t){return YJ(e)||P$(e.not,t)}function crn(e,t){return YJ(e)||Object.values(e.properties).some(e=>P$(e,t))||eY(e.additionalProperties)&&P$(e.additionalProperties,t)}function lrn(e,t){return YJ(e)||P$(e.item,t)}function urn(e,t){let n=Object.getOwnPropertyNames(e.patternProperties)[0],r=e.patternProperties[n];return YJ(e)||P$(r,t)||eY(e.additionalProperties)&&YJ(e.additionalProperties)}function drn(e,t){return YJ(e)?!0:P$(GQ(e,t),t)}function frn(e,t){return YJ(e)?!0:P$(GQ(e,t),t)}function prn(e,t){return YJ(e)||!Zq(e.items)&&e.items.some(e=>P$(e,t))}function mrn(e,t){return YJ(e)||e.anyOf.some(e=>P$(e,t))}function P$(e,t){let n=WQ(e,t),r=e;if(e.$id&&F$.has(e.$id))return!1;switch(e.$id&&F$.add(e.$id),e[bJ]){case`Array`:return ern(r,n);case`AsyncIterator`:return trn(r,n);case`Constructor`:return nrn(r,n);case`Function`:return rrn(r,n);case`Import`:return arn(r,n);case`Intersect`:return irn(r,n);case`Iterator`:return orn(r,n);case`Not`:return srn(r,n);case`Object`:return crn(r,n);case`Promise`:return lrn(r,n);case`Record`:return urn(r,n);case`Ref`:return drn(r,n);case`This`:return frn(r,n);case`Tuple`:return prn(r,n);case`Union`:return mrn(r,n);default:return YJ(e)}}function hrn(e,t){return F$.clear(),P$(e,t)}var F$,grn=c((()=>{KQ(),SJ(),tY(),sJ(),F$=new Set})),_rn=c((()=>{Bnn(),$nn(),grn()})),vrn=c((()=>{})),yrn=c((()=>{vrn()}));function I$(e,t){let n=Jq(e,`default`)?e.default:void 0,r=rJ(n)?n():m$(n);return Zq(t)?r:Yq(t)&&Yq(r)?Object.assign(r,t):t}function L$(e){return $J(e)&&`default`in e}function brn(e,t,n){if(Xq(n)){for(let r=0;r<n.length;r++)n[r]=R$(e.items,t,n[r]);return n}let r=I$(e,n);if(!Xq(r))return r;for(let n=0;n<r.length;n++)r[n]=R$(e.items,t,r[n]);return r}function xrn(e,t,n){return Kq(n)?n:I$(e,n)}function Srn(e,t,n){let r=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return R$(i,[...t,...r],n)}function Crn(e,t,n){let r=I$(e,n);return e.allOf.reduce((e,n)=>{let i=R$(n,t,r);return Yq(i)?{...e,...i}:i},{})}function wrn(e,t,n){let r=I$(e,n);if(!Yq(r))return r;let i=Object.getOwnPropertyNames(e.properties);for(let n of i)Zq(R$(e.properties[n],t,r[n]))||(r[n]=R$(e.properties[n],t,r[n]));if(!L$(e.additionalProperties))return r;for(let n of Object.getOwnPropertyNames(r))i.includes(n)||(r[n]=R$(e.additionalProperties,t,r[n]));return r}function Trn(e,t,n){let r=I$(e,n);if(!Yq(r))return r;let i=e.additionalProperties,[a,o]=Object.entries(e.patternProperties)[0],s=new RegExp(a);for(let e of Object.getOwnPropertyNames(r))s.test(e)&&L$(o)&&(r[e]=R$(o,t,r[e]));if(!L$(i))return r;for(let e of Object.getOwnPropertyNames(r))s.test(e)||(r[e]=R$(i,t,r[e]));return r}function Ern(e,t,n){return R$(GQ(e,t),t,I$(e,n))}function Drn(e,t,n){return R$(GQ(e,t),t,n)}function Orn(e,t,n){let r=I$(e,n);if(!Xq(r)||Zq(e.items))return r;let[i,a]=[e.items,Math.max(e.items.length,r.length)];for(let e=0;e<a;e++)e<i.length&&(r[e]=R$(i[e],t,r[e]));return r}function krn(e,t,n){let r=I$(e,n);for(let n of e.anyOf){let e=R$(n,t,m$(r));if(r$(n,t,e))return e}return r}function R$(e,t,n){let r=WQ(e,t),i=e;switch(i[bJ]){case`Array`:return brn(i,r,n);case`Date`:return xrn(i,r,n);case`Import`:return Srn(i,r,n);case`Intersect`:return Crn(i,r,n);case`Object`:return wrn(i,r,n);case`Record`:return Trn(i,r,n);case`Ref`:return Ern(i,r,n);case`This`:return Drn(i,r,n);case`Tuple`:return Orn(i,r,n);case`Union`:return krn(i,r,n);default:return I$(i,n)}}function Arn(...e){return e.length===3?R$(e[0],e[1],e[2]):R$(e[0],[],e[1])}var jrn=c((()=>{i$(),h$(),KQ(),SJ(),sJ(),tY()})),Mrn=c((()=>{jrn()})),Nrn=c((()=>{})),Prn=c((()=>{})),Frn,Irn,Lrn,Rrn=c((()=>{AX(),XX(),LX(),EZ(),vX(),Frn=YX({type:kX(`insert`),path:IX(),value:TZ()}),Irn=YX({type:kX(`update`),path:IX(),value:TZ()}),Lrn=YX({type:kX(`delete`),path:IX()}),_X([Frn,Irn,Lrn])})),zrn=c((()=>{Rrn()})),Brn=c((()=>{})),Vrn=c((()=>{Brn()})),Hrn=c((()=>{Prn()})),Urn=c((()=>{})),Wrn=c((()=>{Urn()})),Grn,Krn=c((()=>{_rn(),ven(),w$(),Btn(),h$(),Dnn(),Mrn(),(function(e){let t=new Map([[`Assert`,(e,t,n)=>(pen(e,t,n),n)],[`Cast`,(e,t,n)=>S$(e,t,n)],[`Clean`,(e,t,n)=>Rtn(e,t,n)],[`Clone`,(e,t,n)=>m$(n)],[`Convert`,(e,t,n)=>Tnn(e,t,n)],[`Decode`,(e,t,n)=>hrn(e,t)?Rnn(e,t,n):n],[`Default`,(e,t,n)=>Arn(e,t,n)],[`Encode`,(e,t,n)=>hrn(e,t)?Znn(e,t,n):n]]);function n(e){t.delete(e)}e.Delete=n;function r(e,n){t.set(e,n)}e.Set=r;function i(e){return t.get(e)}e.Get=i})(Grn||={})})),qrn=c((()=>{Krn()})),Jrn=c((()=>{den(),w$(),i$()})),Yrn=c((()=>{Jrn()})),Xrn=c((()=>{sJ(),ven(),w$(),i$(),Btn(),h$(),Dnn(),ltn(),yrn(),Mrn(),zrn(),Vrn(),Hrn(),e$(),Wrn(),qrn(),Nrn(),_rn(),Yrn()})),z$,B$=c((()=>{Xrn(),z$=(e,t)=>S$(e,t)})),Zrn,Qrn,V$,$rn=c((()=>{UQ(),B$(),Zrn=(e,{payload:t,index:n})=>{if(!e)return;if(e[`x-scalar-cookies`]||=[],n!==void 0){if(n<0||n>=e[`x-scalar-cookies`].length)return;let r=z$(HQ,{...e[`x-scalar-cookies`][n],...t});return e[`x-scalar-cookies`][n]=r,r}let r=z$(HQ,t);return e[`x-scalar-cookies`].push(r),r},Qrn=(e,{index:t})=>!e||!e[`x-scalar-cookies`]||t<0||t>=e[`x-scalar-cookies`].length?!1:(e[`x-scalar-cookies`].splice(t,1),!0),V$=({collection:e})=>({upsertCookie:t=>Zrn(e,t),deleteCookie:t=>Qrn(e,t)})})),ein,tin,nin,rin,iin,ain,oin,sin=c((()=>{jq(),ein=(e,t)=>{e&&Aq(e,t)},tin=(e,t)=>{e&&(e[`x-scalar-watch-mode`]=t)},nin=(e,t)=>{e&&(Aq(e.info,t),e[`x-scalar-navigation`]&&t.title!==void 0&&(e[`x-scalar-navigation`].title=t.title?.trim()||`Untitled Document`))},rin=(e,t)=>{!e||!e[`x-scalar-navigation`]||(e[`x-scalar-icon`]=t,e[`x-scalar-navigation`].icon=t)},iin=async(e,t)=>{if(e){if(e.workspace.documents[t.name]){t.callback?.(!1);return}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)}},ain=(e,t)=>{e&&e.deleteDocument(t.name)},oin=({document:e,store:t})=>({updateDocumentExtension:t=>ein(e,t),updateDocumentInfo:t=>nin(e,t),updateWatchMode:t=>tin(e,t),updateDocumentIcon:t=>rin(e,t),createEmptyDocument:e=>iin(t,e),deleteDocument:e=>ain(t,e)})})),H$,cin,U$,lin,uin,din,W$=c((()=>{TQ(),VQ(),H$=Z.Object({name:Z.String(),value:Z.Union([Z.Object({description:Z.Optional(Z.String()),default:Z.String({default:``})}),Z.String()])}),cin=IQ({name:Q(),value:LQ([IQ({description:$(Q()),default:Q()}),Q()])},{typeName:`XScalarEnvVar`}),U$=Z.Object({description:Z.Optional(Z.String()),color:Z.String({default:`#FFFFFF`}),variables:Z.Array(H$)}),lin=IQ({description:$(Q()),color:Q({typeComment:`Color for the environment`}),variables:PQ(cin,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),uin=Z.Object({"x-scalar-environments":Z.Optional(Z.Record(Z.String(),U$))}),din=IQ({"x-scalar-environments":$(FQ(Q(),lin))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`})})),fin,pin,min,hin,G$,gin=c((()=>{Cq(),W$(),B$(),fin=(e,t,{environmentName:n,payload:r,oldEnvironmentName:i})=>{if(!t||!e)return;t[`x-scalar-environments`]||={};let a=!t[`x-scalar-environments`][i??n],o=z$(U$,{...Sq(t[`x-scalar-environments`][i??n],{depth:1}),...r});return t[`x-scalar-environments`][n]=o,i&&i!==n&&(delete t[`x-scalar-environments`][i],e[`x-scalar-active-environment`]===i&&(e[`x-scalar-active-environment`]=n)),a&&(e[`x-scalar-active-environment`]=n),o},pin=(e,t,{environmentName:n})=>{!t||!e||delete t[`x-scalar-environments`]?.[n]},min=(e,{environmentName:t,variable:n,index:r})=>{if(!e?.[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}let i=z$(H$,n);if(r!==void 0){if(i.name===``){e[`x-scalar-environments`][t].variables.splice(r,1);return}e[`x-scalar-environments`][t].variables[r]=i}else e[`x-scalar-environments`][t].variables.push(i);return i},hin=(e,{environmentName:t,index:n})=>{if(!e?.[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}e[`x-scalar-environments`]?.[t]?.variables?.splice(n,1)},G$=({workspace:e,collection:t})=>({upsertEnvironment:n=>fin(e,t,n),deleteEnvironment:n=>pin(e,t,n),upsertEnvironmentVariable:e=>min(t,e),deleteEnvironmentVariable:e=>hin(t,e)})})),_in,vin=c((()=>{_in=(e,t)=>e&&e.workspace.documents[t]||null})),K$,yin,bin,xin,Sin=c((()=>{x_(),Cq(),K$=(e,t,n)=>{let r=b_(e?.paths?.[n.path]?.[n.method]);if(!r)return null;let i=b_(r.requestBody);return i||=(r.requestBody={content:{}},b_(r.requestBody)),i.content[t]||={},i.content[t].examples||={},i.content[t].examples[n.exampleKey]||={},b_(i.content[t].examples?.[n.exampleKey])??null},yin=(e,{meta:t,payload:n})=>{if(!e)return;let r=b_(e.paths?.[t.path]?.[t.method]);if(!r)return;let i=b_(r.requestBody);i||=(r.requestBody={content:{}},b_(r.requestBody)),i[`x-scalar-selected-content-type`]||={},i[`x-scalar-selected-content-type`][t.exampleKey]=n.contentType},bin=(e,{meta:t,payload:n,contentType:r})=>{let i=K$(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=n},xin=(e,{meta:t,payload:n,contentType:r})=>{let i=K$(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=Sq(n,{depth:3})}})),Cin,win=c((()=>{x_(),jq(),Cin=(e,{meta:t,payload:n})=>{let r=b_(e?.paths?.[t.path]?.[t.method]);r&&Aq(r,n)}})),q$,J$,Y$,X$,Tin,Z$,Q$=c((()=>{q$=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),J$=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),Y$=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),X$=e=>`type`in e&&(e.type===`number`||e.type===`integer`||Array.isArray(e.type)&&e.type.includes(`number`)||Array.isArray(e.type)&&e.type.includes(`integer`)),Tin=e=>e!==void 0&&`type`in e,Z$=e=>`content`in e&&e.content!==void 0}));async function Ein(e){if(typeof e.formData!=`function`||e.bodyUsed)return null;let t=e.headers.get(`content-type`)??``;if(!t.includes(`multipart/form-data`)&&!t.includes(`application/x-www-form-urlencoded`))return null;try{return await e.formData()}catch{return null}}var Din,Oin,kin,Ain,jin=c((()=>{Din=async({request:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let i=new URL(e.url),a=Array.from(i.searchParams.entries()).map(([e,t])=>({name:e,value:t})),{headers:o,headersSize:s,cookies:c}=kin(e),l=e.headers.get(`content-type`)?.split(`;`)[0]?.trim()??`text/plain`,u=await(async()=>{if(t&&e.body){let t=await Oin(e.clone());if(t.size<=r)return t}return{text:``,size:-1}})();return{method:e.method,url:e.url,httpVersion:n,headers:o,cookies:c,queryString:a,headersSize:s,bodySize:u.size,postData:`params`in u?{mimeType:l,params:u.params}:{mimeType:l,text:u.text}}},Oin=async e=>{let t=await Ein(e.clone());if(t)return Array.from(t.entries()).reduce((e,[t,n])=>{if(n instanceof File){let r=`@${n.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:n}),e.size+=n.length,e},{params:[],size:0});if(e.headers.get(`content-type`)?.includes(`application/octet-stream`))return{text:``,size:-1};let n=await e.arrayBuffer();return{size:n.byteLength,text:new TextDecoder().decode(n)}},kin=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(t.toLowerCase()===`cookie`){let t=Ain(n);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2;return e},{headers:[],headersSize:0,cookies:[]}),Ain=e=>e.split(`;`).reduce((e,t)=>{let n=t.trim(),r=n.indexOf(`=`);if(r===-1)return e;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();return e.cookies.push({name:i,value:a}),e.size+=i.length+2+a.length+2,e},{cookies:[],size:0})})),Min,Nin,Pin,Fin,Iin,Lin=c((()=>{Min=async({response:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let{headers:i,headersSize:a,cookies:o}=Nin(e),s=e.headers.get(`location`)||``,c=e.headers.get(`content-type`)??`text/plain`,l=await(async()=>{if(t&&e.body){let t=await Pin(e.clone());if(t.size<=r)return t}return{text:``,size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:n,headers:i,cookies:o,content:{size:l.size,mimeType:c,text:l.text,encoding:l.encoding},redirectURL:s,headersSize:a,bodySize:l.size}},Nin=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2,t.toLowerCase()===`set-cookie`){let t=Iin(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),Pin=async e=>{let t=e.headers.get(`content-type`);if(!t||!Fin(t))return{text:``,size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),n=t.byteLength;return{text:new TextDecoder(`utf-8`).decode(t),size:n,encoding:void 0}}catch{return{text:``,size:-1,encoding:void 0}}},Fin=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`))},Iin=e=>{let t=e.split(`;`);if(t.length===0||!t[0])return null;let n=t[0].trim(),r=n.indexOf(`=`);return r===-1?null:{name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}}})),Rin,zin,Bin,$$,Vin=c((()=>{x_(),Q$(),Rin=(e,t,n)=>{e.forEach(e=>{let r=b_(e);Z$(r)||(Bin(b_(e),n,!0),r.in===`path`&&(r.examples||={},r.examples[n]={value:t[r.name]??``,"x-disabled":!1}))})},zin=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||=[],Rin(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=$$(n.parameters,r.name,`query`);!e||Z$(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=$$(n.parameters,r.name,`header`);!e||Z$(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=$$(n.parameters,r.name,`cookie`);!e||Z$(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let{mimeType:r,text:i,params:a}=e.postData;n.requestBody||={content:{}};let o=b_(n.requestBody);o.content[r]||(o.content[r]={schema:{type:`object`}});let s=o.content[r];if(!s)return n;s.examples||={};let c;if(a&&a.length>0){c=[];for(let e of a)c.push({name:e.name,value:e.value,"x-disabled":!1})}else c=i;s.examples[t]={value:c,"x-disabled":!1},o[`x-scalar-selected-content-type`]||={},o[`x-scalar-selected-content-type`][t]=r}return n},Bin=(e,t,n)=>{Z$(e)||e.examples?.[t]&&(b_(e.examples[t])[`x-disabled`]=n)},$$=(e,t,n)=>{for(let r of e){let e=b_(r);if(!Z$(e)&&e.in===n&&(n===`header`?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:n,schema:{type:`string`}};return e.push(r),r}})),Hin,Uin,Win=c((()=>{x_(),Q$(),jin(),Lin(),Vin(),Hin=async(e,t,{payload:n,meta:r})=>{let i=t?.[`x-scalar-navigation`]?.name;if(!t||!i||!n)return;let a=b_(t.paths?.[r.path]?.[r.method]);if(!a)return;let o=(a.parameters??[]).reduce((e,t)=>{let n=b_(t);return Z$(n)||n.in===`path`&&(e[n.name]=b_(n.examples?.[r.exampleKey])?.value??``),e},{}),s=await Din({request:n.request}),c=await Min({response:n.response});e?.history.addHistory(i,r.path,r.method,{response:c,request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,requestMetadata:{variables:o}})},Uin=(e,t,{meta:n,index:r,callback:i})=>{if(!t){console.error(`Document not found`,n.path,n.method);return}let a=b_(t.paths?.[n.path]?.[n.method]);if(!a){console.error(`Operation not found`,n.path,n.method);return}let o=e?.history.getHistory(t[`x-scalar-navigation`]?.name??``,n.path,n.method)?.[r];if(!o){console.error(`History item not found`,r);return}zin({harRequest:o.request,exampleKey:`draft`,baseOperation:a,pathVariables:o.requestMetadata.variables}),i(`success`)}})),Gin,e1,t1=c((()=>{Gin=new Set([`__proto__`,`prototype`,`constructor`]),e1=(e,t)=>{if(Gin.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}}})),n1,Kin=c((()=>{n1=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n}})),r1,qin=c((()=>{Av(),Cq(),Kin(),r1=(e,t,n,r)=>{let i=kv(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=kv(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=n1(t,i),s=n1(e,a),c=Object.create(null);for(let e of n){let t=r(e);t?.in===`path`&&(c[t.name]=e)}let l=new Set,u=new Set,d=[];for(let e of a){if(c[e]){l.add(e),u.add(c[e]);continue}let t=s[e],n=i.find(e=>o[e]===t&&!l.has(e));if(n&&c[n]!==void 0){let t=c[n];t&&(r(t).name=e,u.add(t)),l.add(n);continue}d.push({in:`path`,name:e})}let f=[];for(let e of n){let t=r(e),n=Sq(e,{depth:1});if(t?.in!==`path`){f.push(n);continue}u.has(e)&&f.push(n)}return f.concat(d)}})),i1,a1=c((()=>{i1=(e,t)=>{if(t)return t.type===e?t:i1(e,t.parent)}})),Jin,Yin,Xin=c((()=>{x_(),a1(),Jin=e=>e.type===`document`||e.type===`tag`||e.type===`operation`,Yin=({store:e,entry:t})=>{let n=i1(`document`,t);if(!n)return null;let r=e.workspace.documents[n.name];return r?t.type===`document`?r:t.type===`tag`?r.tags?.find(e=>e.name===t.name)??null:t.type===`operation`?b_(r.paths?.[t.path]?.[t.method])??null:null:null}})),o1,Zin=c((()=>{o1=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`operation`?n(`${i.path}|${i.method}`,{...i,parent:t}):i.type===`webhook`?n(`${i.name}|${i.method}`,{...i,parent:t}):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t}})),Qin,$in=c((()=>{Qin=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`tag`?(n(i.name,{...i,parent:t}),r(i.children,{...i,parent:t})):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t}})),ean,tan=c((()=>{ean=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g}));function s1(e,t){return typeof e==`string`?(t||(e=e.toLowerCase()),e.replace(ean,``).replace(/ /g,`-`)):``}var nan,c1,l1=c((()=>{tan(),nan=Object.hasOwnProperty,c1=class{constructor(){this.occurrences,this.reset()}slug(e,t){let n=this,r=s1(e,t===!0),i=r;for(;nan.call(n.occurrences,r);)n.occurrences[i]++,r=i+`-`+n.occurrences[i];return n.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}}})),u1,d1=c((()=>{l1(),u1=(e,t)=>{let n=r=>{let i=`${s1(e)}`;if(r.type===`text`)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:r.slug}):r.slug?`${i}/description/${r.slug}`:`${i}/`;if(r.type===`tag`){let e=r.isGroup?`tag-group`:`tag`;return t?.generateTagSlug?`${i}/${e}/${t.generateTagSlug(r.tag)}`:`${i}/${e}/${s1(r.tag.name??``)}`}if(r.type===`operation`){let e=r.parentTag?`${n({type:`tag`,tag:r.parentTag.tag,parentId:r.parentTag.id})}/`:`${i}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:r.path,operationId:r.operation.operationId,method:r.method.toUpperCase(),summary:r.operation.summary})}`:`${e}${r.method.toUpperCase()}${r.path}`}if(r.type===`webhook`){let e=r.parentTag?`${n({type:`tag`,parentId:r.parentTag.id,tag:r.parentTag.tag})}/`:`${i}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:r.name,method:r.method?.toUpperCase()})}`:`${e}webhook/${r.method?.toUpperCase()}/${s1(r.name)}`}if(r.type===`model`){if(!r.name)return`${i}/models`;let e=r.parentTag?`${n({type:`tag`,parentId:r.parentTag.id,tag:r.parentTag.tag})}/`:`${i}/`;return t?.generateModelSlug?`${e}model/${t.generateModelSlug({name:r.name})}`:`${e}model/${s1(r.name,!0)}`}return r.type===`example`?`${r.parentId}/example/${s1(r.name)}`:r.type===`document`?i:(console.warn(`[WARNING]: unhandled id generation for navigation item:`,r),`unknown-id`)};return{hideModels:t?.hideModels??!1,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,generateId:n}}}));function ran(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()}function ian(e){let t=e.split(/\r?\n/),n=[],r=!1,i=``,a=0;for(let e=0;e<t.length;e++){let o=t[e]??``,s=o.trimStart();if(r){let e=/^(`{3,}|~{3,})\s*$/.exec(s)?.[1];e&&e[0]===i&&e.length>=a&&(r=!1);continue}else{let e=/^(`{3,}|~{3,})/.exec(s)?.[1];if(e){r=!0,i=e.charAt(0),a=e.length;continue}}if(/^(?: {4}|\t)/.test(o))continue;let c=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(s),l=c?.[1],u=c?.[2];if(l&&u){let e=ran(u);e&&n.push({depth:l.length,value:e});continue}let d=t[e+1];if(!d||/^(?: {4}|\t)/.test(d))continue;let f=/^(=+|-+)\s*$/.exec(d.trim())?.[1];if(!f)continue;let p=ran(s);p&&(n.push({depth:f[0]===`=`?1:2,value:p}),e++)}return n}var aan=c((()=>{}));function oan(e){let t=new c1;return san(ian(e),t)}var san,can,lan=c((()=>{aan(),l1(),san=(e,t)=>e.map(e=>({...e,slug:t.slug(e.value)})),can=e=>{let t=Math.min(...e.map(e=>e.depth));return t>=1&&t<=6?t:1}})),f1,p1,uan,dan=c((()=>{lan(),f1={TITLE:`Introduction`,SLUG:`introduction`},p1=(e,t,n)=>({id:e({type:`text`,depth:1,slug:f1.SLUG,parentId:t,info:n,value:f1.TITLE}),title:f1.TITLE,type:`text`}),uan=({generateId:e,parentId:t,info:n})=>{let r=n.description?.trim();if(!r)return[p1(e,t,n)];let i=oan(r),a=can(i),o=[],s=null,c=null;if(!r.startsWith(`#`)){let r=p1(e,t,n);o.push(r),s=r}for(let r of i){if(r.depth!==a&&r.depth!==a+1)continue;let i={id:e({type:`text`,depth:r.depth,slug:r.slug,parentId:t,info:n,value:r.value}),title:r.value,type:`text`};r.depth===a?(i.children=[],s?(s.children||=[],s.children.push(i)):o.push(i),c=i):c&&c.children?.push(i)}return o}}));function m1(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}var fan=c((()=>{})),pan,man=c((()=>{x_(),pan=e=>{let t=new Set(e[`x-draft-examples`]??[]);if(e.requestBody){let n=b_(e.requestBody);Object.values(n.content??{}).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})})}return e.parameters&&e.parameters.forEach(e=>{let n=b_(e)??{};`content`in n&&n.content&&Object.values(n.content).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})}),`examples`in n&&n.examples&&Object.keys(n.examples??{}).forEach(e=>{t.add(e)})}),Array.from(t)}})),han,gan,_an,van,h1=c((()=>{TQ(),VQ(),han=Z.Object({name:Z.String({description:`The text that displays in the badge`,minLength:1}),position:Z.Optional(Z.Union([Z.Literal(`before`),Z.Literal(`after`)],{description:`The position of the badge in relation to the header`,default:`after`})),color:Z.Optional(Z.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`}),gan=IQ({name:Q({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:$(LQ([zQ(`before`),zQ(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:$(Q({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`}),_an=Z.Object({"x-badges":Z.Optional(Z.Array(han))}),van=IQ({"x-badges":$(PQ(gan,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`})})),g1,yan,_1,ban,v1=c((()=>{TQ(),VQ(),g1=Z.Object({lang:Z.Optional(Z.String()),label:Z.Optional(Z.String()),source:Z.String()}),yan=Z.Object({"x-codeSamples":Z.Optional(Z.Array(g1)),"x-code-samples":Z.Optional(Z.Array(g1)),"x-custom-examples":Z.Optional(Z.Array(g1))}),_1=IQ({lang:$(Q()),label:$(Q()),source:Q()},{typeName:`XCodeSample`,typeComment:`A single code sample for documentation or examples`}),ban=IQ({"x-codeSamples":$(PQ(_1)),"x-code-samples":$(PQ(_1)),"x-custom-examples":$(PQ(_1))},{typeName:`XCodeSamples`,typeComment:`Code samples attached to an operation`})})),xan,San,y1=c((()=>{TQ(),VQ(),xan=Z.Object({"x-scalar-selected-content-type":Z.Optional(Z.Record(Z.String(),Z.String()))}),San=IQ({"x-scalar-selected-content-type":$(FQ(Q(),Q(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`})})),Can,wan,Tan,b1=c((()=>{TQ(),VQ(),Can={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},wan=Z.Object({"x-scalar-stability":Z.Optional(Z.Union([Z.Literal(`deprecated`),Z.Literal(`experimental`),Z.Literal(`stable`)]))}),Tan=IQ({"x-scalar-stability":$(LQ([zQ(`deprecated`),zQ(`experimental`),zQ(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`})})),Ean=c((()=>{h1(),v1(),y1(),b1()})),x1,S1=c((()=>{x1=({tagsMap:e,name:t,documentId:n,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:`tag`,tag:{name:t},parentId:n}),parentId:n,entries:[],tag:{name:t}}),e.get(t))})),C1,w1,Dan,Oan=c((()=>{Ev(),m_(),fan(),x_(),man(),Ean(),S1(),C1=e=>e.deprecated||e[`x-scalar-stability`]===Can.Deprecated,w1=({ref:e,operation:t,method:n,path:r,generateId:i,parentId:a,parentTag:o})=>{let s=i({type:`operation`,operation:t,parentTag:o,method:n,path:r,parentId:a}),c=t.summary?.trim()?t.summary:r,l=C1(t),u=pan(t).map(e=>({type:`example`,id:i({type:`example`,parentId:s,name:e}),title:e,name:e}));return{id:s,title:c,path:r,method:n,ref:e,type:`operation`,isDeprecated:l,children:u.length?u:void 0}},Dan=({document:e,tagsMap:t,generateId:n,documentId:r})=>{let i=[];return Object.entries(e.paths??{}).forEach(([e,a])=>{p_(a??{}).filter(e=>Tv(e)).forEach(o=>{let s=a?.[o],c=b_(s);if(!c||c[`x-internal`]||c[`x-scalar-ignore`]||!Tv(o))return;let l=`#/paths/${m1(e)}/${o}`;c.tags?.length?c.tags.forEach(i=>{let{tag:a,id:s}=x1({tagsMap:t,name:i,documentId:r,generateId:n});t.get(i)?.entries.push(w1({ref:l,operation:c,method:o,path:e,parentTag:{tag:a,id:s},generateId:n,parentId:s}))}):i.push(w1({ref:l,operation:c,method:o,path:e,generateId:n,parentId:r}))})}),{untaggedOperations:i}}})),T1,kan,Aan=c((()=>{x_(),S1(),T1=({ref:e,name:t,generateId:n,parentTag:r,_schema:i,parentId:a})=>{let o=n({name:t,type:`model`,parentTag:r,parentId:a,schema:i}),s=b_(i);return{id:o,title:s&&`title`in s&&s.title||t,name:t,ref:e,type:`model`}},kan=({document:e,tagsMap:t,generateId:n,documentId:r})=>{let i=e.components?.schemas??{},a=[];for(let e in i){let o=b_(i[e]);if(o?.[`x-internal`]||o?.[`x-scalar-ignore`]||!Object.hasOwn(i,e))continue;let s=`#/components/schemas/${e}`;o?.[`x-tags`]?o[`x-tags`].forEach(i=>{let{tag:a,id:o}=x1({tagsMap:t,name:i,documentId:r,generateId:n});t.get(i)?.entries.push(T1({ref:s,name:e,generateId:n,parentTag:{tag:a,id:o},parentId:r}))}):a.push(T1({ref:s,name:e,generateId:n,_schema:b_(i[e]),parentId:r}))}return a}}));function jan(e,t,n){let r=new Map;t.forEach((e,t)=>r.set(e,t));let i=[],a=[];return e.forEach(e=>{let t=r.get(n(e));if(t===void 0){a.push(e);return}i[t]=e}),[...i.filter(e=>e!==void 0),...a]}var Man=c((()=>{})),Nan,Pan=c((()=>{Nan=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(`x-`))):{}})),E1,D1,Fan,Ian=c((()=>{Man(),Cq(),Pan(),S1(),E1=({tag:e,generateId:t,children:n,isGroup:r=!1,parentId:i})=>{let a=t({type:`tag`,tag:e,parentId:i,isGroup:r}),o=e[`x-displayName`]??e.name??`Untitled Tag`;return e[`x-scalar-order`]=n.map(e=>e.id),{id:a,title:o,name:e.name||o,description:e.description,children:n,isGroup:r,isWebhooks:!1,type:`tag`,xKeys:Nan(Sq(e))}},D1=({_keys:e,tagsMap:t,options:{tagsSorter:n,operationsSorter:r,generateId:i},documentId:a,sortOrder:o})=>{let s=e.flatMap(e=>{let{tag:n,entries:o}=x1({tagsMap:t,name:e,documentId:a,generateId:i});if(n[`x-internal`]||n[`x-scalar-ignore`])return[];let s=n[`x-scalar-order`];return s===void 0&&(r===`alpha`?o.sort((e,t)=>e.type===`operation`&&t.type===`operation`?e.title.localeCompare(t.title):0):r===`method`?o.sort((e,t)=>e.type===`operation`&&t.type===`operation`?e.method.localeCompare(t.method):0):typeof r==`function`&&o.sort((e,t)=>{if(!(e.type===`operation`||e.type===`webhook`)||!(t.type===`operation`||t.type===`webhook`))return 0;let n=e.type===`operation`?e.path:e.name,i=t.type===`operation`?t.path:t.name;return r({method:e.method,path:n,ref:e.ref,httpVerb:e.method},{method:t.method,path:i,ref:t.ref,httpVerb:t.method})})),E1({tag:n,generateId:i,children:s?jan(o,s,e=>e.id):o,parentId:a,isGroup:!1})});return o?jan(s,o,e=>e.id):(n===`alpha`?s.sort((e,n)=>{let r=x1({tagsMap:t,name:e.title,documentId:a,generateId:i}).tag[`x-displayName`]||e.title||`Untitled Tag`,o=x1({tagsMap:t,name:n.title,documentId:a,generateId:i}).tag[`x-displayName`]||n.title||`Untitled Tag`;return r.localeCompare(o)}):typeof n==`function`&&s.sort((e,r)=>n(x1({tagsMap:t,name:e.name,documentId:a,generateId:i}).tag,x1({tagsMap:t,name:r.name,documentId:a,generateId:i}).tag)),s)},Fan=({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:i,operationsSorter:a}})=>e[`x-tagGroups`]?e[`x-tagGroups`].flatMap(e=>{let o=D1({_keys:e.tags,tagsMap:t,options:{tagsSorter:i,operationsSorter:a,generateId:r},documentId:n,sortOrder:e[`x-scalar-order`]});return e[`x-scalar-order`]=o.map(e=>e.id),o.length?E1({tag:e,generateId:r,children:o,parentId:n,isGroup:!0}):[]}):D1({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:i,operationsSorter:a},documentId:n,sortOrder:e[`x-scalar-order`]})})),O1,Lan,Ran=c((()=>{Ev(),m_(),x_(),Oan(),S1(),O1=({ref:e,method:t,name:n,title:r,generateId:i,parentTag:a,webhook:o,isDeprecated:s,parentId:c})=>({id:i({type:`webhook`,name:n,method:t,webhook:o,parentTag:a,parentId:c}),title:r,name:n,ref:e,method:t,type:`webhook`,isDeprecated:s}),Lan=({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:i})=>{let a=[];return Object.entries(e.webhooks??{}).forEach(([e,o])=>{p_(o??{}).filter(e=>Tv(e)).forEach(s=>{let c=o?.[s],l=b_(c);if(!l||l[`x-internal`]||l[`x-scalar-ignore`])return;let u=`#/webhooks/${e}/${s}`;l.tags?.length?l.tags.forEach(r=>{let{tag:a,id:o}=x1({tagsMap:t,name:r,documentId:i,generateId:n});t.get(r)?.entries.push(O1({ref:u,method:s,name:e,title:l.summary??e,webhook:l,generateId:n,parentTag:{tag:a,id:o},parentId:o,isDeprecated:C1(l)}))}):a.push(O1({ref:u,method:s,name:e,title:l.summary??e,generateId:n,isDeprecated:C1(l),webhook:l,parentId:r}))})}),a}})),k1,zan=c((()=>{Cq(),d1(),dan(),Oan(),Aan(),Ian(),Ran(),k1=(e,t,n)=>{let{hideModels:r,tagsSorter:i,operationsSorter:a,generateId:o}=u1(e,n),s=o({type:`document`,info:t.info,name:e}),c=new Map(t.tags?.map(e=>[e.name??`Untitled Tag`,{id:o({type:`tag`,tag:e,parentId:s}),parentId:s,tag:e,entries:[]}])??[]),l=uan({generateId:o,parentId:s,info:t.info}),{untaggedOperations:u}=Dan({document:t,tagsMap:c,generateId:o,documentId:s}),d=o({type:`webhook`,name:``,parentId:s}),f=Lan({document:t,generateId:o,tagsMap:c,untaggedWebhooksParentId:d,documentId:s}),p=Fan({document:t,tagsMap:c,documentId:s,options:{tagsSorter:i,operationsSorter:a,generateId:o}});if(l.push(...p),l.push(...u),f.length&&l.push({type:`tag`,id:d,title:`Webhooks`,name:`Webhooks`,children:f,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){let e=kan({documentId:s,document:t,generateId:o,tagsMap:c});e.length&&l.push({type:`models`,id:o({type:`model`,parentId:s}),title:`Models`,name:`Models`,children:e})}let m=t[`x-scalar-order`];return m&&l.sort((e,t)=>{let n=m.indexOf(e.id),r=m.indexOf(t.id);return(n===-1?1/0:n)-(r===-1?1/0:r)}),t[`x-scalar-order`]=Sq(l.map(e=>e.id)),{id:s,type:`document`,title:t.info?.title?.trim()||`Untitled Document`,name:e,children:l,icon:t[`x-scalar-icon`]}}})),A1=c((()=>{Zin(),a1(),zan()})),j1,Ban=c((()=>{Xin(),a1(),j1=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!Jin(r.parent))return;let i=Yin({store:e,entry:r.parent});if(!i||!(`x-scalar-order`in i))return;let a=i[`x-scalar-order`],o=a?.indexOf(r.id);if(!Array.isArray(a)||typeof o!=`number`||o<0)return;if(`tag`in n){let i=r.id,s=t({type:`tag`,parentId:r.parent.id,tag:n.tag});if(a[o]=s,i!==s){let t=i1(`document`,r),a=(t?e.workspace.documents[t.name]:null)?.tags?.find(e=>e.name===n.tag.name),o=a?.[`x-scalar-order`];if(a&&Array.isArray(o)){let e=`${i}/`,t=`${s}/`;a[`x-scalar-order`]=o.map(n=>n.startsWith(e)?t+n.slice(e.length):n)}}return}let s=r.parent.type===`tag`&&`name`in i?{tag:i,id:r.parent.id}:void 0;a[o]=t({type:`operation`,path:n.path,method:n.method,operation:n.operation,parentId:r.parent.id,parentTag:s})})}})),Van,Han,Uan,Wan,Gan,Kan,qan,Jan=c((()=>{Ev(),t1(),Av(),x_(),Cq(),qin(),A1(),d1(),Ban(),Van=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!n){t.callback?.(!1);return}let{path:r,method:i,operation:a}=t,o=r.startsWith(`/`)?r:`/${r}`;n.paths||={},n.paths[o]||(n.paths[o]={}),e1(o),e1(i),n.paths[o][i]=a;let{servers:s}=a,c=Sq(s?.[0]);for(let e of s??[])n.servers?.some(t=>t.url===e.url)||(n.servers||=[],n.servers.push(Sq(e)));c&&(n[`x-scalar-selected-server`]=c.url);let l=a.parameters,u=r1(o,o,l??[],b_);return(l!==void 0||u.length>0)&&(a.parameters=u),t.callback?.(!0),o},Han=(e,t,{meta:n,payload:r})=>{if(!t||!e)return;let i=t[`x-scalar-navigation`]?.name;if(i===void 0)return;let a=b_(t.paths?.[n.path]?.[n.method]);if(!a){console.error(`Operation not found`,{meta:n,document:t});return}Object.assign(a,r),e.buildSidebar(i)},Uan=(e,t,{meta:n,payload:{method:r,path:i},blurTargetSelector:a,callback:o})=>{let s=n.method!==r,c=n.path!==i;if(!s&&!c){o(`no-change`,a);return}let l=s?r:n.method,u=c?i:n.path;if(e?.paths?.[u]?.[l]){o(`conflict`,a);return}let d=e?.[`x-scalar-navigation`];if(!d||!t){console.error(`Document or workspace not found`,{document:e});return}let f=b_(e.paths?.[n.path]?.[n.method]);if(!f){console.error(`Operation not found`,{meta:n,document:e});return}if(c){let e=kv(n.path,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),t=kv(u,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0);if(e.length>0||t.length>0){let e=f.parameters??[];f.parameters=r1(u,n.path,e,b_)}}let{generateId:p}=u1(d.name),m=o1(d).get(`${n.path}|${n.method}`);m&&j1({store:t,operation:f,generateId:p,method:l,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),e1(u),e1(n.path),e1(l),e.paths[u][l]=Sq(f);let h=e.paths[n.path];h&&Tv(n.method)&&(delete h[n.method],Object.keys(h).length===0&&delete e.paths[n.path]),t.history.clearOperationHistory(e[`x-scalar-navigation`]?.name??``,n.path,n.method),o(`success`,a)},Wan=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];r&&(e1(t.path),e1(t.method),delete r.paths?.[t.path]?.[t.method],Object.keys(r.paths?.[t.path]??{}).length===0&&delete r.paths?.[t.path])},Gan=(e,{meta:{path:t,method:n},documentName:r,exampleName:i})=>{let a=e?.workspace.documents[r];if(!a){console.error(`Document not found`,{documentName:r});return}let o=b_(a.paths?.[t]?.[n]);if(!o){console.error(`Operation not found`,{path:t,method:n});return}o[`x-draft-examples`]??=[];let s=new Set(o[`x-draft-examples`]);s.add(i),o[`x-draft-examples`]=Array.from(s)},Kan=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i})=>{let a=e?.workspace.documents[i];if(!a)return;let o=b_(a.paths?.[t]?.[n]);if(!o)return;let s=new Set(o[`x-draft-examples`]??[]);s.delete(r),o[`x-draft-examples`]!==void 0&&(o[`x-draft-examples`]=Array.from(s)),o.parameters?.forEach(e=>{let t=b_(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 c=b_(o.requestBody);c&&Object.values(c.content??{}).forEach(e=>{delete e.examples?.[r]})},qan=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i,payload:a})=>{let o=e?.workspace.documents[i];if(!o)return;let s=b_(o.paths?.[t]?.[n]);if(!s)return;let c=a.name.trim();if(!c||c===r)return;e1(c);let l=[];s.parameters?.forEach(e=>{let t=b_(e);`examples`in t&&t.examples&&l.push(t.examples),`content`in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&l.push(e.examples)})});let u=b_(s.requestBody);u&&(Object.values(u.content??{}).forEach(e=>{e.examples&&l.push(e.examples)}),u[`x-scalar-selected-content-type`]&&l.push(u[`x-scalar-selected-content-type`])),!(s[`x-draft-examples`]?.includes(c)||l.some(e=>Object.hasOwn(e,c)))&&(s[`x-draft-examples`]&&=s[`x-draft-examples`].map(e=>e===r?c:e),l.forEach(e=>{Object.hasOwn(e,r)&&(e[c]=Sq(e[r]),delete e[r])}))}})),Yan,Xan,Zan,Qan,$an=c((()=>{x_(),Cq(),Yan=(e,{meta:t,type:n,payload:r,originalParameter:i})=>{if(i){let e=i;e.name=r.name,e.examples||={},e.examples[t.exampleKey]||(e.examples[t.exampleKey]={});let n=b_(e.examples[t.exampleKey]);n.value=r.value,n[`x-disabled`]=r.isDisabled;return}let a=b_(e?.paths?.[t.path]?.[t.method]);if(!a){console.error(`Operation not found`,{meta:t,document:e});return}a.parameters||=[],a.parameters.push({name:r.name,in:n,required:n===`path`,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})},Xan=(e,{type:t,meta:n,payload:r,in:i})=>{if(!e)return;let a=b_(e.paths?.[n.path]?.[n.method]);if(!a)return;a[`x-scalar-disable-parameters`]||={};let o={global:{cookie:`global-cookies`},default:{header:`default-headers`}}[t]?.[i];o&&(a[`x-scalar-disable-parameters`][o]||(a[`x-scalar-disable-parameters`][o]={}),a[`x-scalar-disable-parameters`][o][n.exampleKey]={...a[`x-scalar-disable-parameters`][o][n.exampleKey]??{},[n.name]:r.isDisabled??!1})},Zan=(e,{meta:t,originalParameter:n})=>{let r=b_(e?.paths?.[t.path]?.[t.method]),i=r?.parameters?.findIndex(e=>b_(e)===n)??-1;if(r&&i>=0){r.parameters=Sq(r.parameters?.filter((e,t)=>t!==i),{depth:1});return}let a=b_(e?.paths?.[t.path]),o=a?.parameters?.findIndex(e=>b_(e)===n)??-1;a&&o>=0&&(a.parameters=Sq(a.parameters?.filter((e,t)=>t!==o),{depth:1}))},Qan=(e,{meta:t,type:n})=>{if(!e)return;let r=b_(e.paths?.[t.path]?.[t.method]);r&&(r.parameters=r.parameters?.filter(e=>b_(e).in!==n)??[])}})),eon,ton=c((()=>{Sin(),win(),Win(),Jan(),$an(),eon=({document:e,store:t})=>({createOperation:e=>Van(t,e),updateOperationMeta:n=>Han(t,e,n),updateOperationPathMethod:n=>Uan(e,t,n),deleteOperation:e=>Wan(t,e),createOperationDraftExample:e=>Gan(t,e),deleteOperationExample:e=>Kan(t,e),renameOperationExample:e=>qan(t,e),updateOperationExtension:t=>Cin(e,t),updateOperationExtraParameters:t=>Xan(e,t),upsertOperationParameter:t=>Yan(e,t),deleteOperationParameter:t=>Zan(e,t),deleteAllOperationParameters:t=>Qan(e,t),updateOperationRequestBodyContentType:t=>yin(e,t),updateOperationRequestBodyExample:t=>bin(e,t),updateOperationRequestBodyFormValue:t=>xin(e,t),addResponseToHistory:n=>Hin(t,e,n),reloadOperationHistory:n=>Uin(t,e,n)})})),M1,N1=c((()=>{TQ(),M1=(...e)=>Z.Composite(e)})),P1,F1=c((()=>{P1={document:{navigation:`x-scalar-navigation`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}}})),non,ron,ion=c((()=>{TQ(),VQ(),non=Z.Object({"x-scalar-icon":Z.Optional(Z.String())}),ron=IQ({"x-scalar-icon":$(Q())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`})})),aon,oon,son=c((()=>{TQ(),VQ(),aon=Z.Object({"x-scalar-is-dirty":Z.Optional(Z.Boolean())}),oon=IQ({"x-scalar-is-dirty":$(MQ({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`})})),con,lon,uon=c((()=>{TQ(),VQ(),con=Z.Object({"x-scalar-original-document-hash":Z.String()}),lon=IQ({"x-scalar-original-document-hash":Q({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`})})),don,fon,pon,mon,hon=c((()=>{TQ(),VQ(),don=Z.Object({namespace:Z.String(),slug:Z.String()}),fon=Z.Object({"x-scalar-registry-meta":Z.Optional(don)}),pon=IQ({namespace:Q({typeComment:`The namespace under which this registry meta is scoped.`}),slug:Q({typeComment:`A unique slug identifier for this registry meta within the namespace.`})},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}),mon=IQ({"x-scalar-registry-meta":$(pon)},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`})})),gon,_on,von=c((()=>{TQ(),VQ(),gon=Z.Object({"x-scalar-watch-mode":Z.Optional(Z.Boolean())}),_on=IQ({"x-scalar-watch-mode":$(MQ({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`})})),I1,L1,R1=c((()=>{TQ(),VQ(),I1=Z.Object({"x-post-response":Z.Optional(Z.String())}),L1=IQ({"x-post-response":$(Q({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`})})),z1,B1,V1=c((()=>{TQ(),VQ(),z1=Z.Object({"x-pre-request":Z.Optional(Z.String())}),B1=IQ({"x-pre-request":$(Q())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`})})),yon,bon,xon=c((()=>{TQ(),VQ(),yon=Z.Object({"x-scalar-active-environment":Z.Optional(Z.String())}),bon=IQ({"x-scalar-active-environment":$(Q({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`})})),H1,U1,W1=c((()=>{TQ(),VQ(),H1=Z.Object({"x-scalar-order":Z.Optional(Z.Array(Z.String()))}),U1=IQ({"x-scalar-order":$(PQ(Q()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`})})),G1,K1,q1=c((()=>{TQ(),VQ(),G1=Z.Object({"x-scalar-selected-server":Z.Optional(Z.String())}),K1=IQ({"x-scalar-selected-server":$(Q({typeComment:`The URL of the currently selected server`}))},{typeName:`XScalarSelectedServer`,typeComment:`The URL of the currently selected server`})})),Son,Con,won,Ton,Eon=c((()=>{TQ(),VQ(),N1(),W1(),Son=M1(Z.Object({name:Z.String(),tags:Z.Array(Z.String())}),H1),Con=RQ([IQ({name:Q({typeComment:`The group name.`}),tags:PQ(Q(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),U1],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),won=Z.Object({"x-tagGroups":Z.Optional(Z.Array(Son))}),Ton=IQ({"x-tagGroups":$(PQ(Con,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`})})),J1,Don,Y1,Oon,X1,Z1,kon,Q1,$1,Aon,e0,t0,n0,r0,jon,Mon,Non,i0,Pon,a0,o0,s0,c0,l0,Fon,Ion,Lon,Ron,u0,zon,d0=c((()=>{TQ(),J1={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`,TraversedSchemaObject:`TraversedSchemaObject`,TraversedWebhookObject:`TraversedWebhookObject`,TraversedTagObject:`TraversedTagObject`,TraversedEntryObject:`TraversedEntryObject`,TraversedDocumentObject:`TraversedDocumentObject`},Don=Z.Ref(J1.ComponentsObject),Y1=Z.Ref(J1.SecurityRequirementObject),Oon=Z.Ref(J1.TagObject),X1=Z.Ref(J1.CallbackObject),Z1=Z.Ref(J1.PathItemObject),kon=Z.Ref(J1.PathsObject),Q1=Z.Ref(J1.OperationObject),$1=Z.Ref(J1.SchemaObject),Aon=Z.Ref(J1.EncodingObject),e0=Z.Ref(J1.HeaderObject),t0=Z.Ref(J1.MediaTypeObject),n0=Z.Ref(J1.ServerObject),r0=Z.Ref(J1.ExternalDocumentationObject),jon=Z.Ref(J1.InfoObject),Mon=Z.Ref(J1.ContactObject),Non=Z.Ref(J1.LicenseObject),i0=Z.Ref(J1.ResponseObject),Pon=Z.Ref(J1.ResponsesObject),a0=Z.Ref(J1.ParameterObject),o0=Z.Ref(J1.ExampleObject),s0=Z.Ref(J1.RequestBodyObject),c0=Z.Ref(J1.SecuritySchemeObject),l0=Z.Ref(J1.LinkObject),Fon=Z.Ref(J1.XMLObject),Ion=Z.Ref(J1.DiscriminatorObject),Lon=Z.Ref(J1.OAuthFlowsObject),Ron=Z.Ref(J1.ServerVariableObject),u0=Z.Ref(J1.TraversedEntryObject),zon=Z.Ref(J1.TraversedDocumentObject)})),f0,p0,m0,Bon,h0,g0,_0,v0,Von,Hon,Uon=c((()=>{wv(),TQ(),N1(),d0(),f0=Z.Object({id:Z.String(),title:Z.String()}),p0=M1(f0,Z.Object({type:Z.Literal(`document`),name:Z.String(),children:Z.Optional(Z.Array(u0)),icon:Z.Optional(Z.String())})),m0=M1(f0,Z.Object({type:Z.Literal(`text`),children:Z.Optional(Z.Array(u0))})),Bon=M1(f0,Z.Object({type:Z.Literal(`example`),name:Z.String()})),h0=M1(f0,Z.Object({type:Z.Literal(`operation`),ref:Z.String(),method:Z.Union(Cv.map(e=>Z.Literal(e))),path:Z.String(),isDeprecated:Z.Optional(Z.Boolean()),children:Z.Optional(Z.Array(u0))})),g0=M1(f0,Z.Object({type:Z.Literal(`model`),ref:Z.String(),name:Z.String()})),_0=M1(f0,Z.Object({type:Z.Literal(`webhook`),ref:Z.String(),method:Z.Union(Cv.map(e=>Z.Literal(e))),name:Z.String(),isDeprecated:Z.Optional(Z.Boolean())})),v0=M1(f0,Z.Object({type:Z.Literal(`tag`),name:Z.String(),description:Z.Optional(Z.String()),children:Z.Optional(Z.Array(u0)),isGroup:Z.Boolean(),isWebhooks:Z.Optional(Z.Boolean()),xKeys:Z.Optional(Z.Record(Z.String(),Z.Unknown()))})),Von=M1(f0,Z.Object({type:Z.Literal(`models`),name:Z.String(),children:Z.Optional(Z.Array(u0))})),Hon=Z.Union([m0,h0,g0,v0,_0,Bon,p0,Von])})),Won,y0,b0,x0=c((()=>{TQ(),N1(),Won=Z.Object({$status:Z.Optional(Z.Union([Z.Literal(`loading`),Z.Literal(`error`)])),$global:Z.Optional(Z.Boolean())}),y0=M1(Z.Object({$ref:Z.String(),summary:Z.Optional(Z.String()),description:Z.Optional(Z.String())}),Won),b0=e=>M1(y0,Z.Object({"$ref-value":e}))})),Gon,Kon=c((()=>{TQ(),d0(),x0(),Gon=Z.Record(Z.String(),Z.Union([Z1,b0(Z1)]))})),S0,qon,Jon=c((()=>{TQ(),d0(),x0(),S0=Z.Record(Z.String(),Z.Union([c0,b0(c0)])),qon=Z.Object({schemas:Z.Optional(Z.Record(Z.String(),Z.Union([$1,b0($1)]))),responses:Z.Optional(Z.Record(Z.String(),Z.Union([i0,b0(i0)]))),parameters:Z.Optional(Z.Record(Z.String(),Z.Union([a0,b0(a0)]))),examples:Z.Optional(Z.Record(Z.String(),Z.Union([o0,b0(o0)]))),requestBodies:Z.Optional(Z.Record(Z.String(),Z.Union([s0,b0(s0)]))),headers:Z.Optional(Z.Record(Z.String(),Z.Union([e0,b0(e0)]))),securitySchemes:Z.Optional(S0),links:Z.Optional(Z.Record(Z.String(),Z.Union([l0,b0(l0)]))),callbacks:Z.Optional(Z.Record(Z.String(),Z.Union([X1,b0(X1)]))),pathItems:Z.Optional(Z.Record(Z.String(),Z1))})})),Yon,Xon=c((()=>{TQ(),Yon=Z.Object({name:Z.Optional(Z.String()),url:Z.Optional(Z.String()),email:Z.Optional(Z.String())})})),Zon,Qon=c((()=>{TQ(),Zon=Z.Object({propertyName:Z.String(),mapping:Z.Optional(Z.Record(Z.String(),Z.String()))})})),$on,esn=c((()=>{TQ(),d0(),x0(),$on=Z.Object({contentType:Z.Optional(Z.String()),headers:Z.Optional(Z.Record(Z.String(),Z.Union([e0,b0(e0)])))})})),tsn,nsn,rsn=c((()=>{TQ(),VQ(),tsn=Z.Object({"x-disabled":Z.Optional(Z.Boolean())}),nsn=IQ({"x-disabled":$(MQ())},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`})})),isn,asn=c((()=>{TQ(),N1(),rsn(),isn=M1(Z.Object({summary:Z.Optional(Z.String()),description:Z.Optional(Z.String()),value:Z.Optional(Z.Any()),externalValue:Z.Optional(Z.String())}),tsn)})),osn,ssn=c((()=>{TQ(),osn=Z.Object({url:Z.String(),description:Z.Optional(Z.String())})})),C0,csn,lsn,usn=c((()=>{TQ(),N1(),d0(),x0(),C0=Z.Object({description:Z.Optional(Z.String()),required:Z.Optional(Z.Boolean()),deprecated:Z.Optional(Z.Boolean())}),csn=M1(C0,Z.Object({style:Z.Optional(Z.String()),explode:Z.Optional(Z.Boolean()),schema:Z.Optional(Z.Union([$1,b0($1)])),example:Z.Optional(Z.Any()),examples:Z.Optional(Z.Record(Z.String(),Z.Union([o0,b0(o0)])))})),lsn=Z.Union([csn,M1(C0,Z.Object({content:Z.Optional(Z.Record(Z.String(),t0))}))])})),dsn,fsn,psn,msn,hsn=c((()=>{TQ(),VQ(),dsn=Z.Object({lang:Z.String(),source:Z.Optional(Z.String()),description:Z.Optional(Z.String())}),fsn=Z.Object({"x-scalar-sdk-installation":Z.Optional(Z.Array(dsn))}),psn=IQ({lang:Q(),source:$(Q()),description:$(Q())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),msn=IQ({"x-scalar-sdk-installation":$(PQ(psn,{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`})})),gsn,_sn=c((()=>{TQ(),N1(),hsn(),d0(),gsn=M1(Z.Object({title:Z.String(),version:Z.String(),summary:Z.Optional(Z.String()),description:Z.Optional(Z.String()),termsOfService:Z.Optional(Z.String()),contact:Z.Optional(Mon),license:Z.Optional(Non)}),fsn)})),vsn,ysn=c((()=>{TQ(),vsn=Z.Object({name:Z.Optional(Z.String()),identifier:Z.Optional(Z.String()),url:Z.Optional(Z.String())})})),bsn,xsn=c((()=>{TQ(),d0(),bsn=Z.Object({operationRef:Z.Optional(Z.String()),operationId:Z.Optional(Z.String()),parameters:Z.Optional(Z.Record(Z.String(),Z.Any())),requestBody:Z.Optional(Z.Any()),description:Z.Optional(Z.String()),server:Z.Optional(n0)})})),Ssn,Csn=c((()=>{TQ(),d0(),x0(),Ssn=Z.Object({schema:Z.Optional(Z.Union([$1,b0($1)])),example:Z.Optional(Z.Any()),examples:Z.Optional(Z.Record(Z.String(),Z.Union([o0,b0(o0)]))),encoding:Z.Optional(Z.Record(Z.String(),Aon))})})),w0,T0,E0=c((()=>{TQ(),VQ(),w0=Z.Object({"x-scalar-credentials-location":Z.Optional(Z.Union([Z.Literal(`header`),Z.Literal(`body`)]))}),T0=IQ({"x-scalar-credentials-location":$(LQ([zQ(`header`),zQ(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`})})),wsn,Tsn,Esn=c((()=>{TQ(),VQ(),wsn=Z.Object({"x-scalar-security-body":Z.Optional(Z.Record(Z.String(),Z.String()))}),Tsn=IQ({"x-scalar-security-body":$(FQ(Q(),Q()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`})})),Dsn,Osn,ksn=c((()=>{TQ(),VQ(),Dsn=Z.Object({"x-scalar-security-query":Z.Optional(Z.Record(Z.String(),Z.String()))}),Osn=IQ({"x-scalar-security-query":$(FQ(Q(),Q()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`})})),D0,Asn,jsn,Msn,Nsn,Psn,O0,k0,Fsn,A0,j0=c((()=>{TQ(),VQ(),D0=Z.Object({"x-scalar-secret-token":Z.String()}),IQ({"x-scalar-secret-token":Q()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`}),Asn=Z.Object({"x-scalar-secret-refresh-token":Z.Optional(Z.String())}),IQ({"x-scalar-secret-refresh-token":$(Q())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`}),jsn=Z.Object({"x-scalar-secret-auth-url":Z.Optional(Z.String())}),Msn=IQ({"x-scalar-secret-auth-url":$(Q())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),Nsn=Z.Object({"x-scalar-secret-token-url":Z.Optional(Z.String())}),Psn=IQ({"x-scalar-secret-token-url":$(Q())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),O0=Z.Object({"x-scalar-secret-username":Z.String(),"x-scalar-secret-password":Z.String()}),IQ({"x-scalar-secret-username":Q(),"x-scalar-secret-password":Q()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`}),k0=Z.Object({"x-scalar-secret-client-secret":Z.String()}),IQ({"x-scalar-secret-client-secret":Q()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`}),Fsn=Z.Object({"x-scalar-secret-client-id":Z.String()}),IQ({"x-scalar-secret-client-id":Q()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`}),A0=Z.Object({"x-scalar-secret-redirect-uri":Z.String()}),IQ({"x-scalar-secret-redirect-uri":Q()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`})})),Isn,Lsn,Rsn=c((()=>{TQ(),VQ(),Isn=Z.Object({"x-tokenName":Z.Optional(Z.String())}),Lsn=IQ({"x-tokenName":$(Q())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`})})),zsn,Bsn,Vsn=c((()=>{TQ(),VQ(),zsn=Z.Object({"x-usePkce":Z.Union([Z.Literal(`SHA-256`),Z.Literal(`plain`),Z.Literal(`no`)],{default:`no`})}),Bsn=IQ({"x-usePkce":LQ([zQ(`SHA-256`),zQ(`plain`),zQ(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`})})),M0,N0,P0,F0,I0,Hsn=c((()=>{TQ(),N1(),E0(),Esn(),ksn(),j0(),Rsn(),Vsn(),M0=M1(Z.Object({refreshUrl:Z.String(),scopes:Z.Record(Z.String(),Z.String())}),Dsn,wsn,Isn,jsn,Nsn),N0=M1(M0,Z.Object({authorizationUrl:Z.String()})),P0=M1(M0,Z.Object({tokenUrl:Z.String()}),w0),F0=M1(M0,Z.Object({tokenUrl:Z.String()}),w0),I0=M1(M0,Z.Object({authorizationUrl:Z.String(),tokenUrl:Z.String()}),zsn,w0)})),Usn,Wsn=c((()=>{TQ(),Hsn(),Usn=Z.Object({implicit:Z.Optional(N0),password:Z.Optional(P0),clientCredentials:Z.Optional(F0),authorizationCode:Z.Optional(I0)})})),L0,R0,z0=c((()=>{TQ(),VQ(),L0=Z.Object({"x-internal":Z.Optional(Z.Boolean())}),R0=IQ({"x-internal":$(MQ({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`})})),B0,V0,H0=c((()=>{TQ(),VQ(),B0=Z.Object({"x-scalar-ignore":Z.Optional(Z.Boolean())}),V0=IQ({"x-scalar-ignore":$(MQ())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`})})),Gsn,Ksn,qsn=c((()=>{TQ(),VQ(),Gsn=Z.Object({"x-draft-examples":Z.Optional(Z.Array(Z.String()))}),Ksn=IQ({"x-draft-examples":$(PQ(Q()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`})})),Jsn,U0,Ysn,Xsn,W0,Zsn,Qsn,$sn=c((()=>{TQ(),VQ(),Jsn=Z.Record(Z.String(),Z.Boolean()),U0=Z.Record(Z.String(),Jsn),Ysn=Z.Object({"x-scalar-disable-parameters":Z.Optional(Z.Object({"global-cookies":Z.Optional(U0),"global-headers":Z.Optional(U0),"default-headers":Z.Optional(U0)}))}),Xsn=FQ(Q(),MQ()),W0=FQ(Q(),Xsn),Zsn=IQ({"global-cookies":$(W0),"global-headers":$(W0),"default-headers":$(W0)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}),Qsn=IQ({"x-scalar-disable-parameters":$(Zsn)},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`})})),ecn,tcn=c((()=>{TQ(),N1(),z0(),H0(),R1(),V1(),h1(),v1(),qsn(),$sn(),b1(),q1(),d0(),x0(),ecn=M1(Z.Object({tags:Z.Optional(Z.Array(Z.String())),summary:Z.Optional(Z.String()),description:Z.Optional(Z.String()),externalDocs:Z.Optional(r0),operationId:Z.Optional(Z.String()),parameters:Z.Optional(Z.Array(Z.Union([a0,b0(a0)]))),requestBody:Z.Optional(Z.Union([s0,b0(s0)])),responses:Z.Optional(Pon),deprecated:Z.Optional(Z.Boolean()),security:Z.Optional(Z.Array(Y1)),servers:Z.Optional(Z.Array(n0)),callbacks:Z.Optional(Z.Record(Z.String(),Z.Union([X1,b0(X1)])))}),_an,L0,B0,yan,wan,Ysn,I1,z1,Gsn,G1)})),ncn,G0,rcn=c((()=>{TQ(),VQ(),ncn=Z.Object({"x-global":Z.Optional(Z.Boolean())}),G0=IQ({"x-global":$(MQ())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`})})),K0,icn,acn,ocn,scn=c((()=>{TQ(),N1(),z0(),H0(),rcn(),d0(),x0(),K0=M1(Z.Object({name:Z.String(),in:Z.Union([Z.Literal(`query`),Z.Literal(`header`),Z.Literal(`path`),Z.Literal(`cookie`)]),description:Z.Optional(Z.String()),required:Z.Optional(Z.Boolean()),deprecated:Z.Optional(Z.Boolean()),allowEmptyValue:Z.Optional(Z.Boolean()),allowReserved:Z.Optional(Z.Boolean())}),ncn,L0,B0),icn=M1(K0,Z.Object({style:Z.Optional(Z.String()),explode:Z.Optional(Z.Boolean()),schema:Z.Optional(Z.Union([$1,b0($1)])),example:Z.Optional(Z.Any()),examples:Z.Optional(Z.Record(Z.String(),Z.Union([o0,b0(o0)])))})),acn=M1(K0,Z.Object({content:Z.Optional(Z.Record(Z.String(),t0))})),ocn=Z.Union([icn,acn])})),ccn,lcn=c((()=>{TQ(),d0(),x0(),ccn=Z.Object({$ref:Z.Optional(Z.String()),summary:Z.Optional(Z.String()),description:Z.Optional(Z.String()),get:Z.Optional(Z.Union([Q1,b0(Q1)])),put:Z.Optional(Z.Union([Q1,b0(Q1)])),post:Z.Optional(Z.Union([Q1,b0(Q1)])),delete:Z.Optional(Z.Union([Q1,b0(Q1)])),patch:Z.Optional(Z.Union([Q1,b0(Q1)])),connect:Z.Optional(Z.Union([Q1,b0(Q1)])),options:Z.Optional(Z.Union([Q1,b0(Q1)])),head:Z.Optional(Z.Union([Q1,b0(Q1)])),trace:Z.Optional(Z.Union([Q1,b0(Q1)])),servers:Z.Optional(Z.Array(n0)),parameters:Z.Optional(Z.Array(Z.Union([a0,b0(a0)])))})})),ucn,dcn=c((()=>{TQ(),d0(),ucn=Z.Record(Z.String(),Z1)})),fcn,pcn=c((()=>{TQ(),N1(),y1(),d0(),fcn=M1(Z.Object({description:Z.Optional(Z.String()),content:Z.Record(Z.String(),t0),required:Z.Optional(Z.Boolean())}),xan)})),mcn,hcn=c((()=>{TQ(),d0(),x0(),mcn=Z.Object({description:Z.String(),headers:Z.Optional(Z.Record(Z.String(),Z.Union([e0,b0(e0)]))),content:Z.Optional(Z.Record(Z.String(),t0)),links:Z.Optional(Z.Record(Z.String(),Z.Union([l0,b0(l0)])))})})),gcn,_cn=c((()=>{TQ(),d0(),x0(),gcn=Z.Record(Z.String(),Z.Union([i0,b0(i0)]))})),vcn,ycn,bcn=c((()=>{TQ(),VQ(),vcn=Z.Object({"x-tags":Z.Optional(Z.Array(Z.String()))}),ycn=IQ({"x-tags":$(PQ(Q()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`})})),xcn,Scn,Ccn=c((()=>{TQ(),VQ(),xcn=Z.Object({"x-additionalPropertiesName":Z.Optional(Z.String())}),Scn=IQ({"x-additionalPropertiesName":$(Q())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`})})),wcn,q0,Tcn,Ecn=c((()=>{TQ(),VQ(),wcn=Z.Object({"x-enumDescriptions":Z.Optional(Z.Union([Z.Record(Z.String(),Z.String()),Z.Array(Z.String())])),"x-enum-descriptions":Z.Optional(Z.Union([Z.Record(Z.String(),Z.String()),Z.Array(Z.String())]))}),q0=LQ([FQ(Q(),Q()),PQ(Q())]),Tcn=IQ({"x-enumDescriptions":$(q0),"x-enum-descriptions":$(q0)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`})})),Dcn,Ocn,kcn=c((()=>{TQ(),VQ(),Dcn=Z.Object({"x-enum-varnames":Z.Optional(Z.Array(Z.String())),"x-enumNames":Z.Optional(Z.Array(Z.String()))}),Ocn=IQ({"x-enum-varnames":$(PQ(Q())),"x-enumNames":$(PQ(Q()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`})})),Acn,jcn,Mcn=c((()=>{TQ(),VQ(),Acn=Z.Object({"x-examples":Z.Optional(Z.Record(Z.String(),Z.Unknown()))}),jcn=IQ({"x-examples":$(FQ(Q(),NQ()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`})})),Ncn,Pcn,Fcn=c((()=>{TQ(),VQ(),Ncn=Z.Object({"x-variable":Z.Optional(Z.String())}),Pcn=IQ({"x-variable":$(Q())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`})})),J0,Icn,Y0,X0,Lcn,Rcn,zcn,Bcn,Vcn,Hcn=c((()=>{TQ(),N1(),z0(),H0(),bcn(),Ccn(),Ecn(),kcn(),Mcn(),Fcn(),d0(),x0(),J0=Z.Union([$1,M1(y0,Z.Object({"$ref-value":Z.Unknown()}))]),Icn=Z.Object({type:Z.Union([Z.Literal(`null`),Z.Literal(`boolean`),Z.Array(Z.Union([Z.Literal(`null`),Z.Literal(`boolean`),Z.Literal(`string`),Z.Literal(`number`),Z.Literal(`integer`),Z.Literal(`object`),Z.Literal(`array`)]))])}),Y0=M1(B0,L0,Ncn,Acn,wcn,Dcn,xcn,vcn),X0=Z.Object({name:Z.Optional(Z.String()),title:Z.Optional(Z.String()),description:Z.Optional(Z.String()),default:Z.Optional(Z.Unknown()),enum:Z.Optional(Z.Array(Z.Unknown())),const:Z.Optional(Z.Unknown()),contentMediaType:Z.Optional(Z.String()),contentEncoding:Z.Optional(Z.String()),contentSchema:Z.Optional(J0),deprecated:Z.Optional(Z.Boolean()),discriminator:Z.Optional(Ion),readOnly:Z.Optional(Z.Boolean()),writeOnly:Z.Optional(Z.Boolean()),xml:Z.Optional(Fon),externalDocs:Z.Optional(r0),example:Z.Optional(Z.Unknown()),examples:Z.Optional(Z.Array(Z.Unknown())),allOf:Z.Optional(Z.Array(J0)),oneOf:Z.Optional(Z.Array(J0)),anyOf:Z.Optional(Z.Array(J0)),not:Z.Optional(J0)}),Lcn=Z.Object({type:Z.Union([Z.Literal(`number`),Z.Literal(`integer`)]),format:Z.Optional(Z.String()),multipleOf:Z.Optional(Z.Number()),maximum:Z.Optional(Z.Number()),exclusiveMaximum:Z.Optional(Z.Number({minimum:0})),minimum:Z.Optional(Z.Number()),exclusiveMinimum:Z.Optional(Z.Number({minimum:0}))}),Rcn=Z.Object({type:Z.Literal(`string`),format:Z.Optional(Z.String()),maxLength:Z.Optional(Z.Integer({minimum:0})),minLength:Z.Optional(Z.Integer({minimum:0})),pattern:Z.Optional(Z.String())}),zcn=Z.Object({type:Z.Literal(`array`),maxItems:Z.Optional(Z.Integer({minimum:0})),minItems:Z.Optional(Z.Integer({minimum:0})),uniqueItems:Z.Optional(Z.Boolean()),items:Z.Optional(J0),prefixItems:Z.Optional(Z.Array(J0))}),Bcn=Z.Object({type:Z.Literal(`object`),maxProperties:Z.Optional(Z.Integer({minimum:0})),minProperties:Z.Optional(Z.Integer({minimum:0})),required:Z.Optional(Z.Array(Z.String())),properties:Z.Optional(Z.Record(Z.String(),J0)),additionalProperties:Z.Optional(Z.Union([Z.Boolean(),J0])),patternProperties:Z.Optional(Z.Record(Z.String(),J0)),propertyNames:Z.Optional(J0)}),Vcn=Z.Union([M1(Z.Object({__scalar_:Z.String()}),X0,Y0),M1(Icn,X0,Y0),M1(Lcn,X0,Y0),M1(Rcn,X0,Y0),M1(Bcn,X0,Y0),M1(zcn,X0,Y0)])})),Ucn,Wcn=c((()=>{TQ(),Ucn=Z.Partial(Z.Record(Z.String(),Z.Array(Z.String())))})),Gcn,Kcn,qcn=c((()=>{TQ(),VQ(),Gcn=Z.Object({"x-default-scopes":Z.Optional(Z.Array(Z.String()))}),Kcn=IQ({"x-default-scopes":$(PQ(Q()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`})})),Z0,Jcn,Ycn,Xcn,Zcn,Qcn,$cn=c((()=>{TQ(),N1(),qcn(),d0(),Z0=Z.Object({description:Z.Optional(Z.String())}),Jcn=M1(Z0,Z.Object({type:Z.Literal(`apiKey`),name:Z.String(),in:Z.Union([Z.Literal(`query`),Z.Literal(`header`),Z.Literal(`cookie`)])})),Ycn=M1(Z0,Z.Object({type:Z.Literal(`http`),scheme:Z.Union([Z.Literal(`basic`),Z.Literal(`bearer`)]),bearerFormat:Z.Optional(Z.String())})),Xcn=M1(Z0,Z.Object({type:Z.Literal(`oauth2`),flows:Lon}),Gcn),Zcn=M1(Z0,Z.Object({type:Z.Literal(`openIdConnect`),openIdConnectUrl:Z.String()})),Qcn=Z.Union([Jcn,Ycn,Xcn,Zcn])})),eln,tln=c((()=>{TQ(),d0(),eln=Z.Object({url:Z.String(),description:Z.Optional(Z.String()),variables:Z.Optional(Z.Record(Z.String(),Ron))})})),nln,rln=c((()=>{TQ(),nln=Z.Object({enum:Z.Optional(Z.Array(Z.String())),default:Z.Optional(Z.String()),description:Z.Optional(Z.String())})})),iln,aln,oln=c((()=>{TQ(),VQ(),iln=Z.Object({"x-displayName":Z.Optional(Z.String())}),aln=IQ({"x-displayName":$(Q())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`})})),sln,cln=c((()=>{TQ(),N1(),z0(),H0(),W1(),oln(),d0(),sln=M1(Z.Object({name:Z.String(),description:Z.Optional(Z.String()),externalDocs:Z.Optional(r0)}),iln,L0,B0,H1)})),lln,uln=c((()=>{TQ(),lln=Z.Object({name:Z.Optional(Z.String()),namespace:Z.Optional(Z.String()),prefix:Z.Optional(Z.String()),attribute:Z.Optional(Z.Boolean()),wrapped:Z.Optional(Z.Boolean())})})),dln,fln,Q0,$0,pln,mln,e2,hln,t2=c((()=>{TQ(),N1(),F1(),W$(),ion(),son(),uon(),hon(),von(),R1(),V1(),xon(),UQ(),W1(),q1(),Eon(),Uon(),Kon(),Jon(),Xon(),Qon(),esn(),asn(),ssn(),usn(),_sn(),ysn(),xsn(),Csn(),Wsn(),tcn(),scn(),lcn(),dcn(),d0(),pcn(),hcn(),_cn(),Hcn(),Wcn(),$cn(),tln(),rln(),cln(),uln(),dln=M1(Z.Partial(Z.Object({"x-original-oas-version":Z.String(),"x-scalar-original-source-url":Z.String(),[P1.document.navigation]:zon})),won,uin,G1,non,H1,f7t,con,aon,yon,gon,fon,z1,I1),fln=M1(Z.Object({openapi:Z.String(),info:jon,jsonSchemaDialect:Z.Optional(Z.String()),servers:Z.Optional(Z.Array(n0)),paths:Z.Optional(kon),webhooks:Z.Optional(Z.Record(Z.String(),Z1)),components:Z.Optional(Don),security:Z.Optional(Z.Array(Y1)),tags:Z.Optional(Z.Array(Oon)),externalDocs:Z.Optional(r0)}),dln),Q0=Z.Module({[J1.ComponentsObject]:qon,[J1.SecurityRequirementObject]:Ucn,[J1.TagObject]:sln,[J1.CallbackObject]:Gon,[J1.PathItemObject]:ccn,[J1.PathsObject]:ucn,[J1.OperationObject]:ecn,[J1.SchemaObject]:Vcn,[J1.EncodingObject]:$on,[J1.MediaTypeObject]:Ssn,[J1.HeaderObject]:lsn,[J1.ServerObject]:eln,[J1.ExternalDocumentationObject]:osn,[J1.InfoObject]:gsn,[J1.ContactObject]:Yon,[J1.LicenseObject]:vsn,[J1.ResponseObject]:mcn,[J1.ResponsesObject]:gcn,[J1.ParameterObject]:ocn,[J1.ExampleObject]:isn,[J1.RequestBodyObject]:fcn,[J1.SecuritySchemes]:S0,[J1.SecuritySchemeObject]:Qcn,[J1.LinkObject]:bsn,[J1.XMLObject]:lln,[J1.DiscriminatorObject]:Zon,[J1.OAuthFlowsObject]:Usn,[J1.ServerVariableObject]:nln,OpenApiDocument:fln,[J1.TraversedDescriptionObject]:m0,[J1.TraversedOperationObject]:h0,[J1.TraversedSchemaObject]:g0,[J1.TraversedWebhookObject]:_0,[J1.TraversedTagObject]:v0,[J1.TraversedEntryObject]:Hon,[J1.TraversedDocumentObject]:p0}),$0=Q0.Import(`OpenApiDocument`),Q0.Import(`ComponentsObject`),pln=Q0.Import(`SecurityRequirementObject`),Q0.Import(`TagObject`),Q0.Import(`CallbackObject`),Q0.Import(`PathItemObject`),Q0.Import(`PathsObject`),Q0.Import(`OperationObject`),mln=Q0.Import(`SchemaObject`),Q0.Import(`EncodingObject`),Q0.Import(`MediaTypeObject`),Q0.Import(`HeaderObject`),e2=Q0.Import(`ServerObject`),Q0.Import(`ExternalDocumentationObject`),Q0.Import(`InfoObject`),Q0.Import(`ContactObject`),Q0.Import(`LicenseObject`),Q0.Import(`ResponseObject`),Q0.Import(`ResponsesObject`),Q0.Import(`ParameterObject`),Q0.Import(`ExampleObject`),Q0.Import(`RequestBodyObject`),Q0.Import(`SecuritySchemes`),hln=Q0.Import(`SecuritySchemeObject`),Q0.Import(`LinkObject`),Q0.Import(`XMLObject`),Q0.Import(`DiscriminatorObject`),Q0.Import(`OAuthFlowsObject`),Q0.Import(`ServerVariableObject`),Q0.Import(`TraversedDescriptionObject`),Q0.Import(`TraversedEntryObject`),Q0.Import(`TraversedTagObject`),Q0.Import(`TraversedOperationObject`),Q0.Import(`TraversedSchemaObject`),Q0.Import(`TraversedWebhookObject`)})),n2,gln,_ln,r2,vln,yln,bln,xln,Sln,Cln,wln,Tln=c((()=>{Av(),x_(),Cq(),B$(),t2(),n2=(e,t)=>e?t.type===`document`?e:b_(e.paths?.[t.path]?.[t.method])??null:null,gln=(e,{meta:t})=>{let n=n2(e,t);if(!n){console.error(`Target not found`,t);return}return n.servers=[],n.servers},_ln=(e,{url:t,select:n,meta:r})=>{let i=n2(e,r);if(!i){console.error(`Target not found`,r);return}let a=z$(e2,{url:t});return i.servers||=[],i.servers.push(a),n&&(i[`x-scalar-selected-server`]=a.url),a},r2=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},vln=(e,t,n)=>{let r=kv(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),i=kv(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=r2(t,r),o=r2(e,i),s=new Set,c={};for(let e of i){if(n[e]){c[e]=n[e],s.add(e);continue}let t=o[e],i=r.find(e=>a[e]===t&&!s.has(e));if(i&&n[i]){c[e]=n[i],s.add(i);continue}c[e]={default:``}}return c},yln=(e,{index:t,server:n,meta:r})=>{let i=n2(e,r);if(!i)return;let a=Sq(i.servers?.[t],{depth:1});if(!a){console.error(`Server not found at index:`,t);return}let o=a.url,s=z$(e2,{...a,...n});if(o&&o!==s.url){let e=s.variables??{};s.variables=vln(s.url,o,e),i[`x-scalar-selected-server`]===o&&(i[`x-scalar-selected-server`]=s.url)}return i.servers?i.servers[t]=s:i.servers=[s],s},bln=(e,{index:t,meta:n})=>{let r=n2(e,n);if(!r?.servers)return;let i=r.servers[t]?.url;r.servers.splice(t,1),r[`x-scalar-selected-server`]===i&&(r[`x-scalar-selected-server`]=r.servers[0]?.url??void 0)},xln=(e,{meta:t})=>{let n=n2(e,t);n&&(n.servers=void 0,n[`x-scalar-selected-server`]=void 0)},Sln=(e,{index:t,key:n,value:r,meta:i})=>{let a=n2(e,i)?.servers?.[t]?.variables?.[n];if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},Cln=(e,{url:t,meta:n})=>{let r=n2(e,n);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`])},wln=({document:e})=>({initializeServers:t=>gln(e,t),addServer:t=>_ln(e,t),updateServer:t=>yln(e,t),deleteServer:t=>bln(e,t),clearServers:t=>xln(e,t),updateServerVariables:t=>Sln(e,t),updateSelectedServer:t=>Cln(e,t)})})),Eln,i2,a2,o2,Dln,Oln,kln,Aln,jln,Mln,Nln,Pln,Fln,Iln=c((()=>{Cq(),Eln=1,i2=e=>e!==null&&e[`x-scalar-tabs`]!==void 0,a2=e=>Sq(e[`x-scalar-tabs`],{depth:Eln}),o2=e=>e[`x-scalar-active-tab`]??0,Dln=(e,t)=>{e&&(t[`x-scalar-tabs`]&&(e[`x-scalar-tabs`]=t[`x-scalar-tabs`]),t[`x-scalar-active-tab`]!==void 0&&(e[`x-scalar-active-tab`]=t[`x-scalar-active-tab`]))},Oln=(e,t)=>{if(!i2(e))return!1;let n=a2(e),r=n[o2(e)];if(!r)return!1;let i=[...n,{...r}];return e[`x-scalar-tabs`]=i,e[`x-scalar-active-tab`]=i.length-1,!0},kln=(e,t)=>{let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index;if(!i2(e))return!1;let r=n(),i=o2(e),a=a2(e).filter((e,t)=>t!==r);return a.length<=0?!1:(e[`x-scalar-tabs`]=a,e[`x-scalar-active-tab`]=r<i?i-1:Math.min(i,a.length-1),!0)},Aln=(e,t)=>{if(!i2(e))return!1;let n=a2(e);return n.length<=1?!1:(e[`x-scalar-tabs`]=n.filter((e,n)=>n===t.index),e[`x-scalar-active-tab`]=0,!0)},jln=(e,t)=>{if(!i2(e))return!1;let n=o2(e);return n<=0?!1:(e[`x-scalar-active-tab`]=n-1,!0)},Mln=(e,t)=>{if(!i2(e))return!1;let n=a2(e),r=o2(e);return r>=n.length-1?!1:(e[`x-scalar-active-tab`]=r+1,!0)},Nln=(e,t)=>{if(!i2(e))return!1;let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=a2(e),i=n();return Number.isNaN(i)||i<0||i>=r.length?!1:(e[`x-scalar-active-tab`]=i,!0)},Pln=(e,t)=>{if(!i2(e))return!1;let n=a2(e);return n.length<=1?!1:(e[`x-scalar-active-tab`]=n.length-1,!0)},Fln=({workspace:e})=>({updateTabs:t=>Dln(e,t),addTab:t=>Oln(e,t),closeTab:t=>kln(e,t),closeOtherTabs:t=>Aln(e,t),navigatePreviousTab:t=>jln(e,t),navigateNextTab:t=>Mln(e,t),focusTab:t=>Nln(e,t),focusLastTab:t=>Pln(e,t)})})),Lln,Rln,zln,Bln,Vln=c((()=>{x_(),Cq(),d1(),$in(),Ban(),Lln=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!n){console.error(`Document not found`,{payload:t,store:e});return}n.tags||=[],n.tags.push({name:t.name})},Rln=(e,t)=>{let n=e?.workspace.documents[t.documentName],r=n?.[`x-scalar-navigation`];if(!n||!r){console.error(`Document not found`,{payload:t,store:e});return}let i=t.tag.name,a=t.newName;n.tags?.length&&(n.tags=n.tags.map(e=>{let t=Sq(e);return t.name===i?{...t,name:a}:t})),t.tag.children?.forEach(e=>{if(e.type===`operation`){let t=b_(n.paths?.[e.path]?.[e.method]);t&&`tags`in t&&(t.tags=Sq(t.tags,{depth:null})?.map(e=>e===i?a:e))}else if(e.type===`webhook`){let t=b_(n.webhooks?.[e.name]?.[e.method]);t&&`tags`in t&&(t.tags=Sq(t.tags,{depth:null})?.map(e=>e===i?a:e))}}),n[`x-tagGroups`]&&=Sq(n[`x-tagGroups`],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===i?a:e)}));let{generateId:o}=u1(r.name),s=Qin(r).get(i);s&&j1({store:e,tag:{name:a},generateId:o,entries:s})},zln=(e,t)=>{let n=e?.workspace.documents[t.documentName];n&&(Object.values(n.paths??{}).forEach(e=>{Object.values(e).forEach(e=>{if(typeof e!=`object`||Array.isArray(e))return;let n=b_(e);`tags`in n&&(n.tags=Sq(n.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(n.webhooks??{}).forEach(e=>{Object.values(e).forEach(e=>{if(typeof e!=`object`||Array.isArray(e))return;let n=b_(e);n.tags=Sq(n.tags,{depth:1})?.filter(e=>e!==t.name)})}),n.tags=Sq(n.tags,{depth:null})?.filter(e=>e.name!==t.name))},Bln=({store:e})=>({createTag:t=>Lln(e,t),editTag:t=>Rln(e,t),deleteTag:t=>zln(e,t)})})),Hln,Uln,Wln,Gln,Kln,qln,Jln=c((()=>{Hln=(e,t)=>{e&&(e[`x-scalar-active-proxy`]=t)},Uln=(e,t)=>{e&&(e[`x-scalar-color-mode`]=t)},Wln=(e,t)=>{e&&(e[`x-scalar-theme`]=t)},Gln=(e,t)=>{e&&(e[`x-scalar-active-environment`]=t??void 0)},Kln=(e,t)=>{e&&(e[`x-scalar-default-client`]=t)},qln=({workspace:e})=>({updateActiveProxy:t=>Hln(e,t),updateColorMode:t=>Uln(e,t),updateTheme:t=>Wln(e,t),updateSelectedClient:t=>Kln(e,t),updateActiveEnvironment:t=>Gln(e,t)})}));function Yln(e){let t=t=>({auth:jQt({store:e,document:t}),cookie:V$({collection:t}),document:oin({document:t,store:e}),operation:eon({document:t,store:e}),server:wln({document:t}),tag:Bln({store:e}),environment:G$({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:V$({collection:e?.workspace??null}),tabs:Fln({workspace:e?.workspace??null}),workspace:qln({workspace:e?.workspace??null}),environment:G$({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(_in(e,n))}}var Xln=c((()=>{MQt(),$rn(),sin(),gin(),vin(),ton(),Tln(),Iln(),Vln(),Jln()}));function Zln({eventBus:e,store:t,hooks:n}){let r=H(()=>Yln(t.value)),i=({collectionType:e})=>e===`document`?r.value.active():r.value.workspace();e.on(`workspace:update:active-proxy`,e=>s2(`workspace:update:active-proxy`,r.value.workspace().workspace.updateActiveProxy,n)(e)),e.on(`workspace:update:color-mode`,e=>s2(`workspace:update:color-mode`,r.value.workspace().workspace.updateColorMode,n)(e)),e.on(`workspace:update:theme`,e=>s2(`workspace:update:theme`,r.value.workspace().workspace.updateTheme,n)(e)),e.on(`workspace:update:selected-client`,e=>s2(`workspace:update:selected-client`,r.value.workspace().workspace.updateSelectedClient,n)(e)),e.on(`workspace:update:active-environment`,e=>s2(`workspace:update:active-environment`,r.value.workspace().workspace.updateActiveEnvironment,n)(e)),e.on(`document:update:extension`,e=>s2(`document:update:extension`,r.value.active().document.updateDocumentExtension,n)(e)),e.on(`document:update:icon`,e=>s2(`document:update:icon`,r.value.active().document.updateDocumentIcon,n)(e)),e.on(`document:update:info`,e=>s2(`document:update:info`,r.value.active().document.updateDocumentInfo,n)(e)),e.on(`document:update:watch-mode`,e=>s2(`document:update:watch-mode`,r.value.active().document.updateWatchMode,n)(e)),e.on(`document:create:empty-document`,e=>s2(`document:create:empty-document`,r.value.active().document.createEmptyDocument,n)(e)),e.on(`document:delete:document`,e=>s2(`document:delete:document`,r.value.active().document.deleteDocument,n)(e)),e.on(`environment:upsert:environment`,e=>s2(`environment:upsert:environment`,i(e).environment.upsertEnvironment,n)(e)),e.on(`environment:delete:environment`,e=>s2(`environment:delete:environment`,i(e).environment.deleteEnvironment,n)(e)),e.on(`environment:upsert:environment-variable`,e=>s2(`environment:upsert:environment-variable`,i(e).environment.upsertEnvironmentVariable,n)(e)),e.on(`environment:delete:environment-variable`,e=>s2(`environment:delete:environment-variable`,i(e).environment.deleteEnvironmentVariable,n)(e)),e.on(`cookie:upsert:cookie`,async e=>{await s2(`cookie:upsert:cookie`,i(e).cookie.upsertCookie,n)(e)}),e.on(`cookie:delete:cookie`,async e=>{await s2(`cookie:delete:cookie`,i(e).cookie.deleteCookie,n)(e)}),e.on(`auth:delete:security-scheme`,e=>s2(`auth:delete:security-scheme`,r.value.active().auth.deleteSecurityScheme,n)(e)),e.on(`auth:update:active-index`,e=>s2(`auth:update:active-index`,r.value.active().auth.updateSelectedAuthTab,n)(e)),e.on(`auth:update:security-scheme`,e=>s2(`auth:update:security-scheme`,r.value.active().auth.updateSecurityScheme,n)(e)),e.on(`auth:update:selected-scopes`,e=>s2(`auth:update:selected-scopes`,r.value.active().auth.updateSelectedScopes,n)(e)),e.on(`auth:update:selected-security-schemes`,e=>s2(`auth:update:selected-security-schemes`,r.value.active().auth.updateSelectedSecuritySchemes,n)(e)),e.on(`auth:clear:selected-security-schemes`,e=>s2(`auth:clear:selected-security-schemes`,r.value.active().auth.clearSelectedSecuritySchemes,n)(e)),e.on(`auth:update:security-scheme-secrets`,e=>s2(`auth:update:security-scheme-secrets`,r.value.active().auth.updateSecuritySchemeSecrets,n)(e)),e.on(`auth:clear:security-scheme-secrets`,e=>s2(`auth:clear:security-scheme-secrets`,r.value.active().auth.clearSecuritySchemeSecrets,n)(e)),e.on(`server:initialize:servers`,e=>s2(`server:initialize:servers`,r.value.active().server.initializeServers,n)(e)),e.on(`server:add:server`,e=>s2(`server:add:server`,r.value.active().server.addServer,n)(e)),e.on(`server:update:server`,e=>s2(`server:update:server`,r.value.active().server.updateServer,n)(e)),e.on(`server:delete:server`,e=>s2(`server:delete:server`,r.value.active().server.deleteServer,n)(e)),e.on(`server:clear:servers`,e=>s2(`server:clear:servers`,r.value.active().server.clearServers,n)(e)),e.on(`server:update:variables`,e=>s2(`server:update:variables`,r.value.active().server.updateServerVariables,n)(e)),e.on(`server:update:selected`,e=>s2(`server:update:selected`,r.value.active().server.updateSelectedServer,n)(e)),e.on(`operation:create:operation`,e=>s2(`operation:create:operation`,r.value.active().operation.createOperation,n)(e)),e.on(`operation:update:pathMethod`,e=>s2(`operation:update:pathMethod`,r.value.active().operation.updateOperationPathMethod,n)(e)),e.on(`operation:update:meta`,e=>s2(`operation:update:meta`,r.value.active().operation.updateOperationMeta,n)(e)),e.on(`operation:delete:operation`,e=>s2(`operation:delete:operation`,r.value.active().operation.deleteOperation,n)(e)),e.on(`operation:create:draft-example`,e=>s2(`operation:create:draft-example`,r.value.active().operation.createOperationDraftExample,n)(e)),e.on(`operation:delete:example`,e=>s2(`operation:delete:example`,r.value.active().operation.deleteOperationExample,n)(e)),e.on(`operation:rename:example`,e=>s2(`operation:rename:example`,r.value.active().operation.renameOperationExample,n)(e)),e.on(`operation:upsert:parameter`,e=>s2(`operation:upsert:parameter`,r.value.active().operation.upsertOperationParameter,n)(e)),e.on(`operation:update:extra-parameters`,e=>s2(`operation:update:extra-parameters`,r.value.active().operation.updateOperationExtraParameters,n)(e)),e.on(`operation:delete:parameter`,e=>s2(`operation:delete:parameter`,r.value.active().operation.deleteOperationParameter,n)(e)),e.on(`operation:delete-all:parameters`,e=>s2(`operation:delete-all:parameters`,r.value.active().operation.deleteAllOperationParameters,n)(e)),e.on(`operation:update:extension`,e=>s2(`operation:update:extension`,r.value.active().operation.updateOperationExtension,n)(e)),e.on(`operation:update:requestBody:contentType`,e=>s2(`operation:update:requestBody:contentType`,r.value.active().operation.updateOperationRequestBodyContentType,n)(e)),e.on(`operation:update:requestBody:value`,e=>s2(`operation:update:requestBody:value`,r.value.active().operation.updateOperationRequestBodyExample,n)(e)),e.on(`operation:update:requestBody:formValue`,e=>s2(`operation:update:requestBody:formValue`,r.value.active().operation.updateOperationRequestBodyFormValue,n)(e)),e.on(`operation:reload:history`,e=>s2(`operation:reload:history`,r.value.active().operation.reloadOperationHistory,n)(e)),e.on(`tag:create:tag`,e=>s2(`tag:create:tag`,r.value.active().tag.createTag,n)(e)),e.on(`tag:edit:tag`,e=>s2(`tag:edit:tag`,r.value.active().tag.editTag,n)(e)),e.on(`tag:delete:tag`,e=>s2(`tag:delete:tag`,r.value.active().tag.deleteTag,n)(e)),e.on(`tabs:add:tab`,e=>s2(`tabs:add:tab`,r.value.workspace().tabs.addTab,n)(e)),e.on(`tabs:close:tab`,e=>s2(`tabs:close:tab`,r.value.workspace().tabs.closeTab,n)(e)),e.on(`tabs:close:other-tabs`,e=>s2(`tabs:close:other-tabs`,r.value.workspace().tabs.closeOtherTabs,n)(e)),e.on(`tabs:focus:tab`,e=>s2(`tabs:focus:tab`,r.value.workspace().tabs.focusTab,n)(e)),e.on(`tabs:focus:tab-last`,e=>s2(`tabs:focus:tab-last`,r.value.workspace().tabs.focusLastTab,n)(e)),e.on(`tabs:navigate:previous`,e=>s2(`tabs:navigate:previous`,r.value.workspace().tabs.navigatePreviousTab,n)(e)),e.on(`tabs:navigate:next`,e=>s2(`tabs:navigate:next`,r.value.workspace().tabs.navigateNextTab,n)(e)),e.on(`tabs:update:tabs`,e=>s2(`tabs:update:tabs`,r.value.workspace().tabs.updateTabs,n)(e)),e.on(`hooks:on:request:complete`,e=>s2(`hooks:on:request:complete`,r.value.active().operation.addResponseToHistory,n)(e))}var s2,Qln=c((()=>{U(),Xln(),s2=(e,t,n)=>async r=>{let i=await n[e]?.onBeforeExecute?.(r)??r;return await t(i),await n[e]?.onAfterExecute?.(i),i}}));function $ln({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:n,sidebarState:r,modalState:i,store:a}){Zln({eventBus:e,store:O(a),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`,()=>i.hide()),e.on(`ui:open:client-modal`,e=>{if(n.value=e&&`requestBodyCompositionSelection`in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:eun,!e){i.show();return}if(`id`in e&&e.id){let t=e.id;if(`exampleName`in e&&e.exampleName){let n=r.state.getEntryById(e.id);if(n&&`children`in n&&n.children){let r=n.children.find(t=>t.type===`example`&&t.name===e.exampleName);r&&(t=r.id)}}r.handleSelectItem(t)}else `method`in e&&`path`in e&&r.handleSelectItem(r.getEntryByLocation({document:a.workspace.activeDocument?.[`x-scalar-navigation`]?.id??``,path:e.path,method:e.method,example:e.exampleName})?.id??``);i.show()})}var eun,tun=c((()=>{Qln(),U(),eun={}})),nun,c2,run,iun,aun,oun,sun,cun=c((()=>{A1(),Ev(),nun=e=>e.type===`example`,c2=e=>e.store.workspace.documents[e.documentSlug??``],run=(e,t)=>t!==`default`||e.workspace.documents[t]!==void 0?t:e.workspace[`x-scalar-active-document`]||Object.keys(e.workspace.documents)[0],iun=(e,t)=>{let n=c2(e);if(n)return t===`default`?Object.keys(n.paths??{})[0]:t},aun=(e,t,n)=>{let r=c2(e);if(!(!r||!t))return n===`default`?Object.keys(r.paths?.[t]??{}).find(Tv):Tv(n)?n:void 0},oun=(e,t,n)=>{if(!c2(e)||t?.type!==`operation`)return`default`;let r=t.children?.filter(nun)??[],i=r.find(e=>e.name===n);return i?i.name:n===`default`?r[0]?.name??`default`:`default`},sun=(e,t)=>{let n=run(e,t.documentSlug),r={store:e,documentSlug:n},i=iun(r,t.path),a=aun(r,i,t.method),o=c2(r)?.[`x-scalar-navigation`];if(!o)return{documentSlug:n,path:i,method:a,example:`default`};let s=o1(o).get(`${i}|${a}`)?.find(e=>e.type===`operation`);return{documentSlug:n,path:i,method:a,example:oun(r,s,t.example)}}})),l2,lun=c((()=>{f_(),l2=({document:e,path:t,method:n,example:r})=>JSON.stringify([e,t,n,r].filter(d_))})),u2,d2,f2=c((()=>{Ev(),u2=`get`,d2=e=>{if(typeof e!=`string`)return console.warn(`Request method is not a string. Using ${u2} as the default.`),u2;let t=e.trim().toLowerCase();return Tv(t)?t:(console.warn(`${e||`Request method`} is not a valid request method. Using ${u2} as the default.`),u2)}})),uun,dun=c((()=>{U(),bv(),f2(),uun=j({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=H(()=>yv(String(t.method||``))),r=H(()=>d2(t.method));return(t,i)=>(N(),F(vd(e.as??`span`),{class:`uppercase`,style:Kc({[e.property||`color`]:n.value.colorVar})},{default:A(()=>[M(t.$slots,`default`),L(` `+D(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}})})),p2,fun=c((()=>{dun(),p2=uun}));function pun(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=H(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(m2.value,{id:o,parentId:l.value,offset:e}):uu(i),d=e=>{if(!uu(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:o,parentId:l.value};m2.value=t,s?.(t)},f=mun(e=>{if(!m2.value||m2.value.id===o||a.includes(m2.value?.id??``))return;let r=h2.value?.offset,i=e.target.offsetHeight,s=n*i,c=t*i,d=null;e.offsetY<=0&&r&&r!==`after`?d=r:e.offsetY<=s?d=`before`:e.offsetY>=c?d=`after`:e.offsetY>s&&e.offsetY<c&&(d=`into`),u(d)&&(h2.value={id:o,parentId:l.value,offset:d})},25),p=()=>{if(!h2.value||!m2.value)return;let e={...m2.value},t={...h2.value};m2.value=null,h2.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},m=H(()=>{let e=o===h2.value?.id?h2.value.offset:void 0;return e?hun({position:e}):``});return{draggableAttrs:H(()=>({class:m.value||void 0,draggable:uu(r)?!0:void 0})),draggableEvents:{dragend:p,dragover:e=>{e.preventDefault(),e.stopPropagation(),f(e)},dragstart:e=>{e.stopPropagation(),d(e)}},draggingItem:m2,hoveredItem:h2}}var mun,hun,m2,h2,gun=c((()=>{U(),zS(),mun=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},hun=IS({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`}}}),m2=O(null),h2=O(null)})),g2,_un=c((()=>{g2=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),vun,yun=c((()=>{fun(),U(),bv(),EC(),vun=j({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},webhook:{type:Boolean}},setup(e){return(t,n)=>(N(),F(p2,{class:E([`sidebar-heading-type`,`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:`--method-color`,short:``},{default:A(()=>[n[0]||=I(`span`,{class:`sr-only`},`HTTP Method:\xA0`,-1),M(t.$slots,`default`,{},()=>[e.webhook?(N(),F(k(wC),{key:0,style:Kc({color:k(yv)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):R(``,!0)],!0)]),_:3},8,[`class`,`method`]))}})})),_2,bun=c((()=>{_un(),yun(),_2=g2(vun,[[`__scopeId`,`data-v-1857170e`]])})),xun,v2,Sun=c((()=>{xun=new Set([`document`,`operation`,`example`,`tag`]),v2=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name===`default`?[]:e===`reference`?t:t.filter(e=>xun.has(e.type))}));function Cun(e,t){return N(),P(`div`,Tun,[M(e.$slots,`default`)])}var wun,Tun,y2,Eun=c((()=>{_un(),U(),wun={},Tun={class:`bg-b-2 absolute top-[1lh] right-0.75 flex -translate-y-1/2 rounded border p-0.25 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`},y2=g2(wun,[[`render`,Cun]])})),b2,Dun=c((()=>{b2=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0})),Oun,kun=c((()=>{Dun(),Oun=(e,t,n,r)=>b2(t)?r&&t.type===`operation`&&t.children?.length===1&&t.children[0]?.type===`example`&&t.children[0]?.name===`default`?!1:e===`client`?!0:e===`reference`?t.type!==`operation`&&t.type!==`webhook`:!1:e===`client`&&n?t.type===`document`||t.type===`tag`:!1})),Aun,jun=c((()=>{U(),Y(),Aun=j({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(N(),F(k(YM),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(N(),F(k(YM),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}})})),x2,Mun=c((()=>{jun(),x2=Aun})),Nun,Pun,Fun,Iun=c((()=>{Sun(),Eun(),Dun(),kun(),gun(),bun(),Mun(),U(),Y(),$P(),Nun={key:0,class:`line-through`},Pun={key:0,class:`line-through`},Fun=j({__name:`SidebarItem`,props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:[`selectItem`,`onDragEnd`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=Sd(),i=e=>`isGroup`in e&&e.isGroup,a=e=>(`isDeprecated`in e&&e.isDeprecated)??!1,o=(e,t)=>{n(`onDragEnd`,e,t)},{draggableAttrs:s,draggableEvents:c}=pun({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),l=H(()=>b2(e.item)?v2(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,u)=>{let d=_d(`SidebarItem`,!0);return l.value.length>0&&i(e.item)?(N(),F(k(adt),z({key:0,"data-sidebar-id":e.item.id},k(s),xd(k(c))),{items:A(()=>[(N(!0),P(B,null,yd(l.value,i=>(N(),F(d,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:u[0]||=e=>n(`selectItem`,e),onToggleGroup:u[1]||=e=>n(`toggleGroup`,e)},bd({_:2},[r.decorator?{name:`decorator`,fn:A(e=>[M(t.$slots,`decorator`,z({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:A(e=>[M(t.$slots,`empty`,z({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:A(e=>[M(t.$slots,`icon`,z({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:A(()=>[L(D(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):k(Oun)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(N(),F(k(kut),z({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},k(s),{discrete:e.layout===`reference`&&e.item.type===`text`,open:e.isExpanded(e.item.id)},xd(k(c)),{onClick:u[4]||=()=>n(`selectItem`,e.item.id),onToggle:u[5]||=()=>n(`toggleGroup`,e.item.id)}),bd({items:A(()=>[(N(!0),P(B,null,yd(l.value,i=>(N(),F(d,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:u[2]||=e=>n(`selectItem`,e),onToggleGroup:u[3]||=e=>n(`toggleGroup`,e)},bd({_:2},[r.decorator?{name:`decorator`,fn:A(e=>[M(t.$slots,`decorator`,z({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:A(e=>[M(t.$slots,`empty`,z({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:A(e=>[M(t.$slots,`icon`,z({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128)),r.empty&&(e.item.children?.length??0)===0?M(t.$slots,`empty`,{key:0,item:e.item}):R(``,!0)]),default:A(()=>[a(e.item)?(N(),P(`span`,Nun,[V(x2,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(N(),F(x2,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:A(({open:n})=>[M(t.$slots,`icon`,{item:e.item,open:n},()=>[V(k(QP),{class:`block`,src:`icon`in e.item&&e.item.icon||`interface-content-folder`},null,8,[`src`])])]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:A(()=>[V(_2,{active:e.isSelected(e.item.id),class:E([`mr-1 ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`method`,`webhook`])]),key:`1`}:void 0,r.decorator?{name:`after`,fn:A(()=>[V(y2,null,{default:A(()=>[M(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(N(),F(k(Nut),z({key:2,is:`button`},k(s),{class:`relative`,"data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},xd(k(c)),{onClick:u[6]||=()=>n(`selectItem`,e.item.id)}),bd({default:A(()=>[a(e.item)?(N(),P(`span`,Pun,[V(x2,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(N(),F(x2,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:A(()=>[M(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:A(()=>[`method`in e.item?(N(),F(_2,{key:0,active:e.isSelected(e.item.id),class:E([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`method`,`webhook`])):R(``,!0)]),key:`1`}:void 0,r.decorator?{name:`after`,fn:A(()=>[V(y2,null,{default:A(()=>[M(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`data-sidebar-id`,`selected`]))}}})})),Lun,Run=c((()=>{Iun(),Lun=Fun})),zun,Bun=c((()=>{Sun(),Run(),U(),Y(),zun=j({__name:`ScalarSidebar`,props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:[`reorder`,`selectItem`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=Sd(),i=(e,t)=>{n(`reorder`,e,t)};return(t,a)=>(N(),F(k(aut),{class:`flex min-h-0 flex-col`,style:Kc({"--scalar-sidebar-indent":e.indent+`px`})},{default:A(()=>[M(t.$slots,`header`),M(t.$slots,`default`,{},()=>[V(k(But),{class:`custom-scroll`},{default:A(()=>[M(t.$slots,`before`),(N(!0),P(B,null,yd(k(v2)(e.layout,e.items),o=>(N(),F(Lun,{key:o.id,isDraggable:e.isDraggable??e.layout===`client`,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:o,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},bd({_:2},[r.decorator?{name:`decorator`,fn:A(e=>[M(t.$slots,`decorator`,z({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:A(e=>[M(t.$slots,`empty`,z({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:A(e=>[M(t.$slots,`icon`,z({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),_:3}),M(t.$slots,`spacer`,{},()=>[a[2]||=I(`div`,{class:`flex-1`},null,-1)])]),M(t.$slots,`footer`)]),_:3},8,[`style`]))}})})),S2,Vun=c((()=>{Bun(),S2=zun})),C2,Hun=c((()=>{C2=({items:e,nestedKey:t=`children`,filter:n=()=>!0,getId:r=e=>e.id})=>{let i=new Map,a=e=>{n(e)&&i.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>a({...t,parent:e}))};return e.forEach(a),i}})),w2,Uun=c((()=>{Hun(),U(),w2=(e,t)=>{let n=H(()=>C2({items:uu(e),nestedKey:t?.key??`children`})),r=O({}),i=O({}),a=O(null);return{items:H(()=>uu(e)),index:n,selectedItems:r,expandedItems:i,selectedItem:a,setSelected:e=>{let i=e=>{e&&(r.value[e.id]=!0,`parent`in e&&e.parent&&i(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},a.value=e,e!==null&&i(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,`parent`in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),r===!1?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{r.value={},i.value={}}}}})),T2,Wun=c((()=>{T2=(e,t)=>{if(t.type===e)return t;if(`children`in t)for(let n of t.children??[]){let t=T2(e,n);if(t)return t}return null}})),Gun,Kun,qun,Jun,Yun,Xun=c((()=>{Gun=100,Kun=e=>{if(window.getComputedStyle(e).display!==`contents`)return e;for(let t of e.children)if(t instanceof HTMLElement&&t.offsetParent!==null)return t;return e},qun=e=>e.dataset.sidebarType===`heading`?e.querySelector(`.sidebar-heading`)?.offsetHeight??0:0,Jun=(e,t)=>{let n=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n},Yun=(e,t=Gun)=>{if(typeof window>`u`)return;let n=document.querySelector(`[data-sidebar-id="${e}"]`),r=n?.closest(`.custom-scroll, .custom-scrollbar`)??null;if(!n||!r)return;let i=Jun(Kun(n),r)+qun(n)-t;r.scrollTo({top:i>0?i:0})}})),E2=c((()=>{fun(),gun(),bun(),Run(),Vun(),Hun(),Uun(),Wun(),Xun()})),Zun,Qun=c((()=>{lun(),U(),E2(),A1(),Zun=({workspaceStore:e,documentSlug:t,path:n,method:r,exampleName:i,route:a})=>{let o=H(()=>e?.workspace.documents[uu(t)??``]?.[`x-scalar-navigation`]?.children??[]),s=w2(o),c=H(()=>C2({items:o.value,nestedKey:`children`,filter:e=>e.type===`operation`||e.type===`example`,getId:e=>{let n=i1(`operation`,e);return l2({document:uu(t)??``,path:n?.path,method:n?.method,example:e.type===`example`?e.name:void 0})}})),l=e=>c.value.get(l2({document:e.document,path:e.path,method:e.method,example:e.example}))||c.value.get(l2({document:e.document,path:e.path,method:e.method}));return nd([t,n,r,i],([e,t,n,r])=>{if(!e){s.setSelected(null);return}let i=l({document:e,path:t,method:n,example:r});i&&(s.setSelected(i.id),s.setExpanded(i.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let n=s.getEntryById(e);if(!n){console.warn(`Could not find sidebar entry with id ${e} to select`);return}if(n.type===`operation`||n.type===`example`){if(s.isSelected(e)){s.setExpanded(e,!s.isExpanded(e));return}let r=i1(`operation`,n),i=T2(`example`,n);return i?(s.setSelected(i.id),s.setExpanded(i.id,!0)):s.setSelected(e),r?a({documentSlug:uu(t),path:r.path,method:r.method,example:i?.name??`default`}):void 0}s.setExpanded(e,!s.isExpanded(e))},state:s,getEntryByLocation:l}}})),D2,O2,k2,A2,j2,M2,$un,N2,P2,F2,I2,edn,tdn,L2,ndn,rdn,idn,adn,odn,sdn,cdn,R2,ldn,udn,z2,B2,ddn,V2,fdn,pdn,H2,mdn,U2,hdn=c((()=>{D2=[`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] *)`],O2=D2.join(`,`),k2=typeof Element>`u`,A2=k2?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,j2=!k2&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},M2=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):M2(e.parentNode))},$un=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},N2=function(e,t,n){if(M2(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(O2));return t&&A2.call(e,O2)&&r.unshift(e),r=r.filter(n),r},P2=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!M2(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=P2(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{A2.call(a,O2)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!M2(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=P2(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},F2=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},I2=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||$un(e))&&!F2(e)?0:e.tabIndex},edn=function(e,t){var n=I2(e);return n<0&&t&&!F2(e)?0:n},tdn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},L2=function(e){return e.tagName===`INPUT`},ndn=function(e){return L2(e)&&e.type===`hidden`},rdn=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},idn=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},adn=function(e){if(!e.name)return!0;var t=e.form||j2(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(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 i=idn(r,e.form);return!i||i===e},odn=function(e){return L2(e)&&e.type===`radio`},sdn=function(e){return odn(e)&&!adn(e)},cdn=function(e){var t=e&&j2(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=j2(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},R2=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},ldn=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if(getComputedStyle(e).visibility===`hidden`)return!0;var i=A2.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(A2.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=j2(e);if(o&&!o.shadowRoot&&r(o)===!0)return R2(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(cdn(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return R2(e);return!1},udn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return A2.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},z2=function(e,t){return!(t.disabled||ndn(t)||ldn(t,e)||rdn(t)||udn(t))},B2=function(e,t){return!(sdn(t)||I2(t)<0||!z2(e,t))},ddn=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},V2=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=edn(a,i),s=i?V2(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(tdn).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},fdn=function(e,t){t||={};var n=t.getShadowRoot?P2([e],t.includeContainer,{filter:B2.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ddn}):N2(e,t.includeContainer,B2.bind(null,t));return V2(n)},pdn=function(e,t){return t||={},t.getShadowRoot?P2([e],t.includeContainer,{filter:z2.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):N2(e,t.includeContainer,z2.bind(null,t))},H2=function(e,t){if(t||={},!e)throw Error(`No node provided`);return A2.call(e,O2)===!1?!1:B2(t,e)},mdn=D2.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),U2=function(e,t){if(t||={},!e)throw Error(`No node provided`);return A2.call(e,mdn)===!1?!1:z2(t,e)}}));function W2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gdn(e){if(Array.isArray(e))return W2(e)}function _dn(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=Edn(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function vdn(e,t,n){return(t=Tdn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ydn(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function bdn(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xdn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sdn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xdn(Object(n),!0).forEach(function(t){vdn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xdn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cdn(e){return gdn(e)||ydn(e)||Edn(e)||bdn()}function wdn(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Tdn(e){var t=wdn(e,`string`);return typeof t==`symbol`?t:t+``}function Edn(e,t){if(e){if(typeof e==`string`)return W2(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W2(e,t):void 0}}var G2,Ddn,Odn,K2,kdn,Adn,q2,J2,Y2,jdn,Mdn,Ndn=c((()=>{hdn(),G2={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==G2.getActiveTrap(e)&&G2.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),G2.unpauseTrap(e)},pauseTrap:function(e){G2.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=G2.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Ddn=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Odn=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},K2=function(e){return e?.key===`Tab`||e?.keyCode===9},kdn=function(e){return K2(e)&&!e.shiftKey},Adn=function(e){return K2(e)&&e.shiftKey},q2=function(e){return setTimeout(e,0)},J2=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e==`function`?e.apply(void 0,n):e},Y2=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},jdn=[],Mdn=function(e,t){var n=t?.document||document,r=t?.trapStack||jdn,i=Sdn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:kdn,isKeyBackward:Adn},t),a={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},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r===void 0?!1:r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,Cdn(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!U2(e,i.tabbableOptions))if(c(n.activeElement)>=0)e=n.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l(`fallbackFocus`)}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},d=function(){if(a.containerGroups=a.containers.map(function(e){var t=fdn(e,i.tabbableOptions),n=pdn(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return H2(e)}),s=n.slice().reverse().find(function(e){return H2(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return I2(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return H2(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return H2(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.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.`)},f=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?f(t.shadowRoot):t},p=function(e){if(e!==!1&&e!==f(document)){if(!e||!e.focus){p(u());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,Ddn(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||(t===!1?!1:e)},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r===void 0?!1:r;t||=Y2(n),d();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(f.container===t||U2(t,i.tabbableOptions)&&!H2(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=I2(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else K2(n)||(s=f.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(f.container===t||U2(t,i.tabbableOptions)&&!H2(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=I2(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else K2(n)||(s=f.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c(Y2(e),e)>=0)){if(J2(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}J2(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=Y2(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode)if(I2(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<l.length&&(r=l[d+1],o=!1):d-1>=0&&(r=l[d-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return I2(e)>0})})||(o=!1);else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||u())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(K2(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Odn(e)&&J2(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(Y2(e),e)>=0||J2(i.clickOutsideDeactivates,e)||J2(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},ee=function(){if(a.active)return G2.activateTrap(r,o),a.delayInitialFocusTimer=i.delayInitialFocus?q2(function(){p(u())}):p(u()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),o},S=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=_dn(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=_dn(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},C=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},te=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(u())}):void 0,ne=function(){te&&(te.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){te.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),c=s(e,`onPostActivate`),l=s(e,`checkCanFocusTrap`),u=G2.getActiveTrap(r),p=!1;if(u&&!u.paused){var m;(m=u._setSubtreeIsolation)==null||m.call(u,!1),p=!0}try{l||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(n),t?.();var h=function(){l&&d(),ee(),ne(),i.isolateSubtrees&&o._setSubtreeIsolation(!0),c?.()};if(l)return l(a.containers.concat()).then(h,h),this;h()}catch(e){if(u===G2.getActiveTrap(r)&&p){var g;(g=u._setSubtreeIsolation)==null||g.call(u,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=Sdn({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),C(),a.active=!1,a.paused=!1,ne(),G2.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.();var d=function(){q2(function(){u&&p(m(a.nodeFocusedBeforeActivation)),c?.()})};return u&&l?(l(m(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return!a.active||(a.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e)},updateContainerElements:function(e){return a.containers=[].concat(e).filter(Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&S(a.containers),a.active&&(d(),i.isolateSubtrees&&!a.paused&&o._setSubtreeIsolation(!0)),ne(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.(),C(),ne(),o._setSubtreeIsolation(!1),r?.()}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.(),o._setSubtreeIsolation(!0),d(),ee(),ne(),c?.()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){if(e)switch(i.isolateSubtrees){case`aria-hidden`:(t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`);break;default:(t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0);break}else if(!a.alreadySilent.has(t))switch(i.isolateSubtrees){case`aria-hidden`:t.removeAttribute(`aria-hidden`);break;default:t.removeAttribute(`inert`);break}})}}}),o.updateContainerElements(e),o}}));function Pdn(e,t={}){let n,{immediate:r,...i}=t,a=lu(!1),o=lu(!1),s=e=>n&&n.activate(e),c=e=>n&&n.deactivate(e);return nd(H(()=>VC(uu(e)).map(e=>{let t=uu(e);return typeof t==`string`?t:JC(t)}).filter(WC)),e=>{if(e.length)if(!n)n=Mdn(e,{...i,onActivate(){a.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){a.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s();else{let t=n?.active;n?.updateContainerElements(e),!t&&r&&s()}},{flush:`post`}),zC(()=>c()),{hasFocus:a,isPaused:o,activate:s,deactivate:c,pause:()=>{n&&(n.pause(),o.value=!0)},unpause:()=>{n&&(n.unpause(),o.value=!1)}}}var Fdn=c((()=>{aw(),qC(),Ndn(),U()})),Idn,Ldn,Rdn,zdn,Bdn=c((()=>{U(),Y(),Fdn(),Idn={class:`scalar scalar-app z-overlay relative`},Ldn={class:`scalar-container`},Rdn=[`id`],zdn=j({__name:`ModalClientContainer`,props:{modalState:{}},emits:[`open`,`close`],setup(e,{emit:t}){let n=e,r=t,i=O(null),a=ud(),{activate:o,deactivate:s}=Pdn(i,{allowOutsideClick:!0,fallbackFocus:`#${a}`});return kf(()=>$M()),nd(()=>n.modalState.open,async e=>{e?(await Ku(),o(),r(`open`)):(s(),r(`close`))},{immediate:!1}),Mf(()=>{s()}),(t,n)=>(N(),F(Np,{name:`scalar-client-fade`},{default:A(()=>[Xu(I(`div`,Idn,[I(`div`,Ldn,[I(`div`,z({id:k(a),ref_key:`client`,ref:i,"aria-label":`API Client`,"aria-modal":`true`},t.$attrs,{class:`scalar-app-layout scalar-client`,role:`dialog`,tabindex:`-1`}),[V(k(c2e),null,{default:A(()=>[M(t.$slots,`default`,{},void 0,!0)]),_:3})],16,Rdn),I(`div`,{class:`scalar-app-exit`,onClick:n[0]||=t=>e.modalState.hide()})])],512),[[Rp,e.modalState.open]])]),_:3}))}})})),Vdn,Hdn=c((()=>{Mg(),Bdn(),Vdn=jg(zdn,[[`__scopeId`,`data-v-6118685a`]])})),X2,Udn,Wdn=c((()=>{U(),X2=`scalar-dragging`,Udn=j({__name:`Resize`,props:{width:{}},emits:[`update:width`],setup(e,{emit:t}){let n=t,r=O(!1),i=t=>{t.preventDefault();let i=t.clientX,a=e.width,o=e=>{r.value=!0,document.body.classList.add(X2);let t=a+e.clientX-i;t>420&&(t=420+(t-420)*.2),t<240&&(t=240),n(`update:width`,t)},s=()=>{r.value=!1,document.body.classList.remove(X2),document.documentElement.removeEventListener(`mousemove`,o,!1),document.documentElement.removeEventListener(`mouseup`,s,!1),e.width>420?n(`update:width`,360):e.width<240&&n(`update:width`,240)};document.documentElement.addEventListener(`mousemove`,o,!1),document.documentElement.addEventListener(`mouseup`,s,!1)};return(t,n)=>(N(),P(`div`,{class:`relative`,style:Kc({width:`${e.width}px`})},[M(t.$slots,`default`,{},void 0,!0),I(`div`,{class:`resizer`,onMousedown:i},null,32)],4))}})})),Gdn,Kdn=c((()=>{Mg(),Wdn(),Gdn=jg(Udn,[[`__scopeId`,`data-v-e2c54c18`]])}));function qdn(){return new JP([],{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})}var Jdn=c((()=>{YP()}));function Ydn(e){let t=[];function n(e,r){e.forEach(e=>{Xdn(e,t,r),`children`in e&&e.children&&n(e.children,r)})}return e?.forEach(e=>n(e[`x-scalar-navigation`]?.children??[],e)),t}function Xdn(e,t,n){if(e.type===`operation`){let r=b_(n?.paths?.[e.path]?.[e.method])??{};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:n?.info.title??``});return}if(e.type===`tag`&&e.isGroup===!1){t.push({id:e.id,title:e.title,description:e.description||``,type:`tag`,entry:e,documentName:n?.info.title??``});return}if(e.type===`tag`&&e.isGroup===!0){t.push({id:e.id,title:e.title,description:`Tag Group`,type:`tag`,entry:e,documentName:n?.info.title??``});return}if(e.type===`text`){t.push({id:e.id,type:`heading`,title:e.title??``,description:`Heading`,entry:e,documentName:n?.info.title??``});return}}var Zdn=c((()=>{x_()})),Qdn,$dn,efn=c((()=>{Jdn(),Zdn(),U(),Qdn=25,$dn=e=>{let t=H(()=>{let t=qdn();return t.setCollection(Ydn(uu(e))),t}),n=O(``);return{results:H(()=>n.value.length===0?null:t.value.search(n.value,{limit:Qdn}).flatMap(e=>e.item.entry.type===`operation`?e.item.entry:[])),query:n}}})),tfn,nfn=c((()=>{U(),Y(),EC(),tfn=j({__name:`SidebarMenu`,props:{activeWorkspace:{},workspaces:{}},emits:[`create:workspace`,`select:workspace`,`navigate:to:settings`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),F(k(hlt),null,{products:A(()=>[V(k(SM),{selected:`client`})]),sections:A(({close:i})=>[V(k(CM),null,{default:A(()=>[M(t.$slots,`sidebarMenuActions`,{},()=>[V(k(Olt),{modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,onCreateWorkspace:r[0]||=e=>n(`create:workspace`),"onUpdate:modelValue":r[1]||=e=>n(`select:workspace`,e)},null,8,[`modelValue`,`workspaceOptions`]),V(k(yM),{is:`button`,icon:k(YTe),onClick:()=>{i(),n(`navigate:to:settings`)}},{default:A(()=>[...r[2]||=[L(` Settings `,-1)]]),_:1},8,[`icon`,`onClick`])])]),_:2},1024),V(k(TM)),V(k(ylt))]),_:3}))}})})),rfn,ifn=c((()=>{nfn(),rfn=tfn})),afn,ofn,sfn,cfn=c((()=>{Kdn(),efn(),ifn(),U(),Y(),EC(),E2(),afn={class:`flex items-center justify-between`},ofn={key:1},sfn=j({__name:`Sidebar`,props:Td({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:Td([`selectItem`,`select:workspace`,`create:workspace`,`reorder`,`navigate:to:settings`],[`update:sidebarWidth`]),setup(e,{emit:t}){let n=t,r=Sd(),i=O(!1),a=jd(e,`sidebarWidth`),o=e=>e.type===`example`&&e.title===`draft`,{query:s,results:c}=$dn(()=>e.documents),l=H(()=>c.value??e.sidebarState.items.value),u=e=>{n(`selectItem`,e),s.value=``,i.value=!1};return(t,c)=>(N(),F(k(Gdn),{width:a.value,"onUpdate:width":c[6]||=e=>a.value=e,class:`flex flex-col`},{default:A(()=>[V(k(S2),{class:`flex w-auto flex-1`,indent:20,isDraggable:e.layout!==`modal`,isDroppable:e.isDroppable,isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,items:l.value,layout:`client`,options:{hideOperationDefaultExamples:e.layout===`modal`},onReorder:c[5]||=(e,t)=>n(`reorder`,e,t),onSelectItem:u},bd({header:A(()=>[c[7]||=I(`div`,{class:`mac:h-12 mac:app-drag-region h-2`},null,-1),I(`div`,{class:E([`bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5`,{"max-md:pt-12":e.layout!==`modal`}])},[I(`div`,afn,[e.layout===`modal`?e.layout===`modal`?(N(),P(`div`,ofn)):R(``,!0):(N(),F(rfn,{key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,"onCreate:workspace":c[0]||=e=>n(`create:workspace`),"onNavigate:to:settings":c[1]||=e=>n(`navigate:to:settings`),"onSelect:workspace":c[2]||=e=>n(`select:workspace`,e)},{sidebarMenuActions:A(()=>[M(t.$slots,`sidebarMenuActions`)]),_:3},8,[`activeWorkspace`,`workspaces`])),V(k(hM),{icon:k(_C),label:`Search`,onClick:c[3]||=e=>i.value=!i.value},null,8,[`icon`])]),i.value?(N(),F(k(HM),{key:0,modelValue:k(s),"onUpdate:modelValue":c[4]||=e=>cu(s)?s.value=e:null,autofocus:``},null,8,[`modelValue`])):R(``,!0)],2)]),spacer:A(()=>[c[8]||=I(`div`,{class:`mac:app-drag-region flex-1`},null,-1)]),icon:A(e=>[r.icon||o(e.item)?(N(),P(B,{key:0},[o(e.item)?(N(),F(k(uTe),{key:0})):R(``,!0),M(t.$slots,`icon`,qc(Vd(e)))],64)):R(``,!0)]),before:A(()=>[M(t.$slots,`workspaceButton`)]),footer:A(()=>[M(t.$slots,`footer`)]),_:2},[r.decorator?{name:`decorator`,fn:A(e=>[M(t.$slots,`decorator`,qc(Vd(e)))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:A(e=>[M(t.$slots,`empty`,qc(Vd(e)))]),key:`1`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`items`,`options`])]),_:3},8,[`width`]))}})})),lfn,ufn=c((()=>{cfn(),lfn=sfn})),dfn,ffn,pfn,mfn,hfn,gfn=c((()=>{U(),dfn=[`aria-pressed`],ffn={class:`sr-only`},pfn={class:`size-4`,fill:`none`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`},mfn={"clip-path":`url(#mask)`},hfn=j({__name:`SidebarToggle`,props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`);return(e,n)=>(N(),P(`button`,{"aria-pressed":t.value,class:`scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded-lg p-2`,type:`button`,onClick:n[0]||=e=>t.value=!t.value},[I(`span`,ffn,D(t.value?`Hide`:`Show`)+` sidebar`,1),(N(),P(`svg`,pfn,[n[1]||=I(`defs`,null,[I(`clipPath`,{id:`mask`},[I(`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),I(`g`,mfn,[I(`path`,{class:E([`transition-transform duration-300`,t.value?`translate-x-0`:`-translate-x-1/2`]),d:`M1 3.2h8v17.5H1z`,fill:`currentColor`},null,2)]),n[2]||=I(`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,dfn))}})})),_fn,vfn=c((()=>{gfn(),_fn=hfn})),Z2,yfn,bfn,xfn,Sfn,Cfn,wfn=c((()=>{Jj(),Z2={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`]}},yfn={web:Z2,modal:{...Z2,Escape:{event:`ui:close:client-modal`,modifiers:[]},l:{event:`ui:focus:send-button`,modifiers:[`default`]}},desktop:{...Z2,f:{event:`ui:focus:search`,modifiers:[`default`]},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`]}}},bfn=new Set([`Escape`,`ArrowDown`,`ArrowUp`,`Enter`]),xfn=(e,t)=>t.length>0&&t.map(e=>e===`default`?qj()?`metaKey`:`ctrlKey`:e).every(t=>e[t]===!0),Sfn=(e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let n=e.target;return n.tagName===`INPUT`?!bfn.has(t):n.tagName===`TEXTAREA`||n.contentEditable===`true`||n.hasAttribute(`contenteditable`)},Cfn=(e,t,n)=>{let r=e.key===` `?`Space`:e.key,i=yfn[n][r];if(!i)return;let a={event:e};if(r===`Escape`){t.emit(i.event,a,{skipUnpackProxy:!0});return}if(xfn(e,i.modifiers)){t.emit(i.event,a,{skipUnpackProxy:!0});return}i.modifiers.length>0||Sfn(e,r)||t.emit(i.event,a,{skipUnpackProxy:!0})}})),Tfn,Efn=c((()=>{wfn(),U(),Tfn=(e,t,n)=>{let r=r=>{uu(n)||Cfn(r,e,t)};Af(()=>window.addEventListener(`keydown`,r)),Mf(()=>window.removeEventListener(`keydown`,r))}})),Q2,Dfn=c((()=>{Q2=typeof OVERRIDE_PACKAGE_VERSION<`u`?OVERRIDE_PACKAGE_VERSION:`2.43.0`})),Ofn,kfn,Afn,jfn=c((()=>{Ofn=({harRequest:e})=>{let t=kfn(e),n=Afn(e.postData);return new Request(e.url,{method:e.method,headers:t,body:n})},kfn=e=>{let t=new Headers;if(e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),e.cookies?.length){let n=e.cookies.map(({name:e,value:t})=>`${e}=${t}`).join(`; `);t.append(`Cookie`,n)}return t},Afn=e=>{if(!e)return null;let{params:t,text:n,mimeType:r}=e;if(t?.length){let e=r?.includes(`multipart/form-data`)?new FormData:new URLSearchParams;return t.forEach(({name:t,value:n})=>{e.append(t,n||``)}),e}return n?new TextEncoder().encode(n):null}})),$2,Mfn=c((()=>{$2=e=>`getSetCookie`in e&&typeof e.getSetCookie==`function`?e.getSetCookie():[]})),Nfn,Pfn,Ffn,Ifn=c((()=>{Mfn(),Nfn=({harResponse:e,url:t=``,method:n,path:r,duration:i=0})=>{let a=Pfn(e),{body:o,data:s,size:c}=Ffn(e),l=$2(a);return{...new Response(o,{status:e.status,statusText:e.statusText,headers:a}),headers:Object.fromEntries(a.entries()),cookieHeaderKeys:l,duration:i,status:e.status,statusText:e.statusText,method:n,path:r,data:s,size:c,url:t}},Pfn=e=>{let t=new Headers;return e.headers.forEach(({name:e,value:n})=>{t.append(e,n)}),t},Ffn=e=>{if(!e.content.text)return{body:null,data:``,size:0};let{text:t,encoding:n}=e.content;if(n)return{body:null,data:t,size:t.length};let r=new TextEncoder().encode(t).buffer;return{body:r,data:t,size:r.byteLength}}}));function Lfn(e,t,n){return`${e}|${t}|${n}`}function Rfn(e){return`reader`in e}var e4,zfn=c((()=>{e4=new Map})),Bfn,Vfn,Hfn=c((()=>{PN(),Bfn=f(IN(),1),Vfn=(e,t)=>{let n=new Bfn.default(t);return Cft(n.essence)?new TextDecoder(n.parameters.get(`charset`)).decode(e):new Blob([e],{type:n.essence})}})),Ufn=l((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.parseCookie=c,e.parse=c,e.stringifyCookie=l,e.stringifySetCookie=u,e.serialize=u,e.parseSetCookie=d,e.stringifySetCookie=u,e.serialize=u;var t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,n=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,a=/^-?\d+$/,o=Object.prototype.toString,s=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function c(e,t){let n=new s,r=e.length;if(r<2)return n;let i=t?.decode||h,a=0;do{let t=p(e,a,r);if(t===-1)break;let o=f(e,a,r);if(t>o){a=e.lastIndexOf(`;`,t-1)+1;continue}let s=m(e,a,t);n[s]===void 0&&(n[s]=i(m(e,t+1,o))),a=o+1}while(a<r);return n}function l(e,r){let i=r?.encode||encodeURIComponent,a=[];for(let r of Object.keys(e)){let o=e[r];if(o===void 0)continue;if(!t.test(r))throw TypeError(`cookie name is invalid: ${r}`);let s=i(o);if(!n.test(s))throw TypeError(`cookie val is invalid: ${o}`);a.push(`${r}=${s}`)}return a.join(`; `)}function u(e,a,o){let s=typeof e==`object`?e:{...o,name:e,value:String(a)},c=(typeof a==`object`?a:o)?.encode||encodeURIComponent;if(!t.test(s.name))throw TypeError(`argument name is invalid: ${s.name}`);let l=s.value?c(s.value):``;if(!n.test(l))throw TypeError(`argument val is invalid: ${s.value}`);let u=s.name+`=`+l;if(s.maxAge!==void 0){if(!Number.isInteger(s.maxAge))throw TypeError(`option maxAge is invalid: ${s.maxAge}`);u+=`; Max-Age=`+s.maxAge}if(s.domain){if(!r.test(s.domain))throw TypeError(`option domain is invalid: ${s.domain}`);u+=`; Domain=`+s.domain}if(s.path){if(!i.test(s.path))throw TypeError(`option path is invalid: ${s.path}`);u+=`; Path=`+s.path}if(s.expires){if(!g(s.expires)||!Number.isFinite(s.expires.valueOf()))throw TypeError(`option expires is invalid: ${s.expires}`);u+=`; Expires=`+s.expires.toUTCString()}if(s.httpOnly&&(u+=`; HttpOnly`),s.secure&&(u+=`; Secure`),s.partitioned&&(u+=`; Partitioned`),s.priority)switch(typeof s.priority==`string`?s.priority.toLowerCase():void 0){case`low`:u+=`; Priority=Low`;break;case`medium`:u+=`; Priority=Medium`;break;case`high`:u+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid: ${s.priority}`)}if(s.sameSite)switch(typeof s.sameSite==`string`?s.sameSite.toLowerCase():s.sameSite){case!0:case`strict`:u+=`; SameSite=Strict`;break;case`lax`:u+=`; SameSite=Lax`;break;case`none`:u+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid: ${s.sameSite}`)}return u}function d(e,t){let n=t?.decode||h,r=e.length,i=f(e,0,r),o=p(e,0,i),s=o===-1?{name:``,value:n(m(e,0,i))}:{name:m(e,0,o),value:n(m(e,o+1,i))},c=i+1;for(;c<r;){let t=f(e,c,r),n=p(e,c,t),i=n===-1?m(e,c,t):m(e,c,n),o=n===-1?void 0:m(e,n+1,t);switch(i.toLowerCase()){case`httponly`:s.httpOnly=!0;break;case`secure`:s.secure=!0;break;case`partitioned`:s.partitioned=!0;break;case`domain`:s.domain=o;break;case`path`:s.path=o;break;case`max-age`:o&&a.test(o)&&(s.maxAge=Number(o));break;case`expires`:if(!o)break;let e=new Date(o);Number.isFinite(e.valueOf())&&(s.expires=e);break;case`priority`:if(!o)break;let t=o.toLowerCase();(t===`low`||t===`medium`||t===`high`)&&(s.priority=t);break;case`samesite`:if(!o)break;let n=o.toLowerCase();(n===`lax`||n===`strict`||n===`none`)&&(s.sameSite=n);break}c=t+1}return s}function f(e,t,n){let r=e.indexOf(`;`,t);return r===-1?n:r}function p(e,t,n){let r=e.indexOf(`=`,t);return r<n?r:-1}function m(e,t,n){let r=t,i=n;do{let t=e.charCodeAt(r);if(t!==32&&t!==9)break}while(++r<i);for(;i>r;){let t=e.charCodeAt(i-1);if(t!==32&&t!==9)break;i--}return e.slice(r,i)}function h(e){if(e.indexOf(`%`)===-1)return e;try{return decodeURIComponent(e)}catch{return e}}function g(e){return o.call(e)===`[object Date]`}}));function t4(e){return typeof e!=`string`||e in{}}function n4(){return Object.create(null)}function Wfn(e){return typeof e==`string`&&!!e.trim()}function r4(e,t){var n=e.split(`;`).filter(Wfn),r=Gfn(n.shift()),i=r.name,a=r.value;if(t=t?Object.assign({},a4,t):a4,t4(i))return null;try{a=t.decodeValues?decodeURIComponent(a):a}catch(e){console.error(`set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.`,e)}var o=n4();return o.name=i,o.value=a,n.forEach(function(e){var t=e.split(`=`),n=t.shift().trimLeft().toLowerCase();if(!t4(n)){var r=t.join(`=`);if(n===`expires`)o.expires=new Date(r);else if(n===`max-age`){var i=parseInt(r,10);Number.isNaN(i)||(o.maxAge=i)}else n===`secure`?o.secure=!0:n===`httponly`?o.httpOnly=!0:n===`samesite`?o.sameSite=r:n===`partitioned`?o.partitioned=!0:n&&(o[n]=r)}}),o}function Gfn(e){var t=``,n=``,r=e.split(`=`);return r.length>1?(t=r.shift(),n=r.join(`=`)):n=e,{name:t,value:n}}function i4(e,t){if(t=t?Object.assign({},a4,t):a4,!e)return t.map?n4():[];if(e.headers)if(typeof e.headers.getSetCookie==`function`)e=e.headers.getSetCookie();else if(e.headers[`set-cookie`])e=e.headers[`set-cookie`];else{var n=e.headers[Object.keys(e.headers).find(function(e){return e.toLowerCase()===`set-cookie`})];!n&&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=n}var r=t.split,i=Array.isArray(e);if(r===`auto`&&(r=!i),i||(e=[e]),e=e.filter(Wfn),r&&(e=e.map(Kfn).flat()),t.map){var a=n4();return e.reduce(function(e,n){var r=r4(n,t);return r&&!t4(r.name)&&(e[r.name]=r),e},a)}else return e.map(function(e){return r4(e,t)}).filter(Boolean)}function Kfn(e){if(Array.isArray(e))return e;if(typeof e!=`string`)return[];var t=[],n=0,r,i,a,o,s;function c(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}function l(){return i=e.charAt(n),i!==`=`&&i!==`;`&&i!==`,`}for(;n<e.length;){for(r=n,s=!1;c();)if(i=e.charAt(n),i===`,`){for(a=n,n+=1,c(),o=n;n<e.length&&l();)n+=1;n<e.length&&e.charAt(n)===`=`?(s=!0,n=o,t.push(e.substring(r,a)),r=n):n=a+1}else n+=1;(!s||n>=e.length)&&t.push(e.substring(r,e.length))}return t}var a4,qfn=c((()=>{a4={decodeValues:!0,map:!1,silent:!1,split:`auto`},i4.parseSetCookie=i4,i4.parse=i4,i4.parseString=r4,i4.splitCookiesString=Kfn})),Jfn,Yfn,Xfn,Zfn,o4,Qfn,$fn,epn=c((()=>{hv(),lft(),Mfn(),Hfn(),Sv(),Jfn=f(Ufn(),1),qfn(),Yfn=`x-scalar-set-cookie`,Xfn=[204,205,304],Zfn=async({isUsingProxy:e,request:t})=>{try{let n=performance.now(),r=await fetch(t.clone()),i=performance.now(),a=Date.now(),o=i-n,s=r.headers.get(`content-type`),c=gN(r.headers,e),l=new URL(r.url),u=l.pathname+l.search,d=r.statusText||xv[r.status]?.name||``,f=t.method,p=Xfn.includes(r.status);return s?.startsWith(`text/event-stream`)&&r.body?Qfn({response:r,request:t,timestamp:a,duration:o,responseHeaders:c,statusText:d,method:f,fullPath:u}):$fn({response:r,request:t,timestamp:a,duration:o,responseHeaders:c,statusText:d,method:f,fullPath:u,contentType:s,shouldSkipBody:p})}catch(e){return[pv(e,fv.REQUEST_FAILED),null]}},o4=e=>{let t=i4(e.headers.get(Yfn)??``).map(e=>Jfn.default.serialize(e.name,e.value,{...e,sameSite:e.sameSite,encode:e=>e}));return t.length?t:null},Qfn=({response:e,request:t,timestamp:n,duration:r,responseHeaders:i,statusText:a,method:o,fullPath:s})=>{let c=new Response(null,{status:e.status,statusText:a,headers:e.headers}),l=o4(c)??$2(c.headers);return[null,{timestamp:n,request:t,response:{...c,headers:i,cookieHeaderKeys:l,reader:e.body.getReader(),duration:r,method:o,path:s},originalResponse:c.clone()}]},$fn=async({response:e,request:t,timestamp:n,duration:r,responseHeaders:i,statusText:a,method:o,fullPath:s,contentType:c,shouldSkipBody:l})=>{let u=await e.clone().arrayBuffer(),d=Vfn(u,c??`text/plain;charset=UTF-8`),f=new Response(l?null:u,{status:e.status,statusText:a,headers:e.headers}),p=o4(f)??$2(f.headers);return[null,{timestamp:n,request:t,response:{...f,headers:i,cookieHeaderKeys:p,data:d,size:u.byteLength,duration:r,method:o,status:e.status,path:s},originalResponse:e.clone()}]}})),s4,c4=c((()=>{s4=(e,t,n=!0)=>{let r=t?.[`x-disabled`];return typeof r==`boolean`?r:n?!e.required&&e.in!==`path`:!1}})),tpn,npn=c((()=>{T_(),x_(),Cq(),tpn=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!w_(e)&&!Array.isArray(e))return e;let i=Sq(e,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=r(b_(e));return n.set(i,t),t}if(Array.isArray(e)){let t=e.map(r);return n.set(i,t),t}let a=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return n.set(i,a),a};return r(e)}})),l4,u4,d4=c((()=>{x_(),l4=(e,t,n)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=b_(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:b_(t)}},u4=(e,t,n)=>{if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=l4(r?.examples,r?.example,t);if(i!==void 0)return i}if(`examples`in e||`example`in e){let n=l4(e.examples,e.example,t);if(n!==void 0)return n}let r=b_(e);if(`schema`in r&&r.schema){let e=r.schema;if(`default`in e&&e.default!==void 0)return{value:e.default};if(`enum`in e&&e.enum?.[0]!==void 0)return{value:e.enum[0]};if(`examples`in e&&e.examples?.[0]!==void 0)return{value:e.examples[0]};if(`example`in e&&e.example!==void 0)return{value:e.example}}}})),rpn,f4,p4=c((()=>{TQ(),x_(),N1(),B$(),t2(),rpn=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},f4={schema:e=>{if(e===void 0)return;let t=b_(e,rpn);return z$(M1(mln,Z.Object({$ref:Z.Optional(Z.String())})),t)}}})),ipn,apn,m4,opn,spn,cpn,lpn,h4,g4,_4,v4,upn,y4,dpn,fpn,b4,ppn,x4,mpn,hpn,gpn,_pn,vpn,S4,ypn=c((()=>{f_(),Cq(),p4(),ipn=10,apn=`additionalProperty`,m4=new Date().toISOString(),opn=m4.split(`T`)[0],spn=m4.split(`T`)[1].split(`.`)[0],cpn={"date-time":m4,date:opn,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:spn,"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},lpn=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=f4.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},h4=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?`@filename`:t&&`format`in e&&e.format?cpn[e.format]??n:n,g4=new WeakMap,_4=new WeakMap,v4=e=>Sq(e,{depth:1}),upn=e=>{if(!e)return;let t=_4.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return _4.set(e,n),n}}},y4=(e,t,n)=>{if(typeof t!=`object`||!t)return t;let r=v4(e),i=g4.get(r)??new Map;return i&&i.set(n,t),g4.set(r,i),t},dpn=e=>!!(e.allOf||e.oneOf||e.anyOf),fpn=(e,t,n,r)=>{if(e.deprecated||r?.mode===`write`&&e.readOnly||r?.mode===`read`&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||`type`in e&&(e.type===`object`||e.type===`array`)||dpn(e)||`examples`in e&&Array.isArray(e.examples)&&e.examples.length>0||`example`in e&&e.example!==void 0||`default`in e&&e.default!==void 0||`const`in e&&e.const!==void 0||`enum`in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let i=n??e.title??``,a=upn(t);return!(a&&a.has(i))},b4=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,ppn=(e,t)=>[...e,t].join(`.`),x4=(e,t,n,r)=>{let i=n?.compositionSelection?.[ppn(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},mpn=(e,t,n,r,i,a)=>{let o={};if(`properties`in e&&e.properties){let i=Object.keys(e.properties),s=i.length;for(let c=0;c<s;c++){let s=i[c],l=f4.schema(e.properties[s]);if(!l)continue;let u=t?.xml&&`xml`in l?l.xml?.name:void 0,d=S4(l,t,{level:n+1,parentSchema:e,name:s,schemaPath:[...a,s],seen:r});d!==void 0&&(o[u??s]=d)}}if(`patternProperties`in e&&e.patternProperties)for(let i of Object.keys(e.patternProperties)){let s=f4.schema(e.patternProperties[i]);s&&(o[i]=S4(s,t,{level:n+1,parentSchema:e,name:i,schemaPath:[...a,i],seen:r}))}if(`additionalProperties`in e&&e.additionalProperties){let i=typeof e.additionalProperties==`boolean`?e.additionalProperties:f4.schema(e.additionalProperties),s=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,c=typeof i==`object`&&`x-additionalPropertiesName`in i&&typeof i[`x-additionalPropertiesName`]==`string`&&i[`x-additionalPropertiesName`].trim().length>0,l=c?void 0:lpn(e),u=c?i[`x-additionalPropertiesName`].trim():apn,d=s?`anything`:typeof i==`object`?S4(i,t,{level:n+1,schemaPath:[...a,u],seen:r}):`anything`;l&&l.length>0?o[String(l[0])]=d:o[u]=d}let s=e.oneOf?`oneOf`:e.anyOf?`anyOf`:void 0,c=s?e[s]:void 0;if(s&&c?.length){let e=x4(a,s,t,c.length)??0,i=f4.schema(c[e]);i&&Object.assign(o,S4(i,t,{level:n+1,schemaPath:a,seen:r}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=o;for(let a of e.allOf){let o=S4(f4.schema(a),t,{level:n+1,parentSchema:e,seen:r});i=b4(i,o)}i&&typeof i==`object`&&Object.assign(o,i)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=o,y4(e,t,i)}return y4(e,o,i)},hpn=(e,t,n,r,i,a)=>{let o=`items`in e?f4.schema(e.items):void 0,s=[...a,`items`],c=o&&typeof o==`object`&&`xml`in o?o.xml?.name:void 0,l=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&c);if(e.example!==void 0)return y4(e,l?{[c]:e.example}:e.example,i);if(o&&typeof o==`object`){if(Array.isArray(o.allOf)&&o.allOf.length>0){let a=o.allOf.filter(d_),u=f4.schema(a[0]);if(u&&typeof u==`object`&&`type`in u&&u.type===`object`){let o=S4({type:`object`,allOf:a},t,{level:n+1,parentSchema:e,schemaPath:s,seen:r});return y4(e,l?[{[c]:o}]:[o],i)}let d=a.map(i=>S4(f4.schema(i),t,{level:n+1,parentSchema:e,schemaPath:s,seen:r})).filter(d_);return y4(e,l?d.map(e=>({[c]:e})):d,i)}let a=o.oneOf?`oneOf`:o.anyOf?`anyOf`:void 0,u=a?o[a]:void 0;if(a&&u&&u.length>0){let o=u[x4(s,a,t,u.length)??0],d=S4(f4.schema(o),t,{level:n+1,parentSchema:e,schemaPath:s,seen:r});return y4(e,l?[{[c]:d}]:[d],i)}}let u=o&&typeof o==`object`&&(`type`in o&&o.type===`object`||`properties`in o),d=o&&typeof o==`object`&&(`type`in o&&o.type===`array`||`items`in o);if(o&&typeof o==`object`&&(`type`in o&&o.type||u||d)){let a=S4(o,t,{level:n+1,schemaPath:s,seen:r});return y4(e,l?[{[c]:a}]:[a],i)}return y4(e,[],i)},gpn=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return h4(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`array`:return[];default:return}},_pn=(e,t,n)=>{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 h4(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`null`:return null;default:return}}},vpn=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}),S4=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[]}={})=>{let s=f4.schema(e);if(!d_(s))return;let c=v4(s);if(a.has(c))return;a.add(c);let l=vpn(t)+(o.length>0?`:path:${o.join(`.`)}`:``),u=g4.get(c)?.get(l);if(u!==void 0)return a.delete(c),u;if(n>ipn)return a.delete(c),`[Max Depth Exceeded]`;let d=!!t?.emptyString;if(fpn(s,r,i,t)){a.delete(c);return}if(`x-variable`in s&&s[`x-variable`]){let e=t?.variables?.[s[`x-variable`]];if(e!==void 0)return`type`in s&&(s.type===`number`||s.type===`integer`)?(a.delete(c),y4(s,Number(e),l)):(a.delete(c),y4(s,e,l))}if(Array.isArray(s.examples)&&s.examples.length>0)return a.delete(c),y4(s,s.examples[0],l);if(s.example!==void 0)return a.delete(c),y4(s,s.example,l);if(s.default!==void 0)return a.delete(c),y4(s,s.default,l);if(s.const!==void 0)return a.delete(c),y4(s,s.const,l);if(Array.isArray(s.enum)&&s.enum.length>0)return a.delete(c),y4(s,s.enum[0],l);if(`properties`in s||`type`in s&&s.type===`object`){let e=mpn(s,t,n,a,l,o);return a.delete(c),e}if(`type`in s&&s.type===`array`||`items`in s){let e=hpn(s,t,n,a,l,o);return a.delete(c),e}let f=gpn(s,d,t?.emptyString);if(f!==void 0)return a.delete(c),y4(s,f,l);let p=s.oneOf?`oneOf`:s.anyOf?`anyOf`:void 0,m=p?s[p]:void 0;if(p&&Array.isArray(m)&&m.length>0){let e=x4(o,p,t,m.length),r=e===void 0?m.find(e=>{let t=f4.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):m[e];if(r){let e=f4.schema(r);if(e)return a.delete(c),y4(s,S4(e,t,{level:n+1,schemaPath:o,seen:a}),l)}return a.delete(c),y4(s,null,l)}if(Array.isArray(s.allOf)&&s.allOf.length>0){let e,r=s.allOf;for(let i of r){let r=S4(i,t,{level:n+1,parentSchema:s,schemaPath:o,seen:a});e===void 0?e=r:e&&typeof e==`object`&&r&&typeof r==`object`?e=b4(e,r):r!==void 0&&(e=r)}return a.delete(c),y4(s,e??null,l)}let h=_pn(s,d,t?.emptyString);return h===void 0?(a.delete(c),y4(s,null,l)):(a.delete(c),y4(s,h,l))}})),C4,bpn=c((()=>{x_(),npn(),d4(),ypn(),C4=(e,t,n,r)=>{let i=e.content?.[t],a=u4(e,n,t);if(a)return a;let o=b_(i?.schema);if(!o)return null;let s=S4(tpn(o),{mode:`write`,compositionSelection:r},{schemaPath:[`requestBody`]});return s?{value:s}:null}})),w4,xpn=c((()=>{w4=(e,t=`default`)=>e?.[`x-scalar-selected-content-type`]?.[t]??Object.keys(e?.content??{})[0]??null})),Spn,Cpn=c((()=>{Spn=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}}})),T4,wpn=c((()=>{Cpn(),T4=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;let r=new URL(t,`https://example.com`);return!(e.domain&&!Spn(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))}})),Tpn,Epn,Dpn,Opn,kpn=c((()=>{wpn(),Tpn="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.",Epn=`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:
|
||
|
||
- The browser URL must be on the same domain as the server URL.
|
||
- The connection must be made over HTTPS.
|
||
`,Dpn=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},Opn=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=Dpn(e.filter(e=>T4({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(Tpn),{name:`X-Scalar-Cookie`,value:i}):(console.warn(Epn),{name:`Cookie`,value:i}):null}})),Apn,jpn,Mpn,Npn,Ppn=c((()=>{Apn={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},jpn=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>Apn[t.toUpperCase()]??e),Mpn=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},Npn=(e,t)=>{if(t.size===0)return e;let n=e.indexOf(`?`);if(n===-1)return e;let r=e.indexOf(`#`,n),i=e.slice(0,n+1),a=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?``:e.slice(r);return a?`${i}${a.split(`&`).map(e=>{if(!e)return e;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i=Mpn(r);return!t.has(i)||n===-1?e:`${r}=${jpn(e.slice(n+1))}`}).join(`&`)}${o}`:e}})),Fpn,Ipn=c((()=>{Pv(),Vv(),Fpn=(e,t)=>{let n=t.envVariables,r=Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(Nv(t,n))])),i=Bv(Nv(e.baseUrl,n),Mv(e.path.raw,r)),a=globalThis.window?.location?.origin??`http://localhost:3000`,o=new URL(i,a);for(let[t,r]of e.query.entries())o.searchParams.set(Nv(t,n),Nv(r,n));for(let[e,n]of t.securityQueryParams.entries())o.searchParams.set(e,n);return o.toString()}})),E4,Lpn=c((()=>{Pv(),qv(),ON(),kpn(),Ppn(),Ipn(),E4=(e,t)=>{let n=new AbortController,r=(()=>{let n=t.envVariables,r=new Headers;return e.headers.forEach((e,t)=>{r.set(Nv(t,n),Nv(e,n))}),r})(),i=(()=>{let n=t.envVariables;if(e.body?.mode===`raw`)return typeof e.body.value==`string`?Nv(e.body.value,n):e.body.value;if(e.body?.mode===`formdata`){let t=new FormData;return e.body.value.forEach(e=>{if(e.type===`text`){t.append(Nv(e.key,n),Nv(e.value,n));return}t.append(Nv(e.key,n),e.value)}),t}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[Nv(e.key,n),Nv(e.value,n)])):null})(),a=new URLSearchParams,o=[];e.options?.disableSecurity||e.security.forEach(e=>{let n=Nv(e.name,t.envVariables),i=(()=>{let n=Nv(e.value,t.envVariables);return e.format===`basic`?`Basic ${DN(n)}`:e.format===`bearer`?`Bearer ${n}`:n})();if(e.in===`header`){r.set(n,i);return}if(e.in===`query`){a.set(n,i);return}e.in===`cookie`&&o.push({name:n,value:i,isDisabled:!1})});let s=Fpn(e,{envVariables:t.envVariables,securityQueryParams:a}),c=Kv(e.proxyUrl,s),l=Opn({cookies:[...e.cookies,...o].map(e=>({...e,name:Nv(e.name,t.envVariables),value:Nv(e.value,t.envVariables)})),originalCookieHeader:r.get(`cookie`),url:s,useCustomCookieHeader:(c||e.options?.isElectron)??!1});l&&r.set(l.name,l.value);let u=Npn(s,e.allowedReservedQueryParameters??new Set),d=c?Gv(e.proxyUrl,u):u;return{request:new Request(d,{method:e.method.toUpperCase(),headers:r,body:i,cache:e.cache,signal:n.signal}),controller:n,isUsingProxy:c}}})),D4,Rpn,zpn,Bpn,Vpn=c((()=>{x_(),D4=(e,t)=>`content`in t?Rpn(e,Object.keys(t.content??{})[0]??``):`schema`in t?Bpn(e,t.schema):e,Rpn=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{}return e},zpn=new Set([`array`,`object`,`boolean`,`number`,`integer`,`null`]),Bpn=(e,t)=>{let n=b_(t);if(typeof e==`string`&&n&&`type`in n){let t=Array.isArray(n.type)?n.type[0]:n.type;if(t&&zpn.has(t))try{return JSON.parse(e)}catch{if(t===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e}})),O4,k4,A4,j4,M4,N4,P4,Hpn=c((()=>{O4=(e,t)=>typeof e==`string`?e:t.includes(`json`)||typeof e==`object`&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),k4=(e,t)=>{if(Array.isArray(e))return e.join(`,`);if(typeof e==`object`&&e){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(`,`):n.map(([e,t])=>`${e},${t}`).join(`,`)}return e},A4=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:``,value:e})):Array.isArray(e)?e.join(`,`):typeof e==`object`&&e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(`,`):e,j4=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:``,value:e}));if(Array.isArray(e))return e.map(e=>e===null?`null`:String(e)).join(`,`);if(typeof e==`object`&&e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if(typeof e==`object`&&e){let t=e=>{let n=[];for(let[r,i]of Object.entries(e))typeof i==`object`&&i&&!Array.isArray(i)?n.push(r,...t(i)):n.push(r,i===null?`null`:String(i));return n};return t(e).join(`,`)}return e},M4=e=>Array.isArray(e)?e.join(` `):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),N4=e=>Array.isArray(e)?e.join(`|`):typeof e==`object`&&e?Object.entries(e).flat().join(`|`):String(e),P4=(e,t)=>{let n=[],r=(e,t)=>{for(let[i,a]of Object.entries(e)){let e=`${t}[${i}]`;typeof a==`object`&&a&&!Array.isArray(a)?r(a,e):n.push({key:e,value:String(a)})}};return typeof t==`object`&&t&&!Array.isArray(t)&&r(t,e),n}})),F4,Upn=c((()=>{F4=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{})})),I4,L4=c((()=>{UF(),I4=e=>e?HF(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{}})),R4,Wpn=c((()=>{Pv(),Vv(),L4(),R4=({server:e,path:t,urlParams:n})=>{let r=I4(e);return Bv(jv(e?.url??``,r),t,n)}})),z4,Gpn=c((()=>{f_(),z4=(e,t=``)=>{let n=[];return e.forEach(e=>{if(e.type===`apiKey`){let r=e.name,i=e[`x-scalar-secret-token`]||t;if(e.in===`header`)return n.push({in:e.in,name:r,value:i});if(e.in===`query`)return n.push({in:`query`,name:r,value:i});if(e.in===`cookie`)return n.push({in:`cookie`,name:r,value:i})}if(e.type===`http`){if(e.scheme===`basic`){let t=`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`;return n.push({in:`header`,name:`Authorization`,value:t===`:`?`username:password`:t,format:`basic`})}let r=e[`x-scalar-secret-token`];return n.push({in:`header`,name:`Authorization`,value:r||t,format:`bearer`})}if(e.type===`oauth2`){let r=Object.values(e?.flows??{}).filter(d_).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]??``;return n.push({in:`header`,name:`Authorization`,value:r||t,format:`bearer`})}if(e.type===`openIdConnect`){let r=Object.values(e?.flows??{}).filter(d_).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]??``;return n.push({in:`header`,name:`Authorization`,value:r||t,format:`bearer`})}return null}),n}})),Kpn,qpn,Jpn=c((()=>{Cq(),bpn(),xpn(),Kpn=(e,t,n)=>e.content[t]?.encoding?.[n]?.contentType,qpn=(e,t=`default`,n)=>{if(!e)return null;let r=w4(e,t);if(!r)return null;let i=C4(e,r,t,n);if(!i)return null;if((r===`multipart/form-data`||r===`application/x-www-form-urlencoded`)&&Array.isArray(i.value)){let t=(Array.isArray(i.value)?i.value:[]).filter(e=>!e.isDisabled),n=r===`multipart/form-data`?{mode:`formdata`,value:[]}:{mode:`urlencoded`,value:[]};return t.forEach(({name:t,value:i})=>{if(!t)return;let a=n.mode===`formdata`?Kpn(e,r,t):void 0;if(i instanceof File&&n.mode===`formdata`){let e=Sq(i),r=a&&a!==e.type?new File([e],e.name,{type:a,lastModified:e.lastModified}):e;return n.value.push({type:`file`,key:t,value:r,contentType:a})}if(i!=null){let e=typeof i==`object`&&i?JSON.stringify(Sq(i)):String(i);return n.mode===`formdata`&&a?n.value.push({type:`blob`,key:t,value:new Blob([e],{type:a}),contentType:a}):n.value.push({type:`text`,key:t,value:e})}}),n}if(r===`application/x-www-form-urlencoded`&&i.value!==null&&typeof i.value==`object`&&!Array.isArray(i.value)){let e={mode:`urlencoded`,value:[]};for(let[t,n]of Object.entries(i.value))if(t&&n!=null){let r=typeof n==`string`?n:String(n);e.value.push({key:t,value:r})}return e}let a=i.value!==null&&typeof i.value==`object`?Sq(i.value):i.value;return a instanceof File?{mode:`raw`,value:a,contentType:a.type}:typeof a==`object`?{mode:`raw`,value:JSON.stringify(a),contentType:`application/json`}:{mode:`raw`,value:a}}})),Ypn,Xpn=c((()=>{Ypn=(e,t)=>{let n=t?.[`x-disabled`];return typeof n==`boolean`?n:!e.required&&e.in!==`path`}})),B4,Zpn,Qpn,$pn,V4,emn,tmn,nmn=c((()=>{f_(),T_(),x_(),UQ(),B$(),Vpn(),d4(),Xpn(),Hpn(),B4=(e,t)=>`explode`in e&&e.explode!==void 0?e.explode:t,Zpn=(e=[],t=`default`)=>{let n={cookies:[],headers:{},pathVariables:{},allowReservedQueryParameters:new Set,urlParams:new URLSearchParams};if(e.length===0)return n;for(let r of e){let e=b_(r),i=u4(e,t,void 0);if(!i||Ypn(e,i))continue;let a=i.value,o=D4(a,e),s=e.name;switch(e.in){case`header`:{if(s.toLowerCase()===`content-type`&&o===`multipart/form-data`)break;let t=k4(o,B4(e,!1));if(!d_(t))break;let r=String(t);n.headers[s]?n.headers[s]=`${n.headers[s]},${r}`:n.headers[s]=r;break}case`path`:{let t=k4(o,B4(e,!1));n.pathVariables[s]=String(t);break}case`query`:emn(e,s,o,n.urlParams,n.allowReservedQueryParameters);break;case`cookie`:tmn(s,o,B4(e,!0),n.cookies);break}}return n},Qpn=(e,t)=>!(`style`in e)||!e.style?`form`:e.style===`deepObject`?w_(t)?`deepObject`:`form`:e.style,$pn=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,V4=(e,t,...n)=>{if(t)for(let t of n)e.add(t)},emn=(e,t,n,r,i)=>{let a=`explode`in e&&e.explode!==void 0?e.explode:!0,o=$pn(e),s=Qpn(e,n);if(`content`in e&&e.content){let a=O4(n,Object.keys(e.content)[0]??`application/json`);r.set(t,a),V4(i,o,t);return}if(s===`deepObject`&&a){let e=P4(t,n);for(let n of e)r.append(n.key,n.value),V4(i,o,t);return}if(s===`spaceDelimited`){let e=M4(n),a=r.get(t);r.set(t,a?`${a} ${e}`:e),V4(i,o,t);return}if(s===`pipeDelimited`){let e=N4(n),a=r.get(t);r.set(t,a?`${a}|${e}`:e),V4(i,o,t);return}let c=A4(n,a);if(Array.isArray(c))for(let e of c){let n=e.key||t;r.append(n,String(e.value)),V4(i,o,t)}else r.append(t,String(c)),V4(i,o,t)},tmn=(e,t,n,r)=>{let i=j4(t,n);if(Array.isArray(i))for(let t of i){let n=t.key||e;r.push(z$(HQ,{name:n,value:String(t.value),path:`/`}))}else r.push(z$(HQ,{name:e,value:String(i),path:`/`}))}})),rmn,imn=c((()=>{_v(),Pv(),x_(),L4(),Gpn(),Jpn(),nmn(),rmn=({exampleName:e,globalCookies:t,method:n,operation:r,path:i,proxyUrl:a,server:o,defaultHeaders:s,isElectron:c,selectedSecuritySchemes:l,requestBodyCompositionSelection:u})=>{let d=b_(r.requestBody),f=Zpn(r.parameters??[],e),p=z4(l),m=new Headers({...s,...f.headers}),h=gv(n)?qpn(d,e,u):null;(h?.mode===`formdata`||h?.mode===`urlencoded`)&&m.delete(`Content-Type`);let g=I4(o),_=Mv(o?.url??``,g),v=m.get(`User-Agent`);c&&v&&m.set(`X-Scalar-User-Agent`,v);let y=r[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[e]??{},b=[...t.map(e=>({...e,isDisabled:(e.isDisabled||y[e.name.toLowerCase()])??!1})),...f.cookies],x=m.get(`Accept`)?.toLowerCase().includes(`text/event-stream`)??!1,ee=x?`no-store`:`default`;return x&&(m.set(`Cache-Control`,`no-cache`),m.set(`Pragma`,`no-cache`)),{request:{baseUrl:_,proxyUrl:a,path:{variables:f.pathVariables,raw:i},query:f.urlParams,method:n.toUpperCase(),headers:m,body:h,cookies:b,cache:ee,security:p,options:{isElectron:c},allowedReservedQueryParameters:f.allowReservedQueryParameters}}}})),amn=c((()=>{bpn(),xpn(),Lpn(),Vpn(),wpn(),Hpn(),Upn(),d4(),ypn(),Wpn(),L4(),imn(),Gpn()})),H4,omn=c((()=>{W$(),B$(),H4=(e,t)=>{if(e===null)return{name:null,environment:z$(U$,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:z$(U$,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=t?.[`x-scalar-environments`]?.[n]??{variables:[]};return{name:n,environment:z$(U$,{...r,...i,variables:[...r.variables,...i.variables]})}}})),smn,cmn,lmn=c((()=>{_v(),x_(),smn=`*/*`,cmn=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,options:i={isElectron:!1,appVersion:`0.0.0`}})=>{let a=t[`x-scalar-disable-parameters`]?.[`default-headers`]?.[n]??{},o=new Headers,s=b_(t.requestBody);if(gv(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&o.set(`Content-Type`,e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?b_(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||smn;return o.set(`Accept`,u),i.isElectron&&i.appVersion&&o.set(`User-Agent`,`Scalar/${i.appVersion}`),r?Object.fromEntries(Array.from(o.entries()).filter(([e])=>a[e.toLowerCase()]!==!0)):Object.fromEntries(o.entries())}})),U4,umn=c((()=>{x_(),U4=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=b_(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=b_(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]}})),dmn,W4,fmn=c((()=>{dmn=e=>e===`web`?`https://proxy.scalar.com`:null,W4=(e,t)=>e===void 0?dmn(t):e})),G4,pmn=c((()=>{G4=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[]})),K4,mmn=c((()=>{m_(),x_(),K4=(e,t)=>t.flatMap(t=>p_(t).flatMap(t=>b_(e?.[t])||[]))??[]})),q4,hmn=c((()=>{q4=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t}})),J4,gmn,_mn,Y4,vmn=c((()=>{x_(),hmn(),J4=e=>!e||e.type!==`oauth2`?[]:e[`x-default-scopes`]??[],gmn=(e,t)=>{let n=!1,r=Object.fromEntries(Object.entries(e).map(([e,r])=>{if(Array.isArray(r)&&r.length>0)return[e,r];let i=b_(t[e]),a=i?.type===`oauth2`?i[`x-default-scopes`]:void 0;return Array.isArray(a)&&a.length>0?(n=!0,[e,[...a]]):[e,r]}));return n?r:e},_mn=(e,t)=>{if(!Array.isArray(e)){let n=b_(t[e]);return{[e]:J4(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r)n[e]=J4(b_(t[e]));else n[r]=J4(b_(t[r]));return n},Y4=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(q4(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[_mn(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[gmn(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}}})),X4,Z4=c((()=>{X4=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=X4(e[r],t)}),n}})),ymn,Q4,$4,e3,t3,bmn,xmn=c((()=>{T_(),UF(),ymn={"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`},Q4=(e,t,n={})=>Object.fromEntries(e.map(e=>[e,n[e]||t[e]||t[ymn[e]]||``])),$4=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},e3=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},t3=(e,t)=>{let n=new Set;return{flows:HF(e??{}).reduce((e,[r,i])=>{if(!w_(i))return e;let a=i.selectedScopes;return Array.isArray(a)&&a.forEach(e=>typeof e==`string`&&n.add(e)),r===`implicit`&&(e.implicit={...i,...Q4([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],i,t?.implicit),...$4(t?.implicit)}),r===`password`&&(e[r]={...i,...Q4([`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`],i,t?.password),...e3(i,t?.password),...$4(t?.password)}),r===`clientCredentials`&&(e[r]={...i,...Q4([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],i,t?.clientCredentials),...e3(i,t?.clientCredentials),...$4(t?.clientCredentials)}),r===`authorizationCode`&&(e[r]={...i,...Q4([`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`],i,t?.authorizationCode),...e3(i,t?.authorizationCode),...$4(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(n)}},bmn=(e,t,n,r)=>{let i=t.getAuthSecrets(r,n);if(e.type===`apiKey`){let t=i?.type===`apiKey`?i:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.value||``}}if(e.type===`http`){let t=i?.type===`http`?i:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.token||``,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||e.password||``}}if(e.type===`oauth2`){let t=i?.type===`oauth2`?i:void 0,n=t3(e.flows,t),r=Array.isArray(e[`x-default-scopes`])?e[`x-default-scopes`].filter(e=>typeof e==`string`):[],a=Array.from(new Set([...r,...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":a}}if(e.type===`openIdConnect`){let t=i?.type===`openIdConnect`?i:void 0,n=t3({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t);return{...e,...HF(n.flows).length?{flows:n.flows}:{}}}return e}})),n3,Smn=c((()=>{UF(),Z4(),x_(),jq(),B$(),t2(),xmn(),n3=(e={},t={},n,r)=>HF(Aq(HF(e).reduce((e,[t,n])=>{let r=X4(b_(n));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,i])=>(e[t]=bmn({...z$(hln,i),...i},n,t,r),e),{})}));function r3(e,t={}){return Array.isArray(e)?e.map(e=>Emn(e,t)):[]}function Cmn(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function wmn(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function Tmn(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return zv(n,e);if(r){let t=Cmn(r);if(t)return zv(t,e)}let i=wmn();return i?zv(i,e):e}function Emn(e,t){return e.url?.startsWith(`/`)&&(e.url=Tmn(e.url,t)),e}var i3,Dmn=c((()=>{Vv(),i3=(e,t,n,r)=>{let i=n==null?t?.[`x-scalar-selected-server`]??e?.[`x-scalar-selected-server`]:e?.[`x-scalar-selected-server`];return i==null?r[0]??null:r.find(({url:e})=>e===i)??null}})),Omn,kmn=c((()=>{x_(),omn(),lmn(),umn(),fmn(),pmn(),mmn(),vmn(),Smn(),Dmn(),Omn=(e,t,n,r={})=>{let{path:i,method:a,exampleName:o}=n,s=e.workspace.documents[t]??r.fallbackDocument??void 0;if(!s)return{ok:!1,error:`Document ${t} not found`};let c=b_(s.paths?.[i]);if(!c)return{ok:!1,error:`Path ${i} not found`};let l=b_(c[a]);if(!l)return{ok:!1,error:`Method ${a} not found on path ${i}`};let u={...l,parameters:U4(c.parameters,l.parameters??[])},d=H4(e,s),f=r3(r.servers??u.servers??s.servers,{baseServerUrl:r.baseServerUrl,documentUrl:s[`x-scalar-original-source-url`]}),p=i3(s,u,r.servers??null,f),m=e.auth.getAuthSelectedSchemas({type:`document`,documentName:t}),h=e.auth.getAuthSelectedSchemas({type:`operation`,documentName:t,path:i??``,method:a??`get`}),g=n3(s.components?.securitySchemes??{},r.authentication?.securitySchemes??{},e.auth,t),_=G4(s.security,u.security),v=Y4(m,h,_,g,r.authentication?.preferredSecurityScheme),y=K4(g,v.selectedSchemes),b=u.servers==null?{type:`document`}:{type:`operation`,path:i??``,method:a??`get`},x=h===void 0?{type:`document`}:{type:`operation`,path:i??``,method:a??`get`},ee=W4(e.workspace[`x-scalar-active-proxy`],r.layout??`other`),S=cmn({method:a,operation:u,exampleName:o,options:{appVersion:r.appVersion??`0.0.0`,isElectron:r.isElectron??!1}});return{ok:!0,data:{operation:u,environment:d,cookies:{workspace:e.workspace[`x-scalar-cookies`]??[],document:s[`x-scalar-cookies`]??[]},headers:{default:S},servers:{list:f,selected:p,meta:b},proxy:{url:ee},security:{schemes:g,requirements:_,selected:v,selectedSchemes:y,meta:x}}}}})),Amn=c((()=>{omn(),kmn(),umn(),fmn(),pmn(),mmn(),vmn(),hmn(),Smn(),Dmn()}));function jmn(){let e=[],t=[],n=[],r=[];return{getEnvironment:()=>e,getGlobals:()=>n,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=>{n.length=0,n.push(...e)},getVariables:()=>Object.fromEntries([...n,...t,...e,...r].map(e=>[e.key,e.value]))}}var Mmn=c((()=>{})),a3=c((()=>{amn(),Amn(),Mmn()})),Nmn,Pmn,Fmn=c((()=>{c4(),a3(),x_(),Nmn=e=>e==null?!0:typeof e==`string`?e.trim()===``:!1,Pmn=(e=[],t=`default`)=>{let n=[];for(let r of e){let e=b_(r);if(e.in!==`path`)continue;let i=u4(e,t,void 0);s4(e,i)||Nmn(i?.value)&&n.push(e.name)}return n.length>0?{ok:!1,invalidParams:n}:{ok:!0}}})),o3,s3,c3=c((()=>{U(),ZI(),o3=e=>`custom/${e.lang}`,s3=(e=GF)=>{let t=new Set(e);return XI().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let r=`${e.key}/${n.client}`;return t.has(r)?{id:r,lang:n.client===`curl`?`curl`:e.key,title:`${Sl(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return n.length===0?[]:{label:e.title,key:e.key,options:n}})}})),l3,Imn=c((()=>{l3=e=>{if(e instanceof File)return e.name}})),Lmn,Rmn,zmn,Bmn,Vmn,Hmn,Umn=c((()=>{U(),Y(),Lmn={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`},Rmn={class:`text-c-1 whitespace-nowrap`},zmn={class:`text-c-1 overflow-hidden text-ellipsis`},Bmn={class:`overflow-hidden text-ellipsis`},Vmn={class:`flex h-4 w-4 items-center justify-center`},Hmn=j({__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 n=e,r=t,i=H(()=>n.value??[]),a=O(!1),o=O(``),s=O(null);nd(o,e=>{r(`update:modelValue`,e)});let c=e=>{r(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||r(`update:modelValue`,``),a.value=!1},d=e=>n.modelValue.toString()===e;nd(a,e=>{e&&Ku(()=>{s.value?.focus()})});let f=H(()=>n.modelValue===void 0?n.default:n.modelValue),p=H(()=>i.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=H(()=>{let e=new Set(n.modelValue.toString().split(`,`));return p.value.filter(t=>e.has(t.id))}),h=e=>{r(`update:modelValue`,e.map(e=>e.value).join(`,`))};return(t,n)=>(N(),P(`div`,Lmn,[e.type===`array`?(N(),F(k(Pj),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:A(()=>[V(k(KS),{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:A(()=>[I(`span`,Rmn,D(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),V(k(nM),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?Xu((N(),P(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.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:em(l,[`enter`])},null,544)),[[Xp,o.value]]):(N(),F(k(Rj),{key:2,resize:``,value:f.value},{items:A(()=>[(N(!0),P(B,null,yd(i.value,e=>(N(),F(k(Hj),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:A(()=>[I(`div`,{class:E([`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`])},[V(k(nM),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),I(`span`,Bmn,D(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(N(),P(B,{key:0},[i.value.length?(N(),F(k(Vj),{key:0})):R(``,!0),V(k(Hj),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:A(()=>[I(`div`,Vmn,[V(k(nM),{icon:`Add`,size:`sm`})]),n[2]||=I(`span`,null,`Add value`,-1)]),_:1})],64)):R(``,!0)]),default:A(()=>[V(k(KS),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:A(()=>[I(`span`,zmn,D(f.value??`Select a value`),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}})})),u3,Wmn=c((()=>{Umn(),u3=Hmn})),Gmn,Kmn,qmn,Jmn,Ymn,Xmn=c((()=>{U(),Y(),EC(),aw(),YP(),Gmn={key:0,class:`gap-1/2 flex flex-col`},Kmn=[`onClick`],qmn={class:`flex items-center gap-2 whitespace-nowrap`},Jmn={class:`w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap`},Ymn=j({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{}},emits:[`select`,`redirect`],setup(e,{expose:t,emit:n}){let r=n,i=O(!0),a=O(null),o=O(0),s=()=>{r(`redirect`),i.value=!1},c=H(()=>e.environment.variables.map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),l=new JP(c.value,{keys:[`key`,`value`]}),u=H(()=>{if(!e.query)return c.value.slice(-4).filter(({key:e,value:t})=>e!==``||t!==``);let t=l.search(e.query,{limit:10});return t.length>0?t.map(e=>e.item).filter(({key:e,value:t})=>e!==``||t!==``):[]}),d=e=>{r(`select`,e)};t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=u.value.length;n!==0&&(o.value=(o.value+t+n)%n)},handleSelect:()=>{if(o.value>=0){let e=u.value[o.value];e&&d(e.key)}}}),Af(()=>{o.value=0});let f=H(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return XC(a,()=>{i.value=!1},{ignore:[a]}),(t,n)=>i.value?(N(),F(k(PA),{key:0,class:`scalar-client`},{default:A(()=>[I(`div`,{ref_key:`dropdownRef`,ref:a,class:`custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75`,style:Kc(f.value)},[u.value.length?(N(),P(`ul`,Gmn,[(N(!0),P(B,null,yd(u.value,(t,n)=>(N(),P(`li`,{key:t.key,class:E([`font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150`,{"bg-b-2":n===o.value}]),onClick:e=>d(t.key)},[I(`div`,qmn,[I(`span`,{class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:Kc({backgroundColor:e.environment.color})},null,4),L(` `+D(t.key),1)]),I(`span`,Jmn,D(t.value),1)],10,Kmn))),128))])):(N(),F(k(KS),{key:1,class:`font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150`,variant:`outlined`,onClick:s},{default:A(()=>[V(k(yC),{class:`size-3`}),n[0]||=L(` Add Variable `,-1)]),_:1})),n[1]||=I(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],4)]),_:1})):R(``,!0)}})})),Zmn,Qmn=c((()=>{Xmn(),Zmn=Ymn})),$mn,ehn,thn,nhn=c((()=>{U(),Y(),qK(),Ov(),$mn=class e extends Pz{app;pillColor;variableInfo;constructor(e,t){super(),this.variableName=e,this.pillColor=t?.color||`var(--scalar-color-1)`;let n=t?.variables?.find(t=>t.name===e),r=n?typeof n.value==`string`?n.value:n.value?.default:void 0;this.variableInfo={value:r||`No value`,hasValue:!!r}}toDOM(){let e=document.createElement(`span`);return e.className=`cm-pill`,e.textContent=this.variableName,e.style.setProperty(`--tw-bg-base`,this.pillColor),e.style.opacity=this.variableInfo.hasValue?`1`:`0.5`,this.app=im(j({render:()=>{let e=Yd(`div`,{class:`flex items-center gap-1 whitespace-nowrap`},[Yd(`span`,this.variableName)]);return Yd(mM,{content:this.variableInfo.value,delay:0,placement:`bottom`,offset:6},{default:()=>e})}})),this.app.mount(e),e}destroy(){this.app&&=(this.app.unmount(),null)}eq(t){return t instanceof e&&t.variableName===this.variableName&&t.pillColor===this.pillColor&&t.variableInfo.value===this.variableInfo.value&&t.variableInfo.hasValue===this.variableInfo.hasValue}ignoreEvent(){return!1}},ehn=e=>hB.fromClass(class{decorations;lastEnvironment;constructor(t){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){if(e.environment!==this.lastEnvironment){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t.view);return}(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))}buildDecorations(t){let n=new _R;for(let{from:r,to:i}of t.visibleRanges){let a=t.state.doc.sliceString(r,i),o=new RegExp(Dv.VARIABLES.source,Dv.VARIABLES.flags),s;for(;(s=o.exec(a))!==null;){let i=r+s.index,a=i+s[0].length,o=s[1]??``;t.state.doc.sliceString(i,a).includes(`
|
||
`)||n.add(i,a,Iz.widget({widget:new $mn(o,e.environment),side:1}))}}return n.finish()}},{decorations:e=>e.decorations}),thn=lV.domEventHandlers({keydown(e,t){if(e.key!==`Backspace`)return!1;let{state:n}=t,{from:r,to:i}=n.selection.main;return r===0&&i===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===i&&r>=2&&n.doc.sliceString(r-2,r)===`}}`?(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0):!1}})})),rhn,ihn,ahn,ohn,shn,chn,lhn,uhn=c((()=>{Wmn(),Qmn(),nhn(),U(),f_(),qK(),Bg(),rhn={class:`whitespace-nowrap`},ihn=[`id`],ahn={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`},ohn={key:5,class:`centered-y text-orange absolute right-7 text-xs`},shn={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1`},chn={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`},lhn=j({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},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:n}){let r=n,i=Cd(),a=i.id||`id-${zg()}`,o=O(!1),s=H(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),c=H(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),l=H(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),u=t=>{!e.alwaysEmitChange&&t===v(e.modelValue)||(e.handleFieldChange?e.handleFieldChange(t):r(`update:modelValue`,t))},d=(t,n)=>{e.handleFieldSubmit?e.handleFieldSubmit(t):r(`submit`,t,n)},f=(t,n)=>{o.value=!1,e.emitOnBlur&&e.modelValue&&d(t,n),r(`blur`,t,n)},p=e=>r(`update:modelValue`,e),m=()=>{let t=[...e.extensions];return e.colorPicker&&t.push(jU),t},h=H(()=>ehn({environment:e.environment,isReadOnly:e.layout===`modal`})),g=H(()=>[...m(),h.value,thn]),_=O(null),v=e=>typeof e==`string`?e:JSON.stringify(e),{codeMirror:y,setCodeMirrorContent:b}=GK({content:du(()=>v(e.modelValue)),onChange:e=>{u(e),ne()},onFocus:()=>{o.value=!0},onBlur:f,codeMirrorRef:_,disableTabIndent:du(()=>e.disableTabIndent),disableEnter:du(()=>e.disableEnter),disableCloseBrackets:du(()=>e.disableCloseBrackets),lineNumbers:du(()=>e.lineNumbers),language:du(()=>e.language),lint:du(()=>e.lint),extensions:g,placeholder:du(()=>e.placeholder)});nd(y,()=>{y.value&&Object.hasOwn(i,`autofocus`)&&y.value.focus()});let x=O(!1),ee=O(``),S=O({left:0,top:0}),C=O(null),{handleDropdownSelect:te,updateDropdownVisibility:ne}=oKt({codeMirror:y,query:ee,showDropdown:x,dropdownPosition:S}),re=H(()=>x.value&&e.withVariables&&e.layout!==`modal`&&!!e.environment),w=(t,n)=>{if(x.value){t===`down`||t===`up`?(n.preventDefault(),C.value?.handleArrowKey(t)):t===`enter`&&(n.preventDefault(),C.value?.handleSelect());return}t===`escape`&&!e.disableTabIndent&&n.stopPropagation(),t===`enter`&&n.target instanceof HTMLDivElement&&d(n.target.textContent??``,n)};return t({focus:e=>{if(!y.value||(y.value.focus(),!d_(e)))return;let t=e===`start`?0:e===`end`?y.value.state.doc.length:e;y.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:o,handleChange:u,handleSubmit:d,handleBlur:f,booleanOptions:c,codeMirror:y,codeMirrorRef:_,modelValue:e.modelValue,setCodeMirrorContent:b,cursorPosition:()=>y.value?.state.selection.main.head,serializeValue:v}),(t,n)=>(N(),P(B,null,[e.disabled?(N(),P(`div`,{key:0,class:E([`text-c-2 flex cursor-default items-center justify-center`,{"font-code pr-2 pl-1 text-base":e.layout===`modal`,"px-2":e.layout!==`modal`,"line-through":e.linethrough}]),"data-testid":`code-input-disabled`},[I(`span`,rhn,D(e.modelValue),1)],2)):e.enum?.length?(N(),F(u3,{key:1,default:e.default,modelValue:e.modelValue,type:l.value,value:e.enum,"onUpdate:modelValue":p},null,8,[`default`,`modelValue`,`type`,`value`])):s.value?(N(),F(u3,{key:2,default:e.default,modelValue:e.modelValue,value:c.value,"onUpdate:modelValue":p},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(N(),F(u3,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":p},null,8,[`default`,`modelValue`,`value`])):(N(),P(`div`,z({key:4,id:k(a)},t.$attrs,{ref_key:`codeMirrorRef`,ref:_,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:[n[0]||=em($p(e=>w(`down`,e),[`stop`]),[`down`]),n[1]||=em(e=>w(`enter`,e),[`enter`]),n[2]||=em(e=>w(`escape`,e),[`escape`]),n[3]||=em($p(e=>w(`up`,e),[`stop`]),[`up`])]}),[e.disableTabIndent?R(``,!0):(N(),P(`div`,ahn,[...n[5]||=[L(` Press `,-1),I(`kbd`,{class:`-mx-0.25 rounded border px-0.5 font-mono`},`Esc`,-1),L(` then `,-1),I(`kbd`,{class:`-mx-0.25 rounded border px-0.5 font-mono`},`Tab`,-1),L(` to exit `,-1)]]))],16,ihn)),t.$slots.warning?(N(),P(`div`,ohn,[M(t.$slots,`warning`,{},void 0,!0)])):R(``,!0),t.$slots.icon?(N(),P(`div`,shn,[M(t.$slots,`icon`,{},void 0,!0)])):R(``,!0),e.required?(N(),P(`div`,chn,` Required `)):R(``,!0),re.value&&e.environment?(N(),F(Zmn,{key:8,ref_key:`dropdownRef`,ref:C,dropdownPosition:S.value,environment:e.environment,query:ee.value,onRedirect:n[4]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:k(te)},null,8,[`dropdownPosition`,`environment`,`query`,`onSelect`])):R(``,!0)],64))}})})),d3,f3=c((()=>{Mg(),uhn(),d3=jg(lhn,[[`__scopeId`,`data-v-3ac22ad4`]])})),dhn,fhn,phn,mhn=c((()=>{U(),Y(),dhn=[`role`],fhn={key:0,class:`sr-only`},phn=j({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),P(`div`,qc(Vd(k(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[I(`table`,{class:E([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:Kc({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(N(),P(`caption`,fhn,[M(n.$slots,`caption`)])):R(``,!0),M(n.$slots,`default`)],14,dhn)],16))}})})),p3,m3=c((()=>{mhn(),p3=phn})),hhn,ghn=c((()=>{U(),Y(),hhn=j({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=RS();return(n,r)=>(N(),F(vd(e.is),z(k(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:A(()=>[M(n.$slots,`default`)]),_:3},16))}})})),h3,g3=c((()=>{ghn(),h3=hhn})),_hn,vhn=c((()=>{g3(),U(),Y(),_hn=j({__name:`DataTableHeader`,setup(e){let{cx:t}=RS();return(e,n)=>(N(),F(h3,z({is:`th`},k(t)(`items-center font-medium px-2 min-w-0 -outline-offset-1`)),{default:A(()=>[M(e.$slots,`default`)]),_:3},16))}})})),_3,yhn=c((()=>{vhn(),_3=_hn}));function bhn(e,t){return N(),P(`tr`,Shn,[M(e.$slots,`default`)])}var xhn,Shn,v3,y3=c((()=>{Mg(),U(),xhn={},Shn={class:`group contents`},v3=jg(xhn,[[`render`,bhn]])})),b3,Chn=c((()=>{b3=(e,t)=>{if(!e||!(`type`in e)||typeof t!=`string`)return{ok:!0};if(e.type===`integer`||e.type===`number`){let n=Number(t);if(isNaN(n))return{ok:!1,message:`Value must be a number (e.g., 42.5)`};if(e.type===`integer`&&!Number.isInteger(n))return{ok:!1,message:`Value must be a whole number (e.g., 42)`};if(e.minimum!==void 0&&n<e.minimum)return{ok:!1,message:`Value must be ${e.minimum} or greater`};if(e.maximum!==void 0&&n>e.maximum)return{ok:!1,message:`Value must be ${e.maximum} or less`}}if(e.type===`string`&&e.format){if(e.format===`date`&&!/^\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(e.format===`date-time`&&!/^\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(e.format===`email`&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t??``))return{ok:!1,message:`Please enter a valid email address (e.g., user@example.com)`};if(e.format===`uri`&&!/^[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}}})),whn,Thn,Ehn=c((()=>{g3(),U(),Y(),whn=[`checked`,`disabled`],Thn=j({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`}},emits:[`update:modelValue`],setup(e){let t=IS({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(n,r)=>(N(),F(h3,{class:`group/cell relative flex min-w-8`},{default:A(()=>[I(`input`,{checked:e.modelValue,class:`peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default`,disabled:!!e.disabled,type:`checkbox`,onChange:r[0]||=e=>n.$emit(`update:modelValue`,e.target.checked)},null,40,whn),I(`div`,{class:E(k(t)({align:e.align}))},[I(`div`,{class:E([`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),V(k(nM),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}})})),Dhn,Ohn=c((()=>{Ehn(),Dhn=Thn})),khn,Ahn,jhn,Mhn,Nhn,Phn,Fhn,Ihn,Lhn,Rhn,zhn=c((()=>{Chn(),U(),Y(),EC(),khn=[`aria-label`,`role`],Ahn={class:`w-content text-xxs text-c-1 grid min-w-48 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none *:max-w-64`},jhn={key:0,class:`text-error-1`},Mhn={key:1,class:`schema text-c-2 truncate *:not-first:before:content-['_·_']`},Nhn={key:0},Phn={key:1},Fhn={key:2},Ihn={key:3},Lhn={key:4},Rhn=j({__name:`RequestTableTooltip`,props:{schema:{},value:{},description:{}},setup(e){let t=H(()=>b3(e.schema,e.value)),n=H(()=>t.value.ok===!1);return(r,i)=>(N(),F(k(OM),{offset:4,placement:`left`,teleport:``},{popover:A(()=>[I(`div`,Ahn,[t.value.ok===!1?(N(),P(`div`,jhn,D(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)?(N(),P(`div`,Mhn,[`type`in e.schema?(N(),P(`span`,Nhn,D(e.schema.type),1)):R(``,!0),`format`in e.schema?(N(),P(`span`,Phn,D(e.schema.format),1)):R(``,!0),`minimum`in e.schema?(N(),P(`span`,Fhn,`min: `+D(e.schema.minimum),1)):R(``,!0),`maximum`in e.schema?(N(),P(`span`,Ihn,`max: `+D(e.schema.maximum),1)):R(``,!0),`default`in e.schema?(N(),P(`span`,Lhn,`default: `+D(e.schema.default),1)):R(``,!0)])):R(``,!0),e.description&&!n.value?(N(),F(k(_M),{key:2,value:e.description},null,8,[`value`])):R(``,!0)])]),default:A(()=>[I(`button`,{"aria-label":n.value?`Input is invalid`:`More Information`,class:`text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1`,role:n.value?`alert`:`none`,type:`button`},[n.value?(N(),F(k(CC),{key:0,class:`text-orange size-3.5 brightness-90 hover:brightness-75`})):(N(),F(k(hC),{key:1,class:`text-c-2 hover:text-c-1 size-3.5`}))],8,khn)]),_:1}))}})})),x3,Bhn=c((()=>{zhn(),x3=Rhn})),Vhn,Hhn,Uhn,Whn=c((()=>{Imn(),Chn(),f3(),g3(),Ohn(),y3(),Bhn(),U(),Y(),EC(),Cq(),p4(),Vhn={class:`text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1`},Hhn={key:1,class:`p-0.5`},Uhn=j({__name:`RequestTableRow`,props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:[`upsertRow`,`deleteRow`,`uploadFile`,`removeFile`,`navigate`],setup(e,{emit:t}){let n=t,r=O(e.data.name??``),i=O(Sq(e.data.value)??``),a=O(e.data.isDisabled??!1);nd(()=>e.data.name,e=>r.value=e??``),nd(()=>e.data.value,e=>i.value=Sq(e)??``),nd(()=>e.data.isDisabled,e=>a.value=e??!1);let o=H(()=>i.value instanceof File),s=H(()=>(o.value?l3(i.value):i.value)??``),c=H(()=>e.data.schema?.default),l=H(()=>{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=f4.schema(e.data.schema.items);if(t?.enum)return t.enum.map(e=>String(e))}return[]}),u=H(()=>e.data.schema&&`minimum`in e.data.schema?e.data.schema.minimum:void 0),d=H(()=>e.data.schema&&`maximum`in e.data.schema?e.data.schema.maximum:void 0),f=H(()=>e.data.schema&&`type`in e.data.schema?e.data.schema.type:void 0),p=H(()=>b3(e.data.schema,i.value)),m=e=>{e.name!==void 0&&(r.value=e.name),e.value!==void 0&&(i.value=e.value),a.value=e.isDisabled??!1,n(`upsertRow`,{name:r.value,value:i.value,isDisabled:a.value})};return(t,h)=>(N(),F(k(v3),{id:e.data.name,class:E({alert:p.value.ok===!1,error:p.value.ok===!1&&e.invalidParams?.has(e.data.name)})},{default:A(()=>[V(k(Dhn),{class:`!border-r`,disabled:e.hasCheckboxDisabled??!1,modelValue:!a.value,"onUpdate:modelValue":h[0]||=e=>m({isDisabled:!e})},null,8,[`disabled`,`modelValue`]),V(k(h3),null,{default:A(()=>[V(k(d3),{"aria-label":`${e.label} Key`,disableCloseBrackets:``,disabled:e.data.isReadonly,disableEnter:``,disableTabIndent:``,environment:e.environment,lineWrapping:``,modelValue:r.value,placeholder:`Key`,required:!!e.data.isRequired,onNavigate:h[1]||=e=>n(`navigate`,e),onSelectVariable:h[2]||=e=>m({name:e}),"onUpdate:modelValue":h[3]||=e=>m({name:e})},null,8,[`aria-label`,`disabled`,`environment`,`modelValue`,`required`])]),_:1}),V(k(h3),null,{default:A(()=>[V(k(d3),{"aria-label":`${e.label} Value`,class:`pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10`,default:c.value,disableCloseBrackets:``,disabled:e.data.isReadonly,disableEnter:``,disableTabIndent:``,enum:l.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,lineWrapping:``,max:d.value,min:u.value,modelValue:s.value,placeholder:`Value`,type:f.value,onNavigate:h[6]||=e=>n(`navigate`,e),"onUpdate:modelValue":h[7]||=e=>m({value:e})},{icon:A(()=>[(e.data.name||i.value)&&!e.data.isRequired&&e.data.isReadonly!==!0?(N(),F(k(KS),{key:0,class:`text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex`,size:`sm`,variant:`ghost`,onClick:h[4]||=e=>n(`deleteRow`)},{default:A(()=>[V(k(SC),{class:`size-3.5`})]),_:1})):R(``,!0),e.data.globalRoute===void 0?R(``,!0):(N(),F(k(hM),{key:1,class:`text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit`,icon:k(mC),label:`Global cookies are shared across the whole workspace. Click to navigate.`,size:`xs`,tooltip:`top`,variant:`ghost`,onClick:h[5]||=t=>n(`navigate`,e.data.globalRoute)},null,8,[`icon`])),e.data.isReadonly?(N(),F(x3,{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?(N(),F(x3,{key:3,description:e.data.description,schema:e.data.schema,value:i.value},null,8,[`description`,`schema`,`value`])):R(``,!0)]),_:1},8,[`aria-label`,`default`,`disabled`,`enum`,`environment`,`examples`,`linethrough`,`max`,`min`,`modelValue`,`type`])]),_:1}),e.showUploadButton?(N(),F(k(h3),{key:0,class:`group/upload flex items-center justify-center whitespace-nowrap`},{default:A(()=>[o.value?(N(),P(B,{key:0},[I(`div`,Vhn,[I(`span`,null,D(s.value),1)]),I(`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:h[8]||=e=>n(`removeFile`)},` Delete `)],64)):(N(),P(`div`,Hhn,[V(k(KS),{class:`bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none`,size:`sm`,variant:`outlined`,onClick:h[9]||=e=>n(`uploadFile`)},{default:A(()=>[h[10]||=I(`span`,null,`Select File`,-1),V(k(nM),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1})]))]),_:1})):R(``,!0)]),_:1},8,[`id`,`class`]))}})})),Ghn,Khn=c((()=>{Whn(),Ghn=Uhn})),qhn,Jhn=c((()=>{m3(),yhn(),y3(),Khn(),U(),qhn=j({__name:`RequestTable`,props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:[`upsertRow`,`deleteRow`,`uploadFile`,`removeFile`,`navigate`],setup(e,{emit:t}){let n=t,r=H(()=>e.showUploadButton?[`36px`,``,``,`auto`]:[`36px`,``,``]),i=H(()=>{if(!e.showAddRowPlaceholder)return e.data;let t=e.data.at(-1);return!t||t.name!==``||t.value!==``?[...e.data,{name:``,value:``,isDisabled:!0}]:e.data});return(t,a)=>(N(),F(k(p3),{class:`group/table flex-1`,columns:r.value},{default:A(()=>[V(k(v3),{class:`sr-only !block`},{default:A(()=>[V(k(_3),null,{default:A(()=>[L(D(e.label)+` Enabled`,1)]),_:1}),V(k(_3),null,{default:A(()=>[L(D(e.label)+` Key`,1)]),_:1}),V(k(_3),null,{default:A(()=>[L(D(e.label)+` Value`,1)]),_:1})]),_:1}),(N(!0),P(B,null,yd(i.value,(t,r)=>(N(),F(Ghn,{key:r,data:t,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>n(`deleteRow`,r),onNavigate:a[0]||=e=>n(`navigate`,e),onRemoveFile:e=>n(`removeFile`,r),onUploadFile:e=>n(`uploadFile`,r),onUpsertRow:e=>n(`upsertRow`,r,e)},null,8,[`data`,`environment`,`hasCheckboxDisabled`,`invalidParams`,`label`,`showUploadButton`,`onDeleteRow`,`onRemoveFile`,`onUploadFile`,`onUpsertRow`]))),128))]),_:1},8,[`columns`]))}})})),S3,Yhn=c((()=>{Mg(),Jhn(),S3=jg(qhn,[[`__scopeId`,`data-v-36811e28`]])})),Xhn,Zhn,Qhn=c((()=>{T_(),UF(),p4(),Q$(),Xhn=e=>e instanceof File?e.name:typeof e==`object`&&e?JSON.stringify(e):String(e),Zhn=(e,t,n)=>{if(!e?.value||t!==`multipart/form-data`&&t!==`application/x-www-form-urlencoded`)return[];let r=n&&q$(n)?n:void 0,i=r?new Set(r.required??[]):void 0,a=({name:e,value:t,isDisabled:n=!1})=>{let a={name:e,value:t,isDisabled:n};if(!r||!e)return a;let o=f4.schema(r.properties?.[e]);return a.schema=o,a.description=o?.description,a.isRequired=i?.has(e),a.isDisabled=n,a};return Array.isArray(e.value)?e.value.map(e=>w_(e)?a({name:String(e.name),value:e.value instanceof File?e.value:String(e.value),isDisabled:!!e.isDisabled}):{name:``,value:e,isDisabled:!1}):typeof e.value==`object`&&e.value?HF(e.value).map(([e,t])=>a({name:String(e),value:Xhn(t)})):[]}})),$hn,egn=c((()=>{pF(),Yhn(),Qhn(),U(),$hn=j({__name:`RequestBodyForm`,props:{example:{},bodySchema:{},selectedContentType:{},environment:{}},emits:[`update:formValue`],setup(e,{emit:t}){let n=t,r=O([]);nd(()=>[e.example,e.bodySchema,e.selectedContentType],([e,t,n])=>{r.value=Zhn(e,n,t)},{immediate:!0});let i=e=>{n(`update:formValue`,e.map(e=>({name:e.name,value:e.value,isDisabled:e.isDisabled??!1})))},a=(e,t)=>{if(e>=r.value.length){r.value=[...r.value,{name:``,value:``,...t,isDisabled:!1}],i(r.value);return}r.value=r.value.map((n,r)=>r===e?{...n,...t}:n),i(r.value)},o=e=>{r.value=r.value.filter((t,n)=>n!==e),i(r.value)},s=e=>{let{open:t}=fF({onChange:t=>{let n=t?.[0];if(n){let t=r.value[e];a(e,{name:t?.name||n.name,value:n})}},multiple:!1,accept:`*/*`});t()};return(t,n)=>e.selectedContentType===`multipart/form-data`?(N(),F(S3,{key:0,data:r.value,environment:e.environment,showUploadButton:``,onDeleteRow:o,onRemoveFile:n[0]||=e=>a(e,{value:void 0}),onUploadFile:s,onUpsertRow:a},null,8,[`data`,`environment`])):(N(),F(S3,{key:1,data:r.value,environment:e.environment,onDeleteRow:o,onUpsertRow:a},null,8,[`data`,`environment`]))}})})),tgn,ngn=c((()=>{egn(),tgn=$hn})),rgn,ign=c((()=>{U(),rgn=j({name:`ValueEmitter`,props:{value:{}},emits:[`change`,`unmount`],setup(e,{emit:t}){let n=t;return nd(()=>e.value,e=>n(`change`,e),{immediate:!0}),Mf(()=>n(`unmount`)),(e,t)=>null}})})),C3,w3=c((()=>{ign(),C3=rgn})),agn,ogn,sgn,cgn,lgn,ugn,dgn,fgn,pgn=c((()=>{w3(),U(),Y(),Ag(),agn=[`aria-labelledby`],ogn={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},sgn=[`id`],cgn={key:0,class:`sr-only`},lgn={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`},ugn={class:`sr-only`},dgn={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},fgn=j({name:`CollapsibleSection`,props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=ud();return(t,i)=>(N(),F(k(Kh),{as:`div`,class:E([`group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0 border-b`,e.isStatic&&`last-of-type:first-of-type:border-b-0`]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:A(({open:a})=>[V(C3,{value:a,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),I(`section`,{"aria-labelledby":k(r),class:`contents`},[I(`div`,{class:E([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border border-b-0`])},[V(k(qh),{class:E([`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:A(()=>[e.isStatic?R(``,!0):(N(),F(k(nM),{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`})),I(`h2`,ogn,[I(`span`,{id:k(r),class:`contents`},[M(t.$slots,`title`,{open:a}),a?R(``,!0):(N(),P(`span`,cgn,` (Collapsed) `))],8,sgn),!a&&e.itemCount?(N(),P(`span`,lgn,[L(D(e.itemCount)+` `,1),I(`span`,ugn,`Item`+D(e.itemCount===1?``:`s`),1)])):R(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(N(),P(`div`,dgn,[M(t.$slots,`actions`,{open:a})])):R(``,!0)],2),V(k(Jh),z(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:A(()=>[M(t.$slots,`default`,{open:a})]),_:2},1040)],8,agn)]),_:3},8,[`class`,`defaultOpen`,`static`]))}})})),T3,E3=c((()=>{pgn(),T3=fgn})),D3,mgn=c((()=>{D3={"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`}})),hgn,ggn,_gn,vgn,ygn=c((()=>{pF(),Imn(),f3(),m3(),yhn(),y3(),ngn(),E3(),U(),Y(),a3(),Cq(),mgn(),UF(),p4(),hgn={key:0,class:`text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm`},ggn={key:1,class:`flex items-center justify-center overflow-hidden border-t p-1.5`},_gn={class:`text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap`},vgn=j({__name:`RequestBody`,props:{requestBody:{},exampleKey:{},title:{},environment:{},requestBodyCompositionSelection:{}},emits:[`update:contentType`,`update:value`,`update:formValue`],setup(e,{emit:t}){let n=t,r={"application/json":`json`,"application/xml":`xml`,"application/yaml":`yaml`},i=H(()=>w4(e.requestBody,e.exampleKey)??`none`),a=HF(D3).map(([e,t])=>({id:e,label:t})),o=H({get:()=>a.find(e=>e.id===i.value)??a.at(-1),set:e=>{n(`update:contentType`,{value:e.id})}});function s(e){let{open:t}=fF({onChange:t=>{let n=t?.[0];n&&e(n)},multiple:!1,accept:`*/*`});t()}let c=H(()=>e.requestBody&&C4(e.requestBody,i.value,e.exampleKey,e.requestBodyCompositionSelection)),l=H(()=>{if(!c.value)return``;let e=c.value.value;return typeof e==`string`?e:JSON.stringify(e,null,2)}),u=H(()=>f4.schema(e.requestBody?.content?.[i.value]?.schema));return(t,d)=>(N(),F(k(T3),null,{title:A(()=>[L(D(e.title),1)]),default:A(()=>[V(k(p3),{columns:[``],presentational:``},{default:A(()=>[V(k(_3),{class:`relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0`},{default:A(()=>[V(k(kj),{modelValue:o.value,"onUpdate:modelValue":d[0]||=e=>o.value=e,options:k(a),teleport:``},{default:A(()=>[V(k(KS),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal`,fullWidth:``,variant:`ghost`},{default:A(()=>[I(`span`,null,D(k(D3)[i.value]??i.value),1),V(k(nM),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])]),_:1}),V(k(v3),null,{default:A(()=>[i.value===`none`?(N(),P(`div`,hgn,[...d[5]||=[I(`span`,null,`No Body`,-1)]])):i.value===`application/octet-stream`?(N(),P(`div`,ggn,[k(l3)(k(Sq)(c.value?.value))===void 0?(N(),F(k(KS),{key:1,class:`bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:d[2]||=()=>s(e=>n(`update:value`,{payload:e,contentType:i.value}))},{default:A(()=>[d[7]||=I(`span`,null,`Select File`,-1),V(k(nM),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1})):(N(),P(B,{key:0},[I(`span`,_gn,D(k(l3)(k(Sq)(c.value?.value))),1),V(k(KS),{class:`bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:d[1]||=e=>n(`update:value`,{payload:void 0,contentType:i.value})},{default:A(()=>[...d[6]||=[L(` Delete `,-1)]]),_:1})],64))])):i.value===`multipart/form-data`||i.value===`application/x-www-form-urlencoded`?(N(),F(tgn,{key:2,bodySchema:u.value,environment:e.environment,example:c.value,selectedContentType:i.value,"onUpdate:formValue":d[3]||=e=>n(`update:formValue`,{payload:e,contentType:i.value})},null,8,[`bodySchema`,`environment`,`example`,`selectedContentType`])):(N(),F(k(d3),{key:3,class:`border-t px-3`,content:``,environment:e.environment,language:r[i.value]??`plaintext`,lineNumbers:``,lint:``,modelValue:l.value,"onUpdate:modelValue":d[4]||=e=>n(`update:value`,{payload:e,contentType:i.value})},null,8,[`environment`,`language`,`modelValue`]))]),_:1})]),_:1})]),_:1}))}})})),bgn,xgn=c((()=>{Mg(),ygn(),bgn=jg(vgn,[[`__scopeId`,`data-v-3260eadd`]])})),O3,k3,A3,j3=c((()=>{ZI(),O3=`shell/curl`,k3=e=>GF.includes(e),A3=(e,t)=>{let n=e[0]?.options[0];if(t)for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}if(!n?.id.startsWith(`custom`))for(let t of e){let e=t.options.find(e=>e.id===O3);if(e)return e}return n}})),M3,Sgn=c((()=>{c3(),M3=(e,t)=>e.length?[{label:`Code Examples`,key:`custom`,options:e.map(e=>{let t=o3(e),n=e.label||e.lang||t;return{id:t,lang:e.lang||`plaintext`,title:n,label:n,clientKey:`custom`}})},...t]:t})),N3,Cgn=c((()=>{N3=e=>[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])})),P3,wgn=c((()=>{ON(),P3=e=>e.flatMap(e=>e.type===`apiKey`?e[`x-scalar-secret-token`]:e?.type===`http`?[e[`x-scalar-secret-token`],e[`x-scalar-secret-username`],e[`x-scalar-secret-password`],DN(`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e[`x-scalar-secret-token`]):[]).filter(Boolean)})),Tgn,F3,Egn,Dgn=c((()=>{jN(),Dfn(),x_(),_v(),Tgn=`*/*`,F3=(e,t,n)=>({name:e,defaultValue:t,isOverridden:n.has(e.toLowerCase())}),Egn=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:r=!1})=>{let i=new Set(t.parameters?.filter(e=>b_(e).in===`header`).map(e=>b_(e).name.toLowerCase())??[]),a=t[`x-scalar-disable-parameters`]?.[`default-headers`]?.[n]??{},o=[],s=b_(t.requestBody);if(gv(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&o.push(F3(`Content-Type`,e,i))}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?b_(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||Tgn;return o.push(F3(`Accept`,u,i)),AN()&&Q2&&o.push(F3(`User-Agent`,`Scalar/${Q2}`,i)),r?o.filter(e=>a[e.name.toLowerCase()]!==!0):o}})),I3,Ogn=c((()=>{x_(),Cq(),T_(),I3=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!w_(e)&&!Array.isArray(e))return e;let i=Sq(e,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=r(b_(e));return n.set(i,t),t}if(Array.isArray(e)){let t=e.map(r);return n.set(i,t),t}let a=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return n.set(i,a),a};return r(e)}})),L3,kgn,Agn=c((()=>{Ogn(),a3(),x_(),Bhe(),Cq(),L3=(e,t,n)=>{let r=[],i=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[e.name,e.value]):Object.entries(e);for(let[e,a]of i){if(a==null)continue;let i=n?void 0:t?.[e]?.contentType;if(a instanceof File){let t=Sq(a);r.push({name:e,value:`@${t.name}`,...i?{contentType:i}:{}})}else if(i&&typeof a==`object`)r.push({name:e,value:JSON.stringify(Sq(a)),contentType:i});else if(Array.isArray(a))for(let t of a)if(t instanceof File){let n=Sq(t);r.push({name:e,value:`@${n.name}`})}else r.push({name:e,value:String(t)});else if(typeof a==`object`){let t=L3(a,void 0,e);for(let n of t)r.push({name:`${e}.${n.name}`,value:n.value})}else r.push({name:e,value:String(a),...i?{contentType:i}:{}})}return r},kgn=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let i=t||Object.keys(e.content)[0]||``,a=e=>`@${Sq(e).name||`filename`}`,o=e.content[i]?.encoding,s=i===`multipart/form-data`||i===`application/x-www-form-urlencoded`,c=i===`application/xml`,l=u4(e,n,t)?.value;if(l!==void 0){let e=typeof l==`object`&&l?Sq(l):l;return s&&typeof e==`object`&&e?{mimeType:i,params:L3(e,i===`multipart/form-data`?o:void 0)}:c&&typeof e==`object`&&e?{mimeType:i,text:__(e)}:e instanceof File?{mimeType:i,text:a(e)}:{mimeType:i,text:typeof e==`string`?e:JSON.stringify(e)}}let u=b_(e.content[i]?.schema);if(u!==void 0){let e=S4(I3(u),{compositionSelection:r,mode:`write`,xml:c},{schemaPath:[`requestBody`]});if(e!==void 0)return s&&typeof e==`object`&&e?{mimeType:i,params:L3(e,i===`multipart/form-data`?o:void 0)}:c&&typeof e==`object`&&e?{mimeType:i,text:__(e)}:{mimeType:i,text:typeof e==`string`?e:JSON.stringify(e)}}}})),jgn,Mgn,R3,Ngn,Pgn,Fgn,Ign,Lgn=c((()=>{c4(),a3(),x_(),jgn=e=>(e??[]).map(e=>b_(e)),Mgn=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,R3=(e,t)=>Mgn(t)?e:encodeURIComponent(e),Ngn=e=>{if(e.in===`header`)return{style:`simple`,explode:`explode`in e&&e.explode!==void 0?e.explode:!1};if(e.in===`cookie`)return{style:`form`,explode:`explode`in e&&e.explode!==void 0?e.explode:!0};let t={path:`simple`,query:`form`,header:`simple`,cookie:`form`}[e.in],n=`style`in e&&e.style?e.style:t;return{style:n,explode:`explode`in e&&e.explode!==void 0?e.explode:n===`form`}},Pgn=(e,t,n,r)=>{let i=u4(e,t,n);if(s4(e,i,r))return;if(i?.value!==void 0)return D4(i.value,e);if(!(`schema`in e)||!e.schema)return;let a=e.in===`path`?{emptyString:`{${e.name}}`}:{};return S4(b_(e.schema),a)},Fgn=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let i=[...e.headers],a=[...e.queryString],o=e.url,s=jgn(t);for(let t of s){if(!t.in||!t.name)continue;let s=Pgn(t,n,void 0,r);if(s===void 0)continue;let{style:c,explode:l}=Ngn(t);switch(t.in){case`path`:o=Ign(o,t,s,c,l);break;case`query`:if(`content`in t&&t.content){let e=O4(s,Object.keys(t.content)[0]??`application/json`);a.push({name:t.name,value:R3(e,t)});break}switch(c){case`form`:{let e=A4(s,l);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:R3(String(n.value),t)})}else a.push({name:t.name,value:R3(String(e),t)});break}case`spaceDelimited`:{let e=M4(s);a.push({name:t.name,value:R3(e,t)});break}case`pipeDelimited`:{let e=N4(s);a.push({name:t.name,value:R3(e,t)});break}case`deepObject`:if(l){let e=P4(t.name,s);for(let n of e)a.push({name:n.key,value:R3(n.value,t)})}break;default:a.push({name:t.name,value:R3(String(s),t)})}break;case`header`:{let e=k4(s,l);i.push({name:t.name,value:String(e)});break}case`cookie`:{let n=j4(s,l);if(Array.isArray(n))for(let r of n){let n=r.key||t.name,i=r.value===null?`null`:String(r.value);e.cookies.push({name:n,value:i})}else{let r=n===null?`null`:String(n);e.cookies.push({name:t.name,value:r})}break}}}return{url:o,headers:i,queryString:a,cookies:e.cookies}},Ign=(e,t,n,r,i)=>{switch(r){case`matrix`:if(i){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case`label`:if(i){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`.`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`.`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case`simple`:{let r=k4(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}}})),Rgn,zgn=c((()=>{ON(),Rgn=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if(n.type===`apiKey`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case`header`:t.headers.push(r);break;case`query`:t.queryString.push(r);break;case`cookie`:t.cookies.push(r);break}continue}if(n.type===`http`){if(n.scheme===`basic`){let e=`${n[`x-scalar-secret-username`]||``}:${n[`x-scalar-secret-password`]||``}`,r=e===`:`?`username:password`:DN(e);t.headers.push({name:`Authorization`,value:`Basic ${r}`})}else if(n.scheme===`bearer`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}continue}if(n.type===`oauth2`&&n.flows){let e=Object.values(n.flows).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}}return t}})),Bgn,Vgn=c((()=>{Vv(),Pv(),Bgn=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?Bv(jv(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{})),t):Bv(n,t)}})),z3,Hgn=c((()=>{Dgn(),Agn(),Lgn(),zgn(),Vgn(),a3(),x_(),z3=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:i,server:a=null,example:o,securitySchemes:s,globalCookies:c,requestBodyCompositionSelection:l,defaultDisabledParameters:u=!1})=>{let d=e?Egn({method:r,operation:t,exampleKey:o??`default`,hideDisabledHeaders:!0}).filter(e=>!e.isOverridden):[],f=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},p={method:r,url:Bgn(a,i),headers:d.map(e=>({name:e.name,value:e.defaultValue})),queryString:[],postData:void 0,httpVersion:`HTTP/1.1`,cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:n,queryString:r,cookies:i}=Fgn({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),a=c?.filter(t=>T4({cookie:t,url:e,disabledGlobalCookies:f}))?.map(e=>({name:e.name,value:e.value}))??[];p.url=e,p.headers=n,p.queryString=r,p.cookies=[...a,...i]}let m=b_(t.requestBody);if(m?.content){let e=kgn({requestBody:m,contentType:n,example:o,requestBodyCompositionSelection:l});if(e&&(p.postData=e,p.bodySize=e.text?.length??-1,e.mimeType)){let t=p.headers.find(e=>e.name.toLowerCase()===`content-type`);t&&!t.value?t.value=e.mimeType:t||p.headers.push({name:`Content-Type`,value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:n}=Rgn(s);p.headers.push(...e),p.queryString.push(...t),p.cookies.push(...n)}let h=0;for(let e of p.headers)h+=(e.name?.length??0)+2+(e.value?.length??0)+2;return p.headersSize=h,p}})),B3,Ugn=c((()=>{Hgn(),c3(),eNt(),B3=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:i,path:a,example:o,contentType:s,server:c,securitySchemes:l,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{try{if(!e)return``;if(e.startsWith(`custom`))return t.find(t=>o3(t)===e)?.source??`Custom example not found`;let p=z3({operation:r,contentType:s,method:i,path:a,server:c,securitySchemes:l,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[m,h]=e.split(`/`),[g,_]=$I(m,h,p);return g?(console.error(`[generateCodeSnippet]`,g),g.message??`Error generating code snippet`):_}catch(e){return console.error(`[generateCodeSnippet]`,e),`Error generating code snippet`}}})),Wgn,Ggn,Kgn,qgn=c((()=>{j3(),Sgn(),Cgn(),wgn(),Ugn(),m3(),y3(),E3(),U(),Y(),EC(),Wgn={class:`flex flex-1`},Ggn={class:`overflow-hidden`},Kgn=j({__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=H(()=>N3(e.operation)),n=H(()=>M3(t.value,e.clientOptions)),r=O(A3(n.value,e.selectedClient));nd(()=>e.selectedClient,e=>{let t=A3(n.value,e);t&&(r.value=t)});let i=H(()=>P3(e.securitySchemes??[])),a=t=>{r.value=t,t&&!t.id.startsWith(`custom`)&&e.eventBus.emit(`workspace:update:selected-client`,t.id)},o=H(()=>B3({defaultDisabledParameters:!0,clientId:r.value?.id,customCodeSamples:t.value,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:e.integration===`client`})),s=H(()=>n.value.some(e=>e.options.length>0));return(e,t)=>Xu((N(),F(k(T3),{class:`group/preview w-full border-t`,defaultOpen:!1},{title:A(()=>[...t[1]||=[L(`Code Snippet`,-1)]]),actions:A(()=>[I(`div`,Wgn,[V(k(Nj),{modelValue:r.value,options:n.value,placement:`bottom-end`,"onUpdate:modelValue":t[0]||=e=>a(e)},{default:A(({open:e})=>[V(k(KS),{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:A(()=>[L(D(r.value?.title)+` `,1),V(k(oC),{class:E([`mt-0.25 size-3 transition-transform duration-100`,e&&`rotate-180`]),weight:`bold`},null,8,[`class`])]),_:2},1024)]),_:1},8,[`modelValue`,`options`])])]),default:A(()=>[V(k(Uj),null,{default:A(()=>[V(k(p3),{columns:[``],presentational:``},{default:A(()=>[V(k(v3),null,{default:A(()=>[I(`div`,Ggn,[V(k(wA),{class:`text-base`,content:o.value,hideCredentials:i.value,lang:r.value?.lang??`plaintext`,lineNumbers:``},null,8,[`content`,`hideCredentials`,`lang`])])]),_:1})]),_:1})]),_:1})]),_:1},512)),[[Rp,s.value]])}})})),Jgn,Ygn=c((()=>{qgn(),Jgn=Kgn})),Xgn,Zgn,Qgn,$gn=c((()=>{Yhn(),E3(),U(),Y(),Xgn={class:`text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100`},Zgn={class:`sr-only`},Qgn=j({__name:`RequestParams`,props:{rows:{},exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},emits:[`upsert`,`delete`,`deleteAll`],setup(e,{emit:t}){let n=t,r=H(()=>e.rows.length>1),i=(e,t)=>{let{value:r,...i}=t;r instanceof File||n(`upsert`,e,{...i,value:r??``})};return(t,a)=>(N(),F(k(T3),{class:`group/params`,itemCount:e.rows.length},{title:A(()=>[L(D(e.title),1)]),actions:A(()=>[I(`div`,Xgn,[r.value?(N(),F(k(mM),{key:0,content:`Clear optional parameters`,placement:`left`},{default:A(()=>[V(k(KS),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:a[0]||=$p(e=>n(`deleteAll`),[`stop`])},{default:A(()=>[a[3]||=L(` Clear `,-1),I(`span`,Zgn,`All `+D(e.title),1)]),_:1})]),_:1})):R(``,!0)])]),default:A(()=>[V(S3,{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:a[1]||=e=>n(`delete`,{index:e}),onNavigate:a[2]||=t=>e.eventBus.emit(`ui:navigate`,t),onUpsertRow:i},null,8,[`data`,`environment`,`exampleKey`,`globalRoute`,`invalidParams`,`label`,`showAddRowPlaceholder`])]),_:1},8,[`itemCount`]))}})})),V3,e_n=c((()=>{$gn(),V3=Qgn})),H3,t_n=c((()=>{H3=(e,t,n,{context:r,defaultParameters:i=0,globalParameters:a=0})=>{let o=i+a;return{delete:e=>{let i=r[e.index]?.originalParameter;i&&t.emit(`operation:delete:parameter`,{originalParameter:i,meta:n},{skipUnpackProxy:!0})},deleteAll:()=>t.emit(`operation:delete-all:parameters`,{type:e,meta:n}),upsert:(s,c)=>{let l=r[s];if(s<i+a){let r=s<i?`default`:`global`;return t.emit(`operation:update:extra-parameters`,{type:r,in:e,meta:{...n,name:l?.name?.toLowerCase?.()??`NON_VALID`},payload:{isDisabled:c.isDisabled??!1}})}if(s>=o)return t.emit(`operation:upsert:parameter`,{type:e,payload:c,originalParameter:l?.originalParameter??null,meta:n},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${s-o}`})}}}})),n_n,r_n=c((()=>{n_n=e=>{if(`content`in e&&e.content){let t=Object.keys(e.content);return t.length===1?e.content[t[0]]:void 0}}})),i_n,a_n=c((()=>{r_n(),x_(),i_n=e=>`schema`in e&&e.schema?b_(e.schema):b_(n_n(e)?.schema)})),U3,o_n=c((()=>{U3=(e,t,n)=>e.reduce((e,r)=>{let i=n?n(r):r;return(e[r[t]]??=[]).push(i),e},{})})),s_n,c_n,l_n,u_n=c((()=>{U(),Y(),s_n={class:`text-c-2 mb-4 text-sm leading-normal`},c_n={class:`flex justify-between gap-2`},l_n=j({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,r=()=>{n(`delete`)};return(t,i)=>(N(),F(k(DM),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:A(()=>[I(`p`,s_n,` This cannot be undone. You're about to delete the `+D(e.label)+` security scheme from the collection. `,1),I(`div`,c_n,[V(k(KS),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`button`,variant:`outlined`,onClick:i[0]||=e=>n(`close`)},{default:A(()=>[...i[1]||=[L(` Cancel `,-1)]]),_:1}),V(k(KS),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:r},{default:A(()=>[L(` Delete `+D(e.label),1)]),_:1})])]),_:1},8,[`state`]))}})})),d_n,f_n=c((()=>{u_n(),d_n=l_n})),p_n,m_n=c((()=>{p_n={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:{}}}}}}})),W3,G3=c((()=>{W3=e=>{let t=0,n=0,r=e.length,i=r&15,a=r-i,o=2277735313,s=1291169091,c=1390208809,l=944331445;for(let r=0;r<a;r+=16){let i=e.charCodeAt(r)&255|(e.charCodeAt(r+1)&255)<<8|(e.charCodeAt(r+2)&255)<<16|(e.charCodeAt(r+3)&255)<<24,a=e.charCodeAt(r+4)&255|(e.charCodeAt(r+5)&255)<<8|(e.charCodeAt(r+6)&255)<<16|(e.charCodeAt(r+7)&255)<<24,u=e.charCodeAt(r+8)&255|(e.charCodeAt(r+9)&255)<<8|(e.charCodeAt(r+10)&255)<<16|(e.charCodeAt(r+11)&255)<<24,d=e.charCodeAt(r+12)&255|(e.charCodeAt(r+13)&255)<<8|(e.charCodeAt(r+14)&255)<<16|(e.charCodeAt(r+15)&255)<<24;i=Math.imul(i,o),i=i<<15|i>>>17,i=Math.imul(i,s),t^=i,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,a=Math.imul(a,s),a=a<<16|a>>>16,a=Math.imul(a,c),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,u=Math.imul(u,c),u=u<<17|u>>>15,u=Math.imul(u,l),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,l),d=d<<18|d>>>14,d=Math.imul(d,o),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}if(i>0){let r=0,u=0,d=0,f=0;i>=15&&(f^=(e.charCodeAt(a+14)&255)<<16),i>=14&&(f^=(e.charCodeAt(a+13)&255)<<8),i>=13&&(f^=e.charCodeAt(a+12)&255,f=Math.imul(f,l),f=f<<18|f>>>14,f=Math.imul(f,o),n^=f),i>=12&&(d^=(e.charCodeAt(a+11)&255)<<24),i>=11&&(d^=(e.charCodeAt(a+10)&255)<<16),i>=10&&(d^=(e.charCodeAt(a+9)&255)<<8),i>=9&&(d^=e.charCodeAt(a+8)&255,d=Math.imul(d,c),d=d<<17|d>>>15,d=Math.imul(d,l),t^=d),i>=8&&(u^=(e.charCodeAt(a+7)&255)<<24),i>=7&&(u^=(e.charCodeAt(a+6)&255)<<16),i>=6&&(u^=(e.charCodeAt(a+5)&255)<<8),i>=5&&(u^=e.charCodeAt(a+4)&255,u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,c),n^=u),i>=4&&(r^=(e.charCodeAt(a+3)&255)<<24),i>=3&&(r^=(e.charCodeAt(a+2)&255)<<16),i>=2&&(r^=(e.charCodeAt(a+1)&255)<<8),i>=1&&(r^=e.charCodeAt(a)&255,r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,`0`)+(n>>>0).toString(16).padStart(8,`0`)}})),K3,q3,J3,Y3,h_n,g_n=c((()=>{m_n(),x_(),G3(),K3=e=>JSON.stringify(Object.keys(e)),q3=({name:e,value:t})=>({id:W3(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),J3=e=>q3({name:Object.keys(e).join(` & `),value:e}),Y3=(e,t)=>{let n=Object.keys(e);if(n.length>1)return J3(e);if(n[0])return b_(t[n[0]])?q3({name:n[0],value:e}):void 0},h_n=(e,t,n,r=!1)=>{let i=new Map(n.map(e=>[K3(e),e])),{requiredFormatted:a,requiredSchemeNames:o,existingIds:s}=e.reduce((e,n)=>{let r=Y3(i.get(K3(n))??n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(n))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),c=[];for(let[e,n]of Object.entries(t))if(!o.has(e)&&b_(n)){let t=q3({name:e,value:{[e]:[]}});c.push(t),s.add(t.id)}for(let e of n){let n=Y3(e,t);n&&!s.has(n.id)&&(c.push(n),s.add(n.id))}let l=[{label:`Required authentication`,options:a},{label:`Available authentication`,options:c}];return r?(l.push({label:`Add new authentication`,options:Object.entries(p_n).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),l):a.length?l:c}})),__n,v_n,y_n,b_n,x_n,S_n=c((()=>{Wmn(),f3(),g3(),U(),Y(),EC(),__n=[`for`],v_n={class:`relative flex min-w-0 flex-1`},y_n=[`readOnly`,`type`,`value`],b_n={key:1,class:`centered-y text-orange absolute right-7 text-xs`},x_n=j({inheritAttrs:!1,__name:`DataTableInput`,props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},min:{},max:{},environment:{},description:{},lineWrapping:{type:Boolean,default:!1}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{emit:t}){let n=e,r=t,i=O(!0),a=O(!1),o=fd(`codeInput`),s=()=>!a.value&&r(`inputBlur`),c=H(()=>n.type===`password`?`text`:n.type??`text`),l=()=>{!n.enum?.length&&!n.readOnly&&o.value?.focus()};return(t,a)=>(N(),F(h3,{class:E([`relative flex`,e.containerClass])},{default:A(()=>[t.$slots.default?(N(),P(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,for:e.id??``,onClick:l},[M(t.$slots,`default`,{},void 0,!0),a[6]||=L(`: `,-1)],8,__n)):R(``,!0),I(`div`,v_n,[n.enum&&n.enum.length?(N(),F(u3,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":a[0]||=e=>r(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(N(),P(B,{key:1},[i.value&&e.type===`password`?(N(),P(`input`,z({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":e.type===`password`}],"data-1p-ignore":``,readOnly:e.readOnly,spellcheck:`false`,type:c.value,value:e.modelValue,onInput:a[1]||=e=>r(`update:modelValue`,e.target.value??``)}),null,16,y_n)):(N(),F(k(d3),z({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:o,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1`,[e.type===`password`&&e.description&&`pr-12`,e.description&&`pr-8`,e.type===`password`&&`scalar-password-input`]],description:e.description,disableCloseBrackets:``,disableTabIndent:``,environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,modelValue:e.modelValue??``,readOnly:e.readOnly,required:!!e.required,spellcheck:`false`,type:c.value,onBlur:s,onFocus:a[2]||=e=>r(`inputFocus`),"onUpdate:modelValue":a[3]||=e=>r(`update:modelValue`,e)}),null,16,[`id`,`class`,`description`,`environment`,`lineWrapping`,`max`,`min`,`modelValue`,`readOnly`,`required`,`type`]))],64))]),t.$slots.warning?(N(),P(`div`,b_n,[M(t.$slots,`warning`,{},void 0,!0)])):R(``,!0),M(t.$slots,`icon`,{},void 0,!0),e.modelValue?(N(),F(k(hM),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:k(TC),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):R(``,!0),e.type===`password`?(N(),F(k(hM),{key:3,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,"data-testid":`data-table-password-toggle`,icon:i.value?k(dC):k(fC),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):R(``,!0)]),_:3},8,[`class`]))}})})),C_n,w_n=c((()=>{Mg(),S_n(),C_n=jg(x_n,[[`__scopeId`,`data-v-3157c3c7`]])})),T_n,E_n,D_n=c((()=>{w_n(),U(),T_n=[`for`],E_n=j({__name:`RequestAuthDataTableInput`,props:Td({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Td([`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=jd(e,`modelValue`),i=ud();return(t,a)=>(N(),F(k(C_n),z({id:k(i)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,lineWrapping:``,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:a[1]||=e=>n(`inputBlur`),onInputFocus:a[2]||=e=>n(`inputFocus`),onSelectVariable:a[3]||=e=>n(`selectVariable`,e)}),{default:A(()=>[I(`label`,{for:k(i)},[M(t.$slots,`default`)],8,T_n)]),icon:A(()=>[M(t.$slots,`icon`)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}})})),X3,Z3=c((()=>{D_n(),X3=E_n})),O_n,k_n,A_n,j_n=c((()=>{BYt(),WYt(),U(),Y(),tP(),O_n={class:`flex h-8 items-start gap-2 text-sm`},k_n={class:`flex h-8 items-start gap-2 text-sm`},A_n=j({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,r=O({name:``,description:``}),{toast:i}=QN(),a=()=>{if(!r.value.name){i(`Please fill in the name before adding a scope.`,`error`);return}n(`submit`,r.value),e.state.hide()};return nd(()=>e.state.open,e=>{e&&(r.value={name:``,description:``})}),(t,i)=>(N(),F(k(DM),{size:`xs`,state:e.state,title:`Add Scope`},{default:A(()=>[V(lq,{disabled:!r.value.name||e.scopes.includes(r.value.name),onCancel:i[2]||=e=>n(`cancel`),onSubmit:a},{submit:A(()=>[...i[5]||=[L(`Add Scope`,-1)]]),default:A(()=>[I(`div`,O_n,[i[3]||=L(` Name: `,-1),V(uq,{modelValue:r.value.name,"onUpdate:modelValue":i[0]||=e=>r.value.name=e,autofocus:``,class:`!p-0`,placeholder:`read:user`},null,8,[`modelValue`])]),I(`div`,k_n,[i[4]||=L(` Description: `,-1),V(uq,{modelValue:r.value.description,"onUpdate:modelValue":i[1]||=e=>r.value.description=e,class:`!p-0`,placeholder:`Read user data`},null,8,[`modelValue`])])]),_:1},8,[`disabled`])]),_:1},8,[`state`]))}})})),M_n,N_n=c((()=>{Mg(),j_n(),M_n=jg(A_n,[[`__scopeId`,`data-v-43df1726`]])})),P_n,F_n,I_n,L_n,R_n,z_n,B_n,V_n=c((()=>{_F(),TF(),xF(),N_n(),U(),Y(),Ag(),P_n={class:`flex h-fit w-full`},F_n={class:`flex-1`},I_n={class:`flex items-center gap-1.75`},L_n={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-scroll`,style:{gridTemplateColumns:`1fr auto`}},R_n={class:`font-code text-xs`},z_n={key:0},B_n=j({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`],setup(e,{emit:t}){let n=t,r=O(``),i=H(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),a=H(()=>{if(!r.value)return i.value;let e=new RegExp(r.value.split(``).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`),`i`);return i.value.filter(({label:t,description:n})=>e.test(`${t} ${n}`))}),o=H(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length);function s(t,r){if(r)return n(`update:selectedScopes`,{scopes:Array.from(new Set([...e.selectedScopes,t]))});n(`update:selectedScopes`,{scopes:e.selectedScopes.filter(e=>e!==t)})}let c=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),l=()=>n(`update:selectedScopes`,{scopes:[]}),u=EM();return(t,i)=>(N(),F(k(gF),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:A(()=>[I(`div`,P_n,[i[7]||=I(`div`,{class:`text-c-1 h-full items-center`},null,-1),V(k(Kh),{as:`div`,class:`bl flex w-full flex-col`},{default:A(()=>[V(k(qh),{class:E([`group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left`,(e.selectedScopes.length||0)>0?`text-c-1`:`text-c-3`])},{default:A(({open:t})=>[I(`div`,F_n,` Scopes Selected `+D(e.selectedScopes.length||0)+` / `+D(Object.keys(e.flow?.scopes??{}).length||0),1),I(`div`,I_n,[V(k(KS),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:i[0]||=$p(e=>k(u).show(),[`stop`])},{default:A(()=>[...i[3]||=[L(` Add Scope `,-1)]]),_:1}),o.value?(N(),F(k(KS),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:$p(l,[`stop`])},{default:A(()=>[...i[4]||=[L(` Deselect All `,-1)]]),_:1})):R(``,!0),o.value?R(``,!0):(N(),F(k(KS),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:$p(c,[`stop`])},{default:A(()=>[...i[5]||=[L(` Select All `,-1)]]),_:1})),V(k(nM),{class:`text-c-3 group-hover/scopes-accordion:text-c-2`,icon:t?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])])]),_:1},8,[`class`]),V(k(Jh),{as:`template`},{default:A(()=>[I(`div`,null,[V(k(kM),{modelValue:r.value,"onUpdate:modelValue":i[1]||=e=>r.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`]),I(`table`,L_n,[(N(!0),P(B,null,yd(a.value,({id:t,label:n,description:r})=>(N(),F(k(bF),{key:t,class:`text-c-2`,onClick:n=>s(t,!e.selectedScopes.includes(t))},{default:A(()=>[V(k(gF),{class:`no-scrollbar hover:text-c-1 box-border flex !max-h-[initial] w-full cursor-pointer items-center gap-1 overflow-x-scroll px-3 py-1.5 text-nowrap`},{default:A(()=>[I(`span`,R_n,D(n),1),i[6]||=I(`span`,null,`–`,-1),r?(N(),P(`span`,z_n,D(r),1)):R(``,!0)]),_:2},1024),V(k(wF),{modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>s(t,e)},null,8,[`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])]),_:1})]),_:1})]),V(M_n,{scopes:Object.keys(e.flow.scopes??{}),state:k(u),onSubmit:i[2]||=t=>n(`update:selectedScopes`,{scopes:e.selectedScopes,newScopePayload:{...t,flowType:e.flowType}})},null,8,[`scopes`,`state`])]),_:1}))}})})),H_n,U_n=c((()=>{V_n(),H_n=B_n})),Q3,$3,W_n,G_n,K_n,e6,q_n=c((()=>{ON(),qv(),a3(),Pv(),Rv(),Uv(),Q3=(e,t={})=>Nv(Mv(e?.url??``,I4(e)),t),$3=(e,t={})=>{let n=Q3(e,t);return n?Lv(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},W_n=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),TN(e,!0)},G_n=async(e,t)=>{if(t===`plain`)return e;if(typeof crypto?.subtle?.digest!=`function`)return console.warn(`SHA-256 is only supported when using https, using a plain text code challenge instead.`),e;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return TN(new Uint8Array(r),!0)},K_n=async(e,t,n,r,i,a={})=>{let o=e[t];try{if(!o)return[Error(`Flow not found`),null];let s=n.join(` `);if(t===`clientCredentials`||t===`password`)return e6(e,t,s,{proxyUrl:i},r,a);let c=(Math.random()+1).toString(36).substring(2,10),l=Hv(e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl,$3(r,a)),u=new URL(l),d=null;if(t===`implicit`)u.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(u.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=W_n(),t=await G_n(e,n[`x-usePkce`]);d={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},u.searchParams.set(`code_challenge`,t),u.searchParams.set(`code_challenge_method`,d.codeChallengeMethod)}}let f=e[t];if(f[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=Q3(r,a)||window.location.origin+window.location.pathname,t=new URL(f[`x-scalar-secret-redirect-uri`],e).toString();u.searchParams.set(`redirect_uri`,t)}else u.searchParams.set(`redirect_uri`,f[`x-scalar-secret-redirect-uri`]);o[`x-scalar-security-query`]&&Object.keys(o[`x-scalar-security-query`]).forEach(e=>{let t=o[`x-scalar-security-query`]?.[e];t&&u.searchParams.set(e,t)}),u.searchParams.set(`client_id`,o[`x-scalar-secret-client-id`]),u.searchParams.set(`state`,c),s&&u.searchParams.set(`scope`,s);let p=window.open(u,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return p?new Promise(n=>{let l=setInterval(()=>{let u=null,f=null,m=null,h=null,g=null;try{let e=new URL(p.location.href).searchParams,t=o[`x-tokenName`]||`access_token`;u=e.get(t),f=e.get(`refresh_token`),m=e.get(`code`),h=e.get(`error`),g=e.get(`error_description`);let n=new URLSearchParams(p.location.href.split(`#`)[1]);u||=n.get(t),f||=n.get(`refresh_token`),m||=n.get(`code`),h||=n.get(`error`),g||=n.get(`error_description`)}catch{}(p.closed||u||m||h)&&(clearInterval(l),p.close(),h?n([Error(`OAuth error: ${h}${g?` (${g})`:``}`),null]):u?p.location.href.match(/state=([^&]*)/)?.[1]===c?n([null,{accessToken:u,...f?{refreshToken:f}:{}}]):n([Error(`State mismatch`),null]):m&&t===`authorizationCode`?new URL(p.location.href).searchParams.get(`state`)===c?e6(e,t,s,{code:m,pkce:d,proxyUrl:i},r,a).then(n):n([Error(`State mismatch`),null]):(clearInterval(l),n([Error(`Window was closed without granting authorization`),null])))},200)}):[Error(`Failed to open auth window`),null]}catch{return[Error(`Failed to authorize oauth2 flow`),null]}},e6=async(e,t,n,{code:r,pkce:i,proxyUrl:a}={},o,s={})=>{let c=e[t];if(!c)return[Error(`OAuth2 flow was not defined`),null];let l=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&l.set(`scope`,n);let u=c[`x-scalar-credentials-location`]===`body`,d=!!c[`x-scalar-secret-client-secret`];if((u||t===`authorizationCode`&&!d)&&l.set(`client_id`,c[`x-scalar-secret-client-id`]),u&&d&&l.set(`client_secret`,c[`x-scalar-secret-client-secret`]),`x-scalar-secret-redirect-uri`in c&&c[`x-scalar-secret-redirect-uri`]&&l.set(`redirect_uri`,c[`x-scalar-secret-redirect-uri`]),r)l.set(`code`,r),l.set(`grant_type`,`authorization_code`),i&&l.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];l.set(`grant_type`,`password`),l.set(`username`,n[`x-scalar-secret-username`]),l.set(`password`,n[`x-scalar-secret-password`])}else l.set(`grant_type`,`client_credentials`);c[`x-scalar-security-body`]&&Object.entries(c[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&l.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!u&&d&&(e.Authorization=`Basic ${DN(`${c[`x-scalar-secret-client-id`]}:${c[`x-scalar-secret-client-secret`]}`)}`);let t=Hv(c[`x-scalar-secret-token-url`]??c.tokenUrl,$3(o,s)),n=Kv(a,t)?`${a}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,r=await(await fetch(n,{method:`POST`,headers:e,body:l})).json(),i=r[c[`x-tokenName`]||`access_token`],f=r.refresh_token;return[null,{accessToken:i,...typeof f==`string`?{refreshToken:f}:{}}]}catch{return[Error(`Failed to get an access token. Please check your credentials.`),null]}}})),J_n,Y_n,X_n,Z_n=c((()=>{dN(),xF(),U_n(),q_n(),Z3(),U(),Y(),tP(),cv(),a3(),J_n={class:`flex h-8 items-center justify-end gap-2 border-t`},Y_n={class:`flex h-8 w-full items-center justify-end border-t`},X_n=j({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{}},emits:[`update:selectedScopes`],setup(e,{emit:t}){let n=t,r=WS(),{toast:i}=QN(),a=H(()=>e.flows[e.type]),o=lN(),s=H(()=>e.selectedScopes.filter(e=>e in(a.value.scopes??{}))),c=t=>{if(e.scheme.type===`openIdConnect`)return l(t);e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},l=t=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),u=()=>e.eventBus.emit(`auth:clear:security-scheme-secrets`,{name:e.name}),d=O(!1),f=()=>uN(o.value);nd(()=>a.value[`x-scalar-secret-redirect-uri`],e=>{let t=f();d.value||e||!t||!(`x-scalar-secret-redirect-uri`in a.value)||(d.value=!0,l({"x-scalar-secret-redirect-uri":t}))},{immediate:!0});let p=async()=>{if(r.isLoading)return;r.start();let[t,n]=await K_n(e.flows,e.type,s.value,e.server,e.proxyUrl,F4(e.environment));await r.clear(),n?.accessToken?l({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to authorize`,`error`))},m=t=>{let n=t===`body`?`body`:`header`;e.scheme.type!==`openIdConnect`&&c({"x-scalar-credentials-location":n}),l({"x-scalar-credentials-location":n})};return(t,i)=>a.value[`x-scalar-secret-token`]?(N(),P(B,{key:0},[V(k(bF),null,{default:A(()=>[V(X3,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":i[0]||=e=>l({"x-scalar-secret-token":e})},{default:A(()=>[...i[12]||=[L(` Access Token `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),V(k(bF),{class:`min-w-full`},{default:A(()=>[I(`div`,J_n,[V(k(KS),{class:`mr-1 p-0 px-2 py-0.5`,loader:k(r),size:`sm`,variant:`outlined`,onClick:i[1]||=()=>l({"x-scalar-secret-token":``,"x-scalar-secret-refresh-token":``})},{default:A(()=>[...i[13]||=[L(` Clear `,-1)]]),_:1},8,[`loader`])])]),_:1})],64)):(N(),P(B,{key:1},[V(k(bF),null,{default:A(()=>[`authorizationUrl`in a.value?(N(),F(X3,{key:0,containerClass:`border-r-0`,environment:e.environment,modelValue:a.value[`x-scalar-secret-auth-url`]??``,placeholder:`https://galaxy.scalar.com/authorize`,"onUpdate:modelValue":i[2]||=e=>{l({"x-scalar-secret-auth-url":e}),c({authorizationUrl:e})}},{default:A(()=>[...i[14]||=[L(` Auth URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):R(``,!0),`tokenUrl`in a.value?(N(),F(X3,{key:1,environment:e.environment,modelValue:a.value[`x-scalar-secret-token-url`]??``,placeholder:`https://galaxy.scalar.com/token`,"onUpdate:modelValue":i[3]||=e=>{l({"x-scalar-secret-token-url":e}),c({tokenUrl:e})}},{default:A(()=>[...i[15]||=[L(` Token URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):R(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in a.value?(N(),F(k(bF),{key:0},{default:A(()=>[V(X3,{environment:e.environment,modelValue:a.value[`x-scalar-secret-redirect-uri`],placeholder:`https://galaxy.scalar.com/callback`,"onUpdate:modelValue":i[4]||=e=>{l({"x-scalar-secret-redirect-uri":e})}},{default:A(()=>[...i[16]||=[L(` Redirect URL `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):R(``,!0),`x-scalar-secret-username`in a.value&&`x-scalar-secret-password`in a.value?(N(),P(B,{key:1},[V(k(bF),null,{default:A(()=>[V(X3,{class:`text-c-2`,environment:e.environment,modelValue:a.value[`x-scalar-secret-username`],placeholder:`janedoe`,"onUpdate:modelValue":i[5]||=e=>l({"x-scalar-secret-username":e})},{default:A(()=>[...i[17]||=[L(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),V(k(bF),null,{default:A(()=>[V(X3,{environment:e.environment,modelValue:a.value[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":i[6]||=e=>l({"x-scalar-secret-password":e})},{default:A(()=>[...i[18]||=[L(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})],64)):R(``,!0),V(k(bF),null,{default:A(()=>[V(X3,{environment:e.environment,modelValue:a.value[`x-scalar-secret-client-id`],placeholder:`12345`,"onUpdate:modelValue":i[7]||=e=>l({"x-scalar-secret-client-id":e})},{default:A(()=>[...i[19]||=[L(` Client ID `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),`x-scalar-secret-client-secret`in a.value?(N(),F(k(bF),{key:2},{default:A(()=>[V(X3,{environment:e.environment,modelValue:a.value[`x-scalar-secret-client-secret`],placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":i[8]||=e=>l({"x-scalar-secret-client-secret":e})},{default:A(()=>[...i[20]||=[L(` Client Secret `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):R(``,!0),`x-usePkce`in a.value?(N(),F(k(bF),{key:3},{default:A(()=>[V(X3,{enum:k(Zg),environment:e.environment,modelValue:a.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":i[9]||=e=>c({"x-usePkce":e})},{default:A(()=>[...i[21]||=[L(` Use PKCE `,-1)]]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):R(``,!0),e.type===`implicit`?R(``,!0):(N(),F(k(bF),{key:4},{default:A(()=>[V(X3,{enum:[`header`,`body`],environment:e.environment,modelValue:a.value[`x-scalar-credentials-location`]||`header`,placeholder:`header`,readOnly:``,"onUpdate:modelValue":i[10]||=e=>m(e)},{default:A(()=>[...i[22]||=[L(` Credentials Location `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})),V(k(bF),null,{default:A(()=>[V(H_n,{flow:a.value,flowType:e.type,selectedScopes:s.value,"onUpdate:selectedScopes":i[11]||=e=>n(`update:selectedScopes`,e)},null,8,[`flow`,`flowType`,`selectedScopes`])]),_:1}),V(k(bF),{class:`min-w-full`},{default:A(()=>[I(`div`,Y_n,[e.scheme.type===`openIdConnect`?(N(),F(k(KS),{key:0,class:`mr-1 p-0 px-2 py-0.5`,loader:k(r),size:`sm`,variant:`outlined`,onClick:u},{default:A(()=>[...i[23]||=[L(` Clear `,-1)]]),_:1},8,[`loader`])):R(``,!0),V(k(KS),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:k(r),size:`sm`,variant:`outlined`,onClick:p},{default:A(()=>[...i[24]||=[L(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1})],64))}})})),Q_n,$_n=c((()=>{Z_n(),Q_n=X_n})),evn,tvn,nvn=c((()=>{qv(),TQ(),B$(),evn=Z.Object({authorization_endpoint:Z.Optional(Z.String()),token_endpoint:Z.Optional(Z.String()),scopes_supported:Z.Optional(Z.Array(Z.String())),grant_types_supported:Z.Optional(Z.Array(Z.String())),code_challenge_methods_supported:Z.Optional(Z.Array(Z.String()))}),tvn=async(e,t)=>{try{let n=e.trim();if(!n)return[Error(`URL cannot be empty`),null];n.endsWith(`/`)&&(n=n.slice(0,-1)),n.includes(`/.well-known/openid-configuration`)||(n=`${n}/.well-known/openid-configuration`);let r=Gv(t,n),i=await fetch(r);if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=z$(evn,await i.json());return!a.authorization_endpoint&&!a.token_endpoint?[Error(`Invalid OpenID Connect discovery document: missing required endpoints`),null]:[null,a]}catch(e){return e instanceof Error?[e,null]:[Error(`Failed to fetch OpenID Connect discovery document`),null]}}})),rvn,ivn,t6,avn,ovn,n6,r6,svn,i6,a6,cvn,lvn=c((()=>{TQ(),N1(),E0(),j0(),Hsn(),t2(),rvn=M1(Z.Object({type:Z.Literal(`apiKey`)}),D0),ivn=M1(Z.Object({type:Z.Literal(`http`)}),D0,O0),t6=M1(Fsn,D0,Asn),avn=Z.Object({implicit:Z.Optional(M1(t6,A0)),password:Z.Optional(M1(t6,O0,k0,w0)),clientCredentials:Z.Optional(M1(t6,k0,w0)),authorizationCode:Z.Optional(M1(t6,k0,A0,w0))}),ovn=M1(Z.Object({type:Z.Literal(`oauth2`)}),avn),n6=Z.Object({type:Z.Literal(`openIdConnect`),implicit:Z.Optional(M1(N0,t6,A0)),password:Z.Optional(M1(P0,t6,O0,k0,w0)),clientCredentials:Z.Optional(M1(F0,t6,k0,w0)),authorizationCode:Z.Optional(M1(I0,t6,k0,A0,w0))}),r6=Z.Union([rvn,ivn,ovn,n6]),svn=Z.Record(Z.String(),r6),i6=Z.Object({selectedIndex:Z.Number(),selectedSchemes:Z.Array(pln)}),a6=Z.Object({secrets:svn,selected:Z.Object({document:Z.Optional(i6),path:Z.Optional(Z.Record(Z.String(),Z.Record(Z.String(),Z.Optional(i6))))})}),cvn=Z.Record(Z.String(),a6)}));function uvn(e){return e.startsWith(`#`)}var o6,s6=c((()=>{o6=(e,t)=>{Object.assign(e,t)}})),dvn,c6=c((()=>{t1(),U(),lvn(),s6(),Cq(),B$(),dvn=({hooks:e}={})=>{let t=$l({});return{clearAuthSelectedSchemas:n=>{let r=t[n.documentName];if(!r)return;if(n.type===`document`){delete r.selected.document,e?.onAuthChange?.(n.documentName);return}e1(n.method),e1(n.path);let i=r.selected.path?.[n.path];i&&(delete i[n.method],e?.onAuthChange?.(n.documentName))},getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(n,r,i)=>{t[n]||={secrets:{},selected:{document:void 0,path:void 0}},t[n].secrets[r]=z$(r6,i),e?.onAuthChange?.(n)},clearAuthSecrets:(n,r)=>{delete t[n]?.secrets?.[r],e?.onAuthChange?.(n)},getAuthSelectedSchemas:e=>e.type===`document`?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(n,r)=>{t[n.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let i=t[n.documentName];if(n.type===`document`)i.selected.document=r;else{e1(n.path),e1(n.method),i.selected.path||={},i.selected.path[n.path]||={};let e=i.selected.path[n.path];e[n.method]=r}e?.onAuthChange?.(n.documentName)},clearDocumentAuth:n=>{delete t[n],e?.onAuthChange?.(n)},load:n=>{o6(t,z$(cvn,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>Sq(t)}}})),fvn,pvn=c((()=>{B$(),c6(),fvn=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),n=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),r=e.authorization_endpoint,i=e.token_endpoint,a=e.code_challenge_methods_supported?.includes(`S256`)?`SHA-256`:e.code_challenge_methods_supported?.includes(`plain`)?`plain`:`no`,o={};return n.has(`implicit`)&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has(`password`)&&i&&(o.password={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`client_credentials`)&&i&&(o.clientCredentials={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`authorization_code`)&&r&&i&&(o.authorizationCode={authorizationUrl:r,tokenUrl:i,refreshUrl:i,"x-usePkce":a,scopes:t}),z$(n6,o)}})),mvn,hvn,gvn=c((()=>{xF(),Z3(),nvn(),pvn(),U(),Y(),tP(),mvn={class:`flex h-8 w-full items-center justify-end border-t`},hvn=j({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{}},setup(e){let t=WS(),{toast:n}=QN(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,i]=await tvn(e.scheme.openIdConnectUrl,e.proxyUrl);if(await t.clear(),r){console.error(r),n(r?.message??`Failed to fetch OpenID Connect configuration`,`error`);return}let a=fvn(i);e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:a,name:e.name,overwrite:!0})},i=t=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`openIdConnect`,openIdConnectUrl:t},name:e.name});return(n,a)=>(N(),P(B,null,[V(k(bF),null,{default:A(()=>[V(X3,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":i},{default:A(()=>[...a[0]||=[L(` Discovery URL `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),V(k(bF),{class:`min-w-full`},{default:A(()=>[I(`div`,mvn,[V(k(KS),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:k(t),size:`sm`,variant:`outlined`,onClick:r},{default:A(()=>[...a[1]||=[L(` Fetch Configuration `,-1)]]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}})})),_vn,vvn=c((()=>{gvn(),_vn=hvn})),yvn,bvn,xvn,Svn,Cvn,wvn,Tvn,Evn,Dvn=c((()=>{g3(),y3(),Z3(),$_n(),vvn(),U(),Y(),x_(),yvn={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},bvn={class:`text-c-1 leading-5.5 font-medium`},xvn={class:`flex min-h-8 border-t text-base`},Svn={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},Cvn=[`onClick`],wvn={class:`relative z-10`},Tvn={key:5,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},Evn=j({__name:`RequestAuthTab`,props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{}},emits:[`update:selectedScopes`],setup(e,{emit:t}){let n=t,r=H(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>({scheme:b_(e.securitySchemes[t]),name:t,scopes:n}))),i=O(``),a=H(()=>r.value.flatMap(({scheme:e})=>e?.type!==`oauth2`&&e?.type!==`openIdConnect`?[]:Object.keys(e.flows??{})).includes(i.value)?i.value:``),o=e=>{i.value=e},s=H(()=>r.value.length>1),c=(e,t)=>{let n=Sl(e);switch(t.type){case`apiKey`:return`${n}: ${t.in}`;case`openIdConnect`:case`oauth2`:{let e=Object.keys(t.flows??{})[0],r=a.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},l=(e,t)=>a.value===e||t===0&&!a.value,u=()=>e.isStatic&&`border-t`,d=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),f=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),p=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),m=(t,r)=>{n(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...r})},h=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return l(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r};return(t,n)=>(N(!0),P(B,null,yd(r.value,({scheme:t,name:r,scopes:i})=>(N(),P(B,{key:r},[s.value&&t?(N(),F(k(v3),{key:0},{default:A(()=>[V(k(h3),{"aria-label":c(r,t),class:`max-h-[auto]`},{default:A(()=>[I(`div`,yvn,[I(`p`,bvn,D(c(r,t)),1),t.description?(N(),F(k(vM),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):R(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):R(``,!0),t?.description&&!s.value?(N(),F(k(v3),{key:1},{default:A(()=>[V(k(h3),{"aria-label":t.description,class:`max-h-[auto]`},{default:A(()=>[V(k(vM),{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)):R(``,!0),t?.type===`http`?(N(),P(B,{key:2},[t.scheme===`bearer`?(N(),F(k(v3),{key:0},{default:A(()=>[V(X3,{containerClass:u(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>d({"x-scalar-secret-token":e},r)},{default:A(()=>[...n[0]||=[L(` Bearer Token `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):t?.scheme===`basic`?(N(),P(B,{key:1},[V(k(v3),null,{default:A(()=>[V(X3,{class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>d({"x-scalar-secret-username":e},r)},{default:A(()=>[...n[1]||=[L(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),V(k(v3),null,{default:A(()=>[V(X3,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>d({"x-scalar-secret-password":e},r)},{default:A(()=>[...n[2]||=[L(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):R(``,!0)],64)):t?.type===`apiKey`?(N(),P(B,{key:3},[V(k(v3),null,{default:A(()=>[V(X3,{containerClass:u(),environment:e.environment,modelValue:t.name,placeholder:`api-key`,"onUpdate:modelValue":e=>p({name:e},r)},{default:A(()=>[...n[3]||=[L(` Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),V(k(v3),null,{default:A(()=>[V(X3,{environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>f({"x-scalar-secret-token":e},r)},{default:A(()=>[...n[4]||=[L(` Value `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(N(),P(B,{key:4},[t?.type===`openIdConnect`&&!Object.keys(t.flows??{}).length?(N(),F(_vn,{key:0,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:u,name:r,proxyUrl:e.proxyUrl,scheme:t},null,8,[`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):R(``,!0),Object.keys(t.flows??{}).length>1?(N(),F(k(v3),{key:1},{default:A(()=>[I(`div`,xvn,[I(`div`,Svn,[(N(!0),P(B,null,yd(t.flows,(e,t,n)=>(N(),P(`button`,{key:t,class:E(h(t,n)),type:`button`,onClick:e=>o(t)},[I(`span`,wvn,D(t),1)],10,Cvn))),128))])])]),_:2},1024)):R(``,!0),(N(!0),P(B,null,yd(t.flows,(n,a,o)=>(N(),P(B,{key:a},[t.flows&&l(a,o)?(N(),F(Q_n,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:r,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:i,server:e.server,type:a,"onUpdate:selectedScopes":e=>m(r,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onUpdate:selectedScopes`])):R(``,!0)],64))),128))],64)):(N(),P(`div`,Tvn,` The security scheme is missing a type, please double check your OpenAPI document or Authentication Configuration `))],64))),128))}})})),Ovn,kvn=c((()=>{Dvn(),Ovn=Evn})),Avn,jvn,Mvn,Nvn,Pvn=c((()=>{m3(),kvn(),U(),Avn=[`onClick`],jvn={class:`relative z-10 font-medium whitespace-nowrap`},Mvn={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`},Nvn=j({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{}},setup(e,{expose:t}){let n=H(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=H(()=>e.selectedSchemeOptions.length>1),i=t=>e.eventBus.emit(`auth:update:active-index`,{index:t,meta:e.meta}),a=t=>e.eventBus.emit(`auth:update:selected-scopes`,{...t,meta:e.meta}),o=t=>e.activeAuthIndex===t;return t({activeScheme:n}),(t,s)=>(N(),P(`form`,{onSubmit:s[0]||=$p(()=>{},[`prevent`])},[r.value?(N(),P(`div`,{key:0,class:E([`box-content flex flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3`,{"border-x-0":!e.isStatic}]),"data-testid":`auth-tabs`},[(N(!0),P(B,null,yd(e.selectedSchemeOptions,(e,t)=>(N(),P(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[I(`button`,{class:E([`floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors`,o(t)?`text-c-1`:`text-c-3`]),type:`button`,onClick:e=>i(t)},[I(`span`,jvn,D(e.label),1)],10,Avn),o(t)?(N(),P(`div`,Mvn)):R(``,!0)]))),128))],2)):R(``,!0),n.value?(N(),F(k(p3),{key:1,class:E([`flex-1`,{"bg-b-1 rounded-b-lg border border-t-0":e.isStatic}]),columns:[``],presentational:``},{default:A(()=>[V(Ovn,{environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onUpdate:selectedScopes":a},null,8,[`environment`,`eventBus`,`isStatic`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(N(),P(`div`,{key:2,class:E([`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))}})})),Fvn,Ivn=c((()=>{Pvn(),Fvn=Nvn})),Lvn,Rvn,zvn,Bvn=c((()=>{E3(),f_n(),g_n(),Ivn(),U(),Y(),EC(),a3(),x_(),Cq(),Lvn=[`id`],Rvn={class:`min-w-0 flex-1 truncate`},zvn=j({__name:`AuthSelector`,props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{}},setup(e,{expose:t}){let n=ud(),r=O(null),i=O(!1),a=EM(),o=O(null),s=H(()=>{if(!e.securityRequirements?.length)return null;let t=q4(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:t?`Optional`:`Required`}}),c=H(()=>h_n(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),l=H(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(n.length===0)return[];if(n.length>1)return J3(t);let r=n[0];return!r||!b_(e.securitySchemes?.[r])?[]:q3({name:r,value:t})}):[]}),u=e=>{i.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{let n=t.filter(e=>e.payload===void 0).map(e=>Sq(e.value,{depth:2})),r=t.filter(e=>e.payload!==void 0).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit(`auth:update:selected-security-schemes`,{selectedRequirements:n,newSchemes:r,meta:e.meta})},f=e=>{o.value={label:e.label,payload:e.value},a.show()},p=()=>{o.value&&(e.eventBus.emit(`auth:delete:security-scheme`,{names:Object.keys(o.value.payload)}),o.value=null,a.hide())};return t({authIndicator:s,selectedSchemeOptions:l,schemeOptions:c}),(t,m)=>(N(),F(k(T3),{class:`group/params relative`,defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:l.value.length,"onUpdate:modelValue":m[1]||=e=>i.value=e},{title:A(()=>[I(`div`,{id:k(n),class:`inline-flex items-center gap-0.5 leading-[20px]`},[I(`span`,null,D(e.title),1),s.value?(N(),P(`span`,{key:0,class:E([`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":s.value.text===`Required`}]),"data-testid":`auth-indicator`,onClick:u},D(s.value.text),3)):R(``,!0)],8,Lvn)]),actions:A(()=>[V(k(Pj),{class:`w-72 text-xs`,modelValue:l.value,multiple:``,options:c.value,placement:`bottom-end`,teleport:``,onDelete:f,"onUpdate:modelValue":d},{option:A(({option:e,selected:t})=>[V(k(Dj),{multiselect:``,selected:t},null,8,[`selected`]),I(`div`,Rvn,D(e.label),1),e.isDeletable?(N(),F(k(hM),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:k(SC),label:`Delete ${e.label}`,size:`xs`,onClick:$p(t=>f(e),[`stop`])},null,8,[`icon`,`label`,`onClick`])):R(``,!0)]),default:A(()=>[V(k(KS),{ref_key:`comboboxButtonRef`,ref:r,"aria-describedby":k(n),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:A(()=>[l.value.length===1?(N(),P(B,{key:0},[m[2]||=I(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),L(` `+D(l.value[0]?.label),1)],64)):l.value.length>1?(N(),P(B,{key:1},[m[3]||=L(` Multiple `,-1),m[4]||=I(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(N(),P(B,{key:2},[m[5]||=I(`span`,{class:`sr-only`},`Select`,-1),m[6]||=L(` Auth Type `,-1)],64)),V(k(oC),{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:A(()=>[V(Fvn,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:l.value,server:e.server},null,8,[`activeAuthIndex`,`environment`,`eventBus`,`isStatic`,`meta`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),o.value?(N(),F(d_n,{key:0,label:o.value.label,scheme:o.value,state:k(a),onClose:m[0]||=e=>k(a).hide(),onDelete:p},null,8,[`label`,`scheme`,`state`])):R(``,!0)]),_:1},8,[`defaultOpen`,`isStatic`,`itemCount`]))}})})),l6,Vvn=c((()=>{Bvn(),l6=zvn})),Hvn,Uvn,Wvn,Gvn,Kvn,qvn,Jvn=c((()=>{c4(),lF(),dF(),xgn(),Ygn(),e_n(),t_n(),a_n(),o_n(),Vvn(),U(),Y(),a3(),x_(),_v(),Cq(),Pv(),Ov(),Hvn={class:`group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24`},Uvn=[`for`],Wvn=[`id`,`placeholder`,`value`],Gvn={key:2,class:`text-c-1 flex h-8 items-center`},Kvn=[`id`,`role`],qvn=j({__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:{}},setup(e){let t=H(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),n=H(()=>U3(e.operation.parameters?.map(e=>b_(e))??[],`in`,t=>{let n=u4(t,e.exampleKey,void 0);return{name:t.name,value:n?.value??``,description:t.description,schema:i_n(t),isRequired:t.required,isDisabled:s4(t,n),originalParameter:t}})),r=H(()=>U3(n.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],`name`)),i=H(()=>{let t=e.operation[`x-scalar-disable-parameters`]?.[`default-headers`]?.[e.exampleKey]??{},n=e=>{let t=r.value[e.toLowerCase()]?.[0];return t?!t.isDisabled:!1};return Object.entries(e.defaultHeaders).map(([e,r])=>({name:e,value:r,schema:void 0,isOverridden:n(e),isReadonly:!0,isDisabled:t[e.toLowerCase()]??!1}))}),a=H(()=>[...i.value,...n.value.header??[]]),o=H(()=>{let t=F4(e.environment),n=Nv(R4({server:e.server,path:e.path}),t),r=e.operation[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[e.exampleKey]??{},i=(e,t)=>({name:e.name,value:e.value,globalRoute:{page:t,path:`cookies`},isReadonly:!0,isDisabled:r[e.name.toLowerCase()]??!1});return[{location:`workspace`,cookies:e.workspaceCookies},{location:`document`,cookies:e.documentCookies}].flatMap(({location:e,cookies:t})=>t.filter(e=>T4({cookie:e,url:n,disabledGlobalCookies:{}})).map(t=>i(t,e)))}),s=H(()=>[...o.value??[],...n.value.cookie??[]]),c=O(`All`),l=[`Auth`,`Variables`,`Cookies`,`Headers`,`Query`,`Body`],u={All:ud(),Auth:ud(),Variables:ud(),Cookies:ud(),Headers:ud(),Query:ud(),Body:ud()},d=H(()=>{let t=new Set([`All`,...l]);return n.value.path?.length||t.delete(`Variables`),gv(e.method)||t.delete(`Body`),p.value&&t.delete(`Auth`),[...t]}),f=H(()=>Object.fromEntries(d.value.map(e=>[e,u[e]]))),p=H(()=>e.layout===`modal`&&!Object.keys(e.securitySchemes??{}).length),m=H(()=>e.layout!==`modal`||!!(e.securityRequirements?.length||e.selectedSecurity.selectedSchemes.length)),h=H(()=>e.operation.summary?e.operation.summary:e.path.replace(Dv.PROTOCOL,``)||`Request Name`),g=e=>c.value===`All`||c.value===e;nd(()=>e.method,e=>{c.value===`Body`&&!gv(e)&&(c.value=`All`)});let _=n=>{let r=n.target.value;e.eventBus.emit(`operation:update:meta`,{meta:t.value,payload:{summary:r.trim()}})},v=H(()=>({path:H3(`path`,e.eventBus,t.value,{context:n.value.path??[]}),cookie:H3(`cookie`,e.eventBus,t.value,{context:s.value??[],globalParameters:o.value.length}),header:H3(`header`,e.eventBus,t.value,{context:a.value,defaultParameters:i.value.length}),query:H3(`query`,e.eventBus,t.value,{context:n.value.query??[]})})),y=n=>e.eventBus.emit(`operation:update:requestBody:contentType`,{payload:{contentType:n.value},meta:t.value}),b=({payload:n,contentType:r})=>{let i=typeof n==`string`?`update:requestBody:value-${r}`:void 0;e.eventBus.emit(`operation:update:requestBody:value`,{payload:n,contentType:r,meta:t.value},{debounceKey:i})},x=({payload:n,contentType:r})=>{let i=`update:requestBody:${r}-form-value`;e.eventBus.emit(`operation:update:requestBody:formValue`,{payload:n.map(e=>Sq(e,{depth:1})),contentType:r,meta:t.value},{debounceKey:i})},ee=ud(),S=H(()=>[...e.workspaceCookies,...e.documentCookies]),C=n=>e.eventBus.emit(`operation:update:extension`,{payload:n,meta:t.value});return(t,r)=>(N(),F(uF,{"aria-label":`Request: ${e.operation.summary}`},{title:A(()=>[I(`div`,Hvn,[e.layout===`modal`?R(``,!0):(N(),P(`label`,{key:0,class:`pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0`,for:k(ee)},null,8,Uvn)),e.layout===`modal`?(N(),P(`span`,Gvn,D(e.operation.summary),1)):(N(),P(`input`,{key:1,id:k(ee),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:h.value,value:e.operation.summary,onBlur:_},null,40,Wvn))]),V(cF,{modelValue:c.value,"onUpdate:modelValue":r[0]||=e=>c.value=e,filterIds:f.value,filters:d.value},null,8,[`modelValue`,`filterIds`,`filters`])]),default:A(()=>[I(`div`,{id:f.value.All,class:`request-section-content custom-scroll relative flex flex-1 flex-col`,role:c.value===`All`?`tabpanel`:`none`},[Xu(V(k(l6),{id:f.value.Auth,createAnySecurityScheme:e.layout!==`modal`,defaultOpen:m.value,environment:e.environment,eventBus:e.eventBus,meta:e.authMeta,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`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`selectedSecuritySchemes`,`server`]),[[Rp,g(`Auth`)&&!p.value]]),Xu(V(V3,z({id:f.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:n.value.path??[],showAddRowPlaceholder:!1,title:`Variables`},xd(v.value.path)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`]),[[Rp,g(`Variables`)&&n.value.path?.length]]),Xu(V(V3,z({id:f.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:s.value??[],showAddRowPlaceholder:!0,title:`Cookies`},xd(v.value.cookie)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`]),[[Rp,g(`Cookies`)]]),Xu(V(V3,z({id:f.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:a.value??[],title:`Headers`},xd(v.value.header)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`]),[[Rp,g(`Headers`)]]),Xu(V(V3,z({id:f.value.Query,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:n.value.query??[],title:`Query Parameters`},xd(v.value.query)),null,16,[`id`,`environment`,`eventBus`,`exampleKey`,`rows`]),[[Rp,g(`Query`)]]),Xu(V(bgn,{id:f.value.Body,environment:e.environment,exampleKey:e.exampleKey,requestBody:k(b_)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:`Request Body`,"onUpdate:contentType":y,"onUpdate:formValue":x,"onUpdate:value":b},null,8,[`id`,`environment`,`exampleKey`,`requestBody`,`requestBodyCompositionSelection`]),[[Rp,g(`Body`)&&k(gv)(e.method)]]),(N(!0),P(B,null,yd(e.plugins,(t,n)=>(N(),F(k(Uj),{key:n},{default:A(()=>[t?.components?.request?Xu((N(),F(vd(t.components.request.component),z({key:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":C}),null,16,[`operation`])),[[Rp,c.value===`All`]]):R(``,!0)]),_:2},1024))),128)),r[1]||=I(`div`,{class:`flex grow`},null,-1),Xu(V(Jgn,{clientOptions:e.clientOptions,eventBus:e.eventBus,globalCookies:S.value,integration:`client`,method:e.method,operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:k(b_)(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`]),[[Rp,c.value===`All`]])],8,Kvn)]),_:1},8,[`aria-label`]))}})})),Yvn,Xvn=c((()=>{Mg(),Jvn(),Yvn=jg(qvn,[[`__scopeId`,`data-v-2d4e3b5d`]])})),Zvn,Qvn,$vn,eyn=c((()=>{hF(),yF(),xF(),YK(),E3(),ZK(),$K(),U(),Zvn={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},Qvn={key:1,class:`text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm`},$vn=j({__name:`Headers`,props:{headers:{}},setup(e){let t=e=>QK.find(t=>t.name.toLowerCase()===e.toLowerCase());return(n,r)=>(N(),F(k(T3),{class:`overflow-auto`,defaultOpen:!1,itemCount:e.headers.length},{title:A(()=>[M(n.$slots,`title`)]),default:A(()=>[e.headers.length?(N(),P(`div`,Zvn,[V(mF,{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(k(vF),null,{default:A(()=>[...r[0]||=[L(`Header Key`,-1)]]),_:1}),V(k(vF),null,{default:A(()=>[...r[1]||=[L(`Header Value`,-1)]]),_:1})]),_:1}),(N(!0),P(B,null,yd(e.headers,e=>(N(),F(bF,{key:e.name,class:`group/row text-c-1`},{default:A(()=>[V(JK,{class:`bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0`},{default:A(()=>[typeof t(e.name)?.url==`string`?(N(),F(XK,{key:0,class:`decoration-c-3`,href:t(e.name).url},{default:A(()=>[L(D(e.name),1)]),_:2},1032,[`href`])):(N(),P(B,{key:1},[L(D(e.name),1)],64))]),_:2},1024),V(JK,{class:`z-0 group-first/row:border-t-0`,text:e.value},null,8,[`text`])]),_:2},1024))),128))]),_:1})])):(N(),P(`div`,Qvn,` No headers `))]),_:3},8,[`itemCount`]))}})})),u6,tyn=c((()=>{eyn(),u6=$vn}));function nyn(e){let t=d6[e];if(t)return t;if(e.endsWith(`+json`))return{extension:`.json`,raw:!0,language:`json`}}var d6,ryn,iyn=c((()=>{d6={"application/epub+zip":{extension:`.epub`},"application/gzip":{extension:`.gz`},"application/java-archive":{extension:`.jar`},"application/javascript":{extension:`.js`,raw:!0},"application/json":{extension:`.json`,raw:!0,language:`json`},"application/ld+json":{extension:`.jsonld`,raw:!0,language:`json`},"application/problem+json":{extension:`.json`,raw:!0,language:`json`},"application/vnd.api+json":{extension:`.json`,raw:!0,language:`json`},"application/dns-json":{extension:`.json`,raw:!0,language:`json`},"application/msword":{extension:`.doc`},"application/octet-stream":{extension:`.bin`},"application/ogg":{extension:`.ogx`},"application/pdf":{extension:`.pdf`,preview:`object`},"application/rtf":{extension:`.rtf`,raw:!0},"application/vnd.amazon.ebook":{extension:`.azw`},"application/vnd.apple.installer+xml":{extension:`.mpkg`,raw:!0,language:`xml`},"application/vnd.mozilla.xul+xml":{extension:`.xul`,raw:!0,language:`xml`},"application/vnd.ms-excel":{extension:`.xls`},"application/vnd.ms-fontobject":{extension:`.eot`},"application/vnd.ms-powerpoint":{extension:`.ppt`},"application/vnd.oasis.opendocument.presentation":{extension:`.odp`},"application/vnd.oasis.opendocument.spreadsheet":{extension:`.ods`},"application/vnd.oasis.opendocument.text":{extension:`.odt`},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:`.pptx`},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:`.xlsx`},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:`.docx`},"application/vnd.rar":{extension:`.rar`},"application/vnd.visio":{extension:`.vsd`},"application/x-7z-compressed":{extension:`.7z`},"application/x-abiword":{extension:`.abw`},"application/x-bzip":{extension:`.bz`},"application/x-bzip2":{extension:`.bz2`},"application/x-cdf":{extension:`.cda`},"application/x-csh":{extension:`.csh`},"application/x-freearc":{extension:`.arc`},"application/x-httpd-php":{extension:`.php`,raw:!0},"application/x-sh":{extension:`.sh`,raw:!0},"application/x-tar":{extension:`.tar`},"application/xhtml+xml":{extension:`.xhtml`,raw:!0,language:`html`},"application/xml":{extension:`.xml`,raw:!0,language:`xml`},"application/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"application/zip":{extension:`.zip`},"audio/aac":{extension:`.aac`},"audio/midi":{extension:`.midi`},"audio/mpeg":{extension:`.mp3`,preview:`audio`},"audio/ogg":{extension:`.oga`},"audio/wav":{extension:`.wav`},"audio/webm":{extension:`.weba`},"font/otf":{extension:`.otf`},"font/ttf":{extension:`.ttf`},"font/woff":{extension:`.woff`},"font/woff2":{extension:`.woff2`},"image/apng":{extension:`.apng`,preview:`image`,alpha:!0},"image/avif":{extension:`.avif`,preview:`image`},"image/bmp":{extension:`.bmp`,preview:`image`},"image/gif":{extension:`.gif`,preview:`image`,alpha:!0},"image/jpeg":{extension:`.jpg`,preview:`image`},"image/png":{extension:`.png`,preview:`image`,alpha:!0},"image/svg+xml":{extension:`.svg`,raw:!0,language:`xml`,preview:`image`,alpha:!0},"image/tiff":{extension:`.tiff`},"image/vnd.microsoft.icon":{extension:`.ico`,preview:`image`},"image/webp":{extension:`.webp`,preview:`image`,alpha:!0},"text/calendar":{extension:`.ics`,raw:!0},"text/css":{extension:`.css`,raw:!0,language:`css`},"text/csv":{extension:`.csv`,raw:!0},"text/html":{extension:`.html`,raw:!0,language:`html`,preview:`object`},"text/javascript":{extension:`.js`,raw:!0},"text/plain":{extension:`.txt`,raw:!0},"text/xml":{extension:`.xml`,raw:!0,language:`xml`},"text/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"video/3gpp":{extension:`.3gp`},"audio/3gpp":{extension:`.3gp`},"video/3gpp2":{extension:`.3g2`},"audio/3gpp2":{extension:`.3g2`},"video/mp2t":{extension:`.ts`},"video/mp4":{extension:`.mp4`,preview:`video`},"video/mpeg":{extension:`.mpeg`},"video/ogg":{extension:`.ogv`},"video/webm":{extension:`.webm`,preview:`video`},"video/x-msvideo":{extension:`.avi`}},ryn=Object.entries(d6).filter(([,e])=>e?.raw).map(([e])=>e)}));function ayn(e){let t=``;if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=oyn(n.trim()))}return t}var oyn,syn=c((()=>{oyn=e=>{try{return decodeURIComponent(e)}catch{return e}}}));function cyn({data:e,headers:t}){let n=t.find(e=>e.name.toLowerCase()===`content-type`),r=n?.value?new lyn.default(n.value):void 0;return{mimeType:r,attachmentFilename:ayn(t.find(e=>e.name.toLowerCase()===`content-disposition`)?.value??``),dataUrl:uyn(e)?URL.createObjectURL(e):typeof e==`string`?URL.createObjectURL(new Blob([e],{type:r?r.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:r?r.toString():void 0})):``}}var lyn,uyn,dyn=c((()=>{syn(),lyn=f(IN(),1),uyn=e=>e instanceof Blob})),fyn,pyn,myn=c((()=>{PN(),U(),Y(),fyn=[`download`,`href`],pyn=j({__name:`ResponseBodyDownload`,props:{href:{},type:{},filename:{}},setup(e){let t=e,n=H(()=>{let e=MN(t.type??``)?.extension??`.unknown`;return t.filename?t.filename:`response${e}`});return(t,r)=>(N(),P(`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:`${n.value}`,href:e.href,onClick:r[0]||=$p(()=>{},[`stop`])},[V(k(nM),{icon:`Download`,size:`xs`}),r[1]||=I(`span`,null,[I(`span`,null,`Download`),I(`span`,{class:`sr-only`},`Response Body`)],-1)],8,fyn))}})})),f6,hyn=c((()=>{myn(),f6=pyn}));function gyn(e,t){return N(),P(`div`,vyn,[I(`div`,yyn,[M(e.$slots,`default`)])])}var _yn,vyn,yyn,p6,byn=c((()=>{Mg(),U(),_yn={},vyn={class:`flex justify-center px-2 py-3`},yyn={class:`text-c-3 p-2 text-sm`},p6=jg(_yn,[[`render`,gyn]])})),xyn,Syn,Cyn,wyn,Tyn,Eyn=c((()=>{byn(),U(),xyn=[`src`],Syn=[`src`,`type`],Cyn=[`src`,`type`],wyn=[`data`,`type`],Tyn=j({__name:`ResponseBodyPreview`,props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=O(!1);return nd(()=>e.src,()=>t.value=!1),(n,r)=>!t.value&&e.src?(N(),P(`div`,{key:0,class:E([`flex justify-center overflow-auto rounded-b`,{"bg-preview p-2":e.alpha}])},[e.mode===`image`?(N(),P(`img`,{key:0,class:E([`h-full max-w-full`,{rounded:e.alpha}]),src:e.src,onError:r[0]||=e=>t.value=!0},null,42,xyn)):e.mode===`video`?(N(),P(`video`,{key:1,autoplay:``,controls:``,width:`100%`,onError:r[1]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,Syn)],32)):e.mode===`audio`?(N(),P(`audio`,{key:2,class:`my-12`,controls:``,onError:r[2]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,Cyn)],32)):(N(),P(`object`,{key:3,class:`aspect-[4/3] w-full`,data:e.src,type:e.type,onError:r[3]||=e=>t.value=!0},null,40,wyn))],2)):(N(),F(p6,{key:1},{default:A(()=>[...r[4]||=[L(`Preview unavailable`,-1)]]),_:1}))}})})),Dyn,Oyn=c((()=>{Mg(),Eyn(),Dyn=jg(Tyn,[[`__scopeId`,`data-v-c02b5bb8`]])})),kyn,Ayn,jyn,Myn=c((()=>{U(),Y(),y_(),qK(),kyn={class:`scalar-code-block group/code-block body-raw relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline`},Ayn={class:`body-raw-scroller custom-scroll relative pr-1`,tabindex:`0`},jyn=j({__name:`ResponseBodyRaw`,props:{content:{},language:{}},setup(e){let t=e,n=O(null),r=ud(),{codeMirror:i}=GK({codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:du(()=>v_(t.content)),language:du(()=>t.language),forceFoldGutter:!0}),a=()=>i.value?.state.doc.toString()||``;return(e,t)=>(N(),P(`div`,kyn,[I(`div`,Ayn,[I(`div`,{ref_key:`codeMirrorRef`,ref:n},null,512)]),a()?(N(),F(k(sw),{key:0,class:`absolute top-2 right-2`,content:a(),"aria-controls":k(r)},null,8,[`content`,`aria-controls`])):R(``,!0)]))}})})),Nyn,Pyn=c((()=>{Mg(),Myn(),Nyn=jg(jyn,[[`__scopeId`,`data-v-194605f9`]])})),Fyn,Iyn,Lyn=c((()=>{U(),Fyn={class:`text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5`},Iyn=j({__name:`ResponseBodyToggle`,props:{modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e){return(t,n)=>(N(),P(`div`,Fyn,[I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:`button`,onClick:n[0]||=$p(e=>t.$emit(`update:modelValue`,!0),[`stop`])},` Preview `,2),I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:`button`,onClick:n[1]||=$p(e=>t.$emit(`update:modelValue`,!1),[`stop`])},` Raw `,2)]))}})})),Ryn,zyn=c((()=>{Lyn(),Ryn=Iyn})),Byn,Vyn,Hyn,Uyn,Wyn=c((()=>{E3(),iyn(),dyn(),hyn(),byn(),Oyn(),Pyn(),zyn(),U(),Byn={key:0,class:`bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden`},Vyn={class:`box-content flex min-h-8 items-center justify-between border-y px-3`},Hyn={class:`text-xxs font-code leading-5`},Uyn=j({__name:`ResponseBody`,props:{title:{},layout:{},data:{},headers:{}},setup(e){let t=O(!0),n=H(()=>!!(o.value?.raw&&o.value.preview)),r=H(()=>t.value||!n.value),i=H(()=>!t.value||!n.value),a=H(()=>cyn({data:e.data,headers:e.headers})),o=H(()=>nyn(a.value.mimeType?.essence??``));return(s,c)=>(N(),F(k(T3),{class:`max-h-content overflow-y-hidden`,isStatic:e.layout===`reference`},bd({title:A(()=>[L(D(e.title),1)]),default:A(()=>[e.data?(N(),P(`div`,Byn,[I(`div`,Vyn,[I(`span`,Hyn,D(a.value.mimeType?.essence),1),n.value?(N(),F(Ryn,{key:0,modelValue:t.value,"onUpdate:modelValue":c[0]||=e=>t.value=e},null,8,[`modelValue`])):R(``,!0)]),o.value?.raw&&i.value?(N(),F(Nyn,{key:a.value.dataUrl,content:e.data,language:o.value.language},null,8,[`content`,`language`])):R(``,!0),o.value?.preview&&r.value?(N(),F(Dyn,{key:a.value.dataUrl,alpha:o.value.alpha,mode:o.value.preview,src:a.value.dataUrl,type:a.value.mimeType?.essence??``},null,8,[`alpha`,`mode`,`src`,`type`])):R(``,!0),!o.value?.raw&&!o.value?.preview?(N(),F(p6,{key:2},{default:A(()=>[...c[1]||=[L(` Binary file `,-1)]]),_:1})):R(``,!0)])):R(``,!0)]),_:2},[e.data&&a.value.dataUrl?{name:`actions`,fn:A(()=>[V(f6,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1032,[`isStatic`]))}})})),Gyn,Kyn=c((()=>{Mg(),Wyn(),Gyn=jg(Uyn,[[`__scopeId`,`data-v-94c74c13`]])})),qyn,Jyn,Yyn,Xyn,Zyn,Qyn=c((()=>{E3(),U(),Y(),qyn={class:`flex w-full items-center justify-between`},Jyn={key:0,class:`mr-2 flex items-center gap-2`},Yyn={key:0,class:`text-red bg-b-danger sticky top-0 border-b p-2`},Xyn={key:1,class:`p-2`},Zyn=j({__name:`ResponseBodyStreaming`,props:{reader:{}},setup(e){let t=WS(),n=O(``),r=O(null),i=O(null),a=O(null),o=O(null),s=()=>{i.value&&(i.value.scrollTop=i.value.scrollHeight)};nd(n,async()=>{await Ku(s)});async function c(e){try{for(;t.isLoading&&a.value===e;){let{done:r,value:i}=await e.read();if(a.value!==e)break;if(r){t.clear();break}i&&o.value&&(n.value+=o.value.decode(i,{stream:!0}))}}catch(n){a.value===e&&(console.error(`Error reading stream:`,n),t.clear(),r.value=n)}finally{a.value===e&&o.value&&(n.value+=o.value.decode())}}let l=()=>{a.value&&a.value.cancel(),a.value=e.reader,o.value=new TextDecoder,t.start(),n.value=``,r.value=null,c(e.reader)},u=()=>{a.value&&=(a.value.cancel(),null),t.clear()};return nd(()=>e.reader,l,{immediate:!0}),Mf(u),(e,a)=>(N(),F(k(T3),{class:`max-h-content overflow-y-hidden`},bd({title:A(()=>[I(`div`,qyn,[a[1]||=I(`div`,null,`Body`,-1),k(t).isLoading?(N(),P(`div`,Jyn,[V(k(HS),{loadingState:k(t),size:`xs`},null,8,[`loadingState`]),a[0]||=I(`span`,{class:`text-c-2`},` Listening… `,-1)])):R(``,!0)])]),default:A(()=>[I(`div`,{ref_key:`contentContainer`,ref:i,class:`text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap`},[r.value?(N(),P(`div`,Yyn,D(r.value.message),1)):R(``,!0),n.value?(N(),P(`div`,Xyn,D(n.value),1)):R(``,!0)],512)]),_:2},[k(t).isLoading?{name:`actions`,fn:A(()=>[V(k(KS),{size:`sm`,variant:`ghost`,onClick:u},{default:A(()=>[...a[2]||=[L(` Cancel `,-1)]]),_:1})]),key:`0`}:void 0]),1024))}})})),$yn,ebn=c((()=>{Qyn(),$yn=Zyn})),tbn,nbn=c((()=>{E3(),dyn(),hyn(),U(),Y(),Rx(),tbn=j({__name:`ResponseBodyVirtual`,props:{content:{},data:{},headers:{}},setup(e){let t=H(()=>jx(e.content)),n=H(()=>cyn({data:e.data,headers:e.headers}));return(e,r)=>(N(),F(k(T3),{class:`!max-h-100% response-body-virtual overflow-x-auto`},bd({title:A(()=>[r[0]||=L(`Body`,-1)]),default:A(()=>[r[1]||=I(`div`,{class:`font-code text-xxs rounded-t border border-b-0 px-2.5 py-1.5`},` This response body is massive! Syntax highlighting won't work here. `,-1),V(k(JM),{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,text:t.value},null,8,[`text`])]),_:2},[n.value.dataUrl?{name:`actions`,fn:A(()=>[V(f6,{filename:n.value.attachmentFilename,href:n.value.dataUrl,type:n.value.mimeType?.essence},null,8,[`filename`,`href`,`type`])]),key:`0`}:void 0]),1024))}})})),rbn,ibn=c((()=>{nbn(),rbn=tbn})),abn,obn,sbn,cbn=c((()=>{hF(),yF(),xF(),YK(),E3(),U(),abn={key:0,class:`max-h-[calc(100%-32px)] overflow-y-auto`},obn={key:1,class:`text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm`},sbn=j({__name:`ResponseCookies`,props:{cookies:{}},setup(e){return(t,n)=>(N(),F(k(T3),{class:`overflow-auto`,defaultOpen:!1,itemCount:e.cookies.length},{title:A(()=>[...n[0]||=[L(`Cookies`,-1)]]),default:A(()=>[e.cookies.length?(N(),P(`div`,abn,[V(mF,{columns:[`minmax(auto, min-content)`,`minmax(50%, 1fr)`],scroll:``},{default:A(()=>[V(bF,{class:`sr-only !block`},{default:A(()=>[V(k(vF),null,{default:A(()=>[...n[1]||=[L(`Cookie Name`,-1)]]),_:1}),V(k(vF),null,{default:A(()=>[...n[2]||=[L(`Cookie Value`,-1)]]),_:1})]),_:1}),(N(!0),P(B,null,yd(e.cookies,(e,t)=>(N(),F(bF,{key:e.name,class:`group/row text-c-1`},{default:A(()=>[V(JK,{class:E([`bg-b-1 sticky left-0 z-1 max-w-full`,{"border-t-0":t===0}]),text:e.name},null,8,[`class`,`text`]),V(JK,{class:E([`z-0`,{"border-t-0":t===0}]),text:e.value},null,8,[`class`,`text`])]),_:2},1024))),128))]),_:1})])):(N(),P(`div`,obn,` No cookies `))]),_:1},8,[`itemCount`]))}})})),lbn,ubn=c((()=>{cbn(),lbn=sbn})),dbn,fbn,pbn,mbn,hbn=c((()=>{tqt(),oP(),U(),Y(),dbn={class:`flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize`},fbn={key:0,class:`scalar-version-number`},pbn={class:`text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm`},mbn=j({__name:`ResponseEmpty`,props:{layout:{},totalPerformedRequests:{},appVersion:{}},emits:[`addRequest`,`sendRequest`,`openCommandPalette`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),P(`div`,dbn,[I(`div`,{class:E([`flex h-[calc(100%_-_50px)] flex-col items-center justify-center`,{"hidden opacity-0":e.totalPerformedRequests>0&&e.layout!==`modal`}])},[e.layout===`modal`?R(``,!0):(N(),P(`div`,fbn,[L(` Scalar App V`+D(e.appVersion)+` Beta `,1),r[3]||=I(`div`,{class:`mt-2`},[I(`a`,{href:`https://github.com/scalar/scalar/issues/2669`,target:`_blank`},` Roadmap `)],-1)])),r[4]||=I(`a`,{class:`gitbook-show scalar-version-number`,href:`https://www.scalar.com`,target:`_blank`},` Powered By Scalar.com `,-1),V(aP,{art:k(eq),class:`text-c-3`},null,8,[`art`])],2),I(`div`,pbn,[e.layout===`modal`?R(``,!0):(N(),P(`button`,{key:0,class:`flex items-center gap-1.5`,type:`button`,onClick:r[0]||=e=>n(`openCommandPalette`)},[r[5]||=L(` Get Started `,-1),V(k(Yj),{hotkey:`k`,modifier:[`default`]})])),e.layout===`desktop`?(N(),P(`button`,{key:1,class:`flex items-center gap-1.5`,type:`button`,onClick:r[1]||=e=>n(`addRequest`)},[r[6]||=L(` New Request `,-1),V(k(Yj),{hotkey:`N`})])):R(``,!0),I(`button`,{class:`flex items-center gap-1.5`,type:`button`,onClick:r[2]||=e=>n(`sendRequest`)},[r[7]||=L(` Send Request `,-1),V(k(Yj),{hotkey:`↵`})])])]))}})})),gbn,_bn=c((()=>{Mg(),hbn(),gbn=jg(mbn,[[`__scopeId`,`data-v-34b57d9d`]])})),vbn,ybn,bbn=c((()=>{U(),Y(),vbn={key:0,class:`bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6`},ybn=j({__name:`ResponseLoadingOverlay`,props:{eventBus:{}},setup(e){let t=WS(),n=O(),r=()=>{n.value=setTimeout(()=>t.start(),1e3)},i=()=>{clearTimeout(n.value),n.value=void 0,t.clear()};return Af(()=>{e.eventBus.on(`hooks:on:request:sent`,r),e.eventBus.on(`hooks:on:request:complete`,i)}),Mf(()=>{e.eventBus.off(`hooks:on:request:sent`,r),e.eventBus.off(`hooks:on:request:complete`,i),i()}),(n,r)=>(N(),F(Np,null,{default:A(()=>[k(t).isActive?(N(),P(`div`,vbn,[V(k(HS),{class:`text-c-3`,loader:k(t),size:`3xl`},null,8,[`loader`]),V(k(KS),{variant:`ghost`,onClick:r[0]||=t=>e.eventBus.emit(`operation:cancel:request`)},{default:A(()=>[...r[1]||=[L(` Cancel `,-1)]]),_:1})])):R(``,!0)]),_:1}))}})})),xbn,Sbn=c((()=>{Mg(),bbn(),xbn=jg(ybn,[[`__scopeId`,`data-v-1f35725e`]])})),m6,Cbn=c((()=>{s6e(),m6=e=>{let t=Number.parseInt(e.headers?.[`Content-Length`]||e.headers?.[`content-length`]||`0`,10);if(!(isNaN(t)||t<=0))return Gj(t)}})),wbn,Tbn,Ebn,Dbn,Obn,kbn=c((()=>{ZK(),Cbn(),U(),Rx(),Oqt(),wbn={class:`text-c-1 flex gap-1.5`},Tbn={key:0},Ebn={key:0},Dbn={key:1},Obn=j({__name:`ResponseMetaInformation`,props:{response:{},eventBus:{}},setup(e){let t=O(),n=O(0),r=()=>{clearInterval(t.value),t.value=void 0,n.value=0},i=()=>{t.value=setInterval(()=>n.value+=1e3,1e3)};Af(()=>{e.eventBus.on(`hooks:on:request:sent`,i),e.eventBus.on(`hooks:on:request:complete`,r)}),Mf(()=>{e.eventBus.off(`hooks:on:request:sent`,i),e.eventBus.off(`hooks:on:request:complete`,r),r()});let a=H(()=>{let t=e.response?.status;if(t)return xv[t]??void 0});return(r,i)=>(N(),P(`div`,wbn,[t.value&&n.value?(N(),P(`span`,Tbn,D(k(nq)(n.value)),1)):(N(),P(B,{key:1},[I(`span`,null,[i[0]||=I(`span`,{class:`sr-only`},`Response Information, Duration:`,-1),L(` `+D(k(nq)(e.response.duration)),1)]),k(m6)(e.response)?(N(),P(`span`,Ebn,[i[1]||=I(`span`,{class:`sr-only`},`, Size:`,-1),L(` `+D(k(m6)(e.response)),1)])):R(``,!0),a.value?(N(),P(B,{key:1},[i[2]||=I(`span`,{class:`sr-only`},`, Status:`,-1),a.value.url?(N(),F(XK,{key:0,class:`flex items-center gap-1.5`,href:a.value.url},{default:A(()=>[L(D(e.response.status)+` `+D(a.value.name)+` `,1),I(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:Kc({backgroundColor:a.value.color})},null,4)]),_:1},8,[`href`])):(N(),P(`span`,Dbn,[L(D(e.response.status)+` `+D(a.value.name)+` `,1),I(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:Kc({backgroundColor:a.value.color})},null,4)]))],64)):R(``,!0)],64))]))}})})),Abn,jbn=c((()=>{kbn(),Abn=Obn})),Mbn,Nbn=c((()=>{Mbn=e=>{if(!e||typeof e!=`string`)return null;let t=e.indexOf(`=`);if(t===-1)return null;let n=e.substring(0,t).trim(),r=e.substring(t+1).trim();return n?{name:n,value:r}:null}})),Pbn,Fbn,h6,Ibn,Lbn=c((()=>{lF(),dF(),tyn(),iyn(),Kyn(),ebn(),ibn(),ubn(),_bn(),Sbn(),jbn(),Nbn(),U(),Y(),f_(),Pbn={class:`flex h-8 flex-1 items-center`},Fbn=[`id`,`role`],h6=2e5,Ibn=j({__name:`ResponseBlock`,props:{response:{},request:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let n=H(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??``})):[]}),r=H(()=>e.response?.cookieHeaderKeys.map(e=>Mbn(e)).filter(d_)??[]),i=[`Cookies`,`Headers`,`Body`],a=O(`All`),o=H(()=>[`All`,...i]),s=H(()=>Object.fromEntries(o.value.map(e=>[e,ud()]))),c=H(()=>{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)<=h6||t.includes(`text/html`)?!1:ryn.some(e=>t.includes(e))&&(e.response.size??0)>h6}),l=H(()=>e.request?.headers?[...e.request.headers].map(e=>({name:e[0],value:e[1],required:!1})):[]),u=e=>a.value===`All`||a.value===e;return t({responseHeaders:n,responseCookies:r,requestHeaders:l,shouldVirtualize:c,activeFilter:a,filters:o}),(t,i)=>(N(),F(uF,{"aria-label":`Response`},{title:A(()=>[I(`div`,Pbn,[I(`div`,{"aria-live":`polite`,class:E([`flex items-center`,{"animate-response-heading":e.response}])},[i[4]||=I(`span`,{class:`response-heading pointer-events-none absolute`},` Response `,-1),e.response?(N(),F(Abn,{key:0,class:`animate-response-children`,eventBus:e.eventBus,response:e.response},null,8,[`eventBus`,`response`])):R(``,!0)],2),V(cF,{modelValue:a.value,"onUpdate:modelValue":i[0]||=e=>a.value=e,filterIds:s.value,filters:o.value},null,8,[`modelValue`,`filterIds`,`filters`])])]),default:A(()=>[I(`div`,{id:s.value.All,class:E([`custom-scroll response-section-content relative grid h-full justify-stretch`,{"content-start":e.response}]),role:a.value===`All`&&e.response?`tabpanel`:`none`},[e.response?(N(),P(B,{key:1},[u(`Cookies`)?(N(),F(lbn,{key:0,id:s.value.Cookies,class:`response-section-content-cookies`,cookies:r.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`cookies`,`role`])):R(``,!0),u(`Headers`)?(N(),F(u6,{key:1,id:s.value.Headers,class:`response-section-content-headers`,headers:l.value,role:a.value===`All`?`none`:`tabpanel`},{title:A(()=>[...i[5]||=[L(`Request Headers`,-1)]]),_:1},8,[`id`,`headers`,`role`])):R(``,!0),u(`Headers`)?(N(),F(u6,{key:2,id:s.value.Headers,class:`response-section-content-headers`,headers:n.value,role:a.value===`All`?`none`:`tabpanel`},{title:A(()=>[...i[6]||=[L(`Response Headers`,-1)]]),_:1},8,[`id`,`headers`,`role`])):R(``,!0),(N(!0),P(B,null,yd(e.plugins,(e,t)=>(N(),F(k(Uj),{key:t},{default:A(()=>[e?.components?.response?Xu((N(),F(vd(e.components.response.component),z({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[Rp,a.value===`All`]]):R(``,!0)]),_:2},1024))),128)),a.value===`All`||a.value===`Body`?(N(),P(B,{key:3},[`reader`in e.response?(N(),F($yn,{key:0,id:s.value.Body,class:`response-section-content-body`,reader:e.response.reader},null,8,[`id`,`reader`])):c.value&&typeof e.response?.data==`string`?(N(),F(rbn,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,headers:n.value,role:a.value===`All`?`none`:`tabpanel`},null,8,[`id`,`content`,`data`,`headers`,`role`])):(N(),F(Gyn,{key:2,id:s.value.Body,active:!0,class:`response-section-content-body`,data:e.response?.data,headers:n.value,layout:`client`,role:a.value===`All`?`none`:`tabpanel`,title:`Body`},null,8,[`id`,`data`,`headers`,`role`]))],64)):R(``,!0)],64)):(N(),F(gbn,{key:0,appVersion:e.appVersion,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:i[1]||=t=>e.eventBus.emit(`ui:open:command-palette`,{action:`create-request`,payload:void 0}),onOpenCommandPalette:i[2]||=t=>e.eventBus.emit(`ui:open:command-palette`),onSendRequest:i[3]||=t=>e.eventBus.emit(`operation:send:request:hotkey`)},null,8,[`appVersion`,`layout`,`totalPerformedRequests`])),V(xbn,{eventBus:e.eventBus},null,8,[`eventBus`])],10,Fbn)]),_:1}))}})})),Rbn,zbn=c((()=>{Mg(),Lbn(),Rbn=jg(Ibn,[[`__scopeId`,`data-v-9c1fd1c7`]])})),g6,_6,Bbn,Vbn,Hbn,Ubn,Wbn,Gbn=c((()=>{U(),g6=20,_6=100,Bbn=0,Vbn=15,Hbn=60,Ubn=400/g6,Wbn=()=>{let e=O(_6),t=O(0),n=O(!1),r=O(),i=()=>{clearInterval(r.value),r.value=void 0,e.value=_6,n.value=!1},a=()=>{n.value?e.value-=(e.value-Vbn)/Hbn:e.value-=t.value/Ubn,e.value<=Bbn&&i()};return{startLoading:()=>{if(r.value){n.value=!0;return}n.value=!0,r.value=setInterval(a,g6)},stopLoading:()=>{t.value=e.value,n.value=!1},percentage:e,isLoading:n}}})),Kbn,qbn,Jbn,Ybn,Xbn,Zbn,Qbn=c((()=>{sq(),U(),Y(),Kbn=[`aria-expanded`],qbn={class:`overflow-hidden text-ellipsis whitespace-nowrap`},Jbn=[`id`],Ybn={key:0},Xbn={class:`description text-c-3 px-3 py-1.5`},Zbn=j({__name:`ServerDropdownItem`,props:{server:{},serverOption:{}},emits:[`update:variable`,`update:selectedServer`],setup(e,{emit:t}){let n=t,r=ud(),i=()=>Object.keys(e.server?.variables??{}).length>0,a=H(()=>e.serverOption.id===e.server?.url),o=H(()=>a.value&&i());return(t,i)=>(N(),P(`div`,{class:E([`group/item flex min-h-fit flex-col rounded border`,{"border-transparent":!a.value}])},[I(`button`,z(o.value?{"aria-controls":k(r)}:{},{"aria-expanded":o.value,class:[`flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5`,a.value?`text-c-1 bg-b-2`:`hover:bg-b-2`],type:`button`,onClick:i[0]||=e=>n(`update:selectedServer`)}),[V(k(Dj),{selected:a.value},null,8,[`selected`]),I(`span`,qbn,D(e.serverOption.label),1)],16,Kbn),o.value?(N(),P(`div`,{key:0,id:k(r),class:`bg-b-2 divide divide-y rounded-b border-t *:pl-4`,onClick:i[2]||=$p(()=>{},[`stop`])},[V(oq,{variables:e.server?.variables,"onUpdate:variable":i[1]||=(e,t)=>n(`update:variable`,e,t)},null,8,[`variables`]),e.server?.description?(N(),P(`div`,Ybn,[I(`div`,Xbn,[V(k(_M),{value:e.server.description},null,8,[`value`])])])):R(``,!0)],8,Jbn)):R(``,!0)],2))}})})),$bn,exn=c((()=>{Mg(),Qbn(),$bn=jg(Zbn,[[`__scopeId`,`data-v-1b7a32a4`]])})),txn,nxn,rxn,ixn=c((()=>{w3(),exn(),U(),Y(),EC(),txn=[`onClick`],nxn={class:`flex items-center justify-center`},rxn=j({name:`ServerDropdown`,props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:[`update:selectedServer`,`update:variable`,`update:servers`,`update:open`],setup(e,{emit:t}){let n=t,r=H(()=>e.servers.map(e=>({id:e.url,label:e.url??`Unknown server`}))),i=H(()=>e.server?.url?.endsWith(`/`)?e.server.url.slice(0,-1):e.server?.url||``);return(t,a)=>(N(),F(k(OM),{class:`max-h-[inherit] p-0 text-base`,focus:``,offset:0,placement:`bottom`,resize:``,target:e.target,teleport:`#${e.target}`},{popover:A(({close:t})=>[I(`div`,{class:`custom-scroll flex max-h-[inherit] flex-col gap-1 p-1`,onClick:t},[(N(!0),P(B,null,yd(r.value,(t,r)=>(N(),F($bn,{key:t.id,server:e.server,serverOption:t,type:`request`,"onUpdate:selectedServer":r=>n(`update:selectedServer`,{url:t.id,meta:e.meta}),"onUpdate:variable":(t,i)=>n(`update:variable`,{index:r,key:t,value:i,meta:e.meta})},null,8,[`server`,`serverOption`,`onUpdate:selectedServer`,`onUpdate:variable`]))),128)),e.layout===`modal`?R(``,!0):(N(),P(`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:a[0]||=e=>n(`update:servers`)},[I(`div`,nxn,[V(k(COe),{class:`size-4`})]),a[5]||=I(`span`,null,`Update Servers`,-1)]))],8,txn)]),backdrop:A(({open:e})=>[V(C3,{value:e,onChange:a[1]||=e=>n(`update:open`,e),onUnmount:a[2]||=e=>n(`update:open`,!1)},null,8,[`value`]),V(k(Tj),{class:`inset-x-px rounded-none rounded-b-lg`})]),default:A(()=>[V(k(KS),{class:`hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap`,variant:`ghost`},{default:A(()=>[e.server?(N(),P(B,{key:0},[a[3]||=I(`span`,{class:`sr-only`},`Server:`,-1),L(` `+D(i.value),1)],64)):(N(),P(B,{key:1},[a[4]||=I(`span`,{class:`sr-only`},`Add Server`,-1),V(k(yC),{class:`size-3`})],64))]),_:1})]),_:1},8,[`target`,`teleport`]))}})})),axn,oxn=c((()=>{ixn(),axn=rxn})),sxn,cxn,lxn=c((()=>{sxn={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`}},cxn=e=>sxn[e]||{color:`text-grey`}})),uxn,dxn,fxn,pxn=c((()=>{rN(),w3(),lxn(),U(),Y(),Rx(),Ag(),$Zt(),uxn={class:`min-w-0`},dxn={class:`text-c-1 min-w-0 truncate`},fxn=j({__name:`AddressBarHistory`,props:{target:{},history:{}},emits:[`select:history:item`,`update:open`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),F(k(eg),{as:`div`},{default:A(({open:t})=>[V(C3,{value:t,onChange:r[0]||=e=>n(`update:open`,e),onUnmount:r[1]||=e=>n(`update:open`,!1)},null,8,[`value`]),V(k(Cj),{offset:0,resize:``,target:e.target},bd({default:A(()=>[e.history.length?(N(),F(k(tg),{key:0,class:`address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5`},{default:A(()=>[V(k(nM),{icon:`History`,size:`sm`,thickness:`2.25`}),r[2]||=I(`span`,{class:`sr-only`},`Request History`,-1)]),_:1})):R(``,!0)]),_:2},[t?{name:`floating`,fn:A(({width:t})=>[V(k(ng),{class:`custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center p-0.75`,static:``,style:Kc({width:t})},{default:A(()=>[(N(!0),P(B,null,yd(e.history,(e,t)=>(N(),F(k(rg),{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=>n(`select:history:item`,{index:t})},{default:A(()=>[V(k(nN),{class:`text-[11px]`,method:e.method},null,8,[`method`]),I(`div`,uxn,[I(`div`,dxn,D(e.path),1)]),I(`div`,null,D(k(Oq)(e.duration)),1),I(`div`,{class:E([k(cxn)(e.status).color])},D(e.status),3),I(`div`,null,D(k(xv)[e.status]?.name),1)]),_:2},1032,[`value`,`onClick`]))),128))]),_:1},8,[`style`]),V(k(Tj),{class:`inset-x-px rounded-none rounded-b-lg`})]),key:`0`}:void 0]),1032,[`target`])]),_:1}))}})})),mxn,hxn=c((()=>{Mg(),pxn(),mxn=jg(fxn,[[`__scopeId`,`data-v-5b995586`]])})),gxn,_xn=c((()=>{gxn=e=>{if(!e||!(e instanceof Element))return null;let t=[],n=e;for(;n instanceof Element;){let e=n.localName,r=1,i=n.previousElementSibling;for(;i;)i.localName===e&&r++,i=i.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),n=n.parentElement}return t.join(` > `)}})),vxn,yxn=c((()=>{vxn=(e=``)=>{if(!e.trim())return null;if(e.startsWith(`//`))try{let t=new URL(`https:${e}`);return t.origin===`null`?null:[t.origin.replace(/^https?:/,``),decodeURIComponent(t.pathname)+t.search+t.hash]}catch{return null}try{let t=new URL(e);if(t.origin===`null`)return null;let n=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,n]}catch{return null}}})),bxn,xxn,Sxn,Cxn,wxn,Txn,Exn,Dxn,Oxn,kxn=c((()=>{rN(),f3(),Gbn(),oxn(),hxn(),U(),Y(),fq(),bv(),EC(),a3(),Pv(),_xn(),yxn(),bxn=[`id`],xxn={class:`flex gap-1`},Sxn={class:`scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal`},Cxn={key:0,class:`z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6`},wxn={class:`text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1`},Txn={class:`min-w-0 flex-1`},Exn={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},Dxn={class:`sr-only`},Oxn=j({name:`AddressBar`,props:{path:{},method:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`],setup(e,{expose:t,emit:n}){let r=n,i=ud(),{percentage:a,startLoading:o,stopLoading:s,isLoading:c}=Wbn(),l=H(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${vv[e.method].colorVar})`,transform:`translate3d(-${a.value}%,0,0)`})),u=O(null),d=O(null),f=H(()=>d.value||u.value);nd(()=>[e.path,e.method],()=>{u.value=null,d.value=null});let p=t=>{let n=vxn(t);if(!n)return t;let[r,i]=n;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}})),i},m=(t,n,r=null)=>{let i=p(n),a=i.startsWith(`/`)?i:`/${i}`;b.value?.setCodeMirrorContent(a),e.eventBus.emit(`operation:update:pathMethod`,{meta:{method:e.method,path:e.path},blurTargetSelector:r,payload:{method:t,path:a},callback:(n,r)=>{if(n===`success`||n===`no-change`?(d.value=null,u.value=null):n===`conflict`&&(t!==e.method&&(d.value=t),a!==e.path&&(u.value=a)),n===`no-change`&&b.value?.codeMirrorRef?.textContent&&b.value.codeMirrorRef.textContent!==i&&b.value.setCodeMirrorContent(i),r){let e=document.querySelector(r);e instanceof HTMLButtonElement?e.click():(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.getAttribute(`contenteditable`)===`true`)&&e.focus()}}})},h=t=>m(t,u.value??e.path),g=(t,n)=>{let r=n.relatedTarget,i=x.value?null:gxn(r);x.value=!1,m(d.value??e.method,t,i)},_=t=>{t.target?.innerText===`
|
||
`&&e.eventBus.emit(`server:update:selected`,{url:``,meta:e.serverMeta})},v=(t,n)=>{n.stopPropagation(),m(d.value??e.method,t,`[data-addressbar-action="send"]`)},y=fd(`sendButtonRef`),b=fd(`addressBarRef`),x=O(!1),ee=()=>y.value?.$el?.focus(),S=t=>{b.value?.isFocused&&e.layout!==`desktop`||(b.value?.focus(`end`),t&&`clear`in t&&t.clear&&b.value?.setCodeMirrorContent(`/`),t&&`event`in t&&t.event.preventDefault())};Af(()=>{e.eventBus.on(`ui:focus:address-bar`,S),e.eventBus.on(`ui:focus:send-button`,ee),e.eventBus.on(`copy-url:address-bar`,te),e.eventBus.on(`hooks:on:request:sent`,o),e.eventBus.on(`hooks:on:request:complete`,s)}),Mf(()=>{e.eventBus.off(`ui:focus:address-bar`,S),e.eventBus.off(`ui:focus:send-button`,ee),e.eventBus.off(`copy-url:address-bar`,te),e.eventBus.off(`hooks:on:request:sent`,o),e.eventBus.off(`hooks:on:request:complete`,s),s()});let{copyToClipboard:C}=dq(),te=async()=>{await C(Nv(R4({server:e.server,path:e.path}),F4(e.environment)))},ne=O(!1),re=O(!1),w=H(()=>ne.value||re.value),ie=()=>e.serverMeta.type===`operation`?e.eventBus.emit(`ui:navigate`,{page:`operation`,path:`servers`,operationPath:e.serverMeta.path,method:e.serverMeta.method}):e.eventBus.emit(`ui:navigate`,{page:`document`,path:`servers`});return t({methodConflict:d,pathConflict:u}),(t,n)=>(N(),P(`div`,{id:k(i),class:`scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-0 lg:w-auto`},[I(`div`,{class:E([`address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]`,{"outline-c-danger outline":f.value,"rounded-b-none":w.value}])},[I(`div`,{class:E([`pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border`,{"rounded-b-none":w.value}])},[I(`div`,{class:`absolute top-0 left-0 h-full w-full`,style:Kc(l.value)},null,4)],2),I(`div`,xxn,[V(k(nN),{isEditable:e.layout!==`modal`,isSquare:``,method:d.value??e.method,teleport:``,onChange:h},null,8,[`isEditable`,`method`])]),I(`div`,Sxn,[e.servers.length?(N(),F(k(axn),{key:0,layout:e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:k(i),"onUpdate:open":n[0]||=e=>ne.value=e,"onUpdate:selectedServer":n[1]||=t=>e.eventBus.emit(`server:update:selected`,t),"onUpdate:servers":ie,"onUpdate:variable":n[2]||=t=>e.eventBus.emit(`server:update:variables`,t)},null,8,[`layout`,`meta`,`server`,`servers`,`target`])):R(``,!0),n[7]||=I(`div`,{class:`fade-left`},null,-1),V(k(d3),{ref_key:`addressBarRef`,ref:b,alwaysEmitChange:``,"aria-label":`Path`,class:`min-w-fit outline-none`,disableCloseBrackets:``,disabled:e.layout===`modal`,disableEnter:``,disableTabIndent:``,emitOnBlur:!1,environment:e.environment,importCurl:``,layout:e.layout,modelValue:e.path,placeholder:e.server?``:`Enter a URL`,server:``,onBlur:g,onKeydown:[em(_,[`delete`]),n[3]||=em(e=>x.value=!0,[`tab`])],onSubmit:v},null,8,[`disabled`,`environment`,`layout`,`modelValue`,`placeholder`]),n[8]||=I(`div`,{class:`fade-right`},null,-1)]),V(k(KS),{class:`hover:bg-b-3 mx-1`,size:`xs`,variant:`ghost`,onClick:te},{default:A(()=>[V(k(lC)),n[9]||=I(`span`,{class:`sr-only`},`Copy URL`,-1)]),_:1}),V(mxn,{history:e.history,target:k(i),"onSelect:history:item":n[4]||=e=>r(`select:history:item`,e),"onUpdate:open":n[5]||=e=>re.value=e},null,8,[`history`,`target`]),f.value?(N(),P(`div`,Cxn,[I(`div`,wxn,[V(k(kAe),{size:`sm`}),I(`div`,Txn,[n[10]||=L(` A `,-1),I(`em`,null,D(d.value?.toUpperCase()??e.method.toUpperCase()),1),n[11]||=L(` request to `,-1),V(k(YM),{text:u.value??e.path},null,8,[`text`]),n[12]||=L(` already exists in this document `,-1)])])])):R(``,!0),V(k(KS),{ref_key:`sendButtonRef`,ref:y,class:`relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold`,"data-addressbar-action":`send`,disabled:k(c),onClick:n[6]||=e=>r(`execute`)},{default:A(()=>[I(`span`,Exn,[V(k(nM),{class:`relative shrink-0 fill-current`,icon:`Play`,size:`xs`}),n[13]||=I(`span`,{class:`text-xxs hidden lg:flex`},`Send`,-1)]),I(`span`,Dxn,` Send `+D(e.method)+` request to `+D(e.server?.url??``)+D(e.path),1)]),_:1},8,[`disabled`])],2)],8,bxn))}})})),Axn,jxn=c((()=>{Mg(),kxn(),Axn=jg(Oxn,[[`__scopeId`,`data-v-0ec7147f`]])})),Mxn,Nxn,Pxn,Fxn,Ixn,Lxn,Rxn,zxn,Bxn,Vxn,Hxn=c((()=>{U(),Y(),Mxn={class:`relative flex items-center`},Nxn={class:`flex max-w-[220px] min-w-0 items-center gap-1.5`},Pxn={class:`text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium`},Fxn={class:`min-w-0 flex-1 truncate`},Ixn={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]`},Lxn={class:`min-w-0 flex-1 text-left`},Rxn={class:`block truncate`},zxn={class:`flex h-4 w-4 items-center justify-center`},Bxn={key:5,class:`text-c-3 px-2 py-1.5 text-xs`},Vxn=j({__name:`EnvironmentSelector`,props:{environments:{default:()=>[]},activeEnvironment:{}},emits:[`select:environment`,`add:environment`],setup(e,{emit:t}){let n=t,r=H(()=>!!e.activeEnvironment),i=H(()=>e.environments.length>0),a=H(()=>e.activeEnvironment?e.environments.includes(e.activeEnvironment):!1),o=H(()=>r.value&&!a.value),s=H(()=>o.value?`${e.activeEnvironment} (Unavailable)`:r.value?e.activeEnvironment:i.value?`Select Environment`:`Add Environment`),c=H(()=>o.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`:i.value?`hover:bg-b-2 text-c-2 border-transparent`:`hover:bg-b-2 text-c-3 border-transparent`),l=()=>{n(`add:environment`)},u=e=>{n(`select:environment`,e)};return(t,n)=>(N(),P(`div`,Mxn,[V(k(Rj),null,{items:A(()=>[r.value?(N(),F(k(Hj),{key:0,class:`group/item flex w-full items-center gap-1.5`,onClick:n[0]||=$p(e=>u(``),[`stop`])},{default:A(()=>[I(`div`,{class:E([`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`])},[V(k(nM),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),n[1]||=I(`span`,{class:`text-c-2`},`No Environment`,-1)]),_:1})):R(``,!0),r.value&&i.value?(N(),F(k(Vj),{key:1})):R(``,!0),(N(!0),P(B,null,yd(e.environments,t=>(N(),F(k(Hj),{key:t,class:`group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:$p(e=>u(t),[`stop`])},{default:A(()=>[I(`div`,{class:E([`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`])},[V(k(nM),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),I(`span`,Fxn,D(t),1)]),_:2},1032,[`onClick`]))),128)),o.value?(N(),F(k(Vj),{key:2})):R(``,!0),o.value?(N(),F(k(Hj),{key:3,class:`group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden`,disabled:``},{default:A(()=>[I(`div`,Ixn,[V(k(nM),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})]),I(`div`,Lxn,[I(`span`,Rxn,D(e.activeEnvironment),1),n[2]||=I(`span`,{class:`text-c-3 block truncate text-xs`},` Not available in this context `,-1)])]),_:1})):R(``,!0),i.value?(N(),F(k(Vj),{key:4})):R(``,!0),V(k(Hj),{class:`text-c-accent flex items-center gap-1.5`,onClick:l},{default:A(()=>[I(`div`,zxn,[V(k(nM),{icon:`Add`,size:`sm`})]),I(`span`,null,D(i.value?`New Environment`:`Create Environment`),1)]),_:1}),!i.value&&!r.value?(N(),P(`div`,Bxn,[...n[3]||=[I(`p`,{class:`mb-1`},` Environments let you manage variables like API keys and base URLs across different contexts. `,-1)]])):R(``,!0)]),default:A(()=>[V(k(KS),{"aria-label":`Current environment: ${s.value}`,class:E([`line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors`,c.value]),size:`sm`,variant:`ghost`},{default:A(()=>[I(`div`,Nxn,[V(k(nM),{class:E([`shrink-0`,r.value&&!o.value?`text-c-accent`:`text-c-3`]),icon:`Globe`,size:`sm`},null,8,[`class`]),I(`span`,Pxn,D(s.value),1),V(k(nM),{class:`shrink-0`,icon:`ChevronDown`,size:`xs`})])]),_:1},8,[`aria-label`,`class`])]),_:1})]))}})})),Uxn,Wxn=c((()=>{Hxn(),Uxn=Vxn})),Gxn,Kxn,qxn,Jxn=c((()=>{aq(),jxn(),Wxn(),U(),Y(),Gxn={class:`lg:min-h-header t-app__top-container flex w-full flex-wrap items-center justify-center p-2 pt-2 lg:p-1 lg:pt-1`},Kxn={class:`mb-2 flex w-1/2 flex-row items-center justify-end gap-2 lg:mb-0 lg:flex-1 lg:px-2.5`},qxn=j({__name:`Header`,props:{path:{},method:{},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`,`add:environment`],setup(e,{emit:t}){let n=t,r=t=>{e.eventBus.emit(`workspace:update:active-environment`,t)},i=()=>{e.eventBus.emit(`ui:navigate`,{page:`document`,path:`environment`})};return(t,a)=>(N(),P(`div`,Gxn,[a[7]||=I(`div`,{class:`mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1`},[I(`div`,{class:`size-8`})],-1),V(k(Axn),{activeEnvironment:e.activeEnvironment,environment:e.environment,environments:e.environments,eventBus:e.eventBus,history:e.history,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,"onAdd:environment":a[0]||=e=>n(`add:environment`),onExecute:a[1]||=e=>n(`execute`),"onSelect:history:item":a[2]||=e=>n(`select:history:item`,e)},null,8,[`activeEnvironment`,`environment`,`environments`,`eventBus`,`history`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`]),I(`div`,Kxn,[e.layout===`modal`?R(``,!0):(N(),F(Uxn,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":i,"onSelect:environment":r},null,8,[`activeEnvironment`,`environments`])),e.layout===`modal`&&e.documentUrl&&!e.hideClientButton?(N(),F(k(iq),{key:1,buttonSource:`modal`,class:`!w-fit lg:-mr-1`,integration:e.integration??null,source:e.source??`api-reference`,url:e.documentUrl},null,8,[`integration`,`source`,`url`])):R(``,!0),e.layout===`modal`&&e.source!==`gitbook`?(N(),P(`button`,{key:2,class:`app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2`,type:`button`,onClick:a[3]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[V(k(nM),{icon:`Close`,size:`lg`,thickness:`2`}),a[5]||=I(`span`,{class:`sr-only`},`Close Client`,-1)])):R(``,!0),e.layout===`modal`&&e.source===`gitbook`?(N(),P(`button`,{key:3,class:`text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2`,type:`button`,onClick:a[4]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[V(k(nM),{icon:`Close`,size:`md`,thickness:`1.75`}),a[6]||=I(`span`,{class:`sr-only`},`Close Client`,-1)])):R(``,!0)])]))}})})),Yxn,Xxn=c((()=>{Mg(),Jxn(),Yxn=jg(qxn,[[`__scopeId`,`data-v-0e03d0d8`]])})),Zxn,Qxn,$xn,eSn=c((()=>{hv(),jN(),oF(),zTt(),jfn(),Ifn(),zfn(),epn(),Fmn(),c3(),Xvn(),zbn(),Xxn(),U(),tP(),Rx(),KF(),a3(),Zxn={class:`bg-b-1 flex h-full flex-col`},Qxn={class:`lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0`},$xn=j({name:`OperationBlock`,props:{eventBus:{},appVersion:{},document:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},httpClients:{default:()=>GF},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:{}},setup(e){let t=H(()=>s3(e.httpClients)),{toast:n}=QN(),r=O(null),i=O(null),a=O(null),o=()=>r.value?.abort(fv.REQUEST_ABORTED),s=async()=>{if(Pmn(e.operation.parameters??[],e.exampleKey).ok===!1){n(`Path parameters must have values.`,`error`);return}let t=[...e.workspaceCookies,...e.documentCookies],{request:o}=rmn({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:t,method:e.method,operation:e.operation,path:e.path,proxyUrl:e.proxyUrl,server:e.server,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:AN(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});i.value&&`reader`in i.value&&i.value.reader.cancel(),e.eventBus.emit(`hooks:on:request:sent`,{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let s=jmn();await Wv({requestBuilder:o,document:e.document,operation:e.operation,variablesStore:s},`beforeRequest`,e.plugins);let c={...F4(e.environment),...s.getVariables()},l=(()=>{try{return{ok:!0,result:E4(o,{envVariables:c})}}catch(e){return{ok:!1,error:e instanceof Error?e.message:String(e)}}})();if(l.ok===!1){n(l.error,`error`);return}r.value=l.result.controller;let[u,d]=await Zfn({isUsingProxy:l.result.isUsingProxy,request:l.result.request});if(d&&await Wv({response:d.originalResponse.clone(),requestBuilder:o,request:d.request.clone(),document:e.document,operation:e.operation,variablesStore:s},`responseReceived`,e.plugins),e.eventBus.emit(`hooks:on:request:complete`,{payload:d?{response:d.originalResponse.clone(),request:d.request.clone(),duration:d.response.duration,timestamp:d.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),u){i.value=null,a.value=null,r.value=null,n(u.message,`error`);return}i.value=d.response,a.value=d.request,Rfn(d.response)||e4.set(Lfn(e.method,e.path,e.exampleKey),{response:d.response,request:d.request})};Af(()=>{e.eventBus.on(`operation:send:request:hotkey`,s),e.eventBus.on(`operation:cancel:request`,o)}),Mf(()=>{e.eventBus.off(`operation:send:request:hotkey`,s),e.eventBus.off(`operation:cancel:request`,o)});let c=H(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),l=({index:t})=>{let n=(e.history.length??0)-t-1,r=e.history[n];r&&e.eventBus.emit(`operation:reload:history`,{meta:{path:e.path,method:e.method},index:n,callback:()=>e.eventBus.emit(`ui:navigate`,{page:`example`,method:e.method,path:e.path,exampleName:`draft`,callback:t=>{if(t!==`success`)return;let n=Nfn({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),o=Ofn({harRequest:r.request});i.value=n,a.value=o}})})};return nd([()=>e.path,()=>e.method,()=>e.exampleKey],([e,t,n])=>{let r=Lfn(t,e,n),s=e4.get(r);s?(i.value=s.response,a.value=s.request):(i.value=null,a.value=null),o()},{immediate:!0}),Mf(()=>{o()}),(n,r)=>(N(),P(`div`,Zxn,[I(`div`,Qxn,[V(Yxn,{activeEnvironment:e.activeEnvironment,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,hideClientButton:e.hideClientButton,history:c.value,integration:e.integration,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:s,"onSelect:history:item":l},null,8,[`activeEnvironment`,`documentUrl`,`environment`,`environments`,`eventBus`,`hideClientButton`,`history`,`integration`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`,`source`])]),V(aF,{class:`border-t`},{default:A(()=>[V(sF,{class:`flex-1`},{default:A(()=>[V(k(Yvn),{authMeta:e.authMeta,clientOptions:t.value,defaultHeaders:e.defaultHeaders,documentCookies:e.documentCookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,operation:e.operation,path:e.path,plugins:e.plugins,proxyUrl:e.proxyUrl,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:e.server,workspaceCookies:e.workspaceCookies},null,8,[`authMeta`,`clientOptions`,`defaultHeaders`,`documentCookies`,`environment`,`eventBus`,`exampleKey`,`layout`,`method`,`operation`,`path`,`plugins`,`proxyUrl`,`requestBodyCompositionSelection`,`securityRequirements`,`securitySchemes`,`selectedClient`,`selectedSecurity`,`selectedSecuritySchemes`,`server`,`workspaceCookies`]),V(k(Rbn),{appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,request:a.value,response:i.value,totalPerformedRequests:c.value.length},null,8,[`appVersion`,`eventBus`,`layout`,`plugins`,`request`,`response`,`totalPerformedRequests`])]),_:1})]),_:1})]))}})})),tSn,nSn=c((()=>{eSn(),tSn=$xn})),rSn,iSn,aSn=c((()=>{jN(),Dfn(),nSn(),_Qt(),U(),a3(),rSn={key:1,class:`flex h-full w-full items-center justify-center`},iSn=j({__name:`Operation`,props:{documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},environment:{},workspaceStore:{},activeWorkspace:{},plugins:{},customThemes:{},currentTheme:{},isDarkMode:{type:Boolean},fetchRegistryDocument:{type:Function},telemetry:{type:Boolean},onUpdateTelemetry:{type:Function},options:{},requestBodyCompositionSelection:{}},setup(e){let t=H(()=>{if(!e.path||!e.method||!e.exampleName||!e.document)return null;let t=Omn(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName},{baseServerUrl:uu(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:AN(),layout:e.layout===`web`?`web`:`other`,servers:uu(e.options)?.servers,appVersion:Q2,authentication:uu(e.options)?.authentication});return t.ok?t.data:null}),n=H(()=>t.value?.operation??null),r=H(()=>t.value?.cookies.workspace??[]),i=H(()=>t.value?.cookies.document??[]),a=H(()=>t.value?.servers.list??[]),o=H(()=>t.value?.servers.selected??null),s=H(()=>t.value?.servers.meta??{type:`document`}),c=H(()=>t.value?.security.schemes??{}),l=H(()=>t.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),u=H(()=>t.value?.security.selectedSchemes??[]),d=H(()=>t.value?.security.requirements??[]),f=H(()=>t.value?.security.meta??{type:`document`}),p=H(()=>t.value?.headers.default??{}),m=H(()=>Array.from(new Set(Object.keys({...e.document?.[`x-scalar-environments`],...e.workspaceStore.workspace[`x-scalar-environments`]})))),h=H(()=>kq(uu(e.options)?.hiddenClients));return(t,g)=>e.path&&e.method&&e.exampleName&&n.value&&e.document?(N(),F(k(tSn),{key:0,activeEnvironment:e.workspaceStore.workspace[`x-scalar-active-environment`],appVersion:k(Q2),authMeta:f.value,defaultHeaders:p.value,document:e.document,documentCookies:i.value,documentSecurity:e.document?.security??[],documentUrl:e.document?.[`x-scalar-original-source-url`],environment:e.environment,environments:m.value,eventBus:e.eventBus,exampleKey:e.exampleName,hideClientButton:uu(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:h.value,layout:e.layout,method:e.method,operation:n.value,path:e.path,plugins:e.plugins,proxyUrl:k(W4)(e.workspaceStore.workspace[`x-scalar-active-proxy`],e.layout===`web`?`web`:`other`)??``,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:d.value,securitySchemes:c.value,selectedClient:e.workspaceStore.workspace[`x-scalar-default-client`],selectedSecurity:l.value,selectedSecuritySchemes:u.value,server:o.value,serverMeta:s.value,servers:a.value,workspaceCookies:r.value},null,8,`activeEnvironment.appVersion.authMeta.defaultHeaders.document.documentCookies.documentSecurity.documentUrl.environment.environments.eventBus.exampleKey.hideClientButton.history.httpClients.layout.method.operation.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.serverMeta.servers.workspaceCookies`.split(`.`))):(N(),P(`div`,rSn,[...g[0]||=[I(`span`,{class:`text-c-3`},`Select an operation to view details`,-1)]]))}})})),oSn,sSn=c((()=>{aSn(),oSn=iSn})),cSn,lSn=c((()=>{U(),cSn=e=>{let t=O(``),n=O(!1),r=()=>{let n=uu(e);n&&(t.value=n.style.overflow,n.style.overflow=`hidden`)},i=()=>{let n=uu(e);n&&(t.value===``?n.style.removeProperty(`overflow`):n.style.overflow=t.value)},a=H({get:()=>n.value,set:e=>{n.value=e,e?r():i()}});return Mf(()=>{n.value&&i()}),a}})),uSn,dSn,fSn,pSn=c((()=>{Hdn(),ufn(),vfn(),Efn(),sSn(),tun(),lSn(),U(),tP(),a3(),uSn={key:0,class:`relative flex h-full min-h-0 w-full flex-1`},dSn={key:1,class:`flex h-full w-full items-center justify-center`},fSn=j({__name:`Modal`,props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){let n={label:`default`,id:`default`},r=O(!1);$ln({eventBus:e.eventBus,isSidebarOpen:r,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),Tfn(e.eventBus,`modal`,()=>!e.modalState.open);let i=()=>{e.eventBus.emit(`operation:cancel:request`)},a=cSn(()=>typeof window<`u`?window.document.body:null);nd(()=>e.modalState.open,e=>{a.value=e,e||i()}),Mf(()=>i());let o=H(()=>e.workspaceStore?.workspace?.[`x-scalar-sidebar-width`]??288),s=t=>e.workspaceStore?.update(`x-scalar-sidebar-width`,t),c=H(()=>H4(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:o,environment:c}),(t,i)=>(N(),F(Vdn,{modalState:e.modalState},{default:A(()=>[V(k(eP)),e.document.value&&e.path?.value&&e.method?.value?(N(),P(`main`,uSn,[V(k(_fn),{modelValue:r.value,"onUpdate:modelValue":i[0]||=e=>r.value=e,class:`absolute top-2 left-3 z-2`},null,8,[`modelValue`]),Xu(V(k(lfn),{sidebarWidth:o.value,"onUpdate:sidebarWidth":[i[1]||=e=>o.value=e,s],activeWorkspace:n,class:`h-full max-md:absolute! 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`]),[[Rp,r.value]]),V(oSn,{activeWorkspace:n,class:`flex-1`,document:e.document.value,documentSlug:e.document.value[`x-scalar-navigation`]?.id??``,environment:c.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,layout:`modal`,method:e.method?.value,options:e.options,path:e.path?.value,plugins:e.plugins,requestBodyCompositionSelection:e.requestBodyCompositionSelection.value,workspaceStore:e.workspaceStore},null,8,[`document`,`documentSlug`,`environment`,`eventBus`,`exampleName`,`method`,`options`,`path`,`plugins`,`requestBodyCompositionSelection`,`workspaceStore`])])):(N(),P(`div`,dSn,[...i[2]||=[I(`span`,{class:`text-c-3`},`No document selected`,-1)]]))]),_:1},8,[`modalState`]))}})})),mSn,hSn=c((()=>{pSn(),mSn=fSn})),v6,gSn=c((()=>{cun(),Qun(),hSn(),U(),Y(),Eq(),v6=({el:e,eventBus:t=wq({debug:!1}),mountOnInitialize:n=!0,plugins:r=[],workspaceStore:i,options:a={}})=>{let o=O({}),s={path:`default`,method:`default`,example:`default`,documentSlug:i.workspace[`x-scalar-active-document`]||`default`},c=$l({...s}),l=e=>{Object.assign(c,s,e)},u=H(()=>sun(i,c)),d=H(()=>u.value.documentSlug),f=H(()=>u.value.path),p=H(()=>u.value.method),m=H(()=>u.value.example),h=H(()=>i.workspace.documents[d.value??``]??null),g=Zun({workspaceStore:i,documentSlug:d,path:f,method:p,exampleName:m,route:l}),_=EM(),v=im(mSn,{document:h,eventBus:t,exampleName:m,method:p,modalState:_,path:f,plugins:r,requestBodyCompositionSelection:o,sidebarState:g,workspaceStore:i,options:a}),y=()=>{o.value={}};nd(()=>_.open,e=>e?null:y()),v.config.idPrefix=`scalar-client`;let b=(t=e)=>{if(!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}v.mount(t)};return n&&b(),{app:v,open:e=>{_.open=!0,e&&l(e)},mount:b,route:l,modalState:_}}})),y6=c((()=>{_Qt(),tun(),gSn()}));function _Sn(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var vSn=c((()=>{})),ySn,bSn,xSn=c((()=>{ySn=(e,t)=>{let n=performance.now(),r=t(),i=performance.now(),a=Math.round(i-n);return console.info(`${e}: ${a} ms`),r},bSn=async(e,t)=>{let n=performance.now(),r=await t(),i=performance.now(),a=Math.round(i-n);return console.info(`${e}: ${a} ms`),r}}));function b6(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}var x6=c((()=>{}));function SSn(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{return w_(JSON.parse(e))}catch{return!1}}var CSn=c((()=>{T_()}));function wSn(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}var TSn=c((()=>{}));function ESn(e){return!b6(e)&&!wSn(e)&&!SSn(e)}var DSn=c((()=>{x6(),CSn(),TSn()}));function S6(e=``){return e&&e.replace(/\\/g,`/`).replace(ASn,e=>e.toUpperCase())}function OSn(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}function C6(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(!(i===s-1||a===1))if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}else if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var w6,T6,kSn,ASn,jSn,MSn,E6,D6,NSn,PSn,O6,FSn,k6,A6,ISn,j6,LSn,M6,RSn,N6,zSn,BSn,P6,VSn=c((()=>{w6=()=>{var e=(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})},a=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of n(a))!r.call(i,c)&&c!==o&&e(i,c,{get:()=>a[c],enumerable:!(s=t(a,c))||s.enumerable});return i},o=t=>a(e({},`__esModule`,{value:!0}),t),s={};i(s,{default:()=>Ke});var c=e=>Array.isArray(e),l=e=>typeof e==`function`,u=e=>e.length===0,d=e=>typeof e==`number`,f=e=>typeof e==`object`&&!!e,p=e=>e instanceof RegExp,m=e=>typeof e==`string`,h=e=>e===void 0,g=e=>{let t=new Map;return n=>{let r=t.get(n);if(r)return r;let i=e(n);return t.set(n,i),i}},_=(e,t,n={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:n,output:[]};if(oe(t)(r)&&r.index===e.length)return r.output;throw Error(`Failed to parse at index ${r.indexMax}`)},v=(e,t)=>c(e)?y(e,t):m(e)?x(e,t):b(e,t),y=(e,t)=>{let n={};for(let t of e){if(t.length!==1)throw Error(`Invalid character: "${t}"`);let e=t.charCodeAt(0);n[e]=!0}return e=>{let r=e.index,i=e.input;for(;e.index<i.length&&i.charCodeAt(e.index)in n;)e.index+=1;let a=e.index;if(a>r){if(!h(t)&&!e.options.silent){let n=e.input.slice(r,a),o=l(t)?t(n,i,String(r)):t;h(o)||e.output.push(o)}e.indexMax=Math.max(e.indexMax,e.index)}return!0}},b=(e,t)=>{let n=e.source,r=e.flags.replace(/y|$/,`y`),i=new RegExp(n,r);return ie(e=>{i.lastIndex=e.index;let n=i.exec(e.input);if(n){if(!h(t)&&!e.options.silent){let r=l(t)?t(...n,e.input,String(e.index)):t;h(r)||e.output.push(r)}return e.index+=n[0].length,e.indexMax=Math.max(e.indexMax,e.index),!0}else return!1})},x=(e,t)=>n=>{if(n.input.startsWith(e,n.index)){if(!h(t)&&!n.options.silent){let r=l(t)?t(e,n.input,String(n.index)):t;h(r)||n.output.push(r)}return n.index+=e.length,n.indexMax=Math.max(n.indexMax,n.index),!0}else return!1},ee=(e,t,n,r)=>{let i=oe(e);return ie(w(re(e=>{let r=0;for(;r<n;){let t=e.index;if(!i(e)||(r+=1,e.index===t))break}return r>=t})))},S=(e,t)=>ee(e,0,1),C=(e,t)=>ee(e,0,1/0),te=(e,t)=>{let n=e.map(oe);return ie(w(re(e=>{for(let t=0,r=n.length;t<r;t++)if(!n[t](e))return!1;return!0})))},ne=(e,t)=>{let n=e.map(oe);return ie(w(e=>{for(let t=0,r=n.length;t<r;t++)if(n[t](e))return!0;return!1}))},re=(e,t=!1)=>{let n=oe(e);return e=>{let r=e.index,i=e.output.length,a=n(e);return(!a||t)&&(e.index=r,e.output.length!==i&&(e.output.length=i)),a}},w=(e,t)=>oe(e),ie=(()=>{let e=0;return t=>{let n=oe(t),r=e+=1;return e=>{var t;if(e.options.memoization===!1)return n(e);let i=e.index,a=(t=e.cache)[r]||(t[r]=new Map),o=a.get(i);if(o===!1)return!1;if(d(o))return e.index=o,!0;if(o)return e.index=o.index,o.output?.length&&e.output.push(...o.output),!0;{let t=e.output.length;if(n(e)){let n=e.index,r=e.output.length;if(r>t){let o=e.output.slice(t,r);a.set(i,{index:n,output:o})}else a.set(i,n);return!0}else return a.set(i,!1),!1}}}})(),ae=e=>{let t;return n=>(t||=oe(e()),t(n))},oe=g(e=>{if(l(e))return u(e)?ae(e):e;if(m(e)||p(e))return v(e);if(c(e))return te(e);if(f(e))return ne(Object.values(e));throw Error(`Invalid rule`)}),se=`abcdefghijklmnopqrstuvwxyz`,ce=e=>{let t=``;for(;e>0;)t=se[(e-1)%26]+t,e=Math.floor((e-1)/26);return t},le=e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t=t*26+se.indexOf(e[n])+1;return t},ue=(e,t)=>{if(t<e)return ue(t,e);let n=[];for(;e<=t;)n.push(e++);return n},de=(e,t,n)=>ue(e,t).map(e=>String(e).padStart(n,`0`)),fe=(e,t)=>ue(le(e),le(t)).map(ce),pe=e=>e,me=e=>he(t=>_(t,e,{memoization:!1}).join(``)),he=e=>{let t={};return n=>t[n]??(t[n]=e(n))},ge=v(/^\*\*\/\*$/,`.*`),_e=v(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,n)=>`.*${t?``:`(?:^|/)`}${n.replaceAll(`.`,`\\.`)}`),ve=v(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(e,t,n,r)=>`.*${t?``:`(?:^|/)`}${n.replaceAll(`.`,`\\.`)}(?:${r.replaceAll(`,`,`|`).replaceAll(`.`,`\\.`)})`),ye=v(/\\./,pe),be=v(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),xe=v(/./,pe),Se=ne([v(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${Ve(t)}$).*?`),v(/^(!!)+/,``)]),Ce=ne([v(/\/(\*\*\/)+/,`(?:/.+/|/)`),v(/^(\*\*\/)+/,`(?:^|.*/)`),v(/\/(\*\*)$/,`(?:/.*|$)`),v(/\*\*/,`.*`)]),we=ne([v(/\*\/(?!\*\*\/)/,`[^/]*/`),v(/\*/,`[^/]*`)]),Te=v(`?`,`[^/]`),Ee=v(`[`,pe),De=v(`]`,pe),Oe=v(/[!^]/,`^/`),ke=v(/[a-z]-[a-z]|[0-9]-[0-9]/i,pe),Ae=ne([ye,v(/[$.*+?^(){}[\|]/,e=>`\\${e}`),ke,v(/[^\]]/,pe)]),je=te([Ee,S(Oe),C(Ae),De]),Me=v(`{`,`(?:`),Ne=v(`}`,`)`),Pe=te([Me,ne([v(/(\d+)\.\.(\d+)/,(e,t,n)=>de(+t,+n,Math.min(t.length,n.length)).join(`|`)),v(/([a-z]+)\.\.([a-z]+)/,(e,t,n)=>fe(t,n).join(`|`)),v(/([A-Z]+)\.\.([A-Z]+)/,(e,t,n)=>fe(t.toLowerCase(),n.toLowerCase()).join(`|`).toUpperCase())]),Ne]),Fe=v(`{`,`(?:`),Ie=v(`}`,`)`),Le=v(`,`,`|`),Re=v(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),ze=v(/[^}]/,pe),Be=te([Fe,C(ne([Ce,we,Te,je,Pe,ae(()=>Be),ye,Re,Le,ze])),Ie]),Ve=me(C(ne([ge,_e,ve,Se,Ce,we,Te,je,Pe,Be,ye,be,xe]))),He=v(/\\./,pe),Ue=v(/./,pe),We=me(C(ne([He,v(/\*\*\*+/,`*`),v(/([^/{[(!])\*\*/,(e,t)=>`${t}*`),v(/(^|.)\*\*(?=[^*/)\]}])/,(e,t)=>`${t}*`),Ue]))),Ge=(e,t)=>{let n=Array.isArray(e)?e:[e];if(!n.length)return!1;let r=n.map(Ge.compile),i=n.every(e=>/(\/(?:\*\*)?|\[\/\])$/.test(e)),a=t.replace(/[\\\/]+/g,`/`).replace(/\/$/,i?`/`:``);return r.some(e=>e.test(a))};Ge.compile=e=>RegExp(`^${Ve(We(e))}$`,`s`);var Ke=Ge;return o(s)})();return e.default||e},kSn=(e,t)=>(T6||(T6=w6(),w6=null),T6(e,t)),ASn=/^[A-Za-z]:\//,jSn=/^[/\\]{2}/,MSn=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,E6=/^[A-Za-z]:$/,D6=/^\/([A-Za-z]:)?$/,NSn=/.(\.[^./]+|\.)$/,PSn=/^[/\\]|^[a-zA-Z]:[/\\]/,O6=function(e){if(e.length===0)return`.`;e=S6(e);let t=e.match(jSn),n=A6(e),r=e[e.length-1]===`/`;return e=C6(e,!n),e.length===0?n?`/`:r?`./`:`.`:(r&&(e+=`/`),E6.test(e)&&(e+=`/`),t?n?`//${e}`:`//./${e}`:n&&!A6(e)?`/${e}`:e)},FSn=function(...e){let t=``;for(let n of e)if(n)if(t.length>0){let e=t[t.length-1]===`/`,r=n[0]===`/`;e&&r?t+=n.slice(1):t+=e||r?n:`/${n}`}else t+=n;return O6(t)},k6=function(...e){e=e.map(e=>S6(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:OSn();!i||i.length===0||(t=`${i}/${t}`,n=A6(i))}return t=C6(t,!n),n&&!A6(t)?`/${t}`:t.length>0?t:`.`},A6=function(e){return MSn.test(e)},ISn=function(e){return S6(e)},j6=function(e){if(e===`..`)return``;let t=NSn.exec(S6(e));return t&&t[1]||``},LSn=function(e,t){let n=k6(e).replace(D6,`$1`).split(`/`),r=k6(t).replace(D6,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)},M6=function(e){let t=S6(e).replace(/\/$/,``).split(`/`).slice(0,-1);return t.length===1&&E6.test(t[0])&&(t[0]+=`/`),t.join(`/`)||(A6(e)?`/`:`.`)},RSn=function(e){let t=e.ext?e.ext.startsWith(`.`)?e.ext:`.${e.ext}`:``,n=[e.root,e.dir,e.base??(e.name??``)+t].filter(Boolean);return S6(e.root?k6(...n):n.join(`/`))},N6=function(e,t){let n=S6(e).split(`/`),r=``;for(let e=n.length-1;e>=0;e--){let t=n[e];if(t){r=t;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},zSn=function(e){let t=PSn.exec(e)?.[0]?.replace(/\\/g,`/`)||``,n=N6(e),r=j6(n);return{root:t,dir:M6(e),base:n,ext:r,name:n.slice(0,n.length-r.length)}},BSn=(e,t)=>kSn(t,O6(e)),P6={__proto__:null,basename:N6,dirname:M6,extname:j6,format:RSn,isAbsolute:A6,join:FSn,matchesGlob:BSn,normalize:O6,normalizeString:C6,parse:zSn,relative:LSn,resolve:k6,sep:`/`,toNamespacedPath:ISn}})),HSn,USn,F6,I6,WSn,GSn=c((()=>{VSn(),HSn=globalThis.process?.platform===`win32`?`;`:`:`,USn={posix:void 0,win32:void 0},F6=(e=HSn)=>new Proxy(P6,{get(t,n){return n===`delimiter`?e:n===`posix`?I6:n===`win32`?WSn:USn[n]||P6[n]}}),I6=F6(`:`),WSn=F6(`;`)})),KSn,qSn=c((()=>{GSn(),x6(),KSn=(e,t)=>{if(b6(t))return t;if(b6(e)){let n=new URL(e);return n.pathname=I6.posix.resolve(`/`,I6.dirname(n.pathname),t),n.toString()}return I6.resolve(I6.dirname(e),t)}}));function JSn(e){return decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`))}var YSn=c((()=>{}));function L6(e){return e.split(`/`).slice(1).map(JSn)}var R6=c((()=>{YSn()}));function z6(e,t,n){if(t===``)throw Error(`Cannot set value at root ('') pointer`);let r=L6(t);r.forEach(e=>e1(e));let i=e;for(let e=0;e<r.length;e++){let t=r[e],a=e===r.length-1,o=r[e+1],s=/^\d+$/.test(o??``);a?i[t]=n:((!(t in i)||typeof i[t]!=`object`)&&(i[t]=s?[]:{}),i=i[t])}}var XSn=c((()=>{t1(),R6()})),ZSn,QSn=c((()=>{GSn(),x6(),ZSn=(e,t)=>{if(b6(e)&&b6(t)){let n=new URL(e),r=new URL(t);if(n.origin!==r.origin)return e;let i=I6.dirname(I6.posix.resolve(`/`,r.pathname)),a=I6.posix.resolve(`/`,n.pathname);return I6.posix.relative(i,a)}if(b6(t)){let n=new URL(t),r=I6.dirname(I6.posix.resolve(`/`,n.pathname));return n.pathname=I6.posix.relative(r,I6.posix.resolve(`/`,e)),n.toString()}if(b6(e))return e;let n=I6.dirname(I6.resolve(t)),r=I6.resolve(e);return I6.relative(n,r)}}));function $Sn(e){let t=W3(e).substring(0,7);return t.match(/^\d+$/)?`a`+t.substring(1):t}async function eCn(e,t,n,r,i=0){if(i>=100)throw`Can not generate unique compressed values`;let a=await e(r??t);return n[a]!==void 0&&n[a]!==t?eCn(e,t,n,a,i+1):(n[a]=t,a)}var tCn,nCn=c((()=>{G3(),tCn=(e,t)=>{let n=Object.fromEntries(Object.entries(t).map(([e,t])=>[t,e]));return{generate:async r=>{let i=n[r];if(i)return i;let a=await eCn(e,r,t),o=a.match(/^\d+$/)?`a${a}`:a;return n[r]=o,o}}}}));function rCn(e){return e.startsWith(`#`)}function iCn(e,t){let n=t.find(t=>t.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function B6(e,t){if(!rCn(e))throw`Please provide an internal ref`;return`#/${t.map(m1).join(`/`)}${e.substring(1)}`}function V6(e,t){if(Array.isArray(e)){e.forEach(e=>V6(e,t));return}if(w_(e)&&(Object.values(e).forEach(e=>V6(e,t)),typeof e==`object`&&`$ref`in e&&typeof e.$ref==`string`)){let n=e.$ref;if(!rCn(n))return;e.$ref=B6(n,t)}}async function H6(e,t){t.externalDocumentsKey=t.externalDocumentsKey??W6.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??W6.externalDocumentsMappings;let n=t.cache??new Map,r=t.plugins.filter(e=>e.type===`loader`),i=t.plugins.filter(e=>e.type===`lifecycle`),a=await(async()=>{if(typeof e!=`string`)return e;let t=await iCn(e,r);if(t.ok&&typeof t.data==`object`)return t.data;throw Error(`Failed to resolve input: Please provide a valid string value or pass a loader to process the input`)})(),o=t.root??a,s=k_(o),c=t.root!==void 0&&t.root!==a||t.depth!==void 0,l=t.visitedNodes??new Set,u=D_(o)||(t.origin?t.origin:typeof e==`string`&&(b6(e)||ESn(e))?e:`/`);o[t.externalDocumentsMappingsKey]===void 0&&(o[t.externalDocumentsMappingsKey]={});let{generate:d}=tCn(t.compress??$Sn,o[t.externalDocumentsMappingsKey]),f=async(e,...n)=>{let r=t.hooks?.[e];r&&await r(...n);for(let t of i){let r=t[e];r&&await r(...n)}},p=async(e,i=u,a=!1,m=0,h=[],g=null)=>{if(t.depth!==void 0&&m>t.depth||!w_(e)&&!Array.isArray(e)||l.has(e))return;l.add(e);let _={path:h,resolutionCache:n,parentNode:g,rootNode:o,loaders:r};await f(`onBeforeNodeProcess`,e,_);let v=D_(e);if(aCn(e)){let l=e.$ref,h=`$global`in e&&typeof e.$global==`boolean`&&e.$global,g=E_(l,v??i,s);if(g!==void 0){if(c){let e=L6(`/${g}`),t=e.length>0?j_(o,e.slice(0,-1)).value:void 0,n=j_(o,e);await p(n.value,n.context,a,m+1,e,t)}await f(`onAfterNodeProcess`,e,_);return}let[y,b=``]=l.split(`#`,2),x=KSn(v??i,y),ee=ZSn(x,u),S=await d(ee),C=n.has(ee);C||n.set(ee,iCn(x,r)),await f(`onResolveStart`,e);let te=await n.get(ee);if(te.ok){C||(h||V6(te.data,[W6.externalDocuments,S]),await p(te.data,h?i:x,h,m+1,[t.externalDocumentsKey,S,o[t.externalDocumentsMappingsKey]]),z6(o,`/${t.externalDocumentsMappingsKey}/${m1(S)}`,ee)),t.treeShake===!0?U6(o,{[t.externalDocumentsKey]:{[S]:te.data}},B6(`#${b}`,[t.externalDocumentsKey,S]).substring(1),t.externalDocumentsKey,S):C||z6(o,`/${t.externalDocumentsKey}/${S}`,te.data),e.$ref=B6(`#${b}`,[t.externalDocumentsKey,S]),await f(`onResolveSuccess`,e),await f(`onAfterNodeProcess`,e,_);return}return await f(`onResolveError`,e),await f(`onAfterNodeProcess`,e,_),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 n in e)n===t.externalDocumentsKey||n===t.externalDocumentsMappingsKey||await p(e[n],v??i,a,m+1,[...h,n],e);await f(`onAfterNodeProcess`,e,_)};return await p(a),!t.urlMap&&!c&&delete o[t.externalDocumentsMappingsKey],a}var aCn,U6,W6,oCn=c((()=>{T_(),Yhe(),A_(),Xhe(),DSn(),x6(),qSn(),XSn(),QSn(),fan(),R6(),nCn(),aCn=e=>w_(e)&&`$ref`in e&&typeof e.$ref==`string`,U6=(e,t,n,r,i,a=!1,o=new Set)=>{let s=j_(t,L6(n)).value;if(o.has(s))return;o.add(s),z6(e,n,s);let c=n=>{if(!(!n||typeof n!=`object`)){`$ref`in n&&typeof n.$ref==`string`&&(n.$ref.startsWith(`#/${r}/${m1(i)}`)||a)&&U6(e,t,n.$ref.substring(1),r,i,a,o);for(let e of Object.values(n))c(e)}};c(s)},W6={externalDocuments:`x-ext`,externalDocumentsMappings:`x-ext-urls`}})),sCn=c((()=>{oCn()})),cCn,lCn,uCn=c((()=>{cCn=class{data;next;constructor(e){this.data=e,this.next=null}},lCn=class{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(e){let t=new cCn(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,this.front===null&&(this.rear=null),this.size--,e.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return this.size===0}getSize(){return this.size}toString(){let e=this.front,t=[];for(;e;)t.push(e.data),e=e.next;return t.join(` -> `)}}}));function dCn(e){let t=0,n=new lCn,r=()=>{if(n.isEmpty()||t>=e)return;let r=n.dequeue();r&&r()};return async i=>{t>=e&&await new Promise(e=>n.enqueue(e)),t++;try{return await i()}finally{t--,r()}}}var fCn=c((()=>{uCn()}));function pCn(e){if(e!==null){if(typeof e==`string`){if(e.trim()===``)return;try{return JSON.parse(e)}catch{let t=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith(`{`);return!t||n?void 0:Dx(e,{maxAliasCount:1e4,merge:!0})}}return e}}var mCn=c((()=>{Ax()}));async function hCn(e,t,n){try{let r=gCn(e),i=n?.headers?.find(e=>e.domains.find(e=>e===r)!==void 0)?.headers,a=n?.fetch??fetch,o=await t(()=>a(e,{headers:i}));if(o.ok){let e=await o.text();return{ok:!0,data:pCn(e),raw:e}}let s=o.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 ${o.status} ${o.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}}function G6(e){let t=e?.limit?dCn(e.limit):e=>e();return{type:`loader`,validate:b6,exec:n=>hCn(n,t,e)}}var gCn,_Cn=c((()=>{fCn(),x6(),mCn(),gCn=e=>{try{return new URL(e).host}catch{return null}}})),vCn=c((()=>{Ax()})),yCn=c((()=>{_Cn(),vCn()})),K6,q6,bCn=c((()=>{K6=class extends Error{constructor(e){super(e),this.name=`InvalidChangesDetectedError`}},q6=(e,t)=>{let n=(e,t,r,i=0)=>{if(t[i]===void 0)throw new K6(`Process aborted. Path ${t.join(`.`)} at depth ${i} is undefined, check diff object`);if(i>=t.length-1){r.type===`add`||r.type===`update`?e[t[i]]=r.changes:Array.isArray(e)?e.splice(Number.parseInt(t[i]),1):delete e[t[i]];return}if(e[t[i]]===void 0||typeof e[t[i]]!=`object`)throw new K6(`Process aborted, check diff object`);n(e[t[i]],t,r,i+1)};for(let r of t)n(e,r.path,r);return e}})),J6,xCn=c((()=>{J6=(e,t)=>{let n=[],r=(e,t,i=[])=>{if(typeof e!=typeof t){if(e===void 0){n.push({path:i,changes:t,type:`add`});return}if(t===void 0){n.push({path:i,changes:e,type:`delete`});return}n.push({path:i,changes:t,type:`update`});return}if(typeof e==`object`&&typeof t==`object`&&e!==null&&t!==null){let n=new Set([...Object.keys(e),...Object.keys(t)]);for(let a of n)r(e[a],t[a],[...i,a]);return}e!==t&&n.push({path:i,changes:t,type:`update`})};return r(e,t),n}})),Y6,SCn,CCn=c((()=>{Y6=class{value;children;constructor(e,t){this.value=e,this.children=t}},SCn=class{root;constructor(){this.root=new Y6(null,{})}addPath(e,t){let n=this.root;for(let t of e)n.children[t]||(n.children[t]=new Y6(null,{})),n=n.children[t];n.value=t}findMatch(e,t){let n=this.root;for(let r of e){n.value!==null&&t(n.value);let e=n.children[r];if(!e)return;n=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(n)}}})),X6,Z6,wCn,TCn=c((()=>{X6=(e,t)=>{if(typeof e!=typeof t)return!0;if(typeof e==`object`&&typeof t==`object`&&e!==null&&t!==null){let n=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of n)if(e[r]!==void 0&&t[r]!==void 0&&X6(e[r],t[r]))return!0;return!1}return e!==t},Z6=(e,t)=>{for(let n in t)if(!(n in e))e[n]=t[n];else{let r=e[n],i=t[n];typeof r==`object`&&r&&typeof i==`object`&&i&&(e[n]=Z6(r,i))}return e},wCn=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<=e.length;++n)if(e[n]!==t[n])return!1;return!0}})),Q6,ECn=c((()=>{CCn(),TCn(),Q6=(e,t)=>{let n=new SCn;for(let[t,r]of e.entries())n.addPath(r.path,{index:t,changes:r});let r=new Set,i=new Set,a=new Map,o=new Map;for(let[e,s]of t.entries())n.findMatch(s.path,t=>{if(s.type===`delete`)if(t.changes.type===`delete`)t.changes.path.length>s.path.length?r.add(t.index):i.add(t.index);else{r.add(t.index),i.add(e);let n=o.get(e);n===void 0?o.set(e,[[t.changes],[s]]):n[0].push(t.changes)}if(s.type===`add`||s.type===`update`){if(wCn(s.path,t.changes.path)&&t.changes.type!==`delete`&&!X6(s.changes,t.changes.changes)){r.add(t.index),typeof s.changes==`object`&&Z6(s.changes,t.changes.changes);return}r.add(t.index),i.add(e);let n=a.get(t.index);n===void 0?a.set(t.index,[[t.changes],[s]]):n[1].push(s)}});let s=[...a.values(),...o.values()];return{diffs:[...e.filter((e,t)=>!r.has(t)),...t.filter((e,t)=>!i.has(t))],conflicts:s}}})),DCn=c((()=>{bCn(),xCn(),ECn()}));function $6(e){if(!(typeof e!=`object`||!e)){if(Array.isArray(e)){for(let t of e)$6(t);return}if(e.xml&&typeof e.xml==`object`){if(e.xml.wrapped===!0&&e.xml.attribute===!0)throw Error(`Invalid XML configuration: wrapped and attribute cannot be true at the same time.`);e.xml.wrapped===!0&&(delete e.xml.wrapped,e.xml.nodeType=`element`),e.xml.attribute===!0&&(delete e.xml.attribute,e.xml.nodeType=`attribute`)}for(let t in e)Object.hasOwn(e,t)&&$6(e[t])}}function OCn(e){if(e[`x-tagGroups`]&&Array.isArray(e[`x-tagGroups`])){let t=e[`x-tagGroups`];e.tags||=[];let n=new Map;for(let e of t)for(let t of e.tags)n.set(t,e.name);if(Array.isArray(e.tags)){for(let t of e.tags)if(typeof t==`object`&&t&&`name`in t){let e=n.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`]}}function kCn(e){let t=e;if(typeof t==`object`&&t&&typeof t.openapi==`string`&&t.openapi?.startsWith(`3.1`))t.openapi=`3.2.0`;else return t;return OCn(t),$6(t),t}var ACn=c((()=>{})),jCn=c((()=>{ACn()}));function e8(e,t,n=[]){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];if(Array.isArray(a)){r[i]=a.map((n,r)=>typeof n==`object`&&!Array.isArray(n)&&n!==null?e8(n,t,[...e,r.toString()]):n);continue}if(typeof a==`object`&&a){r[i]=e8(a,t,e);continue}r[i]=a}return t(r,n)}var MCn=c((()=>{}));function NCn(e){let t=e[`x-example`],n=e[`x-examples`];return delete e[`x-example`],delete e[`x-examples`],{xExample:t,xExamples:n}}function t8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).length>0}function PCn(e){return t8(e)&&Object.values(e).every(e=>typeof e==`object`&&!!e&&!Array.isArray(e))}function FCn(e){if(typeof e!=`object`||!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)||typeof t.properties==`object`&&t.properties!==null&&Object.keys(t.properties).length>0)}function ICn(e){let t=Object.keys(e);if(t.some(t=>{let n=e[t];return n?.example!==void 0||n?.examples!==void 0}))for(let n of t){let t=e[n];if(!t)continue;let r=t.example!==void 0||t.examples!==void 0;t.schema!==void 0&&!r&&Object.keys(t).length===1&&FCn(t.schema)&&delete e[n]}}function LCn(e){if(typeof e!=`object`||!e)return!1;let t=e,n=`value`in t||`externalValue`in t,r=Object.keys(t).every(e=>qCn.has(e));return n&&r}function n8(e){return LCn(e)?e:{value:e}}function r8(e){return JCn.test(e)}function RCn(e){return Object.entries(e).reduce((e,[t,n])=>(e[t]={value:n},e),{})}function zCn(e){let t=e;if(typeof t==`object`&&t&&typeof t.swagger==`string`&&t.swagger?.startsWith(`2.0`))t.openapi=`3.0.4`,delete t.swagger;else return t;if(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=e8(t,e=>(typeof e.$ref==`string`&&e.$ref.startsWith(`#/definitions/`)&&(e.$ref=e.$ref.replace(/^#\/definitions\//,`#/components/schemas/`)),e))),t=e8(t,e=>(e.type===`file`&&(e.type=`string`,e.format=`binary`),e)),Object.hasOwn(t,`parameters`)){t=e8(t,e=>{if(typeof e.$ref==`string`&&e.$ref.startsWith(`#/parameters/`)){let n=e.$ref.split(`/`)[2];if(!n)return e;let r=t.parameters&&typeof t.parameters==`object`&&n in t.parameters?t.parameters[n]:void 0;r&&typeof r==`object`&&`in`in r&&(r.in===`body`||r.in===`formData`)?e.$ref=e.$ref.replace(/^#\/parameters\//,`#/components/requestBodies/`):e.$ref=e.$ref.replace(/^#\/parameters\//,`#/components/parameters/`)}return e}),t.components??={};let e={},n={},r=t.parameters&&typeof t.parameters==`object`?t.parameters:{};for(let[i,a]of Object.entries(r))a&&typeof a==`object`&&(`$ref`in a?e[i]=i8(a):`in`in a&&(a.in===`body`?n[i]=WCn(a,t.consumes??[a8]):a.in===`formData`?n[i]=GCn([a],t.consumes):e[i]=i8(a)));Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(n).length>0&&(t.components.requestBodies=n),delete t.parameters}if(Object.hasOwn(t,`responses`)&&typeof t.responses==`object`&&t.responses!==null){t=e8(t,e=>(typeof e.$ref==`string`&&e.$ref.startsWith(`#/responses/`)&&(e.$ref=e.$ref.replace(/^#\/responses\//,`#/components/responses/`)),e)),t.components??={};let e={},n=t.responses;for(let[r,i]of Object.entries(n))if(i&&typeof i==`object`)if(`$ref`in i)e[r]=i;else{let n=i,a=t.produces??[a8];if(n.schema){typeof n.content!=`object`&&(n.content={});for(let e of a)n.content[e]={schema:n.schema};delete n.schema}if(n.examples&&typeof n.examples==`object`){typeof n.content!=`object`&&(n.content={});let e=a[0]??a8;for(let[t,r]of Object.entries(n.examples))if(r8(t))typeof n.content[t]!=`object`&&(n.content[t]={}),n.content[t].example=r;else{typeof n.content[e]!=`object`&&(n.content[e]={});let i=n.content[e];typeof i.examples!=`object`&&(i.examples={}),i.examples[t]=n8(r)}delete n.examples}n.content&&typeof n.content==`object`&&ICn(n.content),n.headers&&typeof n.headers==`object`&&(n.headers=Object.entries(n.headers).reduce((e,[t,n])=>n&&typeof n==`object`?{[t]:HCn(n),...e}:e,{})),e[r]=n}Object.keys(e).length>0&&(t.components.responses=e),delete t.responses}if(typeof t.paths==`object`){for(let e in t.paths)if(Object.hasOwn(t.paths,e)){let n=t.paths&&typeof t.paths==`object`&&e in t.paths?t.paths[e]:void 0;if(!n||typeof n!=`object`)continue;let r;for(let e in n)if(e===`parameters`&&Object.hasOwn(n,e)){let e=KCn(n.parameters,t.consumes??[a8]);n.parameters=e.parameters,r=e.requestBody}else if(Object.hasOwn(n,e)){let i=n[e];if(r&&(i.requestBody=r),i.parameters){let e=KCn(i.parameters,i.consumes??t.consumes??[a8]);i.parameters=e.parameters,e.requestBody&&(i.requestBody=e.requestBody)}if(delete i.consumes,i.responses){for(let e in i.responses)if(Object.hasOwn(i.responses,e)){let n=i.responses[e];if(n.headers&&typeof n.headers==`object`&&(n.headers=Object.entries(n.headers).reduce((e,[t,n])=>n&&typeof n==`object`?{[t]:HCn(n),...e}:e,{})),n.schema){let e=t.produces??i.produces??[a8];typeof n.content!=`object`&&(n.content={});for(let t of e)n.content[t]={schema:n.schema};delete n.schema}if(n.examples&&typeof n.examples==`object`){typeof n.content!=`object`&&(n.content={});let e=(t.produces??i.produces??[a8])[0]??a8;for(let[t,r]of Object.entries(n.examples))if(r8(t))typeof n.content[t]!=`object`&&(n.content[t]={}),n.content[t].example=r;else{typeof n.content[e]!=`object`&&(n.content[e]={});let i=n.content[e];typeof i.examples!=`object`&&(i.examples={}),i.examples[t]=n8(r)}delete n.examples}n.content&&typeof n.content==`object`&&ICn(n.content)}}delete i.produces,i.parameters?.length===0&&delete i.parameters}}}if(t.securityDefinitions){(typeof t.components!=`object`||t.components===null)&&(t.components={}),t.components&&typeof t.components==`object`&&Object.assign(t.components,{securitySchemes:{}});for(let[e,n]of Object.entries(t.securityDefinitions))if(typeof n==`object`)if(`type`in n&&n.type===`oauth2`){let{flow:r,authorizationUrl:i,tokenUrl:a,scopes:o}=n;t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:`oauth2`,flows:{[YCn(r||`implicit`)]:Object.assign({},i&&{authorizationUrl:i},a&&{tokenUrl:a},o&&{scopes:o})}}})}else `type`in n&&n.type===`basic`?t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:`http`,scheme:`basic`}}):t.components&&typeof t.components==`object`&&`securitySchemes`in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:n});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}function BCn(e){return[`type`,`format`,`default`,`items`,`maximum`,`exclusiveMaximum`,`minimum`,`exclusiveMinimum`,`maxLength`,`minLength`,`pattern`,`maxItems`,`minItems`,`uniqueItems`,`enum`,`multipleOf`].reduce((t,n)=>(Object.hasOwn(e,n)&&(t[n]=e[n],delete e[n]),t),{})}function VCn(e){if(e===`formData`)throw Error(`Encountered a formData parameter which should have been filtered out by the caller`);if(e===`body`)throw Error(`Encountered a body parameter which should have been filtered out by the caller`);return e}function i8(e){if(Object.hasOwn(e,`$ref`)&&typeof e.$ref==`string`)return{$ref:e.$ref};let t=UCn(e),n=BCn(e),{xExample:r,xExamples:i}=NCn(e);if(t8(r)?e.examples=RCn(r):t8(i)&&(e.examples=Object.entries(i).reduce((e,[t,n])=>(e[t]=n8(n),e),{})),delete e.collectionFormat,delete e.default,!e.in)throw Error(`Parameter object must have an "in" property`);return{schema:n,...t,...e,in:VCn(e.in)}}function HCn(e){if(Object.hasOwn(e,`$ref`)&&typeof e.$ref==`string`)return{$ref:e.$ref};let t=BCn(e);return{...e,schema:t}}function UCn(e){if(e.type!==`array`||!(e.in===`query`||e.in===`path`||e.in===`header`))return{};let t=e.collectionFormat??`csv`;return e.in in s8&&t in s8[e.in]?s8[e.in][t]:{}}function WCn(e,t){let{xExample:n,xExamples:r}=NCn(e);delete e.name,delete e.in;let{schema:i,...a}=e,o={content:{},...a};if(o.content)for(let e of t){if(o.content[e]={schema:i},t8(r)&&e in r){let t=r[e];t8(t)&&Object.values(t).every(e=>LCn(e))?o.content[e].examples=t:PCn(t)?o.content[e].examples=Object.entries(t).reduce((e,[t,n])=>(e[t]=n8(n),e),{}):o.content[e].examples={default:n8(t)}}else t8(r)&&!Object.keys(r).some(r8)&&(o.content[e].examples=Object.entries(r).reduce((e,[t,n])=>(e[t]=n8(n),e),{}));!o.content[e].examples&&t8(n)&&e in n&&(o.content[e].example=n[e])}return o}function GCn(e,t=[`multipart/form-data`]){let n={content:{}},r=t.filter(e=>e===`multipart/form-data`||e===`application/x-www-form-urlencoded`),i=r.length>0?r:[`multipart/form-data`];if(n.content)for(let t of i){n.content[t]={schema:{type:`object`,properties:{},required:[]}};let r=n.content?.[t];if(r?.schema&&typeof r.schema==`object`&&`properties`in r.schema)for(let t of e)t.name&&r.schema.properties&&(r.schema.properties[t.name]={type:t.type,description:t.description,...t.format?{format:t.format}:{}},t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name))}return n}function KCn(e,t){let n={parameters:e.filter(e=>!(e.in===`body`||e.in===`formData`)).map(e=>i8(e))},r=structuredClone(e.find(e=>e.in===`body`)??{});r&&Object.keys(r).length&&(n.requestBody=WCn(r,t));let i=e.filter(e=>e.in===`formData`);if(i.length>0){let e=GCn(i,t);typeof n.requestBody==`object`?n.requestBody={...n.requestBody,content:{...n.requestBody.content,...e.content}}:n.requestBody=e,typeof n.requestBody!=`object`&&(n.requestBody={content:{}})}return n}var a8,qCn,JCn,YCn,XCn,o8,s8,ZCn=c((()=>{MCn(),a8=`application/json`,qCn=new Set([`summary`,`description`,`value`,`externalValue`]),JCn=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/,YCn=e=>{switch(e){case`application`:return`clientCredentials`;case`accessCode`:return`authorizationCode`;case`implicit`:return`implicit`;case`password`:return`password`;default:return e}},XCn={ssv:{style:`spaceDelimited`,explode:!1},pipes:{style:`pipeDelimited`,explode:!1},multi:{style:`form`,explode:!0},csv:{style:`form`,explode:!1},tsv:{}},o8={ssv:{},pipes:{},multi:{},csv:{style:`simple`,explode:!1},tsv:{}},s8={header:o8,query:XCn,path:o8}})),QCn=c((()=>{ZCn()}));function $Cn(e){return e?!!(e.some(e=>twn.has(e))||e.some(e=>e.endsWith(`Schema`))||e.length>=2&&e[0]===`components`&&e[1]===`schemas`):!1}function ewn(e){let t=e;return t===null||typeof t.openapi!=`string`||!t.openapi.startsWith(`3.0`)?t:(t.openapi=`3.1.1`,t=e8(t,nwn),t)}var twn,nwn,rwn=c((()=>{MCn(),twn=new Set([`properties`,`items`,`allOf`,`anyOf`,`oneOf`,`not`,`additionalProperties`,`schema`]),nwn=(e,t)=>{e.type!==void 0&&e.nullable===!0&&(e.type=[e.type,`null`],delete e.nullable),e.exclusiveMinimum===!0?(e.exclusiveMinimum=e.minimum,delete e.minimum):e.exclusiveMinimum===!1&&delete e.exclusiveMinimum,e.exclusiveMaximum===!0?(e.exclusiveMaximum=e.maximum,delete e.maximum):e.exclusiveMaximum===!1&&delete e.exclusiveMaximum;let n=t?.some((e,n)=>e===`examples`&&n>0?t[n-1]!==`properties`:!1);if(e.example!==void 0&&!n&&($Cn(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),e.type===`object`&&e.properties!==void 0&&(t?.slice(0,-1))?.some((e,n)=>e===`content`&&t?.[n+1]===`multipart/form-data`)&&e.properties!==null)for(let t of Object.values(e.properties))typeof t==`object`&&t&&`type`in t&&`format`in t&&t.type===`string`&&t.format===`binary`&&(t.contentMediaType=`application/octet-stream`,delete t.format);if(t?.includes(`content`)&&t?.includes(`application/octet-stream`))return{};let{format:r,...i}=e;if(e.type===`string`){if(e.format===`binary`)return{...i,type:`string`,contentMediaType:`application/octet-stream`};if(e.format===`base64`)return{...i,type:`string`,contentEncoding:`base64`};if(e.format===`byte`){let e=(t?.slice(0,-1))?.find((e,n)=>t?.[n-1]===`content`);return{...i,type:`string`,contentEncoding:`base64`,contentMediaType:e}}}return e[`x-webhooks`]!==void 0&&(e.webhooks=e[`x-webhooks`],delete e[`x-webhooks`]),e}})),iwn=c((()=>{rwn()}));function awn(e,t){let n=zCn(e);if(t===`3.0`)return n;let r=ewn(n);return t===`3.1`?r:kCn(r)}var own=c((()=>{jCn(),QCn(),iwn()})),swn=c((()=>{own()})),c8,cwn,lwn,uwn,dwn,fwn,pwn=c((()=>{TQ(),c8=Z.Object({name:Z.String(),value:Z.String()}),cwn=Z.Object({url:Z.String(),method:Z.String(),httpVersion:Z.String(),headers:Z.Array(c8),cookies:Z.Array(c8),headersSize:Z.Number(),queryString:Z.Array(c8),bodySize:Z.Number(),postData:Z.Optional(Z.Union([Z.Object({mimeType:Z.String(),text:Z.String()}),Z.Object({mimeType:Z.String(),params:Z.Array(Z.Object({name:Z.String(),value:Z.Optional(Z.String())}))})]))}),lwn=Z.Object({status:Z.Number(),statusText:Z.String(),headers:Z.Array(c8),cookies:Z.Array(c8),httpVersion:Z.String(),redirectURL:Z.String(),headersSize:Z.Number(),bodySize:Z.Number(),content:Z.Object({size:Z.Number(),mimeType:Z.String(),encoding:Z.Optional(Z.String()),text:Z.Optional(Z.String())})}),uwn=Z.Object({time:Z.Number(),timestamp:Z.Number(),request:cwn,response:lwn,meta:Z.Object({example:Z.String()}),requestMetadata:Z.Object({variables:Z.Record(Z.String(),Z.String())})}),dwn=Z.Record(Z.String(),Z.Record(Z.String(),Z.Array(uwn))),fwn=Z.Record(Z.String(),dwn)})),mwn,hwn,gwn=c((()=>{U(),pwn(),s6(),Cq(),B$(),mwn=5,hwn=({hooks:e})=>{let t=$l({});return{getHistory:(e,n,r)=>t[e]?.[n]?.[r],addHistory:(n,r,i,a)=>{t[n]||={},t[n][r]||={},t[n][r][i]||=[],t[n][r][i].length>=mwn&&(t[n][r][i]=Sq(t[n][r][i].filter((e,t)=>t!==0),{depth:1})),t[n][r][i].push(a),e?.onHistoryChange?.(n)},clearOperationHistory:(n,r,i)=>{delete t[n]?.[r]?.[i],e?.onHistoryChange?.(n)},clearPathHistory:(n,r)=>{delete t[n]?.[r],e?.onHistoryChange?.(n)},clearDocumentHistory:n=>{delete t[n],e?.onHistoryChange?.(n)},load:n=>{let r=z$(fwn,n);o6(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>Sq(t)}}})),_wn,vwn=c((()=>{qv(),_wn=e=>e.fetch?e.fetch:((t,n)=>fetch(Gv(e.proxyUrl,t.toString()),n))})),l8,ywn=c((()=>{vSn(),R6(),l8=(e,t)=>{if(e&&typeof e==`object`&&`$ref`in e&&typeof e.$ref==`string`&&e.$ref.startsWith(`#`)){let n=L6(e.$ref.slice(1));return l8(_Sn(t.rootNode,n),t)}return e}})),bwn,u8,xwn,Swn,Cwn,wwn,Twn,Ewn,Dwn,Own=c((()=>{wv(),T_(),s6(),qin(),ywn(),bwn=()=>({type:`lifecycle`,onResolveStart:e=>{e.$status=`loading`},onResolveError:e=>{e.$status=`error`},onResolveSuccess:e=>{delete e.$status}}),u8=()=>({type:`lifecycle`,onAfterNodeProcess:async(e,t)=>{let n=e.externalValue,r=t.resolutionCache;if(typeof n!=`string`)return;let i=t.loaders.find(e=>e.validate(n));if(!i)return;r.has(n)||r.set(n,i.exec(n));let a=await r.get(n);a?.ok&&(e.value=a.data)}}),xwn=()=>({type:`lifecycle`,onBeforeNodeProcess:async(e,t)=>{let{path:n,resolutionCache:r,parentNode:i}=t,a=e.$ref;if(typeof a!=`string`||!i||!n.length)return;let o=t.loaders.find(e=>e.validate(a));if(o&&n[0]===`info`){r.has(a)||r.set(a,o.exec(a));let e=await r.get(a);e?.ok&&(i[n.at(-1)]=e.data)}}}),Swn=()=>({type:`lifecycle`,onBeforeNodeProcess:(e,t)=>{let n=e.$ref,r=t.rootNode[`x-ext-urls`];typeof n!=`string`||typeof r!=`object`||!r||!uvn(n)||(e.$ref=r[n.split(`/`).at(-1)??``]??n)}}),Cwn=()=>({type:`lifecycle`,onAfterNodeProcess:(e,t)=>{let{path:n}=t;if(n.length===3&&n[0]===`components`&&n[1]===`securitySchemes`){let n=l8(e,t);typeof n==`object`&&n&&`scheme`in n&&typeof n.scheme==`string`&&n.scheme.toLowerCase()!==n.scheme&&(n.scheme=n.scheme.toLowerCase())}}}),wwn=()=>({type:`lifecycle`,onBeforeNodeProcess:(e,t)=>{let{path:n}=t;if(typeof e.$ref==`string`&&!(n[0]===`components`&&n[1]===`schemas`)){let t=new Set([`$ref`,`summary`,`description`,`$status`]);Object.keys(e).forEach(n=>{t.has(n)||delete e[n]})}}}),Twn=()=>({type:`lifecycle`,onBeforeNodeProcess:(e,t)=>{let{path:n}=t;if(n.length!==2||n[0]!==`paths`||typeof n[1]!=`string`)return;let r=n[1];for(let n of Cv){let i=l8(e[n],t);if(!w_(i))continue;let a=e=>{let n=l8(e,t);return w_(n)&&`name`in n&&typeof n.name==`string`&&`in`in n&&typeof n.in==`string`},o=e=>{let n=l8(e,t);return a(n)&&n.in===`path`},s=(`parameters`in i&&Array.isArray(i.parameters)?i.parameters:[]).filter(a),c=new Set(s.map(e=>l8(e,t)).filter(o).map(e=>e.name)),l=(`parameters`in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let n=l8(e,t);if(!o(n))return!1;let r=!c.has(n.name);return r&&c.add(n.name),r}),u=r1(r,r,[...s,...l],e=>l8(e,t));u.length>0&&(i.parameters=u)}}}),Ewn=[`__scalar_`,`$status`],Dwn=()=>({type:`lifecycle`,onBeforeNodeProcess:e=>{if(w_(e))for(let t of Ewn)t in e&&delete e[t]}})})),kwn,Awn=c((()=>{VQ(),F1(),z0(),W$(),ion(),H0(),son(),uon(),hon(),hsn(),von(),bcn(),rsn(),R1(),V1(),xon(),UQ(),W1(),h1(),v1(),qsn(),$sn(),y1(),b1(),rcn(),Ccn(),Ecn(),kcn(),Mcn(),Fcn(),qcn(),E0(),Esn(),ksn(),j0(),Rsn(),Vsn(),q1(),oln(),Eon(),kwn=e=>{let t=IQ({name:$(Q({typeComment:`The name of the contact.`})),url:$(Q({typeComment:`The URI for the contact information. This MUST be in the form of a URI.`})),email:$(Q({typeComment:`The email address of the contact person/organization. This MUST be in the form of an email address.`}))},{typeName:`ContactObject`}),n=IQ({name:$(Q({typeComment:`REQUIRED. The license name used for the API.`})),identifier:$(Q({typeComment:`An SPDX license expression for the API. The identifier field is mutually exclusive of the url field.`})),url:$(Q({typeComment:`A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field.`}))},{typeName:`LicenseObject`}),r=RQ([IQ({title:Q({typeComment:`REQUIRED. The title of the API.`}),version:Q({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:$(Q({typeComment:`A short summary of the API.`})),description:$(Q({typeComment:`A description of the API. CommonMark syntax MAY be used for rich text representation.`})),termsOfService:$(Q({typeComment:`A URI for the Terms of Service for the API. This MUST be in the form of a URI.`})),contact:$(t),license:$(n)},{typeName:`InfoObject`}),msn]),i=IQ({enum:$(PQ(Q(),{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:$(Q({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:$(Q({typeComment:`An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.`}))},{typeName:`ServerVariableObject`}),a=IQ({url:Q({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:$(Q({typeComment:`An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation.`})),variables:$(FQ(Q(),i,{typeComment:`A map between a variable name and its value. The value is used for substitution in the server's URL template.`}))},{typeName:`ServerObject`}),o=IQ({url:Q({typeComment:`REQUIRED. The URI for the target documentation. This MUST be in the form of a URI.`}),description:$(Q({typeComment:`A description of the target documentation. CommonMark syntax MAY be used for rich text representation.`}))},{typeName:`ExternalDocumentationObject`}),s=RQ([IQ({name:Q({typeComment:`REQUIRED. The name of the tag.`}),description:$(Q({typeComment:`A description for the tag. CommonMark syntax MAY be used for rich text representation.`})),externalDocs:$(o)},{typeName:`TagObject`}),aln,R0,V0,U1]),c=FQ(Q(),PQ(Q()),{typeName:`SecurityRequirementObject`,typeComment:`Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported.`}),l=IQ({name:$(Q({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:$(Q({typeComment:`The URI of the namespace definition. Value MUST be in the form of a non-relative URI.`})),prefix:$(Q({typeComment:`The prefix to be used for the name.`})),attribute:$(MQ({typeComment:`Declares whether the property definition translates to an attribute instead of an element. Default value is false.`})),wrapped:$(MQ({typeComment:`MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).`}))},{typeName:`XMLObject`}),u=IQ({propertyName:Q({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:$(FQ(Q(),Q(),{typeComment:`An object to hold mappings between payload values and schema names or URI references.`}))},{typeName:`DiscriminatorObject`}),d=[V0,R0,Pcn,jcn,Tcn,Ocn,Scn,ycn],f=IQ({name:$(Q({typeComment:`Schema name (extension).`})),title:$(Q({typeComment:`A title for the schema.`})),description:$(Q({typeComment:`A description of the schema.`})),default:$(NQ({typeComment:`Default value for the schema.`})),enum:$(PQ(NQ(),{typeComment:`Array of allowed values.`,typeName:`JsonSchemaEnum`})),const:$(NQ({typeComment:`Constant value that must match exactly.`})),contentMediaType:$(Q({typeComment:`Media type for content validation.`})),contentEncoding:$(Q({typeComment:`Content encoding.`})),contentSchema:$(e(BQ(()=>b))),deprecated:$(MQ({typeComment:`Whether the schema is deprecated.`})),discriminator:$(u),readOnly:$(MQ({typeComment:`Whether the schema is read-only.`})),writeOnly:$(MQ({typeComment:`Whether the schema is write-only.`})),xml:$(l),externalDocs:$(o),example:$(NQ({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:$(PQ(NQ(),{typeComment:`An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.`,typeName:`SchemaExamplesArray`})),allOf:$(PQ(e(BQ(()=>b)),{typeName:`SchemaObjectAllOf`})),oneOf:$(PQ(e(BQ(()=>b)),{typeName:`SchemaObjectOneOf`})),anyOf:$(PQ(e(BQ(()=>b)),{typeName:`SchemaObjectAnyOf`})),not:$(e(BQ(()=>b)))}),p=IQ({__scalar_:Q({typeComment:`Internal marker for schema object disambiguation.`})}),m=IQ({type:LQ([zQ(`number`),zQ(`integer`)]),format:$(Q({typeComment:`Different subtypes.`})),multipleOf:$(jQ({typeComment:`Number must be a multiple of this value.`})),maximum:$(jQ({typeComment:`Maximum value (inclusive).`})),exclusiveMaximum:$(jQ({typeComment:`Maximum value (exclusive).`})),minimum:$(jQ({typeComment:`Minimum value (inclusive).`})),exclusiveMinimum:$(jQ({typeComment:`Minimum value (exclusive).`}))},{typeName:`NumberSchemaObject`}),h=IQ({type:zQ(`string`),format:$(Q({typeComment:`Different subtypes.`})),maxLength:$(jQ({typeComment:`Maximum string length.`})),minLength:$(jQ({typeComment:`Minimum string length.`})),pattern:$(Q({typeComment:`Regular expression pattern.`}))},{typeName:`StringSchemaObject`}),g=IQ({type:zQ(`object`),maxProperties:$(jQ({typeComment:`Maximum number of properties.`})),minProperties:$(jQ({typeComment:`Minimum number of properties.`})),properties:$(FQ(Q(),e(BQ(()=>b)),{typeName:`SchemaObjectProperties`})),required:$(PQ(Q(),{typeName:`SchemaObjectRequired`})),additionalProperties:$(LQ([MQ(),e(BQ(()=>b))],{typeName:`SchemaObjectAdditionalProperties`})),patternProperties:$(FQ(Q(),e(BQ(()=>b)),{typeName:`SchemaObjectPatternProperties`})),propertyNames:$(e(BQ(()=>b)))},{typeName:`ObjectSchemaObject`}),_=IQ({type:zQ(`array`),maxItems:$(jQ({typeComment:`Maximum number of items in array.`})),minItems:$(jQ({typeComment:`Minimum number of items in array.`})),uniqueItems:$(MQ({typeComment:`Whether array items must be unique.`})),items:$(e(BQ(()=>b))),prefixItems:$(PQ(e(BQ(()=>b)),{typeComment:`Schema for tuple validation.`}))},{typeName:`ArraySchemaObject`}),v=LQ([zQ(`null`),zQ(`boolean`),zQ(`string`),zQ(`number`),zQ(`integer`),zQ(`object`),zQ(`array`)],{typeName:`SchemaObjectMultiTypeKeywords`}),y=IQ({type:LQ([zQ(`null`),zQ(`boolean`),PQ(v)],{typeName:`SchemaObjectOtherTypeKeyword`})},{typeName:`MultiTypeSchemaObject`}),b=RQ([f,...d,LQ([p,y,m,h,g,_])],{typeName:`SchemaObject`}),x=IQ({description:$(Q({typeComment:`A description for security scheme. CommonMark syntax MAY be used for rich text representation.`}))}),ee=IQ({...x.properties,type:zQ(`apiKey`),name:Q({typeComment:`REQUIRED. The name of the header, query or cookie parameter to be used.`}),in:LQ([zQ(`query`),zQ(`header`),zQ(`cookie`)],{typeComment:`REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".`})},{typeName:`ApiKeySecuritySchemeObject`}),S=IQ({...x.properties,type:zQ(`http`),scheme:LQ([zQ(`basic`),zQ(`bearer`)],{typeName:`HttpSecuritySchemeScheme`,typeComment:`REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.`}),bearerFormat:$(Q({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`}),C=[Osn,Tsn,Lsn,Msn,Psn],te=IQ({refreshUrl:Q({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:FQ(Q(),Q(),{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`}),ne=RQ([te,...C,IQ({authorizationUrl:Q({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`})]),re=RQ([te,...C,IQ({tokenUrl:Q({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`}),T0]),w=RQ([te,...C,IQ({tokenUrl:Q({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`}),T0]),ie=RQ([te,...C,IQ({authorizationUrl:Q({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:Q({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`}),Bsn,T0]),ae=IQ({implicit:$(ne),password:$(re),clientCredentials:$(w),authorizationCode:$(ie)},{typeName:`OAuthFlowsObject`}),oe=LQ([ee,S,RQ([IQ({...x.properties,type:zQ(`oauth2`),flows:ae},{typeName:`OAuth2SecuritySchemeObject`}),Kcn]),IQ({...x.properties,type:zQ(`openIdConnect`),openIdConnectUrl:Q({typeComment:`REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.`})},{typeName:`OpenIdConnectSecuritySchemeObject`})],{typeName:`SecuritySchemeObject`}),se=IQ({schemas:$(FQ(Q(),e(b),{typeName:`ComponentsSchemas`})),responses:$(FQ(Q(),e(BQ(()=>ge)),{typeName:`ComponentsResponses`})),parameters:$(FQ(Q(),e(BQ(()=>pe)),{typeName:`ComponentsParameters`})),examples:$(FQ(Q(),e(BQ(()=>ce)),{typeName:`ComponentsExamples`})),requestBodies:$(FQ(Q(),e(BQ(()=>me)),{typeName:`ComponentsRequestBodies`})),headers:$(FQ(Q(),e(BQ(()=>ue)),{typeName:`ComponentsHeaders`})),securitySchemes:$(FQ(Q(),e(BQ(()=>oe)),{typeName:`ComponentsSecuritySchemes`})),links:$(FQ(Q(),e(BQ(()=>he)),{typeName:`ComponentsLinks`})),callbacks:$(FQ(Q(),e(BQ(()=>ve)),{typeName:`ComponentsCallbacks`})),pathItems:$(FQ(Q(),BQ(()=>be),{typeName:`ComponentsPathItems`}))},{typeName:`ComponentsObject`}),ce=RQ([IQ({summary:$(Q({typeComment:`Short description for the example.`})),description:$(Q({typeComment:`Long description for the example. CommonMark syntax MAY be used for rich text representation.`})),value:$(NQ({typeComment:`Embedded literal example. The value field and externalValue field are mutually exclusive.`})),externalValue:$(Q({typeComment:`A URI that identifies the literal example. The value field and externalValue field are mutually exclusive.`}))},{typeName:`ExampleObject`}),nsn]),le=IQ({description:$(Q({typeComment:`A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:$(MQ({typeComment:`Determines whether this header is mandatory. The default value is false.`})),deprecated:$(MQ({typeComment:`Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false.`}))},{typeName:`HeaderBase`}),ue=LQ([RQ([le,IQ({style:$(Q({typeComment:`Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".`})),explode:$(MQ({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:$(e(BQ(()=>b))),example:$(NQ()),examples:$(FQ(Q(),e(BQ(()=>ce)),{typeName:`HeaderExamples`}))},{typeName:`HeaderObjectWithSchema`})]),RQ([le,IQ({content:$(FQ(Q(),BQ(()=>fe),{typeName:`HeaderContent`}))},{typeName:`HeaderObjectWithContent`})])],{typeName:`HeaderObject`}),de=IQ({contentType:$(Q({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:$(FQ(Q(),e(BQ(()=>ue)),{typeName:`EncodingHeaders`}))},{typeName:`EncodingObject`}),fe=IQ({schema:$(e(BQ(()=>b))),example:$(NQ({typeComment:`Example of the media type.`})),examples:$(FQ(Q(),e(BQ(()=>ce)),{typeName:`MediaTypeExamples`})),encoding:$(FQ(Q(),de,{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`}),pe=LQ([RQ([IQ({name:Q({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:LQ([zQ(`query`),zQ(`header`),zQ(`path`),zQ(`cookie`)],{typeName:`ParameterLocation`,typeComment:`REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".`}),description:$(Q({typeComment:`A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:$(MQ({typeComment:`Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.`})),deprecated:$(MQ({typeComment:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`})),allowEmptyValue:$(MQ({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:$(MQ({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:$(Q({typeComment:`Describes how the parameter value will be serialized (depending on the schema type).`})),explode:$(MQ({typeComment:`When this is true, parameter values of type array or object generate separate parameters for each array item or object property.`})),schema:$(e(BQ(()=>b))),example:$(NQ()),examples:$(FQ(Q(),e(BQ(()=>ce)),{typeName:`ParameterExamples`}))},{typeName:`ParameterObjectWithSchema`}),G0,R0,V0]),RQ([IQ({name:Q({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:LQ([zQ(`query`),zQ(`header`),zQ(`path`),zQ(`cookie`)],{typeName:`ParameterLocation`,typeComment:`REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".`}),description:$(Q({typeComment:`A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),required:$(MQ({typeComment:`Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.`})),deprecated:$(MQ({typeComment:`Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.`})),allowEmptyValue:$(MQ({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:$(MQ({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:$(FQ(Q(),BQ(()=>fe),{typeName:`ParameterContent`}))},{typeName:`ParameterObjectWithContent`}),G0,R0,V0])],{typeName:`ParameterObject`}),me=RQ([IQ({description:$(Q({typeComment:`A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.`})),content:FQ(Q(),BQ(()=>fe),{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:$(MQ({typeComment:`Determines if the request body is required in the request. Defaults to false.`}))},{typeName:`RequestBodyObject`}),San]),he=IQ({operationRef:$(Q({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:$(Q({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:$(FQ(Q(),NQ(),{typeComment:`A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.`,typeName:`LinkParameters`})),requestBody:$(NQ({typeComment:`A literal value or {expression} to use as a request body when calling the target operation.`})),description:$(Q({typeComment:`A description of the link. CommonMark syntax MAY be used for rich text representation.`})),server:$(a)},{typeName:`LinkObject`}),ge=IQ({description:Q({typeComment:`REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation.`}),headers:$(FQ(Q(),e(BQ(()=>ue)),{typeName:`ResponseHeaders`})),content:$(FQ(Q(),BQ(()=>fe),{typeName:`ResponseContent`})),links:$(FQ(Q(),e(BQ(()=>he)),{typeName:`ResponseLinks`}))},{typeName:`ResponseObject`}),_e=FQ(Q(),e(BQ(()=>ge)),{typeName:`ResponsesObject`}),ve=FQ(Q(),e(BQ(()=>be)),{typeName:`CallbackObject`}),ye=RQ([IQ({tags:$(PQ(Q(),{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:$(Q({typeComment:`A short summary of what the operation does.`})),description:$(Q({typeComment:`A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation.`})),externalDocs:$(o),operationId:$(Q({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:$(PQ(e(BQ(()=>pe)),{typeName:`OperationParameters`})),requestBody:$(e(BQ(()=>me))),responses:$(BQ(()=>_e)),deprecated:$(MQ({typeComment:`Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false.`})),security:$(PQ(c,{typeName:`OperationSecurity`})),servers:$(PQ(a,{typeName:`OperationServers`})),callbacks:$(FQ(Q(),e(BQ(()=>ve)),{typeName:`OperationCallbacks`}))},{typeName:`OperationObject`}),van,R0,V0,ban,Tan,Qsn,L1,B1,Ksn,K1]),be=IQ({$ref:$(Q({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:$(Q({typeComment:`An optional string summary, intended to apply to all operations in this path.`})),description:$(Q({typeComment:`An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation.`})),get:$(e(BQ(()=>ye))),put:$(e(BQ(()=>ye))),post:$(e(BQ(()=>ye))),delete:$(e(BQ(()=>ye))),patch:$(e(BQ(()=>ye))),connect:$(e(BQ(()=>ye))),options:$(e(BQ(()=>ye))),head:$(e(BQ(()=>ye))),trace:$(e(BQ(()=>ye))),servers:$(PQ(a,{typeName:`PathItemServers`})),parameters:$(PQ(e(BQ(()=>pe)),{typeName:`PathItemParameters`}))},{typeName:`PathItemObject`}),xe=IQ({"x-original-oas-version":$(Q({typeComment:`Original OpenAPI Specification version of the source document.`})),"x-scalar-original-source-url":$(Q({typeComment:`Original document source URL when loading a document from an external source.`})),[P1.document.navigation]:$(NQ({typeComment:`Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas.`}))},{typeName:`OpenApiExtensionsPartial`});return RQ([IQ({openapi:Q({typeComment:`REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string.`}),info:r,jsonSchemaDialect:$(Q({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:$(PQ(a,{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:$(FQ(Q(),be,{typeComment:`The available paths and operations for the API.`,typeName:`PathsObject`})),webhooks:$(FQ(Q(),be,{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:$(se),security:$(PQ(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:$(PQ(s,{typeComment:`A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools.`})),externalDocs:$(o)},{typeName:`OpenApiDocumentCore`}),xe,Ton,din,K1,ron,U1,p7t,lon,oon,bon,_on,mon,B1,L1],{typeName:`OpenApiDocument`,typeComment:`Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema).`})}})),jwn,Mwn,d8,Nwn,Pwn=c((()=>{T_(),VQ(),jwn=IQ({$status:$(LQ([zQ(`loading`),zQ(`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:$(MQ({typeComment:`Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context.`}))},{typeName:`ReferenceObjectExtensions`}),Mwn=IQ({$ref:Q({typeComment:`REQUIRED. The reference identifier. This MUST be in the form of a URI.`}),summary:$(Q({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:$(Q({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`}),d8=e=>w_(e)&&`$ref`in e?d8(e[`$ref-value`]):e,Nwn=e=>LQ([e,RQ([Mwn,IQ({"$ref-value":l7t(d8,e)}),jwn])])}));function Fwn(e){if(`url`in e)return G6({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 f8,Iwn,p8,Lwn=c((()=>{vSn(),T_(),t1(),G3(),xSn(),sCn(),yCn(),DCn(),z_(),swn(),Xrn(),VQ(),U(),Ax(),c6(),gwn(),Z4(),MZt(),s6(),vwn(),jq(),W_(),Cq(),A1(),Own(),F1(),B$(),Awn(),Pwn(),t2(),Xln(),f8=e=>{if(`url`in e)return e.url;if(`path`in e)return e.path},Iwn=kwn(Nwn),p8=e=>{let{verbose:t=!1}=e??{},n=(e,n)=>t?ySn(e,n):n(),r=(e,n)=>t?bSn(e,n):n(),i={},a=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},o=$l(xq({...e?.meta,documents:{},get activeDocument(){return o.documents[f()]}},{hooks:{onAfterChange(e){let t=e[0];if(t===`documents`){if(e.length<2){console.log(`[WARN]: Overriding entire documents object is not supported`);return}let t=e[1],n=o.documents[t]??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``},r={type:`documents`,documentName:t,value:Sq(n),path:e.slice(2)};r.path.length>0&&r.path[0]!==`x-scalar-is-dirty`&&(n[`x-scalar-is-dirty`]=!0),a(r);return}if(t===`activeDocument`){let t=f(),n=o.documents[t]??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``},r={type:`documents`,documentName:t,value:Sq(n),path:e.slice(2)};r.path.length>0&&r.path[0]!==`x-scalar-is-dirty`&&(n[`x-scalar-is-dirty`]=!0),a(r);return}let{activeDocument:n,documents:r,...i}=o;a({type:`meta`,value:Sq(i,{depth:1})})}}})),{originalDocuments:s,intermediateDocuments:c,overrides:l}=xq({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let n=e[1];t===`originalDocuments`&&a({type:t,documentName:n,value:Sq(s[n]??{}),path:e.splice(2)}),t===`intermediateDocuments`&&a({type:t,documentName:n,value:Sq(c[n]??{}),path:e.splice(2)}),t===`overrides`&&a({type:t,documentName:n,value:Sq(l[n]??{})})}}}),u=hwn({hooks:{onHistoryChange:e=>{a({type:`history`,documentName:e,value:u.export()[e]??{}})}}}),d=dvn({hooks:{onAuthChange:e=>{a({type:`auth`,documentName:e,value:d.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function f(){return o[P1.workspace.activeDocument]??Object.keys(o.documents)[0]??``}function p(e,t,n){let r=c[e];if(r)return t===`json`?n?JSON.stringify(r):JSON.stringify(r,null,2):kx.stringify(r)}let m=async e=>{let t=o.documents[e],n=await b(e);return!t||!n?(console.warn(`Failed to save document, active document is missing`),!1):(c[e]=n,t[`x-scalar-is-dirty`]=!1,!0)};async function h(t,a){let{name:u,meta:d}=t,f=n(`deepClone`,()=>X4(t.document));n(`initialize`,()=>{t.initialize!==!1&&(s[u]=X4(f),c[u]=X4(f),l[u]=t.overrides??{},i[u]={fetch:t.fetch})});let p=L_({...n(`upgrade`,()=>awn(X4(f),`3.1`)),...d,"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(p[P1.document.navigation]===void 0){let a=[G6({fetch:i[u]?.fetch??e?.fetch})];e?.fileLoader&&a.push(e.fileLoader),await r(`bundle`,async()=>await H6(M_(p),{treeShake:!1,plugins:[...a,wwn(),u8(),xwn(),Cwn(),Twn()],urlMap:!0,origin:t.documentSource}));let o=n(`coerceValue`,()=>AQ(Iwn,X4(p)));n(`mergeObjects`,()=>Aq(p,o))}if(!r$($0,p)){let e=Array.from(cen($0,p));console.warn(`document validation errors: `),console.warn(e.map(e=>({message:e.message,path:e.path,schema:e.schema,value:e.value})))}if(p[P1.document.navigation]===void 0){let e=k1(u,p,a);p[P1.document.navigation]=e}o.documents[u]=U_(L_(M_(p)),{overrides:Sq(l[u])})}async function g(t,n){let{name:i,meta:a}=t,s=_wn({fetch:t.fetch??e?.fetch,proxyUrl:o[`x-scalar-active-proxy`]??void 0}),c=await r(`loadDocument`,async()=>await Fwn({...t,fetch:s,fileLoader:e?.fileLoader}));return await r(`addDocument`,async()=>c.ok?w_(c.data)?(await h({...t,document:c.data,documentSource:f8(t),documentHash:W3(c.raw)},n),!0):(console.error(`Failed to load document '${i}': response data is not a valid object`),o.documents[i]={...a,openapi:`3.1.0`,info:{title:`Document '${i}' could not be loaded`,version:`unknown`},"x-scalar-original-document-hash":`not-a-hash`},!1):(console.error(`Failed to fetch document '${i}': request was not successful`),o.documents[i]={...a,openapi:`3.1.0`,info:{title:`Document '${i}' could not be loaded`,version:`unknown`},"x-scalar-original-document-hash":`not-a-hash`},!1))}let _=e=>Sq(s[e],{depth:1})||null,v=e=>Sq(c[e],{depth:1})||null,y=e=>{let t=c[e];return t?(s[e]=X4(Sq(t,{depth:1})),!0):!1},b=async e=>{let t=Sq(o.documents[e],{depth:1});if(!t)return null;let n=await H6(X4(t),{plugins:[Swn(),Dwn()],treeShake:!1,urlMap:!0});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`])delete n[e];return n},x=e=>{let t=o.documents[e];if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),!1;let n=k1(e,t);return t[P1.document.navigation]=n,!0},ee=new Set;return{get workspace(){return o},get history(){return u},get auth(){return d},update(e,t){e1(e),Object.assign(o,{[e]:t})},getEditableDocument:b,getOriginalDocument:_,getIntermediateDocument:v,updateDocument(e,t,n){let r=o.documents[e===`active`?f():e];return r?(e1(t),Object.assign(r,{[t]:n}),!0):!1},async replaceDocument(e,t){let n=o.documents[e];if(!n)return console.error(`Document '${e}' does not exist in the workspace.`);await h({name:e,document:t,documentSource:n[`x-scalar-original-source-url`],documentHash:n[`x-scalar-original-document-hash`],meta:{"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:e=>{let t=o.activeDocument,n=_Sn(t,e);return w_(n)?H6(n,{root:t,treeShake:!1,plugins:[G6(),bwn(),u8()],urlMap:!0,visitedNodes:ee}):(console.error(`Invalid path provided for resolution. Path: [${e.join(`, `)}]. Found value of type: ${typeof n}. Expected an object.`),Promise.resolve())},addDocument:g,deleteDocument:e=>{if(!o.documents[e])return;delete o.documents[e],delete s[e],delete c[e],delete l[e],delete i[e],u.clearDocumentHistory(e),d.clearDocumentAuth(e);let t=Object.keys(o.documents);o[`x-scalar-active-document`]===e&&(o[`x-scalar-active-document`]=t[0]??void 0),a({type:`deleteDocument`,documentName:e})},exportDocument:p,exportActiveDocument:(e,t)=>p(f(),e,t),buildSidebar:x,saveDocument:m,promoteIntermediateToOriginal:y,async revertDocumentChanges(e){let t=o.documents[e],n=c[e];!t||!n||await h({name:e,document:n,documentSource:t[`x-scalar-original-source-url`],documentHash:t[`x-scalar-original-document-hash`],initialize:!1})},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace(){let{activeDocument:e,documents:t,...n}=Sq(o);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,Sq(t)]))},meta:Sq(n)??{},originalDocuments:Sq(s),intermediateDocuments:Sq(c),overrides:Sq(l),history:u.export(),auth:d.export()}},loadWorkspace(e){o6(o.documents,Object.fromEntries(Object.entries(e.documents).map(([t,n])=>[t,U_(L_(n),{overrides:e.overrides[t]})]))),o6(s,e.originalDocuments),o6(c,e.intermediateDocuments),o6(l,e.overrides),o6(o,e.meta),u.load(e.history),d.load(e.auth)},importWorkspaceFromSpecification:e=>{let{documents:t,overrides:n,info:r,workspace:i,...a}=e;return o6(o,a),Promise.all(Object.entries(t??{}).map(([e,t])=>g({url:t.$ref,name:e,overrides:n?.[e]})))},rebaseDocument:async t=>{let{name:n}=t,a=Sq(s[n],{depth:1}),u=Sq(c[n],{depth:1}),d=o.documents[n]?Sq(o.documents[n],{depth:1}):void 0;if(!a||!u||!d)return{ok:!1,type:`CORRUPTED_STATE`,message:`Cannot rebase document '${n}': missing original, intermediate, or active document state`};let f=await r(`loadDocument`,async()=>await Fwn({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!f.ok||!w_(f.data))return{ok:!1,type:`FETCH_FAILED`,message:`Failed to fetch document '${n}': request was not successful or returned invalid data`};let p=W3(f.raw);if(d[`x-scalar-original-document-hash`]===p)return{ok:!1,type:`NO_CHANGES_DETECTED`,message:`No changes detected for document '${n}': document hash matches the active document`};let m=f.data;l[n]=t.overrides??{},i[n]={fetch:t.fetch};let g=J6(a,m);if(g.length===0)return{ok:!1,type:`NO_CHANGES_DETECTED`,message:`No changes detected for document '${n}' after fetching the latest version.`};let _=Q6(g,J6(a,u));return{ok:!0,conflicts:_.conflicts,changes:_.diffs,applyChanges:async e=>{let r=(()=>{if(`resolvedConflicts`in e){let t=_.diffs.concat(e.resolvedConflicts);return q6(X4(a),t)}return e.resolvedDocument})();c[n]=r,s[n]=m;let i=Q6(J6(u,r),J6(u,d)),o=i.diffs.concat(i.conflicts.flatMap(e=>e[0])),l=z$($0,q6(X4(r),o));await h({...t,document:{...l,[P1.document.navigation]:void 0},documentSource:f8(t),documentHash:W3(f.raw),initialize:!1})}}}}}}));Lwn(),y6(),Iv(),U();var Rwn=Symbol(),zwn=O(null);function Bwn(e){let t=O(!1),n=O(``),r={showAgent:t,agentEnabled:e.agentEnabled??H(()=>Fv(window.location.href)),prefilledMessage:n,openAgent:e=>{n.value=e??``,t.value=!0},closeAgent:()=>{t.value=!1,n.value=``},toggleAgent:()=>{t.value=!t.value,t.value||(n.value=``)}};return zwn.value=r,r}function m8(){let e=$u(Rwn,void 0);return H(()=>e??zwn.value??void 0)}U(),EC();var Vwn=j({__name:`AgentScalarButton`,setup(e){let t=m8();return(e,n)=>(N(),P(`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:n[0]||=e=>k(t)?.toggleAgent()},[V(k(bC)),n[1]||=L(` Ask AI `,-1)]))}});function h8(e,t){return{code:e,detail:t}}var g8=c((()=>{})),_8,Hwn=c((()=>{Ec(),_8=Tc.object({id:Tc.string(),title:Tc.string(),namespace:Tc.string(),currentVersion:Tc.string(),logoUrl:Tc.url().nullable(),slug:Tc.string()})}));function Uwn(e,t){let n=e=>({success:!1,error:t?.(e)??null});return(...t)=>{try{let r=e(...t);return r instanceof Promise?r.catch(n):r}catch(e){return n(e)}}}function Wwn(e,t){let n=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(n):r(t)}catch(e){return n(e)}}function Gwn(e){let t=!0,n=[],r=[];for(let i of e)i.success?r.push(i.data):(t=!1,n.push(i.error));return t?{success:!0,data:r}:{success:!1,error:n}}var v8,y8=c((()=>{v8={safeFn:Uwn,fromUnsafe:Wwn,resultsToResult:Gwn}}));function Kwn({getAccessToken:e,getAgentKey:t}){let n=e?.(),r=t?.();return{...n&&{Authorization:`Bearer ${n}`},...r&&{"x-scalar-agent-key":r}}}function qwn({baseUrl:e,getAccessToken:t,getAgentKey:n}){let r=v8.safeFn(async({path:r,method:i=`get`,query:a,body:o,responseSchema:s})=>{let c=`${e}${r}${a?`?${new URLSearchParams(a)}`:``}`,l=await v8.fromUnsafe(async()=>fetch(c,{method:i,...o&&{body:JSON.stringify(o)},headers:{...Kwn({getAccessToken:t,getAgentKey:n})}}),e=>h8(`FAILED_TO_FETCH`,e));if(!l.success)return l;let u=await v8.fromUnsafe(async()=>l.data.json(),e=>h8(`FAILED_TO_FETCH_DATA`,e));if(!u.success)return{success:!1,error:h8(`UNKNOWN_ERROR`,`Unknown error occurred. Please contact support.`)};if(!l.data.ok){let e=Tc.object({message:Tc.string(),code:Tc.string()}).safeParse(u.data);return e.success?{success:!1,error:h8(e.data.code,e.data.message)}:{success:!1,error:h8(`UNKNOWN_ERROR`,`Unknown error occurred. Please contact support.`)}}let d=s.safeParse(u.data);return d.success?{success:!0,data:d.data}:{success:!1,error:h8(`INVALID_RESPONSE`,`Invalid response. Please contact support`)}});return{search:async e=>r({path:`/vector/registry/search`,query:{query:e},responseSchema:Tc.object({results:_8.array()})}),getDocument:async e=>r({path:`/vector/registry/document/${e.namespace}/${e.slug}`,responseSchema:_8}),getKeyDocuments:async()=>r({path:`/vector/registry/documents`,responseSchema:Tc.object({documents:_8.array()})}),getCuratedDocuments:async()=>r({path:`/vector/registry/curated`,responseSchema:Tc.object({results:_8.array()})})}}var Jwn=c((()=>{g8(),Hwn(),y8(),Ec()}));function Ywn(e,t){return`${e}/${t}`}var Xwn=c((()=>{})),b8,x8=c((()=>{Ec(),b8=`execute-request`,Lo({method:T(),path:T(),headers:Uo(T(),T()).optional(),body:T().optional(),documentName:T(),documentIdentifier:T().describe(`Needed for legacy support for old clients`)})})),Zwn,S8,Qwn,$wn,eTn,tTn,nTn=c((()=>{Zwn=e=>{let t=S8(e,0);if(t===void 0||!$wn(e[t]))return;let n=S8(e,t+1);if(n!==void 0)return eTn(e,t,n)},S8=(e,t)=>{for(let n=t;n<e.length;n+=1){let t=e[n];if(!Qwn(t))return n}},Qwn=e=>e===` `||e===` `||e===`
|
||
`||e===`\r`,$wn=e=>e===`{`||e===`[`,eTn=(e,t,n)=>{let r;for(let i=n-1;i>t;--i){let t=e[i];if(t===`\r`)return;if(t===`
|
||
`)return tTn(r);if(r===void 0)r=t;else if(r[0]===t)r+=t;else return}},tTn=e=>e===void 0?0:e[0]===` `?e.length:e})),rTn,C8,iTn,aTn,oTn=c((()=>{rTn=(e,t)=>{let n=C8(e,`toPrecision`,t,t);return n===void 0?C8(e,`toExponential`,t,t):n},C8=(e,t,n,r)=>{let i=e[t](r).replace(iTn,`$1`).replace(aTn,`$1`);return i.length<=n?i:r===1?void 0:C8(e,t,n,r-1)},iTn=/(e)\+/iu,aTn=/\.?0*($|e)/iu})),sTn,cTn,lTn,uTn=c((()=>{sTn=(e,t)=>{if(typeof e!=`string`)throw TypeError(`Input must be a JSON string: ${e}`);cTn(t)},cTn=e=>{if(lTn(e),e<0)throw TypeError(`"maxSize" argument must be positive: ${e}`);if(e<7)throw TypeError(`"maxSize" argument must be at least 7: ${e}`)},lTn=e=>{if(e===void 0)throw TypeError(`"maxSize" argument must be defined`);if(!Number.isInteger(e))throw TypeError(`"maxSize" argument must be an integer: ${e}`)}})),w8,T8,E8,dTn,fTn,pTn,mTn,D8,hTn,gTn,_Tn,vTn,yTn,bTn,xTn=c((()=>{w8=(e,t,n)=>T8(e,t,D8(t,n)),T8=(e,t,n)=>{if(n>=t)return n;let r=e[n];return r>=yTn&&r<=bTn?T8(e,t,n+1):n},E8=(e,t,n)=>n===void 0?n:dTn(e,D8(t,n)),dTn=(e,t)=>fTn(e,t)?t-3:pTn(e,t)?t-2:mTn(e,t)?t-1:t,fTn=(e,t)=>t>=3&&e[t-3]>=hTn&&e[t-3]<=gTn,pTn=(e,t)=>t>=2&&e[t-2]>=_Tn,mTn=(e,t)=>t>=1&&e[t-1]>=vTn,D8=(e,t)=>t<0||Object.is(t,-0)?Math.max(e+t,0):t,hTn=240,gTn=244,_Tn=224,vTn=194,yTn=128,bTn=191})),STn,CTn=c((()=>{xTn(),STn=(e,t,n)=>{let r=globalThis.Buffer.from(e),i=w8(r,r.length,t),a=E8(r,r.length,n);return i===0&&a>=r.length?r.toString():r.toString(`utf8`,i,a)}})),O8,k8,A8,j8,wTn,M8=c((()=>{O8=55296,k8=56319,A8=56320,j8=57343,wTn=/[\uD800-\uDFFF]/gu})),N8,TTn,ETn=c((()=>{M8(),N8=e=>TTn(e)?e.replace(wTn,`�`):e,TTn=e=>{for(let t=0;t<e.length;t+=1){let n=e.codePointAt(t);if(n>=55296&&n<=57343)return!0}return!1}})),P8,DTn=c((()=>{M8(),P8=({input:e,targetByteCount:t,firstStartSurrogate:n,lastStartSurrogate:r,firstEndSurrogate:i,lastEndSurrogate:a,increment:o,canBacktrack:s,shift:c,charIndexInit:l})=>{let u=l,d=u,f=0;for(;f<t;u+=o){d=u;let t=e.charCodeAt(u);if(Number.isNaN(t))break;if(t<=127){f+=1;continue}if(t<=2047){f+=2;continue}if(f+=3,t<n||t>r)continue;let s=e.charCodeAt(u+o);Number.isNaN(s)||s<i||s>a||(f+=1,u+=o)}return(s&&f>t?d:u)+c}})),F8,OTn,kTn,ATn=c((()=>{M8(),DTn(),F8=(e,t,n)=>t<0||Object.is(t,-0)?kTn(e,t,n):OTn(e,t,n),OTn=(e,t,n)=>P8({input:e,targetByteCount:t,firstStartSurrogate:O8,lastStartSurrogate:k8,firstEndSurrogate:A8,lastEndSurrogate:j8,increment:1,canBacktrack:n,shift:0,charIndexInit:0}),kTn=(e,t,n)=>P8({input:e,targetByteCount:-t,firstStartSurrogate:A8,lastStartSurrogate:j8,firstEndSurrogate:O8,lastEndSurrogate:k8,increment:-1,canBacktrack:!n,shift:1,charIndexInit:e.length-1})})),I8,jTn,MTn=c((()=>{ETn(),ATn(),I8=(e,t,n)=>{let r=F8(e,t,!1),i=jTn(e,n);return N8(r===0&&i===void 0?e:e.slice(r,i))},jTn=(e,t)=>{if(t===void 0)return t;let n=F8(e,t,!0);return n===e.length?void 0:n}})),NTn,PTn,L8,FTn,ITn,R8,LTn=c((()=>{xTn(),NTn=(e,t,n)=>{let{textEncoder:r,textDecoder:i}=PTn(),a=ITn(e),{written:o}=r.encodeInto(e,a),s=w8(a,o,t),c=E8(a,o,n),l=c===void 0?o:Math.min(c,o),u=a.subarray(s,l);return i.decode(u)},PTn=()=>(L8===void 0&&(L8=new globalThis.TextEncoder,FTn=new globalThis.TextDecoder(`utf8`,{fatal:!1})),{textEncoder:L8,textDecoder:FTn}),ITn=e=>{let t=e.length*3;return t>1e5?new Uint8Array(t):((R8===void 0||R8.length<t)&&(R8=new Uint8Array(t)),R8)}})),RTn,z8,B8,zTn=c((()=>{RTn=(e,t)=>{if(t===void 0)return t;let n=z8(e,t);return n>=e.length*B8?void 0:n},z8=(e,t)=>t<=e.length*-B8?0:t,B8=4})),BTn,VTn,HTn,V8,UTn=c((()=>{BTn=(e,t,n)=>{if(typeof e!=`string`)throw TypeError(`First argument must be a string: ${e}`);VTn(t),HTn(n)},VTn=e=>{if(e===void 0)throw TypeError(`Second argument is required.`);V8(`Second`,e)},HTn=e=>{e!==void 0&&V8(`Third`,e)},V8=(e,t)=>{if(!Number.isInteger(t))throw TypeError(`${e} argument must be an integer: ${t}`)}})),WTn,GTn,H8,KTn=c((()=>{M8(),WTn=e=>{let t=!0,n=0;for(let r=0;r<H8;r+=1){let i=GTn(e,r);i<=127||(t&&=!1,i>2047&&(n+=1))}return{asciiOnly:t,longCharsPercentage:n/H8}},GTn=(e,t)=>{let n=H8-1,r=1-(n-t)/n,i=Math.round(r*(e.length-1));return e.charCodeAt(i)},H8=50})),qTn,JTn,YTn,XTn,ZTn,U8,QTn=c((()=>{CTn(),MTn(),LTn(),zTn(),ETn(),UTn(),KTn(),qTn=(e,t,n)=>{if(BTn(e,t,n),e===``)return e;let r=z8(e,t),i=RTn(e,n);return i===void 0&&Object.is(r,0)?N8(e):JTn(e,r,i)},JTn=(e,t,n)=>{if(e.length<=YTn)return I8(e,t,n);let{asciiOnly:r,longCharsPercentage:i}=WTn(e);return r?ZTn(e,t,n):i>=XTn?I8(e,t,n):U8(e,t,n)},YTn=200,XTn=.4,ZTn=(e,t,n)=>`Buffer`in globalThis&&`from`in globalThis.Buffer?STn(e,t,n):U8(e,t,n),U8=(e,t,n)=>`TextEncoder`in globalThis?NTn(e,t,n):I8(e,t,n)})),$Tn,eEn,tEn,nEn,rEn,W8,G8,iEn=c((()=>{QTn(),$Tn=(e,t)=>rEn(`${eEn(qTn(nEn(JSON.stringify(e)),0,t-G8.length-W8.length*2))}${G8}`),eEn=e=>e.replace(tEn,``),tEn=/(\\|\\u[0-9a-fA-F]{0,3})$/u,nEn=e=>e.slice(W8.length,-W8.length),rEn=e=>`${W8}${e}${W8}`,W8=`"`,G8=`...`})),aEn,oEn=c((()=>{aEn=e=>globalThis.Buffer.byteLength(e)})),K8,sEn,cEn,lEn,uEn,dEn,fEn,pEn=c((()=>{K8=e=>{let t=e.length,n=t;for(let r=0;r<t;r+=1){let t=e.charCodeAt(r);if(t<=sEn)continue;if(t<=cEn){n+=1;continue}if(n+=2,t<lEn||t>uEn)continue;let i=e.charCodeAt(r+1);i<dEn||i>fEn||(r+=1)}return n},sEn=127,cEn=2047,lEn=55296,uEn=56319,dEn=56320,fEn=57343})),mEn,hEn,gEn,q8,_En=c((()=>{mEn=()=>hEn.bind(void 0,new TextEncoder),hEn=(e,t)=>{let n=gEn(t);return e.encodeInto(t,n).written},gEn=e=>{let t=e.length*3;return t>1e5?new Uint8Array(t):((q8===void 0||q8.length<t)&&(q8=new Uint8Array(t)),q8)}})),vEn,yEn,bEn,xEn=c((()=>{oEn(),pEn(),_En(),vEn=()=>`Buffer`in globalThis&&`byteLength`in globalThis.Buffer?aEn:`TextEncoder`in globalThis?yEn.bind(void 0,mEn()):K8,yEn=(e,t)=>t.length<100?K8(t):e(t),bEn=vEn()})),SEn,CEn,wEn,TEn,EEn,J8,DEn=c((()=>{xEn(),SEn=e=>{if(e===null)return CEn;if(e===!0)return wEn;if(e===!1)return TEn;let t=typeof e;return t===`object`?EEn:t===`number`?JSON.stringify(e).length:J8(e)},CEn=4,wEn=4,TEn=5,EEn=2,J8=e=>bEn(JSON.stringify(e))})),Y8,OEn,kEn,AEn,jEn,X8,Z8,Q8,MEn,$8=c((()=>{DEn(),Y8=({size:e,increment:t,maxSize:n,truncatedProps:r,path:i,value:a})=>{let o=e+t,s=o>n;return s?{size:e,stop:s,truncatedProps:[...r,{path:i,value:a}]}:{size:o,stop:s,truncatedProps:r}},OEn=e=>SEn(e),kEn=(e,t,n)=>X8({empty:e,indent:t,depth:n,keySpaceSize:0})+Q8(e),AEn=({key:e,empty:t,indent:n,depth:r})=>{let i=X8({empty:t,indent:n,depth:r,keySpaceSize:1}),a=J8(e),o=Q8(t);return i+a+jEn+o},jEn=1,X8=({empty:e,indent:t,depth:n,keySpaceSize:r})=>{if(t===void 0)return 0;let i=Z8+t*(n+1),a=e?Z8+t*n:0;return r+i+a},Z8=1,Q8=e=>e?0:MEn,MEn=1})),e5,NEn,PEn=c((()=>{$8(),e5=({parent:e,truncatedProps:t,path:n,increment:r,maxSize:i,key:a,empty:o,size:s,truncateValue:c,indent:l,depth:u})=>{let d=e[a],f=[...n,a],{size:p,stop:m,truncatedProps:h}=Y8({size:s,increment:r,maxSize:i,truncatedProps:t,path:f,value:d});return m?{empty:o,size:p,truncatedProps:h}:NEn({value:d,truncatedProps:t,path:f,maxSize:i,empty:o,size:s,newSize:p,truncateValue:c,indent:l,depth:u})},NEn=({value:e,truncatedProps:t,path:n,maxSize:r,empty:i,size:a,newSize:o,truncateValue:s,indent:c,depth:l})=>{let{value:u,size:d,truncatedProps:f}=s({value:e,truncatedProps:t,path:n,size:o,maxSize:r,indent:c,depth:l+1});return u===void 0?{empty:i,size:a,truncatedProps:f}:{empty:!1,size:d,value:u,truncatedProps:f}}})),FEn,IEn=c((()=>{PEn(),$8(),FEn=({array:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:a,indent:o,depth:s})=>{let c=[],l={empty:!0,size:r,truncatedProps:t};for(let t=0;t<e.length;t+=1){let r=kEn(l.empty,o,s);l=e5({parent:e,truncatedProps:l.truncatedProps,path:n,increment:r,maxSize:i,key:t,empty:l.empty,size:l.size,truncateValue:a,indent:o,depth:s}),l.value!==void 0&&c.push(l.value)}return{value:c,size:l.size,truncatedProps:l.truncatedProps}}})),LEn,REn=c((()=>{PEn(),$8(),LEn=({object:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:a,indent:o,depth:s})=>{let c={},l={empty:!0,size:r,truncatedProps:t};for(let t in e){let r=AEn({key:t,empty:l.empty,indent:o,depth:s});l=e5({parent:e,truncatedProps:l.truncatedProps,path:n,increment:r,maxSize:i,key:t,empty:l.empty,size:l.size,truncateValue:a,indent:o,depth:s}),l.value!==void 0&&(c[t]=l.value)}return{value:c,size:l.size,truncatedProps:l.truncatedProps}}})),t5,zEn,BEn=c((()=>{IEn(),REn(),$8(),t5=({value:e,truncatedProps:t,path:n,size:r,maxSize:i,indent:a,depth:o})=>{let{size:s,stop:c,truncatedProps:l}=Y8({size:r,increment:OEn(e),maxSize:i,truncatedProps:t,path:n,value:e});return c?{value:void 0,size:s,truncatedProps:l}:zEn({value:e,truncatedProps:l,path:n,size:s,maxSize:i,indent:a,depth:o})},zEn=({value:e,truncatedProps:t,path:n,size:r,maxSize:i,indent:a,depth:o})=>typeof e!=`object`||!e?{value:e,size:r,truncatedProps:t}:Array.isArray(e)?FEn({array:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:t5,indent:a,depth:o}):LEn({object:e,truncatedProps:t,path:n,size:r,maxSize:i,truncateValue:t5,indent:a,depth:o})})),VEn,HEn,UEn,WEn,GEn=c((()=>{nTn(),oTn(),uTn(),iEn(),BEn(),VEn=(e,t)=>{sTn(e,t);let n=HEn(e),r=UEn(e),{value:i,truncatedProps:a}=t5({value:r,truncatedProps:[],path:[],size:0,maxSize:t,indent:n,depth:0});return{jsonString:WEn({newValue:i,value:r,maxSize:t,indent:n}),truncatedProps:a}},HEn=e=>{let t=Zwn(e);return typeof t==`string`?t.length:t},UEn=e=>{try{return JSON.parse(e)}catch(t){throw TypeError(`Invalid JSON string: "${e}"\n${t.message}`)}},WEn=({newValue:e,value:t,maxSize:n,indent:r})=>e===void 0?typeof t==`number`?rTn(t,n):$Tn(t,n):JSON.stringify(e,void 0,r)}));function KEn({path:e,activeServer:t,proxyUrl:n,queryParams:r}){return Gv(n,R4({path:e,server:t,urlParams:r}))}var qEn,JEn,n5,YEn,r5,XEn=c((()=>{g8(),x8(),y8(),qv(),a3(),ON(),GEn(),qEn=5e4,JEn=v8.safeFn(async e=>e.headers.get(`content-type`)===`application/json`?{success:!0,data:await e.json()}:{success:!0,data:await e.text()},e=>h8(`FAILED_TO_PARSE_RESPONSE_BODY`,{originalError:e})),n5=e=>JSON.parse(VEn(JSON.stringify(e),qEn).jsonString),YEn=v8.safeFn(async(e,t)=>{let n=await fetch(e,t),r=await JEn(n);return n.ok?r.success?{success:!0,data:{status:n.status,responseBody:n5(r.data),headers:Object.fromEntries(n.headers.entries())}}:r:{success:!1,error:h8(`REQUEST_NOT_OK`,{status:n.status,url:n.url,responseBody:n5(r.success?r.data:void 0),headers:Object.fromEntries(n.headers.entries())})}},e=>h8(`FAILED_TO_FETCH`,{originalError:e})),r5=v8.safeFn(async({documentSettings:e,toolCallId:t,chat:n,proxyUrl:r,input:{method:i,path:a,body:o,headers:s,documentName:c}})=>{let l=e[c];if(!l)return{success:!1,error:h8(`DOCUMENT_SETTINGS_COULD_NOT_BE_DETERMINED`,{documentName:c})};let u=z4(l.securitySchemes).reduce((e,t)=>{let n=t.format===`basic`?`Basic ${DN(t.value)}`:t.format===`bearer`?`Bearer ${t.value}`:t.value;return t.in===`header`?e.headers[t.name]=n:t.in===`query`?e.queryParams.set(t.name,n):t.in===`cookie`&&(e.cookies[t.name]=n),e},{headers:{},queryParams:new URLSearchParams,cookies:{}}),d=Object.entries(u.cookies).map(([e,t])=>`${e}=${t}`).join(`; `),f={method:i,body:o,headers:{...s,...u.headers,Cookie:d}},p=await YEn(KEn({path:a,activeServer:l.activeServer,proxyUrl:r,queryParams:u.queryParams}),f);return n.addToolOutput({tool:b8,toolCallId:t,output:p,state:`output-available`}),p},e=>h8(`FAILED_TO_EXECUTE_REQUEST`,e))})),i5,a5=c((()=>{i5={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`}}));function ZEn(e){return Object.values(e.paths??{}).flatMap(e=>Object.values(e??{}))}function QEn(e,t,n){let r=n3(t?.components?.securitySchemes,{},n,e),i=G4(t.security);return K4(r,Y4(n.getAuthSelectedSchemas({type:`document`,documentName:e}),void 0,i).selectedSchemes)}function $En(e){return Object.fromEntries(Object.entries(e.workspace.documents).map(([t,n])=>[t,{activeServer:i3(n,null,null,r3(n.servers,{documentUrl:n?.[`x-scalar-original-source-url`]})),securitySchemes:QEn(t,n,e.auth)}]))}function eDn(e){try{return JSON.parse(e)}catch{return}}var o5,s5,tDn,c5=c((()=>{a3(),Rg(),c6(),B$(),o5=Lg(),s5=()=>{let e=e=>`${Fg.AUTH}-${e}`;return{getAuth:t=>z$(a6,JSON.parse(o5.getItem(e(t))??`{}`)),setAuth:(t,n)=>{o5.setItem(e(t),JSON.stringify(n))}}},tDn=({documentName:e,workspaceStore:t})=>{let n=s5().getAuth(e);t.auth.load({[e]:n})}}));function nDn(){let e=O(!1);Af(()=>{e.value=localStorage.getItem(l5)===`true`});function t(){e.value=!0,localStorage.setItem(l5,`true`)}return{accepted:e,accept:t}}var l5,rDn=c((()=>{U(),l5=`scalar/agent-terms-accepted`})),iDn=c((()=>{oo()}));function u5(e){return li(sDn,e)}function aDn(e){return Mi(cDn,e)}function d5(e,t){return new lDn({type:`object`,shape:e??{},...Te(t)})}function oDn(e){return new uDn({type:`optional`,innerType:e})}var f5,sDn,cDn,lDn,uDn,dDn=c((()=>{oo(),nt(),iDn(),f5=p(`ZodMiniType`,(e,t)=>{if(!e._zod)throw Error(`Uninitialized schema in ZodMiniType.`);In.init(e,t),e.def=t,e.type=t.type,e.parse=(t,n)=>lt(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>pt(e,t,n),e.parseAsync=async(t,n)=>dt(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>ht(e,t,n),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]},{parent:!0}),e.with=e.check,e.clone=(t,n)=>we(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.apply=t=>t(e)}),sDn=p(`ZodMiniString`,(e,t)=>{Ln.init(e,t),f5.init(e,t)}),cDn=p(`ZodMiniNumber`,(e,t)=>{ur.init(e,t),f5.init(e,t)}),lDn=p(`ZodMiniObject`,(e,t)=>{wr.init(e,t),f5.init(e,t),le(e,`shape`,()=>t.shape)}),uDn=p(`ZodMiniOptional`,(e,t)=>{Rr.init(e,t),f5.init(e,t)})})),fDn=c((()=>{})),pDn=c((()=>{iDn(),dDn(),fDn()})),mDn=c((()=>{pDn(),pDn()})),hDn=c((()=>{mDn()}));function gDn({namespace:e,slug:t}){localStorage.setItem(p5,JSON.stringify({namespace:e,slug:t}))}function _Dn(){let e=localStorage.getItem(p5);if(e)return d5({namespace:u5(),slug:u5()}).parse(JSON.parse(e))}function vDn(){localStorage.getItem(p5)&&localStorage.removeItem(p5)}function yDn(){let e=f9(),t=O();function n(t){let n=`${e.baseUrl}${t}`;return Gv(e.platformProxyUrl,n)}async function r(r,i=!1){try{t.value={type:`uploading`};let a=await fetch(n(`/core/share/upload/apis${i?`?source=agent`:``}`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({document:r})});if(!a.ok){t.value={type:`error`,error:`Failed to upload your OpenAPI document.`};return}let o=await a.json(),{success:s,data:c}=d5({url:u5(),namespace:u5(),slug:u5()}).safeParse(o);if(!s){t.value={type:`error`,error:`Failed to process document.`};return}t.value={type:`processing`};let l=await fetch(n(`/vector/registry/embeddings/${c.namespace}/${c.slug}`),{method:`GET`});if(gDn({namespace:c.namespace,slug:c.slug}),await e.addDocument({namespace:c.namespace,slug:c.slug,removable:!1,tmp:!0}),!l.ok){t.value={type:`error`,error:`Failed to embed document.`};return}return t.value={type:`done`},e.uploadedTmpDocumentUrl.value=c.url,setTimeout(()=>{t.value=void 0},bDn),c}catch{t.value={type:`error`,error:`Failed to upload your OpenAPI document.`};return}}return{uploadTempDocument:r,uploadState:t}}var bDn,p5,m5=c((()=>{m9(),U(),qv(),hDn(),bDn=5e3,p5=`scalar-tmp-doc`})),xDn,SDn=c((()=>{c5(),uv(),xDn=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{let{execute:r}=lv({delay:e,maxWait:t}),i=s5(),a=()=>typeof n==`function`?n():n;return{hooks:{onWorkspaceStateChanges(e){a()&&e.type===`auth`&&r(`auth`,()=>i.setAuth(e.documentName,e.value))}}}}})),h5,CDn=c((()=>{g8(),Xwn(),c5(),y8(),sCn(),yCn(),h5=v8.safeFn(async({namespace:e,slug:t,workspaceStore:n,registryDocuments:r,registryUrl:i,config:a,api:o,removable:s})=>{let c=await o.getDocument({namespace:e,slug:t});if(!c.success)return c;r.value.push({...c.data,removable:s});let l=await H6(new URL(`/@${e}/apis/${t}/latest`,i).toString(),{plugins:[G6()],treeShake:!1}),u=Ywn(e,t);return await n.addDocument({name:u,document:l},a),n.update(`x-scalar-active-document`,u),tDn({documentName:u,workspaceStore:n}),{success:!0,data:c.data}},e=>h8(`UNABLE_TO_LOAD_DOCUMENT`,e))}));function wDn(e){return e==null?`unknown error`:typeof e==`string`?e:e instanceof Error?e.message:JSON.stringify(e)}var g5,TDn,EDn,DDn,_5,ODn,kDn,v5,y5,ADn,jDn,MDn,NDn,PDn,FDn,b5,x5,IDn,LDn,RDn,S5,zDn,BDn,VDn,HDn,UDn,C5,w5,WDn,GDn,KDn,T5,qDn,JDn=c((()=>{g5=`vercel.ai.error`,TDn=Symbol.for(g5),_5=class e extends (DDn=Error,EDn=TDn,DDn){constructor({name:e,message:t,cause:n}){super(t),this[EDn]=!0,this.name=e,this.cause=n}static isInstance(t){return e.hasMarker(t,g5)}static hasMarker(e,t){let n=Symbol.for(t);return typeof e==`object`&&!!e&&n in e&&typeof e[n]==`boolean`&&e[n]===!0}},ODn=`AI_APICallError`,`${ODn}`,kDn=`AI_EmptyResponseBodyError`,`${kDn}`,v5=`AI_InvalidArgumentError`,y5=`vercel.ai.error.${v5}`,ADn=Symbol.for(y5),NDn=class extends (MDn=_5,jDn=ADn,MDn){constructor({message:e,cause:t,argument:n}){super({name:v5,message:e,cause:t}),this[jDn]=!0,this.argument=n}static isInstance(e){return _5.hasMarker(e,y5)}},PDn=`AI_InvalidPromptError`,`${PDn}`,FDn=`AI_InvalidResponseDataError`,`${FDn}`,b5=`AI_JSONParseError`,x5=`vercel.ai.error.${b5}`,IDn=Symbol.for(x5),S5=class extends (RDn=_5,LDn=IDn,RDn){constructor({text:e,cause:t}){super({name:b5,message:`JSON parsing failed: Text: ${e}.
|
||
Error message: ${wDn(t)}`,cause:t}),this[LDn]=!0,this.text=e}static isInstance(e){return _5.hasMarker(e,x5)}},zDn=`AI_LoadAPIKeyError`,`${zDn}`,BDn=`AI_LoadSettingError`,`${BDn}`,VDn=`AI_NoContentGeneratedError`,`${VDn}`,HDn=`AI_NoSuchModelError`,`${HDn}`,UDn=`AI_TooManyEmbeddingValuesForCallError`,`${UDn}`,C5=`AI_TypeValidationError`,w5=`vercel.ai.error.${C5}`,WDn=Symbol.for(w5),T5=class e extends (KDn=_5,GDn=WDn,KDn){constructor({value:e,cause:t}){super({name:C5,message:`Type validation failed: Value: ${JSON.stringify(e)}.
|
||
Error message: ${wDn(t)}`,cause:t}),this[GDn]=!0,this.value=e}static isInstance(e){return _5.hasMarker(e,w5)}static wrap({value:t,cause:n}){return e.isInstance(n)&&n.value===t?n:new e({value:t,cause:n})}},qDn=`AI_UnsupportedFunctionalityError`,`${qDn}`})),YDn=c((()=>{wc(),wc()})),XDn=c((()=>{YDn()})),E5,ZDn,D5,O5,k5=c((()=>{(function(e){e.assertEqual=e=>{};function t(e){}e.assertIs=t;function n(e){throw Error()}e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>typeof t[t[e]]!=`number`),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys=typeof Object.keys==`function`?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger=typeof Number.isInteger==`function`?e=>Number.isInteger(e):e=>typeof e==`number`&&Number.isFinite(e)&&Math.floor(e)===e;function r(e,t=` | `){return e.map(e=>typeof e==`string`?`'${e}'`:e).join(t)}e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>typeof t==`bigint`?t.toString():t})(E5||={}),(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(ZDn||={}),D5=E5.arrayToEnum([`string`,`nan`,`number`,`integer`,`float`,`boolean`,`date`,`bigint`,`symbol`,`function`,`undefined`,`null`,`array`,`object`,`unknown`,`promise`,`void`,`never`,`map`,`set`]),O5=e=>{switch(typeof e){case`undefined`:return D5.undefined;case`string`:return D5.string;case`number`:return Number.isNaN(e)?D5.nan:D5.number;case`boolean`:return D5.boolean;case`function`:return D5.function;case`bigint`:return D5.bigint;case`symbol`:return D5.symbol;case`object`:return Array.isArray(e)?D5.array:e===null?D5.null:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?D5.promise:typeof Map<`u`&&e instanceof Map?D5.map:typeof Set<`u`&&e instanceof Set?D5.set:typeof Date<`u`&&e instanceof Date?D5.date:D5.object;default:return D5.unknown}}})),A5,j5,M5=c((()=>{k5(),A5=E5.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`]),j5=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},n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`)i.unionErrors.map(r);else if(i.code===`invalid_return_type`)r(i.returnTypeError);else if(i.code===`invalid_arguments`)r(i.argumentsError);else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,E5.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){let t=Object.create(null),n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}},j5.create=e=>new j5(e)})),N5,QDn=c((()=>{M5(),k5(),N5=(e,t)=>{let n;switch(e.code){case A5.invalid_type:n=e.received===D5.undefined?`Required`:`Expected ${e.expected}, received ${e.received}`;break;case A5.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,E5.jsonStringifyReplacer)}`;break;case A5.unrecognized_keys:n=`Unrecognized key(s) in object: ${E5.joinValues(e.keys,`, `)}`;break;case A5.invalid_union:n=`Invalid input`;break;case A5.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${E5.joinValues(e.options)}`;break;case A5.invalid_enum_value:n=`Invalid enum value. Expected ${E5.joinValues(e.options)}, received '${e.received}'`;break;case A5.invalid_arguments:n=`Invalid function arguments`;break;case A5.invalid_return_type:n=`Invalid function return type`;break;case A5.invalid_date:n=`Invalid date`;break;case A5.invalid_string:typeof e.validation==`object`?`includes`in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position==`number`&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):`startsWith`in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:`endsWith`in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:E5.assertNever(e.validation):n=e.validation===`regex`?`Invalid`:`Invalid ${e.validation}`;break;case A5.too_small:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at least`:`over`} ${e.minimum} character(s)`:e.type===`number`||e.type===`bigint`?`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`:e.type===`date`?`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 A5.too_big:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`:e.type===`number`?`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`bigint`?`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`date`?`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`:`Invalid input`;break;case A5.custom:n=`Invalid input`;break;case A5.invalid_intersection_types:n=`Intersection results could not be merged`;break;case A5.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case A5.not_finite:n=`Number must be finite`;break;default:n=t.defaultError,E5.assertNever(e)}return{message:n}}}));function P5(){return $Dn}var $Dn,F5=c((()=>{QDn(),$Dn=N5}));function I5(e,t){let n=P5(),r=L5({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===N5?void 0:N5].filter(e=>!!e)});e.common.issues.push(r)}var L5,R5,z5,B5,V5,H5,U5,W5,G5,eOn=c((()=>{F5(),QDn(),L5=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s=``,c=r.filter(e=>!!e).slice().reverse();for(let e of c)s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}},R5=class e{constructor(){this.value=`valid`}dirty(){this.value===`valid`&&(this.value=`dirty`)}abort(){this.value!==`aborted`&&(this.value=`aborted`)}static mergeArray(e,t){let n=[];for(let r of t){if(r.status===`aborted`)return z5;r.status===`dirty`&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if(t.status===`aborted`||i.status===`aborted`)return z5;t.status===`dirty`&&e.dirty(),i.status===`dirty`&&e.dirty(),t.value!==`__proto__`&&(i.value!==void 0||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}},z5=Object.freeze({status:`aborted`}),B5=e=>({status:`dirty`,value:e}),V5=e=>({status:`valid`,value:e}),H5=e=>e.status===`aborted`,U5=e=>e.status===`dirty`,W5=e=>e.status===`valid`,G5=e=>typeof Promise<`u`&&e instanceof Promise})),tOn=c((()=>{})),K5,nOn=c((()=>{(function(e){e.errToObj=e=>typeof e==`string`?{message:e}:e||{},e.toString=e=>typeof e==`string`?e:e?.message})(K5||={})}));function q5(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return t.code===`invalid_enum_value`?{message:a??i.defaultError}:i.data===void 0?{message:a??r??i.defaultError}:t.code===`invalid_type`?{message:a??n??i.defaultError}:{message:i.defaultError}},description:i}}function rOn(e){let t=`[0-5]\\d`;e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`);let n=e.precision?`+`:`?`;return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function iOn(e){return RegExp(`^${rOn(e)}$`)}function aOn(e){let t=`${$5}T${rOn(e)}`,n=[];return n.push(e.local?`Z?`:`Z`),e.offset&&n.push(`([+-]\\d{2}:?\\d{2})`),t=`${t}(${n.join(`|`)})`,RegExp(`^${t}$`)}function oOn(e,t){return!!((t===`v4`||!t)&&xOn.test(e)||(t===`v6`||!t)&&COn.test(e))}function sOn(e,t){if(!gOn.test(e))return!1;try{let[n]=e.split(`.`);if(!n)return!1;let r=n.replace(/-/g,`+`).replace(/_/g,`/`).padEnd(n.length+(4-n.length%4)%4,`=`),i=JSON.parse(atob(r));return!(typeof i!=`object`||!i||`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&i.alg!==t)}catch{return!1}}function cOn(e,t){return!!((t===`v4`||!t)&&SOn.test(e)||(t===`v6`||!t)&&wOn.test(e))}function lOn(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=(t.toString().split(`.`)[1]||``).length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(`.`,``))%Number.parseInt(t.toFixed(i).replace(`.`,``))/10**i}function J5(e){if(e instanceof p7){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=E7.create(J5(r))}return new p7({...e._def,shape:()=>t})}else if(e instanceof f7)return new f7({...e._def,type:J5(e.element)});else if(e instanceof E7)return E7.create(J5(e.unwrap()));else if(e instanceof D7)return D7.create(J5(e.unwrap()));else if(e instanceof _7)return _7.create(e.items.map(e=>J5(e)));else return e}function Y5(e,t){let n=O5(e),r=O5(t);if(e===t)return{valid:!0,data:e};if(n===D5.object&&r===D5.object){let n=E5.objectKeys(t),r=E5.objectKeys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Y5(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}else if(n===D5.array&&r===D5.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Y5(i,a);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}else if(n===D5.date&&r===D5.date&&+e==+t)return{valid:!0,data:e};else return{valid:!1}}function uOn(e,t){return new S7({values:e,typeName:P7.ZodEnum,...q5(t)})}var X5,Z5,Q5,dOn,fOn,pOn,mOn,hOn,gOn,_On,vOn,yOn,bOn,xOn,SOn,COn,wOn,TOn,EOn,$5,DOn,e7,t7,n7,r7,i7,a7,o7,s7,c7,l7,u7,d7,f7,p7,m7,h7,OOn,g7,_7,kOn,v7,y7,AOn,b7,x7,S7,C7,w7,T7,E7,D7,O7,k7,A7,j7,M7,N7,P7,jOn=c((()=>{M5(),F5(),nOn(),eOn(),k5(),X5=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,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}},Z5=(e,t)=>{if(W5(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error(`Validation failed but no issues detected.`);return{success:!1,get error(){return this._error||=new j5(e.common.issues),this._error}}},Q5=class{get description(){return this._def.description}_getType(e){return O5(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:O5(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new R5,ctx:{common:e.parent.common,data:e.data,parsedType:O5(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(G5(t))throw Error(`Synchronous parse encountered promise.`);return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:O5(e)};return Z5(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this[`~standard`].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:O5(e)};if(!this[`~standard`].async)try{let n=this._parseSync({data:e,path:[],parent:t});return W5(n)?{value:n.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=>W5(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:O5(e)},r=this._parse({data:e,path:n.path,parent:n});return Z5(n,await(G5(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>typeof t==`string`||t===void 0?{message:t}:typeof t==`function`?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:A5.custom,...n(t)});return typeof Promise<`u`&&i instanceof Promise?i.then(e=>e?!0:(a(),!1)):i?!0:(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t==`function`?t(n,r):t),!1))}_refinement(e){return new T7({schema:this,typeName:P7.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 E7.create(this,this._def)}nullable(){return D7.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return f7.create(this)}promise(){return w7.create(this,this._def)}or(e){return m7.create([this,e],this._def)}and(e){return g7.create(this,e,this._def)}transform(e){return new T7({...q5(this._def),schema:this,typeName:P7.ZodEffects,effect:{type:`transform`,transform:e}})}default(e){let t=typeof e==`function`?e:()=>e;return new O7({...q5(this._def),innerType:this,defaultValue:t,typeName:P7.ZodDefault})}brand(){return new j7({typeName:P7.ZodBranded,type:this,...q5(this._def)})}catch(e){let t=typeof e==`function`?e:()=>e;return new k7({...q5(this._def),innerType:this,catchValue:t,typeName:P7.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return M7.create(this,e)}readonly(){return N7.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},dOn=/^c[^\s-]{8,}$/i,fOn=/^[0-9a-z]+$/,pOn=/^[0-9A-HJKMNP-TV-Z]{26}$/i,mOn=/^[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,hOn=/^[a-z0-9_-]{21}$/i,gOn=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,_On=/^[-+]?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)?)??$/,vOn=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,yOn=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,xOn=/^(?:(?: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])$/,SOn=/^(?:(?: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])$/,COn=/^(([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]))$/,wOn=/^(([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])$/,TOn=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,EOn=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,$5=`((\\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])))`,DOn=RegExp(`^${$5}$`),e7=class e extends Q5{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==D5.string){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.string,received:t.parsedType}),z5}let t=new R5,n;for(let r of this._def.checks)if(r.kind===`min`)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`max`)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`length`){let i=e.data.length>r.value,a=e.data.length<r.value;(i||a)&&(n=this._getOrReturnCtx(e,n),i?I5(n,{code:A5.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}):a&&I5(n,{code:A5.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if(r.kind===`email`)vOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`email`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`emoji`)bOn||=new RegExp(yOn,`u`),bOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`emoji`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`uuid`)mOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`uuid`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`nanoid`)hOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`nanoid`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid`)dOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`cuid`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid2`)fOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`cuid2`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`ulid`)pOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`ulid`,code:A5.invalid_string,message:r.message}),t.dirty());else if(r.kind===`url`)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),I5(n,{validation:`url`,code:A5.invalid_string,message:r.message}),t.dirty()}else r.kind===`regex`?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`regex`,code:A5.invalid_string,message:r.message}),t.dirty())):r.kind===`trim`?e.data=e.data.trim():r.kind===`includes`?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):r.kind===`toLowerCase`?e.data=e.data.toLowerCase():r.kind===`toUpperCase`?e.data=e.data.toUpperCase():r.kind===`startsWith`?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):r.kind===`endsWith`?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):r.kind===`datetime`?aOn(r).test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:`datetime`,message:r.message}),t.dirty()):r.kind===`date`?DOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:`date`,message:r.message}),t.dirty()):r.kind===`time`?iOn(r).test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.invalid_string,validation:`time`,message:r.message}),t.dirty()):r.kind===`duration`?_On.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`duration`,code:A5.invalid_string,message:r.message}),t.dirty()):r.kind===`ip`?oOn(e.data,r.version)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`ip`,code:A5.invalid_string,message:r.message}),t.dirty()):r.kind===`jwt`?sOn(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`jwt`,code:A5.invalid_string,message:r.message}),t.dirty()):r.kind===`cidr`?cOn(e.data,r.version)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`cidr`,code:A5.invalid_string,message:r.message}),t.dirty()):r.kind===`base64`?TOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`base64`,code:A5.invalid_string,message:r.message}),t.dirty()):r.kind===`base64url`?EOn.test(e.data)||(n=this._getOrReturnCtx(e,n),I5(n,{validation:`base64url`,code:A5.invalid_string,message:r.message}),t.dirty()):E5.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:A5.invalid_string,...K5.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:`email`,...K5.errToObj(e)})}url(e){return this._addCheck({kind:`url`,...K5.errToObj(e)})}emoji(e){return this._addCheck({kind:`emoji`,...K5.errToObj(e)})}uuid(e){return this._addCheck({kind:`uuid`,...K5.errToObj(e)})}nanoid(e){return this._addCheck({kind:`nanoid`,...K5.errToObj(e)})}cuid(e){return this._addCheck({kind:`cuid`,...K5.errToObj(e)})}cuid2(e){return this._addCheck({kind:`cuid2`,...K5.errToObj(e)})}ulid(e){return this._addCheck({kind:`ulid`,...K5.errToObj(e)})}base64(e){return this._addCheck({kind:`base64`,...K5.errToObj(e)})}base64url(e){return this._addCheck({kind:`base64url`,...K5.errToObj(e)})}jwt(e){return this._addCheck({kind:`jwt`,...K5.errToObj(e)})}ip(e){return this._addCheck({kind:`ip`,...K5.errToObj(e)})}cidr(e){return this._addCheck({kind:`cidr`,...K5.errToObj(e)})}datetime(e){return typeof e==`string`?this._addCheck({kind:`datetime`,precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:`datetime`,precision:e?.precision===void 0?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...K5.errToObj(e?.message)})}date(e){return this._addCheck({kind:`date`,message:e})}time(e){return typeof e==`string`?this._addCheck({kind:`time`,precision:null,message:e}):this._addCheck({kind:`time`,precision:e?.precision===void 0?null:e?.precision,...K5.errToObj(e?.message)})}duration(e){return this._addCheck({kind:`duration`,...K5.errToObj(e)})}regex(e,t){return this._addCheck({kind:`regex`,regex:e,...K5.errToObj(t)})}includes(e,t){return this._addCheck({kind:`includes`,value:e,position:t?.position,...K5.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:`startsWith`,value:e,...K5.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:`endsWith`,value:e,...K5.errToObj(t)})}min(e,t){return this._addCheck({kind:`min`,value:e,...K5.errToObj(t)})}max(e,t){return this._addCheck({kind:`max`,value:e,...K5.errToObj(t)})}length(e,t){return this._addCheck({kind:`length`,value:e,...K5.errToObj(t)})}nonempty(e){return this.min(1,K5.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=>e.kind===`datetime`)}get isDate(){return!!this._def.checks.find(e=>e.kind===`date`)}get isTime(){return!!this._def.checks.find(e=>e.kind===`time`)}get isDuration(){return!!this._def.checks.find(e=>e.kind===`duration`)}get isEmail(){return!!this._def.checks.find(e=>e.kind===`email`)}get isURL(){return!!this._def.checks.find(e=>e.kind===`url`)}get isEmoji(){return!!this._def.checks.find(e=>e.kind===`emoji`)}get isUUID(){return!!this._def.checks.find(e=>e.kind===`uuid`)}get isNANOID(){return!!this._def.checks.find(e=>e.kind===`nanoid`)}get isCUID(){return!!this._def.checks.find(e=>e.kind===`cuid`)}get isCUID2(){return!!this._def.checks.find(e=>e.kind===`cuid2`)}get isULID(){return!!this._def.checks.find(e=>e.kind===`ulid`)}get isIP(){return!!this._def.checks.find(e=>e.kind===`ip`)}get isCIDR(){return!!this._def.checks.find(e=>e.kind===`cidr`)}get isBase64(){return!!this._def.checks.find(e=>e.kind===`base64`)}get isBase64url(){return!!this._def.checks.find(e=>e.kind===`base64url`)}get minLength(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}},e7.create=e=>new e7({checks:[],typeName:P7.ZodString,coerce:e?.coerce??!1,...q5(e)}),t7=class e extends Q5{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)!==D5.number){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.number,received:t.parsedType}),z5}let t,n=new R5;for(let r of this._def.checks)r.kind===`int`?E5.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.invalid_type,expected:`integer`,received:`float`,message:r.message}),n.dirty()):r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.too_small,minimum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.too_big,maximum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`multipleOf`?lOn(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind===`finite`?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.not_finite,message:r.message}),n.dirty()):E5.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit(`min`,e,!0,K5.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,K5.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,K5.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,K5.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:K5.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:`int`,message:K5.toString(e)})}positive(e){return this._addCheck({kind:`min`,value:0,inclusive:!1,message:K5.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:0,inclusive:!1,message:K5.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:0,inclusive:!0,message:K5.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:0,inclusive:!0,message:K5.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:K5.toString(t)})}finite(e){return this._addCheck({kind:`finite`,message:K5.toString(e)})}safe(e){return this._addCheck({kind:`min`,inclusive:!0,value:-(2**53-1),message:K5.toString(e)})._addCheck({kind:`max`,inclusive:!0,value:2**53-1,message:K5.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind===`int`||e.kind===`multipleOf`&&E5.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if(n.kind===`finite`||n.kind===`int`||n.kind===`multipleOf`)return!0;else n.kind===`min`?(t===null||n.value>t)&&(t=n.value):n.kind===`max`&&(e===null||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}},t7.create=e=>new t7({checks:[],typeName:P7.ZodNumber,coerce:e?.coerce||!1,...q5(e)}),n7=class e extends Q5{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)!==D5.bigint)return this._getInvalidInput(e);let t,n=new R5;for(let r of this._def.checks)r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.too_small,type:`bigint`,minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.too_big,type:`bigint`,maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`multipleOf`?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),I5(t,{code:A5.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):E5.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.bigint,received:t.parsedType}),z5}gte(e,t){return this.setLimit(`min`,e,!0,K5.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,K5.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,K5.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,K5.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:K5.toString(i)}]})}_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:K5.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!1,message:K5.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!0,message:K5.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!0,message:K5.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:K5.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}},n7.create=e=>new n7({checks:[],typeName:P7.ZodBigInt,coerce:e?.coerce??!1,...q5(e)}),r7=class extends Q5{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==D5.boolean){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.boolean,received:t.parsedType}),z5}return V5(e.data)}},r7.create=e=>new r7({typeName:P7.ZodBoolean,coerce:e?.coerce||!1,...q5(e)}),i7=class e extends Q5{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==D5.date){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.date,received:t.parsedType}),z5}if(Number.isNaN(e.data.getTime()))return I5(this._getOrReturnCtx(e),{code:A5.invalid_date}),z5;let t=new R5,n;for(let r of this._def.checks)r.kind===`min`?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:`date`}),t.dirty()):r.kind===`max`?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),I5(n,{code:A5.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:`date`}),t.dirty()):E5.assertNever(r);return{status:t.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:K5.toString(t)})}max(e,t){return this._addCheck({kind:`max`,value:e.getTime(),message:K5.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e==null?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e==null?null:new Date(e)}},i7.create=e=>new i7({checks:[],coerce:e?.coerce||!1,typeName:P7.ZodDate,...q5(e)}),a7=class extends Q5{_parse(e){if(this._getType(e)!==D5.symbol){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.symbol,received:t.parsedType}),z5}return V5(e.data)}},a7.create=e=>new a7({typeName:P7.ZodSymbol,...q5(e)}),o7=class extends Q5{_parse(e){if(this._getType(e)!==D5.undefined){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.undefined,received:t.parsedType}),z5}return V5(e.data)}},o7.create=e=>new o7({typeName:P7.ZodUndefined,...q5(e)}),s7=class extends Q5{_parse(e){if(this._getType(e)!==D5.null){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.null,received:t.parsedType}),z5}return V5(e.data)}},s7.create=e=>new s7({typeName:P7.ZodNull,...q5(e)}),c7=class extends Q5{constructor(){super(...arguments),this._any=!0}_parse(e){return V5(e.data)}},c7.create=e=>new c7({typeName:P7.ZodAny,...q5(e)}),l7=class extends Q5{constructor(){super(...arguments),this._unknown=!0}_parse(e){return V5(e.data)}},l7.create=e=>new l7({typeName:P7.ZodUnknown,...q5(e)}),u7=class extends Q5{_parse(e){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.never,received:t.parsedType}),z5}},u7.create=e=>new u7({typeName:P7.ZodNever,...q5(e)}),d7=class extends Q5{_parse(e){if(this._getType(e)!==D5.undefined){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.void,received:t.parsedType}),z5}return V5(e.data)}},d7.create=e=>new d7({typeName:P7.ZodVoid,...q5(e)}),f7=class e extends Q5{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==D5.array)return I5(t,{code:A5.invalid_type,expected:D5.array,received:t.parsedType}),z5;if(r.exactLength!==null){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(I5(t,{code:e?A5.too_big:A5.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:`array`,inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(r.minLength!==null&&t.data.length<r.minLength.value&&(I5(t,{code:A5.too_small,minimum:r.minLength.value,type:`array`,inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),r.maxLength!==null&&t.data.length>r.maxLength.value&&(I5(t,{code:A5.too_big,maximum:r.maxLength.value,type:`array`,inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new X5(t,e,t.path,n)))).then(e=>R5.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new X5(t,e,t.path,n)));return R5.mergeArray(n,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:K5.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:K5.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:K5.toString(n)}})}nonempty(e){return this.min(1,e)}},f7.create=(e,t)=>new f7({type:e,minLength:null,maxLength:null,exactLength:null,typeName:P7.ZodArray,...q5(t)}),p7=class e extends Q5{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape();return this._cached={shape:e,keys:E5.objectKeys(e)},this._cached}_parse(e){if(this._getType(e)!==D5.object){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.object,received:t.parsedType}),z5}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof u7&&this._def.unknownKeys===`strip`))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:`valid`,value:e},value:t._parse(new X5(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof u7){let e=this._def.unknownKeys;if(e===`passthrough`)for(let e of a)o.push({key:{status:`valid`,value:e},value:{status:`valid`,value:n.data[e]}});else if(e===`strict`)a.length>0&&(I5(n,{code:A5.unrecognized_keys,keys:a}),t.dirty());else if(e!==`strip`)throw Error(`Internal ZodObject error: invalid unknownKeys value.`)}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:`valid`,value:t},value:e._parse(new X5(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>R5.mergeObjectSync(t,e)):R5.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(t){return K5.errToObj,new e({...this._def,unknownKeys:`strict`,...t===void 0?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return e.code===`unrecognized_keys`?{message:K5.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:P7.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of E5.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of E5.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return J5(this)}partial(t){let n={};for(let e of E5.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of E5.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof E7;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return uOn(E5.objectKeys(this.shape))}},p7.create=(e,t)=>new p7({shape:()=>e,unknownKeys:`strip`,catchall:u7.create(),typeName:P7.ZodObject,...q5(t)}),p7.strictCreate=(e,t)=>new p7({shape:()=>e,unknownKeys:`strict`,catchall:u7.create(),typeName:P7.ZodObject,...q5(t)}),p7.lazycreate=(e,t)=>new p7({shape:e,unknownKeys:`strip`,catchall:u7.create(),typeName:P7.ZodObject,...q5(t)}),m7=class extends Q5{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if(t.result.status===`valid`)return t.result;for(let n of e)if(n.result.status===`dirty`)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new j5(e.ctx.common.issues));return I5(t,{code:A5.invalid_union,unionErrors:n}),z5}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if(a.status===`valid`)return a;a.status===`dirty`&&!e&&(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new j5(e));return I5(t,{code:A5.invalid_union,unionErrors:i}),z5}}get options(){return this._def.options}},m7.create=(e,t)=>new m7({options:e,typeName:P7.ZodUnion,...q5(t)}),h7=e=>e instanceof b7?h7(e.schema):e instanceof T7?h7(e.innerType()):e instanceof x7?[e.value]:e instanceof S7?e.options:e instanceof C7?E5.objectValues(e.enum):e instanceof O7?h7(e._def.innerType):e instanceof o7?[void 0]:e instanceof s7?[null]:e instanceof E7?[void 0,...h7(e.unwrap())]:e instanceof D7?[null,...h7(e.unwrap())]:e instanceof j7||e instanceof N7?h7(e.unwrap()):e instanceof k7?h7(e._def.innerType):[],OOn=class e extends Q5{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D5.object)return I5(t,{code:A5.invalid_type,expected:D5.object,received:t.parsedType}),z5;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(I5(t,{code:A5.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),z5)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let e of n){let n=h7(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(i.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);i.set(r,e)}}return new e({typeName:P7.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...q5(r)})}},g7=class extends Q5{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(H5(e)||H5(r))return z5;let i=Y5(e.value,r.value);return i.valid?((U5(e)||U5(r))&&t.dirty(),{status:t.value,value:i.data}):(I5(n,{code:A5.invalid_intersection_types}),z5)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}},g7.create=(e,t,n)=>new g7({left:e,right:t,typeName:P7.ZodIntersection,...q5(n)}),_7=class e extends Q5{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D5.array)return I5(n,{code:A5.invalid_type,expected:D5.array,received:n.parsedType}),z5;if(n.data.length<this._def.items.length)return I5(n,{code:A5.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),z5;!this._def.rest&&n.data.length>this._def.items.length&&(I5(n,{code:A5.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new X5(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>R5.mergeArray(t,e)):R5.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}},_7.create=(e,t)=>{if(!Array.isArray(e))throw Error(`You must pass an array of schemas to z.tuple([ ... ])`);return new _7({items:e,typeName:P7.ZodTuple,rest:null,...q5(t)})},kOn=class e extends Q5{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D5.object)return I5(n,{code:A5.invalid_type,expected:D5.object,received:n.parsedType}),z5;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new X5(n,e,n.path,e)),value:a._parse(new X5(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?R5.mergeObjectAsync(t,r):R5.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Q5?new e({keyType:t,valueType:n,typeName:P7.ZodRecord,...q5(r)}):new e({keyType:e7.create(),valueType:t,typeName:P7.ZodRecord,...q5(n)})}},v7=class extends Q5{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D5.map)return I5(n,{code:A5.invalid_type,expected:D5.map,received:n.parsedType}),z5;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new X5(n,e,n.path,[a,`key`])),value:i._parse(new X5(n,t,n.path,[a,`value`]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if(r.status===`aborted`||i.status===`aborted`)return z5;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}else{let e=new Map;for(let n of a){let r=n.key,i=n.value;if(r.status===`aborted`||i.status===`aborted`)return z5;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}},v7.create=(e,t,n)=>new v7({valueType:t,keyType:e,typeName:P7.ZodMap,...q5(n)}),y7=class e extends Q5{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D5.set)return I5(n,{code:A5.invalid_type,expected:D5.set,received:n.parsedType}),z5;let r=this._def;r.minSize!==null&&n.data.size<r.minSize.value&&(I5(n,{code:A5.too_small,minimum:r.minSize.value,type:`set`,inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),r.maxSize!==null&&n.data.size>r.maxSize.value&&(I5(n,{code:A5.too_big,maximum:r.maxSize.value,type:`set`,inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if(r.status===`aborted`)return z5;r.status===`dirty`&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new X5(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(t,n){return new e({...this._def,minSize:{value:t,message:K5.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:K5.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}},y7.create=(e,t)=>new y7({valueType:e,minSize:null,maxSize:null,typeName:P7.ZodSet,...q5(t)}),AOn=class e extends Q5{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D5.function)return I5(t,{code:A5.invalid_type,expected:D5.function,received:t.parsedType}),z5;function n(e,n){return L5({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,P5(),N5].filter(e=>!!e),issueData:{code:A5.invalid_arguments,argumentsError:n}})}function r(e,n){return L5({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,P5(),N5].filter(e=>!!e),issueData:{code:A5.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof w7){let e=this;return V5(async function(...t){let o=new j5([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,i).catch(e=>{throw o.addIssue(r(c,e)),o})})}else{let e=this;return V5(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new j5([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),c=e._def.returns.safeParse(s,i);if(!c.success)throw new j5([r(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:_7.create(t).rest(l7.create())})}returns(t){return new e({...this._def,returns:t})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(t,n,r){return new e({args:t||_7.create([]).rest(l7.create()),returns:n||l7.create(),typeName:P7.ZodFunction,...q5(r)})}},b7=class extends Q5{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})}},b7.create=(e,t)=>new b7({getter:e,typeName:P7.ZodLazy,...q5(t)}),x7=class extends Q5{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return I5(t,{received:t.data,code:A5.invalid_literal,expected:this._def.value}),z5}return{status:`valid`,value:e.data}}get value(){return this._def.value}},x7.create=(e,t)=>new x7({value:e,typeName:P7.ZodLiteral,...q5(t)}),S7=class e extends Q5{_parse(e){if(typeof e.data!=`string`){let t=this._getOrReturnCtx(e),n=this._def.values;return I5(t,{expected:E5.joinValues(n),received:t.parsedType,code:A5.invalid_type}),z5}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return I5(t,{received:t.data,code:A5.invalid_enum_value,options:n}),z5}return V5(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,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}},S7.create=uOn,C7=class extends Q5{_parse(e){let t=E5.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==D5.string&&n.parsedType!==D5.number){let e=E5.objectValues(t);return I5(n,{expected:E5.joinValues(e),received:n.parsedType,code:A5.invalid_type}),z5}if(this._cache||=new Set(E5.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=E5.objectValues(t);return I5(n,{received:n.data,code:A5.invalid_enum_value,options:e}),z5}return V5(e.data)}get enum(){return this._def.values}},C7.create=(e,t)=>new C7({values:e,typeName:P7.ZodNativeEnum,...q5(t)}),w7=class extends Q5{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==D5.promise&&t.common.async===!1?(I5(t,{code:A5.invalid_type,expected:D5.promise,received:t.parsedType}),z5):V5((t.parsedType===D5.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}},w7.create=(e,t)=>new w7({type:e,typeName:P7.ZodPromise,...q5(t)}),T7=class extends Q5{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===P7.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{I5(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type===`preprocess`){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if(t.value===`aborted`)return z5;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return r.status===`aborted`?z5:r.status===`dirty`||t.value===`dirty`?B5(r.value):r});{if(t.value===`aborted`)return z5;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return r.status===`aborted`?z5:r.status===`dirty`||t.value===`dirty`?B5(r.value):r}}if(r.type===`refinement`){let e=e=>{let t=r.refinement(e,i);if(n.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(n.common.async===!1){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return r.status===`aborted`?z5:(r.status===`dirty`&&t.dirty(),e(r.value),{status:t.value,value:r.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>n.status===`aborted`?z5:(n.status===`dirty`&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if(r.type===`transform`)if(n.common.async===!1){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!W5(e))return z5;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);return{status:t.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>W5(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):z5);E5.assertNever(r)}},T7.create=(e,t,n)=>new T7({schema:e,typeName:P7.ZodEffects,effect:t,...q5(n)}),T7.createWithPreprocess=(e,t,n)=>new T7({schema:t,effect:{type:`preprocess`,transform:e},typeName:P7.ZodEffects,...q5(n)}),E7=class extends Q5{_parse(e){return this._getType(e)===D5.undefined?V5(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},E7.create=(e,t)=>new E7({innerType:e,typeName:P7.ZodOptional,...q5(t)}),D7=class extends Q5{_parse(e){return this._getType(e)===D5.null?V5(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},D7.create=(e,t)=>new D7({innerType:e,typeName:P7.ZodNullable,...q5(t)}),O7=class extends Q5{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===D5.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}},O7.create=(e,t)=>new O7({innerType:e,typeName:P7.ZodDefault,defaultValue:typeof t.default==`function`?t.default:()=>t.default,...q5(t)}),k7=class extends Q5{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return G5(r)?r.then(e=>({status:`valid`,value:e.status===`valid`?e.value:this._def.catchValue({get error(){return new j5(n.common.issues)},input:n.data})})):{status:`valid`,value:r.status===`valid`?r.value:this._def.catchValue({get error(){return new j5(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}},k7.create=(e,t)=>new k7({innerType:e,typeName:P7.ZodCatch,catchValue:typeof t.catch==`function`?t.catch:()=>t.catch,...q5(t)}),A7=class extends Q5{_parse(e){if(this._getType(e)!==D5.nan){let t=this._getOrReturnCtx(e);return I5(t,{code:A5.invalid_type,expected:D5.nan,received:t.parsedType}),z5}return{status:`valid`,value:e.data}}},A7.create=e=>new A7({typeName:P7.ZodNaN,...q5(e)}),j7=class extends Q5{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},M7=class e extends Q5{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?z5:e.status===`dirty`?(t.dirty(),B5(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?z5:e.status===`dirty`?(t.dirty(),{status:`dirty`,value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:P7.ZodPipeline})}},N7=class extends Q5{_parse(e){let t=this._def.innerType._parse(e),n=e=>(W5(e)&&(e.value=Object.freeze(e.value)),e);return G5(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}},N7.create=(e,t)=>new N7({innerType:e,typeName:P7.ZodReadonly,...q5(t)}),p7.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`})(P7||={}),e7.create,t7.create,A7.create,n7.create,r7.create,i7.create,a7.create,o7.create,s7.create,c7.create,l7.create,u7.create,d7.create,f7.create,p7.create,p7.strictCreate,m7.create,OOn.create,g7.create,_7.create,kOn.create,v7.create,y7.create,AOn.create,b7.create,x7.create,S7.create,C7.create,w7.create,T7.create,E7.create,D7.create,T7.createWithPreprocess,M7.create})),MOn=c((()=>{F5(),eOn(),tOn(),k5(),jOn(),M5()})),NOn=c((()=>{MOn()}));function F7(e){}function POn(e){if(typeof e==`function`)throw TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let{onEvent:t=F7,onError:n=F7,onRetry:r=F7,onComment:i}=e,a=``,o=!0,s,c=``,l=``;function u(e){let t=o?e.replace(/^\xEF\xBB\xBF/,``):e,[n,r]=FOn(`${a}${t}`);for(let e of n)d(e);a=r,o=!1}function d(e){if(e===``){p();return}if(e.startsWith(`:`)){i&&i(e.slice(e.startsWith(`: `)?2:1));return}let t=e.indexOf(`:`);if(t!==-1){let n=e.slice(0,t),r=e[t+1]===` `?2:1;f(n,e.slice(t+r),e);return}f(e,``,e)}function f(e,t,i){switch(e){case`event`:l=t;break;case`data`:c=`${c}${t}
|
||
`;break;case`id`:s=t.includes(`\0`)?void 0:t;break;case`retry`:/^\d+$/.test(t)?r(parseInt(t,10)):n(new I7(`Invalid \`retry\` value: "${t}"`,{type:`invalid-retry`,value:t,line:i}));break;default:n(new I7(`Unknown field "${e.length>20?`${e.slice(0,20)}\u2026`:e}"`,{type:`unknown-field`,field:e,value:t,line:i}));break}}function p(){c.length>0&&t({id:s,event:l||void 0,data:c.endsWith(`
|
||
`)?c.slice(0,-1):c}),s=void 0,c=``,l=``}function m(e={}){a&&e.consume&&d(a),o=!0,s=void 0,c=``,l=``,a=``}return{feed:u,reset:m}}function FOn(e){let t=[],n=``,r=0;for(;r<e.length;){let i=e.indexOf(`\r`,r),a=e.indexOf(`
|
||
`,r),o=-1;if(i!==-1&&a!==-1?o=Math.min(i,a):i===-1?a!==-1&&(o=a):o=i===e.length-1?-1:i,o===-1){n=e.slice(r);break}else{let n=e.slice(r,o);t.push(n),r=o+1,e[r-1]===`\r`&&e[r]===`
|
||
`&&r++}}return[t,n]}var I7,IOn=c((()=>{I7=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}}})),LOn,ROn=c((()=>{IOn(),LOn=class extends TransformStream{constructor({onError:e,onRetry:t,onComment:n}={}){let r;super({start(i){r=POn({onEvent:e=>{i.enqueue(e)},onError(t){e===`terminate`?i.error(t):typeof e==`function`&&e(t)},onRetry:t,onComment:n})},transform(e){r.feed(e)}})}}})),zOn=c((()=>{}));function BOn(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 L7(e){if(e==null)return{};let t={};if(e instanceof Headers)e.forEach((e,n)=>{t[n.toLowerCase()]=e});else{Array.isArray(e)||(e=Object.entries(e));for(let[n,r]of e)r!=null&&(t[n.toLowerCase()]=r)}return t}function VOn(e,...t){let n=new Headers(L7(e)),r=n.get(`user-agent`)||``;return n.set(`user-agent`,[r,...t].filter(Boolean).join(` `)),Object.fromEntries(n.entries())}function HOn(e){let t=JSON.parse(e);return typeof t!=`object`||!t||Fkn.test(e)===!1&&Ikn.test(e)===!1?t:UOn(t)}function UOn(e){let t=[e];for(;t.length;){let e=t;t=[];for(let n of e){if(Object.prototype.hasOwnProperty.call(n,`__proto__`)||Object.prototype.hasOwnProperty.call(n,`constructor`)&&Object.prototype.hasOwnProperty.call(n.constructor,`prototype`))throw SyntaxError(`Object contains forbidden prototype property`);for(let e in n){let r=n[e];r&&typeof r==`object`&&t.push(r)}}}return e}function WOn(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch{return HOn(e)}try{return HOn(e)}finally{Error.stackTraceLimit=t}}function R7(e){if(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)){e.additionalProperties=!1;let{properties:t}=e;if(t!=null)for(let e of Object.keys(t))t[e]=z7(t[e])}e.items!=null&&(e.items=Array.isArray(e.items)?e.items.map(z7):z7(e.items)),e.anyOf!=null&&(e.anyOf=e.anyOf.map(z7)),e.allOf!=null&&(e.allOf=e.allOf.map(z7)),e.oneOf!=null&&(e.oneOf=e.oneOf.map(z7));let{definitions:t}=e;if(t!=null)for(let e of Object.keys(t))t[e]=z7(t[e]);return e}function z7(e){return typeof e==`boolean`?e:R7(e)}function B7(){return{}}function GOn(e,t){let n={type:`array`};return e.type?._def&&e.type?._def?.typeName!==P7.ZodAny&&(n.items=U7(e.type._def,{...t,currentPath:[...t.currentPath,`items`]})),e.minLength&&(n.minItems=e.minLength.value),e.maxLength&&(n.maxItems=e.maxLength.value),e.exactLength&&(n.minItems=e.exactLength.value,n.maxItems=e.exactLength.value),n}function KOn(e){let t={type:`integer`,format:`int64`};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case`min`:n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case`max`:n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case`multipleOf`:t.multipleOf=n.value;break}return t}function qOn(){return{type:`boolean`}}function JOn(e,t){return U7(e.type._def,t)}function YOn(e,t,n){let r=n??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((n,r)=>YOn(e,t,n))};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 Vkn(e)}}function XOn(e,t){return{...U7(e.innerType._def,t),default:e.defaultValue()}}function ZOn(e,t){return t.effectStrategy===`input`?U7(e.schema._def,t):B7()}function QOn(e){return{type:`string`,enum:Array.from(e.values)}}function $On(e,t){let n=[U7(e.left._def,{...t,currentPath:[...t.currentPath,`allOf`,`0`]}),U7(e.right._def,{...t,currentPath:[...t.currentPath,`allOf`,`1`]})].filter(e=>!!e),r=[];return n.forEach(e=>{if(Hkn(e))r.push(...e.allOf);else{let t=e;if(`additionalProperties`in e&&e.additionalProperties===!1){let{additionalProperties:n,...r}=e;t=r}r.push(t)}}),r.length?{allOf:r}:void 0}function ekn(e){let t=typeof e.value;return t!==`bigint`&&t!==`number`&&t!==`boolean`&&t!==`string`?{type:Array.isArray(e.value)?`array`:`object`}:{type:t===`bigint`?`integer`:t,const:e.value}}function tkn(e,t){let n={type:`string`};if(e.checks)for(let r of e.checks)switch(r.kind){case`min`:n.minLength=typeof n.minLength==`number`?Math.max(n.minLength,r.value):r.value;break;case`max`:n.maxLength=typeof n.maxLength==`number`?Math.min(n.maxLength,r.value):r.value;break;case`email`:switch(t.emailStrategy){case`format:email`:V7(n,`email`,r.message,t);break;case`format:idn-email`:V7(n,`idn-email`,r.message,t);break;case`pattern:zod`:H7(n,X7.email,r.message,t);break}break;case`url`:V7(n,`uri`,r.message,t);break;case`uuid`:V7(n,`uuid`,r.message,t);break;case`regex`:H7(n,r.regex,r.message,t);break;case`cuid`:H7(n,X7.cuid,r.message,t);break;case`cuid2`:H7(n,X7.cuid2,r.message,t);break;case`startsWith`:H7(n,RegExp(`^${nkn(r.value,t)}`),r.message,t);break;case`endsWith`:H7(n,RegExp(`${nkn(r.value,t)}$`),r.message,t);break;case`datetime`:V7(n,`date-time`,r.message,t);break;case`date`:V7(n,`date`,r.message,t);break;case`time`:V7(n,`time`,r.message,t);break;case`duration`:V7(n,`duration`,r.message,t);break;case`length`:n.minLength=typeof n.minLength==`number`?Math.max(n.minLength,r.value):r.value,n.maxLength=typeof n.maxLength==`number`?Math.min(n.maxLength,r.value):r.value;break;case`includes`:H7(n,RegExp(nkn(r.value,t)),r.message,t);break;case`ip`:r.version!==`v6`&&V7(n,`ipv4`,r.message,t),r.version!==`v4`&&V7(n,`ipv6`,r.message,t);break;case`base64url`:H7(n,X7.base64url,r.message,t);break;case`jwt`:H7(n,X7.jwt,r.message,t);break;case`cidr`:r.version!==`v6`&&H7(n,X7.ipv4Cidr,r.message,t),r.version!==`v4`&&H7(n,X7.ipv6Cidr,r.message,t);break;case`emoji`:H7(n,X7.emoji(),r.message,t);break;case`ulid`:H7(n,X7.ulid,r.message,t);break;case`base64`:switch(t.base64Strategy){case`format:binary`:V7(n,`binary`,r.message,t);break;case`contentEncoding:base64`:n.contentEncoding=`base64`;break;case`pattern:zod`:H7(n,X7.base64,r.message,t);break}break;case`nanoid`:H7(n,X7.nanoid,r.message,t);case`toLowerCase`:case`toUpperCase`:case`trim`:break;default:}return n}function nkn(e,t){return t.patternStrategy===`escape`?rkn(e):e}function rkn(e){let t=``;for(let n=0;n<e.length;n++)Ukn.has(e[n])||(t+=`\\`),t+=e[n];return t}function V7(e,t,n,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,...n&&r.errorMessages&&{errorMessage:{format:n}}})):e.format=t}function H7(e,t,n,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:ikn(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):e.pattern=ikn(t,r)}function ikn(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let n={i:e.flags.includes(`i`),m:e.flags.includes(`m`),s:e.flags.includes(`s`)},r=n.i?e.source.toLowerCase():e.source,i=``,a=!1,o=!1,s=!1;for(let e=0;e<r.length;e++){if(a){i+=r[e],a=!1;continue}if(n.i){if(o){if(r[e].match(/[a-z]/)){s?(i+=r[e],i+=`${r[e-2]}-${r[e]}`.toUpperCase(),s=!1):r[e+1]===`-`&&r[e+2]?.match(/[a-z]/)?(i+=r[e],s=!0):i+=`${r[e]}${r[e].toUpperCase()}`;continue}}else if(r[e].match(/[a-z]/)){i+=`[${r[e]}${r[e].toUpperCase()}]`;continue}}if(n.m){if(r[e]===`^`){i+=`(^|(?<=[\r
|
||
]))`;continue}else if(r[e]===`$`){i+=`($|(?=[\r
|
||
]))`;continue}}if(n.s&&r[e]===`.`){i+=o?`${r[e]}\r
|
||
`:`[${r[e]}\r
|
||
]`;continue}i+=r[e],r[e]===`\\`?a=!0:o&&r[e]===`]`?o=!1:!o&&r[e]===`[`&&(o=!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 akn(e,t){let n={type:`object`,additionalProperties:U7(e.valueType._def,{...t,currentPath:[...t.currentPath,`additionalProperties`]})??t.allowedAdditionalProperties};if(e.keyType?._def.typeName===P7.ZodString&&e.keyType._def.checks?.length){let{type:r,...i}=tkn(e.keyType._def,t);return{...n,propertyNames:i}}else if(e.keyType?._def.typeName===P7.ZodEnum)return{...n,propertyNames:{enum:e.keyType._def.values}};else if(e.keyType?._def.typeName===P7.ZodBranded&&e.keyType._def.type._def.typeName===P7.ZodString&&e.keyType._def.type._def.checks?.length){let{type:r,...i}=JOn(e.keyType._def,t);return{...n,propertyNames:i}}return n}function okn(e,t){return t.mapStrategy===`record`?akn(e,t):{type:`array`,maxItems:125,items:{type:`array`,items:[U7(e.keyType._def,{...t,currentPath:[...t.currentPath,`items`,`items`,`0`]})||B7(),U7(e.valueType._def,{...t,currentPath:[...t.currentPath,`items`,`items`,`1`]})||B7()],minItems:2,maxItems:2}}}function skn(e){let t=e.values,n=Object.keys(e.values).filter(e=>typeof t[t[e]]!=`number`).map(e=>t[e]),r=Array.from(new Set(n.map(e=>typeof e)));return{type:r.length===1?r[0]===`string`?`string`:`number`:[`string`,`number`],enum:n}}function ckn(){return{not:B7()}}function lkn(){return{type:`null`}}function ukn(e,t){let n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(e=>e._def.typeName in Z7&&(!e._def.checks||!e._def.checks.length))){let e=n.reduce((e,t)=>{let n=Z7[t._def.typeName];return n&&!e.includes(n)?[...e,n]:e},[]);return{type:e.length>1?e:e[0]}}else if(n.every(e=>e._def.typeName===`ZodLiteral`&&!e.description)){let e=n.reduce((e,t)=>{let n=typeof t._def.value;switch(n){case`string`:case`number`:case`boolean`:return[...e,n];case`bigint`:return[...e,`integer`];case`object`:if(t._def.value===null)return[...e,`null`];default:return e}},[]);if(e.length===n.length){let t=e.filter((e,t,n)=>n.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:n.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(n.every(e=>e._def.typeName===`ZodEnum`))return{type:`string`,enum:n.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return Wkn(e,t)}function dkn(e,t){if([`ZodString`,`ZodNumber`,`ZodBigInt`,`ZodBoolean`,`ZodNull`].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[Z7[e.innerType._def.typeName],`null`]};let n=U7(e.innerType._def,{...t,currentPath:[...t.currentPath,`anyOf`,`0`]});return n&&{anyOf:[n,{type:`null`}]}}function fkn(e){let t={type:`number`};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case`int`:t.type=`integer`;break;case`min`:n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case`max`:n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case`multipleOf`:t.multipleOf=n.value;break}return t}function pkn(e,t){let n={type:`object`,properties:{}},r=[],i=e.shape();for(let e in i){let a=i[e];if(a===void 0||a._def===void 0)continue;let o=hkn(a),s=U7(a._def,{...t,currentPath:[...t.currentPath,`properties`,e],propertyPath:[...t.currentPath,`properties`,e]});s!==void 0&&(n.properties[e]=s,o||r.push(e))}r.length&&(n.required=r);let a=mkn(e,t);return a!==void 0&&(n.additionalProperties=a),n}function mkn(e,t){if(e.catchall._def.typeName!==`ZodNever`)return U7(e.catchall._def,{...t,currentPath:[...t.currentPath,`additionalProperties`]});switch(e.unknownKeys){case`passthrough`:return t.allowedAdditionalProperties;case`strict`:return t.rejectedAdditionalProperties;case`strip`:return t.removeAdditionalStrategy===`strict`?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}function hkn(e){try{return e.isOptional()}catch{return!0}}function gkn(e,t){return U7(e.type._def,t)}function _kn(e,t){let n={type:`array`,uniqueItems:!0,items:U7(e.valueType._def,{...t,currentPath:[...t.currentPath,`items`]})};return e.minSize&&(n.minItems=e.minSize.value),e.maxSize&&(n.maxItems=e.maxSize.value),n}function vkn(e,t){return e.rest?{type:`array`,minItems:e.items.length,items:e.items.map((e,n)=>U7(e._def,{...t,currentPath:[...t.currentPath,`items`,`${n}`]})).reduce((e,t)=>t===void 0?e:[...e,t],[]),additionalItems:U7(e.rest._def,{...t,currentPath:[...t.currentPath,`additionalItems`]})}:{type:`array`,minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,n)=>U7(e._def,{...t,currentPath:[...t.currentPath,`items`,`${n}`]})).reduce((e,t)=>t===void 0?e:[...e,t],[])}}function ykn(){return{not:B7()}}function bkn(){return B7()}function U7(e,t,n=!1){let r=t.seen.get(e);if(t.override){let i=t.override?.call(t,e,t,r,n);if(i!==Lkn)return i}if(r&&!n){let e=Xkn(r,t);if(e!==void 0)return e}let i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);let a=Jkn(e,e.typeName,t),o=typeof a==`function`?U7(a(),t):a;if(o&&Zkn(e,t,o),t.postProcess){let n=t.postProcess(o,e,t);return i.jsonSchema=o,n}return i.jsonSchema=o,o}function xkn(e){let t;return()=>(t??=e(),t)}function W7(e,{validate:t}={}){return{[Q7]:!0,_type:void 0,get jsonSchema(){return typeof e==`function`&&(e=e()),e},validate:t}}function Skn(e){return typeof e==`object`&&!!e&&Q7 in e&&e[Q7]===!0&&`jsonSchema`in e&&`validate`in e}function Ckn(e){return e==null?W7({properties:{},additionalProperties:!1}):Skn(e)?e:`~standard`in e?e[`~standard`].vendor===`zod`?Okn(e):wkn(e):e()}function wkn(e){return W7(()=>R7(e[`~standard`].jsonSchema.input({target:`draft-07`})),{validate:async t=>{let n=await e[`~standard`].validate(t);return`value`in n?{success:!0,value:n.value}:{success:!1,error:new T5({value:t,cause:n.issues})}}})}function Tkn(e,t){let n=t?.useReferences??!1;return W7(()=>$kn(e,{$refStrategy:n?`root`:`none`}),{validate:async t=>{let n=await e.safeParseAsync(t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}function Ekn(e,t){let n=t?.useReferences??!1;return W7(()=>R7(va(e,{target:`draft-7`,io:`input`,reused:n?`ref`:`inline`})),{validate:async t=>{let n=await yo(e,t);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})}function Dkn(e){return`_zod`in e}function Okn(e,t){return Dkn(e)?Ekn(e,t):Tkn(e,t)}async function kkn({value:e,schema:t}){let n=await G7({value:e,schema:t});if(!n.success)throw T5.wrap({value:e,cause:n.error});return n.value}async function G7({value:e,schema:t}){let n=Ckn(t);try{if(n.validate==null)return{success:!0,value:e,rawValue:e};let t=await n.validate(e);return t.success?{success:!0,value:t.value,rawValue:e}:{success:!1,error:T5.wrap({value:e,cause:t.error}),rawValue:e}}catch(t){return{success:!1,error:T5.wrap({value:e,cause:t}),rawValue:e}}}async function K7({text:e,schema:t}){try{let n=WOn(e);return t==null?{success:!0,value:n,rawValue:n}:await G7({value:n,schema:t})}catch(t){return{success:!1,error:S5.isInstance(t)?t:new S5({text:e,cause:t}),rawValue:void 0}}}function Akn({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new LOn).pipeThrough(new TransformStream({async transform({data:e},n){e!==`[DONE]`&&n.enqueue(await K7({text:e,schema:t}))}}))}async function q7(e){return typeof e==`function`&&(e=e()),Promise.resolve(e)}var jkn,Mkn,Nkn,J7,Pkn,Fkn,Ikn,Lkn,Rkn,zkn,Bkn,Vkn,Hkn,Y7,X7,Ukn,Z7,Wkn,Gkn,Kkn,qkn,Jkn,Ykn,Xkn,Zkn,Qkn,$kn,Q7,eAn=c((()=>{JDn(),XDn(),NOn(),ROn(),zOn(),{btoa:jkn,atob:Mkn}=globalThis,Nkn=`AI_DownloadError`,`${Nkn}`,J7=({prefix:e,size:t=16,alphabet:n=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,separator:r=`-`}={})=>{let i=()=>{let e=n.length,r=Array(t);for(let i=0;i<t;i++)r[i]=n[Math.random()*e|0];return r.join(``)};if(e==null)return i;if(n.includes(r))throw new NDn({argument:`separator`,message:`The separator "${r}" must not be part of the alphabet "${n}".`});return()=>`${e}${r}${i()}`},Pkn=J7(),Fkn=/"__proto__"\s*:/,Ikn=/"constructor"\s*:/,Lkn=Symbol(`Let zodToJsonSchema decide on which parser to use`),Rkn={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`},zkn=e=>typeof e==`string`?{...Rkn,name:e}:{...Rkn,...e},Bkn=(e,t)=>U7(e.innerType._def,t),Vkn=e=>{let t={type:`integer`,format:`unix-time`};for(let n of e.checks)switch(n.kind){case`min`:t.minimum=n.value;break;case`max`:t.maximum=n.value;break}return t},Hkn=e=>`type`in e&&e.type===`string`?!1:`allOf`in e,Y7=void 0,X7={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:()=>(Y7===void 0&&(Y7=RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`)),Y7),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-_]*$/},Ukn=new Set(`ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789`),Z7={ZodString:`string`,ZodNumber:`number`,ZodBigInt:`integer`,ZodBoolean:`boolean`,ZodNull:`null`},Wkn=(e,t)=>{let n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,n)=>U7(e._def,{...t,currentPath:[...t.currentPath,`anyOf`,`${n}`]})).filter(e=>!!e&&(!t.strictUnions||typeof e==`object`&&Object.keys(e).length>0));return n.length?{anyOf:n}:void 0},Gkn=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return U7(e.innerType._def,t);let n=U7(e.innerType._def,{...t,currentPath:[...t.currentPath,`anyOf`,`1`]});return n?{anyOf:[{not:B7()},n]}:B7()},Kkn=(e,t)=>{if(t.pipeStrategy===`input`)return U7(e.in._def,t);if(t.pipeStrategy===`output`)return U7(e.out._def,t);let n=U7(e.in._def,{...t,currentPath:[...t.currentPath,`allOf`,`0`]});return{allOf:[n,U7(e.out._def,{...t,currentPath:[...t.currentPath,`allOf`,n?`1`:`0`]})].filter(e=>e!==void 0)}},qkn=(e,t)=>U7(e.innerType._def,t),Jkn=(e,t,n)=>{switch(t){case P7.ZodString:return tkn(e,n);case P7.ZodNumber:return fkn(e);case P7.ZodObject:return pkn(e,n);case P7.ZodBigInt:return KOn(e);case P7.ZodBoolean:return qOn();case P7.ZodDate:return YOn(e,n);case P7.ZodUndefined:return ykn();case P7.ZodNull:return lkn();case P7.ZodArray:return GOn(e,n);case P7.ZodUnion:case P7.ZodDiscriminatedUnion:return ukn(e,n);case P7.ZodIntersection:return $On(e,n);case P7.ZodTuple:return vkn(e,n);case P7.ZodRecord:return akn(e,n);case P7.ZodLiteral:return ekn(e);case P7.ZodEnum:return QOn(e);case P7.ZodNativeEnum:return skn(e);case P7.ZodNullable:return dkn(e,n);case P7.ZodOptional:return Gkn(e,n);case P7.ZodMap:return okn(e,n);case P7.ZodSet:return _kn(e,n);case P7.ZodLazy:return()=>e.getter()._def;case P7.ZodPromise:return gkn(e,n);case P7.ZodNaN:case P7.ZodNever:return ckn();case P7.ZodEffects:return ZOn(e,n);case P7.ZodAny:return B7();case P7.ZodUnknown:return bkn();case P7.ZodDefault:return XOn(e,n);case P7.ZodBranded:return JOn(e,n);case P7.ZodReadonly:return qkn(e,n);case P7.ZodCatch:return Bkn(e,n);case P7.ZodPipeline:return Kkn(e,n);case P7.ZodFunction:case P7.ZodVoid:case P7.ZodSymbol:return;default:return(e=>void 0)(t)}},Ykn=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join(`/`)},Xkn=(e,t)=>{switch(t.$refStrategy){case`root`:return{$ref:e.path.join(`/`)};case`relative`:return{$ref:Ykn(t.currentPath,e.path)};case`none`:case`seen`:return e.path.length<t.currentPath.length&&e.path.every((e,n)=>t.currentPath[n]===e)?(console.warn(`Recursive reference detected at ${t.currentPath.join(`/`)}! Defaulting to any`),B7()):t.$refStrategy===`seen`?B7():void 0}},Zkn=(e,t,n)=>(e.description&&(n.description=e.description),n),Qkn=e=>{let t=zkn(e),n=t.name===void 0?t.basePath:[...t.basePath,t.definitionPath,t.name];return{...t,currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([e,n])=>[n._def,{def:n._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:void 0}]))}},$kn=(e,t)=>{let n=Qkn(t),r=typeof t==`object`&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:U7(r._def,{...n,currentPath:[...n.basePath,n.definitionPath,t]},!0)??B7()}),{}):void 0,i=typeof t==`string`?t:t?.nameStrategy===`title`?void 0:t?.name,a=U7(e._def,i===void 0?n:{...n,currentPath:[...n.basePath,n.definitionPath,i]},!1)??B7(),o=typeof t==`object`&&t.name!==void 0&&t.nameStrategy===`title`?t.name:void 0;o!==void 0&&(a.title=o);let s=i===void 0?r?{...a,[n.definitionPath]:r}:a:{$ref:[...n.$refStrategy===`relative`?[]:n.basePath,n.definitionPath,i].join(`/`),[n.definitionPath]:{...r,[i]:a}};return s.$schema=`http://json-schema.org/draft-07/schema#`,s},Q7=Symbol.for(`vercel.ai.schema`)}));function tAn(e,t){if(e===void 0&&t===void 0)return;if(e===void 0)return t;if(t===void 0)return e;let n={...e};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let i=t[r];if(i===void 0)continue;let a=r in e?e[r]:void 0,o=typeof i==`object`&&!!i&&!Array.isArray(i)&&!(i instanceof Date)&&!(i instanceof RegExp),s=typeof a==`object`&&!!a&&!Array.isArray(a)&&!(a instanceof Date)&&!(a instanceof RegExp);o&&s?n[r]=tAn(a,i):n[r]=i}return n}function nAn(e){let t=[`ROOT`],n=-1,r=null;function i(e,i,a){switch(e){case`"`:n=i,t.pop(),t.push(a),t.push(`INSIDE_STRING`);break;case`f`:case`t`:case`n`:n=i,r=i,t.pop(),t.push(a),t.push(`INSIDE_LITERAL`);break;case`-`:t.pop(),t.push(a),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`:n=i,t.pop(),t.push(a),t.push(`INSIDE_NUMBER`);break;case`{`:n=i,t.pop(),t.push(a),t.push(`INSIDE_OBJECT_START`);break;case`[`:n=i,t.pop(),t.push(a),t.push(`INSIDE_ARRAY_START`);break}}function a(e,r){switch(e){case`,`:t.pop(),t.push(`INSIDE_OBJECT_AFTER_COMMA`);break;case`}`:n=r,t.pop();break}}function o(e,r){switch(e){case`,`:t.pop(),t.push(`INSIDE_ARRAY_AFTER_COMMA`);break;case`]`:n=r,t.pop();break}}for(let s=0;s<e.length;s++){let c=e[s];switch(t[t.length-1]){case`ROOT`:i(c,s,`FINISH`);break;case`INSIDE_OBJECT_START`:switch(c){case`"`:t.pop(),t.push(`INSIDE_OBJECT_KEY`);break;case`}`:n=s,t.pop();break}break;case`INSIDE_OBJECT_AFTER_COMMA`:switch(c){case`"`:t.pop(),t.push(`INSIDE_OBJECT_KEY`);break}break;case`INSIDE_OBJECT_KEY`:switch(c){case`"`:t.pop(),t.push(`INSIDE_OBJECT_AFTER_KEY`);break}break;case`INSIDE_OBJECT_AFTER_KEY`:switch(c){case`:`:t.pop(),t.push(`INSIDE_OBJECT_BEFORE_VALUE`);break}break;case`INSIDE_OBJECT_BEFORE_VALUE`:i(c,s,`INSIDE_OBJECT_AFTER_VALUE`);break;case`INSIDE_OBJECT_AFTER_VALUE`:a(c,s);break;case`INSIDE_STRING`:switch(c){case`"`:t.pop(),n=s;break;case`\\`:t.push(`INSIDE_STRING_ESCAPE`);break;default:n=s}break;case`INSIDE_ARRAY_START`:switch(c){case`]`:n=s,t.pop();break;default:n=s,i(c,s,`INSIDE_ARRAY_AFTER_VALUE`);break}break;case`INSIDE_ARRAY_AFTER_VALUE`:switch(c){case`,`:t.pop(),t.push(`INSIDE_ARRAY_AFTER_COMMA`);break;case`]`:n=s,t.pop();break;default:n=s;break}break;case`INSIDE_ARRAY_AFTER_COMMA`:i(c,s,`INSIDE_ARRAY_AFTER_VALUE`);break;case`INSIDE_STRING_ESCAPE`:t.pop(),n=s;break;case`INSIDE_NUMBER`:switch(c){case`0`:case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:n=s;break;case`e`:case`E`:case`-`:case`.`:break;case`,`:t.pop(),t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&o(c,s),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`&&a(c,s);break;case`}`:t.pop(),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`&&a(c,s);break;case`]`:t.pop(),t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&o(c,s);break;default:t.pop();break}break;case`INSIDE_LITERAL`:{let i=e.substring(r,s+1);!`false`.startsWith(i)&&!`true`.startsWith(i)&&!`null`.startsWith(i)?(t.pop(),t[t.length-1]===`INSIDE_OBJECT_AFTER_VALUE`?a(c,s):t[t.length-1]===`INSIDE_ARRAY_AFTER_VALUE`&&o(c,s)):n=s;break}}}let s=e.slice(0,n+1);for(let n=t.length-1;n>=0;n--)switch(t[n]){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 $7(e){if(e===void 0)return{value:void 0,state:`undefined-input`};let t=await K7({text:e});return t.success?{value:t.value,state:`successful-parse`}:(t=await K7({text:nAn(e)}),t.success?{value:t.value,state:`repaired-parse`}:{value:void 0,state:`failed-parse`})}function rAn(e){return e.type.startsWith(`data-`)}function iAn(e){return e.type.startsWith(`tool-`)}function aAn(e){return e.type===`dynamic-tool`}function e9(e){return iAn(e)||aAn(e)}function oAn(e){return e.type.split(`-`).slice(1).join(`-`)}function sAn({lastMessage:e,messageId:t}){return{message:e?.role===`assistant`?e:{id:t,metadata:void 0,role:`assistant`,parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function cAn({stream:e,messageMetadataSchema:t,dataPartSchemas:n,runUpdateMessageJob:r,onError:i,onToolCall:a,onData:o}){return e.pipeThrough(new TransformStream({async transform(e,s){await r(async({state:r,write:c})=>{function l(e){let t=r.message.parts.filter(e9).find(t=>t.toolCallId===e);if(t==null)throw Error(`no tool invocation found for tool call ${e}`);return t}function u(e){let t=r.message.parts.find(t=>iAn(t)&&t.toolCallId===e.toolCallId),n=e,i=t;t==null?r.message.parts.push({type:`tool-${e.toolName}`,toolCallId:e.toolCallId,state:e.state,title:e.title,input:n.input,output:n.output,rawInput:n.rawInput,errorText:n.errorText,providerExecuted:n.providerExecuted,preliminary:n.preliminary,...n.providerMetadata==null?{}:{callProviderMetadata:n.providerMetadata}}):(t.state=e.state,i.input=n.input,i.output=n.output,i.errorText=n.errorText,i.rawInput=n.rawInput,i.preliminary=n.preliminary,e.title!==void 0&&(i.title=e.title),i.providerExecuted=n.providerExecuted??t.providerExecuted,n.providerMetadata!=null&&t.state===`input-available`&&(t.callProviderMetadata=n.providerMetadata))}function d(e){let t=r.message.parts.find(t=>t.type===`dynamic-tool`&&t.toolCallId===e.toolCallId),n=e,i=t;t==null?r.message.parts.push({type:`dynamic-tool`,toolName:e.toolName,toolCallId:e.toolCallId,state:e.state,input:n.input,output:n.output,errorText:n.errorText,preliminary:n.preliminary,providerExecuted:n.providerExecuted,title:e.title,...n.providerMetadata==null?{}:{callProviderMetadata:n.providerMetadata}}):(t.state=e.state,i.toolName=e.toolName,i.input=n.input,i.output=n.output,i.errorText=n.errorText,i.rawInput=n.rawInput??i.rawInput,i.preliminary=n.preliminary,e.title!==void 0&&(i.title=e.title),i.providerExecuted=n.providerExecuted??t.providerExecuted,n.providerMetadata!=null&&t.state===`input-available`&&(t.callProviderMetadata=n.providerMetadata))}async function f(e){if(e!=null){let n=r.message.metadata==null?e:tAn(r.message.metadata,e);t!=null&&await kkn({value:n,schema:t}),r.message.metadata=n}}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),c();break}case`text-delta`:{let t=r.activeTextParts[e.id];t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,c();break}case`text-end`:{let t=r.activeTextParts[e.id];t.state=`done`,t.providerMetadata=e.providerMetadata??t.providerMetadata,delete r.activeTextParts[e.id],c();break}case`reasoning-start`:{let t={type:`reasoning`,text:``,providerMetadata:e.providerMetadata,state:`streaming`};r.activeReasoningParts[e.id]=t,r.message.parts.push(t),c();break}case`reasoning-delta`:{let t=r.activeReasoningParts[e.id];t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,c();break}case`reasoning-end`:{let t=r.activeReasoningParts[e.id];t.providerMetadata=e.providerMetadata??t.providerMetadata,t.state=`done`,delete r.activeReasoningParts[e.id],c();break}case`file`:r.message.parts.push({type:`file`,mediaType:e.mediaType,url:e.url}),c();break;case`source-url`:r.message.parts.push({type:`source-url`,sourceId:e.sourceId,url:e.url,title:e.title,providerMetadata:e.providerMetadata}),c();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}),c();break;case`tool-input-start`:{let t=r.message.parts.filter(iAn);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}),c();break}case`tool-input-delta`:{let t=r.partialToolCalls[e.toolCallId];t.text+=e.inputTextDelta;let{value:n}=await $7(t.text);t.dynamic?d({toolCallId:e.toolCallId,toolName:t.toolName,state:`input-streaming`,input:n,title:t.title}):u({toolCallId:e.toolCallId,toolName:t.toolName,state:`input-streaming`,input:n,title:t.title}),c();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}),c(),a&&!e.providerExecuted&&await a({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}),c();break;case`tool-approval-request`:{let t=l(e.toolCallId);t.state=`approval-requested`,t.approval={id:e.approvalId},c();break}case`tool-output-denied`:{let t=l(e.toolCallId);t.state=`output-denied`,c();break}case`tool-output-available`:{let t=l(e.toolCallId);t.type===`dynamic-tool`?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:oAn(t),state:`output-available`,input:t.input,output:e.output,providerExecuted:e.providerExecuted,preliminary:e.preliminary,title:t.title}),c();break}case`tool-output-error`:{let t=l(e.toolCallId);t.type===`dynamic-tool`?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:oAn(t),state:`output-error`,input:t.input,rawInput:t.rawInput,errorText:e.errorText,providerExecuted:e.providerExecuted,title:t.title}),c();break}case`start-step`:r.message.parts.push({type:`step-start`});break;case`finish-step`:r.activeTextParts={},r.activeReasoningParts={};break;case`start`:e.messageId!=null&&(r.message.id=e.messageId),await f(e.messageMetadata),(e.messageId!=null||e.messageMetadata!=null)&&c();break;case`finish`:e.finishReason!=null&&(r.finishReason=e.finishReason),await f(e.messageMetadata),e.messageMetadata!=null&&c();break;case`message-metadata`:await f(e.messageMetadata),e.messageMetadata!=null&&c();break;case`error`:i?.(Error(e.errorText));break;default:if(rAn(e)){n?.[e.type]!=null&&await kkn({value:e.data,schema:n[e.type]});let t=e;if(t.transient){o?.(t);break}let i=t.id==null?void 0:r.message.parts.find(e=>t.type===e.type&&t.id===e.id);i==null?r.message.parts.push(t):i.data=t.data,o?.(t),c()}}s.enqueue(e)})}}))}async function lAn({stream:e,onError:t}){let n=e.getReader();try{for(;;){let{done:e}=await n.read();if(e)break}}catch(e){t?.(e)}finally{n.releaseLock()}}async function uAn(e){if(e==null)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:n}=e;return{type:`file`,mediaType:n,filename:t,url:await new Promise((t,n)=>{let r=new FileReader;r.onload=e=>{t(e.target?.result)},r.onerror=e=>n(e),r.readAsDataURL(e)})}}))}function dAn({messages:e}){let t=e[e.length-1];if(!t||t.role!==`assistant`)return!1;let n=t.parts.reduce((e,t,n)=>t.type===`step-start`?n:e,-1),r=t.parts.slice(n+1).filter(e9).filter(e=>!e.providerExecuted);return r.length>0&&r.every(e=>e.state===`output-available`||e.state===`output-error`)}var fAn,pAn,mAn,hAn,gAn,_An,vAn,yAn,bAn,xAn,SAn,CAn,t9,wAn,TAn,EAn,DAn,OAn,kAn,AAn,jAn,MAn,n9,r9,NAn,PAn,FAn,IAn,LAn,RAn,zAn,BAn,VAn,HAn,UAn,WAn,GAn,KAn,qAn,JAn,YAn,XAn,ZAn,QAn,$An,ejn,tjn,njn,rjn,ijn=c((()=>{eAn(),JDn(),XDn(),fAn=Object.defineProperty,pAn=(e,t)=>{for(var n in t)fAn(e,n,{get:t[n],enumerable:!0})},mAn=`AI_InvalidArgumentError`,`${mAn}`,hAn=`AI_InvalidStreamPartError`,`${hAn}`,gAn=`AI_InvalidToolApprovalError`,`${gAn}`,_An=`AI_InvalidToolInputError`,`${_An}`,vAn=`AI_ToolCallNotFoundForApprovalError`,`${vAn}`,yAn=`AI_NoImageGeneratedError`,`${yAn}`,bAn=`AI_NoObjectGeneratedError`,xAn=`vercel.ai.error.${bAn}`,SAn=Symbol.for(xAn),t9=class extends _5{constructor({message:e=`No object generated.`,cause:t,text:n,response:r,usage:i,finishReason:a}){super({name:bAn,message:e,cause:t}),this[CAn]=!0,this.text=n,this.response=r,this.usage=i,this.finishReason=a}static isInstance(e){return _5.hasMarker(e,xAn)}},CAn=SAn,wAn=`AI_NoOutputGeneratedError`,`${wAn}`,TAn=`AI_NoSuchToolError`,`${TAn}`,EAn=`AI_ToolCallRepairError`,`${EAn}`,DAn=`AI_InvalidDataContentError`,`${DAn}`,OAn=`AI_InvalidMessageRoleError`,`${OAn}`,kAn=`AI_MessageConversionError`,`${kAn}`,AAn=`AI_RetryError`,`${AAn}`,jAn=`6.0.33`,MAn=zo([T(),ns(Uint8Array),ns(ArrayBuffer),$o(e=>globalThis.Buffer?.isBuffer(e)??!1,{message:`Must be a Buffer`})]),n9=Zo(()=>zo([jo(),T(),Oo(),Ao(),Uo(T(),n9.optional()),Io(n9)])),r9=Uo(T(),Uo(T(),n9.optional())),NAn=Lo({type:Ko(`text`),text:T(),providerOptions:r9.optional()}),PAn=Lo({type:Ko(`image`),image:zo([MAn,ns(URL)]),mediaType:T().optional(),providerOptions:r9.optional()}),FAn=Lo({type:Ko(`file`),data:zo([MAn,ns(URL)]),filename:T().optional(),mediaType:T(),providerOptions:r9.optional()}),IAn=Lo({type:Ko(`reasoning`),text:T(),providerOptions:r9.optional()}),LAn=Lo({type:Ko(`tool-call`),toolCallId:T(),toolName:T(),input:No(),providerOptions:r9.optional(),providerExecuted:Ao().optional()}),RAn=Bo(`type`,[Lo({type:Ko(`text`),value:T(),providerOptions:r9.optional()}),Lo({type:Ko(`json`),value:n9,providerOptions:r9.optional()}),Lo({type:Ko(`execution-denied`),reason:T().optional(),providerOptions:r9.optional()}),Lo({type:Ko(`error-text`),value:T(),providerOptions:r9.optional()}),Lo({type:Ko(`error-json`),value:n9,providerOptions:r9.optional()}),Lo({type:Ko(`content`),value:Io(zo([Lo({type:Ko(`text`),text:T(),providerOptions:r9.optional()}),Lo({type:Ko(`media`),data:T(),mediaType:T()}),Lo({type:Ko(`file-data`),data:T(),mediaType:T(),filename:T().optional(),providerOptions:r9.optional()}),Lo({type:Ko(`file-url`),url:T(),providerOptions:r9.optional()}),Lo({type:Ko(`file-id`),fileId:zo([T(),Uo(T(),T())]),providerOptions:r9.optional()}),Lo({type:Ko(`image-data`),data:T(),mediaType:T(),providerOptions:r9.optional()}),Lo({type:Ko(`image-url`),url:T(),providerOptions:r9.optional()}),Lo({type:Ko(`image-file-id`),fileId:zo([T(),Uo(T(),T())]),providerOptions:r9.optional()}),Lo({type:Ko(`custom`),providerOptions:r9.optional()})]))})]),zAn=Lo({type:Ko(`tool-result`),toolCallId:T(),toolName:T(),output:RAn,providerOptions:r9.optional()}),BAn=Lo({type:Ko(`tool-approval-request`),approvalId:T(),toolCallId:T()}),VAn=Lo({type:Ko(`tool-approval-response`),approvalId:T(),approved:Ao(),reason:T().optional()}),HAn=Lo({role:Ko(`system`),content:T(),providerOptions:r9.optional()}),UAn=Lo({role:Ko(`user`),content:zo([T(),Io(zo([NAn,PAn,FAn]))]),providerOptions:r9.optional()}),WAn=Lo({role:Ko(`assistant`),content:zo([T(),Io(zo([NAn,FAn,IAn,LAn,zAn,BAn]))]),providerOptions:r9.optional()}),GAn=Lo({role:Ko(`tool`),content:Io(zo([zAn,VAn])),providerOptions:r9.optional()}),zo([HAn,UAn,WAn,GAn]),KAn={},pAn(KAn,{array:()=>YAn,choice:()=>XAn,json:()=>ZAn,object:()=>JAn,text:()=>qAn}),qAn=()=>({name:`text`,responseFormat:Promise.resolve({type:`text`}),async parseCompleteOutput({text:e}){return e},async parsePartialOutput({text:e}){return{partial:e}},createElementStreamTransform(){}}),JAn=({schema:e,name:t,description:n})=>{let r=Ckn(e);return{name:`object`,responseFormat:q7(r.jsonSchema).then(e=>({type:`json`,schema:e,...t!=null&&{name:t},...n!=null&&{description:n}})),async parseCompleteOutput({text:e},t){let n=await K7({text:e});if(!n.success)throw new t9({message:`No object generated: could not parse the response.`,cause:n.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});let i=await G7({value:n.value,schema:r});if(!i.success)throw new t9({message:`No object generated: response did not match schema.`,cause:i.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});return i.value},async parsePartialOutput({text:e}){let t=await $7(e);switch(t.state){case`failed-parse`:case`undefined-input`:return;case`repaired-parse`:case`successful-parse`:return{partial:t.value}}},createElementStreamTransform(){}}},YAn=({element:e,name:t,description:n})=>{let r=Ckn(e);return{name:`array`,responseFormat:q7(r.jsonSchema).then(e=>{let{$schema:r,...i}=e;return{type:`json`,schema:{$schema:`http://json-schema.org/draft-07/schema#`,type:`object`,properties:{elements:{type:`array`,items:i}},required:[`elements`],additionalProperties:!1},...t!=null&&{name:t},...n!=null&&{description:n}}}),async parseCompleteOutput({text:e},t){let n=await K7({text:e});if(!n.success)throw new t9({message:`No object generated: could not parse the response.`,cause:n.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});let i=n.value;if(typeof i!=`object`||!i||!(`elements`in i)||!Array.isArray(i.elements))throw new t9({message:`No object generated: response did not match schema.`,cause:new T5({value:i,cause:`response must be an object with an elements array`}),text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});for(let n of i.elements){let i=await G7({value:n,schema:r});if(!i.success)throw new t9({message:`No object generated: response did not match schema.`,cause:i.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})}return i.elements},async parsePartialOutput({text:e}){let t=await $7(e);switch(t.state){case`failed-parse`:case`undefined-input`:return;case`repaired-parse`:case`successful-parse`:{let e=t.value;if(typeof e!=`object`||!e||!(`elements`in e)||!Array.isArray(e.elements))return;let n=t.state===`repaired-parse`&&e.elements.length>0?e.elements.slice(0,-1):e.elements,i=[];for(let e of n){let t=await G7({value:e,schema:r});t.success&&i.push(t.value)}return{partial:i}}}},createElementStreamTransform(){let e=0;return new TransformStream({transform({partialOutput:t},n){if(t!=null)for(;e<t.length;e++)n.enqueue(t[e])}})}}},XAn=({options:e,name:t,description:n})=>({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},...t!=null&&{name:t},...n!=null&&{description:n}}),async parseCompleteOutput({text:t},n){let r=await K7({text:t});if(!r.success)throw new t9({message:`No object generated: could not parse the response.`,cause:r.error,text:t,response:n.response,usage:n.usage,finishReason:n.finishReason});let i=r.value;if(typeof i!=`object`||!i||!(`result`in i)||typeof i.result!=`string`||!e.includes(i.result))throw new t9({message:`No object generated: response did not match schema.`,cause:new T5({value:i,cause:`response must be an object that contains a choice value.`}),text:t,response:n.response,usage:n.usage,finishReason:n.finishReason});return i.result},async parsePartialOutput({text:t}){let n=await $7(t);switch(n.state){case`failed-parse`:case`undefined-input`:return;case`repaired-parse`:case`successful-parse`:{let t=n.value;if(typeof t!=`object`||!t||!(`result`in t)||typeof t.result!=`string`)return;let r=e.filter(e=>e.startsWith(t.result));return n.state===`successful-parse`?r.includes(t.result)?{partial:t.result}:void 0:r.length===1?{partial:r[0]}:void 0}}},createElementStreamTransform(){}}),ZAn=({name:e,description:t}={})=>({name:`json`,responseFormat:Promise.resolve({type:`json`,...e!=null&&{name:e},...t!=null&&{description:t}}),async parseCompleteOutput({text:e},t){let n=await K7({text:e});if(!n.success)throw new t9({message:`No object generated: could not parse the response.`,cause:n.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});return n.value},async parsePartialOutput({text:e}){let t=await $7(e);switch(t.state){case`failed-parse`:case`undefined-input`:return;case`repaired-parse`:case`successful-parse`:return t.value===void 0?void 0:{partial:t.value}}},createElementStreamTransform(){}}),J7({prefix:`aitxt`,size:24}),QAn=xkn(()=>Okn(zo([Ro({type:Ko(`text-start`),id:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`text-delta`),id:T(),delta:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`text-end`),id:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`error`),errorText:T()}),Ro({type:Ko(`tool-input-start`),toolCallId:T(),toolName:T(),providerExecuted:Ao().optional(),dynamic:Ao().optional(),title:T().optional()}),Ro({type:Ko(`tool-input-delta`),toolCallId:T(),inputTextDelta:T()}),Ro({type:Ko(`tool-input-available`),toolCallId:T(),toolName:T(),input:No(),providerExecuted:Ao().optional(),providerMetadata:r9.optional(),dynamic:Ao().optional(),title:T().optional()}),Ro({type:Ko(`tool-input-error`),toolCallId:T(),toolName:T(),input:No(),providerExecuted:Ao().optional(),providerMetadata:r9.optional(),dynamic:Ao().optional(),errorText:T(),title:T().optional()}),Ro({type:Ko(`tool-approval-request`),approvalId:T(),toolCallId:T()}),Ro({type:Ko(`tool-output-available`),toolCallId:T(),output:No(),providerExecuted:Ao().optional(),dynamic:Ao().optional(),preliminary:Ao().optional()}),Ro({type:Ko(`tool-output-error`),toolCallId:T(),errorText:T(),providerExecuted:Ao().optional(),dynamic:Ao().optional()}),Ro({type:Ko(`tool-output-denied`),toolCallId:T()}),Ro({type:Ko(`reasoning-start`),id:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`reasoning-delta`),id:T(),delta:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`reasoning-end`),id:T(),providerMetadata:r9.optional()}),Ro({type:Ko(`source-url`),sourceId:T(),url:T(),title:T().optional(),providerMetadata:r9.optional()}),Ro({type:Ko(`source-document`),sourceId:T(),mediaType:T(),title:T(),filename:T().optional(),providerMetadata:r9.optional()}),Ro({type:Ko(`file`),url:T(),mediaType:T(),providerMetadata:r9.optional()}),Ro({type:$o(e=>typeof e==`string`&&e.startsWith(`data-`),{message:`Type must start with "data-"`}),id:T().optional(),data:No(),transient:Ao().optional()}),Ro({type:Ko(`start-step`)}),Ro({type:Ko(`finish-step`)}),Ro({type:Ko(`start`),messageId:T().optional(),messageMetadata:No().optional()}),Ro({type:Ko(`finish`),finishReason:Go([`stop`,`length`,`content-filter`,`tool-calls`,`error`,`other`]).optional(),messageMetadata:No().optional()}),Ro({type:Ko(`abort`),reason:T().optional()}),Ro({type:Ko(`message-metadata`),messageMetadata:No()})]))),J7({prefix:`aitxt`,size:24}),J7({prefix:`aiobj`,size:24}),$An=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,n)=>{this.queue.push(async()=>{try{await e(),t()}catch(e){n(e)}}),this.processQueue()})}},J7({prefix:`aiobj`,size:24}),ejn=`AI_NoSuchProviderError`,`${ejn}`,tjn=class{constructor({api:e=`/api/chat`,credentials:t,headers:n,body:r,fetch:i,prepareSendMessagesRequest:a,prepareReconnectToStreamRequest:o}){this.api=e,this.credentials=t,this.headers=n,this.body=r,this.fetch=i,this.prepareSendMessagesRequest=a,this.prepareReconnectToStreamRequest=o}async sendMessages({abortSignal:e,...t}){let n=await q7(this.body),r=await q7(this.headers),i=await q7(this.credentials),a={...L7(r),...L7(t.headers)},o=await this.prepareSendMessagesRequest?.call(this,{api:this.api,id:t.chatId,messages:t.messages,body:{...n,...t.body},headers:a,credentials:i,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId}),s=o?.api??this.api,c=o?.headers===void 0?a:L7(o.headers),l=o?.body===void 0?{...n,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,messageId:t.messageId}:o.body,u=o?.credentials??i,d=await(this.fetch??globalThis.fetch)(s,{method:`POST`,headers:VOn({"Content-Type":`application/json`,...c},`ai-sdk/${jAn}`,BOn()),body:JSON.stringify(l),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 q7(this.body),n=await q7(this.headers),r=await q7(this.credentials),i={...L7(n),...L7(e.headers)},a=await this.prepareReconnectToStreamRequest?.call(this,{api:this.api,id:e.chatId,body:{...t,...e.body},headers:i,credentials:r,requestMetadata:e.metadata}),o=a?.api??`${this.api}/${e.chatId}/stream`,s=a?.headers===void 0?i:L7(a.headers),c=a?.credentials??r,l=await(this.fetch??globalThis.fetch)(o,{method:`GET`,headers:VOn(s,`ai-sdk/${jAn}`,BOn()),credentials:c});if(l.status===204)return null;if(!l.ok)throw Error(await l.text()??`Failed to fetch the chat response.`);if(!l.body)throw Error(`The response body is empty.`);return this.processResponseStream(l.body)}},njn=class extends tjn{constructor(e={}){super(e)}processResponseStream(e){return Akn({stream:e,schema:QAn}).pipeThrough(new TransformStream({async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}},rjn=class{constructor({generateId:e=Pkn,id:t=e(),transport:n=new njn,messageMetadataSchema:r,dataPartSchemas:i,state:a,onError:o,onToolCall:s,onFinish:c,onData:l,sendAutomaticallyWhen:u}){this.activeResponse=void 0,this.jobExecutor=new $An,this.sendMessage=async(e,t)=>{if(e==null){await this.makeRequest({trigger:`submit-message`,messageId:this.lastMessage?.id,...t});return}let n;if(n=`text`in e||`files`in e?{parts:[...Array.isArray(e.files)?e.files:await uAn(e.files),...`text`in e&&e.text!=null?[{type:`text`,text:e.text}]:[]]}:e,e.messageId!=null){let t=this.state.messages.findIndex(t=>t.id===e.messageId);if(t===-1)throw Error(`message with id ${e.messageId} not found`);if(this.state.messages[t].role!==`user`)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,{...n,id:e.messageId,role:n.role??`user`,metadata:e.metadata})}else this.state.pushMessage({...n,id:n.id??this.generateId(),role:n.role??`user`,metadata:e.metadata});await this.makeRequest({trigger:`submit-message`,messageId:e.messageId,...t})},this.regenerate=async({messageId:e,...t}={})=>{let n=e==null?this.state.messages.length-1:this.state.messages.findIndex(t=>t.id===e);if(n===-1)throw Error(`message ${e} not found`);this.state.messages=this.state.messages.slice(0,this.messages[n].role===`assistant`?n:n+1),await this.makeRequest({trigger:`regenerate-message`,messageId:e,...t})},this.resumeStream=async(e={})=>{await this.makeRequest({trigger:`resume-stream`,...e})},this.clearError=()=>{this.status===`error`&&(this.state.error=void 0,this.setStatus({status:`ready`}))},this.addToolApprovalResponse=async({id:e,approved:t,reason:n})=>this.jobExecutor.run(async()=>{let r=this.state.messages,i=r[r.length-1],a=r=>e9(r)&&r.state===`approval-requested`&&r.approval.id===e?{...r,state:`approval-responded`,approval:{id:e,approved:t,reason:n}}:r;this.state.replaceMessage(r.length-1,{...i,parts:i.parts.map(a)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(a)),this.status!==`streaming`&&this.status!==`submitted`&&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:n,output:r,errorText:i})=>this.jobExecutor.run(async()=>{let t=this.state.messages,a=t[t.length-1],o=t=>e9(t)&&t.toolCallId===n?{...t,state:e,output:r,errorText:i}:t;this.state.replaceMessage(t.length-1,{...a,parts:a.parts.map(o)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(o)),this.status!==`streaming`&&this.status!==`submitted`&&this.sendAutomaticallyWhen?.call(this,{messages:this.state.messages})&&this.makeRequest({trigger:`submit-message`,messageId:this.lastMessage?.id})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{this.status!==`streaming`&&this.status!==`submitted`||this.activeResponse?.abortController&&this.activeResponse.abortController.abort()},this.id=t,this.transport=n,this.generateId=e,this.messageMetadataSchema=r,this.dataPartSchemas=i,this.state=a,this.onError=o,this.onToolCall=s,this.onFinish=c,this.onData=l,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:n,body:r,messageId:i}){var a;this.setStatus({status:`submitted`,error:void 0});let o=this.lastMessage,s=!1,c=!1,l=!1;try{let a={state:sAn({lastMessage:this.state.snapshot(o),messageId:this.generateId()}),abortController:new AbortController};a.abortController.signal.addEventListener(`abort`,()=>{s=!0}),this.activeResponse=a;let c;if(e===`resume-stream`){let e=await this.transport.reconnectToStream({chatId:this.id,metadata:t,headers:n,body:r});if(e==null){this.setStatus({status:`ready`});return}c=e}else c=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:a.abortController.signal,metadata:t,headers:n,body:r,trigger:e,messageId:i});await lAn({stream:cAn({stream:c,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:e=>this.jobExecutor.run(()=>e({state:a.state,write:()=>{this.setStatus({status:`streaming`}),a.state.message.id===this.lastMessage?.id?this.state.replaceMessage(this.state.messages.length-1,a.state.message):this.state.pushMessage(a.state.message)}})),onError:e=>{throw e}}),onError:e=>{throw e}}),this.setStatus({status:`ready`})}catch(e){if(s||e.name===`AbortError`)return s=!0,this.setStatus({status:`ready`}),null;l=!0,e instanceof TypeError&&(e.message.toLowerCase().includes(`fetch`)||e.message.toLowerCase().includes(`network`))&&(c=!0),this.onError&&e instanceof Error&&this.onError(e),this.setStatus({status:`error`,error:e})}finally{try{(a=this.onFinish)==null||a.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:s,isDisconnect:c,isError:l,finishReason:this.activeResponse?.state.finishReason})}catch(e){console.error(e)}this.activeResponse=void 0}this.sendAutomaticallyWhen?.call(this,{messages:this.state.messages})&&!l&&await this.makeRequest({trigger:`submit-message`,messageId:this.lastMessage?.id,metadata:t,headers:n,body:r})}}}));function ajn(e){if(!e.length)return``;for(var t=`arg`,n=0;n<e.length;++n){var r=void 0;e[n]===null||typeof e[n]!=`object`&&typeof e[n]!=`function`?r=typeof e[n]==`string`?`"`+e[n]+`"`:String(e[n]):i9.has(e[n])?r=i9.get(e[n]):(r=ojn,i9.set(e[n],ojn++)),t+=`@`+r}return t}var i9,ojn,sjn=c((()=>{i9=new WeakMap,ojn=0}));function cjn(e){if(typeof e==`function`)try{e=e()}catch{e=``}return e=Array.isArray(e)?ajn(e):String(e||``),e}var a9,ljn=c((()=>{sjn(),a9=function(){function e(e){e===void 0&&(e=0),this.items=new Map,this.ttl=e}return e.prototype.serializeKey=function(e){return cjn(e)},e.prototype.get=function(e){var t=this.serializeKey(e);return this.items.get(t)},e.prototype.set=function(e,t,n){var r=this.serializeKey(e),i=n||this.ttl,a=Date.now(),o={data:t,createdAt:a,expiresAt:i?a+i:1/0};this.dispatchExpire(i,o,r),this.items.set(r,o)},e.prototype.dispatchExpire=function(e,t,n){var r=this;e&&setTimeout(function(){Date.now()>=t.expiresAt&&r.delete(n)},e)},e.prototype.delete=function(e){this.items.delete(e)},e}()}));function ujn(){return navigator.onLine===void 0?!0:navigator.onLine}function djn(){return typeof document<`u`&&document.visibilityState!==void 0?document.visibilityState!==`hidden`:!0}var fjn,o9,pjn=c((()=>{fjn=function(e){return fetch(e).then(function(e){return e.json()})},o9={isOnline:ujn,isDocumentVisible:djn,fetcher:fjn}}));function mjn(e,t,n){var r=u9.get(e);r?r.data.push(t):u9.set(e,[t],n>0?n+5e3:n)}function hjn(e,t,n){if(n.isDocumentVisible()&&!(n.errorRetryCount!==void 0&&t>n.errorRetryCount)){var r=Math.min(t||0,n.errorRetryCount),i=r*n.errorRetryInterval;setTimeout(function(){e(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},i)}}function gjn(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i,a=s9({},xjn),o=!1,s=!1,c=cp(),l=c?.proxy||c;if(!l)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=l?.$isServer||!1;t.length>=1&&(r=t[0]),t.length>=2&&(i=t[1]),t.length>2&&(a=s9(s9({},a),t[2]));var d=u?a.serverTTL:a.ttl,f=typeof r==`function`?r:O(r);i===void 0&&(i=a.fetcher);var p=null;p||=$l({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null});var m=function(t,n){return c9(e,void 0,void 0,function(){var e,r,s,c,l,u,h,g=this;return l9(this,function(_){switch(_.label){case 0:return e=p.data===void 0,r=f.value,r?(s=a.cache.get(r),c=s&&s.data,p.isValidating=!0,p.isLoading=!c,c&&(p.data=c.data,p.error=c.error),l=t||i,!l||!a.isDocumentVisible()&&!e||n?.forceRevalidate!==void 0&&!n?.forceRevalidate||s&&(u=!!(Date.now()-s.createdAt>=a.dedupingInterval||n?.forceRevalidate),!u)?(p.isValidating=!1,p.isLoading=!1,[2]):(h=function(){return c9(g,void 0,void 0,function(){var e,t,i,s;return l9(this,function(c){switch(c.label){case 0:return e=d9.get(r),e?[3,2]:(t=Array.isArray(r)?r:[r],i=l.apply(void 0,yjn([],vjn(t),!1)),d9.set(r,i,a.dedupingInterval),[4,Sjn(r,i,a.cache,d)]);case 1:return c.sent(),[3,4];case 2:return[4,Sjn(r,e.data,a.cache,d)];case 3:c.sent(),c.label=4;case 4:return p.isValidating=!1,p.isLoading=!1,d9.delete(r),p.error!==void 0&&(s=!o&&a.shouldRetryOnError&&(n?n.shouldRetryOnError:!0),s&&hjn(m,n?n.errorRetryCount:1,a)),[2]}})})},c&&a.revalidateDebounce?(setTimeout(function(){return c9(g,void 0,void 0,function(){return l9(this,function(e){switch(e.label){case 0:return o?[3,2]:[4,h()];case 1:e.sent(),e.label=2;case 2:return[2]}})})},a.revalidateDebounce),[3,3]):[3,1])):[2];case 1:return[4,h()];case 2:_.sent(),_.label=3;case 3:return[2]}})})},h=function(){return c9(e,void 0,void 0,function(){return l9(this,function(e){return[2,m(null,{shouldRetryOnError:!1})]})})},g=null;Af(function(){var t=function(){return c9(e,void 0,void 0,function(){return l9(this,function(e){switch(e.label){case 0:return!p.error&&a.isOnline()?[4,m()]:[3,2];case 1:return e.sent(),[3,3];case 2:g&&clearTimeout(g),e.label=3;case 3:return a.refreshInterval&&!o&&(g=setTimeout(t,a.refreshInterval)),[2]}})})};a.refreshInterval&&(g=setTimeout(t,a.refreshInterval)),a.revalidateOnFocus&&(document.addEventListener(`visibilitychange`,h,!1),window.addEventListener(`focus`,h,!1))}),Nf(function(){o=!0,g&&clearTimeout(g),a.revalidateOnFocus&&(document.removeEventListener(`visibilitychange`,h,!1),window.removeEventListener(`focus`,h,!1));var e=u9.get(f.value);e&&(e.data=e.data.filter(function(e){return e!==p}))});try{nd(f,function(e){iu(f)||(f.value=e),p.key=e,p.isValidating=!!e,mjn(f.value,p,d),!u&&!s&&f.value&&m(),s=!1},{immediate:!0})}catch{}return s9(s9({},Bce(p)),{mutate:function(e,t){return m(e,s9(s9({},t),{forceRevalidate:!0}))}})}function _jn(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}var s9,c9,l9,vjn,yjn,bjn,u9,d9,xjn,Sjn,Cjn=c((()=>{U(),pjn(),ljn(),s9=function(){return s9=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s9.apply(this,arguments)},c9=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},l9=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw TypeError(`Generator is already executing.`);for(;n;)try{if(r=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,i=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if((a=n.trys,!(a=a.length>0&&a[a.length-1]))&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},vjn=function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},yjn=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},bjn=new a9,u9=new a9,d9=new a9,xjn={cache:bjn,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:o9.fetcher,isOnline:o9.isOnline,isDocumentVisible:o9.isDocumentVisible},Sjn=function(e,t,n,r){return n===void 0&&(n=bjn),r===void 0&&(r=xjn.ttl),c9(void 0,void 0,void 0,function(){var i,a,o,s,c,l,u;return l9(this,function(d){switch(d.label){case 0:if(!_jn(t))return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,t];case 2:return i=d.sent(),[3,4];case 3:return s=d.sent(),a=s,[3,4];case 4:return[3,6];case 5:i=t,d.label=6;case 6:if(o=!1,c={data:i,error:a,isValidating:o},i!==void 0)try{n.set(e,c,r)}catch(e){console.error(`swrv(mutate): failed to set cache`,e)}return l=u9.get(e),l&&l.data.length&&(u=l.data.filter(function(t){return t.key===e}),u.forEach(function(e,t){c.data!==void 0&&(e.data=c.data),e.error=c.error,e.isValidating=c.isValidating,e.isLoading=c.isValidating,t!==u.length-1&&delete u[t]}),u=u.filter(Boolean)),[2,c]}})})}})),wjn,Tjn=c((()=>{ljn(),Cjn(),wjn=gjn})),Ejn,Djn,Ojn=c((()=>{Tjn(),U(),ijn(),wjn.default,Ejn=class{constructor(e){this.statusRef=O(`ready`),this.errorRef=O(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=O(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}},Djn=class extends rjn{constructor({messages:e,...t}){super({...t,state:new Ejn(e)})}},wjn.default}));function kjn({registryDocuments:e,workspaceStore:t,baseUrl:n,proxyUrl:r,getAccessToken:i,getAgentKey:a}){let o=new Djn({sendAutomaticallyWhen:dAn,transport:new njn({api:`${n}/vector/openapi/chat`,headers:()=>Kwn({getAccessToken:i,getAgentKey:a}),body:()=>({registryDocuments:e.value})}),async onToolCall({toolCall:e}){e.dynamic||e.toolName===`execute-request`&&e.input.method.toLowerCase()===`get`&&await r5({documentSettings:$En(t),input:e.input,toolCallId:e.toolCallId,chat:o,proxyUrl:r.value})}});return o}function Ajn({initialRegistryDocuments:e,registryUrl:t,dashboardUrl:n,platformProxyUrl:r,baseUrl:i,mode:a,isLoggedIn:o,getAccessToken:s,getAgentKey:c,getActiveDocumentJson:l,prefilledMessageRef:u,hideAddApi:d}){let f=O(u?.value??``),p=O([]),m=$l({}),h=O([]),g=O(i5.DEFAULT_PROXY_URL),_=H(()=>g.value?.trim()||i5.DEFAULT_PROXY_URL),v=O(),y=nDn(),b=wq(),x=p8({plugins:[xDn({persistAuth:!0})]}),ee=H(()=>Mc.parse({proxyUrl:_.value,persistAuth:!0})),S=kjn({registryDocuments:p,workspaceStore:x,baseUrl:i,proxyUrl:_,getAccessToken:s,getAgentKey:c}),C=qwn({baseUrl:i,getAccessToken:s,getAgentKey:c}),te=H(()=>S.status===`submitted`||S.status===`streaming`&&!S.lastMessage?.parts.some(e=>e.type===`text`));nd(()=>S.status,()=>{S.status===`streaming`&&(f.value=``)}),u&&nd(u,async e=>{e&&(f.value=e,y.accepted.value&&await S.sendMessage({text:f.value}))});let ne=EM();async function re({namespace:e,slug:n,removable:r=!0,tmp:i=!1}){if(p.value.find(t=>t.namespace===e&&t.slug===n))return;let a=`@${e}/${n}`;m[a]=!0;let o=await h5({namespace:e,slug:n,workspaceStore:x,registryUrl:t,registryDocuments:p,config:ee.value,api:C,removable:r});if(m[a]=!1,!o.success)throw i?(vDn(),o.error):(console.warn(`[AGENT]: Unable to load document`,o.error),p9(`Unable to load the document @${e}/${n}`,`warn`),o.error)}async function w({namespace:e,slug:n,removable:r=!0}){if(p.value.find(t=>t.namespace===e&&t.slug===n))return;let a=`@${e}/${n}`;m[a]=!0;let o=await v8.fromUnsafe(()=>fetch(`${i}/vector/registry/embeddings/${e}/${n}`,{method:`GET`}),e=>h8(`FAILED_TO_GET_EMBEDDING_STATUS`,e));if(o.success&&o.data.ok){let i=await h5({namespace:e,slug:n,workspaceStore:x,registryUrl:t,registryDocuments:p,config:ee.value,api:C,removable:r});i.success||(console.warn(`[AGENT]: Unable to load document`,i.error),p9(`Unable to load the document @${e}/${n}`,`warn`))}else console.warn(`[AGENT]: Document could not be embedded`),p9(`Unable to embed the document @${e}/${n}`,`warn`);m[a]=!1}function ie({namespace:e,slug:t}){p.value=p.value.filter(n=>!(n.namespace===e&&n.slug===t)),x.deleteDocument(Ywn(e,t))}return e.forEach(({namespace:e,slug:t})=>re({namespace:e,slug:t,removable:!1})),{prompt:f,chat:S,workspaceStore:x,eventBus:b,loading:te,settingsModal:ne,config:ee,registryUrl:t,dashboardUrl:n,platformProxyUrl:r,baseUrl:i,registryDocuments:p,pendingDocuments:m,proxyUrl:_,proxyUrlRaw:g,mode:a,terms:y,isLoggedIn:o,addDocument:re,addDocumentAsync:w,removeDocument:ie,getAccessToken:s,getAgentKey:c,api:C,uploadedTmpDocumentUrl:v,curatedDocuments:h,getActiveDocumentJson:l,hideAddApi:d}}function f9(){let e=$u(jjn);if(!e)throw Error(`No state provided.`);return e}var jjn,p9,m9=c((()=>{g8(),Jwn(),Xwn(),x8(),XEn(),a5(),c5(),rDn(),m5(),SDn(),CDn(),U(),tP(),Ojn(),Y(),Pc(),Eq(),ijn(),y8(),jjn=Symbol(`STATE_SYMBOL`),{toast:p9}=QN()}));function Mjn(){let{api:e,addDocument:t,mode:n,getAgentKey:r}=f9(),{toast:i}=QN();Af(async()=>{if(n!==`full`||!r)return;let a=await e.getKeyDocuments();if(!a.success){i(`Failed to fetch your OpenAPI document. The Agent key may be invalid.`,`error`);return}a.data.documents.forEach(({namespace:e,slug:n})=>t({namespace:e,slug:n,removable:!1}))})}var Njn=c((()=>{m9(),U(),tP()}));function Pjn(){let e=f9();function t(e){let t=e?.parts.at(-1);if(t&&t.type===`text`)return t.text}nd([()=>e.chat.status,()=>t(e.chat.lastMessage)],async()=>{await Ku(),window.scrollTo(0,document.body.scrollHeight)})}var Fjn=c((()=>{m9(),U()}));function Ijn(){let{api:e,curatedDocuments:t}=f9();Af(async()=>{let n=await e.getCuratedDocuments();n.success&&(t.value=n.data.results)})}var Ljn=c((()=>{m9(),U()})),h9,g9=c((()=>{h9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n}})),Rjn,zjn=c((()=>{Ec(),Rjn=`ask-for-authentication`,Lo({documentName:T(),uniqueIdentifier:T().describe(`Needed for legacy support for old clients`)})})),Bjn=c((()=>{Ec(),Lo({question:T()})}));function Vjn(e,t){return N(),P(`div`,Ujn,[...t[0]||=[Ud(`<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 Hjn,Ujn,Wjn,Gjn=c((()=>{g9(),U(),Hjn={},Ujn={class:`authenticationProvided`},Wjn=h9(Hjn,[[`render`,Vjn],[`__scopeId`,`data-v-e3416cd5`]])}));function Kjn(e,t){return N(),P(`div`,Jjn,[...t[0]||=[Ud(`<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 qjn,Jjn,Yjn,Xjn=c((()=>{g9(),U(),qjn={},Jjn={class:`authenticationRequired`},Yjn=h9(qjn,[[`render`,Kjn],[`__scopeId`,`data-v-d15ef40b`]])})),Zjn=c((()=>{Vvn()})),Qjn,$jn=c((()=>{m9(),U(),a3(),Zjn(),aw(),Qjn=j({__name:`Auth`,props:{options:{},name:{},authStore:{},document:{},eventBus:{},selectedServer:{},environment:{}},setup(e){let{workspaceStore:t}=f9(),n=H(()=>G4(e.document?.security)),r=H(()=>n3(e.document?.components?.securitySchemes??{},e.options.authentication?.securitySchemes,e.authStore,e.name)),i=H(()=>Y4(e.authStore.getAuthSelectedSchemas({type:`document`,documentName:e.name}),void 0,n.value,r.value,e.options.authentication?.preferredSecurityScheme)),a=lu(),{focused:o}=FMe(a);return nd(o,n=>{n&&t.update(`x-scalar-active-document`,e.name)}),(t,o)=>(N(),P(`div`,{ref_key:`focusRef`,ref:a,tabindex:`0`},[Object.keys(r.value).length?(N(),F(k(l6),{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:n.value,securitySchemes:r.value,selectedSecurity:i.value,server:e.selectedServer,title:`Authentication`},null,8,[`authStore`,`documentSlug`,`environment`,`eventBus`,`persistAuth`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`server`])):R(``,!0)],512))}})})),eMn,tMn=c((()=>{$jn(),eMn=Qjn})),nMn,rMn,iMn,aMn,oMn=c((()=>{zjn(),m9(),Gjn(),Xjn(),tMn(),U(),Y(),a3(),EC(),nMn={class:`toggleButton`},rMn={class:`authContent`},iMn={class:`authContentInner`},aMn=j({__name:`AskForAuthentication`,props:{messagePart:{}},setup(e){let{workspaceStore:t,eventBus:n,config:r,chat:i}=f9(),a=H(()=>e.messagePart.value.input?.documentName),o=H(()=>{if(a.value)return t.workspace.documents[a.value]}),s=H(()=>{if(o.value)return H4(t,o.value).environment}),c=H(()=>{if(!o.value)return;let e=r3(o.value.servers,{documentUrl:o.value[`x-scalar-original-source-url`]});return i3(o.value,null,null,e)}),l=H(()=>a.value&&s.value&&c.value);async function u(){await i.addToolOutput({toolCallId:e.messagePart.value.toolCallId,output:`Authentication provided.`,tool:Rjn,state:`output-available`})}return(i,d)=>(N(),P(`div`,{class:E([`askForAuthentication`,{open:l.value}])},[I(`div`,nMn,[e.messagePart.value.state===`output-available`?(N(),F(Wjn,{key:0})):R(``,!0),e.messagePart.value.state===`input-available`?(N(),F(Yjn,{key:1})):R(``,!0),e.messagePart.value.state===`input-available`?(N(),F(k(KS),{key:2,class:`authorizeButton`,size:`xs`,onClick:u},{default:A(()=>[d[0]||=L(` Authorize `,-1),V(k(CSe),{weight:`bold`})]),_:1})):R(``,!0)]),I(`div`,rMn,[I(`div`,iMn,[a.value&&o.value&&s.value&&c.value?(N(),F(eMn,{key:0,authStore:k(t).auth,document:o.value,environment:s.value,eventBus:k(n),name:a.value,options:k(r),selectedServer:c.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`name`,`options`,`selectedServer`])):R(``,!0)])])],2))}})})),sMn,cMn=c((()=>{g9(),oMn(),sMn=h9(aMn,[[`__scopeId`,`data-v-fd5c15f7`]])}));function lMn(e,t){return N(),P(`div`,dMn,[...t[0]||=[Ud(`<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 uMn,dMn,fMn,pMn=c((()=>{g9(),U(),uMn={},dMn={class:`autosendPaused`},fMn=h9(uMn,[[`render`,lMn],[`__scopeId`,`data-v-d08225db`]])}));function mMn(e,t){return N(),P(`div`,gMn,[...t[0]||=[I(`div`,{class:`playIcon`},[I(`svg`,{fill:`currentColor`,height:`32`,viewBox:`0 0 256 256`,width:`32`,xmlns:`http://www.w3.org/2000/svg`},[I(`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),L(` Building Request... `,-1)]])}var hMn,gMn,_Mn,vMn=c((()=>{g9(),U(),hMn={},gMn={class:`buildingRequest`},_Mn=h9(hMn,[[`render`,mMn],[`__scopeId`,`data-v-5749c429`]])}));function yMn(e,t){return N(),P(`div`,xMn,[...t[0]||=[Ud(`<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 bMn,xMn,SMn,CMn=c((()=>{g9(),U(),bMn={},xMn={class:`requestApproved`},SMn=h9(bMn,[[`render`,yMn],[`__scopeId`,`data-v-bb311586`]])}));function wMn(e,t){return N(),P(`div`,EMn,[...t[0]||=[I(`i`,{class:`requestFailedIcon`},[I(`svg`,{fill:`currentColor`,height:`100%`,viewBox:`0 0 256 256`,width:`100%`,xmlns:`http://www.w3.org/2000/svg`},[I(`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),L(` Request Failed `,-1)]])}var TMn,EMn,DMn,OMn=c((()=>{g9(),U(),TMn={},EMn={class:`requestFailed`},DMn=h9(TMn,[[`render`,wMn],[`__scopeId`,`data-v-bc27e533`]])}));function kMn(e,t){return N(),P(`div`,jMn,[...t[0]||=[I(`svg`,{fill:`currentColor`,height:`16`,viewBox:`0 0 256 256`,width:`16`,xmlns:`http://www.w3.org/2000/svg`},[I(`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),L(` Request Rejected `,-1)]])}var AMn,jMn,MMn,NMn=c((()=>{g9(),U(),AMn={},jMn={class:`requestRejected`},MMn=h9(AMn,[[`render`,kMn],[`__scopeId`,`data-v-9803a54c`]])}));function PMn(e,t){return N(),P(`div`,IMn,[...t[0]||=[Ud(`<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 FMn,IMn,LMn,RMn=c((()=>{g9(),U(),FMn={},IMn={class:`requestSuccess`},LMn=h9(FMn,[[`render`,PMn],[`__scopeId`,`data-v-acc2c0d8`]])}));function zMn(e){let t=BMn[e];if(t)return t;if(e.endsWith(`+json`))return{extension:`.json`,raw:!0,language:`json`}}var BMn,VMn=c((()=>{BMn={"application/epub+zip":{extension:`.epub`},"application/gzip":{extension:`.gz`},"application/java-archive":{extension:`.jar`},"application/javascript":{extension:`.js`,raw:!0},"application/json":{extension:`.json`,raw:!0,language:`json`},"application/ld+json":{extension:`.jsonld`,raw:!0,language:`json`},"application/problem+json":{extension:`.json`,raw:!0,language:`json`},"application/vnd.api+json":{extension:`.json`,raw:!0,language:`json`},"application/dns-json":{extension:`.json`,raw:!0,language:`json`},"application/msword":{extension:`.doc`},"application/octet-stream":{extension:`.bin`},"application/ogg":{extension:`.ogx`},"application/pdf":{extension:`.pdf`,preview:`object`},"application/rtf":{extension:`.rtf`,raw:!0},"application/vnd.amazon.ebook":{extension:`.azw`},"application/vnd.apple.installer+xml":{extension:`.mpkg`,raw:!0,language:`xml`},"application/vnd.mozilla.xul+xml":{extension:`.xul`,raw:!0,language:`xml`},"application/vnd.ms-excel":{extension:`.xls`},"application/vnd.ms-fontobject":{extension:`.eot`},"application/vnd.ms-powerpoint":{extension:`.ppt`},"application/vnd.oasis.opendocument.presentation":{extension:`.odp`},"application/vnd.oasis.opendocument.spreadsheet":{extension:`.ods`},"application/vnd.oasis.opendocument.text":{extension:`.odt`},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:`.pptx`},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:`.xlsx`},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:`.docx`},"application/vnd.rar":{extension:`.rar`},"application/vnd.visio":{extension:`.vsd`},"application/x-7z-compressed":{extension:`.7z`},"application/x-abiword":{extension:`.abw`},"application/x-bzip":{extension:`.bz`},"application/x-bzip2":{extension:`.bz2`},"application/x-cdf":{extension:`.cda`},"application/x-csh":{extension:`.csh`},"application/x-freearc":{extension:`.arc`},"application/x-httpd-php":{extension:`.php`,raw:!0},"application/x-sh":{extension:`.sh`,raw:!0},"application/x-tar":{extension:`.tar`},"application/xhtml+xml":{extension:`.xhtml`,raw:!0,language:`html`},"application/xml":{extension:`.xml`,raw:!0,language:`xml`},"application/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"application/zip":{extension:`.zip`},"audio/aac":{extension:`.aac`},"audio/midi":{extension:`.midi`},"audio/mpeg":{extension:`.mp3`,preview:`audio`},"audio/ogg":{extension:`.oga`},"audio/wav":{extension:`.wav`},"audio/webm":{extension:`.weba`},"font/otf":{extension:`.otf`},"font/ttf":{extension:`.ttf`},"font/woff":{extension:`.woff`},"font/woff2":{extension:`.woff2`},"image/apng":{extension:`.apng`,preview:`image`,alpha:!0},"image/avif":{extension:`.avif`,preview:`image`},"image/bmp":{extension:`.bmp`,preview:`image`},"image/gif":{extension:`.gif`,preview:`image`,alpha:!0},"image/jpeg":{extension:`.jpg`,preview:`image`},"image/png":{extension:`.png`,preview:`image`,alpha:!0},"image/svg+xml":{extension:`.svg`,raw:!0,language:`xml`,preview:`image`,alpha:!0},"image/tiff":{extension:`.tiff`},"image/vnd.microsoft.icon":{extension:`.ico`,preview:`image`},"image/webp":{extension:`.webp`,preview:`image`,alpha:!0},"text/calendar":{extension:`.ics`,raw:!0},"text/css":{extension:`.css`,raw:!0,language:`css`},"text/csv":{extension:`.csv`,raw:!0},"text/html":{extension:`.html`,raw:!0,language:`html`,preview:`object`},"text/javascript":{extension:`.js`,raw:!0},"text/plain":{extension:`.txt`,raw:!0},"text/xml":{extension:`.xml`,raw:!0,language:`xml`},"text/yaml":{extension:`.yaml`,raw:!0,language:`yaml`},"video/3gpp":{extension:`.3gp`},"audio/3gpp":{extension:`.3gp`},"video/3gpp2":{extension:`.3g2`},"audio/3gpp2":{extension:`.3g2`},"video/mp2t":{extension:`.ts`},"video/mp4":{extension:`.mp4`,preview:`video`},"video/mpeg":{extension:`.mpeg`},"video/ogg":{extension:`.ogv`},"video/webm":{extension:`.webm`,preview:`video`},"video/x-msvideo":{extension:`.avi`}}}));function HMn(e){let t=``;if(e){let n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];n&&(t=GMn(n.trim()))}return t}function UMn({data:e,headers:t}){let n=qMn(t),r=n.find(e=>e.name.toLowerCase()===`content-type`),i=r?.value?new WMn.default(r.value):void 0;return{mimeType:i,attachmentFilename:HMn(n.find(e=>e.name.toLowerCase()===`content-disposition`)?.value??``),dataUrl:KMn(e)?URL.createObjectURL(e):typeof e==`string`?URL.createObjectURL(new Blob([e],{type:i?i.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:i?i.toString():void 0})):``}}var WMn,GMn,KMn,qMn,JMn=c((()=>{WMn=f(IN(),1),GMn=e=>{try{return decodeURIComponent(e)}catch{return e}},KMn=e=>e instanceof Blob,qMn=e=>e?Object.keys(e).map(t=>({name:t,value:e[t]??``})):[]}));function YMn(e,t){return N(),P(`div`,ZMn,[I(`div`,QMn,[M(e.$slots,`default`)])])}var XMn,ZMn,QMn,$Mn,eNn=c((()=>{g9(),U(),XMn={},ZMn={class:`flex justify-center px-2 py-3`},QMn={class:`text-c-3 p-2 text-sm`},$Mn=h9(XMn,[[`render`,YMn]])})),tNn,nNn,rNn,iNn,aNn,oNn=c((()=>{eNn(),U(),tNn=[`src`],nNn=[`src`,`type`],rNn=[`src`,`type`],iNn=[`data`,`type`],aNn=j({__name:`ResponseBodyPreview`,props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=O(!1);return nd(()=>e.src,()=>{t.value=!1}),(n,r)=>!t.value&&e.src?(N(),P(`div`,{key:0,class:E([`flex justify-center overflow-auto rounded-b`,{"bg-preview p-2":e.alpha}])},[e.mode===`image`?(N(),P(`img`,{key:0,class:E([`h-full max-w-full`,{rounded:e.alpha}]),src:e.src,onError:r[0]||=e=>t.value=!0},null,42,tNn)):e.mode===`video`?(N(),P(`video`,{key:1,autoplay:``,controls:``,width:`100%`,onError:r[1]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,nNn)],32)):e.mode===`audio`?(N(),P(`audio`,{key:2,class:`my-12`,controls:``,onError:r[2]||=e=>t.value=!0},[I(`source`,{src:e.src,type:e.type},null,8,rNn)],32)):(N(),P(`object`,{key:3,class:`aspect-[4/3] w-full`,data:e.src,type:e.type,onError:r[3]||=e=>t.value=!0},null,40,iNn))],2)):(N(),F($Mn,{key:1},{default:A(()=>[...r[4]||=[L(`Preview unavailable`,-1)]]),_:1}))}})})),sNn,cNn=c((()=>{g9(),oNn(),sNn=h9(aNn,[[`__scopeId`,`data-v-92f84612`]])})),lNn,uNn=c((()=>{U(),Y(),lNn=j({__name:`ResponseBodyRaw`,props:{content:{},language:{}},setup(e){let t=e;return(n,r)=>(N(),F(k(wA),{class:`codeBlock`,content:t.content,lang:e.language},null,8,[`content`,`lang`]))}})})),dNn,fNn=c((()=>{uNn(),dNn=lNn})),pNn,mNn=c((()=>{eNn(),cNn(),fNn(),U(),pNn=j({__name:`ResponseBody`,props:{data:{},responseBody:{},mediaConfig:{},display:{}},setup(e){return nd(()=>e.display,e=>console.log(e)),(t,n)=>(N(),P(B,null,[e.mediaConfig?.raw&&e.display===`raw`&&e.mediaConfig.language?(N(),F(dNn,{key:e.responseBody.dataUrl,content:e.data,language:e.mediaConfig.language},null,8,[`content`,`language`])):R(``,!0),e.mediaConfig?.preview&&e.display===`preview`?(N(),F(sNn,{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`])):R(``,!0),!e.mediaConfig?.raw&&!e.mediaConfig?.preview?(N(),F($Mn,{key:2},{default:A(()=>[...n[0]||=[L(` Binary file `,-1)]]),_:1})):R(``,!0)],64))}})})),hNn,gNn=c((()=>{mNn(),hNn=pNn})),_Nn,vNn,yNn=c((()=>{U(),_Nn={class:`text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5`},vNn=j({__name:`ResponseBodyToggle`,props:{modelValue:{}},emits:[`toggle`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),P(`div`,_Nn,[I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`preview`}]),type:`button`,onClick:r[0]||=$p(e=>n(`toggle`,`preview`),[`stop`])},` Preview `,2),I(`button`,{class:E([`hover:bg-b-3 rounded px-1`,{"bg-b-3 text-c-1 cursor-default":e.modelValue===`raw`}]),type:`button`,onClick:r[1]||=$p(e=>n(`toggle`,`raw`),[`stop`])},` Raw `,2)]))}})})),bNn,xNn=c((()=>{yNn(),bNn=vNn}));function SNn(e,t){return N(),P(`div`,wNn,[...t[0]||=[I(`div`,{class:`playIcon`},[I(`svg`,{fill:`currentColor`,height:`32`,viewBox:`0 0 256 256`,width:`32`,xmlns:`http://www.w3.org/2000/svg`},[I(`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),L(` Sending Request to Endpoint `,-1)]])}var CNn,wNn,TNn,ENn=c((()=>{g9(),U(),CNn={},wNn={class:`sendingRequest`},TNn=h9(CNn,[[`render`,SNn],[`__scopeId`,`data-v-65dc6dfb`]])})),DNn,ONn,kNn,ANn,jNn,MNn,NNn,PNn,FNn=c((()=>{pMn(),vMn(),CMn(),OMn(),NMn(),RMn(),VMn(),JMn(),gNn(),xNn(),ENn(),U(),Y(),EC(),DNn={key:1,class:`autosendContainer`},ONn={key:2,class:`autosendContainer`},kNn={class:`requestContent`},ANn={class:`requestContentInner`},jNn={key:0,class:`code`},MNn={key:1,class:`code`},NNn={class:`requestHeaderContainer`},PNn=j({__name:`RequestPreview`,props:{request:{},response:{},state:{}},setup(e){let t=H(()=>{if(e.response?.success)return{data:e.response.data.responseBody,headers:e.response.data.headers};if(e.response?.error?.code===`REQUEST_NOT_OK`)return{data:e.response.error.detail.responseBody,headers:e.response.error.detail.headers}}),n=O(!1),r=H(()=>e.state===`requestFailed`||e.state===`requiresApproval`?!0:n.value),i=H(()=>UMn({data:t.value?.data,headers:t.value?.headers})),a=H(()=>zMn(i.value.mimeType?.essence??``)),o=O();function s(e){o.value=e}let c=H(()=>o.value?o.value:a.value?.raw&&!a.value.preview?`raw`:a.value?.preview?`preview`:`raw`);return(o,l)=>(N(),P(`div`,{class:E([`requestPreview`,{open:r.value,succeeded:e.state===`requestSucceeded`}])},[e.state===`approved`?(N(),F(SMn,{key:0})):e.state===`buildingRequest`?(N(),P(`div`,DNn,[V(_Mn)])):e.state===`requiresApproval`?(N(),P(`div`,ONn,[V(fMn)])):e.state===`sendingRequest`?(N(),P(`button`,{key:3,class:`toggleButton`,type:`button`,onClick:l[0]||=e=>n.value=!n.value},[V(TNn),r.value?(N(),F(k(oC),{key:0})):(N(),F(k(sC),{key:1}))])):e.state===`requestSucceeded`?(N(),P(`button`,{key:4,class:`toggleButton`,type:`button`,onClick:l[1]||=e=>n.value=!n.value},[V(LMn),r.value?(N(),F(k(oC),{key:0})):(N(),F(k(sC),{key:1}))])):e.state===`rejected`?(N(),P(`button`,{key:5,class:`toggleButton`,type:`button`,onClick:l[2]||=e=>n.value=!n.value},[V(MMn),r.value?(N(),F(k(oC),{key:0})):(N(),F(k(sC),{key:1}))])):e.state===`requestFailed`?(N(),F(DMn,{key:6})):R(``,!0),I(`div`,kNn,[I(`div`,ANn,[e.request?(N(),P(`div`,jNn,[l[4]||=I(`div`,{class:`requestHeaderContainer`},[I(`h1`,null,`Request`)],-1),V(k(wA),{class:`codeBlock`,content:JSON.stringify(e.request,null,2),lang:`json`},null,8,[`content`])])):R(``,!0),t.value?(N(),P(`div`,MNn,[I(`div`,NNn,[l[5]||=I(`h1`,null,`Response`,-1),a.value?.raw&&a.value.preview?(N(),F(bNn,{key:0,modelValue:c.value,"onUpdate:modelValue":l[3]||=e=>c.value=e,onToggle:s},null,8,[`modelValue`])):R(``,!0)]),V(hNn,{data:t.value.data,display:c.value,mediaConfig:a.value,responseBody:i.value},null,8,[`data`,`display`,`mediaConfig`,`responseBody`])])):R(``,!0)])])],2))}})})),INn,LNn=c((()=>{g9(),FNn(),INn=h9(PNn,[[`__scopeId`,`data-v-0eb5f95d`]])}));function RNn(e){return e.type===`tool-execute-request`&&e.state===`input-available`&&e.input?.method?.toLowerCase()!==`get`}function zNn(){let e=f9(),t=H(()=>e.chat.messages.filter(e=>e.parts.some(RNn)).flatMap(e=>e.parts).filter(RNn));async function n(n){let r=t.value.map(async t=>{if(!n)return await e.chat.addToolOutput({tool:b8,toolCallId:t.toolCallId,state:`output-error`,errorText:`The user denied the request.`});await r5({documentSettings:$En(e.workspaceStore),proxyUrl:e.proxyUrl.value,input:t.input,toolCallId:t.toolCallId,chat:e.chat})});await Promise.all(r)}return{approvalRequiredParts:t,respondToRequestApprovals:n}}var BNn=c((()=>{x8(),XEn(),c5(),m9(),U()})),VNn,HNn,UNn=c((()=>{m9(),LNn(),BNn(),U(),VNn={class:`executeRequestTool`},HNn=j({__name:`ExecuteRequestTool`,props:{messagePart:{}},setup(e){let t=f9(),n=H(()=>e.messagePart.value.state===`input-streaming`?`buildingRequest`:e.messagePart.value.state===`approval-responded`&&t.chat.status===`submitted`?`sendingRequest`:RNn(e.messagePart.value)?`requiresApproval`:e.messagePart.value.state===`output-available`?e.messagePart.value.output.success?`requestSucceeded`:`requestFailed`:e.messagePart.value.state===`output-error`?`rejected`:null);return(t,r)=>(N(),P(`div`,VNn,[n.value?(N(),F(INn,{key:0,request:e.messagePart.value.input,response:e.messagePart.value.output,state:n.value},null,8,[`request`,`response`,`state`])):R(``,!0)]))}})})),WNn,GNn=c((()=>{g9(),UNn(),WNn=h9(HNn,[[`__scopeId`,`data-v-3e825a81`]])}));function KNn(e,t){return N(),P(`div`,JNn,[...t[0]||=[I(`div`,{class:`playIcon`},null,-1),L(` Loading APIs... `,-1)]])}var qNn,JNn,YNn,XNn=c((()=>{g9(),U(),qNn={},JNn={class:`loadingApiSpecs`},YNn=h9(qNn,[[`render`,KNn],[`__scopeId`,`data-v-9d9724d2`]])})),ZNn,QNn,$Nn=c((()=>{XNn(),U(),ZNn={key:0},QNn=j({__name:`GetOpenAPISpecsSummary`,props:{messagePart:{},message:{}},setup(e){let t=O(!1);return nd(()=>e.message,()=>{let n=e.message.parts;t.value=!!n[n.findIndex(t=>`toolCallId`in t&&t.toolCallId===e.messagePart.value.toolCallId)+1]}),(e,n)=>t.value?R(``,!0):(N(),P(`div`,ZNn,[V(YNn)]))}})})),ePn,tPn=c((()=>{$Nn(),ePn=QNn})),nPn,rPn,iPn=c((()=>{U(),nPn={class:`contextItemText`},rPn=j({__name:`ContextItem`,props:{loading:{type:Boolean}},setup(e){return(t,n)=>(N(),P(`div`,{class:E([`contextItem`,{shimmer:e.loading}])},[I(`span`,nPn,[M(t.$slots,`default`,{},void 0,!0)])],2))}})})),_9,aPn=c((()=>{g9(),iPn(),_9=h9(rPn,[[`__scopeId`,`data-v-e6786ce3`]])}));function oPn(e,t){return N(),P(`div`,cPn,[...t[0]||=[I(`div`,{class:`playIcon`},null,-1),L(` Retrieving relevant information... `,-1)]])}var sPn,cPn,lPn,uPn=c((()=>{g9(),U(),sPn={},cPn={class:`sendingRequest`},lPn=h9(sPn,[[`render`,oPn],[`__scopeId`,`data-v-6e0ac42c`]])})),dPn,fPn,pPn,mPn,hPn,gPn=c((()=>{c5(),m9(),aPn(),uPn(),U(),Y(),dPn={key:0},fPn={key:1,class:`operations`},pPn={class:`overflowPopover`},mPn=5,hPn=j({__name:`SearchOpenAPIOperationsTool`,props:{messagePart:{},message:{}},setup(e){let t=O(!1);nd(()=>e.message,()=>{let n=e.message.parts;t.value=!!n[n.findIndex(t=>`toolCallId`in t&&t.toolCallId===e.messagePart.value.toolCallId)+1]});let n=H(()=>{if(e.messagePart.value.output)return e.messagePart.value.output.flatMap(e=>{let t=e.info?.title;return ZEn(e).map(e=>`${t?`${t} - `:``}${e.summary??``}`).filter(Boolean)})}),r=H(()=>n.value?.slice(0,mPn)),i=H(()=>n.value?.slice(mPn)??[]),a=f9();return(o,s)=>(N(),P(B,null,[e.messagePart.value.state===`input-available`&&k(a).chat.status===`streaming`?(N(),P(`div`,dPn,[V(lPn)])):R(``,!0),n.value?(N(),P(`div`,fPn,[(N(!0),P(B,null,yd(r.value,e=>(N(),F(_9,{key:e,loading:!t.value},{default:A(()=>[L(D(e),1)]),_:2},1032,[`loading`]))),128)),i.value.length?(N(),F(k(OM),{key:0,placement:`bottom-start`},{popover:A(()=>[I(`div`,pPn,[(N(!0),P(B,null,yd(i.value,e=>(N(),F(_9,{key:e,loading:!t.value},{default:A(()=>[L(D(e),1)]),_:2},1032,[`loading`]))),128))])]),default:A(()=>[V(_9,{loading:!t.value},{default:A(()=>[L(` +`+D(i.value.length),1)]),_:1},8,[`loading`])]),_:1})):R(``,!0)])):R(``,!0)],64))}})})),_Pn,vPn=c((()=>{g9(),gPn(),_Pn=h9(hPn,[[`__scopeId`,`data-v-43dd2b86`]])})),yPn,bPn=c((()=>{U(),Y(),yPn=j({__name:`Text`,props:{messagePart:{}},setup(e){return(t,n)=>(N(),F(k(_M),{value:e.messagePart.value.text},null,8,[`value`]))}})})),xPn,SPn=c((()=>{bPn(),xPn=yPn})),v9,CPn=c((()=>{v9={LIMIT_REACHED:`LIMIT_REACHED`}})),wPn,TPn=c((()=>{wPn=1e4}));function EPn(){let{api:e}=f9(),t=O(``),n=pMe(async t=>{let n=await e.search(t);n.success&&(i.value=n.data.results)},200),r=H({get:()=>t.value,set:e=>{n(e),t.value=e}}),i=O([]);return n(``),{query:r,results:i}}var DPn=c((()=>{m9(),U(),aw()})),OPn,kPn,APn,jPn,MPn,NPn,PPn,FPn,IPn,LPn=c((()=>{m9(),DPn(),U(),Y(),OPn={key:0,class:`catalog custom-scroll`},kPn=[`onClick`],APn={class:`left`},jPn=[`src`],MPn={class:`right`},NPn={class:`item-top`},PPn={class:`version`},FPn={class:`description`},IPn=j({__name:`Catalog`,props:{modal:{}},setup(e){let t=EPn(),n=f9(),r=H(()=>t.results.value.filter(e=>!n.registryDocuments.value.some(t=>t.namespace===e.namespace&&t.slug===e.slug)).map(e=>({...e,label:e.title,id:e.id})));return(i,a)=>(N(),F(k(DM),{class:`catalogModal`,state:e.modal},{default:A(()=>[V(k(kM),{autofocus:``,class:`searchInput`,modelValue:k(t).query.value,"onUpdate:modelValue":a[0]||=e=>k(t).query.value=e??``},null,8,[`modelValue`]),r.value.length?(N(),P(`div`,OPn,[(N(!0),P(B,null,yd(r.value,t=>(N(),P(`button`,{key:t.id,class:`item`,type:`button`,onClick:()=>{k(n).addDocument(t),e.modal.hide()}},[I(`div`,APn,[t.logoUrl?(N(),P(`img`,{key:0,class:`logo`,src:t.logoUrl},null,8,jPn)):(N(),F(k(nM),{key:1,class:`logo`,logo:`Openapi`}))]),I(`div`,MPn,[I(`div`,NPn,[I(`span`,null,D(t.title),1),I(`span`,PPn,`v`+D(t.currentVersion),1)]),I(`span`,FPn,` @`+D(t.namespace)+`/`+D(t.slug),1)])],8,kPn))),128))])):R(``,!0)]),_:1},8,[`state`]))}})})),RPn,zPn=c((()=>{g9(),LPn(),RPn=h9(IPn,[[`__scopeId`,`data-v-bc24f891`]])})),BPn,VPn,HPn,UPn=c((()=>{zPn(),U(),Y(),EC(),BPn={class:`dropdown-item`},VPn={class:`dropdown-item`},HPn=j({__name:`ActionsDropdown`,emits:[`uploadApi`],setup(e){let t=EM();return(e,n)=>(N(),P(B,null,[V(k(Rj),{offset:{crossAxis:-5,mainAxis:5}},{items:A(()=>[V(k(Hj),{onClick:n[0]||=t=>e.$emit(`uploadApi`)},{default:A(()=>[I(`div`,BPn,[V(k(uAe)),n[2]||=L(` Upload API `,-1)])]),_:1}),V(k(Hj),{onClick:n[1]||=e=>k(t).show()},{default:A(()=>[I(`div`,VPn,[V(k(_C)),n[3]||=L(` Search Catalog `,-1)])]),_:1})]),default:A(()=>[M(e.$slots,`default`,{},void 0,!0)]),_:3}),k(t).open?(N(),F(RPn,{key:0,modal:k(t)},null,8,[`modal`])):R(``,!0)],64))}})})),WPn,GPn=c((()=>{g9(),UPn(),WPn=h9(HPn,[[`__scopeId`,`data-v-2d142bb5`]])})),KPn,qPn,JPn,YPn,XPn=c((()=>{U(),EC(),KPn={class:`approvalSection`},qPn={class:`approvalText flex items-center gap-1.5`},JPn={class:`approveContainer`},YPn=j({__name:`ApprovalSection`,emits:[`approve`,`reject`],setup(e,{emit:t}){let n=t;return(e,t)=>(N(),P(`div`,KPn,[I(`strong`,qPn,[V(k(hC),{class:`text-blue size-4`,weight:`bold`}),t[2]||=L(` One or more requests require approval. `,-1)]),I(`div`,JPn,[I(`button`,{type:`button`,class:`actionButton rejectButton`,onClick:t[0]||=e=>n(`reject`)},` Reject `),I(`button`,{type:`button`,class:`actionButton approveButton`,onClick:t[1]||=e=>n(`approve`)},` Approve `)])]))}})})),ZPn,QPn=c((()=>{g9(),XPn(),ZPn=h9(YPn,[[`__scopeId`,`data-v-a7e6c699`]])}));function $Pn(){let{chat:e}=f9();return H(()=>{if(!e.error)return;let t=eDn(e.error.message),n=eFn.safeParse(t);return!t||!n.success?{message:e.error.message,code:`UNKNOWN_ERROR`}:n.data})}var eFn,tFn=c((()=>{c5(),m9(),U(),hDn(),eFn=d5({message:u5(),code:u5(),status:oDn(aDn())})})),nFn,rFn,iFn=c((()=>{CPn(),U(),EC(),nFn={key:0,class:`error gap-1.5`},rFn=j({__name:`ErrorMessage`,props:{error:{}},setup(e){let t=[v9.LIMIT_REACHED];return(n,r)=>t.includes(e.error.code)?R(``,!0):(N(),P(`div`,nFn,[V(k(hC),{class:`text-red size-4`,weight:`bold`}),L(` `+D(e.error.message),1)]))}})})),aFn,oFn=c((()=>{g9(),iFn(),aFn=h9(rFn,[[`__scopeId`,`data-v-63a481da`]])}));function sFn(){let{dashboardUrl:e,mode:t,uploadedTmpDocumentUrl:n}=f9(),r=H(()=>t===`full`?e:n.value?`${e}/register?flow=oss-agent&docUrl=${n.value}`:e);function i(){window.location.assign(r.value)}return{signupLink:r,navigateToSignup:i}}var cFn=c((()=>{m9(),U()})),lFn,uFn,dFn,fFn,pFn,mFn,hFn=c((()=>{a5(),cFn(),U(),EC(),lFn={class:`freeMessagesInfoSection`},uFn={class:`infoText flex items-center gap-1.5`},dFn=[`href`],fFn={class:`actionsContainer`},pFn=[`href`],mFn=j({__name:`FreeMessagesInfoSection`,setup(e){let t=O(!1),{signupLink:n}=sFn();function r(){t.value=!0}return(e,i)=>Xu((N(),P(`div`,lFn,[I(`strong`,uFn,[V(k(hC),{class:`text-blue size-4`,weight:`bold`}),I(`a`,{class:`underline`,href:k(n),target:`_blank`},`Sign up for Agent Scalar`,8,dFn),i[0]||=L(` to continue without hitting limits. `,-1)]),I(`div`,fFn,[I(`a`,{class:`actionButton upgradeButton`,href:k(i5).AGENT_SCALAR_DOCUMENTATION,target:`_blank`,type:`button`},` Read more `,8,pFn),I(`button`,{"aria-label":`Close`,class:`closeButton`,type:`button`,onClick:r},[V(k(TC),{class:`size-4`,weight:`bold`})])])],512)),[[Rp,!t.value]])}})})),gFn,_Fn=c((()=>{g9(),hFn(),gFn=h9(mFn,[[`__scopeId`,`data-v-913a3815`]])})),vFn,yFn,bFn,xFn,SFn=c((()=>{cFn(),U(),EC(),vFn={class:`paymentSection`},yFn={class:`approvalText flex items-center gap-1.5`},bFn={class:`paymentContainer`},xFn=j({__name:`PaymentSection`,setup(e){let{navigateToSignup:t}=sFn();return(e,n)=>(N(),P(`div`,vFn,[I(`strong`,yFn,[V(k(hC),{class:`text-blue size-4`,weight:`bold`}),n[1]||=L(` You've reached your free message limit. Unlock unlimited access by upgrading now. `,-1)]),I(`div`,bFn,[I(`button`,{class:`actionButton approveButton`,type:`button`,onClick:n[0]||=(...e)=>k(t)&&k(t)(...e)},` Upgrade `),n[2]||=Ud(`<div class="paymentInfo" data-v-91e028d5><h3 data-v-91e028d5>$72 <span data-v-91e028d5>/ month</span></h3><div class="paymentInfoSection" data-v-91e028d5><div class="paymentInfoItem" data-v-91e028d5><span data-v-91e028d5>Seat minimum</span><span data-v-91e028d5>3</span></div><div class="paymentInfoItem" data-v-91e028d5><span data-v-91e028d5>Base monthly total</span><span data-v-91e028d5>$72.00</span></div></div><div class="paymentInfoSection" data-v-91e028d5><div class="paymentInfoItem" data-v-91e028d5><span data-v-91e028d5>Messages</span><span data-v-91e028d5>250</span></div><div class="paymentInfoItem" data-v-91e028d5><span data-v-91e028d5>Additional Messages</span><span data-v-91e028d5>+ $0.02 Message</span></div></div></div>`,1)])]))}})})),CFn,wFn=c((()=>{g9(),SFn(),CFn=h9(xFn,[[`__scopeId`,`data-v-91e028d5`]])})),TFn,EFn,DFn,OFn,kFn=c((()=>{m9(),DPn(),U(),Y(),EC(),TFn=[`onClick`],EFn=[`src`],DFn={key:1,class:`searchResultsEmpty`},OFn=j({__name:`SearchPopover`,setup(e){let t=f9(),n=EPn(),r=H(()=>n.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,i)=>(N(),F(k(OM),{offset:0,placement:`top-start`,resize:``,style:{width:`220px`}},{popover:A(({close:e})=>[V(k(UM),{autofocus:``,class:`searchInput`,modelValue:k(n).query.value,placeholder:`Add an API`,"onUpdate:modelValue":i[0]||=e=>k(n).query.value=e??``},{prefix:A(()=>[V(k(_C),{class:`searchIcon`})]),_:1},8,[`modelValue`]),r.value.length?(N(!0),P(B,{key:0},yd(r.value,n=>(N(),P(`button`,{key:n.id,class:`searchItem`,type:`button`,onClick:()=>{k(t).addDocument(n),e()}},[n.logoUrl?(N(),P(`img`,{key:0,class:`searchItemLogo`,src:n.logoUrl},null,8,EFn)):R(``,!0),I(`span`,null,D(n.title),1)],8,TFn))),128)):(N(),P(`span`,DFn,` No APIs found `))]),default:A(()=>[M(e.$slots,`default`,{},void 0,!0)]),_:3}))}})})),AFn,jFn=c((()=>{g9(),kFn(),AFn=h9(OFn,[[`__scopeId`,`data-v-7945f74c`]])})),MFn,NFn,PFn,FFn,IFn,LFn,RFn,zFn=c((()=>{U(),Y(),EC(),MFn={key:0,class:`flex items-center gap-1.5`},NFn={key:0,class:`uploadText`},PFn={key:1,class:`uploadText`},FFn={key:2,class:`uploadText`},IFn={key:1,class:`uploadText flex items-center gap-1.5`},LFn={key:2,class:`uploadText flex items-center gap-1.5`},RFn=j({__name:`UploadSection`,props:{uploadState:{}},setup(e){let t=WS(),n=H(()=>[`uploading`,`processing`,`loading`].includes(e.uploadState.type));return(r,i)=>(N(),P(`div`,{class:E([`uploadSection`,{error:e.uploadState.type===`error`,done:e.uploadState.type===`done`}])},[n.value?(N(),P(`div`,MFn,[V(k(HS),{class:`text-blue`,loader:{...k(t),isLoading:!0},size:`lg`},null,8,[`loader`]),e.uploadState.type===`loading`?(N(),P(`strong`,NFn,` Loading OpenAPI document… `)):e.uploadState.type===`processing`?(N(),P(`strong`,PFn,` Processing OpenAPI document… `)):(N(),P(`strong`,FFn,` Uploading OpenAPI document… `))])):R(``,!0),e.uploadState.type===`done`?(N(),P(`strong`,IFn,[V(k(cC),{class:`icon text-green`}),i[0]||=L(` Your OpenAPI document has been processed successfully. `,-1)])):R(``,!0),e.uploadState.type===`error`?(N(),P(`strong`,LFn,[V(k(pje),{class:`icon text-red`}),L(` `+D(e.uploadState.error),1)])):R(``,!0)],2))}})})),BFn,VFn=c((()=>{g9(),zFn(),BFn=h9(RFn,[[`__scopeId`,`data-v-9551cf83`]])}));function HFn(e){return e.type.startsWith(`tool`)&&e.state===`input-available`}function UFn(){let e=f9();return{pendingClientToolParts:H(()=>e.chat.messages.filter(e=>e.parts.some(HFn)).flatMap(e=>e.parts).filter(HFn))}}var WFn=c((()=>{m9(),U()})),GFn,KFn,qFn,JFn,YFn,XFn,ZFn,QFn,$Fn,eIn,tIn,nIn,rIn,iIn,aIn,oIn,sIn,cIn=c((()=>{CPn(),TPn(),m5(),m9(),BNn(),GPn(),QPn(),tFn(),oFn(),_Fn(),wFn(),jFn(),VFn(),WFn(),U(),Y(),EC(),GFn={class:`actionContainer`},KFn=[`disabled`],qFn={class:`inputActionsContainer`},JFn={class:`inputActionsLeft`},YFn={class:`addAPIButton`,type:`button`},XFn={class:`addAPIButton`,type:`button`},ZFn=[`src`],QFn=[`onClick`],$Fn={class:`inputActionsRight`},eIn={class:`sendCheckboxContinue`},tIn={key:0,class:`relative flex items-center gap-1.5`},nIn={class:`termsAgree`,for:`agentTermsAgree`},rIn={key:5,class:`addMoreContext`},iIn={class:`ml-auto flex items-center gap-1`},aIn=[`onClick`],oIn=[`alt`,`src`],sIn=j({__name:`PromptForm`,emits:[`submit`,`uploadApi`],setup(e,{expose:t,emit:n}){let r=n;t({focusPrompt:u});let i=fd(`agentPrompt`),a=f9(),o=H(()=>a.prompt.value.trim().length>0),s=H(()=>a.prompt.value.trim().length>wPn),c=H(()=>a.chat.messages.length>1&&!a.getAgentKey?.()&&y?.value?.code!==v9.LIMIT_REACHED);nd(a.prompt,()=>{if(i?.value){if(!a.prompt.value.length){i.value.style.height=`0px`;return}i.value.style.height=`auto`,i.value.style.height=i.value.scrollHeight+`px`}});function l(e){a.loading.value||e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),v(),window.scrollTo(0,document.body.scrollHeight))}function u(){i.value?.focus()}nd(()=>a.chat.status,e=>{(e===`ready`||e===`error`)&&i.value?.focus()});let{approvalRequiredParts:d,respondToRequestApprovals:f}=zNn(),{pendingClientToolParts:p}=UFn(),m=yDn();function h(){a.terms.accept(),a.mode===`preview`&&a.getActiveDocumentJson&&m.uploadTempDocument(a.getActiveDocumentJson(),!0)}let g=H(()=>Object.values(a.pendingDocuments).some(Boolean)),_=H(()=>{let e=s.value,t=!o.value,n=d.value.length>0,r=p.value.length>0,i=a.mode===`preview`,c=i&&!a.terms.accepted.value,l=i&&!!m.uploadState.value,u=g.value;return e||t||n||r||c||l||u});function v(){_.value||r(`submit`)}let y=$Pn();return(e,t)=>(N(),P(`div`,GFn,[k(m).uploadState.value||g.value?(N(),F(BFn,{key:0,uploadState:k(m).uploadState.value??{type:`loading`}},null,8,[`uploadState`])):R(``,!0),k(y)?(N(),F(aFn,{key:1,error:k(y)},null,8,[`error`])):R(``,!0),k(d).length?(N(),F(ZPn,{key:2,onApprove:t[0]||=e=>k(f)(!0),onReject:t[1]||=e=>k(f)(!1)})):R(``,!0),k(y)?.code===k(v9).LIMIT_REACHED?(N(),F(CFn,{key:3})):R(``,!0),c.value?(N(),F(gFn,{key:4})):R(``,!0),I(`form`,{class:`promptForm`,onSubmit:$p(v,[`prevent`])},[t[6]||=I(`label`,{class:`agentLabel`,for:`agentTextarea`},` Type a Request To get Started `,-1),Xu(I(`textarea`,{id:`agentTextarea`,ref:`agentPrompt`,"onUpdate:modelValue":t[2]||=e=>k(a).prompt.value=e,class:`prompt custom-scroll`,disabled:k(a).loading.value,name:`prompt`,placeholder:`Ask me anything…`,onKeydown:l},null,40,KFn),[[Xp,k(a).prompt.value]]),I(`div`,qFn,[I(`div`,JFn,[k(a).hideAddApi?R(``,!0):(N(),P(B,{key:0},[k(a).isLoggedIn?.value?(N(),F(WPn,{key:1,onUploadApi:t[3]||=t=>e.$emit(`uploadApi`)},{default:A(()=>[I(`button`,XFn,[V(k(yC),{class:`size-4`,weight:`bold`})])]),_:1})):(N(),F(AFn,{key:0},{default:A(()=>[I(`button`,YFn,[V(k(yC),{class:`size-4`,weight:`bold`})])]),_:1}))],64)),(N(!0),P(B,null,yd(k(a).registryDocuments.value,e=>(N(),P(`div`,{key:e.id,class:`apiPill`},[e.logoUrl?(N(),P(`img`,{key:0,class:`apiPillLogo`,src:e.logoUrl},null,8,ZFn)):R(``,!0),L(` `+D(e.title)+` `,1),e.removable?(N(),P(`button`,{key:1,class:`apiPillRemove`,type:`button`,onClick:t=>k(a).removeDocument(e)},[V(k(TC),{class:`size-4`,weight:`bold`})],8,QFn)):R(``,!0)]))),128))]),I(`div`,$Fn,[k(a).loading.value?R(``,!0):(N(),F(k(mM),{key:0,content:`Settings`},{default:A(()=>[V(k(hM),{class:`settingsButton h-7 w-7 p-1.5`,icon:k(gC),label:`Scalar`,size:`md`,weight:`bold`,onClick:t[4]||=e=>k(a).settingsModal.show()},null,8,[`icon`])]),_:1})),I(`div`,eIn,[!k(a).terms.accepted.value&&k(a).mode===`preview`?(N(),P(`div`,tIn,[I(`input`,{id:`agentTermsAgree`,class:`sr-only`,type:`checkbox`,onChange:h},null,32),I(`label`,nIn,[V(k(cC),{class:`termsAgreeIcon`,weight:`bold`}),t[5]||=L(` Agree to Terms & Conditions `,-1)])])):R(``,!0),k(a).loading.value?(N(),F(k(HS),{key:2,class:`loader h-7 w-7`,loader:{isLoading:k(a).loading.value,isValid:!1,clear:async()=>{},invalidate:async()=>{},isInvalid:!1,isActive:!1,validate:async()=>{},start:()=>{}},size:`2xl`},null,8,[`loader`])):(N(),F(k(hM),{key:1,class:`sendButton h-7 w-7 p-1.5`,disabled:_.value,icon:k(nC),label:`Scalar`,size:`md`,type:`submit`,weight:`bold`},null,8,[`disabled`,`icon`]))])])])],32),k(a).chat.messages.length<=1&&!k(a).hideAddApi?(N(),P(`div`,rIn,[t[7]||=I(`span`,null,`Load additional APIs`,-1),I(`div`,iIn,[(N(!0),P(B,null,yd(k(a).curatedDocuments.value,e=>(N(),P(`button`,{key:e.id,class:`addAPIContext`,type:`button`,onClick:t=>k(a).addDocument(e)},[e.logoUrl?(N(),P(`img`,{key:0,alt:e.title,class:`size-4`,src:e.logoUrl},null,8,oIn)):R(``,!0)],8,aIn))),128))])])):R(``,!0)]))}})})),lIn,uIn=c((()=>{g9(),cIn(),lIn=h9(sIn,[[`__scopeId`,`data-v-e7c7c266`]])})),dIn,fIn,pIn,mIn,hIn=c((()=>{zjn(),x8(),Bjn(),m9(),cMn(),GNn(),tPn(),vPn(),SPn(),uIn(),U(),dIn={class:`chat`},fIn={key:0},pIn={class:`formContainer`},mIn=j({__name:`Chat`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,r=f9();return(e,t)=>(N(),P(B,null,[I(`div`,dIn,[(N(!0),P(B,null,yd(k(r).chat.messages,e=>(N(),P(B,{key:e.id},[e.role===`user`?(N(!0),P(B,{key:0},yd(e.parts,(t,n)=>(N(),P(`div`,{key:`${e.id}-${n}`,class:`userMessage`},[t.type===`text`?(N(),P(`p`,fIn,D(t.text),1)):R(``,!0)]))),128)):R(``,!0),e.role===`assistant`?(N(!0),P(B,{key:1},yd(e.parts,(t,n)=>(N(),P(`div`,{key:`${e.id}-${n}`},[t.type===`text`?(N(),F(xPn,{key:0,messagePart:du(t)},null,8,[`messagePart`])):R(``,!0),t.type===`tool-${k(`execute-request`)}`?(N(),F(WNn,{key:1,messagePart:du(t)},null,8,[`messagePart`])):R(``,!0),t.type===`tool-${k(`search-openapi-operations`)}`?(N(),F(_Pn,{key:2,message:$l(e),messagePart:du(t)},null,8,[`message`,`messagePart`])):R(``,!0),t.type===`tool-${k(`summarize-openapi-specs`)}`?(N(),F(ePn,{key:3,message:$l(e),messagePart:du(t)},null,8,[`message`,`messagePart`])):R(``,!0),t.type===`tool-${k(`ask-for-authentication`)}`?(N(),F(sMn,{key:4,message:$l(e),messagePart:du(t)},null,8,[`message`,`messagePart`])):R(``,!0)]))),128)):R(``,!0)],64))),128)),t[2]||=I(`div`,{class:`spacer`},null,-1)]),I(`div`,pIn,[V(lIn,{onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)})])],64))}})})),gIn,_In=c((()=>{g9(),hIn(),gIn=h9(mIn,[[`__scopeId`,`data-v-8e43ed7a`]])}));function vIn(e,t){return N(),P(`svg`,bIn,[...t[0]||=[I(`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 yIn,bIn,xIn,SIn=c((()=>{g9(),U(),yIn={},bIn={fill:`none`,height:`54`,viewBox:`0 0 64 54`,width:`64`,xmlns:`http://www.w3.org/2000/svg`},xIn=h9(yIn,[[`render`,vIn]])})),CIn,wIn,TIn,EIn,DIn,OIn=c((()=>{a5(),m9(),uIn(),SIn(),U(),CIn={class:`startContainer`},wIn={class:`disclaimerText`},TIn=[`href`],EIn=[`href`],DIn=j({__name:`Start`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,{mode:r}=f9();return(e,t)=>(N(),P(`div`,CIn,[V(xIn,{class:`agentLogo`}),t[4]||=I(`h1`,{class:`heading`},`How can I help you today?`,-1),V(lIn,{ref:`promptFormField`,onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)},null,512),I(`p`,wIn,[k(r)===`preview`?(N(),P(B,{key:0},[L(` By messaging Agent Scalar your OpenAPI document will be temporarily uploaded to Scalar's servers. You must agree to our `)],64)):(N(),P(B,{key:1},[L(`By messaging Agent Scalar you agree to our `)],64)),I(`a`,{class:`disclaimerLink`,href:k(i5).TERMS_AND_CONDITIONS,target:`_blank`},`Terms`,8,TIn),t[2]||=L(` and `,-1),I(`a`,{class:`disclaimerLink`,href:k(i5).PRIVACY_POLICY,target:`_blank`},`Privacy Policy`,8,EIn),t[3]||=L(`. `,-1)])]))}})})),kIn,AIn=c((()=>{g9(),OIn(),kIn=h9(DIn,[[`__scopeId`,`data-v-56f7e8dd`]])})),jIn,MIn,NIn=c((()=>{m9(),_In(),AIn(),U(),jIn={class:`wrapper`},MIn=j({__name:`Layout`,emits:[`submit`,`uploadApi`],setup(e,{emit:t}){let n=t,{chat:r}=f9();return(e,t)=>(N(),P(`div`,jIn,[k(r).messages.length&&(k(r).messages.length>1||k(r).status!==`submitted`)?(N(),F(gIn,{key:0,onSubmit:t[0]||=e=>n(`submit`),onUploadApi:t[1]||=e=>n(`uploadApi`)})):(N(),F(kIn,{key:1,onSubmit:t[2]||=e=>n(`submit`),onUploadApi:t[3]||=e=>n(`uploadApi`)}))]))}})})),PIn,FIn=c((()=>{g9(),NIn(),PIn=h9(MIn,[[`__scopeId`,`data-v-f1eee0af`]])})),IIn,LIn,RIn,zIn,BIn=c((()=>{U(),Y(),EC(),IIn={class:`overflow-x-auto`},LIn={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`},RIn={class:`overflow-x-auto`},zIn=j({__name:`Selector`,props:{selectedServer:{},servers:{},target:{}},emits:[`update:modelValue`],setup(e,{expose:t,emit:n}){let r=n,i=H(()=>e.servers.map(e=>({id:e.url,label:e.url}))),a=H(()=>e.selectedServer?.url?.replace(/\/$/,``)||``),o=H(()=>i.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:a,serverOptions:i,selectedServer:e.selectedServer}),(t,n)=>i.value.length>1?(N(),F(k(kj),{key:0,ref:`elem`,class:`group`,modelValue:o.value,options:i.value,placement:`bottom-start`,resize:``,target:e.target,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:A(()=>[V(k(KS),{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:A(()=>[n[1]||=I(`span`,{class:`sr-only`},`Server:`,-1),I(`span`,IIn,D(a.value||`Select a server`),1),V(k(oC),{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`])):(N(),P(`div`,LIn,[n[2]||=I(`span`,{class:`sr-only`},`Server:`,-1),I(`span`,RIn,D(a.value),1)]))}})})),VIn,HIn=c((()=>{BIn(),VIn=zIn})),UIn=c((()=>{tN(),U(),Y()})),WIn=c((()=>{UIn()})),GIn=c((()=>{sq(),YZt(),WIn()})),KIn,qIn,JIn=c((()=>{HIn(),U(),Y(),GIn(),KIn=[`id`],qIn=j({__name:`ServerSelector`,props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=ud(),n=t=>{e.eventBus.emit(`server:update:selected`,{url:e.selectedServer?.url===t?``:t,meta:{type:`document`}})},r=(t,n)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);r!==-1&&e.eventBus.emit(`server:update:variables`,{index:r,key:t,value:n,meta:{type:`document`}})};return(i,a)=>(N(),P(B,null,[a[0]||=I(`label`,{class:`bg-b-2 flex h-8 items-center rounded-t-xl border border-b-0 px-3 py-2.5 font-medium`},` Server `,-1),I(`div`,{id:k(t),class:E([`border`,{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(N(),F(VIn,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:k(t),"onUpdate:modelValue":n},null,8,[`selectedServer`,`servers`,`target`])):R(``,!0)],10,KIn),V(k(oq),{layout:`reference`,variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,[`variables`]),e.selectedServer?.description?(N(),F(k(_M),{key:0,class:`text-c-3 rounded-b-xl border border-t-0 px-3 py-1.5`,value:e.selectedServer.description},null,8,[`value`])):R(``,!0)],64))}})})),YIn,XIn=c((()=>{JIn(),YIn=qIn})),ZIn,QIn,$In=c((()=>{m9(),tMn(),XIn(),U(),a3(),ZIn={class:`docSettings`},QIn=j({__name:`DocSettings`,props:{document:{},name:{}},setup(e){let{workspaceStore:t,config:n,eventBus:r}=f9(),i=H(()=>H4(t,e.document).environment),a=H(()=>{let t=r3(e.document.servers,{documentUrl:e.document[`x-scalar-original-source-url`]});return i3(e.document,null,null,t)}),o=H(()=>e.document.components?.securitySchemes??{});return(s,c)=>(N(),P(`div`,ZIn,[I(`div`,null,[V(eMn,{authStore:k(t).auth,document:e.document,environment:i.value,eventBus:k(r),name:e.name,options:k(n),securitySchemes:o.value,selectedServer:a.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`name`,`options`,`securitySchemes`,`selectedServer`])]),I(`div`,null,[V(YIn,{eventBus:k(r),selectedServer:a.value,servers:e.document.servers??[]},null,8,[`eventBus`,`selectedServer`,`servers`])])]))}})})),eLn,tLn=c((()=>{g9(),$In(),eLn=h9(QIn,[[`__scopeId`,`data-v-dd964244`]])})),nLn,rLn,iLn,aLn,oLn,sLn,cLn,lLn,uLn=c((()=>{a5(),m9(),tLn(),U(),Y(),EC(),nLn={class:`settingsHeading`},rLn={class:`documentList`},iLn=[`onClick`],aLn={key:0},oLn={key:1,class:`noDocuments`},sLn={class:`proxyUrlContainer`},cLn=[`href`],lLn=j({__name:`Settings`,props:{modalState:{}},setup(e){let{workspaceStore:t,proxyUrlRaw:n}=f9();function r(e){t.update(`x-scalar-active-document`,e)}return(i,a)=>(N(),F(k(DM),{class:`settingsModal`,state:e.modalState},{default:A(()=>[I(`div`,nLn,[a[1]||=I(`h1`,null,`Settings`,-1),V(k(jA),{class:`colorToggle ml-auto`})]),I(`div`,rLn,[Object.entries(k(t).workspace.documents).length?(N(!0),P(B,{key:0},yd(Object.entries(k(t).workspace.documents),([e,n])=>(N(),P(`div`,{key:e,class:`document`},[I(`button`,{class:E([`documentName`,{documentNameActive:k(t).workspace.activeDocument===n}]),type:`button`,onClick:t=>r(e)},[L(` @`+D(e)+` `,1),k(t).workspace.activeDocument===n?(N(),F(k(oC),{key:0})):(N(),F(k(sC),{key:1}))],10,iLn),k(t).workspace.activeDocument===n?(N(),P(`div`,aLn,[V(eLn,{document:n,name:e},null,8,[`document`,`name`])])):R(``,!0)]))),128)):(N(),P(`div`,oLn,` There's no API definition loaded. Use the + button to load APIs. `))]),I(`div`,sLn,[a[3]||=I(`label`,{for:`proxyUrl`},`CORS Proxy`,-1),I(`p`,null,[a[2]||=L(` All requests will be sent through the specified proxy URL to help avoid CORS (Cross-Origin Resource Sharing) issues. `,-1),I(`a`,{class:`underline`,href:k(i5).PROXY_SOURCE_CODE,target:`_blank`},` Read more `,8,cLn)]),V(k(UM),{id:`proxyUrl`,modelValue:k(n),"onUpdate:modelValue":a[0]||=e=>cu(n)?n.value=e:null,label:`Proxy URL`,placeholder:k(i5).DEFAULT_PROXY_URL},null,8,[`modelValue`,`placeholder`])])]),_:1},8,[`state`]))}})})),dLn,fLn=c((()=>{g9(),uLn(),dLn=h9(lLn,[[`__scopeId`,`data-v-5e4bca68`]])})),pLn,mLn,hLn=c((()=>{m5(),m9(),Njn(),Fjn(),Ljn(),FIn(),fLn(),U(),pLn={ref:`clientModal`},mLn=j({__name:`Chat`,emits:[`uploadApi`],setup(e){let{chat:t,prompt:n,settingsModal:r,eventBus:i,workspaceStore:a,config:o,mode:s,addDocument:c}=f9(),l=fd(`clientModal`),u=O(null);Af(async()=>{let e=_Dn();s===`preview`&&e&&await c({namespace:e.namespace,slug:e.slug,removable:!1,tmp:!0}),l.value&&(u.value=v6({el:l.value,options:o,eventBus:i,workspaceStore:a}))}),Mf(()=>{u.value?.app.unmount()}),Pjn(),Mjn(),Ijn();async function d(){await t.sendMessage({text:n.value})}return(e,t)=>(N(),P(B,null,[I(`div`,pLn,null,512),V(PIn,{onSubmit:d,onUploadApi:t[0]||=t=>e.$emit(`uploadApi`)}),V(dLn,{modalState:k(r)},null,8,[`modalState`])],64))}})})),gLn,_Ln=c((()=>{hLn(),gLn=mLn})),vLn,yLn=c((()=>{m9(),_Ln(),U(),vLn=j({__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 n=Ajn({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 Qu(jjn,n),t({addDocumentAsync:n.addDocumentAsync}),(e,t)=>(N(),F(gLn,{onUploadApi:t[0]||=t=>e.$emit(`uploadApi`)}))}})})),bLn,xLn=c((()=>{yLn(),bLn=vLn})),SLn=c((()=>{xLn()})),CLn,wLn=c((()=>{U(),SLn(),CLn=j({__name:`AgentScalarChatInterface`,props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{},prefilledMessage:{}},setup(e){return(t,n)=>(N(),F(k(bLn),{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`]))}})})),TLn=u({default:()=>ELn}),ELn,DLn=c((()=>{wLn(),wLn(),ELn=CLn}));U(),Y(),EC();var OLn={class:`agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6`},kLn=j({__name:`AgentScalarDrawer`,props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=m8(),n=Ale(async()=>Promise.resolve().then(()=>(DLn(),TLn)));return(r,i)=>(N(),P(B,null,[V(Np,{enterActiveClass:`transition-opacity duration-500`,enterFromClass:`opacity-0`,enterToClass:`opacity-100`,leaveActiveClass:`transition-opacity duration-200`,leaveFromClass:`opacity-100`,leaveToClass:`opacity-0`},{default:A(()=>[Xu(I(`div`,{class:`agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[cubic-bezier(0.77,0,0.175,1)]`,onClick:i[0]||=e=>k(t)?.closeAgent()},null,512),[[Rp,k(t)?.showAgent.value]])]),_:1}),V(Np,{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:A(()=>[Xu(I(`div`,{class:`agent-scalar left-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg`,onKeydown:i[2]||=em(e=>k(t)?.closeAgent(),[`escape`])},[I(`div`,OLn,[V(k(n),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:k(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,[`agentScalarConfiguration`,`externalUrls`,`prefilledMessage`,`workspaceStore`])]),V(k(hM),{class:`agent-scalar-exit-button absolute top-2 right-2`,icon:k(TC),label:`Close Client`,weight:`bold`,onClick:i[1]||=e=>k(t)?.closeAgent()},null,8,[`icon`])],544),[[Rp,k(t)?.showAgent.value]])]),_:1})],64))}}),y9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},ALn=y9(kLn,[[`__scopeId`,`data-v-1c6c3dbf`]]);qv();function jLn(e){return!!e&&typeof e==`object`&&`url`in e&&typeof e.url==`string`}async function MLn(e,t){let n=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,i=await fetch(Gv(t.proxyUrl,r),{method:`POST`,headers:{"Content-Type":`application/json`},body:n});if(!i.ok)throw Error(` Failed to generate temporary link, server responded with ${i.status}`);let a=await i.json();if(!jLn(a))throw Error(`Failed to generate temporary link, invalid response from server`);return a.url}U(),Y(),EC(),Rx(),fq(),tP();var NLn={class:`scalar-mcp-layer`},PLn=[`href`,`target`],FLn=[`href`,`target`],ILn=y9(j({__name:`OpenMCPButton`,props:Td({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:[`update:url`],setup(e){let t=e,{copyToClipboard:n}=dq(),{toast:r}=QN(),i=WS(),a=t.config?.name||t.config?.url,o=btoa(JSON.stringify(t.config??{})),s=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(t.config?.name??``)}&config=${o}`,c=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,l=jd(e,`url`);async function u(){if(i.isLoading||!t.workspace)return;if(l.value&&c_e(l.value)){d(l.value);return}i.start();let e=t.workspace.exportActiveDocument(`json`);if(!e){r(`Unable to export active document`,`error`),await i.invalidate();return}try{l.value=await MLn(e,t.externalUrls),await i.validate(),d(l.value),await Ku(),await i.clear()}catch(e){r(e instanceof Error?e.message:`An unknown error occurred`,`error`),await i.invalidate()}}function d(e){let n=new URL(`${t.externalUrls.dashboardUrl}/register`);n.searchParams.set(`url`,e),n.searchParams.set(`createMcp`,`true`),window.open(n.toString(),`_blank`)}return(t,r)=>(N(),P(`div`,NLn,[I(`a`,{class:`scalar-mcp-layer-link`,href:k(a)?c:void 0,target:k(a)?`_blank`:void 0,onClick:r[0]||=e=>{k(a)||(e.preventDefault(),u())}},[r[3]||=I(`svg`,{class:`mcp-logo`,fill:`currentColor`,height:`800`,viewBox:`0 0 32 32`,width:`800`,xmlns:`http://www.w3.org/2000/svg`},[I(`path`,{d:`M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.969l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z`})],-1),r[4]||=L(` VS Code `,-1),V(k(rC),{class:`mcp-nav ml-auto size-4`})],8,PLn),I(`a`,{class:`scalar-mcp-layer-link`,href:k(a)?s:void 0,target:k(a)?`_blank`:void 0,onClick:r[1]||=e=>{k(a)||(e.preventDefault(),u())}},[r[5]||=I(`svg`,{class:`mcp-logo`,viewBox:`0 0 466.73 532.09`,xmlns:`http://www.w3.org/2000/svg`},[I(`path`,{d:`M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z`,style:{fill:`currentColor`}})],-1),r[6]||=L(` Cursor `,-1),V(k(rC),{class:`mcp-nav ml-auto size-4`})],8,FLn),k(a)?(N(),P(`div`,{key:1,class:`scalar-mcp-layer-link`,onClick:r[2]||=t=>k(n)(e.config?.url??``)},[...r[9]||=[L(` Connect MCP `,-1),I(`svg`,{class:`mcp-logo ml-auto`,fill:`none`,height:`173`,viewBox:`0 0 156 173`,width:`156`,xmlns:`http://www.w3.org/2000/svg`},[I(`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`}),I(`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`}),I(`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)]])):(N(),P(`div`,{key:0,class:`scalar-mcp-layer-link`,onClick:u},[r[7]||=I(`svg`,{class:`mcp-logo`,fill:`none`,height:`173`,viewBox:`0 0 156 173`,width:`156`,xmlns:`http://www.w3.org/2000/svg`},[I(`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`}),I(`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`}),I(`path`,{d:`M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-width":`12`})],-1),r[8]||=L(` Generate MCP `,-1),V(k(rC),{class:`mcp-nav ml-auto size-4`})]))]))}}),[[`__scopeId`,`data-v-e53c0a75`]]);U();var LLn={},RLn={class:`references-classic-header-container`},zLn={class:`references-classic-header`},BLn={class:`references-classic-header-content`};function VLn(e,t){return N(),P(`div`,RLn,[I(`div`,zLn,[I(`div`,BLn,[M(e.$slots,`default`,{},void 0,!0)]),M(e.$slots,`dark-mode-toggle`,{},void 0,!0)])])}var HLn=y9(LLn,[[`render`,VLn],[`__scopeId`,`data-v-8a3822ca`]]);U(),Y(),EC();var ULn={class:`min-w-0 flex-1 truncate`},WLn=j({inheritAttrs:!1,__name:`ExamplePicker`,props:Td({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=H(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=H({get:()=>n.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??``});return(e,t)=>(N(),F(k(kj),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,class:`w-fit min-w-32`,options:n.value,placement:`bottom-start`,teleport:``},{default:A(()=>[V(k(KS),z({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:A(()=>[I(`div`,ULn,D(r.value?.label??`Select an example`),1),V(k(oC),{class:`ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100`,weight:`bold`})]),_:1},16)]),_:1},8,[`modelValue`,`options`]))}}),GLn=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.clientKey.toLowerCase().includes(n)||e.lang.toLowerCase().includes(n)},KLn=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.key.toLowerCase().includes(n)},qLn=((e,t,n)=>{if(e===``)return t;let r=e.toLowerCase(),i=n?n.filter(e=>e.label&&e.options.length>0).length:0;if(n&&i>1){let e=[];for(let t of n)KLn(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>GLn(e,r)));return e}return t.filter(e=>GLn(e,r))});U(),bv(),f2();var JLn=j({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=H(()=>yv(String(t.method||``))),r=H(()=>d2(t.method));return(t,i)=>(N(),F(vd(e.as??`span`),{class:`uppercase`,style:Kc({[e.property||`color`]:n.value.colorVar})},{default:A(()=>[M(t.$slots,`default`),L(` `+D(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}}),YLn=e=>{if(!e)return()=>null;let t=e.getBoundingClientRect().top,n=null,r=new MutationObserver(r=>{r.some(e=>e.type===`childList`||e.type===`attributes`&&(e.attributeName===`style`||e.attributeName===`class`))&&(n!==null&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{let r=e.getBoundingClientRect().top;if(r!==t){let e=r-t;window.scrollBy(0,e)}n=null}))});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`style`,`class`],characterData:!1}),()=>{n!==null&&cancelAnimationFrame(n),r.disconnect()}};Hgn(),j3(),Sgn(),Cgn(),wgn(),Ugn(),U(),Y(),EC(),x_();var XLn=[`innerHTML`],ZLn=[`id`],QLn={key:0,class:`request-card-footer-addon`},$Ln={class:`request-header`},eRn=j({__name:`OperationCodeSample`,props:Td({integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},{selectedExample:{default:``},selectedExampleModifiers:{}}),emits:[`update:selectedExample`],setup(e){let t=H(()=>{let t=b_(e.operation.requestBody)?.content??{},n=e.selectedContentType||Object.keys(t)[0];return n?t[n]?.examples??{}:{}}),n=jd(e,`selectedExample`);kf(()=>{n.value||=Object.keys(t.value)[0]??``});let r=H(()=>N3(e.operation)),i=H(()=>M3(r.value,e.clientOptions)),a=O(A3(i.value,e.selectedClient));nd(()=>e.selectedClient,e=>{let t=A3(i.value,e);t&&(a.value=t)});let o=H(()=>{if(!e.isWebhook)return null;try{return z3({operation:e.operation,method:e.method,path:e.path,example:n.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!1})}catch(e){return console.error(`[webhookHar]`,e),null}}),s=H(()=>e.isWebhook?o.value?.postData?.text??``:B3({defaultDisabledParameters:!1,includeDefaultHeaders:e.integration===`client`,clientId:a.value?.id,customCodeSamples:r.value,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})),c=H(()=>e.isWebhook?l.value:a.value?.lang),l=H(()=>{if(!o.value?.postData)return`json`;let e=o.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`}),u=H(()=>P3(e.securitySchemes)),d=O(null),f=t=>{if(d.value){let e=YLn(d.value.$el);setTimeout(()=>{e()},300)}a.value=t,t&&!t.id.startsWith(`custom`)&&e.eventBus.emit(`workspace:update:selected-client`,t.id)},p=H(()=>(s.value.length??0)>2e4),m=ud();return(r,o)=>s.value?(N(),F(k(YS),{key:0,ref_key:`elem`,ref:d,class:`request-card dark-mode`},{default:A(()=>[V(k($S),{class:`pr-2.5`},bd({default:A(()=>[o[2]||=I(`span`,{class:`sr-only`},`Request Example for`,-1),V(JLn,{as:`span`,class:`request-method`,method:e.method},null,8,[`method`]),e.generateLabel?(N(),P(`span`,{key:0,innerHTML:e.generateLabel()},null,8,XLn)):R(``,!0),M(r.$slots,`header`,{},void 0,!0)]),_:2},[!e.isWebhook&&i.value.length?{name:`actions`,fn:A(()=>[V(k(Nj),{class:`max-h-80`,filterFn:k(qLn),modelValue:a.value,options:i.value,placement:`bottom-end`,teleport:``,"onUpdate:modelValue":o[0]||=e=>f(e)},{default:A(()=>[V(k(KS),{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:A(()=>[L(D(a.value?.title)+` `,1),V(k(oC),{class:`ui-open:rotate-180 mt-px size-3 transition-transform duration-100`,weight:`bold`})]),_:1})]),_:1},8,[`filterFn`,`modelValue`,`options`])]),key:`0`}:void 0]),1024),V(k(XS),{class:`request-editor-section custom-scroll p-0`},{default:A(()=>[I(`div`,{id:`${k(m)}-example`,class:`code-snippet`},[p.value?(N(),F(k(JM),{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`,lineHeight:20,text:s.value},null,8,[`text`])):(N(),F(k(wA),{key:0,class:`bg-b-2 h-full`,content:s.value,hideCredentials:u.value,lang:c.value,lineNumbers:``},null,8,[`content`,`hideCredentials`,`lang`]))],8,ZLn)]),_:1}),Object.keys(t.value).length>1||r.$slots.footer?(N(),F(k(QS),{key:0,class:`request-card-footer bg-b-3`},{default:A(()=>[Object.keys(t.value).length>1?(N(),P(`div`,QLn,[Object.keys(t.value).length?(N(),F(WLn,{key:0,modelValue:n.value,"onUpdate:modelValue":o[1]||=e=>n.value=e,examples:t.value},null,8,[`modelValue`,`examples`])):R(``,!0)])):R(``,!0),M(r.$slots,`footer`,{exampleName:n.value},void 0,!0)]),_:3})):R(``,!0)]),_:3},512)):e.fallback?(N(),F(k(YS),{key:1,class:`request-card dark-mode`},{default:A(()=>[V(k(XS),{class:`request-card-simple`},{default:A(()=>[I(`div`,$Ln,[V(JLn,{as:`span`,class:`request-method`,method:e.method},null,8,[`method`]),M(r.$slots,`header`,{},void 0,!0)]),M(r.$slots,`footer`,{exampleName:n.value},void 0,!0)]),_:3})]),_:3})):R(``,!0)}});Mg();var tRn=jg(eRn,[[`__scopeId`,`data-v-0e4ddc16`]]);Ogn(),j3(),c3();var nRn=[`shell/curl`,`ruby/native`,`node/undici`,`php/guzzle`,`python/python3`],rRn=(e,t=nRn)=>!!(e&&t.includes(e)),iRn=(e,t=nRn)=>{let n=new Map;for(let t of e)for(let e of t.options)n.set(e.id,e);return t.flatMap(e=>n.get(e)??[])};U(),Ag(),Y(),Eq();var aRn={class:`client-libraries-text`},oRn={"aria-hidden":`true`,class:`client-libraries-icon__more`},sRn={key:1,class:`client-libraries-icon`,height:`50`,role:`presentation`,viewBox:`0 0 50 50`,width:`50`,xmlns:`http://www.w3.org/2000/svg`},cRn={key:0,class:`client-libraries-text client-libraries-text-more`},lRn=y9(j({__name:`ClientDropdown`,props:{clientOptions:{},selectedClient:{},featuredClients:{},eventBus:{}},setup(e){let t=O(),n=e=>`programming-language-${e===`js`?`javascript`:e}`,r=n=>{if(!t.value)return;let r=YLn(t.value);setTimeout(()=>{r()},300),n.clientKey!==`custom`&&e.eventBus.emit(`workspace:update:selected-client`,n.id)},i=H(()=>e.selectedClient?.split(`/`)[0]);return(a,o)=>(N(),P(`div`,{ref_key:`containerRef`,ref:t,class:`client-libraries-content`},[(N(!0),P(B,null,yd(e.featuredClients,t=>(N(),F(k(xg),{key:t.clientKey,class:E([`client-libraries rendered-code-sdks`,{"client-libraries__active":t.id===e.selectedClient}])},{default:A(()=>[I(`div`,{class:E(`client-libraries-icon__${t.targetKey}`)},[V(k(nM),{class:`client-libraries-icon`,icon:n(t.targetKey)},null,8,[`icon`])],2),I(`span`,aRn,D(t.targetTitle),1)]),_:2},1032,[`class`]))),128)),V(k(Nj),{filterFn:k(qLn),modelValue:k(A3)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:`bottom-end`,teleport:``,"onUpdate:modelValue":o[0]||=e=>r(e)},{default:A(()=>[I(`button`,{class:E([`client-libraries client-libraries__select`,{"client-libraries__active":e.selectedClient&&!k(rRn)(e.selectedClient)}]),type:`button`},[I(`div`,oRn,[e.selectedClient&&!k(rRn)(e.selectedClient)?(N(),P(`div`,{key:0,class:E(`client-libraries-icon__${i.value}`)},[i.value?(N(),F(k(nM),{key:0,class:`client-libraries-icon`,icon:n(i.value)},null,8,[`icon`])):R(``,!0)],2)):(N(),P(`svg`,sRn,[...o[1]||=[I(`g`,{fill:`currentColor`,"fill-rule":`nonzero`},[I(`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?(N(),P(`span`,cRn,` More `)):R(``,!0),o[2]||=I(`span`,{class:`sr-only`},`Select from all clients`,-1)],2)]),_:1},8,[`filterFn`,`modelValue`,`options`])],512))}}),[[`__scopeId`,`data-v-6ae3e515`]]);U(),Ag(),Y(),Eq();var uRn={key:0,ref:`wrapper-ref`},dRn=[`id`],fRn={key:1,class:`selected-client card-footer border-t-0 p-0`,role:`tabpanel`,tabindex:`1`},pRn=[`id`],mRn=y9(j({__name:`ClientSelector`,props:{xScalarSdkInstallation:{},clientOptions:{},selectedClient:{default:()=>O3},eventBus:{}},setup(e,{expose:t}){let n=ud(),r=ud(),i=H(()=>e.clientOptions.flatMap(t=>t.options.find(t=>t.id===e.selectedClient)??[])[0]),a=H(()=>iRn(e.clientOptions)),o=H(()=>a.value.findIndex(t=>e.selectedClient===t.id)),s=fd(`wrapper-ref`),c=t=>{let n=a.value[t];!n||!s.value||e.eventBus.emit(`workspace:update:selected-client`,n.id)},l=H(()=>{if(!Array.isArray(e.xScalarSdkInstallation)||!e.xScalarSdkInstallation?.length)return;let t=e.xScalarSdkInstallation.find(t=>{let n=e.selectedClient?.split(`/`)[0]?.toLowerCase();return t.lang.toLowerCase()===n});if(t)return t});return t({selectedClientOption:i}),(t,s)=>e.clientOptions.length?(N(),P(`div`,uRn,[V(k(yg),{manual:``,selectedIndex:o.value,onChange:c},{default:A(()=>[I(`div`,{id:k(n),class:`client-libraries-heading`},` Client Libraries `,8,dRn),V(k(bg),{"aria-labelledby":k(n),class:`client-libraries-list`},{default:A(()=>[V(lRn,{clientOptions:e.clientOptions,eventBus:e.eventBus,featuredClients:a.value,morePanel:k(r),selectedClient:e.selectedClient},null,8,[`clientOptions`,`eventBus`,`featuredClients`,`morePanel`,`selectedClient`])]),_:1},8,[`aria-labelledby`]),V(k(Bme),null,{default:A(()=>[l.value?.source||l.value?.description?(N(),P(B,{key:0},[l.value.description?(N(),P(`div`,{key:0,class:E([`selected-client card-footer -outline-offset-2`,l.value.source&&`rounded-b-none`]),role:`tabpanel`,tabindex:`0`},[V(k(_M),{value:l.value.description},null,8,[`value`])],2)):R(``,!0),l.value.source?(N(),P(`div`,fRn,[V(k(wA),{class:`rounded-b-lg *:first:p-3`,content:l.value.source,copy:`always`,lang:`shell`},null,8,[`content`])])):R(``,!0)],64)):k(rRn)(e.selectedClient)?(N(!0),P(B,{key:1},yd(a.value,e=>(N(),F(k(Vme),{key:e.id,class:`selected-client card-footer -outline-offset-2`},{default:A(()=>[L(D(e.title),1)]),_:2},1024))),128)):(N(),P(`div`,{key:2,id:k(r),class:`selected-client card-footer -outline-offset-2`,role:`tabpanel`,tabindex:`0`},D(i.value?.title),9,pRn))]),_:1})]),_:1},8,[`selectedIndex`])],512)):R(``,!0)}}),[[`__scopeId`,`data-v-dd2e9b07`]]);U();var b9=y9(j({__name:`Badge`,props:{color:{}},setup(e){let t=H(()=>e.color?{"--badge-background-color":e.color,"--badge-text-color":`color-mix(in srgb, ${e.color}, black 40%)`}:{});return(e,n)=>(N(),P(`div`,{class:`badge`,style:Kc(t.value)},[M(e.$slots,`default`,{},void 0,!0)],4))}}),[[`__scopeId`,`data-v-3dedb7e4`]]);U(),Eq();var hRn=[`href`],gRn=y9(j({__name:`DownloadLink`,props:{documentDownloadType:{},eventBus:{},documentUrl:{}},setup(e){let t=t=>{e.eventBus.emit(`ui:download:document`,{format:t})};return(n,r)=>[`yaml`,`json`,`both`].includes(e.documentDownloadType)||e.documentDownloadType===`direct`&&e.documentUrl?(N(),P(`div`,{key:0,class:E([`download-container group`,{"download-both":e.documentDownloadType===`both`}])},[e.documentDownloadType===`direct`&&e.documentUrl?(N(),P(`a`,{key:0,class:`download-link download-button`,href:e.documentUrl},[...r[2]||=[I(`span`,null,` Download OpenAPI Document `,-1)]],8,hRn)):R(``,!0),e.documentDownloadType===`json`||e.documentDownloadType===`both`?(N(),P(`button`,{key:1,class:`download-button`,type:`button`,onClick:r[0]||=$p(()=>t(`json`),[`prevent`])},[r[4]||=I(`span`,null,` Download OpenAPI Document `,-1),V(b9,{class:`extension hidden group-hover:flex`},{default:A(()=>[...r[3]||=[L(`json`,-1)]]),_:1})])):R(``,!0),e.documentDownloadType===`yaml`||e.documentDownloadType===`both`?(N(),P(`button`,{key:2,class:`download-button`,type:`button`,onClick:r[1]||=$p(()=>t(`yaml`),[`prevent`])},[r[6]||=I(`span`,null,` Download OpenAPI Document `,-1),V(b9,{class:`extension hidden group-hover:flex`},{default:A(()=>[...r[5]||=[L(`yaml`,-1)]]),_:1})])):R(``,!0)],2)):R(``,!0)}}),[[`__scopeId`,`data-v-95e980e1`]]);U();var _Rn=y9(j({__name:`IntroductionCard`,props:{row:{type:Boolean}},setup(e){return(t,n)=>(N(),P(`div`,{class:E([`introduction-card`,{"introduction-card-row":e.row}])},[M(t.$slots,`default`,{},void 0,!0)],2))}}),[[`__scopeId`,`data-v-5764c94a`]]);aw(),U();var vRn=`-49% 0px -49% 0px`,x9=(e,t)=>{Af(()=>{e.value&&NMe(e,([e])=>{e?.isIntersecting&&t()},{rootMargin:vRn,threshold:0})})};U();var S9=y9(j({__name:`Section`,emits:[`intersecting`],setup(e,{emit:t}){let n=t,r=fd(`section`);return x9(r,()=>n(`intersecting`)),(e,t)=>(N(),P(`section`,{ref_key:`section`,ref:r,class:`section`},[M(e.$slots,`default`,{},void 0,!0)],512))}}),[[`__scopeId`,`data-v-be4443e9`]]);U(),Ag(),EC(),aw();var yRn={class:`section-accordion-button-content`},bRn={key:0,class:`section-accordion-button-actions`},xRn={key:0,class:`section-accordion-description`},SRn={class:`section-accordion-content-card`},CRn=y9(j({__name:`SectionAccordion`,props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=O(),i=MMe(r);return(t,a)=>(N(),F(k(Kh),{as:`section`,class:E([`section-accordion`,{"section-accordion-transparent":e.transparent}])},{default:A(()=>[V(k(qh),{ref_key:`button`,ref:r,class:`section-accordion-button`,onClick:a[0]||=()=>n(`update:modelValue`,!e.modelValue)},{default:A(()=>[I(`div`,yRn,[M(t.$slots,`title`,{},void 0,!0)]),t.$slots.actions?(N(),P(`div`,bRn,[M(t.$slots,`actions`,{active:k(i)||e.modelValue},void 0,!0)])):R(``,!0),V(k(sC),{class:E([`section-accordion-chevron size-4.5 transition-transform`,{"rotate-90":e.modelValue}])},null,8,[`class`])]),_:3},512),e.modelValue?(N(),F(k(Jh),{key:0,class:`section-accordion-content`,static:``},{default:A(()=>[t.$slots.description?(N(),P(`div`,xRn,[M(t.$slots,`description`,{},void 0,!0)])):R(``,!0),I(`div`,SRn,[M(t.$slots,`default`,{},void 0,!0)])]),_:3})):R(``,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-ff689b94`]]);U();var wRn={},TRn={class:`section-column`};function ERn(e,t){return N(),P(`div`,TRn,[M(e.$slots,`default`,{},void 0,!0)])}var C9=y9(wRn,[[`render`,ERn],[`__scopeId`,`data-v-699c28e3`]]);U();var DRn={},ORn={class:`section-columns`};function kRn(e,t){return N(),P(`div`,ORn,[M(e.$slots,`default`,{},void 0,!0)])}var ARn=y9(DRn,[[`render`,kRn],[`__scopeId`,`data-v-8b9602bf`]]);U();var jRn={key:1,class:`section-container`},w9=y9(j({__name:`SectionContainer`,props:{omit:{type:Boolean}},setup(e){return(t,n)=>e.omit?M(t.$slots,`default`,{key:0},void 0,!0):(N(),P(`div`,jRn,[M(t.$slots,`default`,{},void 0,!0)]))}}),[[`__scopeId`,`data-v-20a1472a`]]);U(),Ag(),EC();var MRn={class:`section-accordion-wrapper`},NRn={class:`section-accordion-title`},PRn=y9(j({__name:`SectionContainerAccordion`,props:{modelValue:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),P(`section`,MRn,[V(k(Kh),{as:`div`,class:`section-accordion`},{default:A(()=>[V(k(qh),{class:`section-accordion-button`,onClick:r[0]||=t=>n(`update:modelValue`,!e.modelValue)},{default:A(()=>[V(k(sC),{class:E([`section-accordion-chevron size-5 transition-transform`,{"rotate-90":e.modelValue}])},null,8,[`class`]),I(`div`,NRn,[M(t.$slots,`title`,{},void 0,!0)])]),_:3}),e.modelValue?(N(),F(k(Jh),{key:0,class:`section-accordion-content`,static:``},{default:A(()=>[M(t.$slots,`default`,{},void 0,!0)]),_:3})):R(``,!0)]),_:3})]))}}),[[`__scopeId`,`data-v-9419dd23`]]);U();var FRn=y9(j({__name:`LoadingSkeleton`,props:{lines:{default:1}},setup(e){return(t,n)=>(N(!0),P(B,null,yd([...Array(e.lines).keys()],t=>(N(),P(`div`,{key:t,class:E([`loading`,{"single-line":e.lines===1}])},null,2))),128))}}),[[`__scopeId`,`data-v-8e0226d7`]]);U();var IRn={class:`section-content`},LRn=y9(j({__name:`SectionContent`,props:{loading:{type:Boolean,default:!1}},setup(e){return(t,n)=>(N(),P(`div`,IRn,[e.loading?(N(),F(FRn,{key:1,lines:8})):M(t.$slots,`default`,{key:0},void 0,!0)]))}}),[[`__scopeId`,`data-v-9735459e`]]);U();var RRn={class:`section-header-wrapper xl:gap-12`},T9=y9(j({__name:`SectionHeader`,props:{loading:{type:Boolean},tight:{type:Boolean}},setup(e){return(t,n)=>(N(),P(`div`,RRn,[e.loading?(N(),F(FRn,{key:0})):(N(),P(`div`,{key:1,class:E([`section-header`,{tight:e.tight}])},[M(t.$slots,`default`,{},void 0,!0)],2)),t.$slots.links?M(t.$slots,`links`,{key:2},void 0,!0):R(``,!0)]))}}),[[`__scopeId`,`data-v-465a7a78`]]);U();var E9=y9(j({__name:`SectionHeaderTag`,props:{level:{default:1}},setup(e){return(t,n)=>(N(),F(vd(`h${e.level}`),{class:`section-header-label`},{default:A(()=>[M(t.$slots,`default`,{},void 0,!0)]),_:3}))}}),[[`__scopeId`,`data-v-f1ac6c38`]]);U();var zRn={key:0,class:`screenreader-only`},D9=y9(j({__name:`ScreenReader`,props:{if:{type:Boolean,default:!0}},setup(e){return(e,t)=>e.$props.if?(N(),P(`span`,zRn,[M(e.$slots,`default`,{},void 0,!0)])):M(e.$slots,`default`,{key:1},void 0,!0)}}),[[`__scopeId`,`data-v-df2e1026`]]);U(),Y(),EC();var BRn=[`id`],VRn={class:`relative`},O9=j({__name:`Anchor`,emits:[`copyAnchorUrl`],setup(e,{emit:t}){let n=t,r=ud(),{cx:i}=RS();return(e,t)=>(N(),P(`span`,qc(Vd(k(i)(`group/heading word-break-all relative`))),[I(`span`,{id:k(r),class:`contents`},[M(e.$slots,`default`)],8,BRn),I(`span`,VRn,[t[2]||=I(`span`,null,``,-1),V(k(KS),{"aria-describedby":k(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]||=$p(()=>n(`copyAnchorUrl`),[`stop`])},{default:A(()=>[V(k(WEe),{"aria-hidden":`true`,class:`size-4.5`}),V(D9,null,{default:A(()=>[...t[1]||=[L(`Copy link`,-1)]]),_:1})]),_:1},8,[`aria-describedby`])])],16))}});U(),EC();var HRn=[`id`],URn={class:`sr-only`},WRn=j({__name:`WithBreadcrumb`,props:{breadcrumb:{},eventBus:{}},setup(e){return(t,n)=>e.breadcrumb&&e.breadcrumb.length>0?(N(),P(`div`,{key:0,id:e.breadcrumb.join(`.`),class:`relative scroll-mt-24`},[M(t.$slots,`default`),I(`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:n[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.breadcrumb.join(`.`)})},[V(k(yDe),{class:`size-3`,weight:`bold`}),I(`span`,URn,[M(t.$slots,`sr-label`,{},()=>[n[1]||=L(`Copy link to `,-1),M(t.$slots,`default`)])])])],8,HRn)):M(t.$slots,`default`,{key:1})}});U(),EC();var GRn=[`aria-label`],KRn=[`id`,`aria-controls`,`aria-expanded`],qRn=y9(j({__name:`CompactSection`,props:{id:{},label:{},modelValue:{type:Boolean}},emits:[`update:modelValue`,`copyAnchorUrl`],setup(e,{emit:t}){let n=t;return(t,r)=>(N(),P(`section`,{"aria-label":e.label,class:`collapsible-section`},[I(`button`,{id:e.id,"aria-controls":e.id,"aria-expanded":e.modelValue,class:E([`collapsible-section-trigger`,{"collapsible-section-trigger-open":e.modelValue}]),type:`button`,onClick:r[1]||=t=>n(`update:modelValue`,!e.modelValue)},[V(k(sC),{class:E([`size-3 transition-transform duration-100`,{"rotate-90":e.modelValue}]),weight:`bold`},null,8,[`class`]),V(k(O9),{class:`collapsible-section-header`,onCopyAnchorUrl:r[0]||=()=>n(`copyAnchorUrl`)},{default:A(()=>[M(t.$slots,`heading`,{},void 0,!0)]),_:3})],10,KRn),e.modelValue?(N(),F(S9,{key:0,class:`collapsible-section-content`,label:e.label},{default:A(()=>[M(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`label`])):R(``,!0)],8,GRn))}}),[[`__scopeId`,`data-v-999a158a`]]),k9=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(`x-`))):{},JRn=({plugins:e=[]})=>{let t=new Map;return e.forEach(e=>{let n=e();t.set(n.name,n)}),{getSpecificationExtensions:e=>{let n=[];for(let r of t.values())for(let t of r.extensions)t.name===e&&n.push(t);return n},getViewComponents:e=>{let n=[];for(let r of t.values()){let t=r.views?.[e];t&&n.push(...t)}return n}}};U();var YRn=Symbol(),XRn=()=>$u(YRn)||JRn({});Rg(),c6(),B$();var A9=Lg(),ZRn=()=>{let e=Fg.SELECTED_CLIENT;return{get:()=>A9.getItem(e),set:t=>{A9.setItem(e,t)}}},QRn=()=>{let e=e=>`${Fg.AUTH}-${e}`;return{getAuth:t=>z$(a6,JSON.parse(A9.getItem(e(t))??`{}`)),setAuth:(t,n)=>{A9.setItem(e(t),JSON.stringify(n))}}};uv();var $Rn=({debounceDelay:e=500,maxWait:t=1e4,prefix:n=``,persistAuth:r=!1})=>{let{execute:i}=lv({delay:e,maxWait:t}),a=QRn(),o=ZRn(),s=()=>typeof n==`string`?n:n(),c=()=>typeof r==`function`?r():r;return{hooks:{onWorkspaceStateChanges(e){if(e.type===`meta`){let t=e.value[`x-scalar-default-client`];t!==void 0&&i(`x-scalar-default-client`,()=>o.set(t));return}c()&&e.type===`auth`&&i(`auth`,()=>a.setAuth(s(),e.value))}}}};U(),Y();var ezn={key:0,class:`text-base`},j9=j({__name:`SpecificationExtension`,props:{value:{}},setup(e){let{getSpecificationExtensions:t}=XRn();function n(e){return Object.keys(e??{}).filter(e=>e.startsWith(`x-`))}function r(e){return e.flatMap(e=>t(e)).filter(e=>e.component)}let i=H(()=>n(e.value)),a=H(()=>r(i.value));return(t,n)=>typeof e.value==`object`&&a.value.length?(N(),P(`div`,ezn,[(N(!0),P(B,null,yd(a.value,t=>(N(),F(k(Uj),null,{default:A(()=>[t.renderer?(N(),F(vd(t.renderer),z({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):(N(),F(vd(t.component),z({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),256))])):R(``,!0)}});U(),Y();var tzn=[`id`],nzn=j({__name:`InfoMarkdownSection`,props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=fd(`element`);return x9(t,()=>e.id?e.eventBus?.emit(`intersecting:nav-item`,{id:e.id}):void 0),(n,r)=>(N(),P(`div`,{id:e.id,ref_key:`element`,ref:t,class:`introduction-description-heading scroll-mt-16`},[V(k(_M),{transform:e.transformHeading,transformType:`heading`,value:e.content,withImages:``},null,8,[`transform`,`value`])],8,tzn))}});U(),I0e(),l1();var rzn={key:0,class:`introduction-description mt-6 flex flex-col`},izn=y9(j({__name:`InfoDescription`,props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=H(()=>{if(!e.description)return[];let t=new c1;return M0e(e.description).map(n=>{let r=j0e(n)[0];return{id:r?e.headingSlugGenerator({...r,slug:t.slug(r.value)}):void 0,content:n}})}),n=t=>{if(!CA(t))return t;let n=new c1,r=SA(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:n.slug(r)})}},t};return(r,i)=>e.description?(N(),P(`div`,rzn,[(N(!0),P(B,null,yd(t.value,t=>(N(),F(nzn,{id:t.id,key:t.id,content:t.content,eventBus:e.eventBus,transformHeading:n},null,8,[`id`,`content`,`eventBus`]))),128))])):R(``,!0)}}),[[`__scopeId`,`data-v-5065bb4a`]]);U();var azn=y9(j({__name:`LinkList`,setup(e){let t=O(),n=O(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;n.value=e>r},i=null;return Af(()=>{r(),window.addEventListener(`resize`,r),t.value&&(i=new MutationObserver(()=>{r()}),i.observe(t.value,{childList:!0,subtree:!0}))}),Nf(()=>{window.removeEventListener(`resize`,r),i&&=(i.disconnect(),null)}),(e,r)=>(N(),P(`div`,{ref_key:`containerRef`,ref:t,class:E([{"icons-only":n.value},`custom-scroll mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap xl:mb-1.5`])},[M(e.$slots,`default`,{},void 0,!0)],2))}}),[[`__scopeId`,`data-v-b59b0acf`]]);U(),EC();var ozn={key:0,class:`group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto`},szn=[`href`],czn={key:0,class:`ml-1 empty:hidden`},lzn={key:1,class:`ml-1 empty:hidden`},uzn=j({__name:`ExternalDocs`,props:{value:{}},setup(e){return(t,n)=>e.value?(N(),P(`div`,ozn,[I(`a`,{href:e.value.url,class:`text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none`,target:`_blank`,rel:`noopener noreferrer`},[V(k(iC),{weight:`bold`,class:`size-3 text-current`}),e.value.description?(N(),P(`span`,czn,D(e.value.description),1)):(N(),P(`span`,lzn,D(e.value.url),1))],8,szn)])):R(``,!0)}});U(),Y(),EC();var dzn={key:0,class:`group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto`},fzn=[`href`],pzn={class:`ml-1 empty:hidden`},mzn=j({__name:`Contact`,props:{value:{}},setup(e){let t=IS({base:`text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 group-last:mr-0 xl:border-none`,variants:{link:{true:`no-underline hover:bg-b-2`}}});return(n,r)=>e.value?(N(),P(`div`,dzn,[e.value?.email?(N(),P(`a`,{key:0,class:E(k(t)({link:!0})),href:`mailto:${e.value?.email}`},[V(k(uC),{weight:`bold`,class:`size-3 text-current`}),I(`span`,pzn,D(e.value.name),1)],10,fzn)):e.value?.name?(N(),P(`span`,{key:1,class:E(k(t)({link:!1}))},D(e.value.name),3)):R(``,!0)])):R(``,!0)}});U(),EC();var hzn={class:`group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto`},gzn=[`href`],_zn={class:`ml-1 empty:hidden`},vzn={class:`ml-1 empty:hidden`},yzn=j({__name:`License`,props:{value:{}},setup(e){return(t,n)=>(N(),P(`div`,hzn,[e.value?.url?(N(),P(`a`,{key:0,class:`text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none`,href:e.value.url,target:`_blank`,rel:`noopener noreferrer`},[V(k(pC),{weight:`bold`,class:`size-3 text-current`}),I(`span`,_zn,D(e.value?.name||e.value.identifier||e.value.url),1)],8,gzn)):(N(),P(B,{key:1},[V(k(pC),{weight:`bold`,class:`size-3 text-current`}),I(`span`,vzn,D(e.value?.name),1)],64))]))}});U(),EC();var bzn={key:0,class:`group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto`},xzn=[`href`],Szn=j({__name:`TermsOfService`,props:{value:{}},setup(e){return(t,n)=>e.value?(N(),P(`div`,bzn,[I(`a`,{class:`text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none`,href:e.value,target:`_blank`,rel:`noopener noreferrer`},[V(k(ZOe),{weight:`bold`,class:`size-3 text-current`}),n[0]||=I(`span`,{class:`ml-1 empty:hidden`},`Terms of Service`,-1)],8,xzn)])):R(``,!0)}});U();var Czn=j({__name:`InfoLinks`,props:{info:{},externalDocs:{}},setup(e){return(t,n)=>(N(),F(k(azn),null,{default:A(()=>[V(k(uzn),{value:e.externalDocs},null,8,[`value`]),e.info.contact?(N(),F(k(mzn),{key:0,value:e.info.contact},null,8,[`value`])):R(``,!0),e.info.license?(N(),F(k(yzn),{key:1,value:e.info.license},null,8,[`value`])):R(``,!0),e.info.termsOfService?(N(),F(k(Szn),{key:2,value:e.info.termsOfService},null,8,[`value`])):R(``,!0)]),_:1}))}});U();var wzn=j({__name:`InfoVersion`,props:{version:{}},setup(e){let t=H(()=>{if(e.version==null)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,n)=>t.value?(N(),F(k(b9),{key:0},{default:A(()=>[L(D(t.value),1)]),_:1})):R(``,!0)}});U();var Tzn=j({__name:`OpenApiVersion`,props:{oasVersion:{}},setup(e){return(t,n)=>e.oasVersion?(N(),F(k(b9),{key:0},{default:A(()=>[L(`OAS `+D(e.oasVersion),1)]),_:1})):R(``,!0)}});U();var Ezn={class:`flex gap-1.5`},Dzn={class:`sticky-cards`},Ozn=y9(j({__name:`IntroductionLayout`,props:{id:{},oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){return(t,n)=>(N(),F(k(w9),null,{default:A(()=>[V(k(S9),{id:e.id,"aria-label":`Introduction`,class:`introduction-section z-1 gap-12`,onIntersecting:n[0]||=()=>e.id&&e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:A(()=>[V(k(LRn),{loading:!e.info},{default:A(()=>[I(`div`,Ezn,[e.info?(N(),F(wzn,{key:0,version:e.info?.version},null,8,[`version`])):R(``,!0),V(Tzn,{oasVersion:e.oasVersion},null,8,[`oasVersion`])]),V(k(T9),{loading:!e.info?.title,tight:``},{links:A(()=>[e.info?(N(),F(Czn,{key:0,externalDocs:e.externalDocs,info:e.info},null,8,[`externalDocs`,`info`])):R(``,!0)]),default:A(()=>[V(k(E9),{level:1},{default:A(()=>[L(D(e.info?.title),1)]),_:1})]),_:1},8,[`loading`]),V(k(ARn),null,{default:A(()=>[V(k(C9),null,{default:A(()=>[M(t.$slots,`download-link`,{},void 0,!0),V(izn,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,[`description`,`eventBus`,`headingSlugGenerator`])]),_:3}),t.$slots.aside?(N(),F(k(C9),{key:0},{default:A(()=>[I(`div`,Dzn,[M(t.$slots,`aside`,{},void 0,!0)])]),_:3})):R(``,!0)]),_:3}),V(k(j9),{value:e.documentExtensions},null,8,[`value`]),V(k(j9),{value:e.infoExtensions},null,8,[`value`])]),_:3},8,[`loading`]),M(t.$slots,`after`,{},void 0,!0)]),_:3},8,[`id`])]),_:3}))}}),[[`__scopeId`,`data-v-0b1e2255`]]);U();var kzn=j({__name:`InfoBlock`,props:{id:{},oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:`both`},documentUrl:{}},setup(e){let t=H(()=>e.layout===`classic`?`after`:`aside`);return(n,r)=>(N(),F(Ozn,{id:e.id,documentExtensions:e.documentExtensions,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,oasVersion:e.oasVersion},{[t.value]:A(()=>[V(_Rn,{row:e.layout===`classic`},{default:A(()=>[M(n.$slots,`selectors`)]),_:3},8,[`row`])]),"download-link":A(()=>[V(gRn,{documentDownloadType:e.documentDownloadType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,[`documentDownloadType`,`documentUrl`,`eventBus`])]),_:2},1032,[`id`,`documentExtensions`,`eventBus`,`externalDocs`,`headingSlugGenerator`,`info`,`infoExtensions`,`oasVersion`]))}});U();var Azn={},jzn={class:`introduction-card-item`};function Mzn(e,t){return N(),P(`div`,jzn,[M(e.$slots,`default`,{},void 0,!0)])}var Nzn=y9(Azn,[[`render`,Mzn],[`__scopeId`,`data-v-dfab866f`]]);U(),Y(),EC();var Pzn={class:`overflow-x-auto`},Fzn={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`},Izn={class:`overflow-x-auto`},Lzn=j({__name:`Selector`,props:{selectedServer:{},servers:{},target:{}},emits:[`update:modelValue`],setup(e,{expose:t,emit:n}){let r=n,i=H(()=>e.servers.map(e=>({id:e.url,label:e.url}))),a=H(()=>e.selectedServer?.url?.replace(/\/$/,``)||``),o=H(()=>i.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:a,serverOptions:i,selectedServer:e.selectedServer}),(t,n)=>i.value.length>1?(N(),F(k(kj),{key:0,ref:`elem`,class:`group`,modelValue:o.value,options:i.value,placement:`bottom-start`,resize:``,target:e.target,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:A(()=>[V(k(KS),{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:A(()=>[n[1]||=I(`span`,{class:`sr-only`},`Server:`,-1),I(`span`,Pzn,D(a.value||`Select a server`),1),V(k(oC),{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`])):(N(),P(`div`,Fzn,[n[2]||=I(`span`,{class:`sr-only`},`Server:`,-1),I(`span`,Izn,D(a.value),1)]))}});U(),GIn(),Y();var Rzn=[`id`],zzn=j({__name:`ServerSelector`,props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=ud(),n=t=>{e.eventBus.emit(`server:update:selected`,{url:e.selectedServer?.url===t?``:t,meta:{type:`document`}})},r=(t,n)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);r!==-1&&e.eventBus.emit(`server:update:variables`,{index:r,key:t,value:n,meta:{type:`document`}})};return(i,a)=>(N(),P(B,null,[a[0]||=I(`label`,{class:`bg-b-2 flex h-8 items-center rounded-t-xl border border-b-0 px-3 py-2.5 font-medium`},` Server `,-1),I(`div`,{id:k(t),class:E([`border`,{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(N(),F(Lzn,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:k(t),"onUpdate:modelValue":n},null,8,[`selectedServer`,`servers`,`target`])):R(``,!0)],10,Rzn),V(k(oq),{layout:`reference`,variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,[`variables`]),e.selectedServer?.description?(N(),F(k(_M),{key:0,class:`text-c-3 rounded-b-xl border border-t-0 px-3 py-1.5`,value:e.selectedServer.description},null,8,[`value`])):R(``,!0)],64))}});U(),Zjn(),a3();var Bzn=j({__name:`Auth`,props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let t=H(()=>G4(e.document?.security)),n=H(()=>e.authStore.getAuthSelectedSchemas({type:`document`,documentName:e.document?.[`x-scalar-navigation`]?.name??``})),r=H(()=>Y4(n.value,void 0,t.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(n,i)=>Object.keys(e.securitySchemes).length?(N(),F(k(l6),{key:0,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,environment:e.environment,eventBus:e.eventBus,isStatic:``,layout:`reference`,meta:{type:`document`},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??``,securityRequirements:t.value,securitySchemes:e.securitySchemes,selectedSecurity:r.value,server:e.selectedServer,title:`Authentication`},null,8,[`createAnySecurityScheme`,`environment`,`eventBus`,`persistAuth`,`proxyUrl`,`securityRequirements`,`securitySchemes`,`selectedSecurity`,`server`])):R(``,!0)}}),M9=e=>{if(typeof e!=`object`||!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 n=t&&e.type===`object`;if(n)return!0;if(t&&!n)return!1;let r=`properties`in e,i=`additionalProperties`in e,a=`patternProperties`in e;return r||i||a},Vzn=e=>{if(!M9(e))return!1;let t=Object.keys(e.properties??{}).length===0,n=e.additionalProperties===void 0||e.additionalProperties===!1,r=Object.keys(e.patternProperties??{}).length===0;return t&&n&&r};U(),Y(),Q$();var Hzn={key:0,class:`schema-type`},Uzn=[`title`],Wzn=y9(j({__name:`SchemaHeading`,props:{value:{},name:{}},setup(e){let t=H(()=>`type`in e.value?e.value.type:e.value.enum?`enum`:J$(e.value)&&e.value.items?`array`:M9(e.value)&&(e.value.properties||e.value.additionalProperties)?`object`:`unknown`);return(n,r)=>typeof e.value==`object`?(N(),P(`span`,Hzn,[I(`span`,{class:`schema-type-icon`,title:`type`in e.value&&typeof e.value.type==`string`?e.value.type:`type`in e.value&&Array.isArray(e.value.type)?e.value.type.join(` | `):`unknown type`},[k(M9)(e.value)?(N(),P(B,{key:0},[L(` {} `)],64)):R(``,!0),k(J$)(e.value)?(N(),P(B,{key:1},[L(` [] `)],64)):R(``,!0),e.value.enum?(N(),P(B,{key:2},[L(` enum `)],64)):R(``,!0)],8,Uzn),e.name?(N(),F(k(YM),{key:0,text:e.name,preset:`property`},null,8,[`text`])):(N(),P(B,{key:1},[L(D(t.value),1)],64))])):R(``,!0)}}),[[`__scopeId`,`data-v-70cb5c13`]]);p4();var Gzn=(e,t)=>e.reduce((e,n)=>{let r=t?.[n];return r&&(e[n]=r),e},{}),Kzn=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:i=`alpha`,orderRequiredPropertiesFirst:a=!0}={})=>{if(!M9(e)||!e.properties)return[];let o=Object.keys(e.properties),s=new Set(e.required||[]);return o.sort((n,r)=>{let o=n===t?.propertyName,c=r===t?.propertyName,l=s.has(n),u=s.has(r);if(o&&!c)return-1;if(!o&&c)return 1;let d=e.properties?.[n],f=e.properties?.[r],p=d&&typeof d==`object`&&`x-order`in d?d[`x-order`]:void 0,m=f&&typeof f==`object`&&`x-order`in f?f[`x-order`]:void 0;if(p!==void 0&&m!==void 0)return Number(p)-Number(m);if(p!==void 0&&m===void 0)return-1;if(p===void 0&&m!==void 0)return 1;if(a){if(l&&!u)return-1;if(!l&&u)return 1}return i===`alpha`?n.localeCompare(r):0}).filter(t=>{let i=e.properties&&f4.schema(e.properties[t]);return!(n&&i?.readOnly===!0||r&&i?.writeOnly===!0)})},qzn=[`oneOf`,`anyOf`,`allOf`,`not`];x_(),Q$();var Jzn=[`allOf`,`oneOf`,`anyOf`],Yzn=e=>`type`in e&&e.type?Array.isArray(e.type)?e.type.includes(`object`):e.type===`object`:`properties`in e,Xzn=e=>`$ref`in e||`discriminator`in e||Jzn.some(t=>t in e),Zzn=e=>{if(!J$(e)||typeof e.items!=`object`)return!1;if(`$ref`in e.items)return!0;let t=b_(e.items);return t?Yzn(t)||Xzn(t)||J$(t):!1},Qzn=e=>{if(!e||!J$(e)||typeof e.items!=`object`)return!1;if(`$ref`in e.items)return!0;let t=b_(e.items);return t?Xzn(t)||Yzn(t)?!0:Zzn(t):!1};Q$();var $zn=(e,t)=>{if(!e||!J$(e))return!1;let n=e.items;return!n||typeof n!=`object`||!(t in n)?!1:!Qzn(e)};f_(),p4(),Q$();var eBn=e=>e?qzn.map(t=>$zn(e,t)&&J$(e)&&e.items?{composition:t,value:f4.schema(e.items)}:e[t]&&!(J$(e)&&e.items&&typeof e.items==`object`&&t in e.items)?{composition:t,value:f4.schema(e)}:null).filter(d_):[];p4(),Q$();var tBn=e=>{if(!e)return[];if(e.enum)return e.enum;if(J$(e)&&typeof e.items==`object`){let t=f4.schema(e.items);if(t&&`enum`in t&&t.enum)return t.enum}return[]};Q$();var nBn={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`}},rBn=e=>{if(!Tin(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let n=nBn[t];return n?n[`format`in e&&e.format||`contentEncoding`in e&&e.contentEncoding||`_default`]??null:null};p4();function iBn(e){if(!e||typeof e!=`object`)return e;let t=qzn.find(t=>t in e&&t!==`not`);if(!t)return{...e};let n=e[t];if(!Array.isArray(n))return{...e};let{[t]:r,nullable:i,...a}=e,o=Object.keys(a).length>0,{filteredSchemas:s,hasNullSchema:c}=n.reduce((e,t)=>{let n=f4.schema(t);return`type`in n&&n.type===`null`?e.hasNullSchema=!0:e.filteredSchemas.push(n),e},{filteredSchemas:[],hasNullSchema:!1}),l=c||i===!0;if(s.length===1){let e={...a,...s[0]};return l&&(e.nullable=!0),e}if((t===`oneOf`||t===`anyOf`)&&(o||s.some(e=>e.allOf))){let e=s.map(e=>{let t=f4.schema(e);if(t.allOf?.length===1){let{allOf:e,...n}=t;return{...a,...n,...f4.schema(e[0])}}return{...a,...t}}),n={[t]:e};return l&&(n.nullable=!0),n}if(s.length!==n.length){let n={...e,[t]:s};return l&&(n.nullable=!0),n}return{...e}}var aBn=(e,t)=>!e||e.allOf?null:t||e.description||null,oBn=(e,t,n=!1)=>t||n?!0:e?e.deprecated===!0||e.const!==void 0||e.enum?.length===1||`type`in e&&e.type!==void 0||`nullable`in e&&e.nullable===!0||e.writeOnly===!0||e.readOnly===!0:!1,sBn=Symbol();p4(),Q$();var cBn=e=>e?`array ${e.includes(` | `)?`(${e})`:e}[]`:`array`,lBn=(e,t=!1)=>{if(!e.items)return`array`;let n=cBn(uBn(f4.schema(e.items)));return t?n:e.nullable?`${n} | null`:n},uBn=e=>{if(!e)return``;let t=f4.schema(e);if(t.const!==void 0)return`const`;if(`type`in t&&Array.isArray(t.type)){if(t.type.includes(`array`)&&t.items){let e=lBn(t,!0),n=t.type.filter(e=>e!==`array`);return n.length>0?`${e} | ${n.join(` | `)}`:e}return t.type.join(` | `)}return J$(t)?lBn(t,!1):`type`in t&&t.type&&t.contentEncoding?`${t.type} • ${t.contentEncoding}`:`type`in t?t.type:``};m_(),x_(),p4(),Q$();var N9=(e,t)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};let n={},{allOf:r,...i}=e;for(let t of e.allOf){if(!t||typeof t!=`object`)continue;let e=f4.schema(t);if(e.allOf){P9(n,N9(e));continue}P9(n,e)}return Object.keys(i).length>0&&P9(n,i,!0),t&&typeof t==`object`&&(t.allOf?P9(n,N9(t),!0):P9(n,t,!0)),n},P9=(e,t,n=!1)=>{let r=p_(t);if(r.length!==0)for(let i of r){let r=b_(t[i]);if(r!==void 0)if(i===`required`)Array.isArray(r)&&r.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...r])]:e.required=r.slice());else if(i===`properties`)r&&typeof r==`object`&&(e.properties||={},F9(e.properties,r));else if(i===`items`){let n=f4.schema(r);if(n)if(J$(t))if(e.items||={},n.allOf){let t=N9(n);Object.assign(e.items,t)}else dBn(b_(e.items),n);else if(n.allOf){let t=N9(n);`properties`in t&&(`properties`in e||(e.properties={}),`properties`in e&&F9(e.properties,t.properties))}else `items`in e||(e.items=n)}else if(i===`enum`)Array.isArray(r)&&r.length>0&&(e.enum=[...new Set([...e.enum||[],...r])]);else if(i===`oneOf`||i===`anyOf`){if(Array.isArray(r)){`properties`in e||(e.properties={});for(let t of r){let n=f4.schema(t);n&&`properties`in n&&`properties`in e&&F9(e.properties,n.properties)}}}else if(i===`allOf`)continue;else (n||e[i]===void 0)&&(e[i]=r)}},F9=(e,t)=>{let n=Object.keys(t??{});if(!(!t||!e||n.length===0))for(let r of n){let n=f4.schema(t[r]);if(!n){delete e[r];continue}if(typeof n!=`object`){e[r]=n;continue}if(!e[r]){n.allOf?e[r]=N9(n):J$(n)&&f4.schema(n.items)?.allOf?e[r]={...n,items:N9(f4.schema(n.items))}:t[r]&&(e[r]=t[r]);continue}let i=f4.schema(e[r]);if(n.allOf)e[r]=N9({allOf:[i,...n.allOf]});else if(J$(n)&&J$(i)&&n.items){let t=f4.schema(i.items);e[r]={...i,type:`array`,items:t?fBn(t,f4.schema(n.items)):f4.schema(n.items)}}else if(`properties`in i&&`properties`in n){let t={...i,...n};t.properties={...i.properties},F9(t.properties,n.properties),e[r]=t}else e[r]={...n,...i}}},dBn=(e,t)=>{if(t.allOf||e.allOf){let n=[];if(e.allOf)for(let t of e.allOf)n.push(f4.schema(t));else n.push(e);if(t.allOf)for(let e of t.allOf)n.push(f4.schema(e));else n.push(t);let r=N9({allOf:n});Object.assign(e,r);return}Object.assign(e,t),`properties`in e&&`properties`in t&&F9(e.properties,t.properties)},fBn=(e,t)=>{if(e.allOf||t.allOf){let n=[];if(e.allOf)for(let t of e.allOf)n.push(f4.schema(t));else n.push(e);if(t.allOf)for(let e of t.allOf)n.push(f4.schema(e));else n.push(t);return N9({allOf:n})}let n={...e,...t};return`properties`in e&&`properties`in t&&(n.properties={...e.properties},F9(n.properties,t.properties)),n};Ov();var pBn=e=>{if(!e)return null;let t=e.match(Dv.REF_NAME);return t?t[1]:null};p4();var I9=e=>{if(!e)return null;let t=f4.schema(e);if(t.title)return t.title;if(t.name)return t.name;if(`$ref`in e){let t=pBn(e.$ref);if(t)return t}return null};U(),Y(),f_(),EC(),p4();var mBn={class:`property-rule`},hBn={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`},gBn={class:`text-c-2`},_Bn={key:0,class:`text-red`},vBn={class:`composition-panel`},yBn=j({__name:`SchemaComposition`,props:{composition:{},discriminator:{},name:{},schema:{},level:{},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=e,n=H(()=>[t.schema[t.composition]].flat().map(e=>({value:f4.schema(e),original:e})).filter(e=>d_(e.value))),r=H(()=>n.value.map((e,t)=>{let n=f4.schema(e.original),r=(I9(n)??uBn(n))||`Schema`;return{id:String(t),label:r}})),i=H(()=>t.compositionPath?.length?[...t.compositionPath,t.composition].join(`.`):``),a=$u(sBn,void 0),o=H(()=>{if(t.schemaContext!==`requestBody`||!a?.value||!i.value)return 0;let e=a.value[i.value];return typeof e!=`number`||Number.isNaN(e)?0:Math.max(0,Math.min(e,r.value.length-1))}),s=O();nd([r,o],([e,t])=>{(!s.value||!e.some(e=>e.id===s.value?.id))&&(s.value=e[t]??e[0])},{immediate:!0});let c=e=>e.replace(/([A-Z])/g,` $1`).replace(/^./,e=>e.toUpperCase()).toLowerCase().replace(/^(\w)/,e=>e.toUpperCase()),l=H(()=>n.value[Number(s.value?.id??`0`)]?.value),u=O(!1);return a&&t.schemaContext===`requestBody`&&i.value&&nd(s,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(a.value={...a.value,[i.value]:t})},{immediate:!0}),(n,i)=>(N(),P(`div`,mBn,[t.composition===`allOf`?(N(),F(B9,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:k(N9)(e.schema),schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`discriminator`,`eventBus`,`hideHeading`,`level`,`name`,`options`,`schema`,`schemaContext`])):(N(),P(B,{key:1},[V(k(kj),{modelValue:s.value,"onUpdate:modelValue":i[0]||=e=>s.value=e,options:r.value,resize:``},{default:A(()=>[I(`button`,hBn,[I(`span`,gBn,D(c(t.composition)),1),I(`span`,{class:E([`composition-selector-label text-c-1`,{"line-through":l.value?.deprecated}])},D(s.value?.label||`Schema`),3),l.value?.deprecated?(N(),P(`div`,_Bn,` deprecated `)):R(``,!0),V(k(oC))])]),_:1},8,[`modelValue`,`options`]),I(`div`,vBn,[!u.value&&e.level>2?(N(),P(`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=>u.value=!0},[i[2]||=L(` Show Schema Details `,-1),V(k(oC),{class:`h-3 w-3`})])):(N(),F(B9,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:l.value,schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`discriminator`,`eventBus`,`hideHeading`,`level`,`name`,`options`,`schema`,`schemaContext`]))])],64))]))}});U(),Y();var bBn={class:`property-enum-value`},xBn={class:`property-enum-value-content`},SBn={class:`property-enum-value-label`},CBn={key:0,class:`property-enum-value-description`},wBn=y9(j({__name:`SchemaEnumPropertyItem`,props:{label:{},description:{}},setup(e){return(t,n)=>(N(),P(`li`,bBn,[I(`div`,xBn,[I(`span`,SBn,[V(k(YM),{text:e.label,preset:`property`},null,8,[`text`])]),e.description?(N(),P(`span`,CBn,[V(k(_M),{value:e.description},null,8,[`value`])])):R(``,!0)])]))}}),[[`__scopeId`,`data-v-f4b54bdd`]]);U(),Y(),EC(),p4(),Q$();var TBn={key:0,class:`property-enum`},EBn={key:0,class:`property-enum-property-names`},DBn={key:1,class:`property-enum-property-names`},OBn={class:`property-enum-values`},kBn={key:1},ABn=9,jBn=5,MBn=` `,NBn=y9(j({__name:`SchemaEnums`,props:{value:{},propertyNames:{type:Boolean}},setup(e){let t=H(()=>e.value&&(e.value.enum||J$(e.value)&&f4.schema(e.value.items)?.enum)||[]),n=H(()=>t.value.length>ABn),r=H(()=>n.value?jBn:t.value.length),i=H(()=>t.value.slice(0,r.value)),a=H(()=>t.value.slice(r.value)),o=(t,n)=>{let r=e.value?.[`x-enumDescriptions`]??e.value?.[`x-enum-descriptions`];if(r){if(Array.isArray(r))return r[n];if(typeof r==`object`&&r)return r[String(t)]}},s=(t,n)=>{let r=e.value?.[`x-enum-varnames`]??e.value?.[`x-enumNames`],i=Array.isArray(r)?r[n]:void 0;return i?`${t}${MBn}=${MBn}${i}`:String(t)},c=O(!1),l=()=>{c.value=!c.value};return(u,d)=>t.value.length>0?(N(),P(`div`,TBn,[e.propertyNames?(N(),P(`div`,EBn,` property names `)):(N(),P(`div`,DBn,` values `)),I(`ul`,OBn,[(N(!0),P(B,null,yd(i.value,(e,t)=>(N(),F(wBn,{key:String(e),description:o(e,t),label:s(e,t)},null,8,[`description`,`label`]))),128)),n.value&&c.value?(N(!0),P(B,{key:0},yd(a.value,(e,t)=>(N(),F(wBn,{key:String(e),description:o(e,r.value+t),label:s(e,r.value+t)},null,8,[`description`,`label`]))),128)):R(``,!0),n.value?(N(),P(`li`,kBn,[V(k(KS),{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:l},{default:A(()=>[V(k(yC),{class:E({"rotate-45":c.value}),weight:`bold`},null,8,[`class`]),L(` `+D(c.value?`Hide values`:`Show all values`),1)]),_:1})])):R(``,!0)])])):R(``,!0)}}),[[`__scopeId`,`data-v-55c01b89`]]);U();var PBn=j({__name:`RenderString`,props:{value:{}},setup(e){let t=H(()=>e.value===``?`''`:e.value===null?`null`:e.value===void 0?`undefined`:e.value);return(e,n)=>D(t.value)}});function FBn(e){return Array.isArray(e)?`[${e.map(e=>typeof e==`string`?`"${e.toString().trim()}"`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:e===null?`null`:e).join(`, `)}]`:e===null?`null`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:typeof e==`string`?e.trim():e.toString().trim()}U(),Y(),fq();var IBn={key:0,class:`property-default`},LBn={class:`property-default-value-list`},RBn=y9(j({__name:`SchemaPropertyDefault`,props:{value:{}},setup(e){let{copyToClipboard:t}=dq();return(n,r)=>e.value===void 0?R(``,!0):(N(),P(`div`,IBn,[r[1]||=I(`button`,{class:`property-default-label`,type:`button`},[I(`span`,null,`Default`)],-1),I(`div`,LBn,[I(`button`,{class:`property-default-value group`,type:`button`,onClick:r[0]||=n=>k(t)(k(FBn)(e.value))},[I(`span`,null,D(k(FBn)(e.value)),1),V(k(nM),{class:`group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})])])]))}}),[[`__scopeId`,`data-v-4da5c70a`]]);U();var zBn={key:0,class:`property-detail-prefix`},BBn={key:1,class:`property-detail-value`},VBn={key:2,class:`property-detail-value`},L9=y9(j({__name:`SchemaPropertyDetail`,props:{truncate:{type:Boolean},code:{type:Boolean}},setup(e){return(t,n)=>(N(),P(`span`,{class:E([`property-detail`,{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(N(),P(`div`,zBn,[M(t.$slots,`prefix`,{},void 0,!0),n[0]||=L(`\xA0 `,-1)])):R(``,!0),e.code?(N(),P(`code`,BBn,[M(t.$slots,`default`,{},void 0,!0)])):(N(),P(`span`,VBn,[M(t.$slots,`default`,{},void 0,!0)]))],2))}}),[[`__scopeId`,`data-v-1295f965`]]);function R9(e){return Array.isArray(e)?`[${e.map(e=>typeof e==`string`?`"${e.toString().trim()}"`:typeof e==`object`?JSON.stringify(e):e===void 0?`undefined`:e===null?`null`:e).join(`, `)}]`:e===null?`null`:typeof e==`object`?`value`in e?e.value:`externalValue`in e?e.externalValue:JSON.stringify(e):e===void 0?`undefined`:typeof e==`string`?e.trim():e.toString().trim()}U(),Y(),f_(),fq();var HBn={key:0,class:`property-example`},UBn={class:`property-example-value-list`},WBn={key:1,class:`property-example`},GBn={class:`property-example-label`,type:`button`},KBn={class:`property-example-value-list`},qBn=[`onClick`],JBn=y9(j({__name:`SchemaPropertyExamples`,props:{examples:{},example:{}},setup(e){let{copyToClipboard:t}=dq(),n=H(()=>d_(e.example)),r=H(()=>e.examples&&typeof e.examples==`object`?e.examples:{}),i=H(()=>Object.keys(r.value).length>0),a=H(()=>Object.keys(r.value).length===1?`Example`:`Examples`);return(o,s)=>(N(),P(B,null,[n.value?(N(),P(`div`,HBn,[s[1]||=I(`button`,{class:`property-example-label`,type:`button`},[I(`span`,null,`Example`)],-1),I(`div`,UBn,[I(`button`,{class:`property-example-value group`,type:`button`,onClick:s[0]||=n=>k(t)(k(R9)(e.example))},[I(`span`,null,D(k(R9)(e.example)),1),V(k(nM),{class:`group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})])])])):R(``,!0),i.value?(N(),P(`div`,WBn,[I(`button`,GBn,[I(`span`,null,D(a.value),1)]),I(`div`,KBn,[(N(!0),P(B,null,yd(r.value,(e,n)=>(N(),P(`button`,{key:n,class:`property-example-value group`,type:`button`,onClick:n=>k(t)(k(R9)(e))},[I(`span`,null,D(k(R9)(e)),1),V(k(nM),{class:`text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3`,icon:`Clipboard`,size:`xs`})],8,qBn))),128))])])):R(``,!0)],64))}}),[[`__scopeId`,`data-v-3388e4cb`]]);U(),f_(),p4(),Q$();var YBn={class:`property-heading`},XBn={key:1,class:`property-discriminator`},ZBn={key:3,class:`property-additional`},QBn={key:4,class:`property-deprecated`},$Bn={key:5,class:`property-const`},eVn={key:7,class:`property-write-only`},tVn={key:8,class:`property-read-only`},nVn={key:9,class:`property-required`},rVn=y9(j({__name:`SchemaPropertyHeading`,props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelName:{}},setup(e){let t=e,n=du(t,`value`),r=H(()=>{if(!n.value)return;let e=n.value;if(e.const!==void 0)return e.const;if(e.enum?.length===1)return e.enum[0];if(J$(e)&&e.items){let t=f4.schema(e.items);if(d_(t.const))return t.const;if(t.enum?.length===1)return t.enum[0]}}),i=H(()=>{if(!n.value)return[];let e=n.value,t=[];return J$(e)&&((e.minItems||e.maxItems)&&t.push({key:`array-range`,value:`${e.minItems||``}…${e.maxItems||``}`}),e.uniqueItems&&t.push({key:`unique-items`,value:`unique!`})),Y$(e)&&(e.minLength&&t.push({key:`min-length`,prefix:`min length: `,value:e.minLength}),e.maxLength&&t.push({key:`max-length`,prefix:`max length: `,value:e.maxLength}),e.pattern&&t.push({key:`pattern`,value:e.pattern,code:!0,truncate:!0})),(Y$(e)||X$(e))&&e.format&&t.push({key:`format`,value:e.format,truncate:!0}),X$(e)&&(d_(e.exclusiveMinimum)&&t.push({key:`exclusive-minimum`,prefix:`greater than: `,value:e.exclusiveMinimum}),d_(e.minimum)&&t.push({key:`minimum`,prefix:`min: `,value:e.minimum}),d_(e.exclusiveMaximum)&&t.push({key:`exclusive-maximum`,prefix:`less than: `,value:e.exclusiveMaximum}),d_(e.maximum)&&t.push({key:`maximum`,prefix:`max: `,value:e.maximum}),d_(e.multipleOf)&&t.push({key:`multiple-of`,prefix:`multiple of: `,value:e.multipleOf})),t}),a=H(()=>{if(!t.value||t.hideModelNames)return null;if(t.modelName)return t.modelName;let e=I9(t.value);if(e)return e;if(J$(t.value)&&t.value.items){let e=I9(t.value.items);return e?`${e}[]`:null}return null}),o=H(()=>!t.value||!(`type`in t.value)?!1:t.value.type===`array`?!0:!r.value),s=H(()=>t.value?uBn(t.value):``),c=H(()=>{if(d_(t.value?.example))return t.value.example;if(t.value&&J$(t.value)){let e=f4.schema(t.value.items)?.example;return d_(e)?e:void 0}});return(e,n)=>(N(),P(`div`,YBn,[e.$slots.name?(N(),P(`div`,{key:0,class:E([`property-name`,{deprecated:t.value?.deprecated}])},[M(e.$slots,`name`,{},void 0,!0)],2)):R(``,!0),t.isDiscriminator?(N(),P(`div`,XBn,` Discriminator `)):R(``,!0),t.value?(N(),P(B,{key:2},[o.value?(N(),F(L9,{key:0,truncate:``},{default:A(()=>[V(D9,null,{default:A(()=>[...n[0]||=[L(`Type: `,-1)]]),_:1}),L(D(s.value)+D(a.value?` · ${a.value}`:``),1)]),_:1})):R(``,!0),(N(!0),P(B,null,yd(i.value,e=>(N(),F(L9,{key:e.key,code:e.code,truncate:e.truncate},bd({default:A(()=>[e.key===`format`?(N(),F(D9,{key:0},{default:A(()=>[...n[1]||=[L(`Format:`,-1)]]),_:1})):e.key===`pattern`?(N(),F(D9,{key:1},{default:A(()=>[...n[2]||=[L(` Pattern: `,-1)]]),_:1})):R(``,!0),L(` `+D(e.value),1)]),_:2},[e.prefix?{name:`prefix`,fn:A(()=>[L(D(e.prefix),1)]),key:`0`}:void 0]),1032,[`code`,`truncate`]))),128)),t.enum?(N(),F(L9,{key:1},{default:A(()=>[...n[3]||=[L(`enum`,-1)]]),_:1})):R(``,!0)],64)):R(``,!0),t.additional?(N(),P(`div`,ZBn,[t.value?.[`x-additionalPropertiesName`]?(N(),P(B,{key:0},[L(D(t.value[`x-additionalPropertiesName`]),1)],64)):(N(),P(B,{key:1},[L(`additional properties`)],64))])):R(``,!0),t.value?.deprecated?(N(),P(`div`,QBn,[V(k(b9),null,{default:A(()=>[...n[4]||=[L(`deprecated`,-1)]]),_:1})])):R(``,!0),r.value===void 0?(N(),P(B,{key:6},[t.value?.nullable===!0?(N(),F(L9,{key:0},{default:A(()=>[...n[6]||=[L(` nullable `,-1)]]),_:1})):R(``,!0)],64)):(N(),P(`div`,$Bn,[V(L9,{truncate:``},{prefix:A(()=>[...n[5]||=[L(`const: `,-1)]]),default:A(()=>[V(PBn,{value:r.value},null,8,[`value`])]),_:1})])),t.value?.writeOnly?(N(),P(`div`,eVn,` write-only `)):t.value?.readOnly?(N(),P(`div`,tVn,` read-only `)):R(``,!0),t.required?(N(),P(`div`,nVn,` required `)):R(``,!0),V(RBn,{value:t.value?.default},null,8,[`value`]),t.withExamples?(N(),F(JBn,{key:10,example:c.value,examples:t.value?.examples},null,8,[`example`,`examples`])):R(``,!0)]))}}),[[`__scopeId`,`data-v-d6007af3`]]);U(),Y(),p4(),Q$();var iVn={key:0,class:`property-name-pattern-properties`},aVn={key:1,class:`property-name-additional-properties`},oVn={key:1,class:`property-description`},sVn={key:4,class:`children`},cVn={key:5,class:`children`},z9=y9(j({__name:`SchemaProperty`,props:{is:{},schema:{},noncollapsible:{type:Boolean},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},schemaContext:{},compositionPath:{},compositionPathSegment:{}},setup(e){let t=e,n=H(()=>iBn(t.schema)),r=H(()=>t.breadcrumb&&t.name?[...t.breadcrumb,t.name]:void 0),i=H(()=>t.compositionPathSegment?[...t.compositionPath??[],t.compositionPathSegment]:t.compositionPath??[]),a=H(()=>[...i.value,`items`]),o=H(()=>t.level<=1),s=H(()=>Qzn(n.value)),c=H(()=>d.value.length>0),l=H(()=>{let e=n.value;return e?M9(e)&&(`properties`in e||`additionalProperties`in e):!1}),u=H(()=>{let e=n.value;return!e||!J$(e)||typeof e.items!=`object`?!1:s.value}),d=H(()=>tBn(n.value)),f=H(()=>rBn(n.value)),p=H(()=>aBn(n.value,t.description)),m=H(()=>{let e=n.value;if(!e||!p.value||!(`description`in e))return e;let{description:t,...r}=e;return r}),h=H(()=>oBn(n.value,t.name,t.required)),g=H(()=>eBn(n.value)),_=H(()=>{let e=n.value;if(!(!e||!J$(e)||typeof e.items!=`object`))return f4.schema(e.items)}),v=H(()=>!!(t.name&&t.discriminator?.propertyName===t.name));return(t,s)=>(N(),F(vd(e.is??`li`),{class:E([`property`,[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":n.value?.deprecated}]])},{default:A(()=>[h.value?(N(),F(rVn,{key:0,class:`group`,enum:c.value,hideModelNames:e.hideModelNames,isDiscriminator:v.value,modelName:e.modelName,required:e.required,value:n.value},bd({_:2},[e.name?{name:`name`,fn:A(()=>[V(k(WRn),{breadcrumb:o.value?r.value:void 0,eventBus:e.eventBus},{default:A(()=>[e.variant===`patternProperties`?(N(),P(`span`,iVn,[V(k(YM),{preset:`property`,text:e.name},null,8,[`text`])])):e.variant===`additionalProperties`?(N(),P(`span`,aVn,[V(k(YM),{preset:`property`,text:e.name},null,8,[`text`])])):(N(),F(k(YM),{key:2,preset:`property`,text:e.name},null,8,[`text`]))]),_:1},8,[`breadcrumb`,`eventBus`])]),key:`0`}:void 0,n.value?.example===void 0?void 0:{name:`example`,fn:A(()=>[L(` Example: `+D(n.value.example),1)]),key:`1`}]),1032,[`enum`,`hideModelNames`,`isDiscriminator`,`modelName`,`required`,`value`])):R(``,!0),p.value||f.value?(N(),P(`div`,oVn,[V(k(_M),{value:p.value||f.value||``},null,8,[`value`])])):R(``,!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(N(),F(NBn,{key:2,propertyNames:``,value:{enum:e.propertyNamesEnum}},null,8,[`value`])):R(``,!0),d.value.length>0?(N(),F(NBn,{key:3,value:n.value},null,8,[`value`])):R(``,!0),l.value?(N(),P(`div`,sVn,[V(B9,{breadcrumb:r.value,compact:e.compact,compositionPath:i.value,eventBus:e.eventBus,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schemaContext:e.schemaContext,schema:m.value},null,8,[`breadcrumb`,`compact`,`compositionPath`,`eventBus`,`level`,`name`,`noncollapsible`,`options`,`schemaContext`,`schema`])])):R(``,!0),u.value&&_.value?(N(),P(`div`,cVn,[V(B9,{compact:e.compact,compositionPath:a.value,eventBus:e.eventBus,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schemaContext:e.schemaContext,schema:k(f4).schema(_.value)},null,8,[`compact`,`compositionPath`,`eventBus`,`level`,`name`,`noncollapsible`,`options`,`schemaContext`,`schema`])])):R(``,!0),(N(!0),P(B,null,yd(g.value,t=>(N(),F(yBn,{key:t.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,compositionPath:i.value,schema:t.value,schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`composition`,`discriminator`,`eventBus`,`hideHeading`,`level`,`name`,`noncollapsible`,`options`,`compositionPath`,`schema`,`schemaContext`]))),128)),V(k(j9),{value:n.value},null,8,[`value`])]),_:1},8,[`class`]))}}),[[`__scopeId`,`data-v-203755f6`]]);U(),p4();var lVn=j({__name:`SchemaObjectProperties`,props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=H(()=>Kzn(e.schema,e.discriminator,e.options)),n=(e,t)=>{let n=typeof e==`boolean`?e:f4.schema(e);if(typeof n==`object`&&typeof n[`x-additionalPropertiesName`]==`string`&&n[`x-additionalPropertiesName`].trim().length>0)return`${n[`x-additionalPropertiesName`].trim()}`;if(t){let e=f4.schema(t);if(e?.title)return e.title}return`propertyName`},r=e=>{if(!e)return;let t=f4.schema(e);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},i=H(()=>{if(!(!M9(e.schema)||!e.schema.additionalProperties))return r(e.schema.propertyNames)}),a=e=>e===!0||typeof e==`object`&&Object.keys(e).length===0||typeof e!=`object`||!(`type`in e)?{type:`anything`,...typeof e==`object`?e:{}}:e;return(r,o)=>(N(),P(B,null,[k(M9)(e.schema)&&e.schema.properties?(N(!0),P(B,{key:0},yd(t.value,t=>(N(),F(z9,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment: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:k(f4).schema(e.schema.properties[t]),schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`discriminator`,`eventBus`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`required`,`schema`,`schemaContext`]))),128)):R(``,!0),k(M9)(e.schema)&&e.schema.patternProperties?(N(!0),P(B,{key:1},yd(Object.entries(e.schema.patternProperties),([t,n])=>(N(),F(z9,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:k(f4).schema(n),schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`discriminator`,`eventBus`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`schema`,`schemaContext`]))),128)):R(``,!0),k(M9)(e.schema)&&e.schema.additionalProperties?(N(),F(z9,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:n(e.schema.additionalProperties,e.schema.propertyNames),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:n(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:``,options:e.options,propertyNamesEnum:i.value,schema:a(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:`additionalProperties`},null,8,[`breadcrumb`,`compact`,`compositionPath`,`compositionPathSegment`,`discriminator`,`eventBus`,`hideHeading`,`hideModelNames`,`level`,`name`,`options`,`propertyNamesEnum`,`schema`,`schemaContext`])):R(``,!0)],64))}});U(),Ag(),Y();var uVn={key:0,class:`schema-card-description`},dVn={key:1,class:`pt-2`},fVn={key:0,class:`schema-properties`},B9=y9(j({__name:`Schema`,props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=H(()=>!e.noncollapsible&&e.level>0),n=H(()=>e.schema?.allOf&&e.schema.allOf.length>0&&e.name===`Request Body`?e.schema.description||e.schema.allOf[0]?.description||null:!e.schema?.description||typeof e.schema.description!=`string`||e.schema.oneOf||e.schema.anyOf||e.schema.enum||!(`properties`in e.schema)&&!(`patternProperties`in e.schema)&&!(`additionalProperties`in e.schema)?null:e.schema.description),r=t=>e.noncollapsible&&t.stopPropagation();return(i,a)=>typeof e.schema==`object`&&Object.keys(e.schema).length?(N(),F(k(Kh),{key:0,defaultOpen:e.noncollapsible},{default:A(({open:i})=>[I(`div`,{class:E([`schema-card`,[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":i},{"border-t":e.additionalProperties&&i}]])},[n.value?(N(),P(`div`,uVn,[V(k(_M),{value:n.value},null,8,[`value`])])):R(``,!0),k(Vzn)(e.schema)?(N(),P(`div`,dVn,` Empty object `)):R(``,!0),I(`div`,{class:E([`schema-properties`,{"schema-properties-open":i}])},[e.additionalProperties?Xu((N(),P(`div`,fVn,[V(k(qh),{as:`button`,class:`schema-card-title schema-card-title--compact`,onClickCapture:r},{default:A(()=>[V(k(nM),{class:`schema-card-title-icon`,icon:`Add`,size:`sm`}),a[0]||=L(` Show additional properties `,-1),e.name?(N(),F(D9,{key:0},{default:A(()=>[L(`for `+D(e.name),1)]),_:1})):R(``,!0)]),_:1})],512)),[[Rp,!i]]):t.value?Xu((N(),F(k(qh),{key:1,as:e.noncollapsible?`div`:`button`,class:E([`schema-card-title`,{"schema-card-title--compact":e.compact}]),style:Kc({top:`calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:r},{default:A(()=>[e.compact?(N(),P(B,{key:0},[V(k(nM),{class:E([`schema-card-title-icon`,{"schema-card-title-icon--open":i}]),icon:`Add`,size:`sm`},null,8,[`class`]),i?(N(),P(B,{key:0},[L(` Hide `+D(e.schema?.title??`Child Attributes`),1)],64)):(N(),P(B,{key:1},[L(` Show `+D(e.schema?.title??`Child Attributes`),1)],64)),e.name?(N(),F(D9,{key:2},{default:A(()=>[L(`for `+D(e.name),1)]),_:1})):R(``,!0)],64)):(N(),P(B,{key:1},[V(k(nM),{class:E([`schema-card-title-icon`,{"schema-card-title-icon--open":i}]),icon:`Add`,size:`sm`},null,8,[`class`]),V(Wzn,{name:e.schema?.title??e.name,value:e.schema},null,8,[`name`,`value`])],64))]),_:2},1032,[`as`,`class`,`style`])),[[Rp,!e.hideHeading&&!(e.noncollapsible&&e.compact)]]):R(``,!0),!e.additionalProperties||i?(N(),F(k(Jh),{key:2,as:`ul`,static:!t.value},{default:A(()=>[k(M9)(e.schema)?(N(),F(lVn,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`discriminator`,`eventBus`,`hideHeading`,`hideModelNames`,`level`,`options`,`schema`,`schemaContext`])):(N(),P(B,{key:1},[e.schema?(N(),F(z9,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,[`breadcrumb`,`compact`,`compositionPath`,`eventBus`,`hideHeading`,`hideModelNames`,`level`,`options`,`schema`,`schemaContext`])):R(``,!0)],64))]),_:1},8,[`static`])):R(``,!0)],2)],2)]),_:1},8,[`defaultOpen`])):R(``,!0)}}),[[`__scopeId`,`data-v-38d75111`]]);U(),Y(),U(),p4();var pVn={key:0,class:`properties`},mVn={key:1},hVn=y9(j({__name:`ClassicLayout`,props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},options:{}},setup(e){return(t,n)=>(N(),F(k(CRn),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},{title:A(()=>[V(k(O9),{class:`reference-models-anchor`,eventBus:e.eventBus,onCopyAnchorUrl:n[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:A(()=>[V(k(E9),{level:3},{default:A(()=>[V(k(Wzn),{class:`reference-models-label`,name:e.schema.title??e.name,value:e.schema},null,8,[`name`,`value`])]),_:1})]),_:1},8,[`eventBus`])]),default:A(()=>[`properties`in e.schema?(N(),P(`div`,pVn,[(N(!0),P(B,null,yd(Object.entries(e.schema.properties??{}),([t,n])=>(N(),F(k(z9),{key:t,eventBus:e.eventBus,name:t,options:e.options,required:e.schema.required?.includes(t),schema:k(f4).schema(n)},null,8,[`eventBus`,`name`,`options`,`required`,`schema`]))),128))])):(N(),P(`div`,mVn,[V(k(z9),{eventBus:e.eventBus,options:e.options,schema:e.schema},null,8,[`eventBus`,`options`,`schema`])]))]),_:1},8,[`aria-label`,`modelValue`]))}}),[[`__scopeId`,`data-v-e4ca3c0f`]]);U(),Y();var gVn=j({__name:`ModernLayout`,props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},options:{}},setup(e){return(t,n)=>(N(),F(k(qRn),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:n[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id}),"onUpdate:modelValue":n[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},{heading:A(()=>[V(k(E9),{level:3},{default:A(()=>[V(k(Wzn),{name:e.schema.title??e.name,value:e.schema},null,8,[`name`,`value`])]),_:1})]),default:A(()=>[V(k(Uj),null,{default:A(()=>[V(k(B9),{eventBus:e.eventBus,hideHeading:``,hideModelNames:``,level:1,noncollapsible:``,options:e.options,schema:e.schema},null,8,[`eventBus`,`options`,`schema`])]),_:1})]),_:1},8,[`id`,`label`,`modelValue`]))}});U();var _Vn=j({__name:`Model`,props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=fd(`section`);return x9(t,()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})),(n,r)=>e.schema?(N(),P(`div`,{key:0,ref_key:`section`,ref:t},[e.options.layout===`classic`?(N(),F(hVn,{key:0,id:e.id,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,[`id`,`eventBus`,`isCollapsed`,`name`,`options`,`schema`])):(N(),F(gVn,{key:1,id:e.id,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,[`id`,`eventBus`,`isCollapsed`,`name`,`options`,`schema`]))],512)):R(``,!0)}});U(),EC();var vVn={class:`show-more`,type:`button`},yVn=y9(j({__name:`ShowMoreButton`,setup(e){return(e,t)=>(N(),P(`button`,vVn,[t[0]||=L(` Show More `,-1),V(k(oC),{class:`text-c-2 mt-0.25 size-3`,weight:`bold`})]))}}),[[`__scopeId`,`data-v-d1c2b649`]]);U();var bVn=j({__name:`ModelTag`,props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{}},setup(e){return(t,n)=>e.layout===`modern`?(N(),F(w9,{key:0,id:`model`},{default:A(()=>[V(k(S9),{id:e.id,"aria-label":`Models`,onIntersecting:n[1]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:A(()=>[V(k(T9),null,{default:A(()=>[V(E9,{level:2},{default:A(()=>[...n[3]||=[L(` Models `,-1)]]),_:1})]),_:1}),e.isCollapsed?(N(),F(yVn,{key:1,id:e.id,class:`top-0`,onClick:n[0]||=()=>e.eventBus.emit(`toggle:nav-item`,{id:e.id,open:!0})},null,8,[`id`])):M(t.$slots,`default`,{key:0})]),_:3},8,[`id`])]),_:3})):(N(),F(PRn,{key:1,"aria-label":`Models`,class:`pb-12`,modelValue:!e.isCollapsed,"onUpdate:modelValue":n[2]||=()=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:e.isCollapsed})},{title:A(()=>[V(k(T9),{level:2},{default:A(()=>[...n[4]||=[L(`Models`,-1)]]),_:1})]),default:A(()=>[M(t.$slots,`default`)]),_:3},8,[`modelValue`]))}});U(),Y();var xVn=y9(j({__name:`ClassicLayout`,props:{tag:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){return(t,n)=>(N(),F(k(PRn),{"aria-label":e.tag.title,class:E([`tag-section`,{"tag-section-group":e.tag.isGroup}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":n[1]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.tag.id,open:t})},{title:A(()=>[V(k(T9),{class:E([`tag-name`,{"tag-group-name":e.tag.isGroup}])},{default:A(()=>[V(k(O9),{onCopyAnchorUrl:n[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.tag.id})},{default:A(()=>[V(k(E9),{level:2},{default:A(()=>[L(D(e.tag.title),1)]),_:1})]),_:1})]),_:1},8,[`class`]),V(k(_M),{class:`tag-description`,value:e.tag?.description,withImages:``},null,8,[`value`])]),default:A(()=>[M(t.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-label`,`class`,`modelValue`]))}}),[[`__scopeId`,`data-v-d4f47ce7`]]);U(),bv(),f2();var SVn=j({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=H(()=>yv(String(t.method||``))),r=H(()=>d2(t.method));return(t,i)=>(N(),F(vd(e.as??`span`),{class:`uppercase`,style:Kc({[e.property||`color`]:n.value.colorVar})},{default:A(()=>[M(t.$slots,`default`),L(` `+D(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}});U(),bv(),EC();var CVn=y9(j({__name:`OperationsListItem`,props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=H(()=>`path`in e.operation?e.operation.path:e.operation.title),n=e=>e.type===`webhook`;return(r,i)=>(N(),P(`li`,{key:e.operation.id,class:`contents`},[e.isCollapsed?(N(),F(k(E9),{key:0,class:`sr-only`,level:3},{default:A(()=>[L(D(e.operation.title)+` (Hidden) `,1)]),_:1})):R(``,!0),I(`a`,{class:`endpoint`,onClick:i[0]||=$p(()=>e.eventBus?.emit(`scroll-to:nav-item`,{id:e.operation.id}),[`prevent`])},[V(k(SVn),{class:`endpoint-method items-center justify-end gap-2`,method:e.operation.method},{default:A(()=>[n(e.operation)?(N(),F(k(wC),{key:0,class:`size-3.5`,style:Kc({color:k(yv)(e.operation.method).colorVar})},null,8,[`style`])):R(``,!0)]),_:1},8,[`method`]),I(`span`,{class:E([`endpoint-path`,{deprecated:e.operation.isDeprecated}])},D(t.value),3)])]))}}),[[`__scopeId`,`data-v-ad8530a6`]]);U(),Y();var wVn=[`aria-label`],TVn=y9(j({__name:`OperationsList`,props:{tag:{},eventBus:{}},setup(e){let t=H(()=>e.tag.children?.filter(e=>e.type===`operation`||e.type===`webhook`)??[]);return(n,r)=>e.tag.children&&e.tag.children?.length>0?(N(),F(k(YS),{key:0,class:`endpoints-card`},{default:A(()=>[V(k($S),{muted:``},{default:A(()=>[V(D9,null,{default:A(()=>[L(D(e.tag.title),1)]),_:1}),L(` `+D(e.tag.isWebhooks?`Webhooks`:`Operations`),1)]),_:1}),V(k(XS),{class:`custom-scroll max-h-[60vh]`},{default:A(()=>[I(`ul`,{"aria-label":`${e.tag.title} endpoints`,class:`endpoints`},[(N(!0),P(B,null,yd(t.value,t=>(N(),F(CVn,{key:t.id,eventBus:e.eventBus,operation:t},null,8,[`eventBus`,`operation`]))),128))],8,wVn)]),_:1})]),_:1})):R(``,!0)}}),[[`__scopeId`,`data-v-f726f753`]]);U(),Y();var EVn=j({__name:`TagSection`,props:{tag:{},headerId:{},isCollapsed:{type:Boolean},isLoading:{type:Boolean},eventBus:{}},setup(e){return(t,n)=>e.tag?(N(),F(k(S9),{key:0,id:e.tag.id,role:`none`,onIntersecting:n[1]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.tag.id})},{default:A(()=>[Xu(V(k(T9),null,{default:A(()=>[V(k(O9),{onCopyAnchorUrl:n[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.tag.id})},{default:A(()=>[V(k(E9),{id:e.headerId,level:2},{default:A(()=>[L(D(e.tag.title)+` `,1),e.isCollapsed?(N(),F(D9,{key:0},{default:A(()=>[...n[2]||=[L(` (Collapsed)`,-1)]]),_:1})):R(``,!0)]),_:1},8,[`id`])]),_:1})]),_:1},512),[[Rp,!e.isLoading]]),V(k(LRn),{loading:e.isLoading},{default:A(()=>[V(k(ARn),null,{default:A(()=>[V(k(C9),null,{default:A(()=>[V(k(_M),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??``,withImages:``},null,8,[`clamp`,`value`])]),_:1}),V(k(C9),null,{default:A(()=>[V(k(TVn),{eventBus:e.eventBus,tag:e.tag},null,8,[`eventBus`,`tag`])]),_:1})]),_:1})]),_:1},8,[`loading`]),V(k(j9),{value:e.tag.xKeys},null,8,[`value`])]),_:1},8,[`id`])):R(``,!0)}});U();var DVn={key:2,class:`contents divide-y`},OVn=y9(j({__name:`ModernLayout`,props:{tag:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=ud(),n=H(()=>e.moreThanOneTag||e.tag?.title!==`default`||e.tag?.description!==``),r=H(()=>(e.tag?.children?.length??0)>0);return(i,a)=>(N(),F(k(w9),{"aria-labelledby":k(t),class:`tag-section-container`,role:`region`},{default:A(()=>[n.value?(N(),F(EVn,{key:0,eventBus:e.eventBus,headerId:k(t),isCollapsed:e.isCollapsed,isLoading:e.isLoading,tag:e.tag},null,8,[`eventBus`,`headerId`,`isCollapsed`,`isLoading`,`tag`])):R(``,!0),e.isCollapsed&&e.moreThanOneTag&&r.value?(N(),F(yVn,{key:1,id:e.tag.id,"aria-label":`Show all ${e.tag.title} endpoints`,onClick:a[0]||=()=>e.eventBus?.emit(`toggle:nav-item`,{id:e.tag.id,open:!0})},null,8,[`id`,`aria-label`])):R(``,!0),e.isCollapsed&&e.moreThanOneTag?R(``,!0):(N(),P(`div`,DVn,[M(i.$slots,`default`,{},void 0,!0)]))]),_:3},8,[`aria-labelledby`]))}}),[[`__scopeId`,`data-v-8f1a275c`]]);U();var kVn=j({__name:`Tag`,props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup(e){return(t,n)=>e.layout===`classic`?(N(),F(xVn,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,tag:e.tag},{default:A(()=>[M(t.$slots,`default`)]),_:3},8,[`eventBus`,`isCollapsed`,`layout`,`tag`])):(N(),F(OVn,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isLoading:e.isLoading,layout:e.layout,moreThanOneTag:e.moreThanOneTag,tag:e.tag},{default:A(()=>[M(t.$slots,`default`)]),_:3},8,[`eventBus`,`isCollapsed`,`isLoading`,`layout`,`moreThanOneTag`,`tag`]))}}),AVn=e=>e.replace(/^\/+|\/+$/g,``),jVn=e=>e.startsWith(`#`),MVn=e=>e.replace(/^#+/,``).replace(/\/+$/g,``),NVn=(e,t)=>t?`${t}${e?`/`:``}${e}`:e,PVn=(e,t)=>e===t?``:e.startsWith(`${t}/`)?e.slice(t.length+1):null,FVn=(e,t)=>{let n=typeof e==`string`?new URL(e):e;return NVn(decodeURIComponent(n.hash.slice(1)),t)},IVn=(e,t,n)=>{let r=typeof e==`string`?new URL(e):e,i=AVn(t),a=i?`/${i.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`:``;if(r.pathname.startsWith(a)){let e=r.pathname.slice(a.length);return NVn(decodeURIComponent(e.startsWith(`/`)?e.slice(1):e),n)}return n??``},LVn=(e,t,n)=>{let r=typeof e==`string`?new URL(e):e,i=PVn(decodeURIComponent(r.hash.slice(1)),MVn(t));return i===null?n??``:NVn(i,n)},RVn=(e,t)=>{let n=typeof e==`string`?new URL(e):e;if(jVn(t)){let e=decodeURIComponent(n.hash);return e===t||e.startsWith(`${t}/`)}let r=AVn(t),i=r?`/${r.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`:``;return n.pathname===i||n.pathname.startsWith(`${i}/`)},V9=(e,t,n)=>typeof t==`string`?jVn(t)?LVn(e,t,n):IVn(e,t,n):FVn(e,n),zVn=e=>{let t=e.endsWith(`/`),n=e.split(`/`).filter(Boolean).slice(1).join(`/`);return t&&n?`${n}/`:n},H9=(e,t,n)=>{if(typeof window>`u`)return;let r=n?e:zVn(e),i=new URL(window.location.href);return typeof t==`string`?jVn(t)?i.hash=[MVn(t),r].filter(Boolean).join(`/`):i.pathname=`${AVn(t)}/${r}`:i.hash=r,i},BVn=e=>{let t=e.match(/(.*)(\.body\.|\.path\.|\.query\.|\.header\.)(.*)/);return t&&typeof t[1]==`string`&&typeof t[2]==`string`?{rawId:t[1],params:t[2].slice(1)+t[3]}:{rawId:e,params:``}};aw(),Bg(),U();var U9=$l(new Set),W9=$l(new Set),G9=$l(new Set),K9=O(!1),VVn=3e3,HVn=O(!1),UVn=$l(new Set),q9=new Set,WVn=$l(new Map),GVn=e=>WVn.get(e),KVn=(e,t)=>{!Number.isFinite(t)||t<=0||WVn.set(e,Math.round(t))},qVn=e=>{e&&q9.add(e)},JVn=()=>{let e=zg();return UVn.add(e),()=>setTimeout(()=>UVn.delete(e),100)},YVn=H(()=>UVn.size===0),XVn=()=>{if(typeof window>`u`||K9.value)return;K9.value=!0;let e=async()=>{let e=[...U9],t=[...W9];if(e.length===0&&t.length===0){q9.forEach(e=>e()),q9.clear(),K9.value=!1,HVn.value=!0;return}for(let t of e)G9.add(t),U9.delete(t);for(let e of t)G9.add(e),W9.delete(e);await Ku(),q9.forEach(e=>e()),q9.clear(),K9.value=!1,HVn.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):Ku(e)};vMe([()=>W9.size,()=>U9.size,()=>K9.value],()=>{(W9.size>0||U9.size>0)&&!K9.value&&XVn()},{debounce:300,maxWait:1500});var ZVn=e=>{e&&!G9.has(e)&&!U9.has(e)&&W9.add(e)},J9=e=>{e&&!U9.has(e)&&U9.add(e)},QVn=(e,t=!1)=>{!e||G9.has(e)||(t?J9(e):ZVn(e),K9.value||XVn())},$Vn=()=>{typeof window>`u`||window.setTimeout(()=>XVn(),400)},eHn=e=>{U9.delete(e),W9.delete(e),G9.delete(e),WVn.delete(e)};function tHn(e){return Mf(()=>{eHn(e)}),{isReady:H(()=>typeof window>`u`||U9.has(e)||G9.has(e))}}var nHn=(e,t,n)=>{let r=n(e),i=!G9.has(e)||r?.children?.some(e=>!G9.has(e.id))?iHn(e):void 0;qVn(i);let a=JVn(),{rawId:o}=BVn(e);if(J9(e),J9(o),r?.children&&r.children.slice(0,2).forEach(e=>J9(e.id)),r?.parent){let t=n(r.parent.id),i=t?.children?.findIndex(t=>t.id===e);i!==void 0&&i>=0&&t?.children?.slice(i,i+2).forEach(e=>J9(e.id))}t(o,!0);let s=e=>{let r=n(e)?.parent;r&&(J9(r.id),t(r.id,!0),s(r.id))};s(o),Ku(()=>{rHn(e,Date.now()+VVn,a,i)})},rHn=(e,t,n,r)=>{let i=document.getElementById(e);i?(i.scrollIntoView({block:`start`}),n()):Date.now()<t?requestAnimationFrame(()=>rHn(e,t,n,r)):(n(),r?.())},iHn=e=>{let t=!1,n=r=>{let i=document.getElementById(e);i&&i.scrollIntoView({block:`start`}),r||requestAnimationFrame(()=>n(t))};return n(!1),()=>{t=!0}};U(),aw();var aHn=[`id`,`data-placeholder`],oHn=760,sHn=1200,cHn=j({__name:`Lazy`,props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){let t=`${sHn}px 0px`,{isReady:n}=tHn(e.id),r=O(null),i=O(GVn(e.id)??oHn),a=null,o=H(()=>n.value||e.expanded);return Af(()=>{if(!(typeof window>`u`)){if(!(`IntersectionObserver`in window)){QVn(e.id,!0);return}NMe(r,([t])=>{t?.isIntersecting&&!n.value&&QVn(e.id,!0)},{rootMargin:t})}}),nd(()=>o.value,(t,n)=>{if(n&&!t&&r.value){let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,KVn(e.id,t))}},{flush:`pre`}),nd(()=>o.value,t=>{if(!t){a?.disconnect(),a=null;return}Ku(()=>{if(!r.value||typeof ResizeObserver>`u`)return;a||=new ResizeObserver(()=>{if(!r.value)return;let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,KVn(e.id,t))}),a.observe(r.value);let t=r.value.offsetHeight;Number.isFinite(t)&&t>0&&(i.value=t,KVn(e.id,t))})},{immediate:!0}),Mf(()=>{a?.disconnect()}),(t,n)=>(N(),P(`div`,{id:o.value?void 0:e.id,ref_key:`lazyContainerRef`,ref:r,"data-placeholder":!o.value,"data-testid":`lazy-container`,style:Kc({height:o.value?void 0:`${i.value}px`})},[o.value?M(t.$slots,`default`,{key:0}):R(``,!0)],12,aHn))}});a3();var lHn=e=>Object.keys(e).sort().join(`,`),uHn=(e,t,n,r,i={})=>{let a=t?.security??e.security??[],o=Y4(n,r,a),s=new Set(a.map(e=>lHn(e))),c=o.selectedSchemes[o.selectedIndex];if(c&&s.has(lHn(c)))return K4(i,[c]);for(let e of o.selectedSchemes)if(s.has(lHn(e)))return K4(i,[e]);return t?.security?.length?K4(i,a.slice(0,1)):[]};x_();var dHn=(...e)=>{for(let t of e)if(t){if(!Array.isArray(t)){let e=b_(t);if(e?.url)return e;continue}for(let e of t){let t=b_(e);if(t?.url)return t}}return null};U();var fHn={key:0},pHn=y9(j({__name:`OperationPath`,props:{path:{},deprecated:{type:Boolean}},setup(e){let t=e,n=e=>e.startsWith(`{`)&&e.endsWith(`}`),r=H(()=>t.path.split(/({[^}]+})/));return(t,i)=>(N(),P(`span`,{class:E([`operation-path`,{deprecated:e.deprecated}])},[(N(!0),P(B,null,yd(r.value,(e,t)=>(N(),P(B,{key:t},[n(e)?(N(),P(`em`,fHn,D(e),1)):(N(),P(B,{key:1},[L(D(e),1)],64))],64))),128))],2))}}),[[`__scopeId`,`data-v-ec6c8861`]]);U(),Y(),y_();var mHn=2e4,hHn=j({__name:`ExampleSchema`,props:{id:{},schema:{}},setup(e){let t=H(()=>{if(e.schema)return v_(I3(e.schema))}),n=H(()=>(t.value?.length??0)>mHn);return(r,i)=>n.value?(N(),F(k(JM),{key:1,id:e.id,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,text:t.value??``},null,8,[`id`,`text`])):(N(),F(k(wA),{key:0,id:e.id,class:`bg-b-2`,lang:`json`,prettyPrintedContent:t.value??``},null,8,[`id`,`prettyPrintedContent`]))}});U(),Y(),y_(),a3();var gHn={key:2,class:`empty-state`},_Hn=2e4,vHn=y9(j({__name:`ExampleResponse`,props:{response:{},example:{}},setup(e){let t=()=>{if(e.example!==void 0)return I3(e.example)?.value??``;if(e.response?.schema)return S4(I3(e.response.schema),{emptyString:`string`,mode:`read`})},n=H(()=>{let e=t();if(e!==void 0)return v_(e)}),r=H(()=>n.value===void 0?!1:n.value.length>_Hn);return(e,t)=>n.value!==void 0&&!r.value?(N(),F(k(wA),{key:0,class:`bg-b-2`,lang:`json`,prettyPrintedContent:n.value},null,8,[`prettyPrintedContent`])):n.value!==void 0&&r.value?(N(),F(k(JM),{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`,lineHeight:20,text:n.value},null,8,[`text`])):(N(),P(`div`,gHn,` No Body `))}}),[[`__scopeId`,`data-v-c29c16d8`]]);U(),Ag();var yHn=y9(j({__name:`ExampleResponseTab`,setup(e){return(e,t)=>(N(),F(k(xg),{as:`template`},{default:A(({selected:t})=>[I(`button`,{class:E([`tab`,{"tab-selected":t}]),type:`button`},[I(`span`,null,[M(e.$slots,`default`,{},void 0,!0)])],2)]),_:3}))}}),[[`__scopeId`,`data-v-804dba49`]]);U(),Ag(),Y();var bHn=y9(j({__name:`ExampleResponseTabList`,emits:[`change`],setup(e,{emit:t}){let n=t,r=e=>{n(`change`,e)};return(e,t)=>(N(),F(k($S),{class:`scalar-card-header scalar-card-header-tabs`},{actions:A(()=>[M(e.$slots,`actions`,{},void 0,!0)]),default:A(()=>[V(k(yg),{onChange:r},{default:A(()=>[V(k(bg),{class:`tab-list custom-scroll`},{default:A(()=>[M(e.$slots,`default`,{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),[[`__scopeId`,`data-v-fec8fbbb`]]);Rx();function xHn(e){if(!e)return!1;let t=!!e.schema,n=`example`in e&&e.example!==null,r=!!e.examples;return t||n||r}function SHn(e){return e===`default`||/^[1-5][0-9]{2}$/.test(e)||/^[1-5]XX$/.test(e)}function CHn(e,t){if(t!==void 0)return SHn(t)?!!e:!1;let n=S_(e?.content),r=p_(n??{});return xHn(n?.[`application/json`]??n?.[`application/xml`]??n?.[`text/plain`]??n?.[`text/html`]??n?.[`*/*`]??n?.[r[0]??``])}U(),Y(),Rx(),fq(),x_(),a3();var wHn={key:1,class:`scalar-card-checkbox`},THn=[`aria-controls`],EHn={class:`response-description`},DHn=y9(j({__name:`ExampleResponses`,props:{responses:{}},setup(e){let t=ud(),{copyToClipboard:n}=dq(),r=H(()=>Object.keys(e.responses??{}).sort()),i=H(()=>r.value.filter(t=>CHn(b_(e.responses?.[t]),t))),a=O(0);nd(i,e=>{e.length===0?(a.value=0,l.value=``):a.value>=e.length&&(a.value=e.length-1,l.value=``)});let o=H(()=>{let t=uu(i)[uu(a)]??``;return b_(e.responses?.[t])}),s=H(()=>{let e=S_(o.value?.content),t=p_(e??{});return e?.[t[0]??``]}),c=H(()=>!!s.value?.examples&&Object.keys(s.value?.examples??{}).length>1),l=O(Object.keys(s.value?.examples??{})[0]??``),u=H(()=>{if(s.value)return c.value&&l.value?s.value.examples?.[l.value]:u4(s.value,void 0,void 0)}),d=e=>{a.value=e,l.value=``},f=O(!1);return(e,r)=>i.value.length?(N(),F(k(YS),{key:0,"aria-label":`Example Responses`,class:`response-card`,role:`region`},{default:A(()=>[V(bHn,{onChange:d},{actions:A(()=>[s.value?.example?(N(),P(`button`,{key:0,class:`code-copy`,type:`button`,onClick:r[0]||=()=>k(n)(s.value?.example)},[V(k(nM),{icon:`Clipboard`,width:`12px`})])):R(``,!0),s.value?.schema?(N(),P(`label`,wHn,[r[4]||=L(` Show Schema `,-1),Xu(I(`input`,{"onUpdate:modelValue":r[1]||=e=>f.value=e,"aria-controls":k(t),class:`scalar-card-checkbox-input`,type:`checkbox`},null,8,THn),[[Zp,f.value]]),r[5]||=I(`span`,{class:`scalar-card-checkbox-checkmark`},null,-1)])):R(``,!0)]),default:A(()=>[(N(!0),P(B,null,yd(i.value,e=>(N(),F(yHn,{key:e,"aria-controls":k(t)},{default:A(()=>[V(D9,null,{default:A(()=>[...r[3]||=[L(`Status:`,-1)]]),_:1}),L(` `+D(e),1)]),_:2},1032,[`aria-controls`]))),128))]),_:1}),V(k(XS),{class:`grid flex-1`},{default:A(()=>[s.value?.schema&&f.value?(N(),F(hHn,{key:0,id:k(t),schema:s.value?.schema},null,8,[`id`,`schema`])):(N(),F(vHn,{key:1,id:k(t),example:u.value,response:s.value},null,8,[`id`,`example`,`response`]))]),_:1}),o.value?.description||c.value?(N(),F(k(QS),{key:0,class:`response-card-footer`},{default:A(()=>[c.value?(N(),F(k(WLn),{key:0,modelValue:l.value,"onUpdate:modelValue":r[2]||=e=>l.value=e,class:`response-example-selector px-0`,examples:s.value?.examples},null,8,[`modelValue`,`examples`])):R(``,!0),I(`div`,EHn,[o.value?.description?(N(),F(k(_M),{key:0,class:`response-description-markdown`,value:o.value.description},null,8,[`value`])):R(``,!0)])]),_:1})):R(``,!0)]),_:1})):R(``,!0)}}),[[`__scopeId`,`data-v-e0da130d`]]);U(),Y(),EC();var OHn=j({inheritAttrs:!1,__name:`ContentTypeSelect`,props:Td({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=H(()=>Object.keys(e.content??{})),r=H({get:()=>i.value.find(e=>e.id===t.value),set:e=>{e&&(t.value=e.id)}}),i=H(()=>n.value.map(e=>({id:e,label:e}))),a=IS({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,o)=>n.value.length>1?(N(),F(k(kj),{key:0,modelValue:r.value,"onUpdate:modelValue":o[1]||=e=>r.value=e,options:i.value,placement:`bottom-end`,teleport:``,onClick:o[2]||=$p(()=>{},[`stop`])},{default:A(({open:n})=>[V(k(KS),z({class:[`h-fit`,k(a)({dropdown:!0})],variant:`ghost`},e.$attrs,{onClick:o[0]||=$p(()=>{},[`stop`])}),{default:A(()=>[V(D9,null,{default:A(()=>[...o[3]||=[L(`Selected Content Type:`,-1)]]),_:1}),I(`span`,null,D(t.value),1),V(k(oC),{class:E([`size-2.75 transition-transform duration-100`,{"rotate-180":n}]),weight:`bold`},null,8,[`class`])]),_:2},1040,[`class`])]),_:1},8,[`modelValue`,`options`])):(N(),P(`div`,z({key:1,class:[`selected-content-type`,k(a)({dropdown:!1})]},e.$attrs,{tabindex:`0`}),[I(`span`,null,D(t.value),1)],16))}});U(),x_();var kHn=j({__name:`Header`,props:{header:{},name:{},breadcrumb:{},eventBus:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean}},setup(e){return(t,n)=>`schema`in e.header&&e.header.schema?(N(),F(z9,{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},schema:k(b_)(e.header.schema)},null,8,[`breadcrumb`,`description`,`eventBus`,`name`,`options`,`schema`])):R(``,!0)}});U(),Ag(),Y(),x_();var AHn=y9(j({__name:`Headers`,props:{headers:{},breadcrumb:{},eventBus:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{}},setup(e){return(t,n)=>(N(),F(k(Kh),null,{default:A(({open:t})=>[I(`div`,{class:E([`headers-card headers-card--compact`,[{"headers-card--open":t}]])},[I(`div`,{class:E([`headers-properties`,{"headers-properties-open":t}])},[V(k(qh),{class:`headers-card-title headers-card-title--compact`,style:{top:`calc(var(--refs-viewport-offset)))`}},{default:A(()=>[V(k(nM),{class:E([`headers-card-title-icon`,{"headers-card-title-icon--open":t}]),icon:`Add`,size:`sm`},null,8,[`class`]),t?(N(),P(B,{key:0},[L(` Hide Headers `)],64)):(N(),P(B,{key:1},[L(` Show Headers `)],64))]),_:2},1024),V(k(Jh),null,{default:A(()=>[(N(!0),P(B,null,yd(e.headers,(t,n)=>(N(),F(kHn,{key:n,breadcrumb:e.breadcrumb?[...e.breadcrumb,`headers`]:void 0,eventBus:e.eventBus,header:k(b_)(t),name:n,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy},null,8,[`breadcrumb`,`eventBus`,`header`,`name`,`orderRequiredPropertiesFirst`,`orderSchemaPropertiesBy`]))),128))]),_:1})],2)],2)]),_:1}))}}),[[`__scopeId`,`data-v-ab19704d`]]);U(),Ag(),Y(),EC(),x_();var jHn={class:`parameter-item group/parameter-item`},MHn={class:`parameter-item-name min-w-0`},NHn={key:1,class:`flex-1`},PHn=y9(j({__name:`ParameterListItem`,props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},options:{}},setup(e){let t=O(!1),n=H(()=>`schema`in e.parameter&&e.parameter.schema?b_(e.parameter.schema):null),r=H(()=>!(`content`in e.parameter)||!e.parameter.content||Object.keys(e.parameter.content).length===0?null:e.parameter.content),i=O(Object.keys(r.value||{})[0]??``),a=H(()=>`headers`in e.parameter&&e.parameter.headers?e.parameter.headers:null),o=H(()=>r.value?r.value?.[i.value]?.schema:`schema`in e.parameter&&e.parameter.schema?e.parameter.schema:null),s=H(()=>{let e=o.value;return e&&`$ref`in e?pBn(e.$ref):null}),c=H(()=>{let t=o.value,a=r.value?b_(t):n.value,s=`deprecated`in e.parameter?e.parameter.deprecated:n.value?.deprecated,c=`examples`in e.parameter?e.parameter.examples:{},l=Object.values({...c,...r.value?.[i.value]?.examples}),u=n.value?.examples??(l.length===0&&`example`in e.parameter?[e.parameter.example]:[]),d=[...l,...u];return{...a,deprecated:s,examples:d}}),l=H(()=>!!(r.value||a.value||n.value||t.value));return(n,o)=>(N(),P(`li`,jHn,[V(k(Kh),null,{default:A(({open:n})=>[e.collapsableItems?(N(),F(vd(l.value?k(qh):`div`),{key:0,class:E([`parameter-item-trigger`,{"parameter-item-trigger-open":n}])},{default:A(()=>[I(`div`,MHn,[l.value?(N(),F(k(sC),{key:0,class:E([`parameter-item-icon size-3 transition-transform duration-100`,{"rotate-90":n}]),weight:`bold`},null,8,[`class`])):R(``,!0),I(`div`,null,[V(k(YM),{preset:`property`,text:e.name},null,8,[`text`])])]),!n&&e.parameter.description?(N(),F(k(vM),{key:0,truncated:t.value,"onUpdate:truncated":o[0]||=e=>t.value=e,class:`parameter-item-description-summary min-w-0 flex-1`,controlled:``,value:e.parameter.description},null,8,[`truncated`,`value`])):(N(),P(`div`,NHn))]),_:2},1032,[`class`])):R(``,!0),l.value&&r.value?(N(),P(`div`,{key:1,class:E([`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":!n}])},[o[2]||=I(`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),V(OHn,{modelValue:i.value,"onUpdate:modelValue":o[1]||=e=>i.value=e,content:r.value},null,8,[`modelValue`,`content`])],2)):R(``,!0),V(k(Jh),{class:`parameter-item-container parameter-item-container-markdown`,static:!e.collapsableItems},{default:A(()=>[e.collapsableItems&&e.parameter.description?(N(),F(k(_M),{key:0,class:`parameter-item-description`,value:e.parameter.description},null,8,[`value`])):R(``,!0),a.value?(N(),F(AHn,{key:1,breadcrumb:e.breadcrumb,eventBus:e.eventBus,headers:a.value,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,[`breadcrumb`,`eventBus`,`headers`,`orderRequiredPropertiesFirst`,`orderSchemaPropertiesBy`])):R(``,!0),V(z9,{is:`div`,breadcrumb:e.breadcrumb,compact:``,description:e.collapsableItems?``:e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:s.value,name:e.collapsableItems?``:e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},required:`required`in e.parameter&&e.parameter.required,schema:c.value},null,8,[`breadcrumb`,`description`,`eventBus`,`modelName`,`name`,`options`,`required`,`schema`])]),_:1},8,[`static`])]),_:1})]))}}),[[`__scopeId`,`data-v-1f06a780`]]);U();var FHn={key:0,class:`mt-6`},IHn=[`id`],LHn=[`aria-labelledby`],Y9=j({__name:`ParameterList`,props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},options:{}},setup(e){let t=ud();return(n,r)=>e.parameters?.length?(N(),P(`div`,FHn,[I(`div`,{id:k(t),class:`text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium`},[M(n.$slots,`title`)],8,IHn),I(`ul`,{"aria-labelledby":k(t),class:`mb-3 list-none p-0 text-sm`},[(N(!0),P(B,null,yd(e.parameters,t=>(N(),F(PHn,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,eventBus:e.eventBus,name:t.name,options:e.options,parameter:t},null,8,[`breadcrumb`,`collapsableItems`,`eventBus`,`name`,`options`,`parameter`]))),128))],8,LHn)])):R(``,!0)}});U(),Y(),x_();var RHn={key:0,"aria-label":`Request Body`,class:`request-body`,role:`group`},zHn={class:`request-body-header`},BHn={class:`request-body-title`},VHn={key:0,class:`text-c-2 text-xs leading-none font-normal`,"data-testid":`request-body-schema-name`},HHn={class:`flex items-center gap-2`},UHn={key:0,class:`request-body-required`},WHn={key:0,class:`request-body-description`},GHn={key:0,class:`request-body-schema`},KHn={key:1,class:`request-body-schema`},qHn=12,JHn=y9(j({__name:`RequestBody`,props:{breadcrumb:{},requestBody:{},eventBus:{},options:{}},setup(e){let t=H(()=>Object.keys(e.requestBody?.content??{})),n=O(`application/json`);e.requestBody?.content&&t.value[0]&&(n.value=t.value[0]);let r=H(()=>e.requestBody?.content?.[n.value]?.schema),i=H(()=>b_(r.value)),a=H(()=>(r.value&&I9(r.value))??null),o=H(()=>{if(!i.value||!M9(i.value))return null;let t=Kzn(i.value,i.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=qHn)return null;let{properties:n,...r}=i.value;return n?{visibleProperties:{...r,properties:Gzn(t.slice(0,qHn),n)},collapsedProperties:{...r,properties:Gzn(t.slice(qHn),n)}}:null}),s=H(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(t,r)=>e.requestBody&&s.value?(N(),P(`div`,RHn,[I(`div`,zHn,[I(`div`,BHn,[M(t.$slots,`title`,{},void 0,!0),a.value?(N(),P(`span`,VHn,[r[1]||=I(`span`,{class:`text-c-3 mx-1.5`},`·`,-1),L(D(a.value),1)])):R(``,!0)]),I(`div`,HHn,[e.requestBody.required?(N(),P(`div`,UHn,` required `)):R(``,!0),V(OHn,{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,content:e.requestBody.content},null,8,[`modelValue`,`content`])]),e.requestBody.description?(N(),P(`div`,WHn,[V(k(_M),{value:e.requestBody.description},null,8,[`value`])])):R(``,!0)]),o.value?(N(),P(`div`,GHn,[V(k(B9),{breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,name:`Request Body`,noncollapsible:``,options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:o.value.visibleProperties,schemaContext:`requestBody`},null,8,[`breadcrumb`,`eventBus`,`options`,`schema`]),V(k(B9),{additionalProperties:``,breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,name:`Request Body`,options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:o.value.collapsedProperties,schemaContext:`requestBody`},null,8,[`breadcrumb`,`eventBus`,`options`,`schema`])])):i.value?(N(),P(`div`,KHn,[V(k(B9),{breadcrumb:e.breadcrumb,compact:``,compositionPath:[`requestBody`],eventBus:e.eventBus,hideReadOnly:!0,name:`Request Body`,noncollapsible:``,options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:i.value,schemaContext:`requestBody`},null,8,[`breadcrumb`,`eventBus`,`options`,`schema`])])):R(``,!0)])):R(``,!0)}}),[[`__scopeId`,`data-v-f323f401`]]);U(),Rx(),x_();var YHn=j({__name:`OperationParameters`,props:{breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},options:{}},setup(e){let t=H(()=>(e.parameters??[]).reduce((e,t)=>{let n=b_(t);return Lx(n)||e[n.in].push(n),e},{cookie:[],header:[],path:[],query:[]}));return(n,r)=>(N(),P(B,null,[V(Y9,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`path`]:void 0,eventBus:e.eventBus,options:e.options,parameters:t.value.path},{title:A(()=>[...r[0]||=[L(`Path Parameters`,-1)]]),_:1},8,[`breadcrumb`,`eventBus`,`options`,`parameters`]),V(Y9,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`query`]:void 0,eventBus:e.eventBus,options:e.options,parameters:t.value.query},{title:A(()=>[...r[1]||=[L(`Query Parameters`,-1)]]),_:1},8,[`breadcrumb`,`eventBus`,`options`,`parameters`]),V(Y9,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`headers`]:void 0,eventBus:e.eventBus,options:e.options,parameters:t.value.header},{title:A(()=>[...r[2]||=[L(`Headers`,-1)]]),_:1},8,[`breadcrumb`,`eventBus`,`options`,`parameters`]),V(Y9,{breadcrumb:e.breadcrumb?[...e.breadcrumb,`cookies`]:void 0,eventBus:e.eventBus,options:e.options,parameters:t.value.cookie},{title:A(()=>[...r[3]||=[L(`Cookies`,-1)]]),_:1},8,[`breadcrumb`,`eventBus`,`options`,`parameters`]),e.requestBody?(N(),F(JHn,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,`body`]:void 0,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:A(()=>[...r[4]||=[L(`Body`,-1)]]),_:1},8,[`breadcrumb`,`eventBus`,`options`,`requestBody`])):R(``,!0)],64))}});U(),x_();var XHn={key:0,class:`mt-6`},ZHn={"aria-label":`Responses`,class:`mb-3 list-none p-0 text-sm`},QHn=j({__name:`OperationResponses`,props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},options:{}},setup(e){return(t,n)=>Object.keys(e.responses??{}).length?(N(),P(`div`,XHn,[n[0]||=I(`div`,{class:`text-c-1 mt-3 mb-3 leading-[1.45] font-medium`},`Responses`,-1),I(`ul`,ZHn,[(N(!0),P(B,null,yd(e.responses,(t,n)=>(N(),F(PHn,{key:n,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,eventBus:e.eventBus,name:n,options:e.options,parameter:k(b_)(t)},null,8,[`breadcrumb`,`collapsableItems`,`eventBus`,`name`,`options`,`parameter`]))),128))])])):R(``,!0)}});U(),EC(),x_(),t2();var $Hn={class:`group callback-list-item`},eUn={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`},tUn={class:`text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal`},nUn={class:`text-c-2 font-normal`},rUn={class:`callback-operation-container flex flex-col gap-2`},iUn=y9(j({__name:`Callback`,props:{callback:{},method:{},name:{},url:{},eventBus:{},options:{}},setup(e){return(t,n)=>(N(),P(`details`,$Hn,[I(`summary`,eUn,[V(k(sC),{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`}),V(k(SVn),{as:`span`,class:`request-method py-0.75 font-bold`,method:e.method},null,8,[`method`]),I(`div`,tUn,[L(D(e.name)+` `,1),I(`span`,nUn,D(e.url),1)])]),I(`div`,rUn,[V(YHn,{eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(e=>k(b_)(e))??[],requestBody:k(b_)(e.callback.requestBody)},null,8,[`eventBus`,`options`,`parameters`,`requestBody`]),V(QHn,{collapsableItems:!1,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,[`eventBus`,`options`,`responses`])])]))}}),[[`__scopeId`,`data-v-df994c31`]]);U(),Ev(),UF(),x_();var aUn={"aria-label":`Callbacks`,class:`callbacks-list gap-3`,role:`group`},oUn=j({__name:`Callbacks`,props:{path:{},callbacks:{},eventBus:{},options:{}},setup(e){let t=H(()=>{let t=[];return HF(e.callbacks).forEach(([e,n])=>{HF(b_(n)).forEach(([n,r])=>{typeof r!=`object`||!r||HF(r).forEach(([r,i])=>{Tv(r)&&t.push({name:e,url:n,method:r,callback:i})})})}),t});return(n,r)=>(N(),P(`div`,aUn,[r[0]||=I(`div`,{class:`callbacks-title text-c-1 my-3 text-lg font-medium`},` Callbacks `,-1),(N(!0),P(B,null,yd(t.value,({callback:t,method:n,name:r,url:i})=>(N(),F(iUn,{key:`${r}-${i}-${n}`,callback:t,eventBus:e.eventBus,method:n,name:r,options:e.options,path:e.path,url:i},null,8,[`callback`,`eventBus`,`method`,`name`,`options`,`path`,`url`]))),128))]))}});U(),EC();var sUn=[`method`],cUn=y9(j({__name:`TestRequestButton`,props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let t=()=>{let t={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit(`ui:open:client-modal`,t)};return(n,r)=>(N(),P(`button`,{class:`show-api-client-button`,method:e.method,type:`button`,onClick:$p(t,[`stop`])},[V(k(vC),{class:`size-3`,weight:`fill`}),r[0]||=I(`span`,null,`Test Request`,-1),V(D9,null,{default:A(()=>[L(`(`+D(e.method)+` `+D(e.path)+`)`,1)]),_:1})],8,sUn))}}),[[`__scopeId`,`data-v-15e312d9`]]);U();var X9=j({__name:`XBadges`,props:{position:{},badges:{}},setup(e){let t=H(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||e.position===`after`&&!t.position):[]);return(e,n)=>t.value.length?(N(!0),P(B,{key:0},yd(t.value,e=>(N(),F(k(b9),{key:e.name,color:e.color},{default:A(()=>[L(D(e.name),1)]),_:2},1032,[`color`]))),128)):R(``,!0)}});U(),Y(),EC(),Rx(),fq(),x_();var lUn={class:`operation-title`},uUn={class:`operation-details`},dUn={class:`endpoint-label`},fUn={class:`endpoint-label-path`},pUn={class:`endpoint-label-name`},mUn={key:1,class:`font-code text-sm`},hUn={class:`endpoint-content`},gUn={class:`operation-details-card`},_Un={key:0,class:`operation-details-card-item`},vUn={class:`operation-details-card-item`},yUn={class:`operation-details-card-item`},bUn={key:1,class:`operation-details-card-item`},xUn=y9(j({__name:`ClassicLayout`,props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{}},setup(e){let t=H(()=>e.operation.summary||e.path||``),n=H(()=>k9(e.operation)),r=O(``),i=O({}),a=H(()=>({...i.value})),o=H(()=>JSON.stringify(a.value));Qu(sBn,i);let{copyToClipboard:s}=dq();return(i,c)=>(N(),F(k(CRn),{id:e.id,"aria-label":t.value,class:`reference-endpoint`,modelValue:!e.isCollapsed,transparent:``,"onUpdate:modelValue":c[3]||=t=>e.eventBus?.emit(`toggle:nav-item`,{id:e.id,open:t})},bd({title:A(()=>[I(`div`,lUn,[I(`div`,uUn,[V(k(SVn),{class:`endpoint-type`,method:e.method,short:``},null,8,[`method`]),V(k(O9),{class:`endpoint-anchor`,onCopyAnchorUrl:c[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:A(()=>[I(`h3`,dUn,[I(`div`,fUn,[V(pHn,{deprecated:k(Px)(e.operation),path:e.path},null,8,[`deprecated`,`path`])]),I(`div`,pUn,D(t.value),1),k(Fx)(e.operation)?(N(),F(k(b9),{key:0,class:E([`capitalize`,k(Ix)(e.operation)])},{default:A(()=>[L(D(k(Fx)(e.operation)),1)]),_:1},8,[`class`])):R(``,!0),e.isWebhook?(N(),F(k(b9),{key:1,class:`font-code text-green flex w-fit items-center justify-center gap-1`},{default:A(()=>[V(k(wC),{weight:`bold`}),c[4]||=L(`Webhook `,-1)]),_:1})):R(``,!0),V(k(X9),{badges:e.operation[`x-badges`],position:`before`},null,8,[`badges`])])]),_:1})])])]),actions:A(({active:t})=>[V(k(X9),{badges:e.operation[`x-badges`],position:`after`},null,8,[`badges`]),e.options.hideTestRequestButton?R(``,!0):(N(),P(B,{key:0},[t&&!e.isWebhook?(N(),F(k(cUn),{key:0,id:e.id,eventBus:e.eventBus,exampleName:r.value,method:e.method,path:e.path,requestBodyCompositionSelection:a.value},null,8,[`id`,`eventBus`,`exampleName`,`method`,`path`,`requestBodyCompositionSelection`])):(N(),F(k(vC),{key:1,class:`endpoint-try-hint size-4.5`}))],64)),e.options.showOperationId&&e.operation.operationId?(N(),P(`span`,mUn,D(e.operation.operationId),1)):R(``,!0),V(k(hM),{class:`endpoint-copy p-0.5`,icon:k(lC),label:`Copy endpoint URL`,size:`xs`,variant:`ghost`,onClick:c[1]||=$p(t=>k(s)(e.path),[`stop`])},null,8,[`icon`])]),default:A(()=>[I(`div`,hUn,[I(`div`,gUn,[Object.keys(n.value).length>0?(N(),P(`div`,_Un,[V(j9,{value:n.value},null,8,[`value`])])):R(``,!0),I(`div`,vUn,[V(YHn,{eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:k(b_)(e.operation.requestBody)},null,8,[`eventBus`,`options`,`parameters`,`requestBody`])]),I(`div`,yUn,[V(QHn,{eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,[`eventBus`,`options`,`responses`])]),e.operation?.callbacks?(N(),P(`div`,bUn,[V(oUn,{callbacks:e.operation.callbacks,eventBus:e.eventBus,options:e.options,path:e.path},null,8,[`callbacks`,`eventBus`,`options`,`path`])])):R(``,!0)]),e.operation.responses?(N(),F(k(DHn),{key:0,class:`operation-example-card`,responses:e.operation.responses},null,8,[`responses`])):R(``,!0),I(`div`,null,[e.operation.externalDocs?(N(),F(k(azn),{key:0},{default:A(()=>[V(k(uzn),{value:e.operation.externalDocs},null,8,[`value`])]),_:1})):R(``,!0),V(k(Uj),null,{default:A(()=>[(N(),F(k(tRn),{selectedExample:r.value,"onUpdate:selectedExample":c[2]||=e=>r.value=e,key:o.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:a.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,[`selectedExample`,`clientOptions`,`eventBus`,`isWebhook`,`method`,`operation`,`path`,`requestBodyCompositionSelection`,`securitySchemes`,`selectedClient`,`selectedServer`]))]),_:1})])])]),_:2},[e.operation.description?{name:`description`,fn:A(()=>[V(k(_M),{anchorPrefix:e.id,"aria-label":`Operation Description`,role:`group`,transformType:`heading`,value:e.operation.description,withAnchors:``,withImages:``},null,8,[`anchorPrefix`,`value`])]),key:`0`}:void 0]),1032,[`id`,`aria-label`,`modelValue`]))}}),[[`__scopeId`,`data-v-1f81471a`]]);U(),EC();var SUn={class:`ask-agent-scalar-send`,type:`submit`},CUn=y9(j({__name:`AskAgentButton`,setup(e){let t=m8(),n=O(``),r=O();function i(){t.value?.openAgent(n.value),n.value=``}return(e,a)=>k(t)?.agentEnabled.value?(N(),P(`form`,{key:0,class:`agent-button-container`,onClick:a[1]||=e=>r.value?.focus(),onSubmit:a[2]||=$p(e=>i(),[`prevent`])},[V(k(bC),{class:`size-3 shrink-0`,weight:`fill`}),a[3]||=I(`div`,{class:`ask-agent-scalar-input-label`},`Ask AI Agent`,-1),Xu(I(`input`,{ref_key:`inputRef`,ref:r,"onUpdate:modelValue":a[0]||=e=>n.value=e,class:E([`ask-agent-scalar-input`,{"ask-agent-scalar-input-not-empty":n.value.length>0}]),placeholder:`Ask AI Agent`},null,2),[[Xp,n.value]]),I(`button`,SUn,[V(k(nC),{class:`size-3`,weight:`bold`})])],32)):R(``,!0)}}),[[`__scopeId`,`data-v-78f5377c`]]);U(),Y(),EC(),Rx(),x_();var wUn={class:`flex flex-row justify-between gap-1`},TUn={class:`flex gap-1`},EUn={class:`flex gap-1`},DUn={class:`operation-details`},OUn={class:`examples`},kUn={class:`flex`},AUn=y9(j({__name:`ModernLayout`,props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{}},setup(e){let t=H(()=>e.operation.summary||e.path||``),n=ud(),r=H(()=>k9(e.operation)),i=O({}),a=H(()=>({...i.value})),o=H(()=>JSON.stringify(a.value));return Qu(sBn,i),(i,s)=>(N(),F(k(S9),{id:e.id,"aria-labelledby":k(n),label:t.value,tabindex:`-1`,onIntersecting:s[1]||=()=>e.eventBus?.emit(`intersecting:nav-item`,{id:e.id})},{default:A(()=>[V(k(LRn),null,{default:A(()=>[I(`div`,wUn,[I(`div`,TUn,[e.options?.showOperationId&&e.operation.operationId?(N(),F(k(b9),{key:0},{default:A(()=>[L(D(e.operation.operationId),1)]),_:1})):R(``,!0),k(Fx)(e.operation)?(N(),F(k(b9),{key:1,class:E([`capitalize`,k(Ix)(e.operation)])},{default:A(()=>[L(D(k(Fx)(e.operation)),1)]),_:1},8,[`class`])):R(``,!0),e.isWebhook?(N(),F(k(b9),{key:2,class:`font-code text-green flex w-fit items-center justify-center gap-1`},{default:A(()=>[V(k(wC),{weight:`bold`}),s[2]||=L(`Webhook `,-1)]),_:1})):R(``,!0),V(k(X9),{badges:e.operation[`x-badges`],position:`before`},null,8,[`badges`])]),I(`div`,EUn,[V(k(X9),{badges:e.operation[`x-badges`],position:`after`},null,8,[`badges`])])]),I(`div`,{class:E(k(Px)(e.operation)?`deprecated`:``)},[V(k(T9),null,{default:A(()=>[V(k(O9),{onCopyAnchorUrl:s[0]||=()=>e.eventBus?.emit(`copy-url:nav-item`,{id:e.id})},{default:A(()=>[V(k(E9),{id:k(n),level:3},{default:A(()=>[L(D(t.value),1)]),_:1},8,[`id`])]),_:1})]),_:1})],2),V(k(ARn),null,{default:A(()=>[V(k(C9),null,{default:A(()=>[I(`div`,DUn,[V(j9,{value:r.value},null,8,[`value`]),V(k(_M),{anchorPrefix:e.id,"aria-label":`Operation Description`,role:`group`,transformType:`heading`,value:e.operation.description,withAnchors:``,withImages:``},null,8,[`anchorPrefix`,`value`]),V(YHn,{breadcrumb:[e.id],eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:k(b_)(e.operation.requestBody)},null,8,[`breadcrumb`,`eventBus`,`options`,`parameters`,`requestBody`]),V(QHn,{breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,[`breadcrumb`,`collapsableItems`,`eventBus`,`options`,`responses`]),V(k(Uj),null,{default:A(()=>[e.operation.callbacks?(N(),F(oUn,{key:0,callbacks:e.operation.callbacks,class:`mt-6`,eventBus:e.eventBus,options:e.options,path:e.path},null,8,[`callbacks`,`eventBus`,`options`,`path`])):R(``,!0)]),_:1})])]),_:1}),V(k(C9),null,{default:A(()=>[I(`div`,OUn,[e.operation.externalDocs?(N(),F(k(azn),{key:0},{default:A(()=>[V(k(uzn),{value:e.operation.externalDocs},null,8,[`value`])]),_:1})):R(``,!0),V(k(Uj),null,{default:A(()=>[(N(),F(k(tRn),{key:o.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:``,isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:a.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},bd({header:A(()=>[V(pHn,{class:`font-code text-c-2 [&_em]:text-c-1 [&_em]:not-italic`,deprecated:e.operation?.deprecated,path:e.path},null,8,[`deprecated`,`path`])]),_:2},[e.isWebhook?void 0:{name:`footer`,fn:A(({exampleName:t})=>[I(`div`,kUn,[V(CUn),e.options.hideTestRequestButton?R(``,!0):(N(),F(k(cUn),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:a.value},null,8,[`id`,`eventBus`,`exampleName`,`method`,`path`,`requestBodyCompositionSelection`]))])]),key:`0`}]),1032,[`clientOptions`,`eventBus`,`isWebhook`,`method`,`operation`,`path`,`requestBodyCompositionSelection`,`securitySchemes`,`selectedClient`,`selectedServer`]))]),_:1}),V(k(Uj),null,{default:A(()=>[e.operation.responses?(N(),F(k(DHn),{key:0,responses:e.operation.responses,style:{"margin-top":`12px`}},null,8,[`responses`])):R(``,!0)]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`aria-labelledby`,`label`]))}}),[[`__scopeId`,`data-v-6488f75e`]]);U(),x_(),a3();var jUn=j({__name:`Operation`,props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},authStore:{}},setup(e){let t=H(()=>{let t=b_(e.pathValue?.[e.method]);if(!t)return null;let n=U4(e.pathValue?.parameters,t.parameters);return{...t,parameters:n}}),n=H(()=>dHn(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=H(()=>uHn(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(i,a)=>t.value?(N(),P(B,{key:0},[e.options.layout===`classic`?(N(),F(xUn,{key:0,id:e.id,clientOptions:e.clientOptions,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,selectedClient:e.selectedClient,selectedSecuritySchemes:r.value,selectedServer:n.value},null,8,[`id`,`clientOptions`,`eventBus`,`isCollapsed`,`isWebhook`,`method`,`operation`,`options`,`path`,`selectedClient`,`selectedSecuritySchemes`,`selectedServer`])):(N(),F(AUn,{key:1,id:e.id,clientOptions:e.clientOptions,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,selectedClient:e.selectedClient,selectedSecuritySchemes:r.value,selectedServer:n.value},null,8,[`id`,`clientOptions`,`eventBus`,`isWebhook`,`method`,`operation`,`options`,`path`,`selectedClient`,`selectedSecuritySchemes`,`selectedServer`]))],64)):R(``,!0)}});U(),x_();var MUn=j({__name:`TraversedEntry`,props:{authStore:{},level:{default:0},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},expandedItems:{},eventBus:{}},setup(e){let t=e=>e.type===`tag`&&e.isGroup===!0,n=e=>e.type===`tag`&&!t(e)&&e.id!==`models`,r=e=>e.type===`operation`,i=e=>e.type===`webhook`,a=e=>e.type===`models`,o=e=>e.type===`model`;function s(t){return i(t)?e.document.webhooks?.[t.name]:e.document.paths?.[t.path]}return(c,l)=>{let u=_d(`TraversedEntry`,!0);return N(!0),P(B,null,yd(e.entries,c=>(N(),F(cHn,{id:c.id,key:`${c.id}-${e.options.layout}`,expanded:!!e.expandedItems[c.id]},{default:A(()=>[r(c)||i(c)?(N(),F(k(w9),{key:0,omit:e.level!==0},{default:A(()=>[V(k(jUn),{id:c.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],isWebhook:i(c),method:c.method,options:e.options,path:i(c)?c.name:c.path,pathValue:s(c),securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,server:e.selectedServer},null,8,[`id`,`authStore`,`clientOptions`,`document`,`eventBus`,`isCollapsed`,`isWebhook`,`method`,`options`,`path`,`pathValue`,`securitySchemes`,`selectedClient`,`server`])]),_:2},1032,[`omit`])):n(c)||t(c)&&e.options.layout===`classic`?(N(),F(k(kVn),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],isLoading:!1,layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,tag:c},{default:A(()=>[`children`in c&&c.children?.length?(N(),F(u,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:c.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`level`,`options`,`securitySchemes`,`selectedClient`,`selectedServer`])):R(``,!0)]),_:2},1032,[`eventBus`,`isCollapsed`,`layout`,`moreThanOneTag`,`tag`])):t(c)?(N(),F(u,{key:2,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:c.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`level`,`options`,`securitySchemes`,`selectedClient`,`selectedServer`])):a(c)&&e.document.components?.schemas?(N(),F(bVn,{key:3,id:c.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],layout:e.options.layout},{default:A(()=>[V(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:c.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`level`,`options`,`securitySchemes`,`selectedClient`,`selectedServer`])]),_:2},1032,[`id`,`eventBus`,`isCollapsed`,`layout`])):o(c)&&e.document.components?.schemas?.[c.name]?(N(),F(_Vn,{key:4,id:c.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[c.id],name:c.name,options:e.options,schema:k(b_)(e.document.components.schemas[c.name])},null,8,[`id`,`eventBus`,`isCollapsed`,`name`,`options`,`schema`])):R(``,!0)]),_:2},1032,[`id`,`expanded`]))),128)}}});U(),Y();var NUn={key:0,class:`plugin-view`},PUn=j({__name:`RenderPlugins`,props:{viewName:{},options:{}},setup(e){let{getViewComponents:t}=XRn(),n=t(e.viewName);return(t,r)=>k(n).length?(N(),P(`div`,NUn,[(N(!0),P(B,null,yd(k(n),(t,n)=>(N(),F(k(Uj),{key:n},{default:A(()=>[t.renderer?(N(),F(vd(t.renderer),z({key:0,ref_for:!0},{component:t.component,options:e.options,...t.props}),null,16)):(N(),F(vd(t.component),z({key:1,ref_for:!0},{options:e.options,...t.props}),null,16))]),_:2},1024))),128))])):R(``,!0)}});U();var FUn={},IUn={class:`section-flare`};function LUn(e,t){return N(),P(`div`,IUn,[...t[0]||=[Ud(`<div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div><div class="section-flare-item" data-v-2a9c8c02></div>`,8)]])}var RUn=y9(FUn,[[`render`,LUn],[`__scopeId`,`data-v-2a9c8c02`]]);U(),y6(),Y(),a3();var zUn={class:`narrow-references-container`},BUn={key:1,class:`h-dvh`},VUn=j({__name:`Content`,props:{infoSectionId:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){let t=H(()=>s3(kq(e.options.hiddenClients))),n=H(()=>k9(e.document)),r=H(()=>k9(e.document?.info)),i=H(()=>r3(e.options?.servers??e.clientDocument?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.[`x-scalar-original-source-url`]})),a=H(()=>i3(e.clientDocument??null,null,null,i.value)),o=H(()=>n3(e.clientDocument?.components?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,e.clientDocument?.[`x-scalar-navigation`]?.name??``));return Af(()=>{$Vn()}),(s,c)=>(N(),P(B,null,[V(k(RUn)),I(`div`,zUn,[M(s.$slots,`start`),V(k(kzn),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:n.value,documentUrl:e.document?.[`x-scalar-original-source-url`],eventBus:e.eventBus,externalDocs:e.document?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:r.value,layout:e.options.layout,oasVersion:e.document?.[`x-original-oas-version`]},{selectors:A(()=>[V(k(Uj),null,{default:A(()=>[i.value?.length?(N(),F(k(Nzn),{key:0,class:`scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]`},{default:A(()=>[V(k(zzn),{eventBus:e.eventBus,selectedServer:a.value,servers:i.value},null,8,[`eventBus`,`selectedServer`,`servers`])]),_:1})):R(``,!0)]),_:1}),V(k(Uj),null,{default:A(()=>[e.document&&!e.options.hideTestRequestButton?(N(),F(k(Nzn),{key:0,class:`scalar-reference-intro-auth scalar-client introduction-card-item leading-normal`},{default:A(()=>[V(k(Bzn),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:o.value,selectedServer:a.value},null,8,[`authStore`,`document`,`environment`,`eventBus`,`options`,`securitySchemes`,`selectedServer`])]),_:1})):R(``,!0)]),_:1}),V(k(Uj),null,{default:A(()=>[t.value.length?(N(),F(k(Nzn),{key:0,class:`introduction-card-item scalar-reference-intro-clients`},{default:A(()=>[V(k(mRn),{class:`introduction-card-item scalar-reference-intro-clients`,clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:e.document?.info?.[`x-scalar-sdk-installation`]},null,8,[`clientOptions`,`eventBus`,`selectedClient`,`xScalarSdkInstallation`])]),_:1})):R(``,!0)]),_:1})]),_:1},8,[`id`,`documentDownloadType`,`documentExtensions`,`documentUrl`,`eventBus`,`externalDocs`,`headingSlugGenerator`,`info`,`infoExtensions`,`layout`,`oasVersion`]),e.items.length&&e.document?(N(),F(MUn,{key:0,authStore:e.authStore,clientOptions:t.value,document:e.document,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:o.value,selectedClient:e.xScalarDefaultClient,selectedServer:a.value},null,8,[`authStore`,`clientOptions`,`document`,`entries`,`eventBus`,`expandedItems`,`options`,`securitySchemes`,`selectedClient`,`selectedServer`])):R(``,!0),V(k(PUn),{options:e.options,viewName:`content.end`},null,8,[`options`]),M(s.$slots,`end`),k(HVn)?R(``,!0):(N(),P(`div`,BUn))])],64))}});U(),Y(),EC();var HUn={class:`flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2`},UUn={key:1,class:`flex-1 text-sm font-medium whitespace-nowrap`},WUn={class:`flex h-6 items-center gap-1 pl-1`},GUn=j({__name:`MobileHeader`,props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:[`toggleSidebar`],setup(e,{emit:t}){let n=t,r=IS({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`}}});return(t,i)=>(N(),P(B,null,[M(t.$slots,`sidebar`,qc(Vd({sidebarClasses:`hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]`}))),I(`div`,{class:E([`t-doc__header`,k(r)({open:e.isSidebarOpen})])},[I(`header`,HUn,[e.showSidebar?(N(),F(k(hM),{key:0,icon:e.isSidebarOpen?k(TC):k(kDe),label:e.isSidebarOpen?`Close Menu`:`Open Menu`,size:`md`,onClick:i[0]||=e=>n(`toggleSidebar`)},null,8,[`icon`,`label`])):R(``,!0),e.showSidebar?(N(),P(`span`,UUn,D(e.breadcrumb),1)):M(t.$slots,`search`,{key:2}),I(`div`,WUn,[M(t.$slots,`actions`)])]),e.isSidebarOpen?M(t.$slots,`sidebar`,qc(z({key:0},{sidebarClasses:`overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none`}))):R(``,!0)],2)],64))}});U(),Y(),EC();var KUn={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`},qUn={class:`custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6`},JUn={class:`text-c-2 flex items-center justify-center gap-1 p-2 text-sm`},Z9=j({__name:`ApiReferenceToolbarPopover`,setup(e){return(e,t)=>(N(),F(k(OM),{class:`max-h-[inherit] max-w-[inherit] p-0 text-base`,placement:`bottom-end`,teleport:``},{default:A(({open:t})=>[M(e.$slots,`button`,{open:t},()=>[I(`button`,KUn,[M(e.$slots,`label`),V(k(oC),{class:E([`size-3`,{"rotate-180":t}])},null,8,[`class`])])])]),popover:A(n=>[I(`div`,qUn,[M(e.$slots,`default`,qc(Vd(n)))]),I(`div`,JUn,[V(k(hC),{class:`size-3.5 shrink-0`}),I(`div`,null,[M(e.$slots,`info`,{},()=>[t[0]||=L(` "`,-1),M(e.$slots,`label`),t[1]||=L(`" will only appear when running on localhost. `,-1)])])])]),backdrop:A(()=>[V(k(Tj),{class:`bg-b-2 rounded-lg`})]),_:3}))}});U(),Y(),EC(),fq();var YUn={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`},XUn={class:`-m-2 flex flex-col gap-2 leading-relaxed`},ZUn={class:`bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm`},QUn=`showDeveloperTools: "never"`,$Un=j({__name:`ApiReferenceToolbarTitle`,setup(e){let{copyToClipboard:t}=dq();return(e,n)=>(N(),F(Z9,{class:`w-120`,placement:`bottom-start`},{button:A(()=>[I(`button`,YUn,[V(k(hC)),n[1]||=L(` Developer Tools `,-1)])]),info:A(()=>[...n[5]||=[L(` The developer tools will only appear when running on localhost. `,-1)]]),default:A(()=>[I(`div`,XUn,[n[4]||=I(`div`,null,` The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry. `,-1),I(`div`,null,[n[2]||=L(` To disable the toolbar, set `,-1),I(`div`,ZUn,[I(`code`,{class:`font-code`},D(QUn)),V(k(hM),{class:`-m-1 p-1.25`,icon:k(lC),label:`Copy link to clipboard`,size:`sm`,onClick:n[0]||=e=>k(t)(QUn)},null,8,[`icon`])]),n[3]||=L(` in your configuration. `,-1)])])]),_:1}))}});U();var eWn={},tWn={class:`text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline`};function nWn(e,t){return N(),P(`p`,tWn,[M(e.$slots,`default`)])}var rWn=y9(eWn,[[`render`,nWn]]);U(),Y(),tP();var iWn=j({__name:`ApiReferenceToolbarRegisterButton`,props:Td({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:[`update:url`],setup(e){let t=jd(e,`url`),{toast:n}=QN(),r=WS();function i(t){let n=new URL(`${e.externalUrls.dashboardUrl}/register`);n.searchParams.set(`url`,t),e.sdks.forEach(e=>n.searchParams.append(`sdk`,e)),window.open(n.toString(),`_blank`)}async function a(){if(r.isLoading||!e.workspace)return;if(t.value){i(t.value);return}r.start();let a=e.workspace.exportActiveDocument(`json`);if(!a){n(`Unable to export active document`,`error`),await r.invalidate();return}try{t.value=await MLn(a,e.externalUrls),await r.validate(),i(t.value),await Ku(),await r.clear()}catch(e){n(e instanceof Error?e.message:`An unknown error occurred`,`error`),await r.invalidate()}}return(e,t)=>(N(),F(k(KS),{class:`h-auto p-2.5`,loader:k(r),onClick:a},{default:A(()=>[M(e.$slots,`default`,{},()=>[t[0]||=L(`Generate`,-1)])]),_:3},8,[`loader`]))}});U(),EC();var aWn={class:`text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium`},oWn=j({__name:`ApiReferenceToolbarShareRegister`,props:{workspace:{},externalUrls:{}},setup(e){let t=[{icon:gC,label:`Password Protection`},{icon:PEe,label:`Custom Domains`},{icon:oCe,label:`Free-form content`},{icon:cwe,label:`CDN Infrastructure`},{icon:aEe,label:`Pull from GitHub`},{icon:bTe,label:`Markdown/MDX`},{icon:zAe,label:`Spectral Linting`},{icon:aC,label:`JSON Schema Hosting`}];return(n,r)=>(N(),P(B,null,[I(`ul`,aWn,[(N(),P(B,null,yd(t,e=>I(`li`,{key:e.label,class:`flex items-center gap-2`},[(N(),F(vd(e.icon),{class:`text-c-3 size-3.5`,weight:`bold`})),L(` `+D(e.label),1)])),64))]),V(iWn,{externalUrls:e.externalUrls,workspace:e.workspace},{default:A(()=>[...r[0]||=[L(` Deploy on Scalar `,-1)]]),_:1},8,[`externalUrls`,`workspace`]),V(rWn,null,{default:A(()=>[...r[1]||=[L(` Deploy your documentation for free. `,-1),I(`br`,null,null,-1),L(` Additional features might require `,-1),I(`a`,{href:`https://scalar.com/products/docs/getting-started`,target:`_blank`},`Scalar Pro`,-1),L(`. `,-1)]]),_:1})],64))}});U(),Y();var sWn=j({__name:`DeployApiReference`,props:{workspace:{},externalUrls:{}},setup(e){return(t,n)=>(N(),F(Z9,{class:`w-120`},{label:A(()=>[...n[0]||=[L(`Deploy`,-1)]]),default:A(()=>[V(k(NC),null,{label:A(()=>[...n[1]||=[L(`Scalar Docs`,-1)]]),default:A(()=>[n[2]||=I(`p`,{class:`text-c-2 mb-2 leading-normal`},` Deploy your documentation on Scalar, the modern documentation platform for your API and everything else. `,-1),V(oWn,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`])]),_:1})]),_:1}))}});U(),Y();var cWn=j({__name:`ApiReferenceToolbarConfigLayout`,props:{modelValue:{},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t={label:`Modern`,value:`modern`},n={label:`Classic`,value:`classic`},r=[t,n],i=jd(e,`modelValue`),a=H({get:()=>i.value===`modern`?t:n,set:e=>i.value=e.value});return(e,t)=>(N(),F(k(Xje),{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,options:r},null,8,[`modelValue`]))}});U(),Y();var lWn=j({__name:`ApiReferenceToolbarConfigLayoutOptions`,props:Td({configuration:{}},{modelValue:{default:{}},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`);function n(n,r=!1){return t.value[n]??e.configuration?.[n]??r}function r(e,n,r=!1){n===r?t.value=Object.fromEntries(Object.entries(t.value).filter(([t])=>e!==t)):t.value={...t.value,[e]:n}}return(e,t)=>(N(),F(k(jC),null,{default:A(()=>[V(k(qM),{modelValue:n(`showSidebar`,!0),"onUpdate:modelValue":t[0]||=e=>r(`showSidebar`,!!e,!0)},{default:A(()=>[...t[11]||=[L(` Show Sidebar `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`defaultOpenFirstTag`,!0),"onUpdate:modelValue":t[1]||=e=>r(`defaultOpenFirstTag`,!!e,!0)},{default:A(()=>[...t[12]||=[L(` Default Open First Tag `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`defaultOpenAllTags`),"onUpdate:modelValue":t[2]||=e=>r(`defaultOpenAllTags`,!!e)},{default:A(()=>[...t[13]||=[L(` Default Open All Tags `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`expandAllModelSections`),"onUpdate:modelValue":t[3]||=e=>r(`expandAllModelSections`,!!e)},{default:A(()=>[...t[14]||=[L(` Expand All Model Sections `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`expandAllResponses`),"onUpdate:modelValue":t[4]||=e=>r(`expandAllResponses`,!!e)},{default:A(()=>[...t[15]||=[L(` Expand All Responses `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`hideClientButton`),"onUpdate:modelValue":t[5]||=e=>r(`hideClientButton`,!!e)},{default:A(()=>[...t[16]||=[L(` Hide Client Button `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`hideDarkModeToggle`),"onUpdate:modelValue":t[6]||=e=>r(`hideDarkModeToggle`,!!e)},{default:A(()=>[...t[17]||=[L(` Hide Dark Mode Toggle `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`hideModels`),"onUpdate:modelValue":t[7]||=e=>r(`hideModels`,!!e)},{default:A(()=>[...t[18]||=[L(` Hide Models `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`hideSearch`),"onUpdate:modelValue":t[8]||=e=>r(`hideSearch`,!!e)},{default:A(()=>[...t[19]||=[L(` Hide Search `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`showOperationId`),"onUpdate:modelValue":t[9]||=e=>r(`showOperationId`,!!e)},{default:A(()=>[...t[20]||=[L(` Show Operation ID `,-1)]]),_:1},8,[`modelValue`]),V(k(qM),{modelValue:n(`hideTestRequestButton`),"onUpdate:modelValue":t[10]||=e=>r(`hideTestRequestButton`,!!e)},{default:A(()=>[...t[21]||=[L(` Hide Test Request Button `,-1)]]),_:1},8,[`modelValue`])]),_:1}))}});U(),Y(),EC(),Wx();var uWn={class:`min-w-0 flex-1 truncate text-left`},dWn={class:`text-c-1 inline-block min-w-0 flex-1 truncate`},fWn=j({__name:`ApiReferenceToolbarConfigTheme`,props:{modelValue:{},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let t=jd(e,`modelValue`),n=H(()=>Hx.filter(e=>e!==`none`).map(e=>({id:e,label:Ibe[e],css:Ux[e].theme}))),r=H({get:()=>{let e=t.value??`default`;return n.value.find(t=>t.id===e)??n.value[0]},set:e=>t.value=e.id});return(e,t)=>(N(),F(k(Nj),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,options:n.value,resize:``},{default:A(({open:e})=>[V(k(kC),null,{default:A(()=>[I(`div`,uWn,D(r.value.label),1),V(k(GM),{class:`mr-2`,css:r.value.css},null,8,[`css`]),V(k(oC),{class:E([`size-3.5 transition-transform`,{"rotate-180":e}])},null,8,[`class`])]),_:2},1024)]),option:A(({selected:e,option:t})=>[V(k(Dj),{selected:e},null,8,[`selected`]),I(`span`,dWn,D(t.label),1),V(k(GM),{css:t.css},null,8,[`css`])]),_:1},8,[`modelValue`,`options`]))}});U(),Y(),y_(),Wx();var pWn={class:`flex flex-col gap-4`},mWn=j({__name:`ModifyConfiguration`,props:Td({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:[`update:overrides`],setup(e){let t=jd(e,`overrides`),n=H(()=>v_({...t.value,...e.configuration,...t.value})),r=H({get:()=>t.value?.theme??e.configuration?.theme??`default`,set:e=>t.value={...t.value,theme:e}}),i=H({get:()=>t.value?.layout??e.configuration?.layout??`modern`,set:e=>t.value={...t.value,layout:e}});return(a,o)=>(N(),F(Z9,{class:`w-120`},{label:A(()=>[...o[3]||=[L(`Configure`,-1)]]),default:A(()=>[V(k(NC),null,{label:A(()=>[...o[4]||=[L(`Scalar Configuration`,-1)]]),default:A(()=>[V(k(wA),{class:`bg-b-1.5 flex max-h-40 flex-col rounded border text-sm`,content:n.value,lang:`json`},null,8,[`content`])]),_:1}),I(`div`,pWn,[V(k(DC),null,{label:A(()=>[...o[5]||=[L(`Theme`,-1)]]),default:A(()=>[V(fWn,{modelValue:r.value,"onUpdate:modelValue":o[0]||=e=>r.value=e},null,8,[`modelValue`])]),_:1}),V(k(DC),null,{label:A(()=>[...o[6]||=[L(`Layout`,-1)]]),default:A(()=>[V(cWn,{modelValue:i.value,"onUpdate:modelValue":o[1]||=e=>i.value=e},null,8,[`modelValue`])]),_:1}),V(k(DC),{is:`div`},{label:A(()=>[...o[7]||=[L(`Layout Options`,-1)]]),default:A(()=>[V(lWn,{modelValue:t.value,"onUpdate:modelValue":o[2]||=e=>t.value=e,configuration:e.configuration},null,8,[`modelValue`,`configuration`])]),_:1})])]),_:1}))}});U(),Y(),tP();var hWn=j({__name:`ApiReferenceToolbarShareTemporary`,props:Td({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:[`update:url`],setup(e){let{toast:t}=QN(),n=WS(),r=jd(e,`url`);async function i(){if(n.isLoading||!e.workspace||r.value)return;n.start();let i=e.workspace.exportActiveDocument(`json`);if(!i){t(`Unable to export active document`,`error`),await n.invalidate();return}try{let t=await MLn(i,e.externalUrls);await n.validate({duration:900,persist:!0}),r.value=t}catch(e){t(e instanceof Error?e.message:`An unknown error occurred`,`error`),await n.invalidate()}}return(t,a)=>(N(),P(B,null,[r.value?(N(),F(k(xdt),{key:0,immediate:``,modelValue:r.value,name:`temporary-link`,placeholder:`${e.externalUrls.registryUrl}/share/apis/…`},null,8,[`modelValue`,`placeholder`])):(N(),F(k(KS),{key:1,class:`h-auto p-2.5`,loader:k(n),variant:`gradient`,onClick:i},{default:A(()=>[...a[0]||=[L(` Upload Document `,-1)]]),_:1},8,[`loader`])),V(rWn,{class:`-mt-1`},{default:A(()=>[...a[1]||=[L(` Your document will automatically be deleted after 7 days. `,-1)]]),_:1})],64))}});U(),Y();var gWn=j({__name:`ShareApiReference`,props:{workspace:{},externalUrls:{}},setup(e){return(t,n)=>(N(),F(Z9,{class:`w-120`},{label:A(()=>[...n[0]||=[L(`Share`,-1)]]),default:A(()=>[V(k(NC),null,{label:A(()=>[...n[1]||=[L(`Share your API Reference`,-1)]]),default:A(()=>[n[2]||=I(`p`,{class:`text-c-2 mb-2 leading-normal`},` Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button. `,-1),V(hWn,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`])]),_:1})]),_:1}))}});U(),Iv();var _Wn={key:0,"aria-label":`Developer Tools`,class:`api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15`},vWn={class:`-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center`},yWn={class:`flex flex-1 items-center`},bWn=j({__name:`DeveloperTools`,props:Td({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:[`update:overrides`],setup(e){let t=jd(e,`overrides`),n=H(()=>e.configuration?.showDeveloperTools===`always`?!0:e.configuration?.showDeveloperTools===`never`||typeof window>`u`?!1:Fv(window.location.href));return(r,i)=>n.value?(N(),P(`header`,_Wn,[I(`div`,vWn,[I(`div`,yWn,[V($Un)]),V(mWn,{overrides:t.value,"onUpdate:overrides":i[0]||=e=>t.value=e,configuration:e.configuration},null,8,[`overrides`,`configuration`]),e.workspace?(N(),P(B,{key:0},[V(gWn,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`]),V(sWn,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,[`externalUrls`,`workspace`])],64)):R(``,!0)])])):R(``,!0)}});U(),Y(),EC();var xWn={key:0,class:`document-selector p-3 pb-0`},SWn={class:`group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium`,type:`button`},CWn={class:`overflow-hidden text-base text-ellipsis`},wWn=j({__name:`DocumentSelector`,props:{options:{},modelValue:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=H(()=>n.options.map(e=>({id:e.id,label:e.label}))),a=H(()=>i.value.find(e=>e.id===n.modelValue));return(t,n)=>e.options.length>1?(N(),P(`div`,xWn,[V(k(kj),{modelValue:a.value,options:i.value,resize:``,"onUpdate:modelValue":n[0]||=e=>r(`update:modelValue`,e.id)},{default:A(({open:e})=>[I(`button`,SWn,[I(`span`,CWn,D(a.value?.label||`Select API`),1),V(k(oC),{class:E([`size-3 text-current transition-transform`,{"rotate-180":e}]),weight:`bold`},null,8,[`class`])])]),_:1},8,[`modelValue`,`options`])])):R(``,!0)}});YP();function TWn(){return new JP([],{keys:[{name:`title`,weight:.7},{name:`description`,weight:.3},{name:`parameters`,weight:.2},{name:`body`,weight:.2},{name:`responseExamples`,weight:.25},{name:`operationId`,weight:.6},{name:`path`,weight:.5},{name:`tag`,weight:.4},{name:`method`,weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})}x_(),Q$();var EWn=e=>typeof e==`object`&&!!e,DWn=e=>`type`in e?typeof e.type==`string`?e.type:Array.isArray(e.type)?e.type.join(`|`):``:``;function OWn(e){return typeof e==`object`&&e&&`$ref`in e?EWn(e[`$ref-value`])?e[`$ref-value`]:void 0:e}function kWn(e,t){let n=e,r=t.required?.includes(e);n+=r?` REQUIRED `:` optional `;let i=t.properties[e];if(!i)return n;let a=OWn(i);return a&&(n+=DWn(a),`description`in a&&typeof a.description==`string`&&(n+=` ${a.description}`)),n}function AWn(e){let t=[`Body`],n=b_(e?.schema);if(!n||!q$(n)||!n.properties)return t;let r=n.properties,i={properties:r,required:n.required};return Object.keys(r).forEach(n=>{if(!e.schema)return;t.push(kWn(n,i));let a=r[n];if(!a)return;let o=OWn(a);if(o&&q$(o)&&o.properties){let e=o.properties;Object.keys(e).forEach(n=>{let r=e[n];if(!r)return;let i=OWn(r),a=i?DWn(i):``;t.push(`${n} ${a}`)})}}),t}function jWn(e){let t=b_(e?.requestBody)?.content,n=Object.values(t??{});return n.length===0?null:n.flatMap(e=>AWn(e))}function MWn(e){let t=[e.name];if(t.push(e.required?`REQUIRED`:`optional`),t.push(e.in),`schema`in e&&e.schema){let n=b_(e.schema);n&&t.push(DWn(n))}return e.description&&t.push(e.description),t.join(` `)}function NWn(e){return e.map(e=>MWn(b_(e)))}x_(),a3();function PWn(e){if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return``}}function FWn(e){let t=Object.values(e.examples??{}).flatMap(e=>{let t=b_(e);return!t||!(`value`in t)?[]:PWn(t.value)}).filter(e=>e.length>0),n=`example`in e&&e.example!==void 0?PWn(e.example):``;return n?[n,...t]:t}function IWn(e){return e?Object.values(e).flatMap(e=>{let t=b_(e);return t?.content?Object.values(t.content).flatMap(e=>{let t=b_(e);return t?FWn(t):[]}):[]}).filter(e=>e.length>0):[]}function LWn(e){let t=[];function n(r){r.forEach(r=>{RWn(r,t,e),`children`in r&&r.children&&n(r.children)})}return n(e?.[`x-scalar-navigation`]?.children??[]),t}function RWn(e,t,n){if(e.type===`operation`){let r=b_(n?.paths?.[e.path]),i=b_(r?.[e.method])??{},a={...i,parameters:U4(r?.parameters,i.parameters)},o=NWn(a.parameters??[]),s=jWn(a),c=IWn(a.responses);t.push({type:`operation`,title:e.title,id:e.id,description:a.description||``,method:e.method,path:e.path,body:s||``,parameters:o??``,responseExamples:c,operationId:a.operationId,entry:e});return}if(e.type===`webhook`){let r=b_(n?.webhooks?.[e.name]?.[e.method])??{};t.push({id:e.id,type:`webhook`,title:e.title,description:`Webhook`,method:e.method,body:r.description||``,operationId:r.operationId,entry:e});return}if(e.type===`model`){let r=b_(n?.components?.schemas?.[e.name])?.description??``;t.push({type:`model`,title:e.title,description:`Model`,id:e.id,body:r,entry:e});return}if(e.type===`models`){t.push({id:e.id,type:`heading`,title:`Models`,description:`Heading`,body:``,entry:e});return}if(e.type===`tag`&&e.isWebhooks===!0){t.push({id:e.id,type:`heading`,title:`Webhooks`,description:`Heading`,body:``,entry:e});return}if(e.type===`tag`&&e.isGroup===!1){t.push({id:e.id,title:e.title,description:e.description||``,type:`tag`,body:``,entry:e});return}if(e.type===`tag`&&e.isGroup===!0){t.push({id:e.id,title:e.title,description:`Tag Group`,type:`tag`,body:``,entry:e});return}if(e.type===`text`){t.push({id:e.id,type:`heading`,title:e.title??``,description:`Heading`,body:``,entry:e});return}}U();var zWn=25;function BWn(e){let t=H(()=>{let t=TWn();return t.setCollection(LWn(uu(e))),t}),n=O(``);return{results:H(()=>n.value.length===0?t.value._docs.slice(0,zWn).map((e,t)=>({item:e,refIndex:t})):t.value.search(n.value,{limit:zWn})),query:n}}U(),Y(),EC(),E2();var VWn={class:`sr-only`},HWn={class:`inline-flex items-center gap-1`},UWn={class:`sr-only`},WWn=j({__name:`SearchResult`,props:{id:{},isSelected:{type:Boolean},result:{}},setup(e){let t={heading:Gke,model:aC,operation:xC,tag:Eke,webhook:xC},n={heading:`Heading`,operation:`Operation`,tag:`Tag`,model:`Model`,webhook:`Webhook`};return(r,i)=>(N(),F(k(AM),{id:e.id,icon:t[e.result.item.type],selected:e.isSelected},bd({default:A(()=>[I(`span`,{class:E({"text-decoration-line":e.result.item.entry.type===`operation`&&e.result.item.entry.isDeprecated})},[I(`span`,VWn,[L(D(n[e.result.item.type])+`:\xA0 `,1),e.result.item.entry.type===`operation`&&e.result.item.entry.isDeprecated?(N(),P(B,{key:0},[L(` (Deprecated)\xA0 `)],64)):R(``,!0)]),L(` `+D(e.result.item.title)+` `,1),i[0]||=I(`span`,{class:`sr-only`},`,`,-1)],2)]),_:2},[e.result.item.type!==`webhook`&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{name:`description`,fn:A(()=>[I(`span`,HWn,[e.result.item.type===`operation`?(N(),P(B,{key:0},[V(k(p2),{"aria-hidden":`true`,method:e.result.item.method??`get`},null,8,[`method`]),I(`span`,UWn,` HTTP Method: `+D(e.result.item.method??`get`),1)],64)):R(``,!0),i[1]||=I(`span`,{class:`sr-only`},`Path:\xA0`,-1),L(` `+D(e.result.item.path),1)])]),key:`0`}:e.result.item.description?{name:`description`,fn:A(()=>[i[2]||=I(`span`,{class:`sr-only`},`Description:\xA0`,-1),L(` `+D(e.result.item.description),1)]),key:`1`}:void 0]),1032,[`id`,`icon`,`selected`]))}});U(),Y(),Bg();var GWn={class:`mb-0 flex flex-col`,role:`search`},KWn=y9(j({__name:`SearchModal`,props:{modalState:{},document:{},eventBus:{}},setup(e){let t=e,n=zg(),r=`${n}-search-result`,i=`${n}-search-instructions`,{query:a,results:o}=BWn(()=>t.document),s=O(void 0);nd(()=>t.modalState.open,e=>{e&&(a.value=``)});let c=e=>{let t=e===`up`?-1:1,n=o.value.length;typeof s.value==`number`?s.value=(s.value+t+n)%n:s.value=t===-1?n-1:0};function l(e){if(typeof e!=`number`||!o.value[e])return;let n=o.value[e];t.modalState.hide(),t.eventBus.emit(`scroll-to:nav-item`,{id:n.item.id})}let u=H(()=>{let e=o.value[s.value??-1];return e?`search-result-${e.item.id}`:void 0});return(t,n)=>(N(),F(k(DM),{"aria-label":`Reference Search`,state:e.modalState,variant:`search`},{default:A(()=>[I(`div`,GWn,[V(k(kM),{modelValue:k(a),"onUpdate:modelValue":n[0]||=e=>cu(a)?a.value=e:null,"aria-activedescendant":u.value,"aria-autocomplete":`list`,"aria-controls":r,"aria-describedby":i,role:`combobox`,onBlur:n[1]||=e=>s.value=void 0,onKeydown:[n[2]||=em($p(e=>c(`down`),[`stop`,`prevent`]),[`down`]),n[3]||=em($p(()=>l(s.value),[`stop`,`prevent`]),[`enter`]),n[4]||=em($p(e=>c(`up`),[`stop`,`prevent`]),[`up`])]},null,8,[`modelValue`,`aria-activedescendant`])]),V(k(jM),{id:r,"aria-label":`Reference Search Results`,class:`custom-scroll p-1 pt-0`,noResults:!k(o).length},{query:A(()=>[L(D(k(a)),1)]),default:A(()=>[(N(!0),P(B,null,yd(k(o),(e,t)=>(N(),F(WWn,{id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:s.value===t,result:e,onClick:$p(()=>l(t),[`prevent`])},null,8,[`id`,`isSelected`,`result`,`onClick`]))),128))]),_:1},8,[`noResults`]),I(`div`,{id:i,class:`ref-search-meta`},[...n[5]||=[I(`span`,{"aria-hidden":`true`,class:`contents`},[I(`span`,null,`↑↓ Navigate`),I(`span`,null,`⏎ Select`)],-1),I(`span`,{class:`sr-only`},` Press up arrow / down arrow to navigate, enter to select, type to filter results `,-1)]])]),_:1},8,[`state`]))}}),[[`__scopeId`,`data-v-c1c368f9`]]);U(),Y(),Jj(),EC();var Q9=j({__name:`SearchButton`,props:{forceIcon:{type:Boolean},searchHotKey:{default:`k`},hideModels:{type:Boolean,default:!1},document:{},eventBus:{}},setup(e){let t=O(),n=EM(),r=t=>{(qj()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),n.open?n.hide():n.show())};nd(()=>n.open,async(e,n)=>{!e&&n&&(await Ku(),t.value?.$el.focus())}),Af(()=>window.addEventListener(`keydown`,r)),Mf(()=>window.removeEventListener(`keydown`,r));function i(){n.show()}return(r,a)=>(N(),P(B,null,[e.forceIcon?(N(),F(k(hM),{key:0,icon:k(_C),label:`Search`,onClick:i},null,8,[`icon`])):(N(),F(k(Xut),{key:1,ref_key:`button`,ref:t,class:E([`w-full`,r.$attrs.class]),onClick:i},{shortcut:A(()=>[k(qj)()?(N(),P(B,{key:0},[a[0]||=I(`span`,{class:`sr-only`},`Command`,-1),a[1]||=I(`span`,{"aria-hidden":`true`},`⌘`,-1)],64)):(N(),P(B,{key:1},[a[2]||=I(`span`,{class:`sr-only`},`CTRL`,-1),a[3]||=I(`span`,{"aria-hidden":`true`},`⌃`,-1)],64)),L(` `+D(e.searchHotKey),1)]),default:A(()=>[a[4]||=I(`span`,{class:`sr-only`},`Open Search`,-1),a[5]||=I(`span`,{"aria-hidden":`true`,class:`sidebar-search-placeholder`},` Search `,-1)]),_:1},8,[`class`])),V(KWn,{document:e.document,eventBus:e.eventBus,hideModels:e.hideModels,modalState:k(n)},null,8,[`document`,`eventBus`,`hideModels`,`modalState`])],64))}}),qWn=()=>typeof window>`u`||typeof window?.matchMedia!=`function`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;function JWn(){try{return new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent(`click`,{bubbles:!0,cancelable:!0})}}async function YWn(e){try{return JSON.parse(e)}catch{let{parse:t}=await Promise.resolve().then(()=>(Ax(),nbe));return t(e,{maxAliasCount:1e4,merge:!0})}}function XWn(e){let t=e.trimStart();return t.startsWith(`{`)||t.startsWith(`[`)?`json`:`yaml`}async function ZWn(e,t,n){if(t===n)return e;let r=await YWn(e);if(n===`json`)return JSON.stringify(r,null,2);let{stringify:i}=await Promise.resolve().then(()=>(Ax(),nbe));return i(r)}async function QWn(e,t,n){let r=XWn(e),i=n??r,a=`${t??`openapi`}.${i}`,o=i===`json`?`application/json`:`application/x-yaml`,s=await ZWn(e,r,i),c=new Blob([s],{type:o}),l=URL.createObjectURL(c),u=document.createElement(`a`);u.href=l,u.download=a,u.dispatchEvent(JWn()),setTimeout(()=>{window.URL.revokeObjectURL(l),u.remove()},100)}var $Wn=e=>{let t=ZRn().get();k3(t)&&!e.workspace[`x-scalar-default-client`]&&e.update(`x-scalar-default-client`,t)},eGn=(e,t)=>{let n=QRn().getAuth(t);e.auth.load({[t]:n})};a3(),U();var tGn=(e,t)=>{let n={hooks:{}};return nd([()=>e.value.onBeforeRequest,()=>e.value.onRequestSent,()=>t.value],([e,t,r])=>{let i=F4(r);n.hooks||={},n.hooks.beforeRequest=e?async t=>{await e({request:E4(t.requestBuilder,{envVariables:i}).request,requestBuilder:t.requestBuilder,envVariables:i})}:void 0,n.hooks.responseReceived=t?e=>{t(e.request.url)}:void 0},{immediate:!0}),[n]};aw(),U();var nGn=({config:e,store:t,isDarkMode:n})=>{nd(()=>uu(e).defaultHttpClient,e=>{if(e){let{targetKey:n,clientKey:r}=e,i=`${n}/${r}`;k3(i)&&t.update(`x-scalar-default-client`,i)}},{immediate:!0}),nd(()=>uu(e).darkMode,e=>t.update(`x-scalar-color-mode`,e?`dark`:`light`)),nd(()=>n.value,e=>t.update(`x-scalar-color-mode`,e?`dark`:`light`),{immediate:!0}),uu(e).metaData&&ife(uu(e).metaData),nd(()=>uu(e).proxyUrl,e=>t.update(`x-scalar-active-proxy`,e),{immediate:!0}),PMe(H(()=>uu(e).favicon))};Rx(),Pc(),l1();var rGn=e=>{let t=new c1,n={};return e&&(Array.isArray(e)?e:[e]).flatMap(e=>{if(hse(e)){let{sources:t,...n}=e;return t?.map(e=>({...n,...e}))??[]}return[e]}).map(e=>{let t=Nc.safeParse(e);return t.success?t.data:null}).filter(e=>!!e&&(!!e.url||!!e.content)).map((e,n)=>aGn(e,n,t)).forEach(e=>{let{url:t,content:r,...i}=e;n[e.slug]={config:i,title:e.title,slug:e.slug,default:!!e?.default,agent:e.agent,source:r?{content:iGn(r)??{}}:{url:t}}}),n},iGn=e=>e?typeof e==`function`?iGn(e()):typeof e==`string`?rbe(e):e:null,aGn=(e,t=0,n)=>e.title?{...e,slug:e.slug||n.slug(e.title),title:e.title}:e.slug?{...e,slug:n.slug(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`};Z4();var oGn=e=>typeof window>`u`?X4(e):window.structuredClone(e);U(),Ag(),y6(),Y(),Iv(),E2(),Wx(),Pc(),fq(),AA(),tP(),Lwn(),Eq(),a3(),aw(),zN();var sGn={key:1,class:`flex gap-1.5 px-3 pt-3`},cGn={key:1},lGn=[`aria-label`,`inert`],uGn={class:`w-64 empty:hidden`},dGn={key:2,class:`references-footer`},fGn=y9(j({__name:`ApiReference`,props:{configuration:{}},setup(e,{expose:t}){let n=e,{copyToClipboard:r}=dq(),i=H(xbe),a=wq({debug:!1}),o=O(!1);Efe(()=>ud());let s=H(()=>rGn(n.configuration)),c=H(()=>Object.keys(s.value).length>1),l=O(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]){l.value=t;let n=H9(V9(e,s.value[t].config.pathRouting?.basePath,t),s.value[t].config.pathRouting?.basePath,c.value);n&&(n.searchParams.delete(`api`),window.history.replaceState({},``,n.toString()))}let n=V9(e,Object.values(s.value).map(e=>e.config.pathRouting?.basePath).find(t=>t?RVn(e,t):!1),c.value?void 0:l.value).split(`/`)[0];n&&s.value[n]&&(l.value=n)}let u=H(()=>Object.values(s.value).map(e=>({label:e.title,id:e.slug}))),d=O({}),f=H(()=>({...Mc.parse({}),...s.value[l.value]?.config,...d.value})),p=H(()=>f.value.pathRouting?.basePath),m=H(()=>Lbe(f.value.theme,{fonts:f.value.withDefaultFonts}));if(Qu(YRn,JRn({plugins:Object.values(s.value).flatMap(e=>e.config.plugins??[])})),f.value.redirect&&typeof window<`u`){let e=f.value.redirect((f.value.pathRouting?window.location.pathname:``)+window.location.hash);e&&window.history.replaceState({},``,e)}function h(e,t,n){let r=H9(t||e,n.pathRouting?.basePath,c.value);r&&window.history.replaceState({},``,r.toString()),l.value=e}let g=p8({verbose:!1}),_=p8({verbose:!1,plugins:[$Rn({prefix:()=>l.value,persistAuth:()=>f.value.persistAuth??!1})]}),{toggleColorMode:v,isDarkMode:y}=OA({initialColorMode:{true:`dark`,false:`light`,undefined:`system`}[String(f.value.darkMode)],overrideColorMode:f.value.forceDarkModeState}),b=w2(H(()=>Object.entries(g.workspace.documents).map(([e,t])=>({id:e,type:`document`,description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:t?.[`x-scalar-navigation`]?.children??[]}))),{hooks:{}}),x=e=>{e.forEach(e=>{(e.type===`tag`||e.type===`models`)&&b.setExpanded(e.id,!0),`children`in e&&e.children&&x(e.children)})},ee=H(()=>{let e=f.value;if(!e)return[];let t=b.items.value.find(e=>e.id===l.value)?.children??[];if(e.defaultOpenAllTags&&x(t),e.expandAllModelSections){let e=t.find(e=>e.type===`models`);e&&(b.setExpanded(e.id,!0),e.children?.forEach(e=>{b.setExpanded(e.id,!0)}))}return t}),S=H(()=>ee.value.find(e=>e.type===`text`&&e.title===`Introduction`)?.id??`${l.value}/description/introduction`),C=O(``),te=H(()=>({breadcrumb:C.value})),ne=e=>{let t=b.getEntryById(e);!t||t.type===`document`?C.value=``:C.value=t.title},re=e=>{ne(e),b.setSelected(e),nHn(e,b.setExpanded,b.getEntryById)};nGn({config:()=>f.value,store:g,isDarkMode:y}),nGn({config:()=>f.value,store:_,isDarkMode:y});let w=H(()=>H4(g,g.workspace.activeDocument??null).environment);typeof window<`u`&&(window.dataDumpWorkspace=()=>g),t({eventBus:a,workspaceStore:g,sidebarItems:ee});let ie=async(e,t)=>{let n=await g.addDocument(e,t),r=g.exportWorkspace();return _.loadWorkspace({auth:{},documents:{[e.name]:oGn(r.documents[e.name])??{openapi:`3.1.0`,info:{title:``,version:``},"x-scalar-original-document-hash":``}},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),n},ae=async(e,t)=>{let n=s.value[e];if(!n){console.warn(`Document ${e} not found in configList`);return}let r={...n.config,...d.value},i=r.onDocumentSelect?.();if(h(e,t,r),le.value?.route({documentSlug:e,method:`get`,path:`/`}),!g.workspace.documents[e]){let t=await ie(n.source.url?{name:e,url:n.source.url,fetch:r.fetch}:{name:e,document:n.source.content??{}},r),i=_.workspace.documents[e];if(t===!0&&i!==void 0&&i[`x-scalar-selected-server`]===void 0){let t=r3(n.config.servers??i.servers,{baseServerUrl:f.value.baseServerURL,documentUrl:n.source.url});t.length>0&&_.updateDocument(e,`x-scalar-selected-server`,t[0].url)}}if(g.update(`x-scalar-active-document`,e),_.update(`x-scalar-active-document`,e),r.persistAuth&&eGn(_,e),(async()=>{await i,r.onLoaded?.(e)})(),t&&t!==e)re(t);else if(r.defaultOpenFirstTag){let e=ee.value.find(e=>e.type===`tag`);e&&b.setExpanded(e.id,!0)}};nd(()=>Object.values(s.value),async(e,t)=>{let n=async(e,t)=>{if(g.workspace.documents[e.slug]){if(e.source.url&&e.source.url!==t?.source.url){await ie({name:e.slug,url:e.source.url,fetch:e.config.fetch},e.config);return}e.source.content&&RN(e.source.content,t&&`content`in t.source?t.source.content??{}:{}).length&&await ie({name:e.slug,document:e.source.content},e.config)}};e.forEach((e,r)=>n(e,t[r]));let r=e.map(e=>e.slug),i=t.map(e=>e.slug);(r.length!==i.length||!r.every((e,t)=>e===i[t]))&&await ae(r[0]??``)},{deep:!0}),Pf(()=>ae(l.value)),kf(async()=>{$Wn(_),await ae(l.value,V9(window.location.href,s.value[l.value]?.config.pathRouting?.basePath,c.value?void 0:l.value))});let oe=H(()=>s.value[l.value]?.source?.url),se=Bwn({agentEnabled:H(()=>s.value[l.value]?.agent?.disabled?!1:typeof window<`u`&&Fv(window.location.href)?!0:!!s.value[l.value]?.agent?.key)});Qu(Rwn,se);let ce=fd(`modal`),le=O(null);Af(()=>{ce.value&&(le.value=v6({el:ce.value,eventBus:a,workspaceStore:_,options:f,plugins:tGn(f,w)}))}),Mf(()=>{le.value?.app.unmount()}),a.on(`server:update:selected`,({url:e})=>f.value.onServerChange?.(e)),a.on(`ui:download:document`,({format:e})=>{let t=g.exportActiveDocument(e);if(!t){console.error(`No document found to download`);return}QWn(t,l.value??`openapi`,e)});let ue=(e,t)=>{let n=b.getEntryById(e);if((n?.type===`tag`||n?.type===`models`||n?.type===`text`)&&b.isExpanded(e)&&b.selectedItem.value===e){let t=JVn();b.setExpanded(e,!1),t();return}n?.type!==`tag`&&n?.type!==`models`&&(o.value=!1),re(e);let r=H9(e,p.value,c.value);r&&(window.history.pushState({},``,r),t===`sidebar`&&f.value.onSidebarClick?.(r.toString())),se.showAgent.value&&se.closeAgent()};a.on(`select:nav-item`,({id:e})=>ue(e)),a.on(`scroll-to:nav-item`,({id:e})=>ue(e)),a.on(`intersecting:nav-item`,({id:e})=>{if(!YVn.value)return;b.setSelected(e),ne(e),Yun(e);let t=H9(e,p.value,c.value);t&&g.workspace.activeDocument&&window.history.replaceState({},``,t.toString())}),a.on(`toggle:nav-item`,({id:e,open:t})=>{if(t){f.value.onShowMore?.(e);let t=b.getEntryById(e);if(t&&`children`in t&&t.children){let e=t.children[0];e&&J9(e.id)}}b.setExpanded(e,t??!b.isExpanded(e))}),a.on(`copy-url:nav-item`,({id:e})=>{let t=H9(e,p.value,c.value)?.toString();return t&&r(t)}),kf(()=>{window.history.scrollRestoration=`manual`,$M(),window.addEventListener(`popstate`,()=>{let e=V9(window.location.href,f.value.pathRouting?.basePath,c.value?void 0:l.value);e&&re(e)})});let de=fd(`documentStartRef`);x9(de,()=>{a.emit(`intersecting:nav-item`,{id:l.value})});let fe=H(()=>{let e=g.workspace[`x-scalar-color-mode`];return e===`system`?qWn():e}),pe=zMe(typeof document<`u`?document.body:null);nd(se.showAgent,()=>pe.value=se.showAgent.value);let me=H(()=>f.value.mcp?.disabled?!1:!!(typeof window<`u`&&Fv(window.location.href)||f.value.mcp));return(e,t)=>(N(),P(`div`,null,[(N(),F(vd(`style`),null,{default:A(()=>[L(D(f.value.customCss)+` `+D(m.value),1)]),_:1})),I(`div`,{ref:`documentEl`,class:E([`scalar-app scalar-api-reference references-layout`,[{"scalar-api-references-standalone-mobile":f.value.showSidebar,"scalar-scrollbars-obtrusive":i.value,"references-editable":f.value.isEditable,"references-sidebar":f.value.showSidebar,"references-sidebar-mobile-open":o.value,"references-classic":f.value.layout===`classic`},e.$attrs.class]])},[k(se).agentEnabled.value?(N(),F(k(ALn),{key:0,agentScalarConfiguration:s.value[l.value]?.agent,eventBus:k(a),externalUrls:f.value.externalUrls,workspaceStore:k(g)},null,8,[`agentScalarConfiguration`,`eventBus`,`externalUrls`,`workspaceStore`])):R(``,!0),f.value.layout===`modern`?(N(),F(GUn,{key:1,breadcrumb:C.value,isSidebarOpen:o.value,showSidebar:f.value.showSidebar,onToggleSidebar:t[3]||=()=>o.value=!o.value},{search:A(()=>[f.value.hideSearch?R(``,!0):(N(),F(Q9,{key:0,class:`my-2`,document:k(g).workspace.activeDocument,eventBus:k(a),hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey,showSidebar:f.value.showSidebar},null,8,[`document`,`eventBus`,`hideModels`,`searchHotKey`,`showSidebar`]))]),sidebar:A(({sidebarClasses:n})=>[f.value.showSidebar&&f.value.layout===`modern`?(N(),F(k(S2),{key:0,"aria-label":`Sidebar for ${k(g).workspace.activeDocument?.info?.title}`,class:E([`t-doc__sidebar`,n]),isExpanded:k(b).isExpanded,isSelected:k(b).isSelected,items:ee.value,layout:`reference`,options:f.value,role:`navigation`,onSelectItem:t[1]||=e=>ue(e,`sidebar`),onToggleGroup:t[2]||=e=>k(b).setExpanded(e,!k(b).isExpanded(e))},{header:A(()=>[u.value.length>1?(N(),F(wWn,{key:0,class:`p-3 pb-0`,modelValue:l.value,options:u.value,"onUpdate:modelValue":ae},null,8,[`modelValue`,`options`])):R(``,!0),f.value.hideSearch?R(``,!0):(N(),P(`div`,sGn,[V(Q9,{document:k(g).workspace.activeDocument,eventBus:k(a),hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey},null,8,[`document`,`eventBus`,`hideModels`,`searchHotKey`]),k(se).agentEnabled.value?(N(),F(k(Vwn),{key:0})):R(``,!0)])),M(e.$slots,`sidebar-start`,qc(Vd(te.value)),void 0,!0)]),footer:A(()=>[M(e.$slots,`sidebar-end`,qc(Vd(te.value)),()=>[V(k(_ut),{class:`darklight-reference`},{toggle:A(()=>[!f.value.hideDarkModeToggle&&!f.value.forceDarkModeState?(N(),F(k(DA),{key:0,modelValue:fe.value===`dark`,"onUpdate:modelValue":t[0]||=()=>k(v)()},null,8,[`modelValue`])):(N(),P(`span`,cGn))]),default:A(()=>[!f.value.hideClientButton&&!me.value?(N(),F(k(iq),{key:0,buttonSource:`sidebar`,integration:f.value._integration,isDevelopment:k(!1),url:oe.value},null,8,[`integration`,`isDevelopment`,`url`])):R(``,!0),me.value?(N(),F(k(ILn),{key:1,config:f.value.mcp,externalUrls:f.value.externalUrls,isDevelopment:k(!1),url:oe.value,workspace:k(g)},null,8,[`config`,`externalUrls`,`isDevelopment`,`url`,`workspace`])):R(``,!0)]),_:1})],!0)]),_:3},8,[`aria-label`,`class`,`isExpanded`,`isSelected`,`items`,`options`])):R(``,!0)]),_:3},8,[`breadcrumb`,`isSidebarOpen`,`showSidebar`])):R(``,!0),I(`main`,{"aria-label":`Open API Documentation for ${k(g).workspace.activeDocument?.info?.title}`,class:`references-rendered`,inert:k(se).showAgent.value},[V(VUn,{authStore:k(_).auth,clientDocument:k(_).workspace.activeDocument,document:k(g).workspace.activeDocument,environment:w.value,eventBus:k(a),expandedItems:k(b).expandedItems.value,headingSlugGenerator:f.value.generateHeadingSlug??(e=>`${l.value}/description/${e.slug}`),infoSectionId:S.value,items:ee.value,options:f.value,xScalarDefaultClient:k(_).workspace[`x-scalar-default-client`]},bd({start:A(()=>[k(g).workspace.activeDocument?(N(),F(k(bWn),{key:0,overrides:d.value,"onUpdate:overrides":t[4]||=e=>d.value=e,class:`references-developer-tools`,configuration:f.value,externalUrls:f.value.externalUrls,workspace:k(g)},null,8,[`overrides`,`configuration`,`externalUrls`,`workspace`])):R(``,!0),I(`div`,{ref_key:`documentStartRef`,ref:de},null,512),f.value.layout===`classic`?(N(),F(HLn,{key:1},{"dark-mode-toggle":A(()=>[!f.value.hideDarkModeToggle&&!f.value.forceDarkModeState?(N(),F(k(TA),{key:0,class:`text-c-2 hover:text-c-1`,mode:fe.value,style:{transform:`scale(1.4)`},variant:`icon`,onClick:t[5]||=()=>k(v)()},null,8,[`mode`])):R(``,!0)]),default:A(()=>[I(`div`,uGn,[u.value.length>1?(N(),F(wWn,{key:0,modelValue:l.value,options:u.value,"onUpdate:modelValue":ae},null,8,[`modelValue`,`options`])):R(``,!0)]),f.value.hideSearch?R(``,!0):(N(),F(Q9,{key:0,class:`t-doc__sidebar max-w-64`,document:k(g).workspace.activeDocument,eventBus:k(a),hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey},null,8,[`document`,`eventBus`,`hideModels`,`searchHotKey`]))]),_:1})):R(``,!0),M(e.$slots,`content-start`,qc(Vd(te.value)),void 0,!0)]),end:A(()=>[M(e.$slots,`content-end`,qc(Vd(te.value)),void 0,!0)]),_:2},[f.value.isEditable?{name:`empty-state`,fn:A(()=>[M(e.$slots,`editor-placeholder`,qc(Vd(te.value)),void 0,!0)]),key:`0`}:void 0]),1032,[`authStore`,`clientDocument`,`document`,`environment`,`eventBus`,`expandedItems`,`headingSlugGenerator`,`infoSectionId`,`items`,`options`,`xScalarDefaultClient`])],8,lGn),e.$slots.footer?(N(),P(`div`,dGn,[M(e.$slots,`footer`,qc(Vd(te.value)),void 0,!0)])):R(``,!0),I(`div`,{ref_key:`modal`,ref:ce},null,512)],2),V(k(eP))]))}}),[[`__scopeId`,`data-v-f2a1208a`]]);Pc(),U();var $9=e=>e.getElementById(`api-reference`);function pGn(e){let t=e.querySelector(`[data-spec]`),n=e.querySelector(`[data-spec-url]`),r=e.querySelector(`#api-reference[data-configuration]`),i=()=>{if(r){let e=r.getAttribute(`data-configuration`);if(e)return{_integration:`html`,...JSON.parse(e.split(`"`).join(`"`))}}return Nc.parse({_integration:`html`})},a=()=>{if(i().url)return i().url;if(i().spec?.url)return i().spec?.url;let t=$9(e);if(t){let e=t.getAttribute(`data-url`)?.trim();if(e)return e}if(n){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=n.getAttribute(`data-spec-url`);if(e)return e}},o=()=>{let n=$9(e);if(n){let e=n.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=$9(e);if(t){let e=t.getAttribute(`data-proxy-url`);if(e)return e.trim()}};if(!(!n&&!t&&!$9(e))){let e=o()?{content:o()}:{url:a()};return Nc.parse({_integration:`html`,proxyUrl:s(),...i(),...e})}return Nc.parse({_integration:`html`})}function mGn(e,t){let n=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 i=hGn(e,n||r);i&&gGn(i,t)}var hGn=(e,t)=>{let n=null,r=$9(e);return r?(n=e.createElement(`div`),r?.parentNode?.insertBefore(n,r)):t&&(n=t),n},gGn=(e,t)=>{let n=$l({configuration:t??e??{}}),r=(e=!1)=>{let t=e?Xde(()=>Yd(fGn,n)):im(()=>Yd(fGn,n));return t.use(afe()),t.config.idPrefix=`scalar-refs`,t},i=t?typeof e==`string`?document.querySelector(e):e:null,a=r(!!t&&!!i&&i.children.length>0);t&&(i?a.mount(i):console.error(`Could not find a mount point for API References:`,e)),document.addEventListener(`scalar:reload-references`,()=>{if(console.warn(`scalar:reload-references event has been deprecated, please use the scalarInstance.app.mount method instead.`),!n.configuration)return;let t=typeof e==`string`?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),a.unmount(),a=r(),a.mount(t))},!1);let o=()=>{n.configuration={},a.unmount()};return document.addEventListener(`scalar:destroy-references`,()=>{console.warn(`scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead.`),o()},!1),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(n,e.detail)},!1),{app:a,getConfiguration:()=>n.configuration??{},updateConfiguration:e=>{n.configuration=e},destroy:o}};console.info(`@scalar/api-reference@1.52.1`),typeof window==`object`&&(window.Scalar={createApiReference:gGn}),mGn(document,pGn(document))}); |