/**
* _____ _________ __ ___ ____
* / ___// ____/ | / / / | / __ \
* \__ \/ / / /| | / / / /| | / /_/ /
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
*
* @scalar/api-reference 1.44.18
*
* Website: https://scalar.com
* GitHub: https://github.com/scalar/scalar
* License: https://github.com/scalar/scalar/blob/main/LICENSE
**/
!function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode('@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-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-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-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-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-duration:initial;--tw-ease:initial}}}@layer scalar-base{@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))}}@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%)}}@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%)}}@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%)}}@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%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@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%)}}@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%)}}@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%)}}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}.dark-mode{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{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{color-scheme:dark!important}@media(max-width:460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media(max-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: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: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: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: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: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: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: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: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: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)}}@layer scalar-theme;.scalar-app .text-wrap{text-wrap:wrap}@media(hover:hover){.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}}@supports (color:color-mix(in lab,red,red)){.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))}}}@supports (color:color-mix(in lab,red,red)){: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))}}}.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 .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 .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 .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 .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>\')}.authenticationProvided[data-v-e3416cd5]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.authenticationRequired[data-v-d15ef40b]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.askForAuthentication[data-v-169d0bc0]{display:flex;flex-direction:column;width:100%;position:relative;border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);margin-bottom:12px;box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1),0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);padding:0}.authContent[data-v-169d0bc0]{display:grid;grid-template-rows:0fr;min-height:0;overflow:hidden;transition:grid-template-rows .2s ease-out;max-width:520px;margin:auto;width:100%}.authContentInner[data-v-169d0bc0]>div{margin:36px 0 48px}.authContent[data-v-169d0bc0] .markdown{margin-bottom:0!important}.askForAuthentication.open .authContent[data-v-169d0bc0]{grid-template-rows:1fr}.continueButton[data-v-169d0bc0]{align-self:flex-end}.toggleButton[data-v-169d0bc0]{background:none;border:none;cursor:pointer;text-align:left;position:relative;display:flex;align-items:center;color:var(--scalar-color-3);justify-content:space-between;border-radius:var(--scalar-radius-lg)}.authContentInner[data-v-169d0bc0]{min-height:0;overflow:hidden}.authorizeButton[data-v-169d0bc0]{background:var(--scalar-color-blue)!important;color:#fff!important;margin:0!important;z-index:1;display:flex;gap:5px}.autosendPaused[data-v-d08225db]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.requestApproved[data-v-bb311586]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-green);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.requestFailed[data-v-bc27e533]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.requestFailedIcon[data-v-bc27e533]{box-shadow:inset 0 0 0 1.5px currentColor;padding:4px;width:16px;height:16px;border-radius:50%}.requestRejected[data-v-9803a54c]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.requestSuccess[data-v-acc2c0d8]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);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]{padding:4px;height:16px;width:16px;z-index:1;display:flex;align-items:center;justify-content:center;position:relative;background:var(--scalar-background-1);border-radius:50%}.playIcon[data-v-65dc6dfb]:before{content:"";width:16px;height:16px;display:inline-block;box-sizing:border-box;position:absolute;border-width:1.75px;border-style:solid;border-color:currentcolor currentcolor transparent;border-image:initial;border-radius:50%;background:var(--scalar-background-1);animation:.42s linear 0s infinite normal none running rotation-65dc6dfb}.sendingRequest[data-v-65dc6dfb]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);position:relative}.sendingRequest svg[data-v-65dc6dfb]{width:100%;height:100%;z-index:1;border-radius:50%}@keyframes rotation-65dc6dfb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestHeaderContainer[data-v-f4245586]{display:flex;align-items:center;justify-content:space-between;padding:0 5px}.requestPreview[data-v-f4245586]{border-radius:12px;display:flex;flex-direction:column;width:100%;position:relative}.requestContent[data-v-f4245586]{display:grid;grid-template-rows:0fr;min-height:0;overflow:hidden;transition:grid-template-rows .2s ease-out}.requestPreview.open .requestContent[data-v-f4245586]{grid-template-rows:1fr}.requestPreview.succeeded[data-v-f4245586]{padding:0}.requestContentInner[data-v-f4245586]{min-height:0;overflow:hidden}.code[data-v-f4245586]{display:flex;flex-direction:column;font-size:var(--scalar-font-size-4);border-radius:12px;background:color-mix(in srgb,var(--scalar-background-2),var(--scalar-background-1));overflow:hidden;margin-bottom:12px}.dark-mode .code[data-v-f4245586]{background:var(--scalar-background-2)}.code h1[data-v-f4245586]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:8px}.code[data-v-f4245586] .codeBlock{max-height:calc(50vh - 100px);padding-top:0}.autosendContainer[data-v-f4245586]{display:flex;justify-content:space-between}.sendButton[data-v-f4245586]{background:var(--scalar-color-blue);color:#fff;font-weight:var(--scalar-semibold);padding:5px 10px}.sendButton[data-v-f4245586]:hover,.sendButton[data-v-f4245586]:active{background:color-mix(in srgb,var(--scalar-color-blue),black 10%);color:#fff!important}.toggleButton[data-v-f4245586]{background:none;border:none;cursor:pointer;text-align:left;position:relative;display:flex;align-items:center;color:var(--scalar-color-3);justify-content:space-between;border-radius:var(--scalar-radius-lg)}.toggleButton[data-v-f4245586]:hover{text-decoration:underline}.executeRequestTool[data-v-49d28052]{display:flex;flex-direction:column;gap:10px;border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);margin-bottom:12px;box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1),0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1)}.tool[data-v-49d28052]{border:var(--scalar-border-width) solid var(--scalar-border-color);padding:15px;border-radius:15px;margin-bottom:20px}.contextItem[data-v-b6e5aa96]{font-size:10px;display:inline-block;color:var(--scalar-color-2);cursor:pointer;vertical-align:middle;border-radius:12px;padding:5px 10px;display:flex;align-items:center;background:color-mix(in srgb,var(--scalar-background-2),var(--scalar-background-1))}.shimmer[data-v-b6e5aa96]{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:shimmer-b6e5aa96 1.4s ease-in-out infinite}.light-mode .shimmer[data-v-b6e5aa96]{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:shimmer-b6e5aa96 1.4s ease-in-out infinite}@keyframes shimmer-b6e5aa96{0%{background-position:200% 0}to{background-position:-200% 0}}.playIcon[data-v-653c66b3]{padding:4px;height:16px;width:16px;z-index:1;display:flex;align-items:center;justify-content:center;position:relative;background:var(--scalar-background-1);border-radius:50%}.playIcon[data-v-653c66b3]:before{content:"";width:16px;height:16px;display:inline-block;box-sizing:border-box;position:absolute;border-width:1.5px;border-style:solid;border-color:currentcolor currentcolor transparent;border-image:initial;border-radius:50%;background:var(--scalar-background-1);animation:.42s linear 0s infinite normal none running rotation-653c66b3}.sendingRequest[data-v-653c66b3]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);margin-bottom:10px}.sendingRequest svg[data-v-653c66b3]{width:100%;height:100%;z-index:1;border-radius:50%}@keyframes rotation-653c66b3{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.operations[data-v-ecee6203]{display:flex;gap:5px;align-items:center;margin-bottom:12px}.operations[data-v-ecee6203]:empty{margin-bottom:-12px}.playIcon[data-v-9d9724d2]{padding:4px;height:16px;width:16px;z-index:1;display:flex;align-items:center;justify-content:center;position:relative;background:var(--scalar-background-1);border-radius:50%}.playIcon[data-v-9d9724d2]:before{content:"";width:16px;height:16px;display:inline-block;box-sizing:border-box;position:absolute;border-width:1.5px;border-style:solid;border-color:currentcolor currentcolor transparent;border-image:initial;border-radius:50%;background:var(--scalar-background-1);animation:.42s linear 0s infinite normal none running rotation-9d9724d2}.loadingApiSpecs[data-v-9d9724d2]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);margin-bottom:10px}.loadingApiSpecs svg[data-v-9d9724d2]{width:100%;height:100%;z-index:1;border-radius:50%}@keyframes rotation-9d9724d2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.catalogModal .scalar-modal-body{display:flex;flex-direction:column}.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]{display:grid;grid-template-columns:1fr 1fr;gap:10px;overflow-y:scroll;font-size:var(--scalar-font-size-3)}.item[data-v-bc24f891]{display:flex;padding:15px;gap:10px;align-items:center;background-color:var(--scalar-background-2);border-radius:var(--scalar-radius-lg);transition:background-color .16s ease}.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]{display:flex;flex-direction:column}.logo[data-v-bc24f891]{width:25px}.item-top[data-v-bc24f891]{display:flex;gap:10px}.version[data-v-bc24f891]{background:var(--scalar-background-3);padding:2px 5px;border-radius:var(--scalar-radius);font-size:var(--scalar-font-size-5);color:var(--scalar-color-3)}.description[data-v-bc24f891]{color:var(--scalar-color-2)}.dropdown-item[data-v-2d142bb5]{display:flex;align-items:center;gap:10px}.approvalSection[data-v-a7e6c699]{width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 95%);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:space-between;position:absolute;top:0;transform:translate3d(0,calc(-100% + 16px),0)}.approvalText[data-v-a7e6c699]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.approveContainer[data-v-a7e6c699]{display:flex;gap:5px}.actionButton[data-v-a7e6c699]{display:flex;align-items:center;font-weight:var(--scalar-semibold);border-radius:50px;padding:6px 12px;font-size:var(--scalar-font-size-3)}.rejectButton[data-v-a7e6c699]{color:#fff;background:var(--scalar-color-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%);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:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 10%);color:#fff!important}.error[data-v-63a481da]{display:flex;align-items:center;margin-bottom:-16px;padding:8px 8px 24px 12px;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;background:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1) 95%);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);position:absolute;top:0;transform:translate3d(0,calc(-100% + 16px),0)}.freeMessagesInfoSection[data-v-593b8dcb]{width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative;background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 95%);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:space-between}.infoText[data-v-593b8dcb]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.actionsContainer[data-v-593b8dcb]{display:flex;align-items:center;gap:8px}.actionButton[data-v-593b8dcb]{display:flex;align-items:center;font-weight:var(--scalar-semibold);border-radius:50px;padding:6px 12px}.upgradeButton[data-v-593b8dcb]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.upgradeButton[data-v-593b8dcb]:hover,.upgradeButton[data-v-593b8dcb]:active{background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 10%);color:#fff!important}.closeButton[data-v-593b8dcb]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;color:var(--scalar-color-2);background:transparent;border:none;cursor:pointer}.closeButton[data-v-593b8dcb]:hover{background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 80%);color:var(--scalar-color-1)}.paymentSection[data-v-59a0be07]{width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative;background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 95%);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:space-between;position:absolute;top:0;transform:translate3d(0,calc(-100% + 16px),0)}.approvalText[data-v-59a0be07]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.paymentContainer[data-v-59a0be07]{display:flex;gap:5px}.actionButton[data-v-59a0be07]{display:flex;align-items:center;font-weight:var(--scalar-semibold);border-radius:50px;padding:6px 12px}.rejectButton[data-v-59a0be07]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-59a0be07]:hover,.rejectButton[data-v-59a0be07]:active{background:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1) 10%);color:#fff!important}.approveButton[data-v-59a0be07]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.approveButton[data-v-59a0be07]:hover,.approveButton[data-v-59a0be07]:active{background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 10%);color:#fff!important}.paymentInfo[data-v-59a0be07]{width:300px;position:absolute;right:0;bottom:70px;box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1);border-radius:16px;pointer-events:none;padding:12px;transform:translate3d(0,-5px,0);opacity:0;transition:all .2s ease-in-out}.paymentInfo h3[data-v-59a0be07]{font-size:var(--scalar-font-size-1);font-weight:var(--scalar-bold);margin-bottom:18px}.paymentInfo h3 span[data-v-59a0be07]{font-size:var(--scalar-font-size-2)}.dark-mode .paymentInfo[data-v-59a0be07]{background:var(--scalar-background-2)}.paymentContainer:hover .paymentInfo[data-v-59a0be07]{transform:translateZ(0);opacity:1}.paymentInfoItem[data-v-59a0be07]{display:flex;justify-content:space-between;margin-top:8px;font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.paymentInfoSection[data-v-59a0be07]:not(:last-child){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding-bottom:8px}.searchItem[data-v-7945f74c]{display:flex;align-items:center;gap:9px;padding:8px 10px;font-size:var(--scalar-font-size-3)}.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-805bc88b]{width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative;background:color-mix(in srgb,var(--scalar-color-blue),var(--scalar-background-1) 95%);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:space-between;position:absolute;top:0;transform:translate3d(0,calc(-100% + 16px),0)}.uploadSection.error[data-v-805bc88b]{background:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1) 95%)}.uploadSection.done[data-v-805bc88b]{background:color-mix(in srgb,var(--scalar-color-green),var(--scalar-background-1) 95%)}.uploadText[data-v-805bc88b]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.icon[data-v-805bc88b]{height:20px;width:20px}.actionContainer[data-v-fe2a6215]{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:16px;width:100%;position:relative;box-shadow:0 24px 0 2px var(--scalar-background-1)}.promptForm[data-v-fe2a6215]{width:100%;position:relative;display:flex;flex-direction:column;background:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1),0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:16px}.inputActionsContainer[data-v-fe2a6215]{display:flex;justify-content:space-between;padding:0 8px 8px}.inputActionsLeft[data-v-fe2a6215]{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.inputActionsRight[data-v-fe2a6215]{display:flex;gap:5px;position:relative}.apiPill[data-v-fe2a6215]{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);height:28px;align-items:center;display:flex;border-radius:16px;padding:0 8px;pointer-events:all;z-index:1;gap:4px;-webkit-user-select:none;user-select:none}.apiPillLogo[data-v-fe2a6215]{width:15px}.apiPillRemove[data-v-fe2a6215]{width:24px;height:24px;margin-right:-6px;border-radius:50%;display:flex;align-items:center;justify-content:center}.apiPill:hover .apiPillRemove[data-v-fe2a6215]{background:var(--scalar-background-2)}.dark-mode .apiPill:hover .apiPillRemove[data-v-fe2a6215]{background:var(--scalar-background-3)}.apiPillRemove[data-v-fe2a6215]:hover{color:var(--scalar-color-1)}.prompt[data-v-fe2a6215]{width:100%;outline:none;border:none;resize:none;field-sizing:content;min-height:64px;z-index:1;max-height:250px;max-width:100%;overflow-y:auto;scrollbar-width:thin;word-wrap:break-word;font-family:var(--scalar-font);font-size:16px;padding:12px 12px 14px}.dark-mode .promptForm[data-v-fe2a6215]{background:var(--scalar-background-2)}.prompt[data-v-fe2a6215]:disabled{color:var(--scalar-color-3)}.addAPIButton[data-v-fe2a6215]{justify-content:center;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);height:28px;width:28px;font-weight:var(--scalar-bold);border-radius:100%;display:flex;align-items:center;gap:4px;pointer-events:all;z-index:1;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.addAPIButton[data-v-fe2a6215]:hover{background:color-mix(in srgb,var(--scalar-background-2),var(--scalar-background-1));box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.dark-mode .addAPIButton[data-v-fe2a6215]:hover{background:var(--scalar-background-3)}.settingsButton[data-v-fe2a6215]{color:var(--scalar-color-3)!important;border-radius:50%!important;margin:0!important;z-index:1}.settingsButton[aria-disabled=true][data-v-fe2a6215]{background:var(--scalar-background-2)}.dark-mode .settingsButton[data-v-fe2a6215]:hover{background:var(--scalar-background-3)}.sendButton[data-v-fe2a6215]{background:var(--scalar-color-blue)!important;border-radius:50%!important;margin:0!important;z-index:1;border:var(--scalar-border-width) solid var(--scalar-color-blue)}.sendButton[data-v-fe2a6215]:not([aria-disabled=true]){color:#fff!important}.sendButton[data-v-fe2a6215]:not([aria-disabled=true]):hover{background:color-mix(in srgb,var(--scalar-color-blue),transparent 10%)!important}.sendButton[aria-disabled=true][data-v-fe2a6215]{background:var(--scalar-background-2)!important;color:var(--scalar-color-3)!important;border:var(--scalar-border-width) solid var(--scalar-border-color)}.dark-mode .sendButton[aria-disabled=true][data-v-fe2a6215]{background:var(--scalar-background-3)!important}.contextContainer[data-v-fe2a6215]{display:flex;width:100%;padding:10px 12px 12px;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);-webkit-user-select:none;user-select:none;justify-content:space-between}.settingsButton[data-v-fe2a6215]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-lg);padding:4px 6px;margin:-4px -6px}.settingsButton[data-v-fe2a6215]:hover{background:var(--scalar-background-2);box-shadow:0 0 var(--scalar-border-width) 0 var(--scalar-border-color);cursor:pointer}.agentLabel[data-v-fe2a6215]{font-size:0px;position:absolute;width:100%;height:100%;cursor:text}.sendCheckboxContinue[data-v-fe2a6215]:has(input){display:flex;align-items:center;border-radius:14px;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;height:28px}.dark-mode .sendCheckboxContinue[data-v-fe2a6215]:has(input){background:var(--scalar-background-3);box-shadow:0 0 0 1.5px var(--scalar-background-3)}.addMoreContext[data-v-fe2a6215]{height:40px;display:flex;position:relative;font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:0 8px 0 12px;align-items:center}.addMoreContext[data-v-fe2a6215]:before{content:"";width:8px;height:8px;background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2));transform:rotate(45deg);left:18px;top:-3px;position:absolute;box-shadow:-.5px -.5px 0 var(--scalar-border-color),inset .5px .5px 1px var(--scalar-border-color)}.dark-mode .addMoreContext[data-v-fe2a6215]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color)}.addAPIContext[data-v-fe2a6215]{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:var(--scalar-border-width) solid var(--scalar-border-color)}.termsAgree[data-v-fe2a6215]{display:flex;cursor:pointer;height:inherit;align-items:center;border-radius:14px;gap:5px;margin:0 5px}.termsAgree[data-v-fe2a6215]:hover{color:var(--scalar-color-1)}.termsAgree:hover .termsAgreeIcon[data-v-fe2a6215]{background:var(--scalar-color-1);color:var(--scalar-background-1)}.termsAgreeIcon[data-v-fe2a6215]{width:inherit;height:inherit;padding:2px;border-radius:50%;background:var(--scalar-background-2)}.chat[data-v-41e50a16]{flex:1;display:flex;flex-direction:column;width:100%;padding:24px 0;max-width:744px}.userMessage[data-v-41e50a16]{padding-top:6px;padding-bottom:6px;padding-inline:16px;border-radius:18px;background:var(--scalar-background-2);width:fit-content;max-width:80%;margin-left:auto;font-size:16px;line-height:24px;color:var(--scalar-color-1);margin-bottom:12px}div+.userMessage[data-v-41e50a16]{margin-top:64px}.chat[data-v-41e50a16]>div:has(.executeRequestTool)+div:has(.executeRequestTool){margin-top:-12px}.spacer[data-v-41e50a16]{min-height:280px;width:100%}.formContainer[data-v-41e50a16]{position:sticky;bottom:20px;width:100%;max-width:744px;z-index:1}.chat[data-v-41e50a16] .markdown{margin-bottom:12px}.agentLogo[data-v-1fbb0eb5]{margin-bottom:15px}.startContainer[data-v-1fbb0eb5]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;max-width:720px;position:relative}.heading[data-v-1fbb0eb5]{font-size:1.5rem;font-weight:var(--scalar-font-bold);margin-bottom:50px}.suggestionsContainer[data-v-1fbb0eb5]{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:25px 0}.disclaimerText[data-v-1fbb0eb5]{text-align:center;color:var(--scalar-color-3);font-size:var(--scalar-font-size-3);text-wrap:balance;line-height:1.44;margin-top:40px}.disclaimerLink[data-v-1fbb0eb5]{text-decoration:underline}.wrapper[data-v-f1eee0af]{display:flex;flex-direction:column;align-items:center;height:100%;width:100%}.docSettings[data-v-2dfa823a]{display:flex;flex-direction:column;gap:12px;margin-bottom:12px;font-size:var(--scalar-font-size-3);max-height:600px}.documentName[data-v-2dfa823a]{font-weight:var(--scalar-semibold)}.settingsModal .scalar-modal-layout{z-index:10!important}.settingsModal .scalar-modal-body{overflow-y:scroll;overflow-x:hidden}.documentList[data-v-745651bc]{display:flex;flex-direction:column;font-size:var(--scalar-font-size-3);margin-bottom:12px}.document[data-v-745651bc]{display:flex;flex-direction:column;width:calc(100% + 24px);left:-12px;position:relative;padding:0 12px;border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.document[data-v-745651bc]:first-of-type:not(:last-of-type){border-bottom:none}.documentName[data-v-745651bc]{gap:4px;display:flex;align-items:center;font-weight:var(--scalar-semibold);color:var(--scalar-color-2);padding:12px 0}.documentNameActive[data-v-745651bc]{color:var(--scalar-color-1)}.settingsHeading[data-v-745651bc]{font-size:19px;margin-bottom:12px;display:flex;gap:5px;align-items:center;font-weight:var(--scalar-semibold)}.proxyUrlContainer[data-v-745651bc]{font-size:var(--scalar-font-size-3);display:flex;gap:5px;flex-direction:column}.proxyUrlContainer label[data-v-745651bc]{font-weight:var(--scalar-semibold)}.noDocuments[data-v-745651bc]{color:var(--scalar-color-2);margin-bottom:10px}.agent-scalar[data-v-b45a83b1]{position:fixed;top:0;left:0;width:calc(100% - 50px);height:100dvh;background:var(--scalar-background-1);border-right:var(--scalar-border-width) solid var(--scalar-border-color);transform:translate3d(calc(-100% + var(--scalar-sidebar-width, 288px)),0,0);z-index:2;animation:.35s forwards scalaragentslidein-b45a83b1;box-shadow:var(--scalar-shadow-2)}.agent-scalar-container[data-v-b45a83b1]{width:calc(100% - var(--scalar-sidebar-width, 288px));height:100%;margin-left:auto;overflow:auto;padding:0 24px}.scalar-app-exit[data-v-b45a83b1]{cursor:pointer;z-index:2;width:100vw;height:100vh;transition:all .3s ease-in-out;position:fixed;top:0;left:0}@media(max-width:1000px){.agent-scalar-container[data-v-b45a83b1]{width:100%}.agent-scalar[data-v-b45a83b1]{width:100%;height:calc(100dvh - 50px);bottom:0;top:initial;border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;z-index:12}.scalar-app-exit[data-v-b45a83b1]{z-index:11}}.scalar-app-exit-animation[data-v-b45a83b1]:before{content:"";position:absolute;width:100%;height:100%;background:#00000038;animation:.5s forwards scalardrawerexitfadein-b45a83b1;animation-timing-function:cubic-bezier(.77,0,.175,1)}.dark-mode .scalar .scalar-app-exit-animation[data-v-b45a83b1]:before{background:#00000073}@keyframes scalaragentslidein-b45a83b1{0%{transform:translate3d(calc(-100% + var(--scalar-sidebar-width, 288px)),0,0)}to{transform:translateZ(0)}}@keyframes scalardrawerexitfadein-b45a83b1{0%{opacity:0}to{opacity:1}}.app-exit-button[data-v-b45a83b1]{color:#fff;background:#0000001a}.app-exit-button[data-v-b45a83b1]:hover{background:#ffffff1a}.references-classic-header[data-v-9198d025]{display:flex;align-items:center;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-content[data-v-9198d025]{display:flex;gap:12px;flex-grow:1}.references-classic-header-container[data-v-9198d025]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-9198d025]{padding:12px 24px}.references-classic-header-container[data-v-9198d025]{padding:0}}.references-classic-header-icon[data-v-9198d025]{height:24px;color:var(--scalar-color-1)}.client-libraries-content[data-v-6a49c111]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:0 12px;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)}.client-libraries[data-v-6a49c111]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:8px 2px;gap:6px;color:var(--scalar-color-3);border-bottom:1px solid transparent;-webkit-user-select:none;user-select:none}.client-libraries[data-v-6a49c111]:not(.client-libraries__active):hover:before{content:"";position:absolute;width:calc(100% - 4px);height:calc(100% - 4px);background:var(--scalar-background-2);left:2px;top:2px;z-index:0;border-radius:var(--scalar-radius)}.client-libraries[data-v-6a49c111]:active{color:var(--scalar-color-1)}.client-libraries[data-v-6a49c111]:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}@media screen and (max-width:450px){.client-libraries[data-v-6a49c111]:nth-of-type(4),.client-libraries[data-v-6a49c111]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-6a49c111]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-6a49c111]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-6a49c111]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-6a49c111]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-6a49c111]{width:100%}.client-libraries span[data-v-6a49c111]{display:none}}.client-libraries__active[data-v-6a49c111]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-6a49c111{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-6a49c111]{font-size:var(--scalar-small);position:relative;display:flex;align-items:center}.client-libraries__active .client-libraries-text[data-v-6a49c111]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (max-width:600px){.references-classic .client-libraries[data-v-6a49c111]{flex-direction:column}}.selected-client[data-v-d7c4ccd7]{color:var(--scalar-color-1);font-size:var(--scalar-small);font-family:var(--scalar-font-code);padding:9px 12px;border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);min-height:fit-content}.client-libraries-heading[data-v-d7c4ccd7]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);padding:9px 12px;background-color:var(--scalar-background-2);display:flex;align-items:center;max-height:32px;border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}[data-v-d7c4ccd7] .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));padding:2px 6px;border-radius:12px;display:inline-block}.badge.text-orange[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-orange),transparent 90%);border:transparent}.badge.text-yellow[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-yellow),transparent 90%);border:transparent}.badge.text-red[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%);border:transparent}.badge.text-purple[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-purple),transparent 90%);border:transparent}.badge.text-green[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-green),transparent 90%);border:transparent}@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-59b5011b],[data-v-59b5011b]:before,[data-v-59b5011b]:after,[data-v-59b5011b]::backdrop{--tw-outline-style:solid}}}.download-container[data-v-59b5011b]{z-index:1;flex-direction:column;gap:16px;width:fit-content;margin:0 .5px 8px;display:flex;position:relative}.download-container[data-v-59b5011b]:has(:focus-visible):before,.download-container.download-both[data-v-59b5011b]: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-button[data-v-59b5011b]{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-59b5011b]: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-59b5011b]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-59b5011b]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width)solid var(--scalar-border-color)}.download-button[data-v-59b5011b]: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-59b5011b]{--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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-button span[data-v-59b5011b]{-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-59b5011b]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-59b5011b]{-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);text-decoration:var(--scalar-text-decoration-hover)}.download-button[data-v-59b5011b]: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:has(:focus-visible) .download-button[data-v-59b5011b]:nth-of-type(2),.download-container:hover .download-button[data-v-59b5011b]: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-59b5011b]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:has(:focus-visible) .extension[data-v-59b5011b],.download-container:hover .extension[data-v-59b5011b]{opacity:1}.download-link[data-v-59b5011b]{--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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-link[data-v-59b5011b]{-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-59b5011b]:hover{--font-color:var(--scalar-link-color,var(--scalar-color-accent));-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}.introduction-card[data-v-5764c94a]{display:flex;flex-direction:column;gap:12px}.introduction-card-row[data-v-5764c94a]{gap:24px}@media(min-width:600px){.introduction-card-row[data-v-5764c94a]{flex-flow:row wrap}}.introduction-card-row[data-v-5764c94a]>*{flex:1}@media(min-width:600px){.introduction-card-row[data-v-5764c94a]>*{min-width:min-content}}@media(max-width:600px){.introduction-card-row[data-v-5764c94a]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-5764c94a]{flex-direction:column;align-items:stretch;gap:0px}}.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]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-viewport-offset)}.section[data-v-be4443e9]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-be4443e9]{padding:48px 0;gap:24px}@container narrow-references-container (max-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);padding-top:12px;margin-top:-12px}.section-accordion[data-v-ff689b94]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2);scroll-margin-top:var(--refs-viewport-offset)}.section-accordion-transparent[data-v-ff689b94]{background:transparent;border:var(--scalar-border-width) solid var(--scalar-border-color)}.section-accordion-button[data-v-ff689b94]{padding:6px}.section-accordion-button[data-v-ff689b94]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-ff689b94]{flex:1;min-width:0}.section-accordion-button-actions[data-v-ff689b94]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-ff689b94]{margin-right:4px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.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);display:flex;flex-direction:column}.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 (max-width: 900px){.section-column[data-v-699c28e3]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-20a1472a]{position:relative;padding:0 60px;width:100%;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-20a1472a]:has(.introduction-section){border-top:none}@container narrow-references-container (max-width: 900px){.section-container[data-v-20a1472a]{padding:0}}.section-accordion-wrapper[data-v-9419dd23]{padding:0 60px}.section-accordion[data-v-9419dd23]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-9419dd23]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-9419dd23]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-9419dd23]{position:absolute;left:-22px;top:12px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-1)}.section-accordion-title[data-v-9419dd23]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.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 (max-width: 900px){.section-accordion-chevron[data-v-9419dd23]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-9419dd23]{padding:calc(var(--refs-viewport-offset)) 24px 0 24px}}.loading[data-v-8e0226d7]{background:var(--scalar-background-3);animation:loading-skeleton-8e0226d7 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-8e0226d7]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-8e0226d7]:last-of-type{width:60%}.loading.single-line[data-v-8e0226d7]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-8e0226d7{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-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(min-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]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.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]{display:flex;align-items:center;cursor:pointer;padding:10px 0;font-size:var(--scalar-font-size-3);z-index:1;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]{padding:0;margin:0 0 10px;scroll-margin-top:140px}.references-classic .introduction-description[data-v-fe80002d] img{max-width:720px}.icons-only[data-v-b59b0acf] span{display:none}.sticky-cards[data-v-0b1e2255]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-viewport-offset) + 24px)}.introduction-card-item[data-v-dfab866f]{display:flex;flex-direction:column;justify-content:flex-start}.introduction-card-item[data-v-dfab866f]:empty{display:none}.introduction-card-item[data-v-dfab866f]:has(.description) .server-form-container{border-bottom-left-radius:0;border-bottom-right-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);line-height:1.5;overflow-wrap:break-word;display:flex;align-items:stretch;position:relative;--decorator-width: 1px;--decorator-color: color-mix( in srgb, var(--scalar-background-1), var(--scalar-color-1) 25% )}.property-enum-value-content[data-v-f4b54bdd]{display:flex;flex-direction:column;padding:3px 0}.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:"";margin-right:12px;width:var(--decorator-width);display:block;background-color:var(--decorator-color)}.property-enum-value[data-v-f4b54bdd]:last-of-type:before,.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:"";position:absolute;top:.5lh;left:-12px;width:8px;height:var(--decorator-width);background-color:var(--decorator-color)}.property-enum-value[data-v-f4b54bdd]:last-of-type:after{bottom:0;height:50%;background:var(--scalar-background-1);border-top:var(--scalar-border-width) solid var(--decorator-color)}.property-enum-value-description[data-v-f4b54bdd]{color:var(--scalar-color-3)}.property-heading:empty+.property-description[data-v-d5367294]:last-of-type,.property-description[data-v-d5367294]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-d5367294]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-d5367294]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-d5367294]{font-size:var(--scalar-font-size-3);list-style:none;margin-top:8px;padding-left:2px}.enum-toggle-button[data-v-d5367294]:hover{color:var(--scalar-color-1)}.property-detail[data-v-1295f965]{display:inline-flex}.property-detail+.property-detail[data-v-1295f965]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-1295f965]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-1295f965]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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));padding:0 4px;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example[data-v-72def0ea]{display:flex;flex-direction:column;font-size:var(--scalar-mini);position:relative}.property-example[data-v-72def0ea]:hover:before{content:"";position:absolute;top:0;left:0;width:100%;height:20px;border-radius:var(--scalar-radius)}.property-example:hover .property-example-label span[data-v-72def0ea]{color:var(--scalar-color-1)}.property-example-label span[data-v-72def0ea]{color:var(--scalar-color-3);position:relative;border-bottom:var(--scalar-border-width) dotted currentColor}.property-example-value[data-v-72def0ea]{font-family:var(--scalar-font-code);display:flex;gap:8px;align-items:center;width:100%;padding:6px}.property-example-value span[data-v-72def0ea]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-example-value[data-v-72def0ea] svg{color:var(--scalar-color-3)}.property-example-value[data-v-72def0ea]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-72def0ea]{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-72def0ea]{position:absolute;top:18px;left:50%;transform:translate3d(-50%,0,0);overflow:auto;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);padding:9px;min-width:200px;max-width:300px;flex-direction:column;gap:3px;display:none;z-index:2}.property-example:hover .property-example-value-list[data-v-72def0ea],.property-example:focus-within .property-example-value-list[data-v-72def0ea]{display:flex}.property-heading[data-v-f1f4255a]{display:flex;flex-wrap:wrap;align-items:baseline;row-gap:9px;white-space:nowrap}.property-heading[data-v-f1f4255a]:has(+.children),.property-heading[data-v-f1f4255a]:has(+.property-rule){margin-bottom:9px}.property-heading[data-v-f1f4255a]>*{margin-right:9px}.property-heading[data-v-f1f4255a]:last-child{margin-right:0}.property-heading>.property-detail[data-v-f1f4255a]:not(:last-of-type){margin-right:0}.property-name[data-v-f1f4255a]{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-f1f4255a]{font-family:var(--scalar-font-code)}.property-required[data-v-f1f4255a],.property-optional[data-v-f1f4255a]{color:var(--scalar-color-2)}.property-required[data-v-f1f4255a]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-f1f4255a]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-f1f4255a]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-f1f4255a]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-f1f4255a]{font-size:var(--scalar-mini);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-f1f4255a]{color:var(--scalar-color-1)}.deprecated[data-v-f1f4255a]{text-decoration:line-through}.property[data-v-84242873]{color:var(--scalar-color-1);display:flex;flex-direction:column;padding:10px;font-size:var(--scalar-small);position:relative}.property.property--level-0[data-v-84242873]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property--compact.property--level-0[data-v-84242873],.property--compact.property--level-1[data-v-84242873]{padding:10px 0}.composition-panel .property.property.property.property--level-0[data-v-84242873]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-84242873]{padding:8px}.property[data-v-84242873]:has(>.property-rule:nth-of-type(1)):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-84242873]{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-84242873]>*{opacity:.75}.property-description[data-v-84242873]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}.property-description[data-v-84242873]:has(+.property-rule){margin-bottom:9px}[data-v-84242873] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-84242873]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-84242873],.children+.property-rule[data-v-84242873]{margin-top:9px}.children[data-v-84242873]{display:flex;flex-direction:column}.children .property--compact.property--level-1[data-v-84242873]{padding:12px}.property-example-value[data-v-84242873]{all:unset;font-family:var(--scalar-font-code);padding:6px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-84242873]{border-radius:var(--scalar-radius-lg);display:flex;flex-direction:column}.property-rule[data-v-84242873] .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-84242873] .composition-panel>.schema-card>.schema-card-description{padding:10px;border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-84242873] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-84242873]{background:transparent;border:none;display:flex;flex-direction:row;gap:8px}.property-example-label[data-v-84242873],.property-example-value[data-v-84242873]{padding:3px 0 0}.property-example-value[data-v-84242873]{background:var(--scalar-background-2);border-top:0;border-radius:var(--scalar-radius);padding:3px 4px}.property-name[data-v-84242873]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-84242873]:before,.property-name-pattern-properties[data-v-84242873]:before{text-transform:uppercase;font-size:var(--scalar-micro);display:inline-block;padding:2px 4px;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}.property-name-pattern-properties[data-v-84242873]:before{content:"regex"}.property-name-additional-properties[data-v-84242873]:before{content:"unknown property name"}.error[data-v-d9bd8110]{background-color:var(--scalar-color-red)}.schema-card[data-v-d9bd8110]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-d9bd8110]{height:var(--schema-title-height);padding:6px 8px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);border-bottom:var(--scalar-border-width) solid transparent}button.schema-card-title[data-v-d9bd8110]{cursor:pointer}button.schema-card-title[data-v-d9bd8110]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-d9bd8110]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-d9bd8110]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-d9bd8110]{width:fit-content}.schema-card-description[data-v-d9bd8110]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-d9bd8110]{width:fit-content}.schema-card-description+.schema-properties[data-v-d9bd8110]{margin-top:8px}.schema-card--level-0:nth-of-type(1)>.schema-card-description[data-v-d9bd8110]:has(+.schema-properties){margin-bottom:-8px;padding-bottom:8px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.schema-card--level-0~.schema-card--level-0>.schema-card-description[data-v-d9bd8110]:has(+.schema-properties){padding-top:8px}.schema-properties-open.schema-properties[data-v-d9bd8110],.schema-properties-open>.schema-card--open[data-v-d9bd8110]{width:100%}.schema-properties[data-v-d9bd8110]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);width:fit-content}.schema-properties-name[data-v-d9bd8110]{width:100%}.schema-properties .schema-properties[data-v-d9bd8110]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-d9bd8110]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-d9bd8110]{width:100%}.schema-card--compact[data-v-d9bd8110]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-d9bd8110]{align-self:initial}.schema-card-title--compact[data-v-d9bd8110]{color:var(--scalar-color-2);padding:6px 10px 6px 8px;height:auto;border-bottom:none}.schema-card-title--compact>.schema-card-title-icon[data-v-d9bd8110]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-d9bd8110]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-d9bd8110]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-d9bd8110]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-d9bd8110]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-d9bd8110]{border:none}[data-v-d9bd8110] .schema-card-description p{font-size:var(--scalar-small, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.children .schema-card-description[data-v-d9bd8110]:first-of-type{padding-top:0}.reference-models-anchor[data-v-e4ca3c0f]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-e4ca3c0f]{display:block;font-size:var(--scalar-mini)}.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);margin:auto;padding:8px 12px 8px 16px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative;gap:6px;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 (max-width: 900px){.show-more[data-v-d1c2b649]{top:-24px}}.tag-section[data-v-1124be5d]{margin-bottom:48px}.tag-name[data-v-1124be5d]{text-transform:capitalize}.tag-description[data-v-1124be5d]{padding-bottom:4px;text-align:left}.endpoint[data-v-ad8530a6]{display:flex;white-space:nowrap;cursor:pointer;text-decoration:none}.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;display:inline-flex;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.endpoint-method[data-v-ad8530a6]{text-align:right}.endpoint-path[data-v-ad8530a6]{margin-left:12px;text-transform:initial}.deprecated[data-v-ad8530a6]{text-decoration:line-through}.endpoints-card[data-v-f726f753]{position:sticky;top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3)}.endpoints[data-v-f726f753]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px;width:100%}.section-container[data-v-0d42fbc8]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-0d42fbc8]:has(.show-more){background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}.operation-path[data-v-ec6c8861]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold);line-break:anywhere}.deprecated[data-v-ec6c8861]{text-decoration:line-through}.empty-state[data-v-431974da]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-mini);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-431974da]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-431974da]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-431974da]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-431974da]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-431974da]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.tab[data-v-c8207e48]{background:none;border:none;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;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:22px}.tab[data-v-c8207e48]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-c8207e48]:hover:before,.tab[data-v-c8207e48]:focus-visible:before{opacity:1}.tab[data-v-c8207e48]:focus-visible:before{outline:1px solid var(--scalar-color-accent)}.tab span[data-v-c8207e48]{z-index:1;position:relative}.tab-selected[data-v-c8207e48]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.tab-selected[data-v-c8207e48]:after{content:"";position:absolute;background:currentColor;width:100%;left:0;height:1px;bottom:calc(var(--tab-list-padding-y) * -1)}.tab-list[data-v-fec8fbbb]{display:flex;gap:6px;position:relative;flex:1;--tab-list-padding-y: 7px;--tab-list-padding-x: 12px;padding:var(--tab-list-padding-y) var(--tab-list-padding-x);overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-fec8fbbb]{padding:0}.response-card[data-v-49cbbee3]{font-size:var(--scalar-font-size-3)}.markdown[data-v-49cbbee3] *{margin:0}.code-copy[data-v-49cbbee3]{display:flex;align-items:center;justify-content:center;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-49cbbee3]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-49cbbee3]{width:13px;height:13px}.response-card-footer[data-v-49cbbee3]{display:flex;flex-direction:row;justify-content:space-between;flex-shrink:0;padding:7px 12px;gap:8px}.response-example-selector[data-v-49cbbee3]{align-self:flex-start;margin:-4px}.response-description[data-v-49cbbee3]{font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-49cbbee3]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-49cbbee3]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-49cbbee3]{display:block;margin:6px}.scalar-card-checkbox[data-v-49cbbee3]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:var(--scalar-small);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;gap:6px;padding:7px 6px}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-49cbbee3]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-49cbbee3]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-49cbbee3]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-49cbbee3]{height:16px;width:16px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.scalar-card-checkbox[data-v-49cbbee3]: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-49cbbee3]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-49cbbee3]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-49cbbee3]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-49cbbee3]:after{right:11.5px;top:12.5px;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.headers-card[data-v-ab19704d]{z-index:0;margin-top:12px;margin-bottom:6px;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1);align-self:flex-start}.headers-card.headers-card--open[data-v-ab19704d]{align-self:initial}.headers-card-title[data-v-ab19704d]{padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-radius:13.5px}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]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;width:fit-content}.headers-properties-open>.headers-card-title[data-v-ab19704d]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.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-b97d19d9]{display:flex;flex-direction:column;position:relative;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-b97d19d9]{padding-bottom:0}.parameter-item-container[data-v-b97d19d9]{padding:0}.parameter-item-headers[data-v-b97d19d9]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-b97d19d9]{position:relative;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}.parameter-item-description[data-v-b97d19d9],.parameter-item-description-summary[data-v-b97d19d9]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-b97d19d9]>*{--markdown-line-height: 1}.parameter-item-trigger+.parameter-item-container[data-v-b97d19d9] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-b97d19d9]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-b97d19d9]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-b97d19d9]{margin-top:6px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-b97d19d9] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-b97d19d9]{padding-bottom:9px;margin-top:3px}.parameter-item-trigger[data-v-b97d19d9]{display:flex;align-items:baseline;line-height:var(--scalar-line-height-5);gap:6px;flex-wrap:wrap;padding:10px 0;outline:none}.parameter-item-trigger-open[data-v-b97d19d9]{padding-bottom:0}.parameter-item-icon[data-v-b97d19d9]{color:var(--scalar-color-3);left:-19px;top:.5lh;translate:0 -50%;position:absolute}.parameter-item-trigger:hover .parameter-item-icon[data-v-b97d19d9],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-b97d19d9]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-b97d19d9]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.request-body[data-v-17941e59]{margin-top:24px}.request-body-header[data-v-17941e59]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap}.request-body-title[data-v-17941e59]{display:flex;align-items:center;gap:8px;font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.request-body-required[data-v-17941e59]{font-size:var(--scalar-micro);color:var(--scalar-color-orange);font-weight:400;border-radius:16px;border:var(--scalar-border-width) solid var(--scalar-border-color);padding:2px 8px;height:20px}.request-body-description[data-v-17941e59]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-header+.request-body-schema[data-v-17941e59]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-17941e59]:has(>.schema-card>.schema-properties>*>.property--level-0){padding-top:8px}.request-body-description[data-v-17941e59] .markdown *{color:var(--scalar-color-2)!important}.callback-sticky-offset[data-v-b94c2b8b]{top:var(--refs-viewport-offset, 0px);z-index:1}.callback-operation-container[data-v-b94c2b8b] .request-body,.callback-operation-container[data-v-b94c2b8b] .request-body-description,.callback-operation-container[data-v-b94c2b8b] .request-body-header{margin-top:0}.callback-operation-container[data-v-b94c2b8b] .request-body-header{--scalar-font-size-2: var(--scalar-font-size-4);padding:10px;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)}.callback-operation-container[data-v-b94c2b8b] .request-body-schema>.schema-card>.schema-card-description{padding-inline:8px}.callback-operation-container[data-v-b94c2b8b] ul li.property.property--level-1{padding:10px}.callback-operation-container[data-v-b94c2b8b] .request-body-schema{background-color:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:none;overflow:hidden;border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-b94c2b8b] .parameter-list{margin-top:0}.callback-operation-container[data-v-b94c2b8b] .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;padding:10px;margin-bottom:0;border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:none;--scalar-font-size-2: var(--scalar-font-size-4)}.callback-operation-container[data-v-b94c2b8b] .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-b94c2b8b] .parameter-list-items>li:first-of-type{border-top:none}.callback-operation-container[data-v-b94c2b8b] .parameter-list-items>li{padding:0 8px}.show-api-client-button[data-v-342ba62a]{appearance:none;border:none;padding:1px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-small);line-height:22px;color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a;outline-offset:2px}.show-api-client-button span[data-v-342ba62a],.show-api-client-button svg[data-v-342ba62a]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-342ba62a]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-342ba62a]{margin-right:4px}.operation-title[data-v-55addca4]{justify-content:space-between;display:flex}.operation-details[data-v-55addca4]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-55addca4] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-55addca4]{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-55addca4]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-55addca4]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-55addca4]{display:flex}.endpoint-label[data-v-55addca4]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-55addca4]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-55addca4] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-55addca4]{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-55addca4]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-55addca4]{color:currentColor}.endpoint-copy[data-v-55addca4] svg{stroke-width:2px}.endpoint-content[data-v-55addca4]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media(min-width:1000px){.endpoint-content[data-v-55addca4]{grid-auto-flow:column}}@container (max-width:900px){.endpoint-content[data-v-55addca4]{grid-template-columns:1fr}}.endpoint-content[data-v-55addca4]>*{min-width:0}.operation-details-card[data-v-55addca4]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-55addca4] .parameter-list,.operation-details-card-item[data-v-55addca4] .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-55addca4]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-55addca4] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-55addca4] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-55addca4] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-55addca4] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-55addca4] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-55addca4] .parameter-list-title,.operation-details-card[data-v-55addca4] .request-body-title,.operation-details-card[data-v-55addca4] .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-55addca4] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-55addca4] .callback-list-item-icon{left:6px}.operation-details-card[data-v-55addca4] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-55addca4] .callback-operation-container>.request-body,.operation-details-card[data-v-55addca4] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-55addca4] .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-55addca4] .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-55addca4] .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-55addca4] .request-body .schema-card--level-0>.schema-card-description{padding-inline:9px}.operation-details-card[data-v-55addca4] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-55addca4] .contents button{margin-right:9px}.operation-details-card[data-v-55addca4] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-55addca4] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-55addca4] .selected-content-type{margin-right:9px}.operation-example-card[data-v-55addca4]{top:calc(var(--refs-viewport-offset) + 24px);max-height:calc(var(--refs-viewport-height) - 48px);position:sticky}@media(max-width:600px){.operation-example-card[data-v-55addca4]{max-height:unset;position:static}}.ask-agent-scalar-input[data-v-b5a61e43]{appearance:none;border:none;white-space:nowrap;display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-small);line-height:22px;font-family:var(--scalar-font);position:relative;cursor:pointer;box-sizing:border-box;outline:none;outline-offset:2px;field-sizing:content;max-width:88px}.ask-agent-scalar-input[data-v-b5a61e43]:focus{cursor:text;width:100%!important;max-width:calc(100% - 50px)}.ask-agent-scalar-input[data-v-b5a61e43]:not(:placeholder-shown){width:100%!important;height:100%;field-sizing:border-box;cursor:text;max-width:calc(100% - 50px)}.ask-agent-scalar-input[data-v-b5a61e43]::placeholder{color:var(--scalar-color-1)}.ask-agent-scalar-input[data-v-b5a61e43]:focus::placeholder{color:var(--scalar-color-2)}.agent-button-container[data-v-b5a61e43]{position:relative;color:var(--scalar-color-1);background:color-mix(in srgb,var(--scalar-background-3),white 15%);display:flex;align-items:center;padding:1px 6px;margin-right:4px;border-radius:var(--scalar-radius);gap:4px;z-index:2;height:24px}.agent-button-container[data-v-b5a61e43]:hover:not(:focus-within){background:color-mix(in srgb,var(--scalar-background-3),white 20%)}.agent-button-container[data-v-b5a61e43]:has(.ask-agent-scalar-input:not(:placeholder-shown)),.agent-button-container[data-v-b5a61e43]:focus-within{width:100%;height:100%;position:absolute;left:0;top:0;border-radius:0}.ask-agent-scalar-send[data-v-b5a61e43]{background:var(--scalar-color-blue);color:#fff;width:24px;height:24px;flex-shrink:0;display:flex;justify-content:center;align-items:center;border-radius:var(--scalar-radius);margin-left:auto;display:none}.ask-agent-scalar-send[data-v-b5a61e43]:hover{background:color-mix(in srgb,var(--scalar-color-blue),transparent 10%)!important}.agent-button-container:has(.ask-agent-scalar-input:not(:placeholder-shown)) .ask-agent-scalar-send[data-v-b5a61e43]{display:flex}.examples[data-v-a892a6ae]{position:sticky;top:calc(var(--refs-viewport-offset) + 24px)}.examples[data-v-a892a6ae]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}@media(max-width:600px){.examples[data-v-a892a6ae]>*{max-height:unset}}.deprecated[data-v-a892a6ae] *{text-decoration:line-through}.section-flare[data-v-2a9c8c02]{top:0;right:0;pointer-events:none}.narrow-references-container{container-name:narrow-references-container;container-type: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);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-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-font-weight: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-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-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-duration:initial;--tw-ease:initial;--tw-content:"";--tw-space-x-reverse:0}}}@layer scalar-base{@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))}}@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%)}}@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%)}}@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%)}}@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%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@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%)}}@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%)}}@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%)}}:root,:host{--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (color:color-mix(in lab,red,red)){.light-mode,.dark-mode{--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{--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-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-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-mix(in lab,red,red)){.light-mode,.dark-mode{--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.light-mode,.dark-mode{--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{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--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: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: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: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-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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: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: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%)}}}}: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)}@supports (color:color-mix(in lab,red,red)){@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))}}@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%)}}@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%)}}@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%)}}@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%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@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%)}}@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%)}}@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%)}}.light-mode,.dark-mode{--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.light-mode,.dark-mode{--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{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--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: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: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: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-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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: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: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%)}}}}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}.dark-mode{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{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{color-scheme:dark!important}@media(max-width:460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media(max-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:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.light-mode,.dark-mode{--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.light-mode,.dark-mode{--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:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--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:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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);--leading-normal:1.5}body{background-color:var(--scalar-background-1);margin:0}}@layer scalar-theme;.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 .top-\\[calc\\(9px\\+0\\.5lh\\)\\]{top:calc(9px + .5lh)}.scalar-app .-left-4\\.5{left:-18px}.scalar-app .-left-5{left:-20px}.scalar-app .-left-6{left:-24px}.scalar-app .order-789{order:789}.scalar-app .-m-2{margin:-8px}.scalar-app .-mx-2{margin-inline:-8px}.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 .min-h-7{min-height:28px}.scalar-app .min-h-dvh{min-height:100dvh}.scalar-app .w-\\(--refs-sidebar-width\\){width:var(--refs-sidebar-width)}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-96{width:384px}.scalar-app .w-110{width:440px}.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}@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 .pt-1\\.5{padding-top:6px}.scalar-app .pb-12{padding-bottom:48px}.scalar-app .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.scalar-app .text-current{color:currentColor}.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(min-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}@supports (color:color-mix(in lab,red,red)){.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))}}}@supports (color:color-mix(in lab,red,red)){.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))}}: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))}}}@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-divide-y-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}@property --tw-ease{syntax:"*";inherits:false}@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)}}@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);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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%)}}@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}@keyframes fadein-layout-c36b47da{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-c36b47da{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translate(0)}}@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 .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: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-c-accent{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab,red,red)){.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: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))}}}: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: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))}}}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@supports (color:color-mix(in lab,red,red)){.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: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 .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: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))}}}: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: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))}}}}@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,)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-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)}}.scalar-app .markdown a{-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);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@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: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-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-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-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 .right-0\\.75{right:3px}.scalar-app .ml-2{margin-left:8px}.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}: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;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)}.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 .left-2{left:8px}.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:-2}.scalar-app .z-tooltip{z-index:99999}.scalar-app .-m-1{margin:-4px}.scalar-app .-m-1\\.5{margin:-6px}.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-3\\.25{width:13px;height:13px}.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-\\[1lh\\]{height:1lh}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .max-h-20{max-height:80px}.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-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 .w-screen{width:100vw}.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-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:10px;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:-6px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-y-1\\.5{--tw-translate-y:6px;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-solid{--tw-border-style:solid;border-style:solid}.scalar-app .border-\\(--scalar-background-3\\){border-color:var(--scalar-background-3)}.scalar-app .border-border{border-color:var(--scalar-border-color)}.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 .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:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.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: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-c-danger{background-color:var(--scalar-color-danger)}.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:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.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: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);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;mask-composite:intersect}.scalar-app .mask-y-to-100\\%{-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;mask-composite:intersect}.scalar-app .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .p-0\\.25{padding:1px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .p-6{padding:24px}.scalar-app .px-3\\.5{padding-inline:14px}.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\\/5{font-size:var(--scalar-font-size-3);line-height:var(--scalar-line-height-5)}.scalar-app .text-sm\\/5{font-size:var(--scalar-font-size-4);line-height:var(--scalar-line-height-5)}.scalar-app .text-lg{font-size:var(--scalar-font-size-2)}.scalar-app .leading-5{--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5)}.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-alert{color:var(--scalar-color-alert)}.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 .opacity-40{opacity:.4}.scalar-app .-outline-offset-2{outline-offset:-2px}.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 .ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.scalar-app .ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}: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:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){: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: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,:is(.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,:is(.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))}.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(min-width:800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media(min-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(max-width:720px)and (max-height:480px){.scalar-app .zoomed\\:\\!whitespace-normal{white-space:normal!important}}[data-radix-popper-content-wrapper]{z-index:1!important}.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:translateZ(0)}.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: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);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,.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);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);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-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)}}}.scalar-app .markdown a{-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: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)}}.scalar-app .markdown a{-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);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);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);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:1px solid var(--scalar-color-1);padding-left:var(--markdown-spacing-md);font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-2);margin:0;display:block}.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:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@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:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.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 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 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:var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.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 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 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: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: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 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 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:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.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 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 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:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.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 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 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}.dark-mode .scalar-dropdown-item[data-v-6660bbc5]:hover{filter:brightness(1.1)}.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}.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-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5);--tw-font-weight:var(--scalar-semibold);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:-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,calc(var(--scalar-border-width)*2))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)}.dark-mode .scalar-dropdown-item[data-v-3402682d]:hover{filter:brightness(1.1)}.scalar-modal-layout[data-v-c36b47da]{animation:.3s ease-in-out forwards fadein-layout-c36b47da}.scalar-modal[data-v-c36b47da]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-c36b47da;transform:translateY(10px)}.scalar-modal-layout-full[data-v-c36b47da]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-c36b47da]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media(max-width:720px)and (max-height:480px){.scalar-modal-layout .scalar-modal[data-v-c36b47da]{max-height:90svh;margin-top:5svh}}.full-size-styles[data-v-c36b47da]{margin:initial;border-right:var(--scalar-border-width)solid var(--scalar-border-color);animation:.3s ease-in-out forwards fadein-layout-c36b47da;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(min-width:800px){.full-size-styles[data-v-c36b47da]{width:50dvw!important}}.full-size-styles[data-v-c36b47da]:after{content:"";width:50dvw;height:100dvh;position:absolute;top:0;right:-50dvw}.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}.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:-50%;--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%;left:50%}.scalar-app .centered-y{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%}.scalar-app .centered-x{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;left: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 .-top-\\(--scalar-address-bar-height\\){top:calc(var(--scalar-address-bar-height)*-1)}.scalar-app .-top-1\\.25{top:-5px}.scalar-app .-top-\\[104px\\]{top:-104px}.scalar-app .top-0{top:0}.scalar-app .top-2{top:8px}.scalar-app .top-12{top:48px}.scalar-app .top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.scalar-app .-right-1\\.25{right:-5px}.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-\\[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-3{left:12px}.scalar-app .-z-1{z-index:-1}.scalar-app .z-0{z-index:0}.scalar-app .z-1{z-index:1}.scalar-app .z-10{z-index:10}.scalar-app .z-20{z-index:20}.scalar-app .z-50{z-index:50}.scalar-app .z-\\[1\\]{z-index:1}.scalar-app .z-\\[1002\\]{z-index:1002}.scalar-app .z-\\[10000\\]{z-index:10000}.scalar-app .z-\\[10001\\]{z-index:10001}.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(min-width:400px){.scalar-app .container{max-width:400px}}@media(min-width:600px){.scalar-app .container{max-width:600px}}@media(min-width:800px){.scalar-app .container{max-width:800px}}@media(min-width:1000px){.scalar-app .container{max-width:1000px}}@media(min-width:1200px){.scalar-app .container{max-width:1200px}}@media(min-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 .m-header{margin:48px}.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\\.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 .\\!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-5{margin-bottom:20px}.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-3{margin-left:12px}.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\\.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-\\[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-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-\\[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-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-\\[64px\\]{min-height:64px}.scalar-app .min-h-\\[65px\\]{min-height:65px}.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\\.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-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-app .w-\\[inherit\\]{width:inherit}.scalar-app .w-auto{width:auto}.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 .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-\\[16rem\\]{max-width:16rem}.scalar-app .max-w-\\[37px\\]{max-width:37px}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[120px\\]{max-width:120px}.scalar-app .max-w-\\[150px\\]{max-width:150px}.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 .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-\\[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:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-1\\/2{--tw-translate-x:50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-y-1\\/2{--tw-translate-y:50%;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 .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-\\[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-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}.scalar-app .gap-x-2\\.5{column-gap:10px}:where(.scalar-app .space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(4px*var(--tw-space-x-reverse));margin-inline-end:calc(4px*calc(1 - var(--tw-space-x-reverse)))}:where(.scalar-app .divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(var(--scalar-border-width)*var(--tw-divide-y-reverse));border-bottom-width:calc(var(--scalar-border-width)*calc(1 - var(--tw-divide-y-reverse)))}.scalar-app .self-center{align-self:center}.scalar-app .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-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 .\\!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-none{--tw-border-style:none!important;border-style:none!important}.scalar-app .border-dashed{--tw-border-style:dashed;border-style:dashed}.scalar-app .border-none{--tw-border-style:none;border-style:none}.scalar-app .\\!border-current{border-color:currentColor!important}.scalar-app .border-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: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 .bg-b-1{background-color:var(--scalar-background-1)}.scalar-app .bg-b-2{background-color:var(--scalar-background-2)}.scalar-app .bg-b-3{background-color:var(--scalar-background-3)}.scalar-app .bg-b-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: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: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: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-current{background-color:currentColor}.scalar-app .bg-grey{background-color:var(--scalar-color-3)}.scalar-app .bg-orange{background-color:var(--scalar-color-orange)}.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-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-px{padding-top:1px}.scalar-app .pr-0{padding-right:0}.scalar-app .pr-0\\.75{padding-right:3px}.scalar-app .pr-1{padding-right:4px}.scalar-app .pr-1\\.5{padding-right:6px}.scalar-app .pr-2{padding-right:8px}.scalar-app .pr-2\\.5{padding-right:10px}.scalar-app .pr-2\\.25{padding-right:9px}.scalar-app .pr-3{padding-right:12px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-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-\\[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-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[9px\\]{font-size:9px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-\\[21px\\]{font-size:21px}.scalar-app .text-base{font-size:var(--scalar-font-size-3)}.scalar-app .text-sm{font-size:var(--scalar-font-size-4)}.scalar-app .text-xl{font-size:var(--scalar-font-size-1)}.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-2{--tw-leading:var(--scalar-line-height-2);line-height:var(--scalar-line-height-2)}.scalar-app .leading-3{--tw-leading:var(--scalar-line-height-3);line-height:var(--scalar-line-height-3)}.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-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.scalar-app .font-bold{--tw-font-weight:var(--scalar-bold);font-weight:var(--scalar-bold)}.scalar-app .font-medium{--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold)}.scalar-app .font-normal{--tw-font-weight:var(--scalar-regular);font-weight:var(--scalar-regular)}.scalar-app .text-balance{text-wrap:balance}.scalar-app .text-nowrap{text-wrap:nowrap}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .break-words{overflow-wrap: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-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-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-white{color:#fff}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .lowercase{text-transform:lowercase}.scalar-app .uppercase{text-transform:uppercase}.scalar-app .italic{font-style:italic}.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);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-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-border{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,calc(var(--scalar-border-width)*2))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 .outline{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .-outline-offset-1{outline-offset:-1px}.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-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 .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 .\\*\\: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-hover\\/upload\\:block:is(:where(.group\\/upload):hover *){display:block}}.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-\\[\\.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)}.scalar-app .after\\:content-\\[\\\'\\:\\\'\\]:after{--tw-content:":";content:var(--tw-content)}: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-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-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-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: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 .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\\: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 (min-width:800px){.scalar-app .max-md\\:absolute\\!{position:absolute!important}.scalar-app .max-md\\:w-full\\!{width:100%!important}}@media(min-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(min-width:800px){.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\\:-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\\:w-full{width:100%}.scalar-app .md\\:max-w-\\[720px\\]{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:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .md\\:translate-y-0{--tw-translate-y:0px;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\\:pb-2\\.5{padding-bottom:10px}.scalar-app .md\\:pb-\\[37px\\]{padding-bottom:37px}.scalar-app .md\\:pl-0{padding-left:0}:is(.scalar-app .md\\:\\*\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}}@media(min-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(min-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(max-width:720px)and (max-height:480px){.scalar-app .zoomed\\:static{position:static}.scalar-app .zoomed\\:p-1{padding:4px}}.app-platform-mac :is(.scalar-app .mac\\:pl-\\[72px\\]){padding-left:72px}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}.nav-item[data-v-507381a3]{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-507381a3]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .nav-item[data-v-507381a3]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}}.nav-item-icon-copy[data-v-507381a3]{white-space:nowrap;max-width:100%;-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-507381a3]{-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-507381a3]{max-width:calc(100% - 20px)}.nav-item[data-v-507381a3]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-507381a3]{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-507381a3]{opacity:1}.nav-item-close[data-v-507381a3]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-507381a3]: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)}.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)}.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%)}}.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(max-width:720px)and (max-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}.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-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}.address-bar-history-button[data-v-a93fa60f]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-a93fa60f]:focus-within{background:var(--scalar-background-2)}.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)}.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)}.sidebar-height[data-v-dcff7b49]{min-height:100%}@media(min-width:800px){.sidebar-mask[data-v-dcff7b49]{-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-dcff7b49]{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-dcff7b49]:hover,.dragging .resizer[data-v-dcff7b49]{border-right-color:var(--scalar-background-3)}.dragging[data-v-dcff7b49]{cursor:col-resize}.dragging[data-v-dcff7b49]:before{content:"";width:100%;height:100%;display:block;position:absolute}[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(min-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}#scalar-client{background-color:var(--scalar-background-2);flex-direction:column;width:100dvw;height:100dvh;display:flex;position:relative}.address-bar-history-button[data-v-c15c6573]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-c15c6573]:focus-within{background:var(--scalar-background-2)}.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-a0bd2752] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-a0bd2752] .cm-placeholder{color:var(--scalar-color-3)}[data-v-a0bd2752] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-a0bd2752] .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-a0bd2752] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-a0bd2752] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-a0bd2752] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-a0bd2752] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-a0bd2752] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-a0bd2752] .cm-activeLine,[data-v-a0bd2752] .cm-activeLineGutter{background-color:#0000}[data-v-a0bd2752] .cm-selectionMatch,[data-v-a0bd2752] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-a0bd2752] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-a0bd2752] .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-a0bd2752] .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-a0bd2752] .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-a0bd2752] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-a0bd2752] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-a0bd2752] .cm-scroller{overflow:auto}.line-wrapping[data-v-a0bd2752]: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}.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)}[data-v-791e0491] .cm-editor{outline:none;width:100%;height:100%}[data-v-791e0491] .cm-line{padding:0}[data-v-791e0491] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-791e0491]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-791e0491]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-791e0491] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-791e0491]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-791e0491] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-791e0491]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-791e0491]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-791e0491]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-791e0491],.fade-right[data-v-791e0491]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-791e0491;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-791e0491]{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-791e0491]{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-791e0491]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-791e0491]{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-791e0491]{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-791e0491]{min-width:24px;right:-1px}@keyframes fadein-791e0491{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-791e0491]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.address-bar-bg-states[data-v-791e0491]{--scalar-address-bar-bg:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.address-bar-bg-states[data-v-791e0491]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-791e0491]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline-width:1px;outline-style:solid}.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-791e0491],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-791e0491]{--scalar-address-bar-bg:var(--scalar-background-1)}.app-exit-button[data-v-7b4b0249]{color:#fff;background:#0000001a}.app-exit-button[data-v-7b4b0249]: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,.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],.filter-hover:has(:focus-visible) .filter-hover-item[data-v-f97cc68c]{opacity:1;transform:translateZ(0)}.filter-hover[data-v-f97cc68c]:hover:before,.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],.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],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-f97cc68c]{display:none}.schema>span[data-v-f2ab7aa3]:not(:first-child):before{content:"·";margin:0 .5ch;display:block}.schema>span[data-v-f2ab7aa3]{white-space:nowrap;display:flex}[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);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px)}[data-v-0a6f7696] .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-422a27d2]{--scalar-border-width:.5px}.request-section-content-filter[data-v-422a27d2]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-422a27d2]{opacity:1}.group-hover-input[data-v-422a27d2]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-422a27d2]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-422a27d2]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-422a27d2]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-422a27d2]: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-9c64cd5e] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-9c64cd5e] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius)0 0 var(--scalar-radius)}.body-raw[data-v-9c64cd5e] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-8ae4f555] .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}}.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-651d0186]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-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-651d0186]{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-651d0186]{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-eb70b304]{opacity:1;animation:.2s ease-in-out forwards push-response-eb70b304}@keyframes push-response-eb70b304{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-eb70b304]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-eb70b304}@keyframes response-spans-eb70b304{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.request-card[data-v-cbc307e3]{font-size:var(--scalar-font-size-3)}.request-method[data-v-cbc307e3]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-cbc307e3]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex;position:relative}.request-card-footer-addon[data-v-cbc307e3]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-cbc307e3]{flex:1;display:flex}.request-card-simple[data-v-cbc307e3]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-cbc307e3]{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}.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}.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-2fe57517]{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-2fe57517;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-2fe57517]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-2fe57517;position:fixed;inset:0}@keyframes fadeincommand-2fe57517{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-2fe57517{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.empty-sidebar-item-content[data-v-e0eb043e]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-e0eb043e]{display:block}.rabbitjump[data-v-e0eb043e]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-e0eb043e]{opacity:1;animation:.5s step-end infinite rabbitAnimation-e0eb043e}.empty-sidebar-item:hover .rabbitsit[data-v-e0eb043e]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-e0eb043e}.empty-sidebar-item:hover .rabbit-ascii[data-v-e0eb043e]{animation:8s linear infinite rabbitRun-e0eb043e}@keyframes rabbitRun-e0eb043e{0%{transform:translateZ(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-e0eb043e{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-e0eb043e{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.nav-single-tab[data-v-2e741aab]{width:100%;height:100%;color:var(--scalar-color-1);justify-content:center;align-items:center;display:flex;overflow:hidden}.nav-item[data-v-2e741aab]{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-2e741aab]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .nav-item[data-v-2e741aab]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}}.nav-item-icon-copy[data-v-2e741aab]{white-space:nowrap;max-width:100%;-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-2e741aab]{-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-2e741aab]{max-width:calc(100% - 20px)}.nav-item[data-v-2e741aab]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-2e741aab]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-2e741aab]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-2e741aab]{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-2e741aab]{opacity:1}.nav-item-close[data-v-2e741aab]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-2e741aab]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-d9bec97b]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-d9bec97b]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-d9bec97b]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-d9bec97b]:hover{background:linear-gradient(#00000026,#ffffff1a)}#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)}}.scalar-collection-auth[data-v-1bfafc56]{border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}[data-v-6fc24fdf] .cm-editor{padding:0}[data-v-6fc24fdf] .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-6fc24fdf] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-6fc24fdf] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-6fc24fdf] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-6fc24fdf] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}[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-7c1a2f6c] .cm-content{min-height:fit-content}[data-v-7c1a2f6c] .cm-scroller{max-width:100%;overflow:auto hidden}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-font-size:var(--scalar-small);--callout-neutral-primary:var(--scalar-color-3);--callout-neutral-secondary:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-neutral-secondary:color-mix(in srgb,var(--scalar-background-2),transparent 50%)}}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-neutral-font-color:var(--scalar-color-1);--callout-success-primary:var(--scalar-color-green);--callout-success-secondary:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-success-secondary:color-mix(in srgb,var(--scalar-color-green),transparent 97%)}}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-success-font-color:var(--scalar-color-1);--callout-danger-primary:var(--scalar-color-red);--callout-danger-secondary:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-danger-secondary:color-mix(in srgb,var(--scalar-color-red),transparent 97%)}}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-danger-font-color:var(--scalar-color-1);--callout-warning-primary:var(--scalar-color-yellow);--callout-warning-secondary:var(--scalar-color-yellow)}@supports (color:color-mix(in lab,red,red)){.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-warning-secondary:color-mix(in srgb,var(--scalar-color-yellow),transparent 97%)}}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-warning-font-color:var(--scalar-color-1);--callout-info-primary:var(--scalar-color-blue);--callout-info-secondary:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-info-secondary:color-mix(in srgb,var(--scalar-color-blue),transparent 97%)}}.dark-mode .t-editor__callout[data-v-fa58cbab],.light-mode .t-editor__callout[data-v-fa58cbab]{--callout-info-font-color:var(--scalar-color-1);--callout-line-height:22px}.t-editor__callout[data-v-fa58cbab]{border-radius:var(--scalar-radius);margin-top:var(--scalar-block-spacing);--callout-primary:var(--scalar-border-color);--callout-secondary:var(--scalar-background-2);--callout-svg:var(--callout-primary);background:var(--callout-secondary);border:var(--scalar-border-width)solid var(--callout-primary);padding:10px 14px}@supports (color:color-mix(in lab,red,red)){.t-editor__callout[data-v-fa58cbab]{border:var(--scalar-border-width)solid color-mix(in srgb,var(--callout-primary),transparent 50%)}}.t-editor__callout .callout-content__text[data-v-fa58cbab]{font-size:var(--callout-font-size);line-height:var(--callout-line-height);flex:1}.t-editor__callout .callout-content__icon[data-v-fa58cbab]{border-radius:var(--scalar-radius);width:18px;height:fit-content;color:var(--callout-svg);justify-content:center;align-items:center;display:flex;position:relative}.t-editor__callout .callout-content__icon svg[data-v-fa58cbab],.t-editor__callout .callout-content__icon img[data-v-fa58cbab]{width:18px;height:18px}.t-editor__callout .callout-content__icon[data-v-fa58cbab]:before{content:"";line-height:var(--callout-line-height)}.t-editor__callout.callout__neutral[data-v-fa58cbab]{--callout-primary:var(--callout-neutral-primary);--callout-secondary:var(--callout-neutral-secondary);--callout-font-color:var(--callout-neutral-font-color);--callout-svg:var(--callout-neutral-font-color)}.t-editor__callout.callout__info[data-v-fa58cbab]{--callout-primary:var(--callout-info-primary);--callout-secondary:var(--callout-info-secondary);--callout-font-color:var(--callout-info-font-color);--callout-svg:var(--callout-info-primary)}.t-editor__callout.callout__warning[data-v-fa58cbab]{--callout-primary:var(--callout-warning-primary);--callout-secondary:var(--callout-warning-secondary);--callout-font-color:var(--callout-warning-font-color);--callout-svg:var(--callout-warning-primary)}.t-editor__callout.callout__success[data-v-fa58cbab]{--callout-primary:var(--callout-success-primary);--callout-secondary:var(--callout-success-secondary);--callout-font-color:var(--callout-success-font-color);--callout-svg:var(--callout-success-primary)}.t-editor__callout.callout__danger[data-v-fa58cbab]{--callout-primary:var(--callout-danger-primary);--callout-secondary:var(--callout-danger-secondary);--callout-font-color:var(--callout-danger-font-color);--callout-svg:var(--callout-danger-primary)}.group-hover-input[data-v-5a23cb87]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-5a23cb87]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-5a23cb87]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-5a23cb87]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-5a23cb87]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.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-04661eb4] .cm-editor{padding:0}[data-v-04661eb4] .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-04661eb4] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-04661eb4] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-04661eb4] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-04661eb4] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-04661eb4]{-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{font-size:var(--scalar-small)}.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}}[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-1399120c] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-1399120c] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius)0 0 var(--scalar-radius)}.body-raw[data-v-1399120c] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-17966bf4] .hljs *{font-size:var(--scalar-small)}.response-body-virtual[data-headlessui-state=open],.response-body-virtual[data-headlessui-state=open] .diclosure-panel{flex-direction:column;flex-grow:1;display:flex}.scalar-version-number[data-v-6d2bdb61]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-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)}}.ellipsis-position[data-v-01a1ab71]{transform:translate(calc(-100% - 4.5px))}.indent-border-line-offset[data-v-24d396a0]:before{left:var(--v337cd30d)}.indent-padding-left[data-v-24d396a0]{padding-left:calc(var(--v1d572b91) + 6px)}.sidebar-folderitem[data-v-24d396a0] .ellipsis-position{right:6px;transform:none}.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:translateZ(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translateZ(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-02af05d1]{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 (max-width:800px){.sidebar-active-hide-layout[data-v-02af05d1]{display:none}.sidebar-active-width[data-v-02af05d1]{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 (max-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)}[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}.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}: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-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-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@layer scalar-config{.scalar-api-reference[data-v-dfeddcdf]{--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-dfeddcdf]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.t-doc__sidebar[data-v-dfeddcdf]{z-index:10}.references-layout[data-v-dfeddcdf]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:auto 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-editor[data-v-dfeddcdf]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1)}.references-rendered[data-v-dfeddcdf]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-dfeddcdf],.references-classic .references-rendered[data-v-dfeddcdf]{height:initial!important;max-height:initial!important}@layer scalar-config{.references-sidebar[data-v-dfeddcdf]{--refs-sidebar-width: var(--scalar-sidebar-width, 288px)}}.references-footer[data-v-dfeddcdf]{grid-area:footer}@media(max-width:1000px){.references-layout[data-v-dfeddcdf]{--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-dfeddcdf]{grid-template-areas:"header" "navigation" "editor"}.references-rendered[data-v-dfeddcdf]{position:static}}@media(max-width:1000px){.scalar-api-references-standalone-mobile[data-v-dfeddcdf]:not(.references-classic){--scalar-header-height: 50px}}.darklight-reference[data-v-dfeddcdf]{width:100%;margin-top:auto}')),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){
"use strict";const e=Object.freeze({status:"aborted"});function t(e,t,n){
function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,
constr:i,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return
;n._zod.traits.add(e),t(n,r);const a=i.prototype,o=Object.keys(a)
;for(let e=0;e<o.length;e++){const t=o[e];t in n||(n[t]=a[t].bind(n))}}
const a=n?.Parent??Object;class o extends a{}function i(e){var t
;const a=n?.Parent?new o:this;r(a,e),(t=a._zod).deferred??(t.deferred=[])
;for(const n of a._zod.deferred)n();return a}
return Object.defineProperty(o,"name",{value:e
}),Object.defineProperty(i,"init",{value:r
}),Object.defineProperty(i,Symbol.hasInstance,{
value:t=>!!(n?.Parent&&t instanceof n.Parent)||t?._zod?.traits?.has(e)
}),Object.defineProperty(i,"name",{value:e}),i}const n=Symbol("zod_brand")
;class r extends Error{constructor(){
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")
}}class a extends Error{constructor(e){
super(`Encountered unidirectional transform during encode: ${e}`),
this.name="ZodEncodeError"}}const o={};function i(e){
return e&&Object.assign(o,e),o}function s(e){
const t=Object.values(e).filter((e=>"number"==typeof e))
;return Object.entries(e).filter((([e,n])=>-1===t.indexOf(+e))).map((([e,t])=>t))
}function l(e,t="|"){return e.map((e=>$(e))).join(t)}function c(e,t){
return"bigint"==typeof t?t.toString():t}function u(e){return{get value(){{
const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}
function d(e){return null==e}function p(e){
const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length
;return e.slice(t,n)}function h(e,t){
const n=(e.toString().split(".")[1]||"").length,r=t.toString()
;let a=(r.split(".")[1]||"").length;if(0===a&&/\d?e-\d?/.test(r)){
const e=r.match(/\d?e-(\d?)/);e?.[1]&&(a=Number.parseInt(e[1]))}const o=n>a?n:a
;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(t.toFixed(o).replace(".",""))/10**o
}const f=Symbol("evaluating");function m(e,t,n){let r
;Object.defineProperty(e,t,{get(){if(r!==f)return void 0===r&&(r=f,r=n()),r},
set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}
function g(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,
configurable:!0})}function v(...e){const t={};for(const n of e){
const e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}
return Object.defineProperties({},t)}function b(e){return JSON.stringify(e)}
function y(e){
return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")
}const O="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{}
;function w(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}
const x=u((()=>{
if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1
;try{return new Function(""),!0}catch(e){return!1}}));function k(e){
if(!1===w(e))return!1;const t=e.constructor;if(void 0===t)return!0
;if("function"!=typeof t)return!0;const n=t.prototype
;return!1!==w(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}
function S(e){return k(e)?{...e}:Array.isArray(e)?[...e]:e}
const _=new Set(["string","number","symbol"]),A=new Set(["string","number","bigint","boolean","symbol","undefined"])
;function T(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e,t,n){
const r=new e._zod.constr(t??e._zod.def)
;return t&&!n?.parent||(r._zod.parent=e),r}function C(e){const t=e
;if(!t)return{};if("string"==typeof t)return{error:()=>t}
;if(void 0!==t?.message){
if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params")
;t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,
error:()=>t.error}:t}function $(e){
return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}
function P(e){
return Object.keys(e).filter((t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout))
}const I={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],
int32:[-2147483648,2147483647],uint32:[0,4294967295],
float32:[-34028234663852886e22,34028234663852886e22],
float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},D={
int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],
uint64:[BigInt(0),BigInt("18446744073709551615")]};function M(e,t){
const n=e._zod.def,r=n.checks
;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements")
;return E(e,v(e._zod.def,{get shape(){const e={};for(const r in t){
if(!(r in n.shape))throw new Error(`Unrecognized key: "${r}"`)
;t[r]&&(e[r]=n.shape[r])}return g(this,"shape",e),e},checks:[]}))}
function N(e,t){const n=e._zod.def,r=n.checks
;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements")
;const a=v(e._zod.def,{get shape(){const r={...e._zod.def.shape}
;for(const e in t){
if(!(e in n.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]
}return g(this,"shape",r),r},checks:[]});return E(e,a)}function R(e,t){
if(!k(t))throw new Error("Invalid input to extend: expected a plain object")
;const n=e._zod.def.checks;if(n&&n.length>0){const n=e._zod.def.shape
;for(const e in t)if(void 0!==Object.getOwnPropertyDescriptor(n,e))throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")
}const r=v(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t}
;return g(this,"shape",n),n}});return E(e,r)}function L(e,t){
if(!k(t))throw new Error("Invalid input to safeExtend: expected a plain object")
;const n=v(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t}
;return g(this,"shape",n),n}});return E(e,n)}function B(e,t){
const n=v(e._zod.def,{get shape(){const n={...e._zod.def.shape,
...t._zod.def.shape};return g(this,"shape",n),n},get catchall(){
return t._zod.def.catchall},checks:[]});return E(e,n)}function j(e,t,n){
const r=t._zod.def.checks
;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements")
;const a=v(t._zod.def,{get shape(){const r=t._zod.def.shape,a={...r}
;if(n)for(const t in n){if(!(t in r))throw new Error(`Unrecognized key: "${t}"`)
;n[t]&&(a[t]=e?new e({type:"optional",innerType:r[t]}):r[t])
}else for(const t in r)a[t]=e?new e({type:"optional",innerType:r[t]}):r[t]
;return g(this,"shape",a),a},checks:[]});return E(t,a)}function U(e,t,n){
const r=v(t._zod.def,{get shape(){const r=t._zod.def.shape,a={...r}
;if(n)for(const t in n){if(!(t in a))throw new Error(`Unrecognized key: "${t}"`)
;n[t]&&(a[t]=new e({type:"nonoptional",innerType:r[t]}))
}else for(const t in r)a[t]=new e({type:"nonoptional",innerType:r[t]})
;return g(this,"shape",a),a}});return E(t,r)}function z(e,t=0){
if(!0===e.aborted)return!0
;for(let n=t;n<e.issues.length;n++)if(!0!==e.issues[n]?.continue)return!0
;return!1}function Z(e,t){return t.map((t=>{var n;return(n=t).path??(n.path=[]),
t.path.unshift(e),t}))}function F(e){return"string"==typeof e?e:e?.message}
function H(e,t,n){const r={...e,path:e.path??[]};if(!e.message){
const a=F(e.inst?._zod.def?.error?.(e))??F(t?.error?.(e))??F(n.customError?.(e))??F(n.localeError?.(e))??"Invalid input"
;r.message=a}
return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}
function Q(e){
return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"
}function V(e){
return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}
function q(e){const t=typeof e;switch(t){case"number":
return Number.isNaN(e)?"nan":"number";case"object":{if(null===e)return"null"
;if(Array.isArray(e))return"array";const t=e
;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&"constructor"in t&&t.constructor)return t.constructor.name
}}return t}function W(...e){const[t,n,r]=e;return"string"==typeof t?{message:t,
code:"custom",input:n,inst:r}:{...t}}function X(e){
const t=atob(e),n=new Uint8Array(t.length)
;for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function G(e){let t=""
;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}
const Y=Object.freeze(Object.defineProperty({__proto__:null,
BIGINT_FORMAT_RANGES:D,Class:class{constructor(...e){}},NUMBER_FORMAT_RANGES:I,
aborted:z,allowsEval:x,assert:function(e){},assertEqual:function(e){return e},
assertIs:function(e){},assertNever:function(e){
throw new Error("Unexpected value in exhaustive check")},
assertNotEqual:function(e){return e},assignProp:g,base64ToUint8Array:X,
base64urlToUint8Array:function(e){const t=e.replace(/-/g,"+").replace(/_/g,"/")
;return X(t+"=".repeat((4-t.length%4)%4))},cached:u,captureStackTrace:O,
cleanEnum:function(e){
return Object.entries(e).filter((([e,t])=>Number.isNaN(Number.parseInt(e,10)))).map((e=>e[1]))
},cleanRegex:p,clone:E,cloneDef:function(e){return v(e._zod.def)},
createTransparentProxy:function(e){let t;return new Proxy({},{
get:(n,r,a)=>(t??(t=e()),Reflect.get(t,r,a)),
set:(n,r,a,o)=>(t??(t=e()),Reflect.set(t,r,a,o)),
has:(n,r)=>(t??(t=e()),Reflect.has(t,r)),
deleteProperty:(n,r)=>(t??(t=e()),Reflect.deleteProperty(t,r)),
ownKeys:n=>(t??(t=e()),Reflect.ownKeys(t)),
getOwnPropertyDescriptor:(n,r)=>(t??(t=e()),
Reflect.getOwnPropertyDescriptor(t,r)),
defineProperty:(n,r,a)=>(t??(t=e()),Reflect.defineProperty(t,r,a))})},
defineLazy:m,esc:b,escapeRegex:T,extend:R,finalizeIssue:H,floatSafeRemainder:h,
getElementAtPath:function(e,t){return t?t.reduce(((e,t)=>e?.[t]),e):e},
getEnumValues:s,getLengthableOrigin:V,getParsedType:e=>{const 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":null===e?"null":e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?"promise":"undefined"!=typeof Map&&e instanceof Map?"map":"undefined"!=typeof Set&&e instanceof Set?"set":"undefined"!=typeof Date&&e instanceof Date?"date":"undefined"!=typeof File&&e instanceof File?"file":"object"
;default:throw new Error(`Unknown data type: ${t}`)}},getSizableOrigin:Q,
hexToUint8Array:function(e){const t=e.replace(/^0x/,"")
;if(t.length%2!=0)throw new Error("Invalid hex string length")
;const n=new Uint8Array(t.length/2)
;for(let r=0;r<t.length;r+=2)n[r/2]=Number.parseInt(t.slice(r,r+2),16);return n
},isObject:w,isPlainObject:k,issue:W,joinValues:l,jsonStringifyReplacer:c,
merge:B,mergeDefs:v,normalizeParams:C,nullish:d,numKeys:function(e){let t=0
;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t},
objectClone:function(e){
return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))
},omit:N,optionalKeys:P,parsedType:q,partial:j,pick:M,prefixIssues:Z,
primitiveTypes:A,promiseAllObject:function(e){
const t=Object.keys(e),n=t.map((t=>e[t]));return Promise.all(n).then((e=>{
const n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n}))},
propertyKeyTypes:_,randomString:function(e=10){
const t="abcdefghijklmnopqrstuvwxyz";let n=""
;for(let r=0;r<e;r++)n+=t[Math.floor(26*Math.random())];return n},required:U,
safeExtend:L,shallowClone:S,slugify:y,stringifyPrimitive:$,uint8ArrayToBase64:G,
uint8ArrayToBase64url:function(e){
return G(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},
uint8ArrayToHex:function(e){
return Array.from(e).map((e=>e.toString(16).padStart(2,"0"))).join("")},
unwrapMessage:F},Symbol.toStringTag,{value:"Module"})),K=(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,c,2),Object.defineProperty(e,"toString",{
value:()=>e.message,enumerable:!1})},J=t("$ZodError",K),ee=t("$ZodError",K,{
Parent:Error});function te(e,t=e=>e.message){const n={},r=[]
;for(const a of e.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],
n[a.path[0]].push(t(a))):r.push(t(a));return{formErrors:r,fieldErrors:n}}
function ne(e,t=e=>e.message){const n={_errors:[]},r=e=>{
for(const a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map((e=>r({
issues:e})));else if("invalid_key"===a.code)r({issues:a.issues
});else if("invalid_element"===a.code)r({issues:a.issues
});else if(0===a.path.length)n._errors.push(t(a));else{let e=n,r=0
;for(;r<a.path.length;){const n=a.path[r];r===a.path.length-1?(e[n]=e[n]||{
_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}}
;return r(e),n}function re(e,t=e=>e.message){const n={errors:[]},r=(e,a=[])=>{
var o,i
;for(const s of e.issues)if("invalid_union"===s.code&&s.errors.length)s.errors.map((e=>r({
issues:e},s.path)));else if("invalid_key"===s.code)r({issues:s.issues
},s.path);else if("invalid_element"===s.code)r({issues:s.issues},s.path);else{
const e=[...a,...s.path];if(0===e.length){n.errors.push(t(s));continue}
let r=n,l=0;for(;l<e.length;){const n=e[l],a=l===e.length-1
;"string"==typeof n?(r.properties??(r.properties={}),
(o=r.properties)[n]??(o[n]={errors:[]
}),r=r.properties[n]):(r.items??(r.items=[]),(i=r.items)[n]??(i[n]={errors:[]}),
r=r.items[n]),a&&r.errors.push(t(s)),l++}}};return r(e),n}function ae(e){
const t=[],n=e.map((e=>"object"==typeof e?e.key:e))
;for(const r of n)"number"==typeof r?t.push(`[${r}]`):"symbol"==typeof r?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),
t.push(r));return t.join("")}function oe(e){
const t=[],n=[...e.issues].sort(((e,t)=>(e.path??[]).length-(t.path??[]).length))
;for(const r of n)t.push(`✖ ${r.message}`),
r.path?.length&&t.push(` → at ${ae(r.path)}`);return t.join("\n")}
const ie=e=>(t,n,a,o)=>{const s=a?Object.assign(a,{async:!1}):{async:!1
},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new r
;if(l.issues.length){const t=new(o?.Err??e)(l.issues.map((e=>H(e,s,i()))))
;throw O(t,o?.callee),t}return l.value},se=ie(ee),le=e=>async(t,n,r,a)=>{
const o=r?Object.assign(r,{async:!0}):{async:!0};let s=t._zod.run({value:n,
issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){
const t=new(a?.Err??e)(s.issues.map((e=>H(e,o,i()))));throw O(t,a?.callee),t}
return s.value},ce=le(ee),ue=e=>(t,n,a)=>{const o=a?{...a,async:!1}:{async:!1
},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise)throw new r
;return s.issues.length?{success:!1,
error:new(e??J)(s.issues.map((e=>H(e,o,i()))))}:{success:!0,data:s.value}
},de=ue(ee),pe=e=>async(t,n,r)=>{const a=r?Object.assign(r,{async:!0}):{async:!0
};let o=t._zod.run({value:n,issues:[]},a)
;return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,
error:new e(o.issues.map((e=>H(e,a,i()))))}:{success:!0,data:o.value}
},he=pe(ee),fe=e=>(t,n,r)=>{const a=r?Object.assign(r,{direction:"backward"}):{
direction:"backward"};return ie(e)(t,n,a)
},me=fe(ee),ge=e=>(t,n,r)=>ie(e)(t,n,r),ve=ge(ee),be=e=>async(t,n,r)=>{
const a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"}
;return le(e)(t,n,a)
},ye=be(ee),Oe=e=>async(t,n,r)=>le(e)(t,n,r),we=Oe(ee),xe=e=>(t,n,r)=>{
const a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"}
;return ue(e)(t,n,a)
},ke=xe(ee),Se=e=>(t,n,r)=>ue(e)(t,n,r),_e=Se(ee),Ae=e=>async(t,n,r)=>{
const a=r?Object.assign(r,{direction:"backward"}):{direction:"backward"}
;return pe(e)(t,n,a)
},Te=Ae(ee),Ee=e=>async(t,n,r)=>pe(e)(t,n,r),Ce=Ee(ee),$e=/^[cC][^\s-]{8,}$/,Pe=/^[0-9a-z]+$/,Ie=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,De=/^[0-9a-vA-V]{20}$/,Me=/^[A-Za-z0-9]{27}$/,Ne=/^[a-zA-Z0-9_-]{21}$/,Re=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Le=/^([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})$/,Be=e=>e?new 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)$/,je=Be(4),Ue=Be(6),ze=Be(7),Ze=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Fe=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,He=Fe
;function Qe(){
return new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}
const Ve=/^(?:(?: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])$/,qe=/^(([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}|:))$/,We=e=>{
const t=T(e??":")
;return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)
},Xe=/^((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])$/,Ge=/^(([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])$/,Ye=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ke=/^[A-Za-z0-9_-]*$/,Je=/^(?=.{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])?)*\.?$/,et=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,tt=/^\+[1-9]\d{6,14}$/,nt="(?:(?:\\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])))",rt=new RegExp(`^${nt}$`)
;function at(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d"
;return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`
}function ot(e){return new RegExp(`^${at(e)}$`)}function it(e){const t=at({
precision:e.precision}),n=["Z"]
;e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)")
;const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${nt}T(?:${r})$`)}
const st=e=>new RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`),lt=/^-?\d+n?$/,ct=/^-?\d+$/,ut=/^-?\d+(?:\.\d+)?$/,dt=/^(?:true|false)$/i,pt=/^null$/i,ht=/^undefined$/i,ft=/^[^A-Z]*$/,mt=/^[^a-z]*$/,gt=/^[0-9a-fA-F]*$/
;function vt(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function bt(e){
return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}
const yt=vt(22,"=="),Ot=bt(22),wt=vt(27,"="),xt=bt(27),kt=vt(43,"="),St=bt(43),_t=vt(64,""),At=bt(64),Tt=vt(86,"=="),Et=bt(86),Ct=Object.freeze(Object.defineProperty({
__proto__:null,base64:Ye,base64url:Ke,bigint:lt,boolean:dt,
browserEmail:/^[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])?)*$/,
cidrv4:Xe,cidrv6:Ge,cuid:$e,cuid2:Pe,date:rt,datetime:it,domain:et,duration:Re,
e164:tt,email:Ze,emoji:Qe,
extendedDuration:/^[-+]?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)?)??$/,
guid:Le,hex:gt,hostname:Je,
html5Email:/^[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])?)*$/,
idnEmail:He,integer:ct,ipv4:Ve,ipv6:qe,ksuid:Me,lowercase:ft,mac:We,
md5_base64:yt,md5_base64url:Ot,md5_hex:/^[0-9a-fA-F]{32}$/,nanoid:Ne,null:pt,
number:ut,
rfc5322Email:/^(([^<>()\[\]\\.,;:\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,}))$/,
sha1_base64:wt,sha1_base64url:xt,sha1_hex:/^[0-9a-fA-F]{40}$/,sha256_base64:kt,
sha256_base64url:St,sha256_hex:/^[0-9a-fA-F]{64}$/,sha384_base64:_t,
sha384_base64url:At,sha384_hex:/^[0-9a-fA-F]{96}$/,sha512_base64:Tt,
sha512_base64url:Et,sha512_hex:/^[0-9a-fA-F]{128}$/,string:st,time:ot,ulid:Ie,
undefined:ht,unicodeEmail:Fe,uppercase:mt,uuid:Be,uuid4:je,uuid6:Ue,uuid7:ze,
xid:De},Symbol.toStringTag,{value:"Module"})),$t=t("$ZodCheck",((e,t)=>{var n
;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])})),Pt={
number:"number",bigint:"bigint",object:"date"
},It=t("$ZodCheckLessThan",((e,t)=>{$t.init(e,t);const n=Pt[typeof t.value]
;e._zod.onattach.push((e=>{
const n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY
;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:"object"==typeof t.value?t.value.getTime():t.value,
input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}
})),Dt=t("$ZodCheckGreaterThan",((e,t)=>{$t.init(e,t);const n=Pt[typeof t.value]
;e._zod.onattach.push((e=>{
const n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY
;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:"object"==typeof t.value?t.value.getTime():t.value,
input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}
})),Mt=t("$ZodCheckMultipleOf",((e,t)=>{$t.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 new Error("Cannot mix number and bigint in multiple_of check.")
;("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===h(n.value,t.value))||n.issues.push({
origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,
inst:e,continue:!t.abort})}})),Nt=t("$ZodCheckNumberFormat",((e,t)=>{
$t.init(e,t),t.format=t.format||"float64"
;const n=t.format?.includes("int"),r=n?"int":"number",[a,o]=I[t.format]
;e._zod.onattach.push((e=>{const r=e._zod.bag
;r.format=t.format,r.minimum=a,r.maximum=o,n&&(r.pattern=ct)
})),e._zod.check=i=>{const s=i.value;if(n){
if(!Number.isInteger(s))return void i.issues.push({expected:r,format:t.format,
code:"invalid_type",continue:!1,input:s,inst:e})
;if(!Number.isSafeInteger(s))return void(s>0?i.issues.push({input:s,
code:"too_big",maximum:Number.MAX_SAFE_INTEGER,
note:"Integers must be within the safe integer range.",inst:e,origin:r,
inclusive:!0,continue:!t.abort}):i.issues.push({input:s,code:"too_small",
minimum:Number.MIN_SAFE_INTEGER,
note:"Integers must be within the safe integer range.",inst:e,origin:r,
inclusive:!0,continue:!t.abort}))}s<a&&i.issues.push({origin:"number",input:s,
code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort
}),s>o&&i.issues.push({origin:"number",input:s,code:"too_big",maximum:o,
inclusive:!0,inst:e,continue:!t.abort})}
})),Rt=t("$ZodCheckBigIntFormat",((e,t)=>{$t.init(e,t);const[n,r]=D[t.format]
;e._zod.onattach.push((e=>{const a=e._zod.bag
;a.format=t.format,a.minimum=n,a.maximum=r})),e._zod.check=a=>{const o=a.value
;o<n&&a.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,
inclusive:!0,inst:e,continue:!t.abort}),o>r&&a.issues.push({origin:"bigint",
input:o,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!t.abort})}
})),Lt=t("$ZodCheckMaxSize",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{
const n=e._zod.bag.maximum??Number.POSITIVE_INFINITY
;t.maximum<n&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=n=>{const r=n.value
;r.size<=t.maximum||n.issues.push({origin:Q(r),code:"too_big",maximum:t.maximum,
inclusive:!0,input:r,inst:e,continue:!t.abort})}
})),Bt=t("$ZodCheckMinSize",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{
const n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY
;t.minimum>n&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=n=>{const r=n.value
;r.size>=t.minimum||n.issues.push({origin:Q(r),code:"too_small",
minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}
})),jt=t("$ZodCheckSizeEquals",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{const n=e._zod.bag
;n.minimum=t.size,n.maximum=t.size,n.size=t.size})),e._zod.check=n=>{
const r=n.value,a=r.size;if(a===t.size)return;const o=a>t.size;n.issues.push({
origin:Q(r),...o?{code:"too_big",maximum:t.size}:{code:"too_small",
minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}
})),Ut=t("$ZodCheckMaxLength",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{
const n=e._zod.bag.maximum??Number.POSITIVE_INFINITY
;t.maximum<n&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=n=>{const r=n.value
;if(r.length<=t.maximum)return;const a=V(r);n.issues.push({origin:a,
code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})
}})),zt=t("$ZodCheckMinLength",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{
const n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY
;t.minimum>n&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=n=>{const r=n.value
;if(r.length>=t.minimum)return;const a=V(r);n.issues.push({origin:a,
code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort
})}})),Zt=t("$ZodCheckLengthEquals",((e,t)=>{var n
;$t.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value
;return!d(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const n=e._zod.bag
;n.minimum=t.length,n.maximum=t.length,n.length=t.length})),e._zod.check=n=>{
const r=n.value,a=r.length;if(a===t.length)return;const o=V(r),i=a>t.length
;n.issues.push({origin:o,...i?{code:"too_big",maximum:t.length}:{
code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,
continue:!t.abort})}})),Ft=t("$ZodCheckStringFormat",((e,t)=>{var n,r
;$t.init(e,t),e._zod.onattach.push((e=>{const n=e._zod.bag
;n.format=t.format,t.pattern&&(n.patterns??(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=()=>{})})),Ht=t("$ZodCheckRegex",((e,t)=>{
Ft.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})}})),Qt=t("$ZodCheckLowerCase",((e,t)=>{
t.pattern??(t.pattern=ft),Ft.init(e,t)})),Vt=t("$ZodCheckUpperCase",((e,t)=>{
t.pattern??(t.pattern=mt),Ft.init(e,t)})),qt=t("$ZodCheckIncludes",((e,t)=>{
$t.init(e,t)
;const n=T(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n)
;t.pattern=r,e._zod.onattach.push((e=>{const t=e._zod.bag
;t.patterns??(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})}})),Wt=t("$ZodCheckStartsWith",((e,t)=>{$t.init(e,t)
;const n=new RegExp(`^${T(t.prefix)}.*`)
;t.pattern??(t.pattern=n),e._zod.onattach.push((e=>{const t=e._zod.bag
;t.patterns??(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})}})),Xt=t("$ZodCheckEndsWith",((e,t)=>{$t.init(e,t)
;const n=new RegExp(`.*${T(t.suffix)}$`)
;t.pattern??(t.pattern=n),e._zod.onattach.push((e=>{const t=e._zod.bag
;t.patterns??(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})}}));function Gt(e,t,n){
e.issues.length&&t.issues.push(...Z(n,e.issues))}
const Yt=t("$ZodCheckProperty",((e,t)=>{$t.init(e,t),e._zod.check=e=>{
const n=t.schema._zod.run({value:e.value[t.property],issues:[]},{})
;if(n instanceof Promise)return n.then((n=>Gt(n,e,t.property)))
;Gt(n,e,t.property)}})),Kt=t("$ZodCheckMimeType",((e,t)=>{$t.init(e,t)
;const 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})}
})),Jt=t("$ZodCheckOverwrite",((e,t)=>{$t.init(e,t),e._zod.check=e=>{
e.value=t.tx(e.value)}}));class en{constructor(e=[]){
this.content=[],this.indent=0,this&&(this.args=e)}indented(e){
this.indent+=1,e(this),this.indent-=1}write(e){
if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{
execution:"async"})
;const t=e.split("\n").filter((e=>e)),n=Math.min(...t.map((e=>e.length-e.trimStart().length))),r=t.map((e=>e.slice(n))).map((e=>" ".repeat(2*this.indent)+e))
;for(const a of r)this.content.push(a)}compile(){const e=Function,t=this?.args
;return new e(...t,[...(this?.content??[""]).map((e=>` ${e}`))].join("\n"))}}
const tn={major:4,minor:3,patch:5},nn=t("$ZodType",((e,t)=>{var n
;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=tn
;const a=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&a.unshift(e)
;for(const r of a)for(const t of r._zod.onattach)t(e)
;if(0===a.length)(n=e._zod).deferred??(n.deferred=[]),
e._zod.deferred?.push((()=>{e._zod.run=e._zod.parse}));else{const t=(e,t,n)=>{
let a,o=z(e);for(const i of t){if(i._zod.def.when){
if(!i._zod.def.when(e))continue}else if(o)continue
;const t=e.issues.length,s=i._zod.check(e)
;if(s instanceof Promise&&!1===n?.async)throw new r
;if(a||s instanceof Promise)a=(a??Promise.resolve()).then((async()=>{await s
;e.issues.length!==t&&(o||(o=z(e,t)))}));else{if(e.issues.length===t)continue
;o||(o=z(e,t))}}return a?a.then((()=>e)):e},n=(n,o,i)=>{
if(z(n))return n.aborted=!0,n;const s=t(o,a,i);if(s instanceof Promise){
if(!1===i.async)throw new r;return s.then((t=>e._zod.parse(t,i)))}
return e._zod.parse(s,i)};e._zod.run=(o,i)=>{
if(i.skipChecks)return e._zod.parse(o,i);if("backward"===i.direction){
const t=e._zod.parse({value:o.value,issues:[]},{...i,skipChecks:!0})
;return t instanceof Promise?t.then((e=>n(e,o,i))):n(t,o,i)}
const s=e._zod.parse(o,i);if(s instanceof Promise){if(!1===i.async)throw new r
;return s.then((e=>t(e,a,i)))}return t(s,a,i)}}m(e,"~standard",(()=>({
validate:t=>{try{const n=de(e,t);return n.success?{value:n.data}:{
issues:n.error?.issues}}catch(n){return he(e,t).then((e=>e.success?{value:e.data
}:{issues:e.error?.issues}))}},vendor:"zod",version:1})))
})),rn=t("$ZodString",((e,t)=>{
nn.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??st(e._zod.bag),
e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(a){}
return"string"==typeof n.value||n.issues.push({expected:"string",
code:"invalid_type",input:n.value,inst:e}),n}
})),an=t("$ZodStringFormat",((e,t)=>{Ft.init(e,t),rn.init(e,t)
})),on=t("$ZodGUID",((e,t)=>{t.pattern??(t.pattern=Le),an.init(e,t)
})),sn=t("$ZodUUID",((e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,
v6:6,v7:7,v8:8}[t.version]
;if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`)
;t.pattern??(t.pattern=Be(e))}else t.pattern??(t.pattern=Be());an.init(e,t)
})),ln=t("$ZodEmail",((e,t)=>{t.pattern??(t.pattern=Ze),an.init(e,t)
})),cn=t("$ZodURL",((e,t)=>{an.init(e,t),e._zod.check=n=>{try{
const r=n.value.trim(),a=new URL(r)
;return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.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(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||n.issues.push({
code:"invalid_format",format:"url",note:"Invalid protocol",
pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort
})),void(t.normalize?n.value=a.href:n.value=r)}catch(r){n.issues.push({
code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}
})),un=t("$ZodEmoji",((e,t)=>{t.pattern??(t.pattern=Qe()),an.init(e,t)
})),dn=t("$ZodNanoID",((e,t)=>{t.pattern??(t.pattern=Ne),an.init(e,t)
})),pn=t("$ZodCUID",((e,t)=>{t.pattern??(t.pattern=$e),an.init(e,t)
})),hn=t("$ZodCUID2",((e,t)=>{t.pattern??(t.pattern=Pe),an.init(e,t)
})),fn=t("$ZodULID",((e,t)=>{t.pattern??(t.pattern=Ie),an.init(e,t)
})),mn=t("$ZodXID",((e,t)=>{t.pattern??(t.pattern=De),an.init(e,t)
})),gn=t("$ZodKSUID",((e,t)=>{t.pattern??(t.pattern=Me),an.init(e,t)
})),vn=t("$ZodISODateTime",((e,t)=>{t.pattern??(t.pattern=it(t)),an.init(e,t)
})),bn=t("$ZodISODate",((e,t)=>{t.pattern??(t.pattern=rt),an.init(e,t)
})),yn=t("$ZodISOTime",((e,t)=>{t.pattern??(t.pattern=ot(t)),an.init(e,t)
})),On=t("$ZodISODuration",((e,t)=>{t.pattern??(t.pattern=Re),an.init(e,t)
})),wn=t("$ZodIPv4",((e,t)=>{
t.pattern??(t.pattern=Ve),an.init(e,t),e._zod.bag.format="ipv4"
})),xn=t("$ZodIPv6",((e,t)=>{
t.pattern??(t.pattern=qe),an.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})}}
})),kn=t("$ZodMAC",((e,t)=>{t.pattern??(t.pattern=We(t.delimiter)),an.init(e,t),
e._zod.bag.format="mac"})),Sn=t("$ZodCIDRv4",((e,t)=>{t.pattern??(t.pattern=Xe),
an.init(e,t)})),_n=t("$ZodCIDRv6",((e,t)=>{
t.pattern??(t.pattern=Ge),an.init(e,t),e._zod.check=n=>{
const r=n.value.split("/");try{if(2!==r.length)throw new Error;const[e,t]=r
;if(!t)throw new Error;const n=Number(t);if(`${n}`!==t)throw new Error
;if(n<0||n>128)throw new Error;new URL(`http://[${e}]`)}catch{n.issues.push({
code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}
}));function An(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{
return atob(e),!0}catch{return!1}}const Tn=t("$ZodBase64",((e,t)=>{
t.pattern??(t.pattern=Ye),
an.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{
An(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,
inst:e,continue:!t.abort})}}));function En(e){if(!Ke.test(e))return!1
;const t=e.replace(/[-_]/g,(e=>"-"===e?"+":"/"))
;return An(t.padEnd(4*Math.ceil(t.length/4),"="))}
const Cn=t("$ZodBase64URL",((e,t)=>{
t.pattern??(t.pattern=Ke),an.init(e,t),e._zod.bag.contentEncoding="base64url",
e._zod.check=n=>{En(n.value)||n.issues.push({code:"invalid_format",
format:"base64url",input:n.value,inst:e,continue:!t.abort})}
})),$n=t("$ZodE164",((e,t)=>{t.pattern??(t.pattern=tt),an.init(e,t)}))
;function Pn(e,t=null){try{const n=e.split(".");if(3!==n.length)return!1
;const[r]=n;if(!r)return!1;const a=JSON.parse(atob(r))
;return(!("typ"in a)||"JWT"===a?.typ)&&(!!a.alg&&(!t||"alg"in a&&a.alg===t))
}catch{return!1}}const In=t("$ZodJWT",((e,t)=>{an.init(e,t),e._zod.check=n=>{
Pn(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",
input:n.value,inst:e,continue:!t.abort})}
})),Dn=t("$ZodCustomStringFormat",((e,t)=>{an.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})}})),Mn=t("$ZodNumber",((e,t)=>{
nn.init(e,t),e._zod.pattern=e._zod.bag.pattern??ut,e._zod.parse=(n,r)=>{
if(t.coerce)try{n.value=Number(n.value)}catch(i){}const a=n.value
;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return n
;const o="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0
;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,
...o?{received:o}:{}}),n}})),Nn=t("$ZodNumberFormat",((e,t)=>{
Nt.init(e,t),Mn.init(e,t)})),Rn=t("$ZodBoolean",((e,t)=>{
nn.init(e,t),e._zod.pattern=dt,e._zod.parse=(n,r)=>{if(t.coerce)try{
n.value=Boolean(n.value)}catch(o){}const a=n.value
;return"boolean"==typeof a||n.issues.push({expected:"boolean",
code:"invalid_type",input:a,inst:e}),n}})),Ln=t("$ZodBigInt",((e,t)=>{
nn.init(e,t),e._zod.pattern=lt,e._zod.parse=(n,r)=>{if(t.coerce)try{
n.value=BigInt(n.value)}catch(a){}
return"bigint"==typeof n.value||n.issues.push({expected:"bigint",
code:"invalid_type",input:n.value,inst:e}),n}
})),Bn=t("$ZodBigIntFormat",((e,t)=>{Rt.init(e,t),Ln.init(e,t)
})),jn=t("$ZodSymbol",((e,t)=>{nn.init(e,t),e._zod.parse=(t,n)=>{const r=t.value
;return"symbol"==typeof r||t.issues.push({expected:"symbol",code:"invalid_type",
input:r,inst:e}),t}})),Un=t("$ZodUndefined",((e,t)=>{
nn.init(e,t),e._zod.pattern=ht,
e._zod.values=new Set([void 0]),e._zod.optin="optional",
e._zod.optout="optional",e._zod.parse=(t,n)=>{const r=t.value
;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",
input:r,inst:e}),t}})),zn=t("$ZodNull",((e,t)=>{
nn.init(e,t),e._zod.pattern=pt,e._zod.values=new Set([null]),
e._zod.parse=(t,n)=>{const r=t.value;return null===r||t.issues.push({
expected:"null",code:"invalid_type",input:r,inst:e}),t}
})),Zn=t("$ZodAny",((e,t)=>{nn.init(e,t),e._zod.parse=e=>e
})),Fn=t("$ZodUnknown",((e,t)=>{nn.init(e,t),e._zod.parse=e=>e
})),Hn=t("$ZodNever",((e,t)=>{nn.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({
expected:"never",code:"invalid_type",input:t.value,inst:e}),t)
})),Qn=t("$ZodVoid",((e,t)=>{nn.init(e,t),e._zod.parse=(t,n)=>{const r=t.value
;return void 0===r||t.issues.push({expected:"void",code:"invalid_type",input:r,
inst:e}),t}})),Vn=t("$ZodDate",((e,t)=>{nn.init(e,t),e._zod.parse=(n,r)=>{
if(t.coerce)try{n.value=new Date(n.value)}catch(i){}
const a=n.value,o=a instanceof Date
;return o&&!Number.isNaN(a.getTime())||n.issues.push({expected:"date",
code:"invalid_type",input:a,...o?{received:"Invalid Date"}:{},inst:e}),n}}))
;function qn(e,t,n){
e.issues.length&&t.issues.push(...Z(n,e.issues)),t.value[n]=e.value}
const Wn=t("$ZodArray",((e,t)=>{nn.init(e,t),e._zod.parse=(n,r)=>{
const a=n.value;if(!Array.isArray(a))return n.issues.push({expected:"array",
code:"invalid_type",input:a,inst:e}),n;n.value=Array(a.length);const o=[]
;for(let e=0;e<a.length;e++){const i=a[e],s=t.element._zod.run({value:i,
issues:[]},r);s instanceof Promise?o.push(s.then((t=>qn(t,n,e)))):qn(s,n,e)}
return o.length?Promise.all(o).then((()=>n)):n}}));function Xn(e,t,n,r,a){
if(e.issues.length){if(a&&!(n in r))return;t.issues.push(...Z(n,e.issues))}
void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Gn(e){
const t=Object.keys(e.shape)
;for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`)
;const n=P(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,
optionalKeys:new Set(n)}}function Yn(e,t,n,r,a,o){
const i=[],s=a.keySet,l=a.catchall._zod,c=l.def.type,u="optional"===l.optout
;for(const d in t){if(s.has(d))continue;if("never"===c){i.push(d);continue}
const a=l.run({value:t[d],issues:[]},r)
;a instanceof Promise?e.push(a.then((e=>Xn(e,n,d,t,u)))):Xn(a,n,d,t,u)}
return i.length&&n.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:o
}),e.length?Promise.all(e).then((()=>n)):n}const Kn=t("$ZodObject",((e,t)=>{
nn.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){
const e=t.shape;Object.defineProperty(t,"shape",{get:()=>{const n={...e}
;return Object.defineProperty(t,"shape",{value:n}),n}})}const r=u((()=>Gn(t)))
;m(e._zod,"propValues",(()=>{const e=t.shape,n={};for(const t in e){
const r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set)
;for(const e of r.values)n[t].add(e)}}return n}));const a=w,o=t.catchall;let i
;e._zod.parse=(t,n)=>{i??(i=r.value);const s=t.value
;if(!a(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,
inst:e}),t;t.value={};const l=[],c=i.shape;for(const e of i.keys){
const r=c[e],a="optional"===r._zod.optout,o=r._zod.run({value:s[e],issues:[]},n)
;o instanceof Promise?l.push(o.then((n=>Xn(n,t,e,s,a)))):Xn(o,t,e,s,a)}
return o?Yn(l,s,t,n,r.value,e):l.length?Promise.all(l).then((()=>t)):t}
})),Jn=t("$ZodObjectJIT",((e,t)=>{Kn.init(e,t)
;const n=e._zod.parse,r=u((()=>Gn(t)));let a
;const i=w,s=!o.jitless,l=s&&x.value,c=t.catchall;let d;e._zod.parse=(o,u)=>{
d??(d=r.value);const p=o.value
;return i(p)?s&&l&&!1===u?.async&&!0!==u.jitless?(a||(a=(e=>{
const t=new en(["shape","payload","ctx"]),n=r.value,a=e=>{const t=b(e)
;return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`}
;t.write("const input = payload.value;");const o=Object.create(null);let i=0
;for(const r of n.keys)o[r]="key_"+i++;t.write("const newResult = {};")
;for(const r of n.keys){
const n=o[r],i=b(r),s=e[r],l="optional"===s?._zod?.optout
;t.write(`const ${n} = ${a(r)};`),
l?t.write(`\n if (${n}.issues.length) {\n if (${i} in input) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${i}, ...iss.path] : [${i}]\n })));\n }\n }\n \n if (${n}.value === undefined) {\n if (${i} in input) {\n newResult[${i}] = undefined;\n }\n } else {\n newResult[${i}] = ${n}.value;\n }\n \n `):t.write(`\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${i}, ...iss.path] : [${i}]\n })));\n }\n \n if (${n}.value === undefined) {\n if (${i} in input) {\n newResult[${i}] = undefined;\n }\n } else {\n newResult[${i}] = ${n}.value;\n }\n \n `)
}t.write("payload.value = newResult;"),t.write("return payload;")
;const s=t.compile();return(t,n)=>s(e,t,n)
})(t.shape)),o=a(o,u),c?Yn([],p,o,u,d,e):o):n(o,u):(o.issues.push({
expected:"object",code:"invalid_type",input:p,inst:e}),o)}}))
;function er(e,t,n,r){
for(const o of e)if(0===o.issues.length)return t.value=o.value,t
;const a=e.filter((e=>!z(e)))
;return 1===a.length?(t.value=a[0].value,a[0]):(t.issues.push({
code:"invalid_union",input:t.value,inst:n,
errors:e.map((e=>e.issues.map((e=>H(e,r,i())))))}),t)}
const tr=t("$ZodUnion",((e,t)=>{
nn.init(e,t),m(e._zod,"optin",(()=>t.options.some((e=>"optional"===e._zod.optin))?"optional":void 0)),
m(e._zod,"optout",(()=>t.options.some((e=>"optional"===e._zod.optout))?"optional":void 0)),
m(e._zod,"values",(()=>{
if(t.options.every((e=>e._zod.values)))return new Set(t.options.flatMap((e=>Array.from(e._zod.values))))
})),m(e._zod,"pattern",(()=>{if(t.options.every((e=>e._zod.pattern))){
const e=t.options.map((e=>e._zod.pattern))
;return new RegExp(`^(${e.map((e=>p(e.source))).join("|")})$`)}}))
;const n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,o)=>{
if(n)return r(a,o);let i=!1;const s=[];for(const e of t.options){
const t=e._zod.run({value:a.value,issues:[]},o)
;if(t instanceof Promise)s.push(t),i=!0;else{if(0===t.issues.length)return t
;s.push(t)}}return i?Promise.all(s).then((t=>er(t,a,e,o))):er(s,a,e,o)}}))
;function nr(e,t,n,r){const a=e.filter((e=>0===e.issues.length))
;return 1===a.length?(t.value=a[0].value,t):(0===a.length?t.issues.push({
code:"invalid_union",input:t.value,inst:n,
errors:e.map((e=>e.issues.map((e=>H(e,r,i())))))}):t.issues.push({
code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}
const rr=t("$ZodXor",((e,t)=>{tr.init(e,t),t.inclusive=!1
;const n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(a,o)=>{
if(n)return r(a,o);let i=!1;const s=[];for(const e of t.options){
const t=e._zod.run({value:a.value,issues:[]},o);t instanceof Promise?(s.push(t),
i=!0):s.push(t)}return i?Promise.all(s).then((t=>nr(t,a,e,o))):nr(s,a,e,o)}
})),ar=t("$ZodDiscriminatedUnion",((e,t)=>{t.inclusive=!1,tr.init(e,t)
;const n=e._zod.parse;m(e._zod,"propValues",(()=>{const e={}
;for(const n of t.options){const r=n._zod.propValues
;if(!r||0===Object.keys(r).length)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`)
;for(const[t,n]of Object.entries(r)){e[t]||(e[t]=new Set)
;for(const r of n)e[t].add(r)}}return e}));const r=u((()=>{
const e=t.options,n=new Map;for(const r of e){
const e=r._zod.propValues?.[t.discriminator]
;if(!e||0===e.size)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`)
;for(const t of e){
if(n.has(t))throw new Error(`Duplicate discriminator value "${String(t)}"`)
;n.set(t,r)}}return n}));e._zod.parse=(a,o)=>{const i=a.value
;if(!w(i))return a.issues.push({code:"invalid_type",expected:"object",input:i,
inst:e}),a;const s=r.value.get(i?.[t.discriminator])
;return s?s._zod.run(a,o):t.unionFallback?n(a,o):(a.issues.push({
code:"invalid_union",errors:[],note:"No matching discriminator",
discriminator:t.discriminator,input:i,path:[t.discriminator],inst:e}),a)}
})),or=t("$ZodIntersection",((e,t)=>{nn.init(e,t),e._zod.parse=(e,n)=>{
const r=e.value,a=t.left._zod.run({value:r,issues:[]},n),o=t.right._zod.run({
value:r,issues:[]},n)
;return a instanceof Promise||o instanceof Promise?Promise.all([a,o]).then((([t,n])=>sr(e,t,n))):sr(e,a,o)
}}));function ir(e,t){if(e===t)return{valid:!0,data:e}
;if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e}
;if(k(e)&&k(t)){
const n=Object.keys(t),r=Object.keys(e).filter((e=>-1!==n.indexOf(e))),a={...e,
...t};for(const o of r){const n=ir(e[o],t[o]);if(!n.valid)return{valid:!1,
mergeErrorPath:[o,...n.mergeErrorPath]};a[o]=n.data}return{valid:!0,data:a}}
if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,
mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const a=ir(e[r],t[r])
;if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]}
;n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}
function sr(e,t,n){const r=new Map;let a
;for(const s of t.issues)if("unrecognized_keys"===s.code){a??(a=s)
;for(const e of s.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(s)
;for(const s of n.issues)if("unrecognized_keys"===s.code)for(const e of s.keys)r.has(e)||r.set(e,{}),
r.get(e).r=!0;else e.issues.push(s)
;const o=[...r].filter((([,e])=>e.l&&e.r)).map((([e])=>e))
;if(o.length&&a&&e.issues.push({...a,keys:o}),z(e))return e
;const i=ir(t.value,n.value)
;if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`)
;return e.value=i.data,e}const lr=t("$ZodTuple",((e,t)=>{nn.init(e,t)
;const n=t.items;e._zod.parse=(r,a)=>{const o=r.value
;if(!Array.isArray(o))return r.issues.push({input:o,inst:e,expected:"tuple",
code:"invalid_type"}),r;r.value=[]
;const i=[],s=[...n].reverse().findIndex((e=>"optional"!==e._zod.optin)),l=-1===s?0:n.length-s
;if(!t.rest){const t=o.length>n.length,a=o.length<l-1
;if(t||a)return r.issues.push({...t?{code:"too_big",maximum:n.length,
inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"
}),r}let c=-1;for(const e of n){if(c++,c>=o.length&&c>=l)continue
;const t=e._zod.run({value:o[c],issues:[]},a)
;t instanceof Promise?i.push(t.then((e=>cr(e,r,c)))):cr(t,r,c)}if(t.rest){
const e=o.slice(n.length);for(const n of e){c++;const e=t.rest._zod.run({
value:n,issues:[]},a)
;e instanceof Promise?i.push(e.then((e=>cr(e,r,c)))):cr(e,r,c)}}
return i.length?Promise.all(i).then((()=>r)):r}}));function cr(e,t,n){
e.issues.length&&t.issues.push(...Z(n,e.issues)),t.value[n]=e.value}
const ur=t("$ZodRecord",((e,t)=>{nn.init(e,t),e._zod.parse=(n,r)=>{
const a=n.value;if(!k(a))return n.issues.push({expected:"record",
code:"invalid_type",input:a,inst:e}),n;const o=[],s=t.keyType._zod.values;if(s){
n.value={};const i=new Set
;for(const e of s)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){
i.add("number"==typeof e?e.toString():e);const s=t.valueType._zod.run({
value:a[e],issues:[]},r);s instanceof Promise?o.push(s.then((t=>{
t.issues.length&&n.issues.push(...Z(e,t.issues)),n.value[e]=t.value
}))):(s.issues.length&&n.issues.push(...Z(e,s.issues)),n.value[e]=s.value)}let l
;for(const e in a)i.has(e)||(l=l??[],l.push(e));l&&l.length>0&&n.issues.push({
code:"unrecognized_keys",input:a,inst:e,keys:l})}else{n.value={}
;for(const s of Reflect.ownKeys(a)){if("__proto__"===s)continue
;let l=t.keyType._zod.run({value:s,issues:[]},r)
;if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently")
;if("string"==typeof s&&ut.test(s)&&l.issues.length&&l.issues.some((e=>"invalid_type"===e.code&&"number"===e.expected))){
const e=t.keyType._zod.run({value:Number(s),issues:[]},r)
;if(e instanceof Promise)throw new Error("Async schemas not supported in object keys currently")
;0===e.issues.length&&(l=e)}if(l.issues.length){
"loose"===t.mode?n.value[s]=a[s]:n.issues.push({code:"invalid_key",
origin:"record",issues:l.issues.map((e=>H(e,r,i()))),input:s,path:[s],inst:e})
;continue}const c=t.valueType._zod.run({value:a[s],issues:[]},r)
;c instanceof Promise?o.push(c.then((e=>{
e.issues.length&&n.issues.push(...Z(s,e.issues)),n.value[l.value]=e.value
}))):(c.issues.length&&n.issues.push(...Z(s,c.issues)),n.value[l.value]=c.value)
}}return o.length?Promise.all(o).then((()=>n)):n}})),dr=t("$ZodMap",((e,t)=>{
nn.init(e,t),e._zod.parse=(n,r)=>{const a=n.value
;if(!(a instanceof Map))return n.issues.push({expected:"map",
code:"invalid_type",input:a,inst:e}),n;const o=[];n.value=new Map
;for(const[i,s]of a){const l=t.keyType._zod.run({value:i,issues:[]
},r),c=t.valueType._zod.run({value:s,issues:[]},r)
;l instanceof Promise||c instanceof Promise?o.push(Promise.all([l,c]).then((([t,o])=>{
pr(t,o,n,i,a,e,r)}))):pr(l,c,n,i,a,e,r)}
return o.length?Promise.all(o).then((()=>n)):n}}));function pr(e,t,n,r,a,o,s){
e.issues.length&&(_.has(typeof r)?n.issues.push(...Z(r,e.issues)):n.issues.push({
code:"invalid_key",origin:"map",input:a,inst:o,
issues:e.issues.map((e=>H(e,s,i())))
})),t.issues.length&&(_.has(typeof r)?n.issues.push(...Z(r,t.issues)):n.issues.push({
origin:"map",code:"invalid_element",input:a,inst:o,key:r,
issues:t.issues.map((e=>H(e,s,i())))})),n.value.set(e.value,t.value)}
const hr=t("$ZodSet",((e,t)=>{nn.init(e,t),e._zod.parse=(n,r)=>{const a=n.value
;if(!(a instanceof Set))return n.issues.push({input:a,inst:e,expected:"set",
code:"invalid_type"}),n;const o=[];n.value=new Set;for(const e of a){
const a=t.valueType._zod.run({value:e,issues:[]},r)
;a instanceof Promise?o.push(a.then((e=>fr(e,n)))):fr(a,n)}
return o.length?Promise.all(o).then((()=>n)):n}}));function fr(e,t){
e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}
const mr=t("$ZodEnum",((e,t)=>{nn.init(e,t);const n=s(t.entries),r=new Set(n)
;e._zod.values=r,
e._zod.pattern=new RegExp(`^(${n.filter((e=>_.has(typeof e))).map((e=>"string"==typeof e?T(e):e.toString())).join("|")})$`),
e._zod.parse=(t,a)=>{const o=t.value;return r.has(o)||t.issues.push({
code:"invalid_value",values:n,input:o,inst:e}),t}
})),gr=t("$ZodLiteral",((e,t)=>{
if(nn.init(e,t),0===t.values.length)throw new Error("Cannot create literal schema with no valid values")
;const n=new Set(t.values)
;e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map((e=>"string"==typeof e?T(e):e?T(e.toString()):String(e))).join("|")})$`),
e._zod.parse=(r,a)=>{const o=r.value;return n.has(o)||r.issues.push({
code:"invalid_value",values:t.values,input:o,inst:e}),r}
})),vr=t("$ZodFile",((e,t)=>{nn.init(e,t),e._zod.parse=(t,n)=>{const r=t.value
;return r instanceof File||t.issues.push({expected:"file",code:"invalid_type",
input:r,inst:e}),t}})),br=t("$ZodTransform",((e,t)=>{
nn.init(e,t),e._zod.parse=(n,o)=>{
if("backward"===o.direction)throw new a(e.constructor.name)
;const i=t.transform(n.value,n);if(o.async){
return(i instanceof Promise?i:Promise.resolve(i)).then((e=>(n.value=e,n)))}
if(i instanceof Promise)throw new r;return n.value=i,n}}));function yr(e,t){
return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}
const Or=t("$ZodOptional",((e,t)=>{
nn.init(e,t),e._zod.optin="optional",e._zod.optout="optional",
m(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0)),
m(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern
;return e?new RegExp(`^(${p(e.source)})?$`):void 0})),e._zod.parse=(e,n)=>{
if("optional"===t.innerType._zod.optin){const r=t.innerType._zod.run(e,n)
;return r instanceof Promise?r.then((t=>yr(t,e.value))):yr(r,e.value)}
return void 0===e.value?e:t.innerType._zod.run(e,n)}
})),wr=t("$ZodExactOptional",((e,t)=>{
Or.init(e,t),m(e._zod,"values",(()=>t.innerType._zod.values)),
m(e._zod,"pattern",(()=>t.innerType._zod.pattern)),
e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)})),xr=t("$ZodNullable",((e,t)=>{
nn.init(e,t),
m(e._zod,"optin",(()=>t.innerType._zod.optin)),m(e._zod,"optout",(()=>t.innerType._zod.optout)),
m(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern
;return e?new RegExp(`^(${p(e.source)}|null)$`):void 0
})),m(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0)),
e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)
})),kr=t("$ZodDefault",((e,t)=>{
nn.init(e,t),e._zod.optin="optional",m(e._zod,"values",(()=>t.innerType._zod.values)),
e._zod.parse=(e,n)=>{
if("backward"===n.direction)return t.innerType._zod.run(e,n)
;if(void 0===e.value)return e.value=t.defaultValue,e
;const r=t.innerType._zod.run(e,n)
;return r instanceof Promise?r.then((e=>Sr(e,t))):Sr(r,t)}}));function Sr(e,t){
return void 0===e.value&&(e.value=t.defaultValue),e}
const _r=t("$ZodPrefault",((e,t)=>{
nn.init(e,t),e._zod.optin="optional",m(e._zod,"values",(()=>t.innerType._zod.values)),
e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),
t.innerType._zod.run(e,n))})),Ar=t("$ZodNonOptional",((e,t)=>{
nn.init(e,t),m(e._zod,"values",(()=>{const e=t.innerType._zod.values
;return e?new Set([...e].filter((e=>void 0!==e))):void 0
})),e._zod.parse=(n,r)=>{const a=t.innerType._zod.run(n,r)
;return a instanceof Promise?a.then((t=>Tr(t,e))):Tr(a,e)}}));function Tr(e,t){
return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",
expected:"nonoptional",input:e.value,inst:t}),e}
const Er=t("$ZodSuccess",((e,t)=>{nn.init(e,t),e._zod.parse=(e,n)=>{
if("backward"===n.direction)throw new a("ZodSuccess")
;const r=t.innerType._zod.run(e,n)
;return r instanceof Promise?r.then((t=>(e.value=0===t.issues.length,
e))):(e.value=0===r.issues.length,e)}})),Cr=t("$ZodCatch",((e,t)=>{nn.init(e,t),
m(e._zod,"optin",(()=>t.innerType._zod.optin)),
m(e._zod,"optout",(()=>t.innerType._zod.optout)),
m(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,n)=>{
if("backward"===n.direction)return t.innerType._zod.run(e,n)
;const 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=>H(e,n,i())))},input:e.value
}),e.issues=[]),e))):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({
...e,error:{issues:r.issues.map((e=>H(e,n,i())))},input:e.value
}),e.issues=[]),e)}})),$r=t("$ZodNaN",((e,t)=>{
nn.init(e,t),e._zod.parse=(t,n)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({
input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)
})),Pr=t("$ZodPipe",((e,t)=>{
nn.init(e,t),m(e._zod,"values",(()=>t.in._zod.values)),
m(e._zod,"optin",(()=>t.in._zod.optin)),
m(e._zod,"optout",(()=>t.out._zod.optout)),
m(e._zod,"propValues",(()=>t.in._zod.propValues)),e._zod.parse=(e,n)=>{
if("backward"===n.direction){const r=t.out._zod.run(e,n)
;return r instanceof Promise?r.then((e=>Ir(e,t.in,n))):Ir(r,t.in,n)}
const r=t.in._zod.run(e,n)
;return r instanceof Promise?r.then((e=>Ir(e,t.out,n))):Ir(r,t.out,n)}}))
;function Ir(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({
value:e.value,issues:e.issues},n)}const Dr=t("$ZodCodec",((e,t)=>{
nn.init(e,t),m(e._zod,"values",(()=>t.in._zod.values)),
m(e._zod,"optin",(()=>t.in._zod.optin)),
m(e._zod,"optout",(()=>t.out._zod.optout)),
m(e._zod,"propValues",(()=>t.in._zod.propValues)),e._zod.parse=(e,n)=>{
if("forward"===(n.direction||"forward")){const r=t.in._zod.run(e,n)
;return r instanceof Promise?r.then((e=>Mr(e,t,n))):Mr(r,t,n)}{
const r=t.out._zod.run(e,n)
;return r instanceof Promise?r.then((e=>Mr(e,t,n))):Mr(r,t,n)}}}))
;function Mr(e,t,n){if(e.issues.length)return e.aborted=!0,e
;if("forward"===(n.direction||"forward")){const r=t.transform(e.value,e)
;return r instanceof Promise?r.then((r=>Nr(e,r,t.out,n))):Nr(e,r,t.out,n)}{
const r=t.reverseTransform(e.value,e)
;return r instanceof Promise?r.then((r=>Nr(e,r,t.in,n))):Nr(e,r,t.in,n)}}
function Nr(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({
value:t,issues:e.issues},r)}const Rr=t("$ZodReadonly",((e,t)=>{
nn.init(e,t),m(e._zod,"propValues",(()=>t.innerType._zod.propValues)),
m(e._zod,"values",(()=>t.innerType._zod.values)),
m(e._zod,"optin",(()=>t.innerType?._zod?.optin)),
m(e._zod,"optout",(()=>t.innerType?._zod?.optout)),e._zod.parse=(e,n)=>{
if("backward"===n.direction)return t.innerType._zod.run(e,n)
;const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(Lr):Lr(r)}
}));function Lr(e){return e.value=Object.freeze(e.value),e}
const Br=t("$ZodTemplateLiteral",((e,t)=>{nn.init(e,t);const n=[]
;for(const r of t.parts)if("object"==typeof r&&null!==r){
if(!r._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...r._zod.traits].shift()}`)
;const e=r._zod.pattern instanceof RegExp?r._zod.pattern.source:r._zod.pattern
;if(!e)throw new Error(`Invalid template literal part: ${r._zod.traits}`)
;const t=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length
;n.push(e.slice(t,a))}else{
if(null!==r&&!A.has(typeof r))throw new Error(`Invalid template literal part: ${r}`)
;n.push(T(`${r}`))}
e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(n,r)=>"string"!=typeof n.value?(n.issues.push({
input:n.value,inst:e,expected:"string",code:"invalid_type"
}),n):(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)})),jr=t("$ZodFunction",((e,t)=>(nn.init(e,t),
e._def=t,e._zod.def=t,e.implement=t=>{
if("function"!=typeof t)throw new Error("implement() must be called with a function")
;return function(...n){
const r=e._def.input?se(e._def.input,n):n,a=Reflect.apply(t,this,r)
;return e._def.output?se(e._def.output,a):a}},e.implementAsync=t=>{
if("function"!=typeof t)throw new Error("implementAsync() must be called with a function")
;return async function(...n){
const r=e._def.input?await ce(e._def.input,n):n,a=await Reflect.apply(t,this,r)
;return e._def.output?await ce(e._def.output,a):a}},e._zod.parse=(t,n)=>{
if("function"!=typeof t.value)return t.issues.push({code:"invalid_type",
expected:"function",input:t.value,inst:e}),t
;const r=e._def.output&&"promise"===e._def.output._zod.def.type
;return t.value=r?e.implementAsync(t.value):e.implement(t.value),t
},e.input=(...t)=>{const n=e.constructor;return Array.isArray(t[0])?new n({
type:"function",input:new lr({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=>new(0,e.constructor)({type:"function",input:e._def.input,output:t
}),e))),Ur=t("$ZodPromise",((e,t)=>{
nn.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then((e=>t.innerType._zod.run({
value:e,issues:[]},n)))})),zr=t("$ZodLazy",((e,t)=>{
nn.init(e,t),m(e._zod,"innerType",(()=>t.getter())),
m(e._zod,"pattern",(()=>e._zod.innerType?._zod?.pattern)),
m(e._zod,"propValues",(()=>e._zod.innerType?._zod?.propValues)),
m(e._zod,"optin",(()=>e._zod.innerType?._zod?.optin??void 0)),
m(e._zod,"optout",(()=>e._zod.innerType?._zod?.optout??void 0)),
e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)
})),Zr=t("$ZodCustom",((e,t)=>{
$t.init(e,t),nn.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{
const r=n.value,a=t.fn(r)
;if(a instanceof Promise)return a.then((t=>Fr(t,n,r,e)));Fr(a,n,r,e)}}))
;function Fr(e,t,n,r){if(!e){const 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(W(e))}}
const Hr=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",
verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",
verb:"أن يحوي"}};function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${a}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${a}`
}case"invalid_value":
return 1===e.values.length?`مدخلات غير مقبولة: يفترض إدخال ${$(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`:"ends_with"===t.format?`نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"`:"includes"===t.format?`نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"`:"regex"===t.format?`نَص غير مقبول: يجب أن يطابق النمط ${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?"ة":""}: ${l(e.keys,"، ")}`
;case"invalid_key":return`معرف غير مقبول في ${e.origin}`;case"invalid_union":
default:return"مدخل غير مقبول";case"invalid_element":
return`مدخل غير مقبول في ${e.origin}`}}};const Qr=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${a}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${a}`
}case"invalid_value":
return 1===e.values.length?`Yanlış dəyər: gözlənilən ${$(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Yanlış mətn: "${t.prefix}" ilə başlamalıdır`:"ends_with"===t.format?`Yanlış mətn: "${t.suffix}" ilə bitməlidir`:"includes"===t.format?`Yanlış mətn: "${t.includes}" daxil olmalıdır`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`${e.origin} daxilində yanlış açar`
;case"invalid_union":default:return"Yanlış dəyər";case"invalid_element":
return`${e.origin} daxilində yanlış dəyər`}}};function Vr(e,t,n,r){
const a=Math.abs(e),o=a%10,i=a%100;return i>=11&&i<=19?r:1===o?t:o>=2&&o<=4?n:r}
const qr=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${a}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${a}`
}case"invalid_value":
return 1===e.values.length?`Няправільны ўвод: чакалася ${$(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${l(e.values,"|")}`
;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){
const t=Vr(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":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){
const t=Vr(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":{const t=e
;return"starts_with"===t.format?`Няправільны радок: павінен пачынацца з "${t.prefix}"`:"ends_with"===t.format?`Няправільны радок: павінен заканчвацца на "${t.suffix}"`:"includes"===t.format?`Няправільны радок: павінен змяшчаць "${t.includes}"`:"regex"===t.format?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`
}case"not_multiple_of":
return`Няправільны лік: павінен быць кратным ${e.divisor}`
;case"unrecognized_keys":
return`Нераспазнаны ${e.keys.length>1?"ключы":"ключ"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Няправільны ключ у ${e.origin}`;case"invalid_union":
default:return"Няправільны ўвод";case"invalid_element":
return`Няправільнае значэнне ў ${e.origin}`}}};const Wr=()=>{const e={string:{
unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{
unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}}
;function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${a}`:`Невалиден вход: очакван ${t}, получен ${a}`
}case"invalid_value":
return 1===e.values.length?`Невалиден вход: очакван ${$(e.values[0])}`:`Невалидна опция: очаквано едно от ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;if("starts_with"===t.format)return`Невалиден низ: трябва да започва с "${t.prefix}"`
;if("ends_with"===t.format)return`Невалиден низ: трябва да завършва с "${t.suffix}"`
;if("includes"===t.format)return`Невалиден низ: трябва да включва "${t.includes}"`
;if("regex"===t.format)return`Невалиден низ: трябва да съвпада с ${t.pattern}`
;let r="Невалиден"
;return"emoji"===t.format&&(r="Невалидно"),"datetime"===t.format&&(r="Невалидно"),
"date"===t.format&&(r="Невалидна"),
"time"===t.format&&(r="Невалидно"),"duration"===t.format&&(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?"ове":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Невалиден ключ в ${e.origin}`;case"invalid_union":
default:return"Невалиден вход";case"invalid_element":
return`Невалидна стойност в ${e.origin}`}}};const Xr=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${a}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${a}`
}case"invalid_value":
return 1===e.values.length?`Valor invàlid: s'esperava ${$(e.values[0])}`:`Opció invàlida: s'esperava una de ${l(e.values," o ")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Format invàlid: ha de començar amb "${t.prefix}"`:"ends_with"===t.format?`Format invàlid: ha d'acabar amb "${t.suffix}"`:"includes"===t.format?`Format invàlid: ha d'incloure "${t.includes}"`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Clau invàlida a ${e.origin}`;case"invalid_union":
default:return"Entrada invàlida";case"invalid_element":
return`Element invàlid a ${e.origin}`}}};const Gr=()=>{const 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}
const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${a}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${a}`
}case"invalid_value":
return 1===e.values.length?`Neplatný vstup: očekáváno ${$(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Neplatný řetězec: musí začínat na "${t.prefix}"`:"ends_with"===t.format?`Neplatný řetězec: musí končit na "${t.suffix}"`:"includes"===t.format?`Neplatný řetězec: musí obsahovat "${t.includes}"`:"regex"===t.format?`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: ${l(e.keys,", ")}`
;case"invalid_key":return`Neplatný klíč v ${e.origin}`;case"invalid_union":
default:return"Neplatný vstup";case"invalid_element":
return`Neplatná hodnota v ${e.origin}`}}};const Yr=()=>{const 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}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${a}`:`Ugyldigt input: forventede ${t}, fik ${a}`
}case"invalid_value":
return 1===e.values.length?`Ugyldig værdi: forventede ${$(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${l(e.values,"|")}`
;case"too_big":{
const n=e.inclusive?"<=":"<",a=t(e.origin),o=r[e.origin]??e.origin
;return a?`For stor: forventede ${o??"value"} ${a.verb} ${n} ${e.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${o??"value"} havde ${n} ${e.maximum.toString()}`
}case"too_small":{
const n=e.inclusive?">=":">",a=t(e.origin),o=r[e.origin]??e.origin
;return a?`For lille: forventede ${o} ${a.verb} ${n} ${e.minimum.toString()} ${a.unit}`:`For lille: forventede ${o} havde ${n} ${e.minimum.toString()}`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`Ugyldig streng: skal starte med "${t.prefix}"`:"ends_with"===t.format?`Ugyldig streng: skal ende med "${t.suffix}"`:"includes"===t.format?`Ugyldig streng: skal indeholde "${t.includes}"`:"regex"===t.format?`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"}: ${l(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"}}};const Kr=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${a}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${a}`
}case"invalid_value":
return 1===e.values.length?`Ungültige Eingabe: erwartet ${$(e.values[0])}`:`Ungültige Option: erwartet eine von ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Ungültiger String: muss mit "${t.prefix}" beginnen`:"ends_with"===t.format?`Ungültiger String: muss mit "${t.suffix}" enden`:"includes"===t.format?`Ungültiger String: muss "${t.includes}" enthalten`:"regex"===t.format?`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"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Ungültiger Schlüssel in ${e.origin}`
;case"invalid_union":default:return"Ungültige Eingabe";case"invalid_element":
return`Ungültiger Wert in ${e.origin}`}}};const Jr=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input)
;return`Invalid input: expected ${t}, received ${r[n]??n}`}case"invalid_value":
return 1===e.values.length?`Invalid input: expected ${$(e.values[0])}`:`Invalid option: expected one of ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Invalid string: must start with "${t.prefix}"`:"ends_with"===t.format?`Invalid string: must end with "${t.suffix}"`:"includes"===t.format?`Invalid string: must include "${t.includes}"`:"regex"===t.format?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Invalid key in ${e.origin}`;case"invalid_union":
default:return"Invalid input";case"invalid_element":
return`Invalid value in ${e.origin}`}}};function ea(){return{localeError:Jr()}}
const ta=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${a}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${a}`
}case"invalid_value":
return 1===e.values.length?`Nevalida enigo: atendiĝis ${$(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:"ends_with"===t.format?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:"includes"===t.format?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Nevalida ŝlosilo en ${e.origin}`;case"invalid_union":
default:return"Nevalida enigo";case"invalid_element":
return`Nevalida valoro en ${e.origin}`}}};const na=()=>{const 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}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${a}`:`Entrada inválida: se esperaba ${t}, recibido ${a}`
}case"invalid_value":
return 1===e.values.length?`Entrada inválida: se esperaba ${$(e.values[0])}`:`Opción inválida: se esperaba una de ${l(e.values,"|")}`
;case"too_big":{
const n=e.inclusive?"<=":"<",a=t(e.origin),o=r[e.origin]??e.origin
;return a?`Demasiado grande: se esperaba que ${o??"valor"} tuviera ${n}${e.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${o??"valor"} fuera ${n}${e.maximum.toString()}`
}case"too_small":{
const n=e.inclusive?">=":">",a=t(e.origin),o=r[e.origin]??e.origin
;return a?`Demasiado pequeño: se esperaba que ${o} tuviera ${n}${e.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${o} fuera ${n}${e.minimum.toString()}`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`Cadena inválida: debe comenzar con "${t.prefix}"`:"ends_with"===t.format?`Cadena inválida: debe terminar en "${t.suffix}"`:"includes"===t.format?`Cadena inválida: debe incluir "${t.includes}"`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Llave inválida en ${r[e.origin]??e.origin}`
;case"invalid_union":default:return"Entrada inválida";case"invalid_element":
return`Valor inválido en ${r[e.origin]??e.origin}`}}};const ra=()=>{const e={
string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},
array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}}
;function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: میبایست instanceof ${e.expected} میبود، ${a} دریافت شد`:`ورودی نامعتبر: میبایست ${t} میبود، ${a} دریافت شد`
}case"invalid_value":
return 1===e.values.length?`ورودی نامعتبر: میبایست ${$(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${l(e.values,"|")} میبود`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`رشته نامعتبر: باید با "${t.prefix}" شروع شود`:"ends_with"===t.format?`رشته نامعتبر: باید با "${t.suffix}" تمام شود`:"includes"===t.format?`رشته نامعتبر: باید شامل "${t.includes}" باشد`:"regex"===t.format?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`
}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`
;case"unrecognized_keys":
return`کلید${e.keys.length>1?"های":""} ناشناس: ${l(e.keys,", ")}`
;case"invalid_key":return`کلید ناشناس در ${e.origin}`;case"invalid_union":
default:return"ورودی نامعتبر";case"invalid_element":
return`مقدار نامعتبر در ${e.origin}`}}};const aa=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${a}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${a}`
}case"invalid_value":
return 1===e.values.length?`Virheellinen syöte: täytyy olla ${$(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Virheellinen syöte: täytyy alkaa "${t.prefix}"`:"ends_with"===t.format?`Virheellinen syöte: täytyy loppua "${t.suffix}"`:"includes"===t.format?`Virheellinen syöte: täytyy sisältää "${t.includes}"`:"regex"===t.format?`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"}: ${l(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"}}}
;const oa=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${a} reçu`:`Entrée invalide : ${t} attendu, ${a} reçu`
}case"invalid_value":
return 1===e.values.length?`Entrée invalide : ${$(e.values[0])} attendu`:`Option invalide : une valeur parmi ${l(e.values,"|")} attendue`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`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":""} : ${l(e.keys,", ")}`
;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":
default:return"Entrée invalide";case"invalid_element":
return`Valeur invalide dans ${e.origin}`}}};const ia=()=>{const 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}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${a}`:`Entrée invalide : attendu ${t}, reçu ${a}`
}case"invalid_value":
return 1===e.values.length?`Entrée invalide : attendu ${$(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`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":""} : ${l(e.keys,", ")}`
;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":
default:return"Entrée invalide";case"invalid_element":
return`Valeur invalide dans ${e.origin}`}}};const sa=()=>{const 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=>{
const r=n(t);return r?r.label:t??e.unknown.label},a=e=>`ה${r(e)}`,o=e=>{
const t=n(e);return"f"===(t?.gender??"m")?"צריכה להיות":"צריך להיות"
},i=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":{
const n=t.expected,a=c[n??""]??r(n),o=q(t.input),i=c[o]??e[o]?.label??o
;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${i}`:`קלט לא תקין: צריך להיות ${a}, התקבל ${i}`
}case"invalid_value":{
if(1===t.values.length)return`ערך לא תקין: הערך חייב להיות ${$(t.values[0])}`
;const e=t.values.map((e=>$(e)))
;if(2===t.values.length)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`
;const n=e[e.length-1]
;return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(", ")} או ${n}`}
case"too_big":{const e=i(t.origin),n=a(t.origin??"value")
;if("string"===t.origin)return`${e?.longLabel??"ארוך"} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??""} ${t.inclusive?"או פחות":"לכל היותר"}`.trim()
;if("number"===t.origin){
return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`
}if("array"===t.origin||"set"===t.origin){
return`גדול מדי: ${n} ${"set"===t.origin?"צריכה":"צריך"} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??""} או פחות`:`פחות מ-${t.maximum} ${e?.unit??""}`}`.trim()
}const r=t.inclusive?"<=":"<",s=o(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":{const e=i(t.origin),n=a(t.origin??"value")
;if("string"===t.origin)return`${e?.shortLabel??"קצר"} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??""} ${t.inclusive?"או יותר":"לפחות"}`.trim()
;if("number"===t.origin){
return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`
}if("array"===t.origin||"set"===t.origin){
const r="set"===t.origin?"צריכה":"צריך";if(1===t.minimum&&t.inclusive){
return`קטן מדי: ${n} ${r} להכיל ${t.origin,"לפחות פריט אחד"}`}
return`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??""} או יותר`:`יותר מ-${t.minimum} ${e?.unit??""}`}`.trim()
}const r=t.inclusive?">=":">",s=o(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":{const e=t
;if("starts_with"===e.format)return`המחרוזת חייבת להתחיל ב "${e.prefix}"`
;if("ends_with"===e.format)return`המחרוזת חייבת להסתיים ב "${e.suffix}"`
;if("includes"===e.format)return`המחרוזת חייבת לכלול "${e.includes}"`
;if("regex"===e.format)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`
;const n=s[e.format]
;return`${n?.label??e.format} לא ${"f"===(n?.gender??"m")?"תקינה":"תקין"}`}
case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`
;case"unrecognized_keys":
return`מפתח${t.keys.length>1?"ות":""} לא מזוה${t.keys.length>1?"ים":"ה"}: ${l(t.keys,", ")}`
;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":default:
return"קלט לא תקין";case"invalid_element":
return`ערך לא תקין ב${a(t.origin??"array")}`}}};const la=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${a}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${a}`
}case"invalid_value":
return 1===e.values.length?`Érvénytelen bemenet: a várt érték ${$(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie`:"ends_with"===t.format?`Érvénytelen string: "${t.suffix}" értékkel kell végződnie`:"includes"===t.format?`Érvénytelen string: "${t.includes}" értéket kell tartalmaznia`:"regex"===t.format?`É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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Érvénytelen kulcs ${e.origin}`;case"invalid_union":
default:return"Érvénytelen bemenet";case"invalid_element":
return`Érvénytelen érték: ${e.origin}`}}};function ca(e,t,n){
return 1===Math.abs(e)?t:n}function ua(e){if(!e)return"";const t=e[e.length-1]
;return e+(["ա","ե","ը","ի","ո","ու","օ"].includes(t)?"ն":"ը")}const da=()=>{
const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${a}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${a}`
}case"invalid_value":
return 1===e.values.length?`Սխալ մուտքագրում․ սպասվում էր ${$(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${l(e.values,"|")}`
;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){
const t=ca(Number(e.maximum),r.unit.one,r.unit.many)
;return`Չափազանց մեծ արժեք․ սպասվում է, որ ${ua(e.origin??"արժեք")} կունենա ${n}${e.maximum.toString()} ${t}`
}
return`Չափազանց մեծ արժեք․ սպասվում է, որ ${ua(e.origin??"արժեք")} լինի ${n}${e.maximum.toString()}`
}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){
const t=ca(Number(e.minimum),r.unit.one,r.unit.many)
;return`Չափազանց փոքր արժեք․ սպասվում է, որ ${ua(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`
}
return`Չափազանց փոքր արժեք․ սպասվում է, որ ${ua(e.origin)} լինի ${n}${e.minimum.toString()}`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`Սխալ տող․ պետք է սկսվի "${t.prefix}"-ով`:"ends_with"===t.format?`Սխալ տող․ պետք է ավարտվի "${t.suffix}"-ով`:"includes"===t.format?`Սխալ տող․ պետք է պարունակի "${t.includes}"`:"regex"===t.format?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`
}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`
;case"unrecognized_keys":
return`Չճանաչված բանալի${e.keys.length>1?"ներ":""}. ${l(e.keys,", ")}`
;case"invalid_key":return`Սխալ բանալի ${ua(e.origin)}-ում`;case"invalid_union":
default:return"Սխալ մուտքագրում";case"invalid_element":
return`Սխալ արժեք ${ua(e.origin)}-ում`}}};const pa=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${a}`:`Input tidak valid: diharapkan ${t}, diterima ${a}`
}case"invalid_value":
return 1===e.values.length?`Input tidak valid: diharapkan ${$(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`String tidak valid: harus dimulai dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak valid: harus berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak valid: harus menyertakan "${t.includes}"`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Kunci tidak valid di ${e.origin}`;case"invalid_union":
default:return"Input tidak valid";case"invalid_element":
return`Nilai tidak valid di ${e.origin}`}}};const ha=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${a} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${a} þar sem á að vera ${t}`
}case"invalid_value":
return 1===e.values.length?`Rangt gildi: gert ráð fyrir ${$(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Ógildur strengur: verður að byrja á "${t.prefix}"`:"ends_with"===t.format?`Ógildur strengur: verður að enda á "${t.suffix}"`:"includes"===t.format?`Ógildur strengur: verður að innihalda "${t.includes}"`:"regex"===t.format?`Ó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"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Rangur lykill í ${e.origin}`;case"invalid_union":
default:return"Rangt gildi";case"invalid_element":
return`Rangt gildi í ${e.origin}`}}};const fa=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${a}`:`Input non valido: atteso ${t}, ricevuto ${a}`
}case"invalid_value":
return 1===e.values.length?`Input non valido: atteso ${$(e.values[0])}`:`Opzione non valida: atteso uno tra ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Stringa non valida: deve iniziare con "${t.prefix}"`:"ends_with"===t.format?`Stringa non valida: deve terminare con "${t.suffix}"`:"includes"===t.format?`Stringa non valida: deve includere "${t.includes}"`:"regex"===t.format?`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"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Chiave non valida in ${e.origin}`;case"invalid_union":
default:return"Input non valido";case"invalid_element":
return`Valore non valido in ${e.origin}`}}};const ma=()=>{const e={string:{
unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},
set:{unit:"要素",verb:"である"}};function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${a}が入力されました`:`無効な入力: ${t}が期待されましたが、${a}が入力されました`
}case"invalid_value":
return 1===e.values.length?`無効な入力: ${$(e.values[0])}が期待されました`:`無効な選択: ${l(e.values,"、")}のいずれかである必要があります`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`無効な文字列: "${t.prefix}"で始まる必要があります`:"ends_with"===t.format?`無効な文字列: "${t.suffix}"で終わる必要があります`:"includes"===t.format?`無効な文字列: "${t.includes}"を含む必要があります`:"regex"===t.format?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`
}case"not_multiple_of":return`無効な数値: ${e.divisor}の倍数である必要があります`
;case"unrecognized_keys":
return`認識されていないキー${e.keys.length>1?"群":""}: ${l(e.keys,"、")}`;case"invalid_key":
return`${e.origin}内の無効なキー`;case"invalid_union":default:return"無効な入力"
;case"invalid_element":return`${e.origin}内の無効な値`}}};const ga=()=>{const e={
string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",
verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{
unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function t(t){return e[t]??null}
const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${a}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${a}`
}case"invalid_value":
return 1===e.values.length?`არასწორი შეყვანა: მოსალოდნელი ${$(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${l(e.values,"|")}-დან`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით`:"ends_with"===t.format?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით`:"includes"===t.format?`არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს`:"regex"===t.format?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`
}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`
;case"unrecognized_keys":
return`უცნობი გასაღებ${e.keys.length>1?"ები":"ი"}: ${l(e.keys,", ")}`
;case"invalid_key":return`არასწორი გასაღები ${e.origin}-ში`;case"invalid_union":
default:return"არასწორი შეყვანა";case"invalid_element":
return`არასწორი მნიშვნელობა ${e.origin}-ში`}}};const va=()=>{const e={string:{
unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",
verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(t){return e[t]??null}
const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${a}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${a}`
}case"invalid_value":
return 1===e.values.length?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${$(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"`:"ends_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"`:"includes"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"`:"regex"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`
}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`
;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${l(e.keys,", ")}`
;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`
;case"invalid_union":default:return"ទិន្នន័យមិនត្រឹមត្រូវ"
;case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`}}}
;function ba(){return{localeError:va()}}const ya=()=>{const 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}
const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${a}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${a}입니다`
}case"invalid_value":
return 1===e.values.length?`잘못된 입력: 값은 ${$(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${l(e.values,"또는 ")} 중 하나여야 합니다`
;case"too_big":{
const n=e.inclusive?"이하":"미만",r="미만"===n?"이어야 합니다":"여야 합니다",a=t(e.origin),o=a?.unit??"요소"
;return a?`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()}${o} ${n}${r}`:`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`
}case"too_small":{
const n=e.inclusive?"이상":"초과",r="이상"===n?"이어야 합니다":"여야 합니다",a=t(e.origin),o=a?.unit??"요소"
;return a?`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()}${o} ${n}${r}`:`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다`:"ends_with"===t.format?`잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다`:"includes"===t.format?`잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다`:"regex"===t.format?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`
}case"not_multiple_of":return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`
;case"unrecognized_keys":return`인식할 수 없는 키: ${l(e.keys,", ")}`
;case"invalid_key":return`잘못된 키: ${e.origin}`;case"invalid_union":default:
return"잘못된 입력";case"invalid_element":return`잘못된 값: ${e.origin}`}}}
;const Oa=e=>e.charAt(0).toUpperCase()+e.slice(1);function wa(e){
const t=Math.abs(e),n=t%10,r=t%100
;return r>=11&&r<=19||0===n?"many":1===n?"one":"few"}const xa=()=>{const 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,a){
const o=e[t]??null;return null===o?o:{unit:o.unit[n],
verb:o.verb[a][r?"inclusive":"notInclusive"]}}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${a}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${a}, o tikėtasi - ${t}`
}case"invalid_value":
return 1===e.values.length?`Privalo būti ${$(e.values[0])}`:`Privalo būti vienas iš ${l(e.values,"|")} pasirinkimų`
;case"too_big":{
const n=r[e.origin]??e.origin,a=t(e.origin,wa(Number(e.maximum)),e.inclusive??!1,"smaller")
;if(a?.verb)return`${Oa(n??e.origin??"reikšmė")} ${a.verb} ${e.maximum.toString()} ${a.unit??"elementų"}`
;const o=e.inclusive?"ne didesnis kaip":"mažesnis kaip"
;return`${Oa(n??e.origin??"reikšmė")} turi būti ${o} ${e.maximum.toString()} ${a?.unit}`
}case"too_small":{
const n=r[e.origin]??e.origin,a=t(e.origin,wa(Number(e.minimum)),e.inclusive??!1,"bigger")
;if(a?.verb)return`${Oa(n??e.origin??"reikšmė")} ${a.verb} ${e.minimum.toString()} ${a.unit??"elementų"}`
;const o=e.inclusive?"ne mažesnis kaip":"didesnis kaip"
;return`${Oa(n??e.origin??"reikšmė")} turi būti ${o} ${e.minimum.toString()} ${a?.unit}`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`Eilutė privalo prasidėti "${t.prefix}"`:"ends_with"===t.format?`Eilutė privalo pasibaigti "${t.suffix}"`:"includes"===t.format?`Eilutė privalo įtraukti "${t.includes}"`:"regex"===t.format?`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"}: ${l(e.keys,", ")}`
;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:
return"Klaidinga įvestis";case"invalid_element":{const t=r[e.origin]??e.origin
;return`${Oa(t??e.origin??"reikšmė")} turi klaidingą įvestį`}}}};const ka=()=>{
const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",
verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",
verb:"да имаат"}};function t(t){return e[t]??null}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${a}`:`Грешен внес: се очекува ${t}, примено ${a}`
}case"invalid_value":
return 1===e.values.length?`Invalid input: expected ${$(e.values[0])}`:`Грешана опција: се очекува една ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Неважечка низа: мора да започнува со "${t.prefix}"`:"ends_with"===t.format?`Неважечка низа: мора да завршува со "${t.suffix}"`:"includes"===t.format?`Неважечка низа: мора да вклучува "${t.includes}"`:"regex"===t.format?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`
}case"not_multiple_of":return`Грешен број: мора да биде делив со ${e.divisor}`
;case"unrecognized_keys":
return`${e.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Грешен клуч во ${e.origin}`;case"invalid_union":
default:return"Грешен внес";case"invalid_element":
return`Грешна вредност во ${e.origin}`}}};const Sa=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${a}`:`Input tidak sah: dijangka ${t}, diterima ${a}`
}case"invalid_value":
return 1===e.values.length?`Input tidak sah: dijangka ${$(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`String tidak sah: mesti bermula dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak sah: mesti berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak sah: mesti mengandungi "${t.includes}"`:"regex"===t.format?`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: ${l(e.keys,", ")}`
;case"invalid_key":return`Kunci tidak sah dalam ${e.origin}`
;case"invalid_union":default:return"Input tidak sah";case"invalid_element":
return`Nilai tidak sah dalam ${e.origin}`}}};const _a=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${a}`:`Ongeldige invoer: verwacht ${t}, ontving ${a}`
}case"invalid_value":
return 1===e.values.length?`Ongeldige invoer: verwacht ${$(e.values[0])}`:`Ongeldige optie: verwacht één van ${l(e.values,"|")}`
;case"too_big":{
const n=e.inclusive?"<=":"<",r=t(e.origin),a="date"===e.origin?"laat":"string"===e.origin?"lang":"groot"
;return r?`Te ${a}: verwacht dat ${e.origin??"waarde"} ${n}${e.maximum.toString()} ${r.unit??"elementen"} ${r.verb}`:`Te ${a}: verwacht dat ${e.origin??"waarde"} ${n}${e.maximum.toString()} is`
}case"too_small":{
const n=e.inclusive?">=":">",r=t(e.origin),a="date"===e.origin?"vroeg":"string"===e.origin?"kort":"klein"
;return r?`Te ${a}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${a}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`
}case"invalid_format":{const t=e
;return"starts_with"===t.format?`Ongeldige tekst: moet met "${t.prefix}" beginnen`:"ends_with"===t.format?`Ongeldige tekst: moet op "${t.suffix}" eindigen`:"includes"===t.format?`Ongeldige tekst: moet "${t.includes}" bevatten`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Ongeldige key in ${e.origin}`;case"invalid_union":
default:return"Ongeldige invoer";case"invalid_element":
return`Ongeldige waarde in ${e.origin}`}}};const Aa=()=>{const 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}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${a}`:`Ugyldig input: forventet ${t}, fikk ${a}`
}case"invalid_value":
return 1===e.values.length?`Ugyldig verdi: forventet ${$(e.values[0])}`:`Ugyldig valg: forventet en av ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Ugyldig streng: må starte med "${t.prefix}"`:"ends_with"===t.format?`Ugyldig streng: må ende med "${t.suffix}"`:"includes"===t.format?`Ugyldig streng: må inneholde "${t.includes}"`:"regex"===t.format?`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"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Ugyldig nøkkel i ${e.origin}`;case"invalid_union":
default:return"Ugyldig input";case"invalid_element":
return`Ugyldig verdi i ${e.origin}`}}};const Ta=()=>{const 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}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${a}`:`Fâsit giren: umulan ${t}, alınan ${a}`
}case"invalid_value":
return 1===e.values.length?`Fâsit giren: umulan ${$(e.values[0])}`:`Fâsit tercih: mûteberler ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Fâsit metin: "${t.prefix}" ile başlamalı.`:"ends_with"===t.format?`Fâsit metin: "${t.suffix}" ile bitmeli.`:"includes"===t.format?`Fâsit metin: "${t.includes}" ihtivâ etmeli.`:"regex"===t.format?`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":""}: ${l(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ı."}}};const Ea=()=>{const e={string:{unit:"توکي",
verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},
set:{unit:"توکي",verb:"ولري"}};function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${a} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${a} ترلاسه شو`
}case"invalid_value":
return 1===e.values.length?`ناسم ورودي: باید ${$(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${l(e.values,"|")} څخه وای`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`ناسم متن: باید د "${t.prefix}" سره پیل شي`:"ends_with"===t.format?`ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي`:"includes"===t.format?`ناسم متن: باید "${t.includes}" ولري`:"regex"===t.format?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`
}case"not_multiple_of":return`ناسم عدد: باید د ${e.divisor} مضرب وي`
;case"unrecognized_keys":
return`ناسم ${e.keys.length>1?"کلیډونه":"کلیډ"}: ${l(e.keys,", ")}`
;case"invalid_key":return`ناسم کلیډ په ${e.origin} کې`;case"invalid_union":
default:return"ناسمه ورودي";case"invalid_element":
return`ناسم عنصر په ${e.origin} کې`}}};const Ca=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${a}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${a}`
}case"invalid_value":
return 1===e.values.length?`Nieprawidłowe dane wejściowe: oczekiwano ${$(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"`:"ends_with"===t.format?`Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"`:"includes"===t.format?`Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Nieprawidłowy klucz w ${e.origin}`
;case"invalid_union":default:return"Nieprawidłowe dane wejściowe"
;case"invalid_element":return`Nieprawidłowa wartość w ${e.origin}`}}}
;const $a=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${a}`:`Tipo inválido: esperado ${t}, recebido ${a}`
}case"invalid_value":
return 1===e.values.length?`Entrada inválida: esperado ${$(e.values[0])}`:`Opção inválida: esperada uma das ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Texto inválido: deve começar com "${t.prefix}"`:"ends_with"===t.format?`Texto inválido: deve terminar com "${t.suffix}"`:"includes"===t.format?`Texto inválido: deve incluir "${t.includes}"`:"regex"===t.format?`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":""}: ${l(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 Pa(e,t,n,r){const a=Math.abs(e),o=a%10,i=a%100
;return i>=11&&i<=19?r:1===o?t:o>=2&&o<=4?n:r}const Ia=()=>{const 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}
const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${a}`:`Неверный ввод: ожидалось ${t}, получено ${a}`
}case"invalid_value":
return 1===e.values.length?`Неверный ввод: ожидалось ${$(e.values[0])}`:`Неверный вариант: ожидалось одно из ${l(e.values,"|")}`
;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);if(r){
const t=Pa(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":{const n=e.inclusive?">=":">",r=t(e.origin);if(r){
const t=Pa(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":{const t=e
;return"starts_with"===t.format?`Неверная строка: должна начинаться с "${t.prefix}"`:"ends_with"===t.format?`Неверная строка: должна заканчиваться на "${t.suffix}"`:"includes"===t.format?`Неверная строка: должна содержать "${t.includes}"`:"regex"===t.format?`Неверная строка: должна соответствовать шаблону ${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?"и":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Неверный ключ в ${e.origin}`;case"invalid_union":
default:return"Неверные входные данные";case"invalid_element":
return`Неверное значение в ${e.origin}`}}};const Da=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${a}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${a}`
}case"invalid_value":
return 1===e.values.length?`Neveljaven vnos: pričakovano ${$(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Neveljaven niz: mora se začeti z "${t.prefix}"`:"ends_with"===t.format?`Neveljaven niz: mora se končati z "${t.suffix}"`:"includes"===t.format?`Neveljaven niz: mora vsebovati "${t.includes}"`:"regex"===t.format?`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č"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Neveljaven ključ v ${e.origin}`;case"invalid_union":
default:return"Neveljaven vnos";case"invalid_element":
return`Neveljavna vrednost v ${e.origin}`}}};const Ma=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${a}`:`Ogiltig inmatning: förväntat ${t}, fick ${a}`
}case"invalid_value":
return 1===e.values.length?`Ogiltig inmatning: förväntat ${$(e.values[0])}`:`Ogiltigt val: förväntade en av ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Ogiltig sträng: måste börja med "${t.prefix}"`:"ends_with"===t.format?`Ogiltig sträng: måste sluta med "${t.suffix}"`:"includes"===t.format?`Ogiltig sträng: måste innehålla "${t.includes}"`:"regex"===t.format?`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"}: ${l(e.keys,", ")}`
;case"invalid_key":return`Ogiltig nyckel i ${e.origin??"värdet"}`
;case"invalid_union":default:return"Ogiltig input";case"invalid_element":
return`Ogiltigt värde i ${e.origin??"värdet"}`}}};const Na=()=>{const e={
string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",
verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",
verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}
};function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${a}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${a}`
}case"invalid_value":
return 1===e.values.length?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${$(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${l(e.values,"|")} இல் ஒன்று`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்`:"ends_with"===t.format?`தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்`:"includes"===t.format?`தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்`:"regex"===t.format?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`
}case"not_multiple_of":return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`
;case"unrecognized_keys":
return`அடையாளம் தெரியாத விசை${e.keys.length>1?"கள்":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`${e.origin} இல் தவறான விசை`;case"invalid_union":
default:return"தவறான உள்ளீடு";case"invalid_element":
return`${e.origin} இல் தவறான மதிப்பு`}}};const Ra=()=>{const e={string:{
unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{
unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(t){
return e[t]??null}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${a}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${a}`
}case"invalid_value":
return 1===e.values.length?`ค่าไม่ถูกต้อง: ควรเป็น ${$(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"`:"ends_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"`:"includes"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ`:"regex"===t.format?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`
}case"not_multiple_of":
return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`
;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${l(e.keys,", ")}`
;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${e.origin}`;case"invalid_union":
return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้"
;case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:
return"ข้อมูลไม่ถูกต้อง"}}};const La=()=>{const 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}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${a}`:`Geçersiz değer: beklenen ${t}, alınan ${a}`
}case"invalid_value":
return 1===e.values.length?`Geçersiz değer: beklenen ${$(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Geçersiz metin: "${t.prefix}" ile başlamalı`:"ends_with"===t.format?`Geçersiz metin: "${t.suffix}" ile bitmeli`:"includes"===t.format?`Geçersiz metin: "${t.includes}" içermeli`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`${e.origin} içinde geçersiz anahtar`
;case"invalid_union":default:return"Geçersiz değer";case"invalid_element":
return`${e.origin} içinde geçersiz değer`}}};const Ba=()=>{const e={string:{
unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{
unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}}
;function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${a}`:`Неправильні вхідні дані: очікується ${t}, отримано ${a}`
}case"invalid_value":
return 1===e.values.length?`Неправильні вхідні дані: очікується ${$(e.values[0])}`:`Неправильна опція: очікується одне з ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Неправильний рядок: повинен починатися з "${t.prefix}"`:"ends_with"===t.format?`Неправильний рядок: повинен закінчуватися на "${t.suffix}"`:"includes"===t.format?`Неправильний рядок: повинен містити "${t.includes}"`:"regex"===t.format?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`
}case"not_multiple_of":
return`Неправильне число: повинно бути кратним ${e.divisor}`
;case"unrecognized_keys":
return`Нерозпізнаний ключ${e.keys.length>1?"і":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`Неправильний ключ у ${e.origin}`;case"invalid_union":
default:return"Неправильні вхідні дані";case"invalid_element":
return`Неправильне значення у ${e.origin}`}}};function ja(){return{
localeError:Ba()}}const Ua=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{
unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",
verb:"ہونا"}};function t(t){return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${a} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${a} موصول ہوا`
}case"invalid_value":
return 1===e.values.length?`غلط ان پٹ: ${$(e.values[0])} متوقع تھا`:`غلط آپشن: ${l(e.values,"|")} میں سے ایک متوقع تھا`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے`:"ends_with"===t.format?`غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے`:"includes"===t.format?`غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے`:"regex"===t.format?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`
}case"not_multiple_of":return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`
;case"unrecognized_keys":
return`غیر تسلیم شدہ کی${e.keys.length>1?"ز":""}: ${l(e.keys,"، ")}`
;case"invalid_key":return`${e.origin} میں غلط کی`;case"invalid_union":default:
return"غلط ان پٹ";case"invalid_element":return`${e.origin} میں غلط ویلیو`}}}
;const za=()=>{const 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}
const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${a}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${a}`
}case"invalid_value":
return 1===e.values.length?`Noto‘g‘ri kirish: kutilgan ${$(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Noto‘g‘ri satr: "${t.prefix}" bilan boshlanishi kerak`:"ends_with"===t.format?`Noto‘g‘ri satr: "${t.suffix}" bilan tugashi kerak`:"includes"===t.format?`Noto‘g‘ri satr: "${t.includes}" ni o‘z ichiga olishi kerak`:"regex"===t.format?`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":""}: ${l(e.keys,", ")}`
;case"invalid_key":return`${e.origin} dagi kalit noto‘g‘ri`;case"invalid_union":
default:return"Noto‘g‘ri kirish";case"invalid_element":
return`${e.origin} da noto‘g‘ri qiymat`}}};const Za=()=>{const 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}
const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=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 ${a}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${a}`
}case"invalid_value":
return 1===e.values.length?`Đầu vào không hợp lệ: mong đợi ${$(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"`:"ends_with"===t.format?`Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"`:"includes"===t.format?`Chuỗi không hợp lệ: phải bao gồm "${t.includes}"`:"regex"===t.format?`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: ${l(e.keys,", ")}`
;case"invalid_key":return`Khóa không hợp lệ trong ${e.origin}`
;case"invalid_union":default:return"Đầu vào không hợp lệ";case"invalid_element":
return`Giá trị không hợp lệ trong ${e.origin}`}}};const Fa=()=>{const e={
string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",
verb:"包含"},set:{unit:"项",verb:"包含"}};function t(t){return e[t]??null}const 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":{const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`无效输入:期望 instanceof ${e.expected},实际接收 ${a}`:`无效输入:期望 ${t},实际接收 ${a}`
}case"invalid_value":
return 1===e.values.length?`无效输入:期望 ${$(e.values[0])}`:`无效选项:期望以下之一 ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`无效字符串:必须以 "${t.prefix}" 开头`:"ends_with"===t.format?`无效字符串:必须以 "${t.suffix}" 结尾`:"includes"===t.format?`无效字符串:必须包含 "${t.includes}"`:"regex"===t.format?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`
}case"not_multiple_of":return`无效数字:必须是 ${e.divisor} 的倍数`
;case"unrecognized_keys":return`出现未知的键(key): ${l(e.keys,", ")}`
;case"invalid_key":return`${e.origin} 中的键(key)无效`;case"invalid_union":default:
return"无效输入";case"invalid_element":return`${e.origin} 中包含无效值(value)`}}}
;const Ha=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"
},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(t){
return e[t]??null}const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=r[n]??n
;return/^[A-Z]/.test(e.expected)?`無效的輸入值:預期為 instanceof ${e.expected},但收到 ${a}`:`無效的輸入值:預期為 ${t},但收到 ${a}`
}case"invalid_value":
return 1===e.values.length?`無效的輸入值:預期為 ${$(e.values[0])}`:`無效的選項:預期為以下其中之一 ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`無效的字串:必須以 "${t.prefix}" 開頭`:"ends_with"===t.format?`無效的字串:必須以 "${t.suffix}" 結尾`:"includes"===t.format?`無效的字串:必須包含 "${t.includes}"`:"regex"===t.format?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`
}case"not_multiple_of":return`無效的數字:必須為 ${e.divisor} 的倍數`
;case"unrecognized_keys":
return`無法識別的鍵值${e.keys.length>1?"們":""}:${l(e.keys,"、")}`;case"invalid_key":
return`${e.origin} 中有無效的鍵值`;case"invalid_union":default:return"無效的輸入值"
;case"invalid_element":return`${e.origin} 中有無效的值`}}};const Qa=()=>{const 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}
const 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":{
const t=r[e.expected]??e.expected,n=q(e.input),a=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í ${a}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${a}`
}case"invalid_value":
return 1===e.values.length?`Ìbáwọlé aṣìṣe: a ní láti fi ${$(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${l(e.values,"|")}`
;case"too_big":{const 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":{const 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":{const t=e
;return"starts_with"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${t.prefix}"`:"ends_with"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${t.suffix}"`:"includes"===t.format?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${t.includes}"`:"regex"===t.format?`Ọ̀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ọ̀: ${l(e.keys,", ")}`
;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${e.origin}`;case"invalid_union":
default:return"Ìbáwọlé aṣìṣe";case"invalid_element":
return`Iye aṣìṣe nínú ${e.origin}`}}}
;const Va=Object.freeze(Object.defineProperty({__proto__:null,ar:function(){
return{localeError:Hr()}},az:function(){return{localeError:Qr()}},be:function(){
return{localeError:qr()}},bg:function(){return{localeError:Wr()}},ca:function(){
return{localeError:Xr()}},cs:function(){return{localeError:Gr()}},da:function(){
return{localeError:Yr()}},de:function(){return{localeError:Kr()}},en:ea,
eo:function(){return{localeError:ta()}},es:function(){return{localeError:na()}},
fa:function(){return{localeError:ra()}},fi:function(){return{localeError:aa()}},
fr:function(){return{localeError:oa()}},frCA:function(){return{localeError:ia()}
},he:function(){return{localeError:sa()}},hu:function(){return{localeError:la()}
},hy:function(){return{localeError:da()}},id:function(){return{localeError:pa()}
},is:function(){return{localeError:ha()}},it:function(){return{localeError:fa()}
},ja:function(){return{localeError:ma()}},ka:function(){return{localeError:ga()}
},kh:function(){return ba()},km:ba,ko:function(){return{localeError:ya()}},
lt:function(){return{localeError:xa()}},mk:function(){return{localeError:ka()}},
ms:function(){return{localeError:Sa()}},nl:function(){return{localeError:_a()}},
no:function(){return{localeError:Aa()}},ota:function(){return{localeError:Ta()}
},pl:function(){return{localeError:Ca()}},ps:function(){return{localeError:Ea()}
},pt:function(){return{localeError:$a()}},ru:function(){return{localeError:Ia()}
},sl:function(){return{localeError:Da()}},sv:function(){return{localeError:Ma()}
},ta:function(){return{localeError:Na()}},th:function(){return{localeError:Ra()}
},tr:function(){return{localeError:La()}},ua:function(){return ja()},uk:ja,
ur:function(){return{localeError:Ua()}},uz:function(){return{localeError:za()}},
vi:function(){return{localeError:Za()}},yo:function(){return{localeError:Qa()}},
zhCN:function(){return{localeError:Fa()}},zhTW:function(){return{
localeError:Ha()}}},Symbol.toStringTag,{value:"Module"}));var qa
;const Wa=Symbol("ZodOutput"),Xa=Symbol("ZodInput");class Ga{constructor(){
this._map=new WeakMap,this._idmap=new Map}add(e,...t){const n=t[0]
;return this._map.set(e,n),
n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,e),this}clear(){
return this._map=new WeakMap,this._idmap=new Map,this}remove(e){
const t=this._map.get(e)
;return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),
this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const n={
...this.get(t)??{}};delete n.id;const 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)}}function Ya(){return new Ga}
(qa=globalThis).__zod_globalRegistry??(qa.__zod_globalRegistry=Ya())
;const Ka=globalThis.__zod_globalRegistry;function Ja(e,t){return new e({
type:"string",...C(t)})}function eo(e,t){return new e({type:"string",coerce:!0,
...C(t)})}function to(e,t){return new e({type:"string",format:"email",
check:"string_format",abort:!1,...C(t)})}function no(e,t){return new e({
type:"string",format:"guid",check:"string_format",abort:!1,...C(t)})}
function ro(e,t){return new e({type:"string",format:"uuid",
check:"string_format",abort:!1,...C(t)})}function ao(e,t){return new e({
type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...C(t)
})}function oo(e,t){return new e({type:"string",format:"uuid",
check:"string_format",abort:!1,version:"v6",...C(t)})}function io(e,t){
return new e({type:"string",format:"uuid",check:"string_format",abort:!1,
version:"v7",...C(t)})}function so(e,t){return new e({type:"string",
format:"url",check:"string_format",abort:!1,...C(t)})}function lo(e,t){
return new e({type:"string",format:"emoji",check:"string_format",abort:!1,
...C(t)})}function co(e,t){return new e({type:"string",format:"nanoid",
check:"string_format",abort:!1,...C(t)})}function uo(e,t){return new e({
type:"string",format:"cuid",check:"string_format",abort:!1,...C(t)})}
function po(e,t){return new e({type:"string",format:"cuid2",
check:"string_format",abort:!1,...C(t)})}function ho(e,t){return new e({
type:"string",format:"ulid",check:"string_format",abort:!1,...C(t)})}
function fo(e,t){return new e({type:"string",format:"xid",check:"string_format",
abort:!1,...C(t)})}function mo(e,t){return new e({type:"string",format:"ksuid",
check:"string_format",abort:!1,...C(t)})}function go(e,t){return new e({
type:"string",format:"ipv4",check:"string_format",abort:!1,...C(t)})}
function vo(e,t){return new e({type:"string",format:"ipv6",
check:"string_format",abort:!1,...C(t)})}function bo(e,t){return new e({
type:"string",format:"mac",check:"string_format",abort:!1,...C(t)})}
function yo(e,t){return new e({type:"string",format:"cidrv4",
check:"string_format",abort:!1,...C(t)})}function Oo(e,t){return new e({
type:"string",format:"cidrv6",check:"string_format",abort:!1,...C(t)})}
function wo(e,t){return new e({type:"string",format:"base64",
check:"string_format",abort:!1,...C(t)})}function xo(e,t){return new e({
type:"string",format:"base64url",check:"string_format",abort:!1,...C(t)})}
function ko(e,t){return new e({type:"string",format:"e164",
check:"string_format",abort:!1,...C(t)})}function So(e,t){return new e({
type:"string",format:"jwt",check:"string_format",abort:!1,...C(t)})}const _o={
Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Ao(e,t){
return new e({type:"string",format:"datetime",check:"string_format",offset:!1,
local:!1,precision:null,...C(t)})}function To(e,t){return new e({type:"string",
format:"date",check:"string_format",...C(t)})}function Eo(e,t){return new e({
type:"string",format:"time",check:"string_format",precision:null,...C(t)})}
function Co(e,t){return new e({type:"string",format:"duration",
check:"string_format",...C(t)})}function $o(e,t){return new e({type:"number",
checks:[],...C(t)})}function Po(e,t){return new e({type:"number",coerce:!0,
checks:[],...C(t)})}function Io(e,t){return new e({type:"number",
check:"number_format",abort:!1,format:"safeint",...C(t)})}function Do(e,t){
return new e({type:"number",check:"number_format",abort:!1,format:"float32",
...C(t)})}function Mo(e,t){return new e({type:"number",check:"number_format",
abort:!1,format:"float64",...C(t)})}function No(e,t){return new e({
type:"number",check:"number_format",abort:!1,format:"int32",...C(t)})}
function Ro(e,t){return new e({type:"number",check:"number_format",abort:!1,
format:"uint32",...C(t)})}function Lo(e,t){return new e({type:"boolean",...C(t)
})}function Bo(e,t){return new e({type:"boolean",coerce:!0,...C(t)})}
function jo(e,t){return new e({type:"bigint",...C(t)})}function Uo(e,t){
return new e({type:"bigint",coerce:!0,...C(t)})}function zo(e,t){return new e({
type:"bigint",check:"bigint_format",abort:!1,format:"int64",...C(t)})}
function Zo(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,
format:"uint64",...C(t)})}function Fo(e,t){return new e({type:"symbol",...C(t)})
}function Ho(e,t){return new e({type:"undefined",...C(t)})}function Qo(e,t){
return new e({type:"null",...C(t)})}function Vo(e){return new e({type:"any"})}
function qo(e){return new e({type:"unknown"})}function Wo(e,t){return new e({
type:"never",...C(t)})}function Xo(e,t){return new e({type:"void",...C(t)})}
function Go(e,t){return new e({type:"date",...C(t)})}function Yo(e,t){
return new e({type:"date",coerce:!0,...C(t)})}function Ko(e,t){return new e({
type:"nan",...C(t)})}function Jo(e,t){return new It({check:"less_than",...C(t),
value:e,inclusive:!1})}function ei(e,t){return new It({check:"less_than",
...C(t),value:e,inclusive:!0})}function ti(e,t){return new Dt({
check:"greater_than",...C(t),value:e,inclusive:!1})}function ni(e,t){
return new Dt({check:"greater_than",...C(t),value:e,inclusive:!0})}
function ri(e){return ti(0,e)}function ai(e){return Jo(0,e)}function oi(e){
return ei(0,e)}function ii(e){return ni(0,e)}function si(e,t){return new Mt({
check:"multiple_of",...C(t),value:e})}function li(e,t){return new Lt({
check:"max_size",...C(t),maximum:e})}function ci(e,t){return new Bt({
check:"min_size",...C(t),minimum:e})}function ui(e,t){return new jt({
check:"size_equals",...C(t),size:e})}function di(e,t){return new Ut({
check:"max_length",...C(t),maximum:e})}function pi(e,t){return new zt({
check:"min_length",...C(t),minimum:e})}function hi(e,t){return new Zt({
check:"length_equals",...C(t),length:e})}function fi(e,t){return new Ht({
check:"string_format",format:"regex",...C(t),pattern:e})}function mi(e){
return new Qt({check:"string_format",format:"lowercase",...C(e)})}
function gi(e){return new Vt({check:"string_format",format:"uppercase",...C(e)})
}function vi(e,t){return new qt({check:"string_format",format:"includes",
...C(t),includes:e})}function bi(e,t){return new Wt({check:"string_format",
format:"starts_with",...C(t),prefix:e})}function yi(e,t){return new Xt({
check:"string_format",format:"ends_with",...C(t),suffix:e})}function Oi(e,t,n){
return new Yt({check:"property",property:e,schema:t,...C(n)})}function wi(e,t){
return new Kt({check:"mime_type",mime:e,...C(t)})}function xi(e){return new Jt({
check:"overwrite",tx:e})}function ki(e){return xi((t=>t.normalize(e)))}
function Si(){return xi((e=>e.trim()))}function _i(){
return xi((e=>e.toLowerCase()))}function Ai(){return xi((e=>e.toUpperCase()))}
function Ti(){return xi((e=>y(e)))}function Ei(e,t,n){return new e({
type:"array",element:t,...C(n)})}function Ci(e,t){return new e({type:"file",
...C(t)})}function $i(e,t,n){const r=C(n);r.abort??(r.abort=!0);return new e({
type:"custom",check:"custom",fn:t,...r})}function Pi(e,t,n){return new e({
type:"custom",check:"custom",fn:t,...C(n)})}function Ii(e){
const t=Di((n=>(n.addIssue=e=>{
if("string"==typeof e)n.issues.push(W(e,n.value,t._zod.def));else{const r=e
;r.fatal&&(r.continue=!1),
r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),
r.continue??(r.continue=!t._zod.def.abort),n.issues.push(W(r))}},e(n.value,n))))
;return t}function Di(e,t){const n=new $t({check:"custom",...C(t)})
;return n._zod.check=e,n}function Mi(e){const t=new $t({check:"describe"})
;return t._zod.onattach=[t=>{const n=Ka.get(t)??{};Ka.add(t,{...n,description:e
})}],t._zod.check=()=>{},t}function Ni(e){const t=new $t({check:"meta"})
;return t._zod.onattach=[t=>{const n=Ka.get(t)??{};Ka.add(t,{...n,...e})
}],t._zod.check=()=>{},t}function Ri(e,t){const n=C(t)
;let r=n.truthy??["true","1","yes","on","y","enabled"],a=n.falsy??["false","0","no","off","n","disabled"]
;"sensitive"!==n.case&&(r=r.map((e=>"string"==typeof e?e.toLowerCase():e)),
a=a.map((e=>"string"==typeof e?e.toLowerCase():e)))
;const o=new Set(r),i=new Set(a),s=e.Codec??Dr,l=e.Boolean??Rn,c=new s({
type:"pipe",in:new(e.String??rn)({type:"string",error:n.error}),out:new l({
type:"boolean",error:n.error}),transform:(e,t)=>{let r=e
;return"sensitive"!==n.case&&(r=r.toLowerCase()),
!!o.has(r)||!i.has(r)&&(t.issues.push({code:"invalid_value",
expected:"stringbool",values:[...o,...i],input:t.value,inst:c,continue:!1}),{})
},reverseTransform:(e,t)=>!0===e?r[0]||"true":a[0]||"false",error:n.error})
;return c}function Li(e,t,n,r={}){const a=C(r),o={...C(r),check:"string_format",
type:"string",format:t,fn:"function"==typeof n?n:e=>n.test(e),...a}
;n instanceof RegExp&&(o.pattern=n);return new e(o)}function Bi(e){
let t=e?.target??"draft-2020-12"
;return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{
processors:e.processors??{},metadataRegistry:e?.metadata??Ka,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 ji(e,t,n={
path:[],schemaPath:[]}){var r;const a=e._zod.def,o=t.seen.get(e);if(o){o.count++
;return n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema}const i={schema:{},
count:1,cycle:void 0,path:n.path};t.seen.set(e,i)
;const s=e._zod.toJSONSchema?.();if(s)i.schema=s;else{const r={...n,
schemaPath:[...n.schemaPath,e],path:n.path}
;if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,i.schema,r);else{
const n=i.schema,o=t.processors[a.type]
;if(!o)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`)
;o(e,t,n,r)}const o=e._zod.parent
;o&&(i.ref||(i.ref=o),ji(o,t,r),t.seen.get(o).isParent=!0)}
const l=t.metadataRegistry.get(e)
;l&&Object.assign(i.schema,l),"input"===t.io&&Zi(e)&&(delete i.schema.examples,
delete i.schema.default),
"input"===t.io&&i.schema._prefault&&((r=i.schema).default??(r.default=i.schema._prefault)),
delete i.schema._prefault;return t.seen.get(e).schema}function Ui(e,t){
const n=e.seen.get(t)
;if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.")
;const r=new Map;for(const o of e.seen.entries()){
const t=e.metadataRegistry.get(o[0])?.id;if(t){const e=r.get(t)
;if(e&&e!==o[0])throw new Error(`Duplicate schema id "${t}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`)
;r.set(t,o[0])}}const a=t=>{if(t[1].schema.$ref)return
;const r=t[1],{ref:a,defId:o}=(t=>{
const r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){
const n=e.external.registry.get(t[0])?.id,a=e.external.uri??(e=>e);if(n)return{
ref:a(n)};const o=t[1].defId??t[1].schema.id??"schema"+e.counter++
;return t[1].defId=o,{defId:o,ref:`${a("__shared")}#/${r}/${o}`}}
if(t[1]===n)return{ref:"#"}
;const a=`#/${r}/`,o=t[1].schema.id??"__schema"+e.counter++;return{defId:o,
ref:a+o}})(t);r.def={...r.schema},o&&(r.defId=o);const i=r.schema
;for(const e in i)delete i[e];i.$ref=a}
;if("throw"===e.cycles)for(const o of e.seen.entries()){const e=o[1]
;if(e.cycle)throw new Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)
}for(const o of e.seen.entries()){const n=o[1];if(t===o[0]){a(o);continue}
if(e.external){const n=e.external.registry.get(o[0])?.id;if(t!==o[0]&&n){a(o)
;continue}}const r=e.metadataRegistry.get(o[0])?.id
;r?a(o):(n.cycle||n.count>1&&"ref"===e.reused)&&a(o)}}function zi(e,t){
const n=e.seen.get(t)
;if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=t=>{
const n=e.seen.get(t);if(null===n.ref)return;const a=n.def??n.schema,o={...a
},i=n.ref;if(n.ref=null,i){r(i);const n=e.seen.get(i),s=n.schema
;!s.$ref||"draft-07"!==e.target&&"draft-04"!==e.target&&"openapi-3.0"!==e.target?Object.assign(a,s):(a.allOf=a.allOf??[],
a.allOf.push(s)),Object.assign(a,o)
;if(t._zod.parent===i)for(const e in a)"$ref"!==e&&"allOf"!==e&&(e in o||delete a[e])
;if(s.$ref)for(const e in a)"$ref"!==e&&"allOf"!==e&&e in n.def&&JSON.stringify(a[e])===JSON.stringify(n.def[e])&&delete a[e]
}const s=t._zod.parent;if(s&&s!==i){r(s);const t=e.seen.get(s)
;if(t?.schema.$ref&&(a.$ref=t.schema.$ref,
t.def))for(const e in a)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(a[e])===JSON.stringify(t.def[e])&&delete a[e]
}e.override({zodSchema:t,jsonSchema:a,path:n.path??[]})}
;for(const s of[...e.seen.entries()].reverse())r(s[0]);const a={}
;if("draft-2020-12"===e.target?a.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?a.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?a.$schema="http://json-schema.org/draft-04/schema#":e.target,
e.external?.uri){const n=e.external.registry.get(t)?.id
;if(!n)throw new Error("Schema is missing an `id` property")
;a.$id=e.external.uri(n)}Object.assign(a,n.def??n.schema)
;const o=e.external?.defs??{};for(const s of e.seen.entries()){const e=s[1]
;e.def&&e.defId&&(o[e.defId]=e.def)}
e.external||Object.keys(o).length>0&&("draft-2020-12"===e.target?a.$defs=o:a.definitions=o)
;try{const n=JSON.parse(JSON.stringify(a))
;return Object.defineProperty(n,"~standard",{value:{...t["~standard"],
jsonSchema:{input:Hi(t,"input",e.processors),output:Hi(t,"output",e.processors)}
},enumerable:!1,writable:!1}),n}catch(i){
throw new Error("Error converting schema to JSON.")}}function Zi(e,t){
const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e)
;const r=e._zod.def;if("transform"===r.type)return!0
;if("array"===r.type)return Zi(r.element,n)
;if("set"===r.type)return Zi(r.valueType,n)
;if("lazy"===r.type)return Zi(r.getter(),n)
;if("promise"===r.type||"optional"===r.type||"nonoptional"===r.type||"nullable"===r.type||"readonly"===r.type||"default"===r.type||"prefault"===r.type)return Zi(r.innerType,n)
;if("intersection"===r.type)return Zi(r.left,n)||Zi(r.right,n)
;if("record"===r.type||"map"===r.type)return Zi(r.keyType,n)||Zi(r.valueType,n)
;if("pipe"===r.type)return Zi(r.in,n)||Zi(r.out,n);if("object"===r.type){
for(const e in r.shape)if(Zi(r.shape[e],n))return!0;return!1}
if("union"===r.type){for(const e of r.options)if(Zi(e,n))return!0;return!1}
if("tuple"===r.type){for(const e of r.items)if(Zi(e,n))return!0
;return!(!r.rest||!Zi(r.rest,n))}return!1}const Fi=(e,t={})=>n=>{const r=Bi({
...n,processors:t});return ji(e,r),Ui(r,e),zi(r,e)},Hi=(e,t,n={})=>r=>{
const{libraryOptions:a,target:o}=r??{},i=Bi({...a??{},target:o,io:t,processors:n
});return ji(e,i),Ui(i,e),zi(i,e)},Qi={guid:"uuid",url:"uri",
datetime:"date-time",json_string:"json-string",regex:""},Vi=(e,t,n,r)=>{
const a=n;a.type="string"
;const{minimum:o,maximum:i,format:s,patterns:l,contentEncoding:c}=e._zod.bag
;if("number"==typeof o&&(a.minLength=o),
"number"==typeof i&&(a.maxLength=i),s&&(a.format=Qi[s]??s,
""===a.format&&delete a.format,
"time"===s&&delete a.format),c&&(a.contentEncoding=c),l&&l.size>0){
const e=[...l]
;1===e.length?a.pattern=e[0].source:e.length>1&&(a.allOf=[...e.map((e=>({
..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{
type:"string"}:{},pattern:e.source})))])}},qi=(e,t,n,r)=>{
const a=n,{minimum:o,maximum:i,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag
;"string"==typeof s&&s.includes("int")?a.type="integer":a.type="number",
"number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(a.minimum=u,
a.exclusiveMinimum=!0):a.exclusiveMinimum=u),
"number"==typeof o&&(a.minimum=o,"number"==typeof u&&"draft-04"!==t.target&&(u>=o?delete a.minimum:delete a.exclusiveMinimum)),
"number"==typeof c&&("draft-04"===t.target||"openapi-3.0"===t.target?(a.maximum=c,
a.exclusiveMaximum=!0):a.exclusiveMaximum=c),
"number"==typeof i&&(a.maximum=i,"number"==typeof c&&"draft-04"!==t.target&&(c<=i?delete a.maximum:delete a.exclusiveMaximum)),
"number"==typeof l&&(a.multipleOf=l)},Wi=(e,t,n,r)=>{n.type="boolean"
},Xi=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("BigInt cannot be represented in JSON Schema")
},Gi=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Symbols cannot be represented in JSON Schema")
},Yi=(e,t,n,r)=>{
"openapi-3.0"===t.target?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"
},Ki=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Undefined cannot be represented in JSON Schema")
},Ji=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Void cannot be represented in JSON Schema")
},es=(e,t,n,r)=>{n.not={}},ts=(e,t,n,r)=>{},ns=(e,t,n,r)=>{},rs=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Date cannot be represented in JSON Schema")
},as=(e,t,n,r)=>{const a=s(e._zod.def.entries)
;a.every((e=>"number"==typeof e))&&(n.type="number"),
a.every((e=>"string"==typeof e))&&(n.type="string"),n.enum=a},os=(e,t,n,r)=>{
const a=e._zod.def,o=[];for(const i of a.values)if(void 0===i){
if("throw"===t.unrepresentable)throw new Error("Literal `undefined` cannot be represented in JSON Schema")
}else if("bigint"==typeof i){
if("throw"===t.unrepresentable)throw new Error("BigInt literals cannot be represented in JSON Schema")
;o.push(Number(i))}else o.push(i);if(0===o.length);else if(1===o.length){
const e=o[0]
;n.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?n.enum=[e]:n.const=e
}else o.every((e=>"number"==typeof e))&&(n.type="number"),
o.every((e=>"string"==typeof e))&&(n.type="string"),
o.every((e=>"boolean"==typeof e))&&(n.type="boolean"),
o.every((e=>null===e))&&(n.type="null"),n.enum=o},is=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("NaN cannot be represented in JSON Schema")
},ss=(e,t,n,r)=>{const a=n,o=e._zod.pattern
;if(!o)throw new Error("Pattern not found in template literal");a.type="string",
a.pattern=o.source},ls=(e,t,n,r)=>{const a=n,o={type:"string",format:"binary",
contentEncoding:"binary"},{minimum:i,maximum:s,mime:l}=e._zod.bag
;void 0!==i&&(o.minLength=i),
void 0!==s&&(o.maxLength=s),l?1===l.length?(o.contentMediaType=l[0],
Object.assign(a,o)):(Object.assign(a,o),a.anyOf=l.map((e=>({contentMediaType:e
})))):Object.assign(a,o)},cs=(e,t,n,r)=>{n.type="boolean"},us=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Custom types cannot be represented in JSON Schema")
},ds=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Function types cannot be represented in JSON Schema")
},ps=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Transforms cannot be represented in JSON Schema")
},hs=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Map cannot be represented in JSON Schema")
},fs=(e,t,n,r)=>{
if("throw"===t.unrepresentable)throw new Error("Set cannot be represented in JSON Schema")
},ms=(e,t,n,r)=>{const a=n,o=e._zod.def,{minimum:i,maximum:s}=e._zod.bag
;"number"==typeof i&&(a.minItems=i),
"number"==typeof s&&(a.maxItems=s),a.type="array",a.items=ji(o.element,t,{...r,
path:[...r.path,"items"]})},gs=(e,t,n,r)=>{const a=n,o=e._zod.def
;a.type="object",a.properties={};const i=o.shape
;for(const c in i)a.properties[c]=ji(i[c],t,{...r,
path:[...r.path,"properties",c]})
;const s=new Set(Object.keys(i)),l=new Set([...s].filter((e=>{
const n=o.shape[e]._zod;return"input"===t.io?void 0===n.optin:void 0===n.optout
})))
;l.size>0&&(a.required=Array.from(l)),"never"===o.catchall?._zod.def.type?a.additionalProperties=!1:o.catchall?o.catchall&&(a.additionalProperties=ji(o.catchall,t,{
...r,path:[...r.path,"additionalProperties"]
})):"output"===t.io&&(a.additionalProperties=!1)},vs=(e,t,n,r)=>{
const a=e._zod.def,o=!1===a.inclusive,i=a.options.map(((e,n)=>ji(e,t,{...r,
path:[...r.path,o?"oneOf":"anyOf",n]})));o?n.oneOf=i:n.anyOf=i},bs=(e,t,n,r)=>{
const a=e._zod.def,o=ji(a.left,t,{...r,path:[...r.path,"allOf",0]
}),i=ji(a.right,t,{...r,path:[...r.path,"allOf",1]
}),s=e=>"allOf"in e&&1===Object.keys(e).length,l=[...s(o)?o.allOf:[o],...s(i)?i.allOf:[i]]
;n.allOf=l},ys=(e,t,n,r)=>{const a=n,o=e._zod.def;a.type="array"
;const i="draft-2020-12"===t.target?"prefixItems":"items",s="draft-2020-12"===t.target||"openapi-3.0"===t.target?"items":"additionalItems",l=o.items.map(((e,n)=>ji(e,t,{
...r,path:[...r.path,i,n]}))),c=o.rest?ji(o.rest,t,{...r,
path:[...r.path,s,..."openapi-3.0"===t.target?[o.items.length]:[]]}):null
;"draft-2020-12"===t.target?(a.prefixItems=l,
c&&(a.items=c)):"openapi-3.0"===t.target?(a.items={anyOf:l
},c&&a.items.anyOf.push(c),
a.minItems=l.length,c||(a.maxItems=l.length)):(a.items=l,
c&&(a.additionalItems=c));const{minimum:u,maximum:d}=e._zod.bag
;"number"==typeof u&&(a.minItems=u),"number"==typeof d&&(a.maxItems=d)
},Os=(e,t,n,r)=>{const a=n,o=e._zod.def;a.type="object"
;const i=o.keyType,s=i._zod.bag,l=s?.patterns;if("loose"===o.mode&&l&&l.size>0){
const e=ji(o.valueType,t,{...r,path:[...r.path,"patternProperties","*"]})
;a.patternProperties={};for(const t of l)a.patternProperties[t.source]=e
}else"draft-07"!==t.target&&"draft-2020-12"!==t.target||(a.propertyNames=ji(o.keyType,t,{
...r,path:[...r.path,"propertyNames"]
})),a.additionalProperties=ji(o.valueType,t,{...r,
path:[...r.path,"additionalProperties"]});const c=i._zod.values;if(c){
const e=[...c].filter((e=>"string"==typeof e||"number"==typeof e))
;e.length>0&&(a.required=e)}},ws=(e,t,n,r)=>{
const a=e._zod.def,o=ji(a.innerType,t,r),i=t.seen.get(e)
;"openapi-3.0"===t.target?(i.ref=a.innerType,n.nullable=!0):n.anyOf=[o,{
type:"null"}]},xs=(e,t,n,r)=>{const a=e._zod.def;ji(a.innerType,t,r)
;t.seen.get(e).ref=a.innerType},ks=(e,t,n,r)=>{const a=e._zod.def
;ji(a.innerType,t,r)
;t.seen.get(e).ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))
},Ss=(e,t,n,r)=>{const a=e._zod.def;ji(a.innerType,t,r)
;t.seen.get(e).ref=a.innerType,
"input"===t.io&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))
},_s=(e,t,n,r)=>{const a=e._zod.def;ji(a.innerType,t,r);let o
;t.seen.get(e).ref=a.innerType;try{o=a.catchValue(void 0)}catch{
throw new Error("Dynamic catch values are not supported in JSON Schema")}
n.default=o},As=(e,t,n,r)=>{
const a=e._zod.def,o="input"===t.io?"transform"===a.in._zod.def.type?a.out:a.in:a.out
;ji(o,t,r);t.seen.get(e).ref=o},Ts=(e,t,n,r)=>{const a=e._zod.def
;ji(a.innerType,t,r);t.seen.get(e).ref=a.innerType,n.readOnly=!0
},Es=(e,t,n,r)=>{const a=e._zod.def;ji(a.innerType,t,r)
;t.seen.get(e).ref=a.innerType},Cs=(e,t,n,r)=>{const a=e._zod.def
;ji(a.innerType,t,r);t.seen.get(e).ref=a.innerType},$s=(e,t,n,r)=>{
const a=e._zod.innerType;ji(a,t,r);t.seen.get(e).ref=a},Ps={string:Vi,number:qi,
boolean:Wi,bigint:Xi,symbol:Gi,null:Yi,undefined:Ki,void:Ji,never:es,any:ts,
unknown:ns,date:rs,enum:as,literal:os,nan:is,template_literal:ss,file:ls,
success:cs,custom:us,function:ds,transform:ps,map:hs,set:fs,array:ms,object:gs,
union:vs,intersection:bs,tuple:ys,record:Os,nullable:ws,nonoptional:xs,
default:ks,prefault:Ss,catch:_s,pipe:As,readonly:Ts,promise:Es,optional:Cs,
lazy:$s};function Is(e,t){if("_idmap"in e){const n=e,r=Bi({...t,processors:Ps
}),a={};for(const e of n._idmap.entries()){const[t,n]=e;ji(n,r)}const o={},i={
registry:n,uri:t?.uri,defs:a};r.external=i;for(const e of n._idmap.entries()){
const[t,n]=e;Ui(r,n),o[t]=zi(r,n)}if(Object.keys(a).length>0){
const e="draft-2020-12"===r.target?"$defs":"definitions";o.__shared={[e]:a}}
return{schemas:o}}const n=Bi({...t,processors:Ps})
;return ji(e,n),Ui(n,e),zi(n,e)}const Ds=Object.freeze(Object.defineProperty({
__proto__:null},Symbol.toStringTag,{value:"Module"
})),Ms=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:Zn,
$ZodArray:Wn,$ZodAsyncError:r,$ZodBase64:Tn,$ZodBase64URL:Cn,$ZodBigInt:Ln,
$ZodBigIntFormat:Bn,$ZodBoolean:Rn,$ZodCIDRv4:Sn,$ZodCIDRv6:_n,$ZodCUID:pn,
$ZodCUID2:hn,$ZodCatch:Cr,$ZodCheck:$t,$ZodCheckBigIntFormat:Rt,
$ZodCheckEndsWith:Xt,$ZodCheckGreaterThan:Dt,$ZodCheckIncludes:qt,
$ZodCheckLengthEquals:Zt,$ZodCheckLessThan:It,$ZodCheckLowerCase:Qt,
$ZodCheckMaxLength:Ut,$ZodCheckMaxSize:Lt,$ZodCheckMimeType:Kt,
$ZodCheckMinLength:zt,$ZodCheckMinSize:Bt,$ZodCheckMultipleOf:Mt,
$ZodCheckNumberFormat:Nt,$ZodCheckOverwrite:Jt,$ZodCheckProperty:Yt,
$ZodCheckRegex:Ht,$ZodCheckSizeEquals:jt,$ZodCheckStartsWith:Wt,
$ZodCheckStringFormat:Ft,$ZodCheckUpperCase:Vt,$ZodCodec:Dr,$ZodCustom:Zr,
$ZodCustomStringFormat:Dn,$ZodDate:Vn,$ZodDefault:kr,$ZodDiscriminatedUnion:ar,
$ZodE164:$n,$ZodEmail:ln,$ZodEmoji:un,$ZodEncodeError:a,$ZodEnum:mr,$ZodError:J,
$ZodExactOptional:wr,$ZodFile:vr,$ZodFunction:jr,$ZodGUID:on,$ZodIPv4:wn,
$ZodIPv6:xn,$ZodISODate:bn,$ZodISODateTime:vn,$ZodISODuration:On,$ZodISOTime:yn,
$ZodIntersection:or,$ZodJWT:In,$ZodKSUID:gn,$ZodLazy:zr,$ZodLiteral:gr,
$ZodMAC:kn,$ZodMap:dr,$ZodNaN:$r,$ZodNanoID:dn,$ZodNever:Hn,$ZodNonOptional:Ar,
$ZodNull:zn,$ZodNullable:xr,$ZodNumber:Mn,$ZodNumberFormat:Nn,$ZodObject:Kn,
$ZodObjectJIT:Jn,$ZodOptional:Or,$ZodPipe:Pr,$ZodPrefault:_r,$ZodPromise:Ur,
$ZodReadonly:Rr,$ZodRealError:ee,$ZodRecord:ur,$ZodRegistry:Ga,$ZodSet:hr,
$ZodString:rn,$ZodStringFormat:an,$ZodSuccess:Er,$ZodSymbol:jn,
$ZodTemplateLiteral:Br,$ZodTransform:br,$ZodTuple:lr,$ZodType:nn,$ZodULID:fn,
$ZodURL:cn,$ZodUUID:sn,$ZodUndefined:Un,$ZodUnion:tr,$ZodUnknown:Fn,$ZodVoid:Qn,
$ZodXID:mn,$ZodXor:rr,$brand:n,$constructor:t,$input:Xa,$output:Wa,Doc:en,
JSONSchema:Ds,JSONSchemaGenerator: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"
;"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),this.ctx=Bi({
processors:Ps,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 ji(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)),Ui(this.ctx,e)
;const n=zi(this.ctx,e),{"~standard":r,...a}=n;return a}},NEVER:e,
TimePrecision:_o,_any:Vo,_array:Ei,_base64:wo,_base64url:xo,_bigint:jo,
_boolean:Lo,_catch:function(e,t,n){return new e({type:"catch",innerType:t,
catchValue:"function"==typeof n?n:()=>n})},_check:Di,_cidrv4:yo,_cidrv6:Oo,
_coercedBigint:Uo,_coercedBoolean:Bo,_coercedDate:Yo,_coercedNumber:Po,
_coercedString:eo,_cuid:uo,_cuid2:po,_custom:$i,_date:Go,_decode:ge,
_decodeAsync:Oe,_default:function(e,t,n){return new e({type:"default",
innerType:t,get defaultValue(){return"function"==typeof n?n():S(n)}})},
_discriminatedUnion:function(e,t,n,r){return new e({type:"union",options:n,
discriminator:t,...C(r)})},_e164:ko,_email:to,_emoji:lo,_encode:fe,
_encodeAsync:be,_endsWith:yi,_enum:function(e,t,n){return new e({type:"enum",
entries:Array.isArray(t)?Object.fromEntries(t.map((e=>[e,e]))):t,...C(n)})},
_file:Ci,_float32:Do,_float64:Mo,_gt:ti,_gte:ni,_guid:no,_includes:vi,_int:Io,
_int32:No,_int64:zo,_intersection:function(e,t,n){return new e({
type:"intersection",left:t,right:n})},_ipv4:go,_ipv6:vo,_isoDate:To,
_isoDateTime:Ao,_isoDuration:Co,_isoTime:Eo,_jwt:So,_ksuid:mo,
_lazy:function(e,t){return new e({type:"lazy",getter:t})},_length:hi,
_literal:function(e,t,n){return new e({type:"literal",
values:Array.isArray(t)?t:[t],...C(n)})},_lowercase:mi,_lt:Jo,_lte:ei,_mac:bo,
_map:function(e,t,n,r){return new e({type:"map",keyType:t,valueType:n,...C(r)})
},_max:ei,_maxLength:di,_maxSize:li,_mime:wi,_min:ni,_minLength:pi,_minSize:ci,
_multipleOf:si,_nan:Ko,_nanoid:co,_nativeEnum:function(e,t,n){return new e({
type:"enum",entries:t,...C(n)})},_negative:ai,_never:Wo,_nonnegative:ii,
_nonoptional:function(e,t,n){return new e({type:"nonoptional",innerType:t,
...C(n)})},_nonpositive:oi,_normalize:ki,_null:Qo,_nullable:function(e,t){
return new e({type:"nullable",innerType:t})},_number:$o,_optional:function(e,t){
return new e({type:"optional",innerType:t})},_overwrite:xi,_parse:ie,
_parseAsync:le,_pipe:function(e,t,n){return new e({type:"pipe",in:t,out:n})},
_positive:ri,_promise:function(e,t){return new e({type:"promise",innerType:t})},
_property:Oi,_readonly:function(e,t){return new e({type:"readonly",innerType:t})
},_record:function(e,t,n,r){return new e({type:"record",keyType:t,valueType:n,
...C(r)})},_refine:Pi,_regex:fi,_safeDecode:Se,_safeDecodeAsync:Ee,
_safeEncode:xe,_safeEncodeAsync:Ae,_safeParse:ue,_safeParseAsync:pe,
_set:function(e,t,n){return new e({type:"set",valueType:t,...C(n)})},_size:ui,
_slugify:Ti,_startsWith:bi,_string:Ja,_stringFormat:Li,_stringbool:Ri,
_success:function(e,t){return new e({type:"success",innerType:t})},
_superRefine:Ii,_symbol:Fo,_templateLiteral:function(e,t,n){return new e({
type:"template_literal",parts:t,...C(n)})},_toLowerCase:_i,_toUpperCase:Ai,
_transform:function(e,t){return new e({type:"transform",transform:t})},_trim:Si,
_tuple:function(e,t,n,r){const a=n instanceof nn;return new e({type:"tuple",
items:t,rest:a?n:null,...C(a?r:n)})},_uint32:Ro,_uint64:Zo,_ulid:ho,
_undefined:Ho,_union:function(e,t,n){return new e({type:"union",options:t,
...C(n)})},_unknown:qo,_uppercase:gi,_url:so,_uuid:ro,_uuidv4:ao,_uuidv6:oo,
_uuidv7:io,_void:Xo,_xid:fo,_xor:function(e,t,n){return new e({type:"union",
options:t,inclusive:!1,...C(n)})},clone:E,config:i,
createStandardJSONSchemaMethod:Hi,createToJSONSchemaMethod:Fi,decode:ve,
decodeAsync:we,describe:Mi,encode:me,encodeAsync:ye,extractDefs:Ui,finalize:zi,
flattenError:te,formatError:ne,globalConfig:o,globalRegistry:Ka,
initializeContext:Bi,isValidBase64:An,isValidBase64URL:En,isValidJWT:Pn,
locales:Va,meta:Ni,parse:se,parseAsync:ce,prettifyError:oe,process:ji,
regexes:Ct,registry:Ya,safeDecode:_e,safeDecodeAsync:Ce,safeEncode:ke,
safeEncodeAsync:Te,safeParse:de,safeParseAsync:he,toDotPath:ae,toJSONSchema:Is,
treeifyError:re,util:Y,version:tn},Symbol.toStringTag,{value:"Module"
})),Ns=Object.freeze(Object.defineProperty({__proto__:null,endsWith:yi,gt:ti,
gte:ni,includes:vi,length:hi,lowercase:mi,lt:Jo,lte:ei,maxLength:di,maxSize:li,
mime:wi,minLength:pi,minSize:ci,multipleOf:si,negative:ai,nonnegative:ii,
nonpositive:oi,normalize:ki,overwrite:xi,positive:ri,property:Oi,regex:fi,
size:ui,slugify:Ti,startsWith:bi,toLowerCase:_i,toUpperCase:Ai,trim:Si,
uppercase:gi},Symbol.toStringTag,{value:"Module"
})),Rs=t("ZodISODateTime",((e,t)=>{vn.init(e,t),ul.init(e,t)}));function Ls(e){
return Ao(Rs,e)}const Bs=t("ZodISODate",((e,t)=>{bn.init(e,t),ul.init(e,t)}))
;function js(e){return To(Bs,e)}const Us=t("ZodISOTime",((e,t)=>{
yn.init(e,t),ul.init(e,t)}));function zs(e){return Eo(Us,e)}
const Zs=t("ZodISODuration",((e,t)=>{On.init(e,t),ul.init(e,t)}))
;function Fs(e){return Co(Zs,e)}const Hs=Object.freeze(Object.defineProperty({
__proto__:null,ZodISODate:Bs,ZodISODateTime:Rs,ZodISODuration:Zs,ZodISOTime:Us,
date:js,datetime:Ls,duration:Fs,time:zs},Symbol.toStringTag,{value:"Module"
})),Qs=(e,t)=>{J.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{
value:t=>ne(e,t)},flatten:{value:t=>te(e,t)},addIssue:{value:t=>{
e.issues.push(t),e.message=JSON.stringify(e.issues,c,2)}},addIssues:{value:t=>{
e.issues.push(...t),e.message=JSON.stringify(e.issues,c,2)}},isEmpty:{
get:()=>0===e.issues.length}})},Vs=t("ZodError",Qs),qs=t("ZodError",Qs,{
Parent:Error
}),Ws=ie(qs),Xs=le(qs),Gs=ue(qs),Ys=pe(qs),Ks=fe(qs),Js=ge(qs),el=be(qs),tl=Oe(qs),nl=xe(qs),rl=Se(qs),al=Ae(qs),ol=Ee(qs),il=t("ZodType",((e,t)=>(nn.init(e,t),
Object.assign(e["~standard"],{jsonSchema:{input:Hi(e,"input"),
output:Hi(e,"output")}
}),e.toJSONSchema=Fi(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{
value:t}),e.check=(...n)=>e.clone(v(t,{
checks:[...t.checks??[],...n.map((e=>"function"==typeof e?{_zod:{check:e,def:{
check:"custom"},onattach:[]}}:e))]}),{parent:!0
}),e.with=e.check,e.clone=(t,n)=>E(e,t,n),
e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>Ws(e,t,n,{
callee:e.parse
}),e.safeParse=(t,n)=>Gs(e,t,n),e.parseAsync=async(t,n)=>Xs(e,t,n,{
callee:e.parseAsync
}),e.safeParseAsync=async(t,n)=>Ys(e,t,n),e.spa=e.safeParseAsync,
e.encode=(t,n)=>Ks(e,t,n),
e.decode=(t,n)=>Js(e,t,n),e.encodeAsync=async(t,n)=>el(e,t,n),
e.decodeAsync=async(t,n)=>tl(e,t,n),
e.safeEncode=(t,n)=>nl(e,t,n),e.safeDecode=(t,n)=>rl(e,t,n),
e.safeEncodeAsync=async(t,n)=>al(e,t,n),e.safeDecodeAsync=async(t,n)=>ol(e,t,n),
e.refine=(t,n)=>e.check(Ju(t,n)),
e.superRefine=t=>e.check(ed(t)),e.overwrite=t=>e.check(xi(t)),
e.optional=()=>bu(e),
e.exactOptional=()=>Ou(e),e.nullable=()=>xu(e),e.nullish=()=>bu(xu(e)),
e.nonoptional=t=>Cu(e,t),
e.array=()=>Bc(e),e.or=t=>Qc([e,t]),e.and=t=>Yc(e,t),e.transform=t=>Lu(e,gu(t)),
e.default=t=>_u(e,t),e.prefault=t=>Tu(e,t),e.catch=t=>Du(e,t),e.pipe=t=>Lu(e,t),
e.readonly=()=>zu(e),e.describe=t=>{const n=e.clone();return Ka.add(n,{
description:t}),n},Object.defineProperty(e,"description",{
get:()=>Ka.get(e)?.description,configurable:!0}),e.meta=(...t)=>{
if(0===t.length)return Ka.get(e);const n=e.clone();return Ka.add(n,t[0]),n
},e.isOptional=()=>e.safeParse(void 0).success,
e.isNullable=()=>e.safeParse(null).success,
e.apply=t=>t(e),e))),sl=t("_ZodString",((e,t)=>{
rn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vi(e,t,n)
;const n=e._zod.bag
;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,
e.regex=(...t)=>e.check(fi(...t)),
e.includes=(...t)=>e.check(vi(...t)),e.startsWith=(...t)=>e.check(bi(...t)),
e.endsWith=(...t)=>e.check(yi(...t)),
e.min=(...t)=>e.check(pi(...t)),e.max=(...t)=>e.check(di(...t)),
e.length=(...t)=>e.check(hi(...t)),
e.nonempty=(...t)=>e.check(pi(1,...t)),e.lowercase=t=>e.check(mi(t)),
e.uppercase=t=>e.check(gi(t)),
e.trim=()=>e.check(Si()),e.normalize=(...t)=>e.check(ki(...t)),
e.toLowerCase=()=>e.check(_i()),
e.toUpperCase=()=>e.check(Ai()),e.slugify=()=>e.check(Ti())
})),ll=t("ZodString",((e,t)=>{
rn.init(e,t),sl.init(e,t),e.email=t=>e.check(to(dl,t)),
e.url=t=>e.check(so(Ol,t)),
e.jwt=t=>e.check(So(Jl,t)),e.emoji=t=>e.check(lo(kl,t)),
e.guid=t=>e.check(no(hl,t)),
e.uuid=t=>e.check(ro(ml,t)),e.uuidv4=t=>e.check(ao(ml,t)),
e.uuidv6=t=>e.check(oo(ml,t)),
e.uuidv7=t=>e.check(io(ml,t)),e.nanoid=t=>e.check(co(_l,t)),
e.guid=t=>e.check(no(hl,t)),
e.cuid=t=>e.check(uo(Tl,t)),e.cuid2=t=>e.check(po(Cl,t)),
e.ulid=t=>e.check(ho(Pl,t)),
e.base64=t=>e.check(wo(ql,t)),e.base64url=t=>e.check(xo(Xl,t)),
e.xid=t=>e.check(fo(Dl,t)),
e.ksuid=t=>e.check(mo(Nl,t)),e.ipv4=t=>e.check(go(Ll,t)),
e.ipv6=t=>e.check(vo(zl,t)),
e.cidrv4=t=>e.check(yo(Fl,t)),e.cidrv6=t=>e.check(Oo(Ql,t)),
e.e164=t=>e.check(ko(Yl,t)),
e.datetime=t=>e.check(Ls(t)),e.date=t=>e.check(js(t)),
e.time=t=>e.check(zs(t)),e.duration=t=>e.check(Fs(t))}));function cl(e){
return Ja(ll,e)}const ul=t("ZodStringFormat",((e,t)=>{an.init(e,t),sl.init(e,t)
})),dl=t("ZodEmail",((e,t)=>{ln.init(e,t),ul.init(e,t)}));function pl(e){
return to(dl,e)}const hl=t("ZodGUID",((e,t)=>{on.init(e,t),ul.init(e,t)}))
;function fl(e){return no(hl,e)}const ml=t("ZodUUID",((e,t)=>{
sn.init(e,t),ul.init(e,t)}));function gl(e){return ro(ml,e)}function vl(e){
return ao(ml,e)}function bl(e){return oo(ml,e)}function yl(e){return io(ml,e)}
const Ol=t("ZodURL",((e,t)=>{cn.init(e,t),ul.init(e,t)}));function wl(e){
return so(Ol,e)}function xl(e){return so(Ol,{protocol:/^https?$/,hostname:et,
...C(e)})}const kl=t("ZodEmoji",((e,t)=>{un.init(e,t),ul.init(e,t)}))
;function Sl(e){return lo(kl,e)}const _l=t("ZodNanoID",((e,t)=>{
dn.init(e,t),ul.init(e,t)}));function Al(e){return co(_l,e)}
const Tl=t("ZodCUID",((e,t)=>{pn.init(e,t),ul.init(e,t)}));function El(e){
return uo(Tl,e)}const Cl=t("ZodCUID2",((e,t)=>{hn.init(e,t),ul.init(e,t)}))
;function $l(e){return po(Cl,e)}const Pl=t("ZodULID",((e,t)=>{
fn.init(e,t),ul.init(e,t)}));function Il(e){return ho(Pl,e)}
const Dl=t("ZodXID",((e,t)=>{mn.init(e,t),ul.init(e,t)}));function Ml(e){
return fo(Dl,e)}const Nl=t("ZodKSUID",((e,t)=>{gn.init(e,t),ul.init(e,t)}))
;function Rl(e){return mo(Nl,e)}const Ll=t("ZodIPv4",((e,t)=>{
wn.init(e,t),ul.init(e,t)}));function Bl(e){return go(Ll,e)}
const jl=t("ZodMAC",((e,t)=>{kn.init(e,t),ul.init(e,t)}));function Ul(e){
return bo(jl,e)}const zl=t("ZodIPv6",((e,t)=>{xn.init(e,t),ul.init(e,t)}))
;function Zl(e){return vo(zl,e)}const Fl=t("ZodCIDRv4",((e,t)=>{
Sn.init(e,t),ul.init(e,t)}));function Hl(e){return yo(Fl,e)}
const Ql=t("ZodCIDRv6",((e,t)=>{_n.init(e,t),ul.init(e,t)}));function Vl(e){
return Oo(Ql,e)}const ql=t("ZodBase64",((e,t)=>{Tn.init(e,t),ul.init(e,t)}))
;function Wl(e){return wo(ql,e)}const Xl=t("ZodBase64URL",((e,t)=>{Cn.init(e,t),
ul.init(e,t)}));function Gl(e){return xo(Xl,e)}const Yl=t("ZodE164",((e,t)=>{
$n.init(e,t),ul.init(e,t)}));function Kl(e){return ko(Yl,e)}
const Jl=t("ZodJWT",((e,t)=>{In.init(e,t),ul.init(e,t)}));function ec(e){
return So(Jl,e)}const tc=t("ZodCustomStringFormat",((e,t)=>{
Dn.init(e,t),ul.init(e,t)}));function nc(e,t,n={}){return Li(tc,e,t,n)}
function rc(e){return Li(tc,"hostname",Je,e)}function ac(e){
return Li(tc,"hex",gt,e)}function oc(e,t){
const n=`${e}_${t?.enc??"hex"}`,r=Ct[n]
;if(!r)throw new Error(`Unrecognized hash format: ${n}`);return Li(tc,n,r,t)}
const ic=t("ZodNumber",((e,t)=>{
Mn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qi(e,t,n),
e.gt=(t,n)=>e.check(ti(t,n)),
e.gte=(t,n)=>e.check(ni(t,n)),e.min=(t,n)=>e.check(ni(t,n)),
e.lt=(t,n)=>e.check(Jo(t,n)),
e.lte=(t,n)=>e.check(ei(t,n)),e.max=(t,n)=>e.check(ei(t,n)),
e.int=t=>e.check(cc(t)),e.safe=t=>e.check(cc(t)),e.positive=t=>e.check(ti(0,t)),
e.nonnegative=t=>e.check(ni(0,t)),
e.negative=t=>e.check(Jo(0,t)),e.nonpositive=t=>e.check(ei(0,t)),
e.multipleOf=(t,n)=>e.check(si(t,n)),
e.step=(t,n)=>e.check(si(t,n)),e.finite=()=>e;const n=e._zod.bag
;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,
e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,
e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),
e.isFinite=!0,e.format=n.format??null}));function sc(e){return $o(ic,e)}
const lc=t("ZodNumberFormat",((e,t)=>{Nn.init(e,t),ic.init(e,t)}))
;function cc(e){return Io(lc,e)}function uc(e){return Do(lc,e)}function dc(e){
return Mo(lc,e)}function pc(e){return No(lc,e)}function hc(e){return Ro(lc,e)}
const fc=t("ZodBoolean",((e,t)=>{
Rn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Wi(0,0,t)}))
;function mc(e){return Lo(fc,e)}const gc=t("ZodBigInt",((e,t)=>{
Ln.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(e,t,n)=>Xi(0,e),e.gte=(t,n)=>e.check(ni(t,n)),
e.min=(t,n)=>e.check(ni(t,n)),
e.gt=(t,n)=>e.check(ti(t,n)),e.gte=(t,n)=>e.check(ni(t,n)),
e.min=(t,n)=>e.check(ni(t,n)),
e.lt=(t,n)=>e.check(Jo(t,n)),e.lte=(t,n)=>e.check(ei(t,n)),
e.max=(t,n)=>e.check(ei(t,n)),
e.positive=t=>e.check(ti(BigInt(0),t)),e.negative=t=>e.check(Jo(BigInt(0),t)),
e.nonpositive=t=>e.check(ei(BigInt(0),t)),
e.nonnegative=t=>e.check(ni(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(si(t,n))
;const n=e._zod.bag
;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null
}));function vc(e){return jo(gc,e)}const bc=t("ZodBigIntFormat",((e,t)=>{
Bn.init(e,t),gc.init(e,t)}));function yc(e){return zo(bc,e)}function Oc(e){
return Zo(bc,e)}const wc=t("ZodSymbol",((e,t)=>{
jn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Gi(0,e)}))
;function xc(e){return Fo(wc,e)}const kc=t("ZodUndefined",((e,t)=>{Un.init(e,t),
il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Ki(0,e)}));function Sc(e){
return Ho(kc,e)}const _c=t("ZodNull",((e,t)=>{
zn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Yi(0,e,t)}))
;function Ac(e){return Qo(_c,e)}const Tc=t("ZodAny",((e,t)=>{
Zn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>{}}));function Ec(){
return Vo(Tc)}const Cc=t("ZodUnknown",((e,t)=>{
Fn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>{}}));function $c(){
return qo(Cc)}const Pc=t("ZodNever",((e,t)=>{
Hn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>es(0,0,t)}))
;function Ic(e){return Wo(Pc,e)}const Dc=t("ZodVoid",((e,t)=>{
Qn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>Ji(0,e)}))
;function Mc(e){return Xo(Dc,e)}const Nc=t("ZodDate",((e,t)=>{
Vn.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(e,t,n)=>rs(0,e),e.min=(t,n)=>e.check(ni(t,n)),
e.max=(t,n)=>e.check(ei(t,n));const n=e._zod.bag
;e.minDate=n.minimum?new Date(n.minimum):null,
e.maxDate=n.maximum?new Date(n.maximum):null}));function Rc(e){return Go(Nc,e)}
const Lc=t("ZodArray",((e,t)=>{
Wn.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ms(e,t,n,r),
e.element=t.element,
e.min=(t,n)=>e.check(pi(t,n)),e.nonempty=t=>e.check(pi(1,t)),
e.max=(t,n)=>e.check(di(t,n)),
e.length=(t,n)=>e.check(hi(t,n)),e.unwrap=()=>e.element}));function Bc(e,t){
return Ei(Lc,e,t)}function jc(e){const t=e._zod.def.shape
;return cu(Object.keys(t))}const Uc=t("ZodObject",((e,t)=>{
Jn.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(t,n,r)=>gs(e,t,n,r),m(e,"shape",(()=>t.shape)),
e.keyof=()=>cu(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({
...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,
catchall:$c()}),e.loose=()=>e.clone({...e._zod.def,catchall:$c()
}),e.strict=()=>e.clone({...e._zod.def,catchall:Ic()}),e.strip=()=>e.clone({
...e._zod.def,catchall:void 0
}),e.extend=t=>R(e,t),e.safeExtend=t=>L(e,t),e.merge=t=>B(e,t),e.pick=t=>M(e,t),
e.omit=t=>N(e,t),e.partial=(...t)=>j(vu,e,t[0]),e.required=(...t)=>U(Eu,e,t[0])
}));function zc(e,t){const n={type:"object",shape:e??{},...C(t)}
;return new Uc(n)}function Zc(e,t){return new Uc({type:"object",shape:e,
catchall:Ic(),...C(t)})}function Fc(e,t){return new Uc({type:"object",shape:e,
catchall:$c(),...C(t)})}const Hc=t("ZodUnion",((e,t)=>{
tr.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(t,n,r)=>vs(e,t,n,r),e.options=t.options}))
;function Qc(e,t){return new Hc({type:"union",options:e,...C(t)})}
const Vc=t("ZodXor",((e,t)=>{
Hc.init(e,t),rr.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vs(e,t,n,r),
e.options=t.options}));function qc(e,t){return new Vc({type:"union",options:e,
inclusive:!1,...C(t)})}const Wc=t("ZodDiscriminatedUnion",((e,t)=>{Hc.init(e,t),
ar.init(e,t)}));function Xc(e,t,n){return new Wc({type:"union",options:t,
discriminator:e,...C(n)})}const Gc=t("ZodIntersection",((e,t)=>{
or.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bs(e,t,n,r)}))
;function Yc(e,t){return new Gc({type:"intersection",left:e,right:t})}
const Kc=t("ZodTuple",((e,t)=>{
lr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ys(e,t,n,r),
e.rest=t=>e.clone({...e._zod.def,rest:t})}));function Jc(e,t,n){
const r=t instanceof nn;return new Kc({type:"tuple",items:e,rest:r?t:null,
...C(r?n:t)})}const eu=t("ZodRecord",((e,t)=>{
ur.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Os(e,t,n,r),
e.keyType=t.keyType,e.valueType=t.valueType}));function tu(e,t,n){
return new eu({type:"record",keyType:e,valueType:t,...C(n)})}function nu(e,t,n){
const r=E(e);return r._zod.values=void 0,new eu({type:"record",keyType:r,
valueType:t,...C(n)})}function ru(e,t,n){return new eu({type:"record",keyType:e,
valueType:t,mode:"loose",...C(n)})}const au=t("ZodMap",((e,t)=>{
dr.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(e,t,n)=>hs(0,e),e.keyType=t.keyType,
e.valueType=t.valueType,
e.min=(...t)=>e.check(ci(...t)),e.nonempty=t=>e.check(ci(1,t)),
e.max=(...t)=>e.check(li(...t)),e.size=(...t)=>e.check(ui(...t))}))
;function ou(e,t,n){return new au({type:"map",keyType:e,valueType:t,...C(n)})}
const iu=t("ZodSet",((e,t)=>{
hr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>fs(0,e),
e.min=(...t)=>e.check(ci(...t)),
e.nonempty=t=>e.check(ci(1,t)),e.max=(...t)=>e.check(li(...t)),
e.size=(...t)=>e.check(ui(...t))}));function su(e,t){return new iu({type:"set",
valueType:e,...C(t)})}const lu=t("ZodEnum",((e,t)=>{
mr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>as(e,0,n),
e.enum=t.entries,e.options=Object.values(t.entries)
;const n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{const a={}
;for(const o of e){if(!n.has(o))throw new Error(`Key ${o} not found in enum`)
;a[o]=t.entries[o]}return new lu({...t,checks:[],...C(r),entries:a})
},e.exclude=(e,r)=>{const a={...t.entries};for(const t of e){
if(!n.has(t))throw new Error(`Key ${t} not found in enum`);delete a[t]}
return new lu({...t,checks:[],...C(r),entries:a})}}));function cu(e,t){
const n=Array.isArray(e)?Object.fromEntries(e.map((e=>[e,e]))):e;return new lu({
type:"enum",entries:n,...C(t)})}function uu(e,t){return new lu({type:"enum",
entries:e,...C(t)})}const du=t("ZodLiteral",((e,t)=>{
gr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>os(e,t,n),
e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){
if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.")
;return t.values[0]}})}));function pu(e,t){return new du({type:"literal",
values:Array.isArray(e)?e:[e],...C(t)})}const hu=t("ZodFile",((e,t)=>{
vr.init(e,t),
il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ls(e,0,n),e.min=(t,n)=>e.check(ci(t,n)),
e.max=(t,n)=>e.check(li(t,n)),
e.mime=(t,n)=>e.check(wi(Array.isArray(t)?t:[t],n))}));function fu(e){
return Ci(hu,e)}const mu=t("ZodTransform",((e,t)=>{
br.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>ps(0,e),
e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new a(e.constructor.name)
;n.addIssue=r=>{if("string"==typeof r)n.issues.push(W(r,n.value,t));else{
const t=r
;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=n.value),
t.inst??(t.inst=e),n.issues.push(W(t))}};const o=t.transform(n.value,n)
;return o instanceof Promise?o.then((e=>(n.value=e,n))):(n.value=o,n)}}))
;function gu(e){return new mu({type:"transform",transform:e})}
const vu=t("ZodOptional",((e,t)=>{
Or.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cs(e,t,0,r),
e.unwrap=()=>e._zod.def.innerType}));function bu(e){return new vu({
type:"optional",innerType:e})}const yu=t("ZodExactOptional",((e,t)=>{
wr.init(e,t),
il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cs(e,t,0,r),e.unwrap=()=>e._zod.def.innerType
}));function Ou(e){return new yu({type:"optional",innerType:e})}
const wu=t("ZodNullable",((e,t)=>{
xr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ws(e,t,n,r),
e.unwrap=()=>e._zod.def.innerType}));function xu(e){return new wu({
type:"nullable",innerType:e})}function ku(e){return bu(xu(e))}
const Su=t("ZodDefault",((e,t)=>{
kr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ks(e,t,n,r),
e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}));function _u(e,t){
return new Su({type:"default",innerType:e,get defaultValue(){
return"function"==typeof t?t():S(t)}})}const Au=t("ZodPrefault",((e,t)=>{
_r.init(e,t),
il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ss(e,t,n,r),e.unwrap=()=>e._zod.def.innerType
}));function Tu(e,t){return new Au({type:"prefault",innerType:e,
get defaultValue(){return"function"==typeof t?t():S(t)}})}
const Eu=t("ZodNonOptional",((e,t)=>{
Ar.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xs(e,t,0,r),
e.unwrap=()=>e._zod.def.innerType}));function Cu(e,t){return new Eu({
type:"nonoptional",innerType:e,...C(t)})}const $u=t("ZodSuccess",((e,t)=>{
Er.init(e,t),
il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>cs(0,0,t),e.unwrap=()=>e._zod.def.innerType
}));function Pu(e){return new $u({type:"success",innerType:e})}
const Iu=t("ZodCatch",((e,t)=>{
Cr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_s(e,t,n,r),
e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}));function Du(e,t){
return new Iu({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t
})}const Mu=t("ZodNaN",((e,t)=>{
$r.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>is(0,e)}))
;function Nu(e){return Ko(Mu,e)}const Ru=t("ZodPipe",((e,t)=>{
Pr.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(t,n,r)=>As(e,t,0,r),e.in=t.in,e.out=t.out}))
;function Lu(e,t){return new Ru({type:"pipe",in:e,out:t})}
const Bu=t("ZodCodec",((e,t)=>{Ru.init(e,t),Dr.init(e,t)}));function ju(e,t,n){
return new Bu({type:"pipe",in:e,out:t,transform:n.decode,
reverseTransform:n.encode})}const Uu=t("ZodReadonly",((e,t)=>{
Rr.init(e,t),il.init(e,t),
e._zod.processJSONSchema=(t,n,r)=>Ts(e,t,n,r),e.unwrap=()=>e._zod.def.innerType
}));function zu(e){return new Uu({type:"readonly",innerType:e})}
const Zu=t("ZodTemplateLiteral",((e,t)=>{
Br.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ss(e,0,n)}))
;function Fu(e,t){return new Zu({type:"template_literal",parts:e,...C(t)})}
const Hu=t("ZodLazy",((e,t)=>{
zr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$s(e,t,0,r),
e.unwrap=()=>e._zod.def.getter()}));function Qu(e){return new Hu({type:"lazy",
getter:e})}const Vu=t("ZodPromise",((e,t)=>{
Ur.init(e,t),il.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Es(e,t,0,r),
e.unwrap=()=>e._zod.def.innerType}));function qu(e){return new Vu({
type:"promise",innerType:e})}const Wu=t("ZodFunction",((e,t)=>{
jr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>ds(0,e)}))
;function Xu(e){return new Wu({type:"function",
input:Array.isArray(e?.input)?Jc(e?.input):e?.input??Bc($c()),
output:e?.output??$c()})}const Gu=t("ZodCustom",((e,t)=>{
Zr.init(e,t),il.init(e,t),e._zod.processJSONSchema=(e,t,n)=>us(0,e)}))
;function Yu(e){const t=new $t({check:"custom"});return t._zod.check=e,t}
function Ku(e,t){return $i(Gu,e??(()=>!0),t)}function Ju(e,t={}){
return Pi(Gu,e,t)}function ed(e){return Ii(e)}const td=Mi,nd=Ni
;function rd(e,t={}){const n=new Gu({type:"custom",check:"custom",
fn:t=>t instanceof e,abort:!0,...C(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}const ad=(...e)=>Ri({
Codec:Bu,Boolean:fc,String:ll},...e);function od(e){
const t=Qu((()=>Qc([cl(e),sc(),mc(),Ac(),Bc(t),tu(cl(),t)])));return t}
function id(e,t){return Lu(gu(e),t)}
const sd=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:Tc,
ZodArray:Lc,ZodBase64:ql,ZodBase64URL:Xl,ZodBigInt:gc,ZodBigIntFormat:bc,
ZodBoolean:fc,ZodCIDRv4:Fl,ZodCIDRv6:Ql,ZodCUID:Tl,ZodCUID2:Cl,ZodCatch:Iu,
ZodCodec:Bu,ZodCustom:Gu,ZodCustomStringFormat:tc,ZodDate:Nc,ZodDefault:Su,
ZodDiscriminatedUnion:Wc,ZodE164:Yl,ZodEmail:dl,ZodEmoji:kl,ZodEnum:lu,
ZodExactOptional:yu,ZodFile:hu,ZodFunction:Wu,ZodGUID:hl,ZodIPv4:Ll,ZodIPv6:zl,
ZodIntersection:Gc,ZodJWT:Jl,ZodKSUID:Nl,ZodLazy:Hu,ZodLiteral:du,ZodMAC:jl,
ZodMap:au,ZodNaN:Mu,ZodNanoID:_l,ZodNever:Pc,ZodNonOptional:Eu,ZodNull:_c,
ZodNullable:wu,ZodNumber:ic,ZodNumberFormat:lc,ZodObject:Uc,ZodOptional:vu,
ZodPipe:Ru,ZodPrefault:Au,ZodPromise:Vu,ZodReadonly:Uu,ZodRecord:eu,ZodSet:iu,
ZodString:ll,ZodStringFormat:ul,ZodSuccess:$u,ZodSymbol:wc,
ZodTemplateLiteral:Zu,ZodTransform:mu,ZodTuple:Kc,ZodType:il,ZodULID:Pl,
ZodURL:Ol,ZodUUID:ml,ZodUndefined:kc,ZodUnion:Hc,ZodUnknown:Cc,ZodVoid:Dc,
ZodXID:Dl,ZodXor:Vc,_ZodString:sl,_default:_u,_function:Xu,any:Ec,array:Bc,
base64:Wl,base64url:Gl,bigint:vc,boolean:mc,catch:Du,check:Yu,cidrv4:Hl,
cidrv6:Vl,codec:ju,cuid:El,cuid2:$l,custom:Ku,date:Rc,describe:td,
discriminatedUnion:Xc,e164:Kl,email:pl,emoji:Sl,enum:cu,exactOptional:Ou,
file:fu,float32:uc,float64:dc,function:Xu,guid:fl,hash:oc,hex:ac,hostname:rc,
httpUrl:xl,instanceof:rd,int:cc,int32:pc,int64:yc,intersection:Yc,ipv4:Bl,
ipv6:Zl,json:od,jwt:ec,keyof:jc,ksuid:Rl,lazy:Qu,literal:pu,looseObject:Fc,
looseRecord:ru,mac:Ul,map:ou,meta:nd,nan:Nu,nanoid:Al,nativeEnum:uu,never:Ic,
nonoptional:Cu,null:Ac,nullable:xu,nullish:ku,number:sc,object:zc,optional:bu,
partialRecord:nu,pipe:Lu,prefault:Tu,preprocess:id,promise:qu,readonly:zu,
record:tu,refine:Ju,set:su,strictObject:Zc,string:cl,stringFormat:nc,
stringbool:ad,success:Pu,superRefine:ed,symbol:xc,templateLiteral:Fu,
transform:gu,tuple:Jc,uint32:hc,uint64:Oc,ulid:Il,undefined:Sc,union:Qc,
unknown:$c,url:wl,uuid:gl,uuidv4:vl,uuidv6:bl,uuidv7:yl,void:Mc,xid:Ml,xor:qc
},Symbol.toStringTag,{value:"Module"}));var ld;ld||(ld={});const cd={...sd,
...Ns,iso:Hs
},ud=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"])
;function dd(e,t){if(void 0!==e.not){
if("object"==typeof e.not&&0===Object.keys(e.not).length)return cd.never()
;throw new Error("not is not supported in Zod (except { not: {} } for never)")}
if(void 0!==e.unevaluatedItems)throw new Error("unevaluatedItems is not supported")
;if(void 0!==e.unevaluatedProperties)throw new Error("unevaluatedProperties is not supported")
;if(void 0!==e.if||void 0!==e.then||void 0!==e.else)throw new Error("Conditional schemas (if/then/else) are not supported")
;if(void 0!==e.dependentSchemas||void 0!==e.dependentRequired)throw new Error("dependentSchemas and dependentRequired are not supported")
;if(e.$ref){const n=e.$ref;if(t.refs.has(n))return t.refs.get(n)
;if(t.processing.has(n))return cd.lazy((()=>{
if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`)
;return t.refs.get(n)}));t.processing.add(n);const r=function(e,t){
if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed")
;const n=e.slice(1).split("/").filter(Boolean)
;if(0===n.length)return t.rootSchema
;const r="draft-2020-12"===t.version?"$defs":"definitions";if(n[0]===r){
const r=n[1];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`)
;return t.defs[r]}throw new Error(`Reference not found: ${e}`)}(n,t),a=pd(r,t)
;return t.refs.set(n,a),t.processing.delete(n),a}if(void 0!==e.enum){
const n=e.enum
;if("openapi-3.0"===t.version&&!0===e.nullable&&1===n.length&&null===n[0])return cd.null()
;if(0===n.length)return cd.never();if(1===n.length)return cd.literal(n[0])
;if(n.every((e=>"string"==typeof e)))return cd.enum(n)
;const r=n.map((e=>cd.literal(e)))
;return r.length<2?r[0]:cd.union([r[0],r[1],...r.slice(2)])}
if(void 0!==e.const)return cd.literal(e.const);const n=e.type
;if(Array.isArray(n)){const r=n.map((n=>dd({...e,type:n},t)))
;return 0===r.length?cd.never():1===r.length?r[0]:cd.union(r)}
if(!n)return cd.any();let r;switch(n){case"string":{let t=cd.string()
;if(e.format){const n=e.format
;"email"===n?t=t.check(cd.email()):"uri"===n||"uri-reference"===n?t=t.check(cd.url()):"uuid"===n||"guid"===n?t=t.check(cd.uuid()):"date-time"===n?t=t.check(cd.iso.datetime()):"date"===n?t=t.check(cd.iso.date()):"time"===n?t=t.check(cd.iso.time()):"duration"===n?t=t.check(cd.iso.duration()):"ipv4"===n?t=t.check(cd.ipv4()):"ipv6"===n?t=t.check(cd.ipv6()):"mac"===n?t=t.check(cd.mac()):"cidr"===n?t=t.check(cd.cidrv4()):"cidr-v6"===n?t=t.check(cd.cidrv6()):"base64"===n?t=t.check(cd.base64()):"base64url"===n?t=t.check(cd.base64url()):"e164"===n?t=t.check(cd.e164()):"jwt"===n?t=t.check(cd.jwt()):"emoji"===n?t=t.check(cd.emoji()):"nanoid"===n?t=t.check(cd.nanoid()):"cuid"===n?t=t.check(cd.cuid()):"cuid2"===n?t=t.check(cd.cuid2()):"ulid"===n?t=t.check(cd.ulid()):"xid"===n?t=t.check(cd.xid()):"ksuid"===n&&(t=t.check(cd.ksuid()))
}
"number"==typeof e.minLength&&(t=t.min(e.minLength)),"number"==typeof e.maxLength&&(t=t.max(e.maxLength)),
e.pattern&&(t=t.regex(new RegExp(e.pattern))),r=t;break}case"number":
case"integer":{let t="integer"===n?cd.number().int():cd.number()
;"number"==typeof e.minimum&&(t=t.min(e.minimum)),
"number"==typeof e.maximum&&(t=t.max(e.maximum)),
"number"==typeof e.exclusiveMinimum?t=t.gt(e.exclusiveMinimum):!0===e.exclusiveMinimum&&"number"==typeof e.minimum&&(t=t.gt(e.minimum)),
"number"==typeof e.exclusiveMaximum?t=t.lt(e.exclusiveMaximum):!0===e.exclusiveMaximum&&"number"==typeof e.maximum&&(t=t.lt(e.maximum)),
"number"==typeof e.multipleOf&&(t=t.multipleOf(e.multipleOf)),r=t;break}
case"boolean":r=cd.boolean();break;case"null":r=cd.null();break;case"object":{
const n={},a=e.properties||{},o=new Set(e.required||[])
;for(const[e,r]of Object.entries(a)){const a=pd(r,t)
;n[e]=o.has(e)?a:a.optional()}if(e.propertyNames){
const a=pd(e.propertyNames,t),o=e.additionalProperties&&"object"==typeof e.additionalProperties?pd(e.additionalProperties,t):cd.any()
;if(0===Object.keys(n).length){r=cd.record(a,o);break}
const i=cd.object(n).passthrough(),s=cd.looseRecord(a,o);r=cd.intersection(i,s)
;break}if(e.patternProperties){const a=e.patternProperties,o=Object.keys(a),i=[]
;for(const e of o){const n=pd(a[e],t),r=cd.string().regex(new RegExp(e))
;i.push(cd.looseRecord(r,n))}const s=[]
;if(Object.keys(n).length>0&&s.push(cd.object(n).passthrough()),
s.push(...i),0===s.length)r=cd.object({}).passthrough();else if(1===s.length)r=s[0];else{
let e=cd.intersection(s[0],s[1])
;for(let t=2;t<s.length;t++)e=cd.intersection(e,s[t]);r=e}break}
const i=cd.object(n)
;r=!1===e.additionalProperties?i.strict():"object"==typeof e.additionalProperties?i.catchall(pd(e.additionalProperties,t)):i.passthrough()
;break}case"array":{const n=e.prefixItems,a=e.items;if(n&&Array.isArray(n)){
const o=n.map((e=>pd(e,t))),i=a&&"object"==typeof a&&!Array.isArray(a)?pd(a,t):void 0
;r=i?cd.tuple(o).rest(i):cd.tuple(o),
"number"==typeof e.minItems&&(r=r.check(cd.minLength(e.minItems))),
"number"==typeof e.maxItems&&(r=r.check(cd.maxLength(e.maxItems)))
}else if(Array.isArray(a)){
const n=a.map((e=>pd(e,t))),o=e.additionalItems&&"object"==typeof e.additionalItems?pd(e.additionalItems,t):void 0
;r=o?cd.tuple(n).rest(o):cd.tuple(n),
"number"==typeof e.minItems&&(r=r.check(cd.minLength(e.minItems))),
"number"==typeof e.maxItems&&(r=r.check(cd.maxLength(e.maxItems)))
}else if(void 0!==a){const n=pd(a,t);let o=cd.array(n)
;"number"==typeof e.minItems&&(o=o.min(e.minItems)),
"number"==typeof e.maxItems&&(o=o.max(e.maxItems)),r=o}else r=cd.array(cd.any())
;break}default:throw new Error(`Unsupported type: ${n}`)}
return e.description&&(r=r.describe(e.description)),
void 0!==e.default&&(r=r.default(e.default)),r}function pd(e,t){
if("boolean"==typeof e)return e?cd.any():cd.never();let n=dd(e,t)
;const r=e.type||void 0!==e.enum||void 0!==e.const
;if(e.anyOf&&Array.isArray(e.anyOf)){
const a=e.anyOf.map((e=>pd(e,t))),o=cd.union(a);n=r?cd.intersection(n,o):o}
if(e.oneOf&&Array.isArray(e.oneOf)){
const a=e.oneOf.map((e=>pd(e,t))),o=cd.xor(a);n=r?cd.intersection(n,o):o}
if(e.allOf&&Array.isArray(e.allOf))if(0===e.allOf.length)n=r?n:cd.any();else{
let a=r?n:pd(e.allOf[0],t)
;for(let n=r?0:1;n<e.allOf.length;n++)a=cd.intersection(a,pd(e.allOf[n],t));n=a}
!0===e.nullable&&"openapi-3.0"===t.version&&(n=cd.nullable(n)),
!0===e.readOnly&&(n=cd.readonly(n))
;const a={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"]
;for(const s of o)s in e&&(a[s]=e[s])
;const i=["contentEncoding","contentMediaType","contentSchema"]
;for(const s of i)s in e&&(a[s]=e[s])
;for(const s of Object.keys(e))ud.has(s)||(a[s]=e[s])
;return Object.keys(a).length>0&&t.registry.add(n,a),n}function hd(e){
return eo(ll,e)}const fd=Object.freeze(Object.defineProperty({__proto__:null,
bigint:function(e){return Uo(gc,e)},boolean:function(e){return Bo(fc,e)},
date:function(e){return Yo(Nc,e)},number:function(e){return Po(ic,e)},string:hd
},Symbol.toStringTag,{value:"Module"}));i(ea())
;const md=Object.freeze(Object.defineProperty({__proto__:null,$brand:n,
$input:Xa,$output:Wa,NEVER:e,TimePrecision:_o,ZodAny:Tc,ZodArray:Lc,
ZodBase64:ql,ZodBase64URL:Xl,ZodBigInt:gc,ZodBigIntFormat:bc,ZodBoolean:fc,
ZodCIDRv4:Fl,ZodCIDRv6:Ql,ZodCUID:Tl,ZodCUID2:Cl,ZodCatch:Iu,ZodCodec:Bu,
ZodCustom:Gu,ZodCustomStringFormat:tc,ZodDate:Nc,ZodDefault:Su,
ZodDiscriminatedUnion:Wc,ZodE164:Yl,ZodEmail:dl,ZodEmoji:kl,ZodEnum:lu,
ZodError:Vs,ZodExactOptional:yu,ZodFile:hu,get ZodFirstPartyTypeKind(){return ld
},ZodFunction:Wu,ZodGUID:hl,ZodIPv4:Ll,ZodIPv6:zl,ZodISODate:Bs,
ZodISODateTime:Rs,ZodISODuration:Zs,ZodISOTime:Us,ZodIntersection:Gc,
ZodIssueCode:{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"
},ZodJWT:Jl,ZodKSUID:Nl,ZodLazy:Hu,ZodLiteral:du,ZodMAC:jl,ZodMap:au,ZodNaN:Mu,
ZodNanoID:_l,ZodNever:Pc,ZodNonOptional:Eu,ZodNull:_c,ZodNullable:wu,
ZodNumber:ic,ZodNumberFormat:lc,ZodObject:Uc,ZodOptional:vu,ZodPipe:Ru,
ZodPrefault:Au,ZodPromise:Vu,ZodReadonly:Uu,ZodRealError:qs,ZodRecord:eu,
ZodSet:iu,ZodString:ll,ZodStringFormat:ul,ZodSuccess:$u,ZodSymbol:wc,
ZodTemplateLiteral:Zu,ZodTransform:mu,ZodTuple:Kc,ZodType:il,ZodULID:Pl,
ZodURL:Ol,ZodUUID:ml,ZodUndefined:kc,ZodUnion:Hc,ZodUnknown:Cc,ZodVoid:Dc,
ZodXID:Dl,ZodXor:Vc,_ZodString:sl,_default:_u,_function:Xu,any:Ec,array:Bc,
base64:Wl,base64url:Gl,bigint:vc,boolean:mc,catch:Du,check:Yu,cidrv4:Hl,
cidrv6:Vl,clone:E,codec:ju,coerce:fd,config:i,core:Ms,cuid:El,cuid2:$l,
custom:Ku,date:Rc,decode:Js,decodeAsync:tl,describe:td,discriminatedUnion:Xc,
e164:Kl,email:pl,emoji:Sl,encode:Ks,encodeAsync:el,endsWith:yi,enum:cu,
exactOptional:Ou,file:fu,flattenError:te,float32:uc,float64:dc,formatError:ne,
fromJSONSchema:function(e,t){if("boolean"==typeof e)return e?cd.any():cd.never()
;const n=function(e,t){const n=e.$schema
;return"https://json-schema.org/draft/2020-12/schema"===n?"draft-2020-12":"http://json-schema.org/draft-07/schema#"===n?"draft-7":"http://json-schema.org/draft-04/schema#"===n?"draft-4":t??"draft-2020-12"
}(e,t?.defaultTarget);return pd(e,{version:n,defs:e.$defs||e.definitions||{},
refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??Ka})},
function:Xu,getErrorMap:function(){return i().customError},globalRegistry:Ka,
gt:ti,gte:ni,guid:fl,hash:oc,hex:ac,hostname:rc,httpUrl:xl,includes:vi,
instanceof:rd,int:cc,int32:pc,int64:yc,intersection:Yc,ipv4:Bl,ipv6:Zl,iso:Hs,
json:od,jwt:ec,keyof:jc,ksuid:Rl,lazy:Qu,length:hi,literal:pu,locales:Va,
looseObject:Fc,looseRecord:ru,lowercase:mi,lt:Jo,lte:ei,mac:Ul,map:ou,
maxLength:di,maxSize:li,meta:nd,mime:wi,minLength:pi,minSize:ci,multipleOf:si,
nan:Nu,nanoid:Al,nativeEnum:uu,negative:ai,never:Ic,nonnegative:ii,
nonoptional:Cu,nonpositive:oi,normalize:ki,null:Ac,nullable:xu,nullish:ku,
number:sc,object:zc,optional:bu,overwrite:xi,parse:Ws,parseAsync:Xs,
partialRecord:nu,pipe:Lu,positive:ri,prefault:Tu,preprocess:id,prettifyError:oe,
promise:qu,property:Oi,readonly:zu,record:tu,refine:Ju,regex:fi,regexes:Ct,
registry:Ya,safeDecode:rl,safeDecodeAsync:ol,safeEncode:nl,safeEncodeAsync:al,
safeParse:Gs,safeParseAsync:Ys,set:su,setErrorMap:function(e){i({customError:e})
},size:ui,slugify:Ti,startsWith:bi,strictObject:Zc,string:cl,stringFormat:nc,
stringbool:ad,success:Pu,superRefine:ed,symbol:xc,templateLiteral:Fu,
toJSONSchema:Is,toLowerCase:_i,toUpperCase:Ai,transform:gu,treeifyError:re,
trim:Si,tuple:Jc,uint32:hc,uint64:Oc,ulid:Il,undefined:Sc,union:Qc,unknown:$c,
uppercase:gi,url:wl,util:Y,uuid:gl,uuidv4:vl,uuidv6:bl,uuidv7:yl,void:Mc,xid:Ml,
xor:qc},Symbol.toStringTag,{value:"Module"})),gd=zc({title:cl().optional(),
component:$c(),props:tu(cl(),Ec()).optional()}),vd=zc({
"request.section":Bc(gd).optional(),"response.section":Bc(gd).optional()
}),bd=zc({onBeforeRequest:Xu({input:[zc({request:rd(Request)})]}).optional(),
onResponseReceived:Xu({input:[zc({response:rd(Response),operation:tu(cl(),Ec())
})]}).optional()}),yd=Xu({input:[],output:zc({name:cl(),views:vd.optional(),
hooks:bd.optional()})
}),Od="https://api.scalar.com/request-proxy",wd="https://proxy.scalar.com",xd=md.object({
title:md.string().optional(),slug:md.string().optional(),
authentication:md.any().optional(),baseServerURL:md.string().optional(),
hideClientButton:md.boolean().optional().default(!1).catch(!1),
proxyUrl:md.string().optional(),
searchHotKey:md.enum(["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"]).optional(),
servers:md.array(md.any()).optional(),
showSidebar:md.boolean().optional().default(!0).catch(!0),
showDeveloperTools:md.enum(["always","localhost","never"]).optional().default("localhost").catch("localhost"),
showToolbar:md.enum(["always","localhost","never"]).optional().default("localhost").catch("localhost"),
operationTitleSource:md.enum(["summary","path"]).optional().default("summary").catch("summary"),
theme:md.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"]).optional().default("default").catch("default"),
_integration:md.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:md.function({input:[md.string()],output:md.void()}).optional(),
persistAuth:md.boolean().optional().default(!1).catch(!1),
plugins:md.array(yd).optional(),telemetry:md.boolean().optional().default(!0)
}),kd=md.object({default:md.boolean().default(!1).optional().catch(!1),
url:md.string().optional(),
content:md.union([md.string(),md.null(),md.record(md.string(),md.any()),md.function({
input:[],output:md.record(md.string(),md.any())})]).optional(),
title:md.string().optional(),slug:md.string().optional(),spec:md.object({
url:md.string().optional(),
content:md.union([md.string(),md.null(),md.record(md.string(),md.any()),md.function({
input:[],output:md.record(md.string(),md.any())})]).optional()}).optional(),
agent:md.object({key:md.string().optional(),disabled:md.boolean().optional()
}).optional()});xd.extend(kd.shape);const Sd=zc({name:cl().regex(/^x-/),
component:$c(),renderer:$c().optional()}),_d=zc({component:$c(),
renderer:$c().optional(),props:tu(cl(),Ec()).optional()}),Ad=zc({
"content.end":Bc(_d).optional()}),Td=Xu({input:[],output:zc({name:cl(),
extensions:Bc(Sd),views:Ad.optional()})}),Ed=Ku(),Cd=xd.extend({
layout:cu(["modern","classic"]).optional().default("modern").catch("modern"),
proxy:cl().optional(),fetch:Ed.optional(),plugins:Bc(Td).optional(),
isEditable:mc().optional().default(!1).catch(!1),
isLoading:mc().optional().default(!1).catch(!1),
hideModels:mc().optional().default(!1).catch(!1),
documentDownloadType:cu(["yaml","json","both","direct","none"]).optional().default("both").catch("both"),
hideDownloadButton:mc().optional(),
hideTestRequestButton:mc().optional().default(!1).catch(!1),
hideSearch:mc().optional().default(!1).catch(!1),
showOperationId:mc().optional().default(!1).catch(!1),darkMode:mc().optional(),
forceDarkModeState:cu(["dark","light"]).optional(),
hideDarkModeToggle:mc().optional().default(!1).catch(!1),
metaData:Ec().optional(),favicon:cl().optional(),
hiddenClients:Qc([tu(cl(),Qc([mc(),Bc(cl())])),Bc(cl()),pu(!0)]).optional(),
defaultHttpClient:zc({targetKey:Ku(),clientKey:cl()}).optional(),
customCss:cl().optional(),onSpecUpdate:Xu({input:[cl()],output:Mc()
}).optional(),onServerChange:Xu({input:[cl()],output:Mc()}).optional(),
onDocumentSelect:Xu({input:[]}).optional(),onLoaded:Xu().optional(),
onBeforeRequest:Xu({input:[zc({request:rd(Request)})]}).optional(),
onShowMore:Xu({input:[cl()]}).optional(),onSidebarClick:Xu({input:[cl()]
}).optional(),pathRouting:zc({basePath:cl()}).optional(),
generateHeadingSlug:Xu({input:[zc({slug:cl().default("headingSlug")})],
output:cl()}).optional(),generateModelSlug:Xu({input:[zc({
name:cl().default("modelName")})],output:cl()}).optional(),generateTagSlug:Xu({
input:[zc({name:cl().default("tagName")})],output:cl()}).optional(),
generateOperationSlug:Xu({input:[zc({path:cl(),operationId:cl().optional(),
method:cl(),summary:cl().optional()})],output:cl()}).optional(),
generateWebhookSlug:Xu({input:[zc({name:cl(),method:cl().optional()})],
output:cl()}).optional(),redirect:Xu({input:[cl()],
output:cl().nullable().optional()}).optional(),
withDefaultFonts:mc().optional().default(!0).catch(!0),
defaultOpenAllTags:mc().optional().default(!1).catch(!1),
expandAllModelSections:mc().optional().default(!1).catch(!1),
expandAllResponses:mc().optional().default(!1).catch(!1),
tagsSorter:Qc([pu("alpha"),Xu({input:[Ec(),Ec()],output:sc()})]).optional(),
operationsSorter:Qc([pu("alpha"),pu("method"),Xu({input:[Ec(),Ec()],output:sc()
})]).optional(),
orderSchemaPropertiesBy:Qc([pu("alpha"),pu("preserve")]).optional().default("alpha").catch("alpha"),
orderRequiredPropertiesFirst:mc().optional().default(!0).catch(!0)
}),$d=Cd.extend(kd.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.proxyUrl=e.proxy),
delete e.proxy),e.proxyUrl===Od&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Od}).`),
console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${wd}) instead.`),
console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${wd}). Read more: https://github.com/scalar/scalar`),
e.proxyUrl=wd),
e.showToolbar&&"localhost"!==e.showToolbar&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),
e.showDeveloperTools=e.showToolbar,delete e.showToolbar),e)));function Pd(e,t){
const n=[],r=t.resolveKeyData||(e=>e.key),a=t.resolveValueData||(e=>e.value)
;for(const[o,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map((e=>{
const n={key:o,value:e},i=a(n)
;return"object"==typeof i?Pd(i,t):Array.isArray(i)?i:{
["function"==typeof t.key?t.key(n):t.key]:r(n),
["function"==typeof t.value?t.value(n):t.value]:i}})).flat());return n}
function Id(e,t){return Object.entries(e).map((([e,n])=>{
if("object"==typeof n&&(n=Id(n,t)),t.resolve){const r=t.resolve({key:e,value:n})
;if(void 0!==r)return r}
return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&t.wrapValue&&(n=n.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),
n=`${t.wrapValue}${n}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${n}`
})).join(t.entrySeparator||"")}zc({
cdn:cl().optional().default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"),
pageTitle:cl().optional().default("Scalar API Reference")})
;const Dd=new Set(["title","titleTemplate","script","style","noscript"]),Md=new Set(["base","meta","link","style","script","noscript"]),Nd=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Rd=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Ld=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Bd="undefined"!=typeof window
;function jd(e){let t=9
;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9)
;return(65536+(t^t>>>9)).toString(16).substring(1,8).toLowerCase()}
function Ud(e){if(e._h)return e._h;if(e._d)return jd(e._d)
;let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`
;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return jd(t)}
const zd=e=>({keyValue:e,metaKey:"property"}),Zd=e=>({keyValue:e}),Fd={
appleItunesApp:{unpack:{entrySeparator:", ",
resolve:({key:e,value:t})=>`${Vd(e)}=${t}`}},
articleExpirationTime:zd("article:expiration_time"),
articleModifiedTime:zd("article:modified_time"),
articlePublishedTime:zd("article:published_time"),
bookReleaseDate:zd("book:release_date"),charset:{metaKey:"charset"},
contentSecurityPolicy:{unpack:{entrySeparator:"; ",
resolve:({key:e,value:t})=>`${Vd(e)} ${t}`},metaKey:"http-equiv"},contentType:{
metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},
fbAppId:zd("fb:app_id"),msapplicationConfig:Zd("msapplication-Config"),
msapplicationTileColor:Zd("msapplication-TileColor"),
msapplicationTileImage:Zd("msapplication-TileImage"),
ogAudioSecureUrl:zd("og:audio:secure_url"),ogAudioUrl:zd("og:audio"),
ogImageSecureUrl:zd("og:image:secure_url"),ogImageUrl:zd("og:image"),
ogSiteName:zd("og:site_name"),ogVideoSecureUrl:zd("og:video:secure_url"),
ogVideoUrl:zd("og:video"),profileFirstName:zd("profile:first_name"),
profileLastName:zd("profile:last_name"),profileUsername:zd("profile:username"),
refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",
resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{
entrySeparator:", ",
resolve:({key:e,value:t})=>"boolean"==typeof t?`${Vd(e)}`:`${Vd(e)}:${t}`}},
xUaCompatible:{metaKey:"http-equiv"}
},Hd=new Set(["og","book","article","profile"]);function Qd(e){
const t=Vd(e),n=t.indexOf(":")
;return Hd.has(t.substring(0,n))?"property":Fd[e]?.metaKey||"name"}
function Vd(e){
const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),r=t.substring(0,n)
;return"twitter"===r||Hd.has(r)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}
function qd(e){if(Array.isArray(e))return e.map((e=>qd(e)))
;if("object"!=typeof e||Array.isArray(e))return e;const t={}
;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[Vd(n)]=qd(e[n]))
;return t}function Wd(e,t){const n=Fd[t]
;return"refresh"===t?`${e.seconds};url=${e.url}`:Id(qd(e),{
keyValueSeparator:"=",entrySeparator:", ",
resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,
...n?.unpack})}
const Xd=new Set(["og:image","og:video","og:audio","twitter:image"])
;function Gd(e){const t={};for(const n in e){
if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n]
;"false"!==String(r)&&n&&(t[n]=r)}return t}function Yd(e,t){
const n=Gd(t),r=Vd(e),a=Qd(r);if(Xd.has(r)){const t={}
;for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[`${e}${"url"===r?"":`${r[0].toUpperCase()}${r.slice(1)}`}`]=n[r])
;return Kd(t).sort(((e,t)=>(e[a]?.length||0)-(t[a]?.length||0)))}return[{[a]:r,
...n}]}function Kd(e){const t=[],n={};for(const a in e){
if(!Object.prototype.hasOwnProperty.call(e,a))continue;const r=e[a]
;if(Array.isArray(r))for(const e of r)t.push(..."string"==typeof e?Kd({[a]:e
}):Yd(a,e));else if("object"==typeof r&&r){if(Xd.has(Vd(a))){t.push(...Yd(a,r))
;continue}n[a]=Gd(r)}else n[a]=r}const r=Pd(n,{key:({key:e})=>Qd(e),
value:({key:e})=>"charset"===e?"charset":"content",
resolveKeyData:({key:e})=>function(e){return Fd[e]?.keyValue||Vd(e)}(e),
resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?Wd(e,t):"number"==typeof e?e.toString():e
});return[...t,...r].map((e=>("_null"===e.content&&(e.content=null),e)))}
function Jd(e,t,n,r){
const a=r||np("object"!=typeof t||"function"==typeof t||t instanceof Promise?{
["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t}:{...t
},"templateParams"===e||"titleTemplate"===e)
;if(a instanceof Promise)return a.then((r=>Jd(e,t,n,r)));const o={tag:e,props:a}
;for(const i of Ld){const e=void 0!==o.props[i]?o.props[i]:n[i]
;void 0!==e&&(("innerHTML"!==i&&"textContent"!==i&&"children"!==i||Dd.has(o.tag))&&(o["children"===i?"innerHTML":i]=e),
delete o.props[i])}
return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),
"script"===o.tag&&"object"==typeof o.innerHTML&&(o.innerHTML=JSON.stringify(o.innerHTML),
o.props.type=o.props.type||"application/json"),
Array.isArray(o.props.content)?o.props.content.map((e=>({...o,props:{...o.props,
content:e}}))):o}function ep(e,t){const n="class"===e?" ":";"
;return t&&"object"==typeof t&&!Array.isArray(t)&&(t=Object.entries(t).filter((([,e])=>e)).map((([t,n])=>"style"===e?`${t}:${n}`:t))),
String(Array.isArray(t)?t.join(n):t)?.split(n).filter((e=>Boolean(e.trim()))).join(n)
}function tp(e,t,n,r){for(let a=r;a<n.length;a+=1){const r=n[a]
;if("class"!==r&&"style"!==r){
if(e[r]instanceof Promise)return e[r].then((o=>(e[r]=o,tp(e,t,n,a))))
;if(!t&&!Ld.has(r)){const t=String(e[r]),n=r.startsWith("data-")
;"true"===t||""===t?e[r]=!n||"true":e[r]||(n&&"false"===t?e[r]="false":delete e[r])
}}else e[r]=ep(r,e[r])}}function np(e,t=!1){const n=tp(e,t,Object.keys(e),0)
;return n instanceof Promise?n.then((()=>e)):e}const rp=10;function ap(e,t,n){
for(let r=n;r<t.length;r+=1){const n=t[r]
;if(n instanceof Promise)return n.then((n=>(t[r]=n,ap(e,t,r))))
;Array.isArray(n)?e.push(...n):e.push(n)}}function op(e){
const t=[],n=e.resolvedInput;for(const i in n){
if(!Object.prototype.hasOwnProperty.call(n,i))continue;const r=n[i]
;if(void 0!==r&&Nd.has(i))if(Array.isArray(r))for(const n of r)t.push(Jd(i,n,e));else t.push(Jd(i,r,e))
}if(0===t.length)return[];const r=[]
;return a=ap(r,t,0),o=()=>r.map(((t,n)=>(t._e=e._i,
e.mode&&(t._m=e.mode),t._p=(e._i<<rp)+n,t))),a instanceof Promise?a.then(o):o(a)
;var a,o}
const ip=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),sp={
base:-10,title:10},lp={critical:-80,high:-10,low:20};function cp(e){
const t=e.tagPriority;if("number"==typeof t)return t;let n=100
;return"meta"===e.tag?"content-security-policy"===e.props["http-equiv"]?n=-30:e.props.charset?n=-20:"viewport"===e.props.name&&(n=-15):"link"===e.tag&&"preconnect"===e.props.rel?n=20:e.tag in sp&&(n=sp[e.tag]),
t&&t in lp?n+lp[t]:n}const up=[{prefix:"before:",offset:-1},{prefix:"after:",
offset:1}],dp=["name","property","http-equiv"];function pp(e){
const{props:t,tag:n}=e;if(Rd.has(n))return n
;if("link"===n&&"canonical"===t.rel)return"canonical"
;if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`
;for(const r of dp)if(void 0!==t[r])return`${n}:${r}:${t[r]}`;return!1}
const hp="%separator";const fp=new RegExp(`${hp}(?:\\s*${hp})*`,"g")
;function mp(e,t,n,r=!1){if("string"!=typeof e||!e.includes("%"))return e
;let a=e;try{a=decodeURI(e)}catch{}const o=a.match(/%\w+(?:\.\w+)?/g)
;if(!o)return e;const i=e.includes(hp)
;return e=e.replace(/%\w+(?:\.\w+)?/g,(e=>{if(e===hp||!o.includes(e))return e
;const n=function(e,t,n=!1){let r
;if("s"===t||"pageTitle"===t)r=e.pageTitle;else if(t.includes(".")){
const n=t.indexOf(".");r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t]
;if(void 0!==r)return n?(r||"").replace(/"/g,'\\"'):r||""}(t,e.slice(1),r)
;return void 0!==n?n:e
})).trim(),i&&(e.endsWith(hp)&&(e=e.slice(0,-10)),e.startsWith(hp)&&(e=e.slice(10)),
e=e.replace(fp,n).trim()),e}function gp(e,t){
return null==e?t||null:"function"==typeof e?e(t):e}function vp(e,t={}){
const n=t.delayFn||(e=>setTimeout(e,10))
;return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise((r=>n((()=>async function(e,t={}){
const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={
shouldRender:!0,tags:[]}
;return await e.hooks.callHook("dom:beforeRender",r),r.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise((async t=>{
const r=(await e.resolveTags()).map((e=>({tag:e,id:Md.has(e.tag)?Ud(e):e.tag,
shouldRender:!0})));let a=e._dom;if(!a){a={elMap:{htmlAttrs:n.documentElement,
bodyAttrs:n.body}};const e=new Set;for(const t of["body","head"]){
const r=n[t]?.children;for(const t of r){const n=t.tagName.toLowerCase()
;if(!Md.has(n))continue;const r={tag:n,
props:await np(t.getAttributeNames().reduce(((e,n)=>({...e,[n]:t.getAttribute(n)
})),{})),innerHTML:t.innerHTML},o=pp(r);let i=o,s=1
;for(;i&&e.has(i);)i=`${o}:${s++}`
;i&&(r._d=i,e.add(i)),a.elMap[t.getAttribute("data-hid")||Ud(r)]=t}}}
function o(e,t,n){const r=`${e}:${t}`
;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}
function i({id:e,$el:t,tag:r}){const i=r.tag.endsWith("Attrs")
;if(a.elMap[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",(()=>{a.elMap[e]?.remove(),delete a.elMap[e]
}))),r._eventHandlers)for(const a in r._eventHandlers)Object.prototype.hasOwnProperty.call(r._eventHandlers,a)&&""!==t.getAttribute(`data-${a}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(a.substring(2),r._eventHandlers[a].bind(t)),
t.setAttribute(`data-${a}`,""));for(const n in r.props){
if(!Object.prototype.hasOwnProperty.call(r.props,n))continue
;const a=r.props[n],s=`attr:${n}`;if("class"===n){if(!a)continue
;for(const n of a.split(" "))i&&o(e,`${s}:${n}`,(()=>t.classList.remove(n))),
!t.classList.contains(n)&&t.classList.add(n)}else if("style"===n){if(!a)continue
;for(const n of a.split(";")){
const r=n.indexOf(":"),a=n.substring(0,r).trim(),i=n.substring(r+1).trim()
;o(e,`${s}:${a}`,(()=>{t.style.removeProperty(a)})),t.style.setProperty(a,i)}
}else t.getAttribute(n)!==a&&t.setAttribute(n,!0===a?"":String(a)),
i&&o(e,s,(()=>t.removeAttribute(n)))}}a.pendingSideEffects={...a.sideEffects
},a.sideEffects={};const s=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0}
;for(const e of r){const{tag:t,shouldRender:r,id:o}=e
;r&&("title"!==t.tag?(e.$el=e.$el||a.elMap[o],
e.$el?i(e):Md.has(t.tag)&&s.push(e)):n.title=t.textContent)}for(const e of s){
const t=e.tag.tagPosition||"head"
;e.$el=n.createElement(e.tag.tag),i(e),l[t]=l[t]||n.createDocumentFragment(),
l[t].appendChild(e.$el)}
for(const c of r)await e.hooks.callHook("dom:renderTag",c,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(const e in a.pendingSideEffects)a.pendingSideEffects[e]()
;e._dom=a,await e.hooks.callHook("dom:rendered",{renders:r}),t()
})).finally((()=>{e._domUpdatePromise=void 0,e.dirty=!1
}))),e._domUpdatePromise):void 0}(e,t).then((()=>{
delete e._domDebouncedUpdatePromise,r()}))))))}function bp(e){return t=>{
const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1
;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":t=>{
vp(t,e)}}}}}function yp(e,t={},n){for(const r in e){
const a=e[r],o=n?`${n}:${r}`:r
;"object"==typeof a&&null!==a?yp(a,t,o):"function"==typeof a&&(t[o]=a)}return t}
const Op={run:e=>e()},wp=void 0!==console.createTask?console.createTask:()=>Op
;function xp(e,t){const n=t.shift(),r=wp(n)
;return e.reduce(((e,n)=>e.then((()=>r.run((()=>n(...t)))))),Promise.resolve())}
function kp(e,t){const n=t.shift(),r=wp(n)
;return Promise.all(e.map((e=>r.run((()=>e(...t))))))}function Sp(e,t){
for(const n of[...e])n(t)}class _p{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||"function"!=typeof t)return()=>{};const r=e;let a
;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to
;if(a&&!n.allowDeprecated){let e=a.message
;e||(e=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),
this._deprecatedMessages||(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),t=void 0)}}hookOnce(e,t){
let n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e))
;return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){
const n=this._hooks[e].indexOf(t)
;-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]
}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t
;const n=this._hooks[e]||[];delete this._hooks[e]
;for(const r of n)this.hook(e,r)}deprecateHooks(e){
Object.assign(this._deprecatedHooks,e)
;for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){
const t=yp(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{
for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=yp(e)
;for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){
for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){
return t.unshift(e),this.callHookWith(xp,e,...t)}callHookParallel(e,...t){
return t.unshift(e),this.callHookWith(kp,e,...t)}callHookWith(e,t,...n){
const r=this._before||this._after?{name:t,args:n,context:{}}:void 0
;this._before&&Sp(this._before,r)
;const a=e(t in this._hooks?[...this._hooks[t]]:[],n)
;return a instanceof Promise?a.finally((()=>{this._after&&r&&Sp(this._after,r)
})):(this._after&&r&&Sp(this._after,r),a)}beforeEach(e){
return this._before=this._before||[],this._before.push(e),()=>{
if(void 0!==this._before){const t=this._before.indexOf(e)
;-1!==t&&this._before.splice(t,1)}}}afterEach(e){
return this._after=this._after||[],this._after.push(e),()=>{
if(void 0!==this._after){const t=this._after.indexOf(e)
;-1!==t&&this._after.splice(t,1)}}}}
const Ap=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Tp={hooks:{
"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),
e.props.vmid&&(e.key=e.props.vmid,
delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key)
;const t=pp(e)
;!t||t.startsWith("meta:og:")||t.startsWith("meta:twitter:")||delete e.key
;const n=t||!!e.key&&`${e.tag}:${e.key}`;n&&(e._d=n)},"tags:resolve":e=>{
const t=Object.create(null);for(const r of e.tags){
const e=(r.key?`${r.tag}:${r.key}`:r._d)||Ud(r),n=t[e];if(n){
let a=r?.tagDuplicateStrategy;if(!a&&Ap.has(r.tag)&&(a="merge"),"merge"===a){
const a=n.props
;a.style&&r.props.style&&(";"!==a.style[a.style.length-1]&&(a.style+=";"),
r.props.style=`${a.style} ${r.props.style}`),
a.class&&r.props.class?r.props.class=`${a.class} ${r.props.class}`:a.class&&(r.props.class=a.class),
t[e].props={...a,...r.props};continue}if(r._e===n._e){
n._duped=n._duped||[],r._d=`${n._d}:${n._duped.length+1}`,n._duped.push(r)
;continue}if(cp(r)>cp(n))continue}
r.innerHTML||r.textContent||0!==Object.keys(r.props).length||!Md.has(r.tag)?t[e]=r:delete t[e]
}const n=[];for(const r in t){const e=t[r],a=e._duped
;n.push(e),a&&(delete e._duped,n.push(...a))}
e.tags=n,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))
}}},Ep=new Set(["script","link","bodyAttrs"]),Cp=e=>({hooks:{"tags:resolve":t=>{
for(const n of t.tags){if(!Ep.has(n.tag))continue;const t=n.props
;for(const r in t){if("o"!==r[0]||"n"!==r[1])continue
;if(!Object.prototype.hasOwnProperty.call(t,r))continue;const a=t[r]
;"function"==typeof a&&(e.ssr&&ip.has(r)?t[r]=`this.dataset.${r}fired = true`:delete t[r],
n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=a)}
e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||jd(n.props.src||n.props.href))
}},"dom:renderTag":({$el:e,tag:t})=>{const n=e?.dataset;if(n)for(const r in n){
if(!r.endsWith("fired"))continue;const n=r.slice(0,-5)
;ip.has(n)&&t._eventHandlers?.[n]?.call(e,new Event(n.substring(2)))}}}
}),$p=new Set(["link","style","script","noscript"]),Pp={hooks:{
"tag:normalise":({tag:e})=>{
e.key&&$p.has(e.tag)&&(e.props["data-hid"]=e._h=jd(e.key))}}},Ip={mode:"server",
hooks:{"tags:beforeResolve":e=>{const t={};let n=!1
;for(const r of e.tags)"server"!==r._m||"titleTemplate"!==r.tag&&"templateParams"!==r.tag&&"title"!==r.tag||(t[r.tag]="title"===r.tag||"titleTemplate"===r.tag?r.textContent:r.props,
n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{
id:"unhead:payload",type:"application/json"}})}}},Dp={hooks:{"tags:resolve":e=>{
for(const t of e.tags)if("string"==typeof t.tagPriority)for(const{prefix:n,offset:r}of up){
if(!t.tagPriority.startsWith(n))continue
;const a=t.tagPriority.substring(n.length),o=e.tags.find((e=>e._d===a))?._p
;if(void 0!==o){t._p=o+r;break}}e.tags.sort(((e,t)=>{const n=cp(e),r=cp(t)
;return n<r?-1:n>r?1:e._p-t._p}))}}},Mp={meta:"content",link:"href",
htmlAttrs:"lang"},Np=["innerHTML","textContent"],Rp=e=>({hooks:{
"tags:resolve":t=>{const{tags:n}=t;let r;for(let e=0;e<n.length;e+=1){
"templateParams"===n[e].tag&&(r=t.tags.splice(e,1)[0].props,e-=1)}
const a=r||{},o=a.separator||"|"
;delete a.separator,a.pageTitle=mp(a.pageTitle||n.find((e=>"title"===e.tag))?.textContent||"",a,o)
;for(const e of n){if(!1===e.processTemplateParams)continue;const t=Mp[e.tag]
;if(t&&"string"==typeof e.props[t])e.props[t]=mp(e.props[t],a,o);else if(e.processTemplateParams||"titleTemplate"===e.tag||"title"===e.tag)for(const n of Np)"string"==typeof e[n]&&(e[n]=mp(e[n],a,o,"script"===e.tag&&e.props.type.endsWith("json")))
}e._templateParams=a,e._separator=o},"tags:afterResolve":({tags:t})=>{let n
;for(let e=0;e<t.length;e+=1){const r=t[e]
;"title"===r.tag&&!1!==r.processTemplateParams&&(n=r)}
n?.textContent&&(n.textContent=mp(n.textContent,e._templateParams,e._separator))
}}}),Lp={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r
;for(let a=0;a<t.length;a+=1){const e=t[a]
;"title"===e.tag?n=e:"titleTemplate"===e.tag&&(r=e)}if(r&&n){
const t=gp(r.textContent,n.textContent)
;null!==t?n.textContent=t||n.textContent:e.tags.splice(e.tags.indexOf(n),1)
}else if(r){const e=gp(r.textContent)
;null!==e&&(r.textContent=e,r.tag="title",r=void 0)}
r&&e.tags.splice(e.tags.indexOf(r),1)}}},Bp={hooks:{"tags:afterResolve":e=>{
for(const t of e.tags)"string"==typeof t.innerHTML&&(!t.innerHTML||"application/ld+json"!==t.props.type&&"application/json"!==t.props.type?t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`):t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"))
}}};let jp;function Up(e={}){const t=function(e={}){const t=new _p
;t.addHooks(e.hooks||{}),e.document=e.document||(Bd?document:void 0)
;const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)}
;let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,
headEntries:()=>o,use(e){const r="function"==typeof e?e(s):e
;r.key&&i.some((e=>e.key===r.key))||(i.push(r),
zp(r.mode,n)&&t.addHooks(r.hooks||{}))},push(e,t){delete t?.head;const i={
_i:a++,input:e,...t};return zp(i.mode,n)&&(o.push(i),r()),{dispose(){
o=o.filter((e=>e._i!==i._i)),r()},patch(e){
for(const t of o)t._i===i._i&&(t.input=i.input=e);r()}}},async resolveTags(){
const e={tags:[],entries:[...o]};await t.callHook("entries:resolve",e)
;for(const n of e.entries){const r=n.resolvedInput||n.input
;if(n.resolvedInput=await(n.transform?n.transform(r):r),
n.resolvedInput)for(const a of await op(n)){const r={tag:a,entry:n,
resolvedOptions:s.resolvedOptions}
;await t.callHook("tag:normalise",r),e.tags.push(r.tag)}}
return await t.callHook("tags:beforeResolve",e),
await t.callHook("tags:resolve",e),
await t.callHook("tags:afterResolve",e),e.tags},ssr:n}
;return[Tp,Ip,Cp,Pp,Dp,Rp,Lp,Bp,...e?.plugins||[]].forEach((e=>s.use(e))),
s.hooks.callHook("init",s),s}(e);return t.use(bp()),jp=t}function zp(e,t){
return!e||"server"===e&&t||"client"===e&&!t}function Zp(e){
const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}
const Fp={},Hp=[],Qp=()=>{},Vp=()=>!1,qp=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wp=e=>e.startsWith("onUpdate:"),Xp=Object.assign,Gp=(e,t)=>{
const n=e.indexOf(t);n>-1&&e.splice(n,1)
},Yp=Object.prototype.hasOwnProperty,Kp=(e,t)=>Yp.call(e,t),Jp=Array.isArray,eh=e=>"[object Map]"===ch(e),th=e=>"[object Set]"===ch(e),nh=e=>"[object Date]"===ch(e),rh=e=>"function"==typeof e,ah=e=>"string"==typeof e,oh=e=>"symbol"==typeof e,ih=e=>null!==e&&"object"==typeof e,sh=e=>(ih(e)||rh(e))&&rh(e.then)&&rh(e.catch),lh=Object.prototype.toString,ch=e=>lh.call(e),uh=e=>ch(e).slice(8,-1),dh=e=>"[object Object]"===ch(e),ph=e=>ah(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,hh=Zp(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fh=e=>{
const t=Object.create(null);return n=>t[n]||(t[n]=e(n))
},mh=/-\w/g,gh=fh((e=>e.replace(mh,(e=>e.slice(1).toUpperCase())))),vh=/\B([A-Z])/g,bh=fh((e=>e.replace(vh,"-$1").toLowerCase())),yh=fh((e=>e.charAt(0).toUpperCase()+e.slice(1))),Oh=fh((e=>e?`on${yh(e)}`:"")),wh=(e,t)=>!Object.is(e,t),xh=(e,...t)=>{
for(let n=0;n<e.length;n++)e[n](...t)},kh=(e,t,n,r=!1)=>{
Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})
},Sh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_h=e=>{
const t=ah(e)?Number(e):NaN;return isNaN(t)?e:t};let Ah
;const Th=()=>Ah||(Ah="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})
;function Eh(e){if(Jp(e)){const t={};for(let n=0;n<e.length;n++){
const r=e[n],a=ah(r)?Ih(r):Eh(r);if(a)for(const e in a)t[e]=a[e]}return t}
if(ah(e)||ih(e))return e}
const Ch=/;(?![^(]*\))/g,$h=/:([^]+)/,Ph=/\/\*[^]*?\*\//g;function Ih(e){
const t={};return e.replace(Ph,"").split(Ch).forEach((e=>{if(e){
const n=e.split($h);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}
function Dh(e){let t="";if(ah(e))t=e;else if(Jp(e))for(let n=0;n<e.length;n++){
const r=Dh(e[n]);r&&(t+=r+" ")}else if(ih(e))for(const n in e)e[n]&&(t+=n+" ")
;return t.trim()}function Mh(e){if(!e)return null;let{class:t,style:n}=e
;return t&&!ah(t)&&(e.class=Dh(t)),n&&(e.style=Eh(n)),e}
const Nh=Zp("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly")
;function Rh(e){return!!e||""===e}function Lh(e,t){if(e===t)return!0
;let n=nh(e),r=nh(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime()
;if(n=oh(e),r=oh(t),n||r)return e===t
;if(n=Jp(e),r=Jp(t),n||r)return!(!n||!r)&&function(e,t){
if(e.length!==t.length)return!1;let n=!0
;for(let r=0;n&&r<e.length;r++)n=Lh(e[r],t[r]);return n}(e,t)
;if(n=ih(e),r=ih(t),n||r){if(!n||!r)return!1
;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){
const r=e.hasOwnProperty(n),a=t.hasOwnProperty(n)
;if(r&&!a||!r&&a||!Lh(e[n],t[n]))return!1}}return String(e)===String(t)}
function Bh(e,t){return e.findIndex((e=>Lh(e,t)))}
const jh=e=>!(!e||!0!==e.__v_isRef),Uh=e=>ah(e)?e:null==e?"":Jp(e)||ih(e)&&(e.toString===lh||!rh(e.toString))?jh(e)?Uh(e.value):JSON.stringify(e,zh,2):String(e),zh=(e,t)=>jh(t)?zh(e,t.value):eh(t)?{
[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Zh(t,r)+" =>"]=n,
e)),{})}:th(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Zh(e)))
}:oh(t)?Zh(t):!ih(t)||Jp(t)||dh(t)?t:String(t),Zh=(e,t="")=>{var n
;return oh(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function Fh(e){
return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)}let Hh,Qh
;class Vh{constructor(e=!1){
this.detached=e,this._active=!0,this._on=0,this.effects=[],
this.cleanups=[],this._isPaused=!1,
this.parent=Hh,!e&&Hh&&(this.index=(Hh.scopes||(Hh.scopes=[])).push(this)-1)}
get active(){return this._active}pause(){if(this._active){let e,t
;if(this._isPaused=!0,
this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,
t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){
if(this._active&&this._isPaused){let e,t
;if(this._isPaused=!1,this.scopes)for(e=0,
t=this.scopes.length;e<t;e++)this.scopes[e].resume()
;for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){
if(this._active){const t=Hh;try{return Hh=this,e()}finally{Hh=t}}}on(){
1==++this._on&&(this.prevScope=Hh,Hh=this)}off(){
this._on>0&&0==--this._on&&(Hh=this.prevScope,this.prevScope=void 0)}stop(e){
if(this._active){let t,n
;for(this._active=!1,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){
const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,
e.index=this.index)}this.parent=void 0}}}function qh(e){return new Vh(e)}
function Wh(){return Hh}function Xh(e,t=!1){Hh&&Hh.cleanups.push(e)}
const Gh=new WeakSet;class Yh{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,Hh&&Hh.active&&Hh.effects.push(this)}pause(){
this.flags|=64}resume(){
64&this.flags&&(this.flags&=-65,Gh.has(this)&&(Gh.delete(this),this.trigger()))}
notify(){2&this.flags&&!(32&this.flags)||8&this.flags||tf(this)}run(){
if(!(1&this.flags))return this.fn();this.flags|=2,mf(this),af(this)
;const e=Qh,t=df;Qh=this,df=!0;try{return this.fn()}finally{
of(this),Qh=e,df=t,this.flags&=-3}}stop(){if(1&this.flags){
for(let e=this.deps;e;e=e.nextDep)cf(e);this.deps=this.depsTail=void 0,mf(this),
this.onStop&&this.onStop(),this.flags&=-2}}trigger(){
64&this.flags?Gh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}
runIfDirty(){sf(this)&&this.run()}get dirty(){return sf(this)}}let Kh,Jh,ef=0
;function tf(e,t=!1){if(e.flags|=8,t)return e.next=Jh,void(Jh=e);e.next=Kh,Kh=e}
function nf(){ef++}function rf(){if(--ef>0)return;if(Jh){let e=Jh
;for(Jh=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e
;for(;Kh;){let n=Kh;for(Kh=void 0;n;){const r=n.next
;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}
if(e)throw e}function af(e){
for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,
t.dep.activeLink=t}function of(e){let t,n=e.depsTail,r=n;for(;r;){
const e=r.prevDep
;-1===r.version?(r===n&&(n=e),cf(r),uf(r)):t=r,r.dep.activeLink=r.prevActiveLink,
r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function sf(e){
for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lf(t.dep.computed)||t.dep.version!==t.version))return!0
;return!!e._dirty}function lf(e){if(4&e.flags&&!(16&e.flags))return
;if(e.flags&=-17,e.globalVersion===gf)return
;if(e.globalVersion=gf,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!sf(e)))return
;e.flags|=2;const t=e.dep,n=Qh,r=df;Qh=e,df=!0;try{af(e);const n=e.fn(e._value)
;(0===t.version||wh(n,e._value))&&(e.flags|=128,e._value=n,t.version++)
}catch(a){throw t.version++,a}finally{Qh=n,df=r,of(e),e.flags&=-3}}
function cf(e,t=!1){const{dep:n,prevSub:r,nextSub:a}=e
;if(r&&(r.nextSub=a,e.prevSub=void 0),
a&&(a.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)cf(e,!0)}
t||--n.sc||!n.map||n.map.delete(n.key)}function uf(e){
const{prevDep:t,nextDep:n}=e
;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let df=!0
;const pf=[];function hf(){pf.push(df),df=!1}function ff(){const e=pf.pop()
;df=void 0===e||e}function mf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){
const e=Qh;Qh=void 0;try{t()}finally{Qh=e}}}let gf=0;class vf{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
}}class bf{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(!Qh||!df||Qh===this.computed)return;let t=this.activeLink
;if(void 0===t||t.sub!==Qh)t=this.activeLink=new vf(Qh,this),
Qh.deps?(t.prevDep=Qh.depsTail,
Qh.depsTail.nextDep=t,Qh.depsTail=t):Qh.deps=Qh.depsTail=t,
yf(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){
const e=t.nextDep
;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Qh.depsTail,
t.nextDep=void 0,Qh.depsTail.nextDep=t,Qh.depsTail=t,Qh.deps===t&&(Qh.deps=e)}
return t}trigger(e){this.version++,gf++,this.notify(e)}notify(e){nf();try{0
;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{
rf()}}}function yf(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed
;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)yf(e)}
const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}
const Of=new WeakMap,wf=Symbol(""),xf=Symbol(""),kf=Symbol("")
;function Sf(e,t,n){if(df&&Qh){let t=Of.get(e);t||Of.set(e,t=new Map)
;let r=t.get(n);r||(t.set(n,r=new bf),r.map=t,r.key=n),r.track()}}
function _f(e,t,n,r,a,o){const i=Of.get(e);if(!i)return void gf++;const s=e=>{
e&&e.trigger()};if(nf(),"clear"===t)i.forEach(s);else{const a=Jp(e),o=a&&ph(n)
;if(a&&"length"===n){const e=Number(r);i.forEach(((t,n)=>{
("length"===n||n===kf||!oh(n)&&n>=e)&&s(t)}))
}else switch((void 0!==n||i.has(void 0))&&s(i.get(n)),o&&s(i.get(kf)),t){
case"add":a?o&&s(i.get("length")):(s(i.get(wf)),eh(e)&&s(i.get(xf)));break
;case"delete":a||(s(i.get(wf)),eh(e)&&s(i.get(xf)));break;case"set":
eh(e)&&s(i.get(wf))}}rf()}function Af(e){const t=hm(e)
;return t===e?t:(Sf(t,0,kf),dm(e)?t:t.map(mm))}function Tf(e){
return Sf(e=hm(e),0,kf),e}function Ef(e,t){
return um(e)?cm(e)?gm(mm(t)):gm(t):mm(t)}const Cf={__proto__:null,
[Symbol.iterator](){return $f(this,Symbol.iterator,(e=>Ef(this,e)))},
concat(...e){return Af(this).concat(...e.map((e=>Jp(e)?Af(e):e)))},entries(){
return $f(this,"entries",(e=>(e[1]=Ef(this,e[1]),e)))},every(e,t){
return If(this,"every",e,t,void 0,arguments)},filter(e,t){
return If(this,"filter",e,t,(e=>e.map((e=>Ef(this,e)))),arguments)},find(e,t){
return If(this,"find",e,t,(e=>Ef(this,e)),arguments)},findIndex(e,t){
return If(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){
return If(this,"findLast",e,t,(e=>Ef(this,e)),arguments)},findLastIndex(e,t){
return If(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){
return If(this,"forEach",e,t,void 0,arguments)},includes(...e){
return Mf(this,"includes",e)},indexOf(...e){return Mf(this,"indexOf",e)},
join(e){return Af(this).join(e)},lastIndexOf(...e){
return Mf(this,"lastIndexOf",e)},map(e,t){
return If(this,"map",e,t,void 0,arguments)},pop(){return Nf(this,"pop")},
push(...e){return Nf(this,"push",e)},reduce(e,...t){return Df(this,"reduce",e,t)
},reduceRight(e,...t){return Df(this,"reduceRight",e,t)},shift(){
return Nf(this,"shift")},some(e,t){return If(this,"some",e,t,void 0,arguments)},
splice(...e){return Nf(this,"splice",e)},toReversed(){
return Af(this).toReversed()},toSorted(e){return Af(this).toSorted(e)},
toSpliced(...e){return Af(this).toSpliced(...e)},unshift(...e){
return Nf(this,"unshift",e)},values(){return $f(this,"values",(e=>Ef(this,e)))}}
;function $f(e,t,n){const r=Tf(e),a=r[t]();return r===e||dm(e)||(a._next=a.next,
a.next=()=>{const e=a._next();return e.done||(e.value=n(e.value)),e}),a}
const Pf=Array.prototype;function If(e,t,n,r,a,o){
const i=Tf(e),s=i!==e&&!dm(e),l=i[t];if(l!==Pf[t]){const t=l.apply(e,o)
;return s?mm(t):t}let c=n;i!==e&&(s?c=function(t,r){
return n.call(this,Ef(e,t),r,e)}:n.length>2&&(c=function(t,r){
return n.call(this,t,r,e)}));const u=l.call(i,c,r);return s&&a?a(u):u}
function Df(e,t,n,r){const a=Tf(e);let o=n
;return a!==e&&(dm(e)?n.length>3&&(o=function(t,r,a){return n.call(this,t,r,a,e)
}):o=function(t,r,a){return n.call(this,t,Ef(e,r),a,e)}),a[t](o,...r)}
function Mf(e,t,n){const r=hm(e);Sf(r,0,kf);const a=r[t](...n)
;return-1!==a&&!1!==a||!pm(n[0])?a:(n[0]=hm(n[0]),r[t](...n))}
function Nf(e,t,n=[]){hf(),nf();const r=hm(e)[t].apply(e,n);return rf(),ff(),r}
const Rf=Zp("__proto__,__v_isRef,__isVue"),Lf=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(oh))
;function Bf(e){oh(e)||(e=String(e));const t=hm(this)
;return Sf(t,0,e),t.hasOwnProperty(e)}class jf{constructor(e=!1,t=!1){
this._isReadonly=e,this._isShallow=t}get(e,t,n){
if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,a=this._isShallow
;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r
;if("__v_isShallow"===t)return a
;if("__v_raw"===t)return n===(r?a?am:rm:a?nm:tm).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0
;const o=Jp(e);if(!r){let e;if(o&&(e=Cf[t]))return e
;if("hasOwnProperty"===t)return Bf}const i=Reflect.get(e,t,vm(e)?e:n)
;if(oh(t)?Lf.has(t):Rf(t))return i;if(r||Sf(e,0,t),a)return i;if(vm(i)){
const e=o&&ph(t)?i:i.value;return r&&ih(e)?im(e):e}return ih(i)?r?im(i):om(i):i}
}class Uf extends jf{constructor(e=!1){super(!1,e)}set(e,t,n,r){let a=e[t]
;const o=Jp(e)&&ph(t);if(!this._isShallow){const e=um(a)
;if(dm(n)||um(n)||(a=hm(a),n=hm(n)),!o&&vm(a)&&!vm(n))return e||(a.value=n),!0}
const i=o?Number(t)<e.length:Kp(e,t),s=Reflect.set(e,t,n,vm(e)?e:r)
;return e===hm(r)&&(i?wh(n,a)&&_f(e,"set",t,n):_f(e,"add",t,n)),s}
deleteProperty(e,t){const n=Kp(e,t);e[t];const r=Reflect.deleteProperty(e,t)
;return r&&n&&_f(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t)
;return oh(t)&&Lf.has(t)||Sf(e,0,t),n}ownKeys(e){
return Sf(e,0,Jp(e)?"length":wf),Reflect.ownKeys(e)}}class zf extends jf{
constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}
const Zf=new Uf,Ff=new zf,Hf=new Uf(!0),Qf=new zf(!0),Vf=e=>e,qf=e=>Reflect.getPrototypeOf(e)
;function Wf(e){return function(...t){
return"delete"!==e&&("clear"===e?void 0:this)}}function Xf(e,t){const n={get(n){
const r=this.__v_raw,a=hm(r),o=hm(n);e||(wh(n,o)&&Sf(a,0,n),Sf(a,0,o))
;const{has:i}=qf(a),s=t?Vf:e?gm:mm
;return i.call(a,n)?s(r.get(n)):i.call(a,o)?s(r.get(o)):void(r!==a&&r.get(n))},
get size(){const t=this.__v_raw;return!e&&Sf(hm(t),0,wf),t.size},has(t){
const n=this.__v_raw,r=hm(n),a=hm(t)
;return e||(wh(t,a)&&Sf(r,0,t),Sf(r,0,a)),t===a?n.has(t):n.has(t)||n.has(a)},
forEach(n,r){const a=this,o=a.__v_raw,i=hm(o),s=t?Vf:e?gm:mm
;return!e&&Sf(i,0,wf),o.forEach(((e,t)=>n.call(r,s(e),s(t),a)))}};Xp(n,e?{
add:Wf("add"),set:Wf("set"),delete:Wf("delete"),clear:Wf("clear")}:{add(e){
t||dm(e)||um(e)||(e=hm(e));const n=hm(this)
;return qf(n).has.call(n,e)||(n.add(e),_f(n,"add",e,e)),this},set(e,n){
t||dm(n)||um(n)||(n=hm(n));const r=hm(this),{has:a,get:o}=qf(r)
;let i=a.call(r,e);i||(e=hm(e),i=a.call(r,e));const s=o.call(r,e)
;return r.set(e,n),i?wh(n,s)&&_f(r,"set",e,n):_f(r,"add",e,n),this},delete(e){
const t=hm(this),{has:n,get:r}=qf(t);let a=n.call(t,e)
;a||(e=hm(e),a=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e)
;return a&&_f(t,"delete",e,void 0),o},clear(){
const e=hm(this),t=0!==e.size,n=e.clear();return t&&_f(e,"clear",void 0,void 0),
n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{
n[r]=function(e,t,n){return function(...r){
const a=this.__v_raw,o=hm(a),i=eh(o),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=a[e](...r),u=n?Vf:t?gm:mm
;return!t&&Sf(o,0,l?xf:wf),{next(){const{value:e,done:t}=c.next();return t?{
value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){
return this}}}}(r,e,t)})),n}function Gf(e,t){const n=Xf(e,t)
;return(t,r,a)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Kp(n,r)&&r in t?n:t,r,a)
}const Yf={get:Gf(!1,!1)},Kf={get:Gf(!1,!0)},Jf={get:Gf(!0,!1)},em={
get:Gf(!0,!0)},tm=new WeakMap,nm=new WeakMap,rm=new WeakMap,am=new WeakMap
;function om(e){return um(e)?e:lm(e,!1,Zf,Yf,tm)}function im(e){
return lm(e,!0,Ff,Jf,rm)}function sm(e){return lm(e,!0,Qf,em,am)}
function lm(e,t,n,r,a){if(!ih(e))return e
;if(e.__v_raw&&(!t||!e.__v_isReactive))return e
;const o=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){
case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":
case"WeakSet":return 2;default:return 0}}(uh(i));var i;if(0===o)return e
;const s=a.get(e);if(s)return s;const l=new Proxy(e,2===o?r:n)
;return a.set(e,l),l}function cm(e){
return um(e)?cm(e.__v_raw):!(!e||!e.__v_isReactive)}function um(e){
return!(!e||!e.__v_isReadonly)}function dm(e){return!(!e||!e.__v_isShallow)}
function pm(e){return!!e&&!!e.__v_raw}function hm(e){const t=e&&e.__v_raw
;return t?hm(t):e}function fm(e){
return!Kp(e,"__v_skip")&&Object.isExtensible(e)&&kh(e,"__v_skip",!0),e}
const mm=e=>ih(e)?om(e):e,gm=e=>ih(e)?im(e):e;function vm(e){
return!!e&&!0===e.__v_isRef}function bm(e){return Om(e,!1)}function ym(e){
return Om(e,!0)}function Om(e,t){return vm(e)?e:new wm(e,t)}class wm{
constructor(e,t){
this.dep=new bf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:hm(e),
this._value=t?e:mm(e),this.__v_isShallow=t}get value(){
return this.dep.track(),this._value}set value(e){
const t=this._rawValue,n=this.__v_isShallow||dm(e)||um(e)
;e=n?e:hm(e),wh(e,t)&&(this._rawValue=e,
this._value=n?e:mm(e),this.dep.trigger())}}function xm(e){return vm(e)?e.value:e
}function km(e){return rh(e)?e():xm(e)}const Sm={
get:(e,t,n)=>"__v_raw"===t?e:xm(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t]
;return vm(a)&&!vm(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function _m(e){
return cm(e)?e:new Proxy(e,Sm)}class Am{constructor(e){
this.__v_isRef=!0,this._value=void 0
;const t=this.dep=new bf,{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)}}function Tm(e){return new Am(e)}function Em(e){
const t=Jp(e)?new Array(e.length):{};for(const n in e)t[n]=Im(e,n);return t}
class Cm{constructor(e,t,n){
this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,
this._value=void 0,this._raw=hm(e);let r=!0,a=e;if(!Jp(e)||!ph(String(t)))do{
r=!pm(a)||dm(a)}while(r&&(a=a.__v_raw));this._shallow=r}get value(){
let e=this._object[this._key]
;return this._shallow&&(e=xm(e)),this._value=void 0===e?this._defaultValue:e}
set value(e){if(this._shallow&&vm(this._raw[this._key])){
const t=this._object[this._key];if(vm(t))return void(t.value=e)}
this._object[this._key]=e}get dep(){return function(e,t){const n=Of.get(e)
;return n&&n.get(t)}(this._raw,this._key)}}class $m{constructor(e){
this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}
get value(){return this._value=this._getter()}}function Pm(e,t,n){
return vm(e)?e:rh(e)?new $m(e):ih(e)&&arguments.length>1?Im(e,t,n):bm(e)}
function Im(e,t,n){return new Cm(e,t,n)}class Dm{constructor(e,t,n){
this.fn=e,this.setter=t,
this._value=void 0,this.dep=new bf(this),this.__v_isRef=!0,
this.deps=void 0,this.depsTail=void 0,
this.flags=16,this.globalVersion=gf-1,this.next=void 0,
this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,
!(8&this.flags)&&Qh!==this)return tf(this,!0),!0}get value(){
const e=this.dep.track()
;return lf(this),e&&(e.version=this.dep.version),this._value}set value(e){
this.setter&&this.setter(e)}}const Mm={},Nm=new WeakMap;let Rm
;function Lm(e,t,n=Fp){
const{immediate:r,deep:a,once:o,scheduler:i,augmentJob:s,call:l}=n,c=e=>a?e:dm(e)||!1===a||0===a?Bm(e,1):Bm(e)
;let u,d,p,h,f=!1,m=!1
;if(vm(e)?(d=()=>e.value,f=dm(e)):cm(e)?(d=()=>c(e),f=!0):Jp(e)?(m=!0,
f=e.some((e=>cm(e)||dm(e))),
d=()=>e.map((e=>vm(e)?e.value:cm(e)?c(e):rh(e)?l?l(e,2):e():void 0))):d=rh(e)?t?l?()=>l(e,2):e:()=>{
if(p){hf();try{p()}finally{ff()}}const t=Rm;Rm=u;try{return l?l(e,3,[h]):e(h)
}finally{Rm=t}}:Qp,t&&a){const e=d,t=!0===a?1/0:a;d=()=>Bm(e(),t)}
const g=Wh(),v=()=>{u.stop(),g&&g.active&&Gp(g.effects,u)};if(o&&t){const e=t
;t=(...t)=>{e(...t),v()}}let b=m?new Array(e.length).fill(Mm):Mm;const y=e=>{
if(1&u.flags&&(u.dirty||e))if(t){const e=u.run()
;if(a||f||(m?e.some(((e,t)=>wh(e,b[t]))):wh(e,b))){p&&p();const n=Rm;Rm=u;try{
const n=[e,b===Mm?void 0:m&&b[0]===Mm?[]:b,h];b=e,l?l(t,3,n):t(...n)}finally{
Rm=n}}}else u.run()}
;return s&&s(y),u=new Yh(d),u.scheduler=i?()=>i(y,!1):y,h=e=>function(e,t=!1,n=Rm){
if(n){let t=Nm.get(n);t||Nm.set(n,t=[]),t.push(e)}}(e,!1,u),p=u.onStop=()=>{
const e=Nm.get(u);if(e){if(l)l(e,4);else for(const t of e)t();Nm.delete(u)}
},t?r?y(!0):b=u.run():i?i(y.bind(null,!0),!0):u.run(),
v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}
function Bm(e,t=1/0,n){if(t<=0||!ih(e)||e.__v_skip)return e
;if(((n=n||new Map).get(e)||0)>=t)return e
;if(n.set(e,t),t--,vm(e))Bm(e.value,t,n);else if(Jp(e))for(let r=0;r<e.length;r++)Bm(e[r],t,n);else if(th(e)||eh(e))e.forEach((e=>{
Bm(e,t,n)}));else if(dh(e)){for(const r in e)Bm(e[r],t,n)
;for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Bm(e[r],t,n)
}return e}function jm(e,t,n,r){try{return r?e(...r):e()}catch(a){zm(a,t,n)}}
function Um(e,t,n,r){if(rh(e)){const a=jm(e,t,n,r)
;return a&&sh(a)&&a.catch((e=>{zm(e,t,n)})),a}if(Jp(e)){const a=[]
;for(let o=0;o<e.length;o++)a.push(Um(e[o],t,n,r));return a}}
function zm(e,t,n,r=!0){t&&t.vnode
;const{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Fp
;if(t){let r=t.parent
;const o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){
const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,i))return
;r=r.parent}if(a)return hf(),jm(a,null,10,[e,o,i]),void ff()}
!function(e,t,n,r=!0,a=!1){if(a)throw e;console.error(e)}(e,0,0,r,o)}const Zm=[]
;let Fm=-1;const Hm=[];let Qm=null,Vm=0;const qm=Promise.resolve();let Wm=null
;function Xm(e){const t=Wm||qm;return e?t.then(this?e.bind(this):e):t}
function Gm(e){if(!(1&e.flags)){const t=tg(e),n=Zm[Zm.length-1]
;!n||!(2&e.flags)&&t>=tg(n)?Zm.push(e):Zm.splice(function(e){
let t=Fm+1,n=Zm.length;for(;t<n;){const r=t+n>>>1,a=Zm[r],o=tg(a)
;o<e||o===e&&2&a.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Ym()}}
function Ym(){Wm||(Wm=qm.then(ng))}function Km(e){
Jp(e)?Hm.push(...e):Qm&&-1===e.id?Qm.splice(Vm+1,0,e):1&e.flags||(Hm.push(e),
e.flags|=1),Ym()}function Jm(e,t,n=Fm+1){for(;n<Zm.length;n++){const t=Zm[n]
;if(t&&2&t.flags){if(e&&t.id!==e.uid)continue
;Zm.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}
function eg(e){if(Hm.length){const e=[...new Set(Hm)].sort(((e,t)=>tg(e)-tg(t)))
;if(Hm.length=0,Qm)return void Qm.push(...e);for(Qm=e,Vm=0;Vm<Qm.length;Vm++){
const e=Qm[Vm];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Qm=null,Vm=0}
}const tg=e=>null==e.id?2&e.flags?-1:1/0:e.id;function ng(e){try{
for(Fm=0;Fm<Zm.length;Fm++){const e=Zm[Fm]
;!e||8&e.flags||(4&e.flags&&(e.flags&=-2),
jm(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Fm<Zm.length;Fm++){
const e=Zm[Fm];e&&(e.flags&=-2)}
Fm=-1,Zm.length=0,eg(),Wm=null,(Zm.length||Hm.length)&&ng()}}let rg=null,ag=null
;function og(e){const t=rg;return rg=e,ag=e&&e.type.__scopeId||null,t}
function ig(e,t=rg,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{
r._d&&Qb(-1);const a=og(t);let o;try{o=e(...n)}finally{og(a),r._d&&Qb(1)}
return o};return r._n=!0,r._c=!0,r._d=!0,r}function sg(e,t){
if(null===rg)return e;const n=_y(rg),r=e.dirs||(e.dirs=[])
;for(let a=0;a<t.length;a++){let[e,o,i,s=Fp]=t[a];e&&(rh(e)&&(e={mounted:e,
updated:e}),e.deep&&Bm(o),r.push({dir:e,instance:n,value:o,oldValue:void 0,
arg:i,modifiers:s}))}return e}function lg(e,t,n,r){const a=e.dirs,o=t&&t.dirs
;for(let i=0;i<a.length;i++){const s=a[i];o&&(s.oldValue=o[i].value)
;let l=s.dir[r];l&&(hf(),Um(l,n,8,[e.el,s,e,t]),ff())}}function cg(e,t){if(hy){
let n=hy.provides;const r=hy.parent&&hy.parent.provides
;r===n&&(n=hy.provides=Object.create(r)),n[e]=t}}function ug(e,t,n=!1){
const r=fy();if(r||eb){
let a=eb?eb._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0
;if(a&&e in a)return a[e]
;if(arguments.length>1)return n&&rh(t)?t.call(r&&r.proxy):t}}function dg(){
return!(!fy()&&!eb)}const pg=Symbol.for("v-scx"),hg=()=>ug(pg);function fg(e,t){
return gg(e,null,t)}function mg(e,t,n){return gg(e,t,n)}function gg(e,t,n=Fp){
const{immediate:r,deep:a,flush:o,once:i}=n,s=Xp({},n),l=t&&r||!t&&"post"!==o
;let c;if(Oy)if("sync"===o){const e=hg()
;c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{}
;return e.stop=Qp,e.resume=Qp,e.pause=Qp,e}const u=hy
;s.call=(e,t,n)=>Um(e,u,t,n);let d=!1;"post"===o?s.scheduler=e=>{
Eb(e,u&&u.suspense)}:"sync"!==o&&(d=!0,s.scheduler=(e,t)=>{t?e():Gm(e)
}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))}
;const p=Lm(e,t,s);return Oy&&(c?c.push(p):l&&p()),p}function vg(e,t,n){
const r=this.proxy,a=ah(e)?e.includes(".")?bg(r,e):()=>r[e]:e.bind(r,r);let o
;rh(t)?o=t:(o=t.handler,n=t);const i=vy(this),s=gg(a,o.bind(r),n);return i(),s}
function bg(e,t){const n=t.split(".");return()=>{let t=e
;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}
const yg=Symbol("_vte"),Og=e=>e.__isTeleport,wg=e=>e&&(e.disabled||""===e.disabled),xg=e=>e&&(e.defer||""===e.defer),kg=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Sg=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,_g=(e,t)=>{
const n=e&&e.to;if(ah(n)){if(t){return t(n)}return null}return n},Ag={
name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,o,i,s,l,c){
const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,v=wg(t.props)
;let{shapeFlag:b,children:y,dynamicChildren:O}=t;if(null==e){
const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=>{
16&b&&u(y,e,t,a,o,i,s,l)},p=()=>{const e=t.target=_g(t.props,f),n=$g(e,t,m,h)
;e&&("svg"!==i&&kg(e)?i="svg":"mathml"!==i&&Sg(e)&&(i="mathml"),
a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(e),
v||(d(e,n),Cg(t,!1)))}
;v&&(d(n,c),Cg(t,!0)),xg(t.props)?(t.el.__isMounted=!1,Eb((()=>{
p(),delete t.el.__isMounted}),o)):p()}else{
if(xg(t.props)&&!1===e.el.__isMounted)return void Eb((()=>{
Ag.process(e,t,n,r,a,o,i,s,l,c)}),o);t.el=e.el,t.targetStart=e.targetStart
;const u=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=wg(e.props),b=g?n:h,y=g?u:m
;if("svg"===i||kg(h)?i="svg":("mathml"===i||Sg(h))&&(i="mathml"),
O?(p(e.dynamicChildren,O,b,a,o,i,s),
Ib(e,t,!0)):l||d(e,t,b,y,a,o,i,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Tg(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){
const e=t.target=_g(t.props,f);e&&Tg(t,e,null,c,0)}else g&&Tg(t,h,m,c,1);Cg(t,v)
}},remove(e,t,n,{um:r,o:{remove:a}},o){
const{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e
;if(d&&(a(c),a(u)),o&&a(l),16&i){const e=o||!wg(p);for(let a=0;a<s.length;a++){
const o=s[a];r(o,t,n,e,!!o.dynamicChildren)}}},move:Tg,
hydrate:function(e,t,n,r,a,o,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},d){
function p(e,t,l,c){
t.anchor=d(i(e),t,s(e),n,r,a,o),t.targetStart=l,t.targetAnchor=c}
const h=t.target=_g(t.props,l),f=wg(t.props);if(h){const s=h._lpa||h.firstChild
;if(16&t.shapeFlag)if(f)p(e,t,s,s&&i(s));else{t.anchor=i(e);let l=s;for(;l;){
if(l&&8===l.nodeType)if("teleport start anchor"===l.data)t.targetStart=l;else if("teleport anchor"===l.data){
t.targetAnchor=l,h._lpa=t.targetAnchor&&i(t.targetAnchor);break}l=i(l)}
t.targetAnchor||$g(h,t,u,c),d(s&&i(s),t,h,n,r,a,o)}Cg(t,f)
}else f&&16&t.shapeFlag&&p(e,t,e,i(e));return t.anchor&&i(t.anchor)}}
;function Tg(e,t,n,{o:{insert:r},m:a},o=2){0===o&&r(e.targetAnchor,t,n)
;const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===o
;if(d&&r(i,t,n),(!d||wg(u))&&16&l)for(let p=0;p<c.length;p++)a(c[p],t,n,2)
;d&&r(s,t,n)}const Eg=Ag;function Cg(e,t){const n=e.ctx;if(n&&n.ut){let r,a
;for(t?(r=e.el,
a=e.anchor):(r=e.targetStart,a=e.targetAnchor);r&&r!==a;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),
r=r.nextSibling;n.ut()}}function $g(e,t,n,r){
const a=t.targetStart=n(""),o=t.targetAnchor=n("")
;return a[yg]=o,e&&(r(a,e),r(o,e)),o}
const Pg=Symbol("_leaveCb"),Ig=Symbol("_enterCb");const Dg=[Function,Array],Mg={
mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Dg,onEnter:Dg,
onAfterEnter:Dg,onEnterCancelled:Dg,onBeforeLeave:Dg,onLeave:Dg,onAfterLeave:Dg,
onLeaveCancelled:Dg,onBeforeAppear:Dg,onAppear:Dg,onAfterAppear:Dg,
onAppearCancelled:Dg},Ng=e=>{const t=e.subTree
;return t.component?Ng(t.component):t};function Rg(e){let t=e[0]
;if(e.length>1)for(const n of e)if(n.type!==jb){t=n;break}return t}const Lg={
name:"BaseTransition",props:Mg,setup(e,{slots:t}){const n=fy(),r=function(){
const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map}
;return cv((()=>{e.isMounted=!0})),pv((()=>{e.isUnmounting=!0})),e}()
;return()=>{const a=t.default&&Fg(t.default(),!0);if(!a||!a.length)return
;const o=Rg(a),i=hm(e),{mode:s}=i;if(r.isLeaving)return Ug(o);const l=zg(o)
;if(!l)return Ug(o);let c=jg(l,i,r,n,(e=>c=e));l.type!==jb&&Zg(l,c)
;let u=n.subTree&&zg(n.subTree);if(u&&u.type!==jb&&!Gb(u,l)&&Ng(n).type!==jb){
let e=jg(u,i,r,n)
;if(Zg(u,e),"out-in"===s&&l.type!==jb)return r.isLeaving=!0,e.afterLeave=()=>{
r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},Ug(o)
;"in-out"===s&&l.type!==jb?e.delayLeave=(e,t,n)=>{
Bg(r,u)[String(u.key)]=u,e[Pg]=()=>{
t(),e[Pg]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{
n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}}
;function Bg(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type)
;return r||(r=Object.create(null),n.set(t.type,r)),r}function jg(e,t,n,r,a){
const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:y}=t,O=String(e.key),w=Bg(n,e),x=(e,t)=>{
e&&Um(e,r,9,t)},k=(e,t)=>{const n=t[1]
;x(e,t),Jp(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,
persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=g||l}
t[Pg]&&t[Pg](!0);const a=w[O];a&&Gb(e,a)&&a.el[Pg]&&a.el[Pg](),x(r,[t])},
enter(e){let t=c,r=u,a=d;if(!n.isMounted){if(!o)return;t=v||c,r=b||u,a=y||d}
let i=!1;const s=e[Ig]=t=>{
i||(i=!0,x(t?a:r,[e]),S.delayedLeave&&S.delayedLeave(),e[Ig]=void 0)}
;t?k(t,[e,s]):s()},leave(t,r){const a=String(e.key)
;if(t[Ig]&&t[Ig](!0),n.isUnmounting)return r();x(p,[t]);let o=!1
;const i=t[Pg]=n=>{o||(o=!0,r(),x(n?m:f,[t]),t[Pg]=void 0,w[a]===e&&delete w[a])
};w[a]=e,h?k(h,[t,i]):i()},clone(e){const o=jg(e,t,n,r,a);return a&&a(o),o}}
;return S}function Ug(e){if(tv(e))return(e=ny(e)).children=null,e}
function zg(e){if(!tv(e))return Og(e.type)&&e.children?Rg(e.children):e
;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e
;if(n){if(16&t)return n[0];if(32&t&&rh(n.default))return n.default()}}
function Zg(e,t){
6&e.shapeFlag&&e.component?(e.transition=t,Zg(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),
e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}
function Fg(e,t=!1,n){let r=[],a=0;for(let o=0;o<e.length;o++){let i=e[o]
;const s=null==n?i.key:String(n)+String(null!=i.key?i.key:o)
;i.type===Lb?(128&i.patchFlag&&a++,
r=r.concat(Fg(i.children,t,s))):(t||i.type!==jb)&&r.push(null!=s?ny(i,{key:s
}):i)}if(a>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}
function Hg(e,t){return rh(e)?(()=>Xp({name:e.name},t,{setup:e}))():e}
function Qg(){const e=fy()
;return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}
function Vg(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qg(e){
const t=fy(),n=ym(null);if(t){const r=t.refs===Fp?t.refs={}:t.refs
;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}
return n}const Wg=new WeakMap;function Xg(e,t,n,r,a=!1){
if(Jp(e))return void e.forEach(((e,o)=>Xg(e,t&&(Jp(t)?t[o]:t),n,r,a)))
;if(Kg(r)&&!a)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Xg(e,t,n,r.component.subTree))
;const o=4&r.shapeFlag?_y(r.component):r.el,i=a?null:o,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Fp?s.refs={}:s.refs,d=s.setupState,p=hm(d),h=d===Fp?Vp:e=>Kp(p,e)
;if(null!=c&&c!==l)if(Gg(t),ah(c))u[c]=null,h(c)&&(d[c]=null);else if(vm(c)){
c.value=null;const e=t;e.k&&(u[e.k]=null)}if(rh(l))jm(l,s,12,[i,u]);else{
const t=ah(l),r=vm(l);if(t||r){const s=()=>{if(e.f){
const n=t?h(l)?d[l]:u[l]:l.value
;if(a)Jp(n)&&Gp(n,o);else if(Jp(n))n.includes(o)||n.push(o);else if(t)u[l]=[o],
h(l)&&(d[l]=u[l]);else{const t=[o];l.value=t,e.k&&(u[e.k]=t)}
}else t?(u[l]=i,h(l)&&(d[l]=i)):r&&(l.value=i,e.k&&(u[e.k]=i))};if(i){
const t=()=>{s(),Wg.delete(e)};t.id=-1,Wg.set(e,t),Eb(t,n)}else Gg(e),s()}}}
function Gg(e){const t=Wg.get(e);t&&(t.flags|=8,Wg.delete(e))}
const Yg=e=>8===e.nodeType;Th().requestIdleCallback,Th().cancelIdleCallback
;const Kg=e=>!!e.type.__asyncLoader;function Jg(e){rh(e)&&(e={loader:e})
;const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:o,timeout:i,suspensible:s=!0,onError:l}=e
;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{
if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{
l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e
})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),
c=t,t))))};return Hg({name:"AsyncComponentWrapper",__asyncLoader:p,
__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push((()=>r=!0));const a=()=>{
r||n()},i=o?()=>{const n=o(a,(t=>function(e,t){if(Yg(e)&&"["===e.data){
let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break
}else if(Yg(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++
;r=r.nextSibling}}else t(e)}(e,t)));n&&(t.bum||(t.bum=[])).push(n)}:a
;c?i():p().then((()=>!t.isUnmounted&&i()))},get __asyncResolved(){return c},
setup(){const e=hy;if(Vg(e),c)return()=>ev(c,e);const t=t=>{u=null,zm(t,e,13,!r)
}
;if(s&&e.suspense||Oy)return p().then((t=>()=>ev(t,e))).catch((e=>(t(e),()=>r?ey(r,{
error:e}):null)));const o=bm(!1),l=bm(),d=bm(!!a);return a&&setTimeout((()=>{
d.value=!1}),a),null!=i&&setTimeout((()=>{if(!o.value&&!l.value){
const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}
}),i),p().then((()=>{o.value=!0,e.parent&&tv(e.parent.vnode)&&e.parent.update()
})).catch((e=>{t(e),l.value=e})),()=>o.value&&c?ev(c,e):l.value&&r?ey(r,{
error:l.value}):n&&!d.value?ev(n,e):void 0}})}function ev(e,t){
const{ref:n,props:r,children:a,ce:o}=t.vnode,i=ey(e,r,a)
;return i.ref=n,i.ce=o,delete t.vnode.ce,i}const tv=e=>e.type.__isKeepAlive
;function nv(e,t){av(e,"a",t)}function rv(e,t){av(e,"da",t)}
function av(e,t,n=hy){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){
if(t.isDeactivated)return;t=t.parent}return e()});if(iv(t,r,n),n){let e=n.parent
;for(;e&&e.parent;)tv(e.parent.vnode)&&ov(r,t,n,e),e=e.parent}}
function ov(e,t,n,r){const a=iv(t,e,r,!0);hv((()=>{Gp(r[t],a)}),n)}
function iv(e,t,n=hy,r=!1){if(n){
const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{hf()
;const a=vy(n),o=Um(t,n,e,r);return a(),ff(),o})
;return r?a.unshift(o):a.push(o),o}}const sv=e=>(t,n=hy)=>{
Oy&&"sp"!==e||iv(e,((...e)=>t(...e)),n)
},lv=sv("bm"),cv=sv("m"),uv=sv("bu"),dv=sv("u"),pv=sv("bum"),hv=sv("um"),fv=sv("sp"),mv=sv("rtg"),gv=sv("rtc")
;function vv(e,t=hy){iv("ec",e,t)}const bv="components";function yv(e,t){
return xv(bv,e,!0,t)||e}const Ov=Symbol.for("v-ndc");function wv(e){
return ah(e)?xv(bv,e,!1)||e:e||Ov}function xv(e,t,n=!0,r=!1){const a=rg||hy
;if(a){const n=a.type;{const e=Ay(n,!1)
;if(e&&(e===t||e===gh(t)||e===yh(gh(t))))return n}
const o=kv(a[e]||n[e],t)||kv(a.appContext[e],t);return!o&&r?n:o}}
function kv(e,t){return e&&(e[t]||e[gh(t)]||e[yh(gh(t))])}function Sv(e,t,n,r){
let a;const o=n,i=Jp(e);if(i||ah(e)){let n=!1,r=!1
;i&&cm(e)&&(n=!dm(e),r=um(e),e=Tf(e)),a=new Array(e.length)
;for(let i=0,s=e.length;i<s;i++)a[i]=t(n?r?gm(mm(e[i])):mm(e[i]):e[i],i,void 0,o)
}else if("number"==typeof e){a=new Array(e)
;for(let n=0;n<e;n++)a[n]=t(n+1,n,void 0,o)
}else if(ih(e))if(e[Symbol.iterator])a=Array.from(e,((e,n)=>t(e,n,void 0,o)));else{
const n=Object.keys(e);a=new Array(n.length);for(let r=0,i=n.length;r<i;r++){
const i=n[r];a[r]=t(e[i],i,r,o)}}else a=[];return a}function _v(e,t){
for(let n=0;n<t.length;n++){const r=t[n]
;if(Jp(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{
const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}
function Av(e,t,n={},r,a){if(rg.ce||rg.parent&&Kg(rg.parent)&&rg.parent.ce){
const e=Object.keys(n).length>0
;return"default"!==t&&(n.name=t),Fb(),Wb(Lb,null,[ey("slot",n,r&&r())],e?-2:64)}
let o=e[t];o&&o._c&&(o._d=!1),Fb()
;const i=o&&Tv(o(n)),s=n.key||i&&i.key,l=Wb(Lb,{
key:(s&&!oh(s)?s:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2)
;return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}
function Tv(e){
return e.some((e=>!Xb(e)||e.type!==jb&&!(e.type===Lb&&!Tv(e.children))))?e:null}
function Ev(e,t){const n={};for(const r in e)n[Oh(r)]=e[r];return n}
const Cv=e=>e?yy(e)?_y(e):Cv(e.parent):null,$v=Xp(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=>Cv(e.parent),$root:e=>Cv(e.root),
$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fv(e),$forceUpdate:e=>e.f||(e.f=()=>{
Gm(e.update)}),$nextTick:e=>e.n||(e.n=Xm.bind(e.proxy)),$watch:e=>vg.bind(e)
}),Pv=(e,t)=>e!==Fp&&!e.__isScriptSetup&&Kp(e,t),Iv={get({_:e},t){
if("__v_skip"===t)return!0
;const{ctx:n,setupState:r,data:a,props:o,accessCache:i,type:s,appContext:l}=e
;if("$"!==t[0]){const e=i[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:
return a[t];case 4:return n[t];case 3:return o[t]}else{if(Pv(r,t))return i[t]=1,
r[t];if(a!==Fp&&Kp(a,t))return i[t]=2,a[t];if(Kp(o,t))return i[t]=3,o[t]
;if(n!==Fp&&Kp(n,t))return i[t]=4,n[t];jv&&(i[t]=0)}}const c=$v[t];let u,d
;return c?("$attrs"===t&&Sf(e.attrs,0,""),
c(e)):(u=s.__cssModules)&&(u=u[t])?u:n!==Fp&&Kp(n,t)?(i[t]=4,
n[t]):(d=l.config.globalProperties,Kp(d,t)?d[t]:void 0)},set({_:e},t,n){
const{data:r,setupState:a,ctx:o}=e
;return Pv(a,t)?(a[t]=n,!0):r!==Fp&&Kp(r,t)?(r[t]=n,
!0):!Kp(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(o[t]=n,!0))},
has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,props:o,type:i}},s){
let l
;return!!(n[s]||e!==Fp&&"$"!==s[0]&&Kp(e,s)||Pv(t,s)||Kp(o,s)||Kp(r,s)||Kp($v,s)||Kp(a.config.globalProperties,s)||(l=i.__cssModules)&&l[s])
},defineProperty(e,t,n){
return null!=n.get?e._.accessCache[t]=0:Kp(n,"value")&&this.set(e,t,n.value,null),
Reflect.defineProperty(e,t,n)}};function Dv(){return Nv().slots}function Mv(){
return Nv().attrs}function Nv(e){const t=fy()
;return t.setupContext||(t.setupContext=Sy(t))}function Rv(e){
return Jp(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Lv(e,t){
const n=Rv(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r]
;e?Jp(e)||rh(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={
default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n}
function Bv(e,t){return e&&t?Jp(e)&&Jp(t)?e.concat(t):Xp({},Rv(e),Rv(t)):e||t}
let jv=!0;function Uv(e){const t=Fv(e),n=e.proxy,r=e.ctx
;jv=!1,t.beforeCreate&&zv(t.beforeCreate,e,"bc")
;const{data:a,computed:o,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:f,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:O,render:w,renderTracked:x,renderTriggered:k,errorCaptured:S,serverPrefetch:_,expose:A,inheritAttrs:T,components:E,directives:C,filters:$}=t
;if(c&&function(e,t,n=Qp){Jp(e)&&(e=qv(e));for(const r in e){const n=e[r];let a
;a=ih(n)?"default"in n?ug(n.from||r,n.default,!0):ug(n.from||r):ug(n),
vm(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,
set:e=>a.value=e}):t[r]=a}}(c,r,null),i)for(const I in i){const e=i[I]
;rh(e)&&(r[I]=e.bind(n))}if(a){const t=a.call(n,n);ih(t)&&(e.data=om(t))}
if(jv=!0,o)for(const I in o){
const e=o[I],t=rh(e)?e.bind(n,n):rh(e.get)?e.get.bind(n,n):Qp,a=!rh(e)&&rh(e.set)?e.set.bind(n):Qp,i=Ty({
get:t,set:a});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,
get:()=>i.value,set:e=>i.value=e})}if(s)for(const I in s)Zv(s[I],r,n,I);if(l){
const e=rh(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{cg(t,e[t])}))}
function P(e,t){Jp(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}
if(u&&zv(u,e,"c"),
P(lv,d),P(cv,p),P(uv,h),P(dv,f),P(nv,m),P(rv,g),P(vv,S),P(gv,x),P(mv,k),P(pv,b),
P(hv,O),P(fv,_),Jp(A))if(A.length){const t=e.exposed||(e.exposed={})
;A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,
enumerable:!0})}))}else e.exposed||(e.exposed={})
;w&&e.render===Qp&&(e.render=w),null!=T&&(e.inheritAttrs=T),E&&(e.components=E),
C&&(e.directives=C),_&&Vg(e)}function zv(e,t,n){
Um(Jp(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Zv(e,t,n,r){
let a=r.includes(".")?bg(n,r):()=>n[r];if(ah(e)){const n=t[e];rh(n)&&mg(a,n)
}else if(rh(e))mg(a,e.bind(n));else if(ih(e))if(Jp(e))e.forEach((e=>Zv(e,t,n,r)));else{
const r=rh(e.handler)?e.handler.bind(n):t[e.handler];rh(r)&&mg(a,r,e)}}
function Fv(e){
const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,s=o.get(t)
;let l;return s?l=s:a.length||n||r?(l={},a.length&&a.forEach((e=>Hv(l,e,i,!0))),
Hv(l,t,i)):l=t,ih(t)&&o.set(t,l),l}function Hv(e,t,n,r=!1){
const{mixins:a,extends:o}=t;o&&Hv(e,o,n,!0),a&&a.forEach((t=>Hv(e,t,n,!0)))
;for(const i in t)if(r&&"expose"===i);else{const r=Qv[i]||n&&n[i]
;e[i]=r?r(e[i],t[i]):t[i]}return e}const Qv={data:Vv,props:Gv,emits:Gv,
methods:Xv,computed:Xv,beforeCreate:Wv,created:Wv,beforeMount:Wv,mounted:Wv,
beforeUpdate:Wv,updated:Wv,beforeDestroy:Wv,beforeUnmount:Wv,destroyed:Wv,
unmounted:Wv,activated:Wv,deactivated:Wv,errorCaptured:Wv,serverPrefetch:Wv,
components:Xv,directives:Xv,watch:function(e,t){if(!e)return t;if(!t)return e
;const n=Xp(Object.create(null),e);for(const r in t)n[r]=Wv(e[r],t[r]);return n
},provide:Vv,inject:function(e,t){return Xv(qv(e),qv(t))}};function Vv(e,t){
return t?e?function(){
return Xp(rh(e)?e.call(this,this):e,rh(t)?t.call(this,this):t)}:t:e}
function qv(e){if(Jp(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n]
;return t}return e}function Wv(e,t){return e?[...new Set([].concat(e,t))]:t}
function Xv(e,t){return e?Xp(Object.create(null),e,t):t}function Gv(e,t){
return e?Jp(e)&&Jp(t)?[...new Set([...e,...t])]:Xp(Object.create(null),Rv(e),Rv(null!=t?t:{})):t
}function Yv(){return{app:null,config:{isNativeTag:Vp,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}}let Kv=0;function Jv(e,t){return function(t,n=null){
rh(t)||(t=Xp({},t)),null==n||ih(n)||(n=null);const r=Yv(),a=new WeakSet,o=[]
;let i=!1;const s=r.app={_uid:Kv++,_component:t,_props:n,_container:null,
_context:r,_instance:null,version:Cy,get config(){return r.config},
set config(e){},
use:(e,...t)=>(a.has(e)||(e&&rh(e.install)?(a.add(e),e.install(s,...t)):rh(e)&&(a.add(e),
e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),
component:(e,t)=>t?(r.components[e]=t,s):r.components[e],
directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(a,o,l){if(!i){
const o=s._ceVNode||ey(t,n)
;return o.appContext=r,!0===l?l="svg":!1===l&&(l=void 0),
e(o,a,l),i=!0,s._container=a,a.__vue_app__=s,_y(o.component)}},onUnmount(e){
o.push(e)},unmount(){
i&&(Um(o,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},
provide:(e,t)=>(r.provides[e]=t,s),runWithContext(e){const t=eb;eb=s;try{
return e()}finally{eb=t}}};return s}}let eb=null;function tb(e,t,n=Fp){
const r=fy(),a=gh(t),o=bh(t),i=nb(e,a),s=Tm(((i,s)=>{let l,c,u=Fp
;return gg((()=>{const t=e[a];wh(l,t)&&(l=t,s())}),null,{flush:"sync"}),{
get:()=>(i(),n.get?n.get(l):l),set(e){const i=n.set?n.set(e):e
;if(!(wh(i,l)||u!==Fp&&wh(e,u)))return;const d=r.vnode.props
;d&&(t in d||a in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${a}`in d||`onUpdate:${o}`in d)||(l=e,
s()),r.emit(`update:${t}`,i),wh(e,i)&&wh(e,u)&&!wh(i,c)&&s(),u=e,c=i}}}))
;return s[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?i||Fp:s,
done:!1}:{done:!0}}},s}
const nb=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${gh(t)}Modifiers`]||e[`${bh(t)}Modifiers`]
;function rb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Fp;let a=n
;const o=t.startsWith("update:"),i=o&&nb(r,t.slice(7));let s
;i&&(i.trim&&(a=n.map((e=>ah(e)?e.trim():e))),i.number&&(a=n.map(Sh)))
;let l=r[s=Oh(t)]||r[s=Oh(gh(t))];!l&&o&&(l=r[s=Oh(bh(t))]),l&&Um(l,e,6,a)
;const c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return
}else e.emitted={};e.emitted[s]=!0,Um(c,e,6,a)}}const ab=new WeakMap
;function ob(e,t,n=!1){const r=n?ab:t.emitsCache,a=r.get(e)
;if(void 0!==a)return a;const o=e.emits;let i={},s=!1;if(!rh(e)){const r=e=>{
const n=ob(e,t,!0);n&&(s=!0,Xp(i,n))}
;!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),
e.mixins&&e.mixins.forEach(r)}
return o||s?(Jp(o)?o.forEach((e=>i[e]=null)):Xp(i,o),
ih(e)&&r.set(e,i),i):(ih(e)&&r.set(e,null),null)}function ib(e,t){
return!(!e||!qp(t))&&(t=t.slice(2).replace(/Once$/,""),
Kp(e,t[0].toLowerCase()+t.slice(1))||Kp(e,bh(t))||Kp(e,t))}function sb(e){
const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[o],slots:i,attrs:s,emit:l,render:c,renderCache:u,props:d,data:p,setupState:h,ctx:f,inheritAttrs:m}=e,g=og(e)
;let v,b;try{if(4&n.shapeFlag){const e=a||r,t=e;v=iy(c.call(t,e,u,d,h,p,f)),b=s
}else{const e=t;0,v=iy(e.length>1?e(d,{attrs:s,slots:i,emit:l
}):e(d,null)),b=t.props?s:lb(s)}}catch(O){zb.length=0,zm(O,e,1),v=ey(jb)}let y=v
;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=y
;e.length&&7&t&&(o&&e.some(Wp)&&(b=cb(b,o)),y=ny(y,b,!1,!0))}
return n.dirs&&(y=ny(y,null,!1,!0),
y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Zg(y,n.transition),
v=y,og(g),v}const lb=e=>{let t
;for(const n in e)("class"===n||"style"===n||qp(n))&&((t||(t={}))[n]=e[n])
;return t},cb=(e,t)=>{const n={}
;for(const r in e)Wp(r)&&r.slice(9)in t||(n[r]=e[r]);return n}
;function ub(e,t,n){const r=Object.keys(t)
;if(r.length!==Object.keys(e).length)return!0;for(let a=0;a<r.length;a++){
const o=r[a];if(t[o]!==e[o]&&!ib(n,o))return!0}return!1}
const db={},pb=()=>Object.create(db),hb=e=>Object.getPrototypeOf(e)===db
;function fb(e,t,n,r=!1){const a={},o=pb()
;e.propsDefaults=Object.create(null),mb(e,t,a,o)
;for(const i in e.propsOptions[0])i in a||(a[i]=void 0)
;n?e.props=r?a:lm(a,!1,Hf,Kf,nm):e.type.props?e.props=a:e.props=o,e.attrs=o}
function mb(e,t,n,r){const[a,o]=e.propsOptions;let i,s=!1;if(t)for(let l in t){
if(hh(l))continue;const c=t[l];let u
;a&&Kp(a,u=gh(l))?o&&o.includes(u)?(i||(i={}))[u]=c:n[u]=c:ib(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,
s=!0)}if(o){const t=hm(n),r=i||Fp;for(let i=0;i<o.length;i++){const s=o[i]
;n[s]=gb(a,t,s,r[s],e,!Kp(r,s))}}return s}function gb(e,t,n,r,a,o){const i=e[n]
;if(null!=i){const e=Kp(i,"default");if(e&&void 0===r){const e=i.default
;if(i.type!==Function&&!i.skipFactory&&rh(e)){const{propsDefaults:o}=a
;if(n in o)r=o[n];else{const i=vy(a);r=o[n]=e.call(null,t),i()}}else r=e
;a.ce&&a.ce._setProp(n,r)}i[0]&&(o&&!e?r=!1:!i[1]||""!==r&&r!==bh(n)||(r=!0))}
return r}const vb=new WeakMap;function bb(e,t,n=!1){
const r=n?vb:t.propsCache,a=r.get(e);if(a)return a;const o=e.props,i={},s=[]
;let l=!1;if(!rh(e)){const r=e=>{l=!0;const[n,r]=bb(e,t,!0)
;Xp(i,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(!o&&!l)return ih(e)&&r.set(e,Hp),Hp
;if(Jp(o))for(let u=0;u<o.length;u++){const e=gh(o[u]);yb(e)&&(i[e]=Fp)
}else if(o)for(const u in o){const e=gh(u);if(yb(e)){
const t=o[u],n=i[e]=Jp(t)||rh(t)?{type:t}:Xp({},t),r=n.type;let a=!1,l=!0
;if(Jp(r))for(let e=0;e<r.length;++e){const t=r[e],n=rh(t)&&t.name
;if("Boolean"===n){a=!0;break}"String"===n&&(l=!1)
}else a=rh(r)&&"Boolean"===r.name;n[0]=a,n[1]=l,(a||Kp(n,"default"))&&s.push(e)}
}const c=[i,s];return ih(e)&&r.set(e,c),c}function yb(e){
return"$"!==e[0]&&!hh(e)}
const Ob=e=>"_"===e||"_ctx"===e||"$stable"===e,wb=e=>Jp(e)?e.map(iy):[iy(e)],xb=(e,t,n)=>{
if(t._n)return t;const r=ig(((...e)=>wb(t(...e))),n);return r._c=!1,r
},kb=(e,t,n)=>{const r=e._ctx;for(const a in e){if(Ob(a))continue;const n=e[a]
;if(rh(n))t[a]=xb(0,n,r);else if(null!=n){const e=wb(n);t[a]=()=>e}}
},Sb=(e,t)=>{const n=wb(t);e.slots.default=()=>n},_b=(e,t,n)=>{
for(const r in t)!n&&Ob(r)||(e[r]=t[r])},Ab=(e,t,n)=>{const r=e.slots=pb()
;if(32&e.vnode.shapeFlag){const e=t._;e?(_b(r,t,n),n&&kh(r,"_",e,!0)):kb(t,r)
}else t&&Sb(e,t)},Tb=(e,t,n)=>{const{vnode:r,slots:a}=e;let o=!0,i=Fp
;if(32&r.shapeFlag){const e=t._
;e?n&&1===e?o=!1:_b(a,t,n):(o=!t.$stable,kb(t,a)),i=t}else t&&(Sb(e,t),i={
default:1});if(o)for(const s in a)Ob(s)||null!=i[s]||delete a[s]
},Eb=function(e,t){
t&&t.pendingBranch?Jp(e)?t.effects.push(...e):t.effects.push(e):Km(e)}
;function Cb(e){return function(e,t){Th().__VUE__=!0
;const{insert:n,remove:r,patchProp:a,createElement:o,createText:i,createComment:s,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:p=Qp,insertStaticContent:h}=e,f=(e,t,n,r=null,a=null,o=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{
if(e===t)return
;e&&!Gb(e,t)&&(r=Z(e),L(e,a,o,!0),e=null),-2===t.patchFlag&&(l=!1,
t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Bb:
m(e,t,n,r);break;case jb:g(e,t,n,r);break;case Ub:null==e&&v(t,n,r,i);break
;case Lb:T(e,t,n,r,a,o,i,s,l);break;default:
1&d?O(e,t,n,r,a,o,i,s,l):6&d?E(e,t,n,r,a,o,i,s,l):(64&d||128&d)&&c.process(e,t,n,r,a,o,i,s,l,Q)
}
null!=u&&a?Xg(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&Xg(e.ref,null,o,e,!0)
},m=(e,t,r,a)=>{if(null==e)n(t.el=i(t.children),r,a);else{const n=t.el=e.el
;t.children!==e.children&&l(n,t.children)}},g=(e,t,r,a)=>{
null==e?n(t.el=s(t.children||""),r,a):t.el=e.el},v=(e,t,n,r)=>{
[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},b=({el:e,anchor:t},r,a)=>{
let o;for(;e&&e!==t;)o=d(e),n(e,r,a),e=o;n(t,r,a)},y=({el:e,anchor:t})=>{let n
;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)},O=(e,t,n,r,a,o,i,s,l)=>{
if("svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),
null==e)w(t,n,r,a,o,i,s,l);else{const n=e.el&&e.el._isVueCE?e.el:null;try{
n&&n._beginPatch(),S(e,t,a,o,i,s,l)}finally{n&&n._endPatch()}}
},w=(e,t,r,i,s,l,u,d)=>{let p,h;const{props:f,shapeFlag:m,transition:g,dirs:v}=e
;if(p=e.el=o(e.type,l,f&&f.is,f),
8&m?c(p,e.children):16&m&&k(e.children,p,null,i,s,$b(e,l),u,d),
v&&lg(e,null,i,"created"),x(p,e,e.scopeId,u,i),f){
for(const e in f)"value"===e||hh(e)||a(p,e,null,f[e],l,i)
;"value"in f&&a(p,"value",null,f.value,l),(h=f.onVnodeBeforeMount)&&uy(h,i,e)}
v&&lg(e,null,i,"beforeMount");const b=function(e,t){
return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g)
;b&&g.beforeEnter(p),n(p,t,r),((h=f&&f.onVnodeMounted)||b||v)&&Eb((()=>{
h&&uy(h,i,e),b&&g.enter(p),v&&lg(e,null,i,"mounted")}),s)},x=(e,t,n,r,a)=>{
if(n&&p(e,n),r)for(let o=0;o<r.length;o++)p(e,r[o]);if(a){let n=a.subTree
;if(t===n||Rb(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=a.vnode
;x(e,t,t.scopeId,t.slotScopeIds,a.parent)}}},k=(e,t,n,r,a,o,i,s,l=0)=>{
for(let c=l;c<e.length;c++){const l=e[c]=s?sy(e[c]):iy(e[c])
;f(null,l,t,n,r,a,o,i,s)}},S=(e,t,n,r,o,i,s)=>{const l=t.el=e.el
;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag
;const h=e.props||Fp,f=t.props||Fp;let m
;if(n&&Pb(n,!1),(m=f.onVnodeBeforeUpdate)&&uy(m,n,t,e),
p&&lg(t,e,n,"beforeUpdate"),
n&&Pb(n,!0),(h.innerHTML&&null==f.innerHTML||h.textContent&&null==f.textContent)&&c(l,""),
d?_(e.dynamicChildren,d,l,n,r,$b(t,o),i):s||D(e,t,l,null,n,r,$b(t,o),i,!1),u>0){
if(16&u)A(l,h,f,n,o);else if(2&u&&h.class!==f.class&&a(l,"class",null,f.class,o),
4&u&&a(l,"style",h.style,f.style,o),8&u){const e=t.dynamicProps
;for(let t=0;t<e.length;t++){const r=e[t],i=h[r],s=f[r]
;s===i&&"value"!==r||a(l,r,i,s,o,n)}}
1&u&&e.children!==t.children&&c(l,t.children)}else s||null!=d||A(l,h,f,n,o)
;((m=f.onVnodeUpdated)||p)&&Eb((()=>{m&&uy(m,n,t,e),p&&lg(t,e,n,"updated")}),r)
},_=(e,t,n,r,a,o,i)=>{for(let s=0;s<t.length;s++){
const l=e[s],c=t[s],d=l.el&&(l.type===Lb||!Gb(l,c)||198&l.shapeFlag)?u(l.el):n
;f(l,c,d,null,r,a,o,i,!0)}},A=(e,t,n,r,o)=>{if(t!==n){
if(t!==Fp)for(const i in t)hh(i)||i in n||a(e,i,t[i],null,o,r)
;for(const i in n){if(hh(i))continue;const s=n[i],l=t[i]
;s!==l&&"value"!==i&&a(e,i,l,s,o,r)}"value"in n&&a(e,"value",t.value,n.value,o)}
},T=(e,t,r,a,o,s,l,c,u)=>{const d=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("")
;let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t
;m&&(c=c?c.concat(m):m),null==e?(n(d,r,a),
n(p,r,a),k(t.children||[],r,p,o,s,l,c,u)):h>0&&64&h&&f&&e.dynamicChildren&&e.dynamicChildren.length===f.length?(_(e.dynamicChildren,f,r,o,s,l,c),
(null!=t.key||o&&t===o.subTree)&&Ib(e,t,!0)):D(e,t,r,p,o,s,l,c,u)
},E=(e,t,n,r,a,o,i,s,l)=>{
t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,n,r,i,l):C(t,n,r,a,o,i,l):$(e,t,l)
},C=(e,t,n,r,a,o,i)=>{const s=e.component=function(e,t,n){
const r=e.type,a=(t?t.appContext:e.appContext)||dy,o={uid:py++,vnode:e,type:r,
parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,
job:null,scope:new Vh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,
withProxy:null,provides:t?t.provides:Object.create(a.provides),
ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,
directives:null,propsOptions:bb(r,a),emitsOptions:ob(r,a),emit:null,
emitted:null,propsDefaults:Fp,inheritAttrs:r.inheritAttrs,ctx:Fp,data:Fp,
props:Fp,attrs:Fp,slots:Fp,refs:Fp,setupState:Fp,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};o.ctx={_:o
},o.root=t?t.root:o,o.emit=rb.bind(null,o),e.ce&&e.ce(o);return o}(e,r,a)
;if(tv(e)&&(s.ctx.renderer=Q),function(e,t=!1,n=!1){t&&gy(t)
;const{props:r,children:a}=e.vnode,o=yy(e);fb(e,r,o,t),Ab(e,a,n||t)
;const i=o?function(e,t){const n=e.type
;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Iv);const{setup:r}=n
;if(r){hf()
;const n=e.setupContext=r.length>1?Sy(e):null,a=vy(e),o=jm(r,e,0,[e.props,n]),i=sh(o)
;if(ff(),a(),!i&&!e.sp||Kg(e)||Vg(e),i){if(o.then(by,by),t)return o.then((t=>{
wy(e,t)})).catch((t=>{zm(t,e,0)}));e.asyncDep=o}else wy(e,o)}else xy(e)
}(e,t):void 0;t&&gy(!1)}(s,!1,i),s.asyncDep){if(a&&a.registerDep(s,P,i),!e.el){
const r=s.subTree=ey(jb);g(null,r,t,n),e.placeholder=r.el}}else P(s,e,t,n,a,o,i)
},$=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){
const{props:r,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions
;if(t.dirs||t.transition)return!0
;if(!(n&&l>=0))return!(!a&&!s||s&&s.$stable)||r!==i&&(r?!i||ub(r,i,c):!!i)
;if(1024&l)return!0;if(16&l)return r?ub(r,i,c):!!i;if(8&l){
const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t]
;if(i[n]!==r[n]&&!ib(c,n))return!0}}return!1}(e,t,n)){
if(r.asyncDep&&!r.asyncResolved)return void I(r,t,n);r.next=t,r.update()
}else t.el=e.el,r.vnode=t},P=(e,t,n,r,a,o,i)=>{const s=()=>{if(e.isMounted){
let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=Db(e)
;if(n)return t&&(t.el=c.el,I(e,t,i)),void n.asyncDep.then((()=>{
e.isUnmounted||s()}))}let d,p=t
;Pb(e,!1),t?(t.el=c.el,I(e,t,i)):t=c,n&&xh(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&uy(d,l,t,c),
Pb(e,!0);const h=sb(e),m=e.subTree
;e.subTree=h,f(m,h,u(m.el),Z(m),e,a,o),t.el=h.el,
null===p&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree
;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break
;(e=t.vnode).el=n,t=t.parent}
}(e,h.el),r&&Eb(r,a),(d=t.props&&t.props.onVnodeUpdated)&&Eb((()=>uy(d,l,t,c)),a)
}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d,root:p,type:h}=e,m=Kg(t)
;Pb(e,!1),c&&xh(c),!m&&(i=l&&l.onVnodeBeforeMount)&&uy(i,d,t),Pb(e,!0);{
p.ce&&!1!==p.ce._def.shadowRoot&&p.ce._injectChildStyle(h)
;const i=e.subTree=sb(e);f(null,i,n,r,e,a,o),t.el=i.el}
if(u&&Eb(u,a),!m&&(i=l&&l.onVnodeMounted)){const e=t;Eb((()=>uy(i,d,e)),a)}
(256&t.shapeFlag||d&&Kg(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&Eb(e.a,a),
e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new Yh(s)
;e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l)
;d.i=e,d.id=e.uid,l.scheduler=()=>Gm(d),Pb(e,!0),c()},I=(e,t,n)=>{t.component=e
;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){
const{props:a,attrs:o,vnode:{patchFlag:i}}=e,s=hm(a),[l]=e.propsOptions;let c=!1
;if(!(r||i>0)||16&i){let r;mb(e,t,a,o)&&(c=!0)
;for(const o in s)t&&(Kp(t,o)||(r=bh(o))!==o&&Kp(t,r))||(l?!n||void 0===n[o]&&void 0===n[r]||(a[o]=gb(l,s,o,void 0,e,!0)):delete a[o])
;if(o!==s)for(const e in o)t&&Kp(t,e)||(delete o[e],c=!0)}else if(8&i){
const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r]
;if(ib(e.emitsOptions,i))continue;const u=t[i]
;if(l)if(Kp(o,i))u!==o[i]&&(o[i]=u,c=!0);else{const t=gh(i)
;a[t]=gb(l,s,t,u,e,!1)}else u!==o[i]&&(o[i]=u,c=!0)}}c&&_f(e.attrs,"set","")
}(e,t.props,r,n),Tb(e,t.children,n),hf(),Jm(e),ff()},D=(e,t,n,r,a,o,i,s,l=!1)=>{
const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:f}=t
;if(h>0){if(128&h)return void N(u,p,n,r,a,o,i,s,l)
;if(256&h)return void M(u,p,n,r,a,o,i,s,l)}
8&f?(16&d&&z(u,a,o),p!==u&&c(n,p)):16&d?16&f?N(u,p,n,r,a,o,i,s,l):z(u,a,o,!0):(8&d&&c(n,""),
16&f&&k(p,n,r,a,o,i,s,l))},M=(e,t,n,r,a,o,i,s,l)=>{t=t||Hp
;const c=(e=e||Hp).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){
const r=t[p]=l?sy(t[p]):iy(t[p]);f(e[p],r,n,null,a,o,i,s,l)}
c>u?z(e,a,o,!0,!1,d):k(t,n,r,a,o,i,s,l,d)},N=(e,t,n,r,a,o,i,s,l)=>{let c=0
;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){
const r=e[c],u=t[c]=l?sy(t[c]):iy(t[c]);if(!Gb(r,u))break
;f(r,u,n,null,a,o,i,s,l),c++}for(;c<=d&&c<=p;){
const r=e[d],c=t[p]=l?sy(t[p]):iy(t[p]);if(!Gb(r,c))break
;f(r,c,n,null,a,o,i,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:r
;for(;c<=p;)f(null,t[c]=l?sy(t[c]):iy(t[c]),n,d,a,o,i,s,l),c++}
}else if(c>p)for(;c<=d;)L(e[c],a,o,!0),c++;else{const h=c,m=c,g=new Map
;for(c=m;c<=p;c++){const e=t[c]=l?sy(t[c]):iy(t[c]);null!=e.key&&g.set(e.key,c)}
let v,b=0;const y=p-m+1;let O=!1,w=0;const x=new Array(y);for(c=0;c<y;c++)x[c]=0
;for(c=h;c<=d;c++){const r=e[c];if(b>=y){L(r,a,o,!0);continue}let u
;if(null!=r.key)u=g.get(r.key);else for(v=m;v<=p;v++)if(0===x[v-m]&&Gb(r,t[v])){
u=v;break}
void 0===u?L(r,a,o,!0):(x[u-m]=c+1,u>=w?w=u:O=!0,f(r,t[u],n,null,a,o,i,s,l),b++)
}const k=O?function(e){const t=e.slice(),n=[0];let r,a,o,i,s;const l=e.length
;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(a=n[n.length-1],e[a]<l){
t[r]=a,n.push(r);continue}for(o=0,i=n.length-1;o<i;)s=o+i>>1,e[n[s]]<l?o=s+1:i=s
;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,i=n[o-1]
;for(;o-- >0;)n[o]=i,i=t[i];return n}(x):Hp;for(v=k.length-1,c=y-1;c>=0;c--){
const e=m+c,d=t[e],p=t[e+1],h=e+1<u?p.el||Nb(p):r
;0===x[c]?f(null,d,n,h,a,o,i,s,l):O&&(v<0||c!==k[v]?R(d,n,h,2):v--)}}
},R=(e,t,a,o,i=null)=>{const{el:s,type:l,transition:c,children:u,shapeFlag:d}=e
;if(6&d)return void R(e.component.subTree,t,a,o)
;if(128&d)return void e.suspense.move(t,a,o);if(64&d)return void l.move(e,t,a,Q)
;if(l===Lb){n(s,t,a);for(let e=0;e<u.length;e++)R(u[e],t,a,o)
;return void n(e.anchor,t,a)}if(l===Ub)return void b(e,t,a)
;if(2!==o&&1&d&&c)if(0===o)c.beforeEnter(s),
n(s,t,a),Eb((()=>c.enter(s)),i);else{
const{leave:o,delayLeave:i,afterLeave:l}=c,u=()=>{
e.ctx.isUnmounted?r(s):n(s,t,a)},d=()=>{s._isLeaving&&s[Pg](!0),o(s,(()=>{
u(),l&&l()}))};i?i(s,u,d):d()}else n(s,t,a)},L=(e,t,n,r=!1,a=!1)=>{
const{type:o,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e
;if(-2===d&&(a=!1),
null!=s&&(hf(),Xg(s,null,n,e,!0),ff()),null!=h&&(t.renderCache[h]=void 0),
256&u)return void t.ctx.deactivate(e);const f=1&u&&p,m=!Kg(e);let g
;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&uy(g,t,e),6&u)U(e.component,n,r);else{
if(128&u)return void e.suspense.unmount(n,r)
;f&&lg(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Q,r):c&&!c.hasOnce&&(o!==Lb||d>0&&64&d)?z(c,t,n,!1,!0):(o===Lb&&384&d||!a&&16&u)&&z(l,t,n),
r&&B(e)}(m&&(g=i&&i.onVnodeUnmounted)||f)&&Eb((()=>{
g&&uy(g,t,e),f&&lg(e,null,t,"unmounted")}),n)},B=e=>{
const{type:t,el:n,anchor:a,transition:o}=e;if(t===Lb)return void j(n,a)
;if(t===Ub)return void y(e);const i=()=>{
r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()}
;if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,a=()=>t(n,i)
;r?r(e.el,i,a):a()}else i()},j=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)
},U=(e,t,n)=>{const{bum:r,scope:a,job:o,subTree:i,um:s,m:l,a:c}=e
;Mb(l),Mb(c),r&&xh(r),a.stop(),o&&(o.flags|=8,L(i,e,t,n)),s&&Eb(s,t),Eb((()=>{
e.isUnmounted=!0}),t)},z=(e,t,n,r=!1,a=!1,o=0)=>{
for(let i=o;i<e.length;i++)L(e[i],t,n,r,a)},Z=e=>{
if(6&e.shapeFlag)return Z(e.component.subTree)
;if(128&e.shapeFlag)return e.suspense.next()
;const t=d(e.anchor||e.el),n=t&&t[yg];return n?d(n):t};let F=!1
;const H=(e,t,n)=>{let r
;null==e?t._vnode&&(L(t._vnode,null,null,!0),r=t._vnode.component):f(t._vnode||null,e,t,null,null,null,n),
t._vnode=e,F||(F=!0,Jm(r),eg(),F=!1)},Q={p:f,um:L,m:R,r:B,mt:C,mc:k,pc:D,pbc:_,
n:Z,o:e};let V;return{render:H,hydrate:V,createApp:Jv(H)}}(e)}
function $b({type:e,props:t},n){
return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n
}function Pb({effect:e,job:t},n){
n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ib(e,t,n=!1){
const r=e.children,a=t.children;if(Jp(r)&&Jp(a))for(let o=0;o<r.length;o++){
const t=r[o];let i=a[o]
;1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=a[o]=sy(a[o]),
i.el=t.el),
n||-2===i.patchFlag||Ib(t,i)),i.type===Bb&&(-1!==i.patchFlag?i.el=t.el:i.__elIndex=o+(e.type===Lb?1:0)),
i.type!==jb||i.el||(i.el=t.el)}}function Db(e){const t=e.subTree.component
;if(t)return t.asyncDep&&!t.asyncResolved?t:Db(t)}function Mb(e){
if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Nb(e){
if(e.placeholder)return e.placeholder;const t=e.component
;return t?Nb(t.subTree):null}const Rb=e=>e.__isSuspense
;const Lb=Symbol.for("v-fgt"),Bb=Symbol.for("v-txt"),jb=Symbol.for("v-cmt"),Ub=Symbol.for("v-stc"),zb=[]
;let Zb=null;function Fb(e=!1){zb.push(Zb=e?null:[])}let Hb=1
;function Qb(e,t=!1){Hb+=e,e<0&&Zb&&t&&(Zb.hasOnce=!0)}function Vb(e){
return e.dynamicChildren=Hb>0?Zb||Hp:null,
zb.pop(),Zb=zb[zb.length-1]||null,Hb>0&&Zb&&Zb.push(e),e}
function qb(e,t,n,r,a,o){return Vb(Jb(e,t,n,r,a,o,!0))}function Wb(e,t,n,r,a){
return Vb(ey(e,t,n,r,a,!0))}function Xb(e){return!!e&&!0===e.__v_isVNode}
function Gb(e,t){return e.type===t.type&&e.key===t.key}
const Yb=({key:e})=>null!=e?e:null,Kb=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),
null!=e?ah(e)||vm(e)||rh(e)?{i:rg,r:e,k:t,f:!!n}:e:null)
;function Jb(e,t=null,n=null,r=0,a=null,o=(e===Lb?0:1),i=!1,s=!1){const l={
__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yb(t),ref:t&&Kb(t),scopeId:ag,
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:o,patchFlag:r,
dynamicProps:a,dynamicChildren:null,appContext:null,ctx:rg}
;return s?(ly(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=ah(n)?8:16),
Hb>0&&!i&&Zb&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Zb.push(l),l}
const ey=function(e,t=null,n=null,r=0,a=null,o=!1){e&&e!==Ov||(e=jb);if(Xb(e)){
const r=ny(e,t,!0)
;return n&&ly(r,n),Hb>0&&!o&&Zb&&(6&r.shapeFlag?Zb[Zb.indexOf(e)]=r:Zb.push(r)),
r.patchFlag=-2,r}i=e,rh(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=ty(t)
;let{class:e,style:n}=t
;e&&!ah(e)&&(t.class=Dh(e)),ih(n)&&(pm(n)&&!Jp(n)&&(n=Xp({},n)),t.style=Eh(n))}
const s=ah(e)?1:Rb(e)?128:Og(e)?64:ih(e)?4:rh(e)?2:0;return Jb(e,t,n,r,a,s,o,!0)
};function ty(e){return e?pm(e)||hb(e)?Xp({},e):e:null}
function ny(e,t,n=!1,r=!1){
const{props:a,ref:o,patchFlag:i,children:s,transition:l}=e,c=t?cy(a||{},t):a,u={
__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Yb(c),
ref:t&&t.ref?n&&o?Jp(o)?o.concat(Kb(t)):[o,Kb(t)]:Kb(t):o,scopeId:e.scopeId,
slotScopeIds:e.slotScopeIds,children:s,target:e.target,
targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,
shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Lb?-1===i?16:16|i:i,
dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,
appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,
suspense:e.suspense,ssContent:e.ssContent&&ny(e.ssContent),
ssFallback:e.ssFallback&&ny(e.ssFallback),placeholder:e.placeholder,el:e.el,
anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Zg(u,l.clone(u)),u}
function ry(e=" ",t=0){return ey(Bb,null,e,t)}function ay(e,t){
const n=ey(Ub,null,e);return n.staticCount=t,n}function oy(e="",t=!1){
return t?(Fb(),Wb(jb,null,e)):ey(jb,null,e)}function iy(e){
return null==e||"boolean"==typeof e?ey(jb):Jp(e)?ey(Lb,null,e.slice()):Xb(e)?sy(e):ey(Bb,null,String(e))
}function sy(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ny(e)}
function ly(e,t){let n=0;const{shapeFlag:r}=e
;if(null==t)t=null;else if(Jp(t))n=16;else if("object"==typeof t){if(65&r){
const n=t.default;return void(n&&(n._c&&(n._d=!1),ly(e,n()),n._c&&(n._d=!0)))}{
n=32;const r=t._
;r||hb(t)?3===r&&rg&&(1===rg.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=rg}
}else rh(t)?(t={default:t,_ctx:rg},n=32):(t=String(t),64&r?(n=16,t=[ry(t)]):n=8)
;e.children=t,e.shapeFlag|=n}function cy(...e){const t={}
;for(let n=0;n<e.length;n++){const r=e[n]
;for(const e in r)if("class"===e)t.class!==r.class&&(t.class=Dh([t.class,r.class]));else if("style"===e)t.style=Eh([t.style,r.style]);else if(qp(e)){
const n=t[e],a=r[e];!a||n===a||Jp(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)
}else""!==e&&(t[e]=r[e])}return t}function uy(e,t,n,r=null){Um(e,t,7,[n,r])}
const dy=Yv();let py=0;let hy=null;const fy=()=>hy||rg;let my,gy;{
const e=Th(),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)}}
;my=t("__VUE_INSTANCE_SETTERS__",(e=>hy=e)),
gy=t("__VUE_SSR_SETTERS__",(e=>Oy=e))}const vy=e=>{const t=hy
;return my(e),e.scope.on(),()=>{e.scope.off(),my(t)}},by=()=>{
hy&&hy.scope.off(),my(null)};function yy(e){return 4&e.vnode.shapeFlag}let Oy=!1
;function wy(e,t,n){
rh(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ih(t)&&(e.setupState=_m(t)),
xy(e)}function xy(e,t,n){const r=e.type;e.render||(e.render=r.render||Qp);{
const t=vy(e);hf();try{Uv(e)}finally{ff(),t()}}}const ky={
get:(e,t)=>(Sf(e,0,""),e[t])};function Sy(e){const t=t=>{e.exposed=t||{}}
;return{attrs:new Proxy(e.attrs,ky),slots:e.slots,emit:e.emit,expose:t}}
function _y(e){
return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_m(fm(e.exposed)),{
get:(t,n)=>n in t?t[n]:n in $v?$v[n](e):void 0,has:(e,t)=>t in e||t in $v
})):e.proxy}function Ay(e,t=!0){
return rh(e)?e.displayName||e.name:e.name||t&&e.__name}const Ty=(e,t)=>{
const n=function(e,t,n=!1){let r,a
;return rh(e)?r=e:(r=e.get,a=e.set),new Dm(r,a,n)}(e,0,Oy);return n}
;function Ey(e,t,n){try{Qb(-1);const r=arguments.length
;return 2===r?ih(t)&&!Jp(t)?Xb(t)?ey(e,null,[t]):ey(e,t):ey(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Xb(n)&&(n=[n]),
ey(e,t,n))}finally{Qb(1)}}const Cy="3.5.26";let $y
;const Py="undefined"!=typeof window&&window.trustedTypes;if(Py)try{
$y=Py.createPolicy("vue",{createHTML:e=>e})}catch(zw){}
const Iy=$y?e=>$y.createHTML(e):e=>e,Dy="undefined"!=typeof document?document:null,My=Dy&&Dy.createElement("template"),Ny={
insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode
;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{
const a="svg"===t?Dy.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Dy.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Dy.createElement(e,{
is:n}):Dy.createElement(e)
;return"select"===e&&r&&null!=r.multiple&&a.setAttribute("multiple",r.multiple),
a},createText:e=>Dy.createTextNode(e),createComment:e=>Dy.createComment(e),
setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},
parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,
querySelector:e=>Dy.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},
insertStaticContent(e,t,n,r,a,o){const i=n?n.previousSibling:t.lastChild
;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),
a!==o&&(a=a.nextSibling););else{
My.innerHTML=Iy("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e)
;const a=My.content;if("svg"===r||"mathml"===r){const e=a.firstChild
;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}
t.insertBefore(a,n)}
return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}
},Ry="transition",Ly="animation",By=Symbol("_vtc"),jy={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
},Uy=Xp({},Mg,jy),zy=e=>(e.displayName="Transition",
e.props=Uy,e),Zy=zy(((e,{slots:t})=>Ey(Lg,function(e){const t={}
;for(const E in e)E in jy||(t[E]=e[E]);if(!1===e.css)return t
;const{name:n="v",type:r,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){
if(null==e)return null;if(ih(e))return[Qy(e.enter),Qy(e.leave)];{const t=Qy(e)
;return[t,t]}
}(a),m=f&&f[0],g=f&&f[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:O,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:k=b,onAppearCancelled:S=y}=t,_=(e,t,n,r)=>{
e._enterCancelled=r,qy(e,t?u:s),qy(e,t?c:i),n&&n()},A=(e,t)=>{
e._isLeaving=!1,qy(e,d),qy(e,h),qy(e,p),t&&t()},T=e=>(t,n)=>{
const a=e?k:b,i=()=>_(t,e,n);Fy(a,[t,i]),Wy((()=>{
qy(t,e?l:o),Vy(t,e?u:s),Hy(a)||Gy(t,r,m,i)}))};return Xp(t,{onBeforeEnter(e){
Fy(v,[e]),Vy(e,o),Vy(e,i)},onBeforeAppear(e){Fy(x,[e]),Vy(e,l),Vy(e,c)},
onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t)
;Vy(e,d),e._enterCancelled?(Vy(e,p),Jy(e)):(Jy(e),Vy(e,p)),Wy((()=>{
e._isLeaving&&(qy(e,d),Vy(e,h),Hy(O)||Gy(e,r,g,n))})),Fy(O,[e,n])},
onEnterCancelled(e){_(e,!1,void 0,!0),Fy(y,[e])},onAppearCancelled(e){
_(e,!0,void 0,!0),Fy(S,[e])},onLeaveCancelled(e){A(e),Fy(w,[e])}})
}(e),t))),Fy=(e,t=[])=>{Jp(e)?e.forEach((e=>e(...t))):e&&e(...t)
},Hy=e=>!!e&&(Jp(e)?e.some((e=>e.length>1)):e.length>1);function Qy(e){
return _h(e)}function Vy(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),
(e[By]||(e[By]=new Set)).add(t)}function qy(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[By]
;n&&(n.delete(t),n.size||(e[By]=void 0))}function Wy(e){
requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xy=0
;function Gy(e,t,n,r){const a=e._endId=++Xy,o=()=>{a===e._endId&&r()}
;if(null!=n)return setTimeout(o,n)
;const{type:i,timeout:s,propCount:l}=function(e,t){
const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),a=r(`${Ry}Delay`),o=r(`${Ry}Duration`),i=Yy(a,o),s=r(`${Ly}Delay`),l=r(`${Ly}Duration`),c=Yy(s,l)
;let u=null,d=0,p=0
;t===Ry?i>0&&(u=Ry,d=i,p=o.length):t===Ly?c>0&&(u=Ly,d=c,p=l.length):(d=Math.max(i,c),
u=d>0?i>c?Ry:Ly:null,p=u?u===Ry?o.length:l.length:0)
;const h=u===Ry&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ry}Property`).toString())
;return{type:u,timeout:d,propCount:p,hasTransform:h}}(e,t);if(!i)return r()
;const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),o()},p=t=>{
t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()
}),s+1),e.addEventListener(c,p)}function Yy(e,t){
for(;e.length<t.length;)e=e.concat(e)
;return Math.max(...t.map(((t,n)=>Ky(t)+Ky(e[n]))))}function Ky(e){
return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Jy(e){
return(e?e.ownerDocument:document).body.offsetHeight}
const eO=Symbol("_vod"),tO=Symbol("_vsh"),nO={name:"show",
beforeMount(e,{value:t},{transition:n}){
e[eO]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):rO(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),rO(e,!0),r.enter(e)):r.leave(e,(()=>{rO(e,!1)
})):rO(e,t))},beforeUnmount(e,{value:t}){rO(e,t)}};function rO(e,t){
e.style.display=t?e[eO]:"none",e[tO]=!t}const aO=Symbol("");function oO(e){
const t=fy();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{
Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>sO(e,n)))
},r=()=>{const r=e(t.proxy);t.ce?sO(t.ce,r):iO(t.subTree,r),n(r)};uv((()=>{Km(r)
})),cv((()=>{mg(r,Qp,{flush:"post"});const e=new MutationObserver(r)
;e.observe(t.subTree.el.parentNode,{childList:!0}),hv((()=>e.disconnect()))}))}
function iO(e,t){if(128&e.shapeFlag){const n=e.suspense
;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{
iO(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree
;if(1&e.shapeFlag&&e.el)sO(e.el,t);else if(e.type===Lb)e.children.forEach((e=>iO(e,t)));else if(e.type===Ub){
let{el:n,anchor:r}=e;for(;n&&(sO(n,t),n!==r);)n=n.nextSibling}}function sO(e,t){
if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const a=Fh(t[e])
;n.setProperty(`--${e}`,a),r+=`--${e}: ${a};`}n[aO]=r}}
const lO=/(?:^|;)\s*display\s*:/;const cO=/\s*!important$/;function uO(e,t,n){
if(Jp(n))n.forEach((n=>uO(e,t,n)));else if(null==n&&(n=""),
t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=pO[t]
;if(n)return n;let r=gh(t);if("filter"!==r&&r in e)return pO[t]=r;r=yh(r)
;for(let a=0;a<dO.length;a++){const n=dO[a]+r;if(n in e)return pO[t]=n}return t
}(e,t);cO.test(n)?e.setProperty(bh(r),n.replace(cO,""),"important"):e[r]=n}}
const dO=["Webkit","Moz","ms"],pO={};const hO="http://www.w3.org/1999/xlink"
;function fO(e,t,n,r,a,o=Nh(t)){
r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(hO,t.slice(6,t.length)):e.setAttributeNS(hO,t,n):null==n||o&&!Rh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":oh(n)?String(n):n)
}function mO(e,t,n,r,a){
if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Iy(n):n))
;const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){
const r="OPTION"===o?e.getAttribute("value")||"":e.value,a=null==n?"checkbox"===e.type?"on":"":String(n)
;return r===a&&"_value"in e||(e.value=a),
null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){
const r=typeof e[t]
;"boolean"===r?n=Rh(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,
i=!0)}try{e[t]=n}catch(zw){}i&&e.removeAttribute(a||t)}function gO(e,t,n,r){
e.addEventListener(t,n,r)}const vO=Symbol("_vei");function bO(e,t,n,r,a=null){
const o=e[vO]||(e[vO]={}),i=o[t];if(r&&i)i.value=r;else{const[n,s]=function(e){
let t;if(yO.test(e)){let n
;for(t={};n=e.match(yO);)e=e.slice(0,e.length-n[0].length),
t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):bh(e.slice(2))
;return[n,t]}(t);if(r){const i=o[t]=function(e,t){const n=e=>{if(e._vts){
if(e._vts<=n.attached)return}else e._vts=Date.now();Um(function(e,t){if(Jp(t)){
const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{
n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t
}(e,n.value),t,5,[e])};return n.value=e,n.attached=xO(),n}(r,a);gO(e,n,i,s)
}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,s),o[t]=void 0)
}}const yO=/(?:Once|Passive|Capture)$/;let OO=0
;const wO=Promise.resolve(),xO=()=>OO||(wO.then((()=>OO=0)),OO=Date.now())
;const kO=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123
;const SO=e=>{const t=e.props["onUpdate:modelValue"]||!1
;return Jp(t)?e=>xh(t,e):t};function _O(e){e.target.composing=!0}function AO(e){
const t=e.target
;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}
const TO=Symbol("_assign");function EO(e,t,n){
return t&&(e=e.trim()),n&&(e=Sh(e)),e}const CO={
created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[TO]=SO(a)
;const o=r||a.props&&"number"===a.props.type;gO(e,t?"change":"input",(t=>{
t.target.composing||e[TO](EO(e.value,n,o))})),(n||o)&&gO(e,"change",(()=>{
e.value=EO(e.value,n,o)
})),t||(gO(e,"compositionstart",_O),gO(e,"compositionend",AO),gO(e,"change",AO))
},mounted(e,{value:t}){e.value=null==t?"":t},
beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:o}},i){
if(e[TO]=SO(i),e.composing)return;const s=null==t?"":t
;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Sh(e.value))!==s){
if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return
;if(a&&e.value.trim()===s)return}e.value=s}}},$O={deep:!0,created(e,t,n){
e[TO]=SO(n),gO(e,"change",(()=>{
const t=e._modelValue,n=NO(e),r=e.checked,a=e[TO];if(Jp(t)){
const e=Bh(t,n),o=-1!==e;if(r&&!o)a(t.concat(n));else if(!r&&o){const n=[...t]
;n.splice(e,1),a(n)}}else if(th(t)){const e=new Set(t)
;r?e.add(n):e.delete(n),a(e)}else a(RO(e,r))}))},mounted:PO,beforeUpdate(e,t,n){
e[TO]=SO(n),PO(e,t,n)}};function PO(e,{value:t,oldValue:n},r){let a
;if(e._modelValue=t,
Jp(t))a=Bh(t,r.props.value)>-1;else if(th(t))a=t.has(r.props.value);else{
if(t===n)return;a=Lh(t,RO(e,!0))}e.checked!==a&&(e.checked=a)}const IO={
created(e,{value:t},n){
e.checked=Lh(t,n.props.value),e[TO]=SO(n),gO(e,"change",(()=>{e[TO](NO(e))}))},
beforeUpdate(e,{value:t,oldValue:n},r){
e[TO]=SO(r),t!==n&&(e.checked=Lh(t,r.props.value))}},DO={deep:!0,
created(e,{value:t,modifiers:{number:n}},r){const a=th(t);gO(e,"change",(()=>{
const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Sh(NO(e)):NO(e)))
;e[TO](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Xm((()=>{e._assigning=!1
}))})),e[TO]=SO(r)},mounted(e,{value:t}){MO(e,t)},beforeUpdate(e,t,n){
e[TO]=SO(n)},updated(e,{value:t}){e._assigning||MO(e,t)}};function MO(e,t){
const n=e.multiple,r=Jp(t);if(!n||r||th(t)){
for(let a=0,o=e.options.length;a<o;a++){const o=e.options[a],i=NO(o);if(n)if(r){
const e=typeof i
;o.selected="string"===e||"number"===e?t.some((e=>String(e)===String(i))):Bh(t,i)>-1
}else o.selected=t.has(i);else if(Lh(NO(o),t))return void(e.selectedIndex!==a&&(e.selectedIndex=a))
}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function NO(e){
return"_value"in e?e._value:e.value}function RO(e,t){
const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const LO={
created(e,t,n){BO(e,t,n,null,"created")},mounted(e,t,n){BO(e,t,n,null,"mounted")
},beforeUpdate(e,t,n,r){BO(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){
BO(e,t,n,r,"updated")}};function BO(e,t,n,r,a){const o=function(e,t){switch(e){
case"SELECT":return DO;case"TEXTAREA":return CO;default:switch(t){
case"checkbox":return $O;case"radio":return IO;default:return CO}}
}(e.tagName,n.props&&n.props.type)[a];o&&o(e,t,n,r)}
const jO=["ctrl","shift","alt","meta"],UO={stop:e=>e.stopPropagation(),
prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,
ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,
left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,
right:e=>"button"in e&&2!==e.button,
exact:(e,t)=>jO.some((n=>e[`${n}Key`]&&!t.includes(n)))},zO=(e,t)=>{
const n=e._withMods||(e._withMods={}),r=t.join(".")
;return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=UO[t[e]]
;if(r&&r(n,t))return}return e(n,...r)})},ZO={esc:"escape",space:" ",
up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",
delete:"backspace"},FO=(e,t)=>{
const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{
if(!("key"in n))return;const r=bh(n.key)
;return t.some((e=>e===r||ZO[e]===r))?e(n):void 0})},HO=Xp({
patchProp:(e,t,n,r,a,o)=>{const i="svg"===a;"class"===t?function(e,t,n){
const r=e[By]
;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t
}(e,r,i):"style"===t?function(e,t,n){const r=e.style,a=ah(n);let o=!1;if(n&&!a){
if(t)if(ah(t))for(const e of t.split(";")){
const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&uO(r,t,"")
}else for(const e in t)null==n[e]&&uO(r,e,"")
;for(const e in n)"display"===e&&(o=!0),uO(r,e,n[e])}else if(a){if(t!==n){
const e=r[aO];e&&(n+=";"+e),r.cssText=n,o=lO.test(n)}
}else t&&e.removeAttribute("style")
;eO in e&&(e[eO]=o?r.display:"",e[tO]&&(r.display="none"))
}(e,n,r):qp(t)?Wp(t)||bO(e,t,0,r,o):("."===t[0]?(t=t.slice(1),
1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){
if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&kO(t)&&rh(n))
;if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1
;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1
;if("list"===t&&"INPUT"===e.tagName)return!1
;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){
const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1
}if(kO(t)&&ah(n))return!1;return t in e
}(e,t,r,i))?(mO(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||fO(e,t,r,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&ah(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),
fO(e,t,r,i)):mO(e,gh(t),r,0,t)}},Ny);let QO;function VO(){return QO||(QO=Cb(HO))
}const qO=(...e)=>{VO().render(...e)},WO=(...e)=>{
const t=VO().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){
if(ah(e)){return document.querySelector(e)}return e}(e);if(!r)return
;const a=t._component
;rh(a)||a.render||a.template||(a.template=r.innerHTML),1===r.nodeType&&(r.textContent="")
;const o=n(r,!1,function(e){if(e instanceof SVGElement)return"svg"
;if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"
}(r))
;return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),
o},t};const XO="3"===Cy[0];function GO(e){
if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e
;const t="function"==typeof(n=e)?n():xm(n);var n;if(!e||!t)return t
;if(Array.isArray(t))return t.map((e=>GO(e)));if("object"==typeof t){const e={}
;for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1]?e[n]=xm(t[n]):e[n]=GO(t[n]))
;return e}return t}const YO={hooks:{"entries:resolve":e=>{
for(const t of e.entries)t.resolvedInput=GO(t.input)}}},KO="usehead"
;function JO(e={}){
e.domDelayFn=e.domDelayFn||(e=>Xm((()=>setTimeout((()=>e()),0))));const t=Up(e)
;return t.use(YO),t.install=function(e){return{install(t){
XO&&(t.config.globalProperties.$unhead=e,
t.config.globalProperties.$head=e,t.provide(KO,e))}}.install}(t),t}
const ew="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},tw="__unhead_injection_handler__"
;function nw(){if(tw in ew)return ew[tw]();return ug(KO)||jp}
function rw(e,t={}){const n=t.head||nw()
;if(n)return n.ssr?n.push(e,t):function(e,t,n={}){const r=bm(!1),a=bm({})
;fg((()=>{a.value=r.value?{}:GO(t)}));const o=e.push(a.value,n);mg(a,(e=>{
o.patch(e)}));fy()&&(pv((()=>{o.dispose()})),rv((()=>{r.value=!0})),nv((()=>{
r.value=!1})));return o}(n,e,t)}function aw(e){
"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{
throw e}))))}function ow(){let e=[],t={
addEventListener:(e,n,r,a)=>(e.addEventListener(n,r,a),
t.add((()=>e.removeEventListener(n,r,a)))),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 aw((()=>{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=ow();return e(t),this.add((()=>t.dispose()))},
add:t=>(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 iw
;let sw=Symbol("headlessui.useid"),lw=0;const cw=null!=(iw=Qg)?iw:function(){
return ug(sw,(()=>""+ ++lw))()};function uw(e){var t
;if(null==e||null==e.value)return null;let n=null!=(t=e.value.$el)?t:e.value
;return n instanceof Node?n:null}function dw(e,t,...n){if(e in t){let r=t[e]
;return"function"==typeof r?r(...n):r}
let r=new 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,dw),r}
var pw=Object.defineProperty,hw=(e,t,n)=>(((e,t,n)=>{t in e?pw(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);let fw=new class{constructor(){
hw(this,"current",this.detect()),hw(this,"currentId",0)}set(e){
this.current!==e&&(this.currentId=0,this.current=e)}reset(){
this.set(this.detect())}nextId(){return++this.currentId}get isServer(){
return"server"===this.current}get isClient(){return"client"===this.current}
detect(){
return"undefined"==typeof window||"undefined"==typeof document?"server":"client"
}};function mw(e){if(fw.isServer)return null
;if(e instanceof Node)return e.ownerDocument
;if(null!=e&&e.hasOwnProperty("value")){let t=uw(e);if(t)return t.ownerDocument}
return document}
let gw=["[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(",")
;var vw,bw,yw,Ow=((yw=Ow||{})[yw.First=1]="First",
yw[yw.Previous=2]="Previous",yw[yw.Next=4]="Next",
yw[yw.Last=8]="Last",yw[yw.WrapAround=16]="WrapAround",
yw[yw.NoScroll=32]="NoScroll",
yw),ww=((bw=ww||{})[bw.Error=0]="Error",bw[bw.Overflow=1]="Overflow",
bw[bw.Success=2]="Success",
bw[bw.Underflow=3]="Underflow",bw),xw=((vw=xw||{})[vw.Previous=-1]="Previous",
vw[vw.Next=1]="Next",vw);function kw(e=document.body){
return null==e?[]:Array.from(e.querySelectorAll(gw)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))
}var Sw=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Sw||{})
;function _w(e,t=0){var n;return e!==(null==(n=mw(e))?void 0:n.body)&&dw(t,{
0:()=>e.matches(gw),1(){let t=e;for(;null!==t;){if(t.matches(gw))return!0
;t=t.parentElement}return!1}})}function Aw(e){let t=mw(e);Xm((()=>{
t&&!_w(t.activeElement,0)&&Ew(e)}))}
var Tw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Tw||{})
;function Ew(e){null==e||e.focus({preventScroll:!0})}
"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{
e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")
}),!0),document.addEventListener("click",(e=>{
1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")
}),!0));let Cw=["textarea","input"].join(",");function $w(e,t=e=>e){
return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0
;let o=r.compareDocumentPosition(a)
;return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0
}))}function Pw(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){var o
;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?n?$w(e):e:kw(e)
;a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),
r=null!=r?r:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1
;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")
})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(r))-1
;if(4&t)return Math.max(0,s.indexOf(r))+1;if(8&t)return s.length-1
;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")
})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0
;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}
l=s[e],null==l||l.focus(d),p+=c}while(l!==i.activeElement)
;return 6&t&&function(e){var t,n
;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Cw))&&n
}(l)&&l.select(),2}function Iw(){
return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0
}function Dw(){return Iw()||/Android/gi.test(window.navigator.userAgent)}
function Mw(e,t,n){fw.isServer||fg((r=>{
document.addEventListener(e,t,n),r((()=>document.removeEventListener(e,t,n)))}))
}function Nw(e,t,n){fw.isServer||fg((r=>{
window.addEventListener(e,t,n),r((()=>window.removeEventListener(e,t,n)))}))}
function Rw(e,t,n=Ty((()=>!0))){function r(r,a){
if(!n.value||r.defaultPrevented)return;let o=a(r)
;if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){
return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)
;for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:uw(e)
;if(null!=t&&t.contains(o)||r.composed&&r.composedPath().includes(t))return}
return!_w(o,Sw.Loose)&&-1!==o.tabIndex&&r.preventDefault(),t(r,o)}let a=bm(null)
;Mw("pointerdown",(e=>{var t,r
;n.value&&(a.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),Mw("mousedown",(e=>{var t,r
;n.value&&(a.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),Mw("click",(e=>{Dw()||a.value&&(r(e,(()=>a.value)),a.value=null)
}),!0),Mw("touchend",(e=>r(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),
Nw("blur",(e=>r(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)
}function Lw(e,t){if(e)return e;let n=null!=t?t:"button"
;return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}
function Bw(e,t){let n=bm(Lw(e.value.type,e.value.as));return cv((()=>{
n.value=Lw(e.value.type,e.value.as)})),fg((()=>{var e
;n.value||uw(t)&&uw(t)instanceof HTMLButtonElement&&(null==(e=uw(t))||!e.hasAttribute("type"))&&(n.value="button")
})),n}function jw(e){return[e.screenX,e.screenY]}function Uw(){let e=bm([-1,-1])
;return{wasMoved(t){let n=jw(t)
;return(e.value[0]!==n[0]||e.value[1]!==n[1])&&(e.value=n,!0)},update(t){
e.value=jw(t)}}}
var zw,Zw=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",
e[e.Static=2]="Static",
e))(Zw||{}),Fw=((zw=Fw||{})[zw.Unmount=0]="Unmount",zw[zw.Hidden=1]="Hidden",zw)
;function Hw({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...a}){var o
;let i=qw(r,n),s=Object.assign(a,{props:i});if(e||2&t&&i.static)return Qw(s)
;if(1&t){return dw(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Qw({...a,props:{
...i,hidden:!0,style:{display:"none"}}})})}return Qw(s)}
function Qw({props:e,attrs:t,slots:n,slot:r,name:a}){var o,i
;let{as:s,...l}=Ww(e,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,r),u={}
;if(r){let e=!1,t=[]
;for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n)
;e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){
if(c=Vw(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){
let[e,...n]=null!=c?c:[];if(!function(e){
return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)
}(e)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).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("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))
;let r=qw(null!=(i=e.props)?i:{},l,u),o=ny(e,r,!0)
;for(let t in r)t.startsWith("on")&&(o.props||(o.props={}),o.props[t]=r[t])
;return o}return Array.isArray(c)&&1===c.length?c[0]:c}
return Ey(s,Object.assign({},l,u),{default:()=>c})}function Vw(e){
return e.flatMap((e=>e.type===Lb?Vw(e.children):[e]))}function qw(...e){
if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={}
;for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=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 r in n)Object.assign(t,{[r](e,...t){let a=n[r];for(let n of a){
if(e instanceof Event&&e.defaultPrevented)return;n(e,...t)}}});return t}
function Ww(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r]
;return n}
var Xw=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",
e))(Xw||{});let Gw=Hg({name:"Hidden",props:{as:{type:[Object,String],
default:"div"},features:{type:Number,default:1}},
setup:(e,{slots:t,attrs:n})=>()=>{var r;let{features:a,...o}=e;return Hw({
ourProps:{"aria-hidden":!(2&~a)||(null!=(r=o["aria-hidden"])?r:void 0),
hidden:!(4&~a)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,
padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",
whiteSpace:"nowrap",borderWidth:"0",...!(4&~a)&&!!(2&~a)&&{display:"none"}}},
theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}),Yw=Symbol("Context")
;var Kw=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",
e[e.Opening=8]="Opening",e))(Kw||{});function Jw(){return ug(Yw,null)}
function ex(e){cg(Yw,e)}
var tx,nx=((tx=nx||{}).Space=" ",tx.Enter="Enter",tx.Escape="Escape",
tx.Backspace="Backspace",
tx.Delete="Delete",tx.ArrowLeft="ArrowLeft",tx.ArrowUp="ArrowUp",
tx.ArrowRight="ArrowRight",tx.ArrowDown="ArrowDown",tx.Home="Home",tx.End="End",
tx.PageUp="PageUp",tx.PageDown="PageDown",tx.Tab="Tab",tx);let rx=[]
;!function(e){function t(){
"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))
}
"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),
t())}((()=>{function e(e){
e.target instanceof HTMLElement&&e.target!==document.body&&rx[0]!==e.target&&(rx.unshift(e.target),
rx=rx.filter((e=>null!=e&&e.isConnected)),rx.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})}))
;var ax,ox=((ax=ox||{})[ax.First=0]="First",
ax[ax.Previous=1]="Previous",ax[ax.Next=2]="Next",
ax[ax.Last=3]="Last",ax[ax.Specific=4]="Specific",ax[ax.Nothing=5]="Nothing",ax)
;function ix(e,t){let n=t.resolveItems();if(n.length<=0)return null
;let r=t.resolveActiveIndex(),a=null!=r?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:-1===a&&(a=n.length)
;for(let e=a-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 2:for(let e=a+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:!function(e){
throw new Error("Unexpected object: "+e)}(e)}}function sx(e={},t=null,n=[]){
for(let[r,a]of Object.entries(e))cx(n,lx(t,r),a);return n}function lx(e,t){
return e?e+"["+t+"]":t}function cx(e,t,n){
if(Array.isArray(n))for(let[r,a]of n.entries())cx(e,lx(t,r.toString()),a);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):sx(n,t,e)
}function ux(e,t,n,r){fw.isServer||fg((a=>{
(e=null!=e?e:window).addEventListener(t,n,r),
a((()=>e.removeEventListener(t,n,r)))}))}var dx=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(dx||{});function px(){let e=bm(0)
;return Nw("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}
function hx(e){if(!e)return new Set;if("function"==typeof e)return new Set(e())
;let t=new Set;for(let n of e.value){let e=uw(n)
;e instanceof HTMLElement&&t.add(e)}return t}
var fx=(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))(fx||{});let mx=Object.assign(Hg({name:"FocusTrap",props:{
as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},
features:{type:Number,default:30},containers:{type:[Object,Function],
default:bm(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){
let a=bm(null);r({el:a,$el:a});let o=Ty((()=>mw(a))),i=bm(!1)
;cv((()=>i.value=!0)),hv((()=>i.value=!1)),function({ownerDocument:e},t){
let n=function(e){let t=bm(rx.slice());return mg([e],(([e],[n])=>{
!0===n&&!1===e?aw((()=>{t.value.splice(0)
})):!1===n&&!0===e&&(t.value=rx.slice())}),{flush:"post"}),()=>{var e
;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t)
;cv((()=>{fg((()=>{var r,a
;t.value||(null==(r=e.value)?void 0:r.activeElement)===(null==(a=e.value)?void 0:a.body)&&Ew(n())
}),{flush:"post"})})),hv((()=>{t.value&&Ew(n())}))}({ownerDocument:o
},Ty((()=>i.value&&Boolean(16&e.features))))
;let s=function({ownerDocument:e,container:t,initialFocus:n},r){
let a=bm(null),o=bm(!1)
;return cv((()=>o.value=!0)),hv((()=>o.value=!1)),cv((()=>{mg([t,n,r],((i,s)=>{
if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!r.value)return;let l=uw(t)
;l&&aw((()=>{var t,r;if(!o.value)return
;let i=uw(n),s=null==(t=e.value)?void 0:t.activeElement;if(i){
if(i===s)return void(a.value=s)}else if(l.contains(s))return void(a.value=s)
;i?Ew(i):Pw(l,Ow.First|Ow.NoScroll)===ww.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),
a.value=null==(r=e.value)?void 0:r.activeElement}))}),{immediate:!0,flush:"post"
})})),a}({ownerDocument:o,container:a,initialFocus:Ty((()=>e.initialFocus))
},Ty((()=>i.value&&Boolean(2&e.features))))
;!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},a){
var o;ux(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return
;let o=hx(n);uw(t)instanceof HTMLElement&&o.add(uw(t));let i=r.value
;if(!i)return;let s=e.target
;s&&s instanceof HTMLElement?gx(o,s)?(r.value=s,Ew(s)):(e.preventDefault(),
e.stopPropagation(),Ew(i)):Ew(r.value)}),!0)}({ownerDocument:o,container:a,
containers:e.containers,previousActiveElement:s
},Ty((()=>i.value&&Boolean(8&e.features))));let l=px();function c(e){let t=uw(a)
;t&&dw(l.value,{[dx.Forwards]:()=>{Pw(t,Ow.First,{skipElements:[e.relatedTarget]
})},[dx.Backwards]:()=>{Pw(t,Ow.Last,{skipElements:[e.relatedTarget]})}})}
let u=bm(!1);function d(e){
"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}
function p(t){if(!i.value)return;let n=hx(e.containers)
;uw(a)instanceof HTMLElement&&n.add(uw(a));let r=t.relatedTarget
;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(gx(n,r)||(u.value?Pw(uw(a),dw(l.value,{
[dx.Forwards]:()=>Ow.Next,[dx.Backwards]:()=>Ow.Previous})|Ow.WrapAround,{
relativeTo:t.target}):t.target instanceof HTMLElement&&Ew(t.target)))}
return()=>{let r={ref:a,onKeydown:d,onFocusout:p
},{features:o,initialFocus:i,containers:s,...l}=e
;return Ey(Lb,[Boolean(4&o)&&Ey(Gw,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:Xw.Focusable}),Hw({
ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:n,name:"FocusTrap"
}),Boolean(4&o)&&Ey(Gw,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:Xw.Focusable})])}}}),{
features:fx});function gx(e,t){for(let n of e)if(n.contains(t))return!0;return!1
}function vx(){let e;return{before({doc:t}){var n;let r=t.documentElement
;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},
after({doc:t,d:n}){let r=t.documentElement,a=r.clientWidth-r.offsetWidth,o=e-a
;n.style(r,"paddingRight",`${o}px`)}}}function bx(e){let t={}
;for(let n of e)Object.assign(t,n(t));return t}let yx=function(e,t){
let n=e(),r=new Set;return{getSnapshot:()=>n,
subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...a){let o=t[e].call(n,...a)
;o&&(n=o,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n
;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:ow(),meta:new Set}
;return r.count++,r.meta.add(t),this.set(e,r),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:bx(n)},a=[Iw()?{
before({doc:e,d:t,meta:n}){function r(e){
return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}
t.microTask((()=>{var n
;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){
let n=ow()
;n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))
}let a=null!=(n=window.scrollY)?n:window.pageYOffset,o=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),i=e.querySelector(a);i&&!r(i)&&(o=i)}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("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target
;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement
;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}
}),{passive:!1}),t.add((()=>{var e
;let t=null!=(e=window.scrollY)?e:window.pageYOffset
;a!==t&&window.scrollTo(0,a),o&&o.isConnected&&(o.scrollIntoView({
block:"nearest"}),o=null)}))}))}}:{},vx(),{before({doc:e,d:t}){
t.style(e.documentElement,"overflow","hidden")}}]
;a.forEach((({before:e})=>null==e?void 0:e(r))),
a.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},
TEARDOWN({doc:e}){this.delete(e)}});function Ox(e,t,n){let r=function(e){
let t=ym(e.getSnapshot());return hv(e.subscribe((()=>{t.value=e.getSnapshot()
}))),t}(yx),a=Ty((()=>{let t=e.value?r.value.get(e.value):void 0
;return!!t&&t.count>0}));return mg([e,t],(([e,t],[r],a)=>{if(!e||!t)return
;yx.dispatch("PUSH",e,n);let o=!1;a((()=>{
o||(yx.dispatch("POP",null!=r?r:e,n),o=!0)}))}),{immediate:!0}),a}
yx.subscribe((()=>{let e=yx.getSnapshot(),t=new Map
;for(let[n]of e)t.set(n,n.documentElement.style.overflow)
;for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count
;(r&&!e||!r&&e)&&yx.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),
0===n.count&&yx.dispatch("TEARDOWN",n)}}));let wx=new Map,xx=new Map
;function kx(e,t=bm(!0)){fg((n=>{var r;if(!t.value)return;let a=uw(e)
;if(!a)return;n((function(){var e;if(!a)return;let t=null!=(e=xx.get(a))?e:1
;if(1===t?xx.delete(a):xx.set(a,t-1),1!==t)return;let n=wx.get(a)
;n&&(null===n["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",n["aria-hidden"]),
a.inert=n.inert,wx.delete(a))}));let o=null!=(r=xx.get(a))?r:0
;xx.set(a,o+1),0===o&&(wx.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),
inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}
function Sx({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){
let r=bm(null),a=mw(r);function o(){var n,o,i;let s=[]
;for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"value"in t&&t.value instanceof HTMLElement&&s.push(t.value))
;if(null!=t&&t.value)for(let e of t.value)s.push(e)
;for(let e of null!=(n=null==a?void 0:a.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(uw(r))||e.contains(null==(i=null==(o=uw(r))?void 0:o.getRootNode())?void 0:i.host)||s.some((t=>e.contains(t)))||s.push(e))
;return s}return{resolveContainers:o,contains:e=>o().some((t=>t.contains(e))),
mainTreeNodeRef:r,MainTreeNode:()=>null!=n?null:Ey(Gw,{features:Xw.Hidden,ref:r
})}}let _x=Symbol("ForcePortalRootContext");let Ax=Hg({name:"ForcePortalRoot",
props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,
default:!1}},setup:(e,{slots:t,attrs:n})=>(cg(_x,e.force),()=>{
let{force:r,...a}=e;return Hw({theirProps:a,ourProps:{},slot:{},slots:t,attrs:n,
name:"ForcePortalRoot"})})}),Tx=Symbol("StackContext")
;var Ex=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Ex||{})
;function Cx({type:e,enabled:t,element:n,onUpdate:r}){let a=ug(Tx,(()=>{}))
;function o(...e){null==r||r(...e),a(...e)}cv((()=>{mg(t,((t,r)=>{
t?o(0,e,n):!0===r&&o(1,e,n)}),{immediate:!0,flush:"sync"})})),hv((()=>{
t.value&&o(1,e,n)})),cg(Tx,o)}let $x=Symbol("DescriptionContext")
;const Px=new WeakMap;function Ix(e,t){let n=t(function(e){var t
;return null!=(t=Px.get(e))?t:0}(e));return n<=0?Px.delete(e):Px.set(e,n),n}
let Dx=Hg({name:"Portal",props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n}){
let r=bm(null),a=Ty((()=>mw(r))),o=ug(_x,!1),i=ug(Rx,null),s=bm(!0===o||null==i?function(e){
let t=mw(e);if(!t){if(null===e)return null
;throw new 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)
}(r.value):i.resolveTarget());s.value&&Ix(s.value,(e=>e+1));let l=bm(!1)
;cv((()=>{l.value=!0})),fg((()=>{o||null!=i&&(s.value=i.resolveTarget())}))
;let c=ug(Mx,null),u=!1,d=fy();return mg(r,(()=>{if(u||!c)return;let e=uw(r)
;e&&(hv(c.register(e),d),u=!0)})),hv((()=>{var e,t
;let n=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root")
;!n||s.value!==n||Ix(s.value,(e=>e-1))||s.value.children.length>0||null==(t=s.value.parentElement)||t.removeChild(s.value)
})),()=>{if(!l.value||null===s.value)return null;let a={ref:r,
"data-headlessui-portal":""};return Ey(Eg,{to:s.value},Hw({ourProps:a,
theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}
}),Mx=Symbol("PortalParentContext");function Nx(){let e=ug(Mx,null),t=bm([])
;function n(n){let r=t.value.indexOf(n)
;-1!==r&&t.value.splice(r,1),e&&e.unregister(n)}let r={register:function(r){
return t.value.push(r),e&&e.register(r),()=>n(r)},unregister:n,portals:t}
;return[t,Hg({name:"PortalWrapper",setup:(e,{slots:t})=>(cg(Mx,r),()=>{var e
;return null==(e=t.default)?void 0:e.call(t)})})]}
let Rx=Symbol("PortalGroupContext"),Lx=Hg({name:"PortalGroup",props:{as:{
type:[Object,String],default:"template"},target:{type:Object,default:null}},
setup(e,{attrs:t,slots:n}){let r=om({resolveTarget:()=>e.target})
;return cg(Rx,r),()=>{let{target:r,...a}=e;return Hw({theirProps:a,ourProps:{},
slot:{},attrs:t,slots:n,name:"PortalGroup"})}}})
;var Bx,jx=((Bx=jx||{})[Bx.Open=0]="Open",Bx[Bx.Closed=1]="Closed",Bx)
;let Ux=Symbol("DialogContext");function zx(e){let t=ug(Ux,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,zx),t}return t}
let Zx="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Fx=Hg({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:Zx},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:a}){var o,i
;let s=null!=(o=e.id)?o:`headlessui-dialog-${cw()}`,l=bm(!1);cv((()=>{l.value=!0
}))
;let c=!1,u=Ty((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0,
console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),
"dialog"))),d=bm(0),p=Jw(),h=Ty((()=>e.open===Zx&&null!==p?(p.value&Kw.Open)===Kw.Open:e.open)),f=bm(null),m=Ty((()=>mw(f)))
;if(a({el:f,$el:f
}),e.open===Zx&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.")
;if("boolean"!=typeof h.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===Zx?void 0:e.open}`)
;let g=Ty((()=>l.value&&h.value?0:1)),v=Ty((()=>0===g.value)),b=Ty((()=>d.value>1)),y=null!==ug(Ux,null),[O,w]=Nx(),{resolveContainers:x,mainTreeNodeRef:k,MainTreeNode:S}=Sx({
portals:O,defaultContainers:[Ty((()=>{var e
;return null!=(e=D.panelRef.value)?e:f.value}))]
}),_=Ty((()=>b.value?"parent":"leaf")),A=Ty((()=>null!==p&&(p.value&Kw.Closing)===Kw.Closing)),T=Ty((()=>!y&&!A.value&&v.value)),E=Ty((()=>{
var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(uw(k))&&e instanceof HTMLElement))))?n:null
}));kx(E,T);let C=Ty((()=>!!b.value||v.value)),$=Ty((()=>{var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(uw(k))&&e instanceof HTMLElement)))?n:null
}));kx($,C),Cx({type:"Dialog",enabled:Ty((()=>0===g.value)),element:f,
onUpdate:(e,t)=>{if("Dialog"===t)return dw(e,{[Ex.Add]:()=>d.value+=1,
[Ex.Remove]:()=>d.value-=1})}})
;let P=function({slot:e=bm({}),name:t="Description",props:n={}}={}){let r=bm([])
;return cg($x,{register:function(e){return r.value.push(e),()=>{
let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:n
}),Ty((()=>r.value.length>0?r.value.join(" "):void 0))}({
name:"DialogDescription",slot:Ty((()=>({open:h.value})))}),I=bm(null),D={
titleId:I,panelRef:bm(null),dialogState:g,setTitleId(e){I.value!==e&&(I.value=e)
},close(){t("close",!1)}};cg(Ux,D);let M=Ty((()=>!(!v.value||b.value)))
;Rw(x,((e,t)=>{e.preventDefault(),D.close(),Xm((()=>null==t?void 0:t.focus()))
}),M);let N=Ty((()=>!(b.value||0!==g.value)))
;ux(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{
N.value&&(e.defaultPrevented||e.key===nx.Escape&&(e.preventDefault(),
e.stopPropagation(),D.close()))}));let R=Ty((()=>!(A.value||0!==g.value||y)))
;return Ox(m,R,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}
})),fg((e=>{if(0!==g.value)return;let t=uw(f);if(!t)return
;let n=new ResizeObserver((e=>{for(let t of e){
let e=t.target.getBoundingClientRect()
;0===e.x&&0===e.y&&0===e.width&&0===e.height&&D.close()}}))
;n.observe(t),e((()=>n.disconnect()))})),()=>{
let{open:t,initialFocus:a,...o}=e,i={...n,ref:f,id:s,role:u.value,
"aria-modal":0===g.value||void 0,"aria-labelledby":I.value,
"aria-describedby":P.value},l={open:0===g.value};return Ey(Ax,{force:!0
},(()=>[Ey(Dx,(()=>Ey(Lx,{target:f.value},(()=>Ey(Ax,{force:!1},(()=>Ey(mx,{
initialFocus:a,containers:x,features:v.value?dw(_.value,{
parent:mx.features.RestoreFocus,leaf:mx.features.All&~mx.features.FocusLock
}):mx.features.None},(()=>Ey(w,{},(()=>Hw({ourProps:i,theirProps:{...o,...n},
slot:l,attrs:n,slots:r,visible:0===g.value,features:Zw.RenderStrategy|Zw.Static,
name:"Dialog"}))))))))))),Ey(S)]))}}}),Hx=Hg({name:"DialogPanel",props:{as:{
type:[Object,String],default:"div"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var a
;let o=null!=(a=e.id)?a:`headlessui-dialog-panel-${cw()}`,i=zx("DialogPanel")
;function s(e){e.stopPropagation()}return r({el:i.panelRef,$el:i.panelRef
}),()=>{let{...r}=e;return Hw({ourProps:{id:o,ref:i.panelRef,onClick:s},
theirProps:r,slot:{open:0===i.dialogState.value},attrs:t,slots:n,
name:"DialogPanel"})}}}),Qx=Hg({name:"DialogTitle",props:{as:{
type:[Object,String],default:"h2"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let a=null!=(r=e.id)?r:`headlessui-dialog-title-${cw()}`,o=zx("DialogTitle")
;return cv((()=>{o.setTitleId(a),hv((()=>o.setTitleId(null)))})),()=>{
let{...r}=e;return Hw({ourProps:{id:a},theirProps:r,slot:{
open:0===o.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}})
;var Vx=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Vx||{})
;let qx=Symbol("DisclosureContext");function Wx(e){let t=ug(qx,null)
;if(null===t){
let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,Wx),t}return t}
let Xx=Symbol("DisclosurePanelContext");let Gx=Hg({name:"Disclosure",props:{as:{
type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}
},setup(e,{slots:t,attrs:n}){
let r=bm(e.defaultOpen?0:1),a=bm(null),o=bm(null),i={
buttonId:bm(`headlessui-disclosure-button-${cw()}`),
panelId:bm(`headlessui-disclosure-panel-${cw()}`),disclosureState:r,panel:a,
button:o,toggleDisclosure(){r.value=dw(r.value,{0:1,1:0})},closeDisclosure(){
1!==r.value&&(r.value=1)},close(e){i.closeDisclosure()
;let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?uw(e):uw(i.button):uw(i.button)
;null==t||t.focus()}};return cg(qx,i),ex(Ty((()=>dw(r.value,{0:Kw.Open,
1:Kw.Closed})))),()=>{let{defaultOpen:a,...o}=e;return Hw({theirProps:o,
ourProps:{},slot:{open:0===r.value,close:i.close},slots:t,attrs:n,
name:"Disclosure"})}}}),Yx=Hg({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 a=Wx("DisclosureButton"),o=ug(Xx,null),i=Ty((()=>null!==o&&o.value===a.panelId.value))
;cv((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),hv((()=>{
i.value||(a.buttonId.value=null)}));let s=bm(null);r({el:s,$el:s
}),i.value||fg((()=>{a.button.value=s.value}));let l=Bw(Ty((()=>({as:e.as,
type:t.type}))),s);function c(){var t
;e.disabled||(i.value?(a.toggleDisclosure(),
null==(t=uw(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var n
;if(!e.disabled)if(i.value)switch(t.key){case nx.Space:case nx.Enter:
t.preventDefault(),
t.stopPropagation(),a.toggleDisclosure(),null==(n=uw(a.button))||n.focus()
}else switch(t.key){case nx.Space:case nx.Enter:
t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){
if(e.key===nx.Space)e.preventDefault()}return()=>{var r;let o={
open:0===a.disclosureState.value},{id:p,...h}=e;return Hw({ourProps:i.value?{
ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(r=a.buttonId.value)?r:p,
ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,
"aria-controls":0===a.disclosureState.value||uw(a.panel)?a.panelId.value:void 0,
disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,
slot:o,attrs:t,slots:n,name:"DisclosureButton"})}}}),Kx=Hg({
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 a=Wx("DisclosurePanel")
;cv((()=>{null!==e.id&&(a.panelId.value=e.id)})),hv((()=>{a.panelId.value=null
})),r({el:a.panel,$el:a.panel}),cg(Xx,a.panelId)
;let o=Jw(),i=Ty((()=>null!==o?(o.value&Kw.Open)===Kw.Open:0===a.disclosureState.value))
;return()=>{var r;let o={open:0===a.disclosureState.value,close:a.close
},{id:s,...l}=e;return Hw({ourProps:{id:null!=(r=a.panelId.value)?r:s,
ref:a.panel},theirProps:l,slot:o,attrs:t,slots:n,
features:Zw.RenderStrategy|Zw.Static,visible:i.value,name:"DisclosurePanel"})}}
}),Jx=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g
;function ek(e){var t,n;let r=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0)
;if(!(a instanceof HTMLElement))return r;let o=!1
;for(let s of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),
o=!0;let i=o?null!=(n=a.innerText)?n:"":r
;return Jx.test(i)&&(i=i.replace(Jx,"")),i}function tk(e){let t=bm(""),n=bm("")
;return()=>{let r=uw(e);if(!r)return"";let a=r.innerText
;if(t.value===a)return n.value;let o=function(e){
let t=e.getAttribute("aria-label");if("string"==typeof t)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"string"==typeof e?e.trim():ek(t).trim()}return null})).filter(Boolean)
;if(e.length>0)return e.join(", ")}return ek(e).trim()}(r).trim().toLowerCase()
;return t.value=a,n.value=o,o}}function nk(e,t){return e===t}
var rk=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(rk||{}),ak=(e=>(e[e.Single=0]="Single",
e[e.Multi=1]="Multi",
e))(ak||{}),ok=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ok||{})
;let ik=Symbol("ListboxContext");function sk(e){let t=ug(ik,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,sk),t}return t}
let lk=Hg({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{
type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},
by:{type:[String,Function],default:()=>nk},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 a=bm(1),o=bm(null),i=bm(null),s=bm(null),l=bm([]),c=bm(""),u=bm(null),d=bm(1)
;function p(e=e=>e){
let t=null!==u.value?l.value[u.value]:null,n=$w(e(l.value.slice()),(e=>uw(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{options:n,activeOptionIndex:r}}
let h=Ty((()=>e.multiple?1:0)),[f,m]=function(e,t,n){
let r=bm(null==n?void 0:n.value),a=Ty((()=>void 0!==e.value))
;return[Ty((()=>a.value?e.value:r.value)),function(e){
return a.value||(r.value=e),null==t?void 0:t(e)}]
}(Ty((()=>e.modelValue)),(e=>r("update:modelValue",e)),Ty((()=>e.defaultValue))),g=Ty((()=>void 0===f.value?dw(h.value,{
1:[],0:void 0}):f.value)),v={listboxState:a,value:g,mode:h,compare(t,n){
if("string"==typeof e.by){let r=e.by
;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},
orientation:Ty((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,
buttonRef:i,optionsRef:s,disabled:Ty((()=>e.disabled)),options:l,searchQuery:c,
activeOptionIndex:u,activationTrigger:d,closeListbox(){
e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){
e.disabled||0!==a.value&&(a.value=0)},goToOption(t,n,r){
if(e.disabled||1===a.value)return;let o=p(),i=ix(t===ox.Specific?{
focus:ox.Specific,id:n}:{focus:t},{resolveItems:()=>o.options,
resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;c.value="",u.value=i,d.value=null!=r?r:1,l.value=o.options},search(t){
if(e.disabled||1===a.value)return;let n=""!==c.value?0:1
;c.value+=t.toLowerCase()
;let r=(null!==u.value?l.value.slice(u.value+n).concat(l.value.slice(0,u.value+n)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=r?l.value.indexOf(r):-1
;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){
e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){
let n=p((n=>[...n,{id:e,dataRef:t}]))
;l.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){
let t=p((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){
e.disabled||m(t)},select(t){e.disabled||m(dw(h.value,{0:()=>t,1:()=>{
let e=hm(v.value.value).slice(),n=hm(t),r=e.findIndex((e=>v.compare(n,hm(e))))
;return-1===r?e.push(n):e.splice(r,1),e}}))}};Rw([i,s],((e,t)=>{var n
;v.closeListbox(),
_w(t,Sw.Loose)||(e.preventDefault(),null==(n=uw(i))||n.focus())
}),Ty((()=>0===a.value))),cg(ik,v),ex(Ty((()=>dw(a.value,{0:Kw.Open,1:Kw.Closed
}))));let b=Ty((()=>{var e;return null==(e=uw(i))?void 0:e.closest("form")}))
;return cv((()=>{mg([b],(()=>{
if(b.value&&void 0!==e.defaultValue)return b.value.addEventListener("reset",t),
()=>{var e;null==(e=b.value)||e.removeEventListener("reset",t)};function t(){
v.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{
let{name:r,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,
disabled:i,value:g.value};return Ey(Lb,[...null!=r&&null!=g.value?sx({
[r]:g.value}).map((([e,t])=>Ey(Gw,function(e){let t=Object.assign({},e)
;for(let n in t)void 0===t[n]&&delete t[n];return t}({features:Xw.Hidden,key:e,
as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t
})))):[],Hw({ourProps:{},theirProps:{...n,
...Ww(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},
slot:c,slots:t,attrs:n,name:"Listbox"})])}}}),ck=Hg({name:"ListboxLabel",props:{
as:{type:[Object,String],default:"label"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let a=null!=(r=e.id)?r:`headlessui-listbox-label-${cw()}`,o=sk("ListboxLabel")
;function i(){var e;null==(e=uw(o.buttonRef))||e.focus({preventScroll:!0})}
return()=>{let r={open:0===o.listboxState.value,disabled:o.disabled.value
},{...s}=e;return Hw({ourProps:{id:a,ref:o.labelRef,onClick:i},theirProps:s,
slot:r,attrs:t,slots:n,name:"ListboxLabel"})}}}),uk=Hg({name:"ListboxButton",
props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}
},setup(e,{attrs:t,slots:n,expose:r}){var a
;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${cw()}`,i=sk("ListboxButton")
;function s(e){switch(e.key){case nx.Space:case nx.Enter:case nx.ArrowDown:
e.preventDefault(),i.openListbox(),Xm((()=>{var e
;null==(e=uw(i.optionsRef))||e.focus({preventScroll:!0
}),i.value.value||i.goToOption(ox.First)}));break;case nx.ArrowUp:
e.preventDefault(),i.openListbox(),Xm((()=>{var e
;null==(e=uw(i.optionsRef))||e.focus({preventScroll:!0
}),i.value.value||i.goToOption(ox.Last)}))}}function l(e){
if(e.key===nx.Space)e.preventDefault()}function c(e){
i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Xm((()=>{var e
;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(e.preventDefault(),i.openListbox(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=uw(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:i.buttonRef,$el:i.buttonRef});let u=Bw(Ty((()=>({as:e.as,type:t.type
}))),i.buttonRef);return()=>{var r,a;let d={open:0===i.listboxState.value,
disabled:i.disabled.value,value:i.value.value},{...p}=e;return Hw({ourProps:{
ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox",
"aria-controls":null==(r=uw(i.optionsRef))?void 0:r.id,
"aria-expanded":0===i.listboxState.value,
"aria-labelledby":i.labelRef.value?[null==(a=uw(i.labelRef))?void 0:a.id,o].join(" "):void 0,
disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},
theirProps:p,slot:d,attrs:t,slots:n,name:"ListboxButton"})}}}),dk=Hg({
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}){var a
;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${cw()}`,i=sk("ListboxOptions"),s=bm(null)
;function l(e){switch(s.value&&clearTimeout(s.value),e.key){case nx.Space:
if(""!==i.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),i.search(e.key);case nx.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){
let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}
0===i.mode.value&&(i.closeListbox(),Xm((()=>{var e
;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break
;case dw(i.orientation.value,{vertical:nx.ArrowDown,horizontal:nx.ArrowRight}):
return e.preventDefault(),e.stopPropagation(),i.goToOption(ox.Next)
;case dw(i.orientation.value,{vertical:nx.ArrowUp,horizontal:nx.ArrowLeft}):
return e.preventDefault(),e.stopPropagation(),i.goToOption(ox.Previous)
;case nx.Home:case nx.PageUp:
return e.preventDefault(),e.stopPropagation(),i.goToOption(ox.First)
;case nx.End:case nx.PageDown:
return e.preventDefault(),e.stopPropagation(),i.goToOption(ox.Last)
;case nx.Escape:
e.preventDefault(),e.stopPropagation(),i.closeListbox(),Xm((()=>{var e
;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break
;case nx.Tab:e.preventDefault(),e.stopPropagation();break;default:
1===e.key.length&&(i.search(e.key),
s.value=setTimeout((()=>i.clearSearch()),350))}}r({el:i.optionsRef,
$el:i.optionsRef})
;let c=Jw(),u=Ty((()=>null!==c?(c.value&Kw.Open)===Kw.Open:0===i.listboxState.value))
;return()=>{var r,a;let s={open:0===i.listboxState.value},{...c}=e;return Hw({
ourProps:{
"aria-activedescendant":null===i.activeOptionIndex.value||null==(r=i.options.value[i.activeOptionIndex.value])?void 0:r.id,
"aria-multiselectable":1===i.mode.value||void 0,
"aria-labelledby":null==(a=uw(i.buttonRef))?void 0:a.id,
"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",
tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:n,
features:Zw.RenderStrategy|Zw.Static,visible:u.value,name:"ListboxOptions"})}}
}),pk=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${cw()}`,i=sk("ListboxOption"),s=bm(null)
;r({el:s,$el:s})
;let l=Ty((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=Ty((()=>dw(i.mode.value,{
0:()=>i.compare(hm(i.value.value),hm(e.value)),
1:()=>hm(i.value.value).some((t=>i.compare(hm(t),hm(e.value))))
}))),u=Ty((()=>dw(i.mode.value,{1:()=>{var e;let t=hm(i.value.value)
;return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(hm(t),hm(e.dataRef.value)))))))?void 0:e.id)===o
},0:()=>c.value}))),d=tk(s),p=Ty((()=>({disabled:e.disabled,value:e.value,
get textValue(){return d()},domRef:s})));function h(t){
if(e.disabled)return t.preventDefault()
;i.select(e.value),0===i.mode.value&&(i.closeListbox(),Xm((()=>{var e
;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}
function f(){if(e.disabled)return i.goToOption(ox.Nothing)
;i.goToOption(ox.Specific,o)}
cv((()=>i.registerOption(o,p))),hv((()=>i.unregisterOption(o))),cv((()=>{
mg([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&dw(i.mode.value,{
1:()=>{u.value&&i.goToOption(ox.Specific,o)},0:()=>{i.goToOption(ox.Specific,o)}
})}),{immediate:!0})})),fg((()=>{
0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Xm((()=>{
var e,t
;return null==(t=null==(e=uw(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let m=Uw();function g(e){m.update(e)}function v(t){
m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(ox.Specific,o,0))}
function b(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(ox.Nothing))}
return()=>{let{disabled:r}=e,a={active:l.value,selected:c.value,disabled:r
},{value:i,disabled:u,...d}=e;return Hw({ourProps:{id:o,ref:s,role:"option",
tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,
"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,
onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:b,onMouseleave:b},
theirProps:d,slot:a,attrs:n,slots:t,name:"ListboxOption"})}}})
;var hk=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(hk||{}),fk=(e=>(e[e.Pointer=0]="Pointer",
e[e.Other=1]="Other",e))(fk||{});let mk=Symbol("MenuContext");function gk(e){
let t=ug(mk,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Menu /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,gk),t}return t}
let vk=Hg({name:"Menu",props:{as:{type:[Object,String],default:"template"}},
setup(e,{slots:t,attrs:n}){
let r=bm(1),a=bm(null),o=bm(null),i=bm([]),s=bm(""),l=bm(null),c=bm(1)
;function u(e=e=>e){
let t=null!==l.value?i.value[l.value]:null,n=$w(e(i.value.slice()),(e=>uw(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{items:n,activeItemIndex:r}}let d={menuState:r,
buttonRef:a,itemsRef:o,items:i,searchQuery:s,activeItemIndex:l,
activationTrigger:c,closeMenu:()=>{r.value=1,l.value=null},
openMenu:()=>r.value=0,goToItem(e,t,n){let r=u(),a=ix(e===ox.Specific?{
focus:ox.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,
resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;s.value="",l.value=a,c.value=null!=n?n:1,i.value=r.items},search(e){
let t=""!==s.value?0:1;s.value+=e.toLowerCase()
;let n=(null!==l.value?i.value.slice(l.value+t).concat(i.value.slice(0,l.value+t)):i.value).find((e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled)),r=n?i.value.indexOf(n):-1
;-1===r||r===l.value||(l.value=r,c.value=1)},clearSearch(){s.value=""},
registerItem(e,t){let n=u((n=>[...n,{id:e,dataRef:t}]))
;i.value=n.items,l.value=n.activeItemIndex,c.value=1},unregisterItem(e){
let t=u((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return Rw([a,o],((e,t)=>{
var n
;d.closeMenu(),_w(t,Sw.Loose)||(e.preventDefault(),null==(n=uw(a))||n.focus())
}),Ty((()=>0===r.value))),cg(mk,d),ex(Ty((()=>dw(r.value,{0:Kw.Open,1:Kw.Closed
})))),()=>{let a={open:0===r.value,close:d.closeMenu};return Hw({ourProps:{},
theirProps:e,slot:a,slots:t,attrs:n,name:"Menu"})}}}),bk=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-menu-button-${cw()}`,i=gk("MenuButton")
;function s(e){switch(e.key){case nx.Space:case nx.Enter:case nx.ArrowDown:
e.preventDefault(),e.stopPropagation(),i.openMenu(),Xm((()=>{var e
;null==(e=uw(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(ox.First)}))
;break;case nx.ArrowUp:
e.preventDefault(),e.stopPropagation(),i.openMenu(),Xm((()=>{var e
;null==(e=uw(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(ox.Last)}))}}
function l(e){if(e.key===nx.Space)e.preventDefault()}function c(t){
e.disabled||(0===i.menuState.value?(i.closeMenu(),Xm((()=>{var e
;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(t.preventDefault(),i.openMenu(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=uw(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:i.buttonRef,$el:i.buttonRef});let u=Bw(Ty((()=>({as:e.as,type:t.type
}))),i.buttonRef);return()=>{var r;let a={open:0===i.menuState.value},{...d}=e
;return Hw({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu",
"aria-controls":null==(r=uw(i.itemsRef))?void 0:r.id,
"aria-expanded":0===i.menuState.value,onKeydown:s,onKeyup:l,onClick:c},
theirProps:d,slot:a,attrs:t,slots:n,name:"MenuButton"})}}}),yk=Hg({
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}){var a
;let o=null!=(a=e.id)?a:`headlessui-menu-items-${cw()}`,i=gk("MenuItems"),s=bm(null)
;function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case nx.Space:
if(""!==i.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),i.search(e.key);case nx.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value){
null==(t=uw(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()}
i.closeMenu(),Aw(uw(i.buttonRef));break;case nx.ArrowDown:
return e.preventDefault(),e.stopPropagation(),i.goToItem(ox.Next)
;case nx.ArrowUp:
return e.preventDefault(),e.stopPropagation(),i.goToItem(ox.Previous)
;case nx.Home:case nx.PageUp:
return e.preventDefault(),e.stopPropagation(),i.goToItem(ox.First);case nx.End:
case nx.PageDown:
return e.preventDefault(),e.stopPropagation(),i.goToItem(ox.Last)
;case nx.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Xm((()=>{
var e;return null==(e=uw(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))
;break;case nx.Tab:
e.preventDefault(),e.stopPropagation(),i.closeMenu(),Xm((()=>function(e,t){
return Pw(kw(),t,{relativeTo:e})
}(uw(i.buttonRef),e.shiftKey?Ow.Previous:Ow.Next)));break;default:
1===e.key.length&&(i.search(e.key),
s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){
if(e.key===nx.Space)e.preventDefault()}r({el:i.itemsRef,$el:i.itemsRef
}),function({container:e,accept:t,walk:n,enabled:r}){fg((()=>{let a=e.value
;if(!a||void 0!==r&&!r.value)return;let o=mw(e);if(!o)return
;let i=Object.assign((e=>t(e)),{acceptNode:t
}),s=o.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,i,!1)
;for(;s.nextNode();)n(s.currentNode)}))}({container:Ty((()=>uw(i.itemsRef))),
enabled:Ty((()=>0===i.menuState.value)),
accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,
walk(e){e.setAttribute("role","none")}})
;let u=Jw(),d=Ty((()=>null!==u?(u.value&Kw.Open)===Kw.Open:0===i.menuState.value))
;return()=>{var r,a;let s={open:0===i.menuState.value},{...u}=e;return Hw({
ourProps:{
"aria-activedescendant":null===i.activeItemIndex.value||null==(r=i.items.value[i.activeItemIndex.value])?void 0:r.id,
"aria-labelledby":null==(a=uw(i.buttonRef))?void 0:a.id,id:o,onKeydown:l,
onKeyup:c,role:"menu",tabIndex:0,ref:i.itemsRef},theirProps:u,slot:s,attrs:t,
slots:n,features:Zw.RenderStrategy|Zw.Static,visible:d.value,name:"MenuItems"})}
}}),Ok=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-menu-item-${cw()}`,i=gk("MenuItem"),s=bm(null)
;r({el:s,$el:s})
;let l=Ty((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=tk(s),u=Ty((()=>({
disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){
if(e.disabled)return t.preventDefault();i.closeMenu(),Aw(uw(i.buttonRef))}
function p(){if(e.disabled)return i.goToItem(ox.Nothing)
;i.goToItem(ox.Specific,o)}
cv((()=>i.registerItem(o,u))),hv((()=>i.unregisterItem(o))),fg((()=>{
0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Xm((()=>{var e,t
;return null==(t=null==(e=uw(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let h=Uw();function f(e){h.update(e)}function m(t){
h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(ox.Specific,o,0))}function g(t){
h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(ox.Nothing))}return()=>{
let{disabled:r,...a}=e,c={active:l.value,disabled:r,close:i.closeMenu}
;return Hw({ourProps:{id:o,ref:s,role:"menuitem",tabIndex:!0===r?void 0:-1,
"aria-disabled":!0===r||void 0,onClick:d,onFocus:p,onPointerenter:f,
onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},
theirProps:{...n,...a},slot:c,attrs:n,slots:t,name:"MenuItem"})}}})
;var wk,xk=((wk=xk||{})[wk.Open=0]="Open",wk[wk.Closed=1]="Closed",wk)
;let kk=Symbol("PopoverContext");function Sk(e){let t=ug(kk,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <${Ek.name} /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,Sk),t}return t}
let _k=Symbol("PopoverGroupContext");function Ak(){return ug(_k,null)}
let Tk=Symbol("PopoverPanelContext");let Ek=Hg({name:"Popover",inheritAttrs:!1,
props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n,expose:r}){var a;let o=bm(null);r({el:o,$el:o})
;let i=bm(1),s=bm(null),l=bm(null),c=bm(null),u=bm(null),d=Ty((()=>mw(o))),p=Ty((()=>{
var e,t;if(!uw(s)||!uw(u))return!1
;for(let c of document.querySelectorAll("body > *"))if(Number(null==c?void 0:c.contains(uw(s)))^Number(null==c?void 0:c.contains(uw(u))))return!0
;let n=kw(),r=n.indexOf(uw(s)),a=(r+n.length-1)%n.length,o=(r+1)%n.length,i=n[a],l=n[o]
;return!(null!=(e=uw(u))&&e.contains(i)||null!=(t=uw(u))&&t.contains(l))})),h={
popoverState:i,buttonId:bm(null),panelId:bm(null),panel:u,button:s,
isPortalled:p,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){
i.value=dw(i.value,{0:1,1:0})},closePopover(){1!==i.value&&(i.value=1)},
close(e){h.closePopover()
;let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?uw(e):uw(h.button):uw(h.button)
;null==t||t.focus()}};cg(kk,h),ex(Ty((()=>dw(i.value,{0:Kw.Open,1:Kw.Closed}))))
;let f={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}
},m=Ak(),g=null==m?void 0:m.registerPopover,[v,b]=Nx(),y=Sx({
mainTreeNodeRef:null==m?void 0:m.mainTreeNodeRef,portals:v,
defaultContainers:[s,u]})
;return fg((()=>null==g?void 0:g(f))),ux(null==(a=d.value)?void 0:a.defaultView,"focus",(e=>{
var t,n
;e.target!==window&&e.target instanceof HTMLElement&&0===i.value&&(function(){
var e,t,n,r
;return null!=(r=null==m?void 0:m.isFocusWithinPopoverGroup())?r:(null==(e=d.value)?void 0:e.activeElement)&&((null==(t=uw(s))?void 0:t.contains(d.value.activeElement))||(null==(n=uw(u))?void 0:n.contains(d.value.activeElement)))
}()||s&&u&&(y.contains(e.target)||null!=(t=uw(h.beforePanelSentinel))&&t.contains(e.target)||null!=(n=uw(h.afterPanelSentinel))&&n.contains(e.target)||h.closePopover()))
}),!0),Rw(y.resolveContainers,((e,t)=>{var n
;h.closePopover(),_w(t,Sw.Loose)||(e.preventDefault(),
null==(n=uw(s))||n.focus())}),Ty((()=>0===i.value))),()=>{let r={
open:0===i.value,close:h.close};return Ey(Lb,[Ey(b,{},(()=>Hw({theirProps:{...e,
...n},ourProps:{ref:o},slot:r,slots:t,attrs:n,name:"Popover"
}))),Ey(y.MainTreeNode)])}}}),Ck=Hg({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}){
var a
;let o=null!=(a=e.id)?a:`headlessui-popover-button-${cw()}`,i=Sk("PopoverButton"),s=Ty((()=>mw(i.button)))
;r({el:i.button,$el:i.button}),cv((()=>{i.buttonId.value=o})),hv((()=>{
i.buttonId.value=null}))
;let l=Ak(),c=null==l?void 0:l.closeOthers,u=ug(Tk,null),d=Ty((()=>null!==u&&u.value===i.panelId.value)),p=bm(null),h=`headlessui-focus-sentinel-${cw()}`
;d.value||fg((()=>{i.button.value=uw(p)}));let f=Bw(Ty((()=>({as:e.as,
type:t.type}))),p);function m(e){var t,n,r,a,o;if(d.value){
if(1===i.popoverState.value)return;switch(e.key){case nx.Space:case nx.Enter:
e.preventDefault(),
null==(n=(t=e.target).click)||n.call(t),i.closePopover(),null==(r=uw(i.button))||r.focus()
}}else switch(e.key){case nx.Space:case nx.Enter:
e.preventDefault(),e.stopPropagation(),
1===i.popoverState.value&&(null==c||c(i.buttonId.value)),i.togglePopover();break
;case nx.Escape:
if(0!==i.popoverState.value)return null==c?void 0:c(i.buttonId.value)
;if(!uw(i.button)||null!=(a=s.value)&&a.activeElement&&(null==(o=uw(i.button))||!o.contains(s.value.activeElement)))return
;e.preventDefault(),e.stopPropagation(),i.closePopover()}}function g(e){
d.value||e.key===nx.Space&&e.preventDefault()}function v(t){var n,r
;e.disabled||(d.value?(i.closePopover(),
null==(n=uw(i.button))||n.focus()):(t.preventDefault(),
t.stopPropagation(),1===i.popoverState.value&&(null==c||c(i.buttonId.value)),
i.togglePopover(),null==(r=uw(i.button))||r.focus()))}function b(e){
e.preventDefault(),e.stopPropagation()}let y=px();function O(){let e=uw(i.panel)
;e&&dw(y.value,{[dx.Forwards]:()=>Pw(e,Ow.First),
[dx.Backwards]:()=>Pw(e,Ow.Last)
})===ww.Error&&Pw(kw().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),dw(y.value,{
[dx.Forwards]:Ow.Next,[dx.Backwards]:Ow.Previous}),{relativeTo:uw(i.button)})}
return()=>{let r=0===i.popoverState.value,a={open:r},{...s}=e,l=d.value?{ref:p,
type:f.value,onKeydown:m,onClick:v}:{ref:p,id:o,type:f.value,
"aria-expanded":0===i.popoverState.value,
"aria-controls":uw(i.panel)?i.panelId.value:void 0,
disabled:!!e.disabled||void 0,onKeydown:m,onKeyup:g,onClick:v,onMousedown:b}
;return Ey(Lb,[Hw({ourProps:l,theirProps:{...t,...s},slot:a,attrs:t,slots:n,
name:"PopoverButton"}),r&&!d.value&&i.isPortalled.value&&Ey(Gw,{id:h,
features:Xw.Focusable,"data-headlessui-focus-guard":!0,as:"button",
type:"button",onFocus:O})])}}}),$k=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-popover-panel-${cw()}`,{focus:i}=e,s=Sk("PopoverPanel"),l=Ty((()=>mw(s.panel))),c=`headlessui-focus-sentinel-before-${cw()}`,u=`headlessui-focus-sentinel-after-${cw()}`
;r({el:s.panel,$el:s.panel}),cv((()=>{s.panelId.value=o})),hv((()=>{
s.panelId.value=null})),cg(Tk,s.panelId),fg((()=>{var e,t
;if(!i||0!==s.popoverState.value||!s.panel)return
;let n=null==(e=l.value)?void 0:e.activeElement
;null!=(t=uw(s.panel))&&t.contains(n)||Pw(uw(s.panel),Ow.First)}))
;let d=Jw(),p=Ty((()=>null!==d?(d.value&Kw.Open)===Kw.Open:0===s.popoverState.value))
;function h(e){var t,n;if(e.key===nx.Escape){
if(0!==s.popoverState.value||!uw(s.panel)||l.value&&(null==(t=uw(s.panel))||!t.contains(l.value.activeElement)))return
;e.preventDefault(),
e.stopPropagation(),s.closePopover(),null==(n=uw(s.button))||n.focus()}}
function f(e){var t,n,r,a,o;let i=e.relatedTarget
;i&&uw(s.panel)&&(null!=(t=uw(s.panel))&&t.contains(i)||(s.closePopover(),
(null!=(r=null==(n=uw(s.beforePanelSentinel))?void 0:n.contains)&&r.call(n,i)||null!=(o=null==(a=uw(s.afterPanelSentinel))?void 0:a.contains)&&o.call(a,i))&&i.focus({
preventScroll:!0})))}let m=px();function g(){let e=uw(s.panel);e&&dw(m.value,{
[dx.Forwards]:()=>{var t
;Pw(e,Ow.First)===ww.Error&&(null==(t=uw(s.afterPanelSentinel))||t.focus())},
[dx.Backwards]:()=>{var e;null==(e=uw(s.button))||e.focus({preventScroll:!0})}})
}function v(){let e=uw(s.panel);e&&dw(m.value,{[dx.Forwards]:()=>{
let e=uw(s.button),t=uw(s.panel);if(!e)return
;let n=kw(),r=n.indexOf(e),a=n.slice(0,r+1),o=[...n.slice(r+1),...a]
;for(let i of o.slice())if("true"===i.dataset.headlessuiFocusGuard||null!=t&&t.contains(i)){
let e=o.indexOf(i);-1!==e&&o.splice(e,1)}Pw(o,Ow.First,{sorted:!1})},
[dx.Backwards]:()=>{var t
;Pw(e,Ow.Previous)===ww.Error&&(null==(t=uw(s.button))||t.focus())}})}
return()=>{let r={open:0===s.popoverState.value,close:s.close},{focus:a,...l}=e
;return Hw({ourProps:{ref:s.panel,id:o,onKeydown:h,
onFocusout:i&&0===s.popoverState.value?f:void 0,tabIndex:-1},theirProps:{...t,
...l},attrs:t,slot:r,slots:{...n,default:(...e)=>{var t
;return[Ey(Lb,[p.value&&s.isPortalled.value&&Ey(Gw,{id:c,
ref:s.beforePanelSentinel,features:Xw.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g
}),null==(t=n.default)?void 0:t.call(n,...e),p.value&&s.isPortalled.value&&Ey(Gw,{
id:u,ref:s.afterPanelSentinel,features:Xw.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}},
features:Zw.RenderStrategy|Zw.Static,visible:p.value,name:"PopoverPanel"})}}
}),Pk=Hg({props:{onFocus:{type:Function,required:!0}},setup(e){let t=bm(!0)
;return()=>t.value?Ey(Gw,{as:"button",type:"button",features:Xw.Focusable,
onFocus(n){n.preventDefault();let r,a=50;r=requestAnimationFrame((function n(){
var o
;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(r)):void(r=requestAnimationFrame(n))
;r&&cancelAnimationFrame(r)}))}}):null}})
;var Ik,Dk=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(Dk||{}),Mk=((Ik=Mk||{})[Ik.Less=-1]="Less",
Ik[Ik.Equal=0]="Equal",Ik[Ik.Greater=1]="Greater",Ik)
;let Nk=Symbol("TabsContext");function Rk(e){let t=ug(Nk,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <TabGroup /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,Rk),t}return t}
let Lk=Symbol("TabsSSRContext"),Bk=Hg({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}){var a
;let o=bm(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=bm([]),s=bm([]),l=Ty((()=>null!==e.selectedIndex)),c=Ty((()=>l.value?e.selectedIndex:o.value))
;function u(e){var t
;let n=$w(d.tabs.value,uw),r=$w(d.panels.value,uw),a=n.filter((e=>{var t
;return!(null!=(t=uw(e))&&t.hasAttribute("disabled"))}));if(e<0||e>n.length-1){
let t=dw(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,
0:()=>dw(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=dw(t,{
0:()=>n.indexOf(a[0]),1:()=>n.indexOf(a[a.length-1])})
;-1!==i&&(o.value=i),d.tabs.value=n,d.panels.value=r}else{
let i=n.slice(0,e),s=[...n.slice(e),...i].find((e=>a.includes(e)));if(!s)return
;let l=null!=(t=n.indexOf(s))?t:d.selectedIndex.value
;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=n,d.panels.value=r}}
let d={selectedIndex:Ty((()=>{var t,n
;return null!=(n=null!=(t=o.value)?t:e.defaultIndex)?n:null})),
orientation:Ty((()=>e.vertical?"vertical":"horizontal")),
activation:Ty((()=>e.manual?"manual":"auto")),tabs:i,panels:s,
setSelectedIndex(e){c.value!==e&&r("change",e),l.value||u(e)},registerTab(e){
var t;if(i.value.includes(e))return;let n=i.value[o.value]
;if(i.value.push(e),i.value=$w(i.value,uw),!l.value){
let e=null!=(t=i.value.indexOf(n))?t:o.value;-1!==e&&(o.value=e)}},
unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},
registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=$w(s.value,uw))},
unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}}
;cg(Nk,d);let p=bm({tabs:[],panels:[]}),h=bm(!1);cv((()=>{h.value=!0
})),cg(Lk,Ty((()=>h.value?null:p.value)));let f=Ty((()=>e.selectedIndex))
;return cv((()=>{mg([f],(()=>{var t
;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})
})),fg((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return
;let e=$w(d.tabs.value,uw)
;e.some(((e,t)=>uw(d.tabs.value[t])!==uw(e)))&&d.setSelectedIndex(e.findIndex((e=>uw(e)===uw(d.tabs.value[c.value]))))
})),()=>{let r={selectedIndex:o.value};return Ey(Lb,[i.value.length<=0&&Ey(Pk,{
onFocus:()=>{for(let e of i.value){let t=uw(e)
;if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),Hw({
theirProps:{...n,
...Ww(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},
ourProps:{},slot:r,slots:t,attrs:n,name:"TabGroup"})])}}}),jk=Hg({
name:"TabList",props:{as:{type:[Object,String],default:"div"}},
setup(e,{attrs:t,slots:n}){let r=Rk("TabList");return()=>{let a={
selectedIndex:r.selectedIndex.value};return Hw({ourProps:{role:"tablist",
"aria-orientation":r.orientation.value},theirProps:e,slot:a,attrs:t,slots:n,
name:"TabList"})}}}),Uk=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${cw()}`,i=Rk("Tab"),s=bm(null);r({
el:s,$el:s}),cv((()=>i.registerTab(s))),hv((()=>i.unregisterTab(s)))
;let l=ug(Lk),c=Ty((()=>{if(l.value){let e=l.value.tabs.indexOf(o)
;return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=Ty((()=>{
let e=i.tabs.value.indexOf(s);return-1===e?c.value:e
})),d=Ty((()=>u.value===i.selectedIndex.value));function p(e){var t;let n=e()
;if(n===ww.Success&&"auto"===i.activation.value){
let e=null==(t=mw(s))?void 0:t.activeElement,n=i.tabs.value.findIndex((t=>uw(t)===e))
;-1!==n&&i.setSelectedIndex(n)}return n}function h(e){
let t=i.tabs.value.map((e=>uw(e))).filter(Boolean)
;if(e.key===nx.Space||e.key===nx.Enter)return e.preventDefault(),
e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case nx.Home:
case nx.PageUp:
return e.preventDefault(),e.stopPropagation(),p((()=>Pw(t,Ow.First)))
;case nx.End:case nx.PageDown:
return e.preventDefault(),e.stopPropagation(),p((()=>Pw(t,Ow.Last)))}
return p((()=>dw(i.orientation.value,{
vertical:()=>e.key===nx.ArrowUp?Pw(t,Ow.Previous|Ow.WrapAround):e.key===nx.ArrowDown?Pw(t,Ow.Next|Ow.WrapAround):ww.Error,
horizontal:()=>e.key===nx.ArrowLeft?Pw(t,Ow.Previous|Ow.WrapAround):e.key===nx.ArrowRight?Pw(t,Ow.Next|Ow.WrapAround):ww.Error
})))===ww.Success?e.preventDefault():void 0}let f=bm(!1);function m(){var t
;f.value||(f.value=!0,!e.disabled&&(null==(t=uw(s))||t.focus({preventScroll:!0
}),i.setSelectedIndex(u.value),aw((()=>{f.value=!1}))))}function g(e){
e.preventDefault()}let v=Bw(Ty((()=>({as:e.as,type:t.type}))),s);return()=>{
var r,a;let l={selected:d.value,disabled:null!=(r=e.disabled)&&r},{...c}=e
;return Hw({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",
type:v.value,"aria-controls":null==(a=uw(i.panels.value[u.value]))?void 0:a.id,
"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},
theirProps:c,slot:l,attrs:t,slots:n,name:"Tab"})}}}),zk=Hg({name:"TabPanels",
props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){
let r=Rk("TabPanels");return()=>{let a={selectedIndex:r.selectedIndex.value}
;return Hw({theirProps:e,ourProps:{},slot:a,attrs:n,slots:t,name:"TabPanels"})}}
}),Zk=Hg({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}){var a
;let o=null!=(a=e.id)?a:`headlessui-tabs-panel-${cw()}`,i=Rk("TabPanel"),s=bm(null)
;r({el:s,$el:s}),cv((()=>i.registerPanel(s))),hv((()=>i.unregisterPanel(s)))
;let l=ug(Lk),c=Ty((()=>{if(l.value){let e=l.value.panels.indexOf(o)
;return-1===e?l.value.panels.push(o)-1:e}return-1})),u=Ty((()=>{
let e=i.panels.value.indexOf(s);return-1===e?c.value:e
})),d=Ty((()=>u.value===i.selectedIndex.value));return()=>{var r;let a={
selected:d.value},{tabIndex:l,...c}=e,p={ref:s,id:o,role:"tabpanel",
"aria-labelledby":null==(r=uw(i.tabs.value[u.value]))?void 0:r.id,
tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?Hw({ourProps:p,
theirProps:c,slot:a,attrs:t,slots:n,features:Zw.Static|Zw.RenderStrategy,
visible:d.value,name:"TabPanel"}):Ey(Gw,{as:"span","aria-hidden":!0,...p})}}})
;function Fk(e){var t,n,r=""
;if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){
var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Fk(e[t]))&&(r&&(r+=" "),r+=n)
}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Hk(){
for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Fk(e))&&(r&&(r+=" "),
r+=t);return r}
const Qk=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Vk=(e=new Map,t=null,n)=>({
nextPart:e,validators:t,classGroupId:n}),qk="-",Wk=[],Xk=e=>{
const t=Kk(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e
;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return Yk(e)
;const n=e.split(qk),r=""===n[0]&&n.length>1?1:0;return Gk(n,r,t)},
getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],a=n[e]
;return t?a?((e,t)=>{const n=new Array(e.length+t.length)
;for(let r=0;r<e.length;r++)n[r]=e[r]
;for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(a,t):t:a||Wk}
return n[e]||Wk}}},Gk=(e,t,n)=>{if(0===e.length-t)return n.classGroupId
;const r=e[t],a=n.nextPart.get(r);if(a){const n=Gk(e,t+1,a);if(n)return n}
const o=n.validators;if(null===o)return
;const i=0===t?e.join(qk):e.slice(t).join(qk),s=o.length;for(let l=0;l<s;l++){
const e=o[l];if(e.validator(i))return e.classGroupId}
},Yk=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{
const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n)
;return r?"arbitrary.."+r:void 0})(),Kk=e=>{const{theme:t,classGroups:n}=e
;return Jk(n,t)},Jk=(e,t)=>{const n=Vk();for(const r in e){const a=e[r]
;eS(a,n,r,t)}return n},eS=(e,t,n,r)=>{const a=e.length;for(let o=0;o<a;o++){
const a=e[o];tS(a,t,n,r)}},tS=(e,t,n,r)=>{
"string"!=typeof e?"function"!=typeof e?aS(e,t,n,r):rS(e,t,n,r):nS(e,t,n)
},nS=(e,t,n)=>{(""===e?t:oS(t,e)).classGroupId=n},rS=(e,t,n,r)=>{
iS(e)?eS(e(r),t,n,r):(null===t.validators&&(t.validators=[]),
t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))
},aS=(e,t,n,r)=>{const a=Object.entries(e),o=a.length;for(let i=0;i<o;i++){
const[e,o]=a[i];eS(o,oS(t,e),n,r)}},oS=(e,t)=>{let n=e
;const r=t.split(qk),a=r.length;for(let o=0;o<a;o++){const e=r[o]
;let t=n.nextPart.get(e);t||(t=Vk(),n.nextPart.set(e,t)),n=t}return n
},iS=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,sS=e=>{if(e<1)return{
get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null)
;const a=(a,o)=>{n[a]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){
let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set(e,t){
e in n?n[e]=t:a(e,t)}}},lS=[],cS=(e,t,n,r,a)=>({modifiers:e,
hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,
isExternal:a}),uS=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{
const t=[];let n,r=0,a=0,o=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u]
;if(0===r&&0===a){if(":"===i){t.push(e.slice(o,u)),o=u+1;continue}if("/"===i){
n=u;continue}}"["===i?r++:"]"===i?r--:"("===i?a++:")"===i&&a--}
const s=0===t.length?e:e.slice(o);let l=s,c=!1;s.endsWith("!")?(l=s.slice(0,-1),
c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0);return cS(t,c,l,n&&n>o?n-o:void 0)}
;if(t){const e=t+":",n=r
;r=t=>t.startsWith(e)?n(t.slice(e.length)):cS(lS,!1,t,void 0,!0)}if(n){const e=r
;r=t=>n({className:t,parseClassName:e})}return r},dS=e=>{const t=new Map
;return e.orderSensitiveModifiers.forEach(((e,n)=>{t.set(e,1e6+n)})),e=>{
const n=[];let r=[];for(let a=0;a<e.length;a++){
const o=e[a],i="["===o[0],s=t.has(o)
;i||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(o)):r.push(o)}
return r.length>0&&(r.sort(),n.push(...r)),n}},pS=/\s+/,hS=e=>{
if("string"==typeof e)return e;let t,n=""
;for(let r=0;r<e.length;r++)e[r]&&(t=hS(e[r]))&&(n&&(n+=" "),n+=t);return n
},fS=(e,...t)=>{let n,r,a,o;const i=e=>{const t=r(e);if(t)return t
;const o=((e,t)=>{
const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:o}=t,i=[],s=e.trim().split(pS)
;let l="";for(let c=s.length-1;c>=0;c-=1){
const e=s[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(e)
;if(t){l=e+(l.length>0?" "+l:l);continue}let f=!!h,m=r(f?p.substring(0,h):p)
;if(!m){if(!f){l=e+(l.length>0?" "+l:l);continue}if(m=r(p),!m){
l=e+(l.length>0?" "+l:l);continue}f=!1}
const g=0===u.length?"":1===u.length?u[0]:o(u).join(":"),v=d?g+"!":g,b=v+m
;if(i.indexOf(b)>-1)continue;i.push(b);const y=a(m,f)
;for(let n=0;n<y.length;++n){const e=y[n];i.push(v+e)}l=e+(l.length>0?" "+l:l)}
return l})(e,n);return a(e,o),o};return o=s=>{
const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:sS(e.cacheSize),
parseClassName:uS(e),sortModifiers:dS(e),...Xk(e)
}))(l),r=n.cache.get,a=n.cache.set,o=i,i(s)},(...e)=>o(((...e)=>{
let t,n,r=0,a="";for(;r<e.length;)(t=e[r++])&&(n=hS(t))&&(a&&(a+=" "),a+=n)
;return a})(...e))},mS=[],gS=e=>{const t=t=>t[e]||mS;return t.isThemeGetter=!0,t
},vS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,yS=/^\d+\/\d+$/,OS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wS=/\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$/,xS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,kS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,SS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_S=e=>yS.test(e),AS=e=>!!e&&!Number.isNaN(Number(e)),TS=e=>!!e&&Number.isInteger(Number(e)),ES=e=>e.endsWith("%")&&AS(e.slice(0,-1)),CS=e=>OS.test(e),$S=()=>!0,PS=e=>wS.test(e)&&!xS.test(e),IS=()=>!1,DS=e=>kS.test(e),MS=e=>SS.test(e),NS=e=>!LS(e)&&!FS(e),RS=e=>GS(e,e_,IS),LS=e=>vS.test(e),BS=e=>GS(e,t_,PS),jS=e=>GS(e,n_,AS),US=e=>GS(e,KS,IS),zS=e=>GS(e,JS,MS),ZS=e=>GS(e,a_,DS),FS=e=>bS.test(e),HS=e=>YS(e,t_),QS=e=>YS(e,r_),VS=e=>YS(e,KS),qS=e=>YS(e,e_),WS=e=>YS(e,JS),XS=e=>YS(e,a_,!0),GS=(e,t,n)=>{
const r=vS.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},YS=(e,t,n=!1)=>{
const r=bS.exec(e);return!!r&&(r[1]?t(r[1]):n)
},KS=e=>"position"===e||"percentage"===e,JS=e=>"image"===e||"url"===e,e_=e=>"length"===e||"size"===e||"bg-size"===e,t_=e=>"length"===e,n_=e=>"number"===e,r_=e=>"family-name"===e,a_=e=>"shadow"===e,o_=()=>{
const e=gS("color"),t=gS("font"),n=gS("text"),r=gS("font-weight"),a=gS("tracking"),o=gS("leading"),i=gS("breakpoint"),s=gS("container"),l=gS("spacing"),c=gS("radius"),u=gS("shadow"),d=gS("inset-shadow"),p=gS("text-shadow"),h=gS("drop-shadow"),f=gS("blur"),m=gS("perspective"),g=gS("aspect"),v=gS("ease"),b=gS("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",FS,LS],O=()=>[FS,LS,l],w=()=>[_S,"full","auto",...O()],x=()=>[TS,"none","subgrid",FS,LS],k=()=>["auto",{
span:["full",TS,FS,LS]
},TS,FS,LS],S=()=>[TS,"auto",FS,LS],_=()=>["auto","min","max","fr",FS,LS],A=()=>["auto",...O()],T=()=>[_S,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],E=()=>[e,FS,LS],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",VS,US,{
position:[FS,LS]}],$=()=>["auto","cover","contain",qS,RS,{size:[FS,LS]
}],P=()=>[ES,HS,BS],I=()=>["","none","full",c,FS,LS],D=()=>["",AS,HS,BS],M=()=>[AS,ES,VS,US],N=()=>["","none",f,FS,LS],R=()=>["none",AS,FS,LS],L=()=>["none",AS,FS,LS],B=()=>[AS,FS,LS],j=()=>[_S,"full",...O()]
;return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],
aspect:["video"],blur:[CS],breakpoint:[CS],color:[$S],container:[CS],
"drop-shadow":[CS],ease:["in","out","in-out"],font:[NS],
"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],
"inset-shadow":[CS],leading:["none","tight","snug","normal","relaxed","loose"],
perspective:["dramatic","near","normal","midrange","distant","none"],
radius:[CS],shadow:[CS],spacing:["px",AS],text:[CS],"text-shadow":[CS],
tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{
aspect:[{aspect:["auto","square",_S,LS,FS,g]}],container:["container"],
columns:[{columns:[AS,LS,FS,s]}],"break-after":[{
"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]
}],"break-before":[{
"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]
}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]
}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{
box:["border","content"]}],
display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],
sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]
}],clear:[{clear:["left","right","both","none","start","end"]}],
isolation:["isolate","isolation-auto"],"object-fit":[{
object:["contain","cover","fill","none","scale-down"]}],"object-position":[{
object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],
"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],
"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],
overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{
"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{
"overscroll-y":["auto","contain","none"]}],
position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],
"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],
end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],
left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{
z:[TS,"auto",FS,LS]}],basis:[{basis:[_S,"full","auto",s,...O()]}],
"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],
"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{
flex:[AS,_S,"auto","initial","none",LS]}],grow:[{grow:["",AS,FS,LS]}],shrink:[{
shrink:["",AS,FS,LS]}],order:[{order:[TS,"first","last","none",FS,LS]}],
"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{
"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":x()}],
"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{
"row-end":S()}],"grid-flow":[{
"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{
"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:O()}],"gap-x":[{
"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{
justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]
}],"justify-items":[{
"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]
}],"justify-self":[{
"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]
}],"align-content":[{
content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]
}],"align-items":[{
items:["start","end","center","stretch","center-safe","end-safe",{
baseline:["","last"]}]}],"align-self":[{
self:["auto","start","end","center","stretch","center-safe","end-safe",{
baseline:["","last"]}]}],"place-content":[{
"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]
}],"place-items":[{
"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]
}],"place-self":[{
"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]
}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pt:[{
pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:A()}],mx:[{mx:A()}],
my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{
mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":O()}],
"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],
"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{
w:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],
"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...T()]}],h:[{
h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],
"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",n,HS,BS]
}],"font-smoothing":["antialiased","subpixel-antialiased"],
"font-style":["italic","not-italic"],"font-weight":[{font:[r,FS,jS]}],
"font-stretch":[{
"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ES,LS]
}],"font-family":[{font:[QS,LS,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:[a,FS,LS]}],"line-clamp":[{"line-clamp":[AS,"none",FS,jS]}],leading:[{
leading:[o,...O()]}],"list-image":[{"list-image":["none",FS,LS]}],
"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{
list:["disc","decimal","none",FS,LS]}],"text-alignment":[{
text:["left","center","right","justify","start","end"]}],"placeholder-color":[{
placeholder:E()}],"text-color":[{text:E()}],
"text-decoration":["underline","overline","line-through","no-underline"],
"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]
}],"text-decoration-thickness":[{decoration:[AS,"from-font","auto",FS,BS]}],
"text-decoration-color":[{decoration:E()}],"underline-offset":[{
"underline-offset":[AS,"auto",FS,LS]}],
"text-transform":["uppercase","lowercase","capitalize","normal-case"],
"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{
text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],
"vertical-align":[{
align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",FS,LS]
}],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",FS,LS]}],
"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{
"bg-clip":["border","padding","content","text"]}],"bg-origin":[{
"bg-origin":["border","padding","content"]}],"bg-position":[{bg:C()}],
"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],
"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{
to:["t","tr","r","br","b","bl","l","tl"]},TS,FS,LS],radial:["",FS,LS],
conic:[TS,FS,LS]},WS,zS]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:P()
}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],
"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()
}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{
"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()
}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],
"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],
"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],
"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],
"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],
"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{
"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()
}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],
"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{
"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{
"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{
border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{
divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{
border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{
"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{
"border-e":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{
"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{
"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{
outline:["solid","dashed","dotted","double","none","hidden"]}],
"outline-offset":[{"outline-offset":[AS,FS,LS]}],"outline-w":[{
outline:["",AS,HS,BS]}],"outline-color":[{outline:E()}],shadow:[{
shadow:["","none",u,XS,ZS]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{
"inset-shadow":["none",d,XS,ZS]}],"inset-shadow-color":[{"inset-shadow":E()}],
"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],
"ring-offset-w":[{"ring-offset":[AS,BS]}],"ring-offset-color":[{
"ring-offset":E()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{
"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",p,XS,ZS]}],
"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[AS,FS,LS]}],
"mix-blend":[{
"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]
}],"bg-blend":[{
"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]
}],"mask-clip":[{
"mask-clip":["border","padding","content","fill","stroke","view"]
},"mask-no-clip"],"mask-composite":[{
mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{
"mask-linear":[AS]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],
"mask-image-linear-to-pos":[{"mask-linear-to":M()}],
"mask-image-linear-from-color":[{"mask-linear-from":E()}],
"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{
"mask-t-from":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],
"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{
"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":M()}],
"mask-image-r-to-pos":[{"mask-r-to":M()}],"mask-image-r-from-color":[{
"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],
"mask-image-b-from-pos":[{"mask-b-from":M()}],"mask-image-b-to-pos":[{
"mask-b-to":M()}],"mask-image-b-from-color":[{"mask-b-from":E()}],
"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{
"mask-l-from":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],
"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{
"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":M()}],
"mask-image-x-to-pos":[{"mask-x-to":M()}],"mask-image-x-from-color":[{
"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],
"mask-image-y-from-pos":[{"mask-y-from":M()}],"mask-image-y-to-pos":[{
"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":E()}],
"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{
"mask-radial":[FS,LS]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],
"mask-image-radial-to-pos":[{"mask-radial-to":M()}],
"mask-image-radial-from-color":[{"mask-radial-from":E()}],
"mask-image-radial-to-color":[{"mask-radial-to":E()}],
"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],
"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],
farthest:["side","corner"]}]}],"mask-image-radial-pos":[{
"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]
}],"mask-image-conic-pos":[{"mask-conic":[AS]}],"mask-image-conic-from-pos":[{
"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],
"mask-image-conic-from-color":[{"mask-conic-from":E()}],
"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{
mask:["alpha","luminance","match"]}],"mask-origin":[{
"mask-origin":["border","padding","content","fill","stroke","view"]}],
"mask-position":[{mask:C()}],"mask-repeat":[{mask:["no-repeat",{
repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:$()}],"mask-type":[{
"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",FS,LS]}],
filter:[{filter:["","none",FS,LS]}],blur:[{blur:N()}],brightness:[{
brightness:[AS,FS,LS]}],contrast:[{contrast:[AS,FS,LS]}],"drop-shadow":[{
"drop-shadow":["","none",h,XS,ZS]}],"drop-shadow-color":[{"drop-shadow":E()}],
grayscale:[{grayscale:["",AS,FS,LS]}],"hue-rotate":[{"hue-rotate":[AS,FS,LS]}],
invert:[{invert:["",AS,FS,LS]}],saturate:[{saturate:[AS,FS,LS]}],sepia:[{
sepia:["",AS,FS,LS]}],"backdrop-filter":[{"backdrop-filter":["","none",FS,LS]}],
"backdrop-blur":[{"backdrop-blur":N()}],"backdrop-brightness":[{
"backdrop-brightness":[AS,FS,LS]}],"backdrop-contrast":[{
"backdrop-contrast":[AS,FS,LS]}],"backdrop-grayscale":[{
"backdrop-grayscale":["",AS,FS,LS]}],"backdrop-hue-rotate":[{
"backdrop-hue-rotate":[AS,FS,LS]}],"backdrop-invert":[{
"backdrop-invert":["",AS,FS,LS]}],"backdrop-opacity":[{
"backdrop-opacity":[AS,FS,LS]}],"backdrop-saturate":[{
"backdrop-saturate":[AS,FS,LS]}],"backdrop-sepia":[{
"backdrop-sepia":["",AS,FS,LS]}],"border-collapse":[{
border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],
"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{
"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{
caption:["top","bottom"]}],transition:[{
transition:["","all","colors","opacity","shadow","transform","none",FS,LS]}],
"transition-behavior":[{transition:["normal","discrete"]}],duration:[{
duration:[AS,"initial",FS,LS]}],ease:[{ease:["linear","initial",v,FS,LS]}],
delay:[{delay:[AS,FS,LS]}],animate:[{animate:["none",b,FS,LS]}],backface:[{
backface:["hidden","visible"]}],perspective:[{perspective:[m,FS,LS]}],
"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:R()}],
"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{
"rotate-z":R()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{
"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{
skew:B()}],"skew-x":[{"skew-x":B()}],"skew-y":[{"skew-y":B()}],transform:[{
transform:[FS,LS,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],
"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],
"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],
"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],
accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{
caret:E()}],"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",FS,LS]
}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{
"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],
"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],
"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{
"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()
}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],
"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{
"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()
}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],
"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{
"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],
"snap-stop":[{snap:["normal","always"]}],"snap-type":[{
snap:["none","x","y","both"]}],"snap-strictness":[{
snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],
"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{
"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{
select:["none","text","all","auto"]}],"will-change":[{
"will-change":["auto","scroll","contents","transform",FS,LS]}],fill:[{
fill:["none",...E()]}],"stroke-w":[{stroke:[AS,HS,BS,jS]}],stroke:[{
stroke:["none",...E()]}],"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"]
}},i_=(e,t,n)=>{void 0!==n&&(e[t]=n)},s_=(e,t)=>{
if(t)for(const n in t)i_(e,n,t[n])},l_=(e,t)=>{if(t)for(const n in t)c_(e,t,n)
},c_=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)
},u_=((e,...t)=>"function"==typeof e?fS(o_,e,...t):fS((()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:o={}})=>(i_(e,"cacheSize",t),
i_(e,"prefix",n),
i_(e,"experimentalParseClassName",r),s_(e.theme,o.theme),s_(e.classGroups,o.classGroups),
s_(e.conflictingClassGroups,o.conflictingClassGroups),
s_(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),
i_(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),
l_(e.theme,a.theme),l_(e.classGroups,a.classGroups),
l_(e.conflictingClassGroups,a.conflictingClassGroups),
l_(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),
c_(e,a,"orderSensitiveModifiers"),e))(o_(),e)),...t))({extend:{classGroups:{
"font-size":["text-3xs","text-xxs"],
"font-weight":["font-sidebar","font-sidebar-active"]}}}),{cva:d_,cx:p_}=(e=>{
const t=function(){
for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a,o
;return void 0!==(null==e||null===(a=e.hooks)||void 0===a?void 0:a["cx:done"])?null==e?void 0:e.hooks["cx:done"](Hk(n)):void 0!==(null==e||null===(o=e.hooks)||void 0===o?void 0:o.onComplete)?null==e?void 0:e.hooks.onComplete(Hk(n)):Hk(n)
};return{compose:function(){
for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r]
;return e=>{const r=Object.fromEntries(Object.entries(e||{}).filter((e=>{
let[t]=e;return!["class","className"].includes(t)})))
;return t(n.map((e=>e(r))),null==e?void 0:e.class,null==e?void 0:e.className)}},
cva:e=>n=>{var r
;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==n?void 0:n.class,null==n?void 0:n.className)
;const{variants:a,defaultVariants:o}=e,i=Object.keys(a).map((e=>{
const t=null==n?void 0:n[e],r=null==o?void 0:o[e],i=Qk(t)||Qk(r);return a[e][i]
})),s={...o,...n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t
;return void 0===r?e:{...e,[n]:r}}),{})
},l=null==e||null===(r=e.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{
let{class:n,className:r,...a}=t;return Object.entries(a).every((e=>{let[t,n]=e
;const r=s[t];return Array.isArray(n)?n.includes(r):r===n}))?[...e,n,r]:e}),[])
;return t(null==e?void 0:e.base,i,l,null==n?void 0:n.class,null==n?void 0:n.className)
},cx:t}})({hooks:{onComplete:e=>u_(e)}});function h_(){const e=Mv(),t=Ty((()=>{
const{class:t,style:n,...r}=e;return{class:t||"",style:n,rest:r}}));return{
cx:function(...e){return{class:p_(...e,t.value.class),style:t.value.style,
...t.value.rest}},stylingAttrsCx:function(...e){return{
class:p_(...e,t.value.class),style:t.value.style}},
otherAttrs:Ty((()=>t.value.rest))}}const f_={
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 border border-solid border-border bg-b-1 text-c-1 hover:bg-b-2"],
ghost:["scalar-button-ghost","bg-transparent text-c-3 active:text-c-1 hover:text-c-1"],
gradient:["scalar-button-gradient","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"]
},m_={class:"circular-loader"},g_=Hg({inheritAttrs:!1,__name:"ScalarLoading",
props:{loader:{},size:{}},setup(e){const{cx:t}=h_(),n=d_({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,a)=>e.loader?(Fb(),qb("div",Mh(cy({key:0
},xm(t)("loader-wrapper",xm(n)({size:e.size})))),[(Fb(),qb("svg",{
class:Dh(["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"
},[a[0]||(a[0]=ay('<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)),Jb("g",m_,[Jb("circle",{
class:Dh(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",
cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):oy("",!0)}
}),v_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n
},b_=v_(g_,[["__scopeId","data-v-27df5cd8"]]),y_={key:3,class:"centered"
},O_=Hg({inheritAttrs:!1,__name:"ScalarButton",props:{is:{default:"button"},
variant:{default:"solid"},size:{default:"md"},disabled:{type:Boolean},icon:{
type:[Object,Function]},loader:{}},setup(e){const t=d_({
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 leading-5",sm:"px-3.5 py-2 text-sm leading-5",
md:"px-5 py-3 text-sm leading-5"},variant:f_},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=d_({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",
sm:"size-3.25 -ml-0.5 mr-1.5",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=d_({variants:{
size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:a}=h_()
;return(o,i)=>(Fb(),Wb(wv(e.is),cy({"aria-disabled":e.disabled||void 0,
type:"button"===e.is?"button":void 0},xm(a)(xm(t)({disabled:e.disabled,
size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{
default:ig((()=>[o.$slots.icon||e.icon?(Fb(),qb("div",{key:0,class:Dh([xm(n)({
size:e.size}),{invisible:e.loader?.isActive}])
},[Av(o.$slots,"icon",{},(()=>[(Fb(),Wb(wv(e.icon),{class:"size-full"
}))]))],2)):oy("",!0),e.loader?(Fb(),qb("span",{key:1,class:Dh({
invisible:e.loader?.isActive})
},[Av(o.$slots,"default")],2)):Av(o.$slots,"default",{key:2
}),e.loader?.isActive?(Fb(),qb("div",y_,[ey(xm(b_),{class:Dh(xm(r)({size:e.size
})),loader:e.loader},null,8,["class","loader"])])):oy("",!0)])),_:3
},16,["aria-disabled","type"]))}}),w_=Symbol(),x_=Hg({inheritAttrs:!1,
__name:"ScalarCard",props:{label:{}},setup(e){const{id:t}=(()=>{const e=bm()
;return cg(w_,e),{id:e}})(),n=Ty((()=>e.label?{"aria-label":e.label}:t.value?{
"aria-labelledby":t.value}:{})),{cx:r}=h_();return(e,t)=>(Fb(),qb("div",cy({
role:"group"},{...n.value,
...xm(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-lg border *:first:rounded-t-[inherit] *:last:rounded-b-[inherit]")
}),[Av(e.$slots,"default")],16))}}),k_=Hg({inheritAttrs:!1,
__name:"ScalarCardSection",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),qb("div",Mh(ty(xm(t)("scalar-card-content flex overflow-auto"))),[Av(e.$slots,"default")],16))
}}),S_=Hg({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),Wb(k_,Mh(ty(xm(t)("scalar-card-footer"))),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),__=["id"],A_={key:0,
class:"flex"},T_=Hg({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){
const{cx:t}=h_(),n=Qg();return(e=>{const t=ug(w_,void 0);t&&(t.value=e)
})(n),(e,r)=>(Fb(),
Wb(k_,Mh(ty(xm(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{
default:ig((()=>[Jb("div",{id:xm(n),
class:"scalar-card-header-title min-w-0 flex-1 truncate"
},[Av(e.$slots,"default")],8,__),e.$slots.actions?(Fb(),
qb("div",A_,[Av(e.$slots,"actions")])):oy("",!0)])),_:3},16))}})
;function E_(e={}){const t=Ty((()=>e.label?{"aria-label":e.label}:{
"aria-hidden":!0,role:"presentation"}));return{bind:Ty((()=>({width:"1em",
height:"1em",...t.value}))),weight:Ty((()=>e.weight??"regular"))}}const C_={
key:0},$_={key:1},P_={key:2},I_={key:3},D_={key:4},M_={key:5},N_=Hg({
name:"ScalarIconArrowRight",props:{label:{},weight:{}},setup(e){
const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",C_,[...t[0]||(t[0]=[Jb("path",{
d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",$_,[...t[1]||(t[1]=[Jb("path",{
d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",P_,[...t[2]||(t[2]=[Jb("path",{
d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",I_,[...t[3]||(t[3]=[Jb("path",{
d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",D_,[...t[4]||(t[4]=[Jb("path",{
d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",M_,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),R_={key:0},L_={key:1},B_={key:2},j_={key:3
},U_={key:4},z_={key:5},Z_=Hg({name:"ScalarIconArrowUp",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",R_,[...t[0]||(t[0]=[Jb("path",{
d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",L_,[...t[1]||(t[1]=[Jb("path",{
d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",B_,[...t[2]||(t[2]=[Jb("path",{
d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",j_,[...t[3]||(t[3]=[Jb("path",{
d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",U_,[...t[4]||(t[4]=[Jb("path",{
d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",z_,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),F_={key:0},H_={key:1},Q_={key:2},V_={key:3
},q_={key:4},W_={key:5},X_=Hg({name:"ScalarIconArrowUpRight",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",F_,[...t[0]||(t[0]=[Jb("path",{
d:"M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",H_,[...t[1]||(t[1]=[Jb("path",{
d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",Q_,[...t[2]||(t[2]=[Jb("path",{
d:"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",V_,[...t[3]||(t[3]=[Jb("path",{
d:"M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",q_,[...t[4]||(t[4]=[Jb("path",{
d:"M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",W_,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),G_={key:0},Y_={key:1},K_={key:2},J_={key:3
},eA={key:4},tA={key:5},nA=Hg({name:"ScalarIconBook",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",G_,[...t[0]||(t[0]=[Jb("path",{
d:"M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",Y_,[...t[1]||(t[1]=[Jb("path",{
d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",K_,[...t[2]||(t[2]=[Jb("path",{
d:"M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",J_,[...t[3]||(t[3]=[Jb("path",{
d:"M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",eA,[...t[4]||(t[4]=[Jb("path",{
d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",tA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),rA={key:0},aA={key:1},oA={key:2},iA={key:3
},sA={key:4},lA={key:5},cA=Hg({name:"ScalarIconBookOpenText",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",rA,[...t[0]||(t[0]=[Jb("path",{
d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",aA,[...t[1]||(t[1]=[Jb("path",{
d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",oA,[...t[2]||(t[2]=[Jb("path",{
d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",iA,[...t[3]||(t[3]=[Jb("path",{
d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",sA,[...t[4]||(t[4]=[Jb("path",{
d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",lA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),uA={key:0},dA={key:1},pA={key:2},hA={key:3
},fA={key:4},mA={key:5},gA=Hg({name:"ScalarIconBracketsCurly",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",uA,[...t[0]||(t[0]=[Jb("path",{
d:"M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",dA,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",pA,[...t[2]||(t[2]=[Jb("path",{
d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.17,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",hA,[...t[3]||(t[3]=[Jb("path",{
d:"M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",fA,[...t[4]||(t[4]=[Jb("path",{
d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",mA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),vA={key:0},bA={key:1},yA={key:2},OA={key:3
},wA={key:4},xA={key:5},kA=Hg({name:"ScalarIconCaretDown",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",vA,[...t[0]||(t[0]=[Jb("path",{
d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",bA,[...t[1]||(t[1]=[Jb("path",{
d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",yA,[...t[2]||(t[2]=[Jb("path",{
d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",OA,[...t[3]||(t[3]=[Jb("path",{
d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",wA,[...t[4]||(t[4]=[Jb("path",{
d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",xA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),SA={key:0},_A={key:1},AA={key:2},TA={key:3
},EA={key:4},CA={key:5},$A=Hg({name:"ScalarIconCaretRight",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",SA,[...t[0]||(t[0]=[Jb("path",{
d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",_A,[...t[1]||(t[1]=[Jb("path",{
d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",AA,[...t[2]||(t[2]=[Jb("path",{
d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",TA,[...t[3]||(t[3]=[Jb("path",{
d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",EA,[...t[4]||(t[4]=[Jb("path",{
d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",CA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),PA={key:0},IA={key:1},DA={key:2},MA={key:3
},NA={key:4},RA={key:5},LA=Hg({name:"ScalarIconCheck",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",PA,[...t[0]||(t[0]=[Jb("path",{
d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",IA,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",DA,[...t[2]||(t[2]=[Jb("path",{
d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",MA,[...t[3]||(t[3]=[Jb("path",{
d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",NA,[...t[4]||(t[4]=[Jb("path",{
d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",RA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),BA={key:0},jA={key:1},UA={key:2},zA={key:3
},ZA={key:4},FA={key:5},HA=Hg({name:"ScalarIconCopy",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",BA,[...t[0]||(t[0]=[Jb("path",{
d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",jA,[...t[1]||(t[1]=[Jb("path",{
d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",UA,[...t[2]||(t[2]=[Jb("path",{
d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",zA,[...t[3]||(t[3]=[Jb("path",{
d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",ZA,[...t[4]||(t[4]=[Jb("path",{
d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",FA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),QA={key:0},VA={key:1},qA={key:2},WA={key:3
},XA={key:4},GA={key:5},YA=Hg({name:"ScalarIconDiscordLogo",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",QA,[...t[0]||(t[0]=[Jb("path",{
d:"M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",VA,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",qA,[...t[2]||(t[2]=[Jb("path",{
d:"M247.51,174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",WA,[...t[3]||(t[3]=[Jb("path",{
d:"M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",XA,[...t[4]||(t[4]=[Jb("path",{
d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",GA,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),KA={key:0},JA={key:1},eT={key:2},tT={key:3
},nT={key:4},rT={key:5},aT=Hg({name:"ScalarIconEnvelopeSimple",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",KA,[...t[0]||(t[0]=[Jb("path",{
d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",JA,[...t[1]||(t[1]=[Jb("path",{
d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",eT,[...t[2]||(t[2]=[Jb("path",{
d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",tT,[...t[3]||(t[3]=[Jb("path",{
d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",nT,[...t[4]||(t[4]=[Jb("path",{
d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",rT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),oT={key:0},iT={key:1},sT={key:2},lT={key:3
},cT={key:4},uT={key:5},dT=Hg({name:"ScalarIconEye",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",oT,[...t[0]||(t[0]=[Jb("path",{
d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",iT,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",sT,[...t[2]||(t[2]=[Jb("path",{
d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",lT,[...t[3]||(t[3]=[Jb("path",{
d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",cT,[...t[4]||(t[4]=[Jb("path",{
d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",uT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),pT={key:0},hT={key:1},fT={key:2},mT={key:3
},gT={key:4},vT={key:5},bT=Hg({name:"ScalarIconEyeSlash",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",pT,[...t[0]||(t[0]=[Jb("path",{
d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",hT,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",fT,[...t[2]||(t[2]=[Jb("path",{
d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",mT,[...t[3]||(t[3]=[Jb("path",{
d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",gT,[...t[4]||(t[4]=[Jb("path",{
d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",vT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),yT={key:0},OT={key:1},wT={key:2},xT={key:3
},kT={key:4},ST={key:5},_T=Hg({name:"ScalarIconFileDashed",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",yT,[...t[0]||(t[0]=[Jb("path",{
d:"M84,224a12,12,0,0,1-12,12H56a20,20,0,0,1-20-20V184a12,12,0,0,1,24,0v28H72A12,12,0,0,1,84,224ZM220,88v48a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H120a12,12,0,0,1,0-24h32a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57ZM80,20H56A20,20,0,0,0,36,40V64a12,12,0,0,0,24,0V44H80a12,12,0,0,0,0-24ZM208,164a12,12,0,0,0-12,12v36h-4a12,12,0,0,0,0,24h8a20,20,0,0,0,20-20V176A12,12,0,0,0,208,164ZM48,156a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v40A12,12,0,0,0,48,156Zm104,56H112a12,12,0,0,0,0,24h40a12,12,0,0,0,0-24Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",OT,[...t[1]||(t[1]=[Jb("path",{
d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",wT,[...t[2]||(t[2]=[Jb("path",{
d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H120a8,8,0,0,0,0,16h24V88a8,8,0,0,0,8,8h48v40a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",xT,[...t[3]||(t[3]=[Jb("path",{
d:"M78,224a6,6,0,0,1-6,6H56a14,14,0,0,1-14-14V184a6,6,0,0,1,12,0v32a2,2,0,0,0,2,2H72A6,6,0,0,1,78,224ZM214,88v48a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H120a6,6,0,0,1,0-12h32a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.51L158,46.49ZM80,26H56A14,14,0,0,0,42,40V64a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2H80a6,6,0,0,0,0-12ZM208,170a6,6,0,0,0-6,6v40a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V176A6,6,0,0,0,208,170ZM48,150a6,6,0,0,0,6-6V104a6,6,0,0,0-12,0v40A6,6,0,0,0,48,150Zm104,68H112a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",kT,[...t[4]||(t[4]=[Jb("path",{
d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",ST,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),AT={key:0},TT={key:1},ET={key:2},CT={key:3
},$T={key:4},PT={key:5},IT=Hg({name:"ScalarIconFileMd",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",AT,[...t[0]||(t[0]=[Jb("path",{
d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",TT,[...t[1]||(t[1]=[Jb("path",{
d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",ET,[...t[2]||(t[2]=[Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",CT,[...t[3]||(t[3]=[Jb("path",{
d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",$T,[...t[4]||(t[4]=[Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",PT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),DT={key:0},MT={key:1},NT={key:2},RT={key:3
},LT={key:4},BT={key:5},jT=Hg({name:"ScalarIconFileText",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",DT,[...t[0]||(t[0]=[Jb("path",{
d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",MT,[...t[1]||(t[1]=[Jb("path",{
d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",NT,[...t[2]||(t[2]=[Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",RT,[...t[3]||(t[3]=[Jb("path",{
d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",LT,[...t[4]||(t[4]=[Jb("path",{
d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",BT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),UT={key:0},zT={key:1},ZT={key:2},FT={key:3
},HT={key:4},QT={key:5},VT=Hg({name:"ScalarIconGavel",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",UT,[...t[0]||(t[0]=[Jb("path",{
d:"M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",zT,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",ZT,[...t[2]||(t[2]=[Jb("path",{
d:"M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",FT,[...t[3]||(t[3]=[Jb("path",{
d:"M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",HT,[...t[4]||(t[4]=[Jb("path",{
d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",QT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),qT={key:0},WT={key:1},XT={key:2},GT={key:3
},YT={key:4},KT={key:5},JT=Hg({name:"ScalarIconGear",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",qT,[...t[0]||(t[0]=[Jb("path",{
d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",WT,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",XT,[...t[2]||(t[2]=[Jb("path",{
d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",GT,[...t[3]||(t[3]=[Jb("path",{
d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",YT,[...t[4]||(t[4]=[Jb("path",{
d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",KT,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),eE={key:0},tE={key:1},nE={key:2},rE={key:3
},aE={key:4},oE={key:5},iE=Hg({name:"ScalarIconGitBranch",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",eE,[...t[0]||(t[0]=[Jb("path",{
d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",tE,[...t[1]||(t[1]=[Jb("path",{
d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",nE,[...t[2]||(t[2]=[Jb("path",{
d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",rE,[...t[3]||(t[3]=[Jb("path",{
d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",aE,[...t[4]||(t[4]=[Jb("path",{
d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",oE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),sE={key:0},lE={key:1},cE={key:2},uE={key:3
},dE={key:4},pE={key:5},hE=Hg({name:"ScalarIconGithubLogo",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",sE,[...t[0]||(t[0]=[Jb("path",{
d:"M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",lE,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",cE,[...t[2]||(t[2]=[Jb("path",{
d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",uE,[...t[3]||(t[3]=[Jb("path",{
d:"M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",dE,[...t[4]||(t[4]=[Jb("path",{
d:"M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",pE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),fE={key:0},mE={key:1},gE={key:2},vE={key:3
},bE={key:4},yE={key:5},OE=Hg({name:"ScalarIconGlobe",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",fE,[...t[0]||(t[0]=[Jb("path",{
d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",mE,[...t[1]||(t[1]=[Jb("path",{
d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",gE,[...t[2]||(t[2]=[Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",vE,[...t[3]||(t[3]=[Jb("path",{
d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",bE,[...t[4]||(t[4]=[Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",yE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),wE={key:0},xE={key:1},kE={key:2},SE={key:3
},_E={key:4},AE={key:5},TE=Hg({name:"ScalarIconGlobeSimple",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",wE,[...t[0]||(t[0]=[Jb("path",{
d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",xE,[...t[1]||(t[1]=[Jb("path",{
d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",kE,[...t[2]||(t[2]=[Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",SE,[...t[3]||(t[3]=[Jb("path",{
d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",_E,[...t[4]||(t[4]=[Jb("path",{
d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",AE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),EE={key:0},CE={key:1},$E={key:2},PE={key:3
},IE={key:4},DE={key:5},ME=Hg({name:"ScalarIconHash",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",EE,[...t[0]||(t[0]=[Jb("path",{
d:"M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",CE,[...t[1]||(t[1]=[Jb("path",{
d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",$E,[...t[2]||(t[2]=[Jb("path",{
d:"M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",PE,[...t[3]||(t[3]=[Jb("path",{
d:"M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",IE,[...t[4]||(t[4]=[Jb("path",{
d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",DE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),NE={key:0},RE={key:1},LE={key:2},BE={key:3
},jE={key:4},UE={key:5},zE=Hg({name:"ScalarIconHouse",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",NE,[...t[0]||(t[0]=[Jb("path",{
d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",RE,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",LE,[...t[2]||(t[2]=[Jb("path",{
d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",BE,[...t[3]||(t[3]=[Jb("path",{
d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",jE,[...t[4]||(t[4]=[Jb("path",{
d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",UE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),ZE={key:0},FE={key:1},HE={key:2},QE={key:3
},VE={key:4},qE={key:5},WE=Hg({name:"ScalarIconInfo",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",ZE,[...t[0]||(t[0]=[Jb("path",{
d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",FE,[...t[1]||(t[1]=[Jb("path",{
d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",HE,[...t[2]||(t[2]=[Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",QE,[...t[3]||(t[3]=[Jb("path",{
d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",VE,[...t[4]||(t[4]=[Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",qE,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),XE={key:0},GE={key:1},YE={key:2},KE={key:3
},JE={key:4},eC={key:5},tC=Hg({name:"ScalarIconLink",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",XE,[...t[0]||(t[0]=[Jb("path",{
d:"M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",GE,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",YE,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",KE,[...t[3]||(t[3]=[Jb("path",{
d:"M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",JE,[...t[4]||(t[4]=[Jb("path",{
d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",eC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),nC={key:0},rC={key:1},aC={key:2},oC={key:3
},iC={key:4},sC={key:5},lC=Hg({name:"ScalarIconList",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",nC,[...t[0]||(t[0]=[Jb("path",{
d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",rC,[...t[1]||(t[1]=[Jb("path",{
d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",aC,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",oC,[...t[3]||(t[3]=[Jb("path",{
d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",iC,[...t[4]||(t[4]=[Jb("path",{
d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",sC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),cC={key:0},uC={key:1},dC={key:2},pC={key:3
},hC={key:4},fC={key:5},mC=Hg({name:"ScalarIconLockSimple",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",cC,[...t[0]||(t[0]=[Jb("path",{
d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",uC,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",dC,[...t[2]||(t[2]=[Jb("path",{
d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",pC,[...t[3]||(t[3]=[Jb("path",{
d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",hC,[...t[4]||(t[4]=[Jb("path",{
d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",fC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),gC={key:0},vC={key:1},bC={key:2},yC={key:3
},OC={key:4},wC={key:5},xC=Hg({name:"ScalarIconMagnifyingGlass",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",gC,[...t[0]||(t[0]=[Jb("path",{
d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",vC,[...t[1]||(t[1]=[Jb("path",{
d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",bC,[...t[2]||(t[2]=[Jb("path",{
d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",yC,[...t[3]||(t[3]=[Jb("path",{
d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",OC,[...t[4]||(t[4]=[Jb("path",{
d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",wC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),kC={key:0},SC={key:1},_C={key:2},AC={key:3
},TC={key:4},EC={key:5},CC=Hg({name:"ScalarIconNotepad",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",kC,[...t[0]||(t[0]=[Jb("path",{
d:"M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V40A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",SC,[...t[1]||(t[1]=[Jb("path",{
d:"M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",_C,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",AC,[...t[3]||(t[3]=[Jb("path",{
d:"M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",TC,[...t[4]||(t[4]=[Jb("path",{
d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",EC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),$C={key:0},PC={key:1},IC={key:2},DC={key:3
},MC={key:4},NC={key:5},RC=Hg({name:"ScalarIconPencilSimple",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",$C,[...t[0]||(t[0]=[Jb("path",{
d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",PC,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",IC,[...t[2]||(t[2]=[Jb("path",{
d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",DC,[...t[3]||(t[3]=[Jb("path",{
d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",MC,[...t[4]||(t[4]=[Jb("path",{
d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",NC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),LC={key:0},BC={key:1},jC={key:2},UC={key:3
},zC={key:4},ZC={key:5},FC=Hg({name:"ScalarIconPlay",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",LC,[...t[0]||(t[0]=[Jb("path",{
d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",BC,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",jC,[...t[2]||(t[2]=[Jb("path",{
d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",UC,[...t[3]||(t[3]=[Jb("path",{
d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",zC,[...t[4]||(t[4]=[Jb("path",{
d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",ZC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),HC={key:0},QC={key:1},VC={key:2},qC={key:3
},WC={key:4},XC={key:5},GC=Hg({name:"ScalarIconPlus",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",HC,[...t[0]||(t[0]=[Jb("path",{
d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",QC,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",VC,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",qC,[...t[3]||(t[3]=[Jb("path",{
d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",WC,[...t[4]||(t[4]=[Jb("path",{
d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",XC,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),YC={key:0},KC={key:1},JC={key:2},e$={key:3
},t$={key:4},n$={key:5},r$=Hg({name:"ScalarIconScroll",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",YC,[...t[0]||(t[0]=[Jb("path",{
d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",KC,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",JC,[...t[2]||(t[2]=[Jb("path",{
d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",e$,[...t[3]||(t[3]=[Jb("path",{
d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",t$,[...t[4]||(t[4]=[Jb("path",{
d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",n$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),a$={key:0},o$={key:1},i$={key:2},s$={key:3
},l$={key:4},c$={key:5},u$=Hg({name:"ScalarIconSparkle",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",a$,[...t[0]||(t[0]=[Jb("path",{
d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",o$,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",i$,[...t[2]||(t[2]=[Jb("path",{
d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",s$,[...t[3]||(t[3]=[Jb("path",{
d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",l$,[...t[4]||(t[4]=[Jb("path",{
d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",c$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),d$={key:0},p$={key:1},h$={key:2},f$={key:3
},m$={key:4},g$={key:5},v$=Hg({name:"ScalarIconSwap",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",d$,[...t[0]||(t[0]=[Jb("path",{
d:"M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",p$,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",h$,[...t[2]||(t[2]=[Jb("path",{
d:"M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",f$,[...t[3]||(t[3]=[Jb("path",{
d:"M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",m$,[...t[4]||(t[4]=[Jb("path",{
d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",g$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),b$={key:0},y$={key:1},O$={key:2},w$={key:3
},x$={key:4},k$={key:5},S$=Hg({name:"ScalarIconTag",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",b$,[...t[0]||(t[0]=[Jb("path",{
d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",y$,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",O$,[...t[2]||(t[2]=[Jb("path",{
d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",w$,[...t[3]||(t[3]=[Jb("path",{
d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",x$,[...t[4]||(t[4]=[Jb("path",{
d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",k$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),_$={key:0},A$={key:1},T$={key:2},E$={key:3
},C$={key:4},$$={key:5},P$=Hg({name:"ScalarIconTerminalWindow",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",_$,[...t[0]||(t[0]=[Jb("path",{
d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",A$,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",T$,[...t[2]||(t[2]=[Jb("path",{
d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",E$,[...t[3]||(t[3]=[Jb("path",{
d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",C$,[...t[4]||(t[4]=[Jb("path",{
d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",$$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),I$={key:0},D$={key:1},M$={key:2},N$={key:3
},R$={key:4},L$={key:5},B$=Hg({name:"ScalarIconTextAlignLeft",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",I$,[...t[0]||(t[0]=[Jb("path",{
d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",D$,[...t[1]||(t[1]=[Jb("path",{
d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),Jb("path",{
d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",M$,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",N$,[...t[3]||(t[3]=[Jb("path",{
d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",R$,[...t[4]||(t[4]=[Jb("path",{
d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",L$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),j$={key:0},U$={key:1},z$={key:2},Z$={key:3
},F$={key:4},H$={key:5},Q$=Hg({name:"ScalarIconTrash",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",j$,[...t[0]||(t[0]=[Jb("path",{
d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",U$,[...t[1]||(t[1]=[Jb("path",{
d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",z$,[...t[2]||(t[2]=[Jb("path",{
d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",Z$,[...t[3]||(t[3]=[Jb("path",{
d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",F$,[...t[4]||(t[4]=[Jb("path",{
d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",H$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),V$={key:0},q$={key:1},W$={key:2},X$={key:3
},G$={key:4},Y$={key:5},K$=Hg({name:"ScalarIconUpload",props:{label:{},weight:{}
},setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",V$,[...t[0]||(t[0]=[Jb("path",{
d:"M188,184a16,16,0,1,1,16-16A16,16,0,0,1,188,184Zm36-68H180a12,12,0,0,0,0,24h40v56H36V140H76a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116ZM88.49,80.49,116,53v75a12,12,0,0,0,24,0V53l27.51,27.52a12,12,0,1,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,1,0,17,17Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",q$,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",W$,[...t[2]||(t[2]=[Jb("path",{
d:"M74.34,77.66a8,8,0,0,1,0-11.32l48-48a8,8,0,0,1,11.32,0l48,48a8,8,0,0,1-11.32,11.32L136,43.31V128a8,8,0,0,1-16,0V43.31L85.66,77.66A8,8,0,0,1,74.34,77.66ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16h68a4,4,0,0,1,4,4v3.46c0,13.45,11,24.79,24.46,24.54A24,24,0,0,0,152,128v-4a4,4,0,0,1,4-4h68A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",X$,[...t[3]||(t[3]=[Jb("path",{
d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H80a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H176a6,6,0,0,1,0-12h48A14,14,0,0,1,238,136ZM84.24,76.24,122,38.49V128a6,6,0,0,0,12,0V38.49l37.76,37.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",G$,[...t[4]||(t[4]=[Jb("path",{
d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",Y$,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),J$={key:0},eP={key:1},tP={key:2},nP={key:3
},rP={key:4},aP={key:5},oP=Hg({name:"ScalarIconWarning",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",J$,[...t[0]||(t[0]=[Jb("path",{
d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",eP,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",tP,[...t[2]||(t[2]=[Jb("path",{
d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",nP,[...t[3]||(t[3]=[Jb("path",{
d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",rP,[...t[4]||(t[4]=[Jb("path",{
d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",aP,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),iP={key:0},sP={key:1},lP={key:2},cP={key:3
},uP={key:4},dP={key:5},pP=Hg({name:"ScalarIconWarningCircle",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",iP,[...t[0]||(t[0]=[Jb("path",{
d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",sP,[...t[1]||(t[1]=[Jb("path",{
d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",lP,[...t[2]||(t[2]=[Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",cP,[...t[3]||(t[3]=[Jb("path",{
d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",uP,[...t[4]||(t[4]=[Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",dP,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),hP={key:0},fP={key:1},mP={key:2},gP={key:3
},vP={key:4},bP={key:5},yP=Hg({name:"ScalarIconWarningOctagon",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",hP,[...t[0]||(t[0]=[Jb("path",{
d:"M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",fP,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",mP,[...t[2]||(t[2]=[Jb("path",{
d:"M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",gP,[...t[3]||(t[3]=[Jb("path",{
d:"M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",vP,[...t[4]||(t[4]=[Jb("path",{
d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",bP,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),OP={key:0},wP={key:1},xP={key:2},kP={key:3
},SP={key:4},_P={key:5},AP=Hg({name:"ScalarIconWebhooksLogo",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",OP,[...t[0]||(t[0]=[Jb("path",{
d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",wP,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",xP,[...t[2]||(t[2]=[Jb("path",{
d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",kP,[...t[3]||(t[3]=[Jb("path",{
d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",SP,[...t[4]||(t[4]=[Jb("path",{
d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",_P,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),TP={key:0},EP={key:1},CP={key:2},$P={key:3
},PP={key:4},IP={key:5},DP=Hg({name:"ScalarIconX",props:{label:{},weight:{}},
setup(e){const t=e,{bind:n,weight:r}=E_(t);return(e,t)=>(Fb(),qb("svg",cy({
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",TP,[...t[0]||(t[0]=[Jb("path",{
d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",EP,[...t[1]||(t[1]=[Jb("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),Jb("path",{
d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",CP,[...t[2]||(t[2]=[Jb("path",{
d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",$P,[...t[3]||(t[3]=[Jb("path",{
d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",PP,[...t[4]||(t[4]=[Jb("path",{
d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",IP,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),MP={key:0},NP={key:1},RP={key:2},LP={key:3
},BP={key:4},jP={key:5},UP=Hg({name:"ScalarIconXCircle",props:{label:{},
weight:{}},setup(e){const t=e,{bind:n,weight:r}=E_(t)
;return(e,t)=>(Fb(),qb("svg",cy({xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 256 256",fill:"currentColor"
},xm(n)),[Av(e.$slots,"default"),"bold"===xm(r)?(Fb(),
qb("g",MP,[...t[0]||(t[0]=[Jb("path",{
d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"
},null,-1)])])):"duotone"===xm(r)?(Fb(),qb("g",NP,[...t[1]||(t[1]=[Jb("path",{
d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"
},null,-1),Jb("path",{
d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"
},null,-1)])])):"fill"===xm(r)?(Fb(),qb("g",RP,[...t[2]||(t[2]=[Jb("path",{
d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
},null,-1)])])):"light"===xm(r)?(Fb(),qb("g",LP,[...t[3]||(t[3]=[Jb("path",{
d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"
},null,-1)])])):"regular"===xm(r)?(Fb(),qb("g",BP,[...t[4]||(t[4]=[Jb("path",{
d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"
},null,-1)])])):"thin"===xm(r)?(Fb(),qb("g",jP,[...t[5]||(t[5]=[Jb("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)])])):oy("",!0)],16))}}),zP=Hg({__name:"ScalarCheckbox",props:{
selected:{type:Boolean},type:{default:"checkbox"}},
setup:e=>(t,n)=>(Fb(),qb("div",{
class:Dh(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border","checkbox"===e.type?"rounded":"rounded-full"]])
},[e.selected?(Fb(),Wb(xm(LA),{key:0,class:"size-3",weight:"bold"
})):oy("",!0)],2))}),ZP=Symbol(),FP=Hg({inheritAttrs:!1,
__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){
const{cx:t}=h_(),n=ug(ZP,!1),r=d_({
base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 px-3 py-2.5 ","outline-offset-[-1px] has-[:focus-visible]:outline"],
variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",
false:"rounded border"},button:{true:"cursor-pointer hover:bg-b-2"}}})
;return(a,o)=>(Fb(),Wb(wv(e.is),cy({type:"button"===e.is?"button":void 0
},xm(t)(xm(r)({button:"button"===e.is,grouped:xm(n)}))),{
default:ig((()=>[Av(a.$slots,"default")])),_:3},16,["type"]))}}),HP={
class:"flex-1 text-left min-w-0 truncate"},QP=["type"],VP=Hg({inheritAttrs:!1,
__name:"ScalarCheckboxInput",props:Bv({type:{default:"checkbox"}},{modelValue:{
type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=h_()
;return(a,o)=>(Fb(),Wb(xm(FP),cy({is:"label"
},xm(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{
default:ig((()=>[ey(zP,{class:"shrink-0",selected:t.value,type:e.type
},null,8,["selected","type"]),Jb("div",HP,[Av(a.$slots,"default")]),sg(Jb("input",cy({
"onUpdate:modelValue":o[0]||(o[0]=e=>t.value=e),class:"sr-only",type:e.type
},xm(r)),null,16,QP),[[LO,t.value]])])),_:3},16))}}),qP=Hg({inheritAttrs:!1,
__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){
const{cx:t}=h_()
;return cg(ZP,!0),(n,r)=>(Fb(),Wb(wv(e.is),Mh(ty(xm(t)("flex flex-col border rounded divide-y"))),{
default:ig((()=>[Av(n.$slots,"default")])),_:3},16))}}),WP=Hg({
__name:"ScalarCheckboxRadioGroup",props:Bv({options:{default:()=>[]}},{
modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),n=Qg();return(r,a)=>(Fb(),Wb(xm(qP),null,{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.options,(e=>(Fb(),Wb(VP,{key:e.value,
modelValue:t.value?.value===e.value,name:xm(n),type:"radio",value:e.value,
"onUpdate:modelValue":n=>t.value=n?e:void 0},{
default:ig((()=>[ry(Uh(e.label),1)])),_:2
},1032,["modelValue","name","value","onUpdate:modelValue"])))),128))])),_:1}))}
}),XP=Hg({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),
qb("div",Mh(ty(xm(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))
}});let GP=class{constructor(e,t,n){
this.property=e,this.normal=t,n&&(this.space=n)}};function YP(e,t){
const n={},r={};let a=-1
;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal)
;return new GP(n,r,t)}function KP(e){return e.toLowerCase()}
GP.prototype.property={},GP.prototype.normal={},GP.prototype.space=null
;let JP=class{constructor(e,t){this.property=e,this.attribute=t}}
;JP.prototype.space=null,
JP.prototype.boolean=!1,JP.prototype.booleanish=!1,JP.prototype.overloadedBoolean=!1,
JP.prototype.number=!1,
JP.prototype.commaSeparated=!1,JP.prototype.spaceSeparated=!1,
JP.prototype.commaOrSpaceSeparated=!1,
JP.prototype.mustUseProperty=!1,JP.prototype.defined=!1;let eI=0
;const tI=lI(),nI=lI(),rI=lI(),aI=lI(),oI=lI(),iI=lI(),sI=lI();function lI(){
return 2**++eI}const cI=Object.freeze(Object.defineProperty({__proto__:null,
boolean:tI,booleanish:nI,commaOrSpaceSeparated:sI,commaSeparated:iI,number:aI,
overloadedBoolean:rI,spaceSeparated:oI},Symbol.toStringTag,{value:"Module"
})),uI=Object.keys(cI);let dI=class extends JP{constructor(e,t,n,r){let a=-1
;if(super(e,t),pI(this,"space",r),"number"==typeof n)for(;++a<uI.length;){
const e=uI[a];pI(this,uI[a],(n&cI[e])===cI[e])}}};function pI(e,t,n){n&&(e[t]=n)
}dI.prototype.defined=!0;const hI={}.hasOwnProperty;function fI(e){
const t={},n={};let r;for(r in e.properties)if(hI.call(e.properties,r)){
const a=e.properties[r],o=new dI(r,e.transform(e.attributes||{},r),a,e.space)
;e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),
t[r]=o,n[KP(r)]=r,n[KP(o.attribute)]=r}return new GP(t,n,e.space)}const mI=fI({
space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{
xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,
xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gI=fI({space:"xml",
transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,
xmlBase:null,xmlSpace:null}});function vI(e,t){return t in e?e[t]:t}
function bI(e,t){return vI(e,t.toLowerCase())}const yI=fI({space:"xmlns",
attributes:{xmlnsxlink:"xmlns:xlink"},transform:bI,properties:{xmlns:null,
xmlnsXLink:null}}),OI=fI({
transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{
ariaActiveDescendant:null,ariaAtomic:nI,ariaAutoComplete:null,ariaBusy:nI,
ariaChecked:nI,ariaColCount:aI,ariaColIndex:aI,ariaColSpan:aI,ariaControls:oI,
ariaCurrent:null,ariaDescribedBy:oI,ariaDetails:null,ariaDisabled:nI,
ariaDropEffect:oI,ariaErrorMessage:null,ariaExpanded:nI,ariaFlowTo:oI,
ariaGrabbed:nI,ariaHasPopup:null,ariaHidden:nI,ariaInvalid:null,
ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oI,ariaLevel:aI,
ariaLive:null,ariaModal:nI,ariaMultiLine:nI,ariaMultiSelectable:nI,
ariaOrientation:null,ariaOwns:oI,ariaPlaceholder:null,ariaPosInSet:aI,
ariaPressed:nI,ariaReadOnly:nI,ariaRelevant:null,ariaRequired:nI,
ariaRoleDescription:oI,ariaRowCount:aI,ariaRowIndex:aI,ariaRowSpan:aI,
ariaSelected:nI,ariaSetSize:aI,ariaSort:null,ariaValueMax:aI,ariaValueMin:aI,
ariaValueNow:aI,ariaValueText:null,role:null}}),wI=fI({space:"html",attributes:{
acceptcharset:"accept-charset",classname:"class",htmlfor:"for",
httpequiv:"http-equiv"},transform:bI,
mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,
accept:iI,acceptCharset:oI,accessKey:oI,action:null,allow:null,
allowFullScreen:tI,allowPaymentRequest:tI,allowUserMedia:tI,alt:null,as:null,
async:tI,autoCapitalize:null,autoComplete:oI,autoFocus:tI,autoPlay:tI,
blocking:oI,capture:null,charSet:null,checked:tI,cite:null,className:oI,cols:aI,
colSpan:null,content:null,contentEditable:nI,controls:tI,controlsList:oI,
coords:aI|iI,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tI,
defer:tI,dir:null,dirName:null,disabled:tI,download:rI,draggable:nI,
encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,
formEncType:null,formMethod:null,formNoValidate:tI,formTarget:null,headers:oI,
height:aI,hidden:tI,high:aI,href:null,hrefLang:null,htmlFor:oI,httpEquiv:oI,
id:null,imageSizes:null,imageSrcSet:null,inert:tI,inputMode:null,integrity:null,
is:null,isMap:tI,itemId:null,itemProp:oI,itemRef:oI,itemScope:tI,itemType:oI,
kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tI,
low:aI,manifest:null,max:null,maxLength:aI,media:null,method:null,min:null,
minLength:aI,multiple:tI,muted:tI,name:null,nonce:null,noModule:tI,
noValidate:tI,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:tI,
optimum:aI,pattern:null,ping:oI,placeholder:null,playsInline:tI,popover:null,
popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,
readOnly:tI,referrerPolicy:null,rel:oI,required:tI,reversed:tI,rows:aI,
rowSpan:aI,sandbox:oI,scope:null,scoped:tI,seamless:tI,selected:tI,
shadowRootClonable:tI,shadowRootDelegatesFocus:tI,shadowRootMode:null,
shape:null,size:aI,sizes:null,slot:null,span:aI,spellCheck:nI,src:null,
srcDoc:null,srcLang:null,srcSet:null,start:aI,step:null,style:null,tabIndex:aI,
target:null,title:null,translate:null,type:null,typeMustMatch:tI,useMap:null,
value:nI,width:aI,wrap:null,writingSuggestions:null,align:null,aLink:null,
archive:oI,axis:null,background:null,bgColor:null,border:aI,borderColor:null,
bottomMargin:aI,cellPadding:null,cellSpacing:null,char:null,charOff:null,
classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,
compact:tI,declare:tI,event:null,face:null,frame:null,frameBorder:null,
hSpace:aI,leftMargin:aI,link:null,longDesc:null,lowSrc:null,marginHeight:aI,
marginWidth:aI,noResize:tI,noHref:tI,noShade:tI,noWrap:tI,object:null,
profile:null,prompt:null,rev:null,rightMargin:aI,rules:null,scheme:null,
scrolling:nI,standby:null,summary:null,text:null,topMargin:aI,valueType:null,
version:null,vAlign:null,vLink:null,vSpace:aI,allowTransparency:null,
autoCorrect:null,autoSave:null,disablePictureInPicture:tI,
disableRemotePlayback:tI,prefix:null,property:null,results:aI,security:null,
unselectable:null}}),xI=fI({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:vI,properties:{about:sI,
accentHeight:aI,accumulate:null,additive:null,alignmentBaseline:null,
alphabetic:aI,amplitude:aI,arabicForm:null,ascent:aI,attributeName:null,
attributeType:null,azimuth:aI,bandwidth:null,baselineShift:null,
baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:aI,by:null,
calcMode:null,capHeight:aI,className:oI,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:aI,
diffuseConstant:aI,direction:null,display:null,dur:null,divisor:aI,
dominantBaseline:null,download:tI,dx:null,dy:null,edgeMode:null,editable:null,
elevation:aI,enableBackground:null,end:null,event:null,exponent:aI,
externalResourcesRequired:null,fill:null,fillOpacity:aI,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:iI,g2:iI,
glyphName:iI,glyphOrientationHorizontal:null,glyphOrientationVertical:null,
glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:aI,
hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,
horizAdvX:aI,horizOriginX:aI,horizOriginY:aI,id:null,ideographic:aI,
imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:aI,k:aI,
k1:aI,k2:aI,k3:aI,k4:aI,kernelMatrix:sI,kernelUnitLength:null,keyPoints:null,
keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,
letterSpacing:null,lightingColor:null,limitingConeAngle:aI,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:aI,
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:aI,
overlineThickness:aI,paintOrder:null,panose1:null,path:null,pathLength:aI,
patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,
ping:oI,pitch:null,playbackOrder:null,pointerEvents:null,points:null,
pointsAtX:aI,pointsAtY:aI,pointsAtZ:aI,preserveAlpha:null,
preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sI,r:null,
radius:null,referrerPolicy:null,refX:null,refY:null,rel:sI,rev:sI,
renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sI,
requiredFeatures:sI,requiredFonts:sI,requiredFormats:sI,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:aI,
specularExponent:aI,spreadMethod:null,spacing:null,startOffset:null,
stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,
stopOpacity:null,strikethroughPosition:aI,strikethroughThickness:aI,string:null,
stroke:null,strokeDashArray:sI,strokeDashOffset:null,strokeLineCap:null,
strokeLineJoin:null,strokeMiterLimit:aI,strokeOpacity:aI,strokeWidth:null,
style:null,surfaceScale:aI,syncBehavior:null,syncBehaviorDefault:null,
syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sI,
tabIndex:aI,tableValues:null,target:null,targetX:aI,targetY:aI,textAnchor:null,
textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,
title:null,transformBehavior:null,type:null,typeOf:sI,to:null,transform:null,
transformOrigin:null,u1:null,u2:null,underlinePosition:aI,underlineThickness:aI,
unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:aI,values:null,
vAlphabetic:aI,vMathematical:aI,vectorEffect:null,vHanging:aI,vIdeographic:aI,
version:null,vertAdvY:aI,vertOriginX:aI,vertOriginY:aI,viewBox:null,
viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,
writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:aI,y:null,
y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}
}),kI=/^data[-\w.:]+$/i,SI=/-[a-z]/g,_I=/[A-Z]/g;function AI(e,t){const n=KP(t)
;let r=t,a=JP;if(n in e.normal)return e.property[e.normal[n]]
;if(n.length>4&&"data"===n.slice(0,4)&&kI.test(t)){if("-"===t.charAt(4)){
const e=t.slice(5).replace(SI,EI);r="data"+e.charAt(0).toUpperCase()+e.slice(1)
}else{const e=t.slice(4);if(!SI.test(e)){let n=e.replace(_I,TI)
;"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=dI}return new a(r,t)}function TI(e){
return"-"+e.toLowerCase()}function EI(e){return e.charAt(1).toUpperCase()}
const CI=YP([gI,mI,yI,OI,wI],"html"),$I=YP([gI,mI,yI,OI,xI],"svg")
;function PI(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,o=!1
;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(a,r).trim()
;!e&&o||t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function II(e,t){
const n=t||{}
;return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()
}const DI=/[#.]/g;function MI(e){const t=String(e||"").trim()
;return t?t.split(/[ \t\n\r\f]+/g):[]}function NI(e){return e.join(" ").trim()}
const RI=new Set(["button","menu","reset","submit"]),LI={}.hasOwnProperty
;function BI(e,t,n){const r=n&&function(e){const t={};let n=-1
;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n)
;return function(n,a,...o){let i,s=-1;if(null==n){i={type:"root",children:[]}
;const e=a;o.unshift(e)}else if(i=function(e,t){const n=e||"",r={};let a,o,i=0
;for(;i<n.length;){DI.lastIndex=i
;const e=DI.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:[]}
}(n,t),i.tagName=i.tagName.toLowerCase(),r&&LI.call(r,i.tagName)&&(i.tagName=r[i.tagName]),
function(e,t){if(null==e||"object"!=typeof e||Array.isArray(e))return!1
;if("input"===t||!e.type||"string"!=typeof e.type)return!0
;if("children"in e&&Array.isArray(e.children))return!1
;if("button"===t)return RI.has(e.type.toLowerCase());return!("value"in e)
}(a,i.tagName)){let t;for(t in a)LI.call(a,t)&&jI(e,i.properties,t,a[t])
}else o.unshift(a);for(;++s<o.length;)UI(i.children,o[s])
;return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",
children:i.children},i.children=[]),i}}function jI(e,t,n,r){const a=AI(e,n)
;let o,i=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r
}else o="boolean"==typeof r?r:"string"==typeof r?a.spaceSeparated?MI(r):a.commaSeparated?PI(r):a.commaOrSpaceSeparated?MI(PI(r).join(" ")):zI(a,a.property,r):Array.isArray(r)?r.concat():"style"===a.property?function(e){
const t=[];let n;for(n in e)LI.call(e,n)&&t.push([n,e[n]].join(": "))
;return t.join("; ")}(r):String(r);if(Array.isArray(o)){const e=[]
;for(;++i<o.length;){const t=zI(a,a.property,o[i]);e[i]=t}o=e}
if("className"===a.property&&Array.isArray(t.className)){const e=o
;o=t.className.concat(e)}t[a.property]=o}}function UI(e,t){let n=-1
;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",
value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)UI(e,t[n]);else{
if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`")
;"root"===t.type?UI(e,t.children):e.push(t)}}function zI(e,t,n){
if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n)
;if((e.boolean||e.overloadedBoolean)&&(""===n||KP(n)===KP(t)))return!0}return n}
const ZI=BI(CI,"div"),FI=BI($I,"g",["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"]),HI=/\r?\n|\r/g
;const QI={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/"},VI={}.hasOwnProperty,qI=Object.prototype
;function WI(e,t){const n=t||{};return XI({file:n.file||void 0,location:!1,
schema:"svg"===n.space?$I:CI,verbose:n.verbose||!1},e)}function XI(e,t){let n
;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",
value:r.data},YI(e,r,n),n}case"#document":case"#document-fragment":{
const r=t,a="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={
type:"root",children:GI(e,t.childNodes),data:{quirksMode:a}
},e.file&&e.location){const t=String(e.file),r=function(e){
const t=String(e),n=[];for(HI.lastIndex=0;HI.test(t);)n.push(HI.lastIndex)
;return n.push(t.length+1),{toPoint:function(e){let t=-1
;if("number"==typeof e&&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}},toOffset:function(e){
const t=e&&e.line,r=e&&e.column
;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){
const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}
}(t),a=r.toPoint(0),o=r.toPoint(t.length);n.position={start:a,end:o}}return n}
case"#documentType":return n={type:"doctype"},YI(e,t,n),n;case"#text":{const r=t
;return n={type:"text",value:r.value},YI(e,r,n),n}default:
return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===QI.svg?$I:CI
;let r=-1;const a={};for(;++r<t.attrs.length;){
const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name
;VI.call(qI,n)||(a[n]=e.value)}
const o="svg"===e.schema.space?FI:ZI,i=o(t.tagName,a,GI(e,t.childNodes))
;if(YI(e,t,i),"template"===i.tagName){
const n=t,r=n.sourceCodeLocation,a=r&&r.startTag&&KI(r.startTag),o=r&&r.endTag&&KI(r.endTag),s=XI(e,n.content)
;a&&o&&e.file&&(s.position={start:a.end,end:o.start}),i.content=s}
return e.schema=n,i}(e,t),n}}function GI(e,t){let n=-1;const r=[]
;for(;++n<t.length;){const a=XI(e,t[n]);r.push(a)}return r}function YI(e,t,n){
if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){
const r=function(e,t,n){const r=KI(n);if("element"===t.type){
const a=t.children[t.children.length-1]
;if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),
e.verbose){const r={};let a
;if(n.attrs)for(a in n.attrs)VI.call(n.attrs,a)&&(r[AI(e.schema,a).property]=KI(n.attrs[a]))
;n.startTag;const o=KI(n.startTag),i=n.endTag?KI(n.endTag):void 0,s={opening:o}
;i&&(s.closing=i),s.properties=r,t.data={position:s}}}return r
}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function KI(e){
const t=JI({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=JI({
line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n
}:void 0}function JI(e){return e.line&&e.column?e:void 0}
const eD=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]),tD="�"
;var nD,rD
;(rD=nD||(nD={}))[rD.EOF=-1]="EOF",rD[rD.NULL=0]="NULL",rD[rD.TABULATION=9]="TABULATION",
rD[rD.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",
rD[rD.LINE_FEED=10]="LINE_FEED",rD[rD.FORM_FEED=12]="FORM_FEED",
rD[rD.SPACE=32]="SPACE",
rD[rD.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",rD[rD.QUOTATION_MARK=34]="QUOTATION_MARK",
rD[rD.AMPERSAND=38]="AMPERSAND",
rD[rD.APOSTROPHE=39]="APOSTROPHE",rD[rD.HYPHEN_MINUS=45]="HYPHEN_MINUS",
rD[rD.SOLIDUS=47]="SOLIDUS",
rD[rD.DIGIT_0=48]="DIGIT_0",rD[rD.DIGIT_9=57]="DIGIT_9",
rD[rD.SEMICOLON=59]="SEMICOLON",
rD[rD.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",rD[rD.EQUALS_SIGN=61]="EQUALS_SIGN",
rD[rD.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",
rD[rD.QUESTION_MARK=63]="QUESTION_MARK",
rD[rD.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",
rD[rD.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",
rD[rD.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",
rD[rD.GRAVE_ACCENT=96]="GRAVE_ACCENT",
rD[rD.LATIN_SMALL_A=97]="LATIN_SMALL_A",rD[rD.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"
;const aD="--",oD="[CDATA[",iD="doctype",sD="script",lD="public",cD="system"
;function uD(e){return e>=55296&&e<=57343}function dD(e){
return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}
function pD(e){return e>=64976&&e<=65007||eD.has(e)}var hD,fD
;(fD=hD||(hD={})).controlCharacterInInputStream="control-character-in-input-stream",
fD.noncharacterInInputStream="noncharacter-in-input-stream",
fD.surrogateInInputStream="surrogate-in-input-stream",
fD.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",
fD.endTagWithAttributes="end-tag-with-attributes",
fD.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",
fD.unexpectedSolidusInTag="unexpected-solidus-in-tag",
fD.unexpectedNullCharacter="unexpected-null-character",
fD.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",
fD.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",
fD.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",
fD.missingEndTagName="missing-end-tag-name",
fD.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",
fD.unknownNamedCharacterReference="unknown-named-character-reference",
fD.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",
fD.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",
fD.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",
fD.eofBeforeTagName="eof-before-tag-name",
fD.eofInTag="eof-in-tag",fD.missingAttributeValue="missing-attribute-value",
fD.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",
fD.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",
fD.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",
fD.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",
fD.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",
fD.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",
fD.missingDoctypePublicIdentifier="missing-doctype-public-identifier",
fD.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",
fD.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",
fD.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",
fD.cdataInHtmlContent="cdata-in-html-content",
fD.incorrectlyOpenedComment="incorrectly-opened-comment",
fD.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",
fD.eofInDoctype="eof-in-doctype",
fD.nestedComment="nested-comment",fD.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",
fD.eofInComment="eof-in-comment",
fD.incorrectlyClosedComment="incorrectly-closed-comment",
fD.eofInCdata="eof-in-cdata",
fD.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",
fD.nullCharacterReference="null-character-reference",
fD.surrogateCharacterReference="surrogate-character-reference",
fD.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",
fD.controlCharacterReference="control-character-reference",
fD.noncharacterCharacterReference="noncharacter-character-reference",
fD.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",
fD.missingDoctypeName="missing-doctype-name",
fD.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",
fD.duplicateAttribute="duplicate-attribute",
fD.nonConformingDoctype="non-conforming-doctype",
fD.missingDoctype="missing-doctype",
fD.misplacedDoctype="misplaced-doctype",fD.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",
fD.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",
fD.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",
fD.openElementsLeftAfterEof="open-elements-left-after-eof",
fD.abandonedHeadElementChild="abandoned-head-element-child",
fD.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",
fD.nestedNoscriptInHead="nested-noscript-in-head",
fD.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"
;class mD{constructor(e){
this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,
this.gapStack=[],this.skipNextNewLine=!1,
this.lastChunkWritten=!1,this.endOfChunkHit=!1,
this.bufferWaterline=65536,this.isEol=!1,
this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}
get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}
get offset(){return this.droppedBufferSize+this.pos}getError(e,t){
const{line:n,col:r,offset:a}=this,o=r+t,i=a+t;return{code:e,startLine:n,
endLine:n,startCol:o,endCol:o,startOffset:i,endOffset:i}}_err(e){
this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,
this.handler.onParseError(this.getError(e,0)))}_addGap(){
this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}
_processSurrogate(e){if(this.pos!==this.html.length-1){
const t=this.html.charCodeAt(this.pos+1);if(function(e){
return e>=56320&&e<=57343
}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t
}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,nD.EOF
;return this._err(hD.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 n=0;n<e.length;n++){
if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1}return!0}
peek(e){const t=this.pos+e
;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,nD.EOF
;const n=this.html.charCodeAt(t);return n===nD.CARRIAGE_RETURN?nD.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,
nD.EOF;let e=this.html.charCodeAt(this.pos)
;if(e===nD.CARRIAGE_RETURN)return this.isEol=!0,
this.skipNextNewLine=!0,nD.LINE_FEED
;if(e===nD.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,
this.skipNextNewLine=!1,this._addGap(),this.advance()
;this.skipNextNewLine=!1,uD(e)&&(e=this._processSurrogate(e))
;return null===this.handler.onParseError||e>31&&e<127||e===nD.LINE_FEED||e===nD.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),
e}_checkForProblematicCharacters(e){
dD(e)?this._err(hD.controlCharacterInInputStream):pD(e)&&this._err(hD.noncharacterInInputStream)
}retreat(e){
for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),
this.pos--;this.isEol=!1}}var gD,vD;function bD(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}
(vD=gD||(gD={}))[vD.CHARACTER=0]="CHARACTER",vD[vD.NULL_CHARACTER=1]="NULL_CHARACTER",
vD[vD.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",
vD[vD.START_TAG=3]="START_TAG",
vD[vD.END_TAG=4]="END_TAG",vD[vD.COMMENT=5]="COMMENT",
vD[vD.DOCTYPE=6]="DOCTYPE",vD[vD.EOF=7]="EOF",vD[vD.HIBERNATION=8]="HIBERNATION"
;const yD=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肻 ଷ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)))),OD=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]])
;var wD,xD
;(xD=wD||(wD={}))[xD.NUM=35]="NUM",xD[xD.SEMI=59]="SEMI",xD[xD.EQUALS=61]="EQUALS",
xD[xD.ZERO=48]="ZERO",
xD[xD.NINE=57]="NINE",xD[xD.LOWER_A=97]="LOWER_A",xD[xD.LOWER_F=102]="LOWER_F",
xD[xD.LOWER_X=120]="LOWER_X",
xD[xD.LOWER_Z=122]="LOWER_Z",xD[xD.UPPER_A=65]="UPPER_A",
xD[xD.UPPER_F=70]="UPPER_F",xD[xD.UPPER_Z=90]="UPPER_Z"
;var kD,SD,_D,AD,TD,ED,CD,$D,PD,ID,DD,MD,ND,RD,LD,BD;function jD(e){
return e>=wD.ZERO&&e<=wD.NINE}function UD(e){return e===wD.EQUALS||function(e){
return e>=wD.UPPER_A&&e<=wD.UPPER_Z||e>=wD.LOWER_A&&e<=wD.LOWER_Z||jD(e)}(e)}
(SD=kD||(kD={}))[SD.VALUE_LENGTH=49152]="VALUE_LENGTH",
SD[SD.BRANCH_LENGTH=16256]="BRANCH_LENGTH",
SD[SD.JUMP_TABLE=127]="JUMP_TABLE",(AD=_D||(_D={}))[AD.EntityStart=0]="EntityStart",
AD[AD.NumericStart=1]="NumericStart",
AD[AD.NumericDecimal=2]="NumericDecimal",AD[AD.NumericHex=3]="NumericHex",
AD[AD.NamedEntity=4]="NamedEntity",
(ED=TD||(TD={}))[ED.Legacy=0]="Legacy",ED[ED.Strict=1]="Strict",
ED[ED.Attribute=2]="Attribute";class zD{constructor(e,t,n){
this.decodeTree=e,this.emitCodePoint=t,
this.errors=n,this.state=_D.EntityStart,this.consumed=1,
this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=TD.Strict}
startEntity(e){
this.decodeMode=e,this.state=_D.EntityStart,this.result=0,this.treeIndex=0,
this.excess=1,this.consumed=1}write(e,t){switch(this.state){case _D.EntityStart:
return e.charCodeAt(t)===wD.NUM?(this.state=_D.NumericStart,
this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=_D.NamedEntity,
this.stateNamedEntity(e,t));case _D.NumericStart:
return this.stateNumericStart(e,t);case _D.NumericDecimal:
return this.stateNumericDecimal(e,t);case _D.NumericHex:
return this.stateNumericHex(e,t);case _D.NamedEntity:
return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){
return t>=e.length?-1:(32|e.charCodeAt(t))===wD.LOWER_X?(this.state=_D.NumericHex,
this.consumed+=1,
this.stateNumericHex(e,t+1)):(this.state=_D.NumericDecimal,this.stateNumericDecimal(e,t))
}addToNumericResult(e,t,n,r){if(t!==n){const a=n-t
;this.result=this.result*Math.pow(r,a)+Number.parseInt(e.substr(t,a),r),
this.consumed+=a}}stateNumericHex(e,t){const n=t;for(;t<e.length;){
const a=e.charCodeAt(t)
;if(!(jD(a)||(r=a,r>=wD.UPPER_A&&r<=wD.UPPER_F||r>=wD.LOWER_A&&r<=wD.LOWER_F)))return this.addToNumericResult(e,n,t,16),
this.emitNumericEntity(a,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),
-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t)
;if(!jD(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)
;t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n
;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;if(e===wD.SEMI)this.consumed+=1;else if(this.decodeMode===TD.Strict)return 0
;return this.emitCodePoint(function(e){var t
;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=OD.get(e))&&void 0!==t?t:e
}(this.result),this.consumed),
this.errors&&(e!==wD.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),
this.errors.validateNumericCharacterReference(this.result)),this.consumed}
stateNamedEntity(e,t){const{decodeTree:n}=this
;let r=n[this.treeIndex],a=(r&kD.VALUE_LENGTH)>>14
;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t)
;if(this.treeIndex=ZD(n,r,this.treeIndex+Math.max(1,a),o),
this.treeIndex<0)return 0===this.result||this.decodeMode===TD.Attribute&&(0===a||UD(o))?0:this.emitNotTerminatedNamedEntity()
;if(r=n[this.treeIndex],a=(r&kD.VALUE_LENGTH)>>14,0!==a){
if(o===wD.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess)
;this.decodeMode!==TD.Strict&&(this.result=this.treeIndex,
this.consumed+=this.excess,this.excess=0)}}return-1}
emitNotTerminatedNamedEntity(){var e
;const{result:t,decodeTree:n}=this,r=(n[t]&kD.VALUE_LENGTH)>>14
;return this.emitNamedEntityData(t,r,this.consumed),
null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),
this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this
;return this.emitCodePoint(1===t?r[e]&~kD.VALUE_LENGTH:r[e+1],n),
3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){
case _D.NamedEntity:
return 0===this.result||this.decodeMode===TD.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity()
;case _D.NumericDecimal:return this.emitNumericEntity(0,2);case _D.NumericHex:
return this.emitNumericEntity(0,3);case _D.NumericStart:
return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;case _D.EntityStart:return 0}}}function ZD(e,t,n,r){
const a=(t&kD.BRANCH_LENGTH)>>7,o=t&kD.JUMP_TABLE
;if(0===a)return 0!==o&&r===o?n:-1;if(o){const t=r-o
;return t<0||t>=a?-1:e[n+t]-1}let i=n,s=i+a-1;for(;i<=s;){const t=i+s>>>1,n=e[t]
;if(n<r)i=t+1;else{if(!(n>r))return e[t+a];s=t-1}}return-1}
($D=CD||(CD={})).HTML="http://www.w3.org/1999/xhtml",
$D.MATHML="http://www.w3.org/1998/Math/MathML",
$D.SVG="http://www.w3.org/2000/svg",
$D.XLINK="http://www.w3.org/1999/xlink",$D.XML="http://www.w3.org/XML/1998/namespace",
$D.XMLNS="http://www.w3.org/2000/xmlns/",
(ID=PD||(PD={})).TYPE="type",ID.ACTION="action",
ID.ENCODING="encoding",ID.PROMPT="prompt",
ID.NAME="name",ID.COLOR="color",ID.FACE="face",
ID.SIZE="size",(MD=DD||(DD={})).NO_QUIRKS="no-quirks",
MD.QUIRKS="quirks",MD.LIMITED_QUIRKS="limited-quirks",
(RD=ND||(ND={})).A="a",RD.ADDRESS="address",
RD.ANNOTATION_XML="annotation-xml",RD.APPLET="applet",
RD.AREA="area",RD.ARTICLE="article",
RD.ASIDE="aside",RD.B="b",RD.BASE="base",RD.BASEFONT="basefont",
RD.BGSOUND="bgsound",
RD.BIG="big",RD.BLOCKQUOTE="blockquote",RD.BODY="body",RD.BR="br",
RD.BUTTON="button",
RD.CAPTION="caption",RD.CENTER="center",RD.CODE="code",RD.COL="col",
RD.COLGROUP="colgroup",
RD.DD="dd",RD.DESC="desc",RD.DETAILS="details",RD.DIALOG="dialog",
RD.DIR="dir",RD.DIV="div",
RD.DL="dl",RD.DT="dt",RD.EM="em",RD.EMBED="embed",RD.FIELDSET="fieldset",
RD.FIGCAPTION="figcaption",RD.FIGURE="figure",RD.FONT="font",RD.FOOTER="footer",
RD.FOREIGN_OBJECT="foreignObject",
RD.FORM="form",RD.FRAME="frame",RD.FRAMESET="frameset",
RD.H1="h1",RD.H2="h2",RD.H3="h3",
RD.H4="h4",RD.H5="h5",RD.H6="h6",RD.HEAD="head",
RD.HEADER="header",RD.HGROUP="hgroup",
RD.HR="hr",RD.HTML="html",RD.I="i",RD.IMG="img",
RD.IMAGE="image",RD.INPUT="input",
RD.IFRAME="iframe",RD.KEYGEN="keygen",RD.LABEL="label",
RD.LI="li",RD.LINK="link",
RD.LISTING="listing",RD.MAIN="main",RD.MALIGNMARK="malignmark",
RD.MARQUEE="marquee",
RD.MATH="math",RD.MENU="menu",RD.META="meta",RD.MGLYPH="mglyph",
RD.MI="mi",RD.MO="mo",
RD.MN="mn",RD.MS="ms",RD.MTEXT="mtext",RD.NAV="nav",RD.NOBR="nobr",
RD.NOFRAMES="noframes",
RD.NOEMBED="noembed",RD.NOSCRIPT="noscript",RD.OBJECT="object",
RD.OL="ol",RD.OPTGROUP="optgroup",
RD.OPTION="option",RD.P="p",RD.PARAM="param",RD.PLAINTEXT="plaintext",
RD.PRE="pre",
RD.RB="rb",RD.RP="rp",RD.RT="rt",RD.RTC="rtc",RD.RUBY="ruby",RD.S="s",
RD.SCRIPT="script",
RD.SEARCH="search",RD.SECTION="section",RD.SELECT="select",RD.SOURCE="source",
RD.SMALL="small",
RD.SPAN="span",RD.STRIKE="strike",RD.STRONG="strong",RD.STYLE="style",
RD.SUB="sub",
RD.SUMMARY="summary",RD.SUP="sup",RD.TABLE="table",RD.TBODY="tbody",
RD.TEMPLATE="template",
RD.TEXTAREA="textarea",RD.TFOOT="tfoot",RD.TD="td",RD.TH="th",
RD.THEAD="thead",RD.TITLE="title",
RD.TR="tr",RD.TRACK="track",RD.TT="tt",RD.U="u",
RD.UL="ul",RD.SVG="svg",RD.VAR="var",
RD.WBR="wbr",RD.XMP="xmp",(BD=LD||(LD={}))[BD.UNKNOWN=0]="UNKNOWN",
BD[BD.A=1]="A",
BD[BD.ADDRESS=2]="ADDRESS",BD[BD.ANNOTATION_XML=3]="ANNOTATION_XML",
BD[BD.APPLET=4]="APPLET",
BD[BD.AREA=5]="AREA",BD[BD.ARTICLE=6]="ARTICLE",BD[BD.ASIDE=7]="ASIDE",
BD[BD.B=8]="B",
BD[BD.BASE=9]="BASE",BD[BD.BASEFONT=10]="BASEFONT",BD[BD.BGSOUND=11]="BGSOUND",
BD[BD.BIG=12]="BIG",
BD[BD.BLOCKQUOTE=13]="BLOCKQUOTE",BD[BD.BODY=14]="BODY",BD[BD.BR=15]="BR",
BD[BD.BUTTON=16]="BUTTON",BD[BD.CAPTION=17]="CAPTION",BD[BD.CENTER=18]="CENTER",
BD[BD.CODE=19]="CODE",
BD[BD.COL=20]="COL",BD[BD.COLGROUP=21]="COLGROUP",BD[BD.DD=22]="DD",
BD[BD.DESC=23]="DESC",
BD[BD.DETAILS=24]="DETAILS",BD[BD.DIALOG=25]="DIALOG",BD[BD.DIR=26]="DIR",
BD[BD.DIV=27]="DIV",
BD[BD.DL=28]="DL",BD[BD.DT=29]="DT",BD[BD.EM=30]="EM",BD[BD.EMBED=31]="EMBED",
BD[BD.FIELDSET=32]="FIELDSET",
BD[BD.FIGCAPTION=33]="FIGCAPTION",BD[BD.FIGURE=34]="FIGURE",
BD[BD.FONT=35]="FONT",
BD[BD.FOOTER=36]="FOOTER",BD[BD.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",
BD[BD.FORM=38]="FORM",
BD[BD.FRAME=39]="FRAME",BD[BD.FRAMESET=40]="FRAMESET",BD[BD.H1=41]="H1",
BD[BD.H2=42]="H2",
BD[BD.H3=43]="H3",BD[BD.H4=44]="H4",BD[BD.H5=45]="H5",BD[BD.H6=46]="H6",
BD[BD.HEAD=47]="HEAD",
BD[BD.HEADER=48]="HEADER",BD[BD.HGROUP=49]="HGROUP",BD[BD.HR=50]="HR",
BD[BD.HTML=51]="HTML",
BD[BD.I=52]="I",BD[BD.IMG=53]="IMG",BD[BD.IMAGE=54]="IMAGE",
BD[BD.INPUT=55]="INPUT",
BD[BD.IFRAME=56]="IFRAME",BD[BD.KEYGEN=57]="KEYGEN",BD[BD.LABEL=58]="LABEL",
BD[BD.LI=59]="LI",
BD[BD.LINK=60]="LINK",BD[BD.LISTING=61]="LISTING",BD[BD.MAIN=62]="MAIN",
BD[BD.MALIGNMARK=63]="MALIGNMARK",
BD[BD.MARQUEE=64]="MARQUEE",BD[BD.MATH=65]="MATH",
BD[BD.MENU=66]="MENU",BD[BD.META=67]="META",
BD[BD.MGLYPH=68]="MGLYPH",BD[BD.MI=69]="MI",BD[BD.MO=70]="MO",BD[BD.MN=71]="MN",
BD[BD.MS=72]="MS",
BD[BD.MTEXT=73]="MTEXT",BD[BD.NAV=74]="NAV",BD[BD.NOBR=75]="NOBR",
BD[BD.NOFRAMES=76]="NOFRAMES",
BD[BD.NOEMBED=77]="NOEMBED",BD[BD.NOSCRIPT=78]="NOSCRIPT",
BD[BD.OBJECT=79]="OBJECT",
BD[BD.OL=80]="OL",BD[BD.OPTGROUP=81]="OPTGROUP",BD[BD.OPTION=82]="OPTION",
BD[BD.P=83]="P",
BD[BD.PARAM=84]="PARAM",BD[BD.PLAINTEXT=85]="PLAINTEXT",BD[BD.PRE=86]="PRE",
BD[BD.RB=87]="RB",
BD[BD.RP=88]="RP",BD[BD.RT=89]="RT",BD[BD.RTC=90]="RTC",BD[BD.RUBY=91]="RUBY",
BD[BD.S=92]="S",
BD[BD.SCRIPT=93]="SCRIPT",BD[BD.SEARCH=94]="SEARCH",BD[BD.SECTION=95]="SECTION",
BD[BD.SELECT=96]="SELECT",
BD[BD.SOURCE=97]="SOURCE",BD[BD.SMALL=98]="SMALL",BD[BD.SPAN=99]="SPAN",
BD[BD.STRIKE=100]="STRIKE",
BD[BD.STRONG=101]="STRONG",BD[BD.STYLE=102]="STYLE",BD[BD.SUB=103]="SUB",
BD[BD.SUMMARY=104]="SUMMARY",
BD[BD.SUP=105]="SUP",BD[BD.TABLE=106]="TABLE",BD[BD.TBODY=107]="TBODY",
BD[BD.TEMPLATE=108]="TEMPLATE",
BD[BD.TEXTAREA=109]="TEXTAREA",BD[BD.TFOOT=110]="TFOOT",
BD[BD.TD=111]="TD",BD[BD.TH=112]="TH",
BD[BD.THEAD=113]="THEAD",BD[BD.TITLE=114]="TITLE",
BD[BD.TR=115]="TR",BD[BD.TRACK=116]="TRACK",BD[BD.TT=117]="TT",BD[BD.U=118]="U",
BD[BD.UL=119]="UL",
BD[BD.SVG=120]="SVG",BD[BD.VAR=121]="VAR",BD[BD.WBR=122]="WBR",
BD[BD.XMP=123]="XMP"
;const FD=new Map([[ND.A,LD.A],[ND.ADDRESS,LD.ADDRESS],[ND.ANNOTATION_XML,LD.ANNOTATION_XML],[ND.APPLET,LD.APPLET],[ND.AREA,LD.AREA],[ND.ARTICLE,LD.ARTICLE],[ND.ASIDE,LD.ASIDE],[ND.B,LD.B],[ND.BASE,LD.BASE],[ND.BASEFONT,LD.BASEFONT],[ND.BGSOUND,LD.BGSOUND],[ND.BIG,LD.BIG],[ND.BLOCKQUOTE,LD.BLOCKQUOTE],[ND.BODY,LD.BODY],[ND.BR,LD.BR],[ND.BUTTON,LD.BUTTON],[ND.CAPTION,LD.CAPTION],[ND.CENTER,LD.CENTER],[ND.CODE,LD.CODE],[ND.COL,LD.COL],[ND.COLGROUP,LD.COLGROUP],[ND.DD,LD.DD],[ND.DESC,LD.DESC],[ND.DETAILS,LD.DETAILS],[ND.DIALOG,LD.DIALOG],[ND.DIR,LD.DIR],[ND.DIV,LD.DIV],[ND.DL,LD.DL],[ND.DT,LD.DT],[ND.EM,LD.EM],[ND.EMBED,LD.EMBED],[ND.FIELDSET,LD.FIELDSET],[ND.FIGCAPTION,LD.FIGCAPTION],[ND.FIGURE,LD.FIGURE],[ND.FONT,LD.FONT],[ND.FOOTER,LD.FOOTER],[ND.FOREIGN_OBJECT,LD.FOREIGN_OBJECT],[ND.FORM,LD.FORM],[ND.FRAME,LD.FRAME],[ND.FRAMESET,LD.FRAMESET],[ND.H1,LD.H1],[ND.H2,LD.H2],[ND.H3,LD.H3],[ND.H4,LD.H4],[ND.H5,LD.H5],[ND.H6,LD.H6],[ND.HEAD,LD.HEAD],[ND.HEADER,LD.HEADER],[ND.HGROUP,LD.HGROUP],[ND.HR,LD.HR],[ND.HTML,LD.HTML],[ND.I,LD.I],[ND.IMG,LD.IMG],[ND.IMAGE,LD.IMAGE],[ND.INPUT,LD.INPUT],[ND.IFRAME,LD.IFRAME],[ND.KEYGEN,LD.KEYGEN],[ND.LABEL,LD.LABEL],[ND.LI,LD.LI],[ND.LINK,LD.LINK],[ND.LISTING,LD.LISTING],[ND.MAIN,LD.MAIN],[ND.MALIGNMARK,LD.MALIGNMARK],[ND.MARQUEE,LD.MARQUEE],[ND.MATH,LD.MATH],[ND.MENU,LD.MENU],[ND.META,LD.META],[ND.MGLYPH,LD.MGLYPH],[ND.MI,LD.MI],[ND.MO,LD.MO],[ND.MN,LD.MN],[ND.MS,LD.MS],[ND.MTEXT,LD.MTEXT],[ND.NAV,LD.NAV],[ND.NOBR,LD.NOBR],[ND.NOFRAMES,LD.NOFRAMES],[ND.NOEMBED,LD.NOEMBED],[ND.NOSCRIPT,LD.NOSCRIPT],[ND.OBJECT,LD.OBJECT],[ND.OL,LD.OL],[ND.OPTGROUP,LD.OPTGROUP],[ND.OPTION,LD.OPTION],[ND.P,LD.P],[ND.PARAM,LD.PARAM],[ND.PLAINTEXT,LD.PLAINTEXT],[ND.PRE,LD.PRE],[ND.RB,LD.RB],[ND.RP,LD.RP],[ND.RT,LD.RT],[ND.RTC,LD.RTC],[ND.RUBY,LD.RUBY],[ND.S,LD.S],[ND.SCRIPT,LD.SCRIPT],[ND.SEARCH,LD.SEARCH],[ND.SECTION,LD.SECTION],[ND.SELECT,LD.SELECT],[ND.SOURCE,LD.SOURCE],[ND.SMALL,LD.SMALL],[ND.SPAN,LD.SPAN],[ND.STRIKE,LD.STRIKE],[ND.STRONG,LD.STRONG],[ND.STYLE,LD.STYLE],[ND.SUB,LD.SUB],[ND.SUMMARY,LD.SUMMARY],[ND.SUP,LD.SUP],[ND.TABLE,LD.TABLE],[ND.TBODY,LD.TBODY],[ND.TEMPLATE,LD.TEMPLATE],[ND.TEXTAREA,LD.TEXTAREA],[ND.TFOOT,LD.TFOOT],[ND.TD,LD.TD],[ND.TH,LD.TH],[ND.THEAD,LD.THEAD],[ND.TITLE,LD.TITLE],[ND.TR,LD.TR],[ND.TRACK,LD.TRACK],[ND.TT,LD.TT],[ND.U,LD.U],[ND.UL,LD.UL],[ND.SVG,LD.SVG],[ND.VAR,LD.VAR],[ND.WBR,LD.WBR],[ND.XMP,LD.XMP]])
;function HD(e){var t;return null!==(t=FD.get(e))&&void 0!==t?t:LD.UNKNOWN}
const QD=LD,VD={
[CD.HTML]:new Set([QD.ADDRESS,QD.APPLET,QD.AREA,QD.ARTICLE,QD.ASIDE,QD.BASE,QD.BASEFONT,QD.BGSOUND,QD.BLOCKQUOTE,QD.BODY,QD.BR,QD.BUTTON,QD.CAPTION,QD.CENTER,QD.COL,QD.COLGROUP,QD.DD,QD.DETAILS,QD.DIR,QD.DIV,QD.DL,QD.DT,QD.EMBED,QD.FIELDSET,QD.FIGCAPTION,QD.FIGURE,QD.FOOTER,QD.FORM,QD.FRAME,QD.FRAMESET,QD.H1,QD.H2,QD.H3,QD.H4,QD.H5,QD.H6,QD.HEAD,QD.HEADER,QD.HGROUP,QD.HR,QD.HTML,QD.IFRAME,QD.IMG,QD.INPUT,QD.LI,QD.LINK,QD.LISTING,QD.MAIN,QD.MARQUEE,QD.MENU,QD.META,QD.NAV,QD.NOEMBED,QD.NOFRAMES,QD.NOSCRIPT,QD.OBJECT,QD.OL,QD.P,QD.PARAM,QD.PLAINTEXT,QD.PRE,QD.SCRIPT,QD.SECTION,QD.SELECT,QD.SOURCE,QD.STYLE,QD.SUMMARY,QD.TABLE,QD.TBODY,QD.TD,QD.TEMPLATE,QD.TEXTAREA,QD.TFOOT,QD.TH,QD.THEAD,QD.TITLE,QD.TR,QD.TRACK,QD.UL,QD.WBR,QD.XMP]),
[CD.MATHML]:new Set([QD.MI,QD.MO,QD.MN,QD.MS,QD.MTEXT,QD.ANNOTATION_XML]),
[CD.SVG]:new Set([QD.TITLE,QD.FOREIGN_OBJECT,QD.DESC]),[CD.XLINK]:new Set,
[CD.XML]:new Set,[CD.XMLNS]:new Set
},qD=new Set([QD.H1,QD.H2,QD.H3,QD.H4,QD.H5,QD.H6]);var WD,XD
;ND.STYLE,ND.SCRIPT,
ND.XMP,ND.IFRAME,ND.NOEMBED,ND.NOFRAMES,ND.PLAINTEXT,(XD=WD||(WD={}))[XD.DATA=0]="DATA",
XD[XD.RCDATA=1]="RCDATA",
XD[XD.RAWTEXT=2]="RAWTEXT",XD[XD.SCRIPT_DATA=3]="SCRIPT_DATA",
XD[XD.PLAINTEXT=4]="PLAINTEXT",
XD[XD.TAG_OPEN=5]="TAG_OPEN",XD[XD.END_TAG_OPEN=6]="END_TAG_OPEN",
XD[XD.TAG_NAME=7]="TAG_NAME",
XD[XD.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",
XD[XD.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",
XD[XD.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",
XD[XD.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",
XD[XD.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",
XD[XD.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",
XD[XD.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",
XD[XD.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",
XD[XD.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",
XD[XD.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",
XD[XD.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",
XD[XD.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",
XD[XD.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",
XD[XD.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",
XD[XD.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",
XD[XD.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",
XD[XD.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",
XD[XD.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",
XD[XD.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",
XD[XD.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",
XD[XD.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",
XD[XD.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",
XD[XD.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",
XD[XD.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",
XD[XD.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",
XD[XD.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",
XD[XD.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",
XD[XD.BOGUS_COMMENT=40]="BOGUS_COMMENT",
XD[XD.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",
XD[XD.COMMENT_START=42]="COMMENT_START",
XD[XD.COMMENT_START_DASH=43]="COMMENT_START_DASH",
XD[XD.COMMENT=44]="COMMENT",XD[XD.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",
XD[XD.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",
XD[XD.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",
XD[XD.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",
XD[XD.COMMENT_END_DASH=49]="COMMENT_END_DASH",
XD[XD.COMMENT_END=50]="COMMENT_END",
XD[XD.COMMENT_END_BANG=51]="COMMENT_END_BANG",
XD[XD.DOCTYPE=52]="DOCTYPE",XD[XD.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",
XD[XD.DOCTYPE_NAME=54]="DOCTYPE_NAME",
XD[XD.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",
XD[XD.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",
XD[XD.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",
XD[XD.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",
XD[XD.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",
XD[XD.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",
XD[XD.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",
XD[XD.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",
XD[XD.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",
XD[XD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",
XD[XD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",
XD[XD.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",
XD[XD.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",XD[XD.CDATA_SECTION=68]="CDATA_SECTION",
XD[XD.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",
XD[XD.CDATA_SECTION_END=70]="CDATA_SECTION_END",
XD[XD.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",
XD[XD.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";const GD={DATA:WD.DATA,
RCDATA:WD.RCDATA,RAWTEXT:WD.RAWTEXT,SCRIPT_DATA:WD.SCRIPT_DATA,
PLAINTEXT:WD.PLAINTEXT,CDATA_SECTION:WD.CDATA_SECTION};function YD(e){
return e>=nD.LATIN_CAPITAL_A&&e<=nD.LATIN_CAPITAL_Z}function KD(e){
return function(e){return e>=nD.LATIN_SMALL_A&&e<=nD.LATIN_SMALL_Z}(e)||YD(e)}
function JD(e){return KD(e)||function(e){return e>=nD.DIGIT_0&&e<=nD.DIGIT_9}(e)
}function eM(e){return e+32}function tM(e){
return e===nD.SPACE||e===nD.LINE_FEED||e===nD.TABULATION||e===nD.FORM_FEED}
function nM(e){return tM(e)||e===nD.SOLIDUS||e===nD.GREATER_THAN_SIGN}class rM{
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=WD.DATA,this.returnState=WD.DATA,
this.entityStartPos=0,
this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,
this.currentToken=null,this.currentAttr={name:"",value:""
},this.preprocessor=new mD(t),
this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new zD(yD,((e,t)=>{
this.preprocessor.pos=this.entityStartPos+t-1,
this._flushCodePointConsumedAsCharacterReference(e)}),t.onParseError?{
missingSemicolonAfterCharacterReference:()=>{
this._err(hD.missingSemicolonAfterCharacterReference,1)},
absenceOfDigitsInNumericCharacterReference:e=>{
this._err(hD.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)
},validateNumericCharacterReference:e=>{const t=function(e){
return e===nD.NULL?hD.nullCharacterReference:e>1114111?hD.characterReferenceOutsideUnicodeRange:uD(e)?hD.surrogateCharacterReference:pD(e)?hD.noncharacterCharacterReference:dD(e)||e===nD.CARRIAGE_RETURN?hD.controlCharacterReference:null
}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r
;null===(r=(n=this.handler).onParseError)||void 0===r||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
;const e=this._consume();this._ensureHibernation()||this._callState(e)}
this.inLoop=!1}}pause(){this.paused=!0}resume(e){
if(!this.paused)throw new Error("Parser was already resumed")
;this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}
write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),
this.paused||null==n||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)}_consume(){
return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){
this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}
_consumeSequenceIfMatch(e,t){
return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}
_createStartTagToken(){this.currentToken={type:gD.START_TAG,tagName:"",
tagID:LD.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={
type:gD.END_TAG,tagName:"",tagID:LD.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,
attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){
this.currentToken={type:gD.COMMENT,data:"",location:this.getCurrentLocation(e)}}
_createDoctypeToken(e){this.currentToken={type:gD.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,t
;const n=this.currentToken;if(null===bD(n,this.currentAttr.name)){
if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){
(null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,
this._leaveAttrValue()}}else this._err(hD.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(){
const e=this.currentToken
;this.prepareToken(e),e.tagID=HD(e.tagName),e.type===gD.START_TAG?(this.lastStartTagName=e.tagName,
this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(hD.endTagWithAttributes),
e.selfClosing&&this._err(hD.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 gD.CHARACTER:
this.handler.onCharacter(this.currentCharacterToken);break
;case gD.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken)
;break;case gD.WHITESPACE_CHARACTER:
this.handler.onWhitespaceCharacter(this.currentCharacterToken)}
this.currentCharacterToken=null}}_emitEOFToken(){
const e=this.getCurrentLocation(0)
;e&&(e.endLine=e.startLine,e.endCol=e.startCol,
e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),
this.handler.onEof({type:gD.EOF,location:e}),this.active=!1}
_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){
if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t)
;this.currentLocation=this.getCurrentLocation(0),
this._emitCurrentCharacterToken(this.currentLocation),
this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}
_emitCodePoint(e){
const t=tM(e)?gD.WHITESPACE_CHARACTER:e===nD.NULL?gD.NULL_CHARACTER:gD.CHARACTER
;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}
_emitChars(e){this._appendCharToCurrentCharacterToken(gD.CHARACTER,e)}
_startCharacterReference(){
this.returnState=this.state,this.state=WD.CHARACTER_REFERENCE,
this.entityStartPos=this.preprocessor.pos,
this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?TD.Attribute:TD.Legacy)
}_isCharacterReferenceInAttribute(){
return this.returnState===WD.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===WD.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===WD.ATTRIBUTE_VALUE_UNQUOTED
}_flushCodePointConsumedAsCharacterReference(e){
this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)
}_callState(e){switch(this.state){case WD.DATA:this._stateData(e);break
;case WD.RCDATA:this._stateRcdata(e);break;case WD.RAWTEXT:this._stateRawtext(e)
;break;case WD.SCRIPT_DATA:this._stateScriptData(e);break;case WD.PLAINTEXT:
this._statePlaintext(e);break;case WD.TAG_OPEN:this._stateTagOpen(e);break
;case WD.END_TAG_OPEN:this._stateEndTagOpen(e);break;case WD.TAG_NAME:
this._stateTagName(e);break;case WD.RCDATA_LESS_THAN_SIGN:
this._stateRcdataLessThanSign(e);break;case WD.RCDATA_END_TAG_OPEN:
this._stateRcdataEndTagOpen(e);break;case WD.RCDATA_END_TAG_NAME:
this._stateRcdataEndTagName(e);break;case WD.RAWTEXT_LESS_THAN_SIGN:
this._stateRawtextLessThanSign(e);break;case WD.RAWTEXT_END_TAG_OPEN:
this._stateRawtextEndTagOpen(e);break;case WD.RAWTEXT_END_TAG_NAME:
this._stateRawtextEndTagName(e);break;case WD.SCRIPT_DATA_LESS_THAN_SIGN:
this._stateScriptDataLessThanSign(e);break;case WD.SCRIPT_DATA_END_TAG_OPEN:
this._stateScriptDataEndTagOpen(e);break;case WD.SCRIPT_DATA_END_TAG_NAME:
this._stateScriptDataEndTagName(e);break;case WD.SCRIPT_DATA_ESCAPE_START:
this._stateScriptDataEscapeStart(e);break;case WD.SCRIPT_DATA_ESCAPE_START_DASH:
this._stateScriptDataEscapeStartDash(e);break;case WD.SCRIPT_DATA_ESCAPED:
this._stateScriptDataEscaped(e);break;case WD.SCRIPT_DATA_ESCAPED_DASH:
this._stateScriptDataEscapedDash(e);break;case WD.SCRIPT_DATA_ESCAPED_DASH_DASH:
this._stateScriptDataEscapedDashDash(e);break
;case WD.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataEscapedLessThanSign(e);break
;case WD.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:
this._stateScriptDataEscapedEndTagOpen(e);break
;case WD.SCRIPT_DATA_ESCAPED_END_TAG_NAME:
this._stateScriptDataEscapedEndTagName(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPE_START:
this._stateScriptDataDoubleEscapeStart(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:
this._stateScriptDataDoubleEscapedDash(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:
this._stateScriptDataDoubleEscapedDashDash(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataDoubleEscapedLessThanSign(e);break
;case WD.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e)
;break;case WD.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break
;case WD.ATTRIBUTE_NAME:this._stateAttributeName(e);break
;case WD.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break
;case WD.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break
;case WD.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e)
;break;case WD.ATTRIBUTE_VALUE_SINGLE_QUOTED:
this._stateAttributeValueSingleQuoted(e);break;case WD.ATTRIBUTE_VALUE_UNQUOTED:
this._stateAttributeValueUnquoted(e);break;case WD.AFTER_ATTRIBUTE_VALUE_QUOTED:
this._stateAfterAttributeValueQuoted(e);break;case WD.SELF_CLOSING_START_TAG:
this._stateSelfClosingStartTag(e);break;case WD.BOGUS_COMMENT:
this._stateBogusComment(e);break;case WD.MARKUP_DECLARATION_OPEN:
this._stateMarkupDeclarationOpen(e);break;case WD.COMMENT_START:
this._stateCommentStart(e);break;case WD.COMMENT_START_DASH:
this._stateCommentStartDash(e);break;case WD.COMMENT:this._stateComment(e);break
;case WD.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break
;case WD.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break
;case WD.COMMENT_LESS_THAN_SIGN_BANG_DASH:
this._stateCommentLessThanSignBangDash(e);break
;case WD.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:
this._stateCommentLessThanSignBangDashDash(e);break;case WD.COMMENT_END_DASH:
this._stateCommentEndDash(e);break;case WD.COMMENT_END:this._stateCommentEnd(e)
;break;case WD.COMMENT_END_BANG:this._stateCommentEndBang(e);break
;case WD.DOCTYPE:this._stateDoctype(e);break;case WD.BEFORE_DOCTYPE_NAME:
this._stateBeforeDoctypeName(e);break;case WD.DOCTYPE_NAME:
this._stateDoctypeName(e);break;case WD.AFTER_DOCTYPE_NAME:
this._stateAfterDoctypeName(e);break;case WD.AFTER_DOCTYPE_PUBLIC_KEYWORD:
this._stateAfterDoctypePublicKeyword(e);break
;case WD.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateBeforeDoctypePublicIdentifier(e);break
;case WD.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypePublicIdentifierDoubleQuoted(e);break
;case WD.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypePublicIdentifierSingleQuoted(e);break
;case WD.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateAfterDoctypePublicIdentifier(e);break
;case WD.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:
this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break
;case WD.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e)
;break;case WD.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateBeforeDoctypeSystemIdentifier(e);break
;case WD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypeSystemIdentifierDoubleQuoted(e);break
;case WD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypeSystemIdentifierSingleQuoted(e);break
;case WD.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateAfterDoctypeSystemIdentifier(e);break;case WD.BOGUS_DOCTYPE:
this._stateBogusDoctype(e);break;case WD.CDATA_SECTION:
this._stateCdataSection(e);break;case WD.CDATA_SECTION_BRACKET:
this._stateCdataSectionBracket(e);break;case WD.CDATA_SECTION_END:
this._stateCdataSectionEnd(e);break;case WD.CHARACTER_REFERENCE:
this._stateCharacterReference();break;case WD.AMBIGUOUS_AMPERSAND:
this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}
}_stateData(e){switch(e){case nD.LESS_THAN_SIGN:this.state=WD.TAG_OPEN;break
;case nD.AMPERSAND:this._startCharacterReference();break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this._emitCodePoint(e);break;case nD.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){
switch(e){case nD.AMPERSAND:this._startCharacterReference();break
;case nD.LESS_THAN_SIGN:this.state=WD.RCDATA_LESS_THAN_SIGN;break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this._emitChars(tD);break;case nD.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){
switch(e){case nD.LESS_THAN_SIGN:this.state=WD.RAWTEXT_LESS_THAN_SIGN;break
;case nD.NULL:this._err(hD.unexpectedNullCharacter),this._emitChars(tD);break
;case nD.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateScriptData(e){switch(e){case nD.LESS_THAN_SIGN:
this.state=WD.SCRIPT_DATA_LESS_THAN_SIGN;break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this._emitChars(tD);break;case nD.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){
switch(e){case nD.NULL:this._err(hD.unexpectedNullCharacter),this._emitChars(tD)
;break;case nD.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateTagOpen(e){
if(KD(e))this._createStartTagToken(),this.state=WD.TAG_NAME,this._stateTagName(e);else switch(e){
case nD.EXCLAMATION_MARK:this.state=WD.MARKUP_DECLARATION_OPEN;break
;case nD.SOLIDUS:this.state=WD.END_TAG_OPEN;break;case nD.QUESTION_MARK:
this._err(hD.unexpectedQuestionMarkInsteadOfTagName),
this._createCommentToken(1),
this.state=WD.BOGUS_COMMENT,this._stateBogusComment(e);break;case nD.EOF:
this._err(hD.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break
;default:
this._err(hD.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=WD.DATA,
this._stateData(e)}}_stateEndTagOpen(e){
if(KD(e))this._createEndTagToken(),this.state=WD.TAG_NAME,
this._stateTagName(e);else switch(e){case nD.GREATER_THAN_SIGN:
this._err(hD.missingEndTagName),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break
;default:
this._err(hD.invalidFirstCharacterOfTagName),this._createCommentToken(2),
this.state=WD.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){
const t=this.currentToken;switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:this.state=WD.BEFORE_ATTRIBUTE_NAME;break
;case nD.SOLIDUS:this.state=WD.SELF_CLOSING_START_TAG;break
;case nD.GREATER_THAN_SIGN:this.state=WD.DATA,this.emitCurrentTagToken();break
;case nD.NULL:this._err(hD.unexpectedNullCharacter),t.tagName+=tD;break
;case nD.EOF:this._err(hD.eofInTag),this._emitEOFToken();break;default:
t.tagName+=String.fromCodePoint(YD(e)?eM(e):e)}}_stateRcdataLessThanSign(e){
e===nD.SOLIDUS?this.state=WD.RCDATA_END_TAG_OPEN:(this._emitChars("<"),
this.state=WD.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){
KD(e)?(this.state=WD.RCDATA_END_TAG_NAME,
this._stateRcdataEndTagName(e)):(this._emitChars("</"),
this.state=WD.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){
if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation()
;this._createEndTagToken();this.currentToken.tagName=this.lastStartTagName
;switch(this.preprocessor.peek(this.lastStartTagName.length)){case nD.SPACE:
case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:
return this._advanceBy(this.lastStartTagName.length),
this.state=WD.BEFORE_ATTRIBUTE_NAME,!1;case nD.SOLIDUS:
return this._advanceBy(this.lastStartTagName.length),
this.state=WD.SELF_CLOSING_START_TAG,!1;case nD.GREATER_THAN_SIGN:
return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),
this.state=WD.DATA,!1;default:return!this._ensureHibernation()}}
_stateRcdataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=WD.RCDATA,
this._stateRcdata(e))}_stateRawtextLessThanSign(e){
e===nD.SOLIDUS?this.state=WD.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),
this.state=WD.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){
KD(e)?(this.state=WD.RAWTEXT_END_TAG_NAME,
this._stateRawtextEndTagName(e)):(this._emitChars("</"),
this.state=WD.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=WD.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){
switch(e){case nD.SOLIDUS:this.state=WD.SCRIPT_DATA_END_TAG_OPEN;break
;case nD.EXCLAMATION_MARK:
this.state=WD.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:
this._emitChars("<"),this.state=WD.SCRIPT_DATA,this._stateScriptData(e)}}
_stateScriptDataEndTagOpen(e){
KD(e)?(this.state=WD.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),
this.state=WD.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=WD.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStart(e){
e===nD.HYPHEN_MINUS?(this.state=WD.SCRIPT_DATA_ESCAPE_START_DASH,
this._emitChars("-")):(this.state=WD.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStartDash(e){
e===nD.HYPHEN_MINUS?(this.state=WD.SCRIPT_DATA_ESCAPED_DASH_DASH,
this._emitChars("-")):(this.state=WD.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscaped(e){switch(e){case nD.HYPHEN_MINUS:
this.state=WD.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break
;case nD.LESS_THAN_SIGN:this.state=WD.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case nD.NULL:this._err(hD.unexpectedNullCharacter),this._emitChars(tD);break
;case nD.EOF:this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken()
;break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){
case nD.HYPHEN_MINUS:
this.state=WD.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break
;case nD.LESS_THAN_SIGN:this.state=WD.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.state=WD.SCRIPT_DATA_ESCAPED,
this._emitChars(tD);break;case nD.EOF:
this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=WD.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedDashDash(e){switch(e){case nD.HYPHEN_MINUS:
this._emitChars("-");break;case nD.LESS_THAN_SIGN:
this.state=WD.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case nD.GREATER_THAN_SIGN:this.state=WD.SCRIPT_DATA,this._emitChars(">");break
;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.state=WD.SCRIPT_DATA_ESCAPED,
this._emitChars(tD);break;case nD.EOF:
this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=WD.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedLessThanSign(e){
e===nD.SOLIDUS?this.state=WD.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:KD(e)?(this._emitChars("<"),
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPE_START,
this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),
this.state=WD.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagOpen(e){
KD(e)?(this.state=WD.SCRIPT_DATA_ESCAPED_END_TAG_NAME,
this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),
this.state=WD.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=WD.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataDoubleEscapeStart(e){
if(this.preprocessor.startsWith(sD,!1)&&nM(this.preprocessor.peek(sD.length))){
this._emitCodePoint(e)
;for(let e=0;e<sD.length;e++)this._emitCodePoint(this._consume())
;this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED
}else this._ensureHibernation()||(this.state=WD.SCRIPT_DATA_ESCAPED,
this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){
case nD.HYPHEN_MINUS:
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break
;case nD.LESS_THAN_SIGN:this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this._emitChars(tD);break;case nD.EOF:
this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){
case nD.HYPHEN_MINUS:
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break
;case nD.LESS_THAN_SIGN:this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(tD);break;case nD.EOF:
this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedDashDash(e){switch(e){case nD.HYPHEN_MINUS:
this._emitChars("-");break;case nD.LESS_THAN_SIGN:
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<")
;break;case nD.GREATER_THAN_SIGN:this.state=WD.SCRIPT_DATA,this._emitChars(">")
;break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(tD);break;case nD.EOF:
this._err(hD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedLessThanSign(e){
e===nD.SOLIDUS?(this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPE_END,
this._emitChars("/")):(this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){
if(this.preprocessor.startsWith(sD,!1)&&nM(this.preprocessor.peek(sD.length))){
this._emitCodePoint(e)
;for(let e=0;e<sD.length;e++)this._emitCodePoint(this._consume())
;this.state=WD.SCRIPT_DATA_ESCAPED
}else this._ensureHibernation()||(this.state=WD.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){
case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:break
;case nD.SOLIDUS:case nD.GREATER_THAN_SIGN:case nD.EOF:
this.state=WD.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break
;case nD.EQUALS_SIGN:
this._err(hD.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),
this.state=WD.ATTRIBUTE_NAME;break;default:
this._createAttr(""),this.state=WD.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateAttributeName(e){switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:case nD.SOLIDUS:case nD.GREATER_THAN_SIGN:
case nD.EOF:
this._leaveAttrName(),this.state=WD.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e)
;break;case nD.EQUALS_SIGN:
this._leaveAttrName(),this.state=WD.BEFORE_ATTRIBUTE_VALUE;break
;case nD.QUOTATION_MARK:case nD.APOSTROPHE:case nD.LESS_THAN_SIGN:
this._err(hD.unexpectedCharacterInAttributeName),
this.currentAttr.name+=String.fromCodePoint(e);break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.currentAttr.name+=tD;break;default:
this.currentAttr.name+=String.fromCodePoint(YD(e)?eM(e):e)}}
_stateAfterAttributeName(e){switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:break;case nD.SOLIDUS:
this.state=WD.SELF_CLOSING_START_TAG;break;case nD.EQUALS_SIGN:
this.state=WD.BEFORE_ATTRIBUTE_VALUE;break;case nD.GREATER_THAN_SIGN:
this.state=WD.DATA,this.emitCurrentTagToken();break;case nD.EOF:
this._err(hD.eofInTag),this._emitEOFToken();break;default:
this._createAttr(""),this.state=WD.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateBeforeAttributeValue(e){switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:break;case nD.QUOTATION_MARK:
this.state=WD.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case nD.APOSTROPHE:
this.state=WD.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case nD.GREATER_THAN_SIGN:
this._err(hD.missingAttributeValue),
this.state=WD.DATA,this.emitCurrentTagToken();break;default:
this.state=WD.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}
_stateAttributeValueDoubleQuoted(e){switch(e){case nD.QUOTATION_MARK:
this.state=WD.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case nD.AMPERSAND:
this._startCharacterReference();break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.currentAttr.value+=tD;break
;case nD.EOF:this._err(hD.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueSingleQuoted(e){switch(e){case nD.APOSTROPHE:
this.state=WD.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case nD.AMPERSAND:
this._startCharacterReference();break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),this.currentAttr.value+=tD;break
;case nD.EOF:this._err(hD.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueUnquoted(e){switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:
this._leaveAttrValue(),this.state=WD.BEFORE_ATTRIBUTE_NAME;break
;case nD.AMPERSAND:this._startCharacterReference();break
;case nD.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=WD.DATA,this.emitCurrentTagToken();break
;case nD.NULL:this._err(hD.unexpectedNullCharacter),this.currentAttr.value+=tD
;break;case nD.QUOTATION_MARK:case nD.APOSTROPHE:case nD.LESS_THAN_SIGN:
case nD.EQUALS_SIGN:case nD.GRAVE_ACCENT:
this._err(hD.unexpectedCharacterInUnquotedAttributeValue),
this.currentAttr.value+=String.fromCodePoint(e);break;case nD.EOF:
this._err(hD.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAfterAttributeValueQuoted(e){switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:
this._leaveAttrValue(),this.state=WD.BEFORE_ATTRIBUTE_NAME;break
;case nD.SOLIDUS:this._leaveAttrValue(),this.state=WD.SELF_CLOSING_START_TAG
;break;case nD.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=WD.DATA,this.emitCurrentTagToken();break
;case nD.EOF:this._err(hD.eofInTag),this._emitEOFToken();break;default:
this._err(hD.missingWhitespaceBetweenAttributes),
this.state=WD.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateSelfClosingStartTag(e){switch(e){case nD.GREATER_THAN_SIGN:
this.currentToken.selfClosing=!0,this.state=WD.DATA,this.emitCurrentTagToken()
;break;case nD.EOF:this._err(hD.eofInTag),this._emitEOFToken();break;default:
this._err(hD.unexpectedSolidusInTag),
this.state=WD.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateBogusComment(e){const t=this.currentToken;switch(e){
case nD.GREATER_THAN_SIGN:this.state=WD.DATA,this.emitCurrentComment(t);break
;case nD.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),t.data+=tD;break;default:
t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){
this._consumeSequenceIfMatch(aD,!0)?(this._createCommentToken(aD.length+1),
this.state=WD.COMMENT_START):this._consumeSequenceIfMatch(iD,!1)?(this.currentLocation=this.getCurrentLocation(iD.length+1),
this.state=WD.DOCTYPE):this._consumeSequenceIfMatch(oD,!0)?this.inForeignNode?this.state=WD.CDATA_SECTION:(this._err(hD.cdataInHtmlContent),
this._createCommentToken(oD.length+1),
this.currentToken.data="[CDATA[",this.state=WD.BOGUS_COMMENT):this._ensureHibernation()||(this._err(hD.incorrectlyOpenedComment),
this._createCommentToken(2),
this.state=WD.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){
switch(e){case nD.HYPHEN_MINUS:this.state=WD.COMMENT_START_DASH;break
;case nD.GREATER_THAN_SIGN:{
this._err(hD.abruptClosingOfEmptyComment),this.state=WD.DATA
;const e=this.currentToken;this.emitCurrentComment(e);break}default:
this.state=WD.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){
const t=this.currentToken;switch(e){case nD.HYPHEN_MINUS:
this.state=WD.COMMENT_END;break;case nD.GREATER_THAN_SIGN:
this._err(hD.abruptClosingOfEmptyComment),
this.state=WD.DATA,this.emitCurrentComment(t);break;case nD.EOF:
this._err(hD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=WD.COMMENT,this._stateComment(e)}}
_stateComment(e){const t=this.currentToken;switch(e){case nD.HYPHEN_MINUS:
this.state=WD.COMMENT_END_DASH;break;case nD.LESS_THAN_SIGN:
t.data+="<",this.state=WD.COMMENT_LESS_THAN_SIGN;break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),t.data+=tD;break;case nD.EOF:
this._err(hD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){
const t=this.currentToken;switch(e){case nD.EXCLAMATION_MARK:
t.data+="!",this.state=WD.COMMENT_LESS_THAN_SIGN_BANG;break
;case nD.LESS_THAN_SIGN:t.data+="<";break;default:
this.state=WD.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){
e===nD.HYPHEN_MINUS?this.state=WD.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=WD.COMMENT,
this._stateComment(e))}_stateCommentLessThanSignBangDash(e){
e===nD.HYPHEN_MINUS?this.state=WD.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=WD.COMMENT_END_DASH,
this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){
e!==nD.GREATER_THAN_SIGN&&e!==nD.EOF&&this._err(hD.nestedComment),
this.state=WD.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){
const t=this.currentToken;switch(e){case nD.HYPHEN_MINUS:
this.state=WD.COMMENT_END;break;case nD.EOF:
this._err(hD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=WD.COMMENT,this._stateComment(e)}}
_stateCommentEnd(e){const t=this.currentToken;switch(e){
case nD.GREATER_THAN_SIGN:this.state=WD.DATA,this.emitCurrentComment(t);break
;case nD.EXCLAMATION_MARK:this.state=WD.COMMENT_END_BANG;break
;case nD.HYPHEN_MINUS:t.data+="-";break;case nD.EOF:
this._err(hD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--",this.state=WD.COMMENT,this._stateComment(e)}}
_stateCommentEndBang(e){const t=this.currentToken;switch(e){
case nD.HYPHEN_MINUS:t.data+="--!",this.state=WD.COMMENT_END_DASH;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.incorrectlyClosedComment),this.state=WD.DATA,
this.emitCurrentComment(t);break;case nD.EOF:
this._err(hD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--!",this.state=WD.COMMENT,this._stateComment(e)}}
_stateDoctype(e){switch(e){case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:
case nD.FORM_FEED:this.state=WD.BEFORE_DOCTYPE_NAME;break
;case nD.GREATER_THAN_SIGN:
this.state=WD.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break
;case nD.EOF:{this._err(hD.eofInDoctype),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:
this._err(hD.missingWhitespaceBeforeDoctypeName),
this.state=WD.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}
_stateBeforeDoctypeName(e){
if(YD(e))this._createDoctypeToken(String.fromCharCode(eM(e))),
this.state=WD.DOCTYPE_NAME;else switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),
this._createDoctypeToken(tD),this.state=WD.DOCTYPE_NAME;break
;case nD.GREATER_THAN_SIGN:{
this._err(hD.missingDoctypeName),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=WD.DATA;break}
case nD.EOF:{this._err(hD.eofInDoctype),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:
this._createDoctypeToken(String.fromCodePoint(e)),this.state=WD.DOCTYPE_NAME}}
_stateDoctypeName(e){const t=this.currentToken;switch(e){case nD.SPACE:
case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:
this.state=WD.AFTER_DOCTYPE_NAME;break;case nD.GREATER_THAN_SIGN:
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.NULL:
this._err(hD.unexpectedNullCharacter),t.name+=tD;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.name+=String.fromCodePoint(YD(e)?eM(e):e)}}_stateAfterDoctypeName(e){
const t=this.currentToken;switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:break;case nD.GREATER_THAN_SIGN:
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._consumeSequenceIfMatch(lD,!1)?this.state=WD.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(cD,!1)?this.state=WD.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(hD.invalidCharacterSequenceAfterDoctypeName),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}
_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){
case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:
this.state=WD.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case nD.QUOTATION_MARK:
this._err(hD.missingWhitespaceAfterDoctypePublicKeyword),
t.publicId="",this.state=WD.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
this._err(hD.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",
this.state=WD.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){
case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:break
;case nD.QUOTATION_MARK:
t.publicId="",this.state=WD.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
t.publicId="",this.state=WD.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case nD.QUOTATION_MARK:this.state=WD.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case nD.NULL:this._err(hD.unexpectedNullCharacter),t.publicId+=tD;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.publicId+=String.fromCodePoint(e)}}
_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken
;switch(e){case nD.APOSTROPHE:this.state=WD.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case nD.NULL:this._err(hD.unexpectedNullCharacter),t.publicId+=tD;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){
const t=this.currentToken;switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:
this.state=WD.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break
;case nD.GREATER_THAN_SIGN:this.state=WD.DATA,this.emitCurrentDoctype(t);break
;case nD.QUOTATION_MARK:
this._err(hD.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
this._err(hD.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case nD.EOF:
this._err(hD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken
;switch(e){case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:
break;case nD.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=WD.DATA
;break;case nD.QUOTATION_MARK:
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case nD.EOF:
this._err(hD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){
case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:
this.state=WD.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case nD.QUOTATION_MARK:
this._err(hD.missingWhitespaceAfterDoctypeSystemKeyword),
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
this._err(hD.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",
this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){
case nD.SPACE:case nD.LINE_FEED:case nD.TABULATION:case nD.FORM_FEED:break
;case nD.QUOTATION_MARK:
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case nD.APOSTROPHE:
t.systemId="",this.state=WD.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=WD.DATA,this.emitCurrentDoctype(t);break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(hD.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case nD.QUOTATION_MARK:this.state=WD.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case nD.NULL:this._err(hD.unexpectedNullCharacter),t.systemId+=tD;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.systemId+=String.fromCodePoint(e)}}
_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken
;switch(e){case nD.APOSTROPHE:this.state=WD.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case nD.NULL:this._err(hD.unexpectedNullCharacter),t.systemId+=tD;break
;case nD.GREATER_THAN_SIGN:
this._err(hD.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){
const t=this.currentToken;switch(e){case nD.SPACE:case nD.LINE_FEED:
case nD.TABULATION:case nD.FORM_FEED:break;case nD.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.EOF:
this._err(hD.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(hD.unexpectedCharacterAfterDoctypeSystemIdentifier),
this.state=WD.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){
const t=this.currentToken;switch(e){case nD.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=WD.DATA;break;case nD.NULL:
this._err(hD.unexpectedNullCharacter);break;case nD.EOF:
this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){
switch(e){case nD.RIGHT_SQUARE_BRACKET:this.state=WD.CDATA_SECTION_BRACKET;break
;case nD.EOF:this._err(hD.eofInCdata),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateCdataSectionBracket(e){
e===nD.RIGHT_SQUARE_BRACKET?this.state=WD.CDATA_SECTION_END:(this._emitChars("]"),
this.state=WD.CDATA_SECTION,this._stateCdataSection(e))}
_stateCdataSectionEnd(e){switch(e){case nD.GREATER_THAN_SIGN:this.state=WD.DATA
;break;case nD.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:
this._emitChars("]]"),this.state=WD.CDATA_SECTION,this._stateCdataSection(e)}}
_stateCharacterReference(){
let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos)
;if(e<0){
if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,
this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0)
;e=this.entityDecoder.end()}
0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(nD.AMPERSAND),
this.state=!this._isCharacterReferenceInAttribute()&&JD(this.preprocessor.peek(1))?WD.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState
}_stateAmbiguousAmpersand(e){
JD(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===nD.SEMICOLON&&this._err(hD.unknownNamedCharacterReference),
this.state=this.returnState,this._callState(e))}}
const aM=new Set([LD.DD,LD.DT,LD.LI,LD.OPTGROUP,LD.OPTION,LD.P,LD.RB,LD.RP,LD.RT,LD.RTC]),oM=new Set([...aM,LD.CAPTION,LD.COLGROUP,LD.TBODY,LD.TD,LD.TFOOT,LD.TH,LD.THEAD,LD.TR]),iM=new Set([LD.APPLET,LD.CAPTION,LD.HTML,LD.MARQUEE,LD.OBJECT,LD.TABLE,LD.TD,LD.TEMPLATE,LD.TH]),sM=new Set([...iM,LD.OL,LD.UL]),lM=new Set([...iM,LD.BUTTON]),cM=new Set([LD.ANNOTATION_XML,LD.MI,LD.MN,LD.MO,LD.MS,LD.MTEXT]),uM=new Set([LD.DESC,LD.FOREIGN_OBJECT,LD.TITLE]),dM=new Set([LD.TR,LD.TEMPLATE,LD.HTML]),pM=new Set([LD.TBODY,LD.TFOOT,LD.THEAD,LD.TEMPLATE,LD.HTML]),hM=new Set([LD.TABLE,LD.TEMPLATE,LD.HTML]),fM=new Set([LD.TD,LD.TH])
;class mM{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=LD.UNKNOWN,this.current=e}_indexOf(e){
return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){
return this.currentTagId===LD.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===CD.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(){
const e=this.current
;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,
this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){
const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}
insertAfter(e,t,n){const 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&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)
}popUntilTagNamePopped(e){let t=this.stackTop+1;do{
t=this.tagIDs.lastIndexOf(e,t-1)
}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==CD.HTML)
;this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){
const t=this.current
;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),
this.stackTop--,this._updateCurrentElement(),
this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){
const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}
popUntilPopped(e,t){const n=this._indexOfTagNames(e,t)
;this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){
this.popUntilPopped(qD,CD.HTML)}popUntilTableCellPopped(){
this.popUntilPopped(fM,CD.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){const n=this._indexOfTagNames(e,t)
;this.shortenToLength(n+1)}clearBackToTableContext(){
this.clearBackTo(hM,CD.HTML)}clearBackToTableBodyContext(){
this.clearBackTo(pM,CD.HTML)}clearBackToTableRowContext(){
this.clearBackTo(dM,CD.HTML)}remove(e){const 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]===LD.BODY?this.items[1]:null}
contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){
const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}
isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===LD.HTML}
hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n]
;switch(this.treeAdapter.getNamespaceURI(this.items[n])){case CD.HTML:
if(r===e)return!0;if(t.has(r))return!1;break;case CD.SVG:if(uM.has(r))return!1
;break;case CD.MATHML:if(cM.has(r))return!1}}return!0}hasInScope(e){
return this.hasInDynamicScope(e,iM)}hasInListItemScope(e){
return this.hasInDynamicScope(e,sM)}hasInButtonScope(e){
return this.hasInDynamicScope(e,lM)}hasNumberedHeaderInScope(){
for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e]
;switch(this.treeAdapter.getNamespaceURI(this.items[e])){case CD.HTML:
if(qD.has(t))return!0;if(iM.has(t))return!1;break;case CD.SVG:
if(uM.has(t))return!1;break;case CD.MATHML:if(cM.has(t))return!1}}return!0}
hasInTableScope(e){
for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===CD.HTML)switch(this.tagIDs[t]){
case e:return!0;case LD.TABLE:case LD.HTML:return!1}return!0}
hasTableBodyContextInTableScope(){
for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===CD.HTML)switch(this.tagIDs[e]){
case LD.TBODY:case LD.THEAD:case LD.TFOOT:return!0;case LD.TABLE:case LD.HTML:
return!1}return!0}hasInSelectScope(e){
for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===CD.HTML)switch(this.tagIDs[t]){
case e:return!0;case LD.OPTION:case LD.OPTGROUP:break;default:return!1}return!0}
generateImpliedEndTags(){
for(;void 0!==this.currentTagId&&aM.has(this.currentTagId);)this.pop()}
generateImpliedEndTagsThoroughly(){
for(;void 0!==this.currentTagId&&oM.has(this.currentTagId);)this.pop()}
generateImpliedEndTagsWithExclusion(e){
for(;void 0!==this.currentTagId&&this.currentTagId!==e&&oM.has(this.currentTagId);)this.pop()
}}var gM,vM;(vM=gM||(gM={}))[vM.Marker=0]="Marker",vM[vM.Element=1]="Element"
;const bM={type:gM.Marker};class yM{constructor(e){
this.treeAdapter=e,this.entries=[],this.bookmark=null}
_getNoahArkConditionCandidates(e,t){
const n=[],r=t.length,a=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e)
;for(let i=0;i<this.entries.length;i++){const e=this.entries[i]
;if(e.type===gM.Marker)break;const{element:t}=e
;if(this.treeAdapter.getTagName(t)===a&&this.treeAdapter.getNamespaceURI(t)===o){
const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:i,attrs:e})}}
return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return
;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t)
;if(n.length<3)return;const r=new Map(t.map((e=>[e.name,e.value])));let a=0
;for(let o=0;o<n.length;o++){const e=n[o]
;e.attrs.every((e=>r.get(e.name)===e.value))&&(a+=1,
a>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(bM)}
pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({
type:gM.Element,element:e,token:t})}insertElementAfterBookmark(e,t){
const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{
type:gM.Element,element:e,token:t})}removeEntry(e){
const t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}
clearToLastMarker(){const e=this.entries.indexOf(bM)
;-1===e?this.entries.length=0:this.entries.splice(0,e+1)}
getElementEntryInScopeWithTagName(e){
const t=this.entries.find((t=>t.type===gM.Marker||this.treeAdapter.getTagName(t.element)===e))
;return t&&t.type===gM.Element?t:null}getElementEntry(e){
return this.entries.find((t=>t.type===gM.Element&&t.element===e))}}const OM={
createDocument:()=>({nodeName:"#document",mode:DD.NO_QUIRKS,childNodes:[]}),
createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),
createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,
childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",
data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,
parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},
insertBefore(e,t,n){const r=e.childNodes.indexOf(n)
;e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t
},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){
const a=e.childNodes.find((e=>"#documentType"===e.nodeName))
;if(a)a.name=t,a.publicId=n,a.systemId=r;else{const a={nodeName:"#documentType",
name:t,publicId:n,systemId:r,parentNode:null};OM.appendChild(e,a)}},
setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){
if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e)
;e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){
if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1]
;if(OM.isTextNode(n))return void(n.value+=t)}
OM.appendChild(e,OM.createTextNode(t))},insertTextBefore(e,t,n){
const r=e.childNodes[e.childNodes.indexOf(n)-1]
;r&&OM.isTextNode(r)?r.value+=t:OM.insertBefore(e,OM.createTextNode(t),n)},
adoptAttributes(e,t){const 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=>e.childNodes[0],getChildNodes:e=>e.childNodes,
getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,
getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,
getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,
getDocumentTypeNodePublicId:e=>e.publicId,
getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,
isCommentNode:e=>"#comment"===e.nodeName,
isDocumentTypeNode:e=>"#documentType"===e.nodeName,
isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),
setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},
getNodeSourceCodeLocation:e=>e.sourceCodeLocation,
updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,
...t}}
},wM="html",xM="about:legacy-compat",kM="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",SM=["+//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//"],_M=[...SM,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],AM=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),TM=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],EM=[...TM,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]
;function CM(e,t){return t.some((t=>e.startsWith(t)))}const $M={
TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"
},PM="definitionurl",IM="definitionURL",DM=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"].map((e=>[e.toLowerCase(),e]))),MM=new Map([["xlink:actuate",{
prefix:"xlink",name:"actuate",namespace:CD.XLINK}],["xlink:arcrole",{
prefix:"xlink",name:"arcrole",namespace:CD.XLINK}],["xlink:href",{
prefix:"xlink",name:"href",namespace:CD.XLINK}],["xlink:role",{prefix:"xlink",
name:"role",namespace:CD.XLINK}],["xlink:show",{prefix:"xlink",name:"show",
namespace:CD.XLINK}],["xlink:title",{prefix:"xlink",name:"title",
namespace:CD.XLINK}],["xlink:type",{prefix:"xlink",name:"type",
namespace:CD.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:CD.XML
}],["xml:space",{prefix:"xml",name:"space",namespace:CD.XML}],["xmlns",{
prefix:"",name:"xmlns",namespace:CD.XMLNS}],["xmlns:xlink",{prefix:"xmlns",
name:"xlink",namespace:CD.XMLNS
}]]),NM=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"].map((e=>[e.toLowerCase(),e]))),RM=new Set([LD.B,LD.BIG,LD.BLOCKQUOTE,LD.BODY,LD.BR,LD.CENTER,LD.CODE,LD.DD,LD.DIV,LD.DL,LD.DT,LD.EM,LD.EMBED,LD.H1,LD.H2,LD.H3,LD.H4,LD.H5,LD.H6,LD.HEAD,LD.HR,LD.I,LD.IMG,LD.LI,LD.LISTING,LD.MENU,LD.META,LD.NOBR,LD.OL,LD.P,LD.PRE,LD.RUBY,LD.S,LD.SMALL,LD.SPAN,LD.STRONG,LD.STRIKE,LD.SUB,LD.SUP,LD.TABLE,LD.TT,LD.U,LD.UL,LD.VAR])
;function LM(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===PM){
e.attrs[t].name=IM;break}}function BM(e){for(let t=0;t<e.attrs.length;t++){
const n=DM.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function jM(e){
for(let t=0;t<e.attrs.length;t++){const n=MM.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 UM(e,t,n,r){
return(!r||r===CD.HTML)&&function(e,t,n){
if(t===CD.MATHML&&e===LD.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===PD.ENCODING){
const e=n[r].value.toLowerCase();return e===$M.TEXT_HTML||e===$M.APPLICATION_XML
}return t===CD.SVG&&(e===LD.FOREIGN_OBJECT||e===LD.DESC||e===LD.TITLE)
}(e,t,n)||(!r||r===CD.MATHML)&&function(e,t){
return t===CD.MATHML&&(e===LD.MI||e===LD.MO||e===LD.MN||e===LD.MS||e===LD.MTEXT)
}(e,t)}const zM="hidden",ZM=8,FM=3;var HM,QM
;(QM=HM||(HM={}))[QM.INITIAL=0]="INITIAL",
QM[QM.BEFORE_HTML=1]="BEFORE_HTML",QM[QM.BEFORE_HEAD=2]="BEFORE_HEAD",
QM[QM.IN_HEAD=3]="IN_HEAD",
QM[QM.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",QM[QM.AFTER_HEAD=5]="AFTER_HEAD",
QM[QM.IN_BODY=6]="IN_BODY",
QM[QM.TEXT=7]="TEXT",QM[QM.IN_TABLE=8]="IN_TABLE",QM[QM.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",
QM[QM.IN_CAPTION=10]="IN_CAPTION",
QM[QM.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",QM[QM.IN_TABLE_BODY=12]="IN_TABLE_BODY",
QM[QM.IN_ROW=13]="IN_ROW",
QM[QM.IN_CELL=14]="IN_CELL",QM[QM.IN_SELECT=15]="IN_SELECT",
QM[QM.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",
QM[QM.IN_TEMPLATE=17]="IN_TEMPLATE",
QM[QM.AFTER_BODY=18]="AFTER_BODY",QM[QM.IN_FRAMESET=19]="IN_FRAMESET",
QM[QM.AFTER_FRAMESET=20]="AFTER_FRAMESET",
QM[QM.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",
QM[QM.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";const VM={startLine:-1,
startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1
},qM=new Set([LD.TABLE,LD.TBODY,LD.TFOOT,LD.THEAD,LD.TR]),WM={
scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:OM,onParseError:null}
;let XM=class{constructor(e,t,n=null,r=null){
this.fragmentContext=n,this.scriptHandler=r,
this.currentToken=null,this.stopped=!1,
this.insertionMode=HM.INITIAL,this.originalInsertionMode=HM.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={...WM,...e
},
this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,
this.onParseError&&(this.options.sourceCodeLocationInfo=!0),
this.document=null!=t?t:this.treeAdapter.createDocument(),
this.tokenizer=new rM(this.options,this),
this.activeFormattingElements=new yM(this.treeAdapter),
this.fragmentContextID=n?HD(this.treeAdapter.getTagName(n)):LD.UNKNOWN,
this._setContextModes(null!=n?n:this.document,this.fragmentContextID),
this.openElements=new mM(this.document,this.treeAdapter,this)}static parse(e,t){
const n=new this(t);return n.tokenizer.write(e,!0),n.document}
static getFragmentParser(e,t){const n={...WM,...t}
;null!=e||(e=n.treeAdapter.createElement(ND.TEMPLATE,CD.HTML,[]))
;const r=n.treeAdapter.createElement("documentmock",CD.HTML,[]),a=new this(n,r,e)
;return a.fragmentContextID===LD.TEMPLATE&&a.tmplInsertionModeStack.unshift(HM.IN_TEMPLATE),
a._initTokenizerForFragmentParsing(),
a._insertFakeRootElement(),a._resetInsertionMode(),
a._findFormInFragmentContext(),a}getFragment(){
const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment()
;return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return
;const a=null!==(r=e.location)&&void 0!==r?r:VM,o={code:t,startLine:a.startLine,
startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,
endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset}
;this.onParseError(o)}onItemPush(e,t,n){var r,a
;null===(a=(r=this.treeAdapter).onItemPush)||void 0===a||a.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),
null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),
t){let e,t
;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,
t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),
this._setContextModes(e,t)}}_setContextModes(e,t){
const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===CD.HTML
;this.currentNotInHTML=!n,
this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)
}_switchToTextParsing(e,t){
this._insertElement(e,CD.HTML),this.tokenizer.state=t,
this.originalInsertionMode=this.insertionMode,this.insertionMode=HM.TEXT}
switchToPlaintextParsing(){
this.insertionMode=HM.TEXT,this.originalInsertionMode=HM.IN_BODY,
this.tokenizer.state=GD.PLAINTEXT}_getAdjustedCurrentElement(){
return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current
}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){
if(this.treeAdapter.getTagName(e)===ND.FORM){this.formElement=e;break}
e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){
if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===CD.HTML)switch(this.fragmentContextID){
case LD.TITLE:case LD.TEXTAREA:this.tokenizer.state=GD.RCDATA;break
;case LD.STYLE:case LD.XMP:case LD.IFRAME:case LD.NOEMBED:case LD.NOFRAMES:
case LD.NOSCRIPT:this.tokenizer.state=GD.RAWTEXT;break;case LD.SCRIPT:
this.tokenizer.state=GD.SCRIPT_DATA;break;case LD.PLAINTEXT:
this.tokenizer.state=GD.PLAINTEXT}}_setDocumentType(e){
const t=e.name||"",n=e.publicId||"",r=e.systemId||""
;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){
const 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){const n=t&&{
...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}
if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{
const t=this.openElements.currentTmplContentOrNode
;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location)}_insertElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}
_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,CD.HTML,[])
;this._attachElementToTree(n,null),this.openElements.push(n,t)}
_insertTemplate(e){
const t=this.treeAdapter.createElement(e.tagName,CD.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(){
const e=this.treeAdapter.createElement(ND.HTML,CD.HTML,[])
;this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),
this.treeAdapter.appendChild(this.openElements.current,e),
this.openElements.push(e,LD.HTML)}_appendCommentNode(e,t){
const 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
;const r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,o=r[a-1]
;if(this.treeAdapter.getNodeSourceCodeLocation(o)){
const{endLine:t,endCol:n,endOffset:r}=e.location
;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r
})
}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,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){
const n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===gD.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,a)}}
shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1
;let t,n
;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,
n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),
(e.tagID!==LD.SVG||this.treeAdapter.getTagName(t)!==ND.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==CD.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===LD.MGLYPH||e.tagID===LD.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,CD.HTML))
}_processToken(e){switch(e.type){case gD.CHARACTER:this.onCharacter(e);break
;case gD.NULL_CHARACTER:this.onNullCharacter(e);break;case gD.COMMENT:
this.onComment(e);break;case gD.DOCTYPE:this.onDoctype(e);break
;case gD.START_TAG:this._processStartTag(e);break;case gD.END_TAG:
this.onEndTag(e);break;case gD.EOF:this.onEof(e);break
;case gD.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}
_isIntegrationPoint(e,t,n){
return UM(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)
}_reconstructActiveFormattingElements(){
const e=this.activeFormattingElements.entries.length;if(e){
const t=this.activeFormattingElements.entries.findIndex((e=>e.type===gM.Marker||this.openElements.contains(e.element)))
;for(let n=-1===t?e-1:t-1;n>=0;n--){
const e=this.activeFormattingElements.entries[n]
;this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),
e.element=this.openElements.current}}}_closeTableCell(){
this.openElements.generateImpliedEndTags(),
this.openElements.popUntilTableCellPopped(),
this.activeFormattingElements.clearToLastMarker(),this.insertionMode=HM.IN_ROW}
_closePElement(){
this.openElements.generateImpliedEndTagsWithExclusion(LD.P),this.openElements.popUntilTagNamePopped(LD.P)
}_resetInsertionMode(){
for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){
case LD.TR:return void(this.insertionMode=HM.IN_ROW);case LD.TBODY:
case LD.THEAD:case LD.TFOOT:return void(this.insertionMode=HM.IN_TABLE_BODY)
;case LD.CAPTION:return void(this.insertionMode=HM.IN_CAPTION);case LD.COLGROUP:
return void(this.insertionMode=HM.IN_COLUMN_GROUP);case LD.TABLE:
return void(this.insertionMode=HM.IN_TABLE);case LD.BODY:
return void(this.insertionMode=HM.IN_BODY);case LD.FRAMESET:
return void(this.insertionMode=HM.IN_FRAMESET);case LD.SELECT:
return void this._resetInsertionModeForSelect(e);case LD.TEMPLATE:
return void(this.insertionMode=this.tmplInsertionModeStack[0]);case LD.HTML:
return void(this.insertionMode=this.headElement?HM.AFTER_HEAD:HM.BEFORE_HEAD)
;case LD.TD:case LD.TH:if(e>0)return void(this.insertionMode=HM.IN_CELL);break
;case LD.HEAD:if(e>0)return void(this.insertionMode=HM.IN_HEAD)}
this.insertionMode=HM.IN_BODY}_resetInsertionModeForSelect(e){
if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t]
;if(e===LD.TEMPLATE)break
;if(e===LD.TABLE)return void(this.insertionMode=HM.IN_SELECT_IN_TABLE)}
this.insertionMode=HM.IN_SELECT}_isElementCausesFosterParenting(e){
return qM.has(e)}_shouldFosterParentOnInsertion(){
return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)
}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){
const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){
case LD.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===CD.HTML)return{
parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break
;case LD.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,
beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}
return{parent:this.openElements.items[0],beforeElement:null}}
_fosterParentElement(e){const t=this._findFosterParentingLocation()
;t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)
}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e)
;return VD[n].has(t)}onCharacter(e){
if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){
e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){
case HM.INITIAL:oN(this,e);break;case HM.BEFORE_HTML:iN(this,e);break
;case HM.BEFORE_HEAD:sN(this,e);break;case HM.IN_HEAD:uN(this,e);break
;case HM.IN_HEAD_NO_SCRIPT:dN(this,e);break;case HM.AFTER_HEAD:pN(this,e);break
;case HM.IN_BODY:case HM.IN_CAPTION:case HM.IN_CELL:case HM.IN_TEMPLATE:
mN(this,e);break;case HM.TEXT:case HM.IN_SELECT:case HM.IN_SELECT_IN_TABLE:
this._insertCharacters(e);break;case HM.IN_TABLE:case HM.IN_TABLE_BODY:
case HM.IN_ROW:SN(this,e);break;case HM.IN_TABLE_TEXT:CN(this,e);break
;case HM.IN_COLUMN_GROUP:DN(this,e);break;case HM.AFTER_BODY:ZN(this,e);break
;case HM.AFTER_AFTER_BODY:FN(this,e)}}onNullCharacter(e){
if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){
t.chars=tD,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){
case HM.INITIAL:oN(this,e);break;case HM.BEFORE_HTML:iN(this,e);break
;case HM.BEFORE_HEAD:sN(this,e);break;case HM.IN_HEAD:uN(this,e);break
;case HM.IN_HEAD_NO_SCRIPT:dN(this,e);break;case HM.AFTER_HEAD:pN(this,e);break
;case HM.TEXT:this._insertCharacters(e);break;case HM.IN_TABLE:
case HM.IN_TABLE_BODY:case HM.IN_ROW:SN(this,e);break;case HM.IN_COLUMN_GROUP:
DN(this,e);break;case HM.AFTER_BODY:ZN(this,e);break;case HM.AFTER_AFTER_BODY:
FN(this,e)}}onComment(e){
if(this.skipNextNewLine=!1,this.currentNotInHTML)rN(this,e);else switch(this.insertionMode){
case HM.INITIAL:case HM.BEFORE_HTML:case HM.BEFORE_HEAD:case HM.IN_HEAD:
case HM.IN_HEAD_NO_SCRIPT:case HM.AFTER_HEAD:case HM.IN_BODY:case HM.IN_TABLE:
case HM.IN_CAPTION:case HM.IN_COLUMN_GROUP:case HM.IN_TABLE_BODY:case HM.IN_ROW:
case HM.IN_CELL:case HM.IN_SELECT:case HM.IN_SELECT_IN_TABLE:
case HM.IN_TEMPLATE:case HM.IN_FRAMESET:case HM.AFTER_FRAMESET:rN(this,e);break
;case HM.IN_TABLE_TEXT:$N(this,e);break;case HM.AFTER_BODY:!function(e,t){
e._appendCommentNode(t,e.openElements.items[0])}(this,e);break
;case HM.AFTER_AFTER_BODY:case HM.AFTER_AFTER_FRAMESET:!function(e,t){
e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){
switch(this.skipNextNewLine=!1,this.insertionMode){case HM.INITIAL:
!function(e,t){e._setDocumentType(t)
;const n=t.forceQuirks?DD.QUIRKS:function(e){if(e.name!==wM)return DD.QUIRKS
;const{systemId:t}=e;if(t&&t.toLowerCase()===kM)return DD.QUIRKS
;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),AM.has(n))return DD.QUIRKS
;let e=null===t?_M:SM;if(CM(n,e))return DD.QUIRKS
;if(e=null===t?TM:EM,CM(n,e))return DD.LIMITED_QUIRKS}return DD.NO_QUIRKS}(t)
;(function(e){
return e.name===wM&&null===e.publicId&&(null===e.systemId||e.systemId===xM)
})(t)||e._err(t,hD.nonConformingDoctype)
;e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=HM.BEFORE_HTML
}(this,e);break;case HM.BEFORE_HEAD:case HM.IN_HEAD:case HM.IN_HEAD_NO_SCRIPT:
case HM.AFTER_HEAD:this._err(e,hD.misplacedDoctype);break;case HM.IN_TABLE_TEXT:
$N(this,e)}}onStartTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),
e.selfClosing&&!e.ackSelfClosing&&this._err(e,hD.nonVoidHtmlElementStartTagWithTrailingSolidus)
}_processStartTag(e){
this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){
const t=e.tagID
;return t===LD.FONT&&e.attrs.some((({name:e})=>e===PD.COLOR||e===PD.SIZE||e===PD.FACE))||RM.has(t)
}(t))HN(e),e._startTagOutsideForeignContent(t);else{
const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n)
;r===CD.MATHML?LM(t):r===CD.SVG&&(!function(e){const t=NM.get(e.tagName)
;null!=t&&(e.tagName=t,e.tagID=HD(e.tagName))
}(t),BM(t)),jM(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),
t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}
_startTagOutsideForeignContent(e){switch(this.insertionMode){case HM.INITIAL:
oN(this,e);break;case HM.BEFORE_HTML:!function(e,t){
t.tagID===LD.HTML?(e._insertElement(t,CD.HTML),
e.insertionMode=HM.BEFORE_HEAD):iN(e,t)}(this,e);break;case HM.BEFORE_HEAD:
!function(e,t){switch(t.tagID){case LD.HTML:ON(e,t);break;case LD.HEAD:
e._insertElement(t,CD.HTML),
e.headElement=e.openElements.current,e.insertionMode=HM.IN_HEAD;break;default:
sN(e,t)}}(this,e);break;case HM.IN_HEAD:lN(this,e);break
;case HM.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case LD.HTML:ON(e,t)
;break;case LD.BASEFONT:case LD.BGSOUND:case LD.HEAD:case LD.LINK:case LD.META:
case LD.NOFRAMES:case LD.STYLE:lN(e,t);break;case LD.NOSCRIPT:
e._err(t,hD.nestedNoscriptInHead);break;default:dN(e,t)}}(this,e);break
;case HM.AFTER_HEAD:!function(e,t){switch(t.tagID){case LD.HTML:ON(e,t);break
;case LD.BODY:
e._insertElement(t,CD.HTML),e.framesetOk=!1,e.insertionMode=HM.IN_BODY;break
;case LD.FRAMESET:e._insertElement(t,CD.HTML),e.insertionMode=HM.IN_FRAMESET
;break;case LD.BASE:case LD.BASEFONT:case LD.BGSOUND:case LD.LINK:case LD.META:
case LD.NOFRAMES:case LD.SCRIPT:case LD.STYLE:case LD.TEMPLATE:case LD.TITLE:
e._err(t,hD.abandonedHeadElementChild),
e.openElements.push(e.headElement,LD.HEAD),
lN(e,t),e.openElements.remove(e.headElement);break;case LD.HEAD:
e._err(t,hD.misplacedStartTagForHeadElement);break;default:pN(e,t)}}(this,e)
;break;case HM.IN_BODY:ON(this,e);break;case HM.IN_TABLE:_N(this,e);break
;case HM.IN_TABLE_TEXT:$N(this,e);break;case HM.IN_CAPTION:!function(e,t){
const n=t.tagID
;PN.has(n)?e.openElements.hasInTableScope(LD.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(LD.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=HM.IN_TABLE,_N(e,t)):ON(e,t)}(this,e);break
;case HM.IN_COLUMN_GROUP:IN(this,e);break;case HM.IN_TABLE_BODY:MN(this,e);break
;case HM.IN_ROW:RN(this,e);break;case HM.IN_CELL:!function(e,t){const n=t.tagID
;PN.has(n)?(e.openElements.hasInTableScope(LD.TD)||e.openElements.hasInTableScope(LD.TH))&&(e._closeTableCell(),
RN(e,t)):ON(e,t)}(this,e);break;case HM.IN_SELECT:BN(this,e);break
;case HM.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===LD.CAPTION||n===LD.TABLE||n===LD.TBODY||n===LD.TFOOT||n===LD.THEAD||n===LD.TR||n===LD.TD||n===LD.TH?(e.openElements.popUntilTagNamePopped(LD.SELECT),
e._resetInsertionMode(),e._processStartTag(t)):BN(e,t)}(this,e);break
;case HM.IN_TEMPLATE:!function(e,t){switch(t.tagID){case LD.BASE:
case LD.BASEFONT:case LD.BGSOUND:case LD.LINK:case LD.META:case LD.NOFRAMES:
case LD.SCRIPT:case LD.STYLE:case LD.TEMPLATE:case LD.TITLE:lN(e,t);break
;case LD.CAPTION:case LD.COLGROUP:case LD.TBODY:case LD.TFOOT:case LD.THEAD:
e.tmplInsertionModeStack[0]=HM.IN_TABLE,e.insertionMode=HM.IN_TABLE,_N(e,t)
;break;case LD.COL:
e.tmplInsertionModeStack[0]=HM.IN_COLUMN_GROUP,e.insertionMode=HM.IN_COLUMN_GROUP,
IN(e,t);break;case LD.TR:
e.tmplInsertionModeStack[0]=HM.IN_TABLE_BODY,e.insertionMode=HM.IN_TABLE_BODY,
MN(e,t);break;case LD.TD:case LD.TH:
e.tmplInsertionModeStack[0]=HM.IN_ROW,e.insertionMode=HM.IN_ROW,RN(e,t);break
;default:
e.tmplInsertionModeStack[0]=HM.IN_BODY,e.insertionMode=HM.IN_BODY,ON(e,t)}
}(this,e);break;case HM.AFTER_BODY:!function(e,t){
t.tagID===LD.HTML?ON(e,t):ZN(e,t)}(this,e);break;case HM.IN_FRAMESET:
!function(e,t){switch(t.tagID){case LD.HTML:ON(e,t);break;case LD.FRAMESET:
e._insertElement(t,CD.HTML);break;case LD.FRAME:
e._appendElement(t,CD.HTML),t.ackSelfClosing=!0;break;case LD.NOFRAMES:lN(e,t)}
}(this,e);break;case HM.AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case LD.HTML:ON(e,t);break;case LD.NOFRAMES:lN(e,t)}}(this,e);break
;case HM.AFTER_AFTER_BODY:!function(e,t){t.tagID===LD.HTML?ON(e,t):FN(e,t)
}(this,e);break;case HM.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case LD.HTML:ON(e,t);break;case LD.NOFRAMES:lN(e,t)}}(this,e)}}onEndTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){
if(t.tagID===LD.P||t.tagID===LD.BR)return HN(e),
void e._endTagOutsideForeignContent(t)
;for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n]
;if(e.treeAdapter.getNamespaceURI(r)===CD.HTML){
e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r)
;if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n)
;break}}}(this,e):this._endTagOutsideForeignContent(e)}
_endTagOutsideForeignContent(e){switch(this.insertionMode){case HM.INITIAL:
oN(this,e);break;case HM.BEFORE_HTML:!function(e,t){const n=t.tagID
;n!==LD.HTML&&n!==LD.HEAD&&n!==LD.BODY&&n!==LD.BR||iN(e,t)}(this,e);break
;case HM.BEFORE_HEAD:!function(e,t){const n=t.tagID
;n===LD.HEAD||n===LD.BODY||n===LD.HTML||n===LD.BR?sN(e,t):e._err(t,hD.endTagWithoutMatchingOpenElement)
}(this,e);break;case HM.IN_HEAD:!function(e,t){switch(t.tagID){case LD.HEAD:
e.openElements.pop(),e.insertionMode=HM.AFTER_HEAD;break;case LD.BODY:
case LD.BR:case LD.HTML:uN(e,t);break;case LD.TEMPLATE:cN(e,t);break;default:
e._err(t,hD.endTagWithoutMatchingOpenElement)}}(this,e);break
;case HM.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case LD.NOSCRIPT:
e.openElements.pop(),e.insertionMode=HM.IN_HEAD;break;case LD.BR:dN(e,t);break
;default:e._err(t,hD.endTagWithoutMatchingOpenElement)}}(this,e);break
;case HM.AFTER_HEAD:!function(e,t){switch(t.tagID){case LD.BODY:case LD.HTML:
case LD.BR:pN(e,t);break;case LD.TEMPLATE:cN(e,t);break;default:
e._err(t,hD.endTagWithoutMatchingOpenElement)}}(this,e);break;case HM.IN_BODY:
xN(this,e);break;case HM.TEXT:!function(e,t){var n
;t.tagID===LD.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current))
;e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break
;case HM.IN_TABLE:AN(this,e);break;case HM.IN_TABLE_TEXT:$N(this,e);break
;case HM.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case LD.CAPTION:
case LD.TABLE:
e.openElements.hasInTableScope(LD.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(LD.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=HM.IN_TABLE,n===LD.TABLE&&AN(e,t));break;case LD.BODY:
case LD.COL:case LD.COLGROUP:case LD.HTML:case LD.TBODY:case LD.TD:
case LD.TFOOT:case LD.TH:case LD.THEAD:case LD.TR:break;default:xN(e,t)}
}(this,e);break;case HM.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){
case LD.COLGROUP:
e.openElements.currentTagId===LD.COLGROUP&&(e.openElements.pop(),
e.insertionMode=HM.IN_TABLE);break;case LD.TEMPLATE:cN(e,t);break;case LD.COL:
break;default:DN(e,t)}}(this,e);break;case HM.IN_TABLE_BODY:NN(this,e);break
;case HM.IN_ROW:LN(this,e);break;case HM.IN_CELL:!function(e,t){const n=t.tagID
;switch(n){case LD.TD:case LD.TH:
e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker(),e.insertionMode=HM.IN_ROW);break
;case LD.TABLE:case LD.TBODY:case LD.TFOOT:case LD.THEAD:case LD.TR:
e.openElements.hasInTableScope(n)&&(e._closeTableCell(),LN(e,t));break
;case LD.BODY:case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.HTML:break
;default:xN(e,t)}}(this,e);break;case HM.IN_SELECT:jN(this,e);break
;case HM.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===LD.CAPTION||n===LD.TABLE||n===LD.TBODY||n===LD.TFOOT||n===LD.THEAD||n===LD.TR||n===LD.TD||n===LD.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(LD.SELECT),
e._resetInsertionMode(),e.onEndTag(t)):jN(e,t)}(this,e);break
;case HM.IN_TEMPLATE:!function(e,t){t.tagID===LD.TEMPLATE&&cN(e,t)}(this,e)
;break;case HM.AFTER_BODY:zN(this,e);break;case HM.IN_FRAMESET:!function(e,t){
t.tagID!==LD.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),
e.fragmentContext||e.openElements.currentTagId===LD.FRAMESET||(e.insertionMode=HM.AFTER_FRAMESET))
}(this,e);break;case HM.AFTER_FRAMESET:!function(e,t){
t.tagID===LD.HTML&&(e.insertionMode=HM.AFTER_AFTER_FRAMESET)}(this,e);break
;case HM.AFTER_AFTER_BODY:FN(this,e)}}onEof(e){switch(this.insertionMode){
case HM.INITIAL:oN(this,e);break;case HM.BEFORE_HTML:iN(this,e);break
;case HM.BEFORE_HEAD:sN(this,e);break;case HM.IN_HEAD:uN(this,e);break
;case HM.IN_HEAD_NO_SCRIPT:dN(this,e);break;case HM.AFTER_HEAD:pN(this,e);break
;case HM.IN_BODY:case HM.IN_TABLE:case HM.IN_CAPTION:case HM.IN_COLUMN_GROUP:
case HM.IN_TABLE_BODY:case HM.IN_ROW:case HM.IN_CELL:case HM.IN_SELECT:
case HM.IN_SELECT_IN_TABLE:kN(this,e);break;case HM.TEXT:!function(e,t){
e._err(t,hD.eofInElementThatCanContainOnlyText),
e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e)
;break;case HM.IN_TABLE_TEXT:$N(this,e);break;case HM.IN_TEMPLATE:UN(this,e)
;break;case HM.AFTER_BODY:case HM.IN_FRAMESET:case HM.AFTER_FRAMESET:
case HM.AFTER_AFTER_BODY:case HM.AFTER_AFTER_FRAMESET:aN(this,e)}}
onWhitespaceCharacter(e){
if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===nD.LINE_FEED)){
if(1===e.chars.length)return;e.chars=e.chars.substr(1)}
if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){
case HM.IN_HEAD:case HM.IN_HEAD_NO_SCRIPT:case HM.AFTER_HEAD:case HM.TEXT:
case HM.IN_COLUMN_GROUP:case HM.IN_SELECT:case HM.IN_SELECT_IN_TABLE:
case HM.IN_FRAMESET:case HM.AFTER_FRAMESET:this._insertCharacters(e);break
;case HM.IN_BODY:case HM.IN_CAPTION:case HM.IN_CELL:case HM.IN_TEMPLATE:
case HM.AFTER_BODY:case HM.AFTER_AFTER_BODY:case HM.AFTER_AFTER_FRAMESET:
fN(this,e);break;case HM.IN_TABLE:case HM.IN_TABLE_BODY:case HM.IN_ROW:
SN(this,e);break;case HM.IN_TABLE_TEXT:EN(this,e)}}};function GM(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):wN(e,t),n}function YM(e,t){let n=null,r=e.openElements.stackTop
;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break
;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}
return n||(e.openElements.shortenToLength(Math.max(r,0)),
e.activeFormattingElements.removeEntry(t)),n}function KM(e,t,n){
let r=t,a=e.openElements.getCommonAncestor(t);for(let o=0,i=a;i!==n;o++,i=a){
a=e.openElements.getCommonAncestor(i)
;const n=e.activeFormattingElements.getElementEntry(i),s=n&&o>=FM
;!n||s?(s&&e.activeFormattingElements.removeEntry(n),
e.openElements.remove(i)):(i=JM(e,n),
r===t&&(e.activeFormattingElements.bookmark=n),
e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}
function JM(e,t){
const 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 eN(e,t,n){
const r=HD(e.treeAdapter.getTagName(t))
;if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{
const a=e.treeAdapter.getNamespaceURI(t)
;r===LD.TEMPLATE&&a===CD.HTML&&(t=e.treeAdapter.getTemplateContent(t)),
e.treeAdapter.appendChild(t,n)}}function tN(e,t,n){
const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,o=e.treeAdapter.createElement(a.tagName,r,a.attrs)
;e._adoptNodes(t,o),
e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,a),
e.activeFormattingElements.removeEntry(n),
e.openElements.remove(n.element),e.openElements.insertAfter(t,o,a.tagID)}
function nN(e,t){for(let n=0;n<ZM;n++){const n=GM(e,t);if(!n)break
;const r=YM(e,n);if(!r)break;e.activeFormattingElements.bookmark=n
;const a=KM(e,r,n.element),o=e.openElements.getCommonAncestor(n.element)
;e.treeAdapter.detachNode(a),o&&eN(e,o,a),tN(e,r,n)}}function rN(e,t){
e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}
function aN(e,t){if(e.stopped=!0,t.location){const 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){
const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){
const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;r&&!r.endTag&&e._setEndLocation(n,t)}}}}function oN(e,t){
e._err(t,hD.missingDoctype,!0),
e.treeAdapter.setDocumentMode(e.document,DD.QUIRKS),
e.insertionMode=HM.BEFORE_HTML,e._processToken(t)}function iN(e,t){
e._insertFakeRootElement(),e.insertionMode=HM.BEFORE_HEAD,e._processToken(t)}
function sN(e,t){
e._insertFakeElement(ND.HEAD,LD.HEAD),e.headElement=e.openElements.current,
e.insertionMode=HM.IN_HEAD,e._processToken(t)}function lN(e,t){switch(t.tagID){
case LD.HTML:ON(e,t);break;case LD.BASE:case LD.BASEFONT:case LD.BGSOUND:
case LD.LINK:case LD.META:e._appendElement(t,CD.HTML),t.ackSelfClosing=!0;break
;case LD.TITLE:e._switchToTextParsing(t,GD.RCDATA);break;case LD.NOSCRIPT:
e.options.scriptingEnabled?e._switchToTextParsing(t,GD.RAWTEXT):(e._insertElement(t,CD.HTML),
e.insertionMode=HM.IN_HEAD_NO_SCRIPT);break;case LD.NOFRAMES:case LD.STYLE:
e._switchToTextParsing(t,GD.RAWTEXT);break;case LD.SCRIPT:
e._switchToTextParsing(t,GD.SCRIPT_DATA);break;case LD.TEMPLATE:
e._insertTemplate(t),
e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=HM.IN_TEMPLATE,
e.tmplInsertionModeStack.unshift(HM.IN_TEMPLATE);break;case LD.HEAD:
e._err(t,hD.misplacedStartTagForHeadElement);break;default:uN(e,t)}}
function cN(e,t){
e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),
e.openElements.currentTagId!==LD.TEMPLATE&&e._err(t,hD.closingOfElementWithOpenChildElements),
e.openElements.popUntilTagNamePopped(LD.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode()):e._err(t,hD.endTagWithoutMatchingOpenElement)}
function uN(e,t){
e.openElements.pop(),e.insertionMode=HM.AFTER_HEAD,e._processToken(t)}
function dN(e,t){
const n=t.type===gD.EOF?hD.openElementsLeftAfterEof:hD.disallowedContentInNoscriptInHead
;e._err(t,n),e.openElements.pop(),e.insertionMode=HM.IN_HEAD,e._processToken(t)}
function pN(e,t){
e._insertFakeElement(ND.BODY,LD.BODY),e.insertionMode=HM.IN_BODY,hN(e,t)}
function hN(e,t){switch(t.type){case gD.CHARACTER:mN(e,t);break
;case gD.WHITESPACE_CHARACTER:fN(e,t);break;case gD.COMMENT:rN(e,t);break
;case gD.START_TAG:ON(e,t);break;case gD.END_TAG:xN(e,t);break;case gD.EOF:
kN(e,t)}}function fN(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t)}
function mN(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}
function gN(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,CD.HTML),
e.framesetOk=!1,t.ackSelfClosing=!0}function vN(e){const t=bD(e,PD.TYPE)
;return null!=t&&t.toLowerCase()===zM}function bN(e,t){
e._switchToTextParsing(t,GD.RAWTEXT)}function yN(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,CD.HTML)}
function ON(e,t){switch(t.tagID){case LD.I:case LD.S:case LD.B:case LD.U:
case LD.EM:case LD.TT:case LD.BIG:case LD.CODE:case LD.FONT:case LD.SMALL:
case LD.STRIKE:case LD.STRONG:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,CD.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case LD.A:!function(e,t){
const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ND.A)
;n&&(nN(e,t),
e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,CD.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case LD.H1:case LD.H2:case LD.H3:case LD.H4:case LD.H5:case LD.H6:
!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&qD.has(e.openElements.currentTagId)&&e.openElements.pop(),
e._insertElement(t,CD.HTML)}(e,t);break;case LD.P:case LD.DL:case LD.OL:
case LD.UL:case LD.DIV:case LD.DIR:case LD.NAV:case LD.MAIN:case LD.MENU:
case LD.ASIDE:case LD.CENTER:case LD.FIGURE:case LD.FOOTER:case LD.HEADER:
case LD.HGROUP:case LD.DIALOG:case LD.DETAILS:case LD.ADDRESS:case LD.ARTICLE:
case LD.SEARCH:case LD.SECTION:case LD.SUMMARY:case LD.FIELDSET:
case LD.BLOCKQUOTE:case LD.FIGCAPTION:!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),
e._insertElement(t,CD.HTML)}(e,t);break;case LD.LI:case LD.DD:case LD.DT:
!function(e,t){e.framesetOk=!1;const n=t.tagID
;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r]
;if(n===LD.LI&&t===LD.LI||(n===LD.DD||n===LD.DT)&&(t===LD.DD||t===LD.DT)){
e.openElements.generateImpliedEndTagsWithExclusion(t),
e.openElements.popUntilTagNamePopped(t);break}
if(t!==LD.ADDRESS&&t!==LD.DIV&&t!==LD.P&&e._isSpecialElement(e.openElements.items[r],t))break
}
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),e._insertElement(t,CD.HTML)
}(e,t);break;case LD.BR:case LD.IMG:case LD.WBR:case LD.AREA:case LD.EMBED:
case LD.KEYGEN:gN(e,t);break;case LD.HR:!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),
e._appendElement(t,CD.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break
;case LD.RB:case LD.RTC:!function(e,t){
e.openElements.hasInScope(LD.RUBY)&&e.openElements.generateImpliedEndTags(),
e._insertElement(t,CD.HTML)}(e,t);break;case LD.RT:case LD.RP:!function(e,t){
e.openElements.hasInScope(LD.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(LD.RTC),
e._insertElement(t,CD.HTML)}(e,t);break;case LD.PRE:case LD.LISTING:
!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),e._insertElement(t,CD.HTML),
e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case LD.XMP:!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),
e._reconstructActiveFormattingElements(),
e.framesetOk=!1,e._switchToTextParsing(t,GD.RAWTEXT)}(e,t);break;case LD.SVG:
!function(e,t){
e._reconstructActiveFormattingElements(),BM(t),jM(t),t.selfClosing?e._appendElement(t,CD.SVG):e._insertElement(t,CD.SVG),
t.ackSelfClosing=!0}(e,t);break;case LD.HTML:!function(e,t){
0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)
}(e,t);break;case LD.BASE:case LD.LINK:case LD.META:case LD.STYLE:case LD.TITLE:
case LD.SCRIPT:case LD.BGSOUND:case LD.BASEFONT:case LD.TEMPLATE:lN(e,t);break
;case LD.BODY:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,
e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case LD.FORM:
!function(e,t){const n=e.openElements.tmplCount>0
;e.formElement&&!n||(e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),
e._insertElement(t,CD.HTML),n||(e.formElement=e.openElements.current))}(e,t)
;break;case LD.NOBR:!function(e,t){
e._reconstructActiveFormattingElements(),e.openElements.hasInScope(LD.NOBR)&&(nN(e,t),
e._reconstructActiveFormattingElements()),
e._insertElement(t,CD.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case LD.MATH:!function(e,t){
e._reconstructActiveFormattingElements(),
LM(t),jM(t),t.selfClosing?e._appendElement(t,CD.MATHML):e._insertElement(t,CD.MATHML),
t.ackSelfClosing=!0}(e,t);break;case LD.TABLE:!function(e,t){
e.treeAdapter.getDocumentMode(e.document)!==DD.QUIRKS&&e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),
e._insertElement(t,CD.HTML),e.framesetOk=!1,e.insertionMode=HM.IN_TABLE}(e,t)
;break;case LD.INPUT:!function(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,CD.HTML),
vN(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case LD.PARAM:
case LD.TRACK:case LD.SOURCE:!function(e,t){
e._appendElement(t,CD.HTML),t.ackSelfClosing=!0}(e,t);break;case LD.IMAGE:
!function(e,t){t.tagName=ND.IMG,t.tagID=LD.IMG,gN(e,t)}(e,t);break
;case LD.BUTTON:!function(e,t){
e.openElements.hasInScope(LD.BUTTON)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(LD.BUTTON)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,CD.HTML),e.framesetOk=!1}(e,t);break;case LD.APPLET:
case LD.OBJECT:case LD.MARQUEE:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,CD.HTML),e.activeFormattingElements.insertMarker(),
e.framesetOk=!1}(e,t);break;case LD.IFRAME:!function(e,t){
e.framesetOk=!1,e._switchToTextParsing(t,GD.RAWTEXT)}(e,t);break;case LD.SELECT:
!function(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,CD.HTML),
e.framesetOk=!1,
e.insertionMode=e.insertionMode===HM.IN_TABLE||e.insertionMode===HM.IN_CAPTION||e.insertionMode===HM.IN_TABLE_BODY||e.insertionMode===HM.IN_ROW||e.insertionMode===HM.IN_CELL?HM.IN_SELECT_IN_TABLE:HM.IN_SELECT
}(e,t);break;case LD.OPTION:case LD.OPTGROUP:!function(e,t){
e.openElements.currentTagId===LD.OPTION&&e.openElements.pop(),
e._reconstructActiveFormattingElements(),e._insertElement(t,CD.HTML)}(e,t);break
;case LD.NOEMBED:case LD.NOFRAMES:bN(e,t);break;case LD.FRAMESET:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;e.framesetOk&&n&&(e.treeAdapter.detachNode(n),
e.openElements.popAllUpToHtmlElement(),
e._insertElement(t,CD.HTML),e.insertionMode=HM.IN_FRAMESET)}(e,t);break
;case LD.TEXTAREA:!function(e,t){
e._insertElement(t,CD.HTML),e.skipNextNewLine=!0,
e.tokenizer.state=GD.RCDATA,e.originalInsertionMode=e.insertionMode,
e.framesetOk=!1,e.insertionMode=HM.TEXT}(e,t);break;case LD.NOSCRIPT:
e.options.scriptingEnabled?bN(e,t):yN(e,t);break;case LD.PLAINTEXT:
!function(e,t){
e.openElements.hasInButtonScope(LD.P)&&e._closePElement(),e._insertElement(t,CD.HTML),
e.tokenizer.state=GD.PLAINTEXT}(e,t);break;case LD.COL:case LD.TH:case LD.TD:
case LD.TR:case LD.HEAD:case LD.FRAME:case LD.TBODY:case LD.TFOOT:case LD.THEAD:
case LD.CAPTION:case LD.COLGROUP:break;default:yN(e,t)}}function wN(e,t){
const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){
const t=e.openElements.items[a],o=e.openElements.tagIDs[a]
;if(r===o&&(r!==LD.UNKNOWN||e.treeAdapter.getTagName(t)===n)){
e.openElements.generateImpliedEndTagsWithExclusion(r),
e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}
if(e._isSpecialElement(t,o))break}}function xN(e,t){switch(t.tagID){case LD.A:
case LD.B:case LD.I:case LD.S:case LD.U:case LD.EM:case LD.TT:case LD.BIG:
case LD.CODE:case LD.FONT:case LD.NOBR:case LD.SMALL:case LD.STRIKE:
case LD.STRONG:nN(e,t);break;case LD.P:!function(e){
e.openElements.hasInButtonScope(LD.P)||e._insertFakeElement(ND.P,LD.P),
e._closePElement()}(e);break;case LD.DL:case LD.UL:case LD.OL:case LD.DIR:
case LD.DIV:case LD.NAV:case LD.PRE:case LD.MAIN:case LD.MENU:case LD.ASIDE:
case LD.BUTTON:case LD.CENTER:case LD.FIGURE:case LD.FOOTER:case LD.HEADER:
case LD.HGROUP:case LD.DIALOG:case LD.ADDRESS:case LD.ARTICLE:case LD.DETAILS:
case LD.SEARCH:case LD.SECTION:case LD.SUMMARY:case LD.LISTING:case LD.FIELDSET:
case LD.BLOCKQUOTE:case LD.FIGCAPTION:!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case LD.LI:!function(e){
e.openElements.hasInListItemScope(LD.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(LD.LI),
e.openElements.popUntilTagNamePopped(LD.LI))}(e);break;case LD.DD:case LD.DT:
!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case LD.H1:case LD.H2:
case LD.H3:case LD.H4:case LD.H5:case LD.H6:!function(e){
e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilNumberedHeaderPopped())}(e);break;case LD.BR:
!function(e){
e._reconstructActiveFormattingElements(),e._insertFakeElement(ND.BR,LD.BR),
e.openElements.pop(),e.framesetOk=!1}(e);break;case LD.BODY:!function(e,t){
if(e.openElements.hasInScope(LD.BODY)&&(e.insertionMode=HM.AFTER_BODY,
e.options.sourceCodeLocationInfo)){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&e._setEndLocation(n,t)}}(e,t);break;case LD.HTML:!function(e,t){
e.openElements.hasInScope(LD.BODY)&&(e.insertionMode=HM.AFTER_BODY,zN(e,t))
}(e,t);break;case LD.FORM:!function(e){
const t=e.openElements.tmplCount>0,{formElement:n}=e
;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(LD.FORM)&&(e.openElements.generateImpliedEndTags(),
t?e.openElements.popUntilTagNamePopped(LD.FORM):n&&e.openElements.remove(n))}(e)
;break;case LD.APPLET:case LD.OBJECT:case LD.MARQUEE:!function(e,t){
const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker())}(e,t);break;case LD.TEMPLATE:
cN(e,t);break;default:wN(e,t)}}function kN(e,t){
e.tmplInsertionModeStack.length>0?UN(e,t):aN(e,t)}function SN(e,t){
if(void 0!==e.openElements.currentTagId&&qM.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,
e.hasNonWhitespacePendingCharacterToken=!1,
e.originalInsertionMode=e.insertionMode,
e.insertionMode=HM.IN_TABLE_TEXT,t.type){case gD.CHARACTER:CN(e,t);break
;case gD.WHITESPACE_CHARACTER:EN(e,t)}else TN(e,t)}function _N(e,t){
switch(t.tagID){case LD.TD:case LD.TH:case LD.TR:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertFakeElement(ND.TBODY,LD.TBODY),e.insertionMode=HM.IN_TABLE_BODY,MN(e,t)
}(e,t);break;case LD.STYLE:case LD.SCRIPT:case LD.TEMPLATE:lN(e,t);break
;case LD.COL:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertFakeElement(ND.COLGROUP,LD.COLGROUP),
e.insertionMode=HM.IN_COLUMN_GROUP,IN(e,t)}(e,t);break;case LD.FORM:
!function(e,t){
e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,CD.HTML),
e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break
;case LD.TABLE:!function(e,t){
e.openElements.hasInTableScope(LD.TABLE)&&(e.openElements.popUntilTagNamePopped(LD.TABLE),
e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case LD.TBODY:
case LD.TFOOT:case LD.THEAD:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertElement(t,CD.HTML),e.insertionMode=HM.IN_TABLE_BODY}(e,t);break
;case LD.INPUT:!function(e,t){
vN(t)?e._appendElement(t,CD.HTML):TN(e,t),t.ackSelfClosing=!0}(e,t);break
;case LD.CAPTION:!function(e,t){
e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),
e._insertElement(t,CD.HTML),e.insertionMode=HM.IN_CAPTION}(e,t);break
;case LD.COLGROUP:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertElement(t,CD.HTML),
e.insertionMode=HM.IN_COLUMN_GROUP}(e,t);break;default:TN(e,t)}}
function AN(e,t){switch(t.tagID){case LD.TABLE:
e.openElements.hasInTableScope(LD.TABLE)&&(e.openElements.popUntilTagNamePopped(LD.TABLE),
e._resetInsertionMode());break;case LD.TEMPLATE:cN(e,t);break;case LD.BODY:
case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.HTML:case LD.TBODY:
case LD.TD:case LD.TFOOT:case LD.TH:case LD.THEAD:case LD.TR:break;default:
TN(e,t)}}function TN(e,t){const n=e.fosterParentingEnabled
;e.fosterParentingEnabled=!0,hN(e,t),e.fosterParentingEnabled=n}
function EN(e,t){e.pendingCharacterTokens.push(t)}function CN(e,t){
e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}
function $N(e,t){let n=0
;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)TN(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n])
;e.insertionMode=e.originalInsertionMode,e._processToken(t)}
const PN=new Set([LD.CAPTION,LD.COL,LD.COLGROUP,LD.TBODY,LD.TD,LD.TFOOT,LD.TH,LD.THEAD,LD.TR])
;function IN(e,t){switch(t.tagID){case LD.HTML:ON(e,t);break;case LD.COL:
e._appendElement(t,CD.HTML),t.ackSelfClosing=!0;break;case LD.TEMPLATE:lN(e,t)
;break;default:DN(e,t)}}function DN(e,t){
e.openElements.currentTagId===LD.COLGROUP&&(e.openElements.pop(),
e.insertionMode=HM.IN_TABLE,e._processToken(t))}function MN(e,t){
switch(t.tagID){case LD.TR:
e.openElements.clearBackToTableBodyContext(),e._insertElement(t,CD.HTML),
e.insertionMode=HM.IN_ROW;break;case LD.TH:case LD.TD:
e.openElements.clearBackToTableBodyContext(),
e._insertFakeElement(ND.TR,LD.TR),e.insertionMode=HM.IN_ROW,RN(e,t);break
;case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.TBODY:case LD.TFOOT:
case LD.THEAD:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE,_N(e,t));break;default:_N(e,t)}
}function NN(e,t){const n=t.tagID;switch(t.tagID){case LD.TBODY:case LD.TFOOT:
case LD.THEAD:
e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE);break;case LD.TABLE:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE,AN(e,t));break;case LD.BODY:
case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.HTML:case LD.TD:case LD.TH:
case LD.TR:break;default:AN(e,t)}}function RN(e,t){switch(t.tagID){case LD.TH:
case LD.TD:
e.openElements.clearBackToTableRowContext(),e._insertElement(t,CD.HTML),
e.insertionMode=HM.IN_CELL,e.activeFormattingElements.insertMarker();break
;case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.TBODY:case LD.TFOOT:
case LD.THEAD:case LD.TR:
e.openElements.hasInTableScope(LD.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE_BODY,MN(e,t));break;default:
_N(e,t)}}function LN(e,t){switch(t.tagID){case LD.TR:
e.openElements.hasInTableScope(LD.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE_BODY);break;case LD.TABLE:
e.openElements.hasInTableScope(LD.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE_BODY,NN(e,t));break
;case LD.TBODY:case LD.TFOOT:case LD.THEAD:
(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(LD.TR))&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=HM.IN_TABLE_BODY,NN(e,t));break
;case LD.BODY:case LD.CAPTION:case LD.COL:case LD.COLGROUP:case LD.HTML:
case LD.TD:case LD.TH:break;default:AN(e,t)}}function BN(e,t){switch(t.tagID){
case LD.HTML:ON(e,t);break;case LD.OPTION:
e.openElements.currentTagId===LD.OPTION&&e.openElements.pop(),
e._insertElement(t,CD.HTML);break;case LD.OPTGROUP:
e.openElements.currentTagId===LD.OPTION&&e.openElements.pop(),
e.openElements.currentTagId===LD.OPTGROUP&&e.openElements.pop(),
e._insertElement(t,CD.HTML);break;case LD.HR:
e.openElements.currentTagId===LD.OPTION&&e.openElements.pop(),
e.openElements.currentTagId===LD.OPTGROUP&&e.openElements.pop(),
e._appendElement(t,CD.HTML),t.ackSelfClosing=!0;break;case LD.INPUT:
case LD.KEYGEN:case LD.TEXTAREA:case LD.SELECT:
e.openElements.hasInSelectScope(LD.SELECT)&&(e.openElements.popUntilTagNamePopped(LD.SELECT),
e._resetInsertionMode(),t.tagID!==LD.SELECT&&e._processStartTag(t));break
;case LD.SCRIPT:case LD.TEMPLATE:lN(e,t)}}function jN(e,t){switch(t.tagID){
case LD.OPTGROUP:
e.openElements.stackTop>0&&e.openElements.currentTagId===LD.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===LD.OPTGROUP&&e.openElements.pop(),
e.openElements.currentTagId===LD.OPTGROUP&&e.openElements.pop();break
;case LD.OPTION:e.openElements.currentTagId===LD.OPTION&&e.openElements.pop()
;break;case LD.SELECT:
e.openElements.hasInSelectScope(LD.SELECT)&&(e.openElements.popUntilTagNamePopped(LD.SELECT),
e._resetInsertionMode());break;case LD.TEMPLATE:cN(e,t)}}function UN(e,t){
e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(LD.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode(),e.onEof(t)):aN(e,t)}function zN(e,t){var n
;if(t.tagID===LD.HTML){
if(e.fragmentContext||(e.insertionMode=HM.AFTER_AFTER_BODY),
e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===LD.HTML){
e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1]
;r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)
}}else ZN(e,t)}function ZN(e,t){e.insertionMode=HM.IN_BODY,hN(e,t)}
function FN(e,t){e.insertionMode=HM.IN_BODY,hN(e,t)}function HN(e){
for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==CD.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()
}function QN(e,t){return XM.parse(e,t)}function VN(e,t,n){
"string"==typeof e&&(n=t,t=e,e=null);const r=XM.getFragmentParser(e,n)
;return r.tokenizer.write(t,!0),r.getFragment()}function qN(e){
return e&&"object"==typeof e?"position"in e||"type"in e?XN(e.position):"start"in e||"end"in e?XN(e):"line"in e||"column"in e?WN(e):"":""
}function WN(e){return GN(e&&e.line)+":"+GN(e&&e.column)}function XN(e){
return WN(e&&e.start)+"-"+WN(e&&e.end)}function GN(e){
return e&&"number"==typeof e?e:1}
ND.AREA,ND.BASE,ND.BASEFONT,ND.BGSOUND,ND.BR,ND.COL,
ND.EMBED,ND.FRAME,ND.HR,ND.IMG,
ND.INPUT,ND.KEYGEN,ND.LINK,ND.META,ND.PARAM,ND.SOURCE,ND.TRACK,ND.WBR
;class YN extends Error{constructor(e,t,n){
super(),"string"==typeof t&&(n=t,t=void 0);let r="",a={},o=!1
;if(t&&(a="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t
}:"type"in t?{ancestors:[t],place:t.position}:{...t
}),"string"==typeof e?r=e:!a.cause&&e&&(o=!0,
r=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof n){
const e=n.indexOf(":")
;-1===e?a.ruleId=n:(a.source=n.slice(0,e),a.ruleId=n.slice(e+1))}
if(!a.place&&a.ancestors&&a.ancestors){const e=a.ancestors[a.ancestors.length-1]
;e&&(a.place=e.position)}
const i=a.place&&"start"in a.place?a.place.start:a.place
;this.ancestors=a.ancestors||void 0,
this.cause=a.cause||void 0,this.column=i?i.column:void 0,
this.fatal=void 0,this.file,
this.message=r,this.line=i?i.line:void 0,this.name=qN(a.place)||"1:1",
this.place=a.place||void 0,
this.reason=this.message,this.ruleId=a.ruleId||void 0,
this.source=a.source||void 0,
this.stack=o&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",
this.actual,this.expected,this.note,this.url}}
YN.prototype.file="",YN.prototype.name="",
YN.prototype.reason="",YN.prototype.message="",
YN.prototype.stack="",YN.prototype.column=void 0,
YN.prototype.line=void 0,YN.prototype.ancestors=void 0,
YN.prototype.cause=void 0,
YN.prototype.fatal=void 0,YN.prototype.place=void 0,YN.prototype.ruleId=void 0,
YN.prototype.source=void 0;const KN={basename:function(e,t){
if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string')
;JN(e);let n,r=0,a=-1,o=e.length
;if(void 0===t||0===t.length||t.length>e.length){
for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1)
;return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,s=t.length-1
;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}
}else i<0&&(n=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,
a=i));r===a?a=i:a<0&&(a=e.length);return e.slice(r,a)},dirname:function(e){
if(JN(e),0===e.length)return".";let t,n=-1,r=e.length
;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0)
;return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)
},extname:function(e){JN(e);let t,n=e.length,r=-1,a=0,o=-1,i=0;for(;n--;){
const s=e.codePointAt(n)
;if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1);else if(t){
a=n+1;break}}if(o<0||r<0||0===i||1===i&&o===r-1&&o===a+1)return""
;return e.slice(o,r)},join:function(...e){let t,n=-1
;for(;++n<e.length;)JN(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n])
;return void 0===t?".":function(e){JN(e);const t=47===e.codePointAt(0)
;let n=function(e,t){let n,r,a="",o=0,i=-1,s=0,l=-1;for(;++l<=e.length;){
if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){
if(i===l-1||1===s);else if(i!==l-1&&2===s){
if(a.length<2||2!==o||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2))if(a.length>2){
if(r=a.lastIndexOf("/"),r!==a.length-1){
r<0?(a="",o=0):(a=a.slice(0,r),o=a.length-1-a.lastIndexOf("/")),i=l,s=0;continue
}}else if(a.length>0){a="",o=0,i=l,s=0;continue}
t&&(a=a.length>0?a+"/..":"..",o=2)
}else a.length>0?a+="/"+e.slice(i+1,l):a=e.slice(i+1,l),o=l-i-1;i=l,s=0
}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);0!==n.length||t||(n=".")
;n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},
sep:"/"};function JN(e){
if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))
}const eR={cwd:function(){return"/"}};function tR(e){
return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)
}function nR(e){if("string"==typeof e)e=new URL(e);else if(!tR(e)){
const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")
;throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){
const e=new TypeError("The URL must be of scheme file")
;throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){
const e=new TypeError('File URL host must be "localhost" or empty on darwin')
;throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1
;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){
const e=t.codePointAt(n+2);if(70===e||102===e){
const e=new TypeError("File URL path must not include encoded / characters")
;throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}
const rR=["history","path","basename","stem","extname","dirname"];class aR{
constructor(e){let t;t=e?tR(e)?{path:e}:"string"==typeof e||function(e){
return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{
value:e
}:e:{},this.cwd="cwd"in t?"":eR.cwd(),this.data={},this.history=[],this.messages=[],
this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<rR.length;){
const e=rR[r]
;e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}
for(n in t)rR.includes(n)||(this[n]=t[n])}get basename(){
return"string"==typeof this.path?KN.basename(this.path):void 0}set basename(e){
iR(e,"basename"),oR(e,"basename"),this.path=KN.join(this.dirname||"",e)}
get dirname(){return"string"==typeof this.path?KN.dirname(this.path):void 0}
set dirname(e){
sR(this.basename,"dirname"),this.path=KN.join(e||"",this.basename)}
get extname(){return"string"==typeof this.path?KN.extname(this.path):void 0}
set extname(e){if(oR(e,"extname"),sR(this.dirname,"extname"),e){
if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`")
;if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}
this.path=KN.join(this.dirname,this.stem+(e||""))}get path(){
return this.history[this.history.length-1]}set path(e){
tR(e)&&(e=nR(e)),iR(e,"path"),this.path!==e&&this.history.push(e)}get stem(){
return"string"==typeof this.path?KN.basename(this.path,this.extname):void 0}
set stem(e){
iR(e,"stem"),oR(e,"stem"),this.path=KN.join(this.dirname||"",e+(this.extname||""))
}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){
const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){
const r=new YN(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){if(void 0===this.value)return""
;if("string"==typeof this.value)return this.value
;return new TextDecoder(e||void 0).decode(this.value)}}function oR(e,t){
if(e&&e.includes(KN.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+KN.sep+"`")
}function iR(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}
function sR(e,t){
if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}
const lR={abandonedHeadElementChild:{
reason:"Unexpected metadata element after head",
description:"Unexpected element after head. Expected the element before `</head>`",
url:!1},abruptClosingOfEmptyComment:{
reason:"Unexpected abruptly closed empty comment",
description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},
abruptDoctypePublicIdentifier:{
reason:"Unexpected abruptly closed public identifier",
description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"
},abruptDoctypeSystemIdentifier:{
reason:"Unexpected abruptly closed system identifier",
description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"
},absenceOfDigitsInNumericCharacterReference:{
reason:"Unexpected non-digit at start of numeric character reference",
description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"
},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",
description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"
},characterReferenceOutsideUnicodeRange:{
reason:"Unexpected too big numeric character reference",
description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"
},closingOfElementWithOpenChildElements:{
reason:"Unexpected closing tag with open child elements",
description:"Unexpectedly closing tag. Expected other tags to be closed first",
url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",
description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"
},controlCharacterReference:{reason:"Unexpected control character reference",
description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"
},disallowedContentInNoscriptInHead:{
reason:"Disallowed content inside `<noscript>` in `<head>`",
description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",
url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",
description:"Unexpectedly double attribute. Expected attributes to occur only once"
},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",
description:"Unexpected attribute. Expected `>` instead"},
endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",
description:"Unexpected `%c-1`. Expected `>` instead"},
endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",
description:"Unexpected end tag. Expected no end tag or another end tag",url:!1
},eofBeforeTagName:{reason:"Unexpected end of file",
description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{
reason:"Unexpected end of file in CDATA",
description:"Unexpected end of file. Expected `]]>` to close the CDATA"},
eofInComment:{reason:"Unexpected end of file in comment",
description:"Unexpected end of file. Expected `--\x3e` to close the comment"},
eofInDoctype:{reason:"Unexpected end of file in doctype",
description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"
},eofInElementThatCanContainOnlyText:{
reason:"Unexpected end of file in element that can only contain text",
description:"Unexpected end of file. Expected text or a closing tag",url:!1},
eofInScriptHtmlCommentLikeText:{
reason:"Unexpected end of file in comment inside script",
description:"Unexpected end of file. Expected `--\x3e` to close the comment"},
eofInTag:{reason:"Unexpected end of file in tag",
description:"Unexpected end of file. Expected `>` to close the tag"},
incorrectlyClosedComment:{reason:"Incorrectly closed comment",
description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},
incorrectlyOpenedComment:{reason:"Incorrectly opened comment",
description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},
invalidCharacterSequenceAfterDoctypeName:{
reason:"Invalid sequence after doctype name",
description:"Unexpected sequence at `%c`. Expected `public` or `system`"},
invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
misplacedDoctype:{reason:"Misplaced doctype",
description:"Unexpected doctype. Expected doctype before head",url:!1},
misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",
description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",
url:!1},missingAttributeValue:{reason:"Missing attribute value",
description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"
},missingDoctype:{reason:"Missing doctype before other content",
description:"Expected a `<!doctype html>` before anything else",url:!1},
missingDoctypeName:{reason:"Missing doctype name",
description:"Unexpected doctype end at `%c`. Expected `html` instead"},
missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",
description:"Unexpected `%c`. Expected identifier for `public` instead"},
missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",
description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'
},missingEndTagName:{reason:"Missing name in end tag",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
missingQuoteBeforeDoctypePublicIdentifier:{
reason:"Missing quote before public identifier in doctype",
description:"Unexpected `%c`. Expected `\"` or `'` instead"},
missingQuoteBeforeDoctypeSystemIdentifier:{
reason:"Missing quote before system identifier in doctype",
description:"Unexpected `%c`. Expected `\"` or `'` instead"},
missingSemicolonAfterCharacterReference:{
reason:"Missing semicolon after character reference",
description:"Unexpected `%c`. Expected `;` instead"},
missingWhitespaceAfterDoctypePublicKeyword:{
reason:"Missing whitespace after public identifier in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceAfterDoctypeSystemKeyword:{
reason:"Missing whitespace after system identifier in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBeforeDoctypeName:{
reason:"Missing whitespace before doctype name",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBetweenAttributes:{
reason:"Missing whitespace between attributes",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{
reason:"Missing whitespace between public and system identifiers in doctype",
description:"Unexpected `%c`. Expected ASCII whitespace instead"},
nestedComment:{reason:"Unexpected nested comment",
description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{
reason:"Unexpected nested `<noscript>` in `<head>`",
description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",
url:!1},nonConformingDoctype:{
reason:"Unexpected non-conforming doctype declaration",
description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',
url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{
reason:"Unexpected trailing slash on start tag of non-void element",
description:"Unexpected `/`. Expected `>` instead"},
noncharacterCharacterReference:{
reason:"Unexpected noncharacter code point referenced by character reference",
description:"Unexpected code point. Do not use noncharacters in HTML"},
noncharacterInInputStream:{reason:"Unexpected noncharacter character",
description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},
nullCharacterReference:{
reason:"Unexpected NULL character referenced by character reference",
description:"Unexpected code point. Do not use NULL characters in HTML"},
openElementsLeftAfterEof:{reason:"Unexpected end of file",
description:"Unexpected end of file. Expected closing tag instead",url:!1},
surrogateCharacterReference:{
reason:"Unexpected surrogate character referenced by character reference",
description:"Unexpected code point. Do not use lone surrogate characters in HTML"
},surrogateInInputStream:{reason:"Unexpected surrogate character",
description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"
},unexpectedCharacterAfterDoctypeSystemIdentifier:{
reason:"Invalid character after system identifier in doctype",
description:"Unexpected character at `%c`. Expected `>`"},
unexpectedCharacterInAttributeName:{
reason:"Unexpected character in attribute name",
description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"
},unexpectedCharacterInUnquotedAttributeValue:{
reason:"Unexpected character in unquoted attribute value",
description:"Unexpected `%c`. Quote the attribute value to include it"},
unexpectedEqualsSignBeforeAttributeName:{
reason:"Unexpected equals sign before attribute name",
description:"Unexpected `%c`. Add an attribute name before it"},
unexpectedNullCharacter:{reason:"Unexpected NULL character",
description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},
unexpectedQuestionMarkInsteadOfTagName:{
reason:"Unexpected question mark instead of tag name",
description:"Unexpected `%c`. Expected an ASCII letter instead"},
unexpectedSolidusInTag:{reason:"Unexpected slash in tag",
description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"
},unknownNamedCharacterReference:{
reason:"Unexpected unknown named character reference",
description:"Unexpected character reference. Expected known named character references"
}
},cR="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",uR=/-[a-z]/g,dR=/%c(?:([-+])(\d+))?/g,pR=/%x/g,hR={
2:!0,1:!1,0:null},fR={};function mR(e,t){
const n=t||fR,r=n.onerror,a=e instanceof aR?e:new aR(e),o=n.fragment?VN:QN,i=String(a),s=o(i,{
sourceCodeLocationInfo:!0,onParseError:n.onerror?function(e){
const t=e.code,o=function(e){return e.replace(uR,gR)
}(t),s=n[o],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){
const n=lR[o],i=new YN(u(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"})
;a.path&&(i.file=a.path,
i.name=a.path+":"+i.name),i.fatal=hR[c],i.note=u(n.description),
i.url=!1===n.url?void 0:cR+t,r(i)}function u(t){
return t.replace(dR,(function(t,n,r){
const a=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return function(e){
return"`"===e?"` ` `":e}(i.charAt(e.startOffset+a))})).replace(pR,(function(){
return t=i.charCodeAt(e.startOffset),"0x"+t.toString(16).toUpperCase();var t}))}
}:null,scriptingEnabled:!1});return WI(s,{file:a,space:n.space,verbose:n.verbose
})}function gR(e){return e.charAt(1).toUpperCase()}function vR(e){
const{emitParseErrors:t,...n}={...this.data("settings"),...e}
;this.parser=function(e,r){return mR(e,{...n,onerror:t?function(e){
r.path&&(e.name=r.path+":"+e.name,e.file=r.path),r.messages.push(e)}:void 0})}}
const bR=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]
;let yR=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)
}};function OR(e,t){const n={},r={}
;for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal)
;return new yR(n,r,t)}function wR(e){return e.toLowerCase()}
yR.prototype.normal={},yR.prototype.property={},yR.prototype.space=void 0
;class xR{constructor(e,t){this.attribute=t,this.property=e}}
xR.prototype.attribute="",
xR.prototype.booleanish=!1,xR.prototype.boolean=!1,xR.prototype.commaOrSpaceSeparated=!1,
xR.prototype.commaSeparated=!1,
xR.prototype.defined=!1,xR.prototype.mustUseProperty=!1,
xR.prototype.number=!1,xR.prototype.overloadedBoolean=!1,
xR.prototype.property="",
xR.prototype.spaceSeparated=!1,xR.prototype.space=void 0;let kR=0
;const SR=PR(),_R=PR(),AR=PR(),TR=PR(),ER=PR(),CR=PR(),$R=PR();function PR(){
return 2**++kR}const IR=Object.freeze(Object.defineProperty({__proto__:null,
boolean:SR,booleanish:_R,commaOrSpaceSeparated:$R,commaSeparated:CR,number:TR,
overloadedBoolean:AR,spaceSeparated:ER},Symbol.toStringTag,{value:"Module"
})),DR=Object.keys(IR);class MR extends xR{constructor(e,t,n,r){let a=-1
;if(super(e,t),NR(this,"space",r),"number"==typeof n)for(;++a<DR.length;){
const e=DR[a];NR(this,DR[a],(n&IR[e])===IR[e])}}}function NR(e,t,n){n&&(e[t]=n)}
function RR(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){
const o=new MR(r,e.transform(e.attributes||{},r),a,e.space)
;e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),
t[r]=o,n[wR(r)]=r,n[wR(o.attribute)]=r}return new yR(t,n,e.space)}
MR.prototype.defined=!0;const LR=RR({properties:{ariaActiveDescendant:null,
ariaAtomic:_R,ariaAutoComplete:null,ariaBusy:_R,ariaChecked:_R,ariaColCount:TR,
ariaColIndex:TR,ariaColSpan:TR,ariaControls:ER,ariaCurrent:null,
ariaDescribedBy:ER,ariaDetails:null,ariaDisabled:_R,ariaDropEffect:ER,
ariaErrorMessage:null,ariaExpanded:_R,ariaFlowTo:ER,ariaGrabbed:_R,
ariaHasPopup:null,ariaHidden:_R,ariaInvalid:null,ariaKeyShortcuts:null,
ariaLabel:null,ariaLabelledBy:ER,ariaLevel:TR,ariaLive:null,ariaModal:_R,
ariaMultiLine:_R,ariaMultiSelectable:_R,ariaOrientation:null,ariaOwns:ER,
ariaPlaceholder:null,ariaPosInSet:TR,ariaPressed:_R,ariaReadOnly:_R,
ariaRelevant:null,ariaRequired:_R,ariaRoleDescription:ER,ariaRowCount:TR,
ariaRowIndex:TR,ariaRowSpan:TR,ariaSelected:_R,ariaSetSize:TR,ariaSort:null,
ariaValueMax:TR,ariaValueMin:TR,ariaValueNow:TR,ariaValueText:null,role:null},
transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()})
;function BR(e,t){return t in e?e[t]:t}function jR(e,t){
return BR(e,t.toLowerCase())}const UR=RR({attributes:{
acceptcharset:"accept-charset",classname:"class",htmlfor:"for",
httpequiv:"http-equiv"},
mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,
accept:CR,acceptCharset:ER,accessKey:ER,action:null,allow:null,
allowFullScreen:SR,allowPaymentRequest:SR,allowUserMedia:SR,alt:null,as:null,
async:SR,autoCapitalize:null,autoComplete:ER,autoFocus:SR,autoPlay:SR,
blocking:ER,capture:null,charSet:null,checked:SR,cite:null,className:ER,cols:TR,
colSpan:null,content:null,contentEditable:_R,controls:SR,controlsList:ER,
coords:TR|CR,crossOrigin:null,data:null,dateTime:null,decoding:null,default:SR,
defer:SR,dir:null,dirName:null,disabled:SR,download:AR,draggable:_R,
encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,
formEncType:null,formMethod:null,formNoValidate:SR,formTarget:null,headers:ER,
height:TR,hidden:AR,high:TR,href:null,hrefLang:null,htmlFor:ER,httpEquiv:ER,
id:null,imageSizes:null,imageSrcSet:null,inert:SR,inputMode:null,integrity:null,
is:null,isMap:SR,itemId:null,itemProp:ER,itemRef:ER,itemScope:SR,itemType:ER,
kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:SR,
low:TR,manifest:null,max:null,maxLength:TR,media:null,method:null,min:null,
minLength:TR,multiple:SR,muted:SR,name:null,nonce:null,noModule:SR,
noValidate:SR,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:SR,
optimum:TR,pattern:null,ping:ER,placeholder:null,playsInline:SR,popover:null,
popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,
readOnly:SR,referrerPolicy:null,rel:ER,required:SR,reversed:SR,rows:TR,
rowSpan:TR,sandbox:ER,scope:null,scoped:SR,seamless:SR,selected:SR,
shadowRootClonable:SR,shadowRootDelegatesFocus:SR,shadowRootMode:null,
shape:null,size:TR,sizes:null,slot:null,span:TR,spellCheck:_R,src:null,
srcDoc:null,srcLang:null,srcSet:null,start:TR,step:null,style:null,tabIndex:TR,
target:null,title:null,translate:null,type:null,typeMustMatch:SR,useMap:null,
value:_R,width:TR,wrap:null,writingSuggestions:null,align:null,aLink:null,
archive:ER,axis:null,background:null,bgColor:null,border:TR,borderColor:null,
bottomMargin:TR,cellPadding:null,cellSpacing:null,char:null,charOff:null,
classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,
compact:SR,declare:SR,event:null,face:null,frame:null,frameBorder:null,
hSpace:TR,leftMargin:TR,link:null,longDesc:null,lowSrc:null,marginHeight:TR,
marginWidth:TR,noResize:SR,noHref:SR,noShade:SR,noWrap:SR,object:null,
profile:null,prompt:null,rev:null,rightMargin:TR,rules:null,scheme:null,
scrolling:_R,standby:null,summary:null,text:null,topMargin:TR,valueType:null,
version:null,vAlign:null,vLink:null,vSpace:TR,allowTransparency:null,
autoCorrect:null,autoSave:null,disablePictureInPicture:SR,
disableRemotePlayback:SR,prefix:null,property:null,results:TR,security:null,
unselectable:null},space:"html",transform:jR}),zR=RR({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:$R,accentHeight:TR,
accumulate:null,additive:null,alignmentBaseline:null,alphabetic:TR,amplitude:TR,
arabicForm:null,ascent:TR,attributeName:null,attributeType:null,azimuth:TR,
bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,
begin:null,bias:TR,by:null,calcMode:null,capHeight:TR,className:ER,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:TR,diffuseConstant:TR,direction:null,display:null,
dur:null,divisor:TR,dominantBaseline:null,download:SR,dx:null,dy:null,
edgeMode:null,editable:null,elevation:TR,enableBackground:null,end:null,
event:null,exponent:TR,externalResourcesRequired:null,fill:null,fillOpacity:TR,
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:CR,g2:CR,glyphName:CR,glyphOrientationHorizontal:null,
glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,
gradientUnits:null,handler:null,hanging:TR,hatchContentUnits:null,
hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:TR,
horizOriginX:TR,horizOriginY:TR,id:null,ideographic:TR,imageRendering:null,
initialVisibility:null,in:null,in2:null,intercept:TR,k:TR,k1:TR,k2:TR,k3:TR,
k4:TR,kernelMatrix:$R,kernelUnitLength:null,keyPoints:null,keySplines:null,
keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,
lightingColor:null,limitingConeAngle:TR,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:TR,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:TR,overlineThickness:TR,paintOrder:null,panose1:null,path:null,
pathLength:TR,patternContentUnits:null,patternTransform:null,patternUnits:null,
phase:null,ping:ER,pitch:null,playbackOrder:null,pointerEvents:null,points:null,
pointsAtX:TR,pointsAtY:TR,pointsAtZ:TR,preserveAlpha:null,
preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$R,r:null,
radius:null,referrerPolicy:null,refX:null,refY:null,rel:$R,rev:$R,
renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$R,
requiredFeatures:$R,requiredFonts:$R,requiredFormats:$R,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:TR,
specularExponent:TR,spreadMethod:null,spacing:null,startOffset:null,
stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,
stopOpacity:null,strikethroughPosition:TR,strikethroughThickness:TR,string:null,
stroke:null,strokeDashArray:$R,strokeDashOffset:null,strokeLineCap:null,
strokeLineJoin:null,strokeMiterLimit:TR,strokeOpacity:TR,strokeWidth:null,
style:null,surfaceScale:TR,syncBehavior:null,syncBehaviorDefault:null,
syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$R,
tabIndex:TR,tableValues:null,target:null,targetX:TR,targetY:TR,textAnchor:null,
textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,
title:null,transformBehavior:null,type:null,typeOf:$R,to:null,transform:null,
transformOrigin:null,u1:null,u2:null,underlinePosition:TR,underlineThickness:TR,
unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:TR,values:null,
vAlphabetic:TR,vMathematical:TR,vectorEffect:null,vHanging:TR,vIdeographic:TR,
version:null,vertAdvY:TR,vertOriginX:TR,vertOriginY:TR,viewBox:null,
viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,
writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:TR,y:null,
y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",
transform:BR}),ZR=RR({properties:{xLinkActuate:null,xLinkArcRole:null,
xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},
space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),FR=RR({
attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},
space:"xmlns",transform:jR}),HR=RR({properties:{xmlBase:null,xmlLang:null,
xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()
}),QR=/[A-Z]/g,VR=/-[a-z]/g,qR=/^data[-\w.:]+$/i;function WR(e){
return"-"+e.toLowerCase()}function XR(e){return e.charAt(1).toUpperCase()}
const GR=OR([LR,UR,ZR,FR,HR],"html"),YR=OR([LR,zR,ZR,FR,HR],"svg"),KR={}.hasOwnProperty
;function JR(e,t){const n=t||{};function r(t,...n){let a=r.invalid
;const o=r.handlers;if(t&&KR.call(t,e)){const n=String(t[e])
;a=KR.call(o,n)?o[n]:r.unknown}if(a)return a.call(this,t,...n)}
return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}
const eL=/["&'<>`]/g,tL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nL=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,rL=/[|\\{}()[\]^$+*?.]/g,aL=new WeakMap
;function oL(e,t){return e=e.replace(t.subset?function(e){let t=aL.get(e)
;t||(t=function(e){const t=[];let n=-1
;for(;++n<e.length;)t.push(e[n].replace(rL,"\\$&"))
;return new RegExp("(?:"+t.join("|")+")","g")}(e),aL.set(e,t));return t
}(t.subset):eL,n),t.subset||t.escapeOnly?e:e.replace(tL,(function(e,n,r){
return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)
})).replace(nL,n);function n(e,n,r){
return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const iL=/[\dA-Fa-f]/
;const sL=/\d/
;const lL=["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"],cL={
nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",
uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",
plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",
sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",
Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",
Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",
Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",
Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",
Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",
atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",
ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",
ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",
ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",
Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",
Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",
Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",
beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",
kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",
sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",
upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",
weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",
darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",
forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",
prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",
and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",
ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",
oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",
rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",
quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",
Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",
lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",
rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",
euro:"€"
},uL=["cent","copy","divide","gt","lt","not","para","times"],dL={}.hasOwnProperty,pL={}
;let hL;for(hL in cL)dL.call(cL,hL)&&(pL[cL[hL]]=hL);const fL=/[^\dA-Za-z]/
;function mL(e,t,n){let r,a=function(e,t,n){
const r="&#x"+e.toString(16).toUpperCase()
;return n&&t&&!iL.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons)
;if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){
const a=String.fromCharCode(e);if(dL.call(pL,a)){const e=pL[a],o="&"+e
;return n&&lL.includes(e)&&!uL.includes(e)&&(!r||t&&61!==t&&fL.test(String.fromCharCode(t)))?o:o+";"
}return""
}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){
const r=function(e,t,n){const r="&#"+String(e)
;return n&&t&&!sL.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons);r.length<a.length&&(a=r)}
return r&&(!n.useShortestReferences||r.length<a.length)?r:a}function gL(e,t){
return oL(e,Object.assign({format:mL},t))}
const vL=/^>|^->|<!--|-->|--!>|<!-$/g,bL=[">"],yL=["<",">"];function OL(e,t){
const n=String(e)
;if("string"!=typeof t)throw new TypeError("Expected character")
;let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}
const wL=/[ \t\n\f\r]/g;function xL(e){
return"object"==typeof e?"text"===e.type&&kL(e.value):kL(e)}function kL(e){
return""===e.replace(wL,"")}const SL=TL(1),_L=TL(-1),AL=[];function TL(e){
return function(t,n,r){const a=t?t.children:AL;let o=(n||0)+e,i=a[o]
;if(!r)for(;i&&xL(i);)o+=e,i=a[o];return i}}const EL={}.hasOwnProperty
;function CL(e){return function(t,n,r){
return EL.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const $L=CL({
body:function(e,t,n){const r=SL(n,t);return!r||"comment"!==r.type},caption:PL,
colgroup:PL,dd:function(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},
dt:function(e,t,n){const r=SL(n,t)
;return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},
head:PL,html:function(e,t,n){const r=SL(n,t);return!r||"comment"!==r.type},
li:function(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){
const r=SL(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},
option:function(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},
p:function(e,t,n){const r=SL(n,t)
;return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))
},rp:IL,rt:IL,tbody:function(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},
td:DL,tfoot:function(e,t,n){return!SL(n,t)},th:DL,thead:function(e,t,n){
const r=SL(n,t)
;return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))
},tr:function(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&"tr"===r.tagName}});function PL(e,t,n){
const r=SL(n,t,!0)
;return!r||"comment"!==r.type&&!("text"===r.type&&xL(r.value.charAt(0)))}
function IL(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}
function DL(e,t,n){const r=SL(n,t)
;return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}
const ML=CL({body:function(e){const t=SL(e,-1,!0)
;return!(t&&("comment"===t.type||"text"===t.type&&xL(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))
},colgroup:function(e,t,n){const r=_L(n,t),a=SL(e,-1,!0)
;if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&$L(r,n.children.indexOf(r),n))return!1
;return Boolean(a&&"element"===a.type&&"col"===a.tagName)},head:function(e){
const t=new Set
;for(const r of e.children)if("element"===r.type&&("base"===r.tagName||"title"===r.tagName)){
if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0]
;return!n||"element"===n.type},html:function(e){const t=SL(e,-1)
;return!t||"comment"!==t.type},tbody:function(e,t,n){const r=_L(n,t),a=SL(e,-1)
;if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&$L(r,n.children.indexOf(r),n))return!1
;return Boolean(a&&"element"===a.type&&"tr"===a.tagName)}});const NL={
name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],
unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],
single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],
double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]
};function RL(e,t,n){const r=function(e,t){const n=wR(t);let r=t,a=xR
;if(n in e.normal)return e.property[e.normal[n]]
;if(n.length>4&&"data"===n.slice(0,4)&&qR.test(t)){if("-"===t.charAt(4)){
const e=t.slice(5).replace(VR,XR);r="data"+e.charAt(0).toUpperCase()+e.slice(1)
}else{const e=t.slice(4);if(!VR.test(e)){let n=e.replace(QR,WR)
;"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=MR}return new a(r,t)
}(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=e.settings.allowDangerousCharacters?0:1
;let i,s=e.quote
;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?!r.boolean&&!r.overloadedBoolean||"string"==typeof n&&n!==r.attribute&&""!==n||(n=Boolean(n)):n=!0,
null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return""
;const l=gL(r.attribute,Object.assign({},e.settings.characterReferences,{
subset:NL.name[a][o]}))
;return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?II:NI)(n,{
padLeft:!e.settings.tightCommaSeparatedLists
}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(i=gL(n,Object.assign({},e.settings.characterReferences,{
attribute:!0,subset:NL.unquoted[a][o]
}))),i!==n&&(e.settings.quoteSmart&&OL(n,s)>OL(n,e.alternative)&&(s=e.alternative),
i=s+gL(n,Object.assign({},e.settings.characterReferences,{
subset:("'"===s?NL.single:NL.double)[a][o],attribute:!0}))+s),l+(i?"="+i:i)))}
const LL=["<","&"];function BL(e,t,n,r){
return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?gL(e.value,Object.assign({},r.settings.characterReferences,{
subset:LL})):e.value}const jL=JR("type",{invalid:function(e){
throw new Error("Expected node, not `"+e+"`")},unknown:function(e){
throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{
comment:function(e,t,n,r){
return r.settings.bogusComments?"<?"+gL(e.value,Object.assign({},r.settings.characterReferences,{
subset:bL}))+">":"\x3c!--"+e.value.replace(vL,(function(e){
return gL(e,Object.assign({},r.settings.characterReferences,{subset:yL}))
}))+"--\x3e"},doctype:function(e,t,n,r){
return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"
},element:function(e,t,n,r){
const a=r.schema,o="svg"!==a.space&&r.settings.omitOptionalTags
;let i="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase())
;const s=[];let l;"html"===a.space&&"svg"===e.tagName&&(r.schema=YR)
;const c=function(e,t){const n=[];let r,a=-1
;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const a=RL(e,r,t[r])
;a&&n.push(a)}for(;++a<n.length;){
const t=e.settings.tightAttributes?n[a].charAt(n[a].length-1):void 0
;a!==n.length-1&&'"'!==t&&"'"!==t&&(n[a]+=" ")}return n.join("")
}(r,e.properties),u=r.all("html"===a.space&&"template"===e.tagName?e.content:e)
;return r.schema=a,
u&&(i=!1),!c&&o&&ML(e,t,n)||(s.push("<",e.tagName,c?" "+c:""),
i&&("svg"===a.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),
(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),
s.push("/")),s.push(">")),s.push(u),i||o&&$L(e,t,n)||s.push("</"+e.tagName+">"),
s.join("")},raw:function(e,t,n,r){
return r.settings.allowDangerousHtml?e.value:BL(e,0,n,r)},
root:function(e,t,n,r){return r.all(e)},text:BL}});const UL={},zL={},ZL=[]
;function FL(e,t,n){return jL(e,t,n,this)}function HL(e){
const t=[],n=e&&e.children||ZL;let r=-1
;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function QL(e){
const t={...this.data("settings"),...e};this.compiler=function(e){
return function(e,t){const n=t||UL,r=n.quote||'"',a='"'===r?"'":'"'
;if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`")
;return{one:FL,all:HL,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||bR,
characterReferences:n.characterReferences||zL,
closeSelfClosing:n.closeSelfClosing||!1,
closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?YR:GR,
quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e
}:e,void 0,void 0)}(e,t)}}function VL(e){if(e)throw e}function qL(e){
return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e
}var WL,XL;var GL=function(){if(XL)return WL;XL=1
;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(e){
return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)
},o=function(n){if(!n||"[object Object]"!==t.call(n))return!1
;var r,a=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf")
;if(n.constructor&&!a&&!o)return!1;for(r in n);return void 0===r||e.call(n,r)
},i=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,
configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue
},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return
;if(r)return r(t,n).value}return t[n]};return WL=function e(){
var t,n,r,l,c,u,d=arguments[0],p=1,h=arguments.length,f=!1
;for("boolean"==typeof d&&(f=d,
d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(null!=(t=arguments[p]))for(n in t)r=s(d,n),
d!==(l=s(t,n))&&(f&&l&&(o(l)||(c=a(l)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&o(r)?r:{},
i(d,{name:n,newValue:e(f,u,l)})):void 0!==l&&i(d,{name:n,newValue:l}));return d
},WL}();const YL=qL(GL);function KL(e){if("object"!=typeof e||null===e)return!1
;const t=Object.getPrototypeOf(e)
;return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)
}function JL(){const e=[],t={run:function(...t){let n=-1;const r=t.pop()
;if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r)
;!function a(o,...i){const s=e[++n];let l=-1;if(o)r(o);else{
for(;++l<t.length;)null!==i[l]&&void 0!==i[l]||(i[l]=t[l]);t=i,s?function(e,t){
let n;return r;function r(...t){const r=e.length>t.length;let s;r&&t.push(a)
;try{s=e.apply(this,t)}catch(o){if(r&&n)throw o;return a(o)}
r||(s&&s.then&&"function"==typeof s.then?s.then(i,a):s instanceof Error?a(s):i(s))
}function a(e,...r){n||(n=!0,t(e,...r))}function i(e){a(null,e)}
}(s,a)(...i):r(null,...i)}}(null,...t)},use:function(n){
if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n)
;return e.push(n),t}};return t}const eB=function(e){
const t=this.constructor.prototype,n=t[e],r=function(){
return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r
},tB={}.hasOwnProperty;class nB extends eB{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=JL()}copy(){
const e=new nB;let t=-1;for(;++t<this.attachers.length;){
const n=this.attachers[t];e.use(...n)}return e.data(YL(!0,{},this.namespace)),e}
data(e,t){return"string"==typeof e?2===arguments.length?(iB("data",this.frozen),
this.namespace[e]=t,
this):tB.call(this.namespace,e)&&this.namespace[e]||void 0:e?(iB("data",this.frozen),
this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this
;const e=this;for(;++this.freezeIndex<this.attachers.length;){
const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue
;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n)
;"function"==typeof r&&this.transformers.use(r)}
return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){
this.freeze();const t=cB(e),n=this.parser||this.Parser
;return aB("parse",n),n(String(t),t)}process(e,t){const n=this
;return this.freeze(),
aB("process",this.parser||this.Parser),oB("process",this.compiler||this.Compiler),
t?r(void 0,t):new Promise(r);function r(r,a){const o=cB(e),i=n.parse(o)
;function s(e,n){e||!n?a(e):r?r(n):t(void 0,n)}n.run(i,o,(function(e,t,r){
if(e||!t||!r)return s(e);const a=t,o=n.stringify(a,r);var i
;"string"==typeof(i=o)||function(e){
return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)
}(i)?r.value=o:r.result=o,s(e,r)}))}}processSync(e){let t,n=!1
;return this.freeze(),
aB("processSync",this.parser||this.Parser),oB("processSync",this.compiler||this.Compiler),
this.process(e,(function(e,r){n=!0,VL(e),t=r})),lB("processSync","process",n),t}
run(e,t,n){sB(e),this.freeze();const r=this.transformers
;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a)
;function a(a,o){const i=cB(t);r.run(e,i,(function(t,r,i){const s=r||e
;t?o(t):a?a(s):n(void 0,s,i)}))}}runSync(e,t){let n,r=!1
;return this.run(e,t,(function(e,t){VL(e),n=t,r=!0})),lB("runSync","run",r),n}
stringify(e,t){this.freeze();const n=cB(t),r=this.compiler||this.Compiler
;return oB("stringify",r),sB(e),r(e,n)}use(e,...t){
const n=this.attachers,r=this.namespace
;if(iB("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{
if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`")
;Array.isArray(e)?i(e):o(e)}return this;function a(e){
if("function"==typeof e)s(e,[]);else{
if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`")
;if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else o(e)}}function o(e){
if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither")
;i(e.plugins),e.settings&&(r.settings=YL(!0,r.settings,e.settings))}
function i(e){let t=-1;if(null==e);else{
if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`")
;for(;++t<e.length;){a(e[t])}}}function s(e,t){let r=-1,a=-1
;for(;++r<n.length;)if(n[r][0]===e){a=r;break}
if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...o]=t;const i=n[a][1]
;KL(i)&&KL(r)&&(r=YL(!0,i,r)),n[a]=[e,r,...o]}}}}const rB=(new nB).freeze()
;function aB(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}
function oB(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")
}function iB(e,t){
if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")
}function sB(e){
if(!KL(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")
}function lB(e,t,n){
if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}
function cB(e){return function(e){
return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)
}(e)?e:new aR(e)}const uB=function(e){if(null==e)return pB
;if("function"==typeof e)return dB(e)
;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=uB(e[n]);return dB(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){
const t=e;return dB(n);function n(n){const r=n;let a
;for(a in e)if(r[a]!==t[a])return!1;return!0}}(e)
;if("string"==typeof e)return function(e){return dB(t);function t(t){
return t&&t.type===e}}(e)
;throw new Error("Expected function, string, or object as test")}
;function dB(e){return function(t,n,r){return Boolean(function(e){
return null!==e&&"object"==typeof e&&"type"in e
}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function pB(){
return!0}const hB=[],fB=!0,mB=!1,gB="skip";function vB(e,t,n,r){let a
;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):a=t;const o=uB(a),i=r?-1:1
;!function e(a,s,l){const c=a&&"object"==typeof a?a:{}
;if("string"==typeof c.type){
const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0
;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}
return u;function u(){let c,u,d,p=hB
;if((!t||o(a,s,l[l.length-1]||void 0))&&(p=function(e){
if(Array.isArray(e))return e;if("number"==typeof e)return[fB,e]
;return null==e?hB:[e]}(n(a,l)),p[0]===mB))return p
;if("children"in a&&a.children){const t=a
;if(t.children&&p[0]!==gB)for(u=(r?t.children.length:-1)+i,
d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),
c[0]===mB)return c;u="number"==typeof c[1]?c[1]:u+i}}return p}}(e,void 0,[])()}
function bB(e,t,n,r){let a,o,i
;"function"==typeof t&&"function"!=typeof n?(o=void 0,
i=t,a=n):(o=t,i=n,a=r),vB(e,o,(function(e,t){
const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return i(e,r,n)}),a)}
const yB={ts:"typescript",js:"javascript",py:"python",py3:"python",
"c#":"csharp","c++":"cpp",node:"javascript"},OB=function(e,t,n){const r=uB(n)
;if(!e||!e.type||!e.children)throw new Error("Expected parent node")
;if("number"==typeof t){
if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")
}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index")
;for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]
},wB=function(e,t,n,r,a){const o=xB(t);return!!_B(e)&&o.call(a,e,n,r)
},xB=function(e){if(null==e)return SB;if("string"==typeof e)return function(e){
return kB(t);function t(t){return t.tagName===e}}(e)
;if("object"==typeof e)return function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=xB(e[n]);return kB(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e)
;if("function"==typeof e)return kB(e)
;throw new Error("Expected function, string, or array as `test`")}
;function kB(e){return function(t,n,r){
return Boolean(_B(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}
function SB(e){
return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)
}function _B(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}
const AB=/\n/g,TB=/[\t ]+/g,EB=xB("br"),CB=xB((function(e){
return"td"===e.tagName||"th"===e.tagName
})),$B=xB("p"),PB=xB("tr"),IB=xB(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){
return Boolean((e.properties||{}).hidden)},function(e){
return"dialog"===e.tagName&&!(e.properties||{}).open
}]),DB=xB(["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"])
;function MB(e,t){const n="children"in e?e.children:[],r=DB(e),a=BB(e,{
whitespace:{}.whitespace||"normal"}),o=[]
;"text"!==e.type&&"comment"!==e.type||o.push(...RB(e,{breakBefore:!0,
breakAfter:!0}));let i=-1;for(;++i<n.length;)o.push(...NB(n[i],e,{whitespace:a,
breakBefore:i?void 0:r,breakAfter:i<n.length-1?EB(n[i+1]):r}));const s=[];let l
;for(i=-1;++i<o.length;){const e=o[i]
;"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),
l=-1,s.push(e))}return s.join("")}function NB(e,t,n){
return"element"===e.type?function(e,t,n){const r=BB(e,n),a=e.children||[]
;let o,i,s=-1,l=[];if(IB(e))return l;EB(e)||PB(e)&&OB(t,e,PB)?i="\n":$B(e)?(o=2,
i=2):DB(e)&&(o=1,i=1);for(;++s<a.length;)l=l.concat(NB(a[s],e,{whitespace:r,
breakBefore:s?void 0:o,breakAfter:s<a.length-1?EB(a[s+1]):i}))
;CB(e)&&OB(t,e,CB)&&l.push("\t");o&&l.unshift(o);i&&l.push(i);return l
}(e,t,n):"text"===e.type?"normal"===n.whitespace?RB(e,n):function(e){
return[String(e.value)]}(e):[]}function RB(e,t){
const n=String(e.value),r=[],a=[];let o=0;for(;o<=n.length;){AB.lastIndex=o
;const e=AB.exec(n),a=e&&"index"in e?e.index:n.length
;r.push(LB(n.slice(o,a).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||t.breakBefore,a!==n.length||t.breakAfter)),
o=a+1}let i,s=-1
;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(a.push(r[s]),
i=void 0):r[s]?("number"==typeof i&&a.push(i),
a.push(r[s]),i=0):0!==s&&s!==r.length-1||a.push(0);return a}function LB(e,t,n){
const r=[];let a,o=0;for(;o<e.length;){TB.lastIndex=o;const n=TB.exec(e)
;a=n?n.index:e.length,
o||a||!n||t||r.push(""),o!==a&&r.push(e.slice(o,a)),o=n?a+n[0].length:a}
return o===a||n||r.push(""),r.join(" ")}function BB(e,t){if("element"===e.type){
const 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"}}
return t.whitespace}function jB(e){return{name:"Dockerfile",aliases:["docker"],
case_insensitive:!0,
keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],
contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{
beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",
starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function UB(e){
return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function zB(e){
return e?"string"==typeof e?e:e.source:null}function ZB(e){
return FB("(?=",e,")")}function FB(...e){return e.map((e=>zB(e))).join("")}
function HB(...e){const t=function(e){const t=e[e.length-1]
;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
}(e);return"("+(t.capture?"":"?:")+e.map((e=>zB(e))).join("|")+")"}
const QB=["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","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"],VB=["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"].sort().reverse(),qB=["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"].sort().reverse(),WB=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),XB=["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"].sort().reverse()
;function GB(e){const 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:/$/}];const a={className:"variable",
variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={
className:"literal",begin:/\bon|off|true|false|yes|no\b/},i={className:"string",
contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{
begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]
},s={begin:/\[/,end:/\]/,contains:[r,o,a,i,n,"self"],relevance:0
},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{
name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,
contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{
begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),
className:"attr",starts:{end:/$/,contains:[r,s,o,a,i,n]}}]}}
var YB="[0-9](_*[0-9])*",KB=`\\.(${YB})`,JB="[0-9a-fA-F](_*[0-9a-fA-F])*",ej={
className:"number",variants:[{
begin:`(\\b(${YB})((${KB})|\\.)?|(${KB}))[eE][+-]?(${YB})[fFdD]?\\b`},{
begin:`\\b(${YB})((${KB})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${KB})[fFdD]?\\b`},{begin:`\\b(${YB})[fFdD]\\b`},{
begin:`\\b0[xX]((${JB})\\.?|(${JB})?\\.(${JB}))[pP][+-]?(${YB})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${JB})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0};function tj(e,t,n){return-1===n?"":e.replace(t,(r=>tj(e,t,n-1)))}
const nj="[A-Za-z$_][0-9A-Za-z$_]*",rj=["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"],aj=["true","false","null","undefined","NaN","Infinity"],oj=["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"],ij=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sj=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],lj=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],cj=[].concat(sj,oj,ij)
;var uj="[0-9](_*[0-9])*",dj=`\\.(${uj})`,pj="[0-9a-fA-F](_*[0-9a-fA-F])*",hj={
className:"number",variants:[{
begin:`(\\b(${uj})((${dj})|\\.)?|(${dj}))[eE][+-]?(${uj})[fFdD]?\\b`},{
begin:`\\b(${uj})((${dj})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${dj})[fFdD]?\\b`},{begin:`\\b(${uj})[fFdD]\\b`},{
begin:`\\b0[xX]((${pj})\\.?|(${pj})?\\.(${pj}))[pP][+-]?(${uj})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${pj})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0}
;const fj=["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","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"],mj=["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"].sort().reverse(),gj=["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"].sort().reverse(),vj=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),bj=["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"].sort().reverse(),yj=gj.concat(vj).sort().reverse()
;const Oj=["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","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"],wj=["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"].sort().reverse(),xj=["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"].sort().reverse(),kj=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Sj=["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"].sort().reverse()
;function _j(e){return e?"string"==typeof e?e:e.source:null}function Aj(e){
return Tj("(?=",e,")")}function Tj(...e){return e.map((e=>_j(e))).join("")}
function Ej(...e){const t=function(e){const t=e[e.length-1]
;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
}(e);return"("+(t.capture?"":"?:")+e.map((e=>_j(e))).join("|")+")"}
const Cj=e=>Tj(/\b/,e,/\w$/.test(e)?/\b/:/\B/),$j=["Protocol","Type"].map(Cj),Pj=["init","self"].map(Cj),Ij=["Any","Self"],Dj=["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"],Mj=["false","nil","true"],Nj=["assignment","associativity","higherThan","left","lowerThan","none","right"],Rj=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Lj=["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"],Bj=Ej(/[/=\-+!*%<>&|^~?]/,/[\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]/),jj=Ej(Bj,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Uj=Tj(Bj,jj,"*"),zj=Ej(/[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]/),Zj=Ej(zj,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Fj=Tj(zj,Zj,"*"),Hj=Tj(/[A-Z]/,Zj,"*"),Qj=["attached","autoclosure",Tj(/convention\(/,Ej("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Tj(/objc\(/,Fj,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Vj=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]
;const qj="[A-Za-z$_][0-9A-Za-z$_]*",Wj=["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"],Xj=["true","false","null","undefined","NaN","Infinity"],Gj=["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"],Yj=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Kj=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Jj=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],eU=[].concat(Kj,Gj,Yj)
;function tU(e){
const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={
className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,
contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]
},o=e.inherit(a,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{
className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={
endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",
begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{
className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{
begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{
name:"HTML, XML",
aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],
case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,
end:/>/,relevance:10,contains:[a,s,i,o,{begin:/\[/,end:/\]/,contains:[{
className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,o,s,i]}]}]
},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,
relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,
relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",
begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{
end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",
begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{
end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{
className:"tag",begin:/<>|<\/>/},{className:"tag",
begin:t.concat(/</,t.lookahead(t.concat(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 nU,rU;function aU(){if(rU)return nU;function e(t){
return t instanceof Map?t.clear=t.delete=t.set=function(){
throw new Error("map is read-only")
}:t instanceof Set&&(t.add=t.clear=t.delete=function(){
throw new Error("set is read-only")
}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{
const r=t[n],a=typeof r;"object"!==a&&"function"!==a||Object.isFrozen(r)||e(r)
})),t}rU=1;class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,
this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){
return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")
}function r(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r]
;return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}
const a=e=>!!e.scope;class o{constructor(e,t){
this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){
this.buffer+=n(e)}openNode(e){if(!a(e))return;const t=((e,{prefix:t})=>{
if(e.startsWith("language:"))return e.replace("language:","language-")
;if(e.includes(".")){const n=e.split(".")
;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")
}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}
closeNode(e){a(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
this.buffer+=`<span class="${e}">`}}const i=(e={})=>{const t={children:[]}
;return Object.assign(t,e),t};class s{constructor(){
this.rootNode=i(),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){const t=i({scope:e})
;this.add(t),this.stack.push(t)}closeNode(){
if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){
for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}
walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){
return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),
t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){
"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{
s._collapse(e)})))}}class l extends s{constructor(e){super(),this.options=e}
addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){
this.closeNode()}__addSublanguage(e,t){const n=e.root
;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){
return new o(this,this.options).value()}finalize(){
return this.closeAllNodes(),!0}}function c(e){
return e?"string"==typeof e?e:e.source:null}function u(e){return h("(?=",e,")")}
function d(e){return h("(?:",e,")*")}function p(e){return h("(?:",e,")?")}
function h(...e){return e.map((e=>c(e))).join("")}function f(...e){
const t=function(e){const t=e[e.length-1]
;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}
}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function m(e){
return new RegExp(e.toString()+"|").exec("").length-1}
const g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
;function v(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n
;let r=c(e),a="";for(;r.length>0;){const e=g.exec(r);if(!e){a+=r;break}
a+=r.substring(0,e.index),
r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],
"("===e[0]&&n++)}return a})).map((e=>`(${e})`)).join(t)}
const b="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",O="\\b\\d+(\\.\\d+)?",w="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",k={
begin:"\\\\[\\s\\S]",relevance:0},S={scope:"string",begin:"'",end:"'",
illegal:"\\n",contains:[k]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",
contains:[k]},A=function(e,t,n={}){const a=r({scope:"comment",begin:e,end:t,
contains:[]},n);a.contains.push({scope:"doctag",
begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0})
;const o=f("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 a.contains.push({begin:h(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a
},T=A("//","$"),E=A("/\\*","\\*/"),C=A("#","$"),$={scope:"number",begin:O,
relevance:0},P={scope:"number",begin:w,relevance:0},I={scope:"number",begin:x,
relevance:0},D={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,
contains:[k,{begin:/\[/,end:/\]/,relevance:0,contains:[k]}]},M={scope:"title",
begin:b,relevance:0},N={scope:"title",begin:y,relevance:0},R={begin:"\\.\\s*"+y,
relevance:0};var L=Object.freeze({__proto__:null,APOS_STRING_MODE:S,
BACKSLASH_ESCAPE:k,BINARY_NUMBER_MODE:I,BINARY_NUMBER_RE:x,COMMENT:A,
C_BLOCK_COMMENT_MODE:E,C_LINE_COMMENT_MODE:T,C_NUMBER_MODE:P,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:C,IDENT_RE:b,
MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:R,NUMBER_MODE:$,NUMBER_RE:O,
PHRASAL_WORDS_MODE:{
begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
},QUOTE_STRING_MODE:_,REGEXP_MODE:D,
RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
SHEBANG:(e={})=>{const t=/^#![ ]*\//
;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),r({scope:"meta",begin:t,
end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},
TITLE_MODE:M,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:N});function B(e,t){
"."===e.input[e.index-1]&&t.ignoreMatch()}function j(e,t){
void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,t){
t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",
e.__beforeBegin=B,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
void 0===e.relevance&&(e.relevance=0))}function z(e,t){
Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function Z(e,t){
if(e.match){
if(e.begin||e.end)throw new Error("begin & end are not supported with match")
;e.begin=e.match,delete e.match}}function F(e,t){
void 0===e.relevance&&(e.relevance=1)}const H=(e,t)=>{if(!e.beforeMatch)return
;if(e.starts)throw new Error("beforeMatch cannot be used with starts")
;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]
})),e.keywords=n.keywords,e.begin=h(n.beforeMatch,u(n.begin)),e.starts={
relevance:0,contains:[Object.assign(n,{endsParent:!0})]
},e.relevance=0,delete n.beforeMatch
},Q=["of","and","for","in","not","or","if","then","parent","list","value"],V="keyword"
;function q(e,t,n=V){const r=Object.create(null)
;return"string"==typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach((function(n){
Object.assign(r,q(e[n],t,n))})),r;function a(e,n){
t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|")
;r[n[0]]=[e,W(n[0],n[1])]}))}}function W(e,t){return t?Number(t):function(e){
return Q.includes(e.toLowerCase())}(e)?0:1}const X={},G=e=>{console.error(e)
},Y=(e,...t)=>{console.log(`WARN: ${e}`,...t)},K=(e,t)=>{
X[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),X[`${e}/${t}`]=!0)
},J=new Error;function ee(e,t,{key:n}){let r=0;const a=e[n],o={},i={}
;for(let s=1;s<=t.length;s++)i[s+r]=a[s],o[s+r]=!0,r+=m(t[s-1])
;e[n]=i,e[n]._emit=o,e[n]._multi=!0}function te(e){!function(e){
e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,
delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={
_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope
}),function(e){if(Array.isArray(e.begin)){
if(e.skip||e.excludeBegin||e.returnBegin)throw G("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),
J
;if("object"!=typeof e.beginScope||null===e.beginScope)throw G("beginScope must be object"),
J;ee(e,e.begin,{key:"beginScope"}),e.begin=v(e.begin,{joinWith:""})}
}(e),function(e){if(Array.isArray(e.end)){
if(e.skip||e.excludeEnd||e.returnEnd)throw G("skip, excludeEnd, returnEnd not compatible with endScope: {}"),
J
;if("object"!=typeof e.endScope||null===e.endScope)throw G("endScope must be object"),
J;ee(e,e.end,{key:"endScope"}),e.end=v(e.end,{joinWith:""})}}(e)}function ne(e){
function t(t,n){
return new RegExp(c(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+=m(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(v(e,{joinWith:"|"
}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
;const t=this.matcherRe.exec(e);if(!t)return null
;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n]
;return t.splice(0,n),Object.assign(t,r)}}class a{constructor(){
this.rules=[],this.multiRegexes=[],
this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n
;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),
t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){
return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){
this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){
const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex
;let n=t.exec(e)
;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{
const 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}}
if(e.compilerExtensions||(e.compilerExtensions=[]),
e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.")
;return e.classNameAliases=r(e.classNameAliases||{}),function n(o,i){const s=o
;if(o.isCompiled)return s
;[j,Z,te,H].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),
o.__beforeBegin=null,[U,z,F].forEach((e=>e(o,i))),o.isCompiled=!0;let l=null
;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),
l=o.keywords.$pattern,
delete o.keywords.$pattern),l=l||/\w+/,o.keywords&&(o.keywords=q(o.keywords,e.case_insensitive)),
s.keywordPatternRe=t(l,!0),
i&&(o.begin||(o.begin=/\B|\b/),s.beginRe=t(s.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),
o.end&&(s.endRe=t(s.end)),
s.terminatorEnd=c(s.end)||"",o.endsWithParent&&i.terminatorEnd&&(s.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),
o.illegal&&(s.illegalRe=t(o.illegal)),
o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){
return function(e){
e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){
return r(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants
;if(re(e))return r(e,{starts:e.starts?r(e.starts):null})
;if(Object.isFrozen(e))return r(e);return e}("self"===e?o:e)
}))),o.contains.forEach((function(e){n(e,s)
})),o.starts&&n(o.starts,i),s.matcher=function(e){const t=new a
;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}(s),s}(e)}function re(e){
return!!e&&(e.endsWithParent||re(e.starts))}class ae extends Error{
constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}
const oe=n,ie=r,se=Symbol("nomatch"),le=function(n){
const r=Object.create(null),a=Object.create(null),o=[];let i=!0
;const s="Could not find the language '{}', did you forget to load/include a language module?",c={
disableAutodetect:!0,name:"Plain text",contains:[]};let m={
ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,
languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
cssSelector:"pre code",languages:null,__emitter:l};function g(e){
return m.noHighlightRe.test(e)}function v(e,t,n){let r="",a=""
;"object"==typeof t?(r=e,
n=t.ignoreIllegals,a=t.language):(K("10.7.0","highlight(lang, code, ...args) has been deprecated."),
K("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),
a=e,r=t),void 0===n&&(n=!0);const o={code:r,language:a};A("before:highlight",o)
;const i=o.result?o.result:b(o.language,o.code,n)
;return i.code=o.code,A("after:highlight",i),i}function b(e,n,a,o){
const l=Object.create(null);function c(){if(!A.keywords)return void E.addText(C)
;let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(C),n=""
;for(;t;){n+=C.substring(e,t.index)
;const a=x.case_insensitive?t[0].toLowerCase():t[0],o=(r=a,A.keywords[r]);if(o){
const[e,r]=o
;if(E.addText(n),n="",l[a]=(l[a]||0)+1,l[a]<=7&&($+=r),e.startsWith("_"))n+=t[0];else{
const n=x.classNameAliases[e]||e;d(t[0],n)}}else n+=t[0]
;e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(C)}var r
;n+=C.substring(e),E.addText(n)}function u(){null!=A.subLanguage?function(){
if(""===C)return;let e=null;if("string"==typeof A.subLanguage){
if(!r[A.subLanguage])return void E.addText(C)
;e=b(A.subLanguage,C,!0,T[A.subLanguage]),T[A.subLanguage]=e._top
}else e=y(C,A.subLanguage.length?A.subLanguage:null)
;A.relevance>0&&($+=e.relevance),E.__addSublanguage(e._emitter,e.language)
}():c(),C=""}function d(e,t){""!==e&&(E.startScope(t),E.addText(e),E.endScope())
}function p(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++
;continue}const r=x.classNameAliases[e[n]]||e[n],a=t[n];r?d(a,r):(C=a,c(),C=""),
n++}}function h(e,t){
return e.scope&&"string"==typeof e.scope&&E.openNode(x.classNameAliases[e.scope]||e.scope),
e.beginScope&&(e.beginScope._wrap?(d(C,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),
C=""):e.beginScope._multi&&(p(e.beginScope,t),C="")),A=Object.create(e,{parent:{
value:A}}),A}function f(e,n,r){let a=function(e,t){const n=e&&e.exec(t)
;return n&&0===n.index}(e.endRe,r);if(a){if(e["on:end"]){const r=new t(e)
;e["on:end"](n,r),r.isMatchIgnored&&(a=!1)}if(a){
for(;e.endsParent&&e.parent;)e=e.parent;return e}}
if(e.endsWithParent)return f(e.parent,n,r)}function g(e){
return 0===A.matcher.regexIndex?(C+=e[0],1):(D=!0,0)}function v(e){
const t=e[0],r=n.substring(e.index),a=f(A,e,r);if(!a)return se;const o=A
;A.endScope&&A.endScope._wrap?(u(),
d(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(u(),
p(A.endScope,e)):o.skip?C+=t:(o.returnEnd||o.excludeEnd||(C+=t),
u(),o.excludeEnd&&(C=t));do{
A.scope&&E.closeNode(),A.skip||A.subLanguage||($+=A.relevance),A=A.parent
}while(A!==a.parent);return a.starts&&h(a.starts,e),o.returnEnd?0:t.length}
let O={};function w(r,o){const s=o&&o[0];if(C+=r,null==s)return u(),0
;if("begin"===O.type&&"end"===o.type&&O.index===o.index&&""===s){
if(C+=n.slice(o.index,o.index+1),!i){
const t=new Error(`0 width match regex (${e})`)
;throw t.languageName=e,t.badRule=O.rule,t}return 1}
if(O=o,"begin"===o.type)return function(e){
const n=e[0],r=e.rule,a=new t(r),o=[r.__beforeBegin,r["on:begin"]]
;for(const t of o)if(t&&(t(e,a),a.isMatchIgnored))return g(n)
;return r.skip?C+=n:(r.excludeBegin&&(C+=n),
u(),r.returnBegin||r.excludeBegin||(C=n)),h(r,e),r.returnBegin?0:n.length}(o)
;if("illegal"===o.type&&!a){
const e=new Error('Illegal lexeme "'+s+'" for mode "'+(A.scope||"<unnamed>")+'"')
;throw e.mode=A,e}if("end"===o.type){const e=v(o);if(e!==se)return e}
if("illegal"===o.type&&""===s)return C+="\n",1;if(I>1e5&&I>3*o.index){
throw new Error("potential infinite loop, way more iterations than matches")}
return C+=s,s.length}const x=k(e)
;if(!x)throw G(s.replace("{}",e)),new Error('Unknown language: "'+e+'"')
;const S=ne(x);let _="",A=o||S;const T={},E=new m.__emitter(m);!function(){
const e=[];for(let t=A;t!==x;t=t.parent)t.scope&&e.unshift(t.scope)
;e.forEach((e=>E.openNode(e)))}();let C="",$=0,P=0,I=0,D=!1;try{
if(x.__emitTokens)x.__emitTokens(n,E);else{for(A.matcher.considerAll();;){
I++,D?D=!1:A.matcher.considerAll(),A.matcher.lastIndex=P
;const e=A.matcher.exec(n);if(!e)break;const t=w(n.substring(P,e.index),e)
;P=e.index+t}w(n.substring(P))}return E.finalize(),_=E.toHTML(),{language:e,
value:_,relevance:$,illegal:!1,_emitter:E,_top:A}}catch(M){
if(M.message&&M.message.includes("Illegal"))return{language:e,value:oe(n),
illegal:!0,relevance:0,_illegalBy:{message:M.message,index:P,
context:n.slice(P-100,P+100),mode:M.mode,resultSoFar:_},_emitter:E};if(i)return{
language:e,value:oe(n),illegal:!1,relevance:0,errorRaised:M,_emitter:E,_top:A}
;throw M}}function y(e,t){t=t||m.languages||Object.keys(r);const n=function(e){
const t={value:oe(e),illegal:!1,relevance:0,_top:c,_emitter:new m.__emitter(m)}
;return t._emitter.addText(e),t}(e),a=t.filter(k).filter(_).map((t=>b(t,e,!1)))
;a.unshift(n);const o=a.sort(((e,t)=>{
if(e.relevance!==t.relevance)return t.relevance-e.relevance
;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1
;if(k(t.language).supersetOf===e.language)return-1}return 0})),[i,s]=o,l=i
;return l.secondBest=s,l}function O(e){let t=null;const n=function(e){
let t=e.className+" ";t+=e.parentNode?e.parentNode.className:""
;const n=m.languageDetectRe.exec(t);if(n){const t=k(n[1])
;return t||(Y(s.replace("{}",n[1])),
Y("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}
return t.split(/\s+/).find((e=>g(e)||k(e)))}(e);if(g(n))return
;if(A("before:highlightElement",{el:e,language:n
}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e)
;if(e.children.length>0&&(m.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)),m.throwUnescapedHTML)){
throw new ae("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e
;const r=t.textContent,o=n?v(r,{language:n,ignoreIllegals:!0}):y(r)
;e.innerHTML=o.value,e.dataset.highlighted="yes",function(e,t,n){
const r=t&&a[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)
}(e,n,o.language),e.result={language:o.language,re:o.relevance,
relevance:o.relevance},o.secondBest&&(e.secondBest={
language:o.secondBest.language,relevance:o.secondBest.relevance
}),A("after:highlightElement",{el:e,result:o,text:r})}let w=!1;function x(){
if("loading"===document.readyState)return w||window.addEventListener("DOMContentLoaded",(function(){
x()}),!1),void(w=!0);document.querySelectorAll(m.cssSelector).forEach(O)}
function k(e){return e=(e||"").toLowerCase(),r[e]||r[a[e]]}
function S(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{
a[e.toLowerCase()]=t}))}function _(e){const t=k(e)
;return t&&!t.disableAutodetect}function A(e,t){const n=e
;o.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(n,{highlight:v,
highlightAuto:y,highlightAll:x,highlightElement:O,highlightBlock:function(e){
return K("10.7.0","highlightBlock will be removed entirely in v12.0"),
K("10.7.0","Please use highlightElement now."),O(e)},configure:function(e){
m=ie(m,e)},initHighlighting:()=>{
x(),K("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},
initHighlightingOnLoad:function(){
x(),K("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")
},registerLanguage:function(e,t){let a=null;try{a=t(n)}catch(o){
if(G("Language definition for '{}' could not be registered.".replace("{}",e)),
!i)throw o;G(o),a=c}
a.name||(a.name=e),r[e]=a,a.rawDefinition=t.bind(null,n),a.aliases&&S(a.aliases,{
languageName:e})},unregisterLanguage:function(e){delete r[e]
;for(const t of Object.keys(a))a[t]===e&&delete a[t]},listLanguages:function(){
return Object.keys(r)},getLanguage:k,registerAliases:S,autoDetection:_,
inherit:ie,addPlugin:function(e){!function(e){
e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{
e["before:highlightBlock"](Object.assign({block:t.el},t))
}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{
e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),o.push(e)},
removePlugin:function(e){const t=o.indexOf(e);-1!==t&&o.splice(t,1)}
}),n.debugMode=function(){i=!1},n.safeMode=function(){i=!0
},n.versionString="11.11.1",n.regex={concat:h,lookahead:u,either:f,optional:p,
anyNumberOfTimes:d};for(const t in L)"object"==typeof L[t]&&e(L[t])
;return Object.assign(n,L),n},ce=le({})
;return ce.newInstance=()=>le({}),nU=ce,ce.HighlightJS=ce,ce.default=ce,nU}
const oU=qL(aU()),iU={},sU="hljs-";class lU{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
;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1]
;n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}
startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}
__addSublanguage(e,t){const 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){
const t=this,n=e.split(".").map((function(e,n){
return n?e+"_".repeat(n):t.options.classPrefix+e})),r={type:"element",
tagName:"span",properties:{className:n},children:[]}
;this.stack[this.stack.length-1].children.push(r),this.stack.push(r)}
closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const cU={}
;function uU(e){
const t=e||cU,n=t.aliases,r=e?.detect??!1,a=t.languages,o=t.plainText,i=t.prefix,s=t.subset
;let l="hljs";const c=e?.lowlight??function(e){const t=oU.newInstance()
;return e&&a(e),{highlight:n,highlightAuto:function(e,a){
const o=(a||iU).subset||r();let i,s=-1,l=0;for(;++s<o.length;){const r=o[s]
;if(!t.getLanguage(r))continue;const c=n(r,e,a)
;c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,i=c)
}return i||{type:"root",children:[],data:{language:void 0,relevance:l}}},
listLanguages:r,register:a,registerAlias:function(e,n){
if("string"==typeof e)t.registerAliases("string"==typeof n?n:[...n],{
languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){const r=e[n]
;t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},
registered:function(e){return Boolean(t.getLanguage(e))}};function n(e,n,r){
const a=r||iU,o="string"==typeof a.prefix?a.prefix:sU
;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered")
;t.configure({__emitter:lU,classPrefix:o});const i=t.highlight(n,{
ignoreIllegals:!0,language:e})
;if(i.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{
cause:i.errorRaised});const s=i._emitter.root,l=s.data
;return l.language=i.language,l.relevance=i.relevance,s}function r(){
return t.listLanguages()}function a(e,n){
if("string"==typeof e)t.registerLanguage(e,n);else{let n
;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(a)
;if(n&&c.registerAlias(n),i){const e=i.indexOf("-");l=e>-1?i.slice(0,e):i}
return(e,t)=>{bB(e,"element",((e,n,a)=>{
if("code"!==e.tagName||!a||"element"!==a.type||"pre"!==a.tagName)return
;const u=function(e){const t=e.properties.className
;if(!Array.isArray(t))return"";const n=t.reduce(((e,t)=>{if(e)return e
;const n=String(t)
;return"no-highlight"===n||"nohighlight"===n?"no-highlight":"lang-"===n.slice(0,5)?n.slice(5):"language-"===n.slice(0,9)?n.slice(9):e
}),"");return yB[n||""]||n}(e)
;if("no-highlight"===u||!u&&!r||u&&o?.includes(u))return;let d
;Array.isArray(e.properties.className)||(e.properties.className=[]),
e.properties.className.includes(l)||e.properties.className.unshift(l);try{
d=u?c.highlight(u,MB(a),{prefix:i}):c.highlightAuto(MB(a),{prefix:i,subset:s})
}catch(p){const n=p
;if(u&&/Unknown language/.test(n.message))return void t.message(`Cannot highlight as \`${u}\`, it's not registered`,{
ancestors:[a,e],cause:n,place:e.position,ruleId:"missing-language",
source:"rehype-highlight"});throw n}
!u&&d.data?.language&&e.properties.className.push("language-"+d.data.language),
d.children.length>0&&(e.children=d.children)}))}}function dU(e){
return"text"===e?.type}function pU(e){return"element"===e?.type}function hU(e){
return{type:"text",value:e}}function fU(){return e=>{bB(e,"element",((e,t,n)=>{
if("element"===n?.type&&"pre"===n.tagName&&"code"===e.tagName){let t=0
;e.children=mU(e),e.children.forEach((e=>{
if("element"===e.type&&"span"===e.tagName){
const n=e.children[e.children.length-1]
;n&&(!dU(n)||dU(n)&&!vU(n))&&(e.children.push({type:"text",value:"\n"}),t++)}
})),
e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]
}}))}}function mU(e,t=[],n){
const r=()=>t[t.length-1]??(t.push(gU())&&t[t.length-1]||void 0)
;return e.children.forEach((a=>{if(dU(a)&&vU(a)){const o=a.value.split(/\n/)
;o.forEach(((a,i)=>{n?r()?.children.push({...e,children:[hU(a)]
}):r()?.children.push(hU(a)),i!==o.length-1&&t.push(gU())}))
}else pU(a)&&a.children.some(vU)?mU(a,t,!0):r()?.children.push(a)})),t}
function gU(...e){return{type:"element",tagName:"span",properties:{
class:["line"]},children:e}}function vU(e){
return dU(e)&&/\r?\n/.test(e.value)||pU(e)&&e.children.some(vU)}
function bU(e,t){
const n=("string"==typeof t?.maskCredentials?[t.maskCredentials]:t?.maskCredentials??[]).filter((e=>!(e.length<3))),r=`language-${yB[t.lang]??t.lang}`
;var a;const o=rB().use(vR,{fragment:!0}).use((a=e,()=>e=>{bB(e,"element",(e=>{
"code"===e.tagName&&e.children.push({type:"text",value:a})}))})).use(uU,{
languages:t.languages
}).use(t?.lineNumbers?fU:()=>{}).use(QL).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>`)),o):o
}var yU,OU;const wU={bash:function(e){const 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]});const a={
className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]
},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={
begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,
end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,n,a]};a.contains.push(s);const l={begin:/\$?\(\(/,
end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]
},c=e.SHEBANG({
binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,
relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,
returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],
relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{
$pattern:/\b[a-z][a-z0-9._-]+\b/,
keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],
literal:["true","false"],
built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","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"]
},contains:[c,e.SHEBANG(),u,l,o,i,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},{
className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){
const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={
className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{
match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{
begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{
begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
end:"'",illegal:"."},e.END_SAME_AS_BEGIN({
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={
className:"number",variants:[{match:/\b(0b[01']+)/},{
match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/
},{
match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/
},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0
},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"
},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{
className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0
},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",p={
keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],
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"],
literal:"true false NULL",
built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
},h=[c,i,n,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{
begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],
keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,
contains:h.concat(["self"]),relevance:0}]),relevance:0},m={
begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{
begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],
relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,
keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,
end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,i]
}]},i,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,
disableAutodetect:!0,illegal:"</",contains:[].concat(f,m,h,[c,{
begin:e.IDENT_RE+"::",keywords:p},{className:"class",
beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{
beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,
strings:s,keywords:p}}},clojure:function(e){
const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={
$pattern:n,
built_in:r+" 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"
},o={begin:n,relevance:0},i={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?/}]},s={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}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]
},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",
match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),p={
className:"literal",begin:/\b(true|false|nil)\b/},h={
begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},f={className:"symbol",
begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0
},v={keywords:a,className:"name",begin:n,relevance:0,starts:g
},b=[u,m,s,l,c,d,f,h,i,p,o],y={beginKeywords:r,keywords:{$pattern:n,keyword:r},
end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,
relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)}
;return m.contains=[y,v,g],g.contains=b,h.contains=b,{name:"Clojure",
aliases:["clj","edn"],illegal:/\S/,contains:[u,m,s,l,c,d,f,h,i,p]}},
cpp:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={
className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{
begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{
begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
end:"'",illegal:"."},e.END_SAME_AS_BEGIN({
begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={
className:"number",variants:[{
begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"
},{
begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"
}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{
className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0
},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",p={
type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],
keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],
literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],
_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]
},h={className:"function.dispatch",relevance:0,keywords:{
_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]
},
begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))
},f=[h,c,i,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{
begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],
keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,
contains:f.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",
begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{
begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{
begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{
className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,
contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,
relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,i]}]
},i,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",
aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",
classNameAliases:{"function.dispatch":"built_in"},
contains:[].concat(m,g,h,f,[c,{
begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
end:">",keywords:p,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:p},{
match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],
className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){const t={
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"].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"]),
built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],
literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{
begin:"[a-zA-Z](\\.?\\w)*"}),r={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},a={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]
},o=e.inherit(a,{illegal:/\n/}),i={className:"subst",begin:/\{/,end:/\}/,
keywords:t},s=e.inherit(i,{illegal:/\n/}),l={className:"string",begin:/\$"/,
end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/
},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{
begin:/\{\{/},{begin:/\}\}/},{begin:'""'},i]},u=e.inherit(c,{illegal:/\n/,
contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]})
;i.contains=[c,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],
s.contains=[u,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{
illegal:/\n/})];const d={variants:[{className:"string",
begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1
},c,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",
contains:[{beginKeywords:"in out"},n]
},h=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={
begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],
keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,
contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{
begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]
}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",
end:"$",keywords:{
keyword:"if else elif endif define undef warning error line region endregion pragma checksum"
}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,
illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"
},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",
relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,p,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:"("+h+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,
end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{
beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),
relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,
contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,
contains:[d,r,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},css:function(e){
const t=e.regex,n=(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_-]*/}
}))(e),r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",
case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},
classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{
begin:/-(webkit|moz|ms|o)-(?=[a-z])/},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:":("+qB.join("|")+")"},{begin:":(:)?("+WB.join("|")+")"}]
},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XB.join("|")+")\\b"},{
begin:/:/,end:/[;}{]/,
contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{
begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"
},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,
excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",
relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/
},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{
$pattern:/[a-z-]+/,keyword:"and or not only",attribute:VB.join(" ")},contains:[{
begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{
className:"selector-tag",begin:"\\b("+QB.join("|")+")\\b"}]}},
curl:qL(OU?yU:(OU=1,yU=function(e){const t={className:"string",begin:/"/,
end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,
end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:"number",
variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",
aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[{
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},{className:"literal",begin:/--/,
end:/[\s"]/,returnEnd:!0,relevance:0},{className:"literal",begin:/-\w/,
end:/[\s"]/,returnEnd:!0,relevance:0},t,{className:"string",begin:/\\"/,
relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,{match:/(\/[a-z._-]+)+/}]}})),
dart:function(e){const 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/}]},a={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,a]
;const o=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],i=o.map((e=>`${e}?`))
;return{name:"Dart",keywords:{
keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],
built_in:o.concat(i).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),
$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},
contains:[a,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:"=>"}]}},diff:function(e){
const 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:/$/}]}},docker:jB,dockerfile:jB,elixir:function(e){
const 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"],
literal:["false","nil","true"]},a={className:"subst",begin:/#\{/,end:/\}/,
keywords:r},o={match:/\\[\s\S]/,scope:"char.escape",relevance:0
},i="[/|([{<\"']",s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,
end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{
begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:"char.escape",
begin:t.concat(/\\/,e),relevance:0}),c={className:"string",
begin:"~[a-z](?="+i+")",contains:s.map((t=>e.inherit(t,{contains:[l(t.end),o,a]
})))},u={className:"string",begin:"~[A-Z](?="+i+")",
contains:s.map((t=>e.inherit(t,{contains:[l(t.end)]})))},d={className:"regex",
variants:[{begin:"~r(?="+i+")",contains:s.map((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),o,a]})))},{
begin:"~R(?="+i+")",contains:s.map((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]})))}]},p={
className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"""/,
end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{
begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{
begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},h={
className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,
contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},f=e.inherit(h,{
className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",
end:/\bdo\b|$|;/}),m=[p,d,u,c,e.HASH_COMMENT_MODE,f,h,{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},{
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},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}]
;return a.contains=m,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:m}
},fsharp:function(e){const t={scope:"keyword",
match:/\b(yield|return|let|do|match|use)!/
},n=["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"],r={
keyword:["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"],
literal:["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],
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"],
"variable.constant":["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"]},a={
variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]
}),e.C_LINE_COMMENT_MODE]},o={scope:"variable",begin:/``/,end:/``/
},i=/\B('|\^)/,s={scope:"symbol",variants:[{match:FB(i,/``.*?``/)},{
match:FB(i,e.UNDERSCORE_IDENT_RE)}],relevance:0},l=function({includeEqual:e}){
let t;t=e?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?"
;const n=FB("[",...Array.from(t).map(UB),"]"),r=HB(n,/\./),a=FB(r,ZB(r)),o=HB(FB(a,r,"*"),FB(n,"+"))
;return{scope:"operator",match:HB(o,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),
relevance:0}},c=l({includeEqual:!0}),u=l({includeEqual:!1}),d=function(t,i){
return{begin:FB(t,ZB(FB(/\s*/,HB(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),
beginScope:i,end:ZB(HB(/\n/,/=/)),relevance:0,keywords:e.inherit(r,{type:n}),
contains:[a,s,e.inherit(o,{scope:null}),u]}
},p=d(/:/,"operator"),h=d(/\bof\b/,"keyword"),f={
begin:[/(^|\s+)/,/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",
4:"title.class"},end:ZB(/\(|=|$/),keywords:r,contains:[a,e.inherit(o,{scope:null
}),s,{scope:"operator",match:/<|>/},p]},m={scope:"computation-expression",
match:/\b[_a-z]\w*(?=\s*\{)/},g={
begin:[/^\s*/,FB(/#/,HB("if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit")),/\b/],
beginScope:{2:"meta"},end:ZB(/\s|$/)},v={
variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},b={scope:"string",begin:/"/,
end:/"/,contains:[e.BACKSLASH_ESCAPE]},y={scope:"string",begin:/@"/,end:/"/,
contains:[{match:/""/},e.BACKSLASH_ESCAPE]},O={scope:"string",begin:/"""/,
end:/"""/,relevance:2},w={scope:"subst",begin:/\{/,end:/\}/,keywords:r},x={
scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/
},e.BACKSLASH_ESCAPE,w]},k={scope:"string",begin:/(\$@|@\$)"/,end:/"/,
contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,w]},S={
scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/
},w],relevance:2},_={scope:"string",
match:FB(/'/,HB(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)
};return w.contains=[k,x,y,b,_,t,a,o,p,m,g,v,s,c],{name:"F#",
aliases:["fs","f#"],keywords:r,illegal:/\/\*/,classNameAliases:{
"computation-expression":"keyword"},contains:[t,{variants:[S,k,x,O,y,b,_]
},a,o,f,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[o,O,y,b,_,v]
},h,p,m,g,v,s,c]}},go:function(e){const 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:/["']/}]}]}},graphql:function(e){
const 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/]}},haskell:function(e){
const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",a={
variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},o={
className:"meta",begin:/\{-#/,end:/#-\}/},i={className:"meta",begin:"^#",end:"$"
},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",
end:"\\)",illegal:'"',contains:[o,i,{className:"type",
begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{
begin:"[_a-z][\\w']*"}),a]},c={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:[l,a],illegal:"\\W\\.|;"},{
begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",
contains:[l,a],illegal:"\\W\\.|;"},{className:"class",
begin:"^(\\s*)?(class|instance)\\b",end:"where",
keywords:"class family instance where",contains:[s,l,a]},{className:"class",
begin:"\\b(data|(new)?type)\\b",end:"$",
keywords:"data family type newtype deriving",contains:[o,s,l,{begin:/\{/,
end:/\}/,contains:l.contains},a]},{beginKeywords:"default",end:"$",
contains:[s,l,a]},{beginKeywords:"infix infixl infixr",end:"$",
contains:[e.C_NUMBER_MODE,a]},{begin:"\\bforeign\\b",end:"$",
keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",
contains:[s,e.QUOTE_STRING_MODE,a]},{className:"meta",
begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},o,i,{scope:"string",
begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]
},e.QUOTE_STRING_MODE,c,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{
begin:`(?!-)${r}--+|--+(?!-)${r}`},a,{begin:"->|<-"}]}},html:tU,
http:function(e){const t="HTTP/([32]|1\\.[01])",n={className:"attribute",
begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{
contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",
relevance:0}}]}},r=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}
}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{
begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{
className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,
contains:r}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{
className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{
className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{
end:/\b\B/,illegal:/\S/,contains:r}},e.inherit(n,{relevance:0})]}},ini:GB,
java:function(e){
const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+tj("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),a={
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"],
literal:["false","true","null"],
type:["char","boolean","long","float","int","byte","short","double"],
built_in:["super","this"]},o={className:"meta",begin:"@"+n,contains:[{
begin:/\(/,end:/\)/,contains:["self"]}]},i={className:"params",begin:/\(/,
end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0}
;return{name:"Java",aliases:["jsp"],keywords:a,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:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
beginKeywords:"new throw return else",relevance:0},{
begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{
2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,
end:/\)/,keywords:a,relevance:0,
contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,ej,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},ej,o]}},javascript:function(e){
const t=e.regex,n=nj,r="<>",a="</>",o={begin:/<[A-Za-z0-9\\._:-]+/,
end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{
const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let a
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const o=e.input.substring(n)
;((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&0===a.index)&&t.ignoreMatch()
}},i={$pattern:nj,keyword:rj,literal:aj,built_in:cj,"variable.language":lj
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\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},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:i,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:".?gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={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:n+"(?=\\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,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),y=b.concat([{begin:/(\s*)\(/,end:/\)/,
keywords:i,contains:["self"].concat(b)}]),O={className:"params",begin:/(\s*)\(/,
end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,
match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
className:"title.class",keywords:{_:[...oj,...ij]}},k={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...sj,"super","import"].map((e=>`${e}\\s*\\(`)),
t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\s*\(/)),
className:"title.function",relevance:0};var _;const A={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},O]
},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",C={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{
PARAMS_CONTAINS:y,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,
contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{
label:"use_strict",className:"meta",relevance:10,
begin:/^\s*['"]use (strict|asm)['"]/
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,g,{match:/\$\d+/},u,x,{
scope:"attr",match:n+t.lookahead(":"),relevance:0},C,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{
className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{
className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y}]}]},{begin:/,/,relevance:0
},{match:/\s+/,relevance:0},{variants:[{begin:r,end:a},{
match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,
"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{
begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},k,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[O,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[O]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}},json:function(e){
const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")}
;return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{
className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{
match:/[{}[\],:]/,className:"punctuation",relevance:0
},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],
illegal:"\\S"}},kotlin:function(e){const 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:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"
},r={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,r]},{begin:"'",end:"'",
illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,
contains:[e.BACKSLASH_ESCAPE,a,r]}]};r.contains.push(o);const i={
className:"meta",
begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"
},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,
end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]
},l=hj,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={
variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,
contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],
{name:"Kotlin",aliases:["kt","kts"],keywords:t,
contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",
begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",
begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",
begin:/@\w+/}]}},n,i,s,{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:[u,e.C_LINE_COMMENT_MODE,c],relevance:0
},e.C_LINE_COMMENT_MODE,c,i,s,o,e.C_NUMBER_MODE]},c]},{
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},i,s]},o,{className:"meta",begin:"^#!/usr/bin/env",
end:"$",illegal:"\n"},l]}},less:function(e){const t=(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_-]*/}
}))(e),n=yj,r="[\\w-]+",a="("+r+"|@\\{"+r+"\\})",o=[],i=[],s=function(e){return{
className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,
begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:"and or not only",
attribute:mj.join(" ")},u={begin:"\\(",end:"\\)",contains:i,keywords:c,
relevance:0}
;i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{
begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",
excludeEnd:!0}
},t.HEXCOLOR,u,l("variable","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{
className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0
},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=i.concat({
begin:/\{/,end:/\}/,contains:o}),p={beginKeywords:"when",endsWithParent:!0,
contains:[{beginKeywords:"and not"}].concat(i)},h={begin:a+"\\s*:",
returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/
},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+bj.join("|")+")\\b",
end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]
},f={className:"keyword",
begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:i,relevance:0}},m={
className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r
}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{
begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,
returnEnd:!0,illegal:"[<='$\"]",relevance:0,
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+r+"\\}"),{
begin:"\\b("+fj.join("|")+")\\b",className:"selector-tag"
},t.CSS_NUMBER_MODE,l("selector-tag",a,0),l("selector-id","#"+a),l("selector-class","\\."+a,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{
className:"selector-pseudo",begin:":("+gj.join("|")+")"},{
className:"selector-pseudo",begin:":(:)?("+vj.join("|")+")"},{begin:/\(/,
end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},v={
begin:r+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]}
;return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,m,v,h,g,p,t.FUNCTION_DISPATCH),
{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:o}},
lua:function(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,
contains:["self"]},a=[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:a.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:a}].concat(a)
},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",
begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){const 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]},a={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},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,a,{className:"meta",begin:/^\.PHONY:/,
end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o]}},
markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",
relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{
begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,
relevance:2},{
begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),
relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{
begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/
},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,
returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",
excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",
end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],
variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]
},a={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{
begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(r,{contains:[]
}),i=e.inherit(a,{contains:[]});r.contains.push(i),a.contains.push(o)
;let s=[t,n];return[r,a,o,i].forEach((e=>{e.contains=e.contains.concat(s)
})),s=s.concat(r,a),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{
className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{
begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",
contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",
end:"\\s+",excludeEnd:!0},r,a,{className:"quote",begin:"^>\\s+",contains:s,
end:"$"},{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}]},{
begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{
className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{
className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",
match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}},
matlab:function(e){const 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("%","$")]}},
nginx:function(e){const 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\\}\\{]"}},objectivec:function(e){
const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,
keyword:["@interface","@class","@protocol","@implementation"]};return{
name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],
keywords:{"variable.language":["this","super"],$pattern:t,
keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],
literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],
built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],
type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]
},illegal:"</",contains:[{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+"
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{
className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",
contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,
keywords:{
keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"
},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{
className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",
begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,
contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,
relevance:0}]}},ocaml:function(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:/->/}]}},perl:function(e){
const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,
keyword:["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"].join(" ")
},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},o={begin:/->\{/,
end:/\}/},i={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",
variants:[{begin:/\$\d/},{
begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")
},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[i]},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
},c=[e.BACKSLASH_ESCAPE,a,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,r,a="\\1")=>{
const o="\\1"===a?a:t.concat(a,r)
;return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,o,/(?:\\.|[^\\\/])*?/,a,n)
},p=(e,r,a)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,a,n),h=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{
endsWithParent:!0}),o,{className:"string",contains:c,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:d("s|tr|y",t.either(...u,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{
begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{
className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{
begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",t.either(...u,{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,i]
},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,
contains:[e.TITLE_MODE,i,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",
end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",
className:"comment"}]}];return a.contains=h,o.contains=h,{name:"Perl",
aliases:["pl","pm"],keywords:r,contains:h}},php:function(e){
const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),a=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),i={
scope:"variable",match:"\\$+"+r},s={scope:"subst",variants:[{begin:/\$\w+/},{
begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null
}),c="[ \t\n]",u={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{
illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),l,{
begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,
contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{
t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{
t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({
begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},d={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
},p=["false","null","true"],h=["__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"],f=["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"],m={
keyword:h,literal:(e=>{const t=[];return e.forEach((e=>{
t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())
})),t})(p),built_in:f},g=e=>e.map((e=>e.replace(/\|\d+$/,""))),v={variants:[{
match:[/new/,t.concat(c,"+"),t.concat("(?!",g(f).join("\\b|"),"\\b)"),a],scope:{
1:"keyword",4:"title.class"}}]},b=t.concat(r,"\\b(?!\\()"),y={variants:[{
match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),b],scope:{2:"variable.constant"
}},{match:[/::/,/class/],scope:{2:"variable.language"}},{
match:[a,t.concat(/::/,t.lookahead(/(?!class\b)/)),b],scope:{1:"title.class",
3:"variable.constant"}},{match:[a,t.concat("::",t.lookahead(/(?!class\b)/))],
scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",
3:"variable.language"}}]},O={scope:"attr",
match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},w={relevance:0,
begin:/\(/,end:/\)/,keywords:m,contains:[O,i,y,e.C_BLOCK_COMMENT_MODE,u,d,v]
},x={relevance:0,
match:[/\b/,t.concat("(?!fn\\b|function\\b|",g(h).join("\\b|"),"|",g(f).join("\\b|"),"\\b)"),r,t.concat(c,"*"),t.lookahead(/(?=\()/)],
scope:{3:"title.function.invoke"},contains:[w]};w.contains.push(x)
;const k=[O,y,e.C_BLOCK_COMMENT_MODE,u,d,v],S={
begin:t.concat(/#\[\s*\\?/,t.either(a,o)),beginScope:"meta",end:/]/,
endScope:"meta",keywords:{literal:p,keyword:["new","array"]},contains:[{
begin:/\[/,end:/]/,keywords:{literal:p,keyword:["new","array"]},
contains:["self",...k]},...k,{scope:"meta",variants:[{match:a},{match:o}]}]}
;return{case_insensitive:!1,keywords:m,
contains:[S,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}]}},{scope:"meta",variants:[{
begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{
begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,x,y,{
match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},v,{
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:m,
contains:["self",S,i,y,e.C_BLOCK_COMMENT_MODE,u,d]}]},{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]},u,d]}
},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],
disableAutodetect:!0}},powershell:function(e){const t={
$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"
},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{
begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]
},a={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],
contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},o={
className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]
},i=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+/
}]}]}),s={className:"built_in",variants:[{
begin:"(".concat("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]+")
}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,
relevance:0,contains:[e.TITLE_MODE]},c={className:"function",
begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,
contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",
begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,
className:"params",relevance:0,contains:[r]}]},u={begin:/using\s/,end:/$/,
returnBegin:!0,contains:[a,o,{className:"keyword",
begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{
className:"operator",
begin:"(".concat("-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}]},p={
className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,
relevance:0,contains:[{className:"keyword",
begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,
relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]
},h=[p,i,n,e.NUMBER_MODE,a,o,s,r,{className:"literal",
begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0
}],f={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,
contains:[].concat("self",h,{
begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",
className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,
relevance:0})};return p.contains.unshift(f),{name:"PowerShell",
aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:t,
contains:h.concat(l,c,u,d,f)}},properties:function(e){
const t="[ \\t\\f]*",n=t+"[:=]"+t,r="[ \\t\\f]+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",o={
end:"("+n+"|"+r+")",relevance:0,starts:{className:"string",end:/$/,relevance:0,
contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",
disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,
contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+n},{
begin:a+r}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:o},{
className:"attr",begin:a+t+"$"}]}},python:function(e){
const t=e.regex,n=new RegExp("[\\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"],a={
$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"],
literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],
type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]
},o={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,
end:/\}/,keywords:a,illegal:/#/},s={begin:/\{\{/,relevance:0},l={
className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,
contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,
contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{
begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,
contains:[e.BACKSLASH_ESCAPE,o,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,i]},{begin:/([uU]|[rR])'/,end:/'/,
relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{
begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,
end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,
contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,p={
className:"number",relevance:0,variants:[{
begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{
begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{
begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`
},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`
}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,
contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={
className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,
end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,
contains:["self",o,p,l,e.HASH_COMMENT_MODE]}]};return i.contains=[l,p,o],{
name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,
illegal:/(<\/|\?)|=>/,contains:[o,p,{scope:"variable.language",match:/\bself\b/
},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"
},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",
3:"title.function"},contains:[f]},{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:[p,f,l]}]}},
r:function(e){
const 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]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=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:[a,r]},{scope:{1:"operator",2:"number"},
match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{
2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},
match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{
match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",
contains:[{begin:/\\./}]}]}},ruby:function(e){
const 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]+/),a=t.concat(r,/(::\w+)*/),o={
"variable.constant":["__FILE__","__LINE__","__ENCODING__"],
"variable.language":["self","super"],
keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],
built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],
literal:["true","false","nil"]},i={className:"doctag",begin:"@[A-Za-z]+"},s={
begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[i]
}),e.COMMENT("^=begin","^=end",{contains:[i],relevance:10
}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,
end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],
variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{
begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{
begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,
end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{
begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{
begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{
begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{
begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{
begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),
contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,
contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",
relevance:0,variants:[{
begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{
begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"
},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{
begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{
begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{
className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,
keywords:o}]},f=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{
match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",
4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,a],scope:{
2:"title.class"},keywords:o},{relevance:0,match:[a,/\.new[. (]/],scope:{
1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{
match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{
begin:e.IDENT_RE+"::"},{className:"symbol",
begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",
begin:":(?!\\s)",contains:[u,{begin: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,c],
illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{
begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",
end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l)
;c.contains=f,h.contains=f;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:f}
},{className:"meta.prompt",
begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",
starts:{end:"$",keywords:o,contains:f}}];return l.unshift(s),{name:"Ruby",
aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,
contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(f)}},
rust:function(e){
const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),a=t.concat(n,e.IDENT_RE),o={
className:"title.function.invoke",relevance:0,
begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,a,t.lookahead(/\s*\(/))
},i="([ui](8|16|32|64|128|size)|f(32|64))?",s=["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!"],l=["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:l,
keyword:["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"],
literal:["true","false","Some","None","Ok","Err"],built_in:s},illegal:"</",
contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]
}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{
className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",
variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{
scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{
className:"number",variants:[{begin:"\\b0b([01_]+)"+i},{begin:"\\b0o([0-7_]+)"+i
},{begin:"\\b0x([A-Fa-f0-9_]+)"+i},{
begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+i}],relevance:0},{
begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{
className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",
begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{
begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",
4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",
3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",
3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],
className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{
keyword:"Self",built_in:s,type:l}},{className:"punctuation",begin:"->"},o]}},
scala:function(e){const t=e.regex,n={className:"subst",variants:[{
begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},r={className:"string",
variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",
contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",
contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',
end:'"""',contains:[n],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},i={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]},s={
className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),
contains:[o]};return{name:"Scala",keywords:{literal:"true false null",
keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"
},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",
3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,a,s,i,e.C_NUMBER_MODE,{
begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{
begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}
},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"},{
begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",
begin:"@[A-Za-z]+"}]}},scss:function(e){const t=(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_-]*/}
}))(e),n=kj,r=xj,a="@[a-z-]+",o={className:"variable",
begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",
case_insensitive:!0,illegal:"[=/|']",
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{
className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{
className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0
},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",
begin:"\\b("+Oj.join("|")+")\\b",relevance:0},{className:"selector-pseudo",
begin:":("+r.join("|")+")"},{className:"selector-pseudo",
begin:":(:)?("+n.join("|")+")"},o,{begin:/\(/,end:/\)/,
contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",
begin:"\\b("+Sj.join("|")+")\\b"},{
begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"
},{begin:/:/,end:/[;}{]/,relevance:0,
contains:[t.BLOCK_COMMENT,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]
},{begin:"@(page|font-face)",keywords:{$pattern:a,keyword:"@page @font-face"}},{
begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,
keyword:"and or not only",attribute:wj.join(" ")},contains:[{begin:a,
className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"
},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]
},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",
aliases:["console","shellsession"],contains:[{className:"meta.prompt",
begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,
subLanguage:"bash"}}]}},sql:function(e){
const t=e.regex,n=e.COMMENT("--","$"),r=["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"],a=r,o=["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","add","asc","collation","desc","final","first","last","view"].filter((e=>!r.includes(e))),i={
match:t.concat(/\b/,t.either(...a),/\s*\(/),relevance:0,keywords:{built_in:a}}
;function s(e){
return t.concat(/\b/,t.either(...e.map((e=>e.replace(/\s+/,"\\s+")))),/\b/)}
const l={scope:"keyword",
match:s(["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"]),
relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{
$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n
;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))
}(o,{when:e=>e.length<3}),literal:["true","false","unknown"],
type:["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"],
built_in:["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"]
},contains:[{scope:"type",
match:s(["double precision","large object","with timezone","without timezone"])
},l,i,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{
begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{
match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",
match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},
swift:function(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{
contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,Ej(...$j,...Pj)],
className:{2:"keyword"}},o={match:Tj(/\./,Ej(...Dj)),relevance:0
},i=Dj.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{
className:"keyword",
match:Ej(...Dj.filter((e=>"string"!=typeof e)).concat(Ij).map(Cj),...Pj)}]},l={
$pattern:Ej(/\b\w+/,/#\w+/),keyword:i.concat(Rj),literal:Mj},c=[a,o,s],u=[{
match:Tj(/\./,Ej(...Lj)),relevance:0},{className:"built_in",
match:Tj(/\b/,Ej(...Lj),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{
className:"operator",relevance:0,variants:[{match:Uj},{match:`\\.(\\.|${jj})+`}]
}],h="([0-9]_*)+",f="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,
variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{
match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/
},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{
match:Tj(/\\/,e,/[0\\tnr"']/)},{match:Tj(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]
}),v=(e="")=>({className:"subst",match:Tj(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)
}),b=(e="")=>({className:"subst",label:"interpol",begin:Tj(/\\/,e,/\(/),end:/\)/
}),y=(e="")=>({begin:Tj(e,/"""/),end:Tj(/"""/,e),contains:[g(e),v(e),b(e)]
}),O=(e="")=>({begin:Tj(e,/"/),end:Tj(/"/,e),contains:[g(e),b(e)]}),w={
className:"string",
variants:[y(),y("#"),y("##"),y("###"),O(),O("#"),O("##"),O("###")]
},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,
contains:[e.BACKSLASH_ESCAPE]}],k={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,
contains:x},S=e=>{const t=Tj(e,/\//),n=Tj(/\//,e);return{begin:t,end:n,
contains:[...x,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},_={
scope:"regexp",variants:[S("###"),S("##"),S("#"),k]},A={match:Tj(/`/,Fj,/`/)
},T=[A,{className:"variable",match:/\$\d+/},{className:"variable",
match:`\\$${Zj}+`}],E=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{
contains:[{begin:/\(/,end:/\)/,keywords:Vj,contains:[...p,m,w]}]}},{
scope:"keyword",match:Tj(/@/,Ej(...Qj),Aj(Ej(/\(/,/\s+/)))},{scope:"meta",
match:Tj(/@/,Fj)}],C={match:Aj(/\b[A-Z]/),relevance:0,contains:[{
className:"type",
match:Tj(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Zj,"+")
},{className:"type",match:Hj,relevance:0},{match:/[?!]+/,relevance:0},{
match:/\.\.\./,relevance:0},{match:Tj(/\s+&\s+/,Aj(Hj)),relevance:0}]},$={
begin:/</,end:/>/,keywords:l,contains:[...r,...c,...E,d,C]};C.contains.push($)
;const P={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{
match:Tj(Fj,/\s*:/),keywords:"_|0",relevance:0
},...r,_,...c,...u,...p,m,w,...T,...E,C]},I={begin:/</,end:/>/,
keywords:"repeat each",contains:[...r,C]},D={begin:/\(/,end:/\)/,keywords:l,
contains:[{begin:Ej(Aj(Tj(Fj,/\s*:/)),Aj(Tj(Fj,/\s+/,Fj,/\s*:/))),end:/:/,
relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",
match:Fj}]},...r,...c,...p,m,w,...E,C,P],endsParent:!0,illegal:/["']/},M={
match:[/(func|macro)/,/\s+/,Ej(A.match,Fj,Uj)],className:{1:"keyword",
3:"title.function"},contains:[I,D,t],illegal:[/\[/,/%/]},N={
match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},
contains:[I,D,t],illegal:/\[|%/},R={match:[/operator/,/\s+/,Uj],className:{
1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,Hj],className:{
1:"keyword",3:"title"},contains:[C],keywords:[...Nj,...Mj],end:/}/},B={
begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Fj,/\s*/],
beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[I,...c,{begin:/:/,
end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:Hj},...c],
relevance:0}]};for(const j of w.variants){
const e=j.contains.find((e=>"interpol"===e.label));e.keywords=l
;const t=[...c,...u,...p,m,w,...T];e.contains=[...t,{begin:/\(/,end:/\)/,
contains:["self",...t]}]}return{name:"Swift",keywords:l,contains:[...r,M,N,{
match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{
1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],
scope:{1:"keyword",3:"keyword"}},B,R,L,{beginKeywords:"import",end:/$/,
contains:[...r],relevance:0},_,...c,...u,...p,m,w,...T,...E,C,P]}},toml:GB,
typescript:function(e){const t=e.regex,n=function(e){
const t=e.regex,n=qj,r="<>",a="</>",o={begin:/<[A-Za-z0-9\\._:-]+/,
end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{
const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let a
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const o=e.input.substring(n)
;((a=o.match(/^\s*=/))||(a=o.match(/^\s+extends\s+/))&&0===a.index)&&t.ignoreMatch()
}},i={$pattern:qj,keyword:Wj,literal:Xj,built_in:eU,"variable.language":Jj
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\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},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:i,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:".?gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={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:n+"(?=\\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,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),y=b.concat([{begin:/(\s*)\(/,end:/\)/,
keywords:i,contains:["self"].concat(b)}]),O={className:"params",begin:/(\s*)\(/,
end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,
match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
className:"title.class",keywords:{_:[...Gj,...Yj]}},k={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...Kj,"super","import"].map((e=>`${e}\\s*\\(`)),
t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\s*\(/)),
className:"title.function",relevance:0};var _;const A={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},O]
},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",C={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{
PARAMS_CONTAINS:y,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,
contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{
label:"use_strict",className:"meta",relevance:10,
begin:/^\s*['"]use (strict|asm)['"]/
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,g,{match:/\$\d+/},u,x,{
scope:"attr",match:n+t.lookahead(":"),relevance:0},C,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{
className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{
className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y}]}]},{begin:/,/,relevance:0
},{match:/\s+/,relevance:0},{variants:[{begin:r,end:a},{
match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,
"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{
begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},k,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[O,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[O]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}
}(e),r=qj,a=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={
begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}
},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{
keyword:"interface extends",built_in:a},contains:[n.exports.CLASS_REFERENCE]
},s={$pattern:qj,
keyword:Wj.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),
literal:Xj,built_in:eU.concat(a),"variable.language":Jj},l={className:"meta",
begin:"@"+r},c=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t))
;if(-1===r)throw new Error("can not find mode to replace")
;e.contains.splice(r,1,n)}
;Object.assign(n.keywords,s),n.exports.PARAMS_CONTAINS.push(l)
;const u=n.contains.find((e=>"attr"===e.scope)),d=Object.assign({},u,{
match:t.concat(r,t.lookahead(/\s*\?:/))})
;return n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,u,d]),
n.contains=n.contains.concat([l,o,i,d]),
c(n,"shebang",e.SHEBANG()),c(n,"use_strict",{className:"meta",relevance:10,
begin:/^\s*['"]use strict['"]/
}),n.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(n,{
name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n},xml:tU,yaml:function(e){
const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={
className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],
contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{
begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},a=e.inherit(r,{variants:[{
begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{
begin:/[^\s,{}[\]]+/}]}),o={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"
},i={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={
begin:/\{/,end:/\}/,contains:[i],illegal:"\\n",relevance:0},l={begin:"\\[",
end:"\\]",contains:[i],illegal:"\\n",relevance:0},c=[{className:"attr",
variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{
begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{
begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{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}},o,{
className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,{
className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,
scope:"char.escape",relevance:0}]},r],u=[...c]
;return u.pop(),u.push(a),i.contains=u,{name:"YAML",case_insensitive:!0,
aliases:["yml"],contains:c}}
},xU="object"==typeof self?self:globalThis,kU=e=>((e,t)=>{
const n=(t,n)=>(e.set(n,t),t),r=a=>{if(e.has(a))return e.get(a);const[o,i]=t[a]
;switch(o){case 0:case-1:return n(i,a);case 1:{const e=n([],a)
;for(const t of i)e.push(r(t));return e}case 2:{const e=n({},a)
;for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),a);case 4:
{const{source:e,flags:t}=i;return n(new RegExp(e,t),a)}case 5:{
const e=n(new Map,a);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{
const e=n(new Set,a);for(const t of i)e.add(r(t));return e}case 7:{
const{name:e,message:t}=i;return n(new xU[e](t),a)}case 8:return n(BigInt(i),a)
;case"BigInt":return n(Object(BigInt(i)),a)}return n(new xU[o](i),a)};return r
})(new Map,e)(0),SU="",{toString:_U}={},{keys:AU}=Object,TU=e=>{const t=typeof e
;if("object"!==t||!e)return[0,t];const n=_U.call(e).slice(8,-1);switch(n){
case"Array":return[1,SU];case"Object":return[2,SU];case"Date":return[3,SU]
;case"RegExp":return[4,SU];case"Map":return[5,SU];case"Set":return[6,SU]}
return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]
},EU=([e,t])=>0===e&&("function"===t||"symbol"===t),CU=(e,{json:t,lossy:n}={})=>{
const r=[];return((e,t,n,r)=>{const a=(e,t)=>{const a=r.push(e)-1
;return n.set(t,a),a},o=r=>{if(n.has(r))return n.get(r);let[i,s]=TU(r)
;switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break
;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s)
;t=null;break;case"undefined":return a([-1],r)}return a([i,t],r)}case 1:{
if(s)return a([s,[...r]],r);const e=[],t=a([i,e],r)
;for(const n of r)e.push(o(n));return t}case 2:{if(s)switch(s){case"BigInt":
return a([s,r.toString()],r);case"Boolean":case"Number":case"String":
return a([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON())
;const n=[],l=a([i,n],r)
;for(const t of AU(r))!e&&EU(TU(r[t]))||n.push([o(t),o(r[t])]);return l}case 3:
return a([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return a([i,{
source:e,flags:t}],r)}case 5:{const t=[],n=a([i,t],r)
;for(const[a,i]of r)(e||!EU(TU(a))&&!EU(TU(i)))&&t.push([o(a),o(i)]);return n}
case 6:{const t=[],n=a([i,t],r);for(const a of r)!e&&EU(TU(a))||t.push(o(a))
;return n}}const{message:l}=r;return a([i,{name:s,message:l}],r)};return o
})(!(t||n),!!t,new Map,r)(e),r
},$U="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?kU(CU(e,t)):structuredClone(e):(e,t)=>kU(CU(e,t)),PU=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,IU=/^[a-zA-Z]:\\/
;const DU=["http","https"],MU=["nofollow"],NU={};function RU(e){
const t=e||NU,n=t.protocols||DU,r=xB(t.test);return function(e){
bB(e,"element",(function(e,a,o){
if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,a,o)){
const r=e.properties.href;if(function(e){
if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)
;return!IU.test(e)&&PU.test(e)
}(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){
const n=LU(t.content,e),r=n&&!Array.isArray(n)?[n]:n,a=LU(t.rel,e)||MU,o="string"==typeof a?MI(a):a,i=LU(t.target,e),s=LU(t.properties,e)
;if(s&&Object.assign(e.properties,$U(s)),
o.length>0&&(e.properties.rel=[...o]),i&&(e.properties.target=i),r){
const n=LU(t.contentProperties,e)||{};e.children.push({type:"element",
tagName:"span",properties:$U(n),children:$U(r)})}}}}))}}function LU(e,t){
return"function"==typeof e?e(t):e}const BU=xB((function(e){
return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName
})),jU=["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"],UU=["button","input","select","textarea"],zU=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],ZU={},FU=uB(["comment","doctype"])
;function HU(e,t){if("children"in e){const n={...t}
;return("root"===e.type||WU(e))&&(n.before=!0,
n.after=!0),n.whitespace=function(e,t){
if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":
case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap"
;case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":
return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"
}return t.whitespace}(e,t),function(e,t){let n=t.before
;const r=t.after,a=e.children;let o=a.length,i=-1;for(;++i<o;){const e=HU(a[i],{
...t,after:QU(a,i,r),before:n})
;e.remove?(a.splice(i,1),i--,o--):e.ignore||(n=e.stripAtStart),qU(a[i])&&(n=!1)}
return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(e,n)}
if("text"===e.type){if("normal"===t.whitespace)return function(e,t){
const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1}
;let a=0,o=n.length;t.before&&GU(n.charAt(0))&&a++
;a!==o&&GU(n.charAt(o-1))&&(t.after?o--:r.stripAtStart=!0)
;a===o?r.remove=!0:e.value=n.slice(a,o);return r}(e,t)
;"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:FU(e),
stripAtStart:!1,remove:!1}}function QU(e,t,n){for(;++t<e.length;){const n=e[t]
;let r=VU(n)
;if(void 0===r&&"children"in n&&!XU(n)&&(r=QU(n.children,-1)),"boolean"==typeof r)return r
}return n}function VU(e){if("element"===e.type){if(qU(e))return!1
;if(WU(e))return!0}else if("text"===e.type){if(!xL(e))return!1
}else if(!FU(e))return!1}function qU(e){return BU(e)||wB(e,UU)}function WU(e){
return wB(e,jU)}function XU(e){
return Boolean("element"===e.type&&e.properties.hidden)||FU(e)||wB(e,zU)}
function GU(e){return" "===e||"\n"===e}function YU(e){const t=/\r?\n|\r/.exec(e)
;return t?t[0]:" "}function KU(){return" "}function JU(e){return function(t){
return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}const ez={}.hasOwnProperty
;const tz=new Set(["pingback","prefetch","stylesheet"])
;const nz=xB(["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"]),rz=xB("meta")
;function az(e){return Boolean("text"===e.type||nz(e)||BU(e)||function(e){
if("element"!==e.type||"link"!==e.tagName)return!1
;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1
;if(!Array.isArray(t)||0===t.length)return!1
;for(;++n<t.length;)if(!tz.has(String(t[n])))return!1;return!0
}(e)||rz(e)&&function(e,t){
const n="element"===e.type&&ez.call(e.properties,t)&&e.properties[t]
;return null!=n&&!1!==n}(e,"itemProp"))}
const oz=["pre","script","style","textarea"],iz={};function sz(e,t){
const n=t||iz,r={blanks:n.blanks||[],head:!1,indentInitial:!1!==n.indentInitial,
indent:"number"==typeof n.indent?" ".repeat(n.indent):"string"==typeof n.indent?n.indent:" "
};function a(e,t,n){
const a=e[e.length-1],o=a&&xL(a)?e[e.length-2]:a,i=(lz(r,o)&&lz(r,n)?"\n\n":"\n")+r.indent.repeat(Math.max(t,0))
;a&&"text"===a.type?a.value=xL(a)?i:a.value+i:e.push({type:"text",value:i})}
!function(e,t){HU(e,{collapse:JU((t||ZU).newlines?YU:KU),whitespace:"normal"})
}(e,{newlines:!0}),vB(e,(function(e,t){if(!("children"in e))return
;"element"===e.type&&"head"===e.tagName&&(r.head=!0)
;r.head&&"element"===e.type&&"body"===e.tagName&&(r.head=!1)
;if("element"===e.type&&oz.includes(e.tagName))return gB
;if(0===e.children.length||!cz(r,e))return;let n=t.length;r.indentInitial||n--
;let o=!1
;for(const a of e.children)"comment"!==a.type&&"text"!==a.type||(a.value.includes("\n")&&(o=!0),
a.value=a.value.replace(/ *\n/g,"$&"+r.indent.repeat(n)));const i=[];let s
;for(const l of e.children)(cz(r,l)||o&&!s)&&(a(i,n,l),o=!0),s=l,i.push(l)
;s&&(o||cz(r,s))&&(xL(s)&&(i.pop(),s=i[i.length-1]),a(i,n-1));e.children=i}))}
function lz(e,t){
return Boolean(t&&"element"===t.type&&e.blanks.length>0&&e.blanks.includes(t.tagName))
}function cz(e,t){
return"root"===t.type||"element"===t.type&&(e.head||"script"===t.tagName||BU(t)||!az(t))
}function uz(e){return function(t){sz(t,e)}}
const dz={},pz={}.hasOwnProperty,hz=JR("type",{handlers:{root:function(e,t){
const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",
childNodes:[]};return n.childNodes=mz(e.children,n,t),gz(e,n),n},
element:function(e,t){const n=t;let r=n
;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=$I)
;const a=[];let o
;if(e.properties)for(o in e.properties)if("children"!==o&&pz.call(e.properties,o)){
const t=fz(r,o,e.properties[o]);t&&a.push(t)}const i=r.space,s={
nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:QI[i],childNodes:[],
parentNode:null}
;s.childNodes=mz(e.children,s,r),gz(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){
const n={nodeName:"#document-fragment",childNodes:[]}
;return n.childNodes=mz(e.children,n,t),gz(e,n),n}(e.content,r));return s},
text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null}
;return gz(e,t),t},comment:function(e){const t={nodeName:"#comment",
data:e.value,parentNode:null};return gz(e,t),t},doctype:function(e){const t={
nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null}
;return gz(e,t),t}}});function fz(e,t,n){const r=AI(e,t)
;if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return
;Array.isArray(n)&&(n=r.commaSeparated?II(n):NI(n));const a={name:r.attribute,
value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){
const e=a.name.indexOf(":")
;e<0?a.prefix="":(a.name=a.name.slice(e+1),a.prefix=r.attribute.slice(0,e)),
a.namespace=QI[r.space]}return a}function mz(e,t,n){let r=-1;const a=[]
;if(e)for(;++r<e.length;){const o=hz(e[r],n);o.parentNode=t,a.push(o)}return a}
function gz(e,t){const 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})}
const vz=yz("end"),bz=yz("start");function yz(e){return function(t){
const n=t&&t.position&&t.position[e]||{}
;if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{
line:n.line,column:n.column,
offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Oz(e){
const t=bz(e),n=vz(e);if(t&&n)return{start:t,end:n}}
const wz=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),xz={
sourceCodeLocationInfo:!0,scriptingEnabled:!1};function kz(e,t){
const n=function(e){const t="root"===e.type?e.children[0]:e
;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))
}(e),r=JR("type",{handlers:{root:_z,element:Az,text:Tz,comment:$z,doctype:Ez,
raw:Pz},unknown:Iz}),a={parser:n?new XM(xz):XM.getFragmentParser(void 0,xz),
handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),Dz(a,bz())
;const o=WI(n?a.parser.document:a.parser.getFragment(),{file:a.options.file})
;return a.stitches&&bB(o,"comment",(function(e,t,n){const r=e
;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}
})),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type?o.children[0]:o
}function Sz(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}
function _z(e,t){Sz(e.children,t)}function Az(e,t){!function(e,t){
const n=e.tagName.toLowerCase()
;if(t.parser.tokenizer.state===GD.PLAINTEXT)return;Dz(t,bz(e))
;const r=t.parser.openElements.current
;let a="namespaceURI"in r?r.namespaceURI:QI.html
;a===QI.html&&"svg"===n&&(a=QI.svg);const o=function(e,t){const n=(t||dz).space
;return hz(e,"svg"===n?$I:CI)}({...e,children:[]},{space:a===QI.svg?"svg":"html"
}),i={type:gD.START_TAG,tagName:n,tagID:HD(n),selfClosing:!1,ackSelfClosing:!1,
attrs:"attrs"in o?o.attrs:[],location:Nz(e)}
;t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),
t.parser.tokenizer.lastStartTagName=n}(e,t),Sz(e.children,t),function(e,t){
const n=e.tagName.toLowerCase()
;if(!t.parser.tokenizer.inForeignNode&&bR.includes(n))return
;if(t.parser.tokenizer.state===GD.PLAINTEXT)return;Dz(t,vz(e));const r={
type:gD.END_TAG,tagName:n,tagID:HD(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:Nz(e)}
;t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),
n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==GD.RCDATA&&t.parser.tokenizer.state!==GD.RAWTEXT&&t.parser.tokenizer.state!==GD.SCRIPT_DATA||(t.parser.tokenizer.state=GD.DATA)
}(e,t)}function Tz(e,t){const n={type:gD.CHARACTER,chars:e.value,location:Nz(e)}
;Dz(t,bz(e)),
t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}
function Ez(e,t){const n={type:gD.DOCTYPE,name:"html",forceQuirks:!1,
publicId:"",systemId:"",location:Nz(e)}
;Dz(t,bz(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)
}function Cz(e,t){t.stitches=!0;const n=function(e){return $U("children"in e?{
...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=kz({
type:"root",children:e.children},t.options);n.children=r.children}$z({
type:"comment",value:{stitch:n}},t)}function $z(e,t){const n=e.value,r={
type:gD.COMMENT,data:n,location:Nz(e)}
;Dz(t,bz(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)
}function Pz(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,
Mz(t,bz(e)),t.parser.tokenizer.write(e.value,!1),
t.parser.tokenizer._runParsingLoop(),
72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){
t.parser.tokenizer.preprocessor.lastChunkWritten=!0
;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}
function Iz(e,t){const n=e
;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e=""
;throw wz.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"),
new Error("Cannot compile `"+n.type+"` node"+e)}Cz(n,t)}function Dz(e,t){Mz(e,t)
;const 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=GD.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 Mz(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,
startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1}
;e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,
e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,
e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n
}}function Nz(e){const t=bz(e)||{line:void 0,column:void 0,offset:void 0
},n=vz(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 Rz(e){return function(t,n){return kz(t,{...e,file:n
})}}const Lz=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Bz={ancestors:{
tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],
tr:["table"]},attributes:{
a:[...Lz,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],
blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],
div:["itemScope","itemType"],dl:[...Lz],h2:[["className","sr-only"]],
img:[...Lz,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],
ins:["cite"],li:[["className","task-list-item"]],
ol:[...Lz,["className","contains-task-list"]],q:["cite"],
section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],
summary:[...Lz],table:[...Lz],ul:[...Lz,["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"]
},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"]
},jz={}.hasOwnProperty;function Uz(e,t){if(t&&"object"==typeof t){const n=t
;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){
if(e.schema.allowComments){
const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={
type:"comment",value:n<0?e:e.slice(0,n)};return Hz(r,t),r}}(e,n);case"doctype":
return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"}
;return Hz(e,t),e}}(e,n);case"element":return function(e,t){
const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n)
;const r=zz(e,t.children),a=function(e,t){
const n=e.stack[e.stack.length-1],r=e.schema.attributes,a=e.schema.required,o=r&&jz.call(r,n)?r[n]:void 0,i=r&&jz.call(r,"*")?r["*"]:void 0,s=t&&"object"==typeof t?t:{},l={}
;let c;for(c in s)if(jz.call(s,c)){const t=s[c];let n=Zz(e,Qz(o,c),c,t)
;null==n&&(n=Zz(e,Qz(i,c),c,t)),null!=n&&(l[c]=n)}if(a&&jz.call(a,n)){
const e=a[n];for(c in e)jz.call(e,c)&&!jz.call(l,c)&&(l[c]=e[c])}return l
}(e,t.properties);e.stack.pop();let o=!1
;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(o=!0,
e.schema.ancestors&&jz.call(e.schema.ancestors,n))){
const t=e.schema.ancestors[n];let r=-1
;for(o=!1;++r<t.length;)e.stack.includes(t[r])&&(o=!0)}
if(!o)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const i={
type:"element",tagName:n,properties:a,children:r};return Hz(i,t),i}(e,n)
;case"root":return function(e,t){const n=zz(e,t.children),r={type:"root",
children:n};return Hz(r,t),r}(e,n);case"text":return function(e,t){
const n="string"==typeof t.value?t.value:"",r={type:"text",value:n}
;return Hz(r,t),r}(0,n)}}}function zz(e,t){const n=[];if(Array.isArray(t)){
const r=t;let a=-1;for(;++a<r.length;){const t=Uz(e,r[a])
;t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Zz(e,t,n,r){
return t?Array.isArray(r)?function(e,t,n,r){let a=-1;const o=[]
;for(;++a<r.length;){const i=Fz(e,t,n,r[a])
;"number"!=typeof i&&"string"!=typeof i||o.push(i)}return o
}(e,t,n,r):Fz(e,t,n,r):void 0}function Fz(e,t,n,r){
if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){
const r=e.schema.protocols&&jz.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0
;if(!r||0===r.length)return!0
;const a=String(n),o=a.indexOf(":"),i=a.indexOf("?"),s=a.indexOf("#"),l=a.indexOf("/")
;if(o<0||l>-1&&o>l||i>-1&&o>i||s>-1&&o>s)return!0;let c=-1;for(;++c<r.length;){
const e=r[c];if(o===e.length&&a.slice(0,e.length)===e)return!0}return!1
}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){
const a=t[n];if(a&&"object"==typeof a&&"flags"in a){if(a.test(String(r))){e=!0
;break}}else if(a===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 Hz(e,t){const n=Oz(t);t.data&&(e.data=$U(t.data)),n&&(e.position=n)}
function Qz(e,t){let n,r=-1;if(e)for(;++r<e.length;){
const a=e[r],o="string"==typeof a?a:a[0];if(o===t)return a;"data*"===o&&(n=a)}
if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function Vz(e){
return function(t){const n=function(e,t){let n={type:"root",children:[]}
;const r=Uz({schema:t?{...Bz,...t}:Bz,stack:[]},e)
;return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e)
;return n}}
const qz=oZ(/[A-Za-z]/),Wz=oZ(/[\dA-Za-z]/),Xz=oZ(/[#-'*+\--9=?A-Z^-~]/)
;function Gz(e){return null!==e&&(e<32||127===e)}
const Yz=oZ(/\d/),Kz=oZ(/[\dA-Fa-f]/),Jz=oZ(/[!-/:-@[-`{-~]/);function eZ(e){
return null!==e&&e<-2}function tZ(e){return null!==e&&(e<0||32===e)}
function nZ(e){return-2===e||-1===e||32===e}
const rZ=oZ(new RegExp("\\p{P}|\\p{S}","u")),aZ=oZ(/\s/);function oZ(e){
return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}
function iZ(e,t,n){const r=uB((n||{}).ignore||[]),a=function(e){const t=[]
;if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples")
;const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){
const e=n[r];t.push([sZ(e[0]),lZ(e[1])])}return t}(t);let o=-1
;for(;++o<a.length;)vB(e,"text",i);function i(e,t){let n,i=-1
;for(;++i<t.length;){const e=t[i],a=n?n.children:void 0
;if(r(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){
const n=t[t.length-1],r=a[o][0],i=a[o][1];let s=0;const l=n.children.indexOf(e)
;let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={
index:d.index,input:d.input,stack:[...t,e]};let o=i(...d,a)
;if("string"==typeof o&&(o=o.length>0?{type:"text",value:o
}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",
value:e.value.slice(s,n)
}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+d[0].length,
c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({
type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e]
;return l+u.length}(e,t)}}function sZ(e){
return"string"==typeof e?new RegExp(function(e){
if("string"!=typeof e)throw new TypeError("Expected a string")
;return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e
}function lZ(e){return"function"==typeof e?e:function(){return e}}
const cZ="phrasing",uZ=["autolink","link","image","label"];function dZ(e){
this.enter({type:"link",title:null,url:"",children:[]},e)}function pZ(e){
this.config.enter.autolinkProtocol.call(this,e)}function hZ(e){
this.config.exit.autolinkProtocol.call(this,e)}function fZ(e){
this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1]
;t.type,t.url="http://"+this.sliceSerialize(e)}function mZ(e){
this.config.exit.autolinkEmail.call(this,e)}function gZ(e){this.exit(e)}
function vZ(e){
iZ(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bZ],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,yZ]],{
ignore:["link","linkReference"]})}function bZ(e,t,n,r,a){let o=""
;if(!OZ(a))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){
const t=e.split(".")
;if(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])))return!1
;return!0}(n))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e)
;if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")")
;const a=OL(e,"(");let o=OL(e,")")
;for(;-1!==r&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++
;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,
url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",
value:i[1]}]:s}function yZ(e,t,n,r){return!(!OZ(r,!0)||/[-\d_]$/.test(n))&&{
type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",
value:t+"@"+n}]}}function OZ(e,t){const n=e.input.charCodeAt(e.index-1)
;return(0===e.index||aZ(n)||rZ(n))&&(!t||47!==n)}function wZ(e){
return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()
}function xZ(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",
children:[]},e)}function kZ(){this.buffer()}function SZ(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=wZ(this.sliceSerialize(e)).toLowerCase()}
function _Z(e){this.exit(e)}function AZ(e){this.enter({type:"footnoteReference",
identifier:"",label:""},e)}function TZ(){this.buffer()}function EZ(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=wZ(this.sliceSerialize(e)).toLowerCase()}
function CZ(e){this.exit(e)}function $Z(e,t,n,r){const a=n.createTracker(r)
;let o=a.move("[^");const i=n.enter("footnoteReference"),s=n.enter("reference")
;return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"
})),s(),i(),o+=a.move("]"),o}function PZ(e,t,n,r){const a=n.createTracker(r)
;let o=a.move("[^");const i=n.enter("footnoteDefinition"),s=n.enter("label")
;return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"
})),
s(),o+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),o+=a.move(n.indentLines(n.containerFlow(e,a.current()),IZ)),
i(),o}function IZ(e,t,n){return 0===t?e:(n?"":" ")+e}$Z.peek=function(){
return"["}
;const DZ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]
;function MZ(e){this.enter({type:"delete",children:[]},e)}function NZ(e){
this.exit(e)}function RZ(e,t,n,r){
const a=n.createTracker(r),o=n.enter("strikethrough");let i=a.move("~~")
;return i+=n.containerPhrasing(e,{...a.current(),before:i,after:"~"
}),i+=a.move("~~"),o(),i}function LZ(e){return e.length}function BZ(e){
const t="string"==typeof e?e.codePointAt(0):0
;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}
RZ.peek=function(){return"~"};const jZ={}.hasOwnProperty;function UZ(e,t){
let n,r=-1;if(t.extensions)for(;++r<t.extensions.length;)UZ(e,t.extensions[r])
;for(n in t)if(jZ.call(t,n))switch(n){case"extensions":break;case"unsafe":
case"join":zZ(e[n],t[n]);break;case"handlers":ZZ(e[n],t[n]);break;default:
e.options[n]=t[n]}return e}function zZ(e,t){t&&e.push(...t)}function ZZ(e,t){
t&&Object.assign(e,t)}function FZ(e,t,n){return">"+(n?"":" ")+e}
function HZ(e,t){return QZ(e,t.inConstruct,!0)&&!QZ(e,t.notInConstruct,!1)}
function QZ(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n
;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}
function VZ(e,t,n,r){let a=-1
;for(;++a<n.unsafe.length;)if("\n"===n.unsafe[a].character&&HZ(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" "
;return"\\\n"}function qZ(e,t){
return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))
}function WZ(e,t,n){return(n?"":" ")+e}function XZ(e){
const t=e.options.quote||'"'
;if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`")
;return t}function GZ(e,t,n,r){const a=function(e){
const t=e.options.emphasis||"*"
;if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")
;return t}(n),o=n.enter("emphasis"),i=n.createTracker(r);let s=i.move(a)
;return s+=i.move(n.containerPhrasing(e,{before:s,after:a,...i.current()
})),s+=i.move(a),o(),s}GZ.peek=function(e,t,n){return n.options.emphasis||"*"}
;const YZ={};function KZ(e,t){const n=YZ
;return JZ(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)
}function JZ(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){
if("value"in e)return"html"!==e.type||n?e.value:""
;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eF(e.children,t,n)
}return Array.isArray(e)?eF(e,t,n):""}function eF(e,t,n){const r=[];let a=-1
;for(;++a<e.length;)r[a]=JZ(e[a],t,n);return r.join("")}function tF(e,t){
let n=!1;return bB(e,(function(e){
if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,mB
})),Boolean((!e.depth||e.depth<3)&&KZ(e)&&(t.options.setext||n))}function nF(e){
return e.value||""}function rF(e,t,n,r){
const a=XZ(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("image")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![")
;return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()
})),c+=l.move("]("),
s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...l.current()
}))),s(),e.title&&(s=n.enter(`title${o}`),
c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()
})),c+=l.move(a),s()),c+=l.move(")"),i(),c}function aF(e,t,n,r){
const a=e.referenceType,o=n.enter("imageReference");let i=n.enter("label")
;const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,
after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack
;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return i(),n.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function oF(e,t,n){let r=e.value||"",a="`",o=-1
;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`"
;for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){
const e=n.unsafe[o],t=n.compilePattern(e);let a;if(e.atBreak)for(;a=t.exec(r);){
let e=a.index
;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(a.index+1)
}}return a+r+a}function iF(e,t){const n=KZ(e)
;return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))
}function sF(e,t,n,r){
const a=XZ(n),o='"'===a?"Quote":"Apostrophe",i=n.createTracker(r);let s,l
;if(iF(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=i.move("<")
;return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()
})),r+=i.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label")
;let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",
...i.current()
})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),
c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()
})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...i.current()
}))),l(),e.title&&(l=n.enter(`title${o}`),
c+=i.move(" "+a),c+=i.move(n.safe(e.title,{before:c,after:a,...i.current()
})),c+=i.move(a),l()),c+=i.move(")"),s(),c}function lF(e,t,n,r){
const a=e.referenceType,o=n.enter("linkReference");let i=n.enter("label")
;const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{
before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack
;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return i(),n.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function cF(e){const t=e.options.bullet||"*"
;if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`")
;return t}function uF(e){const t=e.options.rule||"*"
;if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`")
;return t}nF.peek=function(){return"<"},rF.peek=function(){return"!"
},aF.peek=function(){return"!"},oF.peek=function(){return"`"
},sF.peek=function(e,t,n){return iF(e,n)?"<":"["},lF.peek=function(){return"["}
;const dF=uB(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])
;function pF(e,t,n,r){const a=function(e){const t=e.options.strong||"*"
;if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")
;return t}(n),o=n.enter("strong"),i=n.createTracker(r);let s=i.move(a+a)
;return s+=i.move(n.containerPhrasing(e,{before:s,after:a,...i.current()
})),s+=i.move(a+a),o(),s}pF.peek=function(e,t,n){return n.options.strong||"*"}
;const hF={blockquote:function(e,t,n,r){
const a=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2)
;const i=n.indentLines(n.containerFlow(e,o.current()),FZ);return a(),i},
break:VZ,code:function(e,t,n,r){const a=function(e){const t=e.options.fence||"`"
;if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`")
;return t}(n),o=e.value||"",i="`"===a?"GraveAccent":"Tilde";if(qZ(e,n)){
const e=n.enter("codeIndented"),t=n.indentLines(o,WZ);return e(),t}
const s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){const n=String(e)
;let r=n.indexOf(t),a=r,o=0,i=0
;if("string"!=typeof t)throw new TypeError("Expected substring")
;for(;-1!==r;)r===a?++o>i&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i
}(o,a)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){
const t=n.enter(`codeFencedLang${i}`);u+=s.move(n.safe(e.lang,{before:u,
after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){
const t=n.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{
before:u,after:"\n",encode:["`"],...s.current()})),t()}
return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},
definition:function(e,t,n,r){
const a=XZ(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("definition")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[")
;return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()
})),
c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":"\n",...l.current()
}))),s(),e.title&&(s=n.enter(`title${o}`),
c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()
})),c+=l.move(a),s()),i(),c},emphasis:GZ,hardBreak:VZ,heading:function(e,t,n,r){
const a=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(tF(e,n)){
const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{
...o.current(),before:"\n",after:"\n"})
;return r(),t(),i+"\n"+(1===a?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))
}const i="#".repeat(a),s=n.enter("headingAtx"),l=n.enter("phrasing")
;o.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",
...o.current()})
;return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),
c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),s(),c},html:nF,image:rF,
imageReference:aF,inlineCode:oF,link:sF,linkReference:lF,list:function(e,t,n,r){
const a=n.enter("list"),o=n.bulletCurrent;let i=e.ordered?function(e){
const t=e.options.bulletOrdered||"."
;if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`")
;return t}(n):cF(n);const s=e.ordered?"."===i?")":".":function(e){
const t=cF(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*"
;if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`")
;if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different")
;return n}(n);let l=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed
;if(!e.ordered){const t=e.children?e.children[0]:void 0
;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),
uF(n)===i&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t]
;if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){
l=!0;break}}}}l&&(i=s),n.bulletCurrent=i;const c=n.containerFlow(e,r)
;return n.bulletLastUsed=i,n.bulletCurrent=o,a(),c},listItem:function(e,t,n,r){
const a=function(e){const t=e.options.listItemIndent||"one"
;if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`")
;return t}(n);let o=n.bulletCurrent||cF(n)
;t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o)
;let i=o.length+1
;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4))
;const s=n.createTracker(r);s.move(o+" ".repeat(i-o.length)),s.shift(i)
;const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){
if(t)return(n?"":" ".repeat(i))+e;return(n?o:o+" ".repeat(i-o.length))+e}))
;return l(),c},paragraph:function(e,t,n,r){
const a=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(e,r)
;return o(),a(),i},root:function(e,t,n,r){const a=e.children.some((function(e){
return dF(e)}));return(a?n.containerPhrasing:n.containerFlow).call(n,e,r)},
strong:pF,text:function(e,t,n,r){return n.safe(e.value,r)},
thematicBreak:function(e,t,n){
const r=(uF(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){
const t=e.options.ruleRepetition||3
;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more")
;return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}
},fF=[function(e,t,n,r){
if("code"===t.type&&qZ(t,r)&&("list"===e.type||e.type===t.type&&qZ(e,r)))return!1
;if("spread"in n&&"boolean"==typeof n.spread){
if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&tF(t,r)))return
;return n.spread?1:0}}]
;const mF=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],gF=[{
character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",
before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{
character:"\r",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]
},{character:"\n",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]
},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",
before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",
inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",
after:"\\[",inConstruct:"phrasing",notInConstruct:mF},{character:'"',
inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",
inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",
inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{
character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",
inConstruct:"phrasing",notInConstruct:mF},{atBreak:!0,before:"\\d+",
character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,
character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",
notInConstruct:mF},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,
character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",
after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{
character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:mF},{
character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{
atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{
atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",
notInConstruct:mF},{character:"[",inConstruct:["label","reference"]},{
character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",
inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",
inConstruct:"phrasing",notInConstruct:mF},{atBreak:!0,character:"`"},{
character:"`",
inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{
character:"`",inConstruct:"phrasing",notInConstruct:mF},{atBreak:!0,
character:"~"}],vF=document.createElement("i");function bF(e){const t="&"+e+";"
;vF.innerHTML=t;const n=vF.textContent
;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}function yF(e,t){
const n=Number.parseInt(e,t)
;return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)
}const OF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi
;function wF(e){return e.replace(OF,xF)}function xF(e,t,n){if(t)return t
;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e
;return yF(n.slice(t?2:1),t?16:10)}return bF(n)||e}function kF(e){
return e.label||!e.identifier?e.label||"":wF(e.identifier)}function SF(e){
if(!e._compiled){
const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"")
;e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")
}return e._compiled}function _F(e,t,n,r){let a=r.join.length;for(;a--;){
const o=r.join[a](e,t,n,r);if(!0===o||1===o)break
;if("number"==typeof o)return"\n".repeat(1+o)
;if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const AF=/\r?\n|\r/g
;function TF(e,t){const n=[];let r,a=0,o=0
;for(;r=AF.exec(e);)i(e.slice(a,r.index)),n.push(r[0]),a=r.index+r[0].length,o++
;return i(e.slice(a)),n.join("");function i(e){n.push(t(e,o,!e))}}
function EF(e,t){return e-t}function CF(e,t){
const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],o=e+t;let i,s=-1,l=0
;for(;i=n.exec(o);)r.push(i.index)
;for(;++s<r.length;)l!==r[s]&&a.push(e.slice(l,r[s])),a.push("\\"),l=r[s]
;return a.push(e.slice(l)),a.join("")}function $F(e){const t=e||{},n=t.now||{}
;let r=t.lineShift||0,a=n.line||1,o=n.column||1;return{move:function(e){
const t=e||"",n=t.split(/\r?\n|\r/g),i=n[n.length-1]
;return a+=n.length-1,o=1===n.length?o+i.length:1+i.length+r,t},
current:function(){return{now:{line:a,column:o},lineShift:r}},shift:function(e){
r+=e}}}function PF(e,t={}){const n={enter:function(e){
return n.stack.push(e),function(){n.stack.pop()}},indentLines:TF,
associationId:kF,containerPhrasing:NF,containerFlow:RF,createTracker:$F,
compilePattern:SF,safe:LF,stack:[],unsafe:[...gF],join:[...fF],handlers:{...hF},
options:{},indexStack:[],handle:void 0}
;UZ(n,t),n.options.tightDefinitions&&n.join.push(MF),n.handle=JR("type",{
invalid:IF,unknown:DF,handlers:n.handlers});let r=n.handle(e,void 0,n,{
before:"\n",after:"\n",now:{line:1,column:1},lineShift:0})
;return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),
r}function IF(e){throw new Error("Cannot handle value `"+e+"`, expected node")}
function DF(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}
function MF(e,t){if("definition"===e.type&&e.type===t.type)return 0}
function NF(e,t){return function(e,t,n){
const r=t.indexStack,a=e.children||[],o=[];let i=-1,s=n.before;r.push(-1)
;let l=t.createTracker(n);for(;++i<a.length;){const c=a[i];let u
;if(r[r.length-1]=i,i+1<a.length){let n=t.handle.handlers[a[i+1].type]
;n&&n.peek&&(n=n.peek),u=n?n(a[i+1],e,t,{before:"",after:"",...l.current()
}).charAt(0):""}else u=n.after
;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),
s=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{
...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}
return r.pop(),o.join("")}(e,this,t)}function RF(e,t){return function(e,t,n){
const r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[];let s=-1
;for(r.push(-1);++s<a.length;){const n=a[s]
;r[r.length-1]=s,i.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",
...o.current()
}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<a.length-1&&i.push(o.move(_F(n,a[s+1],e,t)))
}return r.pop(),i.join("")}(e,this,t)}function LF(e,t){return function(e,t,n){
const r=(n.before||"")+(t||"")+(n.after||""),a=[],o=[],i={};let s=-1
;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!HZ(e.stack,t))continue
;const n=e.compilePattern(t);let o;for(;o=n.exec(r);){
const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0)
;a.includes(r)?(i[r].before&&!e&&(i[r].before=!1),
i[r].after&&!n&&(i[r].after=!1)):(a.push(r),i[r]={before:e,after:n})}}a.sort(EF)
;let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0)
;for(s=-1;++s<a.length;){const e=a[s]
;e<l||e>=c||e+1<c&&a[s+1]===e+1&&i[e].after&&!i[e+1].before&&!i[e+1].after||a[s-1]===e-1&&i[e].before&&!i[e-1].before&&!i[e-1].after||(l!==e&&o.push(CF(r.slice(l,e),"\\")),
l=e,
!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),
l++):o.push("\\"))}return o.push(CF(r.slice(l,c),n.after)),o.join("")}(this,e,t)
}function BF(e){const t=e._align;this.enter({type:"table",
align:t.map((function(e){return"none"===e?null:e})),children:[]
},e),this.data.inTable=!0}function jF(e){this.exit(e),this.data.inTable=void 0}
function UF(e){this.enter({type:"tableRow",children:[]},e)}function zF(e){
this.exit(e)}function ZF(e){this.enter({type:"tableCell",children:[]},e)}
function FF(e){let t=this.resume()
;this.data.inTable&&(t=t.replace(/\\([\\|])/g,HF))
;const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}
function HF(e,t){return"|"===t?t:e}function QF(e){
const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|"
;return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",
inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{
character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{
atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){
let r=hF.inlineCode(e,t,n)
;n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},
table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let a=-1
;const o=[],i=t.enter("table");for(;++a<r.length;)o[a]=l(r[a],t,n);return i(),o
}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){const a=s([l(e,n,r)])
;return a.slice(0,a.indexOf("\n"))}}};function i(e,t,n,r){
const a=n.enter("tableCell"),i=n.enter("phrasing"),s=n.containerPhrasing(e,{
...r,before:o,after:o});return i(),a(),s}function s(e,t){
return function(e,t={}){
const n=(t.align||[]).concat(),r=t.stringLength||LZ,a=[],o=[],i=[],s=[]
;let l=0,c=-1;for(;++c<e.length;){const n=[],a=[];let d=-1
;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){
const o=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=r(o)
;a[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(o)}o[c]=n,i[c]=a}var u;let d=-1
;if("object"==typeof n&&"length"in n)for(;++d<l;)a[d]=BZ(n[d]);else{
const e=BZ(n);for(;++d<l;)a[d]=e}d=-1;const p=[],h=[];for(;++d<l;){const e=a[d]
;let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":")
;let o=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length)
;const i=n+"-".repeat(o)+r
;!1!==t.alignDelimiters&&(o=n.length+o+r.length,o>s[d]&&(s[d]=o),h[d]=o),p[d]=i}
o.splice(1,0,p),i.splice(1,0,h),c=-1;const f=[];for(;++c<o.length;){
const e=o[c],n=i[c];d=-1;const r=[];for(;++d<l;){const o=e[d]||"";let i="",c=""
;if(!1!==t.alignDelimiters){const e=s[d]-(n[d]||0),t=a[d]
;114===t?i=" ".repeat(e):99===t?e%2?(i=" ".repeat(e/2+.5),
c=" ".repeat(e/2-.5)):(i=" ".repeat(e/2),c=i):c=" ".repeat(e)}
!1===t.delimiterStart||d||r.push("|"),
!1===t.padding||!1===t.alignDelimiters&&""===o||!1===t.delimiterStart&&!d||r.push(" "),
!1!==t.alignDelimiters&&r.push(i),
r.push(o),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),
!1===t.delimiterEnd&&d===l-1||r.push("|")}
f.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}
return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:a})}
function l(e,t,n){const r=e.children;let a=-1;const o=[],s=t.enter("tableRow")
;for(;++a<r.length;)o[a]=i(r[a],0,t,n);return s(),o}}function VF(e){
const t=this.stack[this.stack.length-2]
;t.type,t.checked="taskListCheckValueChecked"===e.type}function qF(e){
const t=this.stack[this.stack.length-2]
;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){
const e=this.stack[this.stack.length-1];e.type;const n=e.children[0]
;if(n&&"text"===n.type){const r=t.children;let a,o=-1;for(;++o<r.length;){
const e=r[o];if("paragraph"===e.type){a=e;break}}
a===e&&(n.value=n.value.slice(1),
0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,
n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}
}this.exit(e)}function WF(e,t,n,r){
const a=e.children[0],o="boolean"==typeof e.checked&&a&&"paragraph"===a.type,i="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r)
;o&&s.move(i);let l=hF.listItem(e,t,n,{...r,...s.current()})
;return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){
return e+i}))),l}function XF(e,t,n,r){const a=e.length;let o,i=0
;if(t=t<0?-t>a?0:a+t:t>a?a: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);i<r.length;)o=r.slice(i,i+1e4),
o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function GF(e,t){
return e.length>0?(XF(e,e.length,0,t),e):t}const YF={}.hasOwnProperty
;function KF(e){const t={};let n=-1;for(;++n<e.length;)JF(t,e[n]);return t}
function JF(e,t){let n;for(n in t){
const r=(YF.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){
YF.call(r,o)||(r[o]=[]);const e=a[o];eH(r[o],Array.isArray(e)?e:e?[e]:[])}}}
function eH(e,t){let n=-1;const r=[]
;for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);XF(e,0,0,r)}const tH={
tokenize:function(e,t,n){let r=0;return function t(o){
if((87===o||119===o)&&r<3)return r++,e.consume(o),t
;if(46===o&&3===r)return e.consume(o),a;return n(o)};function a(e){
return null===e?n(e):t(e)}},partial:!0},nH={tokenize:function(e,t,n){let r,a,o
;return i;function i(t){
return 46===t||95===t?e.check(aH,l,s)(t):null===t||tZ(t)||aZ(t)||45!==t&&rZ(t)?l(t):(o=!0,
e.consume(t),i)}function s(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),i}
function l(e){return a||r||!o?n(e):t(e)}},partial:!0},rH={
tokenize:function(e,t){let n=0,r=0;return a;function a(i){
return 40===i?(n++,e.consume(i),
a):41===i&&r<n?o(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(aH,t,o)(i):null===i||tZ(i)||aZ(i)?t(i):(e.consume(i),
a)}function o(t){return 41===t&&r++,e.consume(t),a}},partial:!0},aH={
tokenize:function(e,t,n){return r;function r(i){
return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),
r):38===i?(e.consume(i),
o):93===i?(e.consume(i),a):60===i||null===i||tZ(i)||aZ(i)?t(i):n(i)}
function a(e){return null===e||40===e||91===e||tZ(e)||aZ(e)?t(e):r(e)}
function o(e){return qz(e)?i(e):n(e)}function i(t){
return 59===t?(e.consume(t),r):qz(t)?(e.consume(t),i):n(t)}},partial:!0},oH={
tokenize:function(e,t,n){return function(t){return e.consume(t),r}
;function r(e){return Wz(e)?n(e):t(e)}},partial:!0},iH={
tokenize:function(e,t,n){const r=this;return function(t){
if(87!==t&&119!==t||!dH.call(r,r.previous)||mH(r.events))return n(t)
;return e.enter("literalAutolink"),
e.enter("literalAutolinkWww"),e.check(tH,e.attempt(nH,e.attempt(rH,a),n),n)(t)}
;function a(n){
return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:dH
},sH={tokenize:function(e,t,n){const r=this;let a="",o=!1;return function(t){
if((72===t||104===t)&&pH.call(r,r.previous)&&!mH(r.events))return e.enter("literalAutolink"),
e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(t),e.consume(t),i
;return n(t)};function i(t){
if(qz(t)&&a.length<5)return a+=String.fromCodePoint(t),e.consume(t),i
;if(58===t){const n=a.toLowerCase()
;if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){
return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){
return null===t||Gz(t)||tZ(t)||aZ(t)||rZ(t)?n(t):e.attempt(nH,e.attempt(rH,c),n)(t)
}function c(n){
return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},
previous:pH},lH={tokenize:function(e,t,n){const r=this;let a,o
;return function(t){if(!fH(t)||!hH.call(r,r.previous)||mH(r.events))return n(t)
;return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)}
;function i(t){return fH(t)?(e.consume(t),i):64===t?(e.consume(t),s):n(t)}
function s(t){
return 46===t?e.check(oH,c,l)(t):45===t||95===t||Wz(t)?(o=!0,e.consume(t),
s):c(t)}function l(t){return e.consume(t),a=!0,s}function c(i){
return o&&a&&qz(r.previous)?(e.exit("literalAutolinkEmail"),
e.exit("literalAutolink"),t(i)):n(i)}},previous:hH},cH={};let uH=48
;for(;uH<123;)cH[uH]=lH,uH++,58===uH?uH=65:91===uH&&(uH=97);function dH(e){
return null===e||40===e||42===e||95===e||91===e||93===e||126===e||tZ(e)}
function pH(e){return!qz(e)}function hH(e){return!(47===e||fH(e))}
function fH(e){return 43===e||45===e||46===e||95===e||Wz(e)}function mH(e){
let t=e.length,n=!1;for(;t--;){const r=e[t][1]
;if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}
if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}
return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}
function gH(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){
const o=e.charCodeAt(n);let i=""
;if(37===o&&Wz(e.charCodeAt(n+1))&&Wz(e.charCodeAt(n+2)))a=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&o<57344){
const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),
a=1):i="�"}else i=String.fromCharCode(o)
;i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}
return t.join("")+e.slice(r)}function vH(e){
return null===e||tZ(e)||aZ(e)?1:rZ(e)?2:void 0}function bH(e,t,n){const r=[]
;let a=-1;for(;++a<e.length;){const o=e[a].resolveAll
;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}cH[43]=lH,cH[45]=lH,cH[46]=lH,
cH[95]=lH,cH[72]=[lH,sH],cH[104]=[lH,sH],cH[87]=[lH,iH],cH[119]=[lH,iH]
;const yH={name:"attention",tokenize:function(e,t){
const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=vH(r)
;let o;return function(t){return o=t,e.enter("attentionSequence"),i(t)}
;function i(s){if(s===o)return e.consume(s),i
;const l=e.exit("attentionSequence"),c=vH(s),u=!c||2===c&&a||n.includes(s),d=!a||2===a&&c||n.includes(r)
;return l._open=Boolean(42===o?u:u&&(a||!d)),
l._close=Boolean(42===o?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){
let n,r,a,o,i,s,l,c,u=-1
;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){
if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue
;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1
;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start)
;OH(d,-s),OH(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,
end:Object.assign({},e[n][1].end)},i={
type:s>1?"strongSequence":"emphasisSequence",
start:Object.assign({},e[u][1].start),end:p},a={
type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),
end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",
start:Object.assign({},o.start),end:Object.assign({},i.end)
},e[n][1].end=Object.assign({},o.start),
e[u][1].start=Object.assign({},i.end),l=[],
e[n][1].end.offset-e[n][1].start.offset&&(l=GF(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),
l=GF(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),
l=GF(l,bH(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),
l=GF(l,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),
e[u][1].end.offset-e[u][1].start.offset?(c=2,
l=GF(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,
XF(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1
;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data")
;return e}};function OH(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}
const wH={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("autolink"),
e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),
e.enter("autolinkProtocol"),a};function a(t){
return qz(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(e){
return 43===e||45===e||46===e||Wz(e)?(r=1,i(e)):l(e)}function i(t){
return 58===t?(e.consume(t),
r=0,s):(43===t||45===t||46===t||Wz(t))&&r++<32?(e.consume(t),i):(r=0,l(t))}
function s(r){
return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),
e.consume(r),
e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Gz(r)?n(r):(e.consume(r),
s)}function l(t){return 64===t?(e.consume(t),c):Xz(t)?(e.consume(t),l):n(t)}
function c(e){return Wz(e)?u(e):n(e)}function u(n){
return 46===n?(e.consume(n),r=0,
c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",
e.enter("autolinkMarker"),
e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){
if((45===t||Wz(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)
}}};function xH(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let o=0
;return function(r){if(nZ(r))return e.enter(n),i(r);return t(r)};function i(r){
return nZ(r)&&o++<a?(e.consume(r),i):(e.exit(n),t(r))}}const kH={
tokenize:function(e,t,n){return function(t){
return nZ(t)?xH(e,r,"linePrefix")(t):r(t)};function r(e){
return null===e||eZ(e)?t(e):n(e)}},partial:!0};const SH={name:"blockQuote",
tokenize:function(e,t,n){const r=this;return function(t){if(62===t){
const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0
}),n.open=!0),
e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),
e.exit("blockQuoteMarker"),a}return n(t)};function a(n){
return nZ(n)?(e.enter("blockQuotePrefixWhitespace"),
e.consume(n),e.exit("blockQuotePrefixWhitespace"),
e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{
tokenize:function(e,t,n){const r=this;return function(t){
if(nZ(t))return xH(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t)
;return a(t)};function a(r){return e.attempt(SH,t,n)(r)}}},exit:function(e){
e.exit("blockQuote")}};const _H={name:"characterEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("characterEscape"),e.enter("escapeMarker"),
e.consume(t),e.exit("escapeMarker"),r};function r(r){
return Jz(r)?(e.enter("characterEscapeValue"),
e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}}
;const AH={name:"characterReference",tokenize:function(e,t,n){const r=this
;let a,o,i=0;return function(t){
return e.enter("characterReference"),e.enter("characterReferenceMarker"),
e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){
return 35===t?(e.enter("characterReferenceMarkerNumeric"),
e.consume(t),e.exit("characterReferenceMarkerNumeric"),
l):(e.enter("characterReferenceValue"),a=31,o=Wz,c(t))}function l(t){
return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),
e.consume(t),
e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),
a=6,o=Kz,c):(e.enter("characterReferenceValue"),a=7,o=Yz,c(t))}function c(s){
if(59===s&&i){const a=e.exit("characterReferenceValue")
;return o!==Wz||bF(r.sliceSerialize(a))?(e.enter("characterReferenceMarker"),
e.consume(s),
e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}
return o(s)&&i++<a?(e.consume(s),c):n(s)}}};const TH={tokenize:function(e,t,n){
const r=this;return function(t){if(null===t)return n(t)
;return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a}
;function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},EH={
name:"codeFenced",tokenize:function(e,t,n){const r=this,a={
tokenize:function(e,t,n){let a=0;return i;function i(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){
return e.enter("codeFencedFence"),
nZ(t)?xH(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)
}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}
function u(t){
return t===o?(a++,e.consume(t),u):a>=s?(e.exit("codeFencedFenceSequence"),
nZ(t)?xH(e,d,"whitespace")(t):d(t)):n(t)}function d(r){
return null===r||eZ(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0}
;let o,i=0,s=0;return function(t){return function(t){
const n=r.events[r.events.length-1]
;return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,
e.enter("codeFenced"),
e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)}
;function l(t){
return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),
nZ(t)?xH(e,c,"whitespace")(t):c(t))}function c(n){
return null===n||eZ(n)?(e.exit("codeFencedFence"),
r.interrupt?t(n):e.check(TH,h,b)(n)):(e.enter("codeFencedFenceInfo"),
e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){
return null===t||eZ(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),c(t)):nZ(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),
xH(e,d,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function d(t){
return null===t||eZ(t)?c(t):(e.enter("codeFencedFenceMeta"),
e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){
return null===t||eZ(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}
function h(t){return e.attempt(a,b,f)(t)}function f(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){
return i>0&&nZ(t)?xH(e,g,"linePrefix",i+1)(t):g(t)}function g(t){
return null===t||eZ(t)?e.check(TH,h,b)(t):(e.enter("codeFlowValue"),v(t))}
function v(t){
return null===t||eZ(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}
function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const CH={
name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("codeIndented"),xH(e,a,"linePrefix",5)(t)};function a(e){
const t=r.events[r.events.length-1]
;return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)
}function o(t){
return null===t?s(t):eZ(t)?e.attempt($H,o,s)(t):(e.enter("codeFlowValue"),i(t))}
function i(t){
return null===t||eZ(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}
function s(n){return e.exit("codeIndented"),t(n)}}},$H={
tokenize:function(e,t,n){const r=this;return a;function a(t){
return r.parser.lazy[r.now().line]?n(t):eZ(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),a):xH(e,o,"linePrefix",5)(t)}function o(e){
const o=r.events[r.events.length-1]
;return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eZ(e)?a(e):n(e)
}},partial:!0};const PH={name:"codeText",tokenize:function(e,t,n){let r,a,o=0
;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)}
;function i(t){
return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),s(t))}
function s(t){
return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),
s):96===t?(a=e.enter("codeTextSequence"),r=0,c(t)):eZ(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}
function l(t){
return null===t||32===t||96===t||eZ(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),
l)}function c(n){
return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),
e.exit("codeText"),t(n)):(a.type="codeTextData",l(n))}},resolve:function(e){
let t,n,r=e.length-4,a=3
;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=a;++t<r;)if("codeTextData"===e[t][1].type){
e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}
t=a-1,r++
;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",
t!==n+2&&(e[n][1].end=e[t-1][1].end,
e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){
return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}
;class IH{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){
if(e<0||e>=this.left.length+this.right.length)throw new 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){
const n=null==t?Number.POSITIVE_INFINITY:t
;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){const r=t||0;this.setCursor(Math.trunc(e))
;const a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY)
;return n&&DH(this.left,n),a.reverse()}pop(){
return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){
this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){
this.setCursor(Number.POSITIVE_INFINITY),DH(this.left,e)}unshift(e){
this.setCursor(0),this.right.push(e)}unshiftMany(e){
this.setCursor(0),DH(this.right,e.reverse())}setCursor(e){
if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){
const t=this.left.splice(e,Number.POSITIVE_INFINITY);DH(this.right,t.reverse())
}else{
const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY)
;DH(this.left,t.reverse())}}}function DH(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}function MH(e){const t={};let n,r,a,o,i,s,l,c=-1;const u=new IH(e)
;for(;++c<u.length;){for(;c in t;)c=t[c]
;if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,
a=0,
a<s.length&&"lineEndingBlank"===s[a][1].type&&(a+=2),a<s.length&&"content"===s[a][1].type))for(;++a<s.length&&"content"!==s[a][1].type;)"chunkText"===s[a][1].type&&(s[a][1]._isInFirstContentOfListItem=!0,
a++)
;if("enter"===n[0])n[1].contentType&&(Object.assign(t,NH(u,c)),c=t[c],l=!0);else if(n[1]._container){
for(a=c,
r=void 0;a--&&(o=u.get(a),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),
o[1].type="lineEnding",r=a)
;r&&(n[1].end=Object.assign({},u.get(r)[1].start),i=u.slice(r,c),
i.unshift(n),u.splice(r,c-r+1,i))}}
return XF(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function NH(e,t){
const n=e.get(t)[1],r=e.get(t)[2];let a=t-1
;const o=[],i=n._tokenizer||r.parser[n.contentType](n.start),s=i.events,l=[],c={}
;let u,d,p=-1,h=n,f=0,m=0;const g=[m];for(;h;){for(;e.get(++a)[1]!==h;);
o.push(a),
h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),d&&i.defineSkip(h.start),
h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),
i.write(u),
h._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),
d=h,h=h.next}
for(h=n;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,
g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next)
;for(i.events=[],h?(h._tokenizer=void 0,
h.previous=void 0):g.pop(),p=g.length;p--;){
const t=s.slice(g[p],g[p+1]),n=o.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}
for(l.reverse(),p=-1;++p<l.length;)c[f+l[p][0]]=f+l[p][1],f+=l[p][1]-l[p][0]-1
;return c}const RH={tokenize:function(e,t){let n;return function(t){
return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)
};function r(t){return null===t?a(t):eZ(t)?e.check(LH,o,a)(t):(e.consume(t),r)}
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,r}},resolve:function(e){
return MH(e),e}},LH={tokenize:function(e,t,n){const r=this;return function(t){
return e.exit("chunkContent"),
e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),xH(e,a,"linePrefix")}
;function a(a){if(null===a||eZ(a))return n(a)
;const o=r.events[r.events.length-1]
;return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)
}},partial:!0};function BH(e,t,n,r,a,o,i,s,l){
const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){
if(60===t)return e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),d
;if(null===t||32===t||41===t||Gz(t))return n(t)
;return e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{
contentType:"string"}),f(t)};function d(n){
return 62===n?(e.enter(o),e.consume(n),
e.exit(o),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{
contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),
e.exit(s),d(t)):null===t||60===t||eZ(t)?n(t):(e.consume(t),92===t?h:p)}
function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(a){
return u||null!==a&&41!==a&&!tZ(a)?u<c&&40===a?(e.consume(a),
u++,f):41===a?(e.consume(a),
u--,f):null===a||32===a||40===a||Gz(a)?n(a):(e.consume(a),
92===a?m:f):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(a))}
function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}
function jH(e,t,n,r,a,o){const i=this;let s,l=0;return function(t){
return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(o),c};function c(d){
return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(o),
e.enter(a),
e.consume(d),e.exit(a),e.exit(r),t):eZ(d)?(e.enter("lineEnding"),e.consume(d),
e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}
function u(t){
return null===t||91===t||93===t||eZ(t)||l++>999?(e.exit("chunkString"),
c(t)):(e.consume(t),s||(s=!nZ(t)),92===t?d:u)}function d(t){
return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}
function UH(e,t,n,r,a,o){let i;return function(t){
if(34===t||39===t||40===t)return e.enter(r),
e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,s;return n(t)};function s(n){
return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),l(n))}
function l(t){
return t===i?(e.exit(o),s(i)):null===t?n(t):eZ(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),xH(e,l,"linePrefix")):(e.enter("chunkString",{
contentType:"string"}),c(t))}function c(t){
return t===i||null===t||eZ(t)?(e.exit("chunkString"),
l(t)):(e.consume(t),92===t?u:c)}function u(t){
return t===i||92===t?(e.consume(t),c):c(t)}}function zH(e,t){let n
;return function r(a){
if(eZ(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r
;if(nZ(a))return xH(e,r,n?"linePrefix":"lineSuffix")(a);return t(a)}}const ZH={
name:"definition",tokenize:function(e,t,n){const r=this;let a
;return function(t){return e.enter("definition"),function(t){
return jH.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)
}(t)};function o(t){
return a=wZ(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),
58===t?(e.enter("definitionMarker"),
e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){
return tZ(t)?zH(e,s)(t):s(t)}function s(t){
return BH(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)
}function l(t){return e.attempt(FH,c,c)(t)}function c(t){
return nZ(t)?xH(e,u,"whitespace")(t):u(t)}function u(o){
return null===o||eZ(o)?(e.exit("definition"),r.parser.defined.push(a),t(o)):n(o)
}}},FH={tokenize:function(e,t,n){return function(t){return tZ(t)?zH(e,r)(t):n(t)
};function r(t){
return UH(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)
}function a(t){return nZ(t)?xH(e,o,"whitespace")(t):o(t)}function o(e){
return null===e||eZ(e)?t(e):n(e)}},partial:!0};const HH={name:"hardBreakEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){
return eZ(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const QH={
name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("atxHeading"),function(t){
return e.enter("atxHeadingSequence"),a(t)}(t)};function a(t){
return 35===t&&r++<6?(e.consume(t),
a):null===t||tZ(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){
return 35===n?(e.enter("atxHeadingSequence"),
i(n)):null===n||eZ(n)?(e.exit("atxHeading"),
t(n)):nZ(n)?xH(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}
function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))
}function s(t){
return null===t||35===t||tZ(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}
},resolve:function(e,t){let n,r,a=e.length-2,o=3
;"whitespace"===e[o][1].type&&(o+=2);a-2>o&&"whitespace"===e[a][1].type&&(a-=2)
;"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4)
;a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={
type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"
},XF(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]))
;return e}}
;const VH=["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"],qH=["pre","script","style","textarea"],WH={
name:"htmlFlow",tokenize:function(e,t,n){const r=this;let a,o,i,s,l
;return function(t){return function(t){
return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)}
;function c(s){
return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,h):63===s?(e.consume(s),
a=3,r.interrupt?t:M):qz(s)?(e.consume(s),i=String.fromCharCode(s),f):n(s)}
function u(o){
return 45===o?(e.consume(o),a=2,d):91===o?(e.consume(o),a=5,s=0,p):qz(o)?(e.consume(o),
a=4,r.interrupt?t:M):n(o)}function d(a){
return 45===a?(e.consume(a),r.interrupt?t:M):n(a)}function p(a){const o="CDATA["
;return a===o.charCodeAt(s++)?(e.consume(a),6===s?r.interrupt?t:A:p):n(a)}
function h(t){return qz(t)?(e.consume(t),i=String.fromCharCode(t),f):n(t)}
function f(s){if(null===s||47===s||62===s||tZ(s)){
const l=47===s,c=i.toLowerCase()
;return l||o||!qH.includes(c)?VH.includes(i.toLowerCase())?(a=6,l?(e.consume(s),
m):r.interrupt?t(s):A(s)):(a=7,
r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):v(s)):(a=1,
r.interrupt?t(s):A(s))}
return 45===s||Wz(s)?(e.consume(s),i+=String.fromCharCode(s),f):n(s)}
function m(a){return 62===a?(e.consume(a),r.interrupt?t:A):n(a)}function g(t){
return nZ(t)?(e.consume(t),g):S(t)}function v(t){
return 47===t?(e.consume(t),S):58===t||95===t||qz(t)?(e.consume(t),
b):nZ(t)?(e.consume(t),v):S(t)}function b(t){
return 45===t||46===t||58===t||95===t||Wz(t)?(e.consume(t),b):y(t)}
function y(t){return 61===t?(e.consume(t),O):nZ(t)?(e.consume(t),y):v(t)}
function O(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
l=t,w):nZ(t)?(e.consume(t),O):x(t)}function w(t){
return t===l?(e.consume(t),l=null,k):null===t||eZ(t)?n(t):(e.consume(t),w)}
function x(t){
return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||tZ(t)?y(t):(e.consume(t),
x)}function k(e){return 47===e||62===e||nZ(e)?v(e):n(e)}function S(t){
return 62===t?(e.consume(t),_):n(t)}function _(t){
return null===t||eZ(t)?A(t):nZ(t)?(e.consume(t),_):n(t)}function A(t){
return 45===t&&2===a?(e.consume(t),
$):60===t&&1===a?(e.consume(t),P):62===t&&4===a?(e.consume(t),
N):63===t&&3===a?(e.consume(t),
M):93===t&&5===a?(e.consume(t),D):!eZ(t)||6!==a&&7!==a?null===t||eZ(t)?(e.exit("htmlFlowData"),
T(t)):(e.consume(t),A):(e.exit("htmlFlowData"),e.check(XH,R,T)(t))}
function T(t){return e.check(GH,E,R)(t)}function E(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){
return null===t||eZ(t)?T(t):(e.enter("htmlFlowData"),A(t))}function $(t){
return 45===t?(e.consume(t),M):A(t)}function P(t){
return 47===t?(e.consume(t),i="",I):A(t)}function I(t){if(62===t){
const n=i.toLowerCase();return qH.includes(n)?(e.consume(t),N):A(t)}
return qz(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),I):A(t)}
function D(t){return 93===t?(e.consume(t),M):A(t)}function M(t){
return 62===t?(e.consume(t),N):45===t&&2===a?(e.consume(t),M):A(t)}
function N(t){
return null===t||eZ(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),N)}
function R(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){
let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););
t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,
e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},XH={
tokenize:function(e,t,n){return function(r){
return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(kH,t,n)
}},partial:!0},GH={tokenize:function(e,t,n){const r=this;return function(t){
if(eZ(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a
;return n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},
partial:!0};const YH={name:"htmlText",tokenize:function(e,t,n){const r=this
;let a,o,i;return function(t){
return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s}
;function s(t){
return 33===t?(e.consume(t),l):47===t?(e.consume(t),O):63===t?(e.consume(t),
b):qz(t)?(e.consume(t),k):n(t)}function l(t){
return 45===t?(e.consume(t),c):91===t?(e.consume(t),
o=0,h):qz(t)?(e.consume(t),v):n(t)}function c(t){
return 45===t?(e.consume(t),p):n(t)}function u(t){
return null===t?n(t):45===t?(e.consume(t),d):eZ(t)?(i=u,I(t)):(e.consume(t),u)}
function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){
return 62===e?P(e):45===e?d(e):u(e)}function h(t){const r="CDATA["
;return t===r.charCodeAt(o++)?(e.consume(t),6===o?f:h):n(t)}function f(t){
return null===t?n(t):93===t?(e.consume(t),m):eZ(t)?(i=f,I(t)):(e.consume(t),f)}
function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){
return 62===t?P(t):93===t?(e.consume(t),g):f(t)}function v(t){
return null===t||62===t?P(t):eZ(t)?(i=v,I(t)):(e.consume(t),v)}function b(t){
return null===t?n(t):63===t?(e.consume(t),y):eZ(t)?(i=b,I(t)):(e.consume(t),b)}
function y(e){return 62===e?P(e):b(e)}function O(t){
return qz(t)?(e.consume(t),w):n(t)}function w(t){
return 45===t||Wz(t)?(e.consume(t),w):x(t)}function x(t){
return eZ(t)?(i=x,I(t)):nZ(t)?(e.consume(t),x):P(t)}function k(t){
return 45===t||Wz(t)?(e.consume(t),k):47===t||62===t||tZ(t)?S(t):n(t)}
function S(t){
return 47===t?(e.consume(t),P):58===t||95===t||qz(t)?(e.consume(t),
_):eZ(t)?(i=S,I(t)):nZ(t)?(e.consume(t),S):P(t)}function _(t){
return 45===t||46===t||58===t||95===t||Wz(t)?(e.consume(t),_):A(t)}
function A(t){
return 61===t?(e.consume(t),T):eZ(t)?(i=A,I(t)):nZ(t)?(e.consume(t),A):S(t)}
function T(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
a=t,E):eZ(t)?(i=T,I(t)):nZ(t)?(e.consume(t),T):(e.consume(t),C)}function E(t){
return t===a?(e.consume(t),
a=void 0,$):null===t?n(t):eZ(t)?(i=E,I(t)):(e.consume(t),E)}function C(t){
return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tZ(t)?S(t):(e.consume(t),
C)}function $(e){return 47===e||62===e||tZ(e)?S(e):n(e)}function P(r){
return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}
function I(t){
return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
D}function D(t){
return nZ(t)?xH(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):M(t)
}function M(t){return e.enter("htmlTextData"),i(t)}}};const KH={name:"labelEnd",
tokenize:function(e,t,n){const r=this;let a,o,i=r.events.length
;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){
a=r.events[i][1];break}return function(t){if(!a)return n(t)
;if(a._inactive)return u(t)
;return o=r.parser.defined.includes(wZ(r.sliceSerialize({start:a.end,end:r.now()
}))),
e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelEnd"),s};function s(t){
return 40===t?e.attempt(JH,c,o?c:u)(t):91===t?e.attempt(eQ,c,o?l:u)(t):o?c(t):u(t)
}function l(t){return e.attempt(tQ,c,u)(t)}function c(e){return t(e)}
function u(e){return a._balanced=!0,n(e)}},resolveTo:function(e,t){
let n,r,a,o,i=e.length,s=0;for(;i--;)if(n=e[i][1],r){
if("link"===n.type||"labelLink"===n.type&&n._inactive)break
;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){
if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,
"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(a=i);const l={
type:"labelLink"===e[r][1].type?"link":"image",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
},c={type:"label",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[a][1].end)},u={type:"labelText",
start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[a-2][1].start)}
;return o=[["enter",l,t],["enter",c,t]],
o=GF(o,e.slice(r+1,r+s+3)),o=GF(o,[["enter",u,t]]),
o=GF(o,bH(t.parser.constructs.insideSpan.null,e.slice(r+s+4,a-3),t)),
o=GF(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),
o=GF(o,e.slice(a+1)),o=GF(o,[["exit",l,t]]),XF(e,r,e.length,o),e},
resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1]
;"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),
n.type="data",t++)}return e}},JH={tokenize:function(e,t,n){return function(t){
return e.enter("resource"),
e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r}
;function r(t){return tZ(t)?zH(e,a)(t):a(t)}function a(t){
return 41===t?c(t):BH(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)
}function o(t){return tZ(t)?zH(e,s)(t):c(t)}function i(e){return n(e)}
function s(t){
return 34===t||39===t||40===t?UH(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)
}function l(t){return tZ(t)?zH(e,c)(t):c(t)}function c(r){
return 41===r?(e.enter("resourceMarker"),
e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eQ={
tokenize:function(e,t,n){const r=this;return function(t){
return jH.call(r,e,a,o,"reference","referenceMarker","referenceString")(t)}
;function a(e){
return r.parser.defined.includes(wZ(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)
}function o(e){return n(e)}}},tQ={tokenize:function(e,t,n){return function(t){
return e.enter("reference"),
e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r}
;function r(r){
return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),
e.exit("reference"),t):n(r)}}};const nQ={name:"labelStartImage",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelImage"),
e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a}
;function a(t){
return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelImage"),o):n(t)}function o(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:KH.resolveAll};const rQ={name:"labelStartLink",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelLink"),
e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a}
;function a(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:KH.resolveAll};const aQ={name:"lineEnding",tokenize:function(e,t){
return function(n){
return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
xH(e,t,"linePrefix")}}};const oQ={name:"thematicBreak",tokenize:function(e,t,n){
let r,a=0;return function(t){return e.enter("thematicBreak"),function(e){
return r=e,o(e)}(t)};function o(o){
return o===r?(e.enter("thematicBreakSequence"),
i(o)):a>=3&&(null===o||eZ(o))?(e.exit("thematicBreak"),t(o)):n(o)}function i(t){
return t===r?(e.consume(t),
a++,i):(e.exit("thematicBreakSequence"),nZ(t)?xH(e,o,"whitespace")(t):o(t))}}}
;const iQ={name:"list",tokenize:function(e,t,n){
const r=this,a=r.events[r.events.length-1]
;let o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,i=0
;return function(t){
const a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered")
;if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:Yz(t)){
if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0
})),"listUnordered"===a)return e.enter("listItemPrefix"),
42===t||45===t?e.check(oQ,n,l)(t):l(t)
;if(!r.interrupt||49===t)return e.enter("listItemPrefix"),
e.enter("listItemValue"),s(t)}return n(t)};function s(t){
return Yz(t)&&++i<10?(e.consume(t),
s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),
l(t)):n(t)}function l(t){
return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),
r.containerState.marker=r.containerState.marker||t,
e.check(kH,r.interrupt?n:c,e.attempt(sQ,d,u))}function c(e){
return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){
return nZ(t)?(e.enter("listItemPrefixWhitespace"),
e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){
return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,
t(n)}},continuation:{tokenize:function(e,t,n){const r=this
;return r.containerState._closeFlow=void 0,e.check(kH,(function(n){
return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,
xH(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){
if(r.containerState.furtherBlankLines||!nZ(n))return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,a(n)
;return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,e.attempt(lQ,t,a)(n)}));function a(a){
return r.containerState._closeFlow=!0,
r.interrupt=void 0,xH(e,e.attempt(iQ,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)
}}},exit:function(e){e.exit(this.containerState.type)}},sQ={
tokenize:function(e,t,n){const r=this;return xH(e,(function(e){
const a=r.events[r.events.length-1]
;return!nZ(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)
}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)
},partial:!0},lQ={tokenize:function(e,t,n){const r=this
;return xH(e,(function(e){const a=r.events[r.events.length-1]
;return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)
}),"listItemIndent",r.containerState.size+1)},partial:!0};const cQ={
name:"setextUnderline",tokenize:function(e,t,n){const r=this;let a
;return function(t){let i,s=r.events.length
;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){
i="paragraph"===r.events[s][1].type;break}
if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),
a=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)
};function o(t){
return t===a?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),
nZ(t)?xH(e,i,"lineSuffix")(t):i(t))}function i(r){
return null===r||eZ(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},
resolveTo:function(e,t){let n,r,a,o=e.length;for(;o--;)if("enter"===e[o][0]){
if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)
}else"content"===e[o][1].type&&e.splice(o,1),
a||"definition"!==e[o][1].type||(a=o);const i={type:"setextHeading",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
}
;e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",i,t]),e.splice(a+1,0,["exit",e[n][1],t]),
e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=i
;return e.push(["exit",i,t]),e}};const uQ={tokenize:function(e,t,n){const r=this
;return xH(e,(function(e){const a=r.events[r.events.length-1]
;return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)
}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function dQ(e,t,n){const r=this
;let a=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[])
;let i;for(;a--;){const e=r.events[a][1];if("labelImage"===e.type){i=e;break}
if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break
}return function(a){if(!i||!i._balanced)return n(a)
;const s=wZ(r.sliceSerialize({start:i.end,end:r.now()}))
;if(94!==s.codePointAt(0)||!o.includes(s.slice(1)))return n(a)
;return e.enter("gfmFootnoteCallLabelMarker"),
e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)}}function pQ(e,t){
let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){
e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker"
;const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),
end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",
start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)}
;a.end.column++,a.end.offset++,a.end._bufferIndex++;const o={
type:"gfmFootnoteCallString",start:Object.assign({},a.end),
end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",
contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)
},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]]
;return e.splice(n,e.length-n+1,...s),e}function hQ(e,t,n){
const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i=0
;return function(t){
return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),
e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){
return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),
e.consume(t),e.exit("gfmFootnoteCallMarker"),
e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}
function l(s){if(i>999||93===s&&!o||null===s||91===s||tZ(s))return n(s)
;if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString")
;return a.includes(wZ(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),
e.consume(s),
e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}
return tZ(s)||(o=!0),i++,e.consume(s),92===s?c:l}function c(t){
return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function fQ(e,t,n){
const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i,s=0
;return function(t){
return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),
e.enter("gfmFootnoteDefinitionLabelMarker"),
e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){
return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),
e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),
e.enter("gfmFootnoteDefinitionLabelString"),
e.enter("chunkString").contentType="string",c):n(t)}function c(t){
if(s>999||93===t&&!i||null===t||91===t||tZ(t))return n(t);if(93===t){
e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString")
;return o=wZ(r.sliceSerialize(n)),
e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),
e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),
d}return tZ(t)||(i=!0),s++,e.consume(t),92===t?u:c}function u(t){
return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){
return 58===t?(e.enter("definitionMarker"),
e.consume(t),e.exit("definitionMarker"),
a.includes(o)||a.push(o),xH(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}
function p(e){return t(e)}}function mQ(e,t,n){
return e.check(kH,t,e.attempt(uQ,t,n))}function gQ(e){
e.exit("gfmFootnoteDefinition")}function vQ(e){let t=(e||{}).singleTilde
;const n={tokenize:function(e,n,r){const a=this.previous,o=this.events;let i=0
;return function(t){
if(126===a&&"characterEscape"!==o[o.length-1][1].type)return r(t)
;return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){
const l=vH(a);if(126===o)return i>1?r(o):(e.consume(o),i++,s)
;if(i<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=vH(o)
;return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},
resolveAll:function(e,t){let n=-1
;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){
let r=n
;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&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"
;const a={type:"strikethrough",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",
start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)
},i=[["enter",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null
;s&&XF(i,i.length,0,bH(s,e.slice(r+1,n),t)),
XF(i,i.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",a,t]]),
XF(e,r-1,n-r+3,i),n=r+i.length-2;break}}n=-1
;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data")
;return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},
attentionMarkers:{null:[126]}}}class bQ{constructor(){this.map=[]}add(e,t,n){
!function(e,t,n,r){let a=0;if(0===n&&0===r.length)return;for(;a<e.map.length;){
if(e.map[a][0]===t)return e.map[a][1]+=n,void e.map[a][2].push(...r);a+=1}
e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort((function(e,t){
return e[0]-t[0]})),0===this.map.length)return;let t=this.map.length;const n=[]
;for(;t>0;)t-=1,
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 yQ(e,t){let n=!1;const r=[];for(;t<e.length;){
const a=e[t];if(n){
if("enter"===a[0])"tableContent"===a[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){
if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1
;r[e]="left"===r[e]?"center":"right"}
}else if("tableDelimiterRow"===a[1].type)break
}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(n=!0);t+=1}return r}
function OQ(e,t,n){const r=this;let a,o=0,i=0;return function(e){
let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type
;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}
const a=t>-1?r.events[t][1].type:null,o="tableHead"===a||"tableRow"===a?O:s
;if(o===O&&r.parser.lazy[r.now().line])return n(e);return o(e)};function s(t){
return e.enter("tableHead"),e.enter("tableRow"),function(e){
if(124===e)return l(e);return a=!0,i+=1,l(e)}(t)}function l(t){
return null===t?n(t):eZ(t)?i>1?(i=0,
r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),
d):n(t):nZ(t)?xH(e,l,"whitespace")(t):(i+=1,a&&(a=!1,
o+=1),124===t?(e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),a=!0,l):(e.enter("data"),c(t)))}
function c(t){
return null===t||124===t||tZ(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}
function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){
return r.interrupt=!1,
r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),
a=!1,nZ(t)?xH(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))
}function p(t){
return 45===t||58===t?f(t):124===t?(a=!0,e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){
return nZ(t)?xH(e,f,"whitespace")(t):f(t)}function f(t){
return 58===t?(i+=1,a=!0,
e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),
m):45===t?(i+=1,m(t)):null===t||eZ(t)?b(t):y(t)}function m(t){
return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){
return 45===t?(e.consume(t),
g):58===t?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),
e.consume(t),
e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}
function v(t){return nZ(t)?xH(e,b,"whitespace")(t):b(t)}function b(n){
return 124===n?p(n):(null===n||eZ(n))&&a&&o===i?(e.exit("tableDelimiterRow"),
e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function O(t){
return e.enter("tableRow"),w(t)}function w(n){
return 124===n?(e.enter("tableCellDivider"),
e.consume(n),e.exit("tableCellDivider"),
w):null===n||eZ(n)?(e.exit("tableRow"),t(n)):nZ(n)?xH(e,w,"whitespace")(n):(e.enter("data"),
x(n))}function x(t){
return null===t||124===t||tZ(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?k:x)}
function k(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function wQ(e,t){
let n,r,a,o=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new bQ
;for(;++o<e.length;){const h=e[o],f=h[1]
;"enter"===h[0]?"tableHead"===f.type?(u=!1,
0!==d&&(kQ(p,t,d,n,r),r=void 0,d=0),n={type:"table",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(i=!0,
a=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(o,0,[["enter",r,t]])),
s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(i?i=!1:(0!==l[1]&&(c[0]=c[1],
a=xQ(p,t,l,s,void 0,a)),
l=c,c=[l[1],o,0,0])):(i=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],
a=xQ(p,t,l,s,void 0,a),
l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,
0!==l[1]?(c[0]=c[1],
a=xQ(p,t,l,s,o,a)):0!==c[1]&&(a=xQ(p,t,c,s,o,a)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)
}for(0!==d&&kQ(p,t,d,n,r),p.consume(t.events),o=-1;++o<t.events.length;){
const e=t.events[o]
;"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=yQ(t.events,o))}return e}
function xQ(e,t,n,r,a,o){
const i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData"
;0!==n[0]&&(o.end=Object.assign({},SQ(t.events,n[0])),
e.add(n[0],0,[["exit",o,t]]));const s=SQ(t.events,n[1]);if(o={type:i,
start:Object.assign({},s),end:Object.assign({},s)
},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){
const a=SQ(t.events,n[2]),o=SQ(t.events,n[3]),i={type:"tableContent",
start:Object.assign({},a),end:Object.assign({},o)}
;if(e.add(n[2],0,[["enter",i,t]]),2!==r){const r=t.events[n[2]],a=t.events[n[3]]
;if(r[1].end=Object.assign({},a[1].end),
r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){
const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}
return void 0!==a&&(o.end=Object.assign({},SQ(t.events,a)),
e.add(a,0,[["exit",o,t]]),o=void 0),o}function kQ(e,t,n,r,a){
const o=[],i=SQ(t.events,n);a&&(a.end=Object.assign({},i),o.push(["exit",a,t])),
r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(n+1,0,o)}function SQ(e,t){
const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const _Q={
tokenize:function(e,t,n){const r=this;return function(t){
if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t)
;return e.enter("taskListCheck"),
e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a}
;function a(t){
return tZ(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),
e.exit("taskListCheckValueUnchecked"),
o):88===t||120===t?(e.enter("taskListCheckValueChecked"),
e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){
return 93===t?(e.enter("taskListCheckMarker"),
e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}
function i(r){return eZ(r)?t(r):nZ(r)?e.check({tokenize:AQ},t,n)(r):n(r)}}}
;function AQ(e,t,n){return xH(e,(function(e){return null===e?n(e):t(e)
}),"whitespace")}const TQ={};function EQ(e){
const t=e||TQ,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[])
;r.push(function(e){return KF([{text:cH},{document:{91:{tokenize:fQ,
continuation:{tokenize:mQ},exit:gQ}},text:{91:{tokenize:hQ},93:{add:"after",
tokenize:dQ,resolveTo:pQ}}},vQ(e),{flow:{null:{tokenize:OQ,resolveAll:wQ}}},{
text:{91:_Q}}])}(t)),a.push([{transforms:[vZ],enter:{literalAutolink:dZ,
literalAutolinkEmail:pZ,literalAutolinkHttp:pZ,literalAutolinkWww:pZ},exit:{
literalAutolink:gZ,literalAutolinkEmail:mZ,literalAutolinkHttp:hZ,
literalAutolinkWww:fZ}},{enter:{gfmFootnoteDefinition:xZ,
gfmFootnoteDefinitionLabelString:kZ,gfmFootnoteCall:AZ,gfmFootnoteCallString:TZ
},exit:{gfmFootnoteDefinition:_Z,gfmFootnoteDefinitionLabelString:SZ,
gfmFootnoteCall:CZ,gfmFootnoteCallString:EZ}},{canContainEols:["delete"],enter:{
strikethrough:MZ},exit:{strikethrough:NZ}},{enter:{table:BF,tableData:ZF,
tableHeader:ZF,tableRow:UF},exit:{codeText:FF,table:jF,tableData:zF,
tableHeader:zF,tableRow:zF}},{exit:{taskListCheckValueChecked:VF,
taskListCheckValueUnchecked:VF,paragraph:qF}}]),o.push(function(e){return{
extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",
inConstruct:cZ,notInConstruct:uZ},{character:".",before:"[Ww]",
after:"[\\-.\\w]",inConstruct:cZ,notInConstruct:uZ},{character:":",
before:"[ps]",after:"\\/",inConstruct:cZ,notInConstruct:uZ}]},{unsafe:[{
character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{
footnoteDefinition:PZ,footnoteReference:$Z}},{unsafe:[{character:"~",
inConstruct:"phrasing",notInConstruct:DZ}],handlers:{delete:RZ}},QF(e),{
unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:WF}}]}}(t))
}const CQ={tokenize:function(e){
const t=e.attempt(this.parser.constructs.contentInitial,(function(n){
if(null===n)return void e.consume(n)
;return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
xH(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n
;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",
previous:n});return n&&(n.next=r),n=r,a(t)}function a(t){
return null===t?(e.exit("chunkText"),
e.exit("paragraph"),void e.consume(t)):eZ(t)?(e.consume(t),
e.exit("chunkText"),r):(e.consume(t),a)}}};const $Q={tokenize:function(e){
const t=this,n=[];let r,a,o,i=0;return s;function s(r){if(i<n.length){
const a=n[i];return t.containerState=a[1],e.attempt(a[0].continuation,l,c)(r)}
return c(r)}function l(e){if(i++,t.containerState._closeFlow){
t.containerState._closeFlow=void 0,r&&b();const n=t.events.length;let a,o=n
;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){
a=t.events[o][1].end;break}v(i);let s=n
;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},a),s++
;return XF(t.events,o+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}
function c(a){if(i===n.length){if(!r)return p(a)
;if(r.currentConstruct&&r.currentConstruct.concrete)return f(a)
;t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}
return t.containerState={},e.check(PQ,u,d)(a)}function u(e){
return r&&b(),v(i),p(e)}function d(e){
return t.parser.lazy[t.now().line]=i!==n.length,o=t.now().offset,f(e)}
function p(n){return t.containerState={},e.attempt(PQ,h,f)(n)}function h(e){
return i++,n.push([t.currentConstruct,t.containerState]),p(e)}function f(n){
return null===n?(r&&b(),
v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{
contentType:"flow",previous:a,_tokenizer:r}),m(n))}function m(n){
return null===n?(g(e.exit("chunkFlow"),!0),
v(0),void e.consume(n)):eZ(n)?(e.consume(n),
g(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume(n),m)}
function g(e,n){const s=t.sliceStream(e)
;if(n&&s.push(null),e.previous=a,a&&(a.next=e),
a=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){
let e=r.events.length
;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return
;const n=t.events.length;let a,s,l=n
;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(a){
s=t.events[l][1].end;break}a=!0}
for(v(i),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++
;XF(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){
let a=n.length;for(;a-- >r;){const r=n[a]
;t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){
r.write([null]),a=void 0,r=void 0,t.containerState._closeFlow=void 0}}},PQ={
tokenize:function(e,t,n){
return xH(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)
}};const IQ={tokenize:function(e){const t=this,n=e.attempt(kH,(function(r){
if(null===r)return void e.consume(r)
;return e.enter("lineEndingBlank"),e.consume(r),
e.exit("lineEndingBlank"),t.currentConstruct=void 0,n
}),e.attempt(this.parser.constructs.flowInitial,r,xH(e,e.attempt(this.parser.constructs.flow,r,e.attempt(RH,r)),"linePrefix")))
;return n;function r(r){
if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),
t.currentConstruct=void 0,n;e.consume(r)}}};const DQ={resolveAll:LQ()
},MQ=RQ("string"),NQ=RQ("text");function RQ(e){return{tokenize:function(t){
const n=this,r=this.parser.constructs[e],a=t.attempt(r,o,i);return o
;function o(e){return l(e)?a(e):i(e)}function i(e){
if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){
return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){
if(null===e)return!0;const t=r[e];let a=-1;if(t)for(;++a<t.length;){const e=t[a]
;if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},
resolveAll:LQ("text"===e?BQ:void 0)}}function LQ(e){return function(t,n){
let r,a=-1
;for(;++a<=t.length;)void 0===r?t[a]&&"data"===t[a][1].type&&(r=a,a++):t[a]&&"data"===t[a][1].type||(a!==r+2&&(t[r][1].end=t[a-1][1].end,
t.splice(r+2,a-r-2),a=r+2),r=void 0);return e?e(t,n):t}}function BQ(e,t){let n=0
;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){
const r=e[n-1][1],a=t.sliceStream(r);let o,i=a.length,s=-1,l=0;for(;i--;){
const e=a[i];if("string"==typeof e){
for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1
}else if(-2===e)o=!0,l++;else if(-1!==e){i++;break}}if(l){const a={
type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{
line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,
_index:r.start._index+i,_bufferIndex:i?s:r.start._bufferIndex+s},
end:Object.assign({},r.end)}
;r.end=Object.assign({},a.start),r.start.offset===r.end.offset?Object.assign(r,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),
n+=2)}n++}return e}function jQ(e,t,n){
let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,
_bufferIndex:-1});const a={},o=[];let i=[],s=[];const l={consume:function(e){
eZ(e)?(r.line++,
r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++)
;r._bufferIndex<0?r._index++:(r._bufferIndex++,
r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++))
;c.previous=e},enter:function(e,t){const n=t||{}
;return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},
exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t
},attempt:g((function(e,t){v(e,t.from)})),check:g(m),interrupt:g(m,{interrupt:!0
})},c={previous:null,code:null,containerState:{},events:[],parser:e,
sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1
;const r=[];let a;for(;++n<e.length;){const o=e[n];let i
;if("string"==typeof o)i=o;else switch(o){case-5:i="\r";break;case-4:i="\n"
;break;case-3:i="\r\n";break;case-2:i=t?" ":"\t";break;case-1:if(!t&&a)continue
;i=" ";break;default:i=String.fromCharCode(o)}a=-2===o,r.push(i)}
return r.join("")}(d(e),t)},now:p,defineSkip:function(e){a[e.line]=e.column,b()
},write:function(e){if(i=GF(i,e),h(),null!==i[i.length-1])return[]
;return v(t,0),c.events=bH(o,c.events,c),c.events}};let u=t.tokenize.call(c,l)
;return t.resolveAll&&o.push(t),c;function d(e){return function(e,t){
const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex
;let i;if(n===a)i=[e[n].slice(r,o)];else{if(i=e.slice(n,a),r>-1){const e=i[0]
;"string"==typeof e?i[0]=e.slice(r):i.shift()}o>0&&i.push(e[a].slice(0,o))}
return i}(i,e)}function p(){
const{line:e,column:t,offset:n,_index:a,_bufferIndex:o}=r;return{line:e,
column:t,offset:n,_index:a,_bufferIndex:o}}function h(){let e
;for(;r._index<i.length;){const t=i[r._index]
;if("string"==typeof t)for(e=r._index,
r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)f(t.charCodeAt(r._bufferIndex));else f(t)
}}function f(e){u=u(e)}function m(e,t){t.restore()}function g(e,t){
return function(n,a,o){let i,u,d,h
;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){return t
;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null
;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}
}(n);function f(e){return i=e,u=0,0===e.length?o:m(e[u])}function m(e){
return function(n){h=function(){
const e=p(),t=c.previous,n=c.currentConstruct,a=c.events.length,o=Array.from(s)
;return{restore:i,from:a};function i(){
r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=o,b()}
}(),d=e,e.partial||(c.currentConstruct=e)
;if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v()
;return e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,v)(n)}}
function g(t){return e(d,h),a}function v(e){
return h.restore(),++u<i.length?m(i[u]):o}}}function v(e,t){
e.resolveAll&&!o.includes(e)&&o.push(e),
e.resolve&&XF(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),
e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){
r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}const UQ={
42:iQ,43:iQ,45:iQ,48:iQ,49:iQ,50:iQ,51:iQ,52:iQ,53:iQ,54:iQ,55:iQ,56:iQ,57:iQ,
62:SH},zQ={91:ZH},ZQ={[-2]:CH,[-1]:CH,32:CH},FQ={35:QH,42:oQ,45:[cQ,oQ],60:WH,
61:cQ,95:oQ,96:EH,126:EH},HQ={38:AH,92:_H},QQ={[-5]:aQ,[-4]:aQ,[-3]:aQ,33:nQ,
38:AH,42:yH,60:[wH,YH],91:rQ,92:[HH,_H],93:KH,95:yH,96:PH},VQ={null:[yH,DQ]
},qQ=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{
null:[42,95]},contentInitial:zQ,disable:{null:[]},document:UQ,flow:FQ,
flowInitial:ZQ,insideSpan:VQ,string:HQ,text:QQ},Symbol.toStringTag,{
value:"Module"}));const WQ=/[\0\t\n\r]/g;const XQ={}.hasOwnProperty
;function GQ(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){
const t={transforms:[],
canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{
autolink:o(te),autolinkProtocol:_,autolinkEmail:_,atxHeading:o(Y),
blockQuote:o(V),characterEscape:_,characterReference:_,codeFenced:o(q),
codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(q,i),codeText:o(W,i),
codeTextData:_,data:_,codeFlowValue:_,definition:o(X),
definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,
emphasis:o(G),hardBreakEscape:o(K),hardBreakTrailing:o(K),htmlFlow:o(J,i),
htmlFlowData:_,htmlText:o(J,i),htmlTextData:_,image:o(ee),label:i,link:o(te),
listItem:o(re),listItemValue:p,listOrdered:o(ne,d),listUnordered:o(ne),
paragraph:o(ae),reference:j,referenceString:i,resourceDestinationString:i,
resourceTitleString:i,setextHeading:o(Y),strong:o(oe),thematicBreak:o(se)},
exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:Q,
autolinkProtocol:H,blockQuote:l(),characterEscapeValue:A,
characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,
characterReferenceValue:Z,characterReference:F,codeFenced:l(g),
codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:f,codeFlowValue:A,
codeIndented:l(v),codeText:l(P),codeTextData:A,data:A,definition:l(),
definitionDestinationString:O,definitionLabelString:b,definitionTitleString:y,
emphasis:l(),hardBreakEscape:l(E),hardBreakTrailing:l(E),htmlFlow:l(C),
htmlFlowData:A,htmlText:l($),htmlTextData:A,image:l(D),label:N,labelText:M,
lineEnding:T,link:l(I),listItem:l(),listOrdered:l(),listUnordered:l(),
paragraph:l(),referenceString:U,resourceDestinationString:R,
resourceTitleString:L,resource:B,setextHeading:l(S),setextHeadingLineSequence:k,
setextHeadingText:x,strong:l(),thematicBreak:l()}}
;KQ(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={
type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,
exit:c,buffer:i,resume:u,data:n},l=[];let d=-1
;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{
d=a(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]]
;XQ.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({
sliceSerialize:e[d][2].sliceSerialize},o),e[d][1])}if(o.tokenStack.length>0){
const e=o.tokenStack[o.tokenStack.length-1];(e[1]||eV).call(o,void 0,e[0])}
for(r.position={start:YQ(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),
end:YQ(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 a(e,t,n){let r,a,o,i,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s]
;switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":
"enter"===t[0]?l++:l--,i=void 0;break;case"lineEndingBlank":
"enter"===t[0]&&(!r||i||l||o||(o=s),i=void 0);break;case"linePrefix":
case"listItemValue":case"listItemMarker":case"listItemPrefix":
case"listItemPrefixWhitespace":break;default:i=void 0}
if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){
if(r){let i=s;for(a=void 0;i--;){const t=e[i]
;if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){
if("exit"===t[0])continue
;a&&(e[a][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",a=i
}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break
}
o&&(!a||o<a)&&(r._spread=!0),r.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||s,0,["exit",r,t[2]]),
s++,n++}if("listItemPrefix"===t[1].type){const a={type:"listItem",_spread:!1,
start:Object.assign({},t[1].start),end:void 0}
;r=a,e.splice(s,0,["enter",a,t[2]]),s++,n++,o=void 0,i=!0}}}
return e[t][1]._spread=c,n}function o(e,t){return n;function n(n){
s.call(this,e(n),n),t&&t.call(this,n)}}function i(){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:YQ(t.start),
end:void 0}}function l(e){return t;function t(t){
e&&e.call(this,t),c.call(this,t)}}function c(e,t){
const n=this.stack.pop(),r=this.tokenStack.pop()
;if(!r)throw new Error("Cannot close `"+e.type+"` ("+qN({start:e.start,end:e.end
})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{
(r[1]||eV).call(this,e,r[0])}n.position.end=YQ(e.end)}function u(){
return KZ(this.stack.pop())}function d(){
this.data.expectingFirstListItemValue=!0}function p(e){
if(this.data.expectingFirstListItemValue){
this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),
this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume()
;this.stack[this.stack.length-1].lang=e}function f(){const e=this.resume()
;this.stack[this.stack.length-1].meta=e}function m(){
this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}
function g(){const e=this.resume()
;this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),
this.data.flowCodeInside=void 0}function v(){const e=this.resume()
;this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}
function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=wZ(this.sliceSerialize(e)).toLowerCase()}function y(){
const e=this.resume();this.stack[this.stack.length-1].title=e}function O(){
const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){
const t=this.stack[this.stack.length-1];if(!t.depth){
const n=this.sliceSerialize(e).length;t.depth=n}}function x(){
this.data.setextHeadingSlurpLineEnding=!0}function k(e){
this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2
}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function _(e){
const t=this.stack[this.stack.length-1].children;let n=t[t.length-1]
;n&&"text"===n.type||(n=ie(),n.position={start:YQ(e.start),end:void 0
},t.push(n)),this.stack.push(n)}function A(e){const t=this.stack.pop()
;t.value+=this.sliceSerialize(e),t.position.end=YQ(e.end)}function T(e){
const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){
return n.children[n.children.length-1].position.end=YQ(e.end),
void(this.data.atHardBreak=void 0)}
!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(_.call(this,e),
A.call(this,e))}function E(){this.data.atHardBreak=!0}function C(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function $(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){
const e=this.stack[this.stack.length-1];if(this.data.inReference){
const 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 D(){const e=this.stack[this.stack.length-1];if(this.data.inReference){
const 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 M(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2]
;n.label=wF(t),n.identifier=wZ(t).toLowerCase()}function N(){
const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1]
;if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t
}else n.alt=t}function R(){const e=this.resume()
;this.stack[this.stack.length-1].url=e}function L(){const e=this.resume()
;this.stack[this.stack.length-1].title=e}function B(){
this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}
function U(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=wZ(this.sliceSerialize(e)).toLowerCase(),
this.data.referenceType="full"}function z(e){
this.data.characterReferenceType=e.type}function Z(e){
const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r
;if(n)r=yF(t,"characterReferenceMarkerNumeric"===n?10:16),
this.data.characterReferenceType=void 0;else{r=bF(t)}
this.stack[this.stack.length-1].value+=r}function F(e){
this.stack.pop().position.end=YQ(e.end)}function H(e){A.call(this,e)
;this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){
A.call(this,e)
;this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}
function V(){return{type:"blockquote",children:[]}}function q(){return{
type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",
value:""}}function X(){return{type:"definition",identifier:"",label:null,
title:null,url:""}}function G(){return{type:"emphasis",children:[]}}
function Y(){return{type:"heading",depth:0,children:[]}}function K(){return{
type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{
type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",
title:null,url:"",children:[]}}function ne(e){return{type:"list",
ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}
function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}
}function ae(){return{type:"paragraph",children:[]}}function oe(){return{
type:"strong",children:[]}}function ie(){return{type:"text",value:""}}
function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!MH(e););
return e}(function(e){const t={defined:[],lazy:{},
constructs:KF([qQ,...(e||{}).extensions||[]]),content:n(CQ),document:n($Q),
flow:n(IQ),string:n(MQ),text:n(NQ)};return t;function n(e){return function(n){
return jQ(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0
;return function(a,o,i){const s=[];let l,c,u,d,p
;for(a=n+("string"==typeof a?a.toString():new TextDecoder(o||void 0).decode(a)),
u=0,n="",r&&(65279===a.charCodeAt(0)&&u++,r=void 0);u<a.length;){
if(WQ.lastIndex=u,
l=WQ.exec(a),d=l&&void 0!==l.index?l.index:a.length,p=a.charCodeAt(d),!l){
n=a.slice(u);break}
if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),
e=void 0),u<d&&(s.push(a.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break
;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:
s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}
return i&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}
function YQ(e){return{line:e.line,column:e.column,offset:e.offset}}
function KQ(e,t){let n=-1;for(;++n<t.length;){const r=t[n]
;Array.isArray(r)?KQ(e,r):JQ(e,r)}}function JQ(e,t){let n
;for(n in t)if(XQ.call(t,n))switch(n){case"canContainEols":{const r=t[n]
;r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r)
;break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}
function eV(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+qN({
start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+qN({
start:t.start,end:t.end
})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+qN({
start:t.start,end:t.end})+") is still open")}function tV(e){const t=this
;t.parser=function(n){return GQ(n,{...t.data("settings"),...e,
extensions:t.data("micromarkExtensions")||[],
mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function nV(e,t){
const n=t.referenceType;let r="]"
;if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),
"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}]
;const a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({
type:"text",value:"["});const i=a[a.length-1]
;return i&&"text"===i.type?i.value+=r:a.push({type:"text",value:r}),a}
function rV(e){const t=e.spread;return null==t?e.children.length>1:t}
const aV=9,oV=32;function iV(e){const t=String(e),n=/\r?\n|\r/g
;let r=n.exec(t),a=0;const o=[]
;for(;r;)o.push(sV(t.slice(a,r.index),a>0,!0),r[0]),
a=r.index+r[0].length,r=n.exec(t)
;return o.push(sV(t.slice(a),a>0,!1)),o.join("")}function sV(e,t,n){
let r=0,a=e.length;if(t){let t=e.codePointAt(r)
;for(;t===aV||t===oV;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1)
;for(;t===aV||t===oV;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}
const lV={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",
properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)
},break:function(e,t){const n={type:"element",tagName:"br",properties:{},
children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},
code:function(e,t){const n=t.value?t.value+"\n":"",r={}
;t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",
tagName:"code",properties:r,children:[{type:"text",value:n}]}
;return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={
type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},
delete:function(e,t){const n={type:"element",tagName:"del",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){
const n={type:"element",tagName:"em",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){
const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=gH(r.toLowerCase()),o=e.footnoteOrder.indexOf(r)
;let i,s=e.footnoteCounts.get(r)
;void 0===s?(s=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=o+1,
s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{
href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,
ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]}
;e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]}
;return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={
type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},html:function(e,t){
if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value}
;return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return nV(e,t);const a={src:gH(r.url||""),alt:t.alt}
;null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",
tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)},
image:function(e,t){const n={src:gH(t.url)}
;null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),
null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},
inlineCode:function(e,t){const n={type:"text",
value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",
tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)
},linkReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return nV(e,t);const a={href:gH(r.url||"")}
;null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",
tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)
},link:function(e,t){const n={href:gH(t.url)}
;null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)
},listItem:function(e,t,n){const r=e.all(t),a=n?function(e){let t=!1
;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1
;for(;!t&&++r<n.length;)t=rV(n[r])}return t}(n):rV(t),o={},i=[]
;if("boolean"==typeof t.checked){const e=r[0];let n
;e&&"element"===e.type&&"p"===e.tagName?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:[]
}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s]
;(a||0!==s||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"
}),"element"!==e.type||"p"!==e.tagName||a?i.push(e):i.push(...e.children)}
const l=r[r.length-1];l&&(a||"element"!==l.type||"p"!==l.tagName)&&i.push({
type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,
children:i};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){
const n={},r=e.all(t);let a=-1
;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++a<r.length;){
const e=r[a]
;if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){
n.className=["contains-task-list"];break}}const o={type:"element",
tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)}
;return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={
type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),
e.applyData(t,n)},root:function(e,t){const n={type:"root",
children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},
strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){
const n=e.all(t),r=n.shift(),a=[];if(r){const n={type:"element",tagName:"thead",
properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),a.push(n)}
if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},
children:e.wrap(n,!0)},o=bz(t.children[1]),i=vz(t.children[t.children.length-1])
;o&&i&&(r.position={start:o,end:i}),a.push(r)}const o={type:"element",
tagName:"table",properties:{},children:e.wrap(a,!0)}
;return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={
type:"element",tagName:"td",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){
const r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length
;let s=-1;const l=[];for(;++s<i;){const n=t.children[s],r={},i=o?o[s]:void 0
;i&&(r.align=i);let c={type:"element",tagName:a,properties:r,children:[]}
;n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={
type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)}
;return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",
value:iV(String(t.value))};return e.patch(t,n),e.applyData(t,n)},
thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},
children:[]};return e.patch(t,n),e.applyData(t,n)},toml:cV,yaml:cV,
definition:cV,footnoteDefinition:cV};function cV(){}function uV(e,t){const n=[{
type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",
properties:{},children:[{type:"text",value:String(t)}]}),n}function dV(e,t){
return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const pV={}.hasOwnProperty,hV={}
;function fV(e,t){e.position&&(t.position=Oz(e))}function mV(e,t){let n=t
;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties
;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",
tagName:t,properties:{},children:"children"in n?n.children:[n]}}
"element"===n.type&&a&&Object.assign(n.properties,$U(a)),
"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function gV(e,t){
const n=t.data||{},r=!("value"in t)||pV.call(n,"hProperties")||pV.call(n,"hChildren")?{
type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",
value:t.value};return e.patch(t,r),e.applyData(t,r)}function vV(e,t){const n=[]
;let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({
type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",
value:"\n"}),n}function bV(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,
n=e.charCodeAt(t);return e.slice(t)}function yV(e,t){const n=function(e,t){
const n=t||hV,r=new Map,a=new Map,o=new Map,i={...lV,...n.handlers},s={
all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1
;for(;++r<n.length;){const a=s.one(n[r],e);if(a){
if(r&&"break"===n[r-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=bV(a.value)),
!Array.isArray(a)&&"element"===a.type)){const e=a.children[0]
;e&&"text"===e.type&&(e.value=bV(e.value))}
Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:mV,
definitionById:r,footnoteById:a,footnoteCounts:o,footnoteOrder:[],handlers:i,
one:function(e,t){const n=e.type,r=s.handlers[n]
;if(pV.call(s.handlers,n)&&r)return r(s,e,t)
;if(s.options.passThrough&&s.options.passThrough.includes(n)){
if("children"in e){const{children:t,...n}=e,r=$U(n);return r.children=s.all(e),r
}return $U(e)}return(s.options.unknownHandler||gV)(s,e,t)},options:n,patch:fV,
wrap:vV};return bB(e,(function(e){
if("definition"===e.type||"footnoteDefinition"===e.type){
const t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase()
;t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),a=function(e){
const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||uV,r=e.options.footnoteBackLabel||dV,a=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{
className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){
const a=e.footnoteById.get(e.footnoteOrder[l]);if(!a)continue
;const o=e.all(a),i=String(a.identifier).toUpperCase(),c=gH(i.toLowerCase())
;let u=0;const d=[],p=e.footnoteCounts.get(i);for(;void 0!==p&&++u<=p;){
d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u)
;"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",
tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),
dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),
className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}
const h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){
const e=h.children[h.children.length-1]
;e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "
}),h.children.push(...d)}else o.push(...d);const f={type:"element",tagName:"li",
properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(a,f),s.push(f)}
if(0!==s.length)return{type:"element",tagName:"section",properties:{
dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,
properties:{...$U(i),id:"footnote-label"},children:[{type:"text",value:a}]},{
type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},
children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{
type:"root",children:r}:r||{type:"root",children:[]};return a&&o.children.push({
type:"text",value:"\n"},a),o}function OV(e,t){
return e&&"run"in e?async function(n,r){const a=yV(n,{file:r,...t})
;await e.run(a,r)}:function(n,r){return yV(n,{file:r,...e||t})}}function wV(e){
const t=this;t.compiler=function(n){return PF(n,{...t.data("settings"),...e,
extensions:t.data("toMarkdownExtensions")||[]})}}
const xV=["note","tip","important","warning","caution","success"]
;function kV(e){
return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}
function SV(){return e=>{bB(e,"element",((e,t,n)=>{
if("blockquote"!==e.tagName||"number"!=typeof t||!n||"root"!==n.type)return
;const r=e.children.findIndex((e=>!kV(e)));if(-1===r)return
;const a=e.children[r];if(!a||"element"!==a.type||"p"!==a.tagName)return
;const o=a.children[0];if(!o||"text"!==o.type||!o.value.startsWith("[!"))return
;const i=o.value.indexOf("]");if(-1===i)return
;const s=o.value.slice(2,i).toLowerCase();if(!xV.includes(s))return
;if(i+1===o.value.length){const t=a.children[1];if(t){
if("element"!==t.type||"br"!==t.tagName)return;if(!a.children[2])return
;a.children=a.children.slice(2);const e=a.children[0]
;e&&"text"===e.type&&"\n"===e.value.charAt(0)&&(e.value=e.value.slice(1))}else{
const t=r+1<e.children.length&&kV(e.children[r+1])?r+2:r+1
;if(t>=e.children.length||"element"!==e.children[t]?.type)return
;e.children=e.children.slice(t)}
}else"\n"!==o.value.charAt(i+1)||i+2!==o.value.length&&/^\s*$/.test(o.value.slice(i+2))?o.value=o.value.replace(/^\s*\[!.*?\]\s*/,""):o.value=o.value.slice(i+2)
;const l=[];for(let c=r;c<e.children.length;c++){const t=e.children[c]
;"element"===t?.type&&"p"===t.tagName&&t.children?l.push(...t.children):l.push(t)
}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:" "},...l]}]}}))}}const _V=(e,...t)=>t=>{
e?.transform&&e?.type&&bB(t,e?.type,(t=>(e?.transform&&e?.transform(t),gB)))}
;function AV(e){return rB().use(tV).use(EQ).parse(e)}function TV(e,t=1){
const n=AV(e),r=[];return bB(n,"heading",(e=>{const n=EV(e);n&&r.push({
depth:e.depth??t,value:n.value})})),r}function EV(e){if("text"===e.type)return e
;if("children"in e&&e.children)for(const t of e.children){const e=EV(t)
;if(e)return e}return null}function CV(e){const t=AV(e),n=[];let r=[]
;return t.children?.forEach((e=>{
"heading"===e.type?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)
})),r.length&&n.push(r),n.map((e=>function(e){
const t=rB().use(wV).use(EQ).stringify({type:"root",children:e});return t.trim()
}(e)))}const $V=e=>null!=e,PV={"&":"&","<":"<",">":">",'"':""",
"'":"'"};function IV(e){return e.replace(/[&<>"']/g,(e=>PV[e]??e))}
function DV(e,t={}){
const{indent:n=" ",format:r=!0,xmlDeclaration:a=!0}=t,o=(e,t,r)=>{let a=""
;if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)a+=o(e[n],t,r);else if("object"==typeof e&&null!==e){
let i=!1,s="",l=""
;for(const t in e)"@"===t.charAt(0)&&(s+=" "+t.substr(1)+'="'+IV(e[t].toString())+'"')
;for(const t in e)if("#text"===t)l+=IV(e[t]?.toString()??"");else if("#cdata"===t){
l+="<![CDATA["+(e[t]?.toString()??"").replace(/]]>/g,"]]]]><![CDATA[>")+"]]>"
}else"@"!==t.charAt(0)&&(i=!0,l+=o(e[t],t,r+n))
;i||l?(a+=r+"<"+t+s+">\n",a+=l,a+=r+"</"+t+">\n"):a+=r+"<"+t+s+"/>\n"
}else a+=r+"<"+t+">"+IV(e?.toString()||"")+"</"+t+">\n";return a};let i=""
;a&&(i+='<?xml version="1.0" encoding="UTF-8"?>',r&&(i+="\n"))
;for(const s in e)Object.hasOwn(e,s)&&(i+=o(e[s],s,""))
;return r?i.trim():i.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}
const MV=["post","put","patch","delete"],NV=e=>MV.includes(e.toLowerCase()),RV={
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"}},LV=e=>{
const t=e.trim().toLowerCase();return RV[t]??{short:t,color:"text-c-2",
backgroundColor:"bg-c-2"}},BV={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)"}
},jV=["delete","get","head","options","patch","post","put","trace"],UV=Object.freeze(new Set(jV)),zV=e=>!(!e||"string"!=typeof e)&&UV.has(e.toLowerCase()),ZV=e=>Object.keys(e),FV={
PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,
MULTIPLE_SLASHES:new RegExp("(?<!:)\\/{2,}","g"),
VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,
REF_NAME:/\/([^\/]+)$/
},HV=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&FV.PATH,n&&FV.VARIABLES].flatMap((t=>t?[...e.matchAll(t)].map((e=>e[1]?.trim())).filter((e=>void 0!==e)):[]))
;function QV(e,t){
const n=(e,n)=>"function"==typeof t?t(n):t[n]?.toString()||`{${n}}`
;return e.replace(/{{\s*([\w.-]+)\s*}}/g,n).replace(/{\s*([\w.-]+)\s*}/g,n)}
const VV=(e,t={})=>e.replace(FV.VARIABLES,((e,n)=>t[n]??e))
;const qV=["localhost","127.0.0.1","[::1]","0.0.0.0"],WV=["test","example","invalid","localhost"]
;function XV(e){try{const{hostname:t}=new URL(e);if(qV.includes(t))return!0
;const n=t.split(".").pop();return!(!n||!WV.includes(n))}catch{return!0}}
const GV=e=>!FV.PROTOCOL.test(e)&&!/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e),YV=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(FV.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),KV=(e,t,n=new URLSearchParams,r=!1)=>{
if(e&&(!GV(e)||"undefined"!=typeof window)){
const a=r?e:GV(e)?YV(window.location.origin,e):function(e){
return FV.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`
}(e),[o="",i]=a.split("?"),s=new URLSearchParams(i||""),[l="",c]=t.split("?"),u=new URLSearchParams(c||""),d=e===t?o:YV(o,l),p=((...e)=>{
const t={};e.forEach((e=>{const n=Array.from(e.keys());new Set(n).forEach((n=>{
const r=e.getAll(n),a=r.length>1?r:r[0]??"";t[n]=a}))}))
;const 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
})(s,u,n).toString();return p?`${d}?${p}`:d}return t?YV(e,t):""
},JV=(e,{baseUrl:t,basePath:n}={})=>{if("undefined"==typeof window&&!t)return e
;try{return new URL(e),e}catch{}try{let r=t||window.location.href;if(n){
const e=t?new URL(t).origin:window.location.origin;r=YV(e,n+"/")}
return new URL(e,r).toString()}catch{return e}},eq=async(e,t,n)=>{let r=e
;for(const a of n){const e=a.hooks?.[t];if(e){r=await e(r)??r}}return r
},tq=(e,t)=>{try{if(!nq(e,t))return t??""
;const n=new URL(t),r=GV(e)?`http://localhost${e}`:e
;n.href=r,n.searchParams.append("scalar_url",t)
;return GV(e)?n.toString().replace(/^http:\/\/localhost/,""):n.toString()}catch{
return t??""}},nq=(e,t)=>{try{
return!(!e||!t)&&(!GV(t)&&(!!GV(e)||(!!XV(e)||!XV(t))))}catch{return!1}
},rq=Symbol.for("yaml.alias"),aq=Symbol.for("yaml.document"),oq=Symbol.for("yaml.map"),iq=Symbol.for("yaml.pair"),sq=Symbol.for("yaml.scalar"),lq=Symbol.for("yaml.seq"),cq=Symbol.for("yaml.node.type"),uq=e=>!!e&&"object"==typeof e&&e[cq]===rq,dq=e=>!!e&&"object"==typeof e&&e[cq]===aq,pq=e=>!!e&&"object"==typeof e&&e[cq]===oq,hq=e=>!!e&&"object"==typeof e&&e[cq]===iq,fq=e=>!!e&&"object"==typeof e&&e[cq]===sq,mq=e=>!!e&&"object"==typeof e&&e[cq]===lq
;function gq(e){if(e&&"object"==typeof e)switch(e[cq]){case oq:case lq:return!0}
return!1}function vq(e){if(e&&"object"==typeof e)switch(e[cq]){case rq:case oq:
case sq:case lq:return!0}return!1}
const bq=e=>(fq(e)||gq(e))&&!!e.anchor,yq=Symbol("break visit"),Oq=Symbol("skip children"),wq=Symbol("remove node")
;function xq(e,t){const n=Aq(t);if(dq(e)){
kq(null,e.contents,n,Object.freeze([e]))===wq&&(e.contents=null)
}else kq(null,e,n,Object.freeze([]))}function kq(e,t,n,r){const a=Tq(e,t,n,r)
;if(vq(a)||hq(a))return Eq(e,r,a),kq(e,a,n,r);if("symbol"!=typeof a)if(gq(t)){
r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){
const a=kq(e,t.items[e],n,r);if("number"==typeof a)e=a-1;else{
if(a===yq)return yq;a===wq&&(t.items.splice(e,1),e-=1)}}}else if(hq(t)){
r=Object.freeze(r.concat(t));const e=kq("key",t.key,n,r);if(e===yq)return yq
;e===wq&&(t.key=null);const a=kq("value",t.value,n,r);if(a===yq)return yq
;a===wq&&(t.value=null)}return a}async function Sq(e,t){const n=Aq(t);if(dq(e)){
await _q(null,e.contents,n,Object.freeze([e]))===wq&&(e.contents=null)
}else await _q(null,e,n,Object.freeze([]))}async function _q(e,t,n,r){
const a=await Tq(e,t,n,r);if(vq(a)||hq(a))return Eq(e,r,a),_q(e,a,n,r)
;if("symbol"!=typeof a)if(gq(t)){r=Object.freeze(r.concat(t))
;for(let e=0;e<t.items.length;++e){const a=await _q(e,t.items[e],n,r)
;if("number"==typeof a)e=a-1;else{if(a===yq)return yq
;a===wq&&(t.items.splice(e,1),e-=1)}}}else if(hq(t)){
r=Object.freeze(r.concat(t));const e=await _q("key",t.key,n,r)
;if(e===yq)return yq;e===wq&&(t.key=null);const a=await _q("value",t.value,n,r)
;if(a===yq)return yq;a===wq&&(t.value=null)}return a}function Aq(e){
return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({
Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,
Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection
},e):e}function Tq(e,t,n,r){
return"function"==typeof n?n(e,t,r):pq(t)?n.Map?.(e,t,r):mq(t)?n.Seq?.(e,t,r):hq(t)?n.Pair?.(e,t,r):fq(t)?n.Scalar?.(e,t,r):uq(t)?n.Alias?.(e,t,r):void 0
}function Eq(e,t,n){const r=t[t.length-1]
;if(gq(r))r.items[e]=n;else if(hq(r))"key"===e?r.key=n:r.value=n;else{
if(!dq(r)){const e=uq(r)?"alias":"scalar"
;throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}
xq.BREAK=yq,xq.SKIP=Oq,xq.REMOVE=wq,Sq.BREAK=yq,Sq.SKIP=Oq,Sq.REMOVE=wq
;const Cq={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}
;class $q{constructor(e,t){
this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},$q.defaultYaml,e),
this.tags=Object.assign({},$q.defaultTags,t)}clone(){
const e=new $q(this.yaml,this.tags);return e.docStart=this.docStart,e}
atDocument(){const e=new $q(this.yaml,this.tags);switch(this.yaml.version){
case"1.1":this.atNextDocument=!0;break;case"1.2":
this.atNextDocument=!1,this.yaml={explicit:$q.defaultYaml.explicit,version:"1.2"
},this.tags=Object.assign({},$q.defaultTags)}return e}add(e,t){
this.atNextDocument&&(this.yaml={explicit:$q.defaultYaml.explicit,version:"1.1"
},this.tags=Object.assign({},$q.defaultTags),this.atNextDocument=!1)
;const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{
if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),
n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{
if(this.yaml.explicit=!0,
1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1
;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0
;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:
return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!"
;if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){
const 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)}
const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`)
;const a=this.tags[n];if(a)try{return a+decodeURIComponent(r)}catch(o){
return t(String(o)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)
}tagString(e){
for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>Cq[e]))
;return"!"===e[0]?e:`!<${e}>`}toString(e){
const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags)
;let r;if(e&&n.length>0&&vq(e.contents)){const t={};xq(e.contents,((e,n)=>{
vq(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[]
;for(const[a,o]of n)"!!"===a&&"tag:yaml.org,2002:"===o||e&&!r.some((e=>e.startsWith(o)))||t.push(`%TAG ${a} ${o}`)
;return t.join("\n")}}function Pq(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){
const t=JSON.stringify(e)
;throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)
}return!0}function Iq(e){const t=new Set;return xq(e,{Value(e,n){
n.anchor&&t.add(n.anchor)}}),t}function Dq(e,t){for(let n=1;;++n){
const r=`${e}${n}`;if(!t.has(r))return r}}function Mq(e,t,n,r){
if(r&&"object"==typeof r)if(Array.isArray(r))for(let a=0,o=r.length;a<o;++a){
const t=r[a],n=Mq(e,r,String(a),t);void 0===n?delete r[a]:n!==t&&(r[a]=n)
}else if(r instanceof Map)for(const a of Array.from(r.keys())){
const t=r.get(a),n=Mq(e,r,a,t);void 0===n?r.delete(a):n!==t&&r.set(a,n)
}else if(r instanceof Set)for(const a of Array.from(r)){const t=Mq(e,r,a,a)
;void 0===t?r.delete(a):t!==a&&(r.delete(a),r.add(t))
}else for(const[a,o]of Object.entries(r)){const t=Mq(e,r,a,o)
;void 0===t?delete r[a]:t!==o&&(r[a]=t)}return e.call(t,n,r)}function Nq(e,t,n){
if(Array.isArray(e))return e.map(((e,t)=>Nq(e,String(t),n)))
;if(e&&"function"==typeof e.toJSON){if(!n||!bq(e))return e.toJSON(t,n);const r={
aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{
r.res=e,delete n.onCreate};const a=e.toJSON(t,n)
;return n.onCreate&&n.onCreate(a),a}
return"bigint"!=typeof e||n?.keep?e:Number(e)}$q.defaultYaml={explicit:!1,
version:"1.2"},$q.defaultTags={"!!":"tag:yaml.org,2002:"};class Rq{
constructor(e){Object.defineProperty(this,cq,{value:e})}clone(){
const 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:a}={}){
if(!dq(e))throw new TypeError("A document argument is required");const o={
anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,
maxAliasCount:"number"==typeof n?n:100},i=Nq(this,"",o)
;if("function"==typeof r)for(const{count:s,res:l}of o.anchors.values())r(l,s)
;return"function"==typeof a?Mq(a,{"":i},"",i):i}}let Lq=class extends Rq{
constructor(e){super(rq),this.source=e,Object.defineProperty(this,"tag",{set(){
throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){let n,r
;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],xq(e,{Node:(e,t)=>{
(uq(t)||bq(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));for(const a of n){
if(a===this)break;a.anchor===this.source&&(r=a)}return r}toJSON(e,t){
if(!t)return{source:this.source}
;const{anchors:n,doc:r,maxAliasCount:a}=t,o=this.resolve(r,t);if(!o){
const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`
;throw new ReferenceError(e)}let i=n.get(o)
;if(i||(Nq(o,null,t),i=n.get(o)),!i||void 0===i.res){
throw new ReferenceError("This should not happen: Alias anchor was not resolved?")
}
if(a>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=Bq(r,o,n)),i.count*i.aliasCount>a)){
throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")
}return i.res}toString(e,t,n){const r=`*${this.source}`;if(e){
if(Pq(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){
const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`
;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}
;function Bq(e,t,n){if(uq(t)){const r=t.resolve(e),a=n&&r&&n.get(r)
;return a?a.count*a.aliasCount:0}if(gq(t)){let r=0;for(const a of t.items){
const t=Bq(e,a,n);t>r&&(r=t)}return r}if(hq(t)){
const r=Bq(e,t.key,n),a=Bq(e,t.value,n);return Math.max(r,a)}return 1}
const jq=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Uq extends Rq{
constructor(e){super(sq),this.value=e}toJSON(e,t){
return t?.keep?this.value:Nq(this.value,e,t)}toString(){
return String(this.value)}}
Uq.BLOCK_FOLDED="BLOCK_FOLDED",Uq.BLOCK_LITERAL="BLOCK_LITERAL",
Uq.PLAIN="PLAIN",Uq.QUOTE_DOUBLE="QUOTE_DOUBLE",Uq.QUOTE_SINGLE="QUOTE_SINGLE"
;const zq="tag:yaml.org,2002:";function Zq(e,t,n){
if(dq(e)&&(e=e.contents),vq(e))return e;if(hq(e)){
const t=n.schema[oq].createNode?.(n.schema,null,n);return t.items.push(e),t}
(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf())
;const{aliasDuplicateObjects:r,onAnchor:a,onTagObj:o,schema:i,sourceObjects:s}=n
;let l;if(r&&e&&"object"==typeof e){
if(l=s.get(e),l)return l.anchor??(l.anchor=a(e)),new Lq(l.anchor);l={
anchor:null,node:null},s.set(e,l)}t?.startsWith("!!")&&(t=zq+t.slice(2))
;let c=function(e,t,n){if(t){
const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0]
;if(!r)throw new Error(`Tag ${t} not found`);return r}
return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,i.tags);if(!c){
if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){
const t=new Uq(e);return l&&(l.node=t),t}
c=e instanceof Map?i[oq]:Symbol.iterator in Object(e)?i[lq]:i[oq]}
o&&(o(c),delete n.onTagObj)
;const u=c?.createNode?c.createNode(n.schema,e,n):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(n.schema,e,n):new Uq(e)
;return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function Fq(e,t,n){
let r=n;for(let a=t.length-1;a>=0;--a){const e=t[a]
;if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t
}else r=new Map([[e,r]])}return Zq(r,void 0,{aliasDuplicateObjects:!1,
keepUndefined:!1,onAnchor:()=>{
throw new Error("This should not happen, please report a bug.")},schema:e,
sourceObjects:new Map})}
const Hq=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done
;class Qq extends Rq{constructor(e,t){
super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,
enumerable:!1,writable:!0})}clone(e){
const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this))
;return e&&(t.schema=e),
t.items=t.items.map((t=>vq(t)||hq(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),
t}addIn(e,t){if(Hq(e))this.add(t);else{const[n,...r]=e,a=this.get(n,!0)
;if(gq(a))a.addIn(r,t);else{
if(void 0!==a||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,Fq(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e
;if(0===n.length)return this.delete(t);const r=this.get(t,!0)
;if(gq(r))return r.deleteIn(n)
;throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}
getIn(e,t){const[n,...r]=e,a=this.get(n,!0)
;return 0===r.length?!t&&fq(a)?a.value:a:gq(a)?a.getIn(r,t):void 0}
hasAllNullValues(e){return this.items.every((t=>{if(!hq(t))return!1
;const n=t.value
;return null==n||e&&fq(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag
}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t)
;const r=this.get(t,!0);return!!gq(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e
;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0)
;if(gq(e))e.setIn(r,t);else{
if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,Fq(this.schema,r,t))}}}}const Vq=e=>e.replace(/^(?!$)(?: $)?/gm,"#")
;function qq(e,t){
return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}
const Wq=(e,t,n)=>e.endsWith("\n")?qq(n,t):n.includes("\n")?"\n"+qq(n,t):(e.endsWith(" ")?"":" ")+n,Xq="flow",Gq="block",Yq="quoted"
;function Kq(e,t,n="flow",{indentAtStart:r,lineWidth:a=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){
if(!a||a<0)return e;a<o&&(o=0);const l=Math.max(1+o,1+a-t.length)
;if(e.length<=l)return e;const c=[],u={};let d,p,h=a-t.length
;"number"==typeof r&&(r>a-Math.max(2,o)?c.push(0):h=a-r);let f=!1,m=-1,g=-1,v=-1
;n===Gq&&(m=Jq(e,m,t.length),-1!==m&&(h=m+l));for(let y;y=e[m+=1];){
if(n===Yq&&"\\"===y){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break
;case"U":m+=9;break;default:m+=1}v=m}
if("\n"===y)n===Gq&&(m=Jq(e,m,t.length)),h=m+t.length+l,d=void 0;else{
if(" "===y&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1]
;t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=m)}
if(m>=h)if(d)c.push(d),h=d+l,d=void 0;else if(n===Yq){
for(;" "===p||"\t"===p;)p=y,y=e[m+=1],f=!0;const t=m>v+1?m-2:g-1
;if(u[t])return e;c.push(t),u[t]=!0,h=t+l,d=void 0}else f=!0}p=y}
if(f&&s&&s(),0===c.length)return e;i&&i();let b=e.slice(0,c[0])
;for(let y=0;y<c.length;++y){const r=c[y],a=c[y+1]||e.length
;0===r?b=`\n${t}${e.slice(0,a)}`:(n===Yq&&u[r]&&(b+=`${e[r]}\\`),
b+=`\n${t}${e.slice(r+1,a)}`)}return b}function Jq(e,t,n){let r=t,a=t+1,o=e[a]
;for(;" "===o||"\t"===o;)if(t<a+n)o=e[++t];else{do{o=e[++t]}while(o&&"\n"!==o)
;r=t,a=t+1,o=e[a]}return r}const eW=(e,t)=>({
indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,
minContentWidth:e.options.minContentWidth}),tW=e=>/^(%|---|\.\.\.)/m.test(e)
;function nW(e,t){const n=JSON.stringify(e)
;if(t.options.doubleQuotedAsJSON)return n
;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(tW(e)?" ":"")
;let i="",s=0
;for(let l=0,c=n[l];c;c=n[++l])if(" "===c&&"\\"===n[l+1]&&"n"===n[l+2]&&(i+=n.slice(s,l)+"\\ ",
l+=1,s=l,c="\\"),"\\"===c)switch(n[l+1]){case"u":{i+=n.slice(s,l)
;const e=n.substr(l+2,4);switch(e){case"0000":i+="\\0";break;case"0007":i+="\\a"
;break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N"
;break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P"
;break;default:"00"===e.substr(0,2)?i+="\\x"+e.substr(2):i+=n.substr(l,6)}
l+=5,s=l+1}break;case"n":if(r||'"'===n[l+2]||n.length<a)l+=1;else{
for(i+=n.slice(s,l)+"\n\n";"\\"===n[l+2]&&"n"===n[l+3]&&'"'!==n[l+4];)i+="\n",
l+=2;i+=o," "===n[l+2]&&(i+="\\"),l+=1,s=l+1}break;default:l+=1}
return i=s?i+n.slice(s):n,r?i:Kq(i,o,Yq,eW(t,!1))}function rW(e,t){
if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return nW(e,t)
;const n=t.indent||(tW(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'"
;return t.implicitKey?r:Kq(r,n,Xq,eW(t,!1))}function aW(e,t){
const{singleQuote:n}=t.options;let r;if(!1===n)r=nW;else{
const t=e.includes('"'),a=e.includes("'");r=t&&!a?rW:a&&!t?nW:n?rW:nW}
return r(e,t)}let oW;try{oW=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{
oW=/\n+(?!\n|$)/g}function iW({comment:e,type:t,value:n},r,a,o){
const{blockQuote:i,commentString:s,lineWidth:l}=r.options
;if(!i||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return aW(n,r)
;const c=r.indent||(r.forceBlockIndent||tW(n)?" ":""),u="literal"===i||"folded"!==i&&t!==Uq.BLOCK_FOLDED&&(t===Uq.BLOCK_LITERAL||!function(e,t,n){
if(!t||t<0)return!1;const r=t-n,a=e.length;if(a<=r)return!1
;for(let o=0,i=0;o<a;++o)if("\n"===e[o]){if(o-i>r)return!0
;if(i=o+1,a-i<=r)return!1}return!0}(n,l,c.length));if(!n)return u?"|\n":">\n"
;let d,p;for(p=n.length;p>0;--p){const e=n[p-1]
;if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(p)
;const f=h.indexOf("\n");-1===f?d="-":n===h||f!==h.length-1?(d="+",o&&o()):d="",
h&&(n=n.slice(0,-h.length),
"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(oW,`$&${c}`))
;let m,g=!1,v=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{
if("\n"!==e)break;v=m}}let b=n.substring(0,v<m?v+1:m)
;b&&(n=n.substring(b.length),b=b.replace(/\n+/g,`$&${c}`))
;let y=(g?c?"2":"1":"")+d
;if(e&&(y+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),!u){
const e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)
;let a=!1;const o=eW(r,!0)
;"folded"!==i&&t!==Uq.BLOCK_FOLDED&&(o.onOverflow=()=>{a=!0})
;const s=Kq(`${b}${e}${h}`,c,Gq,o);if(!a)return`>${y}\n${c}${s}`}
return`|${y}\n${c}${b}${n=n.replace(/\n+/g,`$&${c}`)}${h}`}function sW(e,t,n,r){
const{implicitKey:a,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{
value:String(e.value)});let{type:s}=e
;s!==Uq.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=Uq.QUOTE_DOUBLE)
;const l=e=>{switch(e){case Uq.BLOCK_FOLDED:case Uq.BLOCK_LITERAL:
return a||o?aW(i.value,t):iW(i,t,n,r);case Uq.QUOTE_DOUBLE:return nW(i.value,t)
;case Uq.QUOTE_SINGLE:return rW(i.value,t);case Uq.PLAIN:
return function(e,t,n,r){
const{type:a,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t
;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return aW(o,t)
;if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?aW(o,t):iW(e,t,n,r)
;if(!s&&!u&&a!==Uq.PLAIN&&o.includes("\n"))return iW(e,t,n,r);if(tW(o)){
if(""===l)return t.forceBlockIndent=!0,iW(e,t,n,r);if(s&&l===c)return aW(o,t)}
const d=o.replace(/\n+/g,`$&\n${l}`);if(i){
const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:n,tags:r}=t.doc.schema
;if(r.some(e)||n?.some(e))return aW(o,t)}return s?d:Kq(d,l,Xq,eW(t,!1))
}(i,t,n,r);default:return null}};let c=l(s);if(null===c){
const{defaultKeyType:e,defaultStringType:n}=t.options,r=a&&e||n
;if(c=l(r),null===c)throw new Error(`Unsupported default string type ${r}`)}
return c}function lW(e,t){const n=Object.assign({blockQuote:!0,commentString:Vq,
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);let 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:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,
options:n}}function cW(e,t,n,r){if(hq(e))return e.toString(t,n,r);if(uq(e)){
if(t.doc.directives)return e.toString(t)
;if(t.resolvedAliases?.has(e))throw new 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 a;const o=vq(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e})
;a??(a=function(e,t){if(t.tag){const 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(fq(t)){
r=t.value;let a=e.filter((e=>e.identify?.(r)));if(a.length>1){
const e=a.filter((e=>e.test));e.length>0&&(a=e)}
n=a.find((e=>e.format===t.format))??a.find((e=>!e.format))
}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass))
;if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??(null===r?"null":typeof r)} value`)
;return n}(t.doc.schema.tags,o));const i=function(e,t,{anchors:n,doc:r}){
if(!r.directives)return"";const a=[],o=(fq(e)||gq(e))&&e.anchor
;o&&Pq(o)&&(n.add(o),a.push(`&${o}`));const i=e.tag??(t.default?null:t.tag)
;return i&&a.push(r.directives.tagString(i)),a.join(" ")}(o,a,t)
;i.length>0&&(t.indentAtStart=(t.indentAtStart??0)+i.length+1)
;const s="function"==typeof a.stringify?a.stringify(o,t,n,r):fq(o)?sW(o,t,n,r):o.toString(t,n,r)
;return i?fq(o)||"{"===s[0]||"["===s[0]?`${i} ${s}`:`${i}\n${t.indent}${s}`:s}
function uW(e,t){"debug"!==e&&"warn"!==e||console.warn(t)}const dW="<<",pW={
identify:e=>e===dW||"symbol"==typeof e&&e.description===dW,default:"key",
tag:"tag:yaml.org,2002:merge",test:/^<<$/,
resolve:()=>Object.assign(new Uq(Symbol(dW)),{addToJSMap:hW}),stringify:()=>dW}
;function hW(e,t,n){
if(n=e&&uq(n)?n.resolve(e.doc):n,mq(n))for(const r of n.items)fW(e,t,r);else if(Array.isArray(n))for(const r of n)fW(e,t,r);else fW(e,t,n)
}function fW(e,t,n){const r=e&&uq(n)?n.resolve(e.doc):n
;if(!pq(r))throw new Error("Merge sources must be maps or map aliases")
;const a=r.toJSON(null,e,Map)
;for(const[o,i]of a)t instanceof Map?t.has(o)||t.set(o,i):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{
value:i,writable:!0,enumerable:!0,configurable:!0});return t}
function mW(e,t,{key:n,value:r}){
if(vq(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(((e,t)=>(pW.identify(t)||fq(t)&&(!t.type||t.type===Uq.PLAIN)&&pW.identify(t.value))&&e?.doc.schema.tags.some((e=>e.tag===pW.tag&&e.default)))(e,n))hW(e,t,r);else{
const a=Nq(n,"",e)
;if(t instanceof Map)t.set(a,Nq(r,a,e));else if(t instanceof Set)t.add(a);else{
const o=function(e,t,n){if(null===t)return""
;if("object"!=typeof t)return String(t);if(vq(e)&&n?.doc){const t=lW(n.doc,{})
;t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor)
;t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){
let e=JSON.stringify(r)
;e.length>40&&(e=e.substring(0,36)+'..."'),uW(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)}(n,a,e),i=Nq(r,o,e)
;o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,
configurable:!0}):t[o]=i}}return t}function gW(e,t,n){
const r=Zq(e,void 0,n),a=Zq(t,void 0,n);return new vW(r,a)}class vW{
constructor(e,t=null){Object.defineProperty(this,cq,{value:iq
}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this
;return vq(t)&&(t=t.clone(e)),vq(n)&&(n=n.clone(e)),new vW(t,n)}toJSON(e,t){
return mW(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){
return e?.doc?function({key:e,value:t},n,r,a){
const{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n
;let p=vq(e)&&e.comment||null;if(d){
if(p)throw new Error("With simple keys, key nodes cannot have comments")
;if(gq(e)||!vq(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")
}
let h=!d&&(!e||p&&null==t&&!n.inFlow||gq(e)||(fq(e)?e.type===Uq.BLOCK_FOLDED||e.type===Uq.BLOCK_LITERAL:"object"==typeof e))
;n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(d||!o),indent:s+l})
;let f,m,g,v=!1,b=!1,y=cW(e,n,(()=>v=!0),(()=>b=!0))
;if(!h&&!n.inFlow&&y.length>1024){
if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters")
;h=!0}if(n.inFlow){if(o||null==t)return v&&r&&r(),""===y?"?":h?`? ${y}`:y
}else if(o&&!d||null==t&&h)return y=`? ${y}`,
p&&!v?y+=Wq(y,n.indent,c(p)):b&&a&&a(),y
;v&&(p=null),h?(p&&(y+=Wq(y,n.indent,c(p))),
y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=Wq(y,n.indent,c(p)))),
vq(t)?(f=!!t.spaceBefore,
m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),
n.implicitKey=!1,
h||p||!fq(t)||(n.indentAtStart=y.length+1),b=!1,u||!(l.length>=2)||n.inFlow||h||!mq(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2))
;let O=!1;const w=cW(t,n,(()=>O=!0),(()=>b=!0));let x=" "
;if(p||f||m)x=f?"\n":"",
m&&(x+=`\n${qq(c(m),n.indent)}`),""!==w||n.inFlow?x+=`\n${n.indent}`:"\n"===x&&(x="\n\n");else if(!h&&gq(t)){
const e=w[0],r=w.indexOf("\n"),a=-1!==r,o=n.inFlow??t.flow??0===t.items.length
;if(a||!o){let t=!1;if(a&&("&"===e||"!"===e)){let n=w.indexOf(" ")
;"&"===e&&-1!==n&&n<r&&"!"===w[n+1]&&(n=w.indexOf(" ",n+1)),
(-1===n||r<n)&&(t=!0)}t||(x=`\n${n.indent}`)}}else""!==w&&"\n"!==w[0]||(x="")
;return y+=x+w,n.inFlow?O&&r&&r():g&&!O?y+=Wq(y,n.indent,c(g)):b&&a&&a(),y
}(this,e,t,n):JSON.stringify(this)}}function bW(e,t,n){
return(t.inFlow??e.flow?OW:yW)(e,t,n)}
function yW({comment:e,items:t},n,{blockItemPrefix:r,flowChars:a,itemIndent:o,onChompKeep:i,onComment:s}){
const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,
type:null});let d=!1;const p=[];for(let f=0;f<t.length;++f){const e=t[f]
;let a=null
;if(vq(e))!d&&e.spaceBefore&&p.push(""),wW(n,p,e.commentBefore,d),e.comment&&(a=e.comment);else if(hq(e)){
const t=vq(e.key)?e.key:null
;t&&(!d&&t.spaceBefore&&p.push(""),wW(n,p,t.commentBefore,d))}d=!1
;let i=cW(e,u,(()=>a=null),(()=>d=!0))
;a&&(i+=Wq(i,o,c(a))),d&&a&&(d=!1),p.push(r+i)}let h
;if(0===p.length)h=a.start+a.end;else{h=p[0];for(let e=1;e<p.length;++e){
const t=p[e];h+=t?`\n${l}${t}`:"\n"}}
return e?(h+="\n"+qq(c(e),l),s&&s()):d&&i&&i(),h}
function OW({items:e},t,{flowChars:n,itemIndent:r}){
const{indent:a,indentStep:o,flowCollectionPadding:i,options:{commentString:s}}=t
;r+=o;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,u=0
;const d=[];for(let f=0;f<e.length;++f){const n=e[f];let a=null
;if(vq(n))n.spaceBefore&&d.push(""),
wW(t,d,n.commentBefore,!1),n.comment&&(a=n.comment);else if(hq(n)){
const e=vq(n.key)?n.key:null
;e&&(e.spaceBefore&&d.push(""),wW(t,d,e.commentBefore,!1),e.comment&&(c=!0))
;const r=vq(n.value)?n.value:null
;r?(r.comment&&(a=r.comment),r.commentBefore&&(c=!0)):null==n.value&&e?.comment&&(a=e.comment)
}a&&(c=!0);let o=cW(n,l,(()=>a=null))
;f<e.length-1&&(o+=","),a&&(o+=Wq(o,r,s(a))),
!c&&(d.length>u||o.includes("\n"))&&(c=!0),d.push(o),u=d.length}
const{start:p,end:h}=n;if(0===d.length)return p+h;if(!c){
const e=d.reduce(((e,t)=>e+t.length+2),2)
;c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p
;for(const t of d)e+=t?`\n${o}${a}${t}`:"\n";return`${e}\n${a}${h}`}
return`${p}${i}${d.join(" ")}${i}${h}`}
function wW({indent:e,options:{commentString:t}},n,r,a){
if(r&&a&&(r=r.replace(/^\n+/,"")),r){const a=qq(t(r),e);n.push(a.trimStart())}}
function xW(e,t){const n=fq(t)?t.value:t;for(const r of e)if(hq(r)){
if(r.key===t||r.key===n)return r;if(fq(r.key)&&r.key.value===n)return r}}
class kW extends Qq{static get tagName(){return"tag:yaml.org,2002:map"}
constructor(e){super(oq,e),this.items=[]}static from(e,t,n){
const{keepUndefined:r,replacer:a}=n,o=new this(e),i=(e,i)=>{
if("function"==typeof a)i=a.call(t,e,i);else if(Array.isArray(a)&&!a.includes(e))return
;(void 0!==i||r)&&o.items.push(gW(e,i,n))}
;if(t instanceof Map)for(const[s,l]of t)i(s,l);else if(t&&"object"==typeof t)for(const s of Object.keys(t))i(s,t[s])
;return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}
add(e,t){let n
;n=hq(e)?e:e&&"object"==typeof e&&"key"in e?new vW(e.key,e.value):new vW(e,e?.value)
;const r=xW(this.items,n.key),a=this.schema?.sortMapEntries;if(r){
if(!t)throw new Error(`Key ${n.key} already set`)
;fq(r.value)&&jq(n.value)?r.value.value=n.value:r.value=n.value}else if(a){
const e=this.items.findIndex((e=>a(n,e)<0))
;-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}
delete(e){const t=xW(this.items,e);if(!t)return!1
;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){
const n=xW(this.items,e),r=n?.value;return(!t&&fq(r)?r.value:r)??void 0}has(e){
return!!xW(this.items,e)}set(e,t){this.add(new vW(e,t),!0)}toJSON(e,t,n){
const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r)
;for(const a of this.items)mW(t,r,a);return r}toString(e,t,n){
if(!e)return JSON.stringify(this)
;for(const r of this.items)if(!hq(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`)
;return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{
allNullValues:!0})),bW(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},
itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const SW={collection:"map",
default:!0,nodeClass:kW,tag:"tag:yaml.org,2002:map",
resolve:(e,t)=>(pq(e)||t("Expected a mapping for this tag"),e),
createNode:(e,t,n)=>kW.from(e,t,n)};class _W extends Qq{static get tagName(){
return"tag:yaml.org,2002:seq"}constructor(e){super(lq,e),this.items=[]}add(e){
this.items.push(e)}delete(e){const t=AW(e);if("number"!=typeof t)return!1
;return this.items.splice(t,1).length>0}get(e,t){const n=AW(e)
;if("number"!=typeof n)return;const r=this.items[n];return!t&&fq(r)?r.value:r}
has(e){const t=AW(e);return"number"==typeof t&&t<this.items.length}set(e,t){
const n=AW(e)
;if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`)
;const r=this.items[n];fq(r)&&jq(t)?r.value=t:this.items[n]=t}toJSON(e,t){
const n=[];t?.onCreate&&t.onCreate(n);let r=0
;for(const a of this.items)n.push(Nq(a,String(r++),t));return n}toString(e,t,n){
return e?bW(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},
itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}
static from(e,t,n){const{replacer:r}=n,a=new this(e)
;if(t&&Symbol.iterator in Object(t)){let e=0;for(let o of t){
if("function"==typeof r){const n=t instanceof Set?o:String(e++);o=r.call(t,n,o)}
a.items.push(Zq(o,void 0,n))}}return a}}function AW(e){let t=fq(e)?e.value:e
;return t&&"string"==typeof t&&(t=Number(t)),
"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const TW={collection:"seq",
default:!0,nodeClass:_W,tag:"tag:yaml.org,2002:seq",
resolve:(e,t)=>(mq(e)||t("Expected a sequence for this tag"),e),
createNode:(e,t,n)=>_W.from(e,t,n)},EW={identify:e=>"string"==typeof e,
default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,
stringify:(e,t,n,r)=>sW(e,t=Object.assign({actualString:!0},t),n,r)},CW={
identify:e=>null==e,createNode:()=>new Uq(null),default:!0,
tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,
resolve:()=>new Uq(null),
stringify:({source:e},t)=>"string"==typeof e&&CW.test.test(e)?e:t.options.nullStr
},$W={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
resolve:e=>new Uq("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){
if(e&&$W.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}
return t?n.options.trueStr:n.options.falseStr}}
;function PW({format:e,minFractionDigits:t,tag:n,value:r}){
if("bigint"==typeof r)return String(r);const a="number"==typeof r?r:Number(r)
;if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf"
;let o=JSON.stringify(r)
;if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(o)){
let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let n=t-(o.length-e-1)
;for(;n-- >0;)o+="0"}return o}const IW={identify:e=>"number"==typeof e,
default:!0,tag:"tag:yaml.org,2002:float",
test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,
stringify:PW},DW={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",format:"EXP",
test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,
resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value)
;return isFinite(t)?t.toExponential():PW(e)}},MW={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){
const t=new Uq(parseFloat(e)),n=e.indexOf(".")
;return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},
stringify:PW
},NW=e=>"bigint"==typeof e||Number.isInteger(e),RW=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n)
;function LW(e,t,n){const{value:r}=e;return NW(r)&&r>=0?n+r.toString(t):PW(e)}
const BW={identify:e=>NW(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",
format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>RW(e,2,8,n),
stringify:e=>LW(e,8,"0o")},jW={identify:NW,default:!0,
tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>RW(e,0,10,n),
stringify:PW},UW={identify:e=>NW(e)&&e>=0,default:!0,
tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,
resolve:(e,t,n)=>RW(e,2,16,n),stringify:e=>LW(e,16,"0x")
},zW=[SW,TW,EW,CW,$W,BW,jW,UW,IW,DW,MW];function ZW(e){
return"bigint"==typeof e||Number.isInteger(e)}
const FW=({value:e})=>JSON.stringify(e),HW=[SW,TW].concat([{
identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",
resolve:e=>e,stringify:FW},{identify:e=>null==e,createNode:()=>new Uq(null),
default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,
stringify:FW},{identify:e=>"boolean"==typeof e,default:!0,
tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,
stringify:FW},{identify:ZW,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})=>ZW(e)?e.toString():JSON.stringify(e)},{
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
resolve:e=>parseFloat(e),stringify:FW}],{default:!0,tag:"",test:/^/,
resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),QW={
identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",
resolve(e,t){if("function"==typeof atob){
const 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}
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,a,o){if(!n)return"";const i=n;let s
;if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")
;{let e="";for(let t=0;t<i.length;++t)e+=String.fromCharCode(i[t]);s=btoa(e)}
if(t??(t=Uq.BLOCK_LITERAL),t!==Uq.QUOTE_DOUBLE){
const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),a=new Array(n)
;for(let t=0,r=0;t<n;++t,r+=e)a[t]=s.substr(r,e)
;s=a.join(t===Uq.BLOCK_LITERAL?"\n":" ")}return sW({comment:e,type:t,value:s
},r,a,o)}};function VW(e,t){if(mq(e))for(let n=0;n<e.items.length;++n){
let r=e.items[n];if(!hq(r)){if(pq(r)){
r.items.length>1&&t("Each pair must have its own sequence indicator")
;const e=r.items[0]||new vW(new Uq(null))
;if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),
r.comment){const t=e.value??e.key
;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}
e.items[n]=hq(r)?r:new vW(r)}}else t("Expected a sequence for this tag")
;return e}function qW(e,t,n){const{replacer:r}=n,a=new _W(e)
;a.tag="tag:yaml.org,2002:pairs";let o=0
;if(t&&Symbol.iterator in Object(t))for(let i of t){let e,s
;if("function"==typeof r&&(i=r.call(t,String(o++),i)),Array.isArray(i)){
if(2!==i.length)throw new TypeError(`Expected [key, value] tuple: ${i}`);e=i[0],
s=i[1]}else if(i&&i instanceof Object){const t=Object.keys(i)
;if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`)
;e=t[0],s=i[e]}else e=i;a.items.push(gW(e,s,n))}return a}const WW={
collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:VW,
createNode:qW};class XW extends _W{constructor(){
super(),this.add=kW.prototype.add.bind(this),
this.delete=kW.prototype.delete.bind(this),this.get=kW.prototype.get.bind(this),
this.has=kW.prototype.has.bind(this),
this.set=kW.prototype.set.bind(this),this.tag=XW.tag}toJSON(e,t){
if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n)
;for(const r of this.items){let e,a
;if(hq(r)?(e=Nq(r.key,"",t),a=Nq(r.value,e,t)):e=Nq(r,"",t),
n.has(e))throw new Error("Ordered maps must not include duplicate keys")
;n.set(e,a)}return n}static from(e,t,n){const r=qW(e,t,n),a=new this
;return a.items=r.items,a}}XW.tag="tag:yaml.org,2002:omap";const GW={
collection:"seq",identify:e=>e instanceof Map,nodeClass:XW,default:!1,
tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=VW(e,t),r=[]
;for(const{key:a}of n.items)fq(a)&&(r.includes(a.value)?t(`Ordered maps must not include duplicate keys: ${a.value}`):r.push(a.value))
;return Object.assign(new XW,n)},createNode:(e,t,n)=>XW.from(e,t,n)}
;function YW({value:e,source:t},n){
return t&&(e?KW:JW).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}
const KW={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Uq(!0),
stringify:YW},JW={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Uq(!1),
stringify:YW},eX={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",
test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,
stringify:PW},tX={identify:e=>"number"==typeof e,default:!0,
tag:"tag:yaml.org,2002:float",format:"EXP",
test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value)
;return isFinite(t)?t.toExponential():PW(e)}},nX={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){
const t=new Uq(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){
const r=e.substring(n+1).replace(/_/g,"")
;"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:PW
},rX=e=>"bigint"==typeof e||Number.isInteger(e)
;function aX(e,t,n,{intAsBigInt:r}){const a=e[0]
;if("-"!==a&&"+"!==a||(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}`}
const t=BigInt(e);return"-"===a?BigInt(-1)*t:t}const o=parseInt(e,n)
;return"-"===a?-1*o:o}function oX(e,t,n){const{value:r}=e;if(rX(r)){
const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return PW(e)}const iX={
identify:rX,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",
test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>aX(e,2,2,n),stringify:e=>oX(e,2,"0b")
},sX={identify:rX,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",
test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>aX(e,1,8,n),stringify:e=>oX(e,8,"0")
},lX={identify:rX,default:!0,tag:"tag:yaml.org,2002:int",
test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>aX(e,0,10,n),stringify:PW},cX={
identify:rX,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",
test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>aX(e,2,16,n),
stringify:e=>oX(e,16,"0x")};class uX extends kW{constructor(e){
super(e),this.tag=uX.tag}add(e){let t
;t=hq(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new vW(e.key,null):new vW(e,null)
;xW(this.items,t.key)||this.items.push(t)}get(e,t){const n=xW(this.items,e)
;return!t&&hq(n)?fq(n.key)?n.key.value:n.key:n}set(e,t){
if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t)
;const n=xW(this.items,e)
;n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new vW(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 new Error("Set items must all have null values")}
static from(e,t,n){const{replacer:r}=n,a=new this(e)
;if(t&&Symbol.iterator in Object(t))for(let o of t)"function"==typeof r&&(o=r.call(t,o,o)),
a.items.push(gW(o,null,n));return a}}uX.tag="tag:yaml.org,2002:set";const dX={
collection:"map",identify:e=>e instanceof Set,nodeClass:uX,default:!1,
tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>uX.from(e,t,n),resolve(e,t){
if(pq(e)){if(e.hasAllNullValues(!0))return Object.assign(new uX,e)
;t("Set items must all have null values")
}else t("Expected a mapping for this tag");return e}};function pX(e,t){
const n=e[0],r="-"===n||"+"===n?e.substring(1):e,a=e=>t?BigInt(e):Number(e),o=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*a(60)+a(t)),a(0))
;return"-"===n?a(-1)*o:o}function hX(e){let{value:t}=e,n=e=>e
;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return PW(e)
;let r="";t<0&&(r="-",t*=n(-1));const a=n(60),o=[t%a]
;return t<60?o.unshift(0):(t=(t-o[0])/a,
o.unshift(t%a),t>=60&&(t=(t-o[0])/a,o.unshift(t))),
r+o.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}
const fX={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,
tag:"tag:yaml.org,2002:int",format:"TIME",
test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
resolve:(e,t,{intAsBigInt:n})=>pX(e,n),stringify:hX},mX={
identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",
format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
resolve:e=>pX(e,!1),stringify:hX},gX={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){const t=e.match(gX.test)
;if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd")
;const[,n,r,a,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0
;let c=Date.UTC(n,r-1,a,o||0,i||0,s||0,l);const u=t[8];if(u&&"Z"!==u){
let e=pX(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},
stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""
},vX=[SW,TW,EW,CW,KW,JW,iX,sX,lX,cX,eX,tX,nX,QW,pW,GW,WW,dX,fX,mX,gX],bX=new Map([["core",zW],["failsafe",[SW,TW,EW]],["json",HW],["yaml11",vX],["yaml-1.1",vX]]),yX={
binary:QW,bool:$W,float:MW,floatExp:DW,floatNaN:IW,floatTime:mX,int:jW,
intHex:UW,intOct:BW,intTime:fX,map:SW,merge:pW,null:CW,omap:GW,pairs:WW,seq:TW,
set:dX,timestamp:gX},OX={"tag:yaml.org,2002:binary":QW,
"tag:yaml.org,2002:merge":pW,"tag:yaml.org,2002:omap":GW,
"tag:yaml.org,2002:pairs":WW,"tag:yaml.org,2002:set":dX,
"tag:yaml.org,2002:timestamp":gX};function wX(e,t,n){const r=bX.get(t)
;if(r&&!e)return n&&!r.includes(pW)?r.concat(pW):r.slice();let a=r;if(!a){
if(!Array.isArray(e)){
const e=Array.from(bX.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ")
;throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)
}a=[]}
if(Array.isArray(e))for(const o of e)a=a.concat(o);else"function"==typeof e&&(a=e(a.slice()))
;return n&&(a=a.concat(pW)),a.reduce(((e,t)=>{const n="string"==typeof t?yX[t]:t
;if(!n){
const e=JSON.stringify(t),n=Object.keys(yX).map((e=>JSON.stringify(e))).join(", ")
;throw new Error(`Unknown custom tag ${e}; use one of ${n}`)}
return e.includes(n)||e.push(n),e}),[])}
const xX=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let kX=class e{
constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:a,sortMapEntries:o,toStringDefaults:i}){
this.compat=Array.isArray(e)?wX(e,"compat"):e?wX(null,e):null,
this.name="string"==typeof a&&a||"core",
this.knownTags=r?OX:{},this.tags=wX(t,this.name,n),this.toStringOptions=i??null,
Object.defineProperty(this,oq,{value:SW}),Object.defineProperty(this,sq,{
value:EW}),Object.defineProperty(this,lq,{value:TW
}),this.sortMapEntries="function"==typeof o?o:!0===o?xX:null}clone(){
const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this))
;return t.tags=this.tags.slice(),t}};let SX=class e{constructor(e,t,n){
this.commentBefore=null,
this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,cq,{
value:aq});let r=null
;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0)
;const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",
prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n)
;this.options=a;let{version:o}=a
;n?._directives?(this.directives=n._directives.atDocument(),
this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new $q({
version:o
}),this.setSchema(o,n),this.contents=void 0===e?null:this.createNode(e,r,n)}
clone(){const t=Object.create(e.prototype,{[cq]:{value:aq}})
;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=vq(this.contents)?this.contents.clone(t.schema):this.contents,
this.range&&(t.range=this.range.slice()),t}add(e){
_X(this.contents)&&this.contents.add(e)}addIn(e,t){
_X(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){
const n=Iq(this);e.anchor=!t||n.has(t)?Dq(t||"a",n):t}return new Lq(e.anchor)}
createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e
},"",e),r=t;else if(Array.isArray(t)){
const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String)
;n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0)
;const{aliasDuplicateObjects:a,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){
const n=[],r=new Map;let a=null;return{onAnchor:r=>{n.push(r),a??(a=Iq(e))
;const o=Dq(t,a);return a.add(o),o},setAnchors:()=>{for(const e of n){
const t=r.get(e);if("object"!=typeof t||!t.anchor||!fq(t.node)&&!gq(t.node)){
const t=new Error("Failed to resolve repeated object (this should not happen)")
;throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}
}(this,o||"a"),h=Zq(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,
onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p})
;return i&&gq(h)&&(h.flow=!0),d(),h}createPair(e,t,n={}){
const r=this.createNode(e,null,n),a=this.createNode(t,null,n);return new vW(r,a)
}delete(e){return!!_X(this.contents)&&this.contents.delete(e)}deleteIn(e){
return Hq(e)?null!=this.contents&&(this.contents=null,
!0):!!_X(this.contents)&&this.contents.deleteIn(e)}get(e,t){
return gq(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){
return Hq(e)?!t&&fq(this.contents)?this.contents.value:this.contents:gq(this.contents)?this.contents.getIn(e,t):void 0
}has(e){return!!gq(this.contents)&&this.contents.has(e)}hasIn(e){
return Hq(e)?void 0!==this.contents:!!gq(this.contents)&&this.contents.hasIn(e)}
set(e,t){
null==this.contents?this.contents=Fq(this.schema,[e],t):_X(this.contents)&&this.contents.set(e,t)
}setIn(e,t){
Hq(e)?this.contents=t:null==this.contents?this.contents=Fq(this.schema,Array.from(e),t):_X(this.contents)&&this.contents.setIn(e,t)
}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":
this.directives?this.directives.yaml.version="1.1":this.directives=new $q({
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 $q({version:e
}),n={resolveKnownTags:!0,schema:"core"};break;case null:
this.directives&&delete this.directives,n=null;break;default:{
const t=JSON.stringify(e)
;throw new 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)throw new Error("With a null YAML version, the { schema: Schema } option is required")
;this.schema=new kX(Object.assign(n,t))}}
toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:a,reviver:o}={}){
const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,
maxAliasCount:"number"==typeof r?r:100},s=Nq(this.contents,t??"",i)
;if("function"==typeof a)for(const{count:l,res:c}of i.anchors.values())a(c,l)
;return"function"==typeof o?Mq(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({
json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){
if(this.errors.length>0)throw new Error("Document with errors cannot be stringified")
;if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){
const t=JSON.stringify(e.indent)
;throw new Error(`"indent" option must be a positive integer, not ${t}`)}
return function(e,t){const n=[];let r=!0===t.directives
;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e)
;t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---")
;const a=lW(e,t),{commentString:o}=a.options;if(e.commentBefore){
1!==n.length&&n.unshift("");const t=o(e.commentBefore);n.unshift(qq(t,""))}
let i=!1,s=null;if(e.contents){if(vq(e.contents)){
if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){
const t=o(e.contents.commentBefore);n.push(qq(t,""))}
a.forceBlockIndent=!!e.comment,s=e.contents.comment}const t=s?void 0:()=>i=!0
;let l=cW(e.contents,a,(()=>s=null),t)
;s&&(l+=Wq(l,"",o(s))),"|"!==l[0]&&">"!==l[0]||"---"!==n[n.length-1]?n.push(l):n[n.length-1]=`--- ${l}`
}else n.push(cW(e.contents,a));if(e.directives?.docEnd)if(e.comment){
const t=o(e.comment)
;t.includes("\n")?(n.push("..."),n.push(qq(t,""))):n.push(`... ${t}`)
}else n.push("...");else{let t=e.comment
;t&&i&&(t=t.replace(/^\n+/,"")),t&&(i&&!s||""===n[n.length-1]||n.push(""),
n.push(qq(o(t),"")))}return n.join("\n")+"\n"}(this,e)}};function _X(e){
if(gq(e))return!0
;throw new Error("Expected a YAML collection as document contents")}
class AX extends Error{constructor(e,t,n,r){
super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class TX extends AX{
constructor(e,t,n){super("YAMLParseError",e,t,n)}}class EX extends AX{
constructor(e,t,n){super("YAMLWarning",e,t,n)}}const CX=(e,t)=>n=>{
if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)))
;const{line:r,col:a}=n.linePos[0];n.message+=` at line ${r}, column ${a}`
;let o=a-1,i=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"")
;if(o>=60&&i.length>80){const e=Math.min(o-39,i.length-79);i="…"+i.substring(e),
o-=e-1}
if(i.length>80&&(i=i.substring(0,79)+"…"),r>1&&/^ *$/.test(i.substring(0,o))){
let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1])
;n.length>80&&(n=n.substring(0,79)+"…\n"),i=n+i}if(/[^ ]/.test(i)){let e=1
;const t=n.linePos[1]
;t&&t.line===r&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-o)))
;const s=" ".repeat(o)+"^".repeat(e);n.message+=`:\n\n${i}\n${s}\n`}}
;function $X(e,{flow:t,indicator:n,next:r,offset:a,onError:o,parentIndent:i,startOnNewline:s}){
let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=null,g=null,v=null,b=null,y=null,O=null,w=null
;for(const S of e)switch(f&&("space"!==S.type&&"newline"!==S.type&&"comma"!==S.type&&o(S.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
f=!1),
m&&(c&&"comment"!==S.type&&"newline"!==S.type&&o(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
m=null),S.type){case"space":
t||"doc-start"===n&&"flow-collection"===r?.type||!S.source.includes("\t")||(m=S),
u=!0;break;case"comment":{
u||o(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const e=S.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":
c?d?d+=S.source:O&&"seq-item-ind"===n||(l=!0):p+=S.source,
c=!0,h=!0,(g||v)&&(b=S),u=!0;break;case"anchor":
g&&o(S,"MULTIPLE_ANCHORS","A node can have at most one anchor"),
S.source.endsWith(":")&&o(S.offset+S.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),
g=S,w??(w=S.offset),c=!1,u=!1,f=!0;break;case"tag":
v&&o(S,"MULTIPLE_TAGS","A node can have at most one tag"),
v=S,w??(w=S.offset),c=!1,u=!1,f=!0;break;case n:
(g||v)&&o(S,"BAD_PROP_ORDER",`Anchors and tags must be after the ${S.source} indicator`),
O&&o(S,"UNEXPECTED_TOKEN",`Unexpected ${S.source} in ${t??"collection"}`),
O=S,c="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(t){
y&&o(S,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=S,c=!1,u=!1;break}default:
o(S,"UNEXPECTED_TOKEN",`Unexpected ${S.type} token`),c=!1,u=!1}
const x=e[e.length-1],k=x?x.offset+x.source.length:a
;return f&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
m&&(c&&m.indent<=i||"block-map"===r?.type||"block-seq"===r?.type)&&o(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
{comma:y,found:O,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:v,
newlineAfterProp:b,end:k,start:w??k}}function PX(e){if(!e)return null
;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":
case"single-quoted-scalar":if(e.source.includes("\n"))return!0
;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1
;case"flow-collection":for(const t of e.items){
for(const e of t.start)if("newline"===e.type)return!0
;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0
;if(PX(t.key)||PX(t.value))return!0}return!1;default:return!0}}
function IX(e,t,n){if("flow-collection"===t?.type){const r=t.end[0]
;if(r.indent===e&&("]"===r.source||"}"===r.source)&&PX(t)){
n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}
function DX(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1
;const a="function"==typeof r?r:(e,t)=>e===t||fq(e)&&fq(t)&&e.value===t.value
;return t.some((e=>a(e.key,n)))}
const MX="All mapping items must start at the same column";function NX(e,t,n,r){
let a="";if(e){let o=!1,i="";for(const s of e){const{source:e,type:l}=s
;switch(l){case"space":o=!0;break;case"comment":{
n&&!o&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const t=e.substring(1)||" ";a?a+=i+t:a=t,i="";break}case"newline":
a&&(i+=e),o=!0;break;default:
r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{
comment:a,offset:t}}
const RX="Block collections are not allowed within flow collections",LX=e=>e&&("block-map"===e.type||"block-seq"===e.type)
;function BX(e,t,n,r,a,o){
const i="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,a,o){
const i=new(o?.nodeClass??kW)(n.schema);n.atRoot&&(n.atRoot=!1)
;let s=r.offset,l=null;for(const c of r.items){
const{start:o,key:u,sep:d,value:p}=c,h=$X(o,{indicator:"explicit-key-ind",
next:u??d?.[0],offset:s,onError:a,parentIndent:r.indent,startOnNewline:!0
}),f=!h.found;if(f){
if(u&&("block-seq"===u.type?a(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&a(s,"BAD_INDENT",MX)),
!h.anchor&&!h.tag&&!d){
l=h.end,h.comment&&(i.comment?i.comment+="\n"+h.comment:i.comment=h.comment)
;continue}
(h.newlineAfterProp||PX(u))&&a(u??o[o.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")
}else h.found?.indent!==r.indent&&a(s,"BAD_INDENT",MX);n.atKey=!0
;const m=h.end,g=u?e(n,u,h,a):t(n,m,o,null,h,a)
;n.schema.compat&&IX(r.indent,u,a),
n.atKey=!1,DX(n,i.items,g)&&a(m,"DUPLICATE_KEY","Map keys must be unique")
;const v=$X(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:a,
parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type})
;if(s=v.end,v.found){
f&&("block-map"!==p?.type||v.hasNewline||a(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),
n.options.strict&&h.start<v.found.offset-1024&&a(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"))
;const o=p?e(n,p,v,a):t(n,s,d,null,v,a)
;n.schema.compat&&IX(r.indent,p,a),s=o.range[2];const l=new vW(g,o)
;n.options.keepSourceTokens&&(l.srcToken=c),i.items.push(l)}else{
f&&a(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),
v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment)
;const e=new vW(g);n.options.keepSourceTokens&&(e.srcToken=c),i.items.push(e)}}
return l&&l<s&&a(l,"IMPOSSIBLE","Map comment with trailing content"),
i.range=[r.offset,s,l??s],i
}(e,t,n,r,o):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,a,o){
const i=new(o?.nodeClass??_W)(n.schema)
;n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let s=r.offset,l=null
;for(const{start:c,value:u}of r.items){const o=$X(c,{indicator:"seq-item-ind",
next:u,offset:s,onError:a,parentIndent:r.indent,startOnNewline:!0})
;if(!o.found){if(!(o.anchor||o.tag||u)){l=o.end,o.comment&&(i.comment=o.comment)
;continue}
u&&"block-seq"===u.type?a(o.end,"BAD_INDENT","All sequence items must start at the same column"):a(s,"MISSING_CHAR","Sequence item without - indicator")
}const d=u?e(n,u,o,a):t(n,o.end,c,null,o,a)
;n.schema.compat&&IX(r.indent,u,a),s=d.range[2],i.items.push(d)}
return i.range=[r.offset,s,l??s],i
}(e,t,n,r,o):function({composeNode:e,composeEmptyNode:t},n,r,a,o){
const i="{"===r.start.source,s=i?"flow map":"flow sequence",l=new(o?.nodeClass??(i?kW:_W))(n.schema)
;l.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1),n.atKey&&(n.atKey=!1)
;let u=r.offset+r.start.source.length;for(let m=0;m<r.items.length;++m){
const o=r.items[m],{start:c,key:d,sep:p,value:h}=o,f=$X(c,{flow:s,
indicator:"explicit-key-ind",next:d??p?.[0],offset:u,onError:a,
parentIndent:r.indent,startOnNewline:!1});if(!f.found){
if(!(f.anchor||f.tag||p||h)){
0===m&&f.comma?a(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):m<r.items.length-1&&a(f.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),
f.comment&&(l.comment?l.comment+="\n"+f.comment:l.comment=f.comment),u=f.end
;continue}
!i&&n.options.strict&&PX(d)&&a(d,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
}
if(0===m)f.comma&&a(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(f.comma||a(f.start,"MISSING_CHAR",`Missing , between ${s} items`),
f.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":
break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){
let t=l.items[l.items.length-1]
;hq(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,
f.comment=f.comment.substring(e.length+1)}}if(i||p||f.found){n.atKey=!0
;const m=f.end,g=d?e(n,d,f,a):t(n,m,c,null,f,a)
;LX(d)&&a(g.range,"BLOCK_IN_FLOW",RX),n.atKey=!1;const v=$X(p??[],{flow:s,
indicator:"map-value-ind",next:h,offset:g.range[2],onError:a,
parentIndent:r.indent,startOnNewline:!1});if(v.found){
if(!i&&!f.found&&n.options.strict){if(p)for(const e of p){if(e===v.found)break
;if("newline"===e.type){
a(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
;break}}
f.start<v.found.offset-1024&&a(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")
}
}else h&&("source"in h&&h.source&&":"===h.source[0]?a(h,"MISSING_CHAR",`Missing space after : in ${s}`):a(v.start,"MISSING_CHAR",`Missing , or : between ${s} items`))
;const b=h?e(n,h,v,a):v.found?t(n,v.end,p,null,v,a):null
;b?LX(h)&&a(b.range,"BLOCK_IN_FLOW",RX):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment)
;const y=new vW(g,b);if(n.options.keepSourceTokens&&(y.srcToken=o),i){const e=l
;DX(n,e.items,g)&&a(m,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(y)
}else{const e=new kW(n.schema);e.flow=!0,e.items.push(y);const t=(b??g).range
;e.range=[g.range[0],t[1],t[2]],l.items.push(e)}u=b?b.range[2]:v.end}else{
const r=h?e(n,h,f,a):t(n,f.end,p,null,f,a)
;l.items.push(r),u=r.range[2],LX(h)&&a(r.range,"BLOCK_IN_FLOW",RX)}}
const d=i?"}":"]",[p,...h]=r.end;let f=u
;if(p&&p.source===d)f=p.offset+p.source.length;else{
const e=s[0].toUpperCase()+s.substring(1)
;a(u,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`),
p&&1!==p.source.length&&h.unshift(p)}if(h.length>0){
const e=NX(h,f,n.options.strict,a)
;e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),
l.range=[r.offset,f,e.offset]}else l.range=[r.offset,f,f];return l
}(e,t,n,r,o),s=i.constructor
;return"!"===a||a===s.tagName?(i.tag=s.tagName,i):(a&&(i.tag=a),i)}
function jX(e,t,n){const r=t.offset,a=function({offset:e,props:t},n,r){
if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),
null;const{source:a}=t[0],o=a[0];let i=0,s="",l=-1;for(let p=1;p<a.length;++p){
const t=a[p];if(s||"-"!==t&&"+"!==t){const n=Number(t);!i&&n?i=n:-1===l&&(l=e+p)
}else s=t}
-1!==l&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${a}`)
;let c=!1,u="",d=a.length;for(let p=1;p<t.length;++p){const e=t[p]
;switch(e.type){case"space":c=!0;case"newline":d+=e.source.length;break
;case"comment":if(n&&!c){
r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
}d+=e.source.length,u=e.source.substring(1);break;case"error":
r(e,"UNEXPECTED_TOKEN",e.message),d+=e.source.length;break;default:{
r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`)
;const t=e.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:o,indent:i,
chomp:s,comment:u,length:d}}(t,e.options.strict,n);if(!a)return{value:"",
type:null,comment:"",range:[r,r,r]}
;const o=">"===a.mode?Uq.BLOCK_FOLDED:Uq.BLOCK_LITERAL,i=t.source?function(e){
const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),a=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]]
;for(let o=1;o<t.length;o+=2)a.push([t[o],t[o+1]]);return a}(t.source):[]
;let s=i.length;for(let m=i.length-1;m>=0;--m){const e=i[m][1]
;if(""!==e&&"\r"!==e)break;s=m}if(0===s){
const e="+"===a.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):""
;let n=r+a.length;return t.source&&(n+=t.source.length),{value:e,type:o,
comment:a.comment,range:[r,n,n]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0
;for(let m=0;m<s;++m){const[t,r]=i[m];if(""!==r&&"\r"!==r){if(t.length<l){
const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator"
;n(c+t.length,"MISSING_CHAR",e)}
if(0===a.indent&&(l=t.length),u=m,0===l&&!e.atRoot){
n(c,"BAD_INDENT","Block scalar values in collections must be indented")}break}
0===a.indent&&t.length>l&&(l=t.length),c+=t.length+r.length+1}
for(let m=i.length-1;m>=s;--m)i[m][0].length>l&&(s=m+1);let d="",p="",h=!1
;for(let m=0;m<u;++m)d+=i[m][0].slice(l)+"\n";for(let m=u;m<s;++m){let[e,t]=i[m]
;c+=e.length+t.length+1;const r="\r"===t[t.length-1]
;if(r&&(t=t.slice(0,-1)),t&&e.length<l){
const o=`Block scalar lines must not be less indented than their ${a.indent?"explicit indentation indicator":"first line"}`
;n(c-t.length-(r?2:1),"BAD_INDENT",o),e=""}
o===Uq.BLOCK_LITERAL?(d+=p+e.slice(l)+t,
p="\n"):e.length>l||"\t"===t[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),
d+=p+e.slice(l)+t,
p="\n",h=!0):""===t?"\n"===p?d+="\n":p="\n":(d+=p+t,p=" ",h=!1)}switch(a.chomp){
case"-":break;case"+":for(let e=s;e<i.length;++e)d+="\n"+i[e][0].slice(l)
;"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}
const f=r+a.length+t.source.length;return{value:d,type:o,comment:a.comment,
range:[r,f,f]}}function UX(e,t,n){const{offset:r,type:a,source:o,end:i}=e
;let s,l;const c=(e,t,a)=>n(r+e,t,a);switch(a){case"scalar":
s=Uq.PLAIN,l=function(e,t){let n="";switch(e[0]){case"\t":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]}`}
n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zX(e)
}(o,c);break;case"single-quoted-scalar":s=Uq.QUOTE_SINGLE,l=function(e,t){
"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote")
;return zX(e.slice(1,-1)).replace(/''/g,"'")}(o,c);break
;case"double-quoted-scalar":s=Uq.QUOTE_DOUBLE,l=function(e,t){let n=""
;for(let r=1;r<e.length-1;++r){const a=e[r]
;if("\r"!==a||"\n"!==e[r+1])if("\n"===a){const{fold:t,offset:a}=ZX(e,r);n+=t,r=a
}else if("\\"===a){let a=e[++r];const o=FX[a]
;if(o)n+=o;else if("\n"===a)for(a=e[r+1];" "===a||"\t"===a;)a=e[1+ ++r];else if("\r"===a&&"\n"===e[r+1])for(a=e[1+ ++r];" "===a||"\t"===a;)a=e[1+ ++r];else if("x"===a||"u"===a||"U"===a){
const o={x:2,u:4,U:8}[a];n+=HX(e,r+1,o,t),r+=o}else{const a=e.substr(r-1,2)
;t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),n+=a}
}else if(" "===a||"\t"===a){const t=r;let o=e[r+1]
;for(;" "===o||"\t"===o;)o=e[1+ ++r]
;"\n"===o||"\r"===o&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):a)}else n+=a}
'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote')
;return n}(o,c);break;default:
return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{
value:"",type:null,comment:"",range:[r,r+o.length,r+o.length]}}
const u=r+o.length,d=NX(i,u,t,n);return{value:l,type:s,comment:d.comment,
range:[r,u,d.offset]}}function zX(e){let t,n;try{
t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),
n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{
t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e)
;if(!r)return e;let a=r[1],o=" ",i=t.lastIndex
;for(n.lastIndex=i;r=n.exec(e);)""===r[1]?"\n"===o?a+=o:o="\n":(a+=o+r[1],
o=" "),i=n.lastIndex;const s=/[ \t]*(.*)/sy
;return s.lastIndex=i,r=s.exec(e),a+o+(r?.[1]??"")}function ZX(e,t){
let n="",r=e[t+1]
;for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),
r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const FX={0:"\0",a:"",b:"\b",
e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029",
" ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function HX(e,t,n,r){
const a=e.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN
;if(isNaN(o)){const a=e.substr(t-2,n+2)
;return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}
return String.fromCodePoint(o)}function QX(e,t,n,r){
const{value:a,type:o,comment:i,range:s}="block-scalar"===t.type?jX(e,t,r):UX(t,e.options.strict,r),l=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null
;let c,u;c=e.options.stringKeys&&e.atKey?e.schema[sq]:l?function(e,t,n,r,a){
if("!"===n)return e[sq];const o=[]
;for(const s of e.tags)if(!s.collection&&s.tag===n){
if(!s.default||!s.test)return s;o.push(s)}
for(const s of o)if(s.test?.test(t))return s;const i=e.knownTags[n]
;if(i&&!i.collection)return e.tags.push(Object.assign({},i,{default:!1,
test:void 0})),i
;return a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),
e[sq]
}(e.schema,a,l,n,r):"scalar"===t.type?function({atKey:e,directives:t,schema:n},r,a,o){
const i=n.tags.find((t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r)))||n[sq]
;if(n.compat){const e=n.compat.find((e=>e.default&&e.test?.test(r)))??n[sq]
;if(i.tag!==e.tag){
o(a,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(i.tag)} or ${t.tagString(e.tag)}`,!0)
}}return i}(e,a,t,r):e.schema[sq];try{
const o=c.resolve(a,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options)
;u=fq(o)?o:new Uq(o)}catch(d){const e=d instanceof Error?d.message:String(d)
;r(n??t,"TAG_RESOLVE_FAILED",e),u=new Uq(a)}
return u.range=s,u.source=a,o&&(u.type=o),
l&&(u.tag=l),c.format&&(u.format=c.format),i&&(u.comment=i),u}
function VX(e,t,n){if(t){n??(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];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}
return e}const qX={composeNode:WX,composeEmptyNode:XX};function WX(e,t,n,r){
const a=e.atKey,{spaceBefore:o,comment:i,anchor:s,tag:l}=n;let c,u=!0
;switch(t.type){case"alias":c=function({options:e},{offset:t,source:n,end:r},a){
const o=new Lq(n.substring(1))
;""===o.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string")
;o.source.endsWith(":")&&a(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0)
;const i=t+n.length,s=NX(r,i,e.strict,a)
;o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment);return o
}(e,t,r),(s||l)&&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":c=QX(e,t,l,r),s&&(c.anchor=s.source.substring(1));break
;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,n,r,a){
const o=r.tag,i=o?t.directives.tagName(o.source,(e=>a(o,"TAG_RESOLVE_FAILED",e))):null
;if("block-seq"===n.type){
const{anchor:e,newlineAfterProp:t}=r,n=e&&o?e.offset>o.offset?e:o:e??o
;n&&(!t||t.offset<n.offset)&&a(n,"MISSING_CHAR","Missing newline after block sequence props")
}
const s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq"
;if(!o||!i||"!"===i||i===kW.tagName&&"map"===s||i===_W.tagName&&"seq"===s)return BX(e,t,n,a,i)
;let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){
const r=t.schema.knownTags[i]
;if(!r||r.collection!==s)return r?a(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${s} collection, but expects ${r.collection??"scalar"}`,!0):a(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),
BX(e,t,n,a,i);t.schema.tags.push(Object.assign({},r,{default:!1})),l=r}
const c=BX(e,t,n,a,i,l),u=l.resolve?.(c,(e=>a(o,"TAG_RESOLVE_FAILED",e)),t.options)??c,d=vq(u)?u:new Uq(u)
;return d.range=c.range,d.tag=i,l?.format&&(d.format=l.format),d
}(qX,e,t,n,r),s&&(c.anchor=s.source.substring(1));break;default:
r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),
c=XX(e,t.offset,void 0,null,n,r),u=!1}
if(s&&""===c.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),
a&&e.options.stringKeys&&(!fq(c)||"string"!=typeof c.value||c.tag&&"tag:yaml.org,2002:str"!==c.tag)){
r(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings")}
return o&&(c.spaceBefore=!0),
i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),
e.options.keepSourceTokens&&u&&(c.srcToken=t),c}
function XX(e,t,n,r,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){
const u=QX(e,{type:"scalar",offset:VX(t,n,r),indent:-1,source:""},s,c)
;return i&&(u.anchor=i.source.substring(1),
""===u.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),
a&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=l),u}function GX(e){
if("number"==typeof e)return[e,e+1]
;if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]]
;const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}
function YX(e){let t="",n=!1,r=!1;for(let a=0;a<e.length;++a){const o=e[a]
;switch(o[0]){case"#":
t+=(""===t?"":r?"\n\n":"\n")+(o.substring(1)||" "),n=!0,r=!1;break;case"%":
"#"!==e[a+1]?.[0]&&(a+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,
afterEmptyLine:r}}class KX{constructor(e={}){this.doc=null,this.atDirectives=!1,
this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{
const a=GX(e)
;r?this.warnings.push(new EX(a,t,n)):this.errors.push(new TX(a,t,n))
},this.directives=new $q({version:e.version||"1.2"}),this.options=e}
decorate(e,t){const{comment:n,afterEmptyLine:r}=YX(this.prelude);if(n){
const a=e.contents
;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!a)e.commentBefore=n;else if(gq(a)&&!a.flow&&a.items.length>0){
let e=a.items[0];hq(e)&&(e=e.key);const t=e.commentBefore
;e.commentBefore=t?`${n}\n${t}`:n}else{const e=a.commentBefore
;a.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:YX(this.prelude).comment,directives:this.directives,
errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){
for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){
case"directive":this.directives.add(e.source,((t,n,r)=>{const a=GX(e)
;a[0]+=t,this.onError(a,"BAD_DIRECTIVE",n,r)
})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{
const t=function(e,t,{offset:n,start:r,value:a,end:o},i){const s=Object.assign({
_directives:t},e),l=new SX(void 0,s),c={atKey:!1,atRoot:!0,
directives:l.directives,options:l.options,schema:l.schema},u=$X(r,{
indicator:"doc-start",next:a??o?.[0],offset:n,onError:i,parentIndent:0,
startOnNewline:!0})
;u.found&&(l.directives.docStart=!0,!a||"block-map"!==a.type&&"block-seq"!==a.type||u.hasNewline||i(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),
l.contents=a?WX(c,a,u,i):XX(c,u.end,r,null,u,i)
;const d=l.contents.range[2],p=NX(o,d,!1,i)
;return p.comment&&(l.comment=p.comment),l.range=[n,d,p.offset],l
}(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":{
const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new TX(GX(e),"UNEXPECTED_TOKEN",t)
;this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}
case"doc-end":{if(!this.doc){
const t="Unexpected doc-end without preceding document"
;this.errors.push(new TX(GX(e),"UNEXPECTED_TOKEN",t));break}
this.doc.directives.docEnd=!0
;const t=NX(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError)
;if(this.decorate(this.doc,!0),t.comment){const 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 TX(GX(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){
const e=Object.assign({_directives:this.directives
},this.options),n=new SX(void 0,e)
;this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),
n.range=[0,t,t],this.decorate(n,!1),yield n}}}function JX(e,t){
if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break
;case"newline":return e.push(n),!0}return!1}function eG(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":{const r=e.props.slice(1)
;let a=t.length
;"block-scalar-header"===e.props[0].type&&(a-=e.props[0].source.length)
;for(const e of r)e.offset+=a;delete e.props,Object.assign(e,{type:n,source:t,
end:r});break}case"block-map":case"block-seq":{const r={type:"newline",
offset:e.offset+t.length,indent:e.indent,source:"\n"}
;delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{
const r="indent"in e?e.indent:-1,a="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[]
;for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t]
;Object.assign(e,{type:n,indent:r,source:t,end:a})}}}function tG(e){
switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=tG(n)
;return t+e.source}case"block-map":case"block-seq":{let t=""
;for(const n of e.items)t+=nG(n);return t}case"flow-collection":{
let t=e.start.source;for(const n of e.items)t+=nG(n)
;for(const n of e.end)t+=n.source;return t}case"document":{let t=nG(e)
;if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source
;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}
function nG({start:e,key:t,sep:n,value:r}){let a="";for(const o of e)a+=o.source
;if(t&&(a+=tG(t)),n)for(const o of n)a+=o.source;return r&&(a+=tG(r)),a}
const rG=Symbol("break visit"),aG=Symbol("skip children"),oG=Symbol("remove item")
;function iG(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,
value:e.value}),sG(Object.freeze([]),e,t)}function sG(e,t,n){let r=n(t,e)
;if("symbol"==typeof r)return r;for(const a of["key","value"]){const o=t[a]
;if(o&&"items"in o){for(let t=0;t<o.items.length;++t){
const r=sG(Object.freeze(e.concat([[a,t]])),o.items[t],n)
;if("number"==typeof r)t=r-1;else{if(r===rG)return rG
;r===oG&&(o.items.splice(t,1),t-=1)}}"function"==typeof r&&"key"===a&&(r=r(t,e))
}}return"function"==typeof r?r(t,e):r}
iG.BREAK=rG,iG.SKIP=aG,iG.REMOVE=oG,iG.itemAtPath=(e,t)=>{let n=e
;for(const[r,a]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[a]}
return n},iG.parentCollection=(e,t)=>{
const n=iG.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n?.[r]
;if(a&&"items"in a)return a;throw new Error("Parent collection not found")}
;const lG="\ufeff",cG="",uG="",dG="";function pG(e){switch(e){case lG:
return"byte-order-mark";case cG:return"doc-mode";case uG:return"flow-error-end"
;case dG:return"scalar";case"---":return"doc-start";case"...":return"doc-end"
;case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind"
;case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":
return"flow-map-start";case"}":return"flow-map-end";case"[":
return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}
switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":
return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":
return"tag";case"'":return"single-quoted-scalar";case'"':
return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}
return null}const hG=Object.freeze(Object.defineProperty({__proto__:null,BOM:lG,
DOCUMENT:cG,FLOW_END:uG,SCALAR:dG,createScalarToken:function(e,t){
const{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:o=-1,type:i="PLAIN"}=t,s=sW({
type:i,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:a,options:{
blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,
source:"\n"}];switch(s[0]){case"|":case">":{
const e=s.indexOf("\n"),t=s.substring(0,e),n=s.substring(e+1)+"\n",a=[{
type:"block-scalar-header",offset:o,indent:r,source:t}];return JX(a,l)||a.push({
type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:o,
indent:r,props:a,source:n}}case'"':return{type:"double-quoted-scalar",offset:o,
indent:r,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:o,
indent:r,source:s,end:l};default:return{type:"scalar",offset:o,indent:r,
source:s,end:l}}},isCollection:e=>!!e&&"items"in e,
isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),
prettyToken:function(e){switch(e){case lG:return"<BOM>";case cG:return"<DOC>"
;case uG:return"<FLOW_END>";case dG:return"<SCALAR>";default:
return JSON.stringify(e)}},resolveAsScalar:function(e,t=!0,n){if(e){
const r=(e,t,r)=>{const a="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset
;if(!n)throw new TX([a,a+1],t,r);n(a,t,r)};switch(e.type){case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":return UX(e,t,r)
;case"block-scalar":return jX({options:{strict:t}},e,r)}}return null},
setScalarValue:function(e,t,n={}){
let{afterKey:r=!1,implicitKey:a=!1,inFlow:o=!1,type:i}=n,s="indent"in e?e.indent:null
;if(r&&"number"==typeof s&&(s+=2),!i)switch(e.type){case"single-quoted-scalar":
i="QUOTE_SINGLE";break;case"double-quoted-scalar":i="QUOTE_DOUBLE";break
;case"block-scalar":{const t=e.props[0]
;if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header")
;i=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:i="PLAIN"}
const l=sW({type:i,value:t},{implicitKey:a||null===s,
indent:null!==s&&s>0?" ".repeat(s):"",inFlow:o,options:{blockQuote:!0,
lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,t){
const n=t.indexOf("\n"),r=t.substring(0,n),a=t.substring(n+1)+"\n"
;if("block-scalar"===e.type){const t=e.props[0]
;if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header")
;t.source=r,e.source=a}else{const{offset:t}=e,n="indent"in e?e.indent:-1,o=[{
type:"block-scalar-header",offset:t,indent:n,source:r}]
;JX(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:n,
source:"\n"})
;for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r]
;Object.assign(e,{type:"block-scalar",indent:n,props:o,source:a})}}(e,l);break
;case'"':eG(e,l,"double-quoted-scalar");break;case"'":
eG(e,l,"single-quoted-scalar");break;default:eG(e,l,"scalar")}},
stringify:e=>"type"in e?tG(e):nG(e),tokenType:pG,visit:iG},Symbol.toStringTag,{
value:"Module"}));function fG(e){switch(e){case void 0:case" ":case"\n":
case"\r":case"\t":return!0;default:return!1}}
const mG=new Set("0123456789ABCDEFabcdef"),gG=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),vG=new Set(",[]{}"),bG=new Set(" ,[]{}\n\r\t"),yG=e=>!e||bG.has(e)
;class OG{constructor(){
this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,
this.buffer="",this.flowKey=!1,
this.flowLevel=0,this.indentNext=0,this.indentValue=0,
this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){
if("string"!=typeof e)throw TypeError("source is not a string")
;this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t
;let 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;)t=this.buffer[++e]
;return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){
return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e]
;if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){
const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}
return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){
const t=this.buffer.substr(e,3)
;if(("---"===t||"..."===t)&&fG(this.buffer[e+3]))return-1}return e}getLine(){
let e=this.lineEndPos
;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),
this.lineEndPos=e),
-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),
this.buffer.substring(this.pos,e))}hasChars(e){
return this.pos+e<=this.buffer.length}setNext(e){
return this.buffer=this.buffer.substring(this.pos),
this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){
return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":
return yield*this.parseStream();case"line-start":
return yield*this.parseLineStart();case"block-start":
return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument()
;case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":
return yield*this.parseQuotedScalar();case"block-scalar":
return yield*this.parseBlockScalar();case"plain-scalar":
return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine()
;if(null===e)return this.setNext("stream")
;if(e[0]===lG&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){
let t=e.length,n=e.indexOf("#");for(;-1!==n;){const r=e[n-1]
;if(" "===r||"\t"===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){const n=e[t-1]
;if(" "!==n&&"\t"!==n)break;t-=1}
const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0))
;return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}
if(this.atLineEnd()){const t=yield*this.pushSpaces(!0)
;return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}
return yield cG,yield*this.parseLineStart()}*parseLineStart(){
const 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")
;const e=this.peek(3)
;if(("---"===e||"..."===e)&&fG(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&&!fG(this.charAt(1))&&(this.indentNext=this.indentValue),
yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2)
;if(!t&&!this.atEnd)return this.setNext("block-start")
;if(("-"===e||"?"===e||":"===e)&&fG(t)){
const 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);const e=this.getLine()
;if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators()
;switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:
return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":
return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":
case"]":return yield*this.pushCount(1),"doc";case"*":
return yield*this.pushUntil(yG),"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);const r=this.getLine()
;if(null===r)return this.setNext("flow")
;if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&fG(r[3])){
if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,
yield uG,yield*this.parseLineStart()}let a=0
;for(;","===r[a];)a+=(yield*this.pushCount(1)),
a+=(yield*this.pushSpaces(!0)),this.flowKey=!1
;switch(a+=(yield*this.pushIndicators()),r[a]){case void 0:return"flow";case"#":
return yield*this.pushCount(r.length-a),"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-=1,this.flowLevel?"flow":"doc"
;case"*":return yield*this.pushUntil(yG),"flow";case'"':case"'":
return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{
const e=this.charAt(1)
;if(this.flowKey||fG(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),
yield*this.pushSpaces(!0),"flow"}default:
return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){
const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1)
;if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){
let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break
;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t)
;let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){
const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}
-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){
if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}
return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}
*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1
;let e=this.pos;for(;;){const 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=>fG(e)||"#"===e))}*parseBlockScalar(){
let e,t=this.pos-1,n=0;e:for(let a=this.pos;e=this.buffer[a];++a)switch(e){
case" ":n+=1;break;case"\n":t=a,n=0;break;case"\r":{const e=this.buffer[a+1]
;if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}
default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar")
;if(n>=this.indentNext){
-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext)
;do{const e=this.continueScalar(t+1);if(-1===e)break
;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){
if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}
let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("\t"===e){
for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1
}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e]
;"\r"===r&&(r=this.buffer[--e]);const a=e;for(;" "===r;)r=this.buffer[--e]
;if(!("\n"===r&&e>=this.pos&&e+1+n>a))break;t=e}
return yield dG,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}
*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1
;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1]
;if(fG(t)||e&&vG.has(t))break;n=r}else if(fG(t)){let a=this.buffer[r+1]
;if("\r"===t&&("\n"===a?(r+=1,
t="\n",a=this.buffer[r+1]):n=r),"#"===a||e&&vG.has(a))break;if("\n"===t){
const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{
if(e&&vG.has(t))break;n=r}
return t||this.atEnd?(yield dG,yield*this.pushToIndex(n+1,!0),
e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){
return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}
*pushToIndex(e,t){const 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(yG))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())
;case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1)
;if(fG(t)||e&&vG.has(t))return e?this.flowKey&&(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(;!fG(t)&&">"!==t;)t=this.buffer[++e]
;return yield*this.pushToIndex(">"===t?e+1:e,!1)}{
let e=this.pos+1,t=this.buffer[e];for(;t;)if(gG.has(t))t=this.buffer[++e];else{
if("%"!==t||!mG.has(this.buffer[e+1])||!mG.has(this.buffer[e+2]))break
;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){
const e=this.buffer[this.pos]
;return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0
}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]
}while(" "===t||e&&"\t"===t);const r=n-this.pos
;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){
let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t]
;return yield*this.pushToIndex(t,!1)}}class wG{constructor(){this.lineStarts=[],
this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{
let t=0,n=this.lineStarts.length;for(;t<n;){const 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(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}
function xG(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}
function kG(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 SG(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 _G(e){switch(e.type){case"document":return e.start;case"block-map":{
const 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 AG(e){
if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){
case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":
case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}
function TG(e){
if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||xG(t.start,"explicit-key-ind")||xG(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),
delete t.key,
SG(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)}let EG=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 OG,this.onNewLine=e}
*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0)
;for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}
*next(e){
if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),
void(this.offset+=e.length);const t=pG(e)
;if(t)if("scalar"===t)this.atNewLine=!1,
this.atScalar=!0,this.type="scalar";else{
switch(this.type=t,yield*this.step(),t){case"newline":
this.atNewLine=!0,this.indent=0,
this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":
this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break
;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":
this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":
case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length
}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",
offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){
for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{
type:this.type,offset:this.offset,indent:this.indent,source:this.source}}
*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){
if(!e)return yield*this.stream();switch(e.type){case"document":
return yield*this.document(e);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":
return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e)
;case"block-map":return yield*this.blockMap(e);case"block-seq":
return yield*this.blockSequence(e);case"flow-collection":
return yield*this.flowCollection(e);case"doc-end":
return yield*this.documentEnd(e)}yield*this.pop()}else{
for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",
offset:this.offset,source:this.source})}}peek(e){
return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop()
;if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1)
;switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),
"flow-collection"===t.type&&TG(t),e.type){case"document":e.value=t;break
;case"block-scalar":e.props.push(t);break;case"block-map":{
const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],
key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,
sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{
const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t
}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1]
;return void(!n||n.value?e.items.push({start:[],key:t,sep:[]
}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:
yield*this.pop(),yield*this.pop(t)}
if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){
const n=t.items[t.items.length-1]
;n&&!n.sep&&!n.value&&n.start.length>0&&-1===kG(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({
start:n.start}),t.items.splice(-1,1))}}else{
const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,
source:"",message:e}}}*stream(){switch(this.type){case"directive-line":
return void(yield{type:"directive",offset:this.offset,source:this.source})
;case"byte-order-mark":case"space":case"comment":case"newline":
return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={
type:"document",offset:this.offset,start:[]}
;return"doc-start"===this.type&&e.start.push(this.sourceToken),
void this.stack.push(e)}}yield{type:"error",offset:this.offset,
message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}
*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){
case"doc-start":
return void(-1!==kG(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken))
;case"anchor":case"tag":case"space":case"comment":case"newline":
return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e)
;t?this.stack.push(t):yield{type:"error",offset:this.offset,
message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
*scalar(e){if("map-value-ind"===this.type){const t=AG(_G(this.peek(2)));let n
;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken]
;const 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":return void e.props.push(this.sourceToken)
;case"scalar":
if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){
let e=this.source.indexOf("\n")+1
;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}
yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){
const t=e.items[e.items.length-1];switch(this.type){case"newline":
if(this.onKeyLine=!1,t.value){
const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0
;"comment"===r?.type?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)){
const n=e.items[e.items.length-2],r=n?.value?.end
;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),
r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}
return}if(this.indent>=e.indent){
const n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type
;let a=[];if(r&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){
const a=t.sep[r];switch(a.type){case"newline":n.push(r);break;case"space":break
;case"comment":a.indent>e.indent&&(n.length=0);break;default:n.length=0}}
n.length>=2&&(a=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":
return void(r||t.value?(a.push(this.sourceToken),e.items.push({start:a
}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken))
;case"explicit-key-ind":
return t.sep||t.explicitKey?r||t.value?(a.push(this.sourceToken),e.items.push({
start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,
indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]
}):(t.start.push(this.sourceToken),t.explicitKey=!0),void(this.onKeyLine=!0)
;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({
start:[],key:null,sep:[this.sourceToken]
});else if(xG(t.sep,"map-value-ind"))this.stack.push({type:"block-map",
offset:this.offset,indent:this.indent,items:[{start:a,key:null,
sep:[this.sourceToken]}]});else if(SG(t.key)&&!xG(t.sep,"newline")){
const e=AG(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 a.length>0?t.sep=t.sep.concat(a,this.sourceToken):t.sep.push(this.sourceToken);else if(xG(t.start,"newline"))Object.assign(t,{
key:null,sep:[this.sourceToken]});else{const e=AG(t.start);this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,
sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:a,key:null,
sep:[this.sourceToken]}):xG(t.sep,"map-value-ind")?this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],
key:null,sep:[this.sourceToken]}]
}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]
});return void(this.onKeyLine=!0);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":{
const n=this.flowScalar(this.type);return void(r||t.value?(e.items.push({
start:a,key:n,sep:[]
}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),
this.onKeyLine=!0))}default:{const r=this.startBlockValue(e);if(r){
if("block-seq"===r.type){
if(!t.explicitKey&&t.sep&&!xG(t.sep,"newline"))return void(yield*this.pop({
type:"error",offset:this.offset,
message:"Unexpected block-seq-ind on same line with key",source:this.source}))
}else n&&e.items.push({start:a});return void this.stack.push(r)}}}}
yield*this.pop(),yield*this.step()}*blockSequence(e){
const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){
const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0
;"comment"===r?.type?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)){
const n=e.items[e.items.length-2],r=n?.value?.end
;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),
r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}
return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break
;return void t.start.push(this.sourceToken);case"seq-item-ind":
if(this.indent!==e.indent)break
;return void(t.value||xG(t.start,"seq-item-ind")?e.items.push({
start:[this.sourceToken]}):t.start.push(this.sourceToken))}
if(this.indent>e.indent){const t=this.startBlockValue(e)
;if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}
*flowCollection(e){const t=e.items[e.items.length-1]
;if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)
}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){
switch(this.type){case"comma":case"explicit-key-ind":
return void(!t||t.sep?e.items.push({start:[this.sourceToken]
}):t.start.push(this.sourceToken));case"map-value-ind":
return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]
}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,
sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":
case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]
}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken))
;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":
{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({
start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]
}))}case"flow-map-end":case"flow-seq-end":
return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e)
;n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{
const t=this.peek(2)
;if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),
yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){
const n=AG(_G(t));TG(e);const r=e.end.splice(1,e.end.length)
;r.push(this.sourceToken);const a={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]=a}else yield*this.lineEnd(e)}
}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1
;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}
return{type:e,offset:this.offset,indent:this.indent,source:this.source}}
startBlockValue(e){switch(this.type){case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":
return this.flowScalar(this.type);case"block-scalar-header":return{
type:"block-scalar",offset:this.offset,indent:this.indent,
props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":
return{type:"flow-collection",offset:this.offset,indent:this.indent,
start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{
type:"block-seq",offset:this.offset,indent:this.indent,items:[{
start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0
;const t=AG(_G(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;const t=AG(_G(e));return{
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,
sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){
return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))
}*documentEnd(e){
"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],
"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){
case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":
case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":
this.onKeyLine=!1;default:
e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],
"newline"===this.type&&(yield*this.pop())}}};function CG(e){
const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new wG||null,
prettyErrors:t}}function $G(e,t={}){
const{lineCounter:n,prettyErrors:r}=CG(t),a=new EG(n?.addNewLine),o=new KX(t)
;let i=null;for(const s of o.compose(a.parse(e),!0,e.length))if(i){
if("silent"!==i.options.logLevel){
i.errors.push(new TX(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"))
;break}}else i=s
;return r&&n&&(i.errors.forEach(CX(e,n)),i.warnings.forEach(CX(e,n))),i}
function PG(e,t,n){let r
;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t)
;const a=$G(e,n);if(!a)return null
;if(a.warnings.forEach((e=>uW(a.options.logLevel,e))),a.errors.length>0){
if("silent"!==a.options.logLevel)throw a.errors[0];a.errors=[]}
return a.toJS(Object.assign({reviver:r},n))}function IG(e,t,n){let r=null
;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),
"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n)
;n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){
const{keepUndefined:e}=n??t??{};if(!e)return}
return dq(e)&&!r?e.toString(n):new SX(e,r,n).toString(n)}
const DG=Object.freeze(Object.defineProperty({__proto__:null,Alias:Lq,CST:hG,
Composer:KX,Document:SX,Lexer:OG,LineCounter:wG,Pair:vW,Parser:EG,Scalar:Uq,
Schema:kX,YAMLError:AX,YAMLMap:kW,YAMLParseError:TX,YAMLSeq:_W,YAMLWarning:EX,
isAlias:uq,isCollection:gq,isDocument:dq,isMap:pq,isNode:vq,isPair:hq,
isScalar:fq,isSeq:mq,parse:PG,parseAllDocuments:function(e,t={}){
const{lineCounter:n,prettyErrors:r}=CG(t),a=new EG(n?.addNewLine),o=new KX(t),i=Array.from(o.compose(a.parse(e)))
;if(r&&n)for(const s of i)s.errors.forEach(CX(e,n)),s.warnings.forEach(CX(e,n))
;return i.length>0?i:Object.assign([],{empty:!0},o.streamInfo())},
parseDocument:$G,stringify:IG,visit:xq,visitAsync:Sq},Symbol.toStringTag,{
value:"Module"})),MG={parse:e=>{const t=PG(e,{merge:!0,maxAliasCount:1e4})
;if("object"!=typeof t)throw Error("Invalid YAML object");return t},
parseSafe(e,t){try{return MG.parse(e)}catch(n){return"function"==typeof t?t(n):t
}},stringify:IG},NG={parse:e=>{const t=JSON.parse(e)
;if("object"!=typeof t)throw Error("Invalid JSON object");return t},
parseSafe(e,t){try{return NG.parse(e)}catch(n){return"function"==typeof t?t(n):t
}},stringify:e=>JSON.stringify(e)
},RG=e=>"string"==typeof e&&!!NG.parseSafe(e,!1);function LG(e){if(!e)return e
;const t={...e};return Object.entries(t).forEach((([e,n])=>{const r=function(e){
if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()
}(e);r&&(t[r]=n)})),t}const BG=zc({lang:cl().optional().catch(void 0),
label:cl().optional().catch(void 0),source:cl()}),jG=zc({
"x-codeSamples":BG.array().optional().catch(void 0),
"x-code-samples":BG.array().optional().catch(void 0),
"x-custom-examples":BG.array().optional().catch(void 0)}),UG=zc({
"x-post-response":cl().optional()}),zG=zc({"x-scalar-sdk-installation":zc({
lang:cl(),source:cl().optional().catch(void 0),
description:cl().optional().catch(void 0)}).array().optional().catch(void 0)
}),ZG={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"};zc({
"x-scalar-stability":cu(Object.values(ZG)).optional().catch(void 0)})
;const FG=e=>e.deprecated||e["x-scalar-stability"]===ZG.Deprecated,HG=e=>e.deprecated?ZG.Deprecated:e["x-scalar-stability"],QG=e=>{
switch(HG(e)){case ZG.Deprecated:return"text-red";case ZG.Experimental:
return"text-orange";case ZG.Stable:return"text-green";default:return""}},VG=e=>{
if("string"==typeof e)return RG(e)?JSON.stringify(JSON.parse(e),null,2):e
;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{
return function(e){const t=new Set;return JSON.stringify(e,((e,n)=>{
if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}
return n}),2)}(e)}return e?.toString()??""};let qG=(e=21)=>{
let t="",n=crypto.getRandomValues(new Uint8Array(e|=0))
;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]]
;return t};const WG=cl().min(7).default((()=>qG())),XG=zc({
enum:Bc(cl()).optional(),default:cl().optional(),description:cl().optional()
}).extend({value:cl().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)&&0===e.enum.length&&delete e.enum,!0)));zc({url:cl(),
description:cl().optional(),variables:tu(cl(),XG).optional()}).extend({
uid:WG.brand()});const GG={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"};function YG(e){return!!Wh()&&(Xh(e),!0)}
const KG=new WeakMap,JG=(...e)=>{var t
;const n=e[0],r=null==(t=fy())?void 0:t.proxy
;if(null==r&&!dg())throw new Error("injectLocal must be called in setup")
;return r&&KG.has(r)&&n in KG.get(r)?KG.get(r)[n]:ug(...e)
},eY="undefined"!=typeof window&&"undefined"!=typeof document
;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope)
;const tY=e=>null!=e,nY=Object.prototype.toString,rY=e=>"[object Object]"===nY.call(e),aY=()=>{},oY=iY()
;function iY(){var e,t
;return eY&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))
}function sY(...e){if(1!==e.length)return Pm(...e);const t=e[0]
;return"function"==typeof t?im(Tm((()=>({get:t,set:aY})))):bm(t)}
function lY(e,t){return function(...n){return new Promise(((r,a)=>{
Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n
})).then(r).catch(a)}))}}const cY=e=>e();function uY(e,t={}){let n,r,a=aY
;const o=e=>{clearTimeout(e),a(),a=aY};let i;return s=>{
const l=km(e),c=km(t.maxWait)
;return n&&o(n),l<=0||void 0!==c&&c<=0?(r&&(o(r),r=void 0),
Promise.resolve(s())):new Promise(((e,u)=>{
a=t.rejectOnCancel?u:e,i=s,c&&!r&&(r=setTimeout((()=>{n&&o(n),r=void 0,e(i())
}),c)),n=setTimeout((()=>{r&&o(r),r=void 0,e(s())}),l)}))}}function dY(e){
return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}
function pY(e){return Array.isArray(e)?e:[e]}function hY(e,t=200,n={}){
return lY(uY(t,n),e)}
const fY=eY?window:void 0,mY=eY?window.document:void 0,gY=eY?window.navigator:void 0
;function vY(e){var t;const n=km(e);return null!=(t=null==n?void 0:n.$el)?t:n}
function bY(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},r=Ty((()=>{
const t=pY(km(e[0])).filter((e=>null!=e))
;return t.every((e=>"string"!=typeof e))?t:void 0})),a=(o=()=>{var t,n
;return[null!=(n=null==(t=r.value)?void 0:t.map((e=>vY(e))))?n:[fY].filter((e=>null!=e)),pY(km(r.value?e[1]:e[0])),pY(xm(r.value?e[2]:e[1])),km(r.value?e[3]:e[2])]
},i=([e,r,a,o])=>{
if(n(),!(null==e?void 0:e.length)||!(null==r?void 0:r.length)||!(null==a?void 0:a.length))return
;const i=rY(o)?{...o}:o
;t.push(...e.flatMap((e=>r.flatMap((t=>a.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,i))))))))},s={flush:"post"},mg(o,i,{
...s,immediate:!0}));var o,i,s;return YG(n),()=>{a(),n()}}let yY=!1
;function OY(e,t,n={}){
const{window:r=fY,ignore:a=[],capture:o=!0,detectIframe:i=!1,controls:s=!1}=n
;if(!r)return s?{stop:aY,cancel:aY,trigger:aY}:aY;if(oY&&!yY){yY=!0;const e={
passive:!0}
;Array.from(r.document.body.children).forEach((t=>t.addEventListener("click",aY,e))),
r.document.documentElement.addEventListener("click",aY,e)}let l=!0
;const c=e=>km(a).some((t=>{
if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)))
;{const n=vY(t);return n&&(e.target===n||e.composedPath().includes(n))}}))
;const u=n=>{const r=vY(e);null!=n.target&&(r instanceof Element||!function(e){
const t=km(e);return t&&16===t.$.subTree.shapeFlag}(e)||!function(e,t){
const n=km(e),r=n.$.subTree&&n.$.subTree.children
;return!(null==r||!Array.isArray(r))&&r.some((e=>e.el===t.target||t.composedPath().includes(e.el)))
}(e,n))&&r&&r!==n.target&&!n.composedPath().includes(r)&&("detail"in n&&0===n.detail&&(l=!c(n)),
l?t(n):l=!0)};let d=!1;const p=[bY(r,"click",(e=>{d||(d=!0,setTimeout((()=>{d=!1
}),0),u(e))}),{passive:!0,capture:o}),bY(r,"pointerdown",(t=>{const n=vY(e)
;l=!c(t)&&!(!n||t.composedPath().includes(n))}),{passive:!0
}),i&&bY(r,"blur",(n=>{setTimeout((()=>{var a;const o=vY(e)
;"IFRAME"!==(null==(a=r.document.activeElement)?void 0:a.tagName)||(null==o?void 0:o.contains(r.document.activeElement))||t(n)
}),0)}),{passive:!0})].filter(Boolean),h=()=>p.forEach((e=>e()));return s?{
stop:h,cancel:()=>{l=!1},trigger:e=>{l=!0,u(e),l=!1}}:h}function wY(){
const e=ym(!1),t=fy();return t&&cv((()=>{e.value=!0}),t),e}function xY(e){
const t=wY();return Ty((()=>(t.value,Boolean(e()))))}function kY(e,t,n={}){
const{window:r=fY,document:a=(null==r?void 0:r.document),flush:o="sync"}=n
;if(!r||!a)return aY;let i;const s=e=>{null==i||i(),i=e},l=fg((()=>{
const n=vY(e);if(n){const{stop:e}=function(e,t,n={}){const{window:r=fY,...a}=n
;let o;const i=xY((()=>r&&"MutationObserver"in r)),s=()=>{
o&&(o.disconnect(),o=void 0)},l=mg(Ty((()=>{const t=pY(km(e)).map(vY).filter(tY)
;return new Set(t)})),(e=>{
s(),i.value&&e.size&&(o=new MutationObserver(t),e.forEach((e=>o.observe(e,a))))
}),{immediate:!0,flush:"post"}),c=()=>{l(),s()};return YG(c),{isSupported:i,
stop:c,takeRecords:()=>null==o?void 0:o.takeRecords()}}(a,(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:o}),c=()=>{l(),s()}
;return YG(c),c}function SY(e={}){var t
;const{window:n=fY,deep:r=!0,triggerOnRemoval:a=!1}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,i=ym(),s=()=>{
i.value=(()=>{var e;let t=null==o?void 0:o.activeElement
;if(r)for(;null==t?void 0:t.shadowRoot;)t=null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement
;return t})()};if(n){const e={capture:!0,passive:!0};bY(n,"blur",(e=>{
null===e.relatedTarget&&s()}),e),bY(n,"focus",s,e)}return a&&kY(i,s,{document:o
}),s(),i}const _Y=Symbol("vueuse-ssr-width");function AY(){
const e=dg()?JG(_Y,null):null;return"number"==typeof e?e:void 0}
function TY(e,t={}){
const{window:n=fY,ssrWidth:r=AY()}=t,a=xY((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia)),o=ym("number"==typeof r),i=ym(),s=ym(!1)
;return fg((()=>{if(o.value){o.value=!a.value;const t=km(e).split(",")
;s.value=t.some((e=>{
const t=e.includes("not all"),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/)
;let o=Boolean(n||a);return n&&o&&(o=r>=dY(n[1])),a&&o&&(o=r<=dY(a[1])),t?!o:o
}))}else a.value&&(i.value=n.matchMedia(km(e)),s.value=i.value.matches)
})),bY(i,"change",(e=>{s.value=e.matches}),{passive:!0}),Ty((()=>s.value))}
function EY(e,t={}){
const{controls:n=!1,navigator:r=gY}=t,a=xY((()=>r&&"permissions"in r)),o=ym(),i="string"==typeof e?{
name:e}:e,s=ym(),l=()=>{var e,t
;s.value=null!=(t=null==(e=o.value)?void 0:e.state)?t:"prompt"}
;bY(o,"change",l,{passive:!0});const c=function(e){let t;function n(){
return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n
}((async()=>{if(a.value){if(!o.value)try{o.value=await r.permissions.query(i)
}catch(zw){o.value=void 0}finally{l()}return n?hm(o.value):void 0}}))
;return c(),n?{state:s,isSupported:a,query:c}:s}function CY(e={}){
const{navigator:t=gY,read:n=!1,source:r,copiedDuring:a=1500,legacy:o=!1}=e,i=xY((()=>t&&"clipboard"in t)),s=EY("clipboard-read"),l=EY("clipboard-write"),c=Ty((()=>i.value||o)),u=ym(""),d=ym(!1),p=function(e,t,n={}){
const{immediate:r=!0,immediateCallback:a=!1}=n,o=ym(!1);let i;function s(){
i&&(clearTimeout(i),i=void 0)}function l(){o.value=!1,s()}function c(...n){
a&&e(),s(),o.value=!0,i=setTimeout((()=>{o.value=!1,i=void 0,e(...n)}),km(t))}
return r&&(o.value=!0,eY&&c()),YG(l),{isPending:sm(o),start:c,stop:l}
}((()=>d.value=!1),a,{immediate:!1});function h(e){
return"granted"===e||"prompt"===e}
return c.value&&n&&bY(["copy","cut"],(async function(){
let e=!(i.value&&h(s.value));if(!e)try{u.value=await t.clipboard.readText()
}catch(zw){e=!0}var n,r,a
;e&&(u.value=null!=(a=null==(r=null==(n=null==document?void 0:document.getSelection)?void 0:n.call(document))?void 0:r.toString())?a:"")
}),{passive:!0}),{isSupported:c,text:u,copied:d,copy:async function(e=km(r)){
if(c.value&&null!=e){let n=!(i.value&&h(l.value));if(!n)try{
await t.clipboard.writeText(e)}catch(zw){n=!0}n&&function(e){
const t=document.createElement("textarea")
;t.value=null!=e?e:"",t.style.position="absolute",
t.style.opacity="0",document.body.appendChild(t),
t.select(),document.execCommand("copy"),t.remove()
}(e),u.value=e,d.value=!0,p.start()}}}}function $Y(e=null,t={}){
const{baseUrl:n="",rel:r="icon",document:a=mY}=t,o=sY(e);return mg(o,((e,t)=>{
"string"==typeof e&&e!==t&&(e=>{
const t=null==a?void 0:a.head.querySelectorAll(`link[rel*="${r}"]`)
;if(t&&0!==t.length)null==t||t.forEach((t=>t.href=`${n}${e}`));else{
const t=null==a?void 0:a.createElement("link")
;t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(".").pop()}`,
null==a||a.head.append(t))}})(e)}),{immediate:!0}),o}function PY(e){
return"undefined"!=typeof Window&&e instanceof Window?e.document.documentElement:"undefined"!=typeof Document&&e instanceof Document?e.documentElement:e
}function IY(e){const t=window.getComputedStyle(e)
;if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth<e.scrollWidth||"auto"===t.overflowY&&e.clientHeight<e.scrollHeight)return!0
;{const t=e.parentNode;return!(!t||"BODY"===t.tagName)&&IY(t)}}function DY(e){
const t=e||window.event
;return!IY(t.target)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),
!1))}const MY=new WeakMap;function NY(e,t=!1){const n=ym(t);let r=null,a=""
;mg(sY(e),(e=>{const t=PY(km(e));if(t){const e=t
;if(MY.get(e)||MY.set(e,e.style.overflow),
"hidden"!==e.style.overflow&&(a=e.style.overflow),
"hidden"===e.style.overflow)return n.value=!0
;if(n.value)return e.style.overflow="hidden"}}),{immediate:!0});const o=()=>{
const t=PY(km(e))
;t&&n.value&&(oY&&(null==r||r()),t.style.overflow=a,MY.delete(t),n.value=!1)}
;return YG(o),Ty({get:()=>n.value,set(t){t?(()=>{const t=PY(km(e))
;t&&!n.value&&(oY&&(r=bY(t,"touchmove",(e=>{DY(e)}),{passive:!1
})),t.style.overflow="hidden",n.value=!0)})():o()}})}const RY={
"aria-hidden":"true",
class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"
},LY={key:0,class:"whitespace-nowrap px-1.5"},BY={key:0,role:"alert",
class:"sr-only"},jY={key:1,class:"sr-only"},UY=Hg({inheritAttrs:!1,
__name:"ScalarCopyButton",props:Bv({showLabel:{type:Boolean},placement:{
default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),
emits:["update:copied"],setup(e){
const t=tb(e,"copied"),{cx:n}=h_(),r=Ty((()=>t.value?LA:HA));return(a,o)=>(Fb(),
qb("button",cy({type:"button"
},xm(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")),[ey(Zy,{
mode:"out-in","enter-active-class":"transition-transform",
"enter-from-class":"scale-0","enter-to-class":"scale-100",
"leave-active-class":"transition-transform","leave-from-class":"scale-100",
"leave-to-class":"scale-0"},{default:ig((()=>[(Fb(),Wb(wv(r.value),{
class:"size-full"}))])),_:1}),o[4]||(o[4]=Jb("div",{
class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1)),Jb("div",{
class:Dh(["group/copy-label absolute flex items-center -inset-y-0.5 rounded",{
"left-0 pl-[100%]":"right"===e.placement,
"right-0 pr-[100%]":"left"===e.placement}])},[Jb("div",RY,[ey(Zy,{mode:"out-in",
"enter-active-class":"transition-transform ease-out",
"enter-from-class":"translate-y-1.5","enter-to-class":"translate-y-0",
"leave-active-class":"transition-transform ease-in",
"leave-from-class":"translate-y-0","leave-to-class":"-translate-y-1.5"},{
default:ig((()=>[t.value?(Fb(),
qb("div",LY,[Av(a.$slots,"copied",{},(()=>[o[0]||(o[0]=ry("Copied",-1))]))])):(Fb(),
qb("div",{key:1,class:Dh(["whitespace-nowrap px-1.5",{
"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])
},[Av(a.$slots,"copy",{},(()=>[o[1]||(o[1]=ry("Copy",-1))]))],2))])),_:3
})]),t.value?(Fb(),
qb("div",BY,[Av(a.$slots,"copied",{},(()=>[o[2]||(o[2]=ry("Copied",-1))]))])):(Fb(),
qb("div",jY,[Av(a.$slots,"copy",{},(()=>[o[3]||(o[3]=ry("Copy",-1))]))])),Av(a.$slots,"backdrop",{},(()=>[ey(XP)]))],2)],16))
}}),zY=Hg({__name:"ScalarCopy",props:Bv({content:{default:""},placement:{},
showLabel:{type:Boolean},duration:{default:1500}},{copied:{type:Boolean,
default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){
const t=tb(e,"copied"),{copy:n,copied:r}=CY({legacy:!0,copiedDuring:e.duration})
;return mg(r,(e=>t.value=e)),(a,o)=>(Fb(),Wb(UY,{placement:e.placement,
showLabel:e.showLabel,copied:t.value||xm(r),
onClick:o[0]||(o[0]=t=>xm(n)(e.content))},_v({_:2},[a.$slots.copy?{name:"copy",
fn:ig((()=>[Av(a.$slots,"copy")])),key:"0"}:void 0,a.$slots.copied?{
name:"copied",fn:ig((()=>[Av(a.$slots,"copied")])),key:"1"
}:void 0,a.$slots.backdrop?{name:"backdrop",
fn:ig((()=>[Av(a.$slots,"backdrop")])),key:"2"
}:void 0]),1032,["placement","showLabel","copied"]))}}),ZY={
class:"hidden group-hocus-within/code-block:inline"},FY=Hg({inheritAttrs:!1,
__name:"ScalarCodeBlockCopy",props:Bv({showLang:{type:Boolean},content:{},
lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),
emits:["update:copied"],setup(e){
const t=tb(e,"copied"),n=Ty((()=>"string"==typeof e.content?e.content:JSON.stringify(e.content,null,2))),r=e=>e in GG,{cx:a}=h_()
;return(o,i)=>(Fb(),Wb(xm(zY),cy({content:n.value,showLabel:"",copied:t.value,
"onUpdate:copied":i[0]||(i[0]=e=>t.value=e),placement:"left"},{
...xm(a)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")
}),_v({backdrop:ig((()=>[Av(o.$slots,"backdrop")])),_:2},[e.lang?{name:"copy",
fn:ig((()=>[Jb("span",ZY,[e.showLang?(Fb(),qb("span",{key:0,
class:Dh(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])
},Uh(r(e.lang)?xm(GG)[e.lang]:e.lang),3)):oy("",!0),Jb("span",{class:Dh({
"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])])),
key:"0"}:void 0]),1040,["content","copied"]))}}),HY={tabindex:"0",
class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1"
},QY=["id","innerHTML"],VY=Hg({inheritAttrs:!1,__name:"ScalarCodeBlock",props:{
content:{},prettyPrintedContent:{},lang:{default:"plaintext"},lineNumbers:{
type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],
default:"hover"}},setup(e){
const t=Qg(),n=Ty((()=>e.prettyPrintedContent||VG(e.content??""))),r=Ty((()=>bU(n.value,{
lang:e.lang.trim(),languages:wU,lineNumbers:e.lineNumbers,
maskCredentials:e.hideCredentials
}).slice(5,-6))),a=Ty((()=>!n.value.includes("\n"))),o=Ty((()=>null!==n.value&&"null"!==n.value&&"404 Not Found"!==n.value)),{cx:i}=h_()
;return(s,l)=>(Fb(),
qb("div",Mh(ty(xm(i)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[Jb("div",HY,[Jb("pre",{
id:xm(t),class:"m-0 bg-transparent text-nowrap whitespace-pre w-fit",
innerHTML:r.value},null,8,QY)]),e.copy&&o.value?(Fb(),Wb(xm(FY),{key:0,
class:Dh(["scalar-code-copy absolute",[a.value?"top-[calc(10px+0.5lh)] -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{
"opacity-100":"always"===e.copy}]]),content:n.value,showLang:!a.value,
lang:e.lang,"aria-controls":xm(t)},{backdrop:ig((()=>[ey(XP,{
class:Dh(["scalar-code-copy-backdrop",[a.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"])):oy("",!0)],16))}
}),qY=bm("dark"),WY=cu(["dark","light","system"]).optional().catch(void 0)
;function XY(e={}){const{initialColorMode:t="system",overrideColorMode:n}=e
;function r(e){
qY.value=e,"undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",qY.value)
}function a(){
return"undefined"==typeof window?"light":"function"!=typeof window?.matchMedia||window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light"
}const o=Ty({get:()=>"system"===qY.value?a():qY.value,set:r}),i=Ty({
get:()=>"dark"===o.value,set:e=>r(e?"dark":"light")});function s(e){
if("undefined"==typeof document||"undefined"==typeof window)return
;"dark"===(n??("system"===e?a():e))?(document.body.classList.add("dark-mode"),
document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),
document.body.classList.remove("dark-mode"))}
const l=WY.parse("undefined"!=typeof window?window?.localStorage?.getItem("colorMode"):"system")
;qY.value=n??l??t,mg(qY,s,{immediate:!0})
;const c=()=>"system"===qY.value&&s("system"),u=bm(null);return cv((()=>{
"undefined"!=typeof window&&"function"==typeof window?.matchMedia&&(u.value=window.matchMedia("(prefers-color-scheme: dark)"),
u.value?.addEventListener("change",c))})),hv((()=>{
u.value?.removeEventListener("change",c)})),{colorMode:Ty({get:()=>qY.value,
set:r}),darkLightMode:o,isDarkMode:i,toggleColorMode:function(){
qY.value="dark"===o.value?"light":"dark",
"undefined"!=typeof window&&window?.localStorage?.setItem("colorMode",qY.value)
},setColorMode:r,getSystemModePreference:a}}const GY=Hg({inheritAttrs:!1,
__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{
default:"light"}},setup(e){
const{cx:t}=h_(),n=Ty((()=>"dark"===e.mode?"Set light mode":"Set dark mode"))
;return(r,a)=>(Fb(),Wb(wv(e.is),cy({"aria-label":n.value,
class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0
},xm(t)("size-3 flex items-center justify-center text-c-1")),{
default:ig((()=>[...a[0]||(a[0]=[Jb("span",{class:"toggle-icon-sun-ray"
},null,-1),Jb("span",{class:"toggle-icon-sun-ray"},null,-1),Jb("span",{
class:"toggle-icon-sun-ray"},null,-1),Jb("span",{class:"toggle-icon-sun-ray"
},null,-1),Jb("span",{class:"toggle-icon-ellipse"},[Jb("span",{
class:"toggle-icon-moon-mask"})],-1)])])),_:1
},16,["aria-label","class","type"]))}
}),YY=v_(GY,[["__scopeId","data-v-60be8692"]]),KY=["aria-pressed"],JY=Hg({
inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{
type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){
const{cx:t}=h_(),n=tb(e,"modelValue");return(e,r)=>(Fb(),qb("button",cy({
"aria-pressed":n.value,type:"button"
},xm(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]||(r[0]=e=>n.value=!n.value)}),[r[1]||(r[1]=Jb("div",{
class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"
},null,-1)),Jb("div",{
class:Dh(["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}])},[ey(YY,{is:"div",mode:n.value?"dark":"light"
},null,8,["mode"])],2)],16,KY))}}),eK=Hg({__name:"ScalarColorModeToggle",props:{
variant:{default:"switch"}},setup(e){
const{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=XY(),a=Ty((()=>t.value?"Set light mode":"Set dark mode"))
;return(o,i)=>"switch"===e.variant?(Fb(),Wb(JY,{key:0,modelValue:xm(t),
"onUpdate:modelValue":i[0]||(i[0]=e=>vm(t)?t.value=e:null),"aria-label":a.value
},null,8,["modelValue","aria-label"])):(Fb(),Wb(YY,{key:1,"aria-label":a.value,
mode:xm(r),onClick:xm(n)},null,8,["aria-label","mode","onClick"]))}
}),tK=["aria-selected"],nK=Hg({__name:"ScalarComboboxOption",props:{active:{
type:Boolean},selected:{type:Boolean}},setup(e){const t=d_({
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)=>(Fb(),qb("li",{"aria-selected":e.selected,class:Dh(xm(p_)(xm(t)({
active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"
},[Av(n.$slots,"default",{active:e.active,selected:e.selected})],10,tK))}
}),rK=["id","aria-labelledby","role"],aK=["id"],oK=Hg({
__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>Qg()},hidden:{
type:Boolean,default:!1}},setup:e=>(t,n)=>(Fb(),qb("div",{id:e.id,
"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",
role:e.hidden?void 0:"group"},[e.hidden?oy("",!0):(Fb(),qb("div",{key:0,
id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"
},[Av(t.$slots,"label")],8,aK)),Av(t.$slots,"default")],8,rK))});function iK(e){
return!!e[0]&&function(e){return void 0!==e?.options}(e[0])}const sK=Hg({
__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{
type:Boolean}},setup:e=>(t,n)=>(Fb(),qb("div",{
class:Dh(["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?(Fb(),Wb(xm(LA),{key:0,class:"size-3",weight:"bold"
})):oy("",!0)],2))}),lK={class:"relative flex"
},cK=["aria-activedescendant","placeholder"],uK=["aria-multiselectable"],dK={
class:"inline-block min-w-0 flex-1 truncate text-c-1"},pK=Hg({inheritAttrs:!1,
__name:"ScalarComboboxOptions",props:Bv({options:{},placeholder:{},multiselect:{
type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),
emits:Bv(["add"],["update:modelValue"]),setup(e,{emit:t}){
const n=e,r=t,a=tb(e,"modelValue"),o=Dv(),i=`scalar-combobox-items-${Qg()}`,s={
id:`${Qg()}-add`,label:"Add a new option"};function l(e){return`${i}-${e.id}`}
const c=Ty((()=>iK(n.options)?n.options.flatMap((e=>e.options)):n.options)),u=Ty((()=>iK(n.options)?n.options:[{
label:"",options:n.options}])),d=bm(""),p=bm(a.value?.[0]??c.value[0]);cv((()=>{
d.value="",p.value=a.value?.[0]??c.value[0],a.value[0]&&setTimeout((()=>{
const e=a.value[0];e&&document?.getElementById(l(e))?.scrollIntoView({
block:"nearest"})}),10)})),mg((()=>d.value),(()=>p.value=f.value[0]))
;const h=Ty((()=>""===d.value?c.value:c.value.filter((e=>e.label.toLowerCase().includes(d.value.toLowerCase()))))),f=Ty((()=>o.add?[...h.value,s]:h.value))
;function m(e){if(e){if(e.id===s.id)return void v()
;n.multiselect?a.value.some((t=>t.id===e.id))?a.value=a.value.filter((t=>t.id!==e.id)):a.value=[...a.value,c.value.find((t=>t.id===e.id))]:a.value=[c.value.find((t=>t.id===e.id))]
}}function g(e){const t=f.value,n=t.findIndex((e=>e.id===p.value?.id))+e
;n<0||n>t.length-1||(p.value=t[n],
p.value&&document?.getElementById(l(p.value))?.scrollIntoView({
behavior:"smooth",block:"nearest"}))}function v(){r("add"),d.value=""}
const b=bm(null)
;return cv((()=>setTimeout((()=>b.value?.focus()),0))),(t,n)=>(Fb(),
qb(Lb,null,[Jb("div",lK,[ey(xm(xC),{
class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"
}),sg(Jb("input",{ref_key:"input",ref:b,
"onUpdate:modelValue":n[0]||(n[0]=e=>d.value=e),
"aria-activedescendant":p.value?l(p.value):void 0,"aria-autocomplete":"list",
"aria-controls":i,
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]||(n[1]=FO(zO((e=>g(1)),["prevent"]),["down"])),n[2]||(n[2]=FO(zO((e=>p.value&&m(p.value)),["prevent"]),["enter"])),n[3]||(n[3]=FO(zO((e=>g(-1)),["prevent"]),["up"]))]
},null,40,cK),[[CO,d.value]])]),sg(Jb("ul",{id:i,
"aria-multiselectable":e.multiselect,
class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",
role:"listbox",tabindex:"-1"
},[(Fb(!0),qb(Lb,null,Sv(u.value,((r,o)=>(Fb(),Wb(oK,{id:`${i}-group-${o}`,
key:o,hidden:!r.options.some((e=>h.value.some((t=>t.id===e.id))))||!r.label},{
label:ig((()=>[t.$slots.group?Av(t.$slots,"group",{key:0,group:r}):(Fb(),qb(Lb,{
key:1},[ry(Uh(r.label),1)],64))])),
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(h.value,(o=>(Fb(),qb(Lb,{key:o.id
},[r.options.some((e=>e.id===o.id))?(Fb(),Wb(nK,{key:0,id:l(o),
active:p.value?.id===o.id,selected:a.value.some((e=>e.id===o.id)),
onClick:e=>m(o),onMousedown:n[4]||(n[4]=zO((()=>{}),["prevent"])),
onMouseenter:e=>p.value=o},{
default:ig((({active:n,selected:r})=>[t.$slots.option?Av(t.$slots,"option",{
key:0,active:n,option:o,selected:r}):(Fb(),qb(Lb,{key:1},[ey(xm(sK),{
multiselect:e.multiselect,selected:a.value.some((e=>e.id===o.id))
},null,8,["multiselect","selected"]),Jb("span",dK,Uh(o.label),1)],64))])),_:2
},1032,["id","active","selected","onClick","onMouseenter"])):oy("",!0)],64)))),128))])),
_:2},1032,["id","hidden"])))),128)),o.add?(Fb(),Wb(nK,{key:0,id:l(s),
active:p.value?.id===s.id,onClick:v,
onMousedown:n[5]||(n[5]=zO((()=>{}),["prevent"])),
onMouseenter:n[6]||(n[6]=e=>p.value=s)},{default:ig((({active:e})=>[ey(xm(GC),{
class:"size-4 p-px"}),Av(t.$slots,"add",{active:e})])),_:3
},8,["id","active"])):oy("",!0)],8,uK),[[nO,h.value.length||o.add]])],64))}
}),hK=["top","right","bottom","left"],fK=Math.min,mK=Math.max,gK=Math.round,vK=Math.floor,bK=e=>({
x:e,y:e}),yK={left:"right",right:"left",bottom:"top",top:"bottom"},OK={
start:"end",end:"start"};function wK(e,t,n){return mK(e,fK(t,n))}
function xK(e,t){return"function"==typeof e?e(t):e}function kK(e){
return e.split("-")[0]}function SK(e){return e.split("-")[1]}function _K(e){
return"x"===e?"y":"x"}function AK(e){return"y"===e?"height":"width"}
const TK=new Set(["top","bottom"]);function EK(e){return TK.has(kK(e))?"y":"x"}
function CK(e){return _K(EK(e))}function $K(e){
return e.replace(/start|end/g,(e=>OK[e]))}
const PK=["left","right"],IK=["right","left"],DK=["top","bottom"],MK=["bottom","top"]
;function NK(e,t,n,r){const a=SK(e);let o=function(e,t,n){switch(e){case"top":
case"bottom":return n?t?IK:PK:t?PK:IK;case"left":case"right":return t?DK:MK
;default:return[]}}(kK(e),"start"===n,r)
;return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map($K)))),o}function RK(e){
return e.replace(/left|right|bottom|top/g,(e=>yK[e]))}function LK(e){
return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}
}(e):{top:e,right:e,bottom:e,left:e}}function BK(e){
const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,
right:t+r,bottom:n+a,x:t,y:n}}function jK(e,t,n){let{reference:r,floating:a}=e
;const o=EK(t),i=CK(t),s=AK(i),l=kK(t),c="y"===o,u=r.x+r.width/2-a.width/2,d=r.y+r.height/2-a.height/2,p=r[s]/2-a[s]/2
;let h;switch(l){case"top":h={x:u,y:r.y-a.height};break;case"bottom":h={x:u,
y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={
x:r.x-a.width,y:d};break;default:h={x:r.x,y:r.y}}switch(SK(t)){case"start":
h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1)}return h}
async function UK(e,t){var n;void 0===t&&(t={})
;const{x:r,y:a,platform:o,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=xK(t,e),f=LK(h),m=s[p?"floating"===d?"reference":"floating":d],g=BK(await o.getClippingRect({
element:null==(n=await(null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),
boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:a,
width:i.floating.width,height:i.floating.height
}:i.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{
x:1,y:1
},O=BK(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({
elements:s,rect:v,offsetParent:b,strategy:l}):v);return{
top:(g.top-O.top+f.top)/y.y,bottom:(O.bottom-g.bottom+f.bottom)/y.y,
left:(g.left-O.left+f.left)/y.x,right:(O.right-g.right+f.right)/y.x}}
function zK(e,t){return{top:e.top-t.height,right:e.right-t.width,
bottom:e.bottom-t.height,left:e.left-t.width}}function ZK(e){
return hK.some((t=>e[t]>=0))}const FK=new Set(["left","top"]);function HK(){
return"undefined"!=typeof window}function QK(e){
return WK(e)?(e.nodeName||"").toLowerCase():"#document"}function VK(e){var t
;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}
function qK(e){var t
;return null==(t=(WK(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement
}function WK(e){return!!HK()&&(e instanceof Node||e instanceof VK(e).Node)}
function XK(e){return!!HK()&&(e instanceof Element||e instanceof VK(e).Element)}
function GK(e){
return!!HK()&&(e instanceof HTMLElement||e instanceof VK(e).HTMLElement)}
function YK(e){
return!(!HK()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof VK(e).ShadowRoot)
}const KK=new Set(["inline","contents"]);function JK(e){
const{overflow:t,overflowX:n,overflowY:r,display:a}=dJ(e)
;return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!KK.has(a)}
const eJ=new Set(["table","td","th"]);function tJ(e){return eJ.has(QK(e))}
const nJ=[":popover-open",":modal"];function rJ(e){return nJ.some((t=>{try{
return e.matches(t)}catch(n){return!1}}))}
const aJ=["transform","translate","scale","rotate","perspective"],oJ=["transform","translate","scale","rotate","perspective","filter"],iJ=["paint","layout","strict","content"]
;function sJ(e){const t=lJ(),n=XK(e)?dJ(e):e
;return aJ.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||oJ.some((e=>(n.willChange||"").includes(e)))||iJ.some((e=>(n.contain||"").includes(e)))
}function lJ(){
return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")
}const cJ=new Set(["html","body","#document"]);function uJ(e){
return cJ.has(QK(e))}function dJ(e){return VK(e).getComputedStyle(e)}
function pJ(e){return XK(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{
scrollLeft:e.scrollX,scrollTop:e.scrollY}}function hJ(e){
if("html"===QK(e))return e
;const t=e.assignedSlot||e.parentNode||YK(e)&&e.host||qK(e)
;return YK(t)?t.host:t}function fJ(e){const t=hJ(e)
;return uJ(t)?e.ownerDocument?e.ownerDocument.body:e.body:GK(t)&&JK(t)?t:fJ(t)}
function mJ(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0)
;const a=fJ(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),i=VK(a);if(o){
const e=gJ(i);return t.concat(i,i.visualViewport||[],JK(a)?a:[],e&&n?mJ(e):[])}
return t.concat(a,mJ(a,[],n))}function gJ(e){
return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}
function vJ(e){const t=dJ(e)
;let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0
;const a=GK(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=gK(n)!==o||gK(r)!==i
;return s&&(n=o,r=i),{width:n,height:r,$:s}}function bJ(e){
return XK(e)?e:e.contextElement}function yJ(e){const t=bJ(e)
;if(!GK(t))return bK(1)
;const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=vJ(t)
;let i=(o?gK(n.width):n.width)/r,s=(o?gK(n.height):n.height)/a
;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}
const OJ=bK(0);function wJ(e){const t=VK(e);return lJ()&&t.visualViewport?{
x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:OJ}
function xJ(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1)
;const a=e.getBoundingClientRect(),o=bJ(e);let i=bK(1)
;t&&(r?XK(r)&&(i=yJ(r)):i=yJ(e));const s=function(e,t,n){
return void 0===t&&(t=!1),!(!n||t&&n!==VK(e))&&t}(o,n,r)?wJ(o):bK(0)
;let l=(a.left+s.x)/i.x,c=(a.top+s.y)/i.y,u=a.width/i.x,d=a.height/i.y;if(o){
const e=VK(o),t=r&&XK(r)?VK(r):r;let n=e,a=gJ(n);for(;a&&r&&t!==n;){
const e=yJ(a),t=a.getBoundingClientRect(),r=dJ(a),o=t.left+(a.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(r.paddingTop))*e.y
;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,n=VK(a),a=gJ(n)}}return BK({width:u,
height:d,x:l,y:c})}function kJ(e,t){const n=pJ(e).scrollLeft
;return t?t.left+n:xJ(qK(e)).left+n}function SJ(e,t){
const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-kJ(e,n),
y:n.top+t.scrollTop}}const _J=25;const AJ=new Set(["absolute","fixed"])
;function TJ(e,t,n){let r;if("viewport"===t)r=function(e,t){
const n=VK(e),r=qK(e),a=n.visualViewport
;let o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height
;const e=lJ();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}const c=kJ(r)
;if(c<=0){
const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-a)
;i<=_J&&(o-=i)}else c<=_J&&(o+=c);return{width:o,height:i,x:s,y:l}
}(e,n);else if("document"===t)r=function(e){
const t=qK(e),n=pJ(e),r=e.ownerDocument.body,a=mK(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=mK(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight)
;let i=-n.scrollLeft+kJ(e);const s=-n.scrollTop
;return"rtl"===dJ(r).direction&&(i+=mK(t.clientWidth,r.clientWidth)-a),{width:a,
height:o,x:i,y:s}}(qK(e));else if(XK(t))r=function(e,t){
const n=xJ(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=GK(e)?yJ(e):bK(1)
;return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}
}(t,n);else{const n=wJ(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}
return BK(r)}function EJ(e,t){const n=hJ(e)
;return!(n===t||!XK(n)||uJ(n))&&("fixed"===dJ(n).position||EJ(n,t))}
function CJ(e,t,n){const r=GK(t),a=qK(t),o="fixed"===n,i=xJ(e,!0,o,t);let s={
scrollLeft:0,scrollTop:0};const l=bK(0);function c(){l.x=kJ(a)}
if(r||!r&&!o)if(("body"!==QK(t)||JK(a))&&(s=pJ(t)),r){const e=xJ(t,!0,o,t)
;l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&c();o&&!r&&a&&c()
;const u=!a||r||o?bK(0):SJ(a,s);return{x:i.left+s.scrollLeft-l.x-u.x,
y:i.top+s.scrollTop-l.y-u.y,width:i.width,height:i.height}}function $J(e){
return"static"===dJ(e).position}function PJ(e,t){
if(!GK(e)||"fixed"===dJ(e).position)return null;if(t)return t(e)
;let n=e.offsetParent;return qK(e)===n&&(n=n.ownerDocument.body),n}
function IJ(e,t){const n=VK(e);if(rJ(e))return n;if(!GK(e)){let t=hJ(e)
;for(;t&&!uJ(t);){if(XK(t)&&!$J(t))return t;t=hJ(t)}return n}let r=PJ(e,t)
;for(;r&&tJ(r)&&$J(r);)r=PJ(r,t)
;return r&&uJ(r)&&$J(r)&&!sJ(r)?n:r||function(e){let t=hJ(e)
;for(;GK(t)&&!uJ(t);){if(sJ(t))return t;if(rJ(t))return null;t=hJ(t)}return null
}(e)||n}const DJ={
convertOffsetParentRelativeRectToViewportRelativeRect:function(e){
let{elements:t,rect:n,offsetParent:r,strategy:a}=e
;const o="fixed"===a,i=qK(r),s=!!t&&rJ(t.floating);if(r===i||s&&o)return n
;let l={scrollLeft:0,scrollTop:0},c=bK(1);const u=bK(0),d=GK(r)
;if((d||!d&&!o)&&(("body"!==QK(r)||JK(i))&&(l=pJ(r)),GK(r))){const e=xJ(r)
;c=yJ(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const p=!i||d||o?bK(0):SJ(i,l)
;return{width:n.width*c.x,height:n.height*c.y,
x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}},
getDocumentElement:qK,getClippingRect:function(e){
let{element:t,boundary:n,rootBoundary:r,strategy:a}=e
;const o=[..."clippingAncestors"===n?rJ(t)?[]:function(e,t){const n=t.get(e)
;if(n)return n;let r=mJ(e,[],!1).filter((e=>XK(e)&&"body"!==QK(e))),a=null
;const o="fixed"===dJ(e).position;let i=o?hJ(e):e;for(;XK(i)&&!uJ(i);){
const t=dJ(i),n=sJ(i)
;n||"fixed"!==t.position||(a=null),(o?!n&&!a:!n&&"static"===t.position&&a&&AJ.has(a.position)||JK(i)&&!n&&EJ(e,i))?r=r.filter((e=>e!==i)):a=t,
i=hJ(i)}return t.set(e,r),r
}(t,this._c):[].concat(n),r],i=o[0],s=o.reduce(((e,n)=>{const r=TJ(t,n,a)
;return e.top=mK(r.top,e.top),
e.right=fK(r.right,e.right),e.bottom=fK(r.bottom,e.bottom),
e.left=mK(r.left,e.left),e}),TJ(t,i,a));return{width:s.right-s.left,
height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:IJ,
getElementRects:async function(e){
const t=this.getOffsetParent||IJ,n=this.getDimensions,r=await n(e.floating)
;return{reference:CJ(e.reference,await t(e.floating),e.strategy),floating:{x:0,
y:0,width:r.width,height:r.height}}},getClientRects:function(e){
return Array.from(e.getClientRects())},getDimensions:function(e){
const{width:t,height:n}=vJ(e);return{width:t,height:n}},getScale:yJ,
isElement:XK,isRTL:function(e){return"rtl"===dJ(e).direction}};function MJ(e,t){
return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}
function NJ(e,t,n,r){void 0===r&&(r={})
;const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=bJ(e),u=a||o?[...c?mJ(c):[],...mJ(t)]:[]
;u.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0
}),o&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null
;const a=qK(e);function o(){var e
;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){
void 0===s&&(s=!1),void 0===l&&(l=1),o()
;const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c
;if(s||t(),!p||!h)return;const f={
rootMargin:-vK(d)+"px "+-vK(a.clientWidth-(u+p))+"px "+-vK(a.clientHeight-(d+h))+"px "+-vK(u)+"px",
threshold:mK(0,fK(1,l))||1};let m=!0;function g(t){
const r=t[0].intersectionRatio;if(r!==l){if(!m)return i()
;r?i(!1,r):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}
1!==r||MJ(c,e.getBoundingClientRect())||i(),m=!1}try{
r=new IntersectionObserver(g,{...f,root:a.ownerDocument})}catch(v){
r=new IntersectionObserver(g,f)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,f=null
;i&&(f=new ResizeObserver((e=>{let[r]=e
;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),
h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()
})),c&&!l&&f.observe(c),f.observe(t));let m=l?xJ(e):null;return l&&function t(){
const r=xJ(e);m&&!MJ(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e
;u.forEach((e=>{
a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)
})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}
const RJ=function(e){return void 0===e&&(e=0),{name:"offset",options:e,
async fn(t){var n,r
;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await async function(e,t){
const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=kK(n),s=SK(n),l="y"===EK(n),c=FK.has(i)?-1:1,u=o&&l?-1:1,d=xK(t,e)
;let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,
crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,
crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis}
;return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*u,y:p*c}:{x:p*c,y:h*u
}}(t,e)
;return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{
x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},LJ=function(e){
return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){
const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{
let{x:t,y:n}=e;return{x:t,y:n}}},...l}=xK(e,t),c={x:n,y:r
},u=await UK(t,l),d=EK(kK(a)),p=_K(d);let h=c[p],f=c[d];if(o){
const e="y"===p?"bottom":"right";h=wK(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){
const e="y"===d?"bottom":"right";f=wK(f+u["y"===d?"top":"left"],f,f-u[e])}
const m=s.fn({...t,[p]:h,[d]:f});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{
[p]:o,[d]:i}}}}}},BJ=function(e){return void 0===e&&(e={}),{name:"flip",
options:e,async fn(t){var n,r
;const{placement:a,middlewareData:o,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=xK(e,t)
;if(null!=(n=o.arrow)&&n.alignmentOffset)return{}
;const v=kK(a),b=EK(s),y=kK(s)===s,O=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=p||(y||!m?[RK(s)]:function(e){
const t=RK(e);return[$K(e),t,$K(t)]}(s)),x="none"!==f
;!p&&x&&w.push(...NK(s,m,f,O));const k=[s,...w],S=await UK(t,g),_=[]
;let A=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&_.push(S[v]),d){
const e=function(e,t,n){void 0===n&&(n=!1);const r=SK(e),a=CK(e),o=AK(a)
;let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top"
;return t.reference[o]>t.floating[o]&&(i=RK(i)),[i,RK(i)]}(a,i,O)
;_.push(S[e[0]],S[e[1]])}if(A=[...A,{placement:a,overflows:_
}],!_.every((e=>e<=0))){var T,E
;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t){
if(!("alignment"===d&&b!==EK(t))||A.every((e=>EK(e.placement)!==b||e.overflows[0]>0)))return{
data:{index:e,overflows:A},reset:{placement:t}}}
let n=null==(E=A.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement
;if(!n)switch(h){case"bestFit":{var C;const e=null==(C=A.filter((e=>{if(x){
const t=EK(e.placement);return t===b||"y"===t}return!0
})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0]
;e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}
return{}}}},jJ=function(e){return void 0===e&&(e={}),{name:"size",options:e,
async fn(t){var n,r
;const{placement:a,rects:o,platform:i,elements:s}=t,{apply:l=()=>{},...c}=xK(e,t),u=await UK(t,c),d=kK(a),p=SK(a),h="y"===EK(a),{width:f,height:m}=o.floating
;let g,v
;"top"===d||"bottom"===d?(g=d,v=p===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,
g="end"===p?"top":"bottom")
;const b=m-u.top-u.bottom,y=f-u.left-u.right,O=fK(m-u[g],b),w=fK(f-u[v],y),x=!t.middlewareData.shift
;let k=O,S=w
;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=y),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=b),
x&&!p){const e=mK(u.left,0),t=mK(u.right,0),n=mK(u.top,0),r=mK(u.bottom,0)
;h?S=f-2*(0!==e||0!==t?e+t:mK(u.left,u.right)):k=m-2*(0!==n||0!==r?n+r:mK(u.top,u.bottom))
}await l({...t,availableWidth:S,availableHeight:k})
;const _=await i.getDimensions(s.floating);return f!==_.width||m!==_.height?{
reset:{rects:!0}}:{}}}},UJ=function(e){return void 0===e&&(e={}),{name:"hide",
options:e,async fn(t){
const{rects:n}=t,{strategy:r="referenceHidden",...a}=xK(e,t);switch(r){
case"referenceHidden":{const e=zK(await UK(t,{...a,elementContext:"reference"
}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ZK(e)}}}
case"escaped":{const e=zK(await UK(t,{...a,altBoundary:!0}),n.floating);return{
data:{escapedOffsets:e,escaped:ZK(e)}}}default:return{}}}}},zJ=e=>({
name:"arrow",options:e,async fn(t){
const{x:n,y:r,placement:a,rects:o,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=xK(e,t)||{}
;if(null==c)return{};const d=LK(u),p={x:n,y:r
},h=CK(a),f=AK(h),m=await i.getDimensions(c),g="y"===h,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",O=o.reference[f]+o.reference[h]-p[h]-o.floating[f],w=p[h]-o.reference[h],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c))
;let k=x?x[y]:0
;k&&await(null==i.isElement?void 0:i.isElement(x))||(k=s.floating[y]||o.floating[f])
;const S=O/2-w/2,_=k/2-m[f]/2-1,A=fK(d[v],_),T=fK(d[b],_),E=A,C=k-m[f]-T,$=k/2-m[f]/2+S,P=wK(E,$,C),I=!l.arrow&&null!=SK(a)&&$!==P&&o.reference[f]/2-($<E?A:T)-m[f]/2<0,D=I?$<E?$-E:$-C:0
;return{[h]:p[h]+D,data:{[h]:P,centerOffset:$-P-D,...I&&{alignmentOffset:D}},
reset:I}}}),ZJ=function(e){return void 0===e&&(e={}),{options:e,fn(t){
const{x:n,y:r,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=xK(e,t),u={
x:n,y:r},d=EK(a),p=_K(d);let h=u[p],f=u[d]
;const m=xK(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,
crossAxis:0,...m};if(l){
const e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+g.mainAxis,n=o.reference[p]+o.reference[e]-g.mainAxis
;h<t?h=t:h>n&&(h=n)}if(c){var v,b
;const e="y"===p?"width":"height",t=FK.has(kK(a)),n=o.reference[d]-o.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[d])||0)-(t?g.crossAxis:0)
;f<n?f=n:f>r&&(f=r)}return{[p]:h,[d]:f}}}},FJ=(e,t,n)=>{const r=new Map,a={
platform:DJ,...n},o={...a.platform,_c:r};return(async(e,t,n)=>{
const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t))
;let c=await i.getElementRects({reference:e,floating:t,strategy:a
}),{x:u,y:d}=jK(c,r,l),p=r,h={},f=0;for(let m=0;m<s.length;m++){
const{name:n,fn:o}=s[m],{x:g,y:v,data:b,reset:y}=await o({x:u,y:d,
initialPlacement:r,placement:p,strategy:a,middlewareData:h,rects:c,platform:i,
elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[n]:{
...h[n],...b}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(p=y.placement),
y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,
strategy:a}):y.rects),({x:u,y:d}=jK(c,p,l))),m=-1)}return{x:u,y:d,placement:p,
strategy:a,middlewareData:h}})(e,t,{...a,platform:o})};function HJ(e){
if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el
;return WK(t)&&"#comment"===QK(t)?null:t}return e}function QJ(e){
return"function"==typeof e?e():xm(e)}function VJ(e){
if("undefined"==typeof window)return 1
;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}
function qJ(e,t){const n=VJ(e);return Math.round(t*n)/n}function WJ(e,t,n){
void 0===n&&(n={});const r=n.whileElementsMounted,a=Ty((()=>{var e
;return null==(e=QJ(n.open))||e})),o=Ty((()=>QJ(n.middleware))),i=Ty((()=>{var e
;return null!=(e=QJ(n.placement))?e:"bottom"})),s=Ty((()=>{var e
;return null!=(e=QJ(n.strategy))?e:"absolute"})),l=Ty((()=>{var e
;return null==(e=QJ(n.transform))||e
})),c=Ty((()=>HJ(e.value))),u=Ty((()=>HJ(t.value))),d=bm(0),p=bm(0),h=bm(s.value),f=bm(i.value),m=ym({}),g=bm(!1),v=Ty((()=>{
const e={position:h.value,left:"0",top:"0"};if(!u.value)return e
;const t=qJ(u.value,d.value),n=qJ(u.value,p.value);return l.value?{...e,
transform:"translate("+t+"px, "+n+"px)",...VJ(u.value)>=1.5&&{
willChange:"transform"}}:{position:h.value,left:t+"px",top:n+"px"}}));let b
;function y(){if(null==c.value||null==u.value)return;const e=a.value
;FJ(c.value,u.value,{middleware:o.value,placement:i.value,strategy:s.value
}).then((t=>{
d.value=t.x,p.value=t.y,h.value=t.strategy,f.value=t.placement,m.value=t.middlewareData,
g.value=!1!==e}))}function O(){"function"==typeof b&&(b(),b=void 0)}
return mg([o,i,s,a],y,{flush:"sync"}),mg([c,u],(function(){
O(),void 0!==r?null==c.value||null==u.value||(b=r(c.value,u.value,y)):y()}),{
flush:"sync"}),mg(a,(function(){a.value||(g.value=!1)}),{flush:"sync"
}),Wh()&&Xh(O),{x:sm(d),y:sm(p),strategy:sm(h),placement:sm(f),
middlewareData:sm(m),isPositioned:sm(g),floatingStyles:v,update:y}}
const XJ=Symbol(),GJ=Hg({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},
immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=ug(XJ,"body")
;return(n,r)=>(Fb(),Wb(Eg,{defer:!e.immediate,disabled:e.disabled,to:e.to||xm(t)
},[Jb("div",cy({class:"scalar-app",style:{display:"contents"}
},n.$attrs),[Av(n.$slots,"default")],16)],8,["defer","disabled","to"]))}
}),YJ=Hg({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}){const n=bm(null),r=bm(null),a=Ty((()=>{
if(typeof window<"u"&&r.value){if("string"==typeof e.target){
const 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
;const t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}
})),o=function(e,t={enabled:bm(!0)}){const n=bm(0),r=bm(0),a=bm()
;return typeof ResizeObserver<"u"&&(a.value=new ResizeObserver((([e])=>{
e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,
r.value=e.borderBoxSize[0]?.blockSize??0)
}))),mg([()=>km(t.enabled),()=>km(e)],(([e,t])=>{
!t||!a.value||(e?a.value.observe(t):a.value.disconnect())}),{immediate:!0}),{
width:Ty((()=>km(t.enabled)?`${n.value}px`:void 0)),
height:Ty((()=>km(t.enabled)?`${r.value}px`:void 0))}}(a,{
enabled:Ty((()=>e.resize))
}),i=Ty((()=>"y"===EK(e.placement??"bottom")?o.width.value:void 0)),s=Ty((()=>"x"===EK(e.placement??"bottom")?o.height.value:void 0)),{floatingStyles:l,middlewareData:c}=WJ(a,n,{
placement:Ty((()=>e.placement??"bottom")),whileElementsMounted:NJ,
middleware:Ty((()=>[RJ(e.offset),BJ(),LJ({padding:10}),jJ({
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:a
}),(t,a)=>(Fb(),qb(Lb,null,[Jb("div",{ref_key:"wrapperRef",ref:r,class:Dh({
contents:!!t.$slots.default})
},[Av(t.$slots,"default")],2),t.$slots.floating?(Fb(),Wb(xm(GJ),{key:0,
disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{
default:ig((()=>[Jb("div",{ref_key:"floatingRef",ref:n,
class:"relative z-context",style:Eh(xm(l))},[Av(t.$slots,"floating",{data:xm(c),
height:s.value,width:i.value})],4)])),_:3},8,["disabled","to"])):oy("",!0)],64))
}}),KJ=Hg({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){
const{cx:t}=h_()
;return(e,n)=>(Fb(),qb("div",Mh(ty(xm(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[Av(e.$slots,"default")],16))
}}),JJ=Hg({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},
offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},
middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){
const{cx:n}=h_(),r=bm(null),a=e=>{
["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),
e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({
popoverButtonRef:r}),(e,t)=>(Fb(),Wb(xm(Ek),{as:"template"},{
default:ig((({open:t})=>[ey(xm(YJ),Mh(ty(e.$props)),_v({
default:ig((()=>[ey(xm(Ck),{ref_key:"popoverButtonRef",ref:r,as:"template",
onKeydown:a},{default:ig((()=>[Av(e.$slots,"default",{open:t})])),_:2},1536)])),
_:2},[t?{name:"floating",fn:ig((({width:r})=>[ey(xm($k),cy({style:{width:r}
},xm(n)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{
default:ig((({close:n})=>[Av(e.$slots,"popover",{close:n,open:t}),ey(xm(KJ))])),
_:2},1040,["style"])])),key:"0"}:void 0]),1040)])),_:3}))}}),e0=Hg({
__name:"ScalarCombobox",props:Bv({options:{},placeholder:{},placement:{},
offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},
middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}
}),emits:Bv(["add"],["update:modelValue"]),setup(e,{emit:t}){
const n=t,r=tb(e,"modelValue");return(t,a)=>(Fb(),Wb(JJ,{
middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",
resize:e.resize,target:e.target,teleport:e.teleport},{
default:ig((({open:e})=>[Av(t.$slots,"default",{open:e})])),
popover:ig((({open:a,close:o})=>[ey(pK,{modelValue:r.value?[r.value]:[],open:a,
options:e.options,placeholder:e.placeholder,onAdd:()=>(o(),n("add")),
"onUpdate:modelValue":e=>(o(),r.value=e[0])},_v({_:2},[t.$slots.option?{
name:"option",fn:ig((e=>[Av(t.$slots,"option",Mh(ty(e)))])),key:"0"
}:void 0,t.$slots.group?{name:"group",
fn:ig((e=>[Av(t.$slots,"group",Mh(ty(e)))])),key:"1"}:void 0,t.$slots.add?{
name:"add",fn:ig((e=>[Av(t.$slots,"add",Mh(ty(e)))])),key:"2"
}:void 0]),1032,["modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])])),
_:3},8,["middleware","offset","placement","resize","target","teleport"]))}
}),t0=Hg({__name:"ScalarComboboxMultiselect",props:Bv({options:{},
placeholder:{},placement:{},offset:{type:[Number,Object,Function]},resize:{
type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{
modelValue:{default:[]},modelModifiers:{}}),
emits:Bv(["add"],["update:modelValue"]),setup(e,{expose:t,emit:n}){
const r=n,a=tb(e,"modelValue"),o=bm(null);return t({comboboxPopoverRef:o
}),(t,n)=>(Fb(),Wb(JJ,{ref_key:"comboboxPopoverRef",ref:o,
middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",
resize:e.resize,target:e.target,teleport:e.teleport},{
default:ig((({open:e})=>[Av(t.$slots,"default",{open:e})])),
popover:ig((({open:o})=>[e.options?.length?(Fb(),Wb(pK,{key:0,
modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e),
multiselect:"",open:o,options:e.options,placeholder:e.placeholder,
onAdd:n[1]||(n[1]=e=>r("add"))},_v({_:2},[t.$slots.option?{name:"option",
fn:ig((e=>[Av(t.$slots,"option",Mh(ty(e)))])),key:"0"}:void 0,t.$slots.group?{
name:"group",fn:ig((e=>[Av(t.$slots,"group",Mh(ty(e)))])),key:"1"
}:void 0,t.$slots.add?{name:"add",fn:ig((e=>[Av(t.$slots,"add",Mh(ty(e)))])),
key:"2"
}:void 0]),1032,["modelValue","open","options","placeholder"])):oy("",!0)])),_:3
},8,["middleware","offset","placement","resize","target","teleport"]))}})
;function n0(e,t){const n=Symbol("string"!=typeof e||t?t:`${e}Context`)
;return[t=>{const r=ug(n,t);if(r||null===r)return r
;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)
},e=>(cg(n,e),e)]}function r0(e,t,n){
const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,
detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(a)}
function a0(e){return!!Wh()&&(Xh(e),!0)}function o0(e){let t,n,r=0;const a=()=>{
r-=1,n&&r<=0&&(n.stop(),t=void 0,n=void 0)}
;return(...o)=>(r+=1,t||(n=qh(!0),t=n.run((()=>e(...o)))),a0(a),t)}
function i0(e){return"function"==typeof e?e():xm(e)}
const s0=typeof window<"u"&&typeof document<"u"
;typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope)
;const l0=Object.prototype.toString,c0=e=>"[object Object]"===l0.call(e),u0=()=>{},d0=p0()
;function p0(){var e,t
;return s0&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))
}function h0(e,t=1e4){return Tm(((n,r)=>{let a,o=i0(e);return a0((()=>{
clearTimeout(a)})),{get:()=>(n(),o),set(n){
o=n,r(),clearTimeout(a),a=setTimeout((()=>{o=i0(e),r()}),i0(t))}}}))}
function f0(e,t){fy()&&pv(e,t)}function m0(e){var t;const n=i0(e)
;return null!=(t=null==n?void 0:n.$el)?t:n}const g0=s0?window:void 0
;function v0(...e){let t,n,r,a
;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,a]=e,
t=g0):[t,n,r,a]=e,!t)return u0
;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{
o.forEach((e=>e())),o.length=0},s=mg((()=>[m0(t),i0(a)]),(([e,t])=>{
if(i(),!e)return;const a=c0(t)?{...t}:t
;o.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,a))))))}),{immediate:!0,flush:"post"
}),l=()=>{s(),i()};return a0(l),l}function b0(...e){let t,n,r={}
;3===e.length?(t=e[0],
n=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],
r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0])
;const{target:a=g0,eventName:o="keydown",passive:i=!1,dedupe:s=!1}=r,l=function(e){
return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0
}(t);return v0(a,o,(e=>{e.repeat&&i0(s)||l(e)&&n(e)}),i)}
function y0(e,t,n,r={}){var a,o,i
;const{clone:s=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=r,h=fy(),f=n||(null==h?void 0:h.emit)||(null==(a=null==h?void 0:h.$emit)?void 0:a.bind(h))||(null==(i=null==(o=null==h?void 0:h.proxy)?void 0:o.$emit)?void 0:i.bind(null==h?void 0:h.proxy))
;let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`
;const g=e=>s?"function"==typeof s?s(e):function(e){
return JSON.parse(JSON.stringify(e))
}(e):e,v=()=>(e=>typeof e<"u")(e[t])?g(e[t]):d,b=e=>{p?p(e)&&f(m,e):f(m,e)}
;if(l){const n=bm(v());let r=!1;return mg((()=>e[t]),(e=>{r||(r=!0,n.value=g(e),
Xm((()=>r=!1)))})),mg(n,(n=>{!r&&(n!==e[t]||u)&&b(n)}),{deep:u}),n}return Ty({
get:()=>v(),set(e){b(e)}})}function O0(e){
return e?e.flatMap((e=>e.type===Lb?O0(e.children):[e])):[]}function w0(){
let e=document.activeElement;if(null==e)return null
;for(;null!=e&&null!=e.shadowRoot&&null!=e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement
;return e}const x0=["INPUT","TEXTAREA"];function k0(e,t,n,r={}){
if(!t||r.enableIgnoredElement&&x0.includes(t.nodeName))return null
;const{arrowKeyOptions:a="both",attributeName:o="[data-radix-vue-collection-item]",itemsArray:i=[],loop:s=!0,dir:l="ltr",preventScroll:c=!0,focus:u=!1}=r,[d,p,h,f,m,g]=["ArrowRight"===e.key,"ArrowLeft"===e.key,"ArrowUp"===e.key,"ArrowDown"===e.key,"Home"===e.key,"End"===e.key],v=h||f,b=d||p
;if(!m&&!g&&(!v&&!b||"vertical"===a&&b||"horizontal"===a&&v))return null
;const y=n?Array.from(n.querySelectorAll(o)):i;if(!y.length)return null
;c&&e.preventDefault();let O=null;return b||v?O=S0(y,t,{
goForward:v?f:"ltr"===l?d:p,loop:s
}):m?O=y.at(0)||null:g&&(O=y.at(-1)||null),u&&(null==O||O.focus()),O}
function S0(e,t,n,r=e.length){if(0==--r)return null
;const a=e.indexOf(t),o=n.goForward?a+1:a-1
;if(!n.loop&&(o<0||o>=e.length))return null;const i=e[(o+e.length)%e.length]
;return i?i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")?S0(e,i,n,r):i:null
}function _0(e){if(null===e||"object"!=typeof e)return!1
;const t=Object.getPrototypeOf(e)
;return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e))
}function A0(e,t,n=".",r){if(!_0(t))return A0(e,{},n)
;const a=Object.assign({},t);for(const o in e){
if("__proto__"===o||"constructor"===o)continue;const t=e[o]
;null!=t&&(Array.isArray(t)&&Array.isArray(a[o])?a[o]=[...t,...a[o]]:_0(t)&&_0(a[o])?a[o]=A0(t,a[o],(n?`${n}.`:"")+o.toString()):a[o]=t)
}return a}
const T0=(...e)=>e.reduce(((e,t)=>A0(e,t,"")),{}),[E0]=n0("ConfigProvider")
;const C0=o0((()=>{const e=bm(new Map),t=bm(),n=Ty((()=>{
for(const t of e.value.values())if(t)return!0;return!1})),r=E0({
scrollBody:bm(!0)});let a=null;return mg(n,((e,n)=>{var o;if(!s0)return
;if(!e)return void(n&&(document.body.style.paddingRight="",
document.body.style.marginRight="",
document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),
document.body.style.overflow=t.value??"",d0&&(null==a||a()),t.value=void 0))
;void 0===t.value&&(t.value=document.body.style.overflow)
;const i=window.innerWidth-document.documentElement.clientWidth,s={padding:i,
margin:0
},l=null!=(o=r.scrollBody)&&o.value?"object"==typeof r.scrollBody.value?T0({
padding:!0===r.scrollBody.value.padding?i:r.scrollBody.value.padding,
margin:!0===r.scrollBody.value.margin?i:r.scrollBody.value.margin},s):s:{
padding:0,margin:0}
;i>0&&(document.body.style.paddingRight="number"==typeof l.padding?`${l.padding}px`:String(l.padding),
document.body.style.marginRight="number"==typeof l.margin?`${l.margin}px`:String(l.margin),
document.body.style.setProperty("--scrollbar-width",`${i}px`),
document.body.style.overflow="hidden"),
d0&&(a=v0(document,"touchmove",(e=>function(e){
const t=e||window.event,n=t.target
;return!(n instanceof Element&&P0(n))&&(t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),
!1))}(e)),{passive:!1})),Xm((()=>{
document.body.style.pointerEvents="none",document.body.style.overflow="hidden"
}))}),{immediate:!0,flush:"sync"}),e}));function $0(e){const t=((e=21)=>{
let t="",n=e
;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0]
;return t})(6),n=C0();n.value.set(t,e??!1);const r=Ty({
get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return f0((()=>{
n.value.delete(t)})),r}function P0(e){const t=window.getComputedStyle(e)
;if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth<e.scrollWidth||"auto"===t.overflowY&&e.clientHeight<e.scrollHeight)return!0
;{const t=e.parentNode;return t instanceof Element&&"BODY"!==t.tagName&&P0(t)}}
function I0(e){const t=E0({dir:bm("ltr")});return Ty((()=>{var n
;return(null==e?void 0:e.value)||(null==(n=t.dir)?void 0:n.value)||"ltr"}))}
function D0(e){const t=fy(),n=null==t?void 0:t.type.emits,r={}
;return null!=n&&n.length||console.warn(`No emitted event found. Please check component: ${null==t?void 0:t.type.__name}`),
null==n||n.forEach((t=>{r[Oh(gh(t))]=(...n)=>e(t,...n)})),r}let M0=0
;function N0(){const e=document.createElement("span")
;return e.setAttribute("data-radix-focus-guard",""),
e.tabIndex=0,e.style.outline="none",
e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}
function R0(e,t){const n=function(e){
const t=fy(),n=Object.keys((null==t?void 0:t.type.props)??{}).reduce(((e,n)=>{
const r=(null==t?void 0:t.type.props[n]).default;return void 0!==r&&(e[n]=r),e
}),{}),r=Pm(e);return Ty((()=>{const e={},a=(null==t?void 0:t.vnode.props)??{}
;return Object.keys(a).forEach((t=>{e[gh(t)]=a[t]})),Object.keys({...n,...e
}).reduce(((e,t)=>(void 0!==r.value[t]&&(e[t]=r.value[t]),e)),{})}))
}(e),r=t?D0(t):{};return Ty((()=>({...n.value,...r})))}function L0(){
const e=fy(),t=bm(),n=Ty((()=>{var e,n
;return["#text","#comment"].includes(null==(e=t.value)?void 0:e.$el.nodeName)?null==(n=t.value)?void 0:n.$el.nextElementSibling:m0(t)
})),r=Object.assign({},e.exposed),a={}
;for(const o in e.props)Object.defineProperty(a,o,{enumerable:!0,
configurable:!0,get:()=>e.props[o]})
;if(Object.keys(r).length>0)for(const o in r)Object.defineProperty(a,o,{
enumerable:!0,configurable:!0,get:()=>r[o]})
;return Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,
get:()=>e.vnode.el}),e.exposed=a,{forwardRef:function(n){
t.value=n,n&&(Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,
get:()=>n instanceof Element?n:n.$el}),e.exposed=a)},currentRef:t,
currentElement:n}}var B0=new WeakMap,j0=new WeakMap,U0={},z0=0,Z0=function(e){
return e&&(e.host||Z0(e.parentNode))},F0=function(e,t,n,r){var a=function(e,t){
return t.map((function(t){if(e.contains(t))return t;var n=Z0(t)
;return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),
null)})).filter((function(e){return!!e}))}(t,Array.isArray(e)?e:[e])
;U0[n]||(U0[n]=new WeakMap)
;var o=U0[n],i=[],s=new Set,l=new Set(a),c=function(e){
!e||s.has(e)||(s.add(e),c(e.parentNode))};a.forEach(c);var u=function(e){
!e||l.has(e)||Array.prototype.forEach.call(e.children,(function(e){
if(s.has(e))u(e);else try{
var t=e.getAttribute(r),a=null!==t&&"false"!==t,l=(B0.get(e)||0)+1,c=(o.get(e)||0)+1
;B0.set(e,l),
o.set(e,c),i.push(e),1===l&&a&&j0.set(e,!0),1===c&&e.setAttribute(n,"true"),
a||e.setAttribute(r,"true")}catch(d){
console.error("aria-hidden: cannot operate on ",e,d)}}))};return u(t),s.clear(),
z0++,function(){i.forEach((function(e){var t=B0.get(e)-1,a=o.get(e)-1
;B0.set(e,t),
o.set(e,a),t||(j0.has(e)||e.removeAttribute(r),j0.delete(e)),a||e.removeAttribute(n)
})),--z0||(B0=new WeakMap,B0=new WeakMap,j0=new WeakMap,U0={})}
},H0=function(e,t,n){void 0===n&&(n="data-aria-hidden")
;var r=Array.from(Array.isArray(e)?e:[e]),a=function(e){
return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e)
;return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live]"))),
F0(r,a,n,"aria-hidden")):function(){return null}};let Q0=0
;function V0(e,t="radix"){const n=E0({useId:void 0})
;return Qg?`${t}-${Qg()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++Q0}`}
function q0(e,t){const n=bm(e);return{state:n,dispatch:e=>{n.value=function(e){
return t[n.value][e]??n.value}(e)}}}function W0(e){const t=h0("",1e3);return{
search:t,handleTypeaheadSearch:(n,r)=>{if(!(null!=e&&e.value||r))return
;t.value=t.value+n;const a=(null==e?void 0:e.value)??r,o=w0(),i=a.map((e=>{var t
;return{ref:e,
textValue:(null==(t=(e.querySelector("[data-item-text]")??e).textContent)?void 0:t.trim())??""
}})),s=i.find((e=>e.ref===o)),l=function(e,t,n){
const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,a=n?e.indexOf(n):-1
;let o=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(a,0))
;1===r.length&&(o=o.filter((e=>e!==n)))
;const i=o.find((e=>e.toLowerCase().startsWith(r.toLowerCase())))
;return i!==n?i:void 0
}(i.map((e=>e.textValue)),t.value,null==s?void 0:s.textValue),c=i.find((e=>e.textValue===l))
;return c&&c.ref.focus(),null==c?void 0:c.ref},resetTypeahead:()=>{t.value=""}}}
const X0=Hg({name:"PrimitiveSlot",inheritAttrs:!1,
setup:(e,{attrs:t,slots:n})=>()=>{var e,r;if(!n.default)return null
;const a=O0(n.default()),o=a.findIndex((e=>e.type!==jb));if(-1===o)return a
;const i=a[o];null==(e=i.props)||delete e.ref;const s=i.props?cy(t,i.props):t
;t.class&&null!=(r=i.props)&&r.class&&delete i.props.class;const l=ny(i,s)
;for(const t in s)t.startsWith("on")&&(l.props||(l.props={}),l.props[t]=s[t])
;return 1===a.length?l:(a[o]=l,a)}}),G0=Hg({name:"Primitive",inheritAttrs:!1,
props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}
},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as
;return"string"==typeof r&&["area","img","input"].includes(r)?()=>Ey(r,t):"template"!==r?()=>Ey(e.as,t,{
default:n.default}):()=>Ey(X0,t,{default:n.default})}});function Y0(){
const e=bm(),t=Ty((()=>{var t,n
;return["#text","#comment"].includes(null==(t=e.value)?void 0:t.$el.nodeName)?null==(n=e.value)?void 0:n.$el.nextElementSibling:m0(e)
}));return{primitiveElement:e,currentElement:t}}function K0(e){
return e&&getComputedStyle(e).animationName||"none"}const J0=Hg({
name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{
type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r
;const{present:a,forceMount:o}=Em(e),i=bm(),{isPresent:s}=function(e,t){var n
;const r=bm({}),a=bm("none"),o=bm(e),i=e.value?"mounted":"unmounted";let s
;const l=(null==(n=t.value)?void 0:n.ownerDocument.defaultView)??g0,{state:c,dispatch:u}=q0(i,{
mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},
unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{
MOUNT:"mounted"}}),d=e=>{var n;if(s0){const r=new CustomEvent(e,{bubbles:!1,
cancelable:!1});null==(n=t.value)||n.dispatchEvent(r)}};mg(e,(async(e,n)=>{var o
;const i=n!==e;if(await Xm(),i){const i=a.value,s=K0(t.value)
;e?(u("MOUNT"),d("enter"),
"none"===s&&d("after-enter")):"none"===s||"none"===(null==(o=r.value)?void 0:o.display)?(u("UNMOUNT"),
d("leave"),
d("after-leave")):n&&i!==s?(u("ANIMATION_OUT"),d("leave")):(u("UNMOUNT"),
d("after-leave"))}}),{immediate:!0});const p=e=>{
const n=K0(t.value),r=n.includes(e.animationName),a="mounted"===c.value?"enter":"leave"
;if(e.target===t.value&&r&&(d(`after-${a}`),u("ANIMATION_END"),!o.value)){
const e=t.value.style.animationFillMode
;t.value.style.animationFillMode="forwards",s=null==l?void 0:l.setTimeout((()=>{
var n
;"forwards"===(null==(n=t.value)?void 0:n.style.animationFillMode)&&(t.value.style.animationFillMode=e)
}))}e.target===t.value&&"none"===n&&u("ANIMATION_END")},h=e=>{
e.target===t.value&&(a.value=K0(t.value))},f=mg(t,((e,t)=>{
e?(r.value=getComputedStyle(e),
e.addEventListener("animationstart",h),e.addEventListener("animationcancel",p),
e.addEventListener("animationend",p)):(u("ANIMATION_END"),
void 0!==s&&(null==l||l.clearTimeout(s)),
null==t||t.removeEventListener("animationstart",h),
null==t||t.removeEventListener("animationcancel",p),
null==t||t.removeEventListener("animationend",p))}),{immediate:!0
}),m=mg(c,(()=>{const e=K0(t.value);a.value="mounted"===c.value?e:"none"}))
;return hv((()=>{f(),m()})),{
isPresent:Ty((()=>["mounted","unmountSuspended"].includes(c.value)))}}(a,i);n({
present:s});let l=t.default({present:s});l=O0(l||[]);const c=fy()
;if(l&&(null==l?void 0:l.length)>1){
const e=null!=(r=null==c?void 0:c.parent)&&r.type.name?`<${c.parent.type.name} />`:"component"
;throw new Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map((e=>` - ${e}`)).join("\n")].join("\n"))
}return()=>o.value||a.value||s.value?Ey(t.default({present:s})[0],{ref:e=>{
const t=m0(e)
;return typeof(null==t?void 0:t.hasAttribute)>"u"||(null!=t&&t.hasAttribute("data-radix-popper-content-wrapper")?i.value=t.firstElementChild:i.value=t),
t}}):null}}),e1=Hg({__name:"Teleport",props:{to:{default:"body"},disabled:{
type:Boolean},forceMount:{type:Boolean}},setup(e){const t=function(){
const e=bm(!1),t=fy();return t&&cv((()=>{e.value=!0}),t),e}()
;return(e,n)=>xm(t)||e.forceMount?(Fb(),Wb(Eg,{key:0,to:e.to,disabled:e.disabled
},[Av(e.$slots,"default")],8,["to","disabled"])):oy("",!0)}});function t1(e,t){
const n=t.closest("[data-dismissable-layer]"),r=""===e.dataset.dismissableLayer?e:e.querySelector("[data-dismissable-layer]"),a=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"))
;return!!(n&&r===n||a.indexOf(r)<a.indexOf(n))}const n1=om({layersRoot:new Set,
layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),r1=Hg({
__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,
default:!1},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],
setup(e,{emit:t}){const n=e,r=t,{forwardRef:a,currentElement:o}=L0(),i=Ty((()=>{
var e;return(null==(e=o.value)?void 0:e.ownerDocument)??globalThis.document
})),s=Ty((()=>n1.layersRoot)),l=Ty((()=>o.value?Array.from(s.value).indexOf(o.value):-1)),c=Ty((()=>n1.layersWithOutsidePointerEventsDisabled.size>0)),u=Ty((()=>{
const e=Array.from(s.value),[t]=[...n1.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t)
;return l.value>=n})),d=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),a=bm(!1),o=bm((()=>{}))
;return fg((n=>{if(!s0)return;const i=async n=>{const i=n.target
;if(null!=t&&t.value){if(t1(t.value,i))return void(a.value=!1)
;if(n.target&&!a.value){let t=function(){
r0("dismissableLayer.pointerDownOutside",e,a)};const a={originalEvent:n}
;"touch"===n.pointerType?(r.removeEventListener("click",o.value),
o.value=t,r.addEventListener("click",o.value,{once:!0})):t()
}else r.removeEventListener("click",o.value);a.value=!1}
},s=window.setTimeout((()=>{r.addEventListener("pointerdown",i)}),0);n((()=>{
window.clearTimeout(s),
r.removeEventListener("pointerdown",i),r.removeEventListener("click",o.value)}))
})),{onPointerDownCapture:()=>a.value=!0}}((async e=>{
const t=[...n1.branches].some((t=>null==t?void 0:t.contains(e.target)))
;!u.value||t||(r("pointerDownOutside",e),
r("interactOutside",e),await Xm(),e.defaultPrevented||r("dismiss"))
}),o),p=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),a=bm(!1)
;return fg((n=>{if(!s0)return;const o=async n=>{
null!=t&&t.value&&(await Xm(),t.value&&!t1(t.value,n.target)&&n.target&&!a.value&&r0("dismissableLayer.focusOutside",e,{
originalEvent:n}))}
;r.addEventListener("focusin",o),n((()=>r.removeEventListener("focusin",o)))})),
{onFocusCapture:()=>a.value=!0,onBlurCapture:()=>a.value=!1}}((e=>{
[...n1.branches].some((t=>null==t?void 0:t.contains(e.target)))||(r("focusOutside",e),
r("interactOutside",e),e.defaultPrevented||r("dismiss"))}),o);let h
;return b0("Escape",(e=>{
l.value===s.value.size-1&&(r("escapeKeyDown",e),e.defaultPrevented||r("dismiss"))
})),fg((e=>{
o.value&&(n.disableOutsidePointerEvents&&(0===n1.layersWithOutsidePointerEventsDisabled.size&&(h=i.value.body.style.pointerEvents,
i.value.body.style.pointerEvents="none"),
n1.layersWithOutsidePointerEventsDisabled.add(o.value)),
s.value.add(o.value),e((()=>{
n.disableOutsidePointerEvents&&1===n1.layersWithOutsidePointerEventsDisabled.size&&(i.value.body.style.pointerEvents=h)
})))})),fg((e=>{e((()=>{
o.value&&(s.value.delete(o.value),n1.layersWithOutsidePointerEventsDisabled.delete(o.value))
}))})),(e,t)=>(Fb(),Wb(xm(G0),{ref:xm(a),"as-child":e.asChild,as:e.as,
"data-dismissable-layer":"",style:Eh({
pointerEvents:c.value?u.value?"auto":"none":void 0}),
onFocusCapture:xm(p).onFocusCapture,onBlurCapture:xm(p).onBlurCapture,
onPointerdownCapture:xm(d).onPointerDownCapture},{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))
}}),a1="focusScope.autoFocusOnMount",o1="focusScope.autoFocusOnUnmount",i1={
bubbles:!1,cancelable:!0};function s1(e){
const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{
acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type
;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP
}});for(;n.nextNode();)t.push(n.currentNode);return t}function l1(e,t){
for(const n of e)if(!c1(n,{upTo:t}))return n}function c1(e,{upTo:t}){
if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){
if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0
;e=e.parentElement}return!1}function u1(e,{select:t=!1}={}){if(e&&e.focus){
const n=w0();e.focus({preventScroll:!0}),e!==n&&function(e){
return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}
const d1=function(e){let t,n=!1;const r=qh(!0)
;return(...a)=>(n||(t=r.run((()=>e(...a))),n=!0),t)}((()=>bm([])))
;function p1(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}
const h1=Hg({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{
type:Boolean,default:!1},asChild:{type:Boolean},as:{}},
emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){
const n=e,r=t,{currentRef:a,currentElement:o}=L0(),i=bm(null),s=function(){
const e=d1();return{add(t){const n=e.value[0]
;t!==n&&(null==n||n.pause()),e.value=p1(e.value,t),e.value.unshift(t)},
remove(t){var n;e.value=p1(e.value,t),null==(n=e.value[0])||n.resume()}}
}(),l=om({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}})
;function c(e){if(!n.loop&&!n.trapped||l.paused)return
;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=w0();if(t&&r){
const t=e.currentTarget,[a,o]=function(e){const t=s1(e)
;return[l1(t,e),l1(t.reverse(),e)]}(t)
;a&&o?e.shiftKey||r!==o?e.shiftKey&&r===a&&(e.preventDefault(),n.loop&&u1(o,{
select:!0})):(e.preventDefault(),n.loop&&u1(a,{select:!0
})):r===t&&e.preventDefault()}}return fg((e=>{if(!s0)return;const t=o.value
;if(!n.trapped)return;function r(e){if(l.paused||!t)return;const n=e.target
;t.contains(n)?i.value=n:u1(i.value,{select:!0})}function a(e){
if(l.paused||!t)return;const n=e.relatedTarget
;null!==n&&(t.contains(n)||u1(i.value,{select:!0}))}
document.addEventListener("focusin",r),document.addEventListener("focusout",a)
;const s=new MutationObserver((function(e){t.contains(i.value)||u1(t)}))
;t&&s.observe(t,{childList:!0,subtree:!0}),e((()=>{
document.removeEventListener("focusin",r),
document.removeEventListener("focusout",a),s.disconnect()}))})),fg((async e=>{
const t=o.value;if(await Xm(),!t)return;s.add(l);const n=w0()
;if(!t.contains(n)){const e=new CustomEvent(a1,i1)
;t.addEventListener(a1,(e=>r("mountAutoFocus",e))),
t.dispatchEvent(e),e.defaultPrevented||(function(e,{select:t=!1}={}){
const n=w0();for(const r of e)if(u1(r,{select:t}),w0()!==n)return!0
}(function(e){return e.filter((e=>"A"!==e.tagName))}(s1(t)),{select:!0
}),w0()===n&&u1(t))}e((()=>{t.removeEventListener(a1,(e=>r("mountAutoFocus",e)))
;const e=new CustomEvent(o1,i1),a=e=>{r("unmountAutoFocus",e)}
;t.addEventListener(o1,a),t.dispatchEvent(e),setTimeout((()=>{
e.defaultPrevented||u1(n??document.body,{select:!0
}),t.removeEventListener(o1,a),s.remove(l)}),0)}))})),(e,t)=>(Fb(),Wb(xm(G0),{
ref_key:"currentRef",ref:a,tabindex:"-1","as-child":e.asChild,as:e.as,
onKeydown:c},{default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["as-child","as"]))}
}),f1=["Enter"," "],m1=["ArrowUp","PageDown","End"],g1=["ArrowDown","PageUp","Home",...m1],v1={
ltr:[...f1,"ArrowRight"],rtl:[...f1,"ArrowLeft"]},b1={ltr:["ArrowLeft"],
rtl:["ArrowRight"]};function y1(e){return e?"open":"closed"}function O1(e){
return"indeterminate"===e}function w1(e){
return O1(e)?"indeterminate":e?"checked":"unchecked"}function x1(e){
return"mouse"===e.pointerType}const[k1,S1]=n0("PopperRoot"),_1=Hg({
inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=bm();return S1({anchor:t,
onAnchorChange:e=>t.value=e}),(e,t)=>Av(e.$slots,"default")}}),A1=Hg({
__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){
const t=e,{forwardRef:n,currentElement:r}=L0(),a=k1();return fg((()=>{
a.onAnchorChange(t.element??r.value)})),(e,t)=>(Fb(),Wb(xm(G0),{ref:xm(n),
as:e.as,"as-child":e.asChild},{default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["as","as-child"]))}});function T1(e){return null!==e}function E1(e){return{
name:"transformOrigin",options:e,fn(t){var n,r,a
;const{placement:o,rects:i,middlewareData:s}=t,l=0!==(null==(n=s.arrow)?void 0:n.centerOffset),c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,p]=C1(o),h={
start:"0%",center:"50%",end:"100%"
}[p],f=((null==(r=s.arrow)?void 0:r.x)??0)+c/2,m=((null==(a=s.arrow)?void 0:a.y)??0)+u/2
;let g="",v=""
;return"bottom"===d?(g=l?h:`${f}px`,v=-u+"px"):"top"===d?(g=l?h:`${f}px`,
v=`${i.floating.height+u}px`):"right"===d?(g=-u+"px",
v=l?h:`${m}px`):"left"===d&&(g=`${i.floating.width+u}px`,v=l?h:`${m}px`),{data:{
x:g,y:v}}}}}function C1(e){const[t,n="center"]=e.split("-");return[t,n]}
const $1={side:"bottom",sideOffset:0,align:"center",alignOffset:0,
arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,
sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",
prioritizePosition:!1},[P1,I1]=n0("PopperContent"),D1=Hg({inheritAttrs:!1,
__name:"PopperContent",props:Lv({side:{},sideOffset:{},align:{},alignOffset:{},
avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},
arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},
updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{
type:Boolean},as:{}},{...$1}),emits:["placed"],setup(e,{emit:t}){
const n=e,r=t,a=k1(),{forwardRef:o,currentElement:i}=L0(),s=bm(),l=bm(),{width:c,height:u}=function(e){
const t=bm(),n=Ty((()=>{var e;return(null==(e=t.value)?void 0:e.width)??0
})),r=Ty((()=>{var e;return(null==(e=t.value)?void 0:e.height)??0}))
;return cv((()=>{const n=m0(e);if(n){t.value={width:n.offsetWidth,
height:n.offsetHeight};const e=new ResizeObserver((e=>{
if(!Array.isArray(e)||!e.length)return;const r=e[0];let a,o
;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e
;a=t.inlineSize,o=t.blockSize}else a=n.offsetWidth,o=n.offsetHeight;t.value={
width:a,height:o}}));return e.observe(n,{box:"border-box"}),()=>e.unobserve(n)}
t.value=void 0})),{width:n,height:r}
}(l),d=Ty((()=>n.side+("center"!==n.align?`-${n.align}`:""))),p=Ty((()=>"number"==typeof n.collisionPadding?n.collisionPadding:{
top:0,right:0,bottom:0,left:0,...n.collisionPadding
})),h=Ty((()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary])),f=Ty((()=>({
padding:p.value,boundary:h.value.filter(T1),altBoundary:h.value.length>0
}))),m=function(e,t){const n=ym();return fg((()=>{n.value=e()}),{...t,
flush:"sync"}),im(n)}((()=>{return[RJ({mainAxis:n.sideOffset+u.value,
alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&BJ({
...f.value}),n.avoidCollisions&&LJ({mainAxis:!0,
crossAxis:!!n.prioritizePosition,limiter:"partial"===n.sticky?ZJ():void 0,
...f.value}),!n.prioritizePosition&&n.avoidCollisions&&BJ({...f.value}),jJ({
...f.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{
const{width:a,height:o}=t.reference,i=e.floating.style
;i.setProperty("--radix-popper-available-width",`${n}px`),
i.setProperty("--radix-popper-available-height",`${r}px`),
i.setProperty("--radix-popper-anchor-width",`${a}px`),
i.setProperty("--radix-popper-anchor-height",`${o}px`)}}),l.value&&(e={
element:l.value,padding:n.arrowPadding},{name:"arrow",options:e,fn(t){
const n=HJ(QJ(e.element));return null==n?{}:zJ({element:n,padding:e.padding
}).fn(t)}}),E1({arrowWidth:c.value,arrowHeight:u.value
}),n.hideWhenDetached&&UJ({strategy:"referenceHidden",...f.value})];var e
})),{floatingStyles:g,placement:v,isPositioned:b,middlewareData:y}=WJ(a.anchor,s,{
strategy:"fixed",placement:d,whileElementsMounted:(...e)=>NJ(...e,{
animationFrame:"always"===n.updatePositionStrategy}),middleware:m
}),O=Ty((()=>C1(v.value)[0])),w=Ty((()=>C1(v.value)[1]));gg((()=>{
b.value&&r("placed")}),null,{flush:"post"});const x=Ty((()=>{var e
;return 0!==(null==(e=y.value.arrow)?void 0:e.centerOffset)})),k=bm("")
;fg((()=>{i.value&&(k.value=window.getComputedStyle(i.value).zIndex)}))
;const S=Ty((()=>{var e;return(null==(e=y.value.arrow)?void 0:e.x)??0
})),_=Ty((()=>{var e;return(null==(e=y.value.arrow)?void 0:e.y)??0}))
;return I1({placedSide:O,onArrowChange:e=>l.value=e,arrowX:S,arrowY:_,
shouldHideArrow:x}),(e,t)=>{var r,a,i;return Fb(),qb("div",{
ref_key:"floatingRef",ref:s,"data-radix-popper-content-wrapper":"",style:Eh({
...xm(g),transform:xm(b)?xm(g).transform:"translate(0, -200%)",
minWidth:"max-content",zIndex:k.value,
"--radix-popper-transform-origin":[null==(r=xm(y).transformOrigin)?void 0:r.x,null==(a=xm(y).transformOrigin)?void 0:a.y].join(" "),
...(null==(i=xm(y).hide)?void 0:i.referenceHidden)&&{visibility:"hidden",
pointerEvents:"none"}})},[ey(xm(G0),cy({ref:xm(o)},e.$attrs,{
"as-child":n.asChild,as:e.as,"data-side":O.value,"data-align":w.value,style:{
animation:xm(b)?void 0:"none"}}),{default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["as-child","as","data-side","data-align","style"])],4)}}
}),M1=Jb("polygon",{points:"0,0 30,0 15,10"},null,-1),N1=Hg({__name:"Arrow",
props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{
default:"svg"}},setup(e){const t=e;return L0(),(e,n)=>(Fb(),Wb(xm(G0),cy(t,{
width:e.width,height:e.height,viewBox:e.asChild?void 0:"0 0 30 10",
preserveAspectRatio:e.asChild?void 0:"none"}),{
default:ig((()=>[Av(e.$slots,"default",{},(()=>[M1]))])),_:3
},16,["width","height","viewBox","preserveAspectRatio"]))}}),R1={top:"bottom",
right:"left",bottom:"top",left:"right"},L1=Hg({inheritAttrs:!1,
__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{
default:"svg"}},setup(e){
const{forwardRef:t}=L0(),n=P1(),r=Ty((()=>R1[n.placedSide.value]))
;return(e,a)=>{var o,i,s,l;return Fb(),qb("span",{ref:e=>{xm(n).onArrowChange(e)
},style:Eh({position:"absolute",
left:null!=(o=xm(n).arrowX)&&o.value?`${null==(i=xm(n).arrowX)?void 0:i.value}px`:void 0,
top:null!=(s=xm(n).arrowY)&&s.value?`${null==(l=xm(n).arrowY)?void 0:l.value}px`:void 0,
[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"
}[xm(n).placedSide.value],transform:{top:"translateY(100%)",
right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",
left:"translateY(50%) rotate(-90deg) translateX(50%)"}[xm(n).placedSide.value],
visibility:xm(n).shouldHideArrow.value?"hidden":void 0})},[ey(N1,cy(e.$attrs,{
ref:xm(t),style:{display:"block"},as:e.as,"as-child":e.asChild,width:e.width,
height:e.height}),{default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["as","as-child","width","height"])],4)}}
}),[B1,j1]=n0("CollectionProvider")
;function U1(e="data-radix-vue-collection-item"){
const t=bm(new Map),n=bm(),r=j1({collectionRef:n,itemMap:t,attrName:e
}),{getItems:a}=function(e){const t=e??B1();return{getItems:()=>{
const e=t.collectionRef.value;if(!e)return[]
;const n=Array.from(e.querySelectorAll(`[${t.attrName}]`))
;return Array.from(t.itemMap.value.values()).sort(((e,t)=>n.indexOf(e.ref)-n.indexOf(t.ref)))
}}}(r);return{getItems:a,
reactiveItems:Ty((()=>Array.from(r.itemMap.value.values()))),
itemMapSize:Ty((()=>r.itemMap.value.size))}}const z1=Hg({name:"CollectionSlot",
setup(e,{slots:t}){const n=B1(),{primitiveElement:r,currentElement:a}=Y0()
;return mg(a,(()=>{n.collectionRef.value=a.value})),()=>Ey(X0,{ref:r},t)}
}),Z1=Hg({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}
},setup(e,{slots:t,attrs:n}){
const r=B1(),{primitiveElement:a,currentElement:o}=Y0();return fg((t=>{
if(o.value){const n=fm(o.value);r.itemMap.value.set(n,{ref:o.value,value:e.value
}),t((()=>r.itemMap.value.delete(n)))}})),()=>Ey(X0,{...n,[r.attrName]:"",ref:a
},t)}});const F1=Hg({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean
},as:{}},setup(e){const t=e;return(e,n)=>(Fb(),Wb(xm(A1),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),H1=Hg({
__name:"MenuArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{}},
setup(e){const t=e;return(e,n)=>(Fb(),Wb(xm(L1),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}});const Q1=o0((function(){
const e=bm(!1);return cv((()=>{v0("keydown",(()=>{e.value=!0}),{capture:!0,
passive:!0}),v0(["pointerdown","pointermove"],(()=>{e.value=!1}),{capture:!0,
passive:!0})})),e
})),[V1,q1]=n0(["MenuRoot","MenuSub"],"MenuContext"),[W1,X1]=n0("MenuRoot"),G1=Hg({
__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{
type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){
const n=e,r=t,{modal:a,dir:o}=Em(n),i=I0(o),s=y0(n,"open",r),l=bm(),c=Q1()
;return q1({open:s,onOpenChange:e=>{s.value=e},content:l,onContentChange:e=>{
l.value=e}}),X1({onClose:()=>{s.value=!1},isUsingKeyboardRef:c,dir:i,modal:a
}),(e,t)=>(Fb(),Wb(xm(_1),null,{default:ig((()=>[Av(e.$slots,"default")])),_:3
}))}}),Y1={bubbles:!1,cancelable:!0};const[K1,J1]=n0("RovingFocusGroup"),e2=Hg({
__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{
type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},
preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}
},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){
const r=e,a=n,{loop:o,orientation:i,dir:s}=Em(r),l=I0(s),c=y0(r,"currentTabStopId",a,{
defaultValue:r.defaultCurrentTabStopId,passive:void 0===r.currentTabStopId
}),u=bm(!1),d=bm(!1),p=bm(0),{getItems:h}=U1();function f(e){const t=!d.value
;if(e.currentTarget&&e.target===e.currentTarget&&t&&!u.value){
const t=new CustomEvent("rovingFocusGroup.onEntryFocus",Y1)
;if(e.currentTarget.dispatchEvent(t),a("entryFocus",t),!t.defaultPrevented){
const e=h().map((e=>e.ref)).filter((e=>""!==e.dataset.disabled))
;!function(e,t=!1){const n=w0();for(const r of e)if(r===n||(r.focus({
preventScroll:t}),w0()!==n))return
}([e.find((e=>"true"===e.getAttribute("data-active"))),e.find((e=>e.id===c.value)),...e].filter(Boolean),r.preventScrollOnEntryFocus)
}}d.value=!1}function m(){setTimeout((()=>{d.value=!1}),1)}return t({getItems:h
}),J1({loop:o,dir:l,orientation:i,currentTabStopId:c,onItemFocus:e=>{c.value=e},
onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{p.value++},
onFocusableItemRemove:()=>{p.value--}}),(e,t)=>(Fb(),Wb(xm(z1),null,{
default:ig((()=>[ey(xm(G0),{tabindex:u.value||0===p.value?-1:0,
"data-orientation":xm(i),as:e.as,"as-child":e.asChild,dir:xm(l),style:{
outline:"none"},onMousedown:t[0]||(t[0]=e=>d.value=!0),onMouseup:m,onFocus:f,
onBlur:t[1]||(t[1]=e=>u.value=!1)},{default:ig((()=>[Av(e.$slots,"default")])),
_:3},8,["tabindex","data-orientation","as","as-child","dir"])])),_:3}))}
}),[t2,n2]=n0("MenuContent"),r2=Hg({__name:"MenuContentImpl",props:Lv({loop:{
type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{
type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},
alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},
collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},
updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{
type:Boolean},as:{}},{...$1}),
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],
setup(e,{emit:t}){
const n=e,r=t,a=V1(),o=W1(),{trapFocus:i,disableOutsidePointerEvents:s,loop:l}=Em(n)
;fg((e=>{if(!s0)return
;const t=document.querySelectorAll("[data-radix-focus-guard]")
;document.body.insertAdjacentElement("afterbegin",t[0]??N0()),
document.body.insertAdjacentElement("beforeend",t[1]??N0()),M0++,e((()=>{
1===M0&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),
M0--}))})),$0(s.value)
;const c=bm(""),u=bm(0),d=bm(0),p=bm(null),h=bm("right"),f=bm(0),m=bm(null),{createCollection:g}=function(e,t="data-radix-vue-collection-item"){
const n=Symbol();return{createCollection:e=>{const r=bm([]);function a(){
const n=m0(e)
;return r.value=n?Array.from(n.querySelectorAll(`[${t}]:not([data-disabled])`)):[]
}return uv((()=>{r.value=[]})),cv(a),dv(a),mg((()=>null==e?void 0:e.value),a,{
immediate:!0}),cg(n,r),r},injectCollection:()=>ug(n,bm([]))}
}(),{forwardRef:v,currentElement:b}=L0(),y=g(b);mg(b,(e=>{a.onContentChange(e)
}));const{handleTypeaheadSearch:O}=W0(y);function w(e){var t,n
;return h.value===(null==(t=p.value)?void 0:t.side)&&function(e,t){
return!!t&&function(e,t){const{x:n,y:r}=e;let a=!1
;for(let o=0,i=t.length-1;o<t.length;i=o++){
const e=t[o].x,s=t[o].y,l=t[i].x,c=t[i].y
;s>r!=c>r&&n<(l-e)*(r-s)/(c-s)+e&&(a=!a)}return a}({x:e.clientX,y:e.clientY},t)
}(e,null==(n=p.value)?void 0:n.area)}async function x(e){var t
;r("openAutoFocus",e),
!e.defaultPrevented&&(e.preventDefault(),null==(t=b.value)||t.focus({
preventScroll:!0}))}function k(e){if(e.defaultPrevented)return
;const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length,a=k0(e,w0(),b.value,{
loop:l.value,arrowKeyOptions:"vertical",dir:null==o?void 0:o.dir.value,focus:!0,
attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"})
;if(a)return null==a?void 0:a.focus()
;if("Space"===e.code||(t&&("Tab"===e.key&&e.preventDefault(),
!n&&r&&O(e.key)),e.target!==b.value)||!g1.includes(e.key))return
;e.preventDefault();const i=y.value;m1.includes(e.key)&&i.reverse(),function(e){
const t=w0();for(const n of e)if(n===t||(n.focus(),w0()!==t))return}(i)}
function S(e){var t,n
;null!=(n=null==(t=null==e?void 0:e.currentTarget)?void 0:t.contains)&&n.call(t,e.target)||(window.clearTimeout(u.value),
c.value="")}function _(e){var t;if(!x1(e))return
;const n=e.target,r=f.value!==e.clientX
;if(null!=(t=null==e?void 0:e.currentTarget)&&t.contains(n)&&r){
const t=e.clientX>f.value?"right":"left";h.value=t,f.value=e.clientX}}
return hv((()=>{window.clearTimeout(u.value)})),n2({onItemEnter:e=>!!w(e),
onItemLeave:e=>{var t;w(e)||(null==(t=b.value)||t.focus(),m.value=null)},
onTriggerLeave:e=>!!w(e),searchRef:c,pointerGraceTimerRef:d,
onPointerGraceIntentChange:e=>{p.value=e}}),(e,t)=>(Fb(),Wb(xm(h1),{
"as-child":"",trapped:xm(i),onMountAutoFocus:x,
onUnmountAutoFocus:t[7]||(t[7]=e=>r("closeAutoFocus",e))},{
default:ig((()=>[ey(xm(r1),{"as-child":"",
"disable-outside-pointer-events":xm(s),
onEscapeKeyDown:t[2]||(t[2]=e=>r("escapeKeyDown",e)),
onPointerDownOutside:t[3]||(t[3]=e=>r("pointerDownOutside",e)),
onFocusOutside:t[4]||(t[4]=e=>r("focusOutside",e)),
onInteractOutside:t[5]||(t[5]=e=>r("interactOutside",e)),
onDismiss:t[6]||(t[6]=e=>r("dismiss"))},{default:ig((()=>[ey(xm(e2),{
"current-tab-stop-id":m.value,
"onUpdate:currentTabStopId":t[0]||(t[0]=e=>m.value=e),"as-child":"",
orientation:"vertical",dir:xm(o).dir.value,loop:xm(l),
onEntryFocus:t[1]||(t[1]=e=>{
r("entryFocus",e),xm(o).isUsingKeyboardRef.value||e.preventDefault()})},{
default:ig((()=>[ey(xm(D1),{ref:xm(v),role:"menu",as:e.as,"as-child":e.asChild,
"aria-orientation":"vertical","data-radix-menu-content":"",
"data-state":xm(y1)(xm(a).open.value),dir:xm(o).dir.value,side:e.side,
"side-offset":e.sideOffset,align:e.align,"align-offset":e.alignOffset,
"avoid-collisions":e.avoidCollisions,"collision-boundary":e.collisionBoundary,
"collision-padding":e.collisionPadding,"arrow-padding":e.arrowPadding,
"prioritize-position":e.prioritizePosition,sticky:e.sticky,
"hide-when-detached":e.hideWhenDetached,onKeydown:k,onBlur:S,onPointermove:_},{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])])),
_:3},8,["current-tab-stop-id","dir","loop"])])),_:3
},8,["disable-outside-pointer-events"])])),_:3},8,["trapped"]))}}),a2=Hg({
inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},
textValue:{},asChild:{type:Boolean},as:{}},setup(e){
const t=e,n=t2(),{forwardRef:r}=L0(),a=bm(!1);async function o(e){
if(!e.defaultPrevented&&x1(e))if(t.disabled)n.onItemLeave(e);else if(!n.onItemEnter(e)){
const t=e.currentTarget;null==t||t.focus({preventScroll:!0})}}
async function i(e){await Xm(),!e.defaultPrevented&&x1(e)&&n.onItemLeave(e)}
return(e,t)=>(Fb(),Wb(xm(Z1),{value:{textValue:e.textValue}},{
default:ig((()=>[ey(xm(G0),cy({ref:xm(r),role:"menuitem",tabindex:"-1"
},e.$attrs,{as:e.as,"as-child":e.asChild,"data-radix-vue-collection-item":"",
"aria-disabled":e.disabled||void 0,"data-disabled":e.disabled?"":void 0,
"data-highlighted":a.value?"":void 0,onPointermove:o,onPointerleave:i,
onFocus:t[0]||(t[0]=async t=>{
await Xm(),!t.defaultPrevented&&!e.disabled&&(a.value=!0)}),
onBlur:t[1]||(t[1]=async e=>{await Xm(),!e.defaultPrevented&&(a.value=!1)})}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])])),
_:3},8,["value"]))}}),o2=Hg({__name:"MenuItem",props:{disabled:{type:Boolean},
textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){
const n=e,r=t,{forwardRef:a,currentElement:o}=L0(),i=W1(),s=t2(),l=bm(!1)
;async function c(){const e=o.value;if(!n.disabled&&e){
const e=new CustomEvent("menu.itemSelect",{bubbles:!0,cancelable:!0})
;r("select",e),await Xm(),e.defaultPrevented?l.value=!1:i.onClose()}}
return(e,t)=>(Fb(),Wb(a2,cy(n,{ref:xm(a),onClick:c,
onPointerdown:t[0]||(t[0]=()=>{l.value=!0}),onPointerup:t[1]||(t[1]=async e=>{
var t
;await Xm(),!e.defaultPrevented&&(l.value||null==(t=e.currentTarget)||t.click())
}),onKeydown:t[2]||(t[2]=async t=>{const n=""!==xm(s).searchRef.value
;e.disabled||n&&" "===t.key||xm(f1).includes(t.key)&&(t.currentTarget.click(),
t.preventDefault())})}),{default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}
}),[i2,s2]=n0(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),l2=Hg({
__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{
type:Boolean},as:{default:"span"}},setup(e){const t=i2({checked:bm(!1)})
;return(e,n)=>(Fb(),Wb(xm(J0),{
present:e.forceMount||xm(O1)(xm(t).checked.value)||!0===xm(t).checked.value},{
default:ig((()=>[ey(xm(G0),{as:e.as,"as-child":e.asChild,
"data-state":xm(w1)(xm(t).checked.value)},{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["as","as-child","data-state"])])),_:3},8,["present"]))}}),c2=Hg({
__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},
disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},
emits:["select","update:checked"],setup(e,{emit:t}){
const n=e,r=t,a=y0(n,"checked",r);return s2({checked:a}),(e,t)=>(Fb(),Wb(o2,cy({
role:"menuitemcheckbox"},n,{"aria-checked":xm(O1)(xm(a))?"mixed":xm(a),
"data-state":xm(w1)(xm(a)),onSelect:t[0]||(t[0]=async e=>{
r("select",e),xm(O1)(xm(a))?a.value=!0:a.value=!xm(a)})}),{
default:ig((()=>[Av(e.$slots,"default",{checked:xm(a)})])),_:3
},16,["aria-checked","data-state"]))}}),u2=Hg({__name:"MenuRootContentModal",
props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},
avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},
arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},
updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{
type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],
setup(e,{emit:t}){
const n=t,r=R0(e,n),a=V1(),{forwardRef:o,currentElement:i}=L0()
;return function(e){let t;mg((()=>m0(e)),(e=>{e?t=H0(e):t&&t()})),hv((()=>{
t&&t()}))}(i),(e,t)=>(Fb(),Wb(r2,cy(xm(r),{ref:xm(o),
"trap-focus":xm(a).open.value,"disable-outside-pointer-events":xm(a).open.value,
"disable-outside-scroll":!0,onDismiss:t[0]||(t[0]=e=>xm(a).onOpenChange(!1)),
onFocusOutside:t[1]||(t[1]=zO((e=>n("focusOutside",e)),["prevent"]))}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["trap-focus","disable-outside-pointer-events"]))}}),d2=Hg({
__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},
sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},
collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},
hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{
type:Boolean},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],
setup(e,{emit:t}){const n=R0(e,t),r=V1();return(e,t)=>(Fb(),Wb(r2,cy(xm(n),{
"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,
onDismiss:t[0]||(t[0]=e=>xm(r).onOpenChange(!1))}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),p2=Hg({
__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},
side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},
collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},
hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{
type:Boolean},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],
setup(e,{emit:t}){const n=R0(e,t),r=V1(),a=W1();return(e,t)=>(Fb(),Wb(xm(J0),{
present:e.forceMount||xm(r).open.value},{
default:ig((()=>[xm(a).modal.value?(Fb(),Wb(u2,Mh(cy({key:0},{...e.$attrs,
...xm(n)})),{default:ig((()=>[Av(e.$slots,"default")])),_:3
},16)):(Fb(),Wb(d2,Mh(cy({key:1},{...e.$attrs,...xm(n)})),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))])),_:3},8,["present"]))}
}),h2=Hg({__name:"MenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){
const t=e;return(e,n)=>(Fb(),Wb(xm(G0),cy({role:"group"},t),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),f2=Hg({
__name:"MenuLabel",props:{asChild:{type:Boolean},as:{default:"div"}},setup(e){
const t=e;return(e,n)=>(Fb(),Wb(xm(G0),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),m2=Hg({
__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{
type:Boolean}},setup(e){const t=e;return(e,n)=>(Fb(),Wb(xm(e1),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}
}),[g2,v2]=n0("MenuRadioGroup"),b2=Hg({__name:"MenuRadioGroup",props:{
modelValue:{default:""},asChild:{type:Boolean},as:{}},
emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=y0(n,"modelValue",t)
;return v2({modelValue:r,onValueChange:e=>{r.value=e}
}),(e,t)=>(Fb(),Wb(h2,Mh(ty(n)),{default:ig((()=>[Av(e.$slots,"default",{
modelValue:xm(r)})])),_:3},16))}}),y2=Hg({__name:"MenuRadioItem",props:{
value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},
emits:["select"],setup(e,{emit:t}){
const n=e,r=t,{value:a}=Em(n),o=g2(),i=Ty((()=>o.modelValue.value===(null==a?void 0:a.value)))
;return s2({checked:i}),(e,t)=>(Fb(),Wb(o2,cy({role:"menuitemradio"},n,{
"aria-checked":i.value,"data-state":xm(w1)(i.value),
onSelect:t[0]||(t[0]=async e=>{r("select",e),xm(o).onValueChange(xm(a))})}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["aria-checked","data-state"]))}}),O2=Hg({__name:"MenuSeparator",props:{
asChild:{type:Boolean},as:{}},setup(e){const t=e
;return(e,n)=>(Fb(),Wb(xm(G0),cy(t,{role:"separator",
"aria-orientation":"horizontal"}),{default:ig((()=>[Av(e.$slots,"default")])),
_:3},16))}}),[w2,x2]=n0("MenuSub"),k2=Hg({__name:"MenuSub",props:{open:{
type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){
const n=y0(e,"open",t,{defaultValue:!1,passive:void 0===e.open
}),r=V1(),a=bm(),o=bm();return fg((e=>{
!1===(null==r?void 0:r.open.value)&&(n.value=!1),e((()=>n.value=!1))})),q1({
open:n,onOpenChange:e=>{n.value=e},content:o,onContentChange:e=>{o.value=e}
}),x2({triggerId:"",contentId:"",trigger:a,onTriggerChange:e=>{a.value=e}
}),(e,t)=>(Fb(),Wb(xm(_1),null,{default:ig((()=>[Av(e.$slots,"default")])),_:3
}))}}),S2=Hg({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{
type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},
collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},
hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{
type:Boolean,default:!0},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],
setup(e,{emit:t}){
const n=R0(e,t),r=V1(),a=W1(),o=w2(),{forwardRef:i,currentElement:s}=L0()
;return o.contentId||(o.contentId=V0(0,"radix-vue-menu-sub-content")),
(e,t)=>(Fb(),Wb(xm(J0),{present:e.forceMount||xm(r).open.value},{
default:ig((()=>[ey(r2,cy(xm(n),{id:xm(o).contentId,ref:xm(i),
"aria-labelledby":xm(o).triggerId,align:"start",
side:"rtl"===xm(a).dir.value?"left":"right","disable-outside-pointer-events":!1,
"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:t[0]||(t[0]=zO((e=>{
var t;xm(a).isUsingKeyboardRef.value&&(null==(t=xm(s))||t.focus())
}),["prevent"])),onCloseAutoFocus:t[1]||(t[1]=zO((()=>{}),["prevent"])),
onFocusOutside:t[2]||(t[2]=e=>{
e.defaultPrevented||e.target!==xm(o).trigger.value&&xm(r).onOpenChange(!1)}),
onEscapeKeyDown:t[3]||(t[3]=e=>{xm(a).onClose(),e.preventDefault()}),
onKeydown:t[4]||(t[4]=e=>{var t,n
;const i=null==(t=e.currentTarget)?void 0:t.contains(e.target),s=xm(b1)[xm(a).dir.value].includes(e.key)
;i&&s&&(xm(r).onOpenChange(!1),
null==(n=xm(o).trigger.value)||n.focus(),e.preventDefault())})}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["id","aria-labelledby","side"])])),_:3},8,["present"]))}}),_2=Hg({
__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{
type:Boolean},as:{}},setup(e){const t=e,n=V1(),r=W1(),a=w2(),o=t2(),i=bm(null)
;function s(){i.value&&window.clearTimeout(i.value),i.value=null}function l(e){
!x1(e)||o.onItemEnter(e)||!t.disabled&&!n.open.value&&!i.value&&(o.onPointerGraceIntentChange(null),
i.value=window.setTimeout((()=>{n.onOpenChange(!0),s()}),100))}
async function c(e){var t,r;if(!x1(e))return;s()
;const a=null==(t=n.content.value)?void 0:t.getBoundingClientRect()
;if(null!=a&&a.width){
const t=null==(r=n.content.value)?void 0:r.dataset.side,i="right"===t,s=i?-5:5,l=a[i?"left":"right"],c=a[i?"right":"left"]
;o.onPointerGraceIntentChange({area:[{x:e.clientX+s,y:e.clientY},{x:l,y:a.top},{
x:c,y:a.top},{x:c,y:a.bottom},{x:l,y:a.bottom}],side:t
}),window.clearTimeout(o.pointerGraceTimerRef.value),
o.pointerGraceTimerRef.value=window.setTimeout((()=>o.onPointerGraceIntentChange(null)),300)
}else{if(o.onTriggerLeave(e))return;o.onPointerGraceIntentChange(null)}}
async function u(e){var a;const i=""!==o.searchRef.value
;t.disabled||i&&" "===e.key||v1[r.dir.value].includes(e.key)&&(n.onOpenChange(!0),
await Xm(),null==(a=n.content.value)||a.focus(),e.preventDefault())}
return a.triggerId||(a.triggerId=V0(0,"radix-vue-menu-sub-trigger")),hv((()=>{
s()})),(e,r)=>(Fb(),Wb(F1,{"as-child":""},{default:ig((()=>[ey(a2,cy(t,{
id:xm(a).triggerId,ref:e=>{var t
;null==(t=xm(a))||t.onTriggerChange(null==e?void 0:e.$el)},
"aria-haspopup":"menu","aria-expanded":xm(n).open.value,
"aria-controls":xm(a).contentId,"data-state":xm(y1)(xm(n).open.value),
onClick:r[0]||(r[0]=async e=>{
t.disabled||e.defaultPrevented||(e.currentTarget.focus(),
xm(n).open.value||xm(n).onOpenChange(!0))}),onPointermove:l,onPointerleave:c,
onKeydown:u}),{default:ig((()=>[Av(e.$slots,"default")])),_:3
},16,["id","aria-expanded","aria-controls","data-state"])])),_:3}))}
}),[A2,T2]=n0("DropdownMenuRoot"),E2=Hg({__name:"DropdownMenuRoot",props:{
defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{
type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t
;L0();const a=y0(n,"open",r,{defaultValue:n.defaultOpen,passive:void 0===n.open
}),o=bm(),{modal:i,dir:s}=Em(n),l=I0(s);return T2({open:a,onOpenChange:e=>{
a.value=e},onOpenToggle:()=>{a.value=!a.value},triggerId:"",triggerElement:o,
contentId:"",modal:i,dir:l}),(e,t)=>(Fb(),Wb(xm(G1),{open:xm(a),
"onUpdate:open":t[0]||(t[0]=e=>vm(a)?a.value=e:null),dir:xm(l),modal:xm(i)},{
default:ig((()=>[Av(e.$slots,"default",{open:xm(a)})])),_:3
},8,["open","dir","modal"]))}}),C2=Hg({__name:"DropdownMenuTrigger",props:{
disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){
const t=e,n=A2(),{forwardRef:r,currentElement:a}=L0();return cv((()=>{
n.triggerElement=a
})),n.triggerId||(n.triggerId=V0(0,"radix-vue-dropdown-menu-trigger")),
(e,a)=>(Fb(),Wb(xm(F1),{"as-child":""},{default:ig((()=>[ey(xm(G0),{
id:xm(n).triggerId,ref:xm(r),type:"button"===e.as?"button":void 0,
"as-child":t.asChild,as:e.as,"aria-haspopup":"menu",
"aria-expanded":xm(n).open.value,
"aria-controls":xm(n).open.value?xm(n).contentId:void 0,
"data-disabled":e.disabled?"":void 0,disabled:e.disabled,
"data-state":xm(n).open.value?"open":"closed",onClick:a[0]||(a[0]=async t=>{
var r
;!e.disabled&&0===t.button&&!1===t.ctrlKey&&(null==(r=xm(n))||r.onOpenToggle(),
await Xm(),xm(n).open.value&&t.preventDefault())}),
onKeydown:a[1]||(a[1]=FO((t=>{
e.disabled||(["Enter"," "].includes(t.key)&&xm(n).onOpenToggle(),
"ArrowDown"===t.key&&xm(n).onOpenChange(!0),
["Enter"," ","ArrowDown"].includes(t.key)&&t.preventDefault())
}),["enter","space","arrow-down"]))},{
default:ig((()=>[Av(e.$slots,"default")])),_:3
},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])])),
_:3}))}}),$2=Hg({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean
},forceMount:{type:Boolean}},setup(e){const t=e
;return(e,n)=>(Fb(),Wb(xm(m2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),P2=Hg({
__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean
},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},
collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},
hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{
type:Boolean},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],
setup(e,{emit:t}){const n=R0(e,t);L0();const r=A2(),a=bm(!1);function o(e){
e.defaultPrevented||(a.value||setTimeout((()=>{var e
;null==(e=r.triggerElement.value)||e.focus()}),0),a.value=!1,e.preventDefault())
}
return r.contentId||(r.contentId=V0(0,"radix-vue-dropdown-menu-content")),(e,t)=>{
var i;return Fb(),Wb(xm(p2),cy(xm(n),{id:xm(r).contentId,
"aria-labelledby":null==(i=xm(r))?void 0:i.triggerId,style:{
"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)",
"--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)",
"--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)",
"--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)",
"--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},
onCloseAutoFocus:o,onInteractOutside:t[0]||(t[0]=e=>{var t
;if(e.defaultPrevented)return
;const n=e.detail.originalEvent,o=0===n.button&&!0===n.ctrlKey,i=2===n.button||o
;(!xm(r).modal.value||i)&&(a.value=!0),
null!=(t=xm(r).triggerElement.value)&&t.contains(e.target)&&e.preventDefault()})
}),{default:ig((()=>[Av(e.$slots,"default")])),_:3},16,["id","aria-labelledby"])
}}}),I2=Hg({__name:"DropdownMenuArrow",props:{width:{default:10},height:{
default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e
;return L0(),(e,n)=>(Fb(),Wb(xm(H1),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),D2=Hg({
__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{
type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){const n=e,r=D0(t)
;return L0(),(e,t)=>(Fb(),Wb(xm(o2),Mh(ty({...n,...xm(r)})),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),M2=Hg({
__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){
const t=e;return L0(),(e,n)=>(Fb(),Wb(xm(h2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),N2=Hg({
__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(e){
const t=e;return L0(),(e,n)=>(Fb(),Wb(xm(O2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),R2=Hg({
__name:"DropdownMenuCheckboxItem",props:{checked:{type:[Boolean,String]},
disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},
emits:["select","update:checked"],setup(e,{emit:t}){const n=e,r=D0(t)
;return L0(),(e,t)=>(Fb(),Wb(xm(c2),Mh(ty({...n,...xm(r)})),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),L2=Hg({
__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{
type:Boolean},as:{}},setup(e){const t=e
;return L0(),(e,n)=>(Fb(),Wb(xm(l2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),B2=Hg({
__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{}},setup(e){
const t=e;return L0(),(e,n)=>(Fb(),Wb(xm(f2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),j2=Hg({
__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},
as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=D0(t)
;return L0(),(e,t)=>(Fb(),Wb(xm(b2),Mh(ty({...n,...xm(r)})),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),U2=Hg({
__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},
textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(e,{emit:t}){
const n=R0(e,t);return L0(),(e,t)=>(Fb(),Wb(xm(y2),Mh(ty(xm(n))),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),z2=Hg({
__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,
default:void 0}},emits:["update:open"],setup(e,{emit:t}){
const n=e,r=y0(n,"open",t,{passive:void 0===n.open,
defaultValue:n.defaultOpen??!1});return L0(),(e,t)=>(Fb(),Wb(xm(k2),{open:xm(r),
"onUpdate:open":t[0]||(t[0]=e=>vm(r)?r.value=e:null)},{
default:ig((()=>[Av(e.$slots,"default",{open:xm(r)})])),_:3},8,["open"]))}
}),Z2=Hg({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},
loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},
collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},
hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{
type:Boolean},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],
setup(e,{emit:t}){const n=R0(e,t);return L0(),(e,t)=>(Fb(),Wb(xm(S2),cy(xm(n),{
style:{
"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)",
"--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)",
"--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)",
"--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)",
"--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),F2=Hg({
__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},
asChild:{type:Boolean},as:{}},setup(e){const t=e
;return L0(),(e,n)=>(Fb(),Wb(xm(_2),Mh(ty(t)),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}});!function(){
if("function"==typeof matchMedia)matchMedia("(pointer:coarse)").matches}()
;const H2={class:"custom-scroll min-h-0 flex-1"},Q2={
class:"flex flex-col p-0.75"},V2=Hg({inheritAttrs:!1,
__name:"ScalarDropdownMenu",props:{is:{}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),Wb(wv(e.is??"div"),Mh(ty(xm(t)("relative flex w-56"))),{
default:ig((()=>[Jb("div",H2,[Av(n.$slots,"menu",{},(()=>[Jb("div",Q2,[Av(n.$slots,"default")])])),Av(n.$slots,"backdrop",{},(()=>[ey(xm(KJ))]))])])),
_:3},16))}}),q2=Symbol()
;const W2=["id","aria-activedescendant","aria-labelledby","onKeydown"],X2=Hg({
inheritAttrs:!1,__name:"ScalarDropdown",props:Bv({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){
const t=bm(),n=bm(),r=tb(e,"open"),{active:a}=function(){const e=bm()
;return cg(q2,e),{active:e}}(),o=Qg(),i=bm(o),s=Qg();async function l(){
r.value=!r.value,await Xm(),r.value&&n.value?.focus()}async function c(e){
["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(e.preventDefault(),
r.value||(r.value=!0),
await Xm(),n.value?.focus(),["ArrowDown"," ","Enter"].includes(e.key)?p(1):"ArrowUp"===e.key&&p(-1))
}async function u(){t.value?.targetRef?.focus(),r.value=!1}function d(){
if(!a.value||!n.value)return
;const e=n.value.querySelector(`#${a.value}[role="menuitem"]:not([aria-disabled="true"])`)
;e&&(e.click(),u())}function p(e){if(!r.value||!n.value)return
;const t=Array.from(n.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'))
;if(0===t.length)return;const o=t.findIndex((e=>e.id===a.value));if(-1===o){
const n=t[e>0?0:t.length-1];return void(n?.id&&(a.value=n.id))}const i=o+e
;if(i<0||i>t.length-1)return;const s=t[i];s?.id&&(a.value=s.id)}
mg((()=>t.value?.targetRef),((e,t)=>{
e&&(e.id?i.value=e.id:(i.value=o,e.setAttribute("id",i.value)),
e.setAttribute("aria-haspopup","menu"),
e.setAttribute("aria-expanded",`${r.value}`),
r.value&&e.setAttribute("aria-controls",s),
e.addEventListener("click",l),e.addEventListener("keydown",c)),
t&&t!==e&&(t.id===o&&t.removeAttribute("id"),t.removeAttribute("aria-controls"),
t.removeAttribute("aria-haspopup"),
t.removeAttribute("aria-expanded"),t.removeEventListener("click",l),
t.removeEventListener("keydown",c))}),{immediate:!0}),mg(r,(e=>{
const n=t.value?.targetRef
;n&&(n.setAttribute("aria-expanded",`${e}`),e?n.setAttribute("aria-controls",s):n.removeAttribute("aria-controls"))
}),{immediate:!0}),OY(n,u,{ignore:[Ty((()=>t.value?.targetRef))]})
;const{cx:h}=h_();return(o,l)=>(Fb(),Wb(xm(YJ),cy({ref_key:"floatingRef",ref:t
},o.$props,{placement:e.placement??"bottom-start"}),_v({
default:ig((()=>[Av(o.$slots,"default",{open:r.value})])),_:2},[r.value?{
name:"floating",fn:ig((({width:e})=>[ey(V2,cy({style:{width:e}
},xm(h)("max-h-[inherit] max-w-[inherit]")),{menu:ig((()=>[Jb("div",{id:xm(s),
ref_key:"menuRef",ref:n,"aria-activedescendant":xm(a),"aria-labelledby":i.value,
class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",
onClick:zO(u,["stop"]),
onKeydown:[l[0]||(l[0]=FO(zO((e=>p(1)),["prevent","stop"]),["down"])),FO(zO(d,["prevent","stop"]),["enter"]),FO(zO(u,["prevent","stop"]),["escape"]),FO(zO(d,["prevent","stop"]),["space"]),FO(zO(u,["prevent","stop"]),["tab"]),l[1]||(l[1]=FO(zO((e=>p(-1)),["prevent","stop"]),["up"]))]
},[Av(o.$slots,"items",{open:r.value})],40,W2)])),_:3},16,["style"])])),key:"0"
}:void 0]),1040,["placement"]))}}),G2={key:1,
class:"rounded border bg-b-2 p-3 text-sm"},Y2={key:0,
class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},K2=Hg({
__name:"ScalarErrorBoundary",setup(e){const t=bm(!1),n=bm()
;return vv(((e,r,a)=>(console.error("[ERROR]",e,a),
t.value=!0,n.value=e,!1))),(e,r)=>t.value?(Fb(),
qb("div",G2,[r[0]||(r[0]=Jb("div",{class:"p-2"
},"Oops, something went wrong here.",-1)),n.value?(Fb(),
qb("div",Y2,Uh(n.value?.name)+": "+Uh(n.value?.message),1)):oy("",!0)])):Av(e.$slots,"default",{
key:0})}
}),J2=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],e4=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],t4=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],n4=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],r4=(e,t,n)=>{
let r=e
;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):!0!==t&&void 0===n||(r=e.toLocaleString(void 0,n)),
r},a4=e=>{if("number"==typeof e)return Math.log10(e);const t=e.toString(10)
;return t.length+Math.log10(`0.${t.slice(0,15)}`)},o4=(e,t)=>{
if(void 0===t)return e
;if("number"!=typeof t||!Number.isSafeInteger(t)||t<0)throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof t}: ${t}`)
;return 0===t?e:e.length<t?e.padStart(t," "):e};function i4(e,t){
if("bigint"!=typeof e&&!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)
;const n=(t={bits:!1,binary:!1,space:!0,nonBreakingSpace:!1,...t
}).bits?t.binary?n4:t4:t.binary?e4:J2,r=t.space?t.nonBreakingSpace?" ":" ":"",a="number"==typeof e?0===e:0n===e
;if(t.signed&&a){return o4(` 0${r}${n[0]}`,t.fixedWidth)}
const o=e<0,i=o?"-":t.signed?"+":"";o&&(e=-e);const s=(e=>{
const{minimumFractionDigits:t,maximumFractionDigits:n}=e
;if(void 0!==t||void 0!==n)return{...void 0!==t&&{minimumFractionDigits:t},
...void 0!==n&&{maximumFractionDigits:n},roundingMode:"trunc"}})(t);let l
;if(e<1){l=i+r4(e,t.locale,s)+r+n[0]}else{
const a=Math.min(Math.floor(t.binary?("number"==typeof(c=e)?Math.log(c):a4(c)*Math.log(10))/Math.log(1024):a4(e)/3),n.length-1)
;if(e=((e,t)=>{if("number"==typeof e)return e/t
;const n=e/BigInt(t),r=e%BigInt(t);return Number(n)+Number(r)/t
})(e,(t.binary?1024:1e3)**a),!s){
const t=Math.max(3,Math.floor(e).toString().length);e=e.toPrecision(t)}
l=i+r4(Number(e),t.locale,s)+r+n[a]}var c;return o4(l,t.fixedWidth)}const s4={
key:0,
class:"flex items-start justify-between gap-2 text-sm leading-none text-c-1 whitespace-nowrap font-medium"
},l4=Hg({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},
setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),Wb(wv(e.is),Mh(ty(xm(t)("flex flex-col gap-1.5 rounded"))),{
default:ig((()=>[n.$slots.label?(Fb(),
qb("div",s4,[Av(n.$slots,"label")])):oy("",!0),Av(n.$slots,"default"),n.$slots.below?(Fb(),
qb("span",{key:1,class:Dh(xm(t)("-mt-1.5 text-sm"))
},[Av(n.$slots,"below")],2)):oy("",!0)])),_:3},16))}}),c4=Hg({inheritAttrs:!1,
__name:"ScalarHeaderButton",props:{is:{default:"button"},active:{type:Boolean}},
setup(e){const t=d_({
base:"group/button flex items-center rounded px-2.5 py-1.5 font-medium no-underline leading-3 ",
variants:{active:{true:"bg-b-3 cursor-default",
false:"bg-transparent hover:bg-b-3 cursor-pointer"}}}),{cx:n}=h_()
;return(r,a)=>(Fb(),Wb(wv(e.is),cy({type:"button"===e.is?"button":void 0
},xm(n)(xm(t)({active:e.active}))),{default:ig((()=>[Av(r.$slots,"default")])),
_:3},16,["type"]))}
}),u4=()=>"undefined"!=typeof navigator&&(navigator.userAgentData?.platform?navigator.userAgentData.platform.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)),d4={
"⌘":"Command","^":"Control",ctrl:"Control","⌥":"Option",alt:"Alt","⇧":"Shift",
"⇪":"Caps Lock","↵":"Enter","←":"Left Arrow","→":"Right Arrow","↑":"Up Arrow",
"↓":"Down Arrow"},p4={Meta:"⌘",Shift:"⇧",Alt:"⌥",Control:"^"},h4={Meta:"ctrl",
Shift:"⇧",Alt:"alt",Control:"ctrl"};function f4(e,t){
return[...t.map((e=>function(e){const t=function(e){return"default"===e
}(e)?"Meta":e;return u4()?p4[t]:h4[t]}(e))),e]}function m4(e){
return e in d4?d4[e]:e}const g4={"aria-hidden":"true",class:"contents"},v4={
class:"sr-only"},b4=Hg({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},
modifier:{default:()=>["Meta"]}},setup(e){
const{cx:t}=h_(),n=Ty((()=>f4(e.hotkey,e.modifier)))
;return(e,r)=>(Fb(),qb("div",Mh(ty(xm(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"))),[(Fb(!0),
qb(Lb,null,Sv(n.value,((e,t)=>(Fb(),qb("div",{key:t
},[Jb("span",g4,Uh(e),1),Jb("span",v4,Uh(xm(m4)(e)),1)])))),128))],16))}}),y4={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function O4(e,t){return Fb(),qb("svg",y4,[...t[0]||(t[0]=[Jb("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M5 11.988h14M12.006 5v14"},null,-1)])])}const w4={render:O4
},x4=Object.freeze(Object.defineProperty({__proto__:null,default:w4,render:O4
},Symbol.toStringTag,{value:"Module"})),k4={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function S4(e,t){
return Fb(),qb("svg",k4,[...t[0]||(t[0]=[Jb("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)])])}const _4={render:S4},A4=Object.freeze(Object.defineProperty({
__proto__:null,default:_4,render:S4},Symbol.toStringTag,{value:"Module"})),T4={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function E4(e,t){return Fb(),qb("svg",T4,[...t[0]||(t[0]=[Jb("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)])])}const C4={render:E4},$4=Object.freeze(Object.defineProperty({
__proto__:null,default:C4,render:E4},Symbol.toStringTag,{value:"Module"})),P4={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function I4(e,t){
return Fb(),qb("svg",P4,[...t[0]||(t[0]=[Jb("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)])])}const D4={render:I4
},M4=Object.freeze(Object.defineProperty({__proto__:null,default:D4,render:I4
},Symbol.toStringTag,{value:"Module"})),N4={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function R4(e,t){
return Fb(),qb("svg",N4,[...t[0]||(t[0]=[Jb("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)])])}const L4={render:R4
},B4=Object.freeze(Object.defineProperty({__proto__:null,default:L4,render:R4
},Symbol.toStringTag,{value:"Module"})),j4={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function U4(e,t){
return Fb(),qb("svg",j4,[...t[0]||(t[0]=[Jb("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)])])}const z4={render:U4},Z4=Object.freeze(Object.defineProperty({
__proto__:null,default:z4,render:U4},Symbol.toStringTag,{value:"Module"})),F4={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function H4(e,t){return Fb(),qb("svg",F4,[...t[0]||(t[0]=[Jb("path",{
d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),Jb("circle",{cx:"7.6",cy:"4.4",
r:"2.4"},null,-1),Jb("circle",{cx:"7.6",cy:"19.6",r:"2.4"
},null,-1),Jb("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)])])}const Q4={
render:H4},V4=Object.freeze(Object.defineProperty({__proto__:null,default:Q4,
render:H4},Symbol.toStringTag,{value:"Module"})),q4={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function W4(e,t){return Fb(),qb("svg",q4,[...t[0]||(t[0]=[Jb("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),Jb("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),Jb("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)])])}const X4={render:W4},G4=Object.freeze(Object.defineProperty({
__proto__:null,default:X4,render:W4},Symbol.toStringTag,{value:"Module"})),Y4={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function K4(e,t){
return Fb(),qb("svg",Y4,[...t[0]||(t[0]=[Jb("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)])])}const J4={render:K4
},e8=Object.freeze(Object.defineProperty({__proto__:null,default:J4,render:K4
},Symbol.toStringTag,{value:"Module"})),t8={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function n8(e,t){
return Fb(),qb("svg",t8,[...t[0]||(t[0]=[Jb("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"
},null,-1)])])}const r8={render:n8},a8=Object.freeze(Object.defineProperty({
__proto__:null,default:r8,render:n8},Symbol.toStringTag,{value:"Module"})),o8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function i8(e,t){return Fb(),qb("svg",o8,[...t[0]||(t[0]=[Jb("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m14 18-6-6 6-6"},null,-1)])])}const s8={render:i8
},l8=Object.freeze(Object.defineProperty({__proto__:null,default:s8,render:i8
},Symbol.toStringTag,{value:"Module"})),c8={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function u8(e,t){
return Fb(),qb("svg",c8,[...t[0]||(t[0]=[Jb("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"
},null,-1)])])}const d8={render:u8},p8=Object.freeze(Object.defineProperty({
__proto__:null,default:d8,render:u8},Symbol.toStringTag,{value:"Module"})),h8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function f8(e,t){return Fb(),qb("svg",h8,[...t[0]||(t[0]=[Jb("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m18 15-6-6-6 6"},null,-1)])])}const m8={render:f8
},g8=Object.freeze(Object.defineProperty({__proto__:null,default:m8,render:f8
},Symbol.toStringTag,{value:"Module"})),v8={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function b8(e,t){
return Fb(),qb("svg",v8,[...t[0]||(t[0]=[Jb("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)])])}const y8={render:b8},O8=Object.freeze(Object.defineProperty({
__proto__:null,default:y8,render:b8},Symbol.toStringTag,{value:"Module"})),w8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function x8(e,t){return Fb(),qb("svg",w8,[...t[0]||(t[0]=[Jb("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18 6 6 18M6 6l12 12"},null,-1)])])}const k8={render:x8
},S8=Object.freeze(Object.defineProperty({__proto__:null,default:k8,render:x8
},Symbol.toStringTag,{value:"Module"})),_8={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function A8(e,t){
return Fb(),qb("svg",_8,[...t[0]||(t[0]=[Jb("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)])])}const T8={render:A8},E8=Object.freeze(Object.defineProperty({
__proto__:null,default:T8,render:A8},Symbol.toStringTag,{value:"Module"})),C8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function $8(e,t){return Fb(),qb("svg",C8,[...t[0]||(t[0]=[Jb("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)])])}const P8={render:$8},I8=Object.freeze(Object.defineProperty({
__proto__:null,default:P8,render:$8},Symbol.toStringTag,{value:"Module"})),D8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function M8(e,t){return Fb(),qb("svg",D8,[...t[0]||(t[0]=[Jb("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)])])}const N8={render:M8},R8=Object.freeze(Object.defineProperty({
__proto__:null,default:N8,render:M8},Symbol.toStringTag,{value:"Module"})),L8={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function B8(e,t){
return Fb(),qb("svg",L8,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const j8={
render:B8},U8=Object.freeze(Object.defineProperty({__proto__:null,default:j8,
render:B8},Symbol.toStringTag,{value:"Module"})),z8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Z8(e,t){return Fb(),qb("svg",z8,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const F8={render:Z8},H8=Object.freeze(Object.defineProperty({
__proto__:null,default:F8,render:Z8},Symbol.toStringTag,{value:"Module"})),Q8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function V8(e,t){return Fb(),qb("svg",Q8,[...t[0]||(t[0]=[Jb("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)])])}const q8={render:V8},W8=Object.freeze(Object.defineProperty({
__proto__:null,default:q8,render:V8},Symbol.toStringTag,{value:"Module"})),X8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function G8(e,t){return Fb(),qb("svg",X8,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const Y8={render:G8},K8=Object.freeze(Object.defineProperty({
__proto__:null,default:Y8,render:G8},Symbol.toStringTag,{value:"Module"})),J8={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function e6(e,t){return Fb(),qb("svg",J8,[...t[0]||(t[0]=[Jb("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)])])}const t6={render:e6},n6=Object.freeze(Object.defineProperty({
__proto__:null,default:t6,render:e6},Symbol.toStringTag,{value:"Module"})),r6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function a6(e,t){return Fb(),qb("svg",r6,[...t[0]||(t[0]=[Jb("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)])])}const o6={render:a6},i6=Object.freeze(Object.defineProperty({
__proto__:null,default:o6,render:a6},Symbol.toStringTag,{value:"Module"})),s6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function l6(e,t){return Fb(),qb("svg",s6,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const c6={render:l6},u6=Object.freeze(Object.defineProperty({
__proto__:null,default:c6,render:l6},Symbol.toStringTag,{value:"Module"})),d6={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function p6(e,t){
return Fb(),qb("svg",d6,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}
const h6={render:p6},f6=Object.freeze(Object.defineProperty({__proto__:null,
default:h6,render:p6},Symbol.toStringTag,{value:"Module"})),m6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function g6(e,t){return Fb(),qb("svg",m6,[...t[0]||(t[0]=[Jb("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)])])}const v6={render:g6},b6=Object.freeze(Object.defineProperty({
__proto__:null,default:v6,render:g6},Symbol.toStringTag,{value:"Module"})),y6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function O6(e,t){return Fb(),qb("svg",y6,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const w6={render:O6},x6=Object.freeze(Object.defineProperty({
__proto__:null,default:w6,render:O6},Symbol.toStringTag,{value:"Module"})),k6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function S6(e,t){return Fb(),qb("svg",k6,[...t[0]||(t[0]=[Jb("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)])])}const _6={render:S6},A6=Object.freeze(Object.defineProperty({
__proto__:null,default:_6,render:S6},Symbol.toStringTag,{value:"Module"})),T6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function E6(e,t){return Fb(),qb("svg",T6,[...t[0]||(t[0]=[Jb("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)])])}const C6={render:E6},$6=Object.freeze(Object.defineProperty({
__proto__:null,default:C6,render:E6},Symbol.toStringTag,{value:"Module"})),P6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function I6(e,t){return Fb(),qb("svg",P6,[...t[0]||(t[0]=[Jb("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),Jb("path",{
d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)])])}
const D6={render:I6},M6=Object.freeze(Object.defineProperty({__proto__:null,
default:D6,render:I6},Symbol.toStringTag,{value:"Module"})),N6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function R6(e,t){return Fb(),qb("svg",N6,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}
const L6={render:R6},B6=Object.freeze(Object.defineProperty({__proto__:null,
default:L6,render:R6},Symbol.toStringTag,{value:"Module"})),j6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function U6(e,t){return Fb(),qb("svg",j6,[...t[0]||(t[0]=[Jb("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)])])}const z6={render:U6},Z6=Object.freeze(Object.defineProperty({
__proto__:null,default:z6,render:U6},Symbol.toStringTag,{value:"Module"})),F6={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function H6(e,t){return Fb(),qb("svg",F6,[...t[0]||(t[0]=[Jb("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)])])}const Q6={render:H6
},V6=Object.freeze(Object.defineProperty({__proto__:null,default:Q6,render:H6
},Symbol.toStringTag,{value:"Module"})),q6={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function W6(e,t){
return Fb(),qb("svg",q6,[...t[0]||(t[0]=[Jb("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)])])}const X6={render:W6
},G6=Object.freeze(Object.defineProperty({__proto__:null,default:X6,render:W6
},Symbol.toStringTag,{value:"Module"})),Y6={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function K6(e,t){
return Fb(),qb("svg",Y6,[...t[0]||(t[0]=[Jb("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)])])}const J6={render:K6},e3=Object.freeze(Object.defineProperty({
__proto__:null,default:J6,render:K6},Symbol.toStringTag,{value:"Module"})),t3={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"}
;function n3(e,t){return Fb(),qb("svg",t3,[...t[0]||(t[0]=[Jb("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)])])}const r3={render:n3},a3=Object.freeze(Object.defineProperty({
__proto__:null,default:r3,render:n3},Symbol.toStringTag,{value:"Module"})),o3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function i3(e,t){return Fb(),qb("svg",o3,[...t[0]||(t[0]=[Jb("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)])])}const s3={render:i3},l3=Object.freeze(Object.defineProperty({
__proto__:null,default:s3,render:i3},Symbol.toStringTag,{value:"Module"})),c3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function u3(e,t){return Fb(),qb("svg",c3,[...t[0]||(t[0]=[Jb("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)])])}const d3={render:u3},p3=Object.freeze(Object.defineProperty({
__proto__:null,default:d3,render:u3},Symbol.toStringTag,{value:"Module"})),h3={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function f3(e,t){return Fb(),qb("svg",h3,[...t[0]||(t[0]=[Jb("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)])])}const m3={render:f3},g3=Object.freeze(Object.defineProperty({
__proto__:null,default:m3,render:f3},Symbol.toStringTag,{value:"Module"})),v3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function b3(e,t){return Fb(),qb("svg",v3,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const y3={render:b3},O3=Object.freeze(Object.defineProperty({
__proto__:null,default:y3,render:b3},Symbol.toStringTag,{value:"Module"})),w3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function x3(e,t){return Fb(),qb("svg",w3,[...t[0]||(t[0]=[Jb("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)])])}const k3={render:x3},S3=Object.freeze(Object.defineProperty({
__proto__:null,default:k3,render:x3},Symbol.toStringTag,{value:"Module"})),_3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function A3(e,t){return Fb(),qb("svg",_3,[...t[0]||(t[0]=[Jb("path",{
d:"M12.9 6.8v6.1h4.7"},null,-1),Jb("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)])])}const T3={render:A3},E3=Object.freeze(Object.defineProperty({
__proto__:null,default:T3,render:A3},Symbol.toStringTag,{value:"Module"})),C3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function $3(e,t){return Fb(),qb("svg",C3,[...t[0]||(t[0]=[Jb("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)])])}const P3={render:$3},I3=Object.freeze(Object.defineProperty({
__proto__:null,default:P3,render:$3},Symbol.toStringTag,{value:"Module"})),D3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function M3(e,t){return Fb(),qb("svg",D3,[...t[0]||(t[0]=[Jb("path",{
d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),Jb("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),Jb("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)])])}const N3={render:M3},R3=Object.freeze(Object.defineProperty({
__proto__:null,default:N3,render:M3},Symbol.toStringTag,{value:"Module"})),L3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function B3(e,t){return Fb(),qb("svg",L3,[...t[0]||(t[0]=[Jb("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),Jb("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),Jb("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)])])}
const j3={render:B3},U3=Object.freeze(Object.defineProperty({__proto__:null,
default:j3,render:B3},Symbol.toStringTag,{value:"Module"})),z3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Z3(e,t){return Fb(),qb("svg",z3,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const F3={render:Z3},H3=Object.freeze(Object.defineProperty({
__proto__:null,default:F3,render:Z3},Symbol.toStringTag,{value:"Module"})),Q3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function V3(e,t){return Fb(),qb("svg",Q3,[...t[0]||(t[0]=[Jb("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)])])}const q3={render:V3},W3=Object.freeze(Object.defineProperty({
__proto__:null,default:q3,render:V3},Symbol.toStringTag,{value:"Module"})),X3={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function G3(e,t){return Fb(),qb("svg",X3,[...t[0]||(t[0]=[Jb("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)])])}const Y3={render:G3},K3=Object.freeze(Object.defineProperty({
__proto__:null,default:Y3,render:G3},Symbol.toStringTag,{value:"Module"})),J3={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function e5(e,t){
return Fb(),qb("svg",J3,[...t[0]||(t[0]=[Jb("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)])])}const t5={render:e5},n5=Object.freeze(Object.defineProperty({
__proto__:null,default:t5,render:e5},Symbol.toStringTag,{value:"Module"})),r5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function a5(e,t){return Fb(),qb("svg",r5,[...t[0]||(t[0]=[Jb("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)])])}const o5={render:a5},i5=Object.freeze(Object.defineProperty({
__proto__:null,default:o5,render:a5},Symbol.toStringTag,{value:"Module"})),s5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function l5(e,t){return Fb(),qb("svg",s5,[...t[0]||(t[0]=[Jb("path",{
d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Jb("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)])])}const c5={render:l5},u5=Object.freeze(Object.defineProperty({
__proto__:null,default:c5,render:l5},Symbol.toStringTag,{value:"Module"})),d5={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"}
;function p5(e,t){return Fb(),qb("svg",d5,[...t[0]||(t[0]=[Jb("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)])])}const h5={render:p5},f5=Object.freeze(Object.defineProperty({
__proto__:null,default:h5,render:p5},Symbol.toStringTag,{value:"Module"})),m5={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function g5(e,t){
return Fb(),qb("svg",m5,[...t[0]||(t[0]=[Jb("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)])])}const v5={render:g5},b5=Object.freeze(Object.defineProperty({
__proto__:null,default:v5,render:g5},Symbol.toStringTag,{value:"Module"})),y5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function O5(e,t){return Fb(),qb("svg",y5,[...t[0]||(t[0]=[Jb("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)])])}const w5={render:O5},x5=Object.freeze(Object.defineProperty({
__proto__:null,default:w5,render:O5},Symbol.toStringTag,{value:"Module"})),k5={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function S5(e,t){
return Fb(),qb("svg",k5,[...t[0]||(t[0]=[Jb("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 6.8H2m20 10.4H2"},null,-1)])])}const _5={render:S5
},A5=Object.freeze(Object.defineProperty({__proto__:null,default:_5,render:S5
},Symbol.toStringTag,{value:"Module"})),T5={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function E5(e,t){
return Fb(),qb("svg",T5,[...t[0]||(t[0]=[Jb("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)])])}const C5={render:E5},$5=Object.freeze(Object.defineProperty({
__proto__:null,default:C5,render:E5},Symbol.toStringTag,{value:"Module"})),P5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function I5(e,t){return Fb(),qb("svg",P5,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const D5={render:I5},M5=Object.freeze(Object.defineProperty({
__proto__:null,default:D5,render:I5},Symbol.toStringTag,{value:"Module"})),N5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function R5(e,t){return Fb(),qb("svg",N5,[...t[0]||(t[0]=[Jb("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)])])}const L5={render:R5},B5=Object.freeze(Object.defineProperty({
__proto__:null,default:L5,render:R5},Symbol.toStringTag,{value:"Module"})),j5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function U5(e,t){return Fb(),qb("svg",j5,[...t[0]||(t[0]=[Jb("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)])])}const z5={render:U5},Z5=Object.freeze(Object.defineProperty({
__proto__:null,default:z5,render:U5},Symbol.toStringTag,{value:"Module"})),F5={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function H5(e,t){
return Fb(),qb("svg",F5,[...t[0]||(t[0]=[Jb("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)])])}const Q5={render:H5},V5=Object.freeze(Object.defineProperty({
__proto__:null,default:Q5,render:H5},Symbol.toStringTag,{value:"Module"})),q5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function W5(e,t){return Fb(),qb("svg",q5,[...t[0]||(t[0]=[Jb("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)])])}const X5={render:W5},G5=Object.freeze(Object.defineProperty({
__proto__:null,default:X5,render:W5},Symbol.toStringTag,{value:"Module"})),Y5={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function K5(e,t){return Fb(),qb("svg",Y5,[...t[0]||(t[0]=[Jb("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)])])}const J5={render:K5},e7=Object.freeze(Object.defineProperty({
__proto__:null,default:J5,render:K5},Symbol.toStringTag,{value:"Module"})),t7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function n7(e,t){return Fb(),qb("svg",t7,[...t[0]||(t[0]=[Jb("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)])])}const r7={
render:n7},a7=Object.freeze(Object.defineProperty({__proto__:null,default:r7,
render:n7},Symbol.toStringTag,{value:"Module"})),o7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function i7(e,t){return Fb(),qb("svg",o7,[...t[0]||(t[0]=[Jb("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),Jb("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),Jb("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)])])}const s7={render:i7
},l7=Object.freeze(Object.defineProperty({__proto__:null,default:s7,render:i7
},Symbol.toStringTag,{value:"Module"})),c7={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function u7(e,t){
return Fb(),qb("svg",c7,[...t[0]||(t[0]=[Jb("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)])])}const d7={render:u7},p7=Object.freeze(Object.defineProperty({
__proto__:null,default:d7,render:u7},Symbol.toStringTag,{value:"Module"})),h7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function f7(e,t){return Fb(),qb("svg",h7,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const m7={render:f7
},g7=Object.freeze(Object.defineProperty({__proto__:null,default:m7,render:f7
},Symbol.toStringTag,{value:"Module"})),v7={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function b7(e,t){
return Fb(),qb("svg",v7,[...t[0]||(t[0]=[Jb("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)])])}const y7={render:b7
},O7=Object.freeze(Object.defineProperty({__proto__:null,default:y7,render:b7
},Symbol.toStringTag,{value:"Module"})),w7={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function x7(e,t){
return Fb(),qb("svg",w7,[...t[0]||(t[0]=[Jb("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M13 15h5M6 9l4 3-4 3"},null,-1),Jb("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)])])}const k7={render:x7},S7=Object.freeze(Object.defineProperty({
__proto__:null,default:k7,render:x7},Symbol.toStringTag,{value:"Module"})),_7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function A7(e,t){return Fb(),qb("svg",_7,[...t[0]||(t[0]=[Jb("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)])])}const T7={render:A7},E7=Object.freeze(Object.defineProperty({
__proto__:null,default:T7,render:A7},Symbol.toStringTag,{value:"Module"})),C7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function $7(e,t){return Fb(),qb("svg",C7,[...t[0]||(t[0]=[Jb("path",{
d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Jb("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)])])}const P7={render:$7},I7=Object.freeze(Object.defineProperty({
__proto__:null,default:P7,render:$7},Symbol.toStringTag,{value:"Module"})),D7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function M7(e,t){return Fb(),qb("svg",D7,[...t[0]||(t[0]=[Jb("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)])])}const N7={render:M7},R7=Object.freeze(Object.defineProperty({
__proto__:null,default:N7,render:M7},Symbol.toStringTag,{value:"Module"})),L7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function B7(e,t){return Fb(),qb("svg",L7,[...t[0]||(t[0]=[Jb("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)])])}const j7={render:B7
},U7=Object.freeze(Object.defineProperty({__proto__:null,default:j7,render:B7
},Symbol.toStringTag,{value:"Module"})),z7={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function Z7(e,t){
return Fb(),qb("svg",z7,[...t[0]||(t[0]=[Jb("path",{
d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),Jb("circle",{cx:"12",
cy:"6.2",r:"4.5"},null,-1)])])}const F7={render:Z7
},H7=Object.freeze(Object.defineProperty({__proto__:null,default:F7,render:Z7
},Symbol.toStringTag,{value:"Module"})),Q7={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function V7(e,t){
return Fb(),qb("svg",Q7,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const q7={render:V7},W7=Object.freeze(Object.defineProperty({
__proto__:null,default:q7,render:V7},Symbol.toStringTag,{value:"Module"})),X7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function G7(e,t){return Fb(),qb("svg",X7,[...t[0]||(t[0]=[Jb("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)])])}const Y7={render:G7},K7=Object.freeze(Object.defineProperty({
__proto__:null,default:Y7,render:G7},Symbol.toStringTag,{value:"Module"})),J7={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function e9(e,t){return Fb(),qb("svg",J7,[...t[0]||(t[0]=[Jb("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)])])}const t9={render:e9},n9=Object.freeze(Object.defineProperty({
__proto__:null,default:t9,render:e9},Symbol.toStringTag,{value:"Module"})),r9={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function a9(e,t){return Fb(),qb("svg",r9,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const o9={render:a9},i9=Object.freeze(Object.defineProperty({
__proto__:null,default:o9,render:a9},Symbol.toStringTag,{value:"Module"})),s9={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function l9(e,t){return Fb(),qb("svg",s9,[...t[0]||(t[0]=[Jb("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)])])}const c9={render:l9},u9=Object.freeze(Object.defineProperty({
__proto__:null,default:c9,render:l9},Symbol.toStringTag,{value:"Module"})),d9={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function p9(e,t){return Fb(),qb("svg",d9,[...t[0]||(t[0]=[Jb("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)])])}const h9={render:p9},f9=Object.freeze(Object.defineProperty({
__proto__:null,default:h9,render:p9},Symbol.toStringTag,{value:"Module"})),m9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function g9(e,t){return Fb(),qb("svg",m9,[...t[0]||(t[0]=[Jb("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)])])}const v9={render:g9},b9=Object.freeze(Object.defineProperty({
__proto__:null,default:v9,render:g9},Symbol.toStringTag,{value:"Module"})),y9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function O9(e,t){return Fb(),qb("svg",y9,[...t[0]||(t[0]=[Jb("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)])])}const w9={render:O9},x9=Object.freeze(Object.defineProperty({
__proto__:null,default:w9,render:O9},Symbol.toStringTag,{value:"Module"})),k9={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function S9(e,t){return Fb(),qb("svg",k9,[...t[0]||(t[0]=[Jb("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)])])}const _9={render:S9
},A9=Object.freeze(Object.defineProperty({__proto__:null,default:_9,render:S9
},Symbol.toStringTag,{value:"Module"})),T9={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function E9(e,t){
return Fb(),qb("svg",T9,[...t[0]||(t[0]=[Jb("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)])])}const C9={render:E9},$9=Object.freeze(Object.defineProperty({
__proto__:null,default:C9,render:E9},Symbol.toStringTag,{value:"Module"})),P9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function I9(e,t){return Fb(),qb("svg",P9,[...t[0]||(t[0]=[Jb("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)])])}const D9={render:I9},M9=Object.freeze(Object.defineProperty({
__proto__:null,default:D9,render:I9},Symbol.toStringTag,{value:"Module"})),N9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function R9(e,t){return Fb(),qb("svg",N9,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const L9={render:R9},B9=Object.freeze(Object.defineProperty({
__proto__:null,default:L9,render:R9},Symbol.toStringTag,{value:"Module"})),j9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function U9(e,t){return Fb(),qb("svg",j9,[...t[0]||(t[0]=[Jb("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)])])}const z9={render:U9},Z9=Object.freeze(Object.defineProperty({
__proto__:null,default:z9,render:U9},Symbol.toStringTag,{value:"Module"})),F9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function H9(e,t){return Fb(),qb("svg",F9,[...t[0]||(t[0]=[Jb("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)])])}const Q9={render:H9},V9=Object.freeze(Object.defineProperty({
__proto__:null,default:Q9,render:H9},Symbol.toStringTag,{value:"Module"})),q9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function W9(e,t){return Fb(),qb("svg",q9,[...t[0]||(t[0]=[Jb("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)])])}const X9={render:W9},G9=Object.freeze(Object.defineProperty({
__proto__:null,default:X9,render:W9},Symbol.toStringTag,{value:"Module"})),Y9={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function K9(e,t){return Fb(),qb("svg",Y9,[...t[0]||(t[0]=[Jb("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)])])}const J9={render:K9},eee=Object.freeze(Object.defineProperty({
__proto__:null,default:J9,render:K9},Symbol.toStringTag,{value:"Module"})),tee={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"}
;function nee(e,t){return Fb(),qb("svg",tee,[...t[0]||(t[0]=[Jb("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)])])}const ree={render:nee},aee=Object.freeze(Object.defineProperty({
__proto__:null,default:ree,render:nee},Symbol.toStringTag,{value:"Module"
})),oee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function iee(e,t){
return Fb(),qb("svg",oee,[...t[0]||(t[0]=[Jb("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)])])}const see={render:iee},lee=Object.freeze(Object.defineProperty({
__proto__:null,default:see,render:iee},Symbol.toStringTag,{value:"Module"
})),cee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function uee(e,t){
return Fb(),qb("svg",cee,[...t[0]||(t[0]=[Jb("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)])])}const dee={render:uee},pee=Object.freeze(Object.defineProperty({
__proto__:null,default:dee,render:uee},Symbol.toStringTag,{value:"Module"
})),hee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function fee(e,t){
return Fb(),qb("svg",hee,[...t[0]||(t[0]=[Jb("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)])])}const mee={render:fee},gee=Object.freeze(Object.defineProperty({
__proto__:null,default:mee,render:fee},Symbol.toStringTag,{value:"Module"
})),vee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function bee(e,t){
return Fb(),qb("svg",vee,[...t[0]||(t[0]=[Jb("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)])])}const yee={render:bee},Oee=Object.freeze(Object.defineProperty({
__proto__:null,default:yee,render:bee},Symbol.toStringTag,{value:"Module"
})),wee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function xee(e,t){
return Fb(),qb("svg",wee,[...t[0]||(t[0]=[Jb("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),Jb("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),Jb("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)])])}const kee={render:xee},See=Object.freeze(Object.defineProperty({
__proto__:null,default:kee,render:xee},Symbol.toStringTag,{value:"Module"
})),_ee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Aee(e,t){
return Fb(),qb("svg",_ee,[...t[0]||(t[0]=[Jb("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)])])}const Tee={render:Aee},Eee=Object.freeze(Object.defineProperty({
__proto__:null,default:Tee,render:Aee},Symbol.toStringTag,{value:"Module"
})),Cee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function $ee(e,t){
return Fb(),qb("svg",Cee,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const Pee={render:$ee},Iee=Object.freeze(Object.defineProperty({
__proto__:null,default:Pee,render:$ee},Symbol.toStringTag,{value:"Module"
})),Dee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function Mee(e,t){
return Fb(),qb("svg",Dee,[...t[0]||(t[0]=[Jb("path",{
d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"
},null,-1)])])}const Nee={render:Mee},Ree=Object.freeze(Object.defineProperty({
__proto__:null,default:Nee,render:Mee},Symbol.toStringTag,{value:"Module"
})),Lee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Bee(e,t){
return Fb(),qb("svg",Lee,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const jee={render:Bee},Uee=Object.freeze(Object.defineProperty({
__proto__:null,default:jee,render:Bee},Symbol.toStringTag,{value:"Module"
})),zee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function Zee(e,t){
return Fb(),qb("svg",zee,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const Fee={render:Zee},Hee=Object.freeze(Object.defineProperty({
__proto__:null,default:Fee,render:Zee},Symbol.toStringTag,{value:"Module"
})),Qee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function Vee(e,t){
return Fb(),qb("svg",Qee,[...t[0]||(t[0]=[Jb("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)])])}const qee={render:Vee},Wee=Object.freeze(Object.defineProperty({
__proto__:null,default:qee,render:Vee},Symbol.toStringTag,{value:"Module"
})),Xee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Gee(e,t){
return Fb(),qb("svg",Xee,[...t[0]||(t[0]=[Jb("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)])])}const Yee={render:Gee},Kee=Object.freeze(Object.defineProperty({
__proto__:null,default:Yee,render:Gee},Symbol.toStringTag,{value:"Module"
})),Jee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 121 121"};function ete(e,t){
return Fb(),qb("svg",Jee,[...t[0]||(t[0]=[Jb("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)])])}const tte={render:ete
},nte=Object.freeze(Object.defineProperty({__proto__:null,default:tte,render:ete
},Symbol.toStringTag,{value:"Module"})),rte={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function ate(e,t){
return Fb(),qb("svg",rte,[...t[0]||(t[0]=[Jb("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)])])}const ote={render:ate},ite=Object.freeze(Object.defineProperty({
__proto__:null,default:ote,render:ate},Symbol.toStringTag,{value:"Module"
})),ste={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function lte(e,t){
return Fb(),qb("svg",ste,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const cte={render:lte},ute=Object.freeze(Object.defineProperty({
__proto__:null,default:cte,render:lte},Symbol.toStringTag,{value:"Module"
})),dte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function pte(e,t){
return Fb(),qb("svg",dte,[...t[0]||(t[0]=[Jb("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)])])}const hte={render:pte},fte=Object.freeze(Object.defineProperty({
__proto__:null,default:hte,render:pte},Symbol.toStringTag,{value:"Module"
})),mte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gte(e,t){return Fb(),qb("svg",mte,[...t[0]||(t[0]=[Jb("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)])])}const vte={render:gte},bte=Object.freeze(Object.defineProperty({
__proto__:null,default:vte,render:gte},Symbol.toStringTag,{value:"Module"
})),yte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Ote(e,t){
return Fb(),qb("svg",yte,[...t[0]||(t[0]=[Jb("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)])])}const wte={render:Ote},xte=Object.freeze(Object.defineProperty({
__proto__:null,default:wte,render:Ote},Symbol.toStringTag,{value:"Module"
})),kte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 17 17"};function Ste(e,t){
return Fb(),qb("svg",kte,[...t[0]||(t[0]=[Jb("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)])])}const _te={render:Ste},Ate=Object.freeze(Object.defineProperty({
__proto__:null,default:_te,render:Ste},Symbol.toStringTag,{value:"Module"
})),Tte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 128 128"};function Ete(e,t){
return Fb(),qb("svg",Tte,[...t[0]||(t[0]=[Jb("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)])])}const Cte={render:Ete},$te=Object.freeze(Object.defineProperty({
__proto__:null,default:Cte,render:Ete},Symbol.toStringTag,{value:"Module"
})),Pte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Ite(e,t){
return Fb(),qb("svg",Pte,[...t[0]||(t[0]=[Jb("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)])])}const Dte={render:Ite},Mte=Object.freeze(Object.defineProperty({
__proto__:null,default:Dte,render:Ite},Symbol.toStringTag,{value:"Module"
})),Nte={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}
;function Rte(e,t){return Fb(),qb("svg",Nte,[...t[0]||(t[0]=[Jb("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)])])}const Lte={render:Rte},Bte=Object.freeze(Object.defineProperty({
__proto__:null,default:Lte,render:Rte},Symbol.toStringTag,{value:"Module"
})),jte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Ute(e,t){
return Fb(),qb("svg",jte,[...t[0]||(t[0]=[Jb("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)])])}const zte={render:Ute},Zte=Object.freeze(Object.defineProperty({
__proto__:null,default:zte,render:Ute},Symbol.toStringTag,{value:"Module"
})),Fte={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 24 24"};function Hte(e,t){
return Fb(),qb("svg",Fte,[...t[0]||(t[0]=[Jb("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)])])}const Qte={render:Hte},Vte=Object.freeze(Object.defineProperty({
__proto__:null,default:Qte,render:Hte},Symbol.toStringTag,{value:"Module"
})),qte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Wte(e,t){return Fb(),qb("svg",qte,[...t[0]||(t[0]=[Jb("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)])])}const Xte={render:Wte
},Gte=Object.freeze(Object.defineProperty({__proto__:null,default:Xte,render:Wte
},Symbol.toStringTag,{value:"Module"})),Yte={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Kte(e,t){return Fb(),qb("svg",Yte)}
const Jte={render:Kte},ene=Object.freeze(Object.defineProperty({__proto__:null,
default:Jte,render:Kte},Symbol.toStringTag,{value:"Module"})),tne={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function nne(e,t){
return Fb(),qb("svg",tne,[...t[0]||(t[0]=[ay('<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)])])
}const rne={render:nne},ane=Object.freeze(Object.defineProperty({__proto__:null,
default:rne,render:nne},Symbol.toStringTag,{value:"Module"})),one={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function ine(e,t){return Fb(),qb("svg",one,[...t[0]||(t[0]=[Jb("path",{
fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),Jb("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)])])}const sne={render:ine},lne=Object.freeze(Object.defineProperty({
__proto__:null,default:sne,render:ine},Symbol.toStringTag,{value:"Module"
})),cne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function une(e,t){
return Fb(),qb("svg",cne,[...t[0]||(t[0]=[ay('<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)])])
}const dne={render:une},pne=Object.freeze(Object.defineProperty({__proto__:null,
default:dne,render:une},Symbol.toStringTag,{value:"Module"})),hne={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function fne(e,t){return Fb(),qb("svg",hne,[...t[0]||(t[0]=[Jb("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)])])}const mne={render:fne},gne=Object.freeze(Object.defineProperty({
__proto__:null,default:mne,render:fne},Symbol.toStringTag,{value:"Module"
})),vne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bne(e,t){return Fb(),qb("svg",vne,[...t[0]||(t[0]=[Jb("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)])])}const yne={render:bne},One=Object.freeze(Object.defineProperty({
__proto__:null,default:yne,render:bne},Symbol.toStringTag,{value:"Module"
})),wne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function xne(e,t){return Fb(),qb("svg",wne,[...t[0]||(t[0]=[Jb("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)])])}const kne={render:xne},Sne=Object.freeze(Object.defineProperty({
__proto__:null,default:kne,render:xne},Symbol.toStringTag,{value:"Module"
})),_ne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Ane(e,t){return Fb(),qb("svg",_ne,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const Tne={render:Ane},Ene=Object.freeze(Object.defineProperty({
__proto__:null,default:Tne,render:Ane},Symbol.toStringTag,{value:"Module"
})),Cne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function $ne(e,t){return Fb(),qb("svg",Cne,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const Pne={render:$ne},Ine=Object.freeze(Object.defineProperty({
__proto__:null,default:Pne,render:$ne},Symbol.toStringTag,{value:"Module"
})),Dne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Mne(e,t){return Fb(),qb("svg",Dne,[...t[0]||(t[0]=[Jb("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)])])}const Nne={render:Mne},Rne=Object.freeze(Object.defineProperty({
__proto__:null,default:Nne,render:Mne},Symbol.toStringTag,{value:"Module"
})),Lne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Bne(e,t){
return Fb(),qb("svg",Lne,[...t[0]||(t[0]=[ay('<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)])])
}const jne={render:Bne},Une=Object.freeze(Object.defineProperty({__proto__:null,
default:jne,render:Bne},Symbol.toStringTag,{value:"Module"})),zne={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Zne(e,t){return Fb(),qb("svg",zne,[...t[0]||(t[0]=[Jb("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)])])}const Fne={render:Zne
},Hne=Object.freeze(Object.defineProperty({__proto__:null,default:Fne,render:Zne
},Symbol.toStringTag,{value:"Module"})),Qne={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Vne(e,t){
return Fb(),qb("svg",Qne,[...t[0]||(t[0]=[Jb("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)])])}const qne={render:Vne},Wne=Object.freeze(Object.defineProperty({
__proto__:null,default:qne,render:Vne},Symbol.toStringTag,{value:"Module"
})),Xne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Gne(e,t){
return Fb(),qb("svg",Xne,[...t[0]||(t[0]=[ay('<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)])])
}const Yne={render:Gne},Kne=Object.freeze(Object.defineProperty({__proto__:null,
default:Yne,render:Gne},Symbol.toStringTag,{value:"Module"})),Jne={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function ere(e,t){return Fb(),qb("svg",Jne,[...t[0]||(t[0]=[Jb("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)])])}const tre={render:ere},nre=Object.freeze(Object.defineProperty({
__proto__:null,default:tre,render:ere},Symbol.toStringTag,{value:"Module"
})),rre={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function are(e,t){
return Fb(),qb("svg",rre,[...t[0]||(t[0]=[ay('<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)])])
}const ore={render:are},ire=Object.freeze(Object.defineProperty({__proto__:null,
default:ore,render:are},Symbol.toStringTag,{value:"Module"})),sre={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lre(e,t){return Fb(),qb("svg",sre,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const cre={render:lre},ure=Object.freeze(Object.defineProperty({
__proto__:null,default:cre,render:lre},Symbol.toStringTag,{value:"Module"
})),dre={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pre(e,t){return Fb(),qb("svg",dre,[...t[0]||(t[0]=[Jb("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),Jb("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),Jb("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),Jb("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)])])}const hre={render:pre},fre=Object.freeze(Object.defineProperty({
__proto__:null,default:hre,render:pre},Symbol.toStringTag,{value:"Module"
})),mre={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gre(e,t){return Fb(),qb("svg",mre,[...t[0]||(t[0]=[Jb("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)])])}const vre={render:gre},bre=Object.freeze(Object.defineProperty({
__proto__:null,default:vre,render:gre},Symbol.toStringTag,{value:"Module"
})),yre={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"}
;function Ore(e,t){return Fb(),qb("svg",yre,[...t[0]||(t[0]=[Jb("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),Jb("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)])])}const wre={render:Ore},xre=Object.freeze(Object.defineProperty({
__proto__:null,default:wre,render:Ore},Symbol.toStringTag,{value:"Module"
})),kre={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Sre(e,t){return Fb(),qb("svg",kre,[...t[0]||(t[0]=[Jb("path",{
fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"
},null,-1),Jb("path",{fill:"#34495E",
d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)])])}const _re={
render:Sre},Are=Object.freeze(Object.defineProperty({__proto__:null,default:_re,
render:Sre},Symbol.toStringTag,{value:"Module"})),Tre=Object.assign({
"../icons/Add.svg":x4,"../icons/AddTab.svg":A4,"../icons/Alert.svg":$4,
"../icons/ArrowLeft.svg":M4,"../icons/ArrowRight.svg":B4,
"../icons/Brackets.svg":Z4,"../icons/Branch.svg":V4,"../icons/Changelog.svg":G4,
"../icons/Checkmark.svg":e8,"../icons/ChevronDown.svg":a8,
"../icons/ChevronLeft.svg":l8,"../icons/ChevronRight.svg":p8,
"../icons/ChevronUp.svg":g8,"../icons/Clipboard.svg":O8,"../icons/Close.svg":S8,
"../icons/CloseTab.svg":E8,"../icons/CloseTabs.svg":I8,"../icons/Cloud.svg":R8,
"../icons/CodeFolder.svg":U8,"../icons/Cog.svg":H8,"../icons/Collection.svg":W8,
"../icons/Cookie.svg":K8,"../icons/DarkMode.svg":n6,"../icons/Delete.svg":i6,
"../icons/Discord.svg":u6,"../icons/DocsPage.svg":f6,"../icons/Download.svg":b6,
"../icons/Duplicate.svg":x6,"../icons/Edit.svg":A6,"../icons/Ellipses.svg":$6,
"../icons/Email.svg":M6,"../icons/Error.svg":B6,"../icons/Example.svg":Z6,
"../icons/ExternalLink.svg":V6,"../icons/FilterList.svg":G6,
"../icons/Folder.svg":e3,"../icons/GitHub.svg":a3,"../icons/GitHubLine.svg":l3,
"../icons/Globe.svg":p3,"../icons/Google.svg":g3,"../icons/Help.svg":O3,
"../icons/Hide.svg":S3,"../icons/History.svg":E3,"../icons/House.svg":I3,
"../icons/Import.svg":R3,"../icons/Info.svg":U3,"../icons/Key.svg":H3,
"../icons/Leave.svg":W3,"../icons/LightDarkModeToggle.svg":K3,
"../icons/LightMode.svg":n5,"../icons/Link.svg":i5,"../icons/Lock.svg":u5,
"../icons/Logo.svg":f5,"../icons/Magic.svg":b5,"../icons/Markdown.svg":x5,
"../icons/Menu.svg":A5,"../icons/NotAllowed.svg":$5,"../icons/Page.svg":M5,
"../icons/Pencil.svg":B5,"../icons/Play.svg":Z5,"../icons/Refresh.svg":V5,
"../icons/Roadmap.svg":G5,"../icons/Scribble.svg":e7,"../icons/Search.svg":a7,
"../icons/Server.svg":l7,"../icons/Settings.svg":p7,"../icons/Show.svg":g7,
"../icons/Sort.svg":O7,"../icons/Terminal.svg":S7,"../icons/Trash.svg":E7,
"../icons/Unlock.svg":I7,"../icons/Unwatch.svg":R7,"../icons/Upload.svg":U7,
"../icons/User.svg":H7,"../icons/UserSwitch.svg":W7,"../icons/Users.svg":K7,
"../icons/Versions.svg":n9,"../icons/Wallet.svg":i9,"../icons/Watch.svg":u9,
"../icons/Workspace.svg":f9,"../icons/programming-framework-angular.svg":b9,
"../icons/programming-framework-astro.svg":x9,
"../icons/programming-framework-laravel.svg":A9,
"../icons/programming-framework-nextdotjs.svg":$9,
"../icons/programming-framework-react.svg":M9,
"../icons/programming-framework-vuedotjs.svg":B9,
"../icons/programming-language-c.svg":Z9,
"../icons/programming-language-clojure.svg":V9,
"../icons/programming-language-csharp.svg":G9,
"../icons/programming-language-css3.svg":eee,
"../icons/programming-language-dart.svg":aee,
"../icons/programming-language-fsharp.svg":lee,
"../icons/programming-language-go.svg":pee,
"../icons/programming-language-html5.svg":gee,
"../icons/programming-language-http.svg":Oee,
"../icons/programming-language-java.svg":See,
"../icons/programming-language-javascript.svg":Eee,
"../icons/programming-language-json.svg":Iee,
"../icons/programming-language-kotlin.svg":Ree,
"../icons/programming-language-node.svg":Uee,
"../icons/programming-language-objc.svg":Hee,
"../icons/programming-language-ocaml.svg":Wee,
"../icons/programming-language-php.svg":Kee,
"../icons/programming-language-powershell.svg":nte,
"../icons/programming-language-python.svg":ite,
"../icons/programming-language-r.svg":ute,
"../icons/programming-language-ruby.svg":fte,
"../icons/programming-language-rust.svg":bte,
"../icons/programming-language-scala.svg":xte,
"../icons/programming-language-shell.svg":Ate,
"../icons/programming-language-swift.svg":$te,
"../icons/programming-language-typescript.svg":Mte,
"../icons/programming-script-code.svg":Bte,
"../icons/programming-tool-git.svg":Zte,
"../icons/programming-tool-tailwindcss.svg":Vte}),Ere=Object.assign({
"../logos/Adonisjs.svg":Gte,"../logos/Astro.svg":ene,
"../logos/Docusaurus.svg":ane,"../logos/Dotnet.svg":lne,
"../logos/Elysiajs.svg":pne,"../logos/Express.svg":gne,
"../logos/Fastapi.svg":One,"../logos/Fastify.svg":Sne,"../logos/Go.svg":Ene,
"../logos/Hono.svg":Ine,"../logos/Laravel.svg":Rne,"../logos/Litestar.svg":Une,
"../logos/Nestjs.svg":Hne,"../logos/Nextjs.svg":Wne,"../logos/Nitro.svg":Kne,
"../logos/Nuxt.svg":nre,"../logos/Openapi.svg":ire,
"../logos/Platformatic.svg":ure,"../logos/React.svg":fre,
"../logos/Rust.svg":bre,"../logos/Svelte.svg":xre,"../logos/Vue.svg":Are
}),Cre=d_({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"}}),$re=Hg({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},
logo:{},size:{},thickness:{},label:{}},setup(e){oO((e=>({c07589c2:r.value})))
;const t=e,{cx:n}=h_(),r=Ty((()=>t.thickness??"2")),a=Ty((()=>t.label?{
"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"
})),o=Ty((()=>t.icon?(e=>{const t=`../icons/${e}.svg`
;return Tre[t]?Tre[t]:(console.warn(`Could not find icon: ${e}`),null)
})(t.icon):t.logo?(e=>{const t=`../logos/${e}.svg`
;return Ere[t]?Ere[t]:(console.warn(`Could not find icon: ${e}`),null)
})(t.logo):void 0));return(t,r)=>(Fb(),Wb(wv(o.value),Mh(ty({
...xm(n)("scalar-icon",xm(Cre)({size:e.size})),...a.value})),null,16))}
}),Pre=v_($re,[["__scopeId","data-v-b651bb23"]]),Ire=Hg({inheritAttrs:!1,
__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},
weight:{},logo:{},size:{},thickness:{}},setup(e){const{cx:t}=h_()
;return(n,r)=>"string"==typeof e.icon?(Fb(),Wb(Pre,cy({key:0},{...n.$props,
...n.$attrs},{icon:e.icon}),null,16,["icon"])):(Fb(),Wb(wv(e.icon),cy({key:1,
label:e.label,weight:e.weight},xm(t)(xm(Cre)({size:e.size
}))),null,16,["label","weight"]))}
}),Dre="scalar-tooltip",Mre="scalar-tooltip",Nre=bm(),Rre=bm(),Lre=bm(),{floatingStyles:Bre}=WJ(Ty((()=>xm(Lre.value?.targetRef))),Rre,{
placement:Ty((()=>xm(Lre.value?.placement))),whileElementsMounted:NJ,
middleware:Ty((()=>[BJ(),LJ()]))});function jre(e){(function(e){
const t=xm(Lre.value?.targetRef)
;if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){
const n=function(e){const t=[];let n=e.parentElement
;for(;n;)t.push(n),n=n.parentElement;return t}(e.relatedTarget)
;return e.relatedTarget.id!==Dre&&!n.some((e=>e.id===Dre))&&e.relatedTarget!==t}
return!0})(e)&&(zre(),Lre.value=void 0)}function Ure(e){
"Escape"===e.key&&(e.stopPropagation(),jre(e))}function zre(){
Nre.value&&(clearTimeout(Nre.value),Nre.value=void 0)}function Zre(e){
function t(t){const r=xm(e.delay)??300
;zre(),r>0?Nre.value=setTimeout((()=>n()),r):n()}function n(t){
zre(),document.addEventListener("keydown",Ure,{once:!0,capture:!0}),Lre.value=e}
!function(){if(typeof document>"u"||typeof window>"u"||Rre.value)return
;const e=document.getElementById(Dre)
;e?Rre.value=e:(Rre.value=document.createElement("div"),
Rre.value.role="tooltip",
Rre.value.id=Dre,Rre.value.classList.add(Mre),Rre.value.classList.add("scalar-app"),
Rre.value.style.setProperty("display","none"),
Rre.value.addEventListener("mouseleave",jre),
document.body.appendChild(Rre.value))}(),mg((()=>xm(e.targetRef)),((e,r)=>{
r&&(r.removeEventListener("mouseenter",t),
r.removeEventListener("mouseleave",jre),
r.removeEventListener("focus",n),r.removeEventListener("blur",jre),
r.removeAttribute("aria-describedby")),
e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",jre),
e.addEventListener("focus",n),
e.addEventListener("blur",jre),e.setAttribute("aria-describedby",Dre))}),{
immediate:!0})}mg(Bre,(()=>{
Rre.value&&(Rre.value.style.position=Bre.value.position,
Rre.value.style.top=Bre.value.top,
Rre.value.style.left=Bre.value.left,Rre.value.style.transform=Bre.value.transform??"",
Rre.value.style.willChange=Bre.value.willChange??"")})),mg(Lre,(e=>{
if(Rre.value)if(e){const t=xm(e?.contentTarget)??"textContent"
;Rre.value[t]=xm(e?.content)??"";const n=xm(e?.offset)??4
;Rre.value.style.setProperty("--scalar-tooltip-offset",`${n}px`),
Rre.value.style.setProperty("display","block")
}else Rre.value.innerHTML="",Rre.value.style.removeProperty("--scalar-tooltip-offset"),
Rre.value.style.setProperty("display","none")}),{deep:!0})
;const Fre=["aria-disabled"],Hre={key:0,class:"sr-only"},Qre=Hg({
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){const t=d_({
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:f_},
compoundVariants:[{size:"md",variant:"ghost",
class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:n}=h_(),r=qg("ref")
;return Zre({content:Ty((()=>e.label)),offset:Ty((()=>"ghost"===e.variant?0:4)),
placement:Ty((()=>"boolean"==typeof e.tooltip?void 0:e.tooltip)),
targetRef:Ty((()=>e.tooltip?r.value:void 0))}),(r,a)=>(Fb(),qb("button",cy({
ref:"ref","aria-disabled":e.disabled,type:"button"},xm(n)(xm(t)({size:e.size,
variant:e.variant,disabled:e.disabled}))),[ey(xm(Ire),{icon:e.icon,
thickness:e.thickness,weight:e.weight
},null,8,["icon","thickness","weight"]),e.tooltip?oy("",!0):(Fb(),
qb("span",Hre,Uh(e.label),1))],16,Fre))}}),Vre=Hg({__name:"ScalarListboxItem",
props:{option:{},multiselect:{type:Boolean}},setup(e){const t=d_({
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)=>(Fb(),Wb(xm(pk),{
as:"template",disabled:e.option.disabled,value:e.option},{
default:ig((({active:n,selected:r})=>[Jb("li",{class:Dh(xm(p_)(xm(t)({active:n,
selected:r,disabled:e.option.disabled})))},[ey(sK,{multiselect:e.multiselect,
selected:r},null,8,["multiselect","selected"]),Jb("span",{
class:Dh(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])
},Uh(e.option.label),3)],2)])),_:1},8,["disabled","value"]))}}),qre={
class:"custom-scroll min-h-0 flex-1"},Wre=Hg({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){const{cx:t}=h_()
;return(n,r)=>(Fb(),Wb(xm(lk),{modelValue:e.modelValue,multiple:e.multiple,
"onUpdate:modelValue":r[0]||(r[0]=e=>n.$emit("update:modelValue",e))},{
default:ig((({open:r})=>[e.label?(Fb(),Wb(xm(ck),{key:0,class:"sr-only"},{
default:ig((()=>[ry(Uh(e.label),1)])),_:1})):oy("",!0),ey(xm(YJ),cy(n.$props,{
placement:e.placement??"bottom-start"}),{
floating:ig((({width:n})=>[r?(Fb(),qb("div",cy({key:0,style:{width:n}
},xm(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[Jb("div",qre,[ey(xm(dk),{
class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.options,(t=>(Fb(),Wb(Vre,{key:t.id,
multiselect:e.multiple,option:t},null,8,["multiselect","option"])))),128))])),
_:1})]),ey(xm(KJ))],16)):oy("",!0)])),default:ig((()=>[ey(xm(uk),{id:e.id,
as:"template"},{default:ig((()=>[Av(n.$slots,"default",{open:r})])),_:2
},1032,["id"])])),_:2},1040,["placement"])])),_:3},8,["modelValue","multiple"]))
}}),Xre=["innerHTML"],Gre=Hg({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}){const{cx:n}=h_();t({el:qg("div")});const r=t=>{
if(!e.withAnchors)return e.transform?.(t)||t
;const n=(t.children?.[0]?.value||"").toLowerCase().replace(/\s+/g,"-"),r=e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n
;return t.data={hProperties:{id:r}},e.transform?e.transform(t):t
},a=Ty((()=>function(e,t){
const n=t?.removeTags??[],r=[...Bz.tagNames??[],...t?.allowTags??[]].filter((e=>!n.includes(e)))
;return rB().use(tV).use(EQ).use(_V,{transform:t?.transform,
type:t?.transformType}).use(OV,{allowDangerousHtml:!0}).use(SV).use(Rz).use(Vz,{
...Bz,clobberPrefix:"",tagNames:r,attributes:{...Bz.attributes,abbr:["title"],
"*":[...Bz.attributes?.["*"]??[],"className"]},
strip:["script","style","object","embed","form"]}).use(uU,{languages:wU,
detect:!0}).use(RU,{target:"_blank"}).use(uz).use(QL).processSync(e).toString()
}(e.value??"",{removeTags:e.withImages?[]:["img","picture"],
transform:e.withAnchors&&"heading"===e.transformType?r:e.transform,
transformType:e.transformType})));return(t,r)=>(Fb(),qb("div",cy({ref:"div"
},xm(n)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{
"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,Xre))}
}),Yre=["aria-controls","aria-expanded"],Kre=Hg({inheritAttrs:!1,
__name:"ScalarMarkdownSummary",props:Bv({value:{},withImages:{type:Boolean},
withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{
default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,
default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){
const t=function(e,t){const n={}
;for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,
get:()=>e[r]});return n
}(e,["clamp"]),n=Qg(),r=tb(e,"modelValue"),a=qg("scalar-markdown"),o=bm(!1)
;function i(){const e=a.value?.el
;e&&(o.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}
!function(e,t,n={}){const{window:r=fY,...a}=n;let o
;const i=xY((()=>r&&"ResizeObserver"in r)),s=()=>{o&&(o.disconnect(),o=void 0)
},l=mg(Ty((()=>{const t=km(e);return Array.isArray(t)?t.map((e=>vY(e))):[vY(t)]
})),(e=>{if(s(),i.value&&r){o=new ResizeObserver(t)
;for(const t of e)t&&o.observe(t,a)}}),{immediate:!0,flush:"post"}),c=()=>{
s(),l()};YG(c)}((()=>a.value?.el),i),cv(i);const{cx:s}=h_()
;return(a,i)=>(Fb(),qb("div",Mh(ty(xm(s)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[ey(Gre,cy(t,{
id:xm(n),ref:"scalar-markdown",clamp:r.value?void 0:e.clamp,class:{
"markdown-summary truncate":!r.value}
}),null,16,["id","clamp","class"]),e.controlled||!o.value&&!r.value?oy("",!0):(Fb(),
qb("button",{key:0,"aria-controls":xm(n),"aria-expanded":r.value,
class:Dh(["whitespace-nowrap font-medium hover:underline",{"self-end":r.value
}]),type:"button",onClick:i[0]||(i[0]=e=>r.value=!r.value)
},[Av(a.$slots,"button",{open:r.value
},(()=>[ry(Uh(r.value?" Show Less":"More"),1)]))],10,Yre))],16))}}),Jre={
Root:E2,Trigger:C2,Portal:$2,Content:P2,Arrow:I2,Item:D2,Group:M2,Separator:N2,
CheckboxItem:R2,ItemIndicator:L2,Label:B2,RadioGroup:j2,RadioItem:U2,Sub:z2,
SubContent:Z2,SubTrigger:F2},eae={class:"h-5 w-auto"},tae={class:"sr-only"
},nae=Hg({__name:"ScalarMenuButton",props:{open:{type:Boolean}},
setup:e=>(t,n)=>(Fb(),Wb(xm(c4),{class:"gap-0.75 px-2"},{
default:ig((()=>[Jb("div",eae,[Av(t.$slots,"logo",{},(()=>[ey(xm(Pre),{
icon:"Logo"
})]))]),Jb("span",tae,[Av(t.$slots,"label",{},(()=>[ry(Uh(e.open?"Close Menu":"Open Menu"),1)]))]),ey(xm(kA),{
class:Dh(["shrink-0 text-c-3 group-hover/button:text-c-1 size-3.5",e.open?"rotate-180":""]),
weight:"bold"},null,8,["class"])])),_:3}))}),rae=Hg({
__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean
},disabled:{type:Boolean}},setup(e){const t=d_({
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)=>(Fb(),Wb(wv(e.is),{"aria-disabled":e.disabled,
class:Dh(["item",xm(p_)("scalar-dropdown-item",xm(t)({active:e.active,
disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{
default:ig((()=>[Av(n.$slots,"default",{},void 0,!0)])),_:3
},8,["aria-disabled","class","type"]))}
}),aae=v_(rae,[["__scopeId","data-v-6660bbc5"]]),oae={key:1,class:"size-3"
},iae=Hg({inheritAttrs:!1,__name:"ScalarMenuLink",props:{is:{
default:()=>Jre.Item},icon:{type:[Object,Function]},strong:{type:Boolean}},
setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),Wb(xm(aae),cy(xm(t)("flex items-center"),{is:e.is,as:"a"}),{
default:ig((()=>[e.icon?(Fb(),Wb(xm(Ire),{key:0,
class:Dh([e.strong?"text-c-1":"text-c-2","string"==typeof e.icon?"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"])):(Fb(),qb("div",oae)),Jb("div",{
class:Dh(["flex items-center flex-1 min-w-0 truncate",e.strong?"font-medium":"font-normal"])
},[Av(n.$slots,"default")],2)])),_:3},16,["is"]))}}),sae=Hg({inheritAttrs:!1,
__name:"ScalarMenuProduct",props:{is:{default:"a"},selected:{type:Boolean},
icon:{type:[Object,Function]}},setup(e){const{cx:t}=h_(),n=d_({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,a)=>(Fb(),Wb(xm(iae),cy({is:e.is,icon:e.icon,strong:"",target:"_blank"
},xm(t)(xm(n)({selected:e.selected}))),{
default:ig((()=>[Av(r.$slots,"default")])),_:3},16,["is","icon"]))}}),lae=Hg({
inheritAttrs:!1,__name:"ScalarMenuProducts",props:{selected:{},showDocs:{
type:Boolean},hrefs:{}},emits:["open"],setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),qb("div",Mh(ty(xm(t)("flex flex-col"))),[ey(sae,{
href:e.hrefs?.dashboard??"https://dashboard.scalar.com",icon:xm(zE),
selected:"dashboard"===e.selected,
onClick:r[0]||(r[0]=e=>n.$emit("open",e,"dashboard"))},{
default:ig((()=>[...r[4]||(r[4]=[ry(" Dashboard ",-1)])])),_:1
},8,["href","icon","selected"]),e.showDocs||"docs"===e.selected?(Fb(),Wb(sae,{
key:0,href:e.hrefs?.docs??"https://docs.scalar.com",icon:xm(nA),
selected:"docs"===e.selected,onClick:r[1]||(r[1]=e=>n.$emit("open",e,"docs"))},{
default:ig((()=>[...r[5]||(r[5]=[ry(" Docs ",-1)])])),_:1
},8,["href","icon","selected"])):oy("",!0),ey(sae,{
href:e.hrefs?.editor??"https://editor.scalar.com",icon:xm(CC),
selected:"editor"===e.selected,
onClick:r[2]||(r[2]=e=>n.$emit("open",e,"editor"))},{
default:ig((()=>[...r[6]||(r[6]=[ry(" Editor ",-1)])])),_:1
},8,["href","icon","selected"]),ey(sae,{
href:e.hrefs?.client??"https://client.scalar.com",icon:xm(X_),
selected:"client"===e.selected,
onClick:r[3]||(r[3]=e=>n.$emit("open",e,"client"))},{
default:ig((()=>[...r[7]||(r[7]=[ry(" Client ",-1)])])),_:1
},8,["href","icon","selected"])],16))}}),cae={
class:"-mx-0.75 my-0.75 h-border bg-border"}
;const uae=v_({},[["render",function(e,t,n,r,a,o){return Fb(),qb("div",cae)
}]]),dae=Hg({inheritAttrs:!1,__name:"ScalarMenuSection",
setup:e=>(e,t)=>(Fb(),qb(Lb,null,[ey(xm(uae)),Av(e.$slots,"default")],64))
}),pae=Hg({__name:"ScalarMenuResources",setup:e=>(e,t)=>(Fb(),Wb(dae,null,{
title:ig((()=>[...t[0]||(t[0]=[ry("Resources",-1)])])),default:ig((()=>[ey(iae,{
href:"mailto:support@scalar.com",icon:xm(aT),target:"_blank"},{
default:ig((()=>[...t[1]||(t[1]=[ry(" Sales & Support ",-1)])])),_:1
},8,["icon"]),ey(iae,{href:"https://scalar.com/terms-and-conditions",
icon:xm(jT),target:"_blank"},{
default:ig((()=>[...t[2]||(t[2]=[ry(" Terms & Conditions ",-1)])])),_:1
},8,["icon"]),ey(iae,{href:"https://scalar.com/privacy-policy",icon:xm(cA),
target:"_blank"},{
default:ig((()=>[...t[3]||(t[3]=[ry(" Privacy Policy ",-1)])])),_:1
},8,["icon"])])),_:1}))}),hae=Hg({inheritAttrs:!1,__name:"ScalarMenu",setup(e){
const t=bm(!1);function n(){t.value=!1}return(e,r)=>(Fb(),Wb(xm(Jre).Root,{
open:t.value,"onUpdate:open":r[0]||(r[0]=e=>t.value=e)},{
default:ig((()=>[ey(xm(Jre).Trigger,{asChild:""},{
default:ig((()=>[Av(e.$slots,"button",{open:t.value},(()=>[ey(nae,{
class:"min-w-0",open:t.value},_v({_:2},[e.$slots.logo?{name:"logo",
fn:ig((()=>[Av(e.$slots,"logo")])),key:"0"}:void 0,e.$slots.label?{name:"label",
fn:ig((()=>[Av(e.$slots,"label")])),key:"1"}:void 0]),1032,["open"])]))])),_:3
}),ey(xm(Jre).Content,cy({align:"start",as:xm(V2),
class:"max-h-radix-popper z-context",sideOffset:5},e.$attrs),{
default:ig((()=>[Av(e.$slots,"products",{close:n
},(()=>[ey(lae)])),Av(e.$slots,"profile",{close:n}),Av(e.$slots,"sections",{
close:n},(()=>[ey(pae)]))])),_:3},16,["as"])])),_:3},8,["open"]))}}),fae=Hg({
__name:"ScalarMenuSupport",setup:e=>(e,t)=>(Fb(),Wb(dae,null,{
title:ig((()=>[...t[0]||(t[0]=[ry("Resources",-1)])])),default:ig((()=>[ey(iae,{
href:"https://discord.gg/scalar",icon:xm(YA),target:"_blank"},{
default:ig((()=>[...t[1]||(t[1]=[ry(" Discord ",-1)])])),_:1
},8,["icon"]),ey(iae,{href:"https://github.com/scalar/scalar",icon:xm(hE),
target:"_blank"},{default:ig((()=>[...t[2]||(t[2]=[ry(" GitHub ",-1)])])),_:1
},8,["icon"])])),_:1}))}),mae={
class:"flex h-full items-center gap-1 flex-1 truncate"},gae=Hg({inheritAttrs:!1,
__name:"ScalarMenuWorkspacePicker",props:Bv({workspaceOptions:{}},{
modelValue:{},modelModifiers:{}}),
emits:Bv(["createWorkspace"],["update:modelValue"]),setup(e,{emit:t}){
const n=t,r=tb(e,"modelValue");return(t,a)=>(Fb(),Wb(xm(Jre).Sub,null,{
default:ig((()=>[ey(iae,cy({is:xm(Jre).SubTrigger,icon:xm(v$)},t.$attrs),{
default:ig((()=>[a[2]||(a[2]=Jb("div",null,"Change workspace",-1)),ey(xm($A),{
class:"ml-auto text-c-2 -mr-0.25 size-3",weight:"bold"})])),_:1
},16,["is","icon"]),ey(xm(Jre).Portal,null,{
default:ig((()=>[ey(xm(Jre).SubContent,{as:xm(V2),
class:"max-h-radix-popper z-context-plus",sideOffset:3},{
default:ig((()=>[ey(xm(Jre).RadioGroup,{modelValue:r.value,
"onUpdate:modelValue":a[0]||(a[0]=e=>r.value=e),class:"contents"},{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.workspaceOptions,((t,n)=>(Fb(),qb(Lb,{
key:n},[t.label?(Fb(),Wb(xm(Jre).Label,{key:0,
class:"px-3 py-1.5 text-xs font-medium text-c-3 select-none"},{
default:ig((()=>[ry(Uh(t.label),1)])),_:2
},1024)):oy("",!0),(Fb(!0),qb(Lb,null,Sv(t.options,(e=>(Fb(),
Wb(xm(Jre).RadioItem,{key:e.id,as:xm(aae),class:"group/item flex items-center",
value:e.id},{default:ig((()=>[Jb("div",mae,Uh(e.label),1),ey(xm(sK),{
class:"ml-auto",selected:e.id===r.value},null,8,["selected"])])),_:2
},1032,["as","value"])))),128)),n<e.workspaceOptions.length-1?(Fb(),
Wb(xm(Jre).Separator,{key:1,class:"h-px bg-b-3 my-1.5"
})):oy("",!0)],64)))),128))])),_:1},8,["modelValue"]),ey(xm(Jre).Item,{
as:xm(aae),class:"flex items-center",
onClick:a[1]||(a[1]=e=>n("createWorkspace"))},{default:ig((()=>[ey(xm(GC),{
class:"bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3",weight:"bold"
}),a[3]||(a[3]=ry(" Create workspace ",-1))])),_:1},8,["as"])])),_:1
},8,["as"])])),_:1})])),_:1}))}}),vae=Hg({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){const{cx:t}=h_()
;return(n,r)=>(Fb(),Wb(xm(Ek),{as:"template"},{
default:ig((({open:r})=>[ey(xm(YJ),Mh(ty(n.$props)),{
floating:ig((({width:a,height:o})=>[ey(xm($k),cy({focus:e.focus,style:{width:a,
height:o}},xm(t)("relative flex flex-col p-0.75")),{
default:ig((({close:e})=>[Av(n.$slots,"popover",{close:()=>e(),open:r
}),Av(n.$slots,"backdrop",{open:r},(()=>[ey(xm(KJ))]))])),_:2
},1040,["focus","style"])])),default:ig((()=>[ey(xm(Ck),{as:"template"},{
default:ig((()=>[Av(n.$slots,"default",{open:r})])),_:2},1024)])),_:2},1040)])),
_:3}))}}),bae=["aria-label"],yae=Hg({inheritAttrs:!1,__name:"ScalarSearchInput",
props:Bv({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),
emits:["update:modelValue"],setup(e){const t=tb(e,"modelValue"),n=bm(null)
;function r(){t.value="",n.value&&n.value.focus()}
const{stylingAttrsCx:a,otherAttrs:o}=h_()
;return(i,s)=>(Fb(),qb("label",Mh(ty(xm(a)("flex items-center text-lg font-medium h-10 pl-3 pr-1 py-2 gap-2.25"))),[ey(xm(xC),{
class:"text-sidebar-c-search size-4"}),sg(Jb("input",cy({ref_key:"inputRef",
ref:n},xm(o),{"onUpdate:modelValue":s[0]||(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,bae),[[CO,t.value]]),e.loader&&e.loader.isActive?(Fb(),Wb(xm(b_),{
key:0,class:"self-center",loader:e.loader,size:"md"
},null,8,["loader"])):t.value?(Fb(),Wb(xm(Qre),{key:1,class:"p-0 size-5",
icon:xm(DP),label:"Clear Search",weight:"bold",onClick:zO(r,["stop","prevent"])
},null,8,["icon"])):oy("",!0)],16))}}),Oae=["aria-selected"],wae={key:0,
class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"
},xae={class:"flex min-w-0 flex-1 flex-col gap-0.75"},kae={
class:"flex items-center gap-1"},Sae={
class:"flex-1 truncate zoomed:!whitespace-normal break-words text-base font-medium"
},_ae={key:0,class:"text-base text-c-2"},Aae={key:0,
class:"truncate zoomed:!whitespace-normal break-words text-base text-c-2"
},Tae=Hg({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{
type:[Object,Function]},selected:{type:Boolean}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),qb("a",cy({"aria-selected":e.selected,role:"option",
tabindex:"-1"
},xm(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2",{
"bg-b-2":e.selected
})),[e.icon?(Fb(),qb("div",wae,[Av(n.$slots,"icon",{},(()=>[e.icon?(Fb(),
Wb(xm(Ire),{key:0,class:"size-4",icon:e.icon
},null,8,["icon"])):oy("",!0)])),r[0]||(r[0]=Jb("span",null," ",-1))])):oy("",!0),Jb("div",xae,[Jb("div",kae,[Jb("div",Sae,[Av(n.$slots,"default")]),n.$slots.addon?(Fb(),
qb("div",_ae,[Av(n.$slots,"addon")])):oy("",!0)]),n.$slots.description?(Fb(),
qb("div",Aae,[Av(n.$slots,"description")])):oy("",!0)])],16,Oae))}}),Eae=Hg({
inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}
},setup(e){const{cx:t}=h_();return(n,r)=>(Fb(),qb("div",cy({role:"listbox"
},xm(t)("flex flex-col")),[e.noResults?Av(n.$slots,"noResults",{key:0
},(()=>[r[0]||(r[0]=Jb("div",{class:"flex flex-col items-center gap-2 px-3 py-4"
},[Jb("div",{class:"text-base font-medium text-c-2",role:"alert"
}," No results found ")],-1))])):oy("",!0),Av(n.$slots,"default")],16))}
}),Cae=Hg({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),
qb("aside",Mh(ty(xm(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[Av(e.$slots,"default")],16))
}}),$ae=Hg({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{
default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){
const t=Ty((()=>Array.from({length:e.indent},((e,t)=>t)))),{cx:n}=h_()
;return(r,a)=>(Fb(),
qb("div",Mh(ty(xm(n)("scalar-sidebar-indent flex justify-center",{
"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,
"scalar-sidebar-indent-selected":e.selected
}))),[(Fb(!0),qb(Lb,null,Sv(t.value,((n,r)=>(Fb(),qb("div",{key:n,
class:"relative w-[var(--scalar-sidebar-indent)]"},[a[0]||(a[0]=Jb("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?(Fb(),qb("div",{key:0,
class:Dh(["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)):oy("",!0)])))),128))],16))}
}),Pae=v_($ae,[["__scopeId","data-v-3e080c68"]]),Iae={key:0,
class:"h-[1lh] *:size-4 mr-1 flex items-center"},Dae={
class:"group/button-label flex-1 min-w-0"},Mae=Hg({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){const t=d_({
base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/5 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}=h_()
;return(r,a)=>(Fb(),Wb(wv(e.is),cy({"aria-selected":e.selected,
type:"button"===e.is?"button":void 0},xm(n)(xm(t)({selected:e.selected,
disabled:e.disabled,active:e.active}))),{
default:ig((()=>[Av(r.$slots,"indent",{},(()=>[ey(Pae,{class:"-my-2",
disabled:e.disabled,indent:e.indent,selected:e.selected
},null,8,["disabled","indent","selected"])])),e.icon||r.$slots.icon?(Fb(),
qb("div",Iae,[Av(r.$slots,"icon",{},(()=>[e.icon?(Fb(),Wb(xm(Ire),{key:0,
icon:e.icon
},null,8,["icon"])):oy("",!0)]))])):oy("",!0),Jb("div",Dae,[Av(r.$slots,"default")]),Av(r.$slots,"aside")])),
_:3},16,["aria-selected","type"]))}}),Nae={class:"flex items-center"},Rae={
class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},Lae=Hg({
inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),
qb("div",Mh(ty(xm(t)("flex flex-col gap-3 p-3 pt-0 border-sidebar-border"))),[Av(e.$slots,"default"),Jb("div",Nae,[Jb("div",Rae,[Av(e.$slots,"description",{},(()=>[n[0]||(n[0]=Jb("a",{
class:"no-underline hover:underline",href:"https://www.scalar.com",
target:"_blank"
}," Powered by Scalar ",-1))]))]),Av(e.$slots,"toggle",{},(()=>[ey(xm(eK))]))])],16))
}}),Bae={class:"sr-only"},jae=Hg({inheritAttrs:!1,
__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,
default:!1},icon:{type:[Object,Function]}},setup(e){const t=d_({
base:"size-4 flex items-center justify-center transition-transform duration-100",
variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:n}=h_()
;return(r,a)=>(Fb(),Wb(wv(e.is),cy({type:"button"===e.is?"button":void 0
},xm(n)(xm(t)({open:e.open}))),{default:ig((()=>[Av(r.$slots,"default",{
open:e.open},(()=>[e.icon?(Fb(),Wb(xm(Ire),{key:0,icon:e.icon
},null,8,["icon"])):(Fb(),Wb(xm($A),{key:1,class:"size-3",weight:"bold"
}))])),Jb("span",Bae,[Av(r.$slots,"label",{open:e.open
},(()=>[ry(Uh(e.open?"Close":"Open")+" Group ",1)]))])])),_:3},16,["type"]))}
}),Uae=Symbol(),zae=(e={})=>{const{increment:t=!1,reset:n=!1}=e,r=ug(Uae,0)
;return cg(Uae,n?0:t&&r<6?r+1:r),{level:r}},Zae={
class:"group/group-button relative flex flex-col leading-5"},Fae={key:0,
class:"size-4"},Hae=["aria-expanded"],Qae={key:0,
class:"group/items flex flex-col gap-px"},Vae=Hg({inheritAttrs:!1,
__name:"ScalarSidebarGroup",props:Bv({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:Bv(["click","toggle"],["update:open"]),setup(e,{emit:t}){
const n=t,r=tb(e,"open"),{level:a}=zae({increment:!0}),{cx:o}=h_(),i=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)=>(Fb(),
Wb(wv(e.is),Mh(ty(xm(o)("group/item flex flex-col gap-px"))),{
default:ig((()=>[Jb("div",Zae,[Av(t.$slots,"before",{open:r.value
}),Av(t.$slots,"button",{level:xm(a),open:r.value},(()=>[ey(Mae,{is:"button",
active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,
indent:xm(a),selected:e.selected,onClick:i},_v({indent:ig((()=>[ey(Pae,{
class:"mr-0 -my-2",indent:xm(a),selected:e.selected
},null,8,["indent","selected"])])),aside:ig((()=>[Av(t.$slots,"aside",{
open:r.value}),e.discrete?(Fb(),qb("div",Fae)):Av(t.$slots,"toggle",{key:1,
open:r.value},(()=>[ey(jae,{class:"text-sidebar-c-2",open:r.value
},null,8,["open"])]))])),default:ig((()=>[Av(t.$slots,"default",{open:r.value
})])),_:2},[t.$slots.icon?{name:"icon",fn:ig((()=>[Av(t.$slots,"icon",{
open:r.value})])),key:"0"
}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?(Fb(),
qb("button",{key:0,"aria-expanded":r.value,
class:Dh(["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},[Av(t.$slots,"toggle",{open:r.value},(()=>[ey(jae,{
open:r.value},{
label:ig((()=>[ry(Uh(r.value?"Close":"Open")+" ",1),Av(t.$slots,"default",{
open:r.value})])),_:3
},8,["open"])]))],10,Hae)):oy("",!0)])),Av(t.$slots,"after",{open:r.value
})]),r.value?(Fb(),qb("ul",Qae,[Av(t.$slots,"items",{open:r.value
})])):oy("",!0)])),_:3},16))}}),qae=Hg({inheritAttrs:!1,
__name:"ScalarSidebarItem",props:{is:{},icon:{type:[Object,Function]},active:{
type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},
setup(e){const t=e,{level:n}=zae(),{cx:r}=h_()
;return(a,o)=>(Fb(),qb("li",Mh(ty(xm(r)("group/item flex flex-col leading-5"))),[Av(a.$slots,"before"),Av(a.$slots,"button",{
level:xm(n)},(()=>[ey(Mae,cy(t,{indent:e.indent??xm(n)}),_v({_:2
},[a.$slots.default?{name:"default",fn:ig((()=>[Av(a.$slots,"default")])),
key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:ig((()=>[Av(a.$slots,"icon")])),
key:"1"}:void 0,a.$slots.aside?{name:"aside",
fn:ig((()=>[Av(a.$slots,"aside")])),key:"2"
}:void 0]),1040,["indent"])])),Av(a.$slots,"after")],16))}
}),Wae=Symbol(),Xae=Hg({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{
default:"ul"}},setup(e){const{open:t}=(()=>{
const e=bm([]),t=Ty((()=>e.value.some((e=>e.value))));return cg(Wae,e),{open:t}
})(),{cx:n}=h_()
;return(r,a)=>(Fb(),Wb(wv(e.is),Mh(ty(xm(n)("group/items relative flex flex-col p-3 gap-px transition-transform duration-300",xm(t)?"-translate-x-full":"translate-x-0"))),{
default:ig((()=>[Av(r.$slots,"default")])),_:3},16))}}),Gae=Hg({inheritAttrs:!1,
__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){
const{cx:t}=h_()
;return(n,r)=>(Fb(),qb("div",Mh(ty(xm(t)("flex px-2 h-1"))),[ey(Pae,{
indent:e.indent},null,8,["indent"])],16))}}),Yae={
class:"flex-1 text-left leading-none"},Kae={key:0,
class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"
},Jae=Hg({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",setup(e){
const{cx:t}=h_();return(e,n)=>(Fb(),qb("button",cy({role:"search",type:"button"
},xm(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")),[ey(xm(xC),{
class:"size-4"
}),Jb("span",Yae,[Av(e.$slots,"default",{},(()=>[n[0]||(n[0]=ry("Search...",-1))]))]),e.$slots.shortcut?(Fb(),
qb("span",Kae,[n[1]||(n[1]=Jb("span",{class:"sr-only"
},"Keyboard Shortcut:",-1)),Jb("kbd",null,[Av(e.$slots,"shortcut")])])):oy("",!0)],16))
}}),eoe=["aria-label"],toe=Hg({inheritAttrs:!1,
__name:"ScalarSidebarSearchInput",props:Bv({autofocus:{type:Boolean},loader:{},
label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],
setup(e){const t=bm(null),n=tb(e,"modelValue");function r(){
n.value="",t.value&&t.value.focus()}const{stylingAttrsCx:a,otherAttrs:o}=h_()
;return cv((()=>e.autofocus&&t.value?.focus())),
(i,s)=>(Fb(),qb("label",Mh(ty(xm(a)("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"))),[ey(xm(xC),{
class:"text-sidebar-c-search size-4"}),sg(Jb("input",cy({ref_key:"inputRef",
ref:t},xm(o),{"onUpdate:modelValue":s[0]||(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,eoe),[[CO,n.value]]),e.loader&&e.loader.isActive?(Fb(),Wb(xm(b_),{
key:0,class:"mr-3 self-center",loader:e.loader,size:"md"
},null,8,["loader"])):n.value?(Fb(),Wb(xm(Qre),{key:1,class:"p-0.25 size-4",
icon:xm(DP),label:"Clear Search",weight:"bold",onClick:zO(r,["stop","prevent"])
},null,8,["icon"])):oy("",!0)],16))}}),noe={class:"flex flex-col gap-px"
},roe=Hg({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"
},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},
disabled:{type:Boolean},indent:{}},setup(e){const{level:t}=zae({increment:!1
}),{cx:n}=h_()
;return(r,a)=>(Fb(),Wb(wv(e.is),Mh(ty(xm(n)("group/item group/sidebar-section contents"))),{
default:ig((()=>[ey(Gae,{class:"group/spacer-before h-3",indent:xm(t)
},null,8,["indent"]),ey(Mae,{is:"div",class:"text-sm/5 py-1.75 font-bold",
disabled:"",icon:e.icon,indent:xm(t)},{
default:ig((()=>[Av(r.$slots,"default")])),_:3
},8,["icon","indent"]),Jb("ul",noe,[Av(r.$slots,"items")]),ey(Gae,{
class:"group/spacer-after h-3",indent:xm(t)},null,8,["indent"])])),_:3},16))}
}),aoe=["id"],ooe=Hg({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},
setup(e){const t=(e=>{const t=e??`scalar-teleport-${qG()}`
;return cg(XJ,`#${t}`),t})(e.id)
;return(e,n)=>(Fb(),qb(Lb,null,[Av(e.$slots,"default"),Jb("div",{id:xm(t),
class:"scalar-teleport-root contents"},null,8,aoe)],64))}}),ioe={
class:"flex flex-1 relative"},soe={key:0,
class:"select-none whitespace-nowrap text-sm text-transparent"
},loe=["aria-readonly","readonly"],coe={key:1,
class:"absolute inset-0 select-none overflow-hidden whitespace-nowrap text-sm"
},uoe={key:0,class:"text-c-2"},doe={class:"text-transparent"},poe={key:1,
class:"text-c-2"},hoe=Hg({inheritAttrs:!1,__name:"ScalarTextInput",props:Bv({
readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),
emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),n=bm(),{stylingAttrsCx:r,otherAttrs:a}=h_()
;function o(){e.readonly?n.value?.select():n.value?.focus()}return cv((()=>{
"autofocus"in a.value&&n.value?.focus()})),(i,s)=>(Fb(),Wb(xm(FP),cy({is:"div"
},xm(r)("cursor-text text-c-1",e.readonly?"":"focus-within:bg-b-1"),{onClick:o
}),{
default:ig((()=>[Jb("div",ioe,[i.$slots.prefix?(Fb(),qb("span",soe,[Av(i.$slots,"prefix")])):oy("",!0),sg(Jb("input",cy({
ref_key:"input",ref:n,"onUpdate:modelValue":s[0]||(s[0]=e=>t.value=e),
"aria-readonly":e.readonly||void 0,
class:"z-1 min-w-0 flex-1 border-none bg-transparent text-sm placeholder:font-[inherit] focus-within:outline-none",
readonly:e.readonly
},xm(a)),null,16,loe),[[LO,t.value]]),i.$slots.prefix||i.$slots.suffix?(Fb(),
qb("div",coe,[i.$slots.prefix?(Fb(),
qb("span",uoe,[Av(i.$slots,"prefix")])):oy("",!0),Jb("span",doe,Uh(t.value||i.$attrs.placeholder),1),i.$slots.suffix?(Fb(),
qb("span",poe,[Av(i.$slots,"suffix")])):oy("",!0)])):oy("",!0)]),Av(i.$slots,"aside")])),
_:3},16))}
}),foe=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"]
;function moe(e,t){const n=[...t.matchAll(new RegExp(`(${e}): ([^;]+);`,"gm"))]
;return 0===n.length?{}:Object.fromEntries(n.map((e=>[e[1],e[2]])))}
function goe(e){return e?{...moe("--scalar-color-[1-3]",e),
...moe("--scalar-background-[1-3]",e),...moe("--scalar-color-accent",e)}:{}}
const voe=Hg({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},
setup(e){const{colors:t}=function(e){return{colors:Ty((()=>({
light:goe(km(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),
dark:goe(km(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])})))}
}((()=>e.css)),{cx:n}=h_();return(e,r)=>(Fb(),qb("div",cy({style:{
"--bg-light":xm(t).light["--scalar-background-1"],
"--bg-dark":xm(t).dark["--scalar-background-1"]}
},xm(n)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[(Fb(!0),
qb(Lb,null,Sv(xm(foe),(e=>(Fb(),qb("div",{key:e,
class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:Eh({
"--bg-light":xm(t).light[e],"--bg-dark":xm(t).dark[e]})},null,4)))),128))],16))}
}),boe=["aria-checked","aria-disabled"],yoe={key:0,class:"sr-only"},Ooe=Hg({
__name:"ScalarToggle",props:Bv({disabled:{type:Boolean},label:{}},{modelValue:{
type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],
setup(e){const t=e,n=tb(e,"modelValue");function r(){
t.disabled||(n.value=!n.value)}const a=d_({
base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",
variants:{checked:{true:"bg-c-accent"},disabled:{
true:"cursor-not-allowed opacity-40"}}});return(t,o)=>(Fb(),qb("button",{
"aria-checked":n.value,"aria-disabled":e.disabled,class:Dh(xm(p_)(xm(a)({
checked:n.value,disabled:e.disabled}))),role:"switch",type:"button",onClick:r
},[Jb("div",{
class:Dh(["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?(Fb(),qb("span",yoe,Uh(e.label),1)):oy("",!0)],10,boe))}
}),woe={class:"flex-1 text-left min-w-0 truncate"},xoe=Hg({inheritAttrs:!1,
__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},
emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=h_()
;return(e,a)=>(Fb(),Wb(xm(FP),cy({is:"label"
},xm(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{
default:ig((()=>[Jb("div",woe,[Av(e.$slots,"default")]),ey(Ooe,cy({
modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),
class:"shrink-0"},xm(r)),null,16,["modelValue"])])),_:3},16))}}),koe=Hg({
__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},
placement:{default:"top"},offset:{default:()=>4}},setup(e){const t=bm(null)
;return Zre({content:Ty((()=>e.content)),delay:Ty((()=>e.delay)),
placement:Ty((()=>e.placement)),offset:Ty((()=>e.offset)),
targetRef:Ty((()=>t.value?.children?.[0]||t.value||void 0))
}),(e,n)=>(Fb(),qb("div",{ref_key:"wrapperRef",ref:t,class:Dh({
contents:!!e.$slots.default})},[Av(e.$slots,"default")],2))}}),Soe=Hg({
__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},
containerClass:{default:""},contentClass:{default:""},lineClass:{default:""}},
setup(e){
const t=e,n=bm(null),r=bm(null),a=bm(0),o=bm(0),i=Ty((()=>t.text.split("\n"))),s=Ty((()=>i.value.length*t.lineHeight)),l=Ty((()=>Math.floor(a.value/t.lineHeight))),c=Ty((()=>Math.min(Math.ceil((a.value+o.value)/t.lineHeight),i.value.length))),u=Ty((()=>{
const e=Math.max(0,l.value-10),t=Math.min(i.value.length,c.value+10)
;return i.value.slice(e,t)})),d=Ty((()=>({height:`${s.value}px`,
transform:`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`
}))),p=()=>n.value&&(a.value=n.value.scrollTop),h=()=>n.value&&(o.value=n.value.clientHeight)
;return cv((()=>{h(),window.addEventListener("resize",h)})),pv((()=>{
window.removeEventListener("resize",h)})),fg((()=>{
r.value&&(r.value.style.transform=`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`)
})),(a,o)=>(Fb(),qb("div",{ref_key:"containerRef",ref:n,
class:Dh(["scalar-virtual-text overflow-auto",e.containerClass]),onScroll:p
},[Jb("code",{ref_key:"contentRef",ref:r,
class:Dh(["scalar-virtual-text-content",e.contentClass]),style:Eh(d.value)
},[(Fb(!0),qb(Lb,null,Sv(u.value,((n,r)=>(Fb(),qb("div",{key:l.value+r,
class:Dh(["scalar-virtual-text-line",e.lineClass]),style:Eh({
height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})
},Uh(n),7)))),128))],6)],34))}}),_oe={path:/[\/\.-]/,property:/[A-Z\_\.-]/
},Aoe=Hg({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},
preset:{default:"path"},regex:{}},setup(e){const t=Ty((()=>{
const t=new RegExp(e.regex??_oe[e.preset],"g")
;return e.text.replace(t,"$&").split("").filter(Boolean)}))
;return(e,n)=>(Fb(!0),qb(Lb,null,Sv(t.value,((e,t)=>(Fb(),qb(Lb,{key:t
},[n[0]||(n[0]=Jb("wbr",null,null,-1)),ry(Uh(e),1)],64)))),128))}}),Toe=Hg({
__name:"ScalarDropdownItem",props:{id:{default:()=>Qg()},disabled:{type:Boolean}
},emits:["click"],setup(e){const{active:t}=function(){const e=ug(q2)
;return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),
{active:e}}();return(n,r)=>(Fb(),Wb(aae,{id:e.id,active:xm(t)===e.id,
disabled:e.disabled,role:"menuitem",tabindex:"-1",
onClick:r[0]||(r[0]=e=>n.$emit("click",e)),
onMouseenter:r[1]||(r[1]=n=>t.value=e.id)},{
default:ig((()=>[Av(n.$slots,"default",{},void 0,!0)])),_:3
},8,["id","active","disabled"]))}
}),Eoe=v_(Toe,[["__scopeId","data-v-3402682d"]]),Coe={
class:"flex min-w-0 flex-col gap-3"},$oe={class:"contents"},Poe={
class:"text-base font-medium text-c-1"}
;const Ioe=v_({},[["render",function(e,t,n,r,a,o){
return Fb(),qb("fieldset",Coe,[Jb("legend",$oe,[Jb("span",Poe,[Av(e.$slots,"label")])]),Av(e.$slots,"default")])
}]]);function Doe(){return om({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,
start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},
validate(e={}){const{duration:t=1100,persist:n=!1}=e
;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0
;const r=n?t:t-300
;return new Promise((e=>setTimeout(n?()=>e():()=>this.clear().then((()=>e())),r)))
},invalidate(e={}){const{duration:t=1100,persist:n=!1}=e??{}
;this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0
;const r=n?t:t-300
;return new Promise((e=>setTimeout(n?()=>e():()=>this.clear().then((()=>e())),r)))
},clear(e={}){const{duration:t=300}=e
;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise((e=>{
setTimeout((()=>{this.isActive=!1,e()}),t)}))}})}const Moe={key:0,
class:"close-button z-10 fixed right-2 top-2"};function Noe(){return om({
open:!1,show(){this.open=!0},hide(){this.open=!1}})}const Roe=Hg({
__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{
default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){const n=t,r=d_({
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"}}}),a=d_({
base:["scalar-modal-body","relative flex-1 min-h-0 p-3"].join(" "),variants:{
variant:{form:"overflow-visible",
search:"flex flex-col !m-0 overflow-hidden p-0",error:"overflow-y-scroll"},
size:{xxs:"",xs:"",sm:"",md:"",lg:"",xl:"m-0 p-0",full:" rounded-none"}}})
;return(t,o)=>(Fb(),Wb(xm(Fx),{open:e.state.open,onClose:o[1]||(o[1]=()=>{
e.state.hide(),n("close")})},{default:ig((()=>[Jb("div",{
class:Dh(xm(p_)("full"===e.size?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark","full"===e.size&&"flex"))
},[ey(xm(Hx),{class:Dh(xm(r)({size:e.size,variant:e.variant})),style:Eh({
maxWidth:e.maxWidth})},{default:ig((()=>[e.title?(Fb(),Wb(xm(Qx),{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:ig((()=>[ry(Uh(e.title),1)])),_:1})):oy("",!0),"full"===e.size?(Fb(),
qb("div",{key:1,class:Dh(e.bodyClass)
},[Av(t.$slots,"default",{},void 0,!0)],2)):(Fb(),qb("div",{key:2,
class:Dh(xm(p_)(xm(a)({size:e.size,variant:e.variant}),e.bodyClass))
},[Av(t.$slots,"default",{},void 0,!0)],2))])),_:3
},8,["class","style"]),"full"===e.size?(Fb(),qb("div",Moe,[ey(xm(Qre),{
class:"hover:bg-b-3 focus:outline-none",icon:xm(DP),label:"Close modal",
onClick:o[0]||(o[0]=t=>e.state.hide())},null,8,["icon"])])):oy("",!0)],2)])),_:3
},8,["open"]))}
}),Loe=v_(Roe,[["__scopeId","data-v-c36b47da"]]),Boe="scalar-app",joe="headlessui-portal-root",Uoe=e=>{
!e||e.classList.contains(Boe)||e.classList.add(Boe)},zoe=()=>{
Uoe(document.getElementById(joe))
;const e=new MutationObserver((e=>e.forEach((({addedNodes:e})=>e.forEach((e=>{
(e=>null!==e&&e instanceof HTMLElement)(e)&&e.id===joe&&Uoe(e)}))))))
;return e.observe(document.body,{childList:!0}),e},Zoe=["href"],Foe=Hg({
__name:"OpenApiClientButton",props:{buttonSource:{},source:{
default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{}},
setup(e){const t=Ty((()=>{
const t=e.url??(typeof window<"u"?window.location.href:void 0);if(!t)return
;const n=JV(t);if(!n?.length)return
;const r=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com")
;if(r.searchParams.set("url",n),
null!==e.integration&&r.searchParams.set("integration",e.integration??"vue"),
r.searchParams.set("utm_source","api-reference"),
r.searchParams.set("utm_medium","button"),
r.searchParams.set("utm_campaign",e.buttonSource),"gitbook"===e.source){
r.searchParams.set("utm_source","gitbook")
;const 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?(Fb(),qb("a",{key:0,
class:"open-api-client-button",href:t.value,target:"_blank"},[ey(xm(Pre),{
icon:"ExternalLink",size:"xs",thickness:"2"
}),n[0]||(n[0]=ry(" Open API Client ",-1))],8,Zoe)):oy("",!0)}}),Hoe=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n
},Qoe=Hoe(Foe,[["__scopeId","data-v-c7bdd328"]]);let Voe=[],qoe=[]
;function Woe(e){if(e<768)return!1;for(let t=0,n=Voe.length;;){let r=t+n>>1
;if(e<Voe[r])n=r;else{if(!(e>=qoe[r]))return!0;t=r+1}if(t==n)return!1}}
function Xoe(e){return e>=127462&&e<=127487}(()=>{
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?qoe:Voe).push(n+=e[t])})();const Goe=8205
;function Yoe(e,t,n=!0,r=!0){return(n?Koe:Joe)(e,t,r)}function Koe(e,t,n){
if(t==e.length)return t;t&&tie(e.charCodeAt(t))&&nie(e.charCodeAt(t-1))&&t--
;let r=eie(e,t);for(t+=rie(r);t<e.length;){let a=eie(e,t)
;if(r==Goe||a==Goe||n&&Woe(a))t+=rie(a),r=a;else{if(!Xoe(a))break;{let n=0,r=t-2
;for(;r>=0&&Xoe(eie(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}
function Joe(e,t,n){for(;t>0;){let r=Koe(e,t-2,n);if(r<t)return r;t--}return 0}
function eie(e,t){let n=e.charCodeAt(t);if(!nie(n)||t+1==e.length)return n
;let r=e.charCodeAt(t+1);return tie(r)?r-56320+(n-55296<<10)+65536:n}
function tie(e){return e>=56320&&e<57344}function nie(e){
return e>=55296&&e<56320}function rie(e){return e<65536?1:2}class aie{lineAt(e){
if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`)
;return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=hie(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),
iie.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]=hie(this,e,t);let n=[];return this.decompose(e,t,n,0),iie.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 cie(this),a=new cie(e)
;for(let o=t,i=t;;){
if(r.next(o),a.next(o),o=0,r.lineBreak!=a.lineBreak||r.done!=a.done||r.value!=a.value)return!1
;if(i+=r.value.length,r.done||i>=n)return!0}}iter(e=1){return new cie(this,e)}
iterRange(e,t=this.length){return new uie(this,e,t)}iterLines(e,t){let n
;if(null==e)n=this.iter();else{null==t&&(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 die(n)}toString(){return this.sliceString(0)}toJSON(){let e=[]
;return this.flatten(e),e}constructor(){}static of(e){
if(0==e.length)throw new RangeError("A document must have at least one line")
;return 1!=e.length||e[0]?e.length<=32?new oie(e):iie.from(oie.split(e,[])):aie.empty
}}class oie extends aie{constructor(e,t=function(e){let t=-1
;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}
get lines(){return this.text.length}get children(){return null}
lineInner(e,t,n,r){for(let a=0;;a++){let o=this.text[a],i=r+o.length
;if((t?n:i)>=e)return new pie(r,i,n,o);r=i+1,n++}}decompose(e,t,n,r){
let a=e<=0&&t>=this.length?this:new oie(lie(this.text,e,t),Math.min(t,this.length)-Math.max(0,e))
;if(1&r){let e=n.pop(),t=sie(a.text,e.text.slice(),0,a.length)
;if(t.length<=32)n.push(new oie(t,e.length+a.length));else{let e=t.length>>1
;n.push(new oie(t.slice(0,e)),new oie(t.slice(e)))}}else n.push(a)}
replace(e,t,n){if(!(n instanceof oie))return super.replace(e,t,n)
;[e,t]=hie(this,e,t)
;let r=sie(this.text,sie(n.text,lie(this.text,0,e)),t),a=this.length+n.length-(t-e)
;return r.length<=32?new oie(r,a):iie.from(oie.split(r,[]),a)}
sliceString(e,t=this.length,n="\n"){[e,t]=hie(this,e,t);let r=""
;for(let a=0,o=0;a<=t&&o<this.text.length;o++){let i=this.text[o],s=a+i.length
;a>e&&o&&(r+=n),e<s&&t>a&&(r+=i.slice(Math.max(0,e-a),t-a)),a=s+1}return r}
flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}
static split(e,t){let n=[],r=-1
;for(let a of e)n.push(a),r+=a.length+1,32==n.length&&(t.push(new oie(n,r)),
n=[],r=-1);return r>-1&&t.push(new oie(n,r)),t}}class iie extends aie{
constructor(e,t){super(),this.children=e,this.length=t,this.lines=0
;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let a=0;;a++){
let o=this.children[a],i=r+o.length,s=n+o.lines-1
;if((t?s:i)>=e)return o.lineInner(e,t,n,r);r=i+1,n=s+1}}decompose(e,t,n,r){
for(let a=0,o=0;o<=t&&a<this.children.length;a++){
let i=this.children[a],s=o+i.length;if(e<=s&&t>=o){
let a=r&((o<=e?1:0)|(s>=t?2:0))
;o>=e&&s<=t&&!a?n.push(i):i.decompose(e-o,t-o,n,a)}o=s+1}}replace(e,t,n){
if([e,t]=hie(this,e,t),
n.lines<this.lines)for(let r=0,a=0;r<this.children.length;r++){
let o=this.children[r],i=a+o.length;if(e>=a&&t<=i){
let s=o.replace(e-a,t-a,n),l=this.lines-o.lines+s.lines
;if(s.lines<l>>4&&s.lines>l>>6){let a=this.children.slice()
;return a[r]=s,new iie(a,this.length-(t-e)+n.length)}return super.replace(a,i,s)
}a=i+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){
[e,t]=hie(this,e,t);let r="";for(let a=0,o=0;a<this.children.length&&o<=t;a++){
let i=this.children[a],s=o+i.length
;o>e&&a&&(r+=n),e<s&&t>o&&(r+=i.sliceString(e-o,t-o,n)),o=s+1}return r}
flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){
if(!(e instanceof iie))return 0
;let n=0,[r,a,o,i]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1]
;for(;;r+=t,a+=t){if(r==o||a==i)return n;let s=this.children[r],l=e.children[a]
;if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}
static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let n=0
;for(let p of e)n+=p.lines;if(n<32){let n=[];for(let t of e)t.flatten(n)
;return new oie(n,t)}let r=Math.max(32,n>>5),a=r<<1,o=r>>1,i=[],s=0,l=-1,c=[]
;function u(e){let t
;if(e.lines>a&&e instanceof iie)for(let n of e.children)u(n);else e.lines>o&&(s>o||!s)?(d(),
i.push(e)):e instanceof oie&&s&&(t=c[c.length-1])instanceof oie&&e.lines+t.lines<=32?(s+=e.lines,
l+=e.length+1,
c[c.length-1]=new oie(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&d(),
s+=e.lines,l+=e.length+1,c.push(e))}function d(){
0!=s&&(i.push(1==c.length?c[0]:iie.from(c,l)),l=-1,s=c.length=0)}
for(let p of e)u(p);return d(),1==i.length?i[0]:new iie(i,t)}}
function sie(e,t,n=0,r=1e9){for(let a=0,o=0,i=!0;o<e.length&&a<=r;o++){
let s=e[o],l=a+s.length
;l>=n&&(l>r&&(s=s.slice(0,r-a)),a<n&&(s=s.slice(n-a)),i?(t[t.length-1]+=s,
i=!1):t.push(s)),a=l+1}return t}function lie(e,t,n){return sie(e,[""],t,n)}
aie.empty=new oie([""],0);class cie{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 oie?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],a=this.offsets[n],o=a>>1,i=r instanceof oie?r.text.length:r.children.length
;if(o==(t>0?i:0)){if(0==n)return this.done=!0,this.value="",this
;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()
}else if((1&a)==(t>0?0:1)){
if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--
}else if(r instanceof oie){let a=r.text[o+(t<0?-1:0)]
;if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),
this;e-=a.length}else{let a=r.children[o+(t<0?-1:0)]
;e>a.length?(e-=a.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,
this.nodes.push(a),
this.offsets.push(t>0?1:(a instanceof oie?a.text.length:a.children.length)<<1))}
}}next(e=0){
return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)
}}class uie{constructor(e,t,n){
this.value="",this.done=!1,this.cursor=new cie(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}}class die{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}}
"undefined"!=typeof Symbol&&(aie.prototype[Symbol.iterator]=function(){
return this.iter()
},cie.prototype[Symbol.iterator]=uie.prototype[Symbol.iterator]=die.prototype[Symbol.iterator]=function(){
return this});class pie{constructor(e,t,n,r){
this.from=e,this.to=t,this.number=n,this.text=r}get length(){
return this.to-this.from}}function hie(e,t,n){
return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}
function fie(e,t,n=!0,r=!0){return Yoe(e,t,n,r)}function mie(e,t){
let n=e.charCodeAt(t);if(!(r=n,r>=55296&&r<56320&&t+1!=e.length))return n;var r
;let a=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344
}(a)?a-56320+(n-55296<<10)+65536:n}function gie(e){
return e<=65535?String.fromCharCode(e):(e-=65536,
String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function vie(e){
return e<65536?1:2}const bie=/\r\n?|\n/;var yie=function(e){
return e[e.Simple=0]="Simple",
e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",
e[e.TrackAfter=3]="TrackAfter",e}(yie||(yie={}));class Oie{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 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}
iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){
let a=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,a),r+=a):r+=o,n+=a}}
iterChangedRanges(e,t=!1){Sie(this,e,t)}get invertedDesc(){let e=[]
;for(let t=0;t<this.sections.length;){
let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}
return new Oie(e)}composeDesc(e){return this.empty?e:e.empty?this:Aie(this,e)}
mapDesc(e,t=!1){return e.empty?this:_ie(this,e,t)}mapPos(e,t=-1,n=yie.Simple){
let r=0,a=0;for(let o=0;o<this.sections.length;){
let i=this.sections[o++],s=this.sections[o++],l=r+i;if(s<0){
if(l>e)return a+(e-r);a+=i}else{
if(n!=yie.Simple&&l>=e&&(n==yie.TrackDel&&r<e&&l>e||n==yie.TrackBefore&&r<e||n==yie.TrackAfter&&l>e))return null
;if(l>e||l==e&&t<0&&!i)return e==r||t<0?a:a+s;a+=s}r=l}
if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`)
;return a}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){
let a=r+this.sections[n++]
;if(this.sections[n++]>=0&&r<=t&&a>=e)return!(r<e&&a>t)||"cover";r=a}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(e){
if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc")
;return new Oie(e)}static create(e){return new Oie(e)}}class wie extends Oie{
constructor(e,t){super(e),this.inserted=t}apply(e){
if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length")
;return Sie(this,((t,n,r,a,o)=>e=e.replace(r,r+(n-t),o)),!1),e}mapDesc(e,t=!1){
return _ie(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[]
;for(let r=0,a=0;r<t.length;r+=2){let o=t[r],i=t[r+1];if(i>=0){t[r]=i,t[r+1]=o
;let s=r>>1;for(;n.length<s;)n.push(aie.empty)
;n.push(o?e.slice(a,a+o):aie.empty)}a+=o}return new wie(t,n)}compose(e){
return this.empty?e:e.empty?this:Aie(this,e,!0)}map(e,t=!1){
return e.empty?this:_ie(this,e,t,!0)}iterChanges(e,t=!1){Sie(this,e,t)}
get desc(){return Oie.create(this.sections)}filter(e){
let t=[],n=[],r=[],a=new Tie(this);e:for(let o=0,i=0;;){
let s=o==e.length?1e9:e[o++];for(;i<s||i==s&&0==a.len;){if(a.done)break e
;let e=Math.min(a.len,s-i);xie(r,e,-1);let o=-1==a.ins?-1:0==a.off?a.ins:0
;xie(t,e,o),o>0&&kie(n,t,a.text),a.forward(e),i+=e}let l=e[o++];for(;i<l;){
if(a.done)break e;let e=Math.min(a.len,l-i)
;xie(t,e,-1),xie(r,e,-1==a.ins?-1:0==a.off?a.ins:0),a.forward(e),i+=e}}return{
changes:new wie(t,n),filtered:Oie.create(r)}}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):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))
}return e}static of(e,t,n){let r=[],a=[],o=0,i=null;function s(e=!1){
if(!e&&!r.length)return;o<t&&xie(r,t-o,-1);let n=new wie(r,a)
;i=i?i.compose(n.map(i)):n,r=[],a=[],o=0}return function e(l){
if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof wie){
if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`)
;s(),i=i?i.compose(l.map(i)):l}else{let{from:e,to:i=e,insert:c}=l
;if(e>i||e<0||i>t)throw new RangeError(`Invalid change range ${e} to ${i} (in doc of length ${t})`)
;let u=c?"string"==typeof c?aie.of(c.split(n||bie)):c:aie.empty,d=u.length
;if(e==i&&0==d)return;e<o&&s(),e>o&&xie(r,e-o,-1),xie(r,i-e,d),kie(a,r,u),o=i}
}(e),s(!i),i}static empty(e){return new wie(e?[e,-1]:[],[])}static fromJSON(e){
if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet")
;let t=[],n=[];for(let r=0;r<e.length;r++){let a=e[r]
;if("number"==typeof a)t.push(a,-1);else{
if(!Array.isArray(a)||"number"!=typeof a[0]||a.some(((e,t)=>t&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet")
;if(1==a.length)t.push(a[0],0);else{for(;n.length<r;)n.push(aie.empty)
;n[r]=aie.of(a.slice(1)),t.push(a[0],n[r].length)}}}return new wie(t,n)}
static createSet(e,t){return new wie(e,t)}}function xie(e,t,n,r=!1){
if(0==t&&n<=0)return;let a=e.length-2
;a>=0&&n<=0&&n==e[a+1]?e[a]+=t:a>=0&&0==t&&0==e[a]?e[a+1]+=n:r?(e[a]+=t,
e[a+1]+=n):e.push(t,n)}function kie(e,t,n){if(0==n.length)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(aie.empty);e.push(n)}}function Sie(e,t,n){
let r=e.inserted;for(let a=0,o=0,i=0;i<e.sections.length;){
let s=e.sections[i++],l=e.sections[i++];if(l<0)a+=s,o+=s;else{
let c=a,u=o,d=aie.empty
;for(;c+=s,u+=l,l&&r&&(d=d.append(r[i-2>>1])),!(n||i==e.sections.length||e.sections[i+1]<0);)s=e.sections[i++],
l=e.sections[i++];t(a,c,o,u,d),a=c,o=u}}}function _ie(e,t,n,r=!1){
let a=[],o=r?[]:null,i=new Tie(e),s=new Tie(t);for(let l=-1;;){
if(i.done&&s.len||s.done&&i.len)throw new Error("Mismatched change set lengths")
;if(-1==i.ins&&-1==s.ins){let e=Math.min(i.len,s.len)
;xie(a,e,-1),i.forward(e),s.forward(e)
}else if(s.ins>=0&&(i.ins<0||l==i.i||0==i.off&&(s.len<i.len||s.len==i.len&&!n))){
let e=s.len;for(xie(a,s.ins,-1);e;){let t=Math.min(i.len,e)
;i.ins>=0&&l<i.i&&i.len<=t&&(xie(a,0,i.ins),
o&&kie(o,a,i.text),l=i.i),i.forward(t),e-=t}s.next()}else{if(!(i.ins>=0)){
if(i.done&&s.done)return o?wie.createSet(a,o):Oie.create(a)
;throw new Error("Mismatched change set lengths")}{let e=0,t=i.len
;for(;t;)if(-1==s.ins){let n=Math.min(t,s.len);e+=n,t-=n,s.forward(n)}else{
if(!(0==s.ins&&s.len<t))break;t-=s.len,s.next()}
xie(a,e,l<i.i?i.ins:0),o&&l<i.i&&kie(o,a,i.text),l=i.i,i.forward(i.len-t)}}}}
function Aie(e,t,n=!1){let r=[],a=n?[]:null,o=new Tie(e),i=new Tie(t)
;for(let s=!1;;){if(o.done&&i.done)return a?wie.createSet(r,a):Oie.create(r)
;if(0==o.ins)xie(r,o.len,0,s),o.next();else if(0!=i.len||i.done){
if(o.done||i.done)throw new Error("Mismatched change set lengths");{
let e=Math.min(o.len2,i.len),t=r.length;if(-1==o.ins){
let t=-1==i.ins?-1:i.off?0:i.ins;xie(r,e,t,s),a&&t&&kie(a,r,i.text)
}else-1==i.ins?(xie(r,o.off?0:o.len,e,s),
a&&kie(a,r,o.textBit(e))):(xie(r,o.off?0:o.len,i.off?0:i.ins,s),
a&&!i.off&&kie(a,r,i.text))
;s=(o.ins>e||i.ins>=0&&i.len>e)&&(s||r.length>t),o.forward2(e),i.forward(e)}
}else xie(r,0,i.ins,s),a&&kie(a,r,i.text),i.next()}}class Tie{constructor(e){
this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set
;this.i<e.length?(this.len=e[this.i++],
this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){
return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){
let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?aie.empty:e[t]}
textBit(e){let{inserted:t}=this.set,n=this.i-2>>1
;return n>=t.length&&!e?aie.empty:t[n].slice(this.off,null==e?void 0:this.off+e)
}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){
-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}
class Eie{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){
return 32&this.flags?this.to:this.from}get head(){
return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}
get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){
let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6
;return 16777215==e?void 0:e}map(e,t=-1){let n,r
;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),
r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new Eie(n,r,this.flags)}
extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return Cie.range(e,t)
;let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t
;return Cie.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||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange")
;return Cie.range(e.anchor,e.head)}static create(e,t,n){return new Eie(e,t,n)}}
class Cie{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){
return e.empty?this:Cie.create(this.ranges.map((n=>n.map(e,t))),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 1==this.ranges.length?this:new Cie([this.main],0)}addRange(e,t=!0){
return Cie.create([e].concat(this.ranges),t?0:this.mainIndex+1)}
replaceRange(e,t=this.mainIndex){let n=this.ranges.slice()
;return n[t]=e,Cie.create(n,this.mainIndex)}toJSON(){return{
ranges:this.ranges.map((e=>e.toJSON())),main:this.mainIndex}}static fromJSON(e){
if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection")
;return new Cie(e.ranges.map((e=>Eie.fromJSON(e))),e.main)}static single(e,t=e){
return new Cie([Cie.range(e,t)],0)}static create(e,t=0){
if(0==e.length)throw new RangeError("A selection needs at least one range")
;for(let n=0,r=0;r<e.length;r++){let a=e[r]
;if(a.empty?a.from<=n:a.from<n)return Cie.normalized(e.slice(),t);n=a.to}
return new Cie(e,t)}static cursor(e,t=0,n,r){
return Eie.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)
}static range(e,t,n,r){let a=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r))
;return t<e?Eie.create(t,e,48|a):Eie.create(e,t,(t>e?8:0)|a)}
static normalized(e,t=0){let n=e[t]
;e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(n);for(let r=1;r<e.length;r++){
let n=e[r],a=e[r-1];if(n.empty?n.from<=a.to:n.from<a.to){
let o=a.from,i=Math.max(n.to,a.to)
;r<=t&&t--,e.splice(--r,2,n.anchor>n.head?Cie.range(i,o):Cie.range(o,i))}}
return new Cie(e,t)}}function $ie(e,t){
for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")
}let Pie=0;class Iie{constructor(e,t,n,r,a){
this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=Pie++,
this.default=e([]),this.extensions="function"==typeof a?a(this):a}get reader(){
return this}static define(e={}){
return new Iie(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:Die),!!e.static,e.enables)
}of(e){return new Mie([],this,0,e)}compute(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new Mie(e,this,1,t)}computeN(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new Mie(e,this,2,t)}from(e,t){
return t||(t=e=>e),this.compute([e],(n=>t(n.field(e))))}}function Die(e,t){
return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class Mie{
constructor(e,t,n,r){
this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=Pie++}
dynamicSlot(e){var t
;let n=this.value,r=this.facet.compareInput,a=this.id,o=e[a]>>1,i=2==this.type,s=!1,l=!1,c=[]
;for(let u of this.dependencies)"doc"==u?s=!0:"selection"==u?l=!0:1&(null!==(t=e[u.id])&&void 0!==t?t:1)||c.push(e[u.id])
;return{create:e=>(e.values[o]=n(e),1),update(e,t){
if(s&&t.docChanged||l&&(t.docChanged||t.selection)||Rie(e,c)){let t=n(e)
;if(i?!Nie(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},
reconfigure:(e,t)=>{let s,l=t.config.address[a];if(null!=l){let a=Yie(t,l)
;if(this.dependencies.every((n=>n instanceof Iie?t.facet(n)===e.facet(n):!(n instanceof jie)||t.field(n,!1)==e.field(n,!1)))||(i?Nie(s=n(e),a,r):r(s=n(e),a)))return e.values[o]=a,
0}else s=n(e);return e.values[o]=s,1}}}}function Nie(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 Rie(e,t){let n=!1;for(let r of t)1&Gie(e,r)&&(n=!0);return n}
function Lie(e,t,n){
let r=n.map((t=>e[t.id])),a=n.map((e=>e.type)),o=r.filter((e=>!(1&e))),i=e[t.id]>>1
;function s(e){let n=[];for(let t=0;t<r.length;t++){let o=Yie(e,r[t])
;if(2==a[t])for(let e of o)n.push(e);else n.push(o)}return t.combine(n)}return{
create(e){for(let t of r)Gie(e,t);return e.values[i]=s(e),1},update(e,n){
if(!Rie(e,o))return 0;let r=s(e)
;return t.compare(r,e.values[i])?0:(e.values[i]=r,1)},reconfigure(e,a){
let o=Rie(e,r),l=a.config.facets[t.id],c=a.facet(t)
;if(l&&!o&&Die(n,l))return e.values[i]=c,0;let u=s(e)
;return t.compare(u,c)?(e.values[i]=c,0):(e.values[i]=u,1)}}}
const Bie=Iie.define({static:!0});class jie{constructor(e,t,n,r,a){
this.id=e,this.createF=t,
this.updateF=n,this.compareF=r,this.spec=a,this.provides=void 0}
static define(e){
let t=new jie(Pie++,e.create,e.update,e.compare||((e,t)=>e===t),e)
;return e.provide&&(t.provides=e.provide(t)),t}create(e){
let t=e.facet(Bie).find((e=>e.field==this))
;return((null==t?void 0:t.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],a=this.updateF(r,n)
;return this.compareF(r,a)?0:(e.values[t]=a,1)},
reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),
0):(e.values[t]=this.create(e),1)}}init(e){return[this,Bie.of({field:this,
create:e})]}get extension(){return this}}const Uie=4,zie=3,Zie=2,Fie=1
;function Hie(e){return t=>new Vie(t,e)}const Qie={highest:Hie(0),high:Hie(Fie),
default:Hie(Zie),low:Hie(zie),lowest:Hie(Uie)};class Vie{constructor(e,t){
this.inner=e,this.prec=t}}class qie{of(e){return new Wie(this,e)}reconfigure(e){
return qie.reconfigure.of({compartment:this,extension:e})}get(e){
return e.config.compartments.get(this)}}class Wie{constructor(e,t){
this.compartment=e,this.inner=t}}class Xie{constructor(e,t,n,r,a,o){
for(this.base=e,
this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=a,
this.facets=o,
this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)
}staticFacet(e){let t=this.address[e.id]
;return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){
let r=[],a=Object.create(null),o=new Map;for(let d of function(e,t,n){
let r=[[],[],[],[],[]],a=new Map;function o(e,i){let s=a.get(e);if(null!=s){
if(s<=i)return;let t=r[s].indexOf(e)
;t>-1&&r[s].splice(t,1),e instanceof Wie&&n.delete(e.compartment)}if(a.set(e,i),
Array.isArray(e))for(let t of e)o(t,i);else if(e instanceof Wie){
if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions")
;let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),o(r,i)
}else if(e instanceof Vie)o(e.inner,e.prec);else if(e instanceof jie)r[i].push(e),
e.provides&&o(e.provides,i);else if(e instanceof Mie)r[i].push(e),
e.facet.extensions&&o(e.facet.extensions,Zie);else{let t=e.extension
;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`)
;o(t,i)}}return o(e,Zie),r.reduce(((e,t)=>e.concat(t)))
}(e,t,o))d instanceof jie?r.push(d):(a[d.facet.id]||(a[d.facet.id]=[])).push(d)
;let i=Object.create(null),s=[],l=[]
;for(let d of r)i[d.id]=l.length<<1,l.push((e=>d.slot(e)))
;let c=null==n?void 0:n.config.facets;for(let d in a){
let e=a[d],t=e[0].facet,r=c&&c[d]||[]
;if(e.every((e=>0==e.type)))if(i[t.id]=s.length<<1|1,
Die(r,e))s.push(n.facet(t));else{let r=t.combine(e.map((e=>e.value)))
;s.push(n&&t.compare(r,n.facet(t))?n.facet(t):r)}else{
for(let t of e)0==t.type?(i[t.id]=s.length<<1|1,
s.push(t.value)):(i[t.id]=l.length<<1,l.push((e=>t.dynamicSlot(e))))
;i[t.id]=l.length<<1,l.push((n=>Lie(n,t,e)))}}let u=l.map((e=>e(i)))
;return new Xie(e,o,u,i,s,a)}}function Gie(e,t){if(1&t)return 2
;let n=t>>1,r=e.status[n]
;if(4==r)throw new Error("Cyclic dependency between fields and/or facets")
;if(2&r)return r;e.status[n]=4;let a=e.computeSlot(e,e.config.dynamicSlots[n])
;return e.status[n]=2|a}function Yie(e,t){
return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}
const Kie=Iie.define(),Jie=Iie.define({combine:e=>e.some((e=>e)),static:!0
}),ese=Iie.define({combine:e=>e.length?e[0]:void 0,static:!0
}),tse=Iie.define(),nse=Iie.define(),rse=Iie.define(),ase=Iie.define({
combine:e=>!!e.length&&e[0]});class ose{constructor(e,t){
this.type=e,this.value=t}static define(){return new ise}}class ise{of(e){
return new ose(this,e)}}class sse{constructor(e){this.map=e}of(e){
return new lse(this,e)}}class lse{constructor(e,t){this.type=e,this.value=t}
map(e){let t=this.type.map(this.value,e)
;return void 0===t?void 0:t==this.value?this:new lse(this.type,t)}is(e){
return this.type==e}static define(e={}){return new sse(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}}
lse.reconfigure=lse.define(),lse.appendConfig=lse.define();class cse{
constructor(e,t,n,r,a,o){
this.startState=e,this.changes=t,this.selection=n,this.effects=r,
this.annotations=a,
this.scrollIntoView=o,this._doc=null,this._state=null,n&&$ie(n,t.newLength),
a.some((e=>e.type==cse.time))||(this.annotations=a.concat(cse.time.of(Date.now())))
}static create(e,t,n,r,a,o){return new cse(e,t,n,r,a,o)}get newDoc(){
return this._doc||(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(e){
let t=this.annotation(cse.userEvent)
;return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))
}}function use(e,t){let n=[];for(let r=0,a=0;;){let o,i
;if(r<e.length&&(a==t.length||t[a]>=e[r]))o=e[r++],i=e[r++];else{
if(!(a<t.length))return n;o=t[a++],i=t[a++]}
!n.length||n[n.length-1]<o?n.push(o,i):n[n.length-1]<i&&(n[n.length-1]=i)}}
function dse(e,t,n){var r;let a,o,i
;return n?(a=t.changes,o=wie.empty(t.changes.length),
i=e.changes.compose(t.changes)):(a=t.changes.map(e.changes),
o=e.changes.mapDesc(t.changes,!0),i=e.changes.compose(a)),{changes:i,
selection:t.selection?t.selection.map(o):null===(r=e.selection)||void 0===r?void 0:r.map(a),
effects:lse.mapEffects(e.effects,a).concat(lse.mapEffects(t.effects,o)),
annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,
scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function pse(e,t,n){
let r=t.selection,a=mse(t.annotations)
;return t.userEvent&&(a=a.concat(cse.userEvent.of(t.userEvent))),{
changes:t.changes instanceof wie?t.changes:wie.of(t.changes||[],n,e.facet(ese)),
selection:r&&(r instanceof Cie?r:Cie.single(r.anchor,r.head)),
effects:mse(t.effects),annotations:a,scrollIntoView:!!t.scrollIntoView}}
function hse(e,t,n){let r=pse(e,t.length?t[0]:{},e.doc.length)
;t.length&&!1===t[0].filter&&(n=!1);for(let o=1;o<t.length;o++){
!1===t[o].filter&&(n=!1);let a=!!t[o].sequential
;r=dse(r,pse(e,t[o],a?r.changes.newLength:e.doc.length),a)}
let a=cse.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView)
;return function(e){let t=e.startState,n=t.facet(rse),r=e
;for(let a=n.length-1;a>=0;a--){let o=n[a](e)
;o&&Object.keys(o).length&&(r=dse(r,pse(t,o,e.changes.newLength),!0))}
return r==e?e:cse.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)
}(n?function(e){let t=e.startState,n=!0;for(let a of t.facet(tse)){let t=a(e)
;if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:use(n,t))}if(!0!==n){
let r,a;if(!1===n)a=e.changes.invertedDesc,r=wie.empty(t.doc.length);else{
let t=e.changes.filter(n)
;r=t.changes,a=t.filtered.mapDesc(t.changes).invertedDesc}
e=cse.create(t,r,e.selection&&e.selection.map(a),lse.mapEffects(e.effects,a),e.annotations,e.scrollIntoView)
}let r=t.facet(nse);for(let a=r.length-1;a>=0;a--){let n=r[a](e)
;e=n instanceof cse?n:Array.isArray(n)&&1==n.length&&n[0]instanceof cse?n[0]:hse(t,mse(n),!1)
}return e}(a):a)}
cse.time=ose.define(),cse.userEvent=ose.define(),cse.addToHistory=ose.define(),
cse.remote=ose.define();const fse=[];function mse(e){
return null==e?fse:Array.isArray(e)?e:[e]}var gse=function(e){
return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e
}(gse||(gse={}))
;const vse=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
;let bse;try{bse=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(Ist){}
function yse(e){return t=>{if(!/\S/.test(t))return gse.Space;if(function(e){
if(bse)return bse.test(e);for(let t=0;t<e.length;t++){let n=e[t]
;if(/\w/.test(n)||n>""&&(n.toUpperCase()!=n.toLowerCase()||vse.test(n)))return!0
}return!1}(t))return gse.Word
;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return gse.Word
;return gse.Other}}class Ose{constructor(e,t,n,r,a,o){
this.config=e,this.doc=t,this.selection=n,
this.values=r,this.status=e.statusTemplate.slice(),
this.computeSlot=a,o&&(o._state=this)
;for(let i=0;i<this.config.dynamicSlots.length;i++)Gie(this,i<<1)
;this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id]
;if(null!=n)return Gie(this,n),Yie(this,n)
;if(t)throw new RangeError("Field is not present in this state")}update(...e){
return hse(this,e,!0)}applyTransaction(e){
let t,n=this.config,{base:r,compartments:a}=n
;for(let i of e.effects)i.is(qie.reconfigure)?(n&&(a=new Map,
n.compartments.forEach(((e,t)=>a.set(t,e))),
n=null),a.set(i.value.compartment,i.value.extension)):i.is(lse.reconfigure)?(n=null,
r=i.value):i.is(lse.appendConfig)&&(n=null,r=mse(r).concat(i.value))
;if(n)t=e.startState.values.slice();else{
n=Xie.resolve(r,a,this),t=new Ose(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values
}let o=e.startState.facet(Jie)?e.newSelection:e.newSelection.asSingle()
;new Ose(n,e.newDoc,o,t,((t,n)=>n.update(t,e)),e)}replaceSelection(e){
return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((t=>({changes:{
from:t.from,to:t.to,insert:e},range:Cie.cursor(t.from+e.length)})))}
changeByRange(e){
let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),a=[n.range],o=mse(n.effects)
;for(let i=1;i<t.ranges.length;i++){
let n=e(t.ranges[i]),s=this.changes(n.changes),l=s.map(r)
;for(let e=0;e<i;e++)a[e]=a[e].map(l);let c=r.mapDesc(s,!0)
;a.push(n.range.map(c)),
r=r.compose(l),o=lse.mapEffects(o,l).concat(lse.mapEffects(mse(n.effects),c))}
return{changes:r,selection:Cie.create(a,t.mainIndex),effects:o}}changes(e=[]){
return e instanceof wie?e:wie.of(e,this.doc.length,this.facet(Ose.lineSeparator))
}toText(e){return aie.of(e.split(this.facet(Ose.lineSeparator)||bie))}
sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}
facet(e){let t=this.config.address[e.id]
;return null==t?e.default:(Gie(this,t),Yie(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 jie&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))
}return t}static fromJSON(e,t={},n){
if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState")
;let r=[];if(n)for(let a in n)if(Object.prototype.hasOwnProperty.call(e,a)){
let t=n[a],o=e[a];r.push(t.init((e=>t.spec.fromJSON(o,e))))}return Ose.create({
doc:e.doc,selection:Cie.fromJSON(e.selection),
extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){
let t=Xie.resolve(e.extensions||[],new Map),n=e.doc instanceof aie?e.doc:aie.of((e.doc||"").split(t.staticFacet(Ose.lineSeparator)||bie)),r=e.selection?e.selection instanceof Cie?e.selection:Cie.single(e.selection.anchor,e.selection.head):Cie.single(0)
;return $ie(r,n.length),
t.staticFacet(Jie)||(r=r.asSingle()),new Ose(t,n,r,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)
}get tabSize(){return this.facet(Ose.tabSize)}get lineBreak(){
return this.facet(Ose.lineSeparator)||"\n"}get readOnly(){return this.facet(ase)
}phrase(e,...t){
for(let n of this.facet(Ose.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){
e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,n)=>{
if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]}))),e}
languageDataAt(e,t,n=-1){let r=[]
;for(let a of this.facet(Kie))for(let o of a(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e])
;return r}charCategorizer(e){
return yse(this.languageDataAt("wordChars",e).join(""))}wordAt(e){
let{text:t,from:n,length:r}=this.doc.lineAt(e),a=this.charCategorizer(e),o=e-n,i=e-n
;for(;o>0;){let e=fie(t,o,!1);if(a(t.slice(e,o))!=gse.Word)break;o=e}for(;i<r;){
let e=fie(t,i);if(a(t.slice(i,e))!=gse.Word)break;i=e}
return o==i?null:Cie.range(o+n,i+n)}}function wse(e,t,n={}){let r={}
;for(let a of e)for(let e of Object.keys(a)){let t=a[e],o=r[e]
;if(void 0===o)r[e]=t;else if(o===t||void 0===t);else{
if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e)
;r[e]=n[e](o,t)}}for(let a in t)void 0===r[a]&&(r[a]=t[a]);return r}
Ose.allowMultipleSelections=Jie,Ose.tabSize=Iie.define({
combine:e=>e.length?e[0]:4
}),Ose.lineSeparator=ese,Ose.readOnly=ase,Ose.phrases=Iie.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]))}
}),Ose.languageData=Kie,Ose.changeFilter=tse,
Ose.transactionFilter=nse,Ose.transactionExtender=rse,
qie.reconfigure=lse.define();class xse{eq(e){return this==e}range(e,t=e){
return kse.create(e,t,this)}}
xse.prototype.startSide=xse.prototype.endSide=0,xse.prototype.point=!1,
xse.prototype.mapMode=yie.TrackDel;let kse=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)}}
;function Sse(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}
class _se{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 a=n?this.to:this.from
;for(let o=r,i=a.length;;){if(o==i)return o
;let r=o+i>>1,s=a[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t
;if(r==o)return s>=0?o:i;s>=0?i=r:o=r+1}}between(e,t,n,r){
for(let a=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,a);a<o;a++)if(!1===r(this.from[a]+e,this.to[a]+e,this.value[a]))return!1
}map(e,t){let n=[],r=[],a=[],o=-1,i=-1;for(let s=0;s<this.value.length;s++){
let l,c,u=this.value[s],d=this.from[s]+e,p=this.to[s]+e;if(d==p){
let e=t.mapPos(d,u.startSide,u.mapMode);if(null==e)continue
;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(d,u.endSide),c<l))continue
}else if(l=t.mapPos(d,u.startSide),
c=t.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue
;(c-l||u.endSide-u.startSide)<0||(o<0&&(o=l),
u.point&&(i=Math.max(i,c-l)),n.push(u),r.push(l-o),a.push(c-o))}return{
mapped:n.length?new _se(r,a,n,i):null,pos:o}}}class Ase{constructor(e,t,n,r){
this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}
static create(e,t,n,r){return new Ase(e,t,n,r)}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(e){
let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:a=this.length}=e,o=e.filter
;if(0==t.length&&!o)return this
;if(n&&(t=t.slice().sort(Sse)),this.isEmpty)return t.length?Ase.of(t):this
;let i=new Cse(this,null,-1).goto(0),s=0,l=[],c=new Tse
;for(;i.value||s<t.length;)if(s<t.length&&(i.from-t[s].from||i.startSide-t[s].value.startSide)>=0){
let e=t[s++];c.addInner(e.from,e.to,e.value)||l.push(e)
}else 1==i.rangeIndex&&i.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(i.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(i.chunkIndex)||a<this.chunkPos[i.chunkIndex])&&c.addChunk(this.chunkPos[i.chunkIndex],this.chunk[i.chunkIndex])?i.nextChunk():((!o||r>i.to||a<i.from||o(i.from,i.to,i.value))&&(c.addInner(i.from,i.to,i.value)||l.push(kse.create(i.from,i.to,i.value))),
i.next())
;return c.finishInner(this.nextLayer.isEmpty&&!l.length?Ase.empty:this.nextLayer.update({
add:l,filter:o,filterFrom:r,filterTo:a}))}map(e){
if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1
;for(let o=0;o<this.chunk.length;o++){
let a=this.chunkPos[o],i=this.chunk[o],s=e.touchesRange(a,a+i.length)
;if(!1===s)r=Math.max(r,i.maxPoint),
t.push(i),n.push(e.mapPos(a));else if(!0===s){let{mapped:o,pos:s}=i.map(a,e)
;o&&(r=Math.max(r,o.maxPoint),t.push(o),n.push(s))}}let a=this.nextLayer.map(e)
;return 0==t.length?a:new Ase(n,t,a||Ase.empty,r)}between(e,t,n){
if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){
let a=this.chunkPos[r],o=this.chunk[r]
;if(t>=a&&e<=a+o.length&&!1===o.between(a,e-a,t-a,n))return}
this.nextLayer.between(e,t,n)}}iter(e=0){return $se.from([this]).goto(e)}
get isEmpty(){return this.nextLayer==this}static iter(e,t=0){
return $se.from(e).goto(t)}static compare(e,t,n,r,a=-1){
let o=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a)),i=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=a)),s=Ese(o,i,n),l=new Ise(o,s,a),c=new Ise(i,s,a)
;n.iterGaps(((e,t,n)=>Dse(l,e,c,t,n,r))),n.empty&&0==n.length&&Dse(l,0,c,0,0,r)}
static eq(e,t,n=0,r){null==r&&(r=999999999)
;let a=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),o=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0))
;if(a.length!=o.length)return!1;if(!a.length)return!0
;let i=Ese(a,o),s=new Ise(a,i,0).goto(n),l=new Ise(o,i,0).goto(n);for(;;){
if(s.to!=l.to||!Mse(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1
;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,a=-1){
let o=new Ise(e,null,a).goto(t),i=t,s=o.openStart;for(;;){let e=Math.min(o.to,n)
;if(o.point){
let n=o.activeForPoint(o.to),a=o.pointFrom<t?n.length+1:o.point.startSide<0?n.length:Math.min(n.length,s)
;r.point(i,e,o.point,n,a,o.pointRank),s=Math.min(o.openEnd(e),n.length)
}else e>i&&(r.span(i,e,o.active,s),s=o.openEnd(e))
;if(o.to>n)return s+(o.point&&o.to>n?1:0);i=o.to,o.next()}}static of(e,t=!1){
let n=new Tse;for(let r of e instanceof kse?[e]:t?function(e){
if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n]
;if(Sse(t,r)>0)return e.slice().sort(Sse);t=r}return e
}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){
if(!e.length)return Ase.empty;let t=e[e.length-1]
;for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=Ase.empty;r=r.nextLayer)t=new Ase(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint))
;return t}}Ase.empty=new Ase([],[],null,-1),Ase.empty.nextLayer=Ase.empty
;class Tse{finishChunk(e){
this.chunks.push(new _se(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(e,t,n){
this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Tse)).add(e,t,n)}
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 new Error("Ranges must be added sorted by `from` position and `startSide`")
;return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),
this.chunkStart<0&&(this.chunkStart=e),
this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),
this.last=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(Ase.empty)}finishInner(e){
if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e
;let t=Ase.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint)
;return this.from=null,t}}function Ese(e,t,n){let r=new Map
;for(let o of e)for(let e=0;e<o.chunk.length;e++)o.chunk[e].maxPoint<=0&&r.set(o.chunk[e],o.chunkPos[e])
;let a=new Set;for(let o of t)for(let e=0;e<o.chunk.length;e++){
let t=r.get(o.chunk[e])
;null==t||(n?n.mapPos(t):t)!=o.chunkPos[e]||(null==n?void 0:n.touchesRange(t,t+o.chunk[e].length))||a.add(o.chunk[e])
}return a}class Cse{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}{
let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex]
;if(this.from=n,
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
}}class $se{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[]
;for(let a=0;a<e.length;a++)for(let o=e[a];!o.isEmpty;o=o.nextLayer)o.maxPoint>=n&&r.push(new Cse(o,t,n,a))
;return 1==r.length?r[0]:new $se(r)}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 n=this.heap.length>>1;n>=0;n--)Pse(this.heap,n);return this.next(),this
}forward(e,t){for(let n of this.heap)n.forward(e,t)
;for(let n=this.heap.length>>1;n>=0;n--)Pse(this.heap,n)
;(this.to-e||this.value.endSide-t)<0&&this.next()}next(){
if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{
let e=this.heap[0]
;this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,
e.value&&e.next(),Pse(this.heap,0)}}}function Pse(e,t){for(let n=e[t];;){
let r=1+(t<<1);if(r>=e.length)break;let a=e[r]
;if(r+1<e.length&&a.compare(e[r+1])>=0&&(a=e[r+1],r++),n.compare(a)<0)break
;e[r]=n,e[t]=a,t=r}}class Ise{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=$se.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){
Nse(this.active,e),Nse(this.activeTo,e),
Nse(this.activeRank,e),this.minActive=Lse(this.active,this.activeTo)}
addActive(e){let t=0,{value:n,to:r,rank:a}=this.cursor
;for(;t<this.activeRank.length&&(a-this.activeRank[t]||r-this.activeTo[t])>0;)t++
;Rse(this.active,t,n),
Rse(this.activeTo,t,r),Rse(this.activeRank,t,a),e&&Rse(e,t,this.cursor.from),
this.minActive=Lse(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&&Nse(n,r)}else{if(!this.cursor.value){
this.to=this.endSide=1e9;break}if(this.cursor.from>e){
this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{
let e=this.cursor.value;if(e.point){
if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,
this.pointFrom=this.cursor.from,
this.pointRank=this.cursor.rank,this.to=this.cursor.to,
this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide)
;break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}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}}
function Dse(e,t,n,r,a,o){e.goto(t),n.goto(r);let i=r+a,s=r,l=r-t;for(;;){
let t=e.to+l-n.to,r=t||e.endSide-n.endSide,a=r<0?e.to+l:n.to,c=Math.min(a,i)
;if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&Mse(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,c,e.point,n.point):c>s&&!Mse(e.active,n.active)&&o.compareRange(s,c,e.active,n.active),
a>i)break
;(t||e.openEnd!=n.openEnd)&&o.boundChange&&o.boundChange(a),s=a,r<=0&&e.next(),
r>=0&&n.next()}}function Mse(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 Nse(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}
function Rse(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}
function Lse(e,t){let n=-1,r=1e9
;for(let a=0;a<t.length;a++)(t[a]-r||e[a].endSide-e[n].endSide)<0&&(n=a,r=t[a])
;return n}function Bse(e,t,n=e.length){let r=0
;for(let a=0;a<n;)9==e.charCodeAt(a)?(r+=t-r%t,a++):(r++,a=fie(e,a));return r}
const jse="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),Use="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),zse="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{}
;class Zse{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){
return/^@/.test(e)?[e]:e.split(/,\s*/)}function a(e,t,o,i){
let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1]
;if(l&&null==t)return o.push(e[0]+";");for(let n in t){let i=t[n]
;if(/&/.test(n))a(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),i,o);else if(i&&"object"==typeof i){
if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.")
;a(r(n),i,s,c)
}else null!=i&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+i+";")
}(s.length||c)&&o.push((!n||l||i?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}
for(let o in e)a(r(o),e[o],this.rules)}getRules(){return this.rules.join("\n")}
static newName(){let e=zse[jse]||1;return zse[jse]=e+1,"ͼ"+e.toString(36)}
static mount(e,t,n){let r=e[Use],a=n&&n.nonce;r?a&&r.setNonce(a):r=new Hse(e,a),
r.mount(Array.isArray(t)?t:[t],e)}}let Fse=new Map;class Hse{constructor(e,t){
let n=e.ownerDocument||e,r=n.defaultView
;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Fse.get(n)
;if(t)return e[Use]=t;this.sheet=new r.CSSStyleSheet,Fse.set(n,this)
}else this.styleTag=n.createElement("style"),
t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[Use]=this}mount(e,t){
let n=this.sheet,r=0,a=0;for(let o=0;o<e.length;o++){
let t=e[o],i=this.modules.indexOf(t)
;if(i<a&&i>-1&&(this.modules.splice(i,1),a--,i=-1),-1==i){
if(this.modules.splice(a++,0,t),
n)for(let e=0;e<t.rules.length;e++)n.insertRule(t.rules[e],r++)}else{
for(;a<i;)r+=this.modules[a++].rules.length;r+=t.rules.length,a++}}
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()+"\n"
;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)
}}for(var Qse={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:"'"},Vse={48:")",49:"!",50:"@",51:"#",52:"$",
53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",
188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'
},qse="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Wse="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Xse=0;Xse<10;Xse++)Qse[48+Xse]=Qse[96+Xse]=String(Xse)
;for(Xse=1;Xse<=24;Xse++)Qse[Xse+111]="F"+Xse
;for(Xse=65;Xse<=90;Xse++)Qse[Xse]=String.fromCharCode(Xse+32),
Vse[Xse]=String.fromCharCode(Xse)
;for(var Gse in Qse)Vse.hasOwnProperty(Gse)||(Vse[Gse]=Qse[Gse])
;function Yse(e){let t
;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}
function Kse(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}
function Jse(e,t){if(!t.anchorNode)return!1;try{return Kse(e,t.anchorNode)
}catch(Ist){return!1}}function ele(e){
return 3==e.nodeType?hle(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]
}function tle(e,t,n,r){return!!n&&(ale(e,t,n,r,-1)||ale(e,t,n,r,1))}
function nle(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}
function rle(e){
return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)
}function ale(e,t,n,r,a){for(;;){if(e==n&&t==r)return!0;if(t==(a<0?0:ole(e))){
if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1
;t=nle(e)+(a<0?0:1),e=n}else{if(1!=e.nodeType)return!1
;if(1==(e=e.childNodes[t+(a<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1
;t=a<0?ole(e):0}}}function ole(e){
return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function ile(e,t){
let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}
function sle(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 lle(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}}class cle{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?ole(t):0),n,Math.min(e.focusOffset,n?ole(n):0))
}set(e,t,n,r){
this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}
let ule,dle=null;function ple(e){if(e.setActive)return e.setActive()
;if(dle)return e.focus(dle);let t=[]
;for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),
n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==dle?{get preventScroll(){
return dle={preventScroll:!0},!0}}:void 0),!dle){dle=!1
;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],a=t[e++]
;n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=a&&(n.scrollLeft=a)}}}
function hle(e,t,n=t){let r=ule||(ule=document.createRange())
;return r.setEnd(e,n),r.setStart(e,t),r}function fle(e,t,n,r){let a={key:t,
code:t,keyCode:n,which:n,cancelable:!0}
;r&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=r)
;let o=new KeyboardEvent("keydown",a);o.synthetic=!0,e.dispatchEvent(o)
;let i=new KeyboardEvent("keyup",a)
;return i.synthetic=!0,e.dispatchEvent(i),o.defaultPrevented||i.defaultPrevented
}function mle(e){
for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}
function gle(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}
function vle(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,
offset:r};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null
;n=n.childNodes[r-1],r=ole(n)}else{if(!n.parentNode||rle(n))return null
;r=nle(n),n=n.parentNode}}}function ble(e,t){for(let n=e,r=t;;){
if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r}
;if(1==n.nodeType&&r<n.childNodes.length){
if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{
if(!n.parentNode||rle(n))return null;r=nle(n)+1,n=n.parentNode}}}class yle{
constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}
static before(e,t){return new yle(e.parentNode,nle(e),t)}static after(e,t){
return new yle(e.parentNode,nle(e)+1,t)}}const Ole=[];class wle{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 new RangeError("Invalid child in posBefore")}
posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){
let n,r=this.dom,a=null;for(let o of this.children){if(7&o.flags){
if(!o.dom&&(n=a?a.nextSibling:r.firstChild)){let e=wle.get(n)
;(!e||!e.parent&&e.canReuseDOM(o))&&o.reuseDOM(n)}o.sync(e,t),o.flags&=-8}
if(n=a?a.nextSibling:r.firstChild,
t&&!t.written&&t.node==r&&n!=o.dom&&(t.written=!0),
o.dom.parentNode==r)for(;n&&n!=o.dom;)n=xle(n);else r.insertBefore(o.dom,n)
;a=o.dom}
for(n=a?a.nextSibling:r.firstChild,n&&t&&t.node==r&&(t.written=!0);n;)n=xle(n)
}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(e,t),
n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n
;if(e==this.dom)n=this.dom.childNodes[t];else{let r=0==ole(e)?0:0==t?-1:1
;for(;;){let t=e.parentNode;if(t==this.dom)break
;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}
n=r<0?e:e.nextSibling}if(n==this.dom.firstChild)return 0
;for(;n&&!wle.get(n);)n=n.nextSibling;if(!n)return this.length
;for(let r=0,a=0;;r++){let e=this.children[r];if(e.dom==n)return a
;a+=e.length+e.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,a=-1,o=-1,i=-1
;for(let s=0,l=n,c=n;s<this.children.length;s++){
let n=this.children[s],u=l+n.length;if(l<e&&u>t)return n.domBoundsAround(e,t,l)
;if(u>=e&&-1==r&&(r=s,a=l),l>t&&n.dom.parentNode==this.dom){o=s,i=c;break}
c=u,l=u+n.breakAfter}return{from:a,to:i<0?n+this.length:i,
startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,
endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}markDirty(e=!1){
this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){
for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return
;t.flags|=1,e=!1}}setParent(e){
this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}
setDOM(e){
this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}
get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}
replaceChildren(e,t,n=Ole){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 r=0;r<n.length;r++)n[r].setParent(this)}ignoreMutation(e){return!1}
ignoreEvent(e){return!1}childCursor(e=this.length){
return new kle(this.children,e,this.children.length)}childPos(e,t=1){
return this.childCursor().findPos(e,t)}toString(){
let e=this.constructor.name.replace("View","")
;return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")
}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1
}get isHidden(){return!1}merge(e,t,n,r,a,o){return!1}become(e){return!1}
canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))
}getSide(){return 0}destroy(){
for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}
function xle(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}
wle.prototype.breakAfter=0;class kle{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||0==this.i||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}}}
function Sle(e,t,n,r,a,o,i,s,l){
let{children:c}=e,u=c.length?c[t]:null,d=o.length?o[o.length-1]:null,p=d?d.breakAfter:i
;if(!(t==r&&u&&!i&&!p&&o.length<2&&u.merge(n,a,o.length?d:null,0==n,s,l))){
if(r<c.length){let e=c[r]
;e&&(a<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==r&&(e=e.split(a),
a=0),
!p&&d&&e.merge(0,a,d,!0,0,l)?o[o.length-1]=e:((a||e.children.length&&!e.children[0].length)&&e.merge(0,a,null,!1,0,l),
o.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:i=1),r++}
for(u&&(u.breakAfter=i,
n>0&&(!i&&o.length&&u.merge(n,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,s,0),
t++));t<r&&o.length;)if(c[r-1].become(o[o.length-1]))r--,
o.pop(),l=o.length?0:s;else{if(!c[t].become(o[0]))break
;t++,o.shift(),s=o.length?0:l}
!o.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,
(t<r||o.length)&&e.replaceChildren(t,r,o)}}function _le(e,t,n,r,a,o){
let i=e.childCursor(),{i:s,off:l}=i.findPos(n,1),{i:c,off:u}=i.findPos(t,-1),d=t-n
;for(let p of r)d+=p.length;e.length+=d,Sle(e,c,u,s,l,r,0,a,o)}
let Ale="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",
platform:""},Tle="undefined"!=typeof document?document:{documentElement:{
style:{}}}
;const Ele=/Edge\/(\d+)/.exec(Ale.userAgent),Cle=/MSIE \d/.test(Ale.userAgent),$le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ale.userAgent),Ple=!!(Cle||$le||Ele),Ile=!Ple&&/gecko\/(\d+)/i.test(Ale.userAgent),Dle=!Ple&&/Chrome\/(\d+)/.exec(Ale.userAgent),Mle="webkitFontSmoothing"in Tle.documentElement.style,Nle=!Ple&&/Apple Computer/.test(Ale.vendor),Rle=Nle&&(/Mobile\/\w+/.test(Ale.userAgent)||Ale.maxTouchPoints>2)
;var Lle={mac:Rle||/Mac/.test(Ale.platform),windows:/Win/.test(Ale.platform),
linux:/Linux|X11/.test(Ale.platform),ie:Ple,
ie_version:Cle?Tle.documentMode||6:$le?+$le[1]:Ele?+Ele[1]:0,gecko:Ile,
gecko_version:Ile?+(/Firefox\/(\d+)/.exec(Ale.userAgent)||[0,0])[1]:0,
chrome:!!Dle,chrome_version:Dle?+Dle[1]:0,ios:Rle,
android:/Android\b/.test(Ale.userAgent),webkit:Mle,safari:Nle,
webkit_version:Mle?+(/\bAppleWebKit\/(\d+)/.exec(Ale.userAgent)||[0,0])[1]:0,
tabSize:null!=Tle.documentElement.style.tabSize?"tab-size":"-moz-tab-size"}
;class Ble extends wle{constructor(e){super(),this.text=e}get length(){
return this.text.length}createDOM(e){
this.setDOM(e||document.createTextNode(this.text))}sync(e,t){
this.dom||this.createDOM(),
this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),
this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}
merge(e,t,n){
return!(8&this.flags||n&&(!(n instanceof Ble)||this.length-(t-e)+n.length>256||8&n.flags))&&(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),
this.markDirty(),!0)}split(e){let t=new Ble(this.text.slice(e))
;return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}
localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){
return new yle(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 function(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let a=t,o=t,i=0
;0==t&&n<0||t==r&&n>=0?Lle.chrome||Lle.gecko||(t?(a--,
i=1):o<r&&(o++,i=-1)):n<0?a--:o<r&&o++;let s=hle(e,a,o).getClientRects()
;if(!s.length)return null;let l=s[(i?i<0:n>=0)?0:s.length-1]
;Lle.safari&&!i&&0==l.width&&(l=Array.prototype.find.call(s,(e=>e.width))||l)
;return i?ile(l,i<0):l||null}(this.dom,e,t)}}class jle extends wle{
constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n
;for(let r of t)r.setParent(this)}setAttrs(e){
if(mle(e),this.mark.class&&(e.className=this.mark.class),
this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t])
;return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}
reuseDOM(e){
e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}
sync(e,t){
this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),
super.sync(e,t)}merge(e,t,n,r,a,o){
return(!n||!(!(n instanceof jle&&n.mark.eq(this.mark))||e&&a<=0||t<this.length&&o<=0))&&(_le(this,e,t,n?n.children.slice():[],a-1,o-1),
this.markDirty(),!0)}split(e){let t=[],n=0,r=-1,a=0;for(let i of this.children){
let o=n+i.length;o>e&&t.push(n<e?i.split(e-n):i),r<0&&n>=e&&(r=a),n=o,a++}
let o=this.length-e
;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),
new jle(this.mark,t,o)}domAtPos(e){return Zle(this,e)}coordsAt(e,t){
return Hle(this,e,t)}}class Ule extends wle{static create(e,t,n){
return new Ule(e,t,n)}constructor(e,t,n){
super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){
let t=Ule.create(this.widget,this.length-e,this.side);return this.length-=e,t}
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(e,t,n,r,a,o){
return!(n&&(!(n instanceof Ule&&this.widget.compare(n.widget))||e>0&&a<=0||t<this.length&&o<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}become(e){
return e instanceof Ule&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),
this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),
this.widget=e.widget,this.length=e.length,!0)}ignoreMutation(){return!0}
ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){
if(0==this.length)return aie.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):aie.empty}domAtPos(e){
return(this.length?0==e:this.side>0)?yle.before(this.dom):yle.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(),a=null;if(!r.length)return null
;let o=this.side?this.side<0:e>0
;for(let i=o?r.length-1:0;a=r[i],!(e>0?0==i:i==r.length-1||a.top<a.bottom);i+=o?-1:1);
return ile(a,!o)}get isEditable(){return!1}get isWidget(){return!0}
get isHidden(){return this.widget.isHidden}destroy(){
super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class zle extends wle{
constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}
become(e){return e instanceof zle&&e.side==this.side}split(){
return new zle(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?yle.before(this.dom):yle.after(this.dom)}localPosFromDOM(){
return 0}domBoundsAround(){return null}coordsAt(e){
return this.dom.getBoundingClientRect()}get overrideDOMText(){return aie.empty}
get isHidden(){return!0}}function Zle(e,t){let n=e.dom,{children:r}=e,a=0
;for(let o=0;a<r.length;a++){let e=r[a],i=o+e.length
;if(!(i==o&&e.getSide()<=0)){
if(t>o&&t<i&&e.dom.parentNode==n)return e.domAtPos(t-o);if(t<=o)break;o=i}}
for(let o=a;o>0;o--){let e=r[o-1]
;if(e.dom.parentNode==n)return e.domAtPos(e.length)}for(let o=a;o<r.length;o++){
let e=r[o];if(e.dom.parentNode==n)return e.domAtPos(0)}return new yle(n,0)}
function Fle(e,t,n){let r,{children:a}=e
;n>0&&t instanceof jle&&a.length&&(r=a[a.length-1])instanceof jle&&r.mark.eq(t.mark)?Fle(r,t.children[0],n-1):(a.push(t),
t.setParent(e)),e.length+=t.length}function Hle(e,t,n){
let r=null,a=-1,o=null,i=-1;!function e(t,s){
for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length
;d>=s&&(u.children.length?e(u,s-c):(!o||o.isHidden&&n>0)&&(d>s||c==d&&u.getSide()>0)?(o=u,
i=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(r=u,a=s-c)),c=d}}(e,t)
;let s=(n<0?r:o)||r||o;return s?s.coordsAt(Math.max(0,s==r?a:i),n):function(e){
let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=ele(t)
;return n[n.length-1]||null}(e)}function Qle(e,t){
for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n]
;return t}
Ble.prototype.children=Ule.prototype.children=zle.prototype.children=Ole
;const Vle=Object.create(null);function qle(e,t,n){if(e==t)return!0
;e||(e=Vle),t||(t=Vle);let r=Object.keys(e),a=Object.keys(t)
;if(r.length-(n&&r.indexOf(n)>-1?1:0)!=a.length-(n&&a.indexOf(n)>-1?1:0))return!1
;for(let o of r)if(o!=n&&(-1==a.indexOf(o)||e[o]!==t[o]))return!1;return!0}
function Wle(e,t,n){let r=!1
;if(t)for(let a in t)n&&a in n||(r=!0,"style"==a?e.style.cssText="":e.removeAttribute(a))
;if(n)for(let a in n)t&&t[a]==n[a]||(r=!0,
"style"==a?e.style.cssText=n[a]:e.setAttribute(a,n[a]));return r}
function Xle(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}class Gle{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){}}var Yle=function(e){
return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",
e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e
}(Yle||(Yle={}));class Kle extends xse{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 Jle(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 tce(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block
;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:a,end:o}=nce(e,r)
;t=(a?r?-3e8:-1:5e8)-1,n=1+(o?r?2e8:1:-6e8)}
return new tce(e,t,n,r,e.widget||null,!0)}static line(e){return new ece(e)}
static set(e,t=!1){return Ase.of(e,t)}hasHeight(){
return!!this.widget&&this.widget.estimatedHeight>-1}}Kle.none=Ase.empty
;class Jle extends Kle{constructor(e){let{start:t,end:n}=nce(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(e){var t,n
;return this==e||e instanceof Jle&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(n=e.attrs)||void 0===n?void 0:n.class))&&qle(this.attrs,e.attrs,"class")
}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty")
;return super.range(e,t)}}Jle.prototype.point=!1;class ece extends Kle{
constructor(e){super(-2e8,-2e8,null,e)}eq(e){
return e instanceof ece&&this.spec.class==e.spec.class&&qle(this.spec.attributes,e.spec.attributes)
}range(e,t=e){
if(t!=e)throw new RangeError("Line decoration ranges must be zero-length")
;return super.range(e,t)}}
ece.prototype.mapMode=yie.TrackBefore,ece.prototype.point=!0
;class tce extends Kle{constructor(e,t,n,r,a,o){
super(t,n,a,e),this.block=r,this.isReplace=o,
this.mapMode=r?t<=0?yie.TrackBefore:yie.TrackAfter:yie.TrackDel}get type(){
return this.startSide!=this.endSide?Yle.WidgetRange:this.startSide<=0?Yle.WidgetBefore:Yle.WidgetAfter
}get heightRelevant(){
return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)
}eq(e){
return e instanceof tce&&(t=this.widget,n=e.widget,t==n||!!(t&&n&&t.compare(n)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide
;var t,n}range(e,t=e){
if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration")
;if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges")
;return super.range(e,t)}}function nce(e,t=!1){
let{inclusiveStart:n,inclusiveEnd:r}=e
;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,
end:null!=r?r:t}}function rce(e,t,n,r=0){let a=n.length-1
;a>=0&&n[a]+r>=e?n[a]=Math.max(n[a],t):n.push(e,t)}tce.prototype.point=!0
;class ace extends wle{constructor(){
super(...arguments),this.children=[],this.length=0,
this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,a,o){
if(n){if(!(n instanceof ace))return!1;this.dom||n.transferDOM(this)}
return r&&this.setDeco(n?n.attrs:null),
_le(this,e,t,n?n.children.slice():[],a,o),!0}split(e){let t=new ace
;if(t.breakAfter=this.breakAfter,0==this.length)return t
;let{i:n,off:r}=this.childPos(e)
;r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),
n++);for(let a=n;a<this.children.length;a++)t.append(this.children[a],0)
;for(;n>0&&0==this.children[n-1].length;)this.children[--n].destroy()
;return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){
this.dom&&(this.markDirty(),
e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,
this.prevAttrs=void 0,this.dom=null)}setDeco(e){
qle(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,
this.markDirty()),this.attrs=e)}append(e,t){Fle(this,e,t)}addLineDeco(e){
let t=e.spec.attributes,n=e.spec.class
;t&&(this.attrs=Qle(t,this.attrs||{})),n&&(this.attrs=Qle({class:n
},this.attrs||{}))}domAtPos(e){return Zle(this,e)}reuseDOM(e){
"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n
;this.dom?4&this.flags&&(mle(this.dom),
this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),
this.dom.className="cm-line",
this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(Wle(this.dom,this.prevAttrs,this.attrs),
this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t)
;let r=this.dom.lastChild;for(;r&&wle.get(r)instanceof jle;)r=r.lastChild
;if(!(r&&this.length&&("BR"==r.nodeName||0!=(null===(n=wle.get(r))||void 0===n?void 0:n.isEditable)||Lle.ios&&this.children.some((e=>e instanceof Ble))))){
let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}
measureTextSize(){if(0==this.children.length||this.length>20)return null
;let e,t=0;for(let n of this.children){
if(!(n instanceof Ble)||/[^ -~]/.test(n.text))return null;let r=ele(n.dom)
;if(1!=r.length)return null;t+=r[0].width,e=r[0].height}return t?{
lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,
textHeight:e}:null}coordsAt(e,t){let n=Hle(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(e){
return e instanceof ace&&0==this.children.length&&0==e.children.length&&qle(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter
}covers(){return!0}static find(e,t){for(let n=0,r=0;n<e.children.length;n++){
let a=e.children[n],o=r+a.length;if(o>=t){if(a instanceof ace)return a
;if(o>t)break}r=o+a.breakAfter}return null}}class oce extends wle{
constructor(e,t,n){
super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,
this.prevWidget=null}merge(e,t,n,r,a,o){
return!(n&&(!(n instanceof oce&&this.widget.compare(n.widget))||e>0&&a<=0||t<this.length&&o<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}domAtPos(e){
return 0==e?yle.before(this.dom):yle.after(this.dom,e==this.length)}split(e){
let t=this.length-e;this.length=e;let n=new oce(this.widget,t,this.deco)
;return n.breakAfter=this.breakAfter,n}get children(){return Ole}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):aie.empty
}domBoundsAround(){return null}become(e){
return e instanceof oce&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),
this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),
this.widget=e.widget,this.length=e.length,
this.deco=e.deco,this.breakAfter=e.breakAfter,!0)}ignoreMutation(){return!0}
ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}
get isWidget(){return!0}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t)
;return n||(this.widget instanceof ice?null:ile(this.dom.getBoundingClientRect(),this.length?0==e:t<=0))
}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){
let{startSide:t,endSide:n}=this.deco;return t!=n&&(e<0?t<0:n>0)}}
class ice extends Gle{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}}class sce{
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(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos
;let e=this.content[this.content.length-1]
;return!(e.breakAfter||e instanceof oce&&e.deco.endSide<0)}getLine(){
return this.curLine||(this.content.push(this.curLine=new ace),
this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){
this.pendingBuffer&&(this.curLine.append(lce(new zle(-1),e),e.length),
this.pendingBuffer=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 oce||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 new 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}
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(lce(new Ble(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,a,o){if(this.disallowBlockEffectsFor[o]&&n instanceof tce){
if(n.block)throw new RangeError("Block decorations may not be specified via plugins")
;if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")
}let i=t-e
;if(n instanceof tce)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),
this.addBlockWidget(new oce(n.widget||cce.block,i,n));else{
let o=Ule.create(n.widget||cce.inline,i,i?0:n.startSide),s=this.atCursorPos&&!o.isEditable&&a<=r.length&&(e<t||n.startSide>0),l=!o.isEditable&&(e<t||a>r.length||n.startSide<=0),c=this.getLine()
;2!=this.pendingBuffer||s||o.isEditable||(this.pendingBuffer=0),
this.flushBuffer(r),
s&&(c.append(lce(new zle(1),r),a),a=r.length+Math.max(0,a-r.length)),
c.append(lce(o,r),a),
this.atCursorPos=l,this.pendingBuffer=l?e<t||a>r.length?1:2:0,
this.pendingBuffer&&(this.bufferMarks=r.slice())
}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n)
;i&&(this.textOff+i<=this.text.length?this.textOff+=i:(this.skip+=i-(this.text.length-this.textOff),
this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=a)}
static build(e,t,n,r,a){let o=new sce(e,t,n,a)
;return o.openEnd=Ase.spans(r,t,n,o),
o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function lce(e,t){
for(let n of t)e=new jle(n,[e],e.length);return e}class cce extends Gle{
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}}
cce.inline=new cce("span"),cce.block=new cce("div");var uce=function(e){
return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(uce||(uce={}))
;const dce=uce.LTR,pce=uce.RTL;function hce(e){let t=[]
;for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}
const fce=hce("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),mce=hce("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),gce=Object.create(null),vce=[]
;for(let Set of["()","[]","{}"]){let e=Set.charCodeAt(0),t=Set.charCodeAt(1)
;gce[e]=t,gce[t]=-e}function bce(e){
return e<=247?fce[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?mce[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1
}const yce=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Oce{
get dir(){return this.level%2?pce:dce}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 a=-1;for(let o=0;o<e.length;o++){let i=e[o]
;if(i.from<=t&&i.to>=t){if(i.level==n)return o
;(a<0||(0!=r?r<0?i.from<t:i.to>t:e[a].level>i.level))&&(a=o)}}
if(a<0)throw new RangeError("Index out of range");return a}}function wce(e,t){
if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],a=t[n]
;if(r.from!=a.from||r.to!=a.to||r.direction!=a.direction||!wce(r.inner,a.inner))return!1
}return!0}const xce=[];function kce(e,t,n,r,a,o,i){let s=r%2?2:1
;if(r%2==a%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==o.length||l<o[c].from){
let e=xce[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?r:r+1,h=l
;e:for(;;)if(c<o.length&&h==o[c].from){if(u)break e;let f=o[c]
;if(!t)for(let e=f.to,t=c+1;;){if(e==n)break e;if(!(t<o.length&&o[t].from==e)){
if(xce[e]==s)break e;break}e=o[t++].to}if(c++,d)d.push(f);else{
f.from>l&&i.push(new Oce(l,f.from,p)),
Sce(e,f.direction==dce!=!(p%2)?r+1:r,a,f.inner,f.from,f.to,i),l=f.to}h=f.to
}else{if(h==n||(t?xce[h]!=s:xce[h]==s))break;h++}
d?kce(e,l,h,r+1,a,d,i):l<h&&i.push(new Oce(l,h,p)),l=h
}else for(let l=n,c=o.length;l>t;){let n=!0,u=!1;if(!c||l>o[c-1].to){
let e=xce[l-1];e!=s&&(n=!1,u=16==e)}let d=n||1!=s?null:[],p=n?r:r+1,h=l
;e:for(;;)if(c&&h==o[c-1].to){if(u)break e;let f=o[--c]
;if(!n)for(let e=f.from,n=c;;){if(e==t)break e;if(!n||o[n-1].to!=e){
if(xce[e-1]==s)break e;break}e=o[--n].from}if(d)d.push(f);else{
f.to<l&&i.push(new Oce(f.to,l,p)),
Sce(e,f.direction==dce!=!(p%2)?r+1:r,a,f.inner,f.from,f.to,i),l=f.from}h=f.from
}else{if(h==t||(n?xce[h-1]!=s:xce[h-1]==s))break;h--}
d?kce(e,h,l,r+1,a,d,i):h<l&&i.push(new Oce(h,l,p)),l=h}}
function Sce(e,t,n,r,a,o,i){let s=t%2?2:1;!function(e,t,n,r,a){
for(let o=0;o<=r.length;o++){
let i=o?r[o-1].to:t,s=o<r.length?r[o].from:n,l=o?256:a
;for(let t=i,n=l,r=l;t<s;t++){let a=bce(e.charCodeAt(t))
;512==a?a=n:8==a&&4==r&&(a=16),xce[t]=4==a?2:a,7&a&&(r=a),n=a}
for(let e=i,t=l,r=l;e<s;e++){let a=xce[e]
;if(128==a)e<s-1&&t==xce[e+1]&&24&t?a=xce[e]=t:xce[e]=256;else if(64==a){
let a=e+1;for(;a<s&&64==xce[a];)a++;let o=e&&8==t||a<n&&8==xce[a]?1==r?1:8:256
;for(let t=e;t<a;t++)xce[t]=o;e=a-1}else 8==a&&1==r&&(xce[e]=1);t=a,7&a&&(r=a)}}
}(e,a,o,r,s),function(e,t,n,r,a){let o=1==a?2:1
;for(let i=0,s=0,l=0;i<=r.length;i++){
let c=i?r[i-1].to:t,u=i<r.length?r[i].from:n
;for(let t,n,r,i=c;i<u;i++)if(n=gce[t=e.charCodeAt(i)])if(n<0){
for(let e=s-3;e>=0;e-=3)if(vce[e+1]==-n){let t=vce[e+2],n=2&t?a:4&t?1&t?o:a:0
;n&&(xce[i]=xce[vce[e]]=n),s=e;break}}else{if(189==vce.length)break
;vce[s++]=i,vce[s++]=t,vce[s++]=l}else if(2==(r=xce[i])||1==r){let e=r==a
;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=vce[t+2];if(2&n)break
;if(e)vce[t+2]|=2;else{if(4&n)break;vce[t+2]|=4}}}}
}(e,a,o,r,s),function(e,t,n,r){for(let a=0,o=r;a<=n.length;a++){
let i=a?n[a-1].to:e,s=a<n.length?n[a].from:t;for(let l=i;l<s;){let i=xce[l]
;if(256==i){let i=l+1;for(;;)if(i==s){if(a==n.length)break
;i=n[a++].to,s=a<n.length?n[a].from:t}else{if(256!=xce[i])break;i++}
let c=1==o,u=c==(1==(i<t?xce[i]:r))?c?1:2:r
;for(let t=i,r=a,o=r?n[r-1].to:e;t>l;)t==o&&(t=n[--r].from,
o=r?n[r-1].to:e),xce[--t]=u;l=i}else o=i,l++}}}(a,o,r,s),kce(e,a,o,t,n,r,i)}
function _ce(e){return[new Oce(0,e,0)]}let Ace="";function Tce(e,t,n,r,a){var o
;let i=r.head-e.from,s=Oce.find(t,i,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc),l=t[s],c=l.side(a,n)
;if(i==c){let e=s+=a?1:-1;if(e<0||e>=t.length)return null
;l=t[s=e],i=l.side(!a,n),c=l.side(a,n)}let u=fie(e.text,i,l.forward(a,n))
;(u<l.from||u>l.to)&&(u=c),Ace=e.text.slice(Math.min(i,u),Math.max(i,u))
;let d=s==(a?t.length-1:0)?null:t[s+(a?1:-1)]
;return d&&u==c&&d.level+(a?0:1)<l.level?Cie.cursor(d.side(!a,n)+e.from,d.forward(a,n)?1:-1,d.level):Cie.cursor(u+e.from,l.forward(a,n)?-1:1,l.level)
}function Ece(e,t,n){for(let r=t;r<n;r++){let t=bce(e.charCodeAt(r))
;if(1==t)return dce;if(2==t||4==t)return pce}return dce}
const Cce=Iie.define(),$ce=Iie.define(),Pce=Iie.define(),Ice=Iie.define(),Dce=Iie.define(),Mce=Iie.define(),Nce=Iie.define(),Rce=Iie.define(),Lce=Iie.define(),Bce=Iie.define({
combine:e=>e.some((e=>e))}),jce=Iie.define({combine:e=>e.some((e=>e))
}),Uce=Iie.define();class zce{
constructor(e,t="nearest",n="nearest",r=5,a=5,o=!1){
this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=a,this.isSnapshot=o}
map(e){
return e.empty?this:new zce(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)
}clip(e){
return this.range.to<=e.doc.length?this:new zce(Cie.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)
}}const Zce=lse.define({map:(e,t)=>e.map(t)}),Fce=lse.define()
;function Hce(e,t,n){let r=e.facet(Ice)
;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)
}const Qce=Iie.define({combine:e=>!e.length||e[0]});let Vce=0
;const qce=Iie.define();class Wce{constructor(e,t,n,r,a){
this.id=e,this.create=t,
this.domEventHandlers=n,this.domEventObservers=r,this.extension=a(this)}
static define(e,t){
const{eventHandlers:n,eventObservers:r,provide:a,decorations:o}=t||{}
;return new Wce(Vce++,e,n,r,(e=>{let t=[qce.of(e)];return o&&t.push(Kce.of((t=>{
let n=t.plugin(e);return n?o(n):Kle.none}))),a&&t.push(a(e)),t}))}
static fromClass(e,t){return Wce.define((t=>new e(t)),t)}}class Xce{
constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){
if(this.value){if(this.mustUpdate){let e=this.mustUpdate
;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(zw){
if(Hce(e.state,zw,"CodeMirror plugin crashed"),this.value.destroy)try{
this.value.destroy()}catch(Ist){}this.deactivate()}}}else if(this.spec)try{
this.value=this.spec.create(e)}catch(zw){
Hce(e.state,zw,"CodeMirror plugin crashed"),this.deactivate()}return this}
destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{
this.value.destroy()}catch(zw){Hce(e.state,zw,"CodeMirror plugin crashed")}}
deactivate(){this.spec=this.value=null}}
const Gce=Iie.define(),Yce=Iie.define(),Kce=Iie.define(),Jce=Iie.define(),eue=Iie.define(),tue=Iie.define()
;function nue(e,t){let n=e.state.facet(tue);if(!n.length)return n
;let r=n.map((t=>t instanceof Function?t(e):t)),a=[]
;return Ase.spans(r,t.from,t.to,{point(){},span(e,n,r,o){
let i=e-t.from,s=n-t.from,l=a;for(let a=r.length-1;a>=0;a--,o--){
let e,n=r[a].spec.bidiIsolate
;if(null==n&&(n=Ece(t.text,i,s)),o>0&&l.length&&(e=l[l.length-1]).to==i&&e.direction==n)e.to=s,
l=e.inner;else{let e={from:i,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}
}),a}const rue=Iie.define();function aue(e){let t=0,n=0,r=0,a=0
;for(let o of e.state.facet(rue)){let i=o(e)
;i&&(null!=i.left&&(t=Math.max(t,i.left)),
null!=i.right&&(n=Math.max(n,i.right)),
null!=i.top&&(r=Math.max(r,i.top)),null!=i.bottom&&(a=Math.max(a,i.bottom)))}
return{left:t,right:n,top:r,bottom:a}}const oue=Iie.define();class iue{
constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){
return new iue(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.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(e,t){if(0==t.length)return e
;let n=[];for(let r=0,a=0,o=0,i=0;;r++){
let s=r==e.length?null:e[r],l=o-i,c=s?s.fromB:1e9;for(;a<t.length&&t[a]<c;){
let e=t[a],r=t[a+1],o=Math.max(i,e),s=Math.min(c,r)
;if(o<=s&&new iue(o+l,s+l,o,s).addToSet(n),r>c)break;a+=2}if(!s)return n
;new iue(s.fromA,s.toA,s.fromB,s.toB).addToSet(n),o=s.toA,i=s.toB}}}class sue{
constructor(e,t,n){
this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,
this.changes=wie.empty(this.startState.doc.length)
;for(let a of n)this.changes=this.changes.compose(a.changes);let r=[]
;this.changes.iterChangedRanges(((e,t,n,a)=>r.push(new iue(e,t,n,a)))),
this.changedRanges=r}static create(e,t,n){return new sue(e,t,n)}
get viewportChanged(){return(4&this.flags)>0}get heightChanged(){
return(2&this.flags)>0}get geometryChanged(){
return this.docChanged||(10&this.flags)>0}get focusChanged(){
return(1&this.flags)>0}get docChanged(){return!this.changes.empty}
get selectionSet(){return this.transactions.some((e=>e.selection))}get empty(){
return 0==this.flags&&0==this.transactions.length}}class lue extends wle{
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=Kle.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 ace],
this.children[0].setParent(this),this.updateDeco(),this.updateInner([new iue(0,0,0,e.state.doc.length)],0,null)
}update(e){var t;let n=e.changedRanges
;this.minWidth>0&&n.length&&(n.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 r=-1
;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?r=this.domChanged.newSel.head:function(e,t){
let n=!1;t&&e.iterChangedRanges(((e,r)=>{e<t.to&&r>t.from&&(n=!0)}));return n
}(e.changes,this.hasComposition)||e.selectionSet||(r=e.state.selection.main.head))
;let a=r>-1?function(e,t,n){let r=cue(e,n);if(!r)return null
;let{node:a,from:o,to:i}=r,s=a.nodeValue;if(/[\n\r]/.test(s))return null
;if(e.state.doc.sliceString(r.from,r.to)!=s)return null
;let l=t.invertedDesc,c=new iue(l.mapPos(o),l.mapPos(i),o,i),u=[]
;for(let d=a.parentNode;;d=d.parentNode){let t=wle.get(d)
;if(t instanceof jle)u.push({node:d,deco:t.mark});else{
if(t instanceof ace||"DIV"==d.nodeName&&d.parentNode==e.contentDOM)return{
range:c,text:a,marks:u,line:d};if(d==e.contentDOM)return null;u.push({node:d,
deco:new Jle({inclusive:!0,attributes:Xle(d),tagName:d.tagName.toLowerCase()})})
}}}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){
this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition
;n=new iue(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())
}this.hasComposition=a?{from:a.range.fromB,to:a.range.toB
}:null,(Lle.ie||Lle.chrome)&&!a&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0)
;let o=function(e,t,n){let r=new uue;return Ase.compare(e,t,n,r),r.changes
}(this.decorations,this.updateDeco(),e.changes)
;return n=iue.extendWithRanges(n,o),
!!(7&this.flags||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,a),
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=Lle.chrome||Lle.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 a=[]
;if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let o of this.children)o instanceof oce&&o.widget instanceof ice&&a.push(o.dom)
;r.updateGaps(a)}updateChildren(e,t,n){
let r=n?n.range.addToSet(e.slice()):e,a=this.childCursor(t)
;for(let o=r.length-1;;o--){let e=o>=0?r[o]:null;if(!e)break
;let t,i,s,l,{fromA:c,toA:u,fromB:d,toB:p}=e
;if(n&&n.range.fromB<p&&n.range.toB>d){
let e=sce.build(this.view.state.doc,d,n.range.fromB,this.decorations,this.dynamicDecorationMap),r=sce.build(this.view.state.doc,n.range.toB,p,this.decorations,this.dynamicDecorationMap)
;i=e.breakAtStart,s=e.openStart,l=r.openEnd;let a=this.compositionView(n)
;r.breakAtStart?a.breakAfter=1:r.content.length&&a.merge(a.length,a.length,r.content[0],!1,r.openStart,0)&&(a.breakAfter=r.content[0].breakAfter,
r.content.shift()),
e.content.length&&a.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),
t=e.content.concat(a).concat(r.content)
}else({content:t,breakAtStart:i,openStart:s,openEnd:l}=sce.build(this.view.state.doc,d,p,this.decorations,this.dynamicDecorationMap))
;let{i:h,off:f}=a.findPos(u,1),{i:m,off:g}=a.findPos(c,-1)
;Sle(this,m,g,h,f,t,i,s,l)}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(Fce)&&(this.editContextFormatting=e.value)
}compositionView(e){let t=new Ble(e.text.nodeValue);t.flags|=8
;for(let{deco:r}of e.marks)t=new jle(r,[t],t.length);let n=new ace
;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{
t.flags|=8|(t.children.some((e=>7&e.flags))?1:0),
this.markedForComposition.add(t);let n=wle.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 a=e.marks.length-1;a>=-1;a--)n=r.childPos(n.off,1),
r=r.children[n.i],t(a>=0?e.marks[a].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,a=!r&&!(this.view.state.facet(Qce)||this.dom.tabIndex>-1)&&Jse(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n))
;if(!(r||t||a))return;let o=this.forceSelection;this.forceSelection=!1
;let i=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(i.anchor)),l=i.empty?s:this.moveToLine(this.domAtPos(i.head))
;if(Lle.gecko&&i.empty&&!this.hasComposition&&(1==(c=s).node.nodeType&&c.node.firstChild&&(0==c.offset||"false"==c.node.childNodes[c.offset-1].contentEditable)&&(c.offset==c.node.childNodes.length||"false"==c.node.childNodes[c.offset].contentEditable))){
let e=document.createTextNode("")
;this.view.observer.ignore((()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null))),
s=l=new yle(e,0),o=!0}var c;let u=this.view.observer.selectionRange
;!o&&u.focusNode&&(tle(s.node,s.offset,u.anchorNode,u.anchorOffset)&&tle(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,i))||(this.view.observer.ignore((()=>{
Lle.android&&Lle.chrome&&this.dom.contains(u.focusNode)&&function(e,t){
for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0
;return!1}(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({
preventScroll:!0}));let e=Yse(this.view.root);if(e)if(i.empty){if(Lle.gecko){
let e=(t=s.node,
r=s.offset,1!=t.nodeType?0:(r&&"false"==t.childNodes[r-1].contentEditable?1:0)|(r<t.childNodes.length&&"false"==t.childNodes[r].contentEditable?2:0))
;if(e&&3!=e){let t=(1==e?vle:ble)(s.node,s.offset)
;t&&(s=new yle(t.node,t.offset))}}
e.collapse(s.node,s.offset),null!=i.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=i.bidiLevel)
}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)
}catch(Ist){}}else{let t=document.createRange()
;i.anchor>i.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),
t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}else;var t,r
;a&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())
})),this.view.observer.setSelectionRange(s,l)),
this.impreciseAnchor=s.precise?null:new yle(u.anchorNode,u.anchorOffset),
this.impreciseHead=l.precise?null:new yle(u.focusNode,u.focusOffset)}
suppressWidgetCursorChange(e,t){
return this.hasComposition&&t.empty&&tle(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=Yse(e.root),{anchorNode:r,anchorOffset:a}=e.observer.selectionRange
;if(!(n&&t.empty&&t.assoc&&n.modify))return;let o=ace.find(this,t.head)
;if(!o)return;let i=o.posAtStart;if(t.head==i||t.head==i+o.length)return
;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1)
;if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc)
;n.collapse(c.node,c.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,a)}
moveToLine(e){let t,n=this.dom;if(e.node!=n)return e
;for(let r=e.offset;!t&&r<n.childNodes.length;r++){
let e=wle.get(n.childNodes[r]);e instanceof ace&&(t=e.domAtPos(0))}
for(let r=e.offset-1;!t&&r>=0;r--){let e=wle.get(n.childNodes[r])
;e instanceof ace&&(t=e.domAtPos(e.length))}
return t?new yle(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){
let e=wle.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 new 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 ace)break;t++,n=0}
return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0
;for(let a=this.length,o=this.children.length-1;o>=0;o--){
let i=this.children[o],s=a-i.breakAfter,l=s-i.length;if(s<e)break
;if(l<=e&&(l<e||i.covers(-1))&&(s>e||i.covers(1))&&(!n||i instanceof ace&&!(n instanceof ace&&t>=0)))n=i,
r=l;else if(n&&l==e&&s==e&&i instanceof oce&&Math.abs(t)<2){
if(i.deco.startSide<0)break;o&&(n=null)}a=l}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 ace))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 Ble))return null
;let a=fie(r.text,n);if(a==n)return null;let o=hle(r.dom,n,a).getClientRects()
;for(let i=0;i<o.length;i++){let e=o[i]
;if(i==o.length-1||e.top<e.bottom&&e.left<e.right)return e}return null}
measureVisibleLineHeights(e){
let t=[],{from:n,to:r}=e,a=this.view.contentDOM.clientWidth,o=a>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,i=-1,s=this.view.textDirection==uce.LTR
;for(let l=0,c=0;c<this.children.length;c++){let e=this.children[c],u=l+e.length
;if(u>r)break;if(l>=n){let n=e.dom.getBoundingClientRect()
;if(t.push(n.height),o){let t=e.dom.lastChild,r=t?ele(t):[];if(r.length){
let e=r[r.length-1],t=s?e.right-n.left:n.right-e.left;t>i&&(i=t,this.minWidth=a,
this.minWidthFrom=l,this.minWidthTo=u)}}}l=u+e.breakAfter}return t}
textDirectionAt(e){let{i:t}=this.childPos(e,1)
;return"rtl"==getComputedStyle(this.children[t].dom).direction?uce.RTL:uce.LTR}
measureTextSize(){for(let a of this.children)if(a instanceof ace){
let e=a.measureTextSize();if(e)return e}
let e,t,n,r=document.createElement("div")
;return r.className="cm-line",r.style.width="99999px",
r.style.position="absolute",
r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{
this.dom.appendChild(r);let a=ele(r.firstChild)[0]
;e=r.getBoundingClientRect().height,t=a?a.width/27:7,n=a?a.height:e,r.remove()
})),{lineHeight:e,charWidth:t,textHeight:n}}childCursor(e=this.length){
let t=this.children.length
;return t&&(e-=this.children[--t].length),new kle(this.children,e,t)}
computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){
let a=r==t.viewports.length?null:t.viewports[r],o=a?a.from-1:this.length
;if(o>n){let r=(t.lineBlockAt(o).bottom-t.lineBlockAt(n).top)/this.view.scaleY
;e.push(Kle.replace({widget:new ice(r),block:!0,inclusive:!0,isBlockGap:!0
}).range(n,o))}if(!a)break;n=a.to+1}return Kle.set(e)}updateDeco(){
let e=1,t=this.view.state.facet(Kce).map((t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t)),n=!1,r=this.view.state.facet(Jce).map(((e,t)=>{
let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e}))
;for(r.length&&(this.dynamicDecorationMap[e++]=n,
t.push(Ase.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1
;return this.decorations}scrollIntoView(e){if(e.isSnapshot){
let t=this.view.viewState.lineBlockAt(e.range.head)
;return this.view.scrollDOM.scrollTop=t.top-e.yMargin,
void(this.view.scrollDOM.scrollLeft=e.xMargin)}
for(let l of this.view.state.facet(Uce))try{if(l(this.view,e.range,e))return!0
}catch(zw){Hce(this.view.state,zw,"scroll handler")}
let t,{range:n}=e,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1)
;if(!r)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={
left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),
right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)})
;let a=aue(this.view),o={left:r.left-a.left,top:r.top-a.top,
right:r.right+a.right,bottom:r.bottom+a.bottom
},{offsetWidth:i,offsetHeight:s}=this.view.scrollDOM;!function(e,t,n,r,a,o,i,s){
let l=e.ownerDocument,c=l.defaultView||window
;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,p=u==l.body,h=1,f=1
;if(p)e=sle(c);else{
if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),
u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){
u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect()
;({scaleX:h,scaleY:f}=lle(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,
top:t.top,bottom:t.top+u.clientHeight*f}}let m=0,g=0
;if("nearest"==a)t.top<e.top?(g=-(e.top-t.top+i),
n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+i)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+i,
n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+i)));else{
let r=t.bottom-t.top,o=e.bottom-e.top
;g=("center"==a&&r<=o?t.top+r/2-o/2:"start"==a||"center"==a&&n<0?t.top-i:t.bottom-o+i)-e.top
}
if("nearest"==r?t.left<e.left?(m=-(e.left-t.left+o),n>0&&t.right>e.right+m&&(m=t.right-e.right+m+o)):t.right>e.right&&(m=t.right-e.right+o,
n<0&&t.left<e.left+m&&(m=-(e.left+m-t.left+o))):m=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-o:t.right-(e.right-e.left)+o)-e.left,
m||g)if(p)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop
;u.scrollTop+=g/f,n=(u.scrollTop-e)*f}if(m){let t=u.scrollLeft
;u.scrollLeft+=m/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-n,
right:t.right-e,bottom:t.bottom-n
},e&&Math.abs(e-m)<1&&(r="nearest"),n&&Math.abs(n-g)<1&&(a="nearest")}if(p)break
;u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}
}(this.view.scrollDOM,o,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,i),-i),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==uce.LTR)
}}function cue(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null
;let r=vle(n.focusNode,n.focusOffset),a=ble(n.focusNode,n.focusOffset),o=r||a
;if(a&&r&&a.node!=r.node){let t=wle.get(a.node)
;if(!t||t instanceof Ble&&t.text!=a.node.nodeValue)o=a;else if(e.docView.lastCompositionAfterCursor){
let e=wle.get(r.node);!e||e instanceof Ble&&e.text!=r.node.nodeValue||(o=a)}}
if(e.docView.lastCompositionAfterCursor=o!=r,!o)return null;let i=t-o.offset
;return{from:i,to:i+o.node.nodeValue.length,node:o.node}}let uue=class{
constructor(){this.changes=[]}compareRange(e,t){rce(e,t,this.changes)}
comparePoint(e,t){rce(e,t,this.changes)}boundChange(e){rce(e,e,this.changes)}}
;function due(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}
function pue(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}
function hue(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function fue(e,t){
return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}
function mue(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,
bottom:t}:e}function gue(e,t,n){let r,a,o,i,s,l,c,u,d=!1
;for(let h=e.firstChild;h;h=h.nextSibling){let e=ele(h)
;for(let p=0;p<e.length;p++){let f=e[p]
;a&&hue(a,f)&&(f=fue(mue(f,a.bottom),a.top));let m=due(t,f),g=pue(n,f)
;if(0==m&&0==g)return 3==h.nodeType?vue(h,t,n):gue(h,t,n)
;if(!r||i>g||i==g&&o>m){r=h,a=f,o=m,i=g;let s=g?n<f.top?-1:1:m?t<f.left?-1:1:0
;d=!s||(s>0?p<e.length-1:p>0)}
0==m?n>f.bottom&&(!c||c.bottom<f.bottom)?(s=h,c=f):n<f.top&&(!u||u.top>f.top)&&(l=h,
u=f):c&&hue(c,f)?c=mue(c,f.bottom):u&&hue(u,f)&&(u=fue(u,f.top))}}
if(c&&c.bottom>=n?(r=s,a=c):u&&u.top<=n&&(r=l,a=u),!r)return{node:e,offset:0}
;let p=Math.max(a.left,Math.min(a.right,t))
;return 3==r.nodeType?vue(r,p,n):d&&"false"!=r.contentEditable?gue(r,p,n):{
node:e,
offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(a.left+a.right)/2?1:0)}
}function vue(e,t,n){let r=e.nodeValue.length,a=-1,o=1e9,i=0
;for(let s=0;s<r;s++){let r=hle(e,s,s+1).getClientRects()
;for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue
;i||(i=t-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1
;if(c.left-1<=t&&c.right+1>=t&&u<o){let n=t>=(c.left+c.right)/2,r=n
;if(Lle.chrome||Lle.gecko){
hle(e,s).getBoundingClientRect().left==c.right&&(r=!n)}if(u<=0)return{node:e,
offset:s+(r?1:0)};a=s+(r?1:0),o=u}}}return{node:e,
offset:a>-1?a:i>0?e.nodeValue.length:0}}function bue(e,t,n,r=-1){var a,o
;let i,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,{docHeight:c}=e.viewState,{x:u,y:d}=t,p=d-l
;if(p<0)return 0;if(p>c)return e.state.doc.length
;for(let O=e.viewState.heightOracle.textHeight/2,w=!1;i=e.elementAtHeight(p),
i.type!=Yle.Text;)for(;p=r>0?i.bottom+O:i.top-O,!(p>=0&&p<=c);){
if(w)return n?null:0;w=!0,r=-r}d=l+p;let h=i.from
;if(h<e.viewport.from)return 0==e.viewport.from?0:n?null:yue(e,s,i,u,d)
;if(h>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:yue(e,s,i,u,d)
;let f=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:f,g=m.elementFromPoint(u,d)
;g&&!e.contentDOM.contains(g)&&(g=null),
g||(u=Math.max(s.left+1,Math.min(s.right-1,u)),
g=m.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let v,b=-1
;if(g&&0!=(null===(a=e.docView.nearest(g))||void 0===a?void 0:a.isEditable)){
if(f.caretPositionFromPoint){let e=f.caretPositionFromPoint(u,d)
;e&&({offsetNode:v,offset:b}=e)}else if(f.caretRangeFromPoint){
let t=f.caretRangeFromPoint(u,d)
;t&&(({startContainer:v,startOffset:b}=t),(!e.contentDOM.contains(v)||Lle.safari&&function(e,t,n){
let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1
;for(let a=e.nextSibling;a;a=a.nextSibling)if(1!=a.nodeType||"BR"!=a.nodeName)return!1
;return hle(e,r-1,r).getBoundingClientRect().left>n
}(v,b,u)||Lle.chrome&&function(e,t,n){if(0!=t)return!1;for(let a=e;;){
let e=a.parentNode;if(!e||1!=e.nodeType||e.firstChild!=a)return!1
;if(e.classList.contains("cm-line"))break;a=e}
let r=1==e.nodeType?e.getBoundingClientRect():hle(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()
;return n-r.left>5}(v,b,u))&&(v=void 0))}v&&(b=Math.min(ole(v),b))}
if(!v||!e.docView.dom.contains(v)){let t=ace.find(e.docView,h)
;if(!t)return p>i.top+i.height/2?i.to:i.from;({node:v,offset:b}=gue(t.dom,u,d))}
let y=e.docView.nearest(v);if(!y)return null
;if(y.isWidget&&1==(null===(o=y.dom)||void 0===o?void 0:o.nodeType)){
let e=y.dom.getBoundingClientRect()
;return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?y.posAtStart:y.posAtEnd
}return y.localPosFromDOM(v,b)+y.posAtStart}function yue(e,t,n,r,a){
let o=Math.round((r-t.left)*e.defaultCharacterWidth)
;if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){
let t=e.viewState.heightOracle.textHeight
;o+=Math.floor((a-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength
}let i=e.state.sliceDoc(n.from,n.to);return n.from+function(e,t,n,r){
for(let a=0,o=0;;){if(o>=t)return a;if(a==e.length)break
;o+=9==e.charCodeAt(a)?n-o%n:1,a=fie(e,a)}return e.length}(i,o,e.state.tabSize)}
function Oue(e,t,n,r){let a=function(e,t){let n=e.lineBlockAt(t)
;if(Array.isArray(n.type))for(let r of n.type)if(r.to>t||r.to==t&&(r.to==n.to||r.type==Yle.Text))return r
;return n
}(e,t.head),o=r&&a.type==Yle.Text&&(e.lineWrapping||a.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>a.from?t.head-1:t.head):null
;if(o){
let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(a.from),i=e.posAtCoords({
x:n==(r==uce.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2})
;if(null!=i)return Cie.cursor(i,n?-1:1)}return Cie.cursor(n?a.to:a.from,n?-1:1)}
function wue(e,t,n,r){
let a=e.state.doc.lineAt(t.head),o=e.bidiSpans(a),i=e.textDirectionAt(a.from)
;for(let s=t,l=null;;){let t=Tce(a,o,i,s,n),c=Ace;if(!t){
if(a.number==(n?e.state.doc.lines:1))return s
;c="\n",a=e.state.doc.line(a.number+(n?1:-1)),
o=e.bidiSpans(a),t=e.visualLineSide(a,!n)}if(l){if(!l(c))return s}else{
if(!r)return t;l=r(c)}s=t}}function xue(e,t,n){for(;;){let r=0
;for(let a of e)a.between(t-1,t+1,((e,a,o)=>{if(t>e&&t<a){
let o=r||n||(t-e<a-t?-1:1);t=o<0?e:a,r=o}}));if(!r)return t}}
function kue(e,t,n){
let r=xue(e.state.facet(eue).map((t=>t(e))),n.from,t.head>n.from?-1:1)
;return r==n.from?n:Cie.cursor(r,r<n.from?1:-1)}const Sue="";class _ue{
constructor(e,t){
this.points=e,this.text="",this.lineSeparator=t.facet(Ose.lineSeparator)}
append(e){this.text+=e}lineBreak(){this.text+=Sue}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 a=r.nextSibling;if(a==t)break
;let o=wle.get(r),i=wle.get(a)
;(o&&i?o.breakAfter:(o?o.breakAfter:rle(r))||rle(a)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),
r=a}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 a,o=-1,i=1
;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,n),
i=this.lineSeparator.length):(a=r.exec(t))&&(o=a.index,
i=a[0].length),this.append(t.slice(n,o<0?t.length:o)),o<0)break
;if(this.lineBreak(),
i>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=i-1)
;n=o+i}}readNode(e){if(e.cmIgnore)return;let t=wle.get(e),n=t&&t.overrideDOMText
;if(null!=n){this.findPointInside(e,n.length)
;for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)
}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)
}findPointBefore(e,t){
for(let 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)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Aue(e,n.node,n.offset)?t:0))
}}function Aue(e,t,n){for(;;){if(!t||n<ole(t))return!1;if(t==e)return!0
;n=nle(t)+1,t=t.parentNode}}class Tue{constructor(e,t){
this.node=e,this.offset=t,this.pos=-1}}class Eue{constructor(e,t,n,r){
this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1
;let{impreciseHead:a,impreciseAnchor:o}=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=a||o?[]:function(e){let t=[]
;if(e.root.activeElement!=e.contentDOM)return t
;let{anchorNode:n,anchorOffset:r,focusNode:a,focusOffset:o}=e.observer.selectionRange
;n&&(t.push(new Tue(n,r)),a==n&&o==r||t.push(new Tue(a,o)));return t
}(e),n=new _ue(t,e.state)
;n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,
this.newSel=function(e,t){if(0==e.length)return null
;let n=e[0].pos,r=2==e.length?e[1].pos:n
;return n>-1&&r>-1?Cie.single(n+t,r+t):null}(t,this.bounds.from)}else{
let t=e.observer.selectionRange,n=a&&a.node==t.focusNode&&a.offset==t.focusOffset||!Kse(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!Kse(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),i=e.viewport
;if((Lle.ios||Lle.chrome)&&e.state.selection.main.empty&&n!=r&&(i.from>0||i.to<e.state.doc.length)){
let t=Math.min(n,r),a=Math.max(n,r),o=i.from-t,s=i.to-a
;0!=o&&1!=o&&0!=t||0!=s&&-1!=s&&a!=e.state.doc.length||(n=0,
r=e.state.doc.length)}this.newSel=Cie.single(r,n)}}}function Cue(e,t){
let n,{newSel:r}=t,a=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1
;if(t.bounds){let{from:r,to:i}=t.bounds,s=a.from,l=null
;(8===o||Lle.android&&t.text.length<i-r)&&(s=a.to,l="end")
;let c=function(e,t,n,r){let a=Math.min(e.length,t.length),o=0
;for(;o<a&&e.charCodeAt(o)==t.charCodeAt(o);)o++
;if(o==a&&e.length==t.length)return null;let i=e.length,s=t.length
;for(;i>0&&s>0&&e.charCodeAt(i-1)==t.charCodeAt(s-1);)i--,s--;if("end"==r){
n-=i+Math.max(0,o-Math.min(i,s))-o}if(i<o&&e.length<t.length){
o-=n<=o&&n>=i?o-n:0,s=o+(s-i),i=o}else if(s<o){o-=n<=o&&n>=s?o-n:0,i=o+(i-s),s=o
}return{from:o,toA:i,toB:s}}(e.state.doc.sliceString(r,i,Sue),t.text,s-r,l)
;c&&(Lle.chrome&&13==o&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==Sue+Sue&&c.toB--,
n={from:r+c.from,to:r+c.toA,insert:aie.of(t.text.slice(c.from,c.toB).split(Sue))
})}else r&&(!e.hasFocus&&e.state.facet(Qce)||r.main.eq(a))&&(r=null)
;if(!n&&!r)return!1;if(!n&&t.typeOver&&!a.empty&&r&&r.main.empty?n={from:a.from,
to:a.to,insert:e.state.doc.slice(a.from,a.to)
}:n&&n.from>=a.from&&n.to<=a.to&&(n.from!=a.from||n.to!=a.to)&&a.to-a.from-(n.to-n.from)<=4?n={
from:a.from,to:a.to,
insert:e.state.doc.slice(a.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,a.to))
}:(Lle.mac||Lle.android)&&n&&n.from==n.to&&n.from==a.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=Cie.single(r.main.anchor-1,r.main.head-1)),
n={from:a.from,to:a.to,insert:aie.of([" "])
}):Lle.chrome&&n&&n.from==n.to&&n.from==a.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=Cie.single(r.main.anchor-1,r.main.head-1)),
n={from:a.from,to:a.to,insert:aie.of([" "])}),n)return $ue(e,n,r,o)
;if(r&&!r.main.eq(a)){let t=!1,n="select"
;return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),
n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,
userEvent:n}),!0}return!1}function $ue(e,t,n,r=-1){
if(Lle.ios&&e.inputState.flushIOSKey(t))return!0;let a=e.state.selection.main
;if(Lle.android&&(t.to==a.to&&(t.from==a.from||t.from==a.from-1&&" "==e.state.sliceDoc(t.from,a.from))&&1==t.insert.length&&2==t.insert.lines&&fle(e.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>a.head)&&fle(e.contentDOM,"Backspace",8)||t.from==a.from&&t.to==a.to+1&&0==t.insert.length&&fle(e.contentDOM,"Delete",46)))return!0
;let o,i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++
;let s=()=>o||(o=function(e,t,n){let r,a=e.state,o=a.selection.main
;if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){
let n=o.from<t.from?a.sliceDoc(o.from,t.from):"",i=o.to>t.to?a.sliceDoc(t.to,o.to):""
;r=a.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+i))
}else{let i=a.changes(t),s=n&&n.main.to<=i.newLength?n.main:void 0
;if(a.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=o.to&&t.to>=o.to-10){
let l,c=e.state.sliceDoc(t.from,t.to),u=n&&cue(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(o.head);let d=o.to-t.to,p=o.to-o.from
;r=a.changeByRange((n=>{if(n.from==o.from&&n.to==o.to)return{changes:i,
range:s||n.map(i)};let r=n.to-d,u=r-c.length
;if(n.to-n.from!=p||e.state.sliceDoc(u,r)!=c||n.to>=l.from&&n.from<=l.to)return{
range:n};let h=a.changes({from:u,to:r,insert:t.insert}),f=n.to-o.to;return{
changes:h,
range:s?Cie.range(Math.max(0,s.anchor+f),Math.max(0,s.head+f)):n.map(h)}}))
}else r={changes:i,selection:s&&a.selection.replaceRange(s)}}let i="input.type"
;(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,
i+=".compose",
e.inputState.compositionFirstChange&&(i+=".start",e.inputState.compositionFirstChange=!1))
;return a.update(r,{userEvent:i,scrollIntoView:!0})}(e,t,n))
;return e.state.facet(Mce).some((n=>n(e,t.from,t.to,i,s)))||e.dispatch(s()),!0}
class Pue{setSelectionOrigin(e){
this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){
var t
;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,Lle.safari&&e.contentDOM.addEventListener("input",(()=>null)),
Lle.gecko&&(t=e.contentDOM.ownerDocument,
rde.has(t)||(rde.add(t),t.addEventListener("copy",(()=>{})),
t.addEventListener("cut",(()=>{}))))}handleEvent(e){(function(e,t){
if(!t.bubbles)return!0;if(t.defaultPrevented)return!1
;for(let n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=wle.get(r))&&n.ignoreEvent(t))return!1
;return!0
})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||this.runHandlers(e.type,e))
}runHandlers(e,t){let 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=function(e){let t=Object.create(null);function n(e){
return t[e]||(t[e]={observers:[],handlers:[]})}for(let r of e){let e=r.spec
;if(e&&e.domEventHandlers)for(let t in e.domEventHandlers){
let a=e.domEventHandlers[t];a&&n(t).handlers.push(Iue(r.value,a))}
if(e&&e.domEventObservers)for(let t in e.domEventObservers){
let a=e.domEventObservers[t];a&&n(t).observers.push(Iue(r.value,a))}}
for(let r in Bue)n(r).handlers.push(Bue[r])
;for(let r in jue)n(r).observers.push(jue[r]);return t
}(e),n=this.handlers,r=this.view.contentDOM;for(let a in t)if("scroll"!=a){
let e=!t[a].handlers.length,o=n[a]
;o&&e!=!o.handlers.length&&(r.removeEventListener(a,this.handleEvent),
o=null),o||r.addEventListener(a,this.handleEvent,{passive:e})}
for(let a in n)"scroll"==a||t[a]||r.removeEventListener(a,this.handleEvent)
;this.handlers=t}keydown(e){
if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),
9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0
;if(this.tabFocusMode>0&&27!=e.keyCode&&Nue.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),
Lle.android&&Lle.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),
!0;let t
;return!Lle.ios||e.synthetic||e.altKey||e.metaKey||!((t=Due.find((t=>t.keyCode==e.keyCode)))&&!e.ctrlKey||Mue.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),
!1):(this.pendingIOSKey=t||e,setTimeout((()=>this.flushIOSKey()),250),!0)}
flushIOSKey(e){let t=this.pendingIOSKey
;return!!t&&(!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,
fle(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0)))}
ignoreDuringComposition(e){
return!!/^key/.test(e.type)&&(this.composing>0||!!(Lle.safari&&!Lle.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,
!0))}startMouseSelection(e){
this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}
update(e){
this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),
this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),
e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){
this.mouseSelection&&this.mouseSelection.destroy()}}function Iue(e,t){
return(n,r)=>{try{return t.call(e,r,n)}catch(zw){Hce(n.state,zw)}}}const Due=[{
key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",
keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,
inputType:"insertLineBreak"},{key:"Delete",keyCode:46,
inputType:"deleteContentForward"}],Mue="dthko",Nue=[16,17,18,20,91,92,224,225]
;function Rue(e){return.7*Math.max(0,e)+8}class Lue{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=function(e){
let t,n,r=e.ownerDocument
;for(let a=e.parentNode;a&&!(a==r.body||t&&n);)if(1==a.nodeType)!n&&a.scrollHeight>a.clientHeight&&(n=a),
!t&&a.scrollWidth>a.clientWidth&&(t=a),a=a.assignedSlot||a.parentNode;else{
if(11!=a.nodeType)break;a=a.host}return{x:t,y:n}
}(e.contentDOM),this.atoms=e.state.facet(eue).map((t=>t(e)))
;let a=e.contentDOM.ownerDocument
;a.addEventListener("mousemove",this.move=this.move.bind(this)),
a.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,
this.multiple=e.state.facet(Ose.allowMultipleSelections)&&function(e,t){
let n=e.state.facet(Cce);return n.length?n[0](t):Lle.mac?t.metaKey:t.ctrlKey
}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection
;if(n.empty)return!1;let r=Yse(e.root);if(!r||0==r.rangeCount)return!0
;let a=r.getRangeAt(0).getClientRects();for(let o=0;o<a.length;o++){let e=a[o]
;if(e.left<=t.clientX&&e.right>=t.clientX&&e.top<=t.clientY&&e.bottom>=t.clientY)return!0
}return!1}(e,t)||1!=Yue(t))&&null}start(e){!1===this.dragging&&this.select(e)}
move(e){if(0==e.buttons)return this.destroy()
;if(this.dragging||null==this.dragging&&(t=this.startEvent,
n=e,Math.max(Math.abs(t.clientX-n.clientX),Math.abs(t.clientY-n.clientY))<10))return
;var t,n;this.select(this.lastEvent=e)
;let r=0,a=0,o=0,i=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight
;this.scrollParents.x&&({left:o,right:s}=this.scrollParents.x.getBoundingClientRect()),
this.scrollParents.y&&({top:i,bottom:l}=this.scrollParents.y.getBoundingClientRect())
;let c=aue(this.view)
;e.clientX-c.left<=o+6?r=-Rue(o-e.clientX):e.clientX+c.right>=s-6&&(r=Rue(e.clientX-s)),
e.clientY-c.top<=i+6?a=-Rue(i-e.clientY):e.clientY+c.bottom>=l-6&&(a=Rue(e.clientY-l)),
this.setScrollSpeed(r,a)}up(e){null==this.dragging&&this.select(this.lastEvent),
this.dragging||e.preventDefault(),this.destroy()}destroy(){
this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument
;e.removeEventListener("mousemove",this.move),
e.removeEventListener("mouseup",this.up),
this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}
setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t
},e||t?this.scrolling<0&&(this.scrolling=setInterval((()=>this.scroll()),50)):this.scrolling>-1&&(clearInterval(this.scrolling),
this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed
;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,
e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,
t=0),(e||t)&&this.view.win.scrollBy(e,t),
!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null
;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],a=null;if(r.empty){
let e=xue(this.atoms,r.from,0);e!=r.from&&(a=Cie.cursor(e,-1))}else{
let e=xue(this.atoms,r.from,-1),t=xue(this.atoms,r.to,1)
;e==r.from&&t==r.to||(a=Cie.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}
a&&(t||(t=e.ranges.slice()),t[n]=a)}return t?Cie.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,!1===this.dragging)||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)
}}
const Bue=Object.create(null),jue=Object.create(null),Uue=Lle.ie&&Lle.ie_version<15||Lle.ios&&Lle.webkit_version<604
;function zue(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}
function Zue(e,t){t=zue(e.state,Rce,t)
;let n,{state:r}=e,a=1,o=r.toText(t),i=o.lines==r.selection.ranges.length,s=null!=Jue&&r.selection.ranges.every((e=>e.empty))&&Jue==o.toString()
;if(s){let e=-1;n=r.changeByRange((n=>{let s=r.doc.lineAt(n.from)
;if(s.from==e)return{range:n};e=s.from
;let l=r.toText((i?o.line(a++).text:t)+r.lineBreak);return{changes:{from:s.from,
insert:l},range:Cie.cursor(n.from+l.length)}}))}else n=i?r.changeByRange((e=>{
let t=o.line(a++);return{changes:{from:e.from,to:e.to,insert:t.text},
range:Cie.cursor(e.from+t.length)}})):r.replaceSelection(o);e.dispatch(n,{
userEvent:"input.paste",scrollIntoView:!0})}function Fue(e,t,n,r){
if(1==r)return Cie.cursor(t,n);if(2==r)return function(e,t,n=1){
let r=e.charCategorizer(t),a=e.doc.lineAt(t),o=t-a.from
;if(0==a.length)return Cie.cursor(t);0==o?n=1:o==a.length&&(n=-1);let i=o,s=o
;n<0?i=fie(a.text,o,!1):s=fie(a.text,o);let l=r(a.text.slice(i,s));for(;i>0;){
let e=fie(a.text,i,!1);if(r(a.text.slice(e,i))!=l)break;i=e}for(;s<a.length;){
let e=fie(a.text,s);if(r(a.text.slice(s,e))!=l)break;s=e}
return Cie.range(i+a.from,s+a.from)}(e.state,t,n);{
let n=ace.find(e.docView,t),r=e.state.doc.lineAt(n?n.posAtEnd:t),a=n?n.posAtStart:r.from,o=n?n.posAtEnd:r.to
;return o<e.state.doc.length&&o==r.to&&o++,Cie.range(a,o)}}jue.scroll=e=>{
e.inputState.lastScrollTop=e.scrollDOM.scrollTop,
e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft
},Bue.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),
27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),
!1),jue.touchstart=(e,t)=>{
e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")
},jue.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")
},Bue.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(Pce))if(n=r(e,t),n)break
;if(n||0!=t.button||(n=function(e,t){let n=Vue(e,t),r=Yue(t),a=e.state.selection
;return{update(e){
e.docChanged&&(n.pos=e.changes.mapPos(n.pos),a=a.map(e.changes))},get(t,o,i){
let s,l=Vue(e,t),c=Fue(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!o){
let t=Fue(e,n.pos,n.bias,r),a=Math.min(t.from,c.from),o=Math.max(t.to,c.to)
;c=a<c.from?Cie.range(a,o):Cie.range(o,a)}
return o?a.replaceRange(a.main.extend(c.from,c.to)):i&&1==r&&a.ranges.length>1&&(s=function(e,t){
for(let n=0;n<e.ranges.length;n++){let{from:r,to:a}=e.ranges[n]
;if(r<=t&&a>=t)return Cie.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}(a,l.pos))?s:i?a.addRange(c):Cie.create([c])}}}(e,t)),n){
let r=!e.hasFocus
;e.inputState.startMouseSelection(new Lue(e,t,n,r)),r&&e.observer.ignore((()=>{
ple(e.contentDOM);let t=e.root.activeElement
;t&&!t.contains(e.contentDOM)&&t.blur()}));let a=e.inputState.mouseSelection
;if(a)return a.start(t),!1===a.dragging}return!1}
;let Hue=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right
;function Que(e,t,n,r){let a=ace.find(e.docView,t);if(!a)return 1
;let o=t-a.posAtStart;if(0==o)return 1;if(o==a.length)return-1
;let i=a.coordsAt(o,-1);if(i&&Hue(n,r,i))return-1;let s=a.coordsAt(o,1)
;return s&&Hue(n,r,s)?1:i&&i.bottom>=r?-1:1}function Vue(e,t){
let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,
bias:Que(e,n,t.clientX,t.clientY)}}const que=Lle.ie&&Lle.ie_version<=11
;let Wue=null,Xue=0,Gue=0;function Yue(e){if(!que)return e.detail
;let t=Wue,n=Gue
;return Wue=e,Gue=Date.now(),Xue=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(Xue+1)%3:1
}function Kue(e,t,n,r){if(!(n=zue(e.state,Rce,n)))return;let a=e.posAtCoords({
x:t.clientX,y:t.clientY
},!1),{draggedContent:o}=e.inputState,i=r&&o&&function(e,t){
let n=e.state.facet($ce);return n.length?n[0](t):Lle.mac?!t.altKey:!t.ctrlKey
}(e,t)?{from:o.from,to:o.to}:null,s={from:a,insert:n
},l=e.state.changes(i?[i,s]:s);e.focus(),e.dispatch({changes:l,selection:{
anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:i?"move.drop":"input.drop"
}),e.inputState.draggedContent=null}Bue.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=Cie.range(e,t))}}
let{inputState:r}=e
;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,
t.dataTransfer&&(t.dataTransfer.setData("Text",zue(e.state,Lce,e.state.sliceDoc(n.from,n.to))),
t.dataTransfer.effectAllowed="copyMove"),!1
},Bue.dragend=e=>(e.inputState.draggedContent=null,!1),Bue.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),a=0,o=()=>{
++a==n.length&&Kue(e,t,r.filter((e=>null!=e)).join(e.state.lineBreak),!1)}
;for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=o,t.onload=()=>{
/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),o()
},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text")
;if(n)return Kue(e,t,n,!0),!0}return!1},Bue.paste=(e,t)=>{
if(e.state.readOnly)return!0;e.observer.flush();let n=Uue?null:t.clipboardData
;return n?(Zue(e,n.getData("text/plain")||n.getData("text/uri-list")),
!0):(function(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(),Zue(e,n.value)}),50)}(e),!1)}
;let Jue=null;Bue.copy=Bue.cut=(e,t)=>{
let{text:n,ranges:r,linewise:a}=function(e){let t=[],n=[],r=!1
;for(let a of e.selection.ranges)a.empty||(t.push(e.sliceDoc(a.from,a.to)),
n.push(a));if(!t.length){let a=-1;for(let{from:r}of e.selection.ranges){
let o=e.doc.lineAt(r);o.number>a&&(t.push(o.text),n.push({from:o.from,
to:Math.min(e.doc.length,o.to+1)})),a=o.number}r=!0}return{
text:zue(e,Lce,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state)
;if(!n&&!a)return!1;Jue=a?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({
changes:r,scrollIntoView:!0,userEvent:"delete.cut"})
;let o=Uue?null:t.clipboardData
;return o?(o.clearData(),o.setData("text/plain",n),!0):(function(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)}(e,n),!1)};const ede=ose.define();function tde(e,t){
let n=[];for(let r of e.facet(Nce)){let a=r(e,t);a&&n.push(a)}
return n?e.update({effects:n,annotations:ede.of(!0)}):null}function nde(e){
setTimeout((()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){
let n=tde(e.state,t);n?e.dispatch(n):e.update([])}}),10)}jue.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),nde(e)},jue.blur=e=>{
e.observer.clearSelectionRange(),nde(e)
},jue.compositionstart=jue.compositionupdate=e=>{
e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),
e.inputState.composing<0&&(e.inputState.composing=0))},jue.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,
Lle.chrome&&Lle.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((()=>e.observer.flush())):setTimeout((()=>{
e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50))
},jue.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()
},Bue.beforeinput=(e,t)=>{var n,r
;if("insertReplacementText"==t.inputType&&e.observer.editContext){
let r=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),a=t.getTargetRanges()
;if(r&&a.length){
let t=a[0],n=e.posAtDOM(t.startContainer,t.startOffset),o=e.posAtDOM(t.endContainer,t.endOffset)
;return $ue(e,{from:n,to:o,insert:e.state.toText(r)},null),!0}}let a
;if(Lle.chrome&&Lle.android&&(a=Due.find((e=>e.inputType==t.inputType)))&&(e.observer.delayAndroidKey(a.key,a.keyCode),
"Backspace"==a.key||"Delete"==a.key)){
let t=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0
;setTimeout((()=>{var n
;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),
e.focus())}),100)}
return Lle.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),
Lle.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout((()=>jue.compositionend(e,t)),20),
!1};const rde=new Set;const ade=["pre-wrap","normal","pre-line","break-spaces"]
;let ode=!1;function ide(){ode=!1}class sde{constructor(e){
this.lineWrapping=e,this.doc=aie.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){if(!this.lineWrapping)return this.lineHeight
;return(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight
}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){
return ade.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(10*r)]||(t=!0,
this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,a,o){
let i=ade.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=i
;if(this.lineWrapping=i,
this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=a,s){
this.heightSamples={};for(let e=0;e<o.length;e++){let t=o[e]
;t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class lde{
constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){
return this.index<this.heights.length}}class cde{constructor(e,t,n,r,a){
this.from=e,this.length=t,this.top=n,this.height=r,this._content=a}get type(){
return"number"==typeof this._content?Yle.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 tce?this._content.widget:null}
get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}
join(e){
let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e])
;return new cde(this.from,this.length+e.length,this.top,this.height+e.height,t)}
}var ude=function(e){
return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",
e}(ude||(ude={}));const dde=.001;class pde{constructor(e,t,n=2){
this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}
set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){
this.height!=e&&(Math.abs(this.height-e)>dde&&(ode=!0),this.height=e)}
replace(e,t,n){return pde.of(n)}decomposeLeft(e,t){t.push(this)}
decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let a=this,o=n.doc
;for(let i=r.length-1;i>=0;i--){
let{fromA:s,toA:l,fromB:c,toB:u}=r[i],d=a.lineAt(s,ude.ByPosNoHeight,n.setDoc(t),0,0),p=d.to>=l?d:a.lineAt(l,ude.ByPosNoHeight,n,0,0)
;for(u+=p.to-l,
l=p.to;i>0&&d.from<=r[i-1].toA;)s=r[i-1].fromA,c=r[i-1].fromB,i--,
s<d.from&&(d=a.lineAt(s,ude.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from
;let h=yde.build(n.setDoc(o),e,c,u);a=hde(a,a.replace(s,l,h))}
return a.updateHeight(n,0)}static empty(){return new mde(0,0)}static of(e){
if(1==e.length)return e[0];let t=0,n=e.length,r=0,a=0;for(;;)if(t==n)if(r>2*a){
let a=e[t-1]
;a.break?e.splice(--t,1,a.left,null,a.right):e.splice(--t,1,a.left,a.right),
n+=1+a.break,r-=a.size}else{if(!(a>2*r))break;{let t=e[n]
;t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),
n+=2+t.break,a-=t.size}}else if(r<a){let n=e[t++];n&&(r+=n.size)}else{
let t=e[--n];t&&(a+=t.size)}let o=0
;return null==e[t-1]?(o=1,t--):null==e[t]&&(o=1,
n++),new vde(pde.of(e.slice(0,t)),o,pde.of(e.slice(n)))}}function hde(e,t){
return e==t?e:(e.constructor!=t.constructor&&(ode=!0),t)}pde.prototype.size=1
;class fde extends pde{constructor(e,t,n){super(e,t),this.deco=n}
blockAt(e,t,n,r){return new cde(r,this.length,n,this.height,this.deco||0)}
lineAt(e,t,n,r,a){return this.blockAt(0,n,r,a)}forEachLine(e,t,n,r,a,o){
e<=a+this.length&&t>=a&&o(this.blockAt(0,n,r,a))}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})`}}
class mde extends fde{constructor(e,t){
super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}
blockAt(e,t,n,r){return new cde(r,this.length,n,this.height,this.breaks)}
replace(e,t,n){let r=n[0]
;return 1==n.length&&(r instanceof mde||r instanceof gde&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof gde?r=new mde(r.length,this.height):r.height=this.height,
this.outdated||(r.outdated=!1),r):pde.of(n)}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:""})`
}}class gde extends pde{constructor(e){super(e,0)}heightMetrics(e,t){
let n,r=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,o=a-r+1,i=0
;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o)
;n=t/o,this.length>o+1&&(i=(this.height-t)/(this.length-o-1))
}else n=this.height/o;return{firstLine:r,lastLine:a,perLine:n,perChar:i}}
blockAt(e,t,n,r){
let{firstLine:a,lastLine:o,perLine:i,perChar:s}=this.heightMetrics(t,r)
;if(t.lineWrapping){
let a=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),o=t.doc.lineAt(a),l=i+o.length*s,c=Math.max(n,e-l/2)
;return new cde(o.from,o.length,c,l,0)}{
let r=Math.max(0,Math.min(o-a,Math.floor((e-n)/i))),{from:s,length:l}=t.doc.line(a+r)
;return new cde(s,l,n+i*r,i,0)}}lineAt(e,t,n,r,a){
if(t==ude.ByHeight)return this.blockAt(e,n,r,a);if(t==ude.ByPosNoHeight){
let{from:t,to:r}=n.doc.lineAt(e);return new cde(t,r-t,0,0,0)}
let{firstLine:o,perLine:i,perChar:s}=this.heightMetrics(n,a),l=n.doc.lineAt(e),c=i+l.length*s,u=l.number-o,d=r+i*u+s*(l.from-a-u)
;return new cde(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}
forEachLine(e,t,n,r,a,o){e=Math.max(e,a),t=Math.min(t,a+this.length)
;let{firstLine:i,perLine:s,perChar:l}=this.heightMetrics(n,a)
;for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-i
;u+=s*n+l*(e-a-n)}let r=s+l*t.length
;o(new cde(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){
let r=this.length-t;if(r>0){let e=n[n.length-1]
;e instanceof gde?n[n.length-1]=new gde(e.length+r):n.push(null,new gde(r-1))}
if(e>0){let t=n[0]
;t instanceof gde?n[0]=new gde(e+t.length):n.unshift(new gde(e-1),null)}
return pde.of(n)}decomposeLeft(e,t){t.push(new gde(e-1),null)}
decomposeRight(e,t){t.push(null,new gde(this.length-e-1))}
updateHeight(e,t=0,n=!1,r){let a=t+this.length
;if(r&&r.from<=t+this.length&&r.more){let n=[],o=Math.max(t,r.from),i=-1
;for(r.from>t&&n.push(new gde(r.from-t-1).updateHeight(e,t));o<=a&&r.more;){
let t=e.doc.lineAt(o).length;n.length&&n.push(null);let a=r.heights[r.index++]
;-1==i?i=a:Math.abs(a-i)>=dde&&(i=-2);let s=new mde(t,a)
;s.outdated=!1,n.push(s),o+=t+1}
o<=a&&n.push(null,new gde(a-o).updateHeight(e,o));let s=pde.of(n)
;return(i<0||Math.abs(s.height-this.height)>=dde||Math.abs(i-this.heightMetrics(e,t).perLine)>=dde)&&(ode=!0),
hde(this,s)}
return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),
this.outdated=!1),this}toString(){return`gap(${this.length})`}}
class vde extends pde{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 1&this.flags
}blockAt(e,t,n,r){let a=n+this.left.height
;return e<a?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,a,r+this.left.length+this.break)
}lineAt(e,t,n,r,a){
let o=r+this.left.height,i=a+this.left.length+this.break,s=t==ude.ByHeight?e<o:e<i,l=s?this.left.lineAt(e,t,n,r,a):this.right.lineAt(e,t,n,o,i)
;if(this.break||(s?l.to<i:l.from>i))return l
;let c=t==ude.ByPosNoHeight?ude.ByPosNoHeight:ude.ByPos
;return s?l.join(this.right.lineAt(i,c,n,o,i)):this.left.lineAt(i,c,n,r,a).join(l)
}forEachLine(e,t,n,r,a,o){
let i=r+this.left.height,s=a+this.left.length+this.break
;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,a,o),
t>=s&&this.right.forEachLine(e,t,n,i,s,o);else{
let l=this.lineAt(s,ude.ByPos,n,r,a)
;e<l.from&&this.left.forEachLine(e,l.from-1,n,r,a,o),
l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,i,s,o)}}
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 a=[];e>0&&this.decomposeLeft(e,a);let o=a.length;for(let i of n)a.push(i)
;if(e>0&&bde(a,o-1),t<this.length){let e=a.length
;this.decomposeRight(t,a),bde(a,e)}return pde.of(a)}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?pde.of(this.break?[e,null,t]:[e,t]):(this.left=hde(this.left,e),
this.right=hde(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:a,right:o}=this,i=t+a.length+this.break,s=null
;return r&&r.from<=t+a.length&&r.more?s=a=a.updateHeight(e,t,n,r):a.updateHeight(e,t,n),
r&&r.from<=i+o.length&&r.more?s=o=o.updateHeight(e,i,n,r):o.updateHeight(e,i,n),
s?this.balanced(a,o):(this.height=this.left.height+this.right.height,
this.outdated=!1,this)}toString(){
return this.left+(this.break?" ":"-")+this.right}}function bde(e,t){let n,r
;null==e[t]&&(n=e[t-1])instanceof gde&&(r=e[t+1])instanceof gde&&e.splice(t-1,3,new gde(n.length+1+r.length))
}class yde{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 mde?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new mde(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,a=n.widget?n.widget.lineBreaks:0
;r<0&&(r=this.oracle.lineHeight);let o=t-e
;n.block?this.addBlock(new fde(o,r,n)):(o||a||r>=5)&&this.addLineDeco(r,a,o)
}else t>e&&this.span(e,t)
;this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)
}enterLine(){if(this.lineStart>-1)return
;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos)
;this.lineStart=e,this.lineEnd=t,
this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),
this.nodes.push(null)),
this.pos>e&&this.nodes.push(new mde(this.pos-e,-1)),this.writtenTo=this.pos}
blankContent(e,t){let n=new gde(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 mde)return e;let t=new mde(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=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=this.pos+n}finish(e){
let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1]
;!(this.lineStart>-1)||t instanceof mde||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new mde(0,-1))
;let n=e
;for(let r of this.nodes)r instanceof mde&&r.updateHeight(this.oracle,n),
n+=r?r.length:1;return this.nodes}static build(e,t,n,r){let a=new yde(n,e)
;return Ase.spans(t,n,r,a,0),a.finish(n)}}class Ode{constructor(){
this.changes=[]}compareRange(){}comparePoint(e,t,n,r){
(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&rce(e,t,this.changes,5)}}
function wde(e,t){
let n=e.getBoundingClientRect(),r=e.ownerDocument,a=r.defaultView||window,o=Math.max(0,n.left),i=Math.min(a.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(a.innerHeight,n.bottom)
;for(let c=e.parentNode;c&&c!=r.body;)if(1==c.nodeType){
let t=c,n=window.getComputedStyle(t)
;if((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=n.overflow){
let n=t.getBoundingClientRect()
;o=Math.max(o,n.left),i=Math.min(i,n.right),s=Math.max(s,n.top),
l=Math.min(c==e.parentNode?a.innerHeight:l,n.bottom)}
c="absolute"==n.position||"fixed"==n.position?t.offsetParent:t.parentNode}else{
if(11!=c.nodeType)break;c=c.host}return{left:o-n.left,
right:Math.max(o,i)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}
function xde(e,t){let n=e.getBoundingClientRect();return{left:0,
right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class kde{
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],a=t[n];if(r.from!=a.from||r.to!=a.to||r.size!=a.size)return!1}
return!0}draw(e,t){return Kle.replace({
widget:new Sde(this.displaySize*(t?e.scaleY:e.scaleX),t)
}).range(this.from,this.to)}}class Sde extends Gle{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}}class _de{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=Cde,
this.scrollTarget=null,
this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=uce.LTR,
this.visibleRanges=[],this.mustEnforceCursorAssoc=!1
;let t=e.facet(Yce).some((e=>"function"!=typeof e&&"cm-lineWrapping"==e.class))
;this.heightOracle=new sde(t),
this.stateDeco=e.facet(Kce).filter((e=>"function"!=typeof e)),
this.heightMap=pde.empty().applyChanges(this.stateDeco,aie.empty,this.heightOracle.setDoc(e.doc),[new iue(0,0,0,e.doc.length)])
;for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),
this.updateForViewport());n++);
this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),
this.lineGapDeco=Kle.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 Ade(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?Cde:new $de(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(Pde(e,this.scaler))}))}update(e,t=null){
this.state=e.state;let n=this.stateDeco
;this.stateDeco=this.state.facet(Kce).filter((e=>"function"!=typeof e))
;let r=e.changedRanges,a=iue.extendWithRanges(r,function(e,t,n){let r=new Ode
;return Ase.compare(e,t,n,r,0),r.changes
}(n,this.stateDeco,e?e.changes:wie.empty(this.state.doc.length))),o=this.heightMap.height,i=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop)
;ide(),
this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),a),
(this.heightMap.height!=o||ode)&&(e.flags|=2),
i?(this.scrollAnchorPos=e.changes.mapPos(i.from,-1),
this.scrollAnchorHeight=i.top):(this.scrollAnchorPos=-1,
this.scrollAnchorHeight=this.heightMap.height)
;let s=a.length?this.mapViewport(this.viewport,e.changes):this.viewport
;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t))
;let l=s.from!=this.viewport.from||s.to!=this.viewport.to
;this.viewport=s,e.flags|=this.updateForViewport(),
(l||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),
(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),
e.flags|=this.computeVisibleRanges(),
t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(jce)&&(this.mustEnforceCursorAssoc=!0)
}measure(e){
let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,a=n.whiteSpace
;this.defaultTextDirection="rtl"==n.direction?uce.RTL:uce.LTR
;let o=this.heightOracle.mustRefreshForWrapping(a),i=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=i.height
;this.contentDOMHeight=i.height,this.mustMeasureContent=!1;let l=0,c=0
;if(i.width&&i.height){let{scaleX:e,scaleY:n}=lle(t,i)
;(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,
this.scaleY=n,l|=8,o=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,
l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),
this.editorWidth=e.scrollDOM.clientWidth,l|=8)
;let p=e.scrollDOM.scrollTop*this.scaleY
;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,
this.scrollTop=p),this.scrolledToBottom=gle(e.scrollDOM)
;let h=(this.printing?xde:wde)(t,this.paddingTop),f=h.top-this.pixelViewport.top,m=h.bottom-this.pixelViewport.bottom
;this.pixelViewport=h
;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left
;if(g!=this.inView&&(this.inView=g,
g&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let v=i.width
;if(this.contentDOMWidth==v&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=i.width,
this.editorHeight=e.scrollDOM.clientHeight,l|=8),s){
let t=e.docView.measureVisibleLineHeights(this.viewport)
;if(r.mustRefreshForHeights(t)&&(o=!0),
o||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){
let{lineHeight:n,charWidth:i,textHeight:s}=e.docView.measureTextSize()
;o=n>0&&r.refresh(a,n,i,s,v/i,t),o&&(e.docView.minWidth=0,l|=8)}
f>0&&m>0?c=Math.max(f,m):f<0&&m<0&&(c=Math.min(f,m)),ide()
;for(let n of this.viewports){
let a=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n)
;this.heightMap=(o?pde.empty().applyChanges(this.stateDeco,aie.empty,this.heightOracle,[new iue(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new lde(n.from,a))
}ode&&(l|=2)}
let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to)
;return b&&(2&l&&(l|=this.updateScaler()),
this.viewport=this.getViewport(c,this.scrollTarget),
l|=this.updateForViewport()),
(2&l||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),
l|=this.computeVisibleRanges(),
this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,
e.docView.enforceCursorAssoc()),l}get visibleTop(){
return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){
return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){
let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,a=this.heightOracle,{visibleTop:o,visibleBottom:i}=this,s=new Ade(r.lineAt(o-1e3*n,ude.ByHeight,a,0,0).from,r.lineAt(i+1e3*(1-n),ude.ByHeight,a,0,0).to)
;if(t){let{head:e}=t.range;if(e<s.from||e>s.to){
let n,o=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),i=r.lineAt(e,ude.ByPos,a,0,0)
;n="center"==t.y?(i.top+i.bottom)/2-o/2:"start"==t.y||"nearest"==t.y&&e<s.from?i.top:i.bottom-o,
s=new Ade(r.lineAt(n-500,ude.ByHeight,a,0,0).from,r.lineAt(n+o+500,ude.ByHeight,a,0,0).to)
}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1)
;return new Ade(this.heightMap.lineAt(n,ude.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,ude.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,ude.ByPos,this.heightOracle,0,0),{bottom:a}=this.heightMap.lineAt(t,ude.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:i}=this
;return(0==e||r<=o-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||a>=i+Math.max(10,Math.min(n,250)))&&r>o-2e3&&a<i+2e3
}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 kde(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,a=r>>1,o=r<<1
;if(this.defaultTextDirection!=uce.LTR&&!n)return[];let i=[],s=(r,o,l,c)=>{
if(o-r<a)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to)
;for(let e of d)if(e>r&&e<o)return s(r,e-10,l,c),void s(e+10,o,l,c)
;let p=function(e,t){for(let n of e)if(t(n))return n;return
}(e,(e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<a&&Math.abs(e.to-o)<a&&!d.some((t=>e.from<t&&e.to>t))))
;if(!p){if(o<l.to&&t&&n&&t.visibleRanges.some((e=>e.from<=o&&e.to>=o))){
let e=t.moveToLineBoundary(Cie.cursor(o),!1,!0).head;e>r&&(o=e)}
let e=this.gapSize(l,r,o,c);p=new kde(r,o,e,n||e<2e6?e:2e6)}i.push(p)},l=t=>{
if(t.length<o||t.type!=Yle.Text)return;let a=function(e,t,n){let r=[],a=e,o=0
;Ase.spans(n,e,t,{span(){},point(e,t){e>a&&(r.push({from:a,to:e}),o+=e-a),a=t}
},20),a<t&&(r.push({from:a,to:t}),o+=t-a);return{total:o,ranges:r}
}(t.from,t.to,this.stateDeco);if(a.total<o)return
;let i,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){
let e,n,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight
;if(null!=c){
let r=Ede(a,c),i=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=r-i,n=r+i
}else e=(this.visibleTop-t.top-o)/t.height,
n=(this.visibleBottom-t.top+o)/t.height;i=Tde(a,e),l=Tde(a,n)}else{
let n=a.total*this.heightOracle.charWidth,o=r*this.heightOracle.charWidth,s=0
;if(n>2e6)for(let r of e)r.from>=t.from&&r.from<t.to&&r.size!=r.displaySize&&r.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=r.size-r.displaySize)
;let u,d,p=this.pixelViewport.left+s,h=this.pixelViewport.right+s;if(null!=c){
let e=Ede(a,c),t=((h-p)/2+o)/n;u=e-t,d=e+t}else u=(p-o)/n,d=(h+o)/n
;i=Tde(a,u),l=Tde(a,d)}i>t.from&&s(t.from,i,t,a),l<t.to&&s(l,t.to,t,a)}
;for(let c of this.viewportLines)Array.isArray(c.type)?c.type.forEach(l):l(c)
;return i}gapSize(e,t,n,r){let a=Ede(r,n)-Ede(r,t)
;return this.heightOracle.lineWrapping?e.height*a:r.total*this.heightOracle.charWidth*a
}updateLineGaps(e){
kde.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Kle.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=[]
;Ase.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))||Pde(this.heightMap.lineAt(e,ude.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))||Pde(this.heightMap.lineAt(this.scaler.fromDOM(e),ude.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 Pde(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}}
class Ade{constructor(e,t){this.from=e,this.to=t}}
function Tde({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 a=0;;a++){
let{from:e,to:n}=t[a],o=n-e;if(r<=o)return e+r;r-=o}}function Ede(e,t){let n=0
;for(let{from:r,to:a}of e.ranges){if(t<=a){n+=t-r;break}n+=a-r}return n/e.total}
const Cde={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class $de{
constructor(e,t,n){let r=0,a=0,o=0;this.viewports=n.map((({from:n,to:a})=>{
let o=t.lineAt(n,ude.ByPos,e,0,0).top,i=t.lineAt(a,ude.ByPos,e,0,0).bottom
;return r+=i-o,{from:n,to:a,top:o,bottom:i,domTop:0,domBottom:0}
})),this.scale=(7e6-r)/(t.height-r)
;for(let i of this.viewports)i.domTop=o+(i.top-a)*this.scale,
o=i.domBottom=i.domTop+(i.bottom-i.top),a=i.bottom}toDOM(e){
for(let t=0,n=0,r=0;;t++){let a=t<this.viewports.length?this.viewports[t]:null
;if(!a||e<a.top)return r+(e-n)*this.scale
;if(e<=a.bottom)return a.domTop+(e-a.top);n=a.bottom,r=a.domBottom}}fromDOM(e){
for(let t=0,n=0,r=0;;t++){let a=t<this.viewports.length?this.viewports[t]:null
;if(!a||e<a.domTop)return n+(e-r)/this.scale
;if(e<=a.domBottom)return a.top+(e-a.domTop);n=a.bottom,r=a.domBottom}}eq(e){
return e instanceof $de&&(this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every(((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to)))
}}function Pde(e,t){if(1==t.scale)return e
;let n=t.toDOM(e.top),r=t.toDOM(e.bottom)
;return new cde(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map((e=>Pde(e,t))):e._content)
}const Ide=Iie.define({combine:e=>e.join(" ")}),Dde=Iie.define({
combine:e=>e.indexOf(!0)>-1
}),Mde=Zse.newName(),Nde=Zse.newName(),Rde=Zse.newName(),Lde={"&light":"."+Nde,
"&dark":"."+Rde};function Bde(e,t,n){return new Zse(t,{
finish:t=>/&/.test(t)?t.replace(/&\w*/,(t=>{if("&"==t)return e
;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]
})):e+" "+t})}const jde=Bde("."+Mde,{"&":{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"}
},Lde),Ude={childList:!0,characterData:!0,subtree:!0,attributes:!0,
characterDataOldValue:!0},zde=Lle.ie&&Lle.ie_version<=11;class Zde{
constructor(e){
this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new cle,
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)
;(Lle.ie&&Lle.ie_version<=11||Lle.ios&&e.composing)&&t.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()
})),
!window.EditContext||!1===e.constructor.EDIT_CONTEXT||Lle.chrome&&Lle.chrome_version<126||(this.editContext=new Qde(e),
e.state.facet(Qce)&&(e.contentDOM.editContext=this.editContext.editContext)),
zde&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",
oldValue:e.prevValue}),this.flushSoon()
}),this.onSelectionChange=this.onSelectionChange.bind(this),
this.onResize=this.onResize.bind(this),
this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),
window.matchMedia&&(this.printQuery=window.matchMedia("print")),
"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((()=>{
var e
;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()
})),
this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),
this.start(),
"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((e=>{
this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),
e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,
this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))
}),{threshold:[0,.001]
}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((e=>{
e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))
}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){
this.view.inputState.runHandlers("scroll",e),
this.intersecting&&this.view.measure()}onScroll(e){
this.intersecting&&this.flush(!1),
this.editContext&&this.view.requestMeasure(this.editContext.measureReq),
this.onScrollChanged(e)}onResize(){
this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{
this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(e){
("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,
this.view.measure(),setTimeout((()=>{
this.view.viewState.printing=!1,this.view.requestMeasure()}),500))}
updateGaps(e){
if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some(((t,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(Qce)?n.root.activeElement!=this.dom:!Jse(this.dom,r))return
;let a=r.anchorNode&&n.docView.nearest(r.anchorNode)
;a&&a.ignoreEvent(e)?t||(this.selectionChanged=!1):(Lle.ie&&Lle.ie_version<=11||Lle.android&&Lle.chrome)&&!n.state.selection.main.empty&&r.focusNode&&tle(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)
}readSelectionRange(){let{view:e}=this,t=Yse(e.root);if(!t)return!1
;let n=Lle.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){
if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0]
;if(n)return Hde(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?Hde(e,n):null
}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1
;let r=Jse(this.dom,n)
;return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){
let n=t.focusNode,r=t.focusOffset
;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1
;for(r=Math.min(r,ole(n));;)if(r){if(1!=n.nodeType)return!1
;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=ole(n))}else{
if(n==e)return!0;r=nle(n),n=n.parentNode}
}(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(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),
t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break
;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),
t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll)
;for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}
ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{
this.start(),this.clear()}}start(){
this.active||(this.observer.observe(this.dom,Ude),
zde&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),
this.active=!0)}stop(){
this.active&&(this.active=!1,this.observer.disconnect(),zde&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))
}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}
delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{
let e=this.delayedAndroidKey;if(e){
this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,
this.view.inputState.lastKeyTime=Date.now(),
!this.flush()&&e.force&&fle(this.dom,e.key,e.keyCode)}}
;this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}
this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,
force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.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 a of e){let e=this.readMutation(a)
;e&&(e.typeOver&&(r=!0),
-1==t?({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&&Jse(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 a=new Eue(this.view,e,t,n)
;return this.view.docView.domChanged={newSel:a.newSel?a.newSel.main:null},a}
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=Cue(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("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),
"childList"==e.type){
let n=Fde(t,e.previousSibling||e.target.previousSibling,-1),r=Fde(t,e.nextSibling||e.target.nextSibling,1)
;return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,
typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,
typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){
e!=this.win&&(this.removeWindowListeners(this.win),
this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){
e.addEventListener("resize",this.onResize),
this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),
e.addEventListener("scroll",this.onScroll),
e.document.addEventListener("selectionchange",this.onSelectionChange)}
removeWindowListeners(e){
e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),
this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),
e.document.removeEventListener("selectionchange",this.onSelectionChange)}
update(e){
this.editContext&&(this.editContext.update(e),e.startState.facet(Qce)!=e.state.facet(Qce)&&(e.view.contentDOM.editContext=e.state.facet(Qce)?this.editContext.editContext:null))
}destroy(){var e,t,n
;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),
null===(t=this.gapIntersection)||void 0===t||t.disconnect(),
null===(n=this.resizeScroll)||void 0===n||n.disconnect()
;for(let r of this.scrollTargets)r.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())}}function Fde(e,t,n){for(;t;){let r=wle.get(t)
;if(r&&r.parent==e)return r;let a=t.parentNode
;t=a!=e.dom?a:n>0?t.nextSibling:t.previousSibling}return null}function Hde(e,t){
let n=t.startContainer,r=t.startOffset,a=t.endContainer,o=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor)
;return tle(i.node,i.offset,a,o)&&([n,r,a,o]=[a,o,n,r]),{anchorNode:n,
anchorOffset:r,focusNode:a,focusOffset:o}}class Qde{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),a=this.toEditorPos(t.updateRangeEnd)
;e.inputState.composing>=0&&!this.composing&&(this.composing={
contextBase:t.updateRangeStart,editorBase:r,drifted:!1});let o={from:r,to:a,
insert:aie.of(t.text.split("\n"))}
;if(o.from==this.from&&n<this.from?o.from=n:o.to==this.to&&n>this.to&&(o.to=n),
o.from!=o.to||o.insert.length){
if(this.pendingContextChange=o,!e.state.readOnly){
let n=this.to-this.from+(o.to-o.from+o.insert.length)
;$ue(e,o,Cie.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=[],a=null
;for(let t=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);t<o;t++){
let n=e.coordsForChar(t)
;a=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||a||new DOMRect,
r.push(a)}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("None"!=t&&"None"!=r){
let a=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(a<o){
let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`
;n.push(Kle.mark({attributes:{style:e}}).range(a,o))}}}e.dispatch({
effects:Fce.of(Kle.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 n in this.handlers)t.addEventListener(n,this.handlers[n])
;this.measureReq={read:e=>{
this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect())
;let t=Yse(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(((a,o,i,s,l)=>{if(n)return;let c=l.length-(o-a)
;if(r&&o>=r.to){
if(r.from==a&&r.to==o&&r.insert.eq(l))return r=this.pendingContextChange=null,
t+=c,void(this.to+=c);r=null,this.revertPending(e.state)}
if(a+=t,(o+=t)<=this.from)this.from+=c,this.to+=c;else if(a<this.to){
if(a<this.from||o>this.to||this.to-this.from+l.length>3e4)return void(n=!0)
;this.editContext.updateText(this.toContextPos(a),this.toContextPos(o),l.toString()),
this.to+=c}t+=c})),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)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,
this.reset(e.state)),
(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)
}resetRange(e){let{head:t}=e.selection.main
;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){
this.resetRange(e),
this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),
this.setSelection(e)}revertPending(e){let t=this.pendingContextChange
;this.pendingContextChange=null,
this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))
}setSelection(e){
let{main:t}=e.selection,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>3e4)
}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])
}}class Vde{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={}){var t
;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:n}=e
;this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach((e=>n(e,this))))||(e=>this.update(e)),
this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){
if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e
;e=e.assignedSlot||e.parentNode}return null
}(e.parent)||document,this.viewState=new _de(e.state||Ose.create(e)),
e.scrollTo&&e.scrollTo.is(Zce)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),
this.plugins=this.state.facet(qce).map((e=>new Xce(e)))
;for(let r of this.plugins)r.update(this)
;this.observer=new Zde(this),this.inputState=new Pue(this),
this.inputState.ensureHandlers(this.plugins),
this.docView=new lue(this),this.mountStyles(),
this.updateAttrs(),this.updateState=0,
this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then((()=>this.requestMeasure()))
}dispatch(...e){
let t=1==e.length&&e[0]instanceof cse?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)]
;this.dispatchTransactions(t,this)}update(e){
if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress")
;let t,n=!1,r=!1,a=this.state;for(let d of e){
if(d.startState!=a)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.")
;a=d.state}if(this.destroyed)return void(this.viewState.state=a)
;let o=this.hasFocus,i=0,s=null
;e.some((e=>e.annotation(ede)))?(this.inputState.notifiedFocused=o,
i=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,
s=tde(a,o),s||(i=1));let l=this.observer.delayedAndroidKey,c=null
;if(l?(this.observer.clearDelayedAndroidKey(),
c=this.observer.readChange(),(c&&!this.state.doc.eq(a.doc)||!this.state.selection.eq(a.selection))&&(c=null)):this.observer.clear(),
a.facet(Ose.phrases)!=this.state.facet(Ose.phrases))return this.setState(a)
;t=sue.create(this,a,e),t.flags|=i;let u=this.viewState.scrollTarget;try{
this.updateState=2;for(let t of e){if(u&&(u=u.map(t.changes)),t.scrollIntoView){
let{main:e}=t.state.selection
;u=new zce(e.empty?e:Cie.cursor(e.head,e.head>e.anchor?-1:1))}
for(let e of t.effects)e.is(Zce)&&(u=e.value.clip(this.state))}
this.viewState.update(t,u),
this.bidiCache=Xde.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),
this.inputState.update(t)),
n=this.docView.update(t),this.state.facet(oue)!=this.styleModules&&this.mountStyles(),
r=this.updateAttrs(),
this.showAnnouncements(e),this.docView.updateSelection(n,e.some((e=>e.isUserEvent("select.pointer"))))
}finally{this.updateState=0}
if(t.startState.facet(Ide)!=t.state.facet(Ide)&&(this.viewState.mustMeasureContent=!0),
(n||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),
n&&this.docViewUpdate(),!t.empty)for(let d of this.state.facet(Dce))try{d(t)
}catch(zw){Hce(this.state,zw,"update listener")}
(s||c)&&Promise.resolve().then((()=>{
s&&this.state==s.startState&&this.dispatch(s),
c&&!Cue(this,c)&&l.force&&fle(this.contentDOM,l.key,l.keyCode)}))}setState(e){
if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress")
;if(this.destroyed)return void(this.viewState.state=e);this.updateState=2
;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this)
;this.viewState=new _de(e),
this.plugins=e.facet(qce).map((e=>new Xce(e))),this.pluginMap.clear()
;for(let e of this.plugins)e.update(this)
;this.docView.destroy(),this.docView=new lue(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(qce),n=e.state.facet(qce);if(t!=n){let r=[]
;for(let a of n){let n=t.indexOf(a);if(n<0)r.push(new Xce(a));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 r of this.plugins)r.mustUpdate=e
;for(let r=0;r<this.plugins.length;r++)this.plugins[r].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(zw){Hce(this.state,zw,"doc view update listener")}}}
measure(e=!0){if(this.destroyed)return
;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),
this.observer.delayedAndroidKey)return this.measureScheduled=-1,
void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush()
;let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:a,scrollAnchorHeight:o}=this.viewState
;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),
this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){
if(o<0)if(gle(n))a=-1,o=this.viewState.heightMap.height;else{
let e=this.viewState.scrollAnchorAt(r);a=e.from,o=e.top}this.updateState=1
;let i=this.viewState.measure(this)
;if(!i&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break
;if(e>5){
console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize")
;break}let s=[];4&i||([this.measureRequests,s]=[s,this.measureRequests])
;let l=s.map((e=>{try{return e.read(this)}catch(zw){
return Hce(this.state,zw),Wde}})),c=sue.create(this,this.state,[]),u=!1
;c.flags|=i,t?t.flags|=i:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),
this.inputState.update(c),
this.updateAttrs(),u=this.docView.update(c),u&&this.docViewUpdate())
;for(let e=0;e<s.length;e++)if(l[e]!=Wde)try{let t=s[e]
;t.write&&t.write(l[e],this)}catch(zw){Hce(this.state,zw)}
if(u&&this.docView.updateSelection(!0),
!c.viewportChanged&&0==this.measureRequests.length){
if(this.viewState.editorHeight){if(this.viewState.scrollTarget){
this.docView.scrollIntoView(this.viewState.scrollTarget),
this.viewState.scrollTarget=null,o=-1;continue}{
let e=(a<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(a).top)-o
;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,o=-1;continue}}}break}}}finally{
this.updateState=0,this.measureScheduled=-1}
if(t&&!t.empty)for(let i of this.state.facet(Dce))i(t)}get themeClasses(){
return Mde+" "+(this.state.facet(Dde)?Rde:Nde)+" "+this.state.facet(Ide)}
updateAttrs(){let e=Gde(this,Gce,{
class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={
spellcheck:"false",autocorrect:"off",autocapitalize:"off",
writingsuggestions:"false",translate:"no",
contenteditable:this.state.facet(Qce)?"true":"false",class:"cm-content",
style:`${Lle.tabSize}: ${this.state.tabSize}`,role:"textbox",
"aria-multiline":"true"}
;this.state.readOnly&&(t["aria-readonly"]="true"),Gde(this,Yce,t)
;let n=this.observer.ignore((()=>{
let n=Wle(this.contentDOM,this.contentAttrs,t),r=Wle(this.dom,this.editorAttrs,e)
;return n||r}));return this.editorAttrs=e,this.contentAttrs=t,n}
showAnnouncements(e){let t=!0
;for(let n of e)for(let e of n.effects)if(e.is(Vde.announce)){
t&&(this.announceDOM.textContent=""),
t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value
}}mountStyles(){this.styleModules=this.state.facet(oue)
;let e=this.state.facet(Vde.cspNonce)
;Zse.mount(this.root,this.styleModules.concat(jde).reverse(),e?{nonce:e}:void 0)
}readMeasured(){
if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update")
;0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}
requestMeasure(e){
if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),
e){if(this.measureRequests.indexOf(e)>-1)return
;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e)
;this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e)
;return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((t=>t.spec==e))||null),
t&&t.update(this).value}get documentTop(){
return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}
get documentPadding(){return{top:this.viewState.paddingTop,
bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}
get scaleY(){return this.viewState.scaleY}elementAtHeight(e){
return this.readMeasured(),this.viewState.elementAtHeight(e)}
lineBlockAtHeight(e){
return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}
get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){
return this.viewState.lineBlockAt(e)}get contentHeight(){
return this.viewState.contentHeight}moveByChar(e,t,n){
return kue(this,e,wue(this,e,t,n))}moveByGroup(e,t){
return kue(this,e,wue(this,e,t,(t=>function(e,t,n){
let r=e.state.charCategorizer(t),a=r(n);return e=>{let t=r(e)
;return a==gse.Space&&(a=t),a==t}}(this,e.head,t))))}visualLineSide(e,t){
let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),a=n[t?n.length-1:0]
;return Cie.cursor(a.side(t,r)+e.from,a.forward(!t,r)?1:-1)}
moveToLineBoundary(e,t,n=!0){return Oue(this,e,t,n)}moveVertically(e,t,n){
return kue(this,e,function(e,t,n,r){let a=t.head,o=n?1:-1
;if(a==(n?e.state.doc.length:0))return Cie.cursor(a,t.assoc)
;let i,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(a,t.assoc||-1),u=e.documentTop
;if(c)null==s&&(s=c.left-l.left),i=o<0?c.top:c.bottom;else{
let t=e.viewState.lineBlockAt(a)
;null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(a-t.from))),
i=(o<0?t.top:t.bottom)+u}
let d=l.left+s,p=null!=r?r:e.viewState.heightOracle.textHeight>>1
;for(let h=0;;h+=10){let t=i+(p+h)*o,n=bue(e,{x:d,y:t},!1,o)
;if(t<l.top||t>l.bottom||(o<0?n<a:n>a)){
let r=e.docView.coordsForChar(n),a=!r||t<r.top?-1:1
;return Cie.cursor(n,a,void 0,s)}}}(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(),bue(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),a=this.bidiSpans(r)
;return ile(n,a[Oce.find(a,e-r.from,-1,t)].dir==uce.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(Bce)||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>qde)return _ce(e.length);let t,n=this.textDirectionAt(e.from)
;for(let a of this.bidiCache)if(a.from==e.from&&a.dir==n&&(a.fresh||wce(a.isolates,t=nue(this,e))))return a.order
;t||(t=nue(this,e));let r=function(e,t,n){if(!e)return[new Oce(0,0,t==pce?1:0)]
;if(t==dce&&!n.length&&!yce.test(e))return _ce(e.length)
;if(n.length)for(;e.length>xce.length;)xce[xce.length]=256;let r=[],a=t==dce?0:1
;return Sce(e,a,a,n,0,e.length,r),r}(e.text,n,t)
;return this.bidiCache.push(new Xde(e.from,e.to,n,t,!0,r)),r}get hasFocus(){
var e
;return(this.dom.ownerDocument.hasFocus()||Lle.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM
}focus(){this.observer.ignore((()=>{
ple(this.contentDOM),this.docView.updateSelection()}))}setRoot(e){
this._root!=e&&(this._root=e,
this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),
this.mountStyles())}destroy(){
this.root.activeElement==this.contentDOM&&this.contentDOM.blur()
;for(let e of this.plugins)e.destroy(this)
;this.plugins=[],this.inputState.destroy(),
this.docView.destroy(),this.dom.remove(),
this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),
this.destroyed=!0}static scrollIntoView(e,t={}){
return Zce.of(new zce("number"==typeof e?Cie.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 Zce.of(new zce(Cie.cursor(n.from),"start","start",n.top-e,t,!0))}
setTabFocusMode(e){
null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)
}static domEventHandlers(e){return Wce.define((()=>({})),{eventHandlers:e})}
static domEventObservers(e){return Wce.define((()=>({})),{eventObservers:e})}
static theme(e,t){let n=Zse.newName(),r=[Ide.of(n),oue.of(Bde(`.${n}`,e))]
;return t&&t.dark&&r.push(Dde.of(!0)),r}static baseTheme(e){
return Qie.lowest(oue.of(Bde("."+Mde,e,Lde)))}static findFromDOM(e){var t
;let n=e.querySelector(".cm-content"),r=n&&wle.get(n)||wle.get(e)
;return(null===(t=null==r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}
Vde.styleModule=oue,
Vde.inputHandler=Mce,Vde.clipboardInputFilter=Rce,Vde.clipboardOutputFilter=Lce,
Vde.scrollHandler=Uce,
Vde.focusChangeEffect=Nce,Vde.perLineTextDirection=Bce,Vde.exceptionSink=Ice,
Vde.updateListener=Dce,
Vde.editable=Qce,Vde.mouseSelectionStyle=Pce,Vde.dragMovesSelection=$ce,
Vde.clickAddsSelectionRange=Cce,
Vde.decorations=Kce,Vde.outerDecorations=Jce,Vde.atomicRanges=eue,
Vde.bidiIsolatedRanges=tue,
Vde.scrollMargins=rue,Vde.darkTheme=Dde,Vde.cspNonce=Iie.define({
combine:e=>e.length?e[0]:""
}),Vde.contentAttributes=Yce,Vde.editorAttributes=Gce,
Vde.lineWrapping=Vde.contentAttributes.of({class:"cm-lineWrapping"
}),Vde.announce=lse.define();const qde=4096,Wde={};class Xde{
constructor(e,t,n,r,a,o){
this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=a,this.order=o}
static update(e,t){if(t.empty&&!e.some((e=>e.fresh)))return e
;let n=[],r=e.length?e[e.length-1].dir:uce.LTR
;for(let a=Math.max(0,e.length-10);a<e.length;a++){let o=e[a]
;o.dir!=r||t.touchesRange(o.from,o.to)||n.push(new Xde(t.mapPos(o.from,1),t.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))
}return n}}function Gde(e,t,n){
for(let r=e.state.facet(t),a=r.length-1;a>=0;a--){
let t=r[a],o="function"==typeof t?t(e):t;o&&Qle(o,n)}return n}
const Yde=Lle.mac?"mac":Lle.windows?"win":Lle.linux?"linux":"key"
;function Kde(e,t,n){
return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),
!1!==n&&t.shiftKey&&(e="Shift-"+e),e}
const Jde=Qie.default(Vde.domEventHandlers({keydown:(e,t)=>function(e,t,n,r){
ape=t;let a=function(e){
var t=!(qse&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Wse&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Vse:Qse)[e.keyCode]||e.key||"Unidentified"
;return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),
"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t
}(t),o=vie(mie(a,0))==a.length&&" "!=a,i="",s=!1,l=!1,c=!1
;npe&&npe.view==n&&npe.scope==r&&(i=npe.prefix+" ",
Nue.indexOf(t.keyCode)<0&&(l=!0,npe=null));let u,d,p=new Set,h=e=>{if(e){
for(let t of e.run)if(!p.has(t)&&(p.add(t),
t(n)))return e.stopPropagation&&(c=!0),!0
;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[r]
;f&&(h(f[i+Kde(a,t,!o)])?s=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Lle.windows&&t.ctrlKey&&t.altKey)&&(u=Qse[t.keyCode])&&u!=a?(h(f[i+Kde(u,t,!0)])||t.shiftKey&&(d=Vse[t.keyCode])!=a&&d!=u&&h(f[i+Kde(d,t,!1)]))&&(s=!0):o&&t.shiftKey&&h(f[i+Kde(a,t,!0)])&&(s=!0),
!s&&h(f._any)&&(s=!0));l&&(s=!0);s&&c&&t.stopPropagation();return ape=null,s
}(function(e){let t=e.facet(epe),n=tpe.get(t);n||tpe.set(t,n=function(e,t=Yde){
let n=Object.create(null),r=Object.create(null),a=(e,t)=>{let n=r[e]
;if(null==n)r[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")
},o=(e,r,o,i,s)=>{var l,c
;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map((e=>function(e,t){
const n=e.split(/-(?!$)/);let r,a,o,i,s=n[n.length-1];"Space"==s&&(s=" ")
;for(let l=0;l<n.length-1;++l){const e=n[l]
;if(/^(cmd|meta|m)$/i.test(e))i=!0;else if(/^a(lt)?$/i.test(e))r=!0;else if(/^(c|ctrl|control)$/i.test(e))a=!0;else if(/^s(hift)?$/i.test(e))o=!0;else{
if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e)
;"mac"==t?i=!0:a=!0}}
return r&&(s="Alt-"+s),a&&(s="Ctrl-"+s),i&&(s="Meta-"+s),o&&(s="Shift-"+s),s
}(e,t)));for(let t=1;t<d.length;t++){let n=d.slice(0,t).join(" ")
;a(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=npe={
view:t,prefix:n,scope:e};return setTimeout((()=>{npe==r&&(npe=null)}),rpe),!0}]
})}let p=d.join(" ");a(p,!1);let h=u[p]||(u[p]={preventDefault:!1,
stopPropagation:!1,
run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]
});o&&h.run.push(o),i&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)}
;for(let i of e){let e=i.scope?i.scope.split(" "):["editor"]
;if(i.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null))
;e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=i
;for(let t in e)e[t].run.push((e=>r(e,ape)))}let r=i[t]||i.key
;if(r)for(let t of e)o(t,r,i.run,i.preventDefault,i.stopPropagation),
i.shift&&o(t,"Shift-"+r,i.shift,i.preventDefault,i.stopPropagation)}return n
}(t.reduce(((e,t)=>e.concat(t)),[])));return n}(t.state),e,t,"editor")
})),epe=Iie.define({enables:Jde}),tpe=new WeakMap;let npe=null;const rpe=4e3
;let ape=null;const ope={".cm-line":{},".cm-content":{}}
;function ipe(e,t,n,r,a){t.lastIndex=0
;for(let o,i=e.iterRange(n,r),s=n;!i.next().done;s+=i.value.length)if(!i.lineBreak)for(;o=t.exec(i.value);)a(s+o.index,o)
}
!(Lle.ios&&Lle.webkit&&Lle.webkit_version<534)&&(ope[".cm-line"].caretColor=ope[".cm-content"].caretColor="transparent !important")
;class spe{constructor(e){
const{regexp:t,decoration:n,decorate:r,boundary:a,maxLength:o=1e3}=e
;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set")
;if(this.regexp=t,
r)this.addMatch=(e,t,n,a)=>r(a,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,a)=>{
let o=n(e,t,r);o&&a(r,r+e[0].length,o)};else{
if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator")
;this.addMatch=(e,t,r,a)=>a(r,r+e[0].length,n)}this.boundary=a,this.maxLength=o}
createDeco(e){let t=new Tse,n=t.add.bind(t)
;for(let{from:r,to:a}of function(e,t){let n=e.visibleRanges
;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n
;let r=[]
;for(let{from:a,to:o}of n)a=Math.max(e.state.doc.lineAt(a).from,a-t),o=Math.min(e.state.doc.lineAt(o).to,o+t),
r.length&&r[r.length-1].to>=a?r[r.length-1].to=o:r.push({from:a,to:o});return r
}(e,this.maxLength))ipe(e.state.doc,this.regexp,r,a,((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,a,o,i)=>{
i>e.view.viewport.from&&o<e.view.viewport.to&&(n=Math.min(o,n),r=Math.max(i,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 a of e.visibleRanges){
let o=Math.max(a.from,n),i=Math.min(a.to,r);if(i>o){
let n=e.state.doc.lineAt(o),r=n.to<i?e.state.doc.lineAt(i):n,s=Math.max(a.from,n.from),l=Math.min(a.to,r.to)
;if(this.boundary){for(;o>n.from;o--)if(this.boundary.test(n.text[o-1-n.from])){
s=o;break}for(;i<r.to;i++)if(this.boundary.test(r.text[i-r.from])){l=i;break}}
let c,u=[],d=(e,t,n)=>u.push(n.range(e,t))
;if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,d);else ipe(e.state.doc,this.regexp,s,l,((t,n)=>this.addMatch(n,e,t,d)))
;t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}
const lpe=null!=/x/.unicode?"gu":"g",cpe=new RegExp("[\0-\b\n--\u2028\u2029\ufeff-]",lpe),upe={
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"};let dpe=null;const ppe=Iie.define({combine(e){
let t=wse(e,{render:null,specialChars:cpe,addSpecialChars:null})
;return(t.replaceTabs=!function(){var e
;if(null==dpe&&"undefined"!=typeof document&&document.body){
let t=document.body.style
;dpe=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return dpe||!1
}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,lpe)),
t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,lpe)),
t}});function hpe(e={}){return[ppe.of(e),fpe||(fpe=Wce.fromClass(class{
constructor(e){
this.view=e,this.decorations=Kle.none,this.decorationCache=Object.create(null),
this.decorator=this.makeDecorator(e.state.facet(ppe)),
this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new spe({
regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:a}=n.state,o=mie(t[0],0)
;if(9==o){let e=a.lineAt(r),t=n.state.tabSize,o=Bse(e.text,t,r-e.from)
;return Kle.replace({
widget:new gpe((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}
return this.decorationCache[o]||(this.decorationCache[o]=Kle.replace({
widget:new mpe(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){
let t=e.state.facet(ppe)
;e.startState.facet(ppe)!=t?(this.decorator=this.makeDecorator(t),
this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)
}},{decorations:e=>e.decorations}))]}let fpe=null;class mpe extends Gle{
constructor(e,t){super(),this.options=e,this.code=t}eq(e){
return e.code==this.code}toDOM(e){
let t=(n=this.code)>=32?"•":10==n?"":String.fromCharCode(9216+n);var n
;let r=e.state.phrase("Control character")+" "+(upe[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,r,t)
;if(a)return a;let o=document.createElement("span")
;return o.textContent=t,o.title=r,
o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){
return!1}}class gpe extends Gle{constructor(e){super(),this.width=e}eq(e){
return e.width==this.width}toDOM(){let e=document.createElement("span")
;return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}
ignoreEvent(){return!1}}class vpe extends Gle{constructor(e){
super(),this.content=e}toDOM(e){let t=document.createElement("span")
;return t.className="cm-placeholder",
t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),
"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),
t}coordsAt(e){let t=e.firstChild?ele(e.firstChild):[];if(!t.length)return null
;let n=window.getComputedStyle(e.parentNode),r=ile(t[0],"rtl"!=n.direction),a=parseInt(n.lineHeight)
;return r.bottom-r.top>1.5*a?{left:r.left,right:r.right,top:r.top,bottom:r.top+a
}:r}ignoreEvent(){return!1}}const bpe="-10000px";class ype{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 a=null
;this.tooltipViews=this.tooltips.map((e=>a=n(e,a)))}update(e,t){var n
;let r=e.state.facet(this.facet),a=r.filter((e=>e));if(r===this.input){
for(let t of this.tooltipViews)t.update&&t.update(e);return!1}
let o=[],i=t?[]:null;for(let s=0;s<a.length;s++){let n=a[s],r=-1;if(n){
for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e]
;t&&t.create==n.create&&(r=e)}
if(r<0)o[s]=this.createTooltipView(n,s?o[s-1]:null),i&&(i[s]=!!n.above);else{
let n=o[s]=this.tooltipViews[r];i&&(i[s]=t[r]),n.update&&n.update(e)}}}
for(let s of this.tooltipViews)o.indexOf(s)<0&&(this.removeTooltipView(s),
null===(n=s.destroy)||void 0===n||n.call(s))
;return t&&(i.forEach(((e,n)=>t[n]=e)),
t.length=i.length),this.input=r,this.tooltips=a,this.tooltipViews=o,!0}}
function Ope(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,
right:t.innerWidth}}const wpe=Iie.define({combine:e=>{var t,n,r;return{
position:Lle.ios?"absolute":(null===(t=e.find((e=>e.position)))||void 0===t?void 0:t.position)||"fixed",
parent:(null===(n=e.find((e=>e.parent)))||void 0===n?void 0:n.parent)||null,
tooltipSpace:(null===(r=e.find((e=>e.tooltipSpace)))||void 0===r?void 0:r.tooltipSpace)||Ope
}}}),xpe=new WeakMap,kpe=Wce.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(wpe)
;this.position=t.position,this.parent=t.parent,
this.classes=e.themeClasses,this.createContainer(),this.measureReq={
read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this
},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver((()=>this.measureSoon())):null,
this.manager=new ype(e,Tpe,((e,t)=>this.createTooltip(e,t)),(e=>{
this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()
})),this.above=this.manager.tooltips.map((e=>!!e.above)),
this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((e=>{
Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()
}),{threshold:[1]
}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),
this.maybeMeasure()}createContainer(){
this.parent?(this.container=document.createElement("div"),
this.container.style.position="relative",
this.container.className=this.view.themeClasses,
this.parent.appendChild(this.container)):this.container=this.view.dom}
observeIntersection(){if(this.intersectionObserver){
this.intersectionObserver.disconnect()
;for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)
}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{
this.measureTimeout=-1,this.maybeMeasure()}),50))}update(e){
e.transactions.length&&(this.lastTransaction=Date.now())
;let t=this.manager.update(e,this.above);t&&this.observeIntersection()
;let n=t||e.geometryChanged,r=e.state.facet(wpe)
;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=bpe,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 r of this.manager.tooltipViews)r.dom.remove(),
null===(e=r.destroy)||void 0===e||e.call(r)
;this.parent&&this.container.remove(),
null===(t=this.resizeObserver)||void 0===t||t.disconnect(),
null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),
clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1
;if("fixed"==this.position&&this.manager.tooltipViews.length){
let{dom:e}=this.manager.tooltipViews[0]
;if(Lle.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==bpe&&"0px"==e.style.left){
let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}
if(n||"absolute"==this.position)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(),a=aue(this.view);return{
visible:{left:r.left+a.left,top:r.top+a.top,right:r.right-a.right,
bottom:r.bottom-a.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(wpe).tooltipSpace(this.view),scaleX:e,scaleY:t,
makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){
this.madeAbsolute=!0,this.position="absolute"
;for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}
let{visible:n,space:r,scaleX:a,scaleY:o}=e,i=[]
;for(let s=0;s<this.manager.tooltips.length;s++){
let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],p=e.size[s]
;if(!d||!1!==l.clip&&(d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){
u.style.top=bpe;continue}
let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,m=p.right-p.left,g=null!==(t=xpe.get(c))&&void 0!==t?t:p.bottom-p.top,v=c.offset||Ape,b=this.view.textDirection==uce.LTR,y=p.width>r.right-r.left?b?r.left:r.right-p.width:b?Math.max(r.left,Math.min(d.left-(h?14:0)+v.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-v.x),r.right-m),O=this.above[s]
;!l.strictSide&&(O?d.top-g-f-v.y<r.top:d.bottom+g+f+v.y>r.bottom)&&O==r.bottom-d.bottom>d.top-r.top&&(O=this.above[s]=!O)
;let w=(O?d.top-r.top:r.bottom-d.bottom)-f;if(w<g&&!1!==c.resize){
if(w<this.view.defaultLineHeight){u.style.top=bpe;continue}
xpe.set(c,g),u.style.height=(g=w)/o+"px"
}else u.style.height&&(u.style.height="")
;let x=O?d.top-g-f-v.y:d.bottom+f+v.y,k=y+m
;if(!0!==c.overlap)for(let e of i)e.left<k&&e.right>y&&e.top<x+g&&e.bottom>x&&(x=O?e.top-g-2-f:e.bottom+f+2)
;if("absolute"==this.position?(u.style.top=(x-e.parent.top)/o+"px",
Spe(u,(y-e.parent.left)/a)):(u.style.top=x/o+"px",Spe(u,y/a)),h){
let e=d.left+(b?v.x:-v.x)-(y+14-7);h.style.left=e/a+"px"}
!0!==c.overlap&&i.push({left:y,top:x,right:k,bottom:x+g
}),u.classList.toggle("cm-tooltip-above",O),
u.classList.toggle("cm-tooltip-below",!O),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=bpe}},{
eventObservers:{scroll(){this.maybeMeasure()}}});function Spe(e,t){
let n=parseInt(e.style.left,10)
;(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const _pe=Vde.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"}}}),Ape={x:0,y:0},Tpe=Iie.define({
enables:[kpe,_pe]}),Epe=Iie.define({combine:e=>e.reduce(((e,t)=>e.concat(t)),[])
});class Cpe{static create(e){return new Cpe(e)}constructor(e){
this.view=e,this.mounted=!1,
this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),
this.manager=new ype(e,Epe,((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)null===(e=t.destroy)||void 0===e||e.call(t)
}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e]
;if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){
return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")
}get overlap(){return this.passProp("overlap")}get resize(){
return this.passProp("resize")}}const $pe=Tpe.compute([Epe],(e=>{
let t=e.facet(Epe);return 0===t.length?null:{pos:Math.min(...t.map((e=>e.pos))),
end:Math.max(...t.map((e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos
}))),create:Cpe.create,above:t[0].above,arrow:t.some((e=>e.arrow))}}))
;class Ppe{constructor(e,t,n,r,a){
this.view=e,this.source=t,this.field=n,this.setHover=r,
this.hoverTime=a,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,a=1;if(n instanceof Ule)r=n.posAtStart;else{
if(r=e.posAtCoords(t),null==r)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 o=e.bidiSpans(e.state.doc.lineAt(r)).find((e=>e.from<=r&&e.to>=r)),i=o&&o.dir==uce.RTL?-1:1
;a=t.x<n.left?-i:i}let o=this.source(e,r,a);if(null==o?void 0:o.then){
let t=this.pending={pos:r};o.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=>Hce(e.state,t,"hover tooltip")))
}else!o||Array.isArray(o)&&!o.length||e.dispatch({
effects:this.setHover.of(Array.isArray(o)?o:[o])})}get tooltip(){
let e=this.view.plugin(kpe),t=e?e.manager.tooltips.findIndex((e=>e.create==Cpe.create)):-1
;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;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:r,tooltip:a}=this;if(r.length&&a&&!function(e,t){
let n,{left:r,right:a,top:o,bottom:i}=e.getBoundingClientRect()
;if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect()
;o=Math.min(e.top,o),i=Math.max(e.bottom,i)}
return t.clientX>=r-Ipe&&t.clientX<=a+Ipe&&t.clientY>=o-Ipe&&t.clientY<=i+Ipe
}(a.dom,e)||this.pending){
let{pos:a}=r[0]||this.pending,o=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:a
;(a==o?this.view.posAtCoords(this.lastMove)==a:function(e,t,n,r,a,o){
let i=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight
;if(i.left>r||i.right<r||i.top>a||Math.min(i.bottom,s)<a)return!1
;let l=e.posAtCoords({x:r,y:a},!1);return l>=t&&l<=n
}(this.view,a,o,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)}}const Ipe=4
;function Dpe(e,t={}){let n=lse.define(),r=jie.define({create:()=>[],
update(e,r){
if(e.length&&(t.hideOnChange&&(r.docChanged||r.selection)?e=[]:t.hideOn&&(e=e.filter((e=>!t.hideOn(r,e)))),
r.docChanged)){let t=[];for(let n of e){
let e=r.changes.mapPos(n.pos,-1,yie.TrackDel);if(null!=e){
let a=Object.assign(Object.create(null),n)
;a.pos=e,null!=a.end&&(a.end=r.changes.mapPos(a.end)),t.push(a)}}e=t}
for(let t of r.effects)t.is(n)&&(e=t.value),t.is(Npe)&&(e=[]);return e},
provide:e=>Epe.from(e)});return{active:r,
extension:[r,Wce.define((a=>new Ppe(a,e,r,n,t.hoverTime||300))),$pe]}}
function Mpe(e,t){let n=e.plugin(kpe);if(!n)return null
;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}
const Npe=lse.define(),Rpe=Iie.define({combine(e){let t,n
;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{
topContainer:t,bottomContainer:n}}}),Lpe=Wce.fromClass(class{constructor(e){
this.input=e.state.facet(Upe),
this.specs=this.input.filter((e=>e)),this.panels=this.specs.map((t=>t(e)))
;let t=e.state.facet(Rpe)
;this.top=new Bpe(e,!0,t.topContainer),this.bottom=new Bpe(e,!1,t.bottomContainer),
this.top.sync(this.panels.filter((e=>e.top))),
this.bottom.sync(this.panels.filter((e=>!e.top)))
;for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}
update(e){let t=e.state.facet(Rpe)
;this.top.container!=t.topContainer&&(this.top.sync([]),
this.top=new Bpe(e.view,!0,t.topContainer)),
this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),
this.bottom=new Bpe(e.view,!1,t.bottomContainer)),
this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(Upe)
;if(n!=this.input){let t=n.filter((e=>e)),r=[],a=[],o=[],i=[];for(let n of t){
let t,s=this.specs.indexOf(n)
;s<0?(t=n(e.view),i.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),
(t.top?a:o).push(t)}
this.specs=t,this.panels=r,this.top.sync(a),this.bottom.sync(o)
;for(let e of i)e.dom.classList.add("cm-panel"),e.mount&&e.mount()
}else for(let r of this.panels)r.update&&r.update(e)}destroy(){
this.top.sync([]),this.bottom.sync([])}},{provide:e=>Vde.scrollMargins.of((t=>{
let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),
bottom:n.bottom.scrollMargin()}}))});class Bpe{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(0==this.panels.length)return void(this.dom&&(this.dom.remove(),
this.dom=void 0));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=jpe(e)
;e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=jpe(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)
}}}function jpe(e){let t=e.nextSibling;return e.remove(),t}
const Upe=Iie.define({enables:Lpe});class zpe extends xse{compare(e){
return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}
destroy(e){}}
zpe.prototype.elementClass="",zpe.prototype.toDOM=void 0,zpe.prototype.mapMode=yie.TrackBefore,
zpe.prototype.startSide=zpe.prototype.endSide=-1,zpe.prototype.point=!0
;const Zpe=Iie.define(),Fpe=Iie.define(),Hpe={class:"",renderEmptyElements:!1,
elementStyle:"",markers:()=>Ase.empty,lineMarker:()=>null,widgetMarker:()=>null,
lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}
},Qpe=Iie.define();function Vpe(e){
return[Wpe(),Qpe.of(Object.assign(Object.assign({},Hpe),e))]}
const qpe=Iie.define({combine:e=>e.some((e=>e))});function Wpe(e){return[Xpe]}
const Xpe=Wce.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(Qpe).map((t=>new Jpe(e,t)))
;for(let t of this.gutters)this.dom.appendChild(t.dom)
;this.fixed=!e.state.facet(qpe),
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<.8*(n.to-n.from))}
e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),
this.view.state.facet(qpe)!=!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=Ase.iter(this.view.state.facet(Zpe),this.view.viewport.from),r=[],a=this.gutters.map((e=>new Kpe(e,this.view.viewport,-this.view.documentPadding.top)))
;for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),
Array.isArray(o.type)){let e=!0;for(let t of o.type)if(t.type==Yle.Text&&e){
Ype(n,r,t.from);for(let e of a)e.line(this.view,t,r);e=!1
}else if(t.widget)for(let e of a)e.widget(this.view,t)
}else if(o.type==Yle.Text){Ype(n,r,o.from);for(let e of a)e.line(this.view,o,r)
}else if(o.widget)for(let e of a)e.widget(this.view,o);for(let o of a)o.finish()
;e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){
let t=e.startState.facet(Qpe),n=e.state.facet(Qpe),r=e.docChanged||e.heightChanged||e.viewportChanged||!Ase.eq(e.startState.facet(Zpe),e.state.facet(Zpe),e.view.viewport.from,e.view.viewport.to)
;if(t==n)for(let a of this.gutters)a.update(e)&&(r=!0);else{r=!0;let a=[]
;for(let r of n){let n=t.indexOf(r)
;n<0?a.push(new Jpe(this.view,r)):(this.gutters[n].update(e),
a.push(this.gutters[n]))}
for(let e of this.gutters)e.dom.remove(),a.indexOf(e)<0&&e.destroy()
;for(let e of a)this.dom.appendChild(e.dom);this.gutters=a}return r}destroy(){
for(let e of this.gutters)e.destroy();this.dom.remove()}},{
provide:e=>Vde.scrollMargins.of((t=>{let n=t.plugin(e)
;return n&&0!=n.gutters.length&&n.fixed?t.textDirection==uce.LTR?{
left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null}))})
;function Gpe(e){return Array.isArray(e)?e:[e]}function Ype(e,t,n){
for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class Kpe{
constructor(e,t,n){
this.gutter=e,this.height=n,this.i=0,this.cursor=Ase.iter(e.markers,t.from)}
addElement(e,t,n){
let{gutter:r}=this,a=(t.top-this.height)/e.scaleY,o=t.height/e.scaleY
;if(this.i==r.elements.length){let t=new ehe(e,o,a,n)
;r.elements.push(t),r.dom.appendChild(t.dom)
}else r.elements[this.i].update(e,o,a,n);this.height=t.bottom,this.i++}
line(e,t,n){let r=[];Ype(this.cursor,r,t.from),n.length&&(r=r.concat(n))
;let a=this.gutter.config.lineMarker(e,t,r);a&&r.unshift(a);let o=this.gutter
;(0!=r.length||o.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 a of e.state.facet(Fpe)){let n=a(e,t.widget,t);n&&(r||(r=[])).push(n)}
r&&this.addElement(e,t,r)}finish(){let e=this.gutter
;for(;e.elements.length>this.i;){let t=e.elements.pop()
;e.dom.removeChild(t.dom),t.destroy()}}}class Jpe{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 a,o=r.target;if(o!=this.dom&&this.dom.contains(o)){
for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect()
;a=(e.top+e.bottom)/2}else a=r.clientY
;let i=e.lineBlockAtHeight(a-e.documentTop)
;t.domEventHandlers[n](e,i,r)&&r.preventDefault()}))
;this.markers=Gpe(t.markers(e)),
t.initialSpacer&&(this.spacer=new ehe(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=Gpe(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!Ase.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)
}destroy(){for(let e of this.elements)e.destroy()}}class ehe{
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":""),
function(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
}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){
let n="cm-gutterElement",r=this.dom.firstChild;for(let a=0,o=0;;){
let i=o,s=a<t.length?t[a++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e)
;for(let t=o;t<this.markers.length;t++)if(this.markers[t].compare(s)){i=t,l=!0
;break}}else i=this.markers.length;for(;o<i;){let e=this.markers[o++]
;if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break
;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&o++}
this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}
const the=Iie.define(),nhe=Iie.define(),rhe=Iie.define({combine:e=>wse(e,{
formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){
let n=Object.assign({},e);for(let r in t){let e=n[r],a=t[r]
;n[r]=e?(t,n,r)=>e(t,n,r)||a(t,n,r):a}return n}})});class ahe extends zpe{
constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){
return document.createTextNode(this.number)}}function ohe(e,t){
return e.state.facet(rhe).formatNumber(t,e.state)}
const ihe=Qpe.compute([rhe],(e=>({class:"cm-lineNumbers",renderEmptyElements:!1,
markers:e=>e.state.facet(the),
lineMarker:(e,t,n)=>n.some((e=>e.toDOM))?null:new ahe(ohe(e,e.state.doc.lineAt(t.from).number)),
widgetMarker:(e,t,n)=>{for(let r of e.state.facet(nhe)){let a=r(e,t,n)
;if(a)return a}return null},
lineMarkerChange:e=>e.startState.facet(rhe)!=e.state.facet(rhe),
initialSpacer:e=>new ahe(ohe(e,she(e.state.doc.lines))),updateSpacer(e,t){
let n=ohe(t.view,she(t.view.state.doc.lines));return n==e.number?e:new ahe(n)},
domEventHandlers:e.facet(rhe).domEventHandlers})));function she(e){let t=9
;for(;t<e;)t=10*t+9;return t}const lhe=1024;let che=0;class uhe{
constructor(e,t){this.from=e,this.to=t}}class dhe{constructor(e={}){
this.id=che++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{
throw new Error("This node type doesn't define a deserialize function")})}
add(e){
if(this.perNode)throw new RangeError("Can't add per-node props to node types")
;return"function"!=typeof e&&(e=fhe.match(e)),t=>{let n=e(t)
;return void 0===n?null:[this,n]}}}dhe.closedBy=new dhe({
deserialize:e=>e.split(" ")}),dhe.openedBy=new dhe({deserialize:e=>e.split(" ")
}),dhe.group=new dhe({deserialize:e=>e.split(" ")}),dhe.isolate=new dhe({
deserialize:e=>{
if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e)
;return e||"auto"}}),dhe.contextHash=new dhe({perNode:!0
}),dhe.lookAhead=new dhe({perNode:!0}),dhe.mounted=new dhe({perNode:!0})
;class phe{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}
static get(e){return e&&e.props&&e.props[dhe.mounted.id]}}
const hhe=Object.create(null);class fhe{constructor(e,t,n,r=0){
this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){
let t=e.props&&e.props.length?Object.create(null):hhe,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new fhe(e.name||"",t,e.id,n)
;if(e.props)for(let a of e.props)if(Array.isArray(a)||(a=a(r)),a){
if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type")
;t[a[0].id]=a[1]}return r}prop(e){return this.props[e.id]}get isTop(){
return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){
return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){
if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(dhe.group)
;return!!t&&t.indexOf(e)>-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(dhe.group),r=-1;r<(n?n.length:0);r++){
let a=t[r<0?e.name:n[r]];if(a)return a}}}}
fhe.none=new fhe("",Object.create(null),0,8);class mhe{constructor(e){
this.types=e
;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")
}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){
let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}
t.push(r?new fhe(n.name,r,n.id,n.flags):n)}return new mhe(t)}}
const ghe=new WeakMap,vhe=new WeakMap;var bhe,yhe
;(yhe=bhe||(bhe={}))[yhe.ExcludeBuffers=1]="ExcludeBuffers",
yhe[yhe.IncludeAnonymous=2]="IncludeAnonymous",
yhe[yhe.IgnoreMounts=4]="IgnoreMounts",
yhe[yhe.IgnoreOverlays=8]="IgnoreOverlays";class Ohe{constructor(e,t,n,r,a){
if(this.type=e,
this.children=t,this.positions=n,this.length=r,this.props=null,a&&a.length){
this.props=Object.create(null)
;for(let[e,t]of a)this.props["number"==typeof e?e:e.id]=t}}toString(){
let e=phe.get(this);if(e&&!e.overlay)return e.tree.toString();let t=""
;for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}
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 Dhe(this.topNode,e)}cursorAt(e,t=0,n=0){
let r=ghe.get(this)||this.topNode,a=new Dhe(r)
;return a.moveTo(e,t),ghe.set(this,a._tree),a}get topNode(){
return new Ahe(this,0,0,null)}resolve(e,t=0){
let n=She(ghe.get(this)||this.topNode,e,t,!1);return ghe.set(this,n),n}
resolveInner(e,t=0){let n=She(vhe.get(this)||this.topNode,e,t,!0)
;return vhe.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){
let r=e.resolveInner(t,n),a=null
;for(let o=r instanceof Ahe?r:r.context.parent;o;o=o.parent)if(o.index<0){
let e=o.parent;(a||(a=[r])).push(e.resolve(t,n)),o=e}else{let e=phe.get(o.tree)
;if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){
let i=new Ahe(e.tree,e.overlay[0].from+o.from,-1,o)
;(a||(a=[r])).push(She(i,t,n,!1))}}return a?Phe(a):r}(this,e,t)}iterate(e){
let{enter:t,leave:n,from:r=0,to:a=this.length}=e,o=e.mode||0,i=(o&bhe.IncludeAnonymous)>0
;for(let s=this.cursor(o|bhe.IncludeAnonymous);;){let e=!1
;if(s.from<=a&&s.to>=r&&(!i&&s.type.isAnonymous||!1!==t(s))){
if(s.firstChild())continue;e=!0}
for(;e&&n&&(i||!s.type.isAnonymous)&&n(s),!s.nextSibling();){
if(!s.parent())return;e=!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(e={}){
return this.children.length<=8?this:Lhe(fhe.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new Ohe(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new Ohe(fhe.none,e,t,n)))
}static build(e){return function(e){var t
;let{buffer:n,nodeSet:r,maxBufferLength:a=lhe,reused:o=[],minRepeatType:i=r.types.length}=e,s=Array.isArray(n)?new whe(n,n.length):n,l=r.types,c=0,u=0
;function d(e,t,n,b,y,O){let{id:w,start:x,end:k,size:S}=s,_=u,A=c;for(;S<0;){
if(s.next(),-1==S){let t=o[w];return n.push(t),void b.push(x-e)}
if(-3==S)return void(c=w);if(-4==S)return void(u=w)
;throw new RangeError(`Unrecognized record size: ${S}`)}let T,E,C=l[w],$=x-e
;if(k-x<=a&&(E=g(s.pos-t,y))){
let t=new Uint16Array(E.size-E.skip),n=s.pos-E.size,a=t.length
;for(;s.pos>n;)a=v(E.start,t,a);T=new xhe(t,k-E.start,r),$=E.start-e}else{
let e=s.pos-S;s.next();let t=[],n=[],r=w>=i?w:-1,o=0,l=k
;for(;s.pos>e;)r>=0&&s.id==r&&s.size>=0?(s.end<=l-a&&(f(t,n,x,o,s.end,l,r,_,A),
o=t.length,l=s.end),s.next()):O>2500?p(x,e,t,n):d(x,e,t,n,r,O+1)
;if(r>=0&&o>0&&o<t.length&&f(t,n,x,o,x,l,r,_,A),
t.reverse(),n.reverse(),r>-1&&o>0){let e=h(C,A)
;T=Lhe(C,t,n,0,t.length,0,k-x,e,e)}else T=m(C,t,n,k-x,_-k,A)}n.push(T),b.push($)
}function p(e,t,n,o){let i=[],l=0,c=-1;for(;s.pos>t;){
let{id:e,start:t,end:n,size:r}=s;if(r>4)s.next();else{if(c>-1&&t<c)break
;c<0&&(c=n-a),i.push(e,t,n),l++,s.next()}}if(l){
let t=new Uint16Array(4*l),a=i[i.length-2]
;for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-a,t[n++]=i[e+2]-a,
t[n++]=n;n.push(new xhe(t,i[2]-a,r)),o.push(a-e)}}function h(e,t){
return(n,r,a)=>{let o,i,s=0,l=n.length-1;if(l>=0&&(o=n[l])instanceof Ohe){
if(!l&&o.type==e&&o.length==a)return o
;(i=o.prop(dhe.lookAhead))&&(s=r[l]+o.length+i)}return m(e,n,r,a,s,t)}}
function f(e,t,n,a,o,i,s,l,c){let u=[],d=[]
;for(;e.length>a;)u.push(e.pop()),d.push(t.pop()+n-o)
;e.push(m(r.types[s],u,d,i-o,l-i,c)),t.push(o-n)}function m(e,t,n,r,a,o,i){
if(o){let e=[dhe.contextHash,o];i=i?[e].concat(i):[e]}if(a>25){
let e=[dhe.lookAhead,a];i=i?[e].concat(i):[e]}return new Ohe(e,t,n,r,i)}
function g(e,t){let n=s.fork(),r=0,o=0,l=0,c=n.end-a,u={size:0,start:0,skip:0}
;e:for(let a=n.pos-e;n.pos>a;){let e=n.size;if(n.id==t&&e>=0){
u.size=r,u.start=o,u.skip=l,l+=4,r+=4,n.next();continue}let s=n.pos-e
;if(e<0||s<a||n.start<c)break;let d=n.id>=i?4:0,p=n.start
;for(n.next();n.pos>s;){if(n.size<0){if(-3!=n.size)break e;d+=4
}else n.id>=i&&(d+=4);n.next()}o=p,r+=e,l+=d}
return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=l),u.size>4?u:void 0}
function v(e,t,n){let{id:r,start:a,end:o,size:l}=s;if(s.next(),l>=0&&r<i){
let i=n;if(l>4){let r=s.pos-(l-4);for(;s.pos>r;)n=v(e,t,n)}
t[--n]=i,t[--n]=o-e,t[--n]=a-e,t[--n]=r}else-3==l?c=r:-4==l&&(u=r);return n}
let b=[],y=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,b,y,-1,0)
;let O=null!==(t=e.length)&&void 0!==t?t:b.length?y[0]+b[0].length:0
;return new Ohe(l[e.topID],b.reverse(),y.reverse(),O)}(e)}}
Ohe.empty=new Ohe(fhe.none,[],[],0);class whe{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 whe(this.buffer,this.index)}}class xhe{constructor(e,t,n){
this.buffer=e,this.length=t,this.set=n}get type(){return fhe.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],a=r.name
;if(/\W/.test(a)&&!r.isError&&(a=JSON.stringify(a)),n==(e+=4))return a;let o=[]
;for(;e<n;)o.push(this.childString(e)),e=this.buffer[e+3]
;return a+"("+o.join(",")+")"}findChild(e,t,n,r,a){let{buffer:o}=this,i=-1
;for(let s=e;s!=t&&!(khe(a,r,o[s+1],o[s+2])&&(i=s,n>0));s=o[s+3]);return i}
slice(e,t,n){let r=this.buffer,a=new Uint16Array(t-e),o=0;for(let i=e,s=0;i<t;){
a[s++]=r[i++],a[s++]=r[i++]-n;let t=a[s++]=r[i++]-n
;a[s++]=r[i++]-e,o=Math.max(o,t)}return new xhe(a,o,this.set)}}
function khe(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 She(e,t,n,r){
for(var a;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 Ahe&&e.index<0?null:e.parent;if(!t)return e;e=t}
let o=r?0:bhe.IgnoreOverlays
;if(r)for(let i=e,s=i.parent;s;i=s,s=i.parent)i instanceof Ahe&&i.index<0&&(null===(a=s.enter(t,n,o))||void 0===a?void 0:a.from)!=i.from&&(e=s)
;for(;;){let r=e.enter(t,n,o);if(!r)return e;e=r}}class _he{cursor(e=0){
return new Dhe(this,e)}getChild(e,t=null,n=null){let r=The(this,e,t,n)
;return r.length?r[0]:null}getChildren(e,t=null,n=null){return The(this,e,t,n)}
resolve(e,t=0){return She(this,e,t,!1)}resolveInner(e,t=0){
return She(this,e,t,!0)}matchContext(e){return Ehe(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}}class Ahe extends _he{
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(e,t,n,r,a=0){for(let o=this;;){
for(let{children:i,positions:s}=o._tree,l=t>0?i.length:-1;e!=l;e+=t){
let l=i[e],c=s[e]+o.from;if(khe(r,n,c,c+l.length))if(l instanceof xhe){
if(a&bhe.ExcludeBuffers)continue;let i=l.findChild(0,l.buffer.length,t,n-c,r)
;if(i>-1)return new $he(new Che(o,l,e,c),null,i)
}else if(a&bhe.IncludeAnonymous||!l.type.isAnonymous||Mhe(l)){let i
;if(!(a&bhe.IgnoreMounts)&&(i=phe.get(l))&&!i.overlay)return new Ahe(i.tree,c,e,o)
;let s=new Ahe(l,c,e,o)
;return a&bhe.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?l.children.length-1:0,t,n,r)
}}if(a&bhe.IncludeAnonymous||!o.type.isAnonymous)return null
;if(e=o.index>=0?o.index+t:t<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(e,t,n=0){let r
;if(!(n&bhe.IgnoreOverlays)&&(r=phe.get(this._tree))&&r.overlay){
let n=e-this.from
;for(let{from:e,to:a}of r.overlay)if((t>0?e<=n:e<n)&&(t<0?a>=n:a>n))return new Ahe(r.tree,r.overlay[0].from+this.from,-1,this)
}return this.nextChild(0,1,e,t,n)}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()}}function The(e,t,n,r){let a=e.cursor(),o=[]
;if(!a.firstChild())return o
;if(null!=n)for(let i=!1;!i;)if(i=a.type.is(n),!a.nextSibling())return o
;for(;;){if(null!=r&&a.type.is(r))return o
;if(a.type.is(t)&&o.push(a.node),!a.nextSibling())return null==r?o:[]}}
function Ehe(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}class Che{
constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}
class $he extends _he{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(e,t,n){
let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n)
;return a<0?null:new $he(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(e,t,n=0){if(n&bhe.ExcludeBuffers)return null
;let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t)
;return a<0?null:new $he(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:e}=this.context,t=e.buffer[this.index+3]
;return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new $he(this.context,this._parent,t):this.externalSibling(1)
}get prevSibling(){
let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0
;return this.index==t?this.externalSibling(-1):new $he(this.context,this._parent,e.findChild(t,this.index,-1,0,4))
}get tree(){return null}toTree(){
let e=[],t=[],{buffer:n}=this.context,r=this.index+4,a=n.buffer[this.index+3]
;if(a>r){let o=n.buffer[this.index+1];e.push(n.slice(r,a,o)),t.push(0)}
return new Ohe(this.type,e,t,this.to-this.from)}toString(){
return this.context.buffer.childString(this.index)}}function Phe(e){
if(!e.length)return null;let t=0,n=e[0];for(let o=1;o<e.length;o++){let r=e[o]
;(r.from>n.from||r.to<n.to)&&(n=r,t=o)}
let r=n instanceof Ahe&&n.index<0?null:n.parent,a=e.slice()
;return r?a[t]=r:a.splice(t,1),new Ihe(a,n)}class Ihe{constructor(e,t){
this.heads=e,this.node=t}get next(){return Phe(this.heads)}}class Dhe{
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 Ahe)this.yieldNode(e);else{
this._tree=e.context.parent,this.buffer=e.context
;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index)
;this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){
return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}
yieldBuf(e,t){this.index=e;let{start: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 Ahe?(this.buffer=null,
this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}
toString(){
return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()
}enterChild(e,t,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,a=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n)
;return!(a<0)&&(this.stack.push(this.index),this.yieldBuf(a))}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&bhe.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))
}parent(){
if(!this.buffer)return this.yieldNode(this.mode&bhe.IncludeAnonymous?this._tree._parent:this._tree.parent)
;if(this.stack.length)return this.yieldBuf(this.stack.pop())
;let e=this.mode&bhe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent()
;return this.buffer=null,this.yieldNode(e)}sibling(e){
if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode))
;let{buffer:t}=this.buffer,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))
}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,a=e<0?-1:n._tree.children.length;r!=a;r+=e){
let e=n._tree.children[r]
;if(this.mode&bhe.IncludeAnonymous||e instanceof xhe||!e.type.isAnonymous||Mhe(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)e:for(let r=this.index,a=this.stack.length;a>=0;){
for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=a+1
;break e}r=this.stack[--a]}
for(let r=n;r<this.stack.length;r++)t=new $he(this.buffer,t,this.stack[r])
;return this.bufferNode=new $he(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||!1!==e(this)){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 Ehe(this.node.parent,e)
;let{buffer:t}=this.buffer,{types:n}=t.set
;for(let r=e.length-1,a=this.stack.length-1;r>=0;a--){
if(a<0)return Ehe(this._tree,e,r);let o=n[t.buffer[this.stack[a]]]
;if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}
function Mhe(e){
return e.children.some((e=>e instanceof xhe||!e.type.isAnonymous||Mhe(e)))}
const Nhe=new WeakMap;function Rhe(e,t){
if(!e.isAnonymous||t instanceof xhe||t.type!=e)return 1;let n=Nhe.get(t)
;if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof Ohe)){n=1
;break}n+=Rhe(e,r)}Nhe.set(t,n)}return n}function Lhe(e,t,n,r,a,o,i,s,l){let c=0
;for(let h=r;h<a;h++)c+=Rhe(e,t[h]);let u=Math.ceil(1.5*c/8),d=[],p=[]
;return function t(n,r,a,i,s){for(let c=a;c<i;){let a=c,h=r[c],f=Rhe(e,n[c])
;for(c++;c<i;c++){let t=Rhe(e,n[c]);if(f+t>=u)break;f+=t}if(c==a+1){if(f>u){
let e=n[a];t(e.children,e.positions,0,e.children.length,r[a]+s);continue}
d.push(n[a])}else{let t=r[c-1]+n[c-1].length-h;d.push(Lhe(e,n,r,a,c,h,t,null,l))
}p.push(h+s-o)}}(t,n,r,a,0),(s||l)(d,p,i)}class Bhe{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 $he?this.setBuffer(e.context.buffer,e.index,t):e instanceof Ahe&&this.map.set(e.tree,t)
}get(e){
return e instanceof $he?this.getBuffer(e.context.buffer,e.index):e instanceof Ahe?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)}}
class jhe{constructor(e,t,n,r,a=!1,o=!1){
this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(a?1:0)|(o?2:0)}
get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}
static addTree(e,t=[],n=!1){let r=[new jhe(0,e.length,e,0,!1,n)]
;for(let a of t)a.to>e.length&&r.push(a);return r}
static applyChanges(e,t,n=128){if(!t.length)return e
;let r=[],a=1,o=e.length?e[0]:null;for(let i=0,s=0,l=0;;i++){
let c=i<t.length?t[i]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;o&&o.from<u;){let t=o
;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l
;t=e>=n?null:new jhe(e,n,t.tree,t.offset+l,i>0,!!c)}if(t&&r.push(t),o.to>u)break
;o=a<e.length?e[a++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class Uhe{
startParse(e,t,n){
return"string"==typeof e&&(e=new zhe(e)),n=n?n.length?n.map((e=>new uhe(e.from,e.to))):[new uhe(0,0)]:[new uhe(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}}}class zhe{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)}}class Zhe{
constructor(e,t,n,r,a){
this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=a}}
function Fhe(e){
if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))
}class Hhe{constructor(e,t,n,r,a,o,i){
this.parser=e,this.predicate=t,this.mounts=n,
this.index=r,this.start=a,this.target=o,this.prev=i,this.depth=0,this.ranges=[]}
}const Qhe=new dhe({perNode:!0});class Vhe{constructor(e,t,n,r,a){
this.nest=t,this.input=n,
this.fragments=r,this.ranges=a,this.inner=[],this.innerDone=0,
this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){
if(this.baseParse){let e=this.baseParse.advance();if(!e)return null
;if(this.baseParse=null,
this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)
}if(this.innerDone==this.inner.length){let e=this.baseTree
;return null!=this.stoppedAt&&(e=new Ohe(e.type,e.children,e.positions,e.length,e.propValues.concat([[Qhe,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[dhe.mounted.id]=new phe(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 Yhe(this.fragments),t=null,n=null,r=new Dhe(new Ahe(this.baseTree,this.ranges[0].from,0,null),bhe.IncludeAnonymous|bhe.IgnoreMounts)
;e:for(let a,o;;){let i,s=!0
;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)s=!1;else if(e.hasNode(r)){
if(t){
let e=t.mounts.find((e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay))
;if(e)for(let n of e.mount.overlay){let a=n.from+e.pos,o=n.to+e.pos
;a>=r.from&&o<=r.to&&!t.ranges.some((e=>e.from<o&&e.to>a))&&t.ranges.push({
from:a,to:o})}}s=!1
}else if(n&&(o=qhe(n.ranges,r.from,r.to)))s=2!=o;else if(!r.type.isAnonymous&&(a=this.nest(r,this.input))&&(r.from<r.to||!a.overlay)){
r.tree||Xhe(r);let o=e.findMounts(r.from,a.parser)
;if("function"==typeof a.overlay)t=new Hhe(a.parser,a.overlay,o,this.inner.length,r.from,r.tree,t);else{
let e=Khe(this.ranges,a.overlay||(r.from<r.to?[new uhe(r.from,r.to)]:[]))
;e.length&&Fhe(e),
!e.length&&a.overlay||this.inner.push(new Zhe(a.parser,e.length?a.parser.startParse(this.input,efe(o,e),e):a.parser.startParse(""),a.overlay?a.overlay.map((e=>new uhe(e.from-r.from,e.to-r.from))):null,r.tree,e.length?e[0].from:r.from)),
a.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):s=!1}
}else if(t&&(i=t.predicate(r))&&(!0===i&&(i=new uhe(r.from,r.to)),i.from<i.to)){
let e=t.ranges.length-1;e>=0&&t.ranges[e].to==i.from?t.ranges[e]={
from:t.ranges[e].from,to:i.to}:t.ranges.push(i)}
if(s&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){
if(!r.parent())break e;if(t&&! --t.depth){let e=Khe(this.ranges,t.ranges)
;e.length&&(Fhe(e),
this.inner.splice(t.index,0,new Zhe(t.parser,t.parser.startParse(this.input,efe(t.mounts,e),e),t.ranges.map((e=>new uhe(e.from-t.start,e.to-t.start))),t.target,e[0].from))),
t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function qhe(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 Whe(e,t,n,r,a,o){if(t<n){let i=e.buffer[t+1]
;r.push(e.slice(t,n,i)),a.push(i-o)}}function Xhe(e){
let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()
}while(!e.tree)
;let a=e.tree,o=a.children.indexOf(r),i=a.children[o],s=i.buffer,l=[o]
;a.children[o]=function e(r,a,o,c,u,d){let p=n[d],h=[],f=[];Whe(i,r,p,h,f,c)
;let m=s[p+1],g=s[p+2];l.push(h.length)
;let v=d?e(p+4,s[p+3],i.set.types[s[p]],m,g-m,d-1):t.toTree()
;return h.push(v),f.push(m-c),Whe(i,s[p+3],a,h,f,c),new Ohe(o,h,f,u)
}(0,s.length,fhe.none,0,i.length,n.length-1);for(let c of l){
let t=e.tree.children[c],n=e.tree.positions[c]
;e.yield(new Ahe(t,n+e.from,c,e._tree))}}class Ghe{constructor(e,t){
this.offset=t,
this.done=!1,this.cursor=e.cursor(bhe.IncludeAnonymous|bhe.IgnoreMounts)}
moveTo(e){let{cursor:t}=this,n=e-this.offset
;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,bhe.IgnoreOverlays|bhe.ExcludeBuffers)||t.next(!1)||(this.done=!0)
}hasNode(e){
if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){
if(t==e.tree)return!0
;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof Ohe))break
;t=t.children[0]}return!1}}let Yhe=class{constructor(e){var t
;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0]
;this.curTo=null!==(t=n.tree.prop(Qhe))&&void 0!==t?t:n.to,
this.inner=new Ghe(n.tree,-n.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(){var e
;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{
let t=this.curFrag=this.fragments[this.fragI]
;this.curTo=null!==(e=t.tree.prop(Qhe))&&void 0!==e?e:t.to,
this.inner=new Ghe(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[]
;if(this.inner){this.inner.cursor.moveTo(e,1)
;for(let e=this.inner.cursor.node;e;e=e.parent){
let a=null===(n=e.tree)||void 0===n?void 0:n.prop(dhe.mounted)
;if(a&&a.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){
let n=this.fragments[t];if(n.from>=e.to)break
;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:a})}}}
return r}};function Khe(e,t){let n=null,r=t;for(let a=1,o=0;a<e.length;a++){
let i=e[a-1].to,s=e[a].from;for(;o<r.length;o++){let e=r[o];if(e.from>=s)break
;e.to<=i||(n||(r=n=t.slice()),
e.from<i?(n[o]=new uhe(e.from,i),e.to>s&&n.splice(o+1,0,new uhe(s,e.to))):e.to>s?n[o--]=new uhe(s,e.to):n.splice(o--,1))
}}return r}function Jhe(e,t,n,r){let a=0,o=0,i=!1,s=!1,l=-1e9,c=[];for(;;){
let u=a==e.length?1e9:i?e[a].to:e[a].from,d=o==t.length?1e9:s?t[o].to:t[o].from
;if(i!=s){let e=Math.max(l,n),t=Math.min(u,d,r);e<t&&c.push(new uhe(e,t))}
if(l=Math.min(u,d),1e9==l)break
;u==l&&(i?(i=!1,a++):i=!0),d==l&&(s?(s=!1,o++):s=!0)}return c}function efe(e,t){
let n=[];for(let{pos:r,mount:a,frag:o}of e){
let e=r+(a.overlay?a.overlay[0].from:0),i=e+a.tree.length,s=Math.max(o.from,e),l=Math.min(o.to,i)
;if(a.overlay){let i=a.overlay.map((e=>new uhe(e.from+r,e.to+r))),c=Jhe(t,i,s,l)
;for(let t=0,r=s;;t++){let i=t==c.length,s=i?l:c[t].from
;if(s>r&&n.push(new jhe(r,s,a.tree,-e,o.from>=r||o.openStart,o.to<=s||o.openEnd)),
i)break;r=c[t].to}
}else n.push(new jhe(s,l,a.tree,-e,o.from>=e||o.openStart,o.to<=i||o.openEnd))}
return n}let tfe=0,nfe=class e{constructor(e,t,n,r){
this.name=e,this.set=t,this.base=n,this.modified=r,this.id=tfe++}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="string"==typeof t?t:"?"
;if(t instanceof e&&(n=t),
null==n?void 0:n.base)throw new Error("Can not derive from a modified tag")
;let a=new e(r,[],null,[]);if(a.set.push(a),n)for(let e of n.set)a.set.push(e)
;return a}static defineModifier(e){let t=new afe(e)
;return e=>e.modified.indexOf(t)>-1?e:afe.get(e.base||e,e.modified.concat(t).sort(((e,t)=>e.id-t.id)))
}},rfe=0;class afe{constructor(e){this.name=e,this.instances=[],this.id=rfe++}
static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{
return n.base==e&&(r=t,
a=n.modified,r.length==a.length&&r.every(((e,t)=>e==a[t])));var r,a}))
;if(n)return n;let r=[],a=new nfe(e.name,r,e,t)
;for(let i of t)i.instances.push(a);let o=function(e){let t=[[]]
;for(let n=0;n<e.length;n++)for(let r=0,a=t.length;r<a;r++)t.push(t[r].concat(e[n]))
;return t.sort(((e,t)=>t.length-e.length))}(t)
;for(let i of e.set)if(!i.modified.length)for(let e of o)r.push(afe.get(i,e))
;return a}}function ofe(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=[],a=2,o=e
;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){a=1;break}
let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o)
;if(!r)throw new 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 i=e[t++];if(t==e.length&&"!"==i){a=0;break}
if("/"!=i)throw new RangeError("Invalid path: "+e);o=e.slice(t)}
let i=n.length-1,s=n[i];if(!s)throw new RangeError("Invalid path: "+e)
;let l=new sfe(r,a,i>0?n.slice(0,i):null);t[s]=l.sort(t[s])}}return ife.add(t)}
const ife=new dhe;class sfe{constructor(e,t,n,r){
this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){
return 0==this.mode}get inherit(){return 1==this.mode}sort(e){
return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}
get depth(){return this.context?this.context.length:0}}function lfe(e,t){
let n=Object.create(null)
;for(let o of e)if(Array.isArray(o.tag))for(let e of o.tag)n[e.id]=o.class;else n[o.tag.id]=o.class
;let{scope:r,all:a=null}=t||{};return{style:e=>{let t=a
;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 cfe(e,t,n,r=0,a=e.length){
let o=new ufe(r,Array.isArray(t)?t:[t],n)
;o.highlightRange(e.cursor(),r,a,"",o.highlighters),o.flush(a)}
sfe.empty=new sfe([],2,null);class ufe{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,a){let{type:o,from:i,to:s}=e;if(i>=n||s<=t)return
;o.isTop&&(a=this.highlighters.filter((e=>!e.scope||e.scope(o))))
;let l=r,c=function(e){let t=e.type.prop(ife)
;for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null
}(e)||sfe.empty,u=function(e,t){let n=null;for(let r of e){let e=r.style(t)
;e&&(n=n?n+" "+e:e)}return n}(a,c.tags)
;if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),
this.startSpan(Math.max(t,i),l),c.opaque)return
;let d=e.tree&&e.tree.prop(dhe.mounted);if(d&&d.overlay){
let o=e.node.enter(d.overlay[0].from+i,1),c=this.highlighters.filter((e=>!e.scope||e.scope(d.tree.type))),u=e.firstChild()
;for(let p=0,h=i;;p++){
let f=p<d.overlay.length?d.overlay[p]:null,m=f?f.from+i:s,g=Math.max(t,h),v=Math.min(n,m)
;if(g<v&&u)for(;e.from<v&&(this.highlightRange(e,g,v,r,a),
this.startSpan(Math.min(v,e.to),l),!(e.to>=m)&&e.nextSibling()););
if(!f||m>n)break
;h=f.to+i,h>t&&(this.highlightRange(o.cursor(),Math.max(t,f.from+i),Math.min(n,h),"",c),
this.startSpan(Math.min(n,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(r="")
;do{if(!(e.to<=t)){if(e.from>=n)break
;this.highlightRange(e,t,n,r,a),this.startSpan(Math.min(n,e.to),l)}
}while(e.nextSibling());e.parent()}}}
const dfe=nfe.define,pfe=dfe(),hfe=dfe(),ffe=dfe(hfe),mfe=dfe(hfe),gfe=dfe(),vfe=dfe(gfe),bfe=dfe(gfe),yfe=dfe(),Ofe=dfe(yfe),wfe=dfe(),xfe=dfe(),kfe=dfe(),Sfe=dfe(kfe),_fe=dfe(),Afe={
comment:pfe,lineComment:dfe(pfe),blockComment:dfe(pfe),docComment:dfe(pfe),
name:hfe,variableName:dfe(hfe),typeName:ffe,tagName:dfe(ffe),propertyName:mfe,
attributeName:dfe(mfe),className:dfe(hfe),labelName:dfe(hfe),namespace:dfe(hfe),
macroName:dfe(hfe),literal:gfe,string:vfe,docString:dfe(vfe),character:dfe(vfe),
attributeValue:dfe(vfe),number:bfe,integer:dfe(bfe),float:dfe(bfe),
bool:dfe(gfe),regexp:dfe(gfe),escape:dfe(gfe),color:dfe(gfe),url:dfe(gfe),
keyword:wfe,self:dfe(wfe),null:dfe(wfe),atom:dfe(wfe),unit:dfe(wfe),
modifier:dfe(wfe),operatorKeyword:dfe(wfe),controlKeyword:dfe(wfe),
definitionKeyword:dfe(wfe),moduleKeyword:dfe(wfe),operator:xfe,
derefOperator:dfe(xfe),arithmeticOperator:dfe(xfe),logicOperator:dfe(xfe),
bitwiseOperator:dfe(xfe),compareOperator:dfe(xfe),updateOperator:dfe(xfe),
definitionOperator:dfe(xfe),typeOperator:dfe(xfe),controlOperator:dfe(xfe),
punctuation:kfe,separator:dfe(kfe),bracket:Sfe,angleBracket:dfe(Sfe),
squareBracket:dfe(Sfe),paren:dfe(Sfe),brace:dfe(Sfe),content:yfe,heading:Ofe,
heading1:dfe(Ofe),heading2:dfe(Ofe),heading3:dfe(Ofe),heading4:dfe(Ofe),
heading5:dfe(Ofe),heading6:dfe(Ofe),contentSeparator:dfe(yfe),list:dfe(yfe),
quote:dfe(yfe),emphasis:dfe(yfe),strong:dfe(yfe),link:dfe(yfe),
monospace:dfe(yfe),strikethrough:dfe(yfe),inserted:dfe(),deleted:dfe(),
changed:dfe(),invalid:dfe(),meta:_fe,documentMeta:dfe(_fe),annotation:dfe(_fe),
processingInstruction:dfe(_fe),definition:nfe.defineModifier("definition"),
constant:nfe.defineModifier("constant"),function:nfe.defineModifier("function"),
standard:nfe.defineModifier("standard"),local:nfe.defineModifier("local"),
special:nfe.defineModifier("special")};for(let Set in Afe){let e=Afe[Set]
;e instanceof nfe&&(e.name=Set)}var Tfe;lfe([{tag:Afe.link,class:"tok-link"},{
tag:Afe.heading,class:"tok-heading"},{tag:Afe.emphasis,class:"tok-emphasis"},{
tag:Afe.strong,class:"tok-strong"},{tag:Afe.keyword,class:"tok-keyword"},{
tag:Afe.atom,class:"tok-atom"},{tag:Afe.bool,class:"tok-bool"},{tag:Afe.url,
class:"tok-url"},{tag:Afe.labelName,class:"tok-labelName"},{tag:Afe.inserted,
class:"tok-inserted"},{tag:Afe.deleted,class:"tok-deleted"},{tag:Afe.literal,
class:"tok-literal"},{tag:Afe.string,class:"tok-string"},{tag:Afe.number,
class:"tok-number"},{tag:[Afe.regexp,Afe.escape,Afe.special(Afe.string)],
class:"tok-string2"},{tag:Afe.variableName,class:"tok-variableName"},{
tag:Afe.local(Afe.variableName),class:"tok-variableName tok-local"},{
tag:Afe.definition(Afe.variableName),class:"tok-variableName tok-definition"},{
tag:Afe.special(Afe.variableName),class:"tok-variableName2"},{
tag:Afe.definition(Afe.propertyName),class:"tok-propertyName tok-definition"},{
tag:Afe.typeName,class:"tok-typeName"},{tag:Afe.namespace,class:"tok-namespace"
},{tag:Afe.className,class:"tok-className"},{tag:Afe.macroName,
class:"tok-macroName"},{tag:Afe.propertyName,class:"tok-propertyName"},{
tag:Afe.operator,class:"tok-operator"},{tag:Afe.comment,class:"tok-comment"},{
tag:Afe.meta,class:"tok-meta"},{tag:Afe.invalid,class:"tok-invalid"},{
tag:Afe.punctuation,class:"tok-punctuation"}]);const Efe=new dhe
;function Cfe(e){return Iie.define({combine:e?t=>t.concat(e):void 0})}
const $fe=new dhe;class Pfe{constructor(e,t,n=[],r=""){
this.data=e,this.name=r,Ose.prototype.hasOwnProperty("tree")||Object.defineProperty(Ose.prototype,"tree",{
get(){return Mfe(this)}
}),this.parser=t,this.extension=[Ffe.of(this),Ose.languageData.of(((e,t,n)=>{
let r=Ife(e,t,n),a=r.type.prop(Efe);if(!a)return[]
;let o=e.facet(a),i=r.type.prop($fe);if(i){let a=r.resolve(t-r.from,n)
;for(let t of i)if(t.test(a,e)){let n=e.facet(t.facet)
;return"replace"==t.type?n:n.concat(o)}}return o}))].concat(n)}
isActiveAt(e,t,n=-1){return Ife(e,t,n).type.prop(Efe)==this.data}findRegions(e){
let t=e.facet(Ffe);if((null==t?void 0:t.data)==this.data)return[{from:0,
to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{
if(e.prop(Efe)==this.data)return void n.push({from:t,to:t+e.length})
;let a=e.prop(dhe.mounted);if(a){if(a.tree.prop(Efe)==this.data){
if(a.overlay)for(let e of a.overlay)n.push({from:e.from+t,to:e.to+t
});else n.push({from:t,to:t+e.length});return}if(a.overlay){let e=n.length
;if(r(a.tree,a.overlay[0].from+t),n.length>e)return}}
for(let n=0;n<e.children.length;n++){let a=e.children[n]
;a instanceof Ohe&&r(a,e.positions[n]+t)}};return r(Mfe(e),0),n}
get allowsNesting(){return!0}}function Ife(e,t,n){
let r=e.facet(Ffe),a=Mfe(e).topNode
;if(!r||r.allowsNesting)for(let o=a;o;o=o.enter(t,n,bhe.ExcludeBuffers))o.type.isTop&&(a=o)
;return a}Pfe.setState=lse.define();class Dfe extends Pfe{constructor(e,t,n){
super(e,t,[],n),this.parser=t}static define(e){let t=Cfe(e.languageData)
;return new Dfe(t,e.parser.configure({props:[Efe.add((e=>e.isTop?t:void 0))]
}),e.name)}configure(e,t){
return new Dfe(this.data,this.parser.configure(e),t||this.name)}
get allowsNesting(){return this.parser.hasWrappers()}}function Mfe(e){
let t=e.field(Pfe.state,!1);return t?t.tree:Ohe.empty}class Nfe{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)
}}let Rfe=null;class Lfe{constructor(e,t,n=[],r,a,o,i,s){
this.parser=e,this.state=t,
this.fragments=n,this.tree=r,this.treeLen=a,this.viewport=o,
this.skipped=i,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}
static create(e,t,n){return new Lfe(e,t,[],Ohe.empty,0,n,[],null)}startParse(){
return this.parser.startParse(new Nfe(this.state.doc),this.fragments)}work(e,t){
return null!=t&&t>=this.state.doc.length&&(t=void 0),
this.tree!=Ohe.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),
!0):this.withContext((()=>{var n;if("number"==typeof e){let t=Date.now()+e
;e=()=>Date.now()>t}
for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){
let r=this.parse.advance();if(r){
if(this.fragments=this.withoutTempSkipped(jhe.addTree(r,this.fragments,null!=this.parse.stoppedAt)),
this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,
this.tree=r,
this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0
;this.parse=this.startParse()}if(e())return!1}}))}takeTree(){let e,t
;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),
this.withContext((()=>{for(;!(t=this.parse.advance()););
})),this.treeLen=e,this.tree=t,
this.fragments=this.withoutTempSkipped(jhe.addTree(this.tree,this.fragments,!0)),
this.parse=null)}withContext(e){let t=Rfe;Rfe=this;try{return e()}finally{Rfe=t}
}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Bfe(e,t.from,t.to)
;return e}changes(e,t){
let{fragments:n,tree:r,treeLen:a,viewport:o,skipped:i}=this
;if(this.takeTree(),!e.empty){let t=[]
;if(e.iterChangedRanges(((e,n,r,a)=>t.push({fromA:e,toA:n,fromB:r,toB:a
}))),n=jhe.applyChanges(n,t),r=Ohe.empty,a=0,o={from:e.mapPos(o.from,-1),
to:e.mapPos(o.to,1)},this.skipped.length){i=[];for(let t of this.skipped){
let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&i.push({from:n,to:r})}}}
return new Lfe(this.parser,t,n,r,a,o,i,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 n=0;n<this.skipped.length;n++){
let{from:t,to:r}=this.skipped[n]
;t<e.to&&r>e.from&&(this.fragments=Bfe(this.fragments,t,r),
this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}
reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){
this.skipped.push({from:e,to:t})}static getSkippingParser(e){
return new class extends Uhe{createParse(t,n,r){
let a=r[0].from,o=r[r.length-1].to,i={parsedPos:a,advance(){let t=Rfe;if(t){
for(let e of r)t.tempSkipped.push(e)
;e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}
return this.parsedPos=o,new Ohe(fhe.none,[],[],o-a)},stoppedAt:null,stopAt(){}}
;return i}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments
;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){
return Rfe}}function Bfe(e,t,n){return jhe.applyChanges(e,[{fromA:t,toA:n,
fromB:t,toB:n}])}class jfe{constructor(e){this.context=e,this.tree=e.tree}
apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this
;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to)
;return t.work(20,n)||t.takeTree(),new jfe(t)}static init(e){
let t=Math.min(3e3,e.doc.length),n=Lfe.create(e.facet(Ffe).parser,e,{from:0,to:t
});return n.work(20,t)||n.takeTree(),new jfe(n)}}Pfe.state=jie.define({
create:jfe.init,update(e,t){
for(let n of t.effects)if(n.is(Pfe.setState))return n.value
;return t.startState.facet(Ffe)!=t.state.facet(Ffe)?jfe.init(t.state):e.apply(t)
}});let Ufe=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)}
;"undefined"!=typeof requestIdleCallback&&(Ufe=e=>{let t=-1,n=setTimeout((()=>{
t=requestIdleCallback(e,{timeout:400})}),100)
;return()=>t<0?clearTimeout(n):cancelIdleCallback(t)})
;const zfe="undefined"!=typeof navigator&&(null===(Tfe=navigator.scheduling)||void 0===Tfe?void 0:Tfe.isInputPending)?()=>navigator.scheduling.isInputPending():null,Zfe=Wce.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(Pfe.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(Pfe.state)
;t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=Ufe(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,a=n.field(Pfe.state)
;if(a.tree==a.context.tree&&a.context.isDone(r+1e5))return
;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!zfe?Math.max(25,e.timeRemaining()-5):1e9),i=a.context.treeLen<r&&n.doc.length>r+1e3,s=a.context.work((()=>zfe&&zfe()||Date.now()>o),r+(i?0:1e5))
;this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(a.context.takeTree(),
this.view.dispatch({effects:Pfe.setState.of(new jfe(a.context))
})),this.chunkBudget>0&&(!s||i)&&this.scheduleWork(),
this.checkAsyncSchedule(a.context)}checkAsyncSchedule(e){
e.scheduleOn&&(this.workScheduled++,
e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>Hce(this.view.state,e))).then((()=>this.workScheduled--)),
e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){
return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){
this.scheduleWork()}}}),Ffe=Iie.define({combine:e=>e.length?e[0]:null,
enables:e=>[Pfe.state,Zfe,Vde.contentAttributes.compute([e],(t=>{
let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]});class Hfe{
constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}
const Qfe=Iie.define(),Vfe=Iie.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 new Error("Invalid indent unit: "+JSON.stringify(e[0]))
;return t}});function qfe(e){let t=e.facet(Vfe)
;return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function Wfe(e,t){
let n="",r=e.tabSize,a=e.facet(Vfe)[0];if("\t"==a){for(;t>=r;)n+="\t",t-=r;a=" "
}for(let o=0;o<t;o++)n+=a;return n}function Xfe(e,t){
e instanceof Ose&&(e=new Gfe(e));for(let r of e.state.facet(Qfe)){let n=r(e,t)
;if(void 0!==n)return n}let n=Mfe(e.state);return n.length>=t?function(e,t,n){
let r=t.resolveStack(n),a=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n)
;if(a!=r.node){let e=[];for(let t=a;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 Kfe(r,e,n)
}(e,n,t):null}class Gfe{constructor(e,t={}){
this.state=e,this.options=t,this.unit=qfe(e)}lineAt(e,t=1){
let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:a}=this.options
;return null!=r&&r>=n.from&&r<=n.to?a&&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),a=this.countColumn(n,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1
;return o>-1&&(a+=o-this.countColumn(n,n.search(/\S|$/))),a}
countColumn(e,t=e.length){return Bse(e,this.state.tabSize,t)}lineIndent(e,t=1){
let{text:n,from:r}=this.lineAt(e,t),a=this.options.overrideIndentation;if(a){
let e=a(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}
get simulatedBreak(){return this.options.simulateBreak||null}}const Yfe=new dhe
;function Kfe(e,t,n){for(let r=e;r;r=r.next){let e=Jfe(r.node)
;if(e)return e(tme.create(t,n,r))}return 0}function Jfe(e){
let t=e.type.prop(Yfe);if(t)return t;let n,r=e.firstChild
;if(r&&(n=r.type.prop(dhe.closedBy))){
let t=e.lastChild,r=t&&n.indexOf(t.name)>-1
;return e=>ame(e,!0,1,void 0,r&&!function(e){
return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak
}(e)?t.from:void 0)}return null==e.parent?eme:null}function eme(){return 0}
class tme extends Gfe{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(e,t,n){return new tme(e,t,n)}
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(nme(n,e))break
;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){
return Kfe(this.context.next,this.base,this.pos)}}function nme(e,t){
for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}
function rme({closing:e,align:t=!0,units:n=1}){return r=>ame(r,t,n,e)}
function ame(e,t,n,r,a){
let o=e.textAfter,i=o.match(/^\s*/)[0].length,s=r&&o.slice(i,i+r.length)==r||a==e.pos+i,l=t?function(e){
let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null
;let a=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),i=null==a||a<=o.from?o.to:Math.min(o.to,a)
;for(let s=n.to;;){let e=t.childAfter(s);if(!e||e==r)return null
;if(!e.type.isSkipped){if(e.from>=i)return null
;let t=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,
to:n.to+t}}s=e.to}}(e):null
;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}
function ome({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter)
;return n.baseIndent+(r?0:t*n.unit)}}const ime=200
;const sme=Iie.define(),lme=new dhe;function cme(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 ume(e){let t=e.lastChild
;return t&&t.to==e.to&&t.type.isError}function dme(e,t,n){
for(let r of e.facet(sme)){let a=r(e,t,n);if(a)return a}return function(e,t,n){
let r=Mfe(e);if(r.length<n)return null;let a=null
;for(let o=r.resolveStack(n,1);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(lme)
;if(s&&(i.to<r.length-50||r.length==e.doc.length||!ume(i))){let r=s(i,e)
;r&&r.from<=n&&r.from>=t&&r.to>n&&(a=r)}}return a}(e,t,n)}function pme(e,t){
let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}
const hme=lse.define({map:pme}),fme=lse.define({map:pme}),mme=jie.define({
create:()=>Kle.none,update(e,t){e=e.map(t.changes)
;for(let n of t.effects)if(n.is(hme)&&!vme(e,n.value.from,n.value.to)){
let{preparePlaceholder:r}=t.state.facet(yme),a=r?Kle.replace({
widget:new xme(r(t.state,n.value))}):wme;e=e.update({
add:[a.range(n.value.from,n.value.to)]})}else n.is(fme)&&(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=>Vde.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 new RangeError("Invalid JSON for fold state")
;let t=[];for(let n=0;n<e.length;){let r=e[n++],a=e[n++]
;if("number"!=typeof r||"number"!=typeof a)throw new RangeError("Invalid JSON for fold state")
;t.push(wme.range(r,a))}return Kle.set(t,!0)}});function gme(e,t,n){var r
;let a=null
;return null===(r=e.field(mme,!1))||void 0===r||r.between(t,n,((e,t)=>{
(!a||a.from>e)&&(a={from:e,to:t})})),a}function vme(e,t,n){let r=!1
;return e.between(t,t,((e,a)=>{e==t&&a==n&&(r=!0)})),r}const bme={
placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"
},yme=Iie.define({combine:e=>wse(e,bme)});function Ome(e,t){
let{state:n}=e,r=n.facet(yme),a=t=>{
let n=e.lineBlockAt(e.posAtDOM(t.target)),r=gme(e.state,n.from,n.to)
;r&&e.dispatch({effects:fme.of(r)}),t.preventDefault()}
;if(r.placeholderDOM)return r.placeholderDOM(e,a,t)
;let o=document.createElement("span")
;return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),
o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=a,o}
const wme=Kle.replace({widget:new class extends Gle{toDOM(e){return Ome(e,null)}
}});class xme extends Gle{constructor(e){super(),this.value=e}eq(e){
return this.value==e.value}toDOM(e){return Ome(e,this.value)}}const kme={
openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},
foldingChanged:()=>!1};class Sme extends zpe{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}}
function _me(e={}){
let t=Object.assign(Object.assign({},kme),e),n=new Sme(t,!0),r=new Sme(t,!1),a=Wce.fromClass(class{
constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}
update(e){
(e.docChanged||e.viewportChanged||e.startState.facet(Ffe)!=e.state.facet(Ffe)||e.startState.field(mme,!1)!=e.state.field(mme,!1)||Mfe(e.startState)!=Mfe(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))
}buildMarkers(e){let t=new Tse;for(let a of e.viewportLineBlocks){
let o=gme(e.state,a.from,a.to)?r:dme(e.state,a.from,a.to)?n:null
;o&&t.add(a.from,a.from,o)}return t.finish()}}),{domEventHandlers:o}=t
;return[a,Vpe({class:"cm-foldGutter",markers(e){var t
;return(null===(t=e.plugin(a))||void 0===t?void 0:t.markers)||Ase.empty},
initialSpacer:()=>new Sme(t,!1),
domEventHandlers:Object.assign(Object.assign({},o),{click:(e,t,n)=>{
if(o.click&&o.click(e,t,n))return!0;let r=gme(e.state,t.from,t.to)
;if(r)return e.dispatch({effects:fme.of(r)}),!0;let a=dme(e.state,t.from,t.to)
;return!!a&&(e.dispatch({effects:hme.of(a)}),!0)}})}),[mme,Ame]]}
const Ame=Vde.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"}});class Tme{constructor(e,t){let n;function r(e){
let t=Zse.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e
;const a="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope
;this.scope=o instanceof Pfe?e=>e.prop(Efe)==o.data:o?e=>e==o:void 0,
this.style=lfe(e.map((e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{
tag:null}))}))),{all:a
}).style,this.module=n?new Zse(n):null,this.themeType=t.themeType}
static define(e,t){return new Tme(e,t||{})}}
const Eme=Iie.define(),Cme=Iie.define({combine:e=>e.length?[e[0]]:null})
;function $me(e){let t=e.facet(Eme);return t.length?t:e.facet(Cme)}
function Pme(e,t){let n,r=[Dme]
;return e instanceof Tme&&(e.module&&r.push(Vde.styleModule.of(e.module)),
n=e.themeType),
(null==t?void 0:t.fallback)?r.push(Cme.of(e)):n?r.push(Eme.computeN([Vde.darkTheme],(t=>t.facet(Vde.darkTheme)==("dark"==n)?[e]:[]))):r.push(Eme.of(e)),
r}class Ime{constructor(e){
this.markCache=Object.create(null),this.tree=Mfe(e.state),
this.decorations=this.buildDeco(e,$me(e.state)),this.decoratedTo=e.viewport.to}
update(e){
let t=Mfe(e.state),n=$me(e.state),r=n!=$me(e.startState),{viewport:a}=e.view,o=e.changes.mapPos(this.decoratedTo,1)
;t.length<a.to&&!r&&t.type==this.tree.type&&o>=a.to?(this.decorations=this.decorations.map(e.changes),
this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,
this.decorations=this.buildDeco(e.view,n),this.decoratedTo=a.to)}buildDeco(e,t){
if(!t||!this.tree.length)return Kle.none;let n=new Tse
;for(let{from:r,to:a}of e.visibleRanges)cfe(this.tree,t,((e,t,r)=>{
n.add(e,t,this.markCache[r]||(this.markCache[r]=Kle.mark({class:r})))}),r,a)
;return n.finish()}}const Dme=Qie.high(Wce.fromClass(Ime,{
decorations:e=>e.decorations})),Mme=Tme.define([{tag:Afe.meta,color:"#404740"},{
tag:Afe.link,textDecoration:"underline"},{tag:Afe.heading,
textDecoration:"underline",fontWeight:"bold"},{tag:Afe.emphasis,
fontStyle:"italic"},{tag:Afe.strong,fontWeight:"bold"},{tag:Afe.strikethrough,
textDecoration:"line-through"},{tag:Afe.keyword,color:"#708"},{
tag:[Afe.atom,Afe.bool,Afe.url,Afe.contentSeparator,Afe.labelName],color:"#219"
},{tag:[Afe.literal,Afe.inserted],color:"#164"},{tag:[Afe.string,Afe.deleted],
color:"#a11"},{tag:[Afe.regexp,Afe.escape,Afe.special(Afe.string)],color:"#e40"
},{tag:Afe.definition(Afe.variableName),color:"#00f"},{
tag:Afe.local(Afe.variableName),color:"#30a"},{tag:[Afe.typeName,Afe.namespace],
color:"#085"},{tag:Afe.className,color:"#167"},{
tag:[Afe.special(Afe.variableName),Afe.macroName],color:"#256"},{
tag:Afe.definition(Afe.propertyName),color:"#00c"},{tag:Afe.comment,color:"#940"
},{tag:Afe.invalid,color:"#f00"}]),Nme=Vde.baseTheme({
"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},
"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}
}),Rme="()[]{}",Lme=Iie.define({combine:e=>wse(e,{afterCursor:!0,brackets:Rme,
maxScanDistance:1e4,renderMatch:Ume})}),Bme=Kle.mark({class:"cm-matchingBracket"
}),jme=Kle.mark({class:"cm-nonmatchingBracket"});function Ume(e){
let t=[],n=e.matched?Bme:jme
;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),
t}const zme=[jie.define({create:()=>Kle.none,update(e,t){
if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(Lme)
;for(let a of t.state.selection.ranges){if(!a.empty)continue
;let e=Vme(t.state,a.head,-1,r)||a.head>0&&Vme(t.state,a.head-1,1,r)||r.afterCursor&&(Vme(t.state,a.head,1,r)||a.head<t.state.doc.length&&Vme(t.state,a.head+1,-1,r))
;e&&(n=n.concat(r.renderMatch(e,t.state)))}return Kle.set(n,!0)},
provide:e=>Vde.decorations.from(e)}),Nme];function Zme(e={}){
return[Lme.of(e),zme]}const Fme=new dhe;function Hme(e,t,n){
let r=e.prop(t<0?dhe.openedBy:dhe.closedBy);if(r)return r;if(1==e.name.length){
let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}
function Qme(e){let t=e.type.prop(Fme);return t?t(e.node):e}
function Vme(e,t,n,r={}){
let a=r.maxScanDistance||1e4,o=r.brackets||Rme,i=Mfe(e),s=i.resolveInner(t,n)
;for(let l=s;l;l=l.parent){let r=Hme(l.type,n,o);if(r&&l.from<l.to){let a=Qme(l)
;if(a&&(n>0?t>=a.from&&t<a.to:t>a.from&&t<=a.to))return qme(e,t,n,l,a,r,o)}}
return function(e,t,n,r,a,o,i){
let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=i.indexOf(s)
;if(l<0||l%2==0!=n>0)return null;let c={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 p=0;!u.next().done&&p<=o;){let e=u.value;n<0&&(p+=e.length);let o=t+p*n
;for(let t=n>0?0:e.length-1,s=n>0?e.length:-1;t!=s;t+=n){let s=i.indexOf(e[t])
;if(!(s<0||r.resolveInner(o+t,1).type!=a))if(s%2==0==n>0)d++;else{
if(1==d)return{start:c,end:{from:o+t,to:o+t+1},matched:s>>1==l>>1};d--}}
n>0&&(p+=e.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,i,s.type,a,o)}
function qme(e,t,n,r,a,o,i){let s=r.parent,l={from:a.from,to:a.to
},c=0,u=null==s?void 0: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(0==c&&o.indexOf(u.type.name)>-1&&u.from<u.to){let e=Qme(u);return{start:l,
end:e?{from:e.from,to:e.to}:void 0,matched:!0}}
if(Hme(u.type,n,i))c++;else if(Hme(u.type,-n,i)){if(0==c){let e=Qme(u);return{
start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}
}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}
const Wme=Object.create(null),Xme=[fhe.none],Gme=[],Yme=Object.create(null),Kme=Object.create(null)
;for(let[Set,Dst]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"]])Kme[Set]=ege(Wme,Dst)
;function Jme(e,t){Gme.indexOf(e)>-1||(Gme.push(e),console.warn(t))}
function ege(e,t){let n=[];for(let s of t.split(" ")){let t=[]
;for(let n of s.split(".")){let r=e[n]||Afe[n]
;r?"function"==typeof r?t.length?t=t.map(r):Jme(n,`Modifier ${n} used at start of tag`):t.length?Jme(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:Jme(n,`Unknown highlighting tag ${n}`)
}for(let e of t)n.push(e)}if(!n.length)return 0
;let r=t.replace(/ /g,"_"),a=r+" "+n.map((e=>e.id)),o=Yme[a];if(o)return o.id
;let i=Yme[a]=fhe.define({id:Xme.length,name:r,props:[ofe({[r]:n})]})
;return Xme.push(i),i.id}uce.RTL,uce.LTR
;const tge=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"]])
;const nge=new WeakMap;var rge=function(e){
return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(rge||(rge={}))
;const age=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,oge=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,ige=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i
;function sge(e,t){const n=[],r=Mfe(e.state)
;for(const a of e.visibleRanges)r.iterate({from:a.from,to:a.to,
enter:({type:a,from:o,to:i})=>{var s
;const l=t(r,o,i,a.name,e.state.doc,null===(s=e.state.facet(Ffe))||void 0===s?void 0:s.name)
;if(l)if(Array.isArray(l))for(const e of l)n.push(Kle.widget({widget:new fge(e),
side:1}).range(e.from));else n.push(Kle.widget({widget:new fge(l),side:1
}).range(l.from))}});return Kle.set(n)}function lge(e){let t
;if(e.endsWith("%")){const n=Number(e.slice(0,-1));t=Math.round(n/100*255)
}else t=Number(e);return cge(t)}function cge(e){const t=e.toString(16)
;return 1===t.length?"0"+t:t}function uge(e){
const 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 dge(e){
return e<0?e+1:e>1?e-1:e}function pge(e,t,n){
return 6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}
const hge="cm-css-color-picker-wrapper";class fge extends Gle{constructor(e){
var{color:t}=e,n=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(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0
;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])
}return n}(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(){const e=document.createElement("input")
;nge.set(e,this.state),e.type="color",e.value=this.color
;const t=document.createElement("span");return t.appendChild(e),t.className=hge,
t}ignoreEvent(){return!1}}const mge=Vde.baseTheme({[`.${hge}`]:{
display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",
height:"1em",width:"1em",transform:"translateY(1px)"},
[`.${hge} 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"}
}}),gge=e=>Wce.fromClass(class{constructor(t){
this.decorations=sge(t,e.discoverColors)}update(t){
(t.docChanged||t.viewportChanged)&&(this.decorations=sge(t.view,e.discoverColors))
}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{const n=e.target
;if("INPUT"!==n.nodeName||!n.parentElement||!n.parentElement.classList.contains(hge))return!1
;const r=nge.get(n);let a=n.value+r.alpha
;if(r.colorType===rge.rgb)a=`rgb(${uge(n.value).join(", ")}${r.alpha})`;else if(r.colorType===rge.named)for(const[o,i]of tge.entries())i===n.value&&(a=o);else if(r.colorType===rge.hsl){
const[e,t,o]=uge(n.value),[i,s,l]=function(e,t,n){
const r=e/255,a=t/255,o=n/255,i=Math.min(r,a,o),s=Math.max(r,a,o),l=(s+i)/2
;if(s===i)return[0,0,l];let c,u
;for(c=l<=.5?(s-i)/(s+i):(s-i)/(2-s-i),u=s===r?(a-o)/(s-i):a===s?2+(o-r)/(s-i):4+(r-a)/(s-i),
u=Math.round(60*u);u<0;)u+=360;return[u,c,l]}(e,t,o)
;a=`hsl(${i}, ${Math.round(100*s)}%, ${Math.round(100*l)}%${r.alpha})`}
return t.dispatch({changes:{from:r.from,to:r.to,insert:a}}),!0}}}),vge=[gge({
discoverColors:function e(t,n,r,a,o,i){var s;switch(a){case"AttributeValue":{
const r=t.resolveInner(n,0).tree;if(!r)return null
;const a=null===(s=r.prop(dhe.mounted))||void 0===s?void 0:s.tree
;if("Styles"!==(null==a?void 0:a.type.name))return null;const i=[]
;return a.iterate({from:0,to:a.length,enter:({type:r,from:a,to:s})=>{
const l=e(t,n+1+a,n+1+s,r.name,o);if(l){
if(Array.isArray(l))throw new Error("Unexpected nested overlays");i.push(l)}}}),
i}case"CallExpression":{const e=function(e){switch(e.slice(0,3)){case"rgb":{
const t=age.exec(e);if(!t)return null;const[n,r,a,o,i]=t,s=function(e,t,n){
return`#${lge(e)}${lge(t)}${lge(n)}`}(r,a,o);return{colorType:rge.rgb,color:s,
alpha:i||""}}case"hsl":{const t=oge.exec(e);if(!t)return null
;const[n,r,a,o,i]=t,s=function(e,t,n){
const r=Number(t)/100,a=Number(n)/100,[o,i,s]=function(e,t,n){if(0===t){
const e=Math.round(255*n);return[e,e,e]}let r;r=n<.5?n*(1+t):n+t-n*t
;const a=2*n-r,o=dge(.333+(e/=360)),i=e,s=dge(e-.333),l=pge(r,a,o),c=pge(r,a,i),u=pge(r,a,s)
;return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),r,a)
;return`#${cge(o)}${cge(i)}${cge(s)}`}(r,a,o);return{colorType:rge.hsl,color:s,
alpha:i||""}}default:return null}}(o.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}
case"ColorLiteral":{const e=function(e){if(!ige.exec(e))return null
;const[t,n]=function(e){
if(4===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]
;if(5===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]
;if(9===e.length)return[`#${e.slice(1,-2)}`,e.slice(-2)];return[e,""]}(e)
;return{colorType:rge.hex,color:t,alpha:n}}(o.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}case"ValueName":
{const e=function(e){const t=tge.get(e);if(!t)return null;return{
colorType:rge.named,color:t,alpha:""}}(o.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}default:
return null}}}),mge];class bge{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=Mfe(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),a=r.search(kge(e,!1))
;return a<0?null:{from:n+a,to:this.pos,text:r.slice(a)}}get aborted(){
return null==this.abortListeners}addEventListener(e,t,n){
"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),
n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function yge(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 Oge(e){let t=e.map((e=>"string"==typeof e?{label:e
}:e)),[n,r]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){
let t=Object.create(null),n=Object.create(null);for(let{label:a}of e){t[a[0]]=!0
;for(let e=1;e<a.length;e++)n[a[e]]=!0}let r=yge(t)+yge(n)+"*$"
;return[new RegExp("^"+r),new RegExp(r)]}(t);return e=>{let a=e.matchBefore(r)
;return a||e.explicit?{from:a?a.from:e.pos,options:t,validFor:n}:null}}
class wge{constructor(e,t,n,r){
this.completion=e,this.source=t,this.match=n,this.score=r}}function xge(e){
return e.selection.main.from}function kge(e,t){var n
;let{source:r}=e,a=t&&"^"!=r[0],o="$"!=r[r.length-1]
;return a||o?new RegExp(`${a?"^":""}(?:${r})${o?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e
}const Sge=ose.define();const _ge=new WeakMap;function Age(e){
if(!Array.isArray(e))return e;let t=_ge.get(e);return t||_ge.set(e,t=Oge(e)),t}
const Tge=lse.define(),Ege=lse.define();class Cge{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=mie(e,t),r=vie(n)
;this.chars.push(n);let a=e.slice(t,t+r),o=a.toUpperCase()
;this.folded.push(mie(o==a?a.toLowerCase():o,0)),t+=r}
this.astral=e.length!=this.chars.length}ret(e,t){
return this.score=e,this.matched=t,this}match(e){
if(0==this.pattern.length)return this.ret(-100,[])
;if(e.length<this.pattern.length)return null
;let{chars:t,folded:n,any:r,precise:a,byWord:o}=this;if(1==t.length){
let r=mie(e,0),a=vie(r),o=a==e.length?0:-100;if(r==t[0]);else{
if(r!=n[0])return null;o+=-200}return this.ret(o,[0,a])}
let i=e.indexOf(this.pattern)
;if(0==i)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length])
;let s=t.length,l=0;if(i<0){for(let a=0,o=Math.min(e.length,200);a<o&&l<s;){
let o=mie(e,a);o!=t[l]&&o!=n[l]||(r[l++]=a),a+=vie(o)}if(l<s)return null}
let c=0,u=0,d=!1,p=0,h=-1,f=-1,m=/[a-z]/.test(e),g=!0
;for(let v=0,b=Math.min(e.length,200),y=0;v<b&&u<s;){let r=mie(e,v)
;i<0&&(c<s&&r==t[c]&&(a[c++]=v),
p<s&&(r==t[p]||r==n[p]?(0==p&&(h=v),f=v+1,p++):p=0))
;let l,b=r<255?r>=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(l=gie(r))!=l.toLowerCase()?1:l!=l.toUpperCase()?2:0
;(!v||1==b&&m||0==y&&0!=b)&&(t[u]==r||n[u]==r&&(d=!0)?o[u++]=v:o.length&&(g=!1)),
y=b,v+=vie(r)}
return u==s&&0==o[0]&&g?this.result((d?-200:0)-100,o,e):p==s&&0==h?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):i>-1?this.ret(-700-e.length,[i,i+this.pattern.length]):p==s?this.ret(-900-e.length,[h,f]):u==s?this.result((d?-200:0)-100-700+(g?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)
}result(e,t,n){let r=[],a=0;for(let o of t){
let e=o+(this.astral?vie(mie(n,o)):1);a&&r[a-1]==o?r[a-1]=e:(r[a++]=o,r[a++]=e)}
return this.ret(e-n.length,r)}}class $ge{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 null==n?null:(this.matched=[0,t.length],
this.score=n+(e.length==this.pattern.length?0:-100),this)}}
const Pge=Iie.define({combine:e=>wse(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:Dge,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=>Ige(e(n),t(n)),
optionClass:(e,t)=>n=>Ige(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),
filterStrict:(e,t)=>e||t})});function Ige(e,t){return e?t?e+" "+t:e:t}
function Dge(e,t,n,r,a,o){
let i,s,l=e.textDirection==uce.RTL,c=l,u=!1,d="top",p=t.left-a.left,h=a.right-t.right,f=r.right-r.left,m=r.bottom-r.top
;if(c&&p<Math.min(f,h)?c=!1:!c&&h<Math.min(f,p)&&(c=!0),
f<=(c?p:h))i=Math.max(a.top,Math.min(n.top,a.bottom-m))-t.top,
s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:a.right-t.left)-30)
;let e=a.bottom-t.bottom
;e>=m||e>t.top?i=n.bottom-t.top:(d="bottom",i=t.bottom-n.top)}return{
style:`${d}: ${i/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${s/((t.right-t.left)/o.offsetWidth)}px`,
class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}
function Mge(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}}class Nge{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:a,selected:o}=r.open,i=e.state.facet(Pge)
;this.optionContent=function(e){let t=e.addToOptions.slice()
;return e.icons&&t.push({render(e){let t=document.createElement("div")
;return t.classList.add("cm-completionIcon"),
e.type&&t.classList.add(...e.type.split(/\s+/g).map((e=>"cm-completionIcon-"+e))),
t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){
let a=document.createElement("span");a.className="cm-completionLabel"
;let o=e.displayLabel||e.label,i=0;for(let s=0;s<r.length;){
let e=r[s++],t=r[s++];e>i&&a.appendChild(document.createTextNode(o.slice(i,e)))
;let n=a.appendChild(document.createElement("span"))
;n.appendChild(document.createTextNode(o.slice(e,t))),
n.className="cm-completionMatchedText",i=t}
return i<o.length&&a.appendChild(document.createTextNode(o.slice(i))),a},
position:50},{render(e){if(!e.detail)return null
;let t=document.createElement("span")
;return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80
}),t.sort(((e,t)=>e.position-t.position)).map((e=>e.render))
}(i),this.optionClass=i.optionClass,
this.tooltipClass=i.tooltipClass,this.range=Mge(a.length,o,i.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,a=n.target;a&&a!=this.dom;a=a.parentNode)if("LI"==a.nodeName&&(t=/-(\d+)$/.exec(a.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),
void n.preventDefault()})),this.dom.addEventListener("focusout",(t=>{
let n=e.state.field(this.stateField,!1)
;n&&n.tooltip&&e.state.facet(Pge).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({
effects:Ege.of(null)})})),this.showOptions(a,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){var t
;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField)
;if(this.updateTooltipClass(e.state),n!=r){
let{options:a,selected:o,disabled:i}=n.open
;r.open&&r.open.options==a||(this.range=Mge(a.length,o,e.state.facet(Pge).maxRenderedOptions),
this.showOptions(a,n.id)),
this.updateSel(),i!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!i)
}}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=Mge(t.options.length,t.selected,this.view.state.facet(Pge).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 a="string"==typeof r?document.createTextNode(r):r(n)
;if(!a)return;"then"in a?a.then((t=>{
t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)
})).catch((e=>Hce(this.view.state,e,"completion info"))):this.addInfoPane(a,n)}}
addInfoPane(e,t){this.destroyInfo()
;let n=this.info=document.createElement("div")
;if(n.className="cm-tooltip cm-completionInfo",
null!=e.nodeType)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++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),
t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--
;return t&&function(e,t){
let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=n.height/e.offsetHeight
;r.top<n.top?e.scrollTop-=(n.top-r.top)/a:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/a)
}(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(),a=this.space
;if(!a){let e=this.dom.ownerDocument.defaultView||window;a={left:0,top:0,
right:e.innerWidth,bottom:e.innerHeight}}
return r.top>Math.min(a.bottom,t.bottom)-10||r.bottom<Math.max(a.top,t.top)+10?null:this.view.state.facet(Pge).positionInfo(this.view,t,r,n,a,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){const 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 a=null
;for(let o=n.from;o<n.to;o++){let{completion:i,match:s}=e[o],{section:l}=i
;if(l){let e="string"==typeof l?l:l.name
;if(e!=a&&(o>n.from||0==n.from))if(a=e,"string"!=typeof l&&l.header)r.appendChild(l.header(l));else{
r.appendChild(document.createElement("completion-section")).textContent=e}}
const c=r.appendChild(document.createElement("li"))
;c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(i)
;u&&(c.className=u);for(let e of this.optionContent){
let t=e(i,this.view.state,this.view,s);t&&c.appendChild(t)}}
return 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(),
this.info=null)}destroy(){this.destroyInfo()}}function Rge(e,t){
return n=>new Nge(n,e,t)}function Lge(e){
return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class Bge{
constructor(e,t,n,r,a,o){
this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,
this.selected=a,this.disabled=o}setSelected(e,t){
return e==this.selected||e>=this.options.length?this:new Bge(this.options,Zge(t,e),this.tooltip,this.timestamp,e,this.disabled)
}static build(e,t,n,r,a,o){
if(r&&!o&&e.some((e=>e.isPending)))return r.setDisabled();let i=function(e,t){
let n=[],r=null,a=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[])
;let e="string"==typeof t?t:t.name
;r.some((t=>t.name==e))||r.push("string"==typeof t?{name:e}:t)}},o=t.facet(Pge)
;for(let c of e)if(c.hasResult()){let e=c.result.getMatch
;if(!1===c.result.filter)for(let t of c.result.options)a(new wge(t,c.source,e?e(t):[],1e9-n.length));else{
let n,r=t.sliceDoc(c.from,c.to),i=o.filterStrict?new $ge(r):new Cge(r)
;for(let t of c.result.options)if(n=i.match(t.label)){
let r=t.displayLabel?e?e(t,n.matched):[]:n.matched
;a(new wge(t,c.source,r,n.score+(t.boost||0)))}}}if(r){
let e=Object.create(null),t=0,a=(e,t)=>{var n,r
;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)
};for(let n of r.sort(a))t-=1e5,e[n.name]=t;for(let r of n){
let{section:t}=r.completion;t&&(r.score+=e["string"==typeof t?t:t.name])}}
let i=[],s=null,l=o.compareCompletions
;for(let c of n.sort(((e,t)=>t.score-e.score||l(e.completion,t.completion)))){
let e=c.completion
;!s||s.label!=e.label||s.detail!=e.detail||null!=s.type&&null!=e.type&&s.type!=e.type||s.apply!=e.apply||s.boost!=e.boost?i.push(c):Lge(c.completion)>Lge(s)&&(i[i.length-1]=c),
s=c.completion}return i}(e,t)
;if(!i.length)return r&&e.some((e=>e.isPending))?r.setDisabled():null
;let s=t.facet(Pge).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){
let e=r.options[r.selected].completion
;for(let t=0;t<i.length;t++)if(i[t].completion==e){s=t;break}}
return new Bge(i,Zge(n,s),{
pos:e.reduce(((e,t)=>t.hasResult()?Math.min(e,t.from):e),1e8),create:Yge,
above:a.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){
return new Bge(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{
pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}
setDisabled(){
return new Bge(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)
}}class jge{constructor(e,t,n){this.active=e,this.id=t,this.open=n}
static start(){
return new jge(Fge,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}
update(e){
let{state:t}=e,n=t.facet(Pge),r=(n.override||t.languageDataAt("autocomplete",xge(t)).map(Age)).map((t=>{
let r=this.active.find((e=>e.source==t))||new Qge(t,this.active.some((e=>0!=e.state))?1:0)
;return r.update(e,n)}))
;r.length==this.active.length&&r.every(((e,t)=>e==this.active[t]))&&(r=this.active)
;let a=this.open,o=e.effects.some((e=>e.is(qge)))
;a&&e.docChanged&&(a=a.map(e.changes)),
e.selection||r.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(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 a=n==e.length,o=r==t.length
;if(a||o)return a==o;if(e[n++].result!=t[r++].result)return!1}
}(r,this.active)||o?a=Bge.build(r,t,this.id,a,n,o):a&&a.disabled&&!r.some((e=>e.isPending))&&(a=null),
!a&&r.every((e=>!e.isPending))&&r.some((e=>e.hasResult()))&&(r=r.map((e=>e.hasResult()?new Qge(e.source,0):e)))
;for(let i of e.effects)i.is(Wge)&&(a=a&&a.setSelected(i.value,this.id))
;return r==this.active&&a==this.open?this:new jge(r,this.id,a)}get tooltip(){
return this.open?this.open.tooltip:null}get attrs(){
return this.open?this.open.attrs:this.active.length?Uge:zge}}const Uge={
"aria-autocomplete":"list"},zge={};function Zge(e,t){let n={
"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e}
;return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const Fge=[]
;function Hge(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(Sge)
;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
}class Qge{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}
hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){
let n=Hge(e,t),r=this
;(8&n||16&n&&this.touches(e))&&(r=new Qge(r.source,0)),4&n&&0==r.state&&(r=new Qge(this.source,1)),
r=r.updateFor(e,n)
;for(let a of e.effects)if(a.is(Tge))r=new Qge(r.source,1,a.value);else if(a.is(Ege))r=new Qge(r.source,0);else if(a.is(qge))for(let e of a.value)e.source==r.source&&(r=e)
;return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}
touches(e){return e.changes.touchesRange(xge(e.state))}}class Vge extends Qge{
constructor(e,t,n,r,a,o){
super(e,3,t),this.limit=n,this.result=r,this.from=a,this.to=o}hasResult(){
return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes)
;let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes))
;let a=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),i=xge(e.state)
;if(i>o||!r||2&t&&(xge(e.startState)==this.from||i<this.limit))return new Qge(this.source,4&t?1:0)
;let s=e.changes.mapPos(this.limit);return function(e,t,n,r){if(!e)return!1
;let a=t.sliceDoc(n,r);return"function"==typeof e?e(a,n,r,t):kge(e,!0).test(a)
}(r.validFor,e.state,a,o)?new Vge(this.source,this.explicit,s,r,a,o):r.update&&(r=r.update(r,a,o,new bge(e.state,i,!1)))?new Vge(this.source,this.explicit,s,r,r.from,null!==(n=r.to)&&void 0!==n?n:xge(e.state)):new Qge(this.source,1,this.explicit)
}map(e){if(e.empty)return this
;return(this.result.map?this.result.map(this.result,e):this.result)?new Vge(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Qge(this.source,0)
}touches(e){return e.changes.touchesRange(this.from,this.to)}}
const qge=lse.define({map:(e,t)=>e.map((e=>e.map(t)))
}),Wge=lse.define(),Xge=jie.define({create:()=>jge.start(),
update:(e,t)=>e.update(t),
provide:e=>[Tpe.from(e,(e=>e.tooltip)),Vde.contentAttributes.from(e,(e=>e.attrs))]
});function Gge(e,t){const n=t.completion.apply||t.completion.label
;let r=e.state.field(Xge).active.find((e=>e.source==t.source))
;return r instanceof Vge&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,r){
let{main:a}=e.selection,o=n-a.from,i=r-a.from
;return Object.assign(Object.assign({},e.changeByRange((s=>{
if(s!=a&&n!=r&&e.sliceDoc(s.from+o,s.from+i)!=e.sliceDoc(n,r))return{range:s}
;let l=e.toText(t);return{changes:{from:s.from+o,to:r==a.from?s.to:s.from+i,
insert:l},range:Cie.cursor(s.from+o+l.length)}}))),{scrollIntoView:!0,
userEvent:"input.complete"})}(e.state,n,r.from,r.to)),{
annotations:Sge.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}
const Yge=Rge(Xge,Gge);function Kge(e,t="option"){return n=>{
let r=n.state.field(Xge,!1)
;if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(Pge).interactionDelay)return!1
;let a,o=1
;"page"==t&&(a=Mpe(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(a.dom.offsetHeight/a.dom.querySelector("li").offsetHeight)-1))
;let{length:i}=r.open.options,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:i-1
;return s<0?s="page"==t?0:i-1:s>=i&&(s="page"==t?i-1:0),n.dispatch({
effects:Wge.of(s)}),!0}}const Jge=e=>!!e.state.field(Xge,!1)&&(e.dispatch({
effects:Tge.of(!0)}),!0);class eve{constructor(e,t){
this.active=e,this.context=t,
this.time=Date.now(),this.updates=[],this.done=void 0}}
const tve=Wce.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(Xge).active)t.isPending&&this.startQuery(t)}
update(e){let t=e.state.field(Xge),n=e.state.facet(Pge)
;if(!e.selectionSet&&!e.docChanged&&e.startState.field(Xge)==t)return
;let r=e.transactions.some((e=>{let t=Hge(e,n)
;return 8&t||(e.selection||e.docChanged)&&!(3&t)}))
;for(let o=0;o<this.running.length;o++){let t=this.running[o]
;if(r||t.context.abortOnDocChange&&e.docChanged||t.updates.length+e.transactions.length>50&&Date.now()-t.time>1e3){
for(let e of t.context.abortListeners)try{e()}catch(zw){Hce(this.view.state,zw)}
t.context.abortListeners=null,this.running.splice(o--,1)
}else t.updates.push(...e.transactions)}
this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),
e.transactions.some((e=>e.effects.some((e=>e.is(Tge)))))&&(this.pendingStart=!0)
;let a=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()),a):-1,
0!=this.composing)for(let o of e.transactions)o.isUserEvent("input.type")?this.composing=2:2==this.composing&&o.selection&&(this.composing=3)
}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1
;let{state:e}=this.view,t=e.field(Xge)
;for(let n of t.active)n.isPending&&!this.running.some((e=>e.active.source==n.source))&&this.startQuery(n)
;this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(Pge).updateSyncTime))
}startQuery(e){
let{state:t}=this.view,n=xge(t),r=new bge(t,n,e.explicit,this.view),a=new eve(e,r)
;this.running.push(a),Promise.resolve(e.source(r)).then((e=>{
a.context.aborted||(a.done=e||null,this.scheduleAccept())}),(e=>{
this.view.dispatch({effects:Ege.of(null)}),Hce(this.view.state,e)}))}
scheduleAccept(){
this.running.every((e=>void 0!==e.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(Pge).updateSyncTime))
}accept(){var e
;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1
;let t=[],n=this.view.state.facet(Pge),r=this.view.state.field(Xge)
;for(let a=0;a<this.running.length;a++){let o=this.running[a]
;if(void 0===o.done)continue;if(this.running.splice(a--,1),o.done){
let r=xge(o.updates.length?o.updates[0].startState:this.view.state),a=Math.min(r,o.done.from+(o.active.explicit?0:1)),i=new Vge(o.active.source,o.active.explicit,a,o.done,o.done.from,null!==(e=o.done.to)&&void 0!==e?e:r)
;for(let e of o.updates)i=i.update(e,n);if(i.hasResult()){t.push(i);continue}}
let i=r.active.find((e=>e.source==o.active.source))
;if(i&&i.isPending)if(null==o.done){let e=new Qge(o.active.source,0)
;for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)
}else this.startQuery(i)}
(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:qge.of(t)})}},{
eventHandlers:{blur(e){let t=this.view.state.field(Xge,!1)
;if(t&&t.tooltip&&this.view.state.facet(Pge).closeOnBlur){
let n=t.open&&Mpe(this.view,t.open.tooltip)
;n&&n.dom.contains(e.relatedTarget)||setTimeout((()=>this.view.dispatch({
effects:Ege.of(null)})),10)}},compositionstart(){this.composing=1},
compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({
effects:Tge.of(!1)})),20),this.composing=0}}
}),nve="object"==typeof navigator&&/Win/.test(navigator.platform),rve=Qie.highest(Vde.domEventHandlers({
keydown(e,t){let n=t.state.field(Xge,!1)
;if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!nve||!e.altKey)||e.metaKey)return!1
;let r=n.open.options[n.open.selected],a=n.active.find((e=>e.source==r.source)),o=r.completion.commitCharacters||a.result.commitCharacters
;return o&&o.indexOf(e.key)>-1&&Gge(t,r),!1}})),ave=Vde.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"}}});class ove{constructor(e,t,n,r){
this.field=e,this.line=t,this.from=n,this.to=r}}class ive{constructor(e,t,n){
this.field=e,this.from=t,this.to=n}map(e){
let t=e.mapPos(this.from,-1,yie.TrackDel),n=e.mapPos(this.to,1,yie.TrackDel)
;return null==t||null==n?null:new ive(this.field,t,n)}}class sve{
constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){
let n=[],r=[t],a=e.doc.lineAt(t),o=/^\s*/.exec(a.text)[0]
;for(let i of this.lines){if(n.length){let n=o,a=/^\t*/.exec(i)[0].length
;for(let t=0;t<a;t++)n+=e.facet(Vfe);r.push(t+n.length-a),i=n+i.slice(a)}
n.push(i),t+=i.length+1}return{text:n,
ranges:this.fieldPositions.map((e=>new ive(e.field,r[e.line]+e.from,r[e.line]+e.to)))
}}static parse(e){let t,n=[],r=[],a=[];for(let o of e.split(/\r\n?|\n/)){
for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(o);){
let e=t[1]?+t[1]:null,i=t[2]||t[3]||"",s=-1,l=i.replace(/\\[{}]/g,(e=>e[1]))
;for(let t=0;t<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t)
;if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++
;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of a)e.field>=s&&e.field++}
a.push(new ove(s,r.length,t.index,t.index+l.length)),
o=o.slice(0,t.index)+i+o.slice(t.index+t[0].length)}
o=o.replace(/\\([{}])/g,((e,t,n)=>{
for(let o of a)o.line==r.length&&o.from>n&&(o.from--,o.to--);return t
})),r.push(o)}return new sve(r,a)}}let lve=Kle.widget({
widget:new class extends Gle{toDOM(){let e=document.createElement("span")
;return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}
}),cve=Kle.mark({class:"cm-snippetField"});class uve{constructor(e,t){
this.ranges=e,
this.active=t,this.deco=Kle.set(e.map((e=>(e.from==e.to?lve:cve).range(e.from,e.to))))
}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null
;t.push(r)}return new uve(t,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))))
}}const dve=lse.define({map:(e,t)=>e&&e.map(t)
}),pve=lse.define(),hve=jie.define({create:()=>null,update(e,t){
for(let n of t.effects){if(n.is(dve))return n.value
;if(n.is(pve)&&e)return new uve(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=>Vde.decorations.from(e,(e=>e?e.deco:Kle.none))});function fve(e,t){
return Cie.create(e.filter((e=>e.field==t)).map((e=>Cie.range(e.from,e.to))))}
function mve(e){let t=sve.parse(e);return(e,n,r,a)=>{
let{text:o,ranges:i}=t.instantiate(e.state,r),s={changes:{from:r,to:a,
insert:aie.of(o)},scrollIntoView:!0,
annotations:n?[Sge.of(n),cse.userEvent.of("input.complete")]:void 0}
;if(i.length&&(s.selection=fve(i,0)),i.some((e=>e.field>0))){
let t=new uve(i,0),n=s.effects=[dve.of(t)]
;void 0===e.state.field(hve,!1)&&n.push(lse.appendConfig.of([hve,yve,wve,ave]))}
e.dispatch(e.state.update(s))}}function gve(e){return({state:t,dispatch:n})=>{
let r=t.field(hve,!1);if(!r||e<0&&0==r.active)return!1
;let a=r.active+e,o=e>0&&!r.ranges.some((t=>t.field==a+e));return n(t.update({
selection:fve(r.ranges,a),effects:dve.of(o?null:new uve(r.ranges,a)),
scrollIntoView:!0})),!0}}const vve=[{key:"Tab",run:gve(1),shift:gve(-1)},{
key:"Escape",run:({state:e,dispatch:t})=>!!e.field(hve,!1)&&(t(e.update({
effects:dve.of(null)})),!0)}],bve=Iie.define({combine:e=>e.length?e[0]:vve
}),yve=Qie.highest(epe.compute([bve],(e=>e.facet(bve))));function Ove(e,t){
return Object.assign(Object.assign({},t),{apply:mve(e)})}
const wve=Vde.domEventHandlers({mousedown(e,t){let n,r=t.state.field(hve,!1)
;if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1
;let a=r.ranges.find((e=>e.from<=n&&e.to>=n))
;return!(!a||a.field==r.active)&&(t.dispatch({selection:fve(r.ranges,a.field),
effects:dve.of(r.ranges.some((e=>e.field>a.field))?new uve(r.ranges,a.field):null),
scrollIntoView:!0}),!0)}}),xve={brackets:["(","[","{","'",'"'],before:")]}:;>",
stringPrefixes:[]},kve=lse.define({map(e,t){let n=t.mapPos(e,-1,yie.TrackAfter)
;return null==n?void 0:n}}),Sve=new class extends xse{}
;Sve.startSide=1,Sve.endSide=-1;const _ve=jie.define({create:()=>Ase.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(kve)&&(e=e.update({
add:[Sve.range(n.value,n.value+1)]}));return e}});const Ave="()[]{}<>"
;function Tve(e){
for(let t=0;t<Ave.length;t+=2)if(Ave.charCodeAt(t)==e)return Ave.charAt(t+1)
;return gie(e<128?e:e+1)}function Eve(e,t){
return e.languageDataAt("closeBrackets",t)[0]||xve}
const Cve="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),$ve=Vde.inputHandler.of(((e,t,n,r)=>{
if((Cve?e.composing:e.compositionStarted)||e.state.readOnly)return!1
;let a=e.state.selection.main
;if(r.length>2||2==r.length&&1==vie(mie(r,0))||t!=a.from||n!=a.to)return!1
;let o=function(e,t){
let n=Eve(e,e.selection.main.head),r=n.brackets||xve.brackets;for(let a of r){
let o=Tve(mie(a,0))
;if(t==a)return o==a?Rve(e,a,r.indexOf(a+a+a)>-1,n):Mve(e,a,o,n.before||xve.before)
;if(t==o&&Ive(e,e.selection.main.from))return Nve(e,a,o)}return null}(e.state,r)
;return!!o&&(e.dispatch(o),!0)})),Pve=[{key:"Backspace",
run:({state:e,dispatch:t})=>{if(e.readOnly)return!1
;let n=Eve(e,e.selection.main.head).brackets||xve.brackets,r=null,a=e.changeByRange((t=>{
if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t)
;return vie(mie(n,0))==n.length?n:n.slice(1)}(e.doc,t.head)
;for(let a of n)if(a==r&&Dve(e.doc,t.head)==Tve(mie(a,0)))return{changes:{
from:t.head-a.length,to:t.head+a.length},range:Cie.cursor(t.head-a.length)}}
return{range:r=t}}));return r||t(e.update(a,{scrollIntoView:!0,
userEvent:"delete.backward"})),!r}}];function Ive(e,t){let n=!1
;return e.field(_ve).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}
function Dve(e,t){let n=e.sliceString(t,t+2);return n.slice(0,vie(mie(n,0)))}
function Mve(e,t,n,r){let a=null,o=e.changeByRange((o=>{if(!o.empty)return{
changes:[{insert:t,from:o.from},{insert:n,from:o.to}],
effects:kve.of(o.to+t.length),range:Cie.range(o.anchor+t.length,o.head+t.length)
};let i=Dve(e.doc,o.head);return!i||/\s/.test(i)||r.indexOf(i)>-1?{changes:{
insert:t+n,from:o.head},effects:kve.of(o.head+t.length),
range:Cie.cursor(o.head+t.length)}:{range:a=o}}));return a?null:e.update(o,{
scrollIntoView:!0,userEvent:"input.type"})}function Nve(e,t,n){
let r=null,a=e.changeByRange((t=>t.empty&&Dve(e.doc,t.head)==n?{changes:{
from:t.head,to:t.head+n.length,insert:n},range:Cie.cursor(t.head+n.length)}:r={
range:t}));return r?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}
function Rve(e,t,n,r){
let a=r.stringPrefixes||xve.stringPrefixes,o=null,i=e.changeByRange((r=>{
if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],
effects:kve.of(r.to+t.length),range:Cie.range(r.anchor+t.length,r.head+t.length)
};let i,s=r.head,l=Dve(e.doc,s);if(l==t){if(Lve(e,s))return{changes:{insert:t+t,
from:s},effects:kve.of(s+t.length),range:Cie.cursor(s+t.length)};if(Ive(e,s)){
let r=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,
to:s+r.length,insert:r},range:Cie.cursor(s+r.length)}}}else{
if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(i=Bve(e,s-2*t.length,a))>-1&&Lve(e,i))return{
changes:{insert:t+t+t+t,from:s},effects:kve.of(s+t.length),
range:Cie.cursor(s+t.length)}
;if(e.charCategorizer(s)(l)!=gse.Word&&Bve(e,s,a)>-1&&!function(e,t,n,r){
let a=Mfe(e).resolveInner(t,-1),o=r.reduce(((e,t)=>Math.max(e,t.length)),0)
;for(let i=0;i<5;i++){
let i=e.sliceDoc(a.from,Math.min(a.to,a.from+n.length+o)),s=i.indexOf(n)
;if(!s||s>-1&&r.indexOf(i.slice(0,s))>-1){let t=a.firstChild
;for(;t&&t.from==a.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 l=a.to==t&&a.parent;if(!l)break;a=l}return!1}(e,s,t,a))return{changes:{
insert:t+t,from:s},effects:kve.of(s+t.length),range:Cie.cursor(s+t.length)}}
return{range:o=r}}));return o?null:e.update(i,{scrollIntoView:!0,
userEvent:"input.type"})}function Lve(e,t){let n=Mfe(e).resolveInner(t+1)
;return n.parent&&n.from==t}function Bve(e,t,n){let r=e.charCategorizer(t)
;if(r(e.sliceDoc(t-1,t))!=gse.Word)return t;for(let a of n){let n=t-a.length
;if(e.sliceDoc(n,t)==a&&r(e.sliceDoc(n-1,n))!=gse.Word)return n}return-1}
const jve=[{key:"Ctrl-Space",run:Jge},{mac:"Alt-`",run:Jge},{key:"Escape",
run:e=>{let t=e.state.field(Xge,!1)
;return!(!t||!t.active.some((e=>0!=e.state)))&&(e.dispatch({effects:Ege.of(null)
}),!0)}},{key:"ArrowDown",run:Kge(!0)},{key:"ArrowUp",run:Kge(!1)},{
key:"PageDown",run:Kge(!0,"page")},{key:"PageUp",run:Kge(!1,"page")},{
key:"Enter",run:e=>{let t=e.state.field(Xge,!1)
;return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(Pge).interactionDelay)&&Gge(e,t.open.options[t.open.selected])
}
}],Uve=Qie.highest(epe.computeN([Pge],(e=>e.facet(Pge).defaultKeymap?[jve]:[]))),zve=ose.define(),Zve=ose.define(),Fve=Iie.define(),Hve=Iie.define({
combine:e=>wse(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)})}),Qve=jie.define({
create:()=>lbe.empty,update(e,t){let n=t.state.facet(Hve),r=t.annotation(zve)
;if(r){let a=Kve.fromTransaction(t,r.selection),o=r.side,i=0==o?e.undone:e.done
;return i=a?Jve(i,i.length,n.minDepth,a):rbe(i,t.startState.selection),
new lbe(0==o?r.rest:i,0==o?i:r.rest)}let a=t.annotation(Zve)
;if("full"!=a&&"before"!=a||(e=e.isolate()),
!1===t.annotation(cse.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc)
;let o=Kve.fromTransaction(t),i=t.annotation(cse.time),s=t.annotation(cse.userEvent)
;return o?e=e.addChanges(o,i,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,i,s,n.newGroupDelay)),
"full"!=a&&"after"!=a||(e=e.isolate()),e},toJSON:e=>({
done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}),
fromJSON:e=>new lbe(e.done.map(Kve.fromJSON),e.undone.map(Kve.fromJSON))})
;function Vve(e={}){return[Qve,Hve.of(e),Vde.domEventHandlers({beforeinput(e,t){
let n="historyUndo"==e.inputType?Wve:"historyRedo"==e.inputType?Xve:null
;return!!n&&(e.preventDefault(),n(t))}})]}function qve(e,t){
return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1
;let a=n.field(Qve,!1);if(!a)return!1;let o=a.pop(e,n,t);return!!o&&(r(o),!0)}}
const Wve=qve(0,!1),Xve=qve(1,!1),Gve=qve(0,!0),Yve=qve(1,!0);class Kve{
constructor(e,t,n,r,a){
this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,
this.selectionsAfter=a}setSelAfter(e){
return new Kve(this.changes,this.effects,this.mapped,this.startSelection,e)}
toJSON(){var e,t,n;return{
changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),
mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),
startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),
selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){
return new Kve(e.changes&&wie.fromJSON(e.changes),[],e.mapped&&Oie.fromJSON(e.mapped),e.startSelection&&Cie.fromJSON(e.startSelection),e.selectionsAfter.map(Cie.fromJSON))
}static fromTransaction(e,t){let n=tbe;for(let r of e.startState.facet(Fve)){
let t=r(e);t.length&&(n=n.concat(t))}
return!n.length&&e.changes.empty?null:new Kve(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,tbe)
}static selection(e){return new Kve(void 0,tbe,void 0,void 0,e)}}
function Jve(e,t,n,r){let a=t+1>n+20?t-n-1:0,o=e.slice(a,t);return o.push(r),o}
function ebe(e,t){return e.length?t.length?e.concat(t):e:t}const tbe=[],nbe=200
;function rbe(e,t){if(e.length){
let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-nbe))
;return r.length&&r[r.length-1].eq(t)?e:(r.push(t),
Jve(e,e.length-1,1e9,n.setSelAfter(r)))}return[Kve.selection([t])]}
function abe(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 obe(e,t){if(!e.length)return e;let n=e.length,r=tbe;for(;n;){
let a=ibe(e[n-1],t,r);if(a.changes&&!a.changes.empty||a.effects.length){
let t=e.slice(0,n);return t[n-1]=a,t}t=a.mapped,n--,r=a.selectionsAfter}
return r.length?[Kve.selection(r)]:tbe}function ibe(e,t,n){
let r=ebe(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):tbe,n)
;if(!e.changes)return Kve.selection(r)
;let a=e.changes.map(t),o=t.mapDesc(e.changes,!0),i=e.mapped?e.mapped.composeDesc(o):o
;return new Kve(a,lse.mapEffects(e.effects,t),i,e.startSelection.map(o),r)}
const sbe=/^(input\.type|delete)($|\.)/;class lbe{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 lbe(this.done,this.undone):this}addChanges(e,t,n,r,a){
let o=this.done,i=o[o.length-1]
;return o=i&&i.changes&&!i.changes.empty&&e.changes&&(!n||sbe.test(n))&&(!i.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(a,function(e,t){
let n=[],r=!1
;return e.iterChangedRanges(((e,t)=>n.push(e,t))),t.iterChangedRanges(((e,t,a,o)=>{
for(let i=0;i<n.length;){let e=n[i++],t=n[i++];o>=e&&a<=t&&(r=!0)}})),r
}(i.changes,e.changes))||"input.type.compose"==n)?Jve(o,o.length-1,r.minDepth,new Kve(e.changes.compose(i.changes),ebe(lse.mapEffects(e.effects,i.changes),i.effects),i.mapped,i.startSelection,tbe)):Jve(o,o.length,r.minDepth,e),
new lbe(o,tbe,t,n)}addSelection(e,t,n,r){
let a=this.done.length?this.done[this.done.length-1].selectionsAfter:tbe
;return a.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(o=a[a.length-1],
i=e,
o.ranges.length==i.ranges.length&&0===o.ranges.filter(((e,t)=>e.empty!=i.ranges[t].empty)).length)?this:new lbe(rbe(this.done,e),this.undone,t,n)
;var o,i}addMapping(e){
return new lbe(obe(this.done,e),obe(this.undone,e),this.prevTime,this.prevUserEvent)
}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null
;let a=r[r.length-1],o=a.selectionsAfter[0]||t.selection
;if(n&&a.selectionsAfter.length)return t.update({
selection:a.selectionsAfter[a.selectionsAfter.length-1],annotations:zve.of({
side:e,rest:abe(r),selection:o}),userEvent:0==e?"select.undo":"select.redo",
scrollIntoView:!0});if(a.changes){let n=1==r.length?tbe:r.slice(0,r.length-1)
;return a.mapped&&(n=obe(n,a.mapped)),t.update({changes:a.changes,
selection:a.startSelection,effects:a.effects,annotations:zve.of({side:e,rest:n,
selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}
return null}}lbe.empty=new lbe(tbe,tbe);const cbe=[{key:"Mod-z",run:Wve,
preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Xve,preventDefault:!0},{
linux:"Ctrl-Shift-z",run:Xve,preventDefault:!0},{key:"Mod-u",run:Gve,
preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Yve,preventDefault:!0
}],ube=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{
scrollIntoView:!0,userEvent:"input"})),!0);function dbe(e,t){let n=-1
;return e.changeByRange((r=>{let a=[];for(let i=r.from;i<=r.to;){
let o=e.doc.lineAt(i);o.number>n&&(r.empty||r.to>o.from)&&(t(o,a,r),n=o.number),
i=o.to+1}let o=e.changes(a);return{changes:a,
range:Cie.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}}))}const pbe={
key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(dbe(e,((t,n)=>{
n.push({from:t.from,insert:e.facet(Vfe)})})),{userEvent:"input.indent"})),!0),
shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(dbe(e,((t,n)=>{
let r=/^\s*/.exec(t.text)[0];if(!r)return
;let a=Bse(r,e.tabSize),o=0,i=Wfe(e,Math.max(0,a-qfe(e)))
;for(;o<r.length&&o<i.length&&r.charCodeAt(o)==i.charCodeAt(o);)o++;n.push({
from:t.from+o,to:t.from+r.length,insert:i.slice(o)})})),{
userEvent:"delete.dedent"})),!0)};class hbe{
constructor(e,t,n,r,a,o,i,s,l,c=0,u){
this.p=e,this.stack=t,this.state=n,this.reducePos=r,
this.pos=a,this.score=o,this.buffer=i,
this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){
return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`
}static start(e,t,n=0){let r=e.parser.context
;return new hbe(e,[],t,n,n,0,[],0,r?new fbe(r,r.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){var t
;let n=e>>19,r=65535&e,{parser:a}=this.p,o=this.reducePos<this.pos-25
;o&&this.setLookAhead(this.pos);let i=a.dynamicPrecedence(r)
;if(i&&(this.score+=i),
0==n)return this.pushState(a.getGoto(this.state,r,!0),this.reducePos),
r<a.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),
void this.reduceContext(r,this.reducePos)
;let s=this.stack.length-3*(n-1)-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-l
;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,
this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,
this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c))
;let u=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-u
;if(r<a.minRepeatTerm||131072&e){
let e=a.stateFlag(this.state,1)?this.pos:this.reducePos
;this.storeNode(r,l,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{
let e=this.stack[s-3];this.state=a.getGoto(e,r,!0)}
for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}
storeNode(e,t,n,r=4,a=!1){
if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){
let e=this,r=this.buffer.length
;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,
e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return
;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(a&&this.pos!=n){
let a=this.buffer.length;if(a>0&&0!=this.buffer[a-4]){let e=!1
;for(let t=a;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}
if(e)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],
this.buffer[a+1]=this.buffer[a-3],
this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],
a-=4,r>4&&(r-=4)}
this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=r
}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){
if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,
this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{
let a=e,{parser:o}=this.p
;(r>this.pos||t<=o.maxNode)&&(this.pos=r,o.stateFlag(a,1)||(this.reducePos=r)),
this.pushState(a,n),
this.shiftContext(t,n),t<=o.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){
65536&e?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 e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4
;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent
;return new hbe(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)
}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 mbe(this);;){
let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e)
;if(0==n)return!1;if(!(65536&n))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,a=0;a<t.length;a+=2)(r=t[a+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[a],r)
;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)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[]
;for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue
;let a=this.split()
;a.pushState(e,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(t[r],this.pos),
a.reducePos=this.pos,a.score-=200,n.push(a)}return n}forceReduce(){
let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1
;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,a=this.stack.length-3*n
;if(a<0||e.getGoto(this.stack[a],r,!1)<0){let e=this.findForcedReduction()
;if(null==e)return!1;t=e}
this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}
return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){
let{parser:e}=this.p,t=[],n=(r,a)=>{
if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{
if(393216&t);else if(65536&t){let n=(t>>19)-a;if(n>1){
let r=65535&t,a=this.stack.length-3*n
;if(a>=0&&e.getGoto(this.stack[a],r,!1)>=0)return n<<19|65536|r}}else{
let e=n(t,a+1);if(null!=e)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(3!=this.stack.length)return!1;let{parser:e}=this.p
;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}
restart(){
this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0
}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1
;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1
;return!0}get parser(){return this.p.parser}dialectEnabled(e){
return this.p.parser.dialect.flags[e]}shiftContext(e,t){
this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))
}reduceContext(e,t){
this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))
}emitContext(){let e=this.buffer.length-1
;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)
}emitLookAhead(){let e=this.buffer.length-1
;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)
}updateContext(e){if(e!=this.curContext.context){
let t=new fbe(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()
}}class fbe{constructor(e,t){
this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class mbe{
constructor(e){
this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}
reduce(e){let t=65535&e,n=e>>19
;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),
this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1)
;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}
class gbe{constructor(e,t,n){
this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,
0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){
return new gbe(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent
;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,
this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}
get start(){return this.buffer[this.index-3]}get end(){
return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}
next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){
return new gbe(this.stack,this.pos,this.index)}}function vbe(e,t=Uint16Array){
if("string"!=typeof e)return e;let n=null;for(let r=0,a=0;r<e.length;){let o=0
;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){o=65535;break}
t>=92&&t--,t>=34&&t--;let a=t-32;if(a>=46&&(a-=46,n=!0),o+=a,n)break;o*=46}
n?n[a++]=o:n=new t(o)}return n}class bbe{constructor(){
this.start=-1,this.value=-1,
this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}
const ybe=new bbe;class Obe{constructor(e,t){
this.input=e,this.ranges=t,this.chunk="",
this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,
this.next=-1,this.token=ybe,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,a=this.pos+e;for(;a<n.from;){
if(!r)return null;let e=this.ranges[--r];a-=n.from-e.to,n=e}
for(;t<0?a>n.to:a>=n.to;){if(r==this.ranges.length-1)return null
;let e=this.ranges[++r];a+=e.from-n.to,n=e}return a}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,n,r=this.chunkOff+e
;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{
let r=this.resolveOffset(e,1);if(null==r)return-1
;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{
let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e]
;this.chunk2=this.input.chunk(this.chunk2Pos=t),
t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),
n=this.chunk2.charCodeAt(0)}}
return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){
let n=t?this.resolveOffset(t,-1):this.pos
;if(null==n||n<this.token.start)throw new 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),t=this.pos+e.length
;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,
this.chunkPos=this.pos,this.chunkOff=0}}readNext(){
return this.chunkOff>=this.chunk.length&&(this.getChunk(),
this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)
}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){
if(this.rangeIndex==this.ranges.length-1)return this.setDone()
;e-=this.range.to-this.pos,
this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}
return this.pos+=e,
this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),
this.readNext()}setDone(){
return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],
this.chunk="",this.next=-1}reset(e,t){
if(t?(this.token=t,t.start=e,t.lookAhead=e+1,
t.value=t.extended=-1):this.token=ybe,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}}
class wbe{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p
;Sbe(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}
wbe.prototype.contextual=wbe.prototype.fallback=wbe.prototype.extend=!1
;class xbe{constructor(e,t,n){
this.precTable=t,this.elseToken=n,this.data="string"==typeof e?vbe(e):e}
token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,a=e.resolveOffset(1,1)
;if(Sbe(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break
;if(null==this.elseToken)return;if(n||r++,null==a)break;e.reset(a,e.token)}
r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}
xbe.prototype.contextual=wbe.prototype.fallback=wbe.prototype.extend=!1
;class kbe{constructor(e,t={}){
this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,
this.extend=!!t.extend}}function Sbe(e,t,n,r,a,o){
let i=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;s&e[i];){let n=e[i+1]
;for(let d=i+3;d<n;d+=2)if((e[d+1]&s)>0){let n=e[d]
;if(l.allows(n)&&(-1==t.token.value||t.token.value==n||Abe(n,t.token.value,a,o))){
t.acceptToken(n);break}}let r=t.next,c=0,u=e[i+2]
;if(!(t.next<0&&u>c&&65535==e[n+3*u-3])){for(;c<u;){
let a=c+u>>1,o=n+a+(a<<1),s=e[o],l=e[o+1]||65536;if(r<s)u=a;else{if(!(r>=l)){
i=e[o+2],t.advance();continue e}c=a+1}}break}i=e[n+3*u-1]}}function _be(e,t,n){
for(let r,a=t;65535!=(r=e[a]);a++)if(r==n)return a-t;return-1}
function Abe(e,t,n,r){let a=_be(n,r,t);return a<0||_be(n,r,e)<a}
const Tbe="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG)
;let Ebe=null;function Cbe(e,t,n){let r=e.cursor(bhe.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}}class $be{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?Cbe(e.tree,e.from+e.offset,1)-e.offset:e.from,
this.safeTo=e.openEnd?Cbe(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 a=n.children[r],o=this.start[t]+n.positions[r]
;if(o>e)return this.nextStart=o,null;if(a instanceof Ohe){if(o==e){
if(o<this.safeFrom)return null;let e=o+a.length;if(e<=this.safeTo){
let t=a.prop(dhe.lookAhead);if(!t||e+t<this.fragment.to)return a}}
this.index[t]++,
o+a.length>=Math.max(this.safeFrom,e)&&(this.trees.push(a),this.start.push(o),
this.index.push(0))}else this.index[t]++,this.nextStart=o+a.length}}}class Pbe{
constructor(e,t){
this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],
this.tokens=e.tokenizers.map((e=>new bbe))}getActions(e){
let t=0,n=null,{parser:r}=e.p,{tokenizers:a}=r,o=r.stateSlot(e.state,3),i=e.curContext?e.curContext.hash:0,s=0
;for(let l=0;l<a.length;l++){if(!(1<<l&o))continue;let r=a[l],c=this.tokens[l]
;if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=o||c.context!=i)&&(this.updateCachedToken(c,r,e),
c.mask=o,
c.context=i),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){
let a=t
;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),
!r.extend&&(n=c,t>a))break}}for(;this.actions.length>t;)this.actions.pop()
;return s&&e.setLookAhead(s),
n||e.pos!=this.stream.end||(n=new bbe,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 bbe,{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 a=t.specializers[r](this.stream.read(e.start,e.end),n)
;if(a>=0&&n.p.parser.dialect.allows(a>>1)){1&a?e.extended=a>>1:e.value=a>>1
;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){
for(let a=0;a<r;a+=3)if(this.actions[a]==e)return r
;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}
addActions(e,t,n,r){let{state:a}=e,{parser:o}=e.p,{data:i}=o
;for(let s=0;s<2;s++)for(let e=o.stateSlot(a,s?2:1);;e+=3){if(65535==i[e]){
if(1!=i[e+1]){0==r&&2==i[e+1]&&(r=this.putAction(Bbe(i,e+2),t,n,r));break}
e=Bbe(i,e+2)}i[e]==t&&(r=this.putAction(Bbe(i,e+1),t,n,r))}return r}}class Ibe{
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 Obe(t,r),this.tokens=new Pbe(e,this.stream),
this.topTerm=e.top[1];let{from:a}=r[0];this.stacks=[hbe.start(this,e.top[0],a)],
this.fragments=n.length&&this.stream.end-a>4*e.bufferLength?new $be(n,e.nodeSet):null
}get parsedPos(){return this.minStackPos}advance(){
let e,t,n=this.stacks,r=this.minStackPos,a=this.stacks=[]
;if(this.bigReductionCount>300&&1==n.length){let[e]=n
;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);
this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<n.length;o++){
let i=n[o];for(;;){if(this.tokens.mainToken=null,i.pos>r)a.push(i);else{
if(this.advanceStack(i,a,n))continue;{e||(e=[],t=[]),e.push(i)
;let n=this.tokens.getMainToken(i);t.push(n.value,n.end)}}break}}if(!a.length){
let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt
;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)
}return t}(e)
;if(t)return Tbe&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t)
;if(this.parser.strict)throw Tbe&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),
new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}
if(this.recovering&&e){
let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,a)
;if(n)return Tbe&&console.log("Force-finish "+this.stackID(n)),
this.stackToTree(n.forceAll())}if(this.recovering){
let e=1==this.recovering?1:3*this.recovering
;if(a.length>e)for(a.sort(((e,t)=>t.score-e.score));a.length>e;)a.pop()
;a.some((e=>e.reducePos>r))&&this.recovering--}else if(a.length>1){
e:for(let e=0;e<a.length-1;e++){let t=a[e];for(let n=e+1;n<a.length;n++){
let r=a[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){
if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){a.splice(e--,1)
;continue e}a.splice(n--,1)}}}a.length>12&&a.splice(12,a.length-12)}
this.minStackPos=a[0].pos
;for(let o=1;o<a.length;o++)a[o].pos<this.minStackPos&&(this.minStackPos=a[o].pos)
;return null}stopAt(e){
if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward")
;this.stoppedAt=e}advanceStack(e,t,n){
let r=e.pos,{parser:a}=this,o=Tbe?this.stackID(e)+" -> ":""
;if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null
;if(this.fragments){
let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0
;for(let i=this.fragments.nodeAt(r);i;){
let r=this.parser.nodeSet.types[i.type.id]==i.type?a.getGoto(e.state,i.type.id):-1
;if(r>-1&&i.length&&(!t||(i.prop(dhe.contextHash)||0)==n))return e.useNode(i,r),
Tbe&&console.log(o+this.stackID(e)+` (via reuse of ${a.getName(i.type.id)})`),!0
;if(!(i instanceof Ohe)||0==i.children.length||i.positions[0]>0)break
;let s=i.children[0];if(!(s instanceof Ohe&&0==i.positions[0]))break;i=s}}
let i=a.stateSlot(e.state,4)
;if(i>0)return e.reduce(i),Tbe&&console.log(o+this.stackID(e)+` (via always-reduce ${a.getName(65535&i)})`),
!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););
let s=this.tokens.getActions(e);for(let l=0;l<s.length;){
let i=s[l++],c=s[l++],u=s[l++],d=l==s.length||!n,p=d?e:e.split(),h=this.tokens.mainToken
;if(p.apply(i,c,h?h.start:p.pos,u),
Tbe&&console.log(o+this.stackID(p)+` (via ${65536&i?`reduce of ${a.getName(65535&i)}`:"shift"} for ${a.getName(c)} @ ${r}${p==e?"":", split"})`),
d)return!0;p.pos>r?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos
;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Dbe(e,t),
!0}}runRecovery(e,t,n){let r=null,a=!1;for(let o=0;o<e.length;o++){
let i=e[o],s=t[o<<1],l=t[1+(o<<1)],c=Tbe?this.stackID(i)+" -> ":""
;if(i.deadEnd){if(a)continue
;if(a=!0,i.restart(),Tbe&&console.log(c+this.stackID(i)+" (restarted)"),
this.advanceFully(i,n))continue}let u=i.split(),d=c
;for(let e=0;u.forceReduce()&&e<10;e++){
if(Tbe&&console.log(d+this.stackID(u)+" (via force-reduce)"),
this.advanceFully(u,n))break;Tbe&&(d=this.stackID(u)+" -> ")}
for(let e of i.recoverByInsert(s))Tbe&&console.log(c+this.stackID(e)+" (via recover-insert)"),
this.advanceFully(e,n)
;this.stream.end>i.pos?(l==i.pos&&(l++,s=0),i.recoverByDelete(s,l),
Tbe&&console.log(c+this.stackID(i)+` (via recover-delete ${this.parser.getName(s)})`),
Dbe(i,n)):(!r||r.score<i.score)&&(r=i)}return r}stackToTree(e){return e.close(),
Ohe.build({buffer:gbe.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=(Ebe||(Ebe=new WeakMap)).get(e)
;return t||Ebe.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}
function Dbe(e,t){for(let n=0;n<t.length;n++){let r=t[n]
;if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}
t.push(e)}class Mbe{constructor(e,t,n){
this.source=e,this.flags=t,this.disabled=n}allows(e){
return!this.disabled||0==this.disabled[e]}}const Nbe=e=>e;class Rbe{
constructor(e){
this.start=e.start,this.shift=e.shift||Nbe,this.reduce=e.reduce||Nbe,
this.reuse=e.reuse||Nbe,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}
class Lbe extends Uhe{constructor(e){
if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`)
;let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length
;for(let i=0;i<e.repeatNodeCount;i++)t.push("")
;let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),r=[]
;for(let i=0;i<t.length;i++)r.push([]);function a(e,t,n){
r[e].push([t,t.deserialize(String(n))])}
if(e.nodeProps)for(let i of e.nodeProps){let e=i[0]
;"string"==typeof e&&(e=dhe[e]);for(let t=1;t<i.length;){let n=i[t++]
;if(n>=0)a(n,e,i[t++]);else{let r=i[t+-n];for(let o=-n;o>0;o--)a(i[t++],e,r);t++
}}}this.nodeSet=new mhe(t.map(((t,a)=>fhe.define({
name:a>=this.minRepeatTerm?void 0:t,id:a,props:r[a],top:n.indexOf(a)>-1,
error:0==a,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1
})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),
this.strict=!1,this.bufferLength=lhe;let o=vbe(e.tokenData)
;this.context=e.context,
this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length)
;for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term
;this.specializers=this.specializerSpecs.map(jbe),
this.states=vbe(e.states,Uint32Array),
this.data=vbe(e.stateData),this.goto=vbe(e.goto),
this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new wbe(o,e):e)),
this.topRules=e.topRules,
this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,
this.tokenPrecTable=e.tokenPrec,
this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,
this.dialect=this.parseDialect(),
this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){
let r=new Ibe(this,e,t,n);for(let a of this.wrappers)r=a(r,e,t,n);return r}
getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let a=r[t+1];;){
let t=r[a++],o=1&t,i=r[a++];if(o&&n)return i
;for(let n=a+(t>>1);a<n;a++)if(r[a]==e)return i;if(o)return-1}}hasAction(e,t){
let n=this.data;for(let r=0;r<2;r++)for(let a,o=this.stateSlot(e,r?2:1);;o+=3){
if(65535==(a=n[o])){if(1!=n[o+1]){if(2==n[o+1])return Bbe(n,o+2);break}
a=n[o=Bbe(n,o+2)]}if(a==t||0==a)return Bbe(n,o+1)}return 0}stateSlot(e,t){
return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}
validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){
let n=this.stateSlot(e,4),r=n?t(n):void 0
;for(let a=this.stateSlot(e,1);null==r;a+=3){if(65535==this.data[a]){
if(1!=this.data[a+1])break;a=Bbe(this.data,a+2)}r=t(Bbe(this.data,a+1))}return r
}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){
if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Bbe(this.data,n+2)}
if(!(1&this.data[n+2])){let e=this.data[n+1]
;t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){
let t=Object.assign(Object.create(Lbe.prototype),this)
;if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){
let n=this.topRules[e.top]
;if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}
return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{
let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t
}))),e.specializers&&(t.specializers=this.specializers.slice(),
t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{
let a=e.specializers.find((e=>e.from==n.external));if(!a)return n
;let o=Object.assign(Object.assign({},n),{external:a.to})
;return t.specializers[r]=jbe(o),o
}))),e.contextTracker&&(t.context=e.contextTracker),
e.dialect&&(t.dialect=this.parseDialect(e.dialect)),
null!=e.strict&&(t.strict=e.strict),
e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),
null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){
return this.wrappers.length>0}getName(e){
return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)
}get eofTerm(){return this.maxNode+1}get topNode(){
return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){
let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){
let t=Object.keys(this.dialects),n=t.map((()=>!1))
;if(e)for(let a of e.split(" ")){let e=t.indexOf(a);e>=0&&(n[e]=!0)}let r=null
;for(let a=0;a<t.length;a++)if(!n[a])for(let e,n=this.dialects[t[a]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1
;return new Mbe(e,n,r)}static deserialize(e){return new Lbe(e)}}
function Bbe(e,t){return e[t]|e[t+1]<<16}function jbe(e){if(e.external){
let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}
const Ube=[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]
;function zbe(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Zbe(e){
return e>=48&&e<=57}const Fbe=new kbe(((e,t)=>{for(let n=!1,r=0,a=0;;a++){
let{next:o}=e
;if(zbe(o)||45==o||95==o||n&&Zbe(o))!n&&(45!=o||a>0)&&(n=!0),r===a&&45==o&&r++,
e.advance();else{if(92!=o||10==e.peek(1)){
n&&e.acceptToken(40==o?100:2==r&&t.canShift(2)?2:101);break}
e.advance(),e.next>-1&&e.advance(),n=!0}}})),Hbe=new kbe((e=>{
if(Ube.includes(e.peek(-1))){let{next:t}=e
;(zbe(t)||95==t||35==t||46==t||91==t||58==t&&zbe(e.peek(1))||45==t||38==t)&&e.acceptToken(99)
}})),Qbe=new kbe((e=>{if(!Ube.includes(e.peek(-1))){let{next:t}=e
;if(37==t&&(e.advance(),e.acceptToken(1)),zbe(t)){do{e.advance()
}while(zbe(e.next)||Zbe(e.next));e.acceptToken(1)}}})),Vbe=ofe({
"AtKeyword import charset namespace keyframes media supports":Afe.definitionKeyword,
"from to selector":Afe.keyword,NamespaceName:Afe.namespace,
KeyframeName:Afe.labelName,KeyframeRangeName:Afe.operatorKeyword,
TagName:Afe.tagName,ClassName:Afe.className,
PseudoClassName:Afe.constant(Afe.className),IdName:Afe.labelName,
"FeatureName PropertyName":Afe.propertyName,AttributeName:Afe.attributeName,
NumberLiteral:Afe.number,KeywordQuery:Afe.keyword,
UnaryQueryOp:Afe.operatorKeyword,"CallTag ValueName":Afe.atom,
VariableName:Afe.variableName,Callee:Afe.operatorKeyword,Unit:Afe.unit,
"UniversalSelector NestingSelector":Afe.definitionOperator,
MatchOp:Afe.compareOperator,"ChildOp SiblingOp, LogicOp":Afe.logicOperator,
BinOp:Afe.arithmeticOperator,Important:Afe.modifier,Comment:Afe.blockComment,
ColorLiteral:Afe.color,"ParenthesizedContent StringLiteral":Afe.string,
":":Afe.punctuation,"PseudoOp #":Afe.derefOperator,"; ,":Afe.separator,
"( )":Afe.paren,"[ ]":Afe.squareBracket,"{ }":Afe.brace}),qbe={__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},Wbe={__proto__:null,"@import":118,"@media":142,
"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Xbe={
__proto__:null,not:132,only:132},Gbe=Lbe.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:[Vbe],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:[Hbe,Qbe,Fbe,1,2,3,4,new xbe("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],
topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,
get:e=>qbe[e]||-1},{term:58,get:e=>Wbe[e]||-1},{term:101,get:e=>Xbe[e]||-1}],
tokenPrec:1200});let Ybe=null;function Kbe(){
if(!Ybe&&"object"==typeof document&&document.body){
let{style:e}=document.body,t=[],n=new Set
;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))),
n.has(r)||(t.push(r),n.add(r)));Ybe=t.sort().map((e=>({type:"property",label:e,
apply:e+": "})))}return Ybe||[]}
const Jbe=["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"].map((e=>({
type:"class",label:e
}))),eye=["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"].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"].map((e=>({
type:"constant",label:e
})))),tye=["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"].map((e=>({
type:"type",label:e
}))),nye=["@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}))),rye=/^(\w[\w-]*|-\w[\w-]*|)$/,aye=/^-(-[\w-]*)?$/
;const oye=new Bhe,iye=["Declaration"];function sye(e){for(let t=e;;){
if(t.type.isTop)return t;if(!(t=t.parent))return e}}function lye(e,t,n){
if(t.to-t.from>4096){let r=oye.get(t);if(r)return r
;let a=[],o=new Set,i=t.cursor(bhe.IncludeAnonymous);if(i.firstChild())do{
for(let t of lye(e,i.node,n))o.has(t.label)||(o.add(t.label),a.push(t))
}while(i.nextSibling());return oye.set(t,a),a}{let r=[],a=new Set
;return t.cursor().iterate((t=>{var o
;if(n(t)&&t.matchContext(iye)&&":"==(null===(o=t.node.nextSibling)||void 0===o?void 0:o.name)){
let n=e.sliceString(t.from,t.to);a.has(n)||(a.add(n),r.push({label:n,
type:"variable"}))}})),r}}const cye=(e=>t=>{
let{state:n,pos:r}=t,a=Mfe(n).resolveInner(r,-1),o=a.type.isError&&a.from==a.to-1&&"-"==n.doc.sliceString(a.from,a.to)
;if("PropertyName"==a.name||(o||"TagName"==a.name)&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{
from:a.from,options:Kbe(),validFor:rye};if("ValueName"==a.name)return{
from:a.from,options:eye,validFor:rye};if("PseudoClassName"==a.name)return{
from:a.from,options:Jbe,validFor:rye};if(e(a)||(t.explicit||o)&&function(e,t){
var n
;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1
;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild
;return"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)
}(a,n.doc))return{from:e(a)||o?a.from:r,options:lye(n.doc,sye(a),e),validFor:aye
};if("TagName"==a.name){
for(let{parent:e}=a;e;e=e.parent)if("Block"==e.name)return{from:a.from,
options:Kbe(),validFor:rye};return{from:a.from,options:tye,validFor:rye}}
if("AtKeyword"==a.name)return{from:a.from,options:nye,validFor:rye}
;if(!t.explicit)return null;let i=a.resolve(r),s=i.childBefore(r)
;return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:r,options:Jbe,
validFor:rye}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:r,
options:eye,validFor:rye}:"Block"==i.name||"Styles"==i.name?{from:r,
options:Kbe(),validFor:rye}:null})((e=>"VariableName"==e.name)),uye=Dfe.define({
name:"css",parser:Gbe.configure({props:[Yfe.add({Declaration:ome()}),lme.add({
"Block KeyframeList":cme})]}),languageData:{commentTokens:{block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function dye(){
return new Hfe(uye,uye.data.of({autocomplete:cye}))}
const pye=20,hye=22,fye=23,mye=24,gye=26,vye=27,bye=28,yye=31,Oye=34,wye=37,xye={
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},kye={
dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,
th:!0,tr:!0},Sye={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}};function _ye(e){return 9==e||10==e||13==e||32==e}
let Aye=null,Tye=null,Eye=0;function Cye(e,t){let n=e.pos+t
;if(Eye==n&&Tye==e)return Aye;let r=e.peek(t);for(;_ye(r);)r=e.peek(++t)
;let a=""
;for(;45==(o=r)||46==o||58==o||o>=65&&o<=90||95==o||o>=97&&o<=122||o>=161;)a+=String.fromCharCode(r),
r=e.peek(++t);var o
;return Tye=e,Eye=n,Aye=a?a.toLowerCase():r==$ye||r==Pye?void 0:null}
const $ye=63,Pye=33;function Iye(e,t){this.name=e,this.parent=t}
const Dye=[6,10,7,8,9],Mye=new Rbe({start:null,
shift:(e,t,n,r)=>Dye.indexOf(t)>-1?new Iye(Cye(r,1)||"",e):e,
reduce:(e,t)=>t==pye&&e?e.parent:e,reuse(e,t,n,r){let a=t.type.id
;return 6==a||36==a?new Iye(Cye(r,1)||"",e):e},strict:!1}),Nye=new kbe(((e,t)=>{
if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance()
;let n=47==e.next;n&&e.advance();let r=Cye(e,0);if(void 0===r)return
;if(!r)return e.acceptToken(n?14:6);let a=t.context?t.context.name:null;if(n){
if(r==a)return e.acceptToken(11);if(a&&kye[a])return e.acceptToken(57,-2)
;if(t.dialectEnabled(0))return e.acceptToken(12)
;for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{
if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8)
;if("textarea"==r)return e.acceptToken(9)
;if(xye.hasOwnProperty(r))return e.acceptToken(10)
;a&&Sye[a]&&Sye[a][r]?e.acceptToken(57,-1):e.acceptToken(6)}}),{contextual:!0
}),Rye=new kbe((e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58)
;break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>=3&&e.acceptToken(58,-2)
;break}t=0}e.advance()}}));const Lye=new kbe(((e,t)=>{
if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){
for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context)
;e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}))
;function Bye(e,t,n){let r=2+e.length;return new kbe((a=>{
for(let o=0,i=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(t);break}
if(0==o&&60==a.next||1==o&&47==a.next||o>=2&&o<r&&a.next==e.charCodeAt(o-2))o++,
i++;else if(2!=o&&o!=r||!_ye(a.next)){if(o==r&&62==a.next){
s>i?a.acceptToken(t,-i):a.acceptToken(n,-(i-2));break}
if((10==a.next||13==a.next)&&s){a.acceptToken(t,1);break}o=i=0}else i++
;a.advance()}}))}
const jye=Bye("script",54,1),Uye=Bye("style",55,2),zye=Bye("textarea",56,3),Zye=ofe({
"Text RawText":Afe.content,
"StartTag StartCloseTag SelfClosingEndTag EndTag":Afe.angleBracket,
TagName:Afe.tagName,"MismatchedCloseTag/TagName":[Afe.tagName,Afe.invalid],
AttributeName:Afe.attributeName,
"AttributeValue UnquotedAttributeValue":Afe.attributeValue,
Is:Afe.definitionOperator,"EntityReference CharacterReference":Afe.character,
Comment:Afe.blockComment,ProcessingInst:Afe.processingInstruction,
DoctypeDecl:Afe.documentMeta}),Fye=Lbe.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:Mye,
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:[Zye],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:[jye,Uye,zye,Lye,Nye,Rye,0,1,2,3,4,5],topRules:{Document:[0,15]},
dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function Hye(e,t){
let n=Object.create(null);for(let r of e.getChildren(fye)){
let e=r.getChild(mye),a=r.getChild(gye)||r.getChild(vye)
;e&&(n[t.read(e.from,e.to)]=a?a.type.id==gye?t.read(a.from+1,a.to-1):t.read(a.from,a.to):"")
}return n}function Qye(e,t){let n=e.getChild(hye)
;return n?t.read(n.from,n.to):" "}function Vye(e,t,n){let r
;for(let a of n)if(!a.attrs||a.attrs(r||(r=Hye(e.node.parent.firstChild,t))))return{
parser:a.parser};return null}function qye(e=[],t=[]){let n=[],r=[],a=[],o=[]
;for(let l of e){
("script"==l.tag?n:"style"==l.tag?r:"textarea"==l.tag?a:o).push(l)}
let i=t.length?Object.create(null):null
;for(let l of t)(i[l.name]||(i[l.name]=[])).push(l);return s=(e,t)=>{
let s=e.type.id;if(s==bye)return Vye(e,t,n);if(s==yye)return Vye(e,t,r)
;if(s==Oye)return Vye(e,t,a);if(s==pye&&o.length){
let n,r=e.node,a=r.firstChild,i=a&&Qye(a,t)
;if(i)for(let e of o)if(e.tag==i&&(!e.attrs||e.attrs(n||(n=Hye(a,t))))){
let t=r.lastChild,n=t.type.id==wye?t.from:r.to;if(n>a.to)return{parser:e.parser,
overlay:[{from:a.to,to:n}]}}}if(i&&s==fye){let n,r=e.node;if(n=r.firstChild){
let e=i[t.read(n.from,n.to)];if(e)for(let n of e){
if(n.tagName&&n.tagName!=Qye(r.parent,t))continue;let e=r.lastChild
;if(e.type.id==gye){let t=e.from+1,r=e.lastChild,a=e.to-(r&&r.isError?0:1)
;if(a>t)return{parser:n.parser,overlay:[{from:t,to:a}]}
}else if(e.type.id==vye)return{parser:n.parser,overlay:[{from:e.from,to:e.to}]}}
}}return null},(e,t,n,r)=>new Vhe(e,s,t,n,r);var s}
const Wye=[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],Xye=new Rbe({
start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1
}),Gye=new kbe(((e,t)=>{let{next:n}=e
;(125==n||-1==n||t.context)&&e.acceptToken(313)}),{contextual:!0,fallback:!0
}),Yye=new kbe(((e,t)=>{let n,{next:r}=e
;Wye.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(312))
}),{contextual:!0}),Kye=new kbe(((e,t)=>{let{next:n}=e;if(43==n||45==n){
if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1)
;e.acceptToken(n?1:2)}
}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))
}),{contextual:!0});function Jye(e,t){
return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}
const eOe=new kbe(((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return
;if(e.advance(),47==e.next)return;let n=0
;for(;Wye.indexOf(e.next)>-1;)e.advance(),n++;if(Jye(e.next,!0)){
for(e.advance(),n++;Jye(e.next,!1);)e.advance(),n++
;for(;Wye.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return
;for(let t=0;;t++){if(7==t){if(!Jye(e.next,!0))return;break}
if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)
})),tOe=ofe({"get set async static":Afe.modifier,
"for while do if else switch try catch finally return throw break continue default case":Afe.controlKeyword,
"in of await yield void typeof delete instanceof":Afe.operatorKeyword,
"let var const using function class extends":Afe.definitionKeyword,
"import export from":Afe.moduleKeyword,"with debugger as new":Afe.keyword,
TemplateString:Afe.special(Afe.string),super:Afe.atom,BooleanLiteral:Afe.bool,
this:Afe.self,null:Afe.null,Star:Afe.modifier,VariableName:Afe.variableName,
"CallExpression/VariableName TaggedTemplateExpression/VariableName":Afe.function(Afe.variableName),
VariableDefinition:Afe.definition(Afe.variableName),Label:Afe.labelName,
PropertyName:Afe.propertyName,PrivatePropertyName:Afe.special(Afe.propertyName),
"CallExpression/MemberExpression/PropertyName":Afe.function(Afe.propertyName),
"FunctionDeclaration/VariableDefinition":Afe.function(Afe.definition(Afe.variableName)),
"ClassDeclaration/VariableDefinition":Afe.definition(Afe.className),
PropertyDefinition:Afe.definition(Afe.propertyName),
PrivatePropertyDefinition:Afe.definition(Afe.special(Afe.propertyName)),
UpdateOp:Afe.updateOperator,"LineComment Hashbang":Afe.lineComment,
BlockComment:Afe.blockComment,Number:Afe.number,String:Afe.string,
Escape:Afe.escape,ArithOp:Afe.arithmeticOperator,LogicOp:Afe.logicOperator,
BitOp:Afe.bitwiseOperator,CompareOp:Afe.compareOperator,RegExp:Afe.regexp,
Equals:Afe.definitionOperator,Arrow:Afe.function(Afe.punctuation),
": Spread":Afe.punctuation,"( )":Afe.paren,"[ ]":Afe.squareBracket,
"{ }":Afe.brace,"InterpolationStart InterpolationEnd":Afe.special(Afe.brace),
".":Afe.derefOperator,", ;":Afe.separator,"@":Afe.meta,TypeName:Afe.typeName,
TypeDefinition:Afe.definition(Afe.typeName),
"type enum interface implements namespace module declare":Afe.definitionKeyword,
"abstract global Privacy readonly override":Afe.modifier,
"is keyof unique infer":Afe.operatorKeyword,
JSXAttributeValue:Afe.attributeValue,JSXText:Afe.content,
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Afe.angleBracket,
"JSXIdentifier JSXNameSpacedName":Afe.tagName,
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Afe.attributeName,
"JSXBuiltin/JSXIdentifier":Afe.standard(Afe.tagName)}),nOe={__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
},rOe={__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},aOe={__proto__:null,"<":187},oOe=Lbe.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:Xye,
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:[tOe],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:[Yye,Kye,eOe,2,3,4,5,6,7,8,9,10,11,12,13,14,Gye,new xbe("$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 xbe("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=>nOe[e]||-1},{term:338,get:e=>rOe[e]||-1},{term:92,
get:e=>aOe[e]||-1}],tokenPrec:14749
}),iOe=[Ove("function ${name}(${params}) {\n\t${}\n}",{label:"function",
detail:"definition",type:"keyword"
}),Ove("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{
label:"for",detail:"loop",type:"keyword"
}),Ove("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",
detail:"of loop",type:"keyword"}),Ove("do {\n\t${}\n} while (${})",{label:"do",
detail:"loop",type:"keyword"}),Ove("while (${}) {\n\t${}\n}",{label:"while",
detail:"loop",type:"keyword"
}),Ove("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",
detail:"/ catch block",type:"keyword"}),Ove("if (${}) {\n\t${}\n}",{label:"if",
detail:"block",type:"keyword"}),Ove("if (${}) {\n\t${}\n} else {\n\t${}\n}",{
label:"if",detail:"/ else block",type:"keyword"
}),Ove("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{
label:"class",detail:"definition",type:"keyword"
}),Ove('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",
type:"keyword"}),Ove('import ${name} from "${module}"\n${}',{label:"import",
detail:"default",type:"keyword"
})],sOe=iOe.concat([Ove("interface ${name} {\n\t${}\n}",{label:"interface",
detail:"definition",type:"keyword"}),Ove("type ${name} = ${type}",{label:"type",
detail:"definition",type:"keyword"}),Ove("enum ${name} {\n\t${}\n}",{
label:"enum",detail:"definition",type:"keyword"
})]),lOe=new Bhe,cOe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"])
;function uOe(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition")
;return r&&n(r,e),!0}}const dOe=["FunctionDeclaration"],pOe={
FunctionDeclaration:uOe("function"),ClassDeclaration:uOe("class"),
ClassExpression:()=>!0,EnumDeclaration:uOe("constant"),
TypeAliasDeclaration:uOe("type"),NamespaceDeclaration:uOe("namespace"),
VariableDefinition(e,t){e.matchContext(dOe)||t(e,"variable")},
TypeDefinition(e,t){t(e,"type")},__proto__:null};function hOe(e,t){
let n=lOe.get(t);if(n)return n;let r=[],a=!0;function o(t,n){
let a=e.sliceString(t.from,t.to);r.push({label:a,type:n})}
return t.cursor(bhe.IncludeAnonymous).iterate((t=>{if(a)a=!1;else if(t.name){
let e=pOe[t.name];if(e&&e(t,o)||cOe.has(t.name))return!1
}else if(t.to-t.from>8192){for(let n of hOe(e,t.node))r.push(n);return!1}
})),lOe.set(t,r),r}
const fOe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,mOe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."]
;function gOe(e){let t=Mfe(e.state).resolveInner(e.pos,-1)
;if(mOe.indexOf(t.name)>-1)return null
;let n="VariableName"==t.name||t.to-t.from<20&&fOe.test(e.state.sliceDoc(t.from,t.to))
;if(!n&&!e.explicit)return null;let r=[]
;for(let a=t;a;a=a.parent)cOe.has(a.name)&&(r=r.concat(hOe(e.state.doc,a)))
;return{options:r,from:n?t.from:e.pos,validFor:fOe}}const vOe=Dfe.define({
name:"javascript",parser:oOe.configure({props:[Yfe.add({IfStatement:ome({
except:/^\s*({|else\b)/}),TryStatement:ome({except:/^\s*({|catch\b|finally\b)/
}),LabeledStatement:e=>e.baseIndent,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:rme({closing:"}"}),
ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,
"Statement Property":ome({except:/^\s*{/}),JSXElement(e){
let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)
},JSXEscape(e){let t=/\s*\}/.test(e.textAfter)
;return e.lineIndent(e.node.from)+(t?0:e.unit)},
"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),lme.add({
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":cme,
BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{
brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}
}),bOe={test:e=>/^JSX/.test(e.name),facet:Cfe({commentTokens:{block:{open:"{/*",
close:"*/}"}}})},yOe=vOe.configure({dialect:"ts"
},"typescript"),OOe=vOe.configure({dialect:"jsx",
props:[$fe.add((e=>e.isTop?[bOe]:void 0))]}),wOe=vOe.configure({
dialect:"jsx ts",props:[$fe.add((e=>e.isTop?[bOe]:void 0))]},"typescript")
;let xOe=e=>({label:e,type:"keyword"})
;const kOe="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(xOe),SOe=kOe.concat(["declare","implements","private","protected","public"].map(xOe))
;function _Oe(e={}){
let t=e.jsx?e.typescript?wOe:OOe:e.typescript?yOe:vOe,n=e.typescript?sOe.concat(SOe):iOe.concat(kOe)
;return new Hfe(t,[vOe.data.of({autocomplete:(r=mOe,a=Oge(n),e=>{
for(let t=Mfe(e.state).resolveInner(e.pos,-1);t;t=t.parent){
if(r.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return a(e)})
}),vOe.data.of({autocomplete:gOe}),e.jsx?EOe:[]]);var r,a}
function AOe(e,t,n=e.length){
for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n))
;return""}
const TOe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),EOe=Vde.inputHandler.of(((e,t,n,r,a)=>{
if((TOe?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!vOe.isActiveAt(e.state,t,-1))return!1
;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t
;let n,{head:a}=e,o=Mfe(i).resolveInner(a-1,-1)
;if("JSXStartTag"==o.name&&(o=o.parent),
i.doc.sliceString(a-1,a)!=r||"JSXAttributeValue"==o.name&&o.to>a);else{
if(">"==r&&"JSXFragmentTag"==o.name)return{range:e,changes:{from:a,insert:"</>"}
};if("/"==r&&"JSXStartCloseTag"==o.name){let e=o.parent,r=e.parent
;if(r&&e.from==a-2&&((n=AOe(i.doc,r.firstChild,a))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){
let e=`${n}>`;return{range:Cie.cursor(a+e.length,-1),changes:{from:a,insert:e}}}
}else if(">"==r){let t=function(e){for(;;){
if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e
;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(o)
;if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(i.doc.sliceString(a,a+2))&&(n=AOe(i.doc,t,a)))return{
range:e,changes:{from:a,insert:`</${n}>`}}}}return{range:e}}))
;return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",
scrollIntoView:!0})]),!0)
})),COe=["_blank","_self","_top","_parent"],$Oe=["ascii","utf-8","utf-16","latin1","latin1"],POe=["get","post","put","delete"],IOe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],DOe=["true","false"],MOe={},NOe={
a:{attrs:{href:null,ping:null,type:null,media:null,target:COe,hreflang:null}},
abbr:MOe,address:MOe,area:{attrs:{alt:null,coords:null,href:null,target:null,
ping:null,media:null,hreflang:null,type:null,
shape:["default","rect","circle","poly"]}},article:MOe,aside:MOe,audio:{attrs:{
src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],
preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],
controls:["controls"]}},b:MOe,base:{attrs:{href:null,target:COe}},bdi:MOe,
bdo:MOe,blockquote:{attrs:{cite:null}},body:MOe,br:MOe,button:{attrs:{form:null,
formaction:null,name:null,value:null,autofocus:["autofocus"],
disabled:["autofocus"],formenctype:IOe,formmethod:POe,
formnovalidate:["novalidate"],formtarget:COe,type:["submit","reset","button"]}},
canvas:{attrs:{width:null,height:null}},caption:MOe,center:MOe,cite:MOe,
code:MOe,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:MOe,del:{attrs:{cite:null,datetime:null}},
details:{attrs:{open:["open"]}},dfn:MOe,div:MOe,dl:MOe,dt:MOe,em:MOe,embed:{
attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}
},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:MOe,
figure:MOe,footer:MOe,form:{attrs:{action:null,name:null,"accept-charset":$Oe,
autocomplete:["on","off"],enctype:IOe,method:POe,novalidate:["novalidate"],
target:COe}},h1:MOe,h2:MOe,h3:MOe,h4:MOe,h5:MOe,h6:MOe,head:{
children:["title","base","link","style","meta","script","noscript","command"]},
header:MOe,hgroup:MOe,hr:MOe,html:{attrs:{manifest:null}},i:MOe,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:IOe,formmethod:POe,formnovalidate:["novalidate"],formtarget:COe,
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:MOe,keygen:{attrs:{challenge:null,
form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],
keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:MOe,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:MOe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{
attrs:{content:null,charset:$Oe,
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:MOe,noscript:MOe,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:MOe,param:{attrs:{name:null,value:null}},pre:MOe,progress:{attrs:{
value:null,max:null}},q:{attrs:{cite:null}},rp:MOe,rt:MOe,ruby:MOe,samp:MOe,
script:{attrs:{type:["text/javascript"],src:null,async:["async"],
defer:["defer"],charset:$Oe}},section:MOe,select:{attrs:{form:null,name:null,
size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},
slot:{attrs:{name:null}},small:MOe,source:{attrs:{src:null,type:null,media:null}
},span:MOe,strong:MOe,style:{attrs:{type:["text/css"],media:null,scoped:null}},
sub:MOe,summary:MOe,sup:MOe,table:MOe,tbody:MOe,td:{attrs:{colspan:null,
rowspan:null,headers:null}},template:MOe,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:MOe,th:{attrs:{colspan:null,
rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:MOe,
time:{attrs:{datetime:null}},title:MOe,tr:MOe,track:{attrs:{src:null,label:null,
default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],
srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:MOe,
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:MOe},ROe={accesskey:null,class:null,contenteditable:DOe,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:DOe,autocorrect:DOe,autocapitalize:DOe,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":DOe,
"aria-autocomplete":["inline","list","both","none"],"aria-busy":DOe,
"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,
"aria-describedby":null,"aria-disabled":DOe,"aria-dropeffect":null,
"aria-expanded":["true","false","undefined"],"aria-flowto":null,
"aria-grabbed":["true","false","undefined"],"aria-haspopup":DOe,
"aria-hidden":DOe,"aria-invalid":["true","false","grammar","spelling"],
"aria-label":null,"aria-labelledby":null,"aria-level":null,
"aria-live":["off","polite","assertive"],"aria-multiline":DOe,
"aria-multiselectable":DOe,"aria-owns":null,"aria-posinset":null,
"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":DOe,
"aria-relevant":null,"aria-required":DOe,
"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
},LOe="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 Set of LOe)ROe[Set]=null;let BOe=class{constructor(e,t){
this.tags=Object.assign(Object.assign({},NOe),e),
this.globalAttrs=Object.assign(Object.assign({},ROe),t),
this.allTags=Object.keys(this.tags),
this.globalAttrNames=Object.keys(this.globalAttrs)}}
;function jOe(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,a=r&&r.getChild("TagName")
;return a?e.sliceString(a.from,Math.min(a.to,n)):""}function UOe(e,t=!1){
for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}
function zOe(e,t,n){let r=n.tags[jOe(e,UOe(t))]
;return(null==r?void 0:r.children)||n.allTags}function ZOe(e,t){let n=[]
;for(let r=UOe(t);r&&!r.type.isTop;r=UOe(r.parent)){let a=jOe(e,r)
;if(a&&"CloseTag"==r.lastChild.name)break
;a&&n.indexOf(a)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(a)}
return n}BOe.default=new BOe;const FOe=/^[:\-\.\w\u00b7-\uffff]*$/
;function HOe(e,t,n,r,a){let o=/\s*>/.test(e.sliceDoc(a,a+5))?"":">",i=UOe(n,!0)
;return{from:r,to:a,options:zOe(e.doc,i,t).map((e=>({label:e,type:"type"
}))).concat(ZOe(e.doc,n).map(((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",
boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function QOe(e,t,n,r){
let a=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,
options:ZOe(e.doc,t).map(((e,t)=>({label:e,apply:e+a,type:"type",boost:99-t}))),
validFor:FOe}}function VOe(e,t){
let{state:n,pos:r}=t,a=Mfe(n).resolveInner(r,-1),o=a.resolve(r)
;for(let i,s=r;o==a&&(i=a.childBefore(s));){let e=i.lastChild
;if(!e||!e.type.isError||e.from<e.to)break;o=a=i,s=e.from}
return"TagName"==a.name?a.parent&&/CloseTag$/.test(a.parent.name)?QOe(n,a,a.from,r):HOe(n,e,a,a.from,r):"StartTag"==a.name?HOe(n,e,a,r,r):"StartCloseTag"==a.name||"IncompleteCloseTag"==a.name?QOe(n,a,r,r):"OpenTag"==a.name||"SelfClosingTag"==a.name||"AttributeName"==a.name?function(e,t,n,r,a){
let o=UOe(n),i=o?t.tags[jOe(e.doc,o)]:null,s=i&&i.attrs?Object.keys(i.attrs):[]
;return{from:r,to:a,
options:(i&&!1===i.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((e=>({
label:e,type:"property"}))),validFor:FOe}
}(n,e,a,"AttributeName"==a.name?a.from:r,r):"Is"==a.name||"AttributeValue"==a.name||"UnquotedAttributeValue"==a.name?function(e,t,n,r,a){
var o
;let i,s=null===(o=n.parent)||void 0===o?void 0:o.getChild("AttributeName"),l=[]
;if(s){let o=e.sliceDoc(s.from,s.to),c=t.globalAttrs[o];if(!c){
let r=UOe(n),a=r?t.tags[jOe(e.doc,r)]:null
;c=(null==a?void 0:a.attrs)&&a.attrs[o]}if(c){
let t=e.sliceDoc(r,a).toLowerCase(),n='"',o='"'
;/^['"]/.test(t)?(i='"'==t[0]?/^[^"]*$/:/^[^']*$/,
n="",o=e.sliceDoc(a,a+1)==t[0]?"":t[0],t=t.slice(1),r++):i=/^[^\s<>='"]*$/
;for(let e of c)l.push({label:e,apply:n+e+o,type:"constant"})}}return{from:r,
to:a,options:l,validFor:i}
}(n,e,a,"Is"==a.name?r:a.from,r):!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name?null:function(e,t,n,r){
let a=[],o=0;for(let i of zOe(e.doc,n,t))a.push({label:"<"+i,type:"type"})
;for(let i of ZOe(e.doc,n))a.push({label:"</"+i+">",type:"type",boost:99-o++})
;return{from:r,to:r,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}
}(n,e,a,r)}function qOe(e){
let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new BOe(t,n):BOe.default
;return e=>VOe(r,e)}const WOe=vOe.parser.configure({top:"SingleExpression"
}),XOe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,
parser:yOe.parser},{tag:"script",
attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:OOe.parser},{
tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:wOe.parser},{
tag:"script",
attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),
parser:WOe},{tag:"script",
attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),
parser:vOe.parser},{tag:"style",
attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),
parser:uye.parser}],GOe=[{name:"style",parser:uye.parser.configure({top:"Styles"
})}].concat(LOe.map((e=>({name:e,parser:vOe.parser})))),YOe=Dfe.define({
name:"html",parser:Fye.configure({props:[Yfe.add({Element(e){
let t=/^(\s*)(<\/)?/.exec(e.textAfter)
;return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)
},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){
if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue()
;let t,n=null;for(let r=e.node;;){let e=r.lastChild
;if(!e||"Element"!=e.name||e.to!=r.to)break;n=r=e}
return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null
}}),lme.add({Element(e){let t=e.firstChild,n=e.lastChild
;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}
}),Fme.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{
commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},
indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),KOe=YOe.configure({
wrap:qye(XOe,GOe)})
;const JOe=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),ewe=Vde.inputHandler.of(((e,t,n,r,a)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!KOe.isActiveAt(e.state,t,-1))return!1
;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t,n,a
;let o,s=i.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,c=Mfe(i).resolveInner(l,-1)
;if(s&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(o=jOe(i.doc,r.parent,l))&&!JOe.has(o)){
return{range:e,changes:{from:l,to:l+(">"===i.doc.sliceString(l,l+1)?1:0),
insert:`</${o}>`}}}}else if(s&&"/"==r&&"IncompleteCloseTag"==c.name){
let e=c.parent
;if(c.from==l-2&&"CloseTag"!=(null===(a=e.lastChild)||void 0===a?void 0:a.name)&&(o=jOe(i.doc,e,l))&&!JOe.has(o)){
let e=l+(">"===i.doc.sliceString(l,l+1)?1:0),t=`${o}>`;return{
range:Cie.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([o,i.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),twe=ofe({
String:Afe.string,Number:Afe.number,"True False":Afe.bool,
PropertyName:Afe.propertyName,Null:Afe.null,",":Afe.separator,
"[ ]":Afe.squareBracket,"{ }":Afe.brace}),nwe=Lbe.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:[twe],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}),rwe=Dfe.define({
name:"json",parser:nwe.configure({props:[Yfe.add({Object:ome({except:/^\s*\}/}),
Array:ome({except:/^\s*\]/})}),lme.add({"Object Array":cme})]}),languageData:{
closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}})
;function awe(e){
return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}
let owe=null,iwe=null,swe=0;function lwe(e,t){let n=e.pos+t
;if(iwe==e&&swe==n)return owe;for(;9==(r=e.peek(t))||10==r||13==r||32==r;)t++
;var r;let a="";for(;;){let n=e.peek(t);if(!awe(n))break
;a+=String.fromCharCode(n),t++}return iwe=e,swe=n,owe=a||null}function cwe(e,t){
this.name=e,this.parent=t,this.hash=t?t.hash:0
;for(let n=0;n<e.length;n++)this.hash+=(this.hash<<4)+e.charCodeAt(n)+(e.charCodeAt(n)<<8)
}const uwe=new Rbe({start:null,shift:(e,t,n,r)=>1==t?new cwe(lwe(r,1)||"",e):e,
reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,n,r){let a=t.type.id
;return 1==a||13==a?new cwe(lwe(r,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1
}),dwe=new kbe(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance()
;let n=lwe(e,0);if(!n)return e.acceptToken(5)
;if(t.context&&n==t.context.name)return e.acceptToken(2)
;for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2)
;e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{
contextual:!0});function pwe(e,t){return new kbe((n=>{let r=0,a=t.charCodeAt(0)
;e:for(;!(n.next<0);n.advance(),r++)if(n.next==a){
for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue e;break}
r&&n.acceptToken(e)}))}
const hwe=pwe(35,"--\x3e"),fwe=pwe(36,"?>"),mwe=pwe(37,"]]>"),gwe=ofe({
Text:Afe.content,
"StartTag StartCloseTag EndTag SelfCloseEndTag":Afe.angleBracket,
TagName:Afe.tagName,"MismatchedCloseTag/TagName":[Afe.tagName,Afe.invalid],
AttributeName:Afe.attributeName,AttributeValue:Afe.attributeValue,
Is:Afe.definitionOperator,"EntityReference CharacterReference":Afe.character,
Comment:Afe.blockComment,ProcessingInst:Afe.processingInstruction,
DoctypeDecl:Afe.documentMeta,Cdata:Afe.special(Afe.string)
}),vwe=Lbe.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:uwe,
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:[gwe],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:[dwe,hwe,fwe,mwe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})
;function bwe(e,t){let n=t&&t.getChild("TagName")
;return n?e.sliceString(n.from,n.to):""}function ywe(e,t){let n=t&&t.firstChild
;return n&&"OpenTag"==n.name?bwe(e,n):""}function Owe(e){
for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}
let wwe=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"}))):[]}};const xwe=/^[:\-\.\w\u00b7-\uffff]*$/;function kwe(e){
return Object.assign(Object.assign({type:"property"},e.completion||{}),{
label:e.name})}function Swe(e){return"string"==typeof e?{label:`"${e}"`,
type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{
label:`"${e.label}"`})}function _we(e,t){let n=[],r=[],a=Object.create(null)
;for(let l of t){let e=kwe(l)
;n.push(e),l.global&&r.push(e),l.values&&(a[l.name]=l.values.map(Swe))}
let o=[],i=[],s=Object.create(null);for(let l of e){let e=r,t=a
;l.attributes&&(e=e.concat(l.attributes.map((e=>"string"==typeof e?n.find((t=>t.label==e))||{
label:e,type:"property"
}:(e.values&&(t==a&&(t=Object.create(t)),t[e.name]=e.values.map(Swe)),
kwe(e))))));let c=new wwe(l,e,t);s[c.name]=c,o.push(c),l.top&&i.push(c)}
i.length||(i=o);for(let l=0;l<o.length;l++){let t=e[l],n=o[l]
;if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=o
}return e=>{var t;let{doc:n}=e.state,l=function(e,t){var n
;let r=Mfe(e).resolveInner(t,-1),a=null
;for(let o=r;!a&&o.parent;o=o.parent)"OpenTag"!=o.name&&"CloseTag"!=o.name&&"SelfClosingTag"!=o.name&&"MismatchedCloseTag"!=o.name||(a=o)
;if(a&&(a.to>t||a.lastChild.type.isError)){let e=a.parent
;if("TagName"==r.name)return"CloseTag"==a.name||"MismatchedCloseTag"==a.name?{
type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,
context:Owe(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,
context:a};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,
context:a};let n=r==a||"Attribute"==r.name?r.childBefore(t):r
;return"StartTag"==(null==n?void 0:n.name)?{type:"openTag",from:t,context:Owe(e)
}:"StartCloseTag"==(null==n?void 0:n.name)&&n.to<=t?{type:"closeTag",from:t,
context:e}:"Is"==(null==n?void 0:n.name)?{type:"attrValue",from:t,context:a}:n?{
type:"attrName",from:t,context:a}:null}if("StartCloseTag"==r.name)return{
type:"closeTag",from:t,context:r.parent}
;for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent
;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,
context:"Element"==r.name?r:Owe(r)}:null}(e.state,e.pos)
;if(!l||"tag"==l.type&&!e.explicit)return null;let{type:c,from:u,context:d}=l
;if("openTag"==c){let e=i,t=ywe(n,d);if(t){let n=s[t]
;e=(null==n?void 0:n.children)||o}return{from:u,
options:e.map((e=>e.completion)),validFor:xwe}}if("closeTag"==c){let r=ywe(n,d)
;return r?{from:u,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),
options:[(null===(t=s[r])||void 0===t?void 0:t.closeNameCompletion)||{
label:r+">",type:"type"}],validFor:xwe}:null}if("attrName"==c){let e=s[bwe(n,d)]
;return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:xwe}}
if("attrValue"==c){let t=function(e,t,n){
let r=t&&t.getChildren("Attribute").find((e=>e.from<=n&&e.to>=n)),a=r&&r.getChild("AttributeName")
;return a?e.sliceString(a.from,a.to):""}(n,d,u);if(!t)return null
;let r=s[bwe(n,d)],o=((null==r?void 0:r.attrValues)||a)[t];return o&&o.length?{
from:u,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:o,
validFor:/^"[^"]*"?$/}:null}if("tag"==c){
let t=ywe(n,d),r=s[t],a=[],l=d&&d.lastChild
;!t||l&&"CloseTag"==l.name&&bwe(n,l)==t||a.push(r?r.closeCompletion:{
label:"</"+t+">",type:"type",boost:2})
;let c=a.concat(((null==r?void 0:r.children)||(d?o:i)).map((e=>e.openCompletion)))
;if(d&&(null==r?void 0:r.text.length)){let t=d.firstChild
;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(r.text))}
return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}
const Awe=Dfe.define({name:"xml",parser:vwe.configure({props:[Yfe.add({
Element(e){let t=/^\s*<\//.test(e.textAfter)
;return e.lineIndent(e.node.from)+(t?0:e.unit)},
"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),lme.add({
Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{
from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),Fme.add({
"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{
block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}})
;function Twe(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,a=r&&r.getChild("TagName")
;return a?e.sliceString(a.from,Math.min(a.to,n)):""}
const Ewe=Vde.inputHandler.of(((e,t,n,r,a)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Awe.isActiveAt(e.state,t,-1))return!1
;let o=a(),{state:i}=o,s=i.changeByRange((e=>{var t,n,a
;let o,{head:s}=e,l=i.doc.sliceString(s-1,s)==r,c=Mfe(i).resolveInner(s,-1)
;if(l&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(o=Twe(i.doc,r.parent,s))){
return{range:e,changes:{from:s,to:s+(">"===i.doc.sliceString(s,s+1)?1:0),
insert:`</${o}>`}}}}else if(l&&"/"==r&&"StartCloseTag"==c.name){let e=c.parent
;if(c.from==s-2&&"CloseTag"!=(null===(a=e.lastChild)||void 0===a?void 0:a.name)&&(o=Twe(i.doc,e,s))){
let e=s+(">"===i.doc.sliceString(s,s+1)?1:0),t=`${o}>`;return{
range:Cie.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([o,i.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),Cwe=63;class $we{
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
}}function Pwe(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r)
;if(Dwe(t)||-1==t)return n}}function Iwe(e){return 32==e||9==e}function Dwe(e){
return 10==e||13==e}function Mwe(e){return Iwe(e)||Dwe(e)}function Nwe(e){
return e<0||Mwe(e)}$we.top=new $we(null,-1,0);const Rwe=new Rbe({start:$we.top,
reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,n,r){
if(3==t)return new $we(e,Pwe(r,r.pos),1)
;if(65==t||5==t)return new $we(e,Pwe(r,r.pos),2);if(t==Cwe)return e.parent
;if(19==t||33==t)return new $we(e,0,3);if(13==t&&4==e.type)return e.parent
;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos))
;if(t)return new $we(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash})
;function Lwe(e,t,n=0){
return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&Nwe(e.peek(n+3))}
const Bwe=new kbe(((e,t)=>{
if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1)
;if((Dwe(n)||n<0)&&3!=t.context.type){if(Lwe(e,45)){
if(!t.canShift(Cwe))return e.acceptToken(1,3);e.acceptToken(Cwe)}if(Lwe(e,46)){
if(!t.canShift(Cwe))return e.acceptToken(2,3);e.acceptToken(Cwe)}let n=0
;for(;32==e.next;)n++,e.advance()
;!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&Nwe(e.peek(1)))||-1==e.next||Dwe(e.next)||35==e.next||e.acceptToken(Cwe,-n)
}}),{contextual:!0}),jwe=new kbe(((e,t)=>{
if(3!=t.context.type)if(45==e.next)e.advance(),
Nwe(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==Pwe(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),
Nwe(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==Pwe(e,e.pos-1)?6:5);else{
let n=e.pos;for(;;)if(Iwe(e.next)){if(e.pos==n)return;e.advance()
}else if(33==e.next)Zwe(e);else{if(38!=e.next){if(42==e.next){Fwe(e);break}
if(39==e.next||34==e.next){if(Hwe(e,!0))break;return}
if(91==e.next||123==e.next){if(!Qwe(e))return;break}Xwe(e,!0,!1,0);break}Fwe(e)}
for(;Iwe(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return
;Nwe(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==Pwe(e,n)?66:65,n)
}}else 63==e.next&&(e.advance(),Nwe(e.next)&&e.acceptToken(7))}),{contextual:!0
});function Uwe(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}
function zwe(e,t){
return 37==e.next?(e.advance(),Uwe(e.next)&&e.advance(),Uwe(e.next)&&e.advance(),
!0):!!((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||t&&44==e.next)&&(e.advance(),
!0);var n}function Zwe(e){if(e.advance(),60==e.next){
for(e.advance();;)if(!zwe(e,!0)){62==e.next&&e.advance();break}
}else for(;zwe(e,!1););}function Fwe(e){
for(e.advance();!Nwe(e.next)&&"f"!=qwe(e.tag);)e.advance()}function Hwe(e,t){
let n=e.next,r=!1,a=e.pos;for(e.advance();;){let o=e.next;if(o<0)break
;if(e.advance(),o==n){if(39!=o)break;if(39!=e.next)break;e.advance()
}else if(92==o&&34==n)e.next>=0&&e.advance();else if(Dwe(o)){if(t)return!1;r=!0
}else if(t&&e.pos>=a+1024)return!1}return!r}function Qwe(e){
for(let t=[],n=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),
e.advance();else if(39==e.next||34==e.next){if(!Hwe(e,!0))return!1
}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1
;if(t.pop(),e.advance(),!t.length)return!0}else{
if(e.next<0||e.pos>n||Dwe(e.next))return!1;e.advance()}}
const Vwe="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"
;function qwe(e){return e<33?"u":e>125?"s":Vwe[e-33]}function Wwe(e,t){
let n=qwe(e);return"u"!=n&&!(t&&"f"==n)}function Xwe(e,t,n,r){
if("s"!=qwe(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!Wwe(e.peek(1),n)))return!1
;e.advance();let a=e.pos;for(;;){let o=e.next,i=0,s=r+1;for(;Mwe(o);){
if(Dwe(o)){if(t)return!1;s=0}else s++;o=e.peek(++i)}
if(!(o>=0&&(58==o?Wwe(e.peek(i+1),n):35==o?32!=e.peek(i-1):Wwe(o,n)))||!n&&s<=r||0==s&&!n&&(Lwe(e,45,i)||Lwe(e,46,i)))break
;if(t&&"f"==qwe(o))return!1;for(let t=i;t>=0;t--)e.advance()
;if(t&&e.pos>a+1024)return!1}return!0}const Gwe=new kbe(((e,t)=>{
if(33==e.next)Zwe(e),e.acceptToken(12);else if(38==e.next||42==e.next){
let t=38==e.next?10:11;Fwe(e),e.acceptToken(t)
}else 39==e.next||34==e.next?(Hwe(e,!1),
e.acceptToken(9)):Xwe(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)
})),Ywe=new kbe(((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos
;e:for(;;){let a=0,o=e.next;for(;32==o;)o=e.peek(++a)
;if(!a&&(Lwe(e,45,a)||Lwe(e,46,a)))break
;if(!Dwe(o)&&(n<0&&(n=Math.max(t.context.depth+1,a)),a<n))break;for(;;){
if(e.next<0)break e;let t=Dwe(e.next);if(e.advance(),t)continue e;r=e.pos}}
e.acceptTokenTo(13,r)})),Kwe=ofe({DirectiveName:Afe.keyword,
DirectiveContent:Afe.attributeValue,"DirectiveEnd DocEnd":Afe.meta,
QuotedLiteral:Afe.string,BlockLiteralHeader:Afe.special(Afe.string),
BlockLiteralContent:Afe.content,Literal:Afe.content,
"Key/Literal Key/QuotedLiteral":Afe.definition(Afe.propertyName),
"Anchor Alias":Afe.labelName,Tag:Afe.typeName,Comment:Afe.lineComment,
": , -":Afe.separator,"?":Afe.punctuation,"[ ]":Afe.squareBracket,
"{ }":Afe.brace}),Jwe=Lbe.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:Rwe,
nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],
propSources:[Kwe],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:[Bwe,jwe,Gwe,Ywe,0,1],topRules:{Stream:[0,15]},tokenPrec:0
}),exe=Dfe.define({name:"yaml",parser:Jwe.configure({props:[Yfe.add({Stream:e=>{
for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){
if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t)
;if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit
;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.from,1)
;if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){
let 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:rme({closing:"}"}),
FlowSequence:rme({closing:"]"})}),lme.add({"FlowMapping FlowSequence":cme,
"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),
languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}})
;function txe(){var e=arguments[0]
;"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1]
;if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){
for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var a=n[r]
;"string"==typeof a?e.setAttribute(r,a):null!=a&&(e[r]=a)}t++}
for(;t<arguments.length;t++)nxe(e,arguments[t]);return e}function nxe(e,t){
if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{
if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t)
;for(var n=0;n<t.length;n++)nxe(e,t[n])}}class rxe{constructor(e,t,n){
this.from=e,this.to=t,this.diagnostic=n}}class axe{constructor(e,t,n){
this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){
let r=e,a=n.facet(gxe).markerFilter;a&&(r=a(r,n))
;let o=e.slice().sort(((e,t)=>e.from-t.from||e.to-t.to)),i=new Tse,s=[],l=0
;for(let u=0;;){let e,t,r=u==o.length?null:o[u];if(!r&&!s.length)break
;for(s.length?(e=l,
t=s.reduce(((e,t)=>Math.min(e,t.to)),r&&r.from>e?r.from:1e8)):(e=r.from,
t=r.to,s.push(r),u++);u<o.length;){let n=o[u]
;if(n.from!=e||!(n.to>n.from||n.to==e)){t=Math.min(n.from,t);break}
s.push(n),u++,t=Math.min(n.to,t)}let a=_xe(s)
;if(s.some((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from)))i.add(e,e,Kle.widget({
widget:new yxe(a),diagnostics:s.slice()}));else{
let n=s.reduce(((e,t)=>t.markClass?e+" "+t.markClass:e),"");i.add(e,t,Kle.mark({
class:"cm-lintRange cm-lintRange-"+a+n,diagnostics:s.slice(),
inclusiveEnd:s.some((e=>e.to>t))}))}l=t
;for(let n=0;n<s.length;n++)s[n].to<=l&&s.splice(n--,1)}let c=i.finish()
;return new axe(c,t,oxe(c))}}function oxe(e,t=null,n=0){let r=null
;return e.between(n,1e9,((e,n,{spec:a})=>{
if(!(t&&a.diagnostics.indexOf(t)<0))if(r){
if(a.diagnostics.indexOf(r.diagnostic)<0)return!1
;r=new rxe(r.from,n,r.diagnostic)}else r=new rxe(e,n,t||a.diagnostics[0])})),r}
function ixe(e,t){return e.field(uxe,!1)?t:t.concat(lse.appendConfig.of(Axe))}
const sxe=lse.define(),lxe=lse.define(),cxe=lse.define(),uxe=jie.define({
create:()=>new axe(Kle.none,null,null),update(e,t){
if(t.docChanged&&e.diagnostics.size){
let n=e.diagnostics.map(t.changes),r=null,a=e.panel;if(e.selected){
let a=t.changes.mapPos(e.selected.from,1)
;r=oxe(n,e.selected.diagnostic,a)||oxe(n,null,a)}
!n.size&&a&&t.state.facet(gxe).autoPanel&&(a=null),e=new axe(n,a,r)}
for(let n of t.effects)if(n.is(sxe)){
let r=t.state.facet(gxe).autoPanel?n.value.length?wxe.open:null:e.panel
;e=axe.init(n.value,r,t.state)
}else n.is(lxe)?e=new axe(e.diagnostics,n.value?wxe.open:null,e.selected):n.is(cxe)&&(e=new axe(e.diagnostics,e.panel,n.value))
;return e},
provide:e=>[Upe.from(e,(e=>e.panel)),Vde.decorations.from(e,(e=>e.diagnostics))]
}),dxe=Kle.mark({class:"cm-lintRange cm-lintRange-active"});function pxe(e,t,n){
let r,{diagnostics:a}=e.state.field(uxe),o=-1,i=-1
;a.between(t-(n<0?1:0),t+(n>0?1:0),((e,a,{spec:s})=>{
if(t>=e&&t<=a&&(e==a||(t>e||n>0)&&(t<a||n<0)))return r=s.diagnostics,o=e,i=a,!1
}));let s=e.state.facet(gxe).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{
pos:o,end:i,above:e.state.doc.lineAt(o).to<i,create:()=>({dom:hxe(e,r)})}:null}
function hxe(e,t){return txe("ul",{class:"cm-tooltip-lint"
},t.map((t=>bxe(e,t,!1))))}const fxe=e=>{let t=e.state.field(uxe,!1)
;return!(!t||!t.panel)&&(e.dispatch({effects:lxe.of(!1)}),!0)
},mxe=Wce.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0
;let{delay:t}=e.state.facet(gxe)
;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(gxe)
;t.length&&function(e,t,n){let r=[],a=-1;for(let o of e)o.then((n=>{
r.push(n),clearTimeout(a),r.length==e.length?t(r):a=setTimeout((()=>t(r)),200)
}),n)}(t.map((e=>Promise.resolve(e(this.view)))),(t=>{
this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{
effects:ixe(e,[sxe.of(t)])}}(this.view.state,t.reduce(((e,t)=>e.concat(t)))))
}),(e=>{Hce(this.view.state,e)}))}}update(e){let t=e.state.facet(gxe)
;(e.docChanged||t!=e.startState.facet(gxe)||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)}});const gxe=Iie.define({combine:e=>Object.assign({
sources:e.map((e=>e.source)).filter((e=>null!=e))},wse(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}))});function vxe(e){let t=[]
;if(e)e: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 e}}t.push("")}return t}function bxe(e,t,n){var r
;let a=n?vxe(t.actions):[];return txe("li",{
class:"cm-diagnostic cm-diagnostic-"+t.severity},txe("span",{
class:"cm-diagnosticText"
},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map(((n,r)=>{
let o=!1,i=r=>{if(r.preventDefault(),o)return;o=!0
;let a=oxe(e.state.field(uxe).diagnostics,t);a&&n.apply(e,a.from,a.to)
},{name:s}=n,l=a[r]?s.indexOf(a[r]):-1,c=l<0?s:[s.slice(0,l),txe("u",s.slice(l,l+1)),s.slice(l+1)]
;return txe("button",{type:"button",class:"cm-diagnosticAction",onclick:i,
onmousedown:i,"aria-label":` Action: ${s}${l<0?"":` (access key "${a[r]})"`}.`
},c)})),t.source&&txe("div",{class:"cm-diagnosticSource"},t.source))}
class yxe extends Gle{constructor(e){super(),this.sev=e}eq(e){
return e.sev==this.sev}toDOM(){return txe("span",{
class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class Oxe{constructor(e,t){
this.diagnostic=t,
this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),
this.dom=bxe(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}
}class wxe{constructor(e){this.view=e,this.items=[];this.list=txe("ul",{
tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),
onkeydown:t=>{
if(27==t.keyCode)fxe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{
if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{
let{diagnostic:n}=this.items[this.selectedIndex],r=vxe(n.actions)
;for(let a=0;a<r.length;a++)if(r[a].toUpperCase().charCodeAt(0)==t.keyCode){
let t=oxe(this.view.state.field(uxe).diagnostics,n)
;t&&n.actions[a].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{
for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)
}}),this.dom=txe("div",{class:"cm-panel-lint"},this.list,txe("button",{
type:"button",name:"close","aria-label":this.view.state.phrase("close"),
onclick:()=>fxe(this.view)},"×")),this.update()}get selectedIndex(){
let e=this.view.state.field(uxe).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(uxe),n=0,r=!1,a=null,o=new Set
;for(e.between(0,this.view.state.doc.length,((e,i,{spec:s})=>{
for(let l of s.diagnostics){if(o.has(l))continue;o.add(l);let e,i=-1
;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==l){i=t;break}
i<0?(e=new Oxe(this.view,l),
this.items.splice(n,0,e),r=!0):(e=this.items[i],i>n&&(this.items.splice(n,i-n),
r=!0)),
t&&e.diagnostic==t.diagnostic?e.dom.hasAttribute("aria-selected")||(e.dom.setAttribute("aria-selected","true"),
a=e):e.dom.hasAttribute("aria-selected")&&e.dom.removeAttribute("aria-selected"),
n++}
}));n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,
this.items.pop();0==this.items.length&&(this.items.push(new Oxe(this.view,{
from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")
})),
r=!0),a?(this.list.setAttribute("aria-activedescendant",a.id),this.view.requestMeasure({
key:this,read:()=>({sel:a.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=oxe(this.view.state.field(uxe).diagnostics,this.items[e].diagnostic)
;t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,
effects:cxe.of(t)})}static open(e){return new wxe(e)}}function xxe(e){
return function(e,t='viewBox="0 0 40 40"'){
return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`
}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')
}const kxe=Vde.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:xxe("#d11")},
".cm-lintRange-warning":{backgroundImage:xxe("orange")},".cm-lintRange-info":{
backgroundImage:xxe("#999")},".cm-lintRange-hint":{backgroundImage:xxe("#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}}});function Sxe(e){
return"error"==e?4:"warning"==e?3:"info"==e?2:1}function _xe(e){let t="hint",n=1
;for(let r of e){let e=Sxe(r.severity);e>n&&(n=e,t=r.severity)}return t}
const Axe=[uxe,Vde.decorations.compute([uxe],(e=>{
let{selected:t,panel:n}=e.field(uxe)
;return t&&n&&t.from!=t.to?Kle.set([dxe.range(t.from,t.to)]):Kle.none
})),Dpe(pxe,{hideOn:function(e,t){
let n=t.pos,r=t.end||n,a=e.state.facet(gxe).hideOn(e,n,r);if(null!=a)return a
;let o=e.startState.doc.lineAt(t.pos)
;return!(!e.effects.some((e=>e.is(sxe)))&&!e.changes.touchesRange(o.from,Math.max(o.to,r)))
}}),kxe],Txe=(({theme:e,settings:t={},styles:n=[]})=>{const r={".cm-gutters":{}
},a={}
;t.background&&(a.backgroundColor=t.background),t.backgroundImage&&(a.backgroundImage=t.backgroundImage),
t.foreground&&(a.color=t.foreground),
t.fontSize&&(a.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=a),
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});const o={}
;t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),
t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight
},o.backgroundColor=t.lineHighlight),
r[".cm-activeLineGutter"]=o,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={
background:t.selection+" !important"
}),t.selectionMatch&&(r["& .cm-selectionMatch"]={
backgroundColor:t.selectionMatch});return[Vde.theme(r,{dark:"dark"===e
}),Pme(Tme.define(n))]})({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:[Afe.standard(Afe.tagName),Afe.tagName],
color:"var(--scalar-color-purple)"},{tag:[Afe.comment],
color:"var(--scalar-color-3)"},{tag:[Afe.className],
color:"var(--scalar-color-orange)"},{
tag:[Afe.variableName,Afe.propertyName,Afe.attributeName],
color:"var(--scalar-color-1)"},{tag:[Afe.operator],color:"var(--scalar-color-2)"
},{tag:[Afe.keyword,Afe.typeName,Afe.typeOperator],
color:"var(--scalar-color-green)"},{tag:[Afe.string],
color:"var(--scalar-color-blue)"},{tag:[Afe.bracket,Afe.regexp,Afe.meta],
color:"var(--scalar-color-3)"},{tag:[Afe.number],
color:"var(--scalar-color-orange)"},{tag:[Afe.name,Afe.quote],
color:"var(--scalar-color-3)"},{tag:[Afe.heading],color:"var(--scalar-color-3)",
fontWeight:"bold"},{tag:[Afe.emphasis],color:"var(--scalar-color-3)",
fontStyle:"italic"},{tag:[Afe.deleted],color:"var(--scalar-color-3)",
backgroundColor:"transparent"},{
tag:[Afe.atom,Afe.bool,Afe.special(Afe.variableName)],
color:"var(--scalar-color-3)"},{tag:[Afe.url,Afe.escape,Afe.regexp,Afe.link],
color:"var(--scalar-color-1)"},{tag:Afe.link,textDecoration:"underline"},{
tag:Afe.strikethrough,textDecoration:"line-through"},{tag:Afe.invalid,
color:"var(--scalar-color-3)"}]}),Exe=new spe({regexp:/(\{[^}]+\})/g,
decoration:()=>Kle.mark({attributes:{class:"api-client-url-variable"}})
}),Cxe=()=>Wce.fromClass(class{variables;constructor(e){
this.variables=Exe.createDeco(e)}update(e){
this.variables=Exe.updateDeco(e,this.variables)}},{decorations:e=>e.variables,
provide:e=>Vde.atomicRanges.of((t=>t.plugin(e)?.variables||Kle.none))
}),$xe=e=>"provider"in e&&!!km(e.provider),Pxe={key:"Mod-a",run:e=>(e.dispatch({
selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},Ixe=e=>{
const t=bm(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=Ty((()=>({
onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,
disableTabIndent:km(e.disableTabIndent),language:km(e.language),
classes:km(e.classes),readOnly:km(e.readOnly),lineNumbers:km(e.lineNumbers),
withVariables:km(e.withVariables),forceFoldGutter:km(e.forceFoldGutter),
disableEnter:km(e.disableEnter),disableCloseBrackets:km(e.disableCloseBrackets),
withoutTheme:km(e.withoutTheme),lint:km(e.lint),
additionalExtensions:km(e.extensions),placeholder:km(e.placeholder)})))
;function a(){if(e.codeMirrorRef.value){
const a=$xe(e)?km(e.provider):null,o=Mxe({...r.value,provider:a})
;t.value=new Vde({parent:e.codeMirrorRef.value,extensions:o
}),$xe(e)||n(km(e.content))}}return mg(e.codeMirrorRef,(()=>{t.value?.destroy(),
a()}),{immediate:!0
}),pv((()=>t.value?.destroy())),mg((()=>$xe(e)?km(e.provider):null),(()=>{
$xe(e)&&(t.value?.destroy(),a())})),mg(r,(()=>{if(!t.value)return
;const n=$xe(e)?km(e.provider):null,a=Mxe({...r.value,provider:n})
;requestAnimationFrame((()=>{t.value?.dispatch({effects:lse.reconfigure.of(a)})
}))}),{immediate:!0}),mg((()=>km(e.content)),(()=>{$xe(e)||n(km(e.content))}),{
immediate:!0}),{setCodeMirrorContent:n,codeMirror:t}},Dxe={html:function(e={}){
let t,n=""
;!1===e.matchClosingTags&&(n="noMatch"),!0===e.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),
(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=qye((e.nestedLanguages||[]).concat(XOe),(e.nestedAttributes||[]).concat(GOe)))
;let r=t?YOe.configure({wrap:t,dialect:n}):n?KOe.configure({dialect:n}):KOe
;return new Hfe(r,[KOe.data.of({autocomplete:qOe(e)
}),!1!==e.autoCloseTags?ewe:[],_Oe().support,dye().support])},json:function(){
return new Hfe(rwe)},yaml:function(){return new Hfe(exe)},css:dye,
xml:function(e={}){let t=[Awe.data.of({
autocomplete:_we(e.elements||[],e.attributes||[])})]
;return!1!==e.autoCloseTags&&t.push(Ewe),new Hfe(Awe,t)}}
;function Mxe({onChange:e,onBlur:t,onFocus:n,provider:r,language:a,classes:o=[],readOnly:i=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:p=!1,withoutTheme:h=!1,lint:f=!1,additionalExtensions:m=[],placeholder:g}){
const v=[hpe(),Vve(),epe.of(cbe),Pme(Mme,{fallback:!0}),Vde.theme({".cm-line":{
lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"
},".cm-tooltip":{border:"1px solid #f5c6cb",fontSize:"12px"},
".cm-tooltip-lint":{backgroundColor:"#ffffff"},".cm-diagnostic-error":{
borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{
background:"var(--scalar-background-1)",border:"none",
fontFamily:"var(--scalar-font)"}}),Vde.updateListener.of((t=>{
t.docChanged&&e?.(t.state.doc.toString())})),Vde.domEventHandlers({blur:(e,n)=>{
t?.(n.state.doc.toString())},focus:(e,t)=>{n?.(t.state.doc.toString())}
}),Vde.editorAttributes.of({class:o.join(" ")}),...m];var b
;if(r&&v.push(r),h||v.push(Txe),
i?v.push(Vde.editable.of(!1)):(v.push(Ose.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,a=n.lineAt(r)
;if(r>a.from+ime)return e;let o=n.sliceString(a.from,r)
;if(!t.some((e=>e.test(o))))return e;let{state:i}=e,s=-1,l=[]
;for(let{head:c}of i.selection.ranges){let e=i.doc.lineAt(c)
;if(e.from==s)continue;s=e.from;let t=Xfe(i,e.from);if(null==t)continue
;let n=/^\s*/.exec(e.text)[0],r=Wfe(i,t);n!=r&&l.push({from:e.from,
to:e.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e
})),Zme(),function(e={}){return[rve,Xge,Pge.of(e),tve,Uve,ave]
}(),epe.of([...jve,Pxe]),Zme()),
d||v.push([$ve,_ve],epe.of([...Pve])),p?v.push(epe.of([{key:"Tab",run:()=>!1,
shift:()=>!1}])):v.push(epe.of([pbe]))),g&&v.push((b=g,Wce.fromClass(class{
constructor(e){this.view=e,this.placeholder=b?Kle.set([Kle.widget({
widget:new vpe(b),side:1}).range(0)]):Kle.none}get decorations(){
return this.view.state.doc.length?Kle.none:this.placeholder}},{
decorations:e=>e.decorations}))),s&&v.push(function(e={}){
return[rhe.of(e),Wpe(),ihe]}()),c&&v.push(_me({markerDOM:e=>{
const t=document.createElement("div");t.classList.add("cm-foldMarker")
;const n=Ey(Pre,{icon:e?"ChevronDown":"ChevronRight",size:"md"});return qO(n,t),
t}})),a&&Dxe[a]&&(v.push(Dxe[a]()),c||v.push(_me({markerDOM:e=>{
const t=document.createElement("div");t.classList.add("cm-foldMarker")
;const n=Ey(Pre,{icon:e?"ChevronDown":"ChevronRight",size:"md"});return qO(n,t),
t}}))),f&&"json"===a){const e=function(e,t={}){return[gxe.of({source:e,config:t
}),mxe,Axe]}((e=>{const t=[],n=e.state.doc.toString();if(n.trim())try{
JSON.parse(n)}catch(zw){zw instanceof Error&&t.push({from:0,
to:e.state.doc.length,severity:"error",message:zw.message})}return t}))
;v.push(e)}return l&&v.push(Cxe()),u?v.push(epe.of([{key:"Enter",run:()=>!0},{
key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0
}])):v.push(epe.of([{key:"Enter",run:ube}])),v}function Nxe(e){
return Array.isArray?Array.isArray(e):"[object Array]"===Zxe(e)}function Rxe(e){
return"string"==typeof e}function Lxe(e){return"number"==typeof e}
function Bxe(e){return!0===e||!1===e||function(e){return jxe(e)&&null!==e
}(e)&&"[object Boolean]"==Zxe(e)}function jxe(e){return"object"==typeof e}
function Uxe(e){return null!=e}function zxe(e){return!e.trim().length}
function Zxe(e){
return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)
}
const Fxe=e=>`Missing ${e} property in key`,Hxe=e=>`Property 'weight' in key '${e}' must be a positive integer`,Qxe=Object.prototype.hasOwnProperty
;class Vxe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{
let n=qxe(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)}}function qxe(e){
let t=null,n=null,r=null,a=1,o=null
;if(Rxe(e)||Nxe(e))r=e,t=Wxe(e),n=Xxe(e);else{
if(!Qxe.call(e,"name"))throw new Error(Fxe("name"));const i=e.name
;if(r=i,Qxe.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(Hxe(i))
;t=Wxe(i),n=Xxe(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}
function Wxe(e){return Nxe(e)?e:e.split(".")}function Xxe(e){
return Nxe(e)?e.join("."):e}const Gxe={useExtendedSearch:!1,getFn:function(e,t){
let n=[],r=!1;const a=(e,t,o)=>{if(Uxe(e))if(t[o]){const i=e[t[o]]
;if(!Uxe(i))return
;if(o===t.length-1&&(Rxe(i)||Lxe(i)||Bxe(i)))n.push(function(e){
return null==e?"":function(e){if("string"==typeof e)return e;let t=e+""
;return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(Nxe(i)){r=!0
;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)
}else n.push(e)};return a(e,Rxe(t)?t.split("."):t,0),r?n:n[0]},
ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Yxe={
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,
includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,
threshold:.6,distance:100,...Gxe};const Kxe=/[^ ]+/g;class Jxe{
constructor({getFn:e=Yxe.getFn,fieldNormWeight:t=Yxe.fieldNormWeight}={}){
this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){
const a=t.match(Kxe).length;if(n.has(a))return n.get(a)
;const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i
},clear(){n.clear()}}
}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){
this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){
this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}
create(){
!this.isCreated&&this.docs.length&&(this.isCreated=!0,Rxe(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){const t=this.size()
;Rxe(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-=1
}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){
return this.records.length}_addString(e,t){if(!Uxe(e)||zxe(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 a=t.getFn?t.getFn(e):this.getFn(e,t.path)
;if(Uxe(a))if(Nxe(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}]
;for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop()
;if(Uxe(r))if(Rxe(r)&&!zxe(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)
}else Nxe(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e
}else if(Rxe(a)&&!zxe(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}
})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}
function eke(e,t,{getFn:n=Yxe.getFn,fieldNormWeight:r=Yxe.fieldNormWeight}={}){
const a=new Jxe({getFn:n,fieldNormWeight:r})
;return a.setKeys(e.map(qxe)),a.setSources(t),a.create(),a}
function tke(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Yxe.distance,ignoreLocation:o=Yxe.ignoreLocation}={}){
const i=t/e.length;if(o)return i;const s=Math.abs(r-n);return a?i+s/a:s?1:i}
const nke=32
;function rke(e,t,n,{location:r=Yxe.location,distance:a=Yxe.distance,threshold:o=Yxe.threshold,findAllMatches:i=Yxe.findAllMatches,minMatchCharLength:s=Yxe.minMatchCharLength,includeMatches:l=Yxe.includeMatches,ignoreLocation:c=Yxe.ignoreLocation}={}){
if(t.length>nke)throw new Error(`Pattern length exceeds max of ${nke}.`)
;const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let h=o,f=p
;const m=s>1||l,g=m?Array(d):[];let v;for(;(v=e.indexOf(t,f))>-1;){let e=tke(t,{
currentLocation:v,expectedLocation:p,distance:a,ignoreLocation:c})
;if(h=Math.min(e,h),f=v+u,m){let e=0;for(;e<u;)g[v+e]=1,e+=1}}f=-1
;let b=[],y=1,O=u+d;const w=1<<u-1;for(let k=0;k<u;k+=1){let r=0,o=O;for(;r<o;){
tke(t,{errors:k,currentLocation:p+o,expectedLocation:p,distance:a,
ignoreLocation:c})<=h?r=o:O=o,o=Math.floor((O-r)/2+r)}O=o
;let s=Math.max(1,p-o+1),l=i?d:Math.min(p+o,d)+u,v=Array(l+2);v[l+1]=(1<<k)-1
;for(let i=l;i>=s;i-=1){let r=i-1,o=n[e.charAt(r)]
;if(m&&(g[r]=+!!o),v[i]=(v[i+1]<<1|1)&o,
k&&(v[i]|=(b[i+1]|b[i])<<1|1|b[i+1]),v[i]&w&&(y=tke(t,{errors:k,
currentLocation:r,expectedLocation:p,distance:a,ignoreLocation:c}),y<=h)){
if(h=y,f=r,f<=p)break;s=Math.max(1,2*p-f)}}if(tke(t,{errors:k+1,
currentLocation:p,expectedLocation:p,distance:a,ignoreLocation:c})>h)break;b=v}
const x={isMatch:f>=0,score:Math.max(.001,y)};if(m){
const e=function(e=[],t=Yxe.minMatchCharLength){let n=[],r=-1,a=-1,o=0
;for(let i=e.length;o<i;o+=1){let i=e[o]
;i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}
return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(g,s)
;e.length?l&&(x.indices=e):x.isMatch=!1}return x}function ake(e){let t={}
;for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}
return t}
const oke=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
;class ike{
constructor(e,{location:t=Yxe.location,threshold:n=Yxe.threshold,distance:r=Yxe.distance,includeMatches:a=Yxe.includeMatches,findAllMatches:o=Yxe.findAllMatches,minMatchCharLength:i=Yxe.minMatchCharLength,isCaseSensitive:s=Yxe.isCaseSensitive,ignoreDiacritics:l=Yxe.ignoreDiacritics,ignoreLocation:c=Yxe.ignoreLocation}={}){
if(this.options={location:t,threshold:n,distance:r,includeMatches:a,
findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,ignoreDiacritics:l,
ignoreLocation:c
},e=s?e:e.toLowerCase(),e=l?oke(e):e,this.pattern=e,this.chunks=[],
!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,
alphabet:ake(e),startIndex:t})},d=this.pattern.length;if(d>nke){let e=0
;const t=d%nke,n=d-t;for(;e<n;)u(this.pattern.substr(e,nke),e),e+=nke;if(t){
const e=d-nke;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){
const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options
;if(e=t?e:e.toLowerCase(),e=n?oke(e):e,this.pattern===e){let t={isMatch:!0,
score:0};return r&&(t.indices=[[0,e.length-1]]),t}
const{location:a,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options
;let u=[],d=0,p=!1;this.chunks.forEach((({pattern:t,alphabet:n,startIndex:h})=>{
const{isMatch:f,score:m,indices:g}=rke(e,t,n,{location:a+h,distance:o,
threshold:i,findAllMatches:s,minMatchCharLength:l,includeMatches:r,
ignoreLocation:c});f&&(p=!0),d+=m,f&&g&&(u=[...u,...g])}));let h={isMatch:p,
score:p?d/this.chunks.length:1};return p&&r&&(h.indices=u),h}}class ske{
constructor(e){this.pattern=e}static isMultiMatch(e){
return lke(e,this.multiRegex)}static isSingleMatch(e){
return lke(e,this.singleRegex)}search(){}}function lke(e,t){const n=e.match(t)
;return n?n[1]:null}class cke extends ske{
constructor(e,{location:t=Yxe.location,threshold:n=Yxe.threshold,distance:r=Yxe.distance,includeMatches:a=Yxe.includeMatches,findAllMatches:o=Yxe.findAllMatches,minMatchCharLength:i=Yxe.minMatchCharLength,isCaseSensitive:s=Yxe.isCaseSensitive,ignoreDiacritics:l=Yxe.ignoreDiacritics,ignoreLocation:c=Yxe.ignoreLocation}={}){
super(e),this._bitapSearch=new ike(e,{location:t,threshold:n,distance:r,
includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,
ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}
static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/
}search(e){return this._bitapSearch.searchIn(e)}}class uke extends ske{
constructor(e){super(e)}static get type(){return"include"}
static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){
return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length
;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length
;return{isMatch:o,score:o?0:1,indices:r}}}const dke=[class extends ske{
constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){
return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){
const t=e===this.pattern;return{isMatch:t,score:t?0:1,
indices:[0,this.pattern.length-1]}}},uke,class extends ske{constructor(e){
super(e)}static get type(){return"prefix-exact"}static get multiRegex(){
return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){
const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,this.pattern.length-1]}}},class extends ske{constructor(e){super(e)}
static get type(){return"inverse-prefix-exact"}static get multiRegex(){
return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){
const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,e.length-1]}}},class extends ske{constructor(e){super(e)}
static get type(){return"inverse-suffix-exact"}static get multiRegex(){
return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){
const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[0,e.length-1]}}},class extends ske{constructor(e){super(e)}
static get type(){return"suffix-exact"}static get multiRegex(){
return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){
const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,
indices:[e.length-this.pattern.length,e.length-1]}}},class extends ske{
constructor(e){super(e)}static get type(){return"inverse-exact"}
static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){
return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,
score:t?0:1,indices:[0,e.length-1]}}
},cke],pke=dke.length,hke=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/
;const fke=new Set([cke.type,uke.type]);class mke{
constructor(e,{isCaseSensitive:t=Yxe.isCaseSensitive,ignoreDiacritics:n=Yxe.ignoreDiacritics,includeMatches:r=Yxe.includeMatches,minMatchCharLength:a=Yxe.minMatchCharLength,ignoreLocation:o=Yxe.ignoreLocation,findAllMatches:i=Yxe.findAllMatches,location:s=Yxe.location,threshold:l=Yxe.threshold,distance:c=Yxe.distance}={}){
this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,
includeMatches:r,minMatchCharLength:a,findAllMatches:i,ignoreLocation:o,
location:s,threshold:l,distance:c
},e=t?e:e.toLowerCase(),e=n?oke(e):e,this.pattern=e,this.query=function(e,t={}){
return e.split("|").map((e=>{
let n=e.trim().split(hke).filter((e=>e&&!!e.trim())),r=[]
;for(let a=0,o=n.length;a<o;a+=1){const e=n[a];let o=!1,i=-1;for(;!o&&++i<pke;){
const n=dke[i];let a=n.isMultiMatch(e);a&&(r.push(new n(a,t)),o=!0)}
if(!o)for(i=-1;++i<pke;){const n=dke[i];let a=n.isSingleMatch(e);if(a){
r.push(new n(a,t));break}}}return r}))}(this.pattern,this.options)}
static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query
;if(!t)return{isMatch:!1,score:1}
;const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:a}=this.options
;e=r?e:e.toLowerCase(),e=a?oke(e):e;let o=0,i=[],s=0
;for(let l=0,c=t.length;l<c;l+=1){const r=t[l];i.length=0,o=0
;for(let t=0,a=r.length;t<a;t+=1){
const a=r[t],{isMatch:l,indices:c,score:u}=a.search(e);if(!l){s=0,o=0,i.length=0
;break}if(o+=1,s+=u,n){const e=a.constructor.type
;fke.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:s/o}
;return n&&(e.indices=i),e}}return{isMatch:!1,score:1}}}const gke=[]
;function vke(e,t){for(let n=0,r=gke.length;n<r;n+=1){let r=gke[n]
;if(r.condition(e,t))return new r(e,t)}return new ike(e,t)}
const bke="$and",yke="$or",Oke="$path",wke="$val",xke=e=>!(!e[bke]&&!e[yke]),kke=e=>({
[bke]:Object.keys(e).map((t=>({[t]:e[t]})))});function Ske(e,t,{auto:n=!0}={}){
const r=e=>{let a=Object.keys(e);const o=(e=>!!e[Oke])(e)
;if(!o&&a.length>1&&!xke(e))return r(kke(e))
;if((e=>!Nxe(e)&&jxe(e)&&!xke(e))(e)){const r=o?e[Oke]:a[0],i=o?e[wke]:e[r]
;if(!Rxe(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={
keyId:Xxe(r),pattern:i};return n&&(s.searcher=vke(i,t)),s}let i={children:[],
operator:a[0]};return a.forEach((t=>{const n=e[t];Nxe(n)&&n.forEach((e=>{
i.children.push(r(e))}))})),i};return xke(e)||(e=kke(e)),r(e)}function _ke(e,t){
const n=e.matches;t.matches=[],Uxe(n)&&n.forEach((e=>{
if(!Uxe(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={
indices:n,value:r}
;e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}
function Ake(e,t){t.score=e.score}class Tke{constructor(e,t={},n){this.options={
...Yxe,...t
},this.options.useExtendedSearch,this._keyStore=new Vxe(this.options.keys),
this.setCollection(e,n)}setCollection(e,t){
if(this._docs=e,t&&!(t instanceof Jxe))throw new Error("Incorrect 'index' type")
;this._myIndex=t||eke(this.options.keys,this._docs,{getFn:this.options.getFn,
fieldNormWeight:this.options.fieldNormWeight})}add(e){
Uxe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[]
;for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n]
;e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){
this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex
}search(e,{limit:t=-1}={}){
const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options
;let s=Rxe(e)?Rxe(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e)
;return function(e,{ignoreFieldNorm:t=Yxe.ignoreFieldNorm}){e.forEach((e=>{
let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null
;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(s,{
ignoreFieldNorm:i
}),a&&s.sort(o),Lxe(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:n=Yxe.includeMatches,includeScore:r=Yxe.includeScore}={}){
const a=[];return n&&a.push(_ke),r&&a.push(Ake),e.map((e=>{const{idx:n}=e,r={
item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))
}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){
const t=vke(e,this.options),{records:n}=this._myIndex,r=[]
;return n.forEach((({v:e,i:n,n:a})=>{if(!Uxe(e))return
;const{isMatch:o,score:i,indices:s}=t.searchIn(e);o&&r.push({item:e,idx:n,
matches:[{score:i,value:e,norm:a,indices:s}]})})),r}_searchLogical(e){
const t=Ske(e,this.options),n=(e,t,r)=>{if(!e.children){
const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),
value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a})
;return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[]
;for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],s=n(i,t,r)
;if(s.length)a.push(...s);else if(e.operator===bke)return[]}return a
},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Uxe(e)){
let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]
},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}
_searchObjectList(e){
const t=vke(e,this.options),{keys:n,records:r}=this._myIndex,a=[]
;return r.forEach((({$:e,i:r})=>{if(!Uxe(e))return;let o=[];n.forEach(((n,r)=>{
o.push(...this._findMatches({key:n,value:e[r],searcher:t}))
})),o.length&&a.push({idx:r,item:e,matches:o})})),a}
_findMatches({key:e,value:t,searcher:n}){if(!Uxe(t))return[];let r=[]
;if(Nxe(t))t.forEach((({v:t,i:a,n:o})=>{if(!Uxe(t))return
;const{isMatch:i,score:s,indices:l}=n.searchIn(t);i&&r.push({score:s,key:e,
value:t,idx:a,norm:o,indices:l})}));else{
const{v:a,n:o}=t,{isMatch:i,score:s,indices:l}=n.searchIn(a);i&&r.push({score:s,
key:e,value:a,norm:o,indices:l})}return r}}
Tke.version="7.1.0",Tke.createIndex=eke,
Tke.parseIndex=function(e,{getFn:t=Yxe.getFn,fieldNormWeight:n=Yxe.fieldNormWeight}={}){
const{keys:r,records:a}=e,o=new Jxe({getFn:t,fieldNormWeight:n})
;return o.setKeys(r),o.setIndexRecords(a),o
},Tke.config=Yxe,Tke.parseQuery=Ske,function(...e){gke.push(...e)}(mke)
;const Eke=()=>{},Cke=Array.isArray;function $ke(e,t){
return(e.aliasOf||e)===(t.aliasOf||t)}function Pke(e,t){
return Cke(e)?Ike(e,t):Cke(t)?Ike(t,e):e===t}function Ike(e,t){
return Cke(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t
}const Dke=Symbol(""),Mke=Symbol("");function Nke(e){
const t=ug(Dke),n=ug(Mke),r=Ty((()=>{const n=xm(e.to);return t.resolve(n)
})),a=Ty((()=>{const{matched:e}=r.value,{length:t}=e,a=e[t-1],o=n.matched
;if(!a||!o.length)return-1;const i=o.findIndex($ke.bind(null,a))
;if(i>-1)return i;const s=Lke(e[t-2])
;return t>1&&Lke(a)===s&&o[o.length-1].path!==s?o.findIndex($ke.bind(null,e[t-2])):i
})),o=Ty((()=>a.value>-1&&function(e,t){for(const n in t){const r=t[n],a=e[n]
;if("string"==typeof r){if(r!==a)return!1
}else if(!Cke(a)||a.length!==r.length||r.some(((e,t)=>e!==a[t])))return!1}
return!0
}(n.params,r.value.params))),i=Ty((()=>a.value>-1&&a.value===n.matched.length-1&&function(e,t){
if(Object.keys(e).length!==Object.keys(t).length)return!1
;for(const n in e)if(!Pke(e[n],t[n]))return!1;return!0
}(n.params,r.value.params)));return{route:r,href:Ty((()=>r.value.href)),
isActive:o,isExactActive:i,navigate:function(n={}){if(function(e){
if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return
;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return
;if(e.currentTarget&&e.currentTarget.getAttribute){
const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}
e.preventDefault&&e.preventDefault();return!0}(n)){
const n=t[xm(e.replace)?"replace":"push"](xm(e.to)).catch(Eke)
;return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),
n}return Promise.resolve()}}}const Rke=Hg({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:Nke,
setup(e,{slots:t}){const n=om(Nke(e)),{options:r}=ug(Dke),a=Ty((()=>({
[Bke(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,
[Bke(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive
})));return()=>{const r=t.default&&(1===(o=t.default(n)).length?o[0]:o);var o
;return e.custom?r:Ey("a",{
"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,
onClick:n.navigate,class:a.value},r)}}});function Lke(e){
return e?e.aliasOf?e.aliasOf.path:e.path:""}
const Bke=(e,t,n)=>null!=e?e:null!=t?t:n;zc({uid:cl().brand(),
name:cl().optional().default("Default Environment"),
color:cl().optional().default("#FFFFFF"),value:cl().default(""),
isDefault:mc().optional()}),Vde.domEventHandlers({keydown(e,t){
if("Backspace"===e.key){const{state:n}=t,{from:r,to:a}=n.selection.main
;if(0===r&&a===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},
selection:{anchor:0}}),e.preventDefault(),!0
;if(r===a&&r>0&&"}}"===n.doc.sliceString(r-2,r))return t.dispatch({changes:{
from:r-2,to:a},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}})
;const jke=Hg({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},
method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],
setup(e,{emit:t}){
const n=e,r=t,a=Ty((()=>LV(n.method))),o=Object.entries(RV).map((([e])=>({id:e,
label:e.toUpperCase(),color:LV(e).colorClass}))),i=Ty({
get:()=>o.find((({id:e})=>e===n.method)),set:e=>e?.id&&r("change",e.id)}),s=d_({
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"}}
}),l=Ty((()=>a.value.short));return(t,n)=>e.isEditable?(Fb(),Wb(xm(Wre),{key:0,
modelValue:i.value,"onUpdate:modelValue":n[0]||(n[0]=e=>i.value=e),
class:"font-code scalar-client mt-1 text-sm",options:xm(o)},{
default:ig((()=>[Jb("div",{class:Dh(["h-full",{
"pointer-events-none":!e.isEditable}])},[Jb("button",{
class:Dh(["relative h-full",xm(p_)(xm(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),a.value.colorClass)]),type:"button"
},[Jb("span",null,Uh(l.value),1)],2)],2)])),_:1
},8,["modelValue","options"])):(Fb(),qb("div",{key:1,
class:Dh(["relative gap-1 whitespace-nowrap",xm(p_)(xm(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),a.value.colorClass)]),type:"button"
},Uh(a.value.short),3))}
}),Uke=Hoe(jke,[["__scopeId","data-v-076b14a1"]]),zke=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",Zke="scalar-reference-selected-client-v2",Fke="scalar-reference-auth",Hke=()=>"undefined"==typeof window?{
getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage,Qke=zc({
description:cl().optional()}),Vke=zc({uid:WG.brand(),
nameKey:cl().optional().default("")}),qke=Qke.extend({type:pu("apiKey"),
name:cl().optional().default(""),
in:cu(["query","header","cookie"]).optional().default("header").catch("header")
}),Wke=zc({value:cl().default("")
}),Xke=qke.merge(Vke).merge(Wke),Gke=Qke.extend({type:pu("http"),
scheme:cl().toLowerCase().pipe(cu(["basic","bearer"])).optional().default("basic"),
bearerFormat:Qc([pu("JWT"),cl()]).optional().default("JWT")}),Yke=zc({
username:cl().default(""),password:cl().default(""),token:cl().default("")
}),Kke=Gke.merge(Vke).merge(Yke),Jke=Qke.extend({type:pu("openIdConnect"),
openIdConnectUrl:cl().optional().default("")
}),eSe=Jke.merge(Vke),tSe=cl().default(""),nSe=cl().default(""),rSe=zc({
refreshUrl:cl().optional().default(""),
scopes:tu(cl(),cl().optional().default("")).optional().default({}).catch({}),
selectedScopes:Bc(cl()).optional().default([]),
"x-scalar-client-id":cl().optional().default(""),token:cl().default(""),
"x-scalar-security-query":tu(cl(),cl()).optional(),
"x-scalar-security-body":tu(cl(),cl()).optional(),"x-tokenName":cl().optional()
}),aSe="undefined"!=typeof window?window.location.origin+window.location.pathname:"",oSe=["SHA-256","plain","no"],iSe=cu(["header","body"]).optional(),sSe=Qke.extend({
type:pu("oauth2"),"x-default-scopes":Bc(cl()).optional(),flows:zc({
implicit:rSe.extend({type:pu("implicit").default("implicit"),
authorizationUrl:tSe,"x-scalar-redirect-uri":cl().optional().default(aSe)}),
password:rSe.extend({type:pu("password").default("password"),tokenUrl:nSe,
clientSecret:cl().default(""),username:cl().default(""),
password:cl().default(""),"x-scalar-credentials-location":iSe}),
clientCredentials:rSe.extend({
type:pu("clientCredentials").default("clientCredentials"),tokenUrl:nSe,
clientSecret:cl().default(""),"x-scalar-credentials-location":iSe}),
authorizationCode:rSe.extend({
type:pu("authorizationCode").default("authorizationCode"),authorizationUrl:tSe,
"x-usePkce":cu(oSe).optional().default("no"),
"x-scalar-redirect-uri":cl().optional().default(aSe),tokenUrl:nSe,
clientSecret:cl().default(""),"x-scalar-credentials-location":iSe})
}).partial().default({implicit:{selectedScopes:[],scopes:{},
"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",
authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":aSe}})
}),lSe=sSe.merge(Vke),cSe=tu(cl(),Bc(cl()).optional().default([]))
;Qc([qke,Gke,sSe,Jke]),Xc("type",[Xke,Kke,eSe,lSe]).transform((e=>{
if("oauth2"===e.type&&e["x-default-scopes"]?.length){
Object.keys(e.flows).forEach((t=>{
e.flows[t]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[t].selectedScopes=[e["x-default-scopes"]].flat())
}))}return e}))
;const uSe=Qc([cl().brand(),cl().brand().array()]).array().default([]),dSe=Qc([zc({
description:cl().optional(),default:cl().default("")}),cl()]),pSe=zc({
description:cl().optional(),color:cl().optional(),variables:tu(cl(),dSe)
}),hSe=tu(cl(),pSe),fSe=zc({description:cl().optional(),example:cl().optional()
}),mSe=tu(cl(),fSe),gSe=e=>Array.isArray(e)?e.map((e=>"object"==typeof e&&null!==e?gSe(e):e)):Object.fromEntries(Object.entries(e).filter((([e,t])=>void 0!==t)).map((([e,t])=>"object"==typeof t&&null!==t?[e,gSe(t)]:[e,t]))),vSe=zc({
name:cl().optional().nullable().catch(null),
identifier:cl().optional().catch(void 0),url:cl().url().optional().catch(void 0)
}).transform(gSe),bSe=zc({name:cl().optional(),
url:cl().url().optional().catch(void 0),email:cl().optional().catch(void 0)
}).transform(gSe),ySe=zc({title:cl().catch("API"),
summary:cl().optional().catch(void 0),description:cl().optional().catch(void 0),
termsOfService:cl().url().optional().catch(void 0),
contact:bSe.optional().catch(void 0),license:vSe.optional().catch(void 0),
version:cl().catch("1.0")}).merge(zG).transform(gSe),OSe=zc({
description:cl().optional().catch(void 0),url:cl()}).transform(gSe),wSe=zc({
tagName:cl()}).array();zc({type:pu("tag").optional().default("tag"),name:cl(),
description:cl().optional().catch(void 0),externalDocs:OSe.optional(),
"x-scalar-children":wSe.default([]).optional(),"x-internal":mc().optional(),
"x-scalar-ignore":mc().optional()}).extend({uid:WG.brand(),
children:Qc([cl().brand(),cl().brand()]).array().default([])});const xSe=zc({
type:pu("collection").optional().default("collection"),
openapi:Qc([cl(),pu("3.0.0"),pu("3.1.0"),pu("4.0.0")]).optional().default("3.1.0"),
jsonSchemaDialect:cl().optional(),info:ySe.catch({title:"API",version:"1.0"}),
security:Bc(cSe).optional().default([]),
externalDocs:OSe.optional().catch(void 0),components:tu(cl(),$c()).optional(),
webhooks:tu(cl(),$c()).optional(),
"x-scalar-icon":cl().optional().default("interface-content-folder"),
"x-scalar-active-environment":cl().optional(),
"x-scalar-environments":hSe.optional(),"x-scalar-secrets":mSe.optional()
}),kSe=zc({uid:WG.brand(),securitySchemes:cl().array().default([]),
selectedSecuritySchemeUids:uSe,selectedServerUid:cl().brand().optional(),
servers:cl().brand().array().default([]),
requests:cl().brand().array().default([]),tags:cl().brand().array().default([]),
children:Qc([cl().brand(),cl().brand()]).array().default([]),
documentUrl:cl().optional(),watchMode:mc().optional().default(!1),
integration:cl().nullable().optional(),
useCollectionSecurity:mc().optional().default(!1),
watchModeStatus:cu(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")})
;xSe.merge(kSe)
;var SSe=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",
e.Stable="stable",e))(SSe||{})
;const _Se=cu(["path","query","header","cookie"]),ASe=cu(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),TSe=zc({
in:_Se,name:cl(),description:cl().optional(),
required:mc().optional().default(!1),deprecated:mc().optional().default(!1),
schema:$c().optional(),content:$c().optional(),style:ASe.optional(),
explode:mc().optional(),example:$c().optional(),examples:Qc([tu(cl(),zc({
value:$c().optional(),summary:cl().optional(),externalValue:cl().optional()
})),Bc($c())]).optional()});function ESe(e,t,n){const r={}
;t.forEach(((e,t)=>r[e]=t));const a=[],o=[];return e.forEach((e=>{
const t=r[e[n]]??-1;t>=0?a[t]=e:o.push(e)})),a.filter(Boolean).concat(...o)}
const CSe=e=>e["$ref-value"],$Se=(e,t=CSe)=>"object"==typeof e&&null!==e&&"$ref"in e?t(e):e,PSe=e=>{
if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e)
;return t===Object.prototype||null===t},ISe=(e,t,n)=>{const[r,a]=e.split("#",2)
;if(r){if(!n.has(r))return
;return a?a.startsWith("/")?`${n.get(r)}${a}`:n.get(`${r}#${a}`):n.get(r)}
if(a)return a.startsWith("/")?a.slice(1):n.get(`${t}#${a}`)},DSe=e=>{
if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id
},MSe=e=>e.join("/"),NSe=(e,t="",n=[],r=new Map,a=new WeakSet)=>{
if("object"!=typeof e||null===e)return r;if(a.has(e))return r;a.add(e)
;const o=DSe(e);o&&r.set(o,MSe(n));const i=o??t
;e.$anchor&&"string"==typeof e.$anchor&&r.set(`${i}#${e.$anchor}`,MSe(n))
;for(const s in e)"object"==typeof e[s]&&null!==e[s]&&NSe(e[s],i,[...n,s],r,a)
;return r};function RSe(e,t){return t.reduce(((e,t)=>{
if(void 0===e.value)return{context:"",value:void 0}
;if("object"!=typeof e.value||null===e.value)return{context:"",value:void 0}
;return{context:DSe(e.value)??e.context,value:e.value?.[t]}}),{context:"",
value:e})}function LSe(e){
return e.split("/").filter(((e,t)=>(0!==t||"#"!==e)&&e))}
const BSe=Symbol("isMagicProxy"),jSe=Symbol("magicProxyTarget"),USe="$ref-value",zSe="$ref",ZSe=(e,t,n={
root:e,proxyCache:new WeakMap,cache:new Map,schemas:NSe(e),currentContext:""
})=>{if(!PSe(e)&&!Array.isArray(e))return e
;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r=new Proxy(e,{
get(e,r,a){if(r===BSe)return!0;if(r===jSe)return e
;if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return
;const o=Reflect.get(e,zSe,a),i=DSe(e);if(r===USe&&"string"==typeof o){
if(n.cache.has(o))return n.cache.get(o)
;const e=ISe(o,i??n.currentContext,n.schemas);if(void 0===e)return
;const r=RSe(n.root,LSe(`#/${e}`));if(FSe(r.value))return r.value
;const a=ZSe(r.value,t,{...n,currentContext:r.context});return n.cache.set(o,a),
a}const s=Reflect.get(e,r,a);return FSe(s)?s:ZSe(s,t,{...n,
currentContext:i??n.currentContext})},set(e,r,a,o){const i=Reflect.get(e,zSe,o)
;if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return!0
;if(r===USe&&"string"==typeof i){
const t=DSe(e),r=ISe(i,t??n.currentContext,n.schemas);if(void 0===r)return
;const o=LSe(`#/${r}`);if(0===o.length)return!1
;const s=()=>RSe(n.root,o.slice(0,-1)).value
;return void 0===s()&&(!function(e,t){
t.reduce(((e,t)=>(void 0===e[t]&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t])),e)
}(n.root,o.slice(0,-1)),
console.warn(`Trying to set $ref-value for invalid reference: ${i}\n\nPlease fix your input file to fix this issue.`)),
s()[o.at(-1)]=a,!0}return Reflect.set(e,r,a,o)},
deleteProperty:(e,t)=>Reflect.deleteProperty(e,t),
has:(e,n)=>!("string"==typeof n&&n.startsWith("__scalar_")&&!t?.showInternal)&&(n===USe&&zSe in e||Reflect.has(e,n)),
ownKeys(e){
const n=Reflect.ownKeys(e).filter((e=>"string"!=typeof e||!(e.startsWith("__scalar_")&&!t?.showInternal)))
;return zSe in e&&!n.includes(USe)&&n.push(USe),n},
getOwnPropertyDescriptor(e,n){
if("string"==typeof n&&n.startsWith("__scalar_")&&!t?.showInternal)return
;const r=Reflect.get(e,zSe);return n===USe&&"string"==typeof r?{configurable:!0,
enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}})
;return n.proxyCache.set(e,r),r
},FSe=e=>"object"==typeof e&&null!==e&&!0===e[BSe];function HSe(e){
return"object"!=typeof e||null===e?e:e[BSe]?e[jSe]:e}
const QSe=Symbol("isOverridesProxy"),VSe=Symbol("getOverridesTarget"),qSe=(e,t,n={
cache:new WeakMap})=>{if(!e||"object"!=typeof e)return e
;if(n.cache.has(e))return n.cache.get(e)
;const{overrides:r}=t??{},a=new Proxy(e,{get(e,t,a){if(t===QSe)return!0
;if(t===VSe)return e;const o=Reflect.get(e,t,a);return WSe(o)?o:PSe(o)?qSe(o,{
overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??o},set(e,t,n,a){
if(t===QSe||t===VSe)return!1
;return r&&Reflect.has(r,t)&&r&&"object"==typeof r?(r[t]=n,
!0):Reflect.set(e,t,n,a)}});return n.cache.set(e,a),a
},WSe=e=>"object"==typeof e&&null!==e&&!0===e[QSe];function XSe(e){
return"object"==typeof e&&null!==e&&e[QSe]?e[VSe]:e}
const GSe=(new Date).toISOString()
;GSe.split("T")[0],GSe.split("T")[1].split(".")[0];const YSe=zc({
key:cl().default(""),value:hd().default(""),enabled:mc().default(!0),
file:Ec().optional(),description:cl().optional(),required:mc().optional(),
enum:Bc(cl()).optional(),examples:Bc(Ec()).optional(),
type:Qc([cl(),Bc(cl())]).optional(),format:cl().optional(),
minimum:sc().optional(),maximum:sc().optional(),default:Ec().optional(),
nullable:mc().optional()}).transform((e=>{const t={...e}
;return Array.isArray(t.type)&&t.type.includes("null")&&(t.nullable=!0),
Array.isArray(t.type)&&2===t.type.length&&t.type.includes("null")&&(t.type=t.type.find((e=>"null"!==e))),
t})),KSe=zc({url:cl(),base64:cl().optional()}).nullable();Qc([zc({
type:pu("string"),value:cl()}),zc({type:pu("file"),file:KSe})]);const JSe=zc({
raw:zc({encoding:cu(["json","text","html","javascript","xml","yaml","edn"]),
value:cl().default(""),mimeType:cl().optional()}).optional(),formData:zc({
encoding:Qc([pu("form-data"),pu("urlencoded")]).default("form-data"),
value:YSe.array().default([])}).optional(),binary:rd(Blob).optional(),
activeBody:Qc([pu("raw"),pu("formData"),pu("binary")]).default("raw")}),e_e=zc({
encoding:cu(["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"]),
content:Qc([tu(cl(),Ec()),cl()]),file:KSe.optional()});zc({uid:WG.brand(),
type:pu("requestExample").optional().default("requestExample"),
requestUid:cl().brand().optional(),name:cl().optional().default("Name"),
body:JSe.optional().default({activeBody:"raw"}),parameters:zc({
path:YSe.array().default([]),query:YSe.array().default([]),
headers:YSe.array().default([{key:"Accept",value:"*/*",enabled:!0}]),
cookies:YSe.array().default([])}).optional().default({path:[],query:[],
headers:[{key:"Accept",value:"*/*",enabled:!0}],cookies:[]}),
serverVariables:tu(cl(),Bc(cl())).optional()})
;const t_e=tu(cl(),cl()).optional(),n_e=zc({name:cl().optional(),
body:e_e.optional(),parameters:zc({path:t_e,query:t_e,headers:t_e,cookies:t_e})
}),r_e=Ec(),a_e=zc({tags:cl().array().optional(),summary:cl().optional(),
description:cl().optional(),operationId:cl().optional(),
security:Bc(cSe).optional(),requestBody:r_e.optional(),
parameters:TSe.array().optional(),externalDocs:OSe.optional(),
deprecated:mc().optional(),responses:tu(cl(),Ec()).optional(),
callbacks:tu(cl(),tu(cl(),tu(cl(),Ec()))).optional(),
"x-scalar-examples":tu(cl(),n_e).optional(),"x-internal":mc().optional(),
"x-scalar-ignore":mc().optional()}),o_e=zc({
"x-scalar-stability":cu([SSe.Deprecated,SSe.Experimental,SSe.Stable]).optional().catch(void 0)
}),i_e=zc({type:pu("request").optional().default("request"),uid:WG.brand(),
path:cl().optional().default(""),
method:cu(["delete","get","head","options","patch","post","put","trace"]).default("get"),
servers:cl().brand().array().default([]),
selectedServerUid:cl().brand().optional().nullable().default(null),
examples:cl().brand().array().default([]),selectedSecuritySchemeUids:uSe})
;a_e.omit({"x-scalar-examples":!0}).merge(jG).merge(o_e).merge(i_e).merge(UG)
;const s_e=(e={})=>{
const{delay:t=328,maxWait:n}=e,r=new Map,a=new Map,o=new Map,i=e=>{
const t=o.get(e),n=r.get(e);void 0!==n&&(clearTimeout(n),r.delete(e))
;const i=a.get(e)
;if(void 0!==i&&(clearTimeout(i),a.delete(e)),o.delete(e),void 0!==t)try{t()
}catch{}};return{execute:(e,s)=>{o.set(e,s);const l=r.get(e)
;void 0!==l&&clearTimeout(l),
r.set(e,setTimeout((()=>i(e)),t)),void 0===n||a.has(e)||a.set(e,setTimeout((()=>i(e)),n))
},cleanup:()=>{
r.forEach(clearTimeout),a.forEach(clearTimeout),r.clear(),a.clear(),o.clear()}}}
;function l_e(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}
function c_e(e,t,n=[]){const r={};for(const[a,o]of Object.entries(e)){
const e=[...n,a]
;Array.isArray(o)?r[a]=o.map(((n,r)=>"object"!=typeof n||Array.isArray(n)||null===n?n:c_e(n,t,[...e,r.toString()]))):r[a]="object"!=typeof o||null===o?o:c_e(o,t,e)
}return t(r,n)}function u_e(e){const t=e["x-example"],n=e["x-examples"]
;return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:n}}
function d_e(e){
return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.keys(e).length>0}
const p_e=new Set(["summary","description","value","externalValue"])
;function h_e(e){if("object"!=typeof e||null===e)return!1
;const t=e,n="value"in t||"externalValue"in t,r=Object.keys(t).every((e=>p_e.has(e)))
;return n&&r}function f_e(e){return h_e(e)?e:{value:e}}const m_e=e=>{switch(e){
case"application":return"clientCredentials";case"accessCode":
return"authorizationCode";case"implicit":return"implicit";case"password":
return"password";default:return e}};function g_e(e){
return["type","format","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 v_e(e){
if("formData"===e)throw new Error("Encountered a formData parameter which should have been filtered out by the caller")
;if("body"===e)throw new Error("Encountered a body parameter which should have been filtered out by the caller")
;return e}function b_e(e){if(Object.hasOwn(e,"$ref")&&"$ref"in e)return{
$ref:e.$ref};const t=function(e){
if("array"!==e.type||"query"!==e.in&&"path"!==e.in&&"header"!==e.in)return{}
;const t=e.collectionFormat??"csv"
;if(e.in in w_e&&t in w_e[e.in])return w_e[e.in][t];return{}
}(e),n=g_e(e),{xExample:r,xExamples:a}=u_e(e);if(d_e(r)?e.examples=function(e){
return Object.entries(e).reduce(((e,[t,n])=>(e[t]={value:n},e)),{})
}(r):d_e(a)&&(e.examples=Object.entries(a).reduce(((e,[t,n])=>(e[t]=f_e(n),
e)),{})),
delete e.collectionFormat,delete e.default,!e.in)throw new Error('Parameter object must have an "in" property')
;return{schema:n,...t,...e,in:v_e(e.in)}}function y_e(e){
if(Object.hasOwn(e,"$ref")&&"$ref"in e)return{$ref:e.$ref};const t=g_e(e)
;return{...e,schema:t}}const O_e={ssv:{},pipes:{},multi:{},csv:{style:"simple",
explode:!1},tsv:{}},w_e={header:O_e,query:{ssv:{style:"spaceDelimited",
explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",
explode:!0},csv:{style:"form",explode:!1},tsv:{}},path:O_e};function x_e(e,t){
const{xExample:n,xExamples:r}=u_e(e);delete e.name,delete e.in
;const{schema:a,...o}=e,i={content:{},...o}
;if(i.content)for(const l of t)if(i.content[l]={schema:a
},d_e(n)&&l in n&&(i.content[l].example=n[l]),d_e(r)&&l in r){const e=r[l]
;d_e(e)&&Object.values(e).every((e=>h_e(e)))?i.content[l].examples=e:d_e(s=e)&&Object.values(s).every((e=>"object"==typeof e&&null!==e&&!Array.isArray(e)))?i.content[l].examples=Object.entries(e).reduce(((e,[t,n])=>(e[t]=f_e(n),
e)),{}):i.content[l].examples={default:f_e(e)}}var s;return i}
function k_e(e,t=["multipart/form-data"]){const n={content:{}
},r=t.filter((e=>"multipart/form-data"===e||"application/x-www-form-urlencoded"===e)),a=r.length>0?r:["multipart/form-data"]
;if(n.content)for(const o of a){n.content[o]={schema:{type:"object",
properties:{},required:[]}};const t=n.content?.[o]
;if(t?.schema&&"object"==typeof t.schema&&"properties"in t.schema)for(const n of e)n.name&&t.schema.properties&&(t.schema.properties[n.name]={
type:n.type,description:n.description,...n.format?{format:n.format}:{}
},n.required&&Array.isArray(t.schema.required)&&t.schema.required.push(n.name))}
return n}function S_e(e,t){const n={
parameters:e.filter((e=>!("body"===e.in||"formData"===e.in))).map((e=>b_e(e)))
},r=structuredClone(e.find((e=>"body"===e.in))??{})
;r&&Object.keys(r).length&&(n.requestBody=x_e(r,t))
;const a=e.filter((e=>"formData"===e.in));if(a.length>0){const e=k_e(a,t)
;"object"!=typeof n.requestBody?n.requestBody=e:n.requestBody={...n.requestBody,
content:{...n.requestBody.content,...e.content}
},"object"!=typeof n.requestBody&&(n.requestBody={content:{}})}return n}
const __e=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"])
;const A_e=(e,t)=>{
void 0!==e.type&&!0===e.nullable&&(e.type=[e.type,"null"],delete e.nullable),
!0===e.exclusiveMinimum?(e.exclusiveMinimum=e.minimum,
delete e.minimum):!1===e.exclusiveMinimum&&delete e.exclusiveMinimum,
!0===e.exclusiveMaximum?(e.exclusiveMaximum=e.maximum,
delete e.maximum):!1===e.exclusiveMaximum&&delete e.exclusiveMaximum
;const n=t?.some(((e,n)=>{if("examples"===e&&n>0){return"properties"!==t[n-1]}
return!1}));if(void 0===e.example||n||(!function(e){
return!!e&&(!!e.some((e=>__e.has(e)))||!!e.some((e=>e.endsWith("Schema")))||e.length>=2&&"components"===e[0]&&"schemas"===e[1])
}(t)?e.examples={default:{value:e.example}
}:e.examples=[e.example],delete e.example),
"object"===e.type&&void 0!==e.properties){
const n=t?.slice(0,-1),r=n?.some(((e,n)=>"content"===e&&"multipart/form-data"===t?.[n+1]))
;if(r&&null!==e.properties)for(const t of Object.values(e.properties))"object"==typeof t&&null!==t&&"type"in t&&"format"in t&&"string"===t.type&&"binary"===t.format&&(t.contentMediaType="application/octet-stream",
delete t.format)}
if(t?.includes("content")&&t?.includes("application/octet-stream"))return{}
;const{format:r,...a}=e;if("string"===e.type){if("binary"===e.format)return{
...a,type:"string",contentMediaType:"application/octet-stream"}
;if("base64"===e.format)return{...a,type:"string",contentEncoding:"base64"}
;if("byte"===e.format){
const e=t?.slice(0,-1),n=e?.find(((e,n)=>"content"===t?.[n-1]));return{...a,
type:"string",contentEncoding:"base64",contentMediaType:n}}}
return void 0!==e["x-webhooks"]&&(e.webhooks=e["x-webhooks"],
delete e["x-webhooks"]),e};function T_e(e){if(null!==e){if("string"==typeof e){
if(""===e.trim())return;try{return JSON.parse(e)}catch{
const t=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith("{")
;if(!t||n)return;return PG(e,{maxAliasCount:1e4,merge:!0})}}
return void 0!==(t=e)&&Array.isArray(t)&&t.length>0&&t.some((e=>!0===e.isEntrypoint)),
e;var t}}function E_e(e){try{const t=new URL(e)
;return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}
function C_e(e){return!E_e(e)&&!function(e){
return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}(e)&&!function(e){
if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{const t=JSON.parse(e)
;return PSe(t)}catch{return!1}}(e)}function $_e(e,t){let n=0
;for(let r=e.length-1;r>=0;r--){const t=e[r]
;"."===t?e.splice(r,1):".."===t?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}
if(t)for(;n--;n)e.unshift("..");return e}
const P_e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/,I_e=e=>P_e.exec(e).slice(1)
;function D_e(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){
const a=r>=0?e[r]:"/"
;if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings")
;a&&(t=a+"/"+t,n="/"===a.charAt(0))}
return t=$_e(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}
function M_e(e){const t=N_e(e),n="/"===e.slice(-1)
;let r=$_e(e.split("/").filter((e=>!!e)),!t).join("/")
;return r||t||(r="."),r&&n&&(r+="/"),(t?"/":"")+r}function N_e(e){
return"/"===e.charAt(0)}const R_e={extname:function(e){return I_e(e)[3]},
basename:function(e,t){let n=I_e(e)[2]
;return t&&n.slice(-t.length)===t&&(n=n.slice(0,-t.length)),n},
dirname:function(e){const t=I_e(e),n=t[0];let r=t[1]
;return n||r?(r&&(r=r.slice(0,-1)),n+r):"."},sep:"/",delimiter:":",
relative:function(e,t){const n=D_e(e).substring(1),r=D_e(t).substring(1)
;function a(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1
;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}
const o=a(n.split("/")),i=a(r.split("/")),s=Math.min(o.length,i.length);let l=s
;for(let u=0;u<s;u++)if(o[u]!==i[u]){l=u;break}let c=[]
;for(let u=l;u<o.length;u++)c.push("..")
;return c=c.concat(i.slice(l)),c.join("/")},join:function(...e){
return M_e(e.filter((e=>{
if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings")
;return e})).join("/"))},isAbsolute:N_e,normalize:M_e,resolve:D_e},L_e=(e,t)=>{
if(E_e(t))return t;if(E_e(e)){const n=new URL(e)
;return n.pathname=R_e.resolve(R_e.dirname(n.pathname),t),n.toString()}
return R_e.resolve(R_e.dirname(e),t)
},B_e=new Set(["__proto__","prototype","constructor"]),j_e=(e,t)=>{
if(B_e.has(e)){throw new Error(`Prototype pollution key detected: "${e}"`)}}
;function U_e(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}
function z_e(e){return e.split("/").slice(1).map(U_e)}function Z_e(e,t,n){
if(""===t)throw new Error("Cannot set value at root ('') pointer")
;const r=z_e(t);r.forEach((e=>j_e(e)));let a=e;for(let o=0;o<r.length;o++){
const e=r[o],t=o===r.length-1,i=r[o+1],s=/^\d+$/.test(i??"")
;t?a[e]=n:(e in a&&"object"==typeof a[e]||(a[e]=s?[]:{}),a=a[e])}}
const F_e=(e,t)=>{if(E_e(e)&&E_e(t)){const n=new URL(e),r=new URL(t)
;if(n.origin!==r.origin)return e
;const a=R_e.dirname(R_e.resolve(r.pathname)),o=R_e.resolve(n.pathname)
;return R_e.relative(a,o)}if(E_e(t)){
const n=new URL(t),r=R_e.dirname(R_e.resolve(n.pathname)),a=R_e.resolve(e)
;return n.pathname=R_e.relative(r,a),n.toString()}if(E_e(e))return e
;const n=R_e.dirname(R_e.resolve(t)),r=R_e.resolve(e);return R_e.relative(n,r)
},H_e=e=>{let t=0,n=0
;const r=e.length,a=15&r,o=r-a,i=2277735313,s=1291169091,l=1390208809,c=944331445
;for(let u=0;u<o;u+=16){
let r=255&e.charCodeAt(u)|(255&e.charCodeAt(u+1))<<8|(255&e.charCodeAt(u+2))<<16|(255&e.charCodeAt(u+3))<<24,a=255&e.charCodeAt(u+4)|(255&e.charCodeAt(u+5))<<8|(255&e.charCodeAt(u+6))<<16|(255&e.charCodeAt(u+7))<<24,o=255&e.charCodeAt(u+8)|(255&e.charCodeAt(u+9))<<8|(255&e.charCodeAt(u+10))<<16|(255&e.charCodeAt(u+11))<<24,d=255&e.charCodeAt(u+12)|(255&e.charCodeAt(u+13))<<8|(255&e.charCodeAt(u+14))<<16|(255&e.charCodeAt(u+15))<<24
;r=Math.imul(r,i),
r=r<<15|r>>>17,r=Math.imul(r,s),t^=r,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,l),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,
o=Math.imul(o,l),
o=o<<17|o>>>15,o=Math.imul(o,c),t^=o,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,
d=Math.imul(d,c),
d=d<<18|d>>>14,d=Math.imul(d,i),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}
if(a>0){let r=0,u=0,d=0,p=0
;a>=15&&(p^=(255&e.charCodeAt(o+14))<<16),a>=14&&(p^=(255&e.charCodeAt(o+13))<<8),
a>=13&&(p^=255&e.charCodeAt(o+12),
p=Math.imul(p,c),p=p<<18|p>>>14,p=Math.imul(p,i),
n^=p),a>=12&&(d^=(255&e.charCodeAt(o+11))<<24),
a>=11&&(d^=(255&e.charCodeAt(o+10))<<16),a>=10&&(d^=(255&e.charCodeAt(o+9))<<8),
a>=9&&(d^=255&e.charCodeAt(o+8),
d=Math.imul(d,l),d=d<<17|d>>>15,d=Math.imul(d,c),
t^=d),a>=8&&(u^=(255&e.charCodeAt(o+7))<<24),
a>=7&&(u^=(255&e.charCodeAt(o+6))<<16),
a>=6&&(u^=(255&e.charCodeAt(o+5))<<8),a>=5&&(u^=255&e.charCodeAt(o+4),
u=Math.imul(u,s),
u=u<<16|u>>>16,u=Math.imul(u,l),n^=u),a>=4&&(r^=(255&e.charCodeAt(o+3))<<24),
a>=3&&(r^=(255&e.charCodeAt(o+2))<<16),
a>=2&&(r^=(255&e.charCodeAt(o+1))<<8),a>=1&&(r^=255&e.charCodeAt(o),
r=Math.imul(r,i),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}
return t^=r,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")
};function Q_e(e){const t=H_e(e).substring(0,7)
;return t.match(/^\d+$/)?"a"+t.substring(1):t}async function V_e(e,t,n,r,a=0){
if(a>=100)throw"Can not generate unique compressed values";const o=await e(r??t)
;return void 0!==n[o]&&n[o]!==t?V_e(e,t,n,o,a+1):(n[o]=t,o)}const q_e=(e,t)=>{
const n=Object.fromEntries(Object.entries(t).map((([e,t])=>[t,e])));return{
generate:async r=>{const a=n[r];if(a)return a
;const o=await V_e(e,r,t),i=o.match(/^\d+$/)?`a${o}`:o;return n[r]=i,i}}
},W_e=e=>PSe(e)&&"$ref"in e&&"string"==typeof e.$ref;function X_e(e){
return e.startsWith("#")}function G_e(e,t){const n=t.find((t=>t.validate(e)))
;return n?n.exec(e):Promise.resolve({ok:!1})}function Y_e(e,t){
if(!X_e(e))throw"Please provide an internal ref"
;return`#/${t.map(l_e).join("/")}${e.substring(1)}`}function K_e(e,t){
if(Array.isArray(e))e.forEach((e=>K_e(e,t)));else if(PSe(e)&&(Object.values(e).forEach((e=>K_e(e,t))),
"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref)){const n=e.$ref
;if(!X_e(n))return;e.$ref=Y_e(n,t)}}const J_e=(e,t,n,r,a,o=!1,i=new Set)=>{
const s=RSe(t,z_e(n)).value;if(i.has(s))return;i.add(s),Z_e(e,n,s);const l=n=>{
if(n&&"object"==typeof n){
"$ref"in n&&"string"==typeof n.$ref&&(n.$ref.startsWith(`#/${r}/${l_e(a)}`)||o)&&J_e(e,t,n.$ref.substring(1),r,a,o,i)
;for(const e of Object.values(n))l(e)}};l(s)},eAe={externalDocuments:"x-ext",
externalDocumentsMappings:"x-ext-urls"};async function tAe(e,t){
t.externalDocumentsKey=t.externalDocumentsKey??eAe.externalDocuments,
t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??eAe.externalDocumentsMappings
;const n=t.cache??new Map,r=t.plugins.filter((e=>"loader"===e.type)),a=t.plugins.filter((e=>"lifecycle"===e.type)),o=await(async()=>{
if("string"!=typeof e)return e;const t=await G_e(e,r)
;if(t.ok&&"object"==typeof t.data)return t.data
;throw new Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")
})(),i=t.root??o,s=NSe(i),l=void 0!==t.root&&t.root!==o||void 0!==t.depth,c=t.visitedNodes??new Set,u=(()=>{
const n=DSe(i)
;return n||(t.origin?t.origin:"string"!=typeof e?"/":E_e(e)||C_e(e)?e:"/")})()
;void 0===i[t.externalDocumentsMappingsKey]&&(i[t.externalDocumentsMappingsKey]={})
;const{generate:d}=q_e(t.compress??Q_e,i[t.externalDocumentsMappingsKey]),p=async(e,...n)=>{
const r=t.hooks?.[e];r&&await r(...n);for(const t of a){const r=t[e]
;r&&await r(...n)}},h=async(e,a=u,o=!1,f=0,m=[],g=null)=>{
if(void 0!==t.depth&&f>t.depth)return;if(!PSe(e)&&!Array.isArray(e))return
;if(c.has(e))return;c.add(e);const v={path:m,resolutionCache:n,parentNode:g,
rootNode:i,loaders:r};await p("onBeforeNodeProcess",e,v);const b=DSe(e)
;if(W_e(e)){
const c=e.$ref,m="$global"in e&&"boolean"==typeof e.$global&&e.$global,g=ISe(c,b??a,s)
;if(void 0!==g){if(l){
const e=z_e(`/${g}`),t=e.length>0?RSe(i,e.slice(0,-1)).value:void 0,n=RSe(i,e)
;await h(n.value,n.context,o,f+1,e,t)}
return void(await p("onAfterNodeProcess",e,v))}
const[y,O=""]=c.split("#",2),w=L_e(b??a,y),x=F_e(w,u),k=await d(x),S=n.has(x)
;S||n.set(x,G_e(w,r)),await p("onResolveStart",e);const _=await n.get(x)
;return _.ok?(S||(m||K_e(_.data,[eAe.externalDocuments,k]),
await h(_.data,m?a:w,m,f+1,[t.externalDocumentsKey,k,i[t.externalDocumentsMappingsKey]]),
Z_e(i,`/${t.externalDocumentsMappingsKey}/${l_e(k)}`,x)),
!0===t.treeShake?J_e(i,{[t.externalDocumentsKey]:{[k]:_.data}
},Y_e(`#${O}`,[t.externalDocumentsKey,k]).substring(1),t.externalDocumentsKey,k):S||Z_e(i,`/${t.externalDocumentsKey}/${k}`,_.data),
e.$ref=Y_e(`#${O}`,[t.externalDocumentsKey,k]),
await p("onResolveSuccess",e),void(await p("onAfterNodeProcess",e,v))):(await p("onResolveError",e),
await p("onAfterNodeProcess",e,v),
console.warn(`Failed to resolve external reference "${w}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`))
}await Promise.all(Object.entries(e).map((async([n,r])=>{
n!==t.externalDocumentsKey&&n!==t.externalDocumentsMappingsKey&&await h(r,b??a,o,f+1,[...m,n],e)
}))),await p("onAfterNodeProcess",e,v)}
;return await h(o),t.urlMap||l||delete i[t.externalDocumentsMappingsKey],o}
function nAe(e,t){return function(e){let t=e
;return null!==t&&"string"==typeof t.openapi&&t.openapi.startsWith("3.0")?(t.openapi="3.1.1",
t=c_e(t,A_e),t):t}(function(e){let t=e
;if(null===t||"object"!=typeof t||"string"!=typeof t.swagger||!t.swagger?.startsWith("2.0"))return t
;if(t.openapi="3.0.4",delete t.swagger,t.host){
const 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=c_e(t,(e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),
e)))),
t=c_e(t,(e=>("file"===e.type&&(e.type="string",e.format="binary"),e))),Object.hasOwn(t,"parameters")){
t=c_e(t,(e=>{if("string"==typeof e.$ref&&e.$ref.startsWith("#/parameters/")){
const n=e.$ref.split("/")[2];if(!n)return e
;const r=t.parameters&&"object"==typeof t.parameters&&n in t.parameters?t.parameters[n]:void 0
;r&&"object"==typeof r&&"in"in r&&("body"===r.in||"formData"===r.in)?e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/parameters/")
}return e})),t.components??={}
;const e={},n={},r=t.parameters&&"object"==typeof t.parameters?t.parameters:{}
;for(const[a,o]of Object.entries(r))if(o&&"object"==typeof o)if("$ref"in o){
const t=b_e(o);e[a]=t
}else if("in"in o)if("body"===o.in)n[a]=x_e(o,t.consumes??["application/json"]);else if("formData"===o.in)n[a]=k_e([o],t.consumes);else{
const t=b_e(o);e[a]=t}
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")&&"object"==typeof t.responses&&null!==t.responses){
t=c_e(t,(e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/responses/")&&(e.$ref=e.$ref.replace(/^#\/responses\//,"#/components/responses/")),
e))),t.components??={};const e={},n=t.responses
;for(const[r,a]of Object.entries(n))if(a&&"object"==typeof a)if("$ref"in a)e[r]=a;else{
const n=a,o=t.produces??["application/json"];if(n.schema){
"object"!=typeof n.content&&(n.content={});for(const e of o)n.content[e]={
schema:n.schema};delete n.schema}if(n.examples&&"object"==typeof n.examples){
"object"!=typeof n.content&&(n.content={})
;for(const[e,t]of Object.entries(n.examples))"object"!=typeof n.content[e]&&(n.content[e]={}),
n.content[e].example=t;delete n.examples}
n.headers&&"object"==typeof n.headers&&(n.headers=Object.entries(n.headers).reduce(((e,[t,n])=>n&&"object"==typeof n?{
[t]:y_e(n),...e}:e),{})),e[r]=n}
Object.keys(e).length>0&&(t.components.responses=e),delete t.responses}
if("object"==typeof t.paths)for(const n in t.paths)if(Object.hasOwn(t.paths,n)){
const e=t.paths&&"object"==typeof t.paths&&n in t.paths?t.paths[n]:void 0
;if(!e||"object"!=typeof e)continue;let r
;for(const n in e)if("parameters"===n&&Object.hasOwn(e,n)){
const n=S_e(e.parameters,t.consumes??["application/json"])
;e.parameters=n.parameters,r=n.requestBody}else if(Object.hasOwn(e,n)){
const a=e[n];if(r&&(a.requestBody=r),a.parameters){
const e=S_e(a.parameters,a.consumes??t.consumes??["application/json"])
;a.parameters=e.parameters,e.requestBody&&(a.requestBody=e.requestBody)}
if(delete a.consumes,
a.responses)for(const e in a.responses)if(Object.hasOwn(a.responses,e)){
const n=a.responses[e]
;if(n.headers&&"object"==typeof n.headers&&(n.headers=Object.entries(n.headers).reduce(((e,[t,n])=>n&&"object"==typeof n?{
[t]:y_e(n),...e}:e),{})),n.schema){
const e=t.produces??a.produces??["application/json"]
;"object"!=typeof n.content&&(n.content={});for(const t of e)n.content[t]={
schema:n.schema};delete n.schema}if(n.examples&&"object"==typeof n.examples){
"object"!=typeof n.content&&(n.content={})
;for(const[e,t]of Object.entries(n.examples))"object"!=typeof n.content[e]&&(n.content[e]={}),
n.content[e].example=t;delete n.examples}}
delete a.produces,0===a.parameters?.length&&delete a.parameters}}
if(t.securityDefinitions){
"object"==typeof t.components&&null!==t.components||(t.components={}),
t.components&&"object"==typeof t.components&&Object.assign(t.components,{
securitySchemes:{}})
;for(const[e,n]of Object.entries(t.securityDefinitions))if("object"==typeof n)if("type"in n&&"oauth2"===n.type){
const{flow:r,authorizationUrl:a,tokenUrl:o,scopes:i}=n
;t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{
[e]:{type:"oauth2",flows:{[m_e(r||"implicit")]:Object.assign({},a&&{
authorizationUrl:a},o&&{tokenUrl:o},i&&{scopes:i})}}})
}else"type"in n&&"basic"===n.type?t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{
[e]:{type:"http",scheme:"basic"}
}):t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{
[e]:n});delete t.securityDefinitions}return delete t.consumes,delete t.produces,
t}(e))}
const rAe=e=>JSON.stringify(e,null,2),aAe=e=>IG(e),oAe="An error occurred while building the request",iAe="An unknown error has occurred.",sAe="The URL seems to be invalid. Try adding a valid URL.",lAe="There is an invalid header present, please double check your params.",cAe="File uploads are not saved in history, you must re-upload the file.",uAe="The request has been cancelled",dAe="An error occurred while making the request",pAe="The address bar input seems to be empty. Try adding a URL.",hAe=(e,t=iAe)=>(console.error(e),
e instanceof Error?(e.message=fAe(e.message),
e):"string"==typeof e?new Error(fAe(e)):new Error(t)),fAe=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?cAe:"Failed to construct 'URL': Invalid URL"===e?sAe:"Failed to execute 'fetch' on 'Window': Invalid name"===e?lAe:e,mAe="/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #0099ff;\n --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n --scalar-background-1: #0f0f0f;\n --scalar-background-2: #1a1a1a;\n --scalar-background-3: #272727;\n\n --scalar-color-1: #e7e7e7;\n --scalar-color-2: #a4a4a4;\n --scalar-color-3: #797979;\n\n --scalar-color-accent: #00aeff;\n --scalar-background-accent: #3ea6ff1f;\n\n --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode,\n.dark-mode {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n\n --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #ff5800;\n --scalar-color-purple: #5203d1;\n\n --scalar-link-color: var(--scalar-color-1);\n --scalar-link-color-hover: var(--scalar-link-color);\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n\n --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\n\n --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-link-color: var(--scalar-color-1);\n --scalar-link-color-hover: var(--scalar-link-color);\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n\n --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n .light-mode {\n --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n --scalar-color-orange: color(display-p3 1 0.4 0.02);\n --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n }\n .dark-mode {\n --scalar-color-accent: color(display-p3 0.07 0.67 1);\n --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n }\n}\n"
;function gAe(){if("undefined"==typeof window)return!1
;const e=document.createElement("div")
;e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),
e.classList.add("scrollbar-test");const t=document.createElement("div")
;t.setAttribute("style","width:100%;height:40px"),
e.appendChild(t),document.body.appendChild(e)
;const n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}
const vAe=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],bAe={
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"},yAe={default:{
uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",
theme:mAe,slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",
name:"Alternate",description:"Alternate Scalar theme",
theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n\n.dark-mode {\n --scalar-background-1: #131313;\n --scalar-background-2: #1d1d1d;\n --scalar-background-3: #272727;\n --scalar-background-card: #1d1d1d;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: #2a2b2a;\n}\n\n.light-mode,\n.light-mode .dark-mode {\n --scalar-background-1: #f9f9f9;\n --scalar-background-2: #f1f1f1;\n --scalar-background-3: #e7e7e7;\n --scalar-background-card: #fff;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n\n/* Document Sidebar */\n.t-doc__sidebar {\n --scalar-color-green: var(--scalar-color-1);\n --scalar-color-red: var(--scalar-color-1);\n --scalar-color-yellow: var(--scalar-color-1);\n --scalar-color-blue: var(--scalar-color-1);\n --scalar-color-orange: var(--scalar-color-1);\n --scalar-color-purple: var(--scalar-color-1);\n}\n\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dd2f2c;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-1: var(--scalar-background-card);\n --scalar-background-2: var(--scalar-background-1);\n --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-3: var(--scalar-background-3);\n}\n\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n",
slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",
description:"Lunar styles",
theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #000000;\n --scalar-color-2: #000000;\n --scalar-color-3: #000000;\n --scalar-color-accent: #645b0f;\n --scalar-background-1: #ccc9b3;\n --scalar-background-2: #c2bfaa;\n --scalar-background-3: #b8b5a1;\n --scalar-background-accent: #000000;\n\n --scalar-border-color: rgba(0, 0, 0, 0.2);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2:\n rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fffef3;\n --scalar-color-2: #fffef3;\n --scalar-color-3: #fffef3;\n --scalar-color-accent: #c3b531;\n --scalar-background-1: #313332;\n --scalar-background-2: #393b3a;\n --scalar-background-3: #414342;\n --scalar-background-accent: #fffef3;\n\n --scalar-border-color: #505452;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2:\n rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);\n}\n",
slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",
description:"Purple Scalar theme",
theme:"/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f6f8;\n --scalar-background-3: #eceef1;\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n --scalar-background-1: #15171c;\n --scalar-background-2: #1c1e24;\n --scalar-background-3: #22252b;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: #c9ced8;\n --scalar-color-3: #8c99ad;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: #3f4145;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",
slug:"purple"},solarized:{uid:"BdGVG1vf-4nYl3wJKyj8l",name:"Solarized",
description:"Solarized Scalar theme",
theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: #2f4851;\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2:\n rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n",
slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",
description:"Blue Planet Scalar theme",
theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f0f2f5;\n --scalar-background-2: #eaecf0;\n --scalar-background-3: #e0e2e6;\n --scalar-border-color: rgb(213 213 213);\n\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n --scalar-background-1: #000e23;\n --scalar-background-2: #01132e;\n --scalar-background-3: #03193b;\n --scalar-border-color: #2e394c;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n animation: headerbackground forwards;\n animation-timeline: scroll();\n animation-range: 0px 200px;\n}\n\n/* Document Layout */\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n --c1: #ffffff;\n --c2: #babfd8;\n --c3: #2e8bb2;\n --c4: #1a8593;\n --c5: #0a143e;\n --c6: #0a0f52;\n --c7: #2341b8;\n\n --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);\n --solid-wrap: var(--solid), var(--c1);\n --trans:\n var(--c1), transparent, var(--c2), transparent, var(--c3),\n transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n transparent, var(--c7);\n --trans-wrap: var(--trans), transparent, var(--c1);\n\n background:\n radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)),\n radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n width: 70vw;\n height: 700px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n right: 0;\n position: absolute;\n transform: rotate(-45deg);\n top: -300px;\n opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n --star-color: #6b9acc;\n --star-color2: #446b8d;\n --star-color3: #3e5879;\n background-image:\n radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n background-repeat: repeat;\n background-size: 200px 200px;\n width: 100%;\n height: 100%;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n top: -150px !important;\n height: 100vh;\n background: linear-gradient(#000, var(--scalar-background-1));\n width: 100vw;\n overflow-x: hidden;\n}\n.light-mode .section-flare {\n display: none;\n}\n.light-mode .scalar-card {\n --scalar-background-1: #fff;\n --scalar-background-2: #fff;\n --scalar-background-3: #fff;\n}\n\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);\n}\n\n@media (max-width: 1000px) {\n .light-mode .t-doc__sidebar,\n .dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n }\n .light-mode .t-doc__header,\n .dark-mode .t-doc__header {\n animation: none;\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n",
slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",
description:"Deep Space Scalar theme",
theme:'/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f4f5;\n --scalar-background-3: #e3e3e6;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgb(228, 228, 231);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.16);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n width: 100vw;\n height: 550px;\n position: absolute;\n}\n.section-flare-item:nth-of-type(1) {\n position: absolute;\n width: 100vw;\n height: 550px;\n --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);\n --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%);\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: invert(100%);\n -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n background-image: var(--stripesDark), var(--rainbow);\n filter: opacity(50%) saturate(200%);\n opacity: 0.25;\n height: 350px;\n}\n.section-flare-item:nth-of-type(1):after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n --star-color: #fff;\n --star-color2: #fff;\n --star-color3: #fff;\n width: 100%;\n height: 100%;\n position: absolute;\n background-image:\n radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n background-repeat: repeat;\n background-size: 200px 200px;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n opacity: 0.2;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n\n/* document header */\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n animation: headerbackground forwards;\n animation-timeline: scroll();\n animation-range: 0px 200px;\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n/* remove flare on safari to prevent dropped frames on scroll */\n@supports (-webkit-hyphens: none) {\n .section-flare {\n display: none;\n }\n}\n\n/* document background */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n',
slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",
description:"Saturn Scalar theme",
theme:"/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",
slug:"saturn"},kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",
description:"Kepler-11e Scalar theme",
theme:"/* basic theme */\n.light-mode {\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #7070ff;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #7070ff1f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n --scalar-color-1: #f7f8f8;\n --scalar-color-2: rgb(180, 188, 208);\n --scalar-color-3: #b4bcd099;\n --scalar-color-accent: #828fff;\n\n --scalar-background-1: #000212;\n --scalar-background-2: #0d0f1e;\n --scalar-background-3: #232533;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: #313245;\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.sidebar-search {\n backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--scalar-header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode .scalar-card {\n background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n --scalar-background-2: transparent !important;\n --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n --scalar-background-1: #0d0f1e !important;\n --scalar-background-2: #0d0f1e !important;\n --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n background: #191b29 !important;\n}\n.badge {\n box-shadow: 0 0 0 1px var(--scalar-border-color);\n margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n background: transparent;\n box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n width: 100vw;\n background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);\n height: 100vh;\n}\n.light-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n\n/* document layout */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n",
slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",
description:"Mars Scalar theme",
theme:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f9f6f0;\n --scalar-background-2: #f2efe8;\n --scalar-background-3: #e9e7e2;\n --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n --scalar-color-1: #c75549;\n --scalar-color-2: #c75549;\n --scalar-color-3: #c75549;\n\n --scalar-color-accent: #c75549;\n --scalar-background-accent: #dcbfa81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-background-1: #140507;\n --scalar-background-2: #20090c;\n --scalar-background-3: #321116;\n --scalar-border-color: #3c3031;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: rgba(255, 255, 255, 0.9);\n --scalar-background-accent: #441313;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n z-index: 1;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #09533a;\n --scalar-color-red: #aa181d;\n --scalar-color-yellow: #ab8d2b;\n --scalar-color-blue: #19689a;\n --scalar-color-orange: #b26c34;\n --scalar-color-purple: #4c2191;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n overflow-x: hidden;\n height: 100vh;\n left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n background: #d25019;\n position: relative;\n top: -150px;\n right: -400px;\n width: 80vw;\n height: 500px;\n margin-top: -150px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n}\n.light-mode .section-flare {\n display: none;\n}\n*::selection {\n background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);\n}\n\n/* document layout */\n.dark-mode .t-doc .layout-content {\n background: transparent;\n}\n",
slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",
description:"Laserwave Scalar theme",
theme:"/* basic theme */\n.light-mode {\n color-scheme: light;\n --scalar-color-1: #322b3b;\n --scalar-color-2: #645676;\n --scalar-color-3: #9789a9;\n --scalar-color-accent: #40b4c4;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f2f7;\n --scalar-background-3: #cfc7dc;\n --scalar-background-accent: #f3fafb;\n\n --scalar-border-color: #e4e0eb;\n}\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #b8b6ba;\n --scalar-color-3: #706c74;\n --scalar-color-accent: #ed78c2;\n\n --scalar-background-1: #27212e;\n --scalar-background-2: #322c39;\n --scalar-background-3: #4c4059;\n --scalar-background-accent: #eb64b91f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: #514c56;\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #74dfc4;\n --scalar-color-red: #d887f5;\n --scalar-color-yellow: #ffe261;\n --scalar-color-blue: #40b4c4;\n --scalar-color-orange: #ff52bf;\n --scalar-color-purple: #91889b;\n\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #27212e;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #74dfc4;\n --scalar-color-red: #d887f5;\n --scalar-color-yellow: #ffe261;\n --scalar-color-blue: #40b4c4;\n --scalar-color-orange: #ff52bf;\n --scalar-color-purple: #91889b;\n\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n/* Radius */\n:root {\n --scalar-radius: 2px;\n --scalar-radius-lg: 3px;\n --scalar-radius-xl: 4px;\n}\n/* P3 color support */\n@supports (color: color(display-p3 1 1 1)) {\n .light-mode {\n --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n }\n .dark-mode {\n --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);\n --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n }\n}\n",
slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",
description:"Elysia.js theme",
theme:'.light-mode {\n --scalar-color-1: #1b1b1b;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #f06292;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(156, 163, 175, 1);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n --scalar-color-accent: #f06292;\n\n --scalar-background-1: #111728;\n --scalar-background-2: #1e293b;\n --scalar-background-3: #334155;\n --scalar-background-accent: #f062921f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: #f062921f;\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #a3ffa9;\n --scalar-color-red: #ffa3a3;\n --scalar-color-yellow: #fffca3;\n --scalar-color-blue: #a5d6ff;\n --scalar-color-orange: #e2ae83;\n --scalar-color-purple: #d2a8ff;\n\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n.section-flare {\n width: 100%;\n height: 400px;\n position: absolute;\n}\n.section-flare-item:first-of-type:before {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);\n --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);\n --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);\n contain: strict;\n contain-intrinsic-size: 100vw 40vh;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: opacity(20%) saturate(200%);\n -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n}\n.section-flare-item:first-of-type:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripes), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n background-image: var(--stripesDark), var(--rainbow);\n pointer-events: none;\n}\n.light-mode .section-flare-item:first-of-type:after,\n.light-mode .section-flare-item:first-of-type:before {\n background-image: var(--stripes), var(--rainbow);\n filter: opacity(4%) saturate(200%);\n}\n',
slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",
description:"Fastify theme",
theme:".light-mode {\n color-scheme: light;\n --scalar-color-1: #1c1e21;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-disabled: #b4b1b1;\n --scalar-color-ghost: #a7a7a7;\n --scalar-color-accent: #2f8555;\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f5f5;\n --scalar-background-3: #ededed;\n --scalar-background-4: rgba(0, 0, 0, 0.06);\n --scalar-background-accent: #2f85551f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-green: #007300;\n --scalar-color-red: #af272b;\n --scalar-color-yellow: #b38200;\n --scalar-color-blue: #3b8ba5;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n --scalar-color-disabled: rgba(255, 255, 255, 0.34);\n --scalar-color-ghost: rgba(255, 255, 255, 0.26);\n --scalar-color-accent: #27c2a0;\n --scalar-background-1: #1b1b1d;\n --scalar-background-2: #242526;\n --scalar-background-3: #3b3b3b;\n --scalar-background-4: rgba(255, 255, 255, 0.06);\n --scalar-background-accent: #27c2a01f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2:\n rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #26b226;\n --scalar-color-red: #fb565b;\n --scalar-color-yellow: #ffc426;\n --scalar-color-blue: #6ecfef;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n",
slug:"fastify"}
},OAe=Bc(Qc([pu("Meta"),pu("Control"),pu("Shift"),pu("Alt"),pu("default")])).optional().default(["default"]),wAe=nu(cu(["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",";","=",",","-",".","/","`","[","\\","]",""]),zc({
modifiers:OAe.optional(),
event:cu(["addTopNav","closeModal","closeTopNav","createNew","executeRequest","focusAddressBar","focusRequestSearch","jumpToLastTab","jumpToTab","navigateSearchResultsDown","navigateSearchResultsUp","navigateTopNavLeft","navigateTopNavRight","openCommandPalette","selectSearchResult","toggleSidebar"])
})),xAe=zc({modifiers:OAe,hotKeys:wAe.optional()}).optional();zc({
uid:WG.brand(),name:cl().default("Default Workspace"),
description:cl().default("Basic Scalar Workspace"),
collections:Bc(cl().brand()).default([]),environments:tu(cl(),cl()).default({}),
hotKeyConfig:xAe,activeEnvironmentId:cl().optional().default("default"),
cookies:Bc(cl().brand()).default([]),proxyUrl:cl().optional(),
themeId:cu(vAe).optional().default("default").catch("default"),
selectedHttpClient:zc({targetKey:cl(),clientKey:cl()}).optional().default({
targetKey:"shell",clientKey:"curl"})})
;const kAe=Symbol("isDetectChangesProxy"),SAe=Symbol("detectChangesProxyTarget"),_Ae=(e,t,n={
proxyCache:new WeakMap,path:[]})=>{if(!PSe(e)&&!Array.isArray(e))return e
;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r=new Proxy(e,{
get(e,r,a){if(r===kAe)return!0;if(r===SAe)return e;const o=Reflect.get(e,r,a)
;return AAe(o)?o:_Ae(o,t,{...n,path:[...n.path,String(r)]})},set(e,r,a,o){
const i=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(i,a)
;const s=Reflect.set(e,r,a,o);return t?.hooks?.onAfterChange?.(i,a),s}})
;return n.proxyCache.set(e,r),r
},AAe=e=>"object"==typeof e&&null!==e&&!0===e[kAe],TAe=(e,{depth:t=0}={})=>{
const n=(r,a=0)=>{if("object"!=typeof r||null===r)return r
;const o="object"!=typeof(i=hm(HSe(XSe(r))))||null===i?i:i[kAe]?i[SAe]:i;var i
;return null!==t&&a>=t||(0!==a&&o!==r&&(console.warn("%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).\n%c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.\n%c🔍 Debug Info:%c The problematic value is shown below:","background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",a,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",r,e),
console.groupCollapsed("%c📜 Proxy assignment trace","color: #9c27b0; font-weight: bold;"),
console.trace({value:r,raw:o
}),console.groupEnd()),Object.entries(o).forEach((([e,t])=>{const r=n(t,a+1)
;Reflect.set(o,e,r)||console.warn('%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.\n%c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.\n%c🔍 Debug Info:%c Property: %s | Value: %o | Object: %o',"background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",e,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",e,r,o)
}))),o};return n(e)},EAe=(e={})=>{const{debug:t=!1}=e,n=new Map,r=[];let a=null
;const{execute:o}=s_e({delay:328}),i=()=>{if(0!==r.length){
if(t)if(1===r.length){const e=r[0]
;e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{
console.groupCollapsed(`[EventBus] ${r.length} operations`)
;for(const{message:e,args:t}of r)console.log(e,...t);console.groupEnd()}
r.length=0,a=null}},s=(e,...n)=>{t&&(r.push({message:e,args:n
}),a&&clearTimeout(a),a=setTimeout(i,500))},l=(e,t)=>{const r=n.get(e)
;r&&(r.delete(t),s(`Removed listener for "${String(e)}" (${r.size} remaining)`),
0===r.size&&n.delete(e))},c=(e,t,r)=>{const a=r?.skipUnpackProxy?t:TAe(t,{
depth:5}),o=n.get(e)
;if(!o||0===o.size)return void s(`🛑 No listeners for "${String(e)}"`)
;s(`Emitting "${String(e)}" to ${o.size} listener(s)`,t);const i=Array.from(o)
;for(const n of i)try{n(a)}catch(l){
console.error(`[EventBus] Error in listener for "${String(e)}":`,l)}};return{
on:(e,t)=>{const r=(e=>{const t=n.get(e)??new Set;return n.set(e,t),t})(e)
;return r.add(t),
s(`Added listener for "${String(e)}" (${r.size} total)`),()=>l(e,t)},off:l,
emit:(...e)=>{const[t,n,r]=e;if(!r?.debounceKey)return void c(t,n,r)
;const a=`${t}-${r.debounceKey}`;o(a,(()=>c(t,n,r)))}}},CAe={key:0,
class:"sr-only"},$Ae=Hg({__name:"ServerVariablesSelect",props:{enum:{},value:{},
controls:{}},emits:["change"],setup(e,{emit:t}){
const n=e,r=t,a=Ty((()=>n.enum.map((e=>({id:e,label:e}))))),o=Ty({
get:()=>a.value.find((e=>e.id===n.value)),set:e=>r("change",e?.id??"")})
;return(t,n)=>(Fb(),Wb(xm(Wre),{modelValue:o.value,
"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),options:a.value},{
default:ig((()=>[ey(xm(O_),{"aria-controls":e.controls,
class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{
default:ig((()=>[Jb("span",{class:Dh({"text-c-1":e.value})
},[e.value?(Fb(),qb("span",CAe," Selected: ")):oy("",!0),ry(" "+Uh(e.value||"Select value"),1)],2),ey(xm(kA),{
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"]))}}),PAe=Hg({
__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],
setup(e,{emit:t}){const n=e,r=t,a=Ty({get:()=>n.value,set:e=>r("change",e)})
;return(t,n)=>sg((Fb(),qb("input",cy({
"onUpdate:modelValue":n[0]||(n[0]=e=>a.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)),[[CO,a.value]])}
}),IAe=["for"],DAe=Hg({__name:"ServerVariablesForm",props:{variables:{},
values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],
setup(e,{emit:t}){const n=t,r=Qg();function a(e,t){n("update:variable",e,t)}
const o=t=>(e.values?.[t]??e.variables?.[t]?.default??"").toString()
;return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(Fb(!0),qb(Lb,{
key:0},Sv(Object.keys(e.variables),(t=>(Fb(),qb("div",{key:t,
class:Dh(["group/label flex h-8 w-full","reference"===e.layout&&"items-center border-x border-b last:rounded-b-lg"])
},[Jb("label",{
class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",
for:`${xm(r)}-${t}`},Uh(t),9,IAe),e.variables?.[t]?.enum?.length?(Fb(),Wb($Ae,{
key:0,id:`${xm(r)}-${t}`,controls:e.controls,
enum:e.variables[t]?.enum?.map((e=>`${e}`))??[],value:o(t),onChange:e=>a(t,e)
},null,8,["id","controls","enum","value","onChange"])):(Fb(),Wb(PAe,{key:1,
id:`${xm(r)}-${t}`,controls:e.controls,value:o(t),onChange:e=>a(t,e)
},null,8,["id","controls","value","onChange"]))],2)))),128)):oy("",!0)}}),MAe={
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 NAe(){const e={
xs:TY(MAe.xs),sm:TY(MAe.sm),md:TY(MAe.md),lg:TY(MAe.lg),xl:TY(MAe.xl),
zoomed:TY(MAe.zoomed)
},t=Ty((()=>Object.fromEntries(Object.entries(e).map((([e,t])=>[e,xm(t)])))))
;return{screens:MAe,mediaQueries:e,breakpoints:t}}const RAe=(e,t)=>{
if(t)return t.type===e?t:RAe(e,t.parent)},LAe=e=>{const t=new Map,n=(e,n)=>{
const r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{
if(e)for(const a of e)if("operation"===a.type){const e=`${a.path}|${a.method}`
;n(e,{...a,parent:t})}else if("webhook"===a.type){
const e=`${a.name}|${a.method}`;n(e,{...a,parent:t})
}else"children"in a&&a.children&&r(a.children,{...a,parent:t})}
;return r(e.children,e),t
},BAe=/[\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,jAe=Object.hasOwnProperty
;class UAe{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this
;let r=zAe(e,!0===t);const a=r
;for(;jAe.call(n.occurrences,r);)n.occurrences[a]++,r=a+"-"+n.occurrences[a]
;return n.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}}
function zAe(e,t){
return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(BAe,"").replace(/ /g,"-"))
}const ZAe=(e,t)=>{const n=r=>{const a=`${zAe(e)}`
;if("text"===r.type)return t?.generateHeadingSlug?t?.generateHeadingSlug({
slug:r.slug}):r.slug?`${a}/description/${r.slug}`:`${a}/`
;if("tag"===r.type)return t?.generateTagSlug?`${a}/tag/${t.generateTagSlug(r.tag)}`:`${a}/tag/${zAe(r.tag.name??"")}`
;if("operation"===r.type){const e=r.parentTag?`${n({type:"tag",
tag:r.parentTag.tag,parentId:r.parentTag.id})}/`:`${a}/`
;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("webhook"===r.type){const e=r.parentTag?`${n({type:"tag",
parentId:r.parentTag.id,tag:r.parentTag.tag})}/`:`${a}/`
;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({
name:r.name,method:r.method?.toUpperCase()
})}`:`${e}webhook/${r.method?.toUpperCase()}/${zAe(r.name)}`}
if("model"===r.type){if(!r.name)return`${a}/models`;const e=r.parentTag?`${n({
type:"tag",parentId:r.parentTag.id,tag:r.parentTag.tag})}/`:`${a}/`
;return t?.generateModelSlug?`${e}model/${t.generateModelSlug({name:r.name
})}`:`${e}model/${zAe(r.name)}`}
return"example"===r.type?`${r.parentId}/example/${zAe(r.name)}`:"document"===r.type?a:(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}}
;const FAe=({generateId:e,parentId:t,info:n})=>{
if(!n.description?.trim())return[];const r=function(e){const t=new UAe
;return((e,t)=>e.map((e=>({...e,slug:t.slug(e.value)}))))(TV(e),t)
}(n.description),a=(e=>{const t=Math.min(...e.map((e=>e.depth)))
;return t>=1&&t<=6?t:1})(r),o=[];let i=null
;if(n.description&&!n.description.trim().startsWith("#")){const r={depth:1,
value:"Introduction",slug:"introduction"},a={id:e({type:"text",depth:r.depth,
slug:r.slug,parentId:t,info:n,value:r.value}),title:r.value,type:"text"}
;o.push(a)}for(const s of r){if(s.depth!==a&&s.depth!==a+1)continue;const r={
id:e({type:"text",depth:s.depth,slug:s.slug,parentId:t,info:n,value:s.value}),
title:s.value,type:"text"}
;s.depth===a?(r.children=[],o.push(r),i=r):i&&i.children?.push(r)}return o}
;function HAe(e){return Array.isArray(e)}function QAe(e){
return"bigint"==typeof e}function VAe(e){return"boolean"==typeof e}
function qAe(e){return e instanceof globalThis.Date}function WAe(e){
return"number"==typeof e}function XAe(e){return"object"==typeof e&&null!==e}
function GAe(e){return e instanceof globalThis.RegExp}function YAe(e){
return"string"==typeof e}function KAe(e){
return e instanceof globalThis.Uint8Array}function JAe(e){return void 0===e}
function eTe(e){return HAe(e)?function(e){return e.map((e=>eTe(e)))
}(e):qAe(e)?function(e){return new Date(e.getTime())}(e):KAe(e)?function(e){
return new Uint8Array(e)}(e):GAe(e)?function(e){
return new RegExp(e.source,e.flags)}(e):XAe(e)?function(e){const t={}
;for(const n of Object.getOwnPropertyNames(e))t[n]=eTe(e[n])
;for(const n of Object.getOwnPropertySymbols(e))t[n]=eTe(e[n]);return t}(e):e}
function tTe(e){return eTe(e)}function nTe(e,t){return tTe(void 0===t?e:{...t,
...e})}function rTe(e){return cTe(e)&&globalThis.Symbol.asyncIterator in e}
function aTe(e){return cTe(e)&&globalThis.Symbol.iterator in e}function oTe(e){
return e instanceof globalThis.Promise}function iTe(e){
return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}
function sTe(e){return e instanceof globalThis.Uint8Array}function lTe(e,t){
return t in e}function cTe(e){return null!==e&&"object"==typeof e}
function uTe(e){
return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}
function dTe(e){return void 0===e}function pTe(e){return null===e}
function hTe(e){return"boolean"==typeof e}function fTe(e){
return"number"==typeof e}function mTe(e){return globalThis.Number.isInteger(e)}
function gTe(e){return"bigint"==typeof e}function vTe(e){
return"string"==typeof e}function bTe(e){return"function"==typeof e}
function yTe(e){return"symbol"==typeof e}var OTe;function wTe(e){
return HAe(e)?function(e){return globalThis.Object.freeze(e).map((e=>wTe(e)))
}(e):qAe(e)||KAe(e)||GAe(e)?e:XAe(e)?function(e){const t={}
;for(const n of Object.getOwnPropertyNames(e))t[n]=wTe(e[n])
;for(const n of Object.getOwnPropertySymbols(e))t[n]=wTe(e[n])
;return globalThis.Object.freeze(t)}(e):e}function xTe(e,t){const n=void 0!==t?{
...t,...e}:e;switch(OTe.InstanceMode){case"freeze":return wTe(n);case"clone":
return tTe(n);default:return n}}!function(e){function t(t){const n=cTe(t)
;return e.AllowArrayObject?n:n&&!uTe(t)}
e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,
e.AllowArrayObject=!1,e.AllowNaN=!1,
e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,n){
return e.ExactOptionalPropertyTypes?n in t:void 0!==t[n]
},e.IsObjectLike=t,e.IsRecordLike=function(e){
return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)
},e.IsNumberLike=function(t){return e.AllowNaN?fTe(t):Number.isFinite(t)
},e.IsVoidLike=function(t){const n=dTe(t);return e.AllowNullVoid?n||null===t:n}
}(OTe||(OTe={}));class kTe extends Error{constructor(e){super(e)}}
const STe=Symbol.for("TypeBox.Transform"),_Te=Symbol.for("TypeBox.Readonly"),ATe=Symbol.for("TypeBox.Optional"),TTe=Symbol.for("TypeBox.Hint"),ETe=Symbol.for("TypeBox.Kind")
;function CTe(e){return XAe(e)&&"Readonly"===e[_Te]}function $Te(e){
return XAe(e)&&"Optional"===e[ATe]}function PTe(e){return FTe(e,"Any")}
function ITe(e){return FTe(e,"Argument")}function DTe(e){return FTe(e,"Array")}
function MTe(e){return FTe(e,"AsyncIterator")}function NTe(e){
return FTe(e,"BigInt")}function RTe(e){return FTe(e,"Boolean")}function LTe(e){
return FTe(e,"Computed")}function BTe(e){return FTe(e,"Constructor")}
function jTe(e){return FTe(e,"Function")}function UTe(e){return FTe(e,"Integer")
}function zTe(e){return FTe(e,"Intersect")}function ZTe(e){
return FTe(e,"Iterator")}function FTe(e,t){return XAe(e)&&ETe in e&&e[ETe]===t}
function HTe(e){return VAe(e)||WAe(e)||YAe(e)}function QTe(e){
return FTe(e,"Literal")}function VTe(e){return FTe(e,"MappedKey")}
function qTe(e){return FTe(e,"MappedResult")}function WTe(e){
return FTe(e,"Never")}function XTe(e){return FTe(e,"Null")}function GTe(e){
return FTe(e,"Number")}function YTe(e){return FTe(e,"Object")}function KTe(e){
return FTe(e,"Promise")}function JTe(e){return FTe(e,"Record")}function eEe(e){
return FTe(e,"Ref")}function tEe(e){return FTe(e,"RegExp")}function nEe(e){
return FTe(e,"String")}function rEe(e){return FTe(e,"Symbol")}function aEe(e){
return FTe(e,"TemplateLiteral")}function oEe(e){return XAe(e)&&STe in e}
function iEe(e){return FTe(e,"Tuple")}function sEe(e){return FTe(e,"Undefined")}
function lEe(e){return FTe(e,"Union")}function cEe(e){
return PTe(e)||ITe(e)||DTe(e)||RTe(e)||NTe(e)||MTe(e)||LTe(e)||BTe(e)||function(e){
return FTe(e,"Date")
}(e)||jTe(e)||UTe(e)||zTe(e)||ZTe(e)||QTe(e)||VTe(e)||qTe(e)||WTe(e)||function(e){
return FTe(e,"Not")
}(e)||XTe(e)||GTe(e)||YTe(e)||KTe(e)||JTe(e)||eEe(e)||tEe(e)||nEe(e)||rEe(e)||aEe(e)||function(e){
return FTe(e,"This")}(e)||iEe(e)||sEe(e)||lEe(e)||function(e){
return FTe(e,"Uint8Array")}(e)||function(e){return FTe(e,"Unknown")
}(e)||function(e){return FTe(e,"Unsafe")}(e)||function(e){return FTe(e,"Void")
}(e)||function(e){return XAe(e)&&ETe in e&&YAe(e[ETe])}(e)}
const uEe=["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"]
;function dEe(e){try{return new RegExp(e),!0}catch{return!1}}function pEe(e){
if(!YAe(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t)
;if(n>=7&&n<=13||27===n||127===n)return!1}return!0}function hEe(e){
return gEe(e)||eCe(e)}function fEe(e){return JAe(e)||QAe(e)}function mEe(e){
return JAe(e)||WAe(e)}function gEe(e){return JAe(e)||VAe(e)}function vEe(e){
return JAe(e)||YAe(e)}function bEe(e){return JAe(e)||eCe(e)}function yEe(e){
return XAe(e)&&"Optional"===e[ATe]}function OEe(e){
return IEe(e,"Any")&&vEe(e.$id)}function wEe(e){
return IEe(e,"Array")&&"array"===e.type&&vEe(e.$id)&&eCe(e.items)&&mEe(e.minItems)&&mEe(e.maxItems)&&gEe(e.uniqueItems)&&bEe(e.contains)&&mEe(e.minContains)&&mEe(e.maxContains)
}function xEe(e){
return IEe(e,"AsyncIterator")&&"AsyncIterator"===e.type&&vEe(e.$id)&&eCe(e.items)
}function kEe(e){
return IEe(e,"BigInt")&&"bigint"===e.type&&vEe(e.$id)&&fEe(e.exclusiveMaximum)&&fEe(e.exclusiveMinimum)&&fEe(e.maximum)&&fEe(e.minimum)&&fEe(e.multipleOf)
}function SEe(e){return IEe(e,"Boolean")&&"boolean"===e.type&&vEe(e.$id)}
function _Ee(e){
return IEe(e,"Constructor")&&"Constructor"===e.type&&vEe(e.$id)&&HAe(e.parameters)&&e.parameters.every((e=>eCe(e)))&&eCe(e.returns)
}function AEe(e){
return IEe(e,"Date")&&"Date"===e.type&&vEe(e.$id)&&mEe(e.exclusiveMaximumTimestamp)&&mEe(e.exclusiveMinimumTimestamp)&&mEe(e.maximumTimestamp)&&mEe(e.minimumTimestamp)&&mEe(e.multipleOfTimestamp)
}function TEe(e){
return IEe(e,"Function")&&"Function"===e.type&&vEe(e.$id)&&HAe(e.parameters)&&e.parameters.every((e=>eCe(e)))&&eCe(e.returns)
}function EEe(e){
return IEe(e,"Integer")&&"integer"===e.type&&vEe(e.$id)&&mEe(e.exclusiveMaximum)&&mEe(e.exclusiveMinimum)&&mEe(e.maximum)&&mEe(e.minimum)&&mEe(e.multipleOf)
}function CEe(e){
return XAe(e)&&Object.entries(e).every((([e,t])=>pEe(e)&&eCe(t)))}
function $Ee(e){
return IEe(e,"Intersect")&&(!YAe(e.type)||"object"===e.type)&&HAe(e.allOf)&&e.allOf.every((e=>eCe(e)&&!function(e){
return XAe(e)&&STe in e
}(e)))&&vEe(e.type)&&(gEe(e.unevaluatedProperties)||bEe(e.unevaluatedProperties))&&vEe(e.$id)
}function PEe(e){
return IEe(e,"Iterator")&&"Iterator"===e.type&&vEe(e.$id)&&eCe(e.items)}
function IEe(e,t){return XAe(e)&&ETe in e&&e[ETe]===t}function DEe(e){
return REe(e)&&YAe(e.const)}function MEe(e){return REe(e)&&WAe(e.const)}
function NEe(e){return REe(e)&&VAe(e.const)}function REe(e){
return IEe(e,"Literal")&&vEe(e.$id)&&function(e){return VAe(e)||WAe(e)||YAe(e)
}(e.const)}function LEe(e){
return IEe(e,"Never")&&XAe(e.not)&&0===Object.getOwnPropertyNames(e.not).length}
function BEe(e){return IEe(e,"Not")&&eCe(e.not)}function jEe(e){
return IEe(e,"Null")&&"null"===e.type&&vEe(e.$id)}function UEe(e){
return IEe(e,"Number")&&"number"===e.type&&vEe(e.$id)&&mEe(e.exclusiveMaximum)&&mEe(e.exclusiveMinimum)&&mEe(e.maximum)&&mEe(e.minimum)&&mEe(e.multipleOf)
}function zEe(e){
return IEe(e,"Object")&&"object"===e.type&&vEe(e.$id)&&CEe(e.properties)&&hEe(e.additionalProperties)&&mEe(e.minProperties)&&mEe(e.maxProperties)
}function ZEe(e){
return IEe(e,"Promise")&&"Promise"===e.type&&vEe(e.$id)&&eCe(e.item)}
function FEe(e){
return IEe(e,"Record")&&"object"===e.type&&vEe(e.$id)&&hEe(e.additionalProperties)&&XAe(e.patternProperties)&&(e=>{
const t=Object.getOwnPropertyNames(e.patternProperties)
;return 1===t.length&&dEe(t[0])&&XAe(e.patternProperties)&&eCe(e.patternProperties[t[0]])
})(e)}function HEe(e){
return IEe(e,"RegExp")&&vEe(e.$id)&&YAe(e.source)&&YAe(e.flags)&&mEe(e.maxLength)&&mEe(e.minLength)
}function QEe(e){
return IEe(e,"String")&&"string"===e.type&&vEe(e.$id)&&mEe(e.minLength)&&mEe(e.maxLength)&&function(e){
return JAe(e)||YAe(e)&&pEe(e)&&dEe(e)}(e.pattern)&&function(e){
return JAe(e)||YAe(e)&&pEe(e)}(e.format)}function VEe(e){
return IEe(e,"Symbol")&&"symbol"===e.type&&vEe(e.$id)}function qEe(e){
return IEe(e,"TemplateLiteral")&&"string"===e.type&&YAe(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]
}function WEe(e){
return IEe(e,"Tuple")&&"array"===e.type&&vEe(e.$id)&&WAe(e.minItems)&&WAe(e.maxItems)&&e.minItems===e.maxItems&&(JAe(e.items)&&JAe(e.additionalItems)&&0===e.minItems||HAe(e.items)&&e.items.every((e=>eCe(e))))
}function XEe(e){return IEe(e,"Undefined")&&"undefined"===e.type&&vEe(e.$id)}
function GEe(e){
return IEe(e,"Union")&&vEe(e.$id)&&XAe(e)&&HAe(e.anyOf)&&e.anyOf.every((e=>eCe(e)))
}function YEe(e){
return IEe(e,"Uint8Array")&&"Uint8Array"===e.type&&vEe(e.$id)&&mEe(e.minByteLength)&&mEe(e.maxByteLength)
}function KEe(e){return IEe(e,"Unknown")&&vEe(e.$id)}function JEe(e){
return IEe(e,"Void")&&"void"===e.type&&vEe(e.$id)}function eCe(e){
return XAe(e)&&(OEe(e)||function(e){return IEe(e,"Argument")&&WAe(e.index)
}(e)||wEe(e)||SEe(e)||kEe(e)||xEe(e)||function(e){
return IEe(e,"Computed")&&YAe(e.target)&&HAe(e.parameters)&&e.parameters.every((e=>eCe(e)))
}(e)||_Ee(e)||AEe(e)||TEe(e)||EEe(e)||$Ee(e)||PEe(e)||REe(e)||function(e){
return IEe(e,"MappedKey")&&HAe(e.keys)&&e.keys.every((e=>WAe(e)||YAe(e)))
}(e)||function(e){return IEe(e,"MappedResult")&&CEe(e.properties)
}(e)||LEe(e)||BEe(e)||jEe(e)||UEe(e)||zEe(e)||ZEe(e)||FEe(e)||function(e){
return IEe(e,"Ref")&&vEe(e.$id)&&YAe(e.$ref)
}(e)||HEe(e)||QEe(e)||VEe(e)||qEe(e)||function(e){
return IEe(e,"This")&&vEe(e.$id)&&YAe(e.$ref)
}(e)||WEe(e)||XEe(e)||GEe(e)||YEe(e)||KEe(e)||function(e){return IEe(e,"Unsafe")
}(e)||JEe(e)||function(e){
return XAe(e)&&ETe in e&&YAe(e[ETe])&&!uEe.includes(e[ETe])}(e))}
const tCe="(true|false)",nCe="(0|[1-9][0-9]*)",rCe="(.*)",aCe=`^${nCe}$`,oCe=`^${rCe}$`,iCe="^(?!.*)$",sCe=new Map
;function lCe(e){return sCe.has(e)}function cCe(e){return sCe.get(e)}
const uCe=new Map;function dCe(e){return uCe.has(e)}function pCe(e){
return uCe.get(e)}function hCe(e){return xTe({[ETe]:"Any"},e)}function fCe(e,t){
return xTe({[ETe]:"Array",type:"array",items:e},t)}function mCe(e,t){
return xTe({[ETe]:"AsyncIterator",type:"AsyncIterator",items:e},t)}
function gCe(e,t,n){return xTe({[ETe]:"Computed",target:e,parameters:t},n)}
function vCe(e,t){return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e
;return r}(e,t)),e)}function bCe(e){return xTe({[ETe]:"Never",not:{}},e)}
function yCe(e){return xTe({[ETe]:"MappedResult",properties:e})}
function OCe(e,t,n){return xTe({[ETe]:"Constructor",type:"Constructor",
parameters:e,returns:t},n)}function wCe(e,t,n){return xTe({[ETe]:"Function",
type:"Function",parameters:e,returns:t},n)}function xCe(e,t){return xTe({
[ETe]:"Union",anyOf:e},t)}function kCe(e){
return e.map((e=>$Te(e)?vCe(e,[ATe]):e))}function SCe(e,t){const n=function(e){
return e.some((e=>$Te(e)))}(e);return n?S$e(xCe(kCe(e),t)):xCe(kCe(e),t)}
function _Ce(e,t){return 1===e.length?xTe(e[0],t):0===e.length?bCe(t):SCe(e,t)}
function ACe(e,t){return 0===e.length?bCe(t):1===e.length?xTe(e[0],t):xCe(e,t)}
class TCe extends kTe{}function ECe(e){
return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")
}function CCe(e,t,n){return e[t]===n&&92!==e.charCodeAt(t-1)}function $Ce(e,t){
return CCe(e,t,"(")}function PCe(e,t){return CCe(e,t,")")}function ICe(e,t){
return CCe(e,t,"|")}function DCe(e){return function(e){
if(!$Ce(e,0)||!PCe(e,e.length-1))return!1;let t=0
;for(let n=0;n<e.length;n++)if($Ce(e,n)&&(t+=1),
PCe(e,n)&&(t-=1),0===t&&n!==e.length-1)return!1;return!0}(e)?DCe(function(e){
return e.slice(1,e.length-1)}(e)):function(e){let t=0
;for(let n=0;n<e.length;n++)if($Ce(e,n)&&(t+=1),
PCe(e,n)&&(t-=1),ICe(e,n)&&0===t)return!0;return!1}(e)?function(e){
let[t,n]=[0,0];const r=[]
;for(let o=0;o<e.length;o++)if($Ce(e,o)&&(t+=1),PCe(e,o)&&(t-=1),
ICe(e,o)&&0===t){const t=e.slice(n,o);t.length>0&&r.push(DCe(t)),n=o+1}
const a=e.slice(n);return a.length>0&&r.push(DCe(a)),0===r.length?{type:"const",
const:""}:1===r.length?r[0]:{type:"or",expr:r}}(e):function(e){
for(let t=0;t<e.length;t++)if($Ce(e,t))return!0;return!1}(e)?function(e){
function t(e,t){
if(!$Ce(e,t))throw new TCe("TemplateLiteralParser: Index must point to open parens")
;let n=0
;for(let r=t;r<e.length;r++)if($Ce(e,r)&&(n+=1),PCe(e,r)&&(n-=1),0===n)return[t,r]
;throw new TCe("TemplateLiteralParser: Unclosed group parens in expression")}
function n(e,t){for(let n=t;n<e.length;n++)if($Ce(e,n))return[t,n]
;return[t,e.length]}const r=[];for(let a=0;a<e.length;a++)if($Ce(e,a)){
const[n,o]=t(e,a),i=e.slice(n,o+1);r.push(DCe(i)),a=o}else{
const[t,o]=n(e,a),i=e.slice(t,o);i.length>0&&r.push(DCe(i)),a=o-1}
return 0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"and",expr:r
}}(e):{type:"const",const:ECe(e)}}function MCe(e){
return DCe(e.slice(1,e.length-1))}class NCe extends kTe{}function RCe(e){
return!function(e){
return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const
}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){
return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const
}(e)||("and"===e.type||"or"===e.type?e.expr.every((e=>RCe(e))):"const"===e.type||(()=>{
throw new NCe("Unknown expression type")})()))}function LCe(e){
return RCe(MCe(e.pattern))}class BCe extends kTe{}function*jCe(e){
if(1===e.length)return yield*e[0]
;for(const t of e[0])for(const n of jCe(e.slice(1)))yield`${t}${n}`}
function*UCe(e){return yield*jCe(e.expr.map((e=>[...zCe(e)])))}function*zCe(e){
return"and"===e.type?yield*UCe(e):"or"===e.type?yield*function*(e){
for(const t of e.expr)yield*zCe(t)}(e):"const"===e.type?yield*function*(e){
return yield e.const}(e):(()=>{throw new BCe("Unknown expression")})()}
function ZCe(e){const t=MCe(e.pattern);return RCe(t)?[...zCe(t)]:[]}
function FCe(e,t){return xTe({[ETe]:"Literal",const:e,type:typeof e},t)}
function HCe(e){return xTe({[ETe]:"Boolean",type:"boolean"},e)}function QCe(e){
return xTe({[ETe]:"BigInt",type:"bigint"},e)}function VCe(e){return xTe({
[ETe]:"Number",type:"number"},e)}function qCe(e){return xTe({[ETe]:"String",
type:"string"},e)}function*WCe(e){const t=e.trim().replace(/"|'/g,"")
;return"boolean"===t?yield HCe():"number"===t?yield VCe():"bigint"===t?yield QCe():"string"===t?yield qCe():yield(()=>{
const e=t.split("|").map((e=>FCe(e.trim())))
;return 0===e.length?bCe():1===e.length?e[0]:_Ce(e)})()}function*XCe(e){
if("{"!==e[1]){const t=FCe("$"),n=GCe(e.slice(1));return yield*[t,...n]}
for(let t=2;t<e.length;t++)if("}"===e[t]){
const n=WCe(e.slice(2,t)),r=GCe(e.slice(t+1));return yield*[...n,...r]}
yield FCe(e)}function*GCe(e){for(let t=0;t<e.length;t++)if("$"===e[t]){
const n=FCe(e.slice(0,t)),r=XCe(e.slice(t));return yield*[n,...r]}yield FCe(e)}
class YCe extends kTe{}function KCe(e,t){
return aEe(e)?e.pattern.slice(1,e.pattern.length-1):lEe(e)?`(${e.anyOf.map((e=>KCe(e,t))).join("|")})`:GTe(e)||UTe(e)||NTe(e)?`${t}${nCe}`:nEe(e)?`${t}${rCe}`:QTe(e)?`${t}${n=e.const.toString(),
n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:RTe(e)?`${t}${tCe}`:(()=>{
throw new YCe(`Unexpected Kind '${e[ETe]}'`)})();var n}function JCe(e){
return`^${e.map((e=>KCe(e,""))).join("")}$`}function e$e(e){
return _Ce(ZCe(e).map((e=>FCe(e))))}function t$e(e,t){
const n=YAe(e)?JCe([...GCe(e)]):JCe(e);return xTe({[ETe]:"TemplateLiteral",
type:"string",pattern:n},t)}function n$e(e){const t=[]
;for(const n of e)t.push(...r$e(n));return t}function r$e(e){
return[...new Set(aEe(e)?(n=e,
ZCe(n).map((e=>e.toString()))):lEe(e)?n$e(e.anyOf):QTe(e)?(t=e.const,
[t.toString()]):GTe(e)||UTe(e)?["[number]"]:[])];var t,n}function a$e(e,t,n){
return function(e,t,n){const r={}
;for(const a of Object.getOwnPropertyNames(t))r[a]=d$e(e,r$e(t[a]),n);return r
}(e,t.properties,n)}function o$e(e,t){return e.map((e=>l$e(e,t)))}
function i$e(e,t){return E$e(function(e){return e.filter((e=>!WTe(e)))
}(o$e(e,t)))}function s$e(e,t){return _Ce(function(e){
return e.some((e=>WTe(e)))?[]:e}(o$e(e,t)))}function l$e(e,t){
return zTe(e)?i$e(e.allOf,t):lEe(e)?s$e(e.anyOf,t):iEe(e)?(n=e.items??[],
(r=t)in n?n[r]:"[number]"===r?_Ce(n):bCe()):DTe(e)?function(e,t){
return"[number]"===t?e:bCe()}(e.items,t):YTe(e)?function(e,t){
return t in e?e[t]:bCe()}(e.properties,t):bCe();var n,r}function c$e(e,t){
return t.map((t=>l$e(e,t)))}function u$e(e,t){return _Ce(c$e(e,t))}
function d$e(e,t,n){if(eEe(e)||eEe(t)){
const n="Index types using Ref parameters require both Type and Key to be of TSchema"
;if(!cEe(e)||!cEe(t))throw new kTe(n);return gCe("Index",[e,t])}
return qTe(t)?function(e,t,n){return yCe(a$e(e,t,n))
}(e,t,n):VTe(t)?function(e,t,n){const r=function(e,t,n){return function(e,t,n){
return t.reduce(((t,r)=>({...t,...p$e(e,r,n)})),{})}(e,t.keys,n)}(e,t,n)
;return yCe(r)}(e,t,n):xTe(cEe(t)?u$e(e,r$e(t)):u$e(e,t),n)}function p$e(e,t,n){
return{[t]:d$e(e,[t],tTe(n))}}function h$e(e,t){return xTe({[ETe]:"Iterator",
type:"Iterator",items:e},t)}var f$e=function(e,t){const n=function(e){const t=[]
;for(let n in e)$Te(e[n])||t.push(n);return t}(e);return xTe(n.length>0?{
[ETe]:"Object",type:"object",properties:e,required:n}:{[ETe]:"Object",
type:"object",properties:e},t)};function m$e(e,t){return xTe({[ETe]:"Promise",
type:"Promise",item:e},t)}function g$e(e,t){return!1===t?function(e){
return xTe(vCe(e,[_Te]))}(e):function(e){return xTe({...e,[_Te]:"Readonly"})}(e)
}function v$e(e,t){const n=t??!0;return qTe(e)?function(e,t){
const n=function(e,t){return function(e,t){const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=v$e(e[r],t)
;return n}(e.properties,t)}(e,t);return yCe(n)}(e,n):g$e(e,n)}function b$e(e,t){
return xTe(e.length>0?{[ETe]:"Tuple",type:"array",items:e,additionalItems:!1,
minItems:e.length,maxItems:e.length}:{[ETe]:"Tuple",type:"array",
minItems:e.length,maxItems:e.length},t)}function y$e(e,t){
return e in t?x$e(e,t[e]):yCe(t)}function O$e(e,t){
return n=e,t.includes(n)?function(e){return{[e]:FCe(e)}}(e):function(e){
const t={};for(const n of e)t[n]=FCe(n);return t}(t);var n}function w$e(e,t){
return t.map((t=>x$e(e,t)))}function x$e(e,t){const n={...t}
;return $Te(t)?S$e(x$e(e,vCe(t,[ATe]))):CTe(t)?v$e(x$e(e,vCe(t,[_Te]))):qTe(t)?y$e(e,t.properties):VTe(t)?function(e,t){
return y$e(e,O$e(e,t))
}(e,t.keys):BTe(t)?OCe(w$e(e,t.parameters),x$e(e,t.returns),n):jTe(t)?wCe(w$e(e,t.parameters),x$e(e,t.returns),n):MTe(t)?mCe(x$e(e,t.items),n):ZTe(t)?h$e(x$e(e,t.items),n):zTe(t)?C$e(w$e(e,t.allOf),n):lEe(t)?ACe(w$e(e,t.anyOf),n):iEe(t)?b$e(w$e(e,t.items??[]),n):YTe(t)?f$e(function(e,t){
const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(t))n[r]=x$e(e,t[r])
;return n
}(e,t.properties),n):DTe(t)?fCe(x$e(e,t.items),n):KTe(t)?m$e(x$e(e,t.item),n):t}
function k$e(e,t){return!1===t?function(e){return xTe(vCe(e,[ATe]))
}(e):function(e){return xTe({...e,[ATe]:"Optional"})}(e)}function S$e(e,t){
const n=t??!0;return qTe(e)?function(e,t){const n=function(e,t){
return function(e,t){const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=S$e(e[r],t)
;return n}(e.properties,t)}(e,t);return yCe(n)}(e,n):k$e(e,n)}
function _$e(e,t={}){
const n=e.every((e=>YTe(e))),r=cEe(t.unevaluatedProperties)?{
unevaluatedProperties:t.unevaluatedProperties}:{}
;return xTe(!1===t.unevaluatedProperties||cEe(t.unevaluatedProperties)||n?{...r,
[ETe]:"Intersect",type:"object",allOf:e}:{...r,[ETe]:"Intersect",allOf:e},t)}
function A$e(e){return e.map((e=>$Te(e)?vCe(e,[ATe]):e))}function T$e(e,t){
return function(e){return e.every((e=>$Te(e)))
}(e)?S$e(_$e(A$e(e),t)):_$e(A$e(e),t)}function E$e(e,t={}){
if(1===e.length)return xTe(e[0],t);if(0===e.length)return bCe(t)
;if(e.some((e=>oEe(e))))throw new Error("Cannot intersect transform types")
;return T$e(e,t)}function C$e(e,t){if(1===e.length)return xTe(e[0],t)
;if(0===e.length)return bCe(t)
;if(e.some((e=>oEe(e))))throw new Error("Cannot intersect transform types")
;return _$e(e,t)}function $$e(...e){
const[t,n]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]]
;if("string"!=typeof t)throw new kTe("Ref: $ref must be a string");return xTe({
[ETe]:"Ref",$ref:t},n)}function P$e(e){return e.map((e=>I$e(e)))}
function I$e(e,t){
return xTe(LTe(e)?(n=e.target,r=e.parameters,gCe("Awaited",[gCe(n,r)])):zTe(e)?C$e(P$e(e.allOf)):lEe(e)?function(e){
return ACe(P$e(e))}(e.anyOf):KTe(e)?function(e){return I$e(e)
}(e.item):eEe(e)?gCe("Awaited",[$$e(e.$ref)]):e,t);var n,r}function D$e(e){
const t=[];for(const n of e)t.push(M$e(n));return t}function M$e(e){
return zTe(e)?function(e){const t=[];for(const n of e)t.push(...n);return t
}(D$e(e.allOf)):lEe(e)?function(e){const t=D$e(e);var n
;return 1===(n=t).length?n[0]:n.length>1?function(e,t){
return e.reduce(((e,t)=>function(e,t){return e.filter((e=>t.includes(e)))
}(e,t)),t)}(n.slice(1),n[0]):[]}(e.anyOf):iEe(e)?function(e){
return e.map(((e,t)=>t.toString()))
}(e.items??[]):DTe(e)?(e.items,["[number]"]):YTe(e)?(n=e.properties,
globalThis.Object.getOwnPropertyNames(n)):JTe(e)?(t=e.patternProperties,
N$e?globalThis.Object.getOwnPropertyNames(t).map((e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e)):[]):[]
;var t,n}let N$e=!1;function R$e(e){N$e=!0;const t=M$e(e);N$e=!1
;return`^(${t.map((e=>`(${e})`)).join("|")})$`}function L$e(e,t){
const n=function(e){return e.map((e=>"[number]"===e?VCe():FCe(e)))}(M$e(e))
;return xTe(_Ce(n),t)}function B$e(e,t){
return LTe(e)?(n=e.target,r=e.parameters,
gCe("KeyOf",[gCe(n,r)])):eEe(e)?gCe("KeyOf",[$$e(e.$ref)]):qTe(e)?function(e,t){
const n=function(e,t){return function(e,t){const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=B$e(e[r],tTe(t))
;return n}(e.properties,t)}(e,t);return yCe(n)}(e,t):L$e(e,t);var n,r}
function j$e(e){const t=[];for(const n of e)t.push(...M$e(n))
;return function(e){return[...new Set(e)]}(t)}function U$e(e,t){const n=[]
;for(const r of e)n.push(...c$e(r,[t]));return function(e){
return e.filter((e=>!WTe(e)))}(n)}function z$e(e){return xTe({[ETe]:"Date",
type:"Date"},e)}function Z$e(e){return xTe({[ETe]:"Null",type:"null"},e)}
function F$e(e){return xTe({[ETe]:"Symbol",type:"symbol"},e)}function H$e(e){
return xTe({[ETe]:"Undefined",type:"undefined"},e)}function Q$e(e){return xTe({
[ETe]:"Uint8Array",type:"Uint8Array"},e)}function V$e(e){return xTe({
[ETe]:"Unknown"},e)}function q$e(e,t){return!0===t?e:v$e(e)}function W$e(e,t){
return function(e){return XAe(e)&&!HAe(e)&&!KAe(e)&&Symbol.asyncIterator in e
}(e)||function(e){return XAe(e)&&!HAe(e)&&!KAe(e)&&Symbol.iterator in e
}(e)?q$e(hCe(),t):HAe(e)?v$e(b$e(e.map((e=>W$e(e,!1))))):KAe(e)?Q$e():qAe(e)?z$e():XAe(e)?q$e(f$e(function(e){
const t={}
;for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=v$e(W$e(e[n],!1))
;return t}(e)),t):function(e){return"function"==typeof e
}(e)?q$e(wCe([],V$e()),t):JAe(e)?H$e():function(e){return null===e
}(e)?Z$e():function(e){return"symbol"==typeof e
}(e)?F$e():QAe(e)?QCe():WAe(e)||VAe(e)||YAe(e)?FCe(e):f$e({})}
class X$e extends kTe{}var G$e,Y$e;function K$e(e){
return e===G$e.False?e:G$e.True}function J$e(e){throw new X$e(e)}
function ePe(e){return LEe(e)||$Ee(e)||GEe(e)||KEe(e)||OEe(e)}function tPe(e,t){
return LEe(t)?iPe():$Ee(t)?oPe(e,t):GEe(t)?SPe(e,t):KEe(t)?_Pe():OEe(t)?nPe():J$e("StructuralRight")
}function nPe(e,t){return G$e.True}function rPe(e,t){
return NEe(e)||SEe(e)?G$e.True:G$e.False}function aPe(e,t){
return REe(e)&&WAe(e.const)||UEe(e)||EEe(e)?G$e.True:G$e.False}
function oPe(e,t){
return t.allOf.every((t=>TPe(e,t)===G$e.True))?G$e.True:G$e.False}
function iPe(e,t){return G$e.False}function sPe(e){let[t,n]=[e,0]
;for(;BEe(t);)t=t.not,n+=1;return n%2==0?t:V$e()}function lPe(e,t){
return MEe(e)||UEe(e)||EEe(e)?G$e.True:G$e.False}function cPe(e,t){
return Object.getOwnPropertyNames(e.properties).length===t}function uPe(e){
return fPe(e)}function dPe(e){
return cPe(e,0)||cPe(e,1)&&"description"in e.properties&&GEe(e.properties.description)&&2===e.properties.description.anyOf.length&&(QEe(e.properties.description.anyOf[0])&&XEe(e.properties.description.anyOf[1])||QEe(e.properties.description.anyOf[1])&&XEe(e.properties.description.anyOf[0]))
}function pPe(e){return cPe(e,0)}function hPe(e){return cPe(e,0)}
function fPe(e){const t=VCe()
;return cPe(e,0)||cPe(e,1)&&"length"in e.properties&&K$e(TPe(e.properties.length,t))===G$e.True
}function mPe(e,t){
return TPe(e,t)===G$e.False||yEe(e)&&!yEe(t)?G$e.False:G$e.True}
function gPe(e,t){
return KEe(e)?G$e.False:OEe(e)?G$e.Union:LEe(e)||DEe(e)&&uPe(t)||MEe(e)&&pPe(t)||NEe(e)&&hPe(t)||VEe(e)&&dPe(t)||kEe(e)&&cPe(t,0)||QEe(e)&&uPe(t)||VEe(e)&&dPe(t)||UEe(e)&&pPe(t)||EEe(e)&&pPe(t)||SEe(e)&&hPe(t)||YEe(e)&&function(e){
return fPe(e)}(t)||AEe(e)&&function(e){return cPe(e,0)}(t)||_Ee(e)&&function(e){
return cPe(e,0)}(t)||TEe(e)&&function(e){const t=VCe()
;return cPe(e,0)||cPe(e,1)&&"length"in e.properties&&K$e(TPe(e.properties.length,t))===G$e.True
}(t)?G$e.True:FEe(e)&&QEe(bPe(e))?"Record"===t[TTe]?G$e.True:G$e.False:FEe(e)&&UEe(bPe(e))&&cPe(t,0)?G$e.True:G$e.False
}function vPe(e,t){return ePe(t)?tPe(e,t):zEe(t)&&function(e){
const t=wCe([hCe()],hCe())
;return cPe(e,0)||cPe(e,1)&&"then"in e.properties&&K$e(TPe(e.properties.then,t))===G$e.True
}(t)?G$e.True:ZEe(t)?K$e(TPe(e.item,t.item)):G$e.False}function bPe(e){
return aCe in e.patternProperties?VCe():oCe in e.patternProperties?qCe():J$e("Unknown record key pattern")
}function yPe(e){
return aCe in e.patternProperties?e.patternProperties[aCe]:oCe in e.patternProperties?e.patternProperties[oCe]:J$e("Unable to get record value schema")
}function OPe(e,t){const[n,r]=[bPe(t),yPe(t)]
;return DEe(e)&&UEe(n)&&K$e(TPe(e,r))===G$e.True?G$e.True:YEe(e)&&UEe(n)||QEe(e)&&UEe(n)||wEe(e)&&UEe(n)?TPe(e,r):zEe(e)?(()=>{
for(const t of Object.getOwnPropertyNames(e.properties))if(mPe(r,e.properties[t])===G$e.False)return G$e.False
;return G$e.True})():G$e.False}function wPe(e,t){
return REe(e)&&YAe(e.const)||QEe(e)?G$e.True:G$e.False}function xPe(e,t){
return ePe(t)?tPe(e,t):zEe(t)&&fPe(t)||wEe(t)&&function(e,t){
return wEe(t)&&void 0!==e.items&&e.items.every((e=>TPe(e,t.items)===G$e.True))
}(e,t)?G$e.True:WEe(t)?JAe(e.items)&&!JAe(t.items)||!JAe(e.items)&&JAe(t.items)?G$e.False:JAe(e.items)&&!JAe(t.items)||e.items.every(((e,n)=>TPe(e,t.items[n])===G$e.True))?G$e.True:G$e.False:G$e.False
}function kPe(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):JEe(t)?function(e,t){
return XEe(e)||XEe(e)?G$e.True:G$e.False}(e):XEe(t)?G$e.True:G$e.False}
function SPe(e,t){
return t.anyOf.some((t=>TPe(e,t)===G$e.True))?G$e.True:G$e.False}
function _Pe(e,t){return G$e.True}function APe(e,t){
return LEe(t)?iPe():$Ee(t)?oPe(e,t):GEe(t)?SPe(e,t):OEe(t)?nPe():QEe(t)?wPe(e):UEe(t)?lPe(e):EEe(t)?aPe(e):SEe(t)?rPe(e):wEe(t)?function(e,t){
return KEe(e)?G$e.False:OEe(e)?G$e.Union:LEe(e)?G$e.True:G$e.False
}(e):WEe(t)?function(e,t){
return LEe(e)?G$e.True:KEe(e)?G$e.False:OEe(e)?G$e.Union:G$e.False
}(e):zEe(t)?gPe(e,t):KEe(t)?G$e.True:G$e.False}function TPe(e,t){
return qEe(e)||qEe(t)?function(e,t){
return qEe(e)?TPe(e$e(e),t):qEe(t)?TPe(e,e$e(t)):J$e("Invalid fallthrough for TemplateLiteral")
}(e,t):HEe(e)||HEe(t)?function(e,t){return TPe(HEe(e)?qCe():e,HEe(t)?qCe():t)
}(e,t):BEe(e)||BEe(t)?function(e,t){
return BEe(e)?TPe(sPe(e),t):BEe(t)?TPe(e,sPe(t)):J$e("Invalid fallthrough for Not")
}(e,t):OEe(e)?function(e,t){
return $Ee(t)?oPe(e,t):GEe(t)&&t.anyOf.some((e=>OEe(e)||KEe(e)))?G$e.True:GEe(t)?G$e.Union:KEe(t)||OEe(t)?G$e.True:G$e.Union
}(e,t):wEe(e)?function(e,t){
return zEe(t)&&fPe(t)?G$e.True:ePe(t)?tPe(e,t):wEe(t)?K$e(TPe(e.items,t.items)):G$e.False
}(e,t):kEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):kEe(t)?G$e.True:G$e.False
}(e,t):SEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):SEe(t)?G$e.True:G$e.False
}(e,t):xEe(e)?function(e,t){
return ePe(t)?tPe(e,t):xEe(t)?K$e(TPe(e.items,t.items)):G$e.False
}(e,t):_Ee(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):_Ee(t)?e.parameters.length>t.parameters.length?G$e.False:e.parameters.every(((e,n)=>K$e(TPe(t.parameters[n],e))===G$e.True))?K$e(TPe(e.returns,t.returns)):G$e.False:G$e.False
}(e,t):AEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):AEe(t)?G$e.True:G$e.False
}(e,t):TEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):TEe(t)?e.parameters.length>t.parameters.length?G$e.False:e.parameters.every(((e,n)=>K$e(TPe(t.parameters[n],e))===G$e.True))?K$e(TPe(e.returns,t.returns)):G$e.False:G$e.False
}(e,t):EEe(e)?function(e,t){
return EEe(t)||UEe(t)?G$e.True:ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):G$e.False
}(e,t):$Ee(e)?function(e,t){
return e.allOf.some((e=>TPe(e,t)===G$e.True))?G$e.True:G$e.False
}(e,t):PEe(e)?function(e,t){
return ePe(t)?tPe(e,t):PEe(t)?K$e(TPe(e.items,t.items)):G$e.False
}(e,t):REe(e)?function(e,t){
return REe(t)&&t.const===e.const?G$e.True:ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):QEe(t)?wPe(e):UEe(t)?lPe(e):EEe(t)?aPe(e):SEe(t)?rPe(e):G$e.False
}(e,t):LEe(e)?G$e.True:jEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):jEe(t)?G$e.True:G$e.False
}(e,t):UEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):EEe(t)||UEe(t)?G$e.True:G$e.False
}(e,t):zEe(e)?function(e,t){return ePe(t)?tPe(e,t):FEe(t)?OPe(e,t):zEe(t)?(()=>{
for(const n of Object.getOwnPropertyNames(t.properties)){
if(!(n in e.properties)&&!yEe(t.properties[n]))return G$e.False
;if(yEe(t.properties[n]))return G$e.True
;if(mPe(e.properties[n],t.properties[n])===G$e.False)return G$e.False}
return G$e.True})():G$e.False}(e,t):FEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?TPe(yPe(e),yPe(t)):G$e.False
}(e,t):QEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):QEe(t)?G$e.True:G$e.False
}(e,t):VEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):VEe(t)?G$e.True:G$e.False
}(e,t):WEe(e)?xPe(e,t):ZEe(e)?vPe(e,t):YEe(e)?function(e,t){
return ePe(t)?tPe(e,t):zEe(t)?gPe(e,t):FEe(t)?OPe(e,t):YEe(t)?G$e.True:G$e.False
}(e,t):XEe(e)?kPe(e,t):GEe(e)?function(e,t){
return e.anyOf.every((e=>TPe(e,t)===G$e.True))?G$e.True:G$e.False
}(e,t):KEe(e)?APe(e,t):JEe(e)?function(e,t){
return $Ee(t)?oPe(e,t):GEe(t)?SPe(e,t):KEe(t)?_Pe():OEe(t)?nPe():zEe(t)?gPe(e,t):JEe(t)?G$e.True:G$e.False
}(e,t):J$e(`Unknown left type operand '${e[ETe]}'`)}function EPe(e,t){
return TPe(e,t)}function CPe(e,t,n,r,a){return function(e,t,n,r,a){const o={}
;for(const i of globalThis.Object.getOwnPropertyNames(e))o[i]=$Pe(e[i],t,n,r,tTe(a))
;return o}(e.properties,t,n,r,a)}function $Pe(e,t,n,r,a){
return qTe(e)?function(e,t,n,r,a){return yCe(CPe(e,t,n,r,a))
}(e,t,n,r,a):VTe(e)?xTe(function(e,t,n,r,a){const o=function(e,t,n,r,a){
return function(e,t,n,r,a){return e.reduce(((e,o)=>({...e,...PPe(o,t,n,r,a)
})),{})}(e.keys,t,n,r,a)}(e,t,n,r,a);return yCe(o)
}(e,t,n,r,a)):xTe(function(e,t,n,r){const a=EPe(e,t)
;return a===G$e.Union?ACe([n,r]):a===G$e.True?n:r}(e,t,n,r),a)}
function PPe(e,t,n,r,a){return{[e]:$Pe(FCe(e),t,n,r,tTe(a))}}function IPe(e){
return"Intersect"===e[ETe]?function(e){return e.allOf.every((e=>IPe(e)))
}(e):"Union"===e[ETe]?function(e){return e.anyOf.some((e=>IPe(e)))
}(e):"Not"===e[ETe]?function(e){return!IPe(e.not)}(e):"Undefined"===e[ETe]}
function DPe(e,t,n={}){return aEe(e)?xTe(function(e,t){return DPe(e$e(e),t)
}(e,t),n):qTe(e)?xTe(function(e,t){const n=function(e,t){return function(e,t){
const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=DPe(e[r],t)
;return n}(e.properties,t)}(e,t);return yCe(n)
}(e,t),n):xTe(lEe(e)?function(e,t){const n=e.filter((e=>EPe(e,t)===G$e.False))
;return 1===n.length?n[0]:ACe(n)}(e.anyOf,t):EPe(e,t)!==G$e.False?bCe():e,n)}
function MPe(e,t,n){return aEe(e)?xTe(function(e,t){return MPe(e$e(e),t)
}(e,t),n):qTe(e)?xTe(function(e,t){const n=function(e,t){return function(e,t){
const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=MPe(e[r],t)
;return n}(e.properties,t)}(e,t);return yCe(n)
}(e,t),n):xTe(lEe(e)?function(e,t){const n=e.filter((e=>EPe(e,t)!==G$e.False))
;return 1===n.length?n[0]:ACe(n)}(e.anyOf,t):EPe(e,t)!==G$e.False?e:bCe(),n)}
function NPe(e){return v$e(S$e(e))}function RPe(e,t,n){return xTe({
[ETe]:"Record",type:"object",patternProperties:{[e]:t}},n)}function LPe(e,t,n){
const r={};for(const a of e)r[a]=t;return f$e(r,{...n,[TTe]:"Record"})}
function BPe(e,t,n={}){return lEe(e)?function(e,t,n){return LPe(r$e(ACe(e)),t,n)
}(e.anyOf,t,n):aEe(e)?function(e,t,n){
return LCe(e)?LPe(r$e(e),t,n):RPe(e.pattern,t,n)}(e,t,n):QTe(e)?function(e,t,n){
return LPe([e.toString()],t,n)}(e.const,t,n):RTe(e)?function(e,t,n){return f$e({
true:t,false:t},n)}(0,t,n):UTe(e)?function(e,t,n){return RPe(aCe,t,n)
}(0,t,n):GTe(e)?function(e,t,n){return RPe(aCe,t,n)
}(0,t,n):tEe(e)?function(e,t,n){return RPe(e.source,t,n)
}(e,t,n):nEe(e)?function(e,t,n){return RPe(JAe(e.pattern)?oCe:e.pattern,t,n)
}(e,t,n):PTe(e)?function(e,t,n){return RPe(oCe,t,n)
}(0,t,n):WTe(e)?function(e,t,n){return RPe(iCe,t,n)}(0,t,n):bCe(n)}
function jPe(e){
return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}
function UPe(e){return e.patternProperties[jPe(e)]}function zPe(e,t){
const n=function(e,t){
return globalThis.Object.getOwnPropertyNames(t).reduce(((n,r)=>({...n,
[r]:FPe(e,t[r])})),{})}(e,t.properties);return{...t,...f$e(n)}}
function ZPe(e,t){const n=QPe(e,function(e){const t=jPe(e)
;return t===oCe?qCe():t===aCe?VCe():qCe({pattern:t})}(t)),r=BPe(n,QPe(e,UPe(t)))
;return{...t,...r}}function FPe(e,t){const n=CTe(t),r=$Te(t),a=QPe(e,t)
;return n&&r?NPe(a):n&&!r?v$e(a):!n&&r?S$e(a):a}function HPe(e,t){
return t.map((t=>QPe(e,t)))}function QPe(e,t){
return BTe(t)||jTe(t)?function(e,t){
return t.parameters=HPe(e,t.parameters),t.returns=QPe(e,t.returns),t
}(e,t):zTe(t)?function(e,t){return t.allOf=HPe(e,t.allOf),t
}(e,t):lEe(t)?function(e,t){return t.anyOf=HPe(e,t.anyOf),t
}(e,t):iEe(t)?function(e,t){return JAe(t.items)||(t.items=HPe(e,t.items)),t
}(e,t):DTe(t)||MTe(t)||ZTe(t)?function(e,t){return t.items=QPe(e,t.items),t
}(e,t):KTe(t)?function(e,t){return t.item=QPe(e,t.item),t
}(e,t):YTe(t)?zPe(e,t):JTe(t)?ZPe(e,t):ITe(t)?function(e,t){
return t.index in e?e[t.index]:V$e()}(e,t):t}function VPe(e,t,n){return{
[e]:GPe(FCe(e),t,tTe(n))}}function qPe(e,t,n){return function(e,t,n){
return e.reduce(((e,r)=>({...e,...VPe(r,t,n)})),{})}(e.keys,t,n)}
function WPe(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){
const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")
}(e):"Capitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)]
;return[t.toUpperCase(),n].join("")}(e):"Uppercase"===t?function(e){
return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()
}(e):e:e.toString()}function XPe(e,t){return e.map((e=>GPe(e,t)))}
function GPe(e,t,n={}){return VTe(e)?function(e,t,n){return yCe(qPe(e,t,n))
}(e,t,n):aEe(e)?function(e,t,n){const r=MCe(e.pattern)
;return RCe(r)?t$e([ACe(XPe([...zCe(r)].map((e=>FCe(e))),t))],n):{...e,
pattern:WPe(e.pattern,t)}
}(e,t,n):lEe(e)?ACe(XPe(e.anyOf,t),n):QTe(e)?FCe(WPe(e.const,t),n):xTe(e,n)}
function YPe(e,t,n){return function(e,t,n){const r={}
;for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=JPe(e[a],t,tTe(n))
;return r}(e.properties,t,n)}function KPe(e,t){return zTe(e)?C$e(function(e,t){
return e.map((e=>KPe(e,t)))}(e.allOf,t)):lEe(e)?ACe(function(e,t){
return e.map((e=>KPe(e,t)))}(e.anyOf,t)):YTe(e)?function(e,t){
const n=vCe(e,[STe,"$id","required","properties"]),r=function(e,t){
return t.reduce(((e,t)=>function(e,t){const{[t]:n,...r}=e;return r}(e,t)),e)
}(e.properties,t);return f$e(r,n)}(e,t):f$e({})}function JPe(e,t,n){
const r=HAe(t)?function(e){
return ACe(e.reduce(((e,t)=>HTe(t)?[...e,FCe(t)]:e),[]))
}(t):t,a=cEe(t)?r$e(t):t,o=eEe(e),i=eEe(t);return qTe(e)?function(e,t,n){
return yCe(YPe(e,t,n))}(e,a,n):VTe(t)?function(e,t,n){const r=function(e,t,n){
return function(e,t,n){return t.reduce(((t,r)=>({...t,...eIe(e,r,n)})),{})
}(e,t.keys,n)}(e,t,n);return yCe(r)
}(e,t,n):o&&i||!o&&i||o&&!i?gCe("Omit",[e,r],n):xTe({...KPe(e,a),...n})}
function eIe(e,t,n){return{[t]:JPe(e,[t],tTe(n))}}function tIe(e,t,n){
return function(e,t,n){const r={}
;for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=rIe(e[a],t,tTe(n))
;return r}(e.properties,t,n)}function nIe(e,t){return zTe(e)?C$e(function(e,t){
return e.map((e=>nIe(e,t)))}(e.allOf,t)):lEe(e)?ACe(function(e,t){
return e.map((e=>nIe(e,t)))}(e.anyOf,t)):YTe(e)?function(e,t){
const n=vCe(e,[STe,"$id","required","properties"]),r=function(e,t){const n={}
;for(const r of t)r in e&&(n[r]=e[r]);return n}(e.properties,t);return f$e(r,n)
}(e,t):f$e({})}function rIe(e,t,n){const r=HAe(t)?function(e){
return ACe(e.reduce(((e,t)=>HTe(t)?[...e,FCe(t)]:e),[]))
}(t):t,a=cEe(t)?r$e(t):t,o=eEe(e),i=eEe(t);return qTe(e)?function(e,t,n){
return yCe(tIe(e,t,n))}(e,a,n):VTe(t)?function(e,t,n){const r=function(e,t,n){
return function(e,t,n){return t.reduce(((t,r)=>({...t,...aIe(e,r,n)})),{})
}(e,t.keys,n)}(e,t,n);return yCe(r)
}(e,t,n):o&&i||!o&&i||o&&!i?gCe("Pick",[e,r],n):xTe({...nIe(e,a),...n})}
function aIe(e,t,n){return{[t]:rIe(e,[t],tTe(n))}}function oIe(e){
const t=vCe(e,[STe,"$id","required","properties"]),n=function(e){const t={}
;for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=S$e(e[n]);return t
}(e.properties);return f$e(n,t)}function iIe(e){return e.map((e=>sIe(e)))}
function sIe(e){
return LTe(e)?(t=e.target,n=e.parameters,gCe("Partial",[gCe(t,n)])):eEe(e)?gCe("Partial",[$$e(e.$ref)]):zTe(e)?C$e(iIe(e.allOf)):lEe(e)?ACe(iIe(e.anyOf)):YTe(e)?oIe(e):NTe(e)||RTe(e)||UTe(e)||QTe(e)||XTe(e)||GTe(e)||nEe(e)||rEe(e)||sEe(e)?e:f$e({})
;var t,n}function lIe(e,t){return qTe(e)?function(e,t){const n=function(e,t){
return function(e,t){const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=lIe(e[r],tTe(t))
;return n}(e.properties,t)}(e,t);return yCe(n)}(e,t):xTe({...sIe(e),...t})}
function cIe(e){
const t=vCe(e,[STe,"$id","required","properties"]),n=function(e){const t={}
;for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=vCe(e[n],[ATe])
;return t}(e.properties);return f$e(n,t)}function uIe(e){
return e.map((e=>dIe(e)))}function dIe(e){
return LTe(e)?(t=e.target,n=e.parameters,
gCe("Required",[gCe(t,n)])):eEe(e)?gCe("Required",[$$e(e.$ref)]):zTe(e)?C$e(uIe(e.allOf)):lEe(e)?ACe(uIe(e.anyOf)):YTe(e)?cIe(e):NTe(e)||RTe(e)||UTe(e)||QTe(e)||XTe(e)||GTe(e)||nEe(e)||rEe(e)||sEe(e)?e:f$e({})
;var t,n}function pIe(e,t){return qTe(e)?function(e,t){const n=function(e,t){
return function(e,t){const n={}
;for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=pIe(e[r],t)
;return n}(e.properties,t)}(e,t);return yCe(n)}(e,t):xTe({...dIe(e),...t})}
function hIe(e,t){return t in e?eEe(e[t])?hIe(e,e[t].$ref):gIe(e,e[t]):bCe()}
function fIe(e,t,n){const r=function(e,t){
return t.map((t=>eEe(t)?hIe(e,t.$ref):gIe(e,t)))}(e,n)
;return"Awaited"===t?function(e){return I$e(e[0])}(r):"Index"===t?function(e){
return d$e(e[0],e[1])}(r):"KeyOf"===t?function(e){return B$e(e[0])
}(r):"Partial"===t?function(e){return lIe(e[0])}(r):"Omit"===t?function(e){
return JPe(e[0],e[1])}(r):"Pick"===t?function(e){return rIe(e[0],e[1])
}(r):"Required"===t?function(e){return pIe(e[0])}(r):bCe()}function mIe(e,t){
return t.map((t=>gIe(e,t)))}function gIe(e,t){
return $Te(t)?xTe(gIe(e,vCe(t,[ATe])),t):CTe(t)?xTe(gIe(e,vCe(t,[_Te])),t):oEe(t)?xTe(function(e,t){
return eEe(t)?{...hIe(e,t.$ref),[STe]:t[STe]}:t
}(e,t),t):DTe(t)?xTe(function(e,t){return fCe(gIe(e,t))
}(e,t.items),t):MTe(t)?xTe(function(e,t){return mCe(gIe(e,t))
}(e,t.items),t):LTe(t)?xTe(fIe(e,t.target,t.parameters)):BTe(t)?xTe(function(e,t,n){
return OCe(mIe(e,t),gIe(e,n))
}(e,t.parameters,t.returns),t):jTe(t)?xTe(function(e,t,n){
return wCe(mIe(e,t),gIe(e,n))
}(e,t.parameters,t.returns),t):zTe(t)?xTe(function(e,t){return C$e(mIe(e,t))
}(e,t.allOf),t):ZTe(t)?xTe(function(e,t){return h$e(gIe(e,t))
}(e,t.items),t):YTe(t)?xTe(function(e,t){
return f$e(globalThis.Object.keys(t).reduce(((n,r)=>({...n,[r]:gIe(e,t[r])
})),{}))}(e,t.properties),t):JTe(t)?xTe(function(e,t){
const[n,r]=[gIe(e,UPe(t)),jPe(t)],a=nTe(t);return a.patternProperties[r]=n,a
}(e,t)):iEe(t)?xTe(function(e,t){return b$e(mIe(e,t))
}(e,t.items||[]),t):lEe(t)?xTe(function(e,t){return ACe(mIe(e,t))
}(e,t.anyOf),t):t}function vIe(e,t){return t in e?gIe(e,e[t]):bCe()}
(Y$e=G$e||(G$e={}))[Y$e.Union=0]="Union",
Y$e[Y$e.True=1]="True",Y$e[Y$e.False=2]="False";class bIe{constructor(e){
const t=(n=e,globalThis.Object.getOwnPropertyNames(n).reduce(((e,t)=>({...e,
[t]:vIe(n,t)})),{}));var n;const r=this.WithIdentifiers(t);this.$defs=r}
Import(e,t){const n={...this.$defs,[e]:xTe(this.$defs[e],t)};return xTe({
[ETe]:"Import",$defs:n,$ref:e})}WithIdentifiers(e){
return globalThis.Object.getOwnPropertyNames(e).reduce(((t,n)=>({...t,[n]:{
...e[n],$id:n}})),{})}}let yIe=0;class OIe{constructor(e){this.schema=e}
Decode(e){return new wIe(this.schema,e)}}class wIe{constructor(e,t){
this.schema=e,this.decode=t}EncodeTransform(e,t){const n={
Encode:n=>t[STe].Encode(e(n)),Decode:e=>this.decode(t[STe].Decode(e))};return{
...t,[STe]:n}}EncodeSchema(e,t){const n={Decode:this.decode,Encode:e};return{
...t,[STe]:n}}Encode(e){
return oEe(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)
}}const xIe=Object.freeze(Object.defineProperty({__proto__:null,Any:hCe,
Argument:function(e){return xTe({[ETe]:"Argument",index:e})},Array:fCe,
AsyncIterator:mCe,Awaited:I$e,BigInt:QCe,Boolean:HCe,
Capitalize:function(e,t={}){return GPe(e,"Capitalize",t)},
Composite:function(e,t){const n=function(e,t){const n={}
;for(const r of t)n[r]=E$e(U$e(e,r));return n}(e,j$e(e));return f$e(n,t)},
Const:function(e,t){return xTe(W$e(e,!0),t)},Constructor:OCe,
ConstructorParameters:function(e,t){return BTe(e)?b$e(e.parameters,t):bCe(t)},
Date:z$e,Enum:function(e,t){if(JAe(e))throw new Error("Enum undefined or empty")
;const n=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]))
;return ACe([...new Set(n)].map((e=>FCe(e))),{...t,[TTe]:"Enum"})},Exclude:DPe,
Extends:$Pe,Extract:MPe,Function:wCe,Index:d$e,InstanceType:function(e,t){
return BTe(e)?xTe(e.returns,t):bCe(t)},Instantiate:function(e,t){
return QPe(t,nTe(e))},Integer:function(e){return xTe({[ETe]:"Integer",
type:"integer"},e)},Intersect:C$e,Iterator:h$e,KeyOf:B$e,Literal:FCe,
Lowercase:function(e,t={}){return GPe(e,"Lowercase",t)},Mapped:function(e,t,n){
const r=cEe(e)?r$e(e):e,a=function(e,t){const n={}
;for(const r of e)n[r]=x$e(r,t);return n}(r,t({[ETe]:"MappedKey",keys:r}))
;return f$e(a,n)},Module:function(e){return new bIe(e)},Never:bCe,
Not:function(e,t){return xTe({[ETe]:"Not",not:e},t)},Null:Z$e,Number:VCe,
Object:f$e,Omit:JPe,Optional:S$e,Parameters:function(e,t){
return jTe(e)?b$e(e.parameters,t):bCe()},Partial:lIe,Pick:rIe,Promise:m$e,
Readonly:v$e,ReadonlyOptional:NPe,Record:BPe,Recursive:function(e,t={}){
JAe(t.$id)&&(t.$id="T"+yIe++);const n=nTe(e({[ETe]:"This",$ref:`${t.$id}`}))
;return n.$id=t.$id,xTe({[TTe]:"Recursive",...n},t)},Ref:$$e,
RegExp:function(e,t){const n=YAe(e)?new globalThis.RegExp(e):e;return xTe({
[ETe]:"RegExp",type:"RegExp",source:n.source,flags:n.flags},t)},Required:pIe,
Rest:function(e){return function(e){
return zTe(e)?e.allOf:lEe(e)?e.anyOf:iEe(e)?e.items??[]:[]}(e)},
ReturnType:function(e,t){return jTe(e)?xTe(e.returns,t):bCe(t)},String:qCe,
Symbol:F$e,TemplateLiteral:t$e,Transform:function(e){return new OIe(e)},
Tuple:b$e,Uint8Array:Q$e,Uncapitalize:function(e,t={}){
return GPe(e,"Uncapitalize",t)},Undefined:H$e,Union:ACe,Unknown:V$e,
Unsafe:function(e={}){return xTe({[ETe]:e[ETe]??"Unsafe"},e)},
Uppercase:function(e,t={}){return GPe(e,"Uppercase",t)},Void:function(e){
return xTe({[ETe]:"Void",type:"void"},e)}},Symbol.toStringTag,{value:"Module"
})),kIe=xIe.Object({name:xIe.String({
description:"The text that displays in the badge",minLength:1}),
position:xIe.Optional(xIe.Union([xIe.Literal("before"),xIe.Literal("after")],{
description:"The position of the badge in relation to the header",
default:"after"})),color:xIe.Optional(xIe.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"
}),SIe=xIe.Object({"x-badges":xIe.Optional(xIe.Array(kIe))}),_Ie=xIe.Object({
lang:xIe.Optional(xIe.String()),label:xIe.Optional(xIe.String()),
source:xIe.String()}),AIe=xIe.Object({
"x-codeSamples":xIe.Optional(xIe.Array(_Ie)),
"x-code-samples":xIe.Optional(xIe.Array(_Ie)),
"x-custom-examples":xIe.Optional(xIe.Array(_Ie))}),TIe=xIe.Object({
"x-scalar-selected-content-type":xIe.Optional(xIe.Record(xIe.String(),xIe.String()))
}),EIe="deprecated",CIe=xIe.Object({
"x-scalar-stability":xIe.Optional(xIe.Union([xIe.Literal("deprecated"),xIe.Literal("experimental"),xIe.Literal("stable")]))
}),$Ie=({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)),PIe=e=>e.deprecated||e["x-scalar-stability"]===EIe,IIe=({ref:e,operation:t,method:n,path:r,generateId:a,parentId:o,parentTag:i})=>{
const s=a({type:"operation",operation:t,parentTag:i,method:n,path:r,parentId:o
}),l=t.summary?.trim()?t.summary:r,c=PIe(t),u=(e=>{const t=new Set
;if(e.requestBody){const n=$Se(e.requestBody)
;Object.values(n.content??{}).forEach((e=>{
Object.keys(e.examples??{}).forEach((e=>{t.add(e)}))}))}
return e.parameters&&e.parameters.forEach((e=>{const n=$Se(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)}))})),e.responses&&Object.values(e.responses).forEach((e=>{
const n=$Se(e)??{}
;"content"in n&&n.content&&Object.values(n.content??{}).forEach((e=>{
Object.keys(e.examples??{}).forEach((e=>{t.add(e)}))}))})),Array.from(t)
})(t).map((e=>({type:"example",id:a({type:"example",parentId:s,name:e}),title:e,
name:e})));return{id:s,title:l,path:r,method:n,ref:e,type:"operation",
isDeprecated:c,children:u.length?u:void 0}
},DIe=({ref:e,name:t,generateId:n,parentTag:r,_schema:a,parentId:o})=>{
const i=n({name:t,type:"model",parentTag:r,parentId:o,schema:a}),s=$Se(a)
;return{id:i,title:s&&"title"in s&&s.title||t,name:t,ref:e,type:"model"}
},MIe=({tag:e,generateId:t,children:n,isGroup:r=!1,parentId:a})=>{const o=t({
type:"tag",tag:e,parentId:a}),i=e["x-displayName"]??e.name??"Untitled Tag"
;e["x-scalar-order"]=n.map((e=>e.id));var s;return{id:o,title:i,name:e.name||i,
description:e.description,children:n,isGroup:r,isWebhooks:!1,type:"tag",
xKeys:(s=TAe(e),
s?Object.fromEntries(Object.entries(s).filter((([e])=>e.startsWith("x-")))):{})}
},NIe=({_keys:e,tagsMap:t,options:{tagsSorter:n,operationsSorter:r,generateId:a},documentId:o,sortOrder:i})=>{
const s=e.flatMap((e=>{const{tag:n,entries:i}=$Ie({tagsMap:t,name:e,
documentId:o,generateId:a});if(n["x-internal"]||n["x-scalar-ignore"])return[]
;const s=n["x-scalar-order"]
;return void 0===s&&("alpha"===r?i.sort(((e,t)=>"operation"===e.type&&"operation"===t.type?e.title.localeCompare(t.title):0)):"method"===r?i.sort(((e,t)=>"operation"===e.type&&"operation"===t.type?e.method.localeCompare(t.method):0)):"function"==typeof r&&i.sort(((e,t)=>{
if("operation"!==e.type&&"webhook"!==e.type||"operation"!==t.type&&"webhook"!==t.type)return 0
;const n="operation"===e.type?e.path:e.name,a="operation"===t.type?t.path:t.name
;return r({method:e.method,path:n,ref:e.ref,httpVerb:e.method},{method:t.method,
path:a,ref:t.ref,httpVerb:t.method})}))),MIe({tag:n,generateId:a,
children:s?ESe(i,s,"id"):i,parentId:o,isGroup:!1})}))
;return i?ESe(s,i,"id"):("alpha"===n?s.sort(((e,n)=>{const r=$Ie({tagsMap:t,
name:e.title,documentId:o,generateId:a
}).tag["x-displayName"]||e.title||"Untitled Tag",i=$Ie({tagsMap:t,name:n.title,
documentId:o,generateId:a}).tag["x-displayName"]||n.title||"Untitled Tag"
;return r.localeCompare(i)})):"function"==typeof n&&s.sort(((e,r)=>n($Ie({
tagsMap:t,name:e.name,documentId:o,generateId:a}).tag,$Ie({tagsMap:t,
name:r.name,documentId:o,generateId:a}).tag))),s)
},RIe=({ref:e,method:t,name:n,title:r,generateId:a,parentTag:o,webhook:i,isDeprecated:s,parentId:l})=>({
id:a({type:"webhook",name:n,method:t,webhook:i,parentTag:o,parentId:l}),title:r,
name:n,ref:e,method:t,type:"webhook",isDeprecated:s}),LIe=(e,t,n)=>{
const{hideModels:r,tagsSorter:a,operationsSorter:o,generateId:i}=ZAe(e,n),s=i({
type:"document",info:t.info,name:e
}),l=new Map(t.tags?.map((e=>[e.name??"Untitled Tag",{id:i({type:"tag",tag:e,
parentId:s}),parentId:s,tag:e,entries:[]}]))??[]),c=FAe({generateId:i,
parentId:s,info:t.info
}),{untaggedOperations:u}=(({document:e,tagsMap:t,generateId:n,documentId:r})=>{
const a=[];return Object.entries(e.paths??{}).forEach((([e,o])=>{
ZV(o??{}).filter((e=>zV(e))).forEach((i=>{const s=o?.[i],l=$Se(s);if(!l)return
;if(l["x-internal"]||l["x-scalar-ignore"]||!zV(i))return
;const c=`#/paths/${l_e(e)}/${i}`;l.tags?.length?l.tags.forEach((a=>{
const{tag:o,id:s}=$Ie({tagsMap:t,name:a,documentId:r,generateId:n})
;t.get(a)?.entries.push(IIe({ref:c,operation:l,method:i,path:e,parentTag:{tag:o,
id:s},generateId:n,parentId:s}))})):a.push(IIe({ref:c,operation:l,method:i,
path:e,generateId:n,parentId:r}))}))})),{untaggedOperations:a}})({document:t,
tagsMap:l,generateId:i,documentId:s}),d=i({type:"webhook",name:"",parentId:s
}),p=(({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:a})=>{
const o=[];return Object.entries(e.webhooks??{}).forEach((([e,i])=>{
ZV(i??{}).filter((e=>zV(e))).forEach((s=>{const l=i?.[s],c=$Se(l);if(!c)return
;if(c["x-internal"]||c["x-scalar-ignore"])return;const u=`#/webhooks/${e}/${s}`
;c.tags?.length?c.tags.forEach((r=>{const{tag:o,id:i}=$Ie({tagsMap:t,name:r,
documentId:a,generateId:n});t.get(r)?.entries.push(RIe({ref:u,method:s,name:e,
title:c.summary??e,webhook:c,generateId:n,parentTag:{tag:o,id:i},parentId:i,
isDeprecated:PIe(c)}))})):o.push(RIe({ref:u,method:s,name:e,title:c.summary??e,
generateId:n,isDeprecated:PIe(c),webhook:c,parentId:r}))}))})),o})({document:t,
generateId:i,tagsMap:l,untaggedWebhooksParentId:d,documentId:s
}),h=(({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:a,operationsSorter:o}})=>{
if(e["x-tagGroups"])return e["x-tagGroups"].flatMap((e=>{const i=NIe({
_keys:e.tags,tagsMap:t,options:{tagsSorter:a,operationsSorter:o,generateId:r},
documentId:n,sortOrder:e["x-scalar-order"]})
;return e["x-scalar-order"]=i.map((e=>e.id)),i.length?MIe({tag:e,generateId:r,
children:i,parentId:n,isGroup:!0}):[]}));const i=Array.from(t.keys())
;return NIe({_keys:i,tagsMap:t,options:{generateId:r,tagsSorter:a,
operationsSorter:o},documentId:n,sortOrder:e["x-scalar-order"]})})({document:t,
tagsMap:l,documentId:s,options:{tagsSorter:a,operationsSorter:o,generateId:i}})
;if(c.push(...h),c.push(...u),p.length&&c.push({type:"tag",id:d,
title:"Webhooks",name:"Webhooks",children:p,isGroup:!1,isWebhooks:!0
}),!r&&t.components?.schemas){
const e=(({document:e,tagsMap:t,generateId:n,documentId:r})=>{
const a=e.components?.schemas??{},o=[];for(const i in a){const e=$Se(a[i])
;if(e?.["x-internal"]||e?.["x-scalar-ignore"]||!Object.hasOwn(a,i))continue
;const s=`#/components/schemas/${i}`;e?.["x-tags"]?e["x-tags"].forEach((e=>{
const{tag:a,id:o}=$Ie({tagsMap:t,name:e,documentId:r,generateId:n})
;t.get(e)?.entries.push(DIe({ref:s,name:i,generateId:n,parentTag:{tag:a,id:o},
parentId:r}))})):o.push(DIe({ref:s,name:i,generateId:n,_schema:$Se(a[i]),
parentId:r}))}return o})({documentId:s,document:t,generateId:i,tagsMap:l})
;e.length&&c.push({type:"models",id:i({type:"model",parentId:s}),title:"Models",
name:"Models",children:e})}const f=t["x-scalar-order"]
;return f&&c.sort(((e,t)=>{const n=f.indexOf(e.id),r=f.indexOf(t.id)
;return(-1===n?Number.POSITIVE_INFINITY:n)-(-1===r?Number.POSITIVE_INFINITY:r)
})),t["x-scalar-order"]=TAe(c.map((e=>e.id))),{id:s,type:"document",
title:t.info.title,name:e,children:c,icon:t["x-scalar-icon"]}
},BIe=e=>"example"===e.type,jIe=e=>e.store.workspace.documents[e.documentSlug??""],UIe=(e,t)=>{
const n=((e,t)=>"default"!==t||void 0!==e.workspace.documents[t]?t:e.workspace["x-scalar-active-document"]||Object.keys(e.workspace.documents)[0])(e,t.documentSlug),r={
store:e,documentSlug:n},a=((e,t)=>{const n=jIe(e)
;if(n)return"default"===t?Object.keys(n.paths??{})[0]:t
})(r,t.path),o=((e,t,n)=>{const r=jIe(e)
;if(r&&t)return"default"===n?Object.keys(r.paths?.[t]??{}).find(zV):zV(n)?n:void 0
})(r,a,t.method),i=jIe(r)?.["x-scalar-navigation"];if(!i)return{documentSlug:n,
path:a,method:o,example:"default"}
;const s=LAe(i).get(`${a}|${o}`)?.find((e=>"operation"===e.type)),l=((e,t,n)=>{
if(!jIe(e)||"operation"!==t?.type)return"default"
;const r=t.children?.filter(BIe)??[],a=r.find((e=>e.name===n))
;return a?a.name:"default"===n?r[0]?.name??"default":"default"})(r,s,t.example)
;return{documentSlug:n,path:a,method:o,example:l}},zIe="get",ZIe=e=>{
if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${zIe} as the default.`),
zIe;const t=e.trim().toLowerCase()
;return zV(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${zIe} as the default.`),
zIe)},FIe=Hg({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},
method:{}},setup(e){
const t=e,n=Ty((()=>LV(String(t.method||"")))),r=Ty((()=>ZIe(t.method)))
;return(t,a)=>(Fb(),Wb(wv(e.as??"span"),{class:"uppercase",style:Eh({
[e.property||"color"]:n.value.colorVar})},{
default:ig((()=>[Av(t.$slots,"default"),ry(" "+Uh(e.short?n.value.short:r.value),1)])),
_:3},8,["style"]))}
}),HIe=new Set(["document","operation","example","tag"]),QIe=(e,t)=>"reference"===e?t:t.filter((e=>HIe.has(e.type))),VIe={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"}
;function qIe(e,t){return Fb(),qb("svg",VIe,[...t[0]||(t[0]=[Jb("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)])])}const WIe={render:qIe},XIe=Object.freeze(Object.defineProperty({
__proto__:null,default:WIe,render:qIe},Symbol.toStringTag,{value:"Module"
})),GIe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function YIe(e,t){
return Fb(),qb("svg",GIe,[...t[0]||(t[0]=[Jb("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)])])}const KIe={render:YIe},JIe=Object.freeze(Object.defineProperty({
__proto__:null,default:KIe,render:YIe},Symbol.toStringTag,{value:"Module"
})),eDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function tDe(e,t){
return Fb(),qb("svg",eDe,[...t[0]||(t[0]=[Jb("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)])])}const nDe={render:tDe},rDe=Object.freeze(Object.defineProperty({
__proto__:null,default:nDe,render:tDe},Symbol.toStringTag,{value:"Module"
})),aDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function oDe(e,t){
return Fb(),qb("svg",aDe,[...t[0]||(t[0]=[Jb("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)])])}const iDe={render:oDe},sDe=Object.freeze(Object.defineProperty({
__proto__:null,default:iDe,render:oDe},Symbol.toStringTag,{value:"Module"
})),lDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function cDe(e,t){
return Fb(),qb("svg",lDe,[...t[0]||(t[0]=[Jb("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)])])}const uDe={render:cDe},dDe=Object.freeze(Object.defineProperty({
__proto__:null,default:uDe,render:cDe},Symbol.toStringTag,{value:"Module"
})),pDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function hDe(e,t){
return Fb(),qb("svg",pDe,[...t[0]||(t[0]=[Jb("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)])])}const fDe={render:hDe},mDe=Object.freeze(Object.defineProperty({
__proto__:null,default:fDe,render:hDe},Symbol.toStringTag,{value:"Module"
})),gDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function vDe(e,t){
return Fb(),qb("svg",gDe,[...t[0]||(t[0]=[Jb("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)])])}const bDe={render:vDe},yDe=Object.freeze(Object.defineProperty({
__proto__:null,default:bDe,render:vDe},Symbol.toStringTag,{value:"Module"
})),ODe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function wDe(e,t){
return Fb(),qb("svg",ODe,[...t[0]||(t[0]=[Jb("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)])])}const xDe={render:wDe},kDe=Object.freeze(Object.defineProperty({
__proto__:null,default:xDe,render:wDe},Symbol.toStringTag,{value:"Module"
})),SDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function _De(e,t){
return Fb(),qb("svg",SDe,[...t[0]||(t[0]=[Jb("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)])])}const ADe={render:_De},TDe=Object.freeze(Object.defineProperty({
__proto__:null,default:ADe,render:_De},Symbol.toStringTag,{value:"Module"
})),EDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function CDe(e,t){
return Fb(),qb("svg",EDe,[...t[0]||(t[0]=[Jb("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)])])}const $De={render:CDe},PDe=Object.freeze(Object.defineProperty({
__proto__:null,default:$De,render:CDe},Symbol.toStringTag,{value:"Module"
})),IDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function DDe(e,t){
return Fb(),qb("svg",IDe,[...t[0]||(t[0]=[Jb("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)])])}const MDe={render:DDe},NDe=Object.freeze(Object.defineProperty({
__proto__:null,default:MDe,render:DDe},Symbol.toStringTag,{value:"Module"
})),RDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function LDe(e,t){
return Fb(),qb("svg",RDe,[...t[0]||(t[0]=[Jb("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)])])}const BDe={render:LDe},jDe=Object.freeze(Object.defineProperty({
__proto__:null,default:BDe,render:LDe},Symbol.toStringTag,{value:"Module"
})),UDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function zDe(e,t){
return Fb(),qb("svg",UDe,[...t[0]||(t[0]=[Jb("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)])])}const ZDe={render:zDe},FDe=Object.freeze(Object.defineProperty({
__proto__:null,default:ZDe,render:zDe},Symbol.toStringTag,{value:"Module"
})),HDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function QDe(e,t){
return Fb(),qb("svg",HDe,[...t[0]||(t[0]=[Jb("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)])])}const VDe={render:QDe},qDe=Object.freeze(Object.defineProperty({
__proto__:null,default:VDe,render:QDe},Symbol.toStringTag,{value:"Module"
})),WDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function XDe(e,t){
return Fb(),qb("svg",WDe,[...t[0]||(t[0]=[Jb("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)])])}const GDe={render:XDe},YDe=Object.freeze(Object.defineProperty({
__proto__:null,default:GDe,render:XDe},Symbol.toStringTag,{value:"Module"
})),KDe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function JDe(e,t){
return Fb(),qb("svg",KDe,[...t[0]||(t[0]=[Jb("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)])])}const eMe={render:JDe},tMe=Object.freeze(Object.defineProperty({
__proto__:null,default:eMe,render:JDe},Symbol.toStringTag,{value:"Module"
})),nMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function rMe(e,t){
return Fb(),qb("svg",nMe,[...t[0]||(t[0]=[Jb("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)])])}const aMe={render:rMe},oMe=Object.freeze(Object.defineProperty({
__proto__:null,default:aMe,render:rMe},Symbol.toStringTag,{value:"Module"
})),iMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function sMe(e,t){
return Fb(),qb("svg",iMe,[...t[0]||(t[0]=[Jb("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)])])}const lMe={render:sMe},cMe=Object.freeze(Object.defineProperty({
__proto__:null,default:lMe,render:sMe},Symbol.toStringTag,{value:"Module"
})),uMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function dMe(e,t){
return Fb(),qb("svg",uMe,[...t[0]||(t[0]=[Jb("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)])])}const pMe={render:dMe},hMe=Object.freeze(Object.defineProperty({
__proto__:null,default:pMe,render:dMe},Symbol.toStringTag,{value:"Module"
})),fMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function mMe(e,t){
return Fb(),qb("svg",fMe,[...t[0]||(t[0]=[Jb("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)])])}const gMe={render:mMe},vMe=Object.freeze(Object.defineProperty({
__proto__:null,default:gMe,render:mMe},Symbol.toStringTag,{value:"Module"
})),bMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function yMe(e,t){
return Fb(),qb("svg",bMe,[...t[0]||(t[0]=[Jb("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)])])}const OMe={render:yMe},wMe=Object.freeze(Object.defineProperty({
__proto__:null,default:OMe,render:yMe},Symbol.toStringTag,{value:"Module"
})),xMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function kMe(e,t){
return Fb(),qb("svg",xMe,[...t[0]||(t[0]=[Jb("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)])])}const SMe={render:kMe},_Me=Object.freeze(Object.defineProperty({
__proto__:null,default:SMe,render:kMe},Symbol.toStringTag,{value:"Module"
})),AMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function TMe(e,t){
return Fb(),qb("svg",AMe,[...t[0]||(t[0]=[Jb("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)])])}const EMe={render:TMe},CMe=Object.freeze(Object.defineProperty({
__proto__:null,default:EMe,render:TMe},Symbol.toStringTag,{value:"Module"
})),$Me={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function PMe(e,t){
return Fb(),qb("svg",$Me,[...t[0]||(t[0]=[Jb("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)])])}const IMe={render:PMe},DMe=Object.freeze(Object.defineProperty({
__proto__:null,default:IMe,render:PMe},Symbol.toStringTag,{value:"Module"
})),MMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function NMe(e,t){
return Fb(),qb("svg",MMe,[...t[0]||(t[0]=[Jb("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)])])}const RMe={render:NMe},LMe=Object.freeze(Object.defineProperty({
__proto__:null,default:RMe,render:NMe},Symbol.toStringTag,{value:"Module"
})),BMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function jMe(e,t){
return Fb(),qb("svg",BMe,[...t[0]||(t[0]=[Jb("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)])])}const UMe={render:jMe},zMe=Object.freeze(Object.defineProperty({
__proto__:null,default:UMe,render:jMe},Symbol.toStringTag,{value:"Module"
})),ZMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function FMe(e,t){
return Fb(),qb("svg",ZMe,[...t[0]||(t[0]=[Jb("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)])])}const HMe={render:FMe},QMe=Object.freeze(Object.defineProperty({
__proto__:null,default:HMe,render:FMe},Symbol.toStringTag,{value:"Module"
})),VMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function qMe(e,t){
return Fb(),qb("svg",VMe,[...t[0]||(t[0]=[Jb("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)])])}const WMe={render:qMe},XMe=Object.freeze(Object.defineProperty({
__proto__:null,default:WMe,render:qMe},Symbol.toStringTag,{value:"Module"
})),GMe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function YMe(e,t){
return Fb(),qb("svg",GMe,[...t[0]||(t[0]=[Jb("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)])])}const KMe={render:YMe},JMe=Object.freeze(Object.defineProperty({
__proto__:null,default:KMe,render:YMe},Symbol.toStringTag,{value:"Module"
})),eNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function tNe(e,t){
return Fb(),qb("svg",eNe,[...t[0]||(t[0]=[Jb("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)])])}const nNe={render:tNe},rNe=Object.freeze(Object.defineProperty({
__proto__:null,default:nNe,render:tNe},Symbol.toStringTag,{value:"Module"
})),aNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function oNe(e,t){
return Fb(),qb("svg",aNe,[...t[0]||(t[0]=[Jb("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)])])}const iNe={render:oNe},sNe=Object.freeze(Object.defineProperty({
__proto__:null,default:iNe,render:oNe},Symbol.toStringTag,{value:"Module"
})),lNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function cNe(e,t){
return Fb(),qb("svg",lNe,[...t[0]||(t[0]=[Jb("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)])])}const uNe={render:cNe},dNe=Object.freeze(Object.defineProperty({
__proto__:null,default:uNe,render:cNe},Symbol.toStringTag,{value:"Module"
})),pNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function hNe(e,t){
return Fb(),qb("svg",pNe,[...t[0]||(t[0]=[Jb("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)])])}const fNe={render:hNe},mNe=Object.freeze(Object.defineProperty({
__proto__:null,default:fNe,render:hNe},Symbol.toStringTag,{value:"Module"
})),gNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function vNe(e,t){
return Fb(),qb("svg",gNe,[...t[0]||(t[0]=[Jb("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)])])}const bNe={render:vNe},yNe=Object.freeze(Object.defineProperty({
__proto__:null,default:bNe,render:vNe},Symbol.toStringTag,{value:"Module"
})),ONe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function wNe(e,t){
return Fb(),qb("svg",ONe,[...t[0]||(t[0]=[Jb("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)])])}const xNe={render:wNe},kNe=Object.freeze(Object.defineProperty({
__proto__:null,default:xNe,render:wNe},Symbol.toStringTag,{value:"Module"
})),SNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function _Ne(e,t){
return Fb(),qb("svg",SNe,[...t[0]||(t[0]=[Jb("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)])])}const ANe={render:_Ne},TNe=Object.freeze(Object.defineProperty({
__proto__:null,default:ANe,render:_Ne},Symbol.toStringTag,{value:"Module"
})),ENe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function CNe(e,t){
return Fb(),qb("svg",ENe,[...t[0]||(t[0]=[Jb("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)])])}const $Ne={render:CNe},PNe=Object.freeze(Object.defineProperty({
__proto__:null,default:$Ne,render:CNe},Symbol.toStringTag,{value:"Module"
})),INe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function DNe(e,t){
return Fb(),qb("svg",INe,[...t[0]||(t[0]=[Jb("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)])])}const MNe={render:DNe},NNe=Object.freeze(Object.defineProperty({
__proto__:null,default:MNe,render:DNe},Symbol.toStringTag,{value:"Module"
})),RNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function LNe(e,t){
return Fb(),qb("svg",RNe,[...t[0]||(t[0]=[Jb("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)])])}const BNe={render:LNe},jNe=Object.freeze(Object.defineProperty({
__proto__:null,default:BNe,render:LNe},Symbol.toStringTag,{value:"Module"
})),UNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function zNe(e,t){
return Fb(),qb("svg",UNe,[...t[0]||(t[0]=[Jb("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)])])}const ZNe={render:zNe},FNe=Object.freeze(Object.defineProperty({
__proto__:null,default:ZNe,render:zNe},Symbol.toStringTag,{value:"Module"
})),HNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function QNe(e,t){
return Fb(),qb("svg",HNe,[...t[0]||(t[0]=[Jb("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)])])}const VNe={render:QNe},qNe=Object.freeze(Object.defineProperty({
__proto__:null,default:VNe,render:QNe},Symbol.toStringTag,{value:"Module"
})),WNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function XNe(e,t){
return Fb(),qb("svg",WNe,[...t[0]||(t[0]=[Jb("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)])])}const GNe={render:XNe},YNe=Object.freeze(Object.defineProperty({
__proto__:null,default:GNe,render:XNe},Symbol.toStringTag,{value:"Module"
})),KNe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function JNe(e,t){
return Fb(),qb("svg",KNe,[...t[0]||(t[0]=[Jb("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)])])}const eRe={render:JNe},tRe=Object.freeze(Object.defineProperty({
__proto__:null,default:eRe,render:JNe},Symbol.toStringTag,{value:"Module"
})),nRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function rRe(e,t){
return Fb(),qb("svg",nRe,[...t[0]||(t[0]=[Jb("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)])])}const aRe={render:rRe},oRe=Object.freeze(Object.defineProperty({
__proto__:null,default:aRe,render:rRe},Symbol.toStringTag,{value:"Module"
})),iRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function sRe(e,t){
return Fb(),qb("svg",iRe,[...t[0]||(t[0]=[Jb("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)])])}const lRe={render:sRe},cRe=Object.freeze(Object.defineProperty({
__proto__:null,default:lRe,render:sRe},Symbol.toStringTag,{value:"Module"
})),uRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function dRe(e,t){
return Fb(),qb("svg",uRe,[...t[0]||(t[0]=[Jb("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)])])}const pRe={render:dRe},hRe=Object.freeze(Object.defineProperty({
__proto__:null,default:pRe,render:dRe},Symbol.toStringTag,{value:"Module"
})),fRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function mRe(e,t){
return Fb(),qb("svg",fRe,[...t[0]||(t[0]=[Jb("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)])])}const gRe={render:mRe},vRe=Object.freeze(Object.defineProperty({
__proto__:null,default:gRe,render:mRe},Symbol.toStringTag,{value:"Module"
})),bRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function yRe(e,t){
return Fb(),qb("svg",bRe,[...t[0]||(t[0]=[Jb("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)])])}const ORe={render:yRe},wRe=Object.freeze(Object.defineProperty({
__proto__:null,default:ORe,render:yRe},Symbol.toStringTag,{value:"Module"
})),xRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function kRe(e,t){
return Fb(),qb("svg",xRe,[...t[0]||(t[0]=[Jb("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)])])}const SRe={render:kRe},_Re=Object.freeze(Object.defineProperty({
__proto__:null,default:SRe,render:kRe},Symbol.toStringTag,{value:"Module"
})),ARe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function TRe(e,t){
return Fb(),qb("svg",ARe,[...t[0]||(t[0]=[Jb("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)])])}const ERe={render:TRe},CRe=Object.freeze(Object.defineProperty({
__proto__:null,default:ERe,render:TRe},Symbol.toStringTag,{value:"Module"
})),$Re={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function PRe(e,t){
return Fb(),qb("svg",$Re,[...t[0]||(t[0]=[Jb("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)])])}const IRe={render:PRe},DRe=Object.freeze(Object.defineProperty({
__proto__:null,default:IRe,render:PRe},Symbol.toStringTag,{value:"Module"
})),MRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function NRe(e,t){
return Fb(),qb("svg",MRe,[...t[0]||(t[0]=[Jb("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)])])}const RRe={render:NRe},LRe=Object.freeze(Object.defineProperty({
__proto__:null,default:RRe,render:NRe},Symbol.toStringTag,{value:"Module"
})),BRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function jRe(e,t){
return Fb(),qb("svg",BRe,[...t[0]||(t[0]=[Jb("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)])])}const URe={render:jRe},zRe=Object.freeze(Object.defineProperty({
__proto__:null,default:URe,render:jRe},Symbol.toStringTag,{value:"Module"
})),ZRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function FRe(e,t){
return Fb(),qb("svg",ZRe,[...t[0]||(t[0]=[Jb("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)])])}const HRe={render:FRe},QRe=Object.freeze(Object.defineProperty({
__proto__:null,default:HRe,render:FRe},Symbol.toStringTag,{value:"Module"
})),VRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function qRe(e,t){
return Fb(),qb("svg",VRe,[...t[0]||(t[0]=[Jb("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)])])}const WRe={render:qRe},XRe=Object.freeze(Object.defineProperty({
__proto__:null,default:WRe,render:qRe},Symbol.toStringTag,{value:"Module"
})),GRe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function YRe(e,t){
return Fb(),qb("svg",GRe,[...t[0]||(t[0]=[Jb("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)])])}const KRe={render:YRe},JRe=Object.freeze(Object.defineProperty({
__proto__:null,default:KRe,render:YRe},Symbol.toStringTag,{value:"Module"
})),eLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function tLe(e,t){
return Fb(),qb("svg",eLe,[...t[0]||(t[0]=[Jb("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)])])}const nLe={render:tLe},rLe=Object.freeze(Object.defineProperty({
__proto__:null,default:nLe,render:tLe},Symbol.toStringTag,{value:"Module"
})),aLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function oLe(e,t){
return Fb(),qb("svg",aLe,[...t[0]||(t[0]=[Jb("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)])])}const iLe={render:oLe},sLe=Object.freeze(Object.defineProperty({
__proto__:null,default:iLe,render:oLe},Symbol.toStringTag,{value:"Module"
})),lLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function cLe(e,t){
return Fb(),qb("svg",lLe,[...t[0]||(t[0]=[Jb("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)])])}const uLe={render:cLe},dLe=Object.freeze(Object.defineProperty({
__proto__:null,default:uLe,render:cLe},Symbol.toStringTag,{value:"Module"
})),pLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function hLe(e,t){
return Fb(),qb("svg",pLe,[...t[0]||(t[0]=[Jb("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)])])}const fLe={render:hLe},mLe=Object.freeze(Object.defineProperty({
__proto__:null,default:fLe,render:hLe},Symbol.toStringTag,{value:"Module"
})),gLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function vLe(e,t){
return Fb(),qb("svg",gLe,[...t[0]||(t[0]=[Jb("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)])])}const bLe={render:vLe},yLe=Object.freeze(Object.defineProperty({
__proto__:null,default:bLe,render:vLe},Symbol.toStringTag,{value:"Module"
})),OLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function wLe(e,t){
return Fb(),qb("svg",OLe,[...t[0]||(t[0]=[Jb("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)])])}const xLe={render:wLe},kLe=Object.freeze(Object.defineProperty({
__proto__:null,default:xLe,render:wLe},Symbol.toStringTag,{value:"Module"
})),SLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function _Le(e,t){
return Fb(),qb("svg",SLe,[...t[0]||(t[0]=[Jb("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)])])}const ALe={render:_Le},TLe=Object.freeze(Object.defineProperty({
__proto__:null,default:ALe,render:_Le},Symbol.toStringTag,{value:"Module"
})),ELe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function CLe(e,t){
return Fb(),qb("svg",ELe,[...t[0]||(t[0]=[Jb("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)])])}const $Le={render:CLe},PLe=Object.freeze(Object.defineProperty({
__proto__:null,default:$Le,render:CLe},Symbol.toStringTag,{value:"Module"
})),ILe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function DLe(e,t){
return Fb(),qb("svg",ILe,[...t[0]||(t[0]=[Jb("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)])])}const MLe={render:DLe},NLe=Object.freeze(Object.defineProperty({
__proto__:null,default:MLe,render:DLe},Symbol.toStringTag,{value:"Module"
})),RLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function LLe(e,t){
return Fb(),qb("svg",RLe,[...t[0]||(t[0]=[Jb("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)])])}const BLe={render:LLe},jLe=Object.freeze(Object.defineProperty({
__proto__:null,default:BLe,render:LLe},Symbol.toStringTag,{value:"Module"
})),ULe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function zLe(e,t){return Fb(),qb("svg",ULe,[...t[0]||(t[0]=[Jb("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)])])}
const ZLe={render:zLe},FLe=Object.freeze(Object.defineProperty({__proto__:null,
default:ZLe,render:zLe},Symbol.toStringTag,{value:"Module"})),HLe={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"}
;function QLe(e,t){return Fb(),qb("svg",HLe,[...t[0]||(t[0]=[Jb("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)])])}const VLe={render:QLe},qLe=Object.freeze(Object.defineProperty({
__proto__:null,default:VLe,render:QLe},Symbol.toStringTag,{value:"Module"
})),WLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function XLe(e,t){
return Fb(),qb("svg",WLe,[...t[0]||(t[0]=[Jb("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)])])}const GLe={render:XLe},YLe=Object.freeze(Object.defineProperty({
__proto__:null,default:GLe,render:XLe},Symbol.toStringTag,{value:"Module"
})),KLe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function JLe(e,t){
return Fb(),qb("svg",KLe,[...t[0]||(t[0]=[Jb("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)])])}const eBe={render:JLe},tBe=Object.freeze(Object.defineProperty({
__proto__:null,default:eBe,render:JLe},Symbol.toStringTag,{value:"Module"
})),nBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function rBe(e,t){
return Fb(),qb("svg",nBe,[...t[0]||(t[0]=[Jb("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)])])}const aBe={render:rBe},oBe=Object.freeze(Object.defineProperty({
__proto__:null,default:aBe,render:rBe},Symbol.toStringTag,{value:"Module"
})),iBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function sBe(e,t){
return Fb(),qb("svg",iBe,[...t[0]||(t[0]=[Jb("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)])])}const lBe={render:sBe},cBe=Object.freeze(Object.defineProperty({
__proto__:null,default:lBe,render:sBe},Symbol.toStringTag,{value:"Module"
})),uBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function dBe(e,t){
return Fb(),qb("svg",uBe,[...t[0]||(t[0]=[Jb("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)])])}const pBe={render:dBe},hBe=Object.freeze(Object.defineProperty({
__proto__:null,default:pBe,render:dBe},Symbol.toStringTag,{value:"Module"
})),fBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function mBe(e,t){
return Fb(),qb("svg",fBe,[...t[0]||(t[0]=[Jb("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)])])}const gBe={render:mBe},vBe=Object.freeze(Object.defineProperty({
__proto__:null,default:gBe,render:mBe},Symbol.toStringTag,{value:"Module"
})),bBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function yBe(e,t){
return Fb(),qb("svg",bBe,[...t[0]||(t[0]=[Jb("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)])])}const OBe={render:yBe},wBe=Object.freeze(Object.defineProperty({
__proto__:null,default:OBe,render:yBe},Symbol.toStringTag,{value:"Module"
})),xBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function kBe(e,t){
return Fb(),qb("svg",xBe,[...t[0]||(t[0]=[Jb("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)])])}const SBe={render:kBe},_Be=Object.freeze(Object.defineProperty({
__proto__:null,default:SBe,render:kBe},Symbol.toStringTag,{value:"Module"
})),ABe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function TBe(e,t){
return Fb(),qb("svg",ABe,[...t[0]||(t[0]=[Jb("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)])])}const EBe={render:TBe},CBe=Object.freeze(Object.defineProperty({
__proto__:null,default:EBe,render:TBe},Symbol.toStringTag,{value:"Module"
})),$Be={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function PBe(e,t){
return Fb(),qb("svg",$Be,[...t[0]||(t[0]=[Jb("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)])])}const IBe={render:PBe},DBe=Object.freeze(Object.defineProperty({
__proto__:null,default:IBe,render:PBe},Symbol.toStringTag,{value:"Module"
})),MBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function NBe(e,t){
return Fb(),qb("svg",MBe,[...t[0]||(t[0]=[Jb("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)])])}const RBe={render:NBe},LBe=Object.freeze(Object.defineProperty({
__proto__:null,default:RBe,render:NBe},Symbol.toStringTag,{value:"Module"
})),BBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function jBe(e,t){
return Fb(),qb("svg",BBe,[...t[0]||(t[0]=[Jb("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)])])}const UBe={render:jBe},zBe=Object.freeze(Object.defineProperty({
__proto__:null,default:UBe,render:jBe},Symbol.toStringTag,{value:"Module"
})),ZBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function FBe(e,t){
return Fb(),qb("svg",ZBe,[...t[0]||(t[0]=[Jb("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)])])}const HBe={render:FBe},QBe=Object.freeze(Object.defineProperty({
__proto__:null,default:HBe,render:FBe},Symbol.toStringTag,{value:"Module"
})),VBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function qBe(e,t){
return Fb(),qb("svg",VBe,[...t[0]||(t[0]=[Jb("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)])])}const WBe={render:qBe},XBe=Object.freeze(Object.defineProperty({
__proto__:null,default:WBe,render:qBe},Symbol.toStringTag,{value:"Module"
})),GBe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function YBe(e,t){
return Fb(),qb("svg",GBe,[...t[0]||(t[0]=[Jb("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)])])}const KBe={render:YBe},JBe=Object.freeze(Object.defineProperty({
__proto__:null,default:KBe,render:YBe},Symbol.toStringTag,{value:"Module"
})),eje={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",
viewBox:"0 0 256 256"};function tje(e,t){
return Fb(),qb("svg",eje,[...t[0]||(t[0]=[Jb("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)])])}const nje={render:tje},rje=Object.freeze(Object.defineProperty({
__proto__:null,default:nje,render:tje},Symbol.toStringTag,{value:"Module"}))
;const aje=function(e){const t=Object.entries(e).map((([e,t])=>{
const n=e.replace("./icons/","").replace(".svg","");return{icon:{src:n,
title:n.replaceAll("-"," "),tags:[]},rawData:t}
})),n=t.map((e=>e.icon)),r=Object.fromEntries(t.map((e=>[e.icon.src,e.rawData])))
;return{iconDefinitionList:n,iconDataMap:r}}(Object.assign({
"./icons/basic-shape-diamond.svg":XIe,"./icons/basic-shape-hexagon.svg":JIe,
"./icons/basic-shape-primary-circle-ellipse-round.svg":rDe,
"./icons/basic-shape-primary-square-rectangle.svg":sDe,
"./icons/basic-shape-shield.svg":dDe,
"./icons/computer-device-desktop-monitor.svg":mDe,
"./icons/computer-device-desktop.svg":yDe,
"./icons/computer-device-laptop.svg":kDe,
"./icons/computer-device-mobile-phone-android-samsung-back.svg":TDe,
"./icons/computer-device-mobile-phone-android-samsung.svg":PDe,
"./icons/computer-device-mobile-phone-iphone-x-back.svg":NDe,
"./icons/computer-device-mobile-phone-iphone-x.svg":jDe,
"./icons/computer-device-mobile-tablet-touch.svg":FDe,
"./icons/computer-device-mobile-tablet.svg":qDe,
"./icons/computer-device-network-ethernet-cat6.svg":YDe,
"./icons/computer-device-network-lan-www.svg":tMe,
"./icons/computer-device-network-wifi-connection.svg":oMe,
"./icons/computer-device-network-wifi-router.svg":cMe,
"./icons/ecology-science-erlenmeyer-flask.svg":hMe,
"./icons/image-flash-lightning.svg":vMe,"./icons/image-picture-flower.svg":wMe,
"./icons/interface-alert-exclamation-diamond.svg":_Me,
"./icons/interface-alert-exclamation-triangle-warning.svg":CMe,
"./icons/interface-alert-information-circle.svg":DMe,
"./icons/interface-award-crown.svg":LMe,
"./icons/interface-bookmark-tag.svg":zMe,"./icons/interface-bookmark.svg":QMe,
"./icons/interface-calendar-date-one.svg":XMe,
"./icons/interface-content-book-open-pages.svg":JMe,
"./icons/interface-content-book-page.svg":rNe,
"./icons/interface-content-file.svg":sNe,
"./icons/interface-content-folder.svg":dNe,
"./icons/interface-copy-clipboard.svg":mNe,
"./icons/interface-edit-attachment.svg":yNe,
"./icons/interface-edit-binocular.svg":kNe,
"./icons/interface-edit-magic-wand.svg":TNe,
"./icons/interface-edit-tool-paint-roller.svg":PNe,
"./icons/interface-edit-tool-pencil.svg":NNe,
"./icons/interface-favorite-award.svg":jNe,
"./icons/interface-favorite-flag.svg":FNe,
"./icons/interface-favorite-heart.svg":qNe,
"./icons/interface-favorite-star.svg":YNe,
"./icons/interface-favorite-stars-sparkles.svg":tRe,
"./icons/interface-hierarchy-flowchart.svg":oRe,
"./icons/interface-home-house.svg":cRe,"./icons/interface-hyperlink.svg":hRe,
"./icons/interface-lighting-brightness.svg":vRe,
"./icons/interface-lock-closed.svg":wRe,
"./icons/interface-lock-open-unlock.svg":_Re,
"./icons/interface-login-key.svg":CRe,"./icons/interface-search.svg":DRe,
"./icons/interface-setting-cog.svg":LRe,
"./icons/interface-share-megaphone-bullhorn.svg":zRe,
"./icons/interface-share-rocket.svg":QRe,
"./icons/interface-share-satellite.svg":XRe,
"./icons/interface-share-space-ship.svg":JRe,"./icons/interface-share.svg":rLe,
"./icons/interface-signal-square.svg":sLe,
"./icons/interface-time-clock-circle.svg":dLe,
"./icons/interface-time-hour-glass.svg":mLe,
"./icons/interface-users-multiple.svg":yLe,
"./icons/interface-weather-moon.svg":kLe,
"./icons/mail-chat-bubble-square.svg":TLe,
"./icons/mail-send-email-paper-airplane.svg":PLe,
"./icons/mail-send-envelope.svg":NLe,"./icons/money-cashier-receipt.svg":jLe,
"./icons/money-currency-dollar-pay.svg":FLe,
"./icons/money-graph-arrow-increase.svg":qLe,
"./icons/money-graph-bar-chart-increase.svg":YLe,
"./icons/nature-ecology-leaf.svg":tBe,"./icons/phone-telephone.svg":oBe,
"./icons/programming-bug.svg":cBe,"./icons/programming-cloud.svg":hBe,
"./icons/programming-computer-database-server.svg":vBe,
"./icons/programming-computer-database.svg":wBe,
"./icons/programming-module-four-layout.svg":_Be,
"./icons/programming-module-three.svg":CBe,"./icons/programming-module.svg":DBe,
"./icons/programming-script-code.svg":LBe,"./icons/shopping-cart.svg":zBe,
"./icons/shopping-gift-present.svg":QBe,
"./icons/shopping-shipping-box-parcel-package.svg":XBe,
"./icons/tag-new-circle.svg":JBe,"./icons/travel-map-earth-globe.svg":rje
})),oje=aje.iconDataMap,ije=Hg({__name:"LibraryIcon",props:{src:{}},setup(e){
const t=e,n=Ty((()=>(e=>oje[e])(t.src)))
;return(e,t)=>n.value?(Fb(),Wb(wv(n.value),{key:0})):oy("",!0)}}),sje=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},lje={
class:"bg-b-2 border-red 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"
};const cje=sje({},[["render",function(e,t){
return Fb(),qb("div",lje,[Av(e.$slots,"default")])
}]]),uje=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0,dje=(e,t,n)=>uje(t)?"client"===e||"reference"===e&&("operation"!==t.type&&"webhook"!==t.type):!("client"!==e||!n)&&("document"===t.type||"tag"===t.type),pje=d_({
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"}}
}),hje=bm(null),fje=bm(null);function mje(e){
const{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:a=!0,parentIds:o=[],id:i,onDragStart:s,onDragEnd:l}=e,c=Ty((()=>o.at(-1)??null)),u=((e,t)=>{
let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout((()=>n=!1),t))}})((e=>{
if(!hje.value||hje.value.id===i||o.includes(hje.value?.id??""))return
;const r=fje.value?.offset,s=e.target.offsetHeight,l=n*s,u=t*s;let d=null
;e.offsetY<=0&&r&&"after"!==r?d=r:e.offsetY<=l?d="before":e.offsetY>=u?d="after":e.offsetY>l&&e.offsetY<u&&(d="into"),
(e=>"function"==typeof a?a(hje.value,{id:i,parentId:c.value,offset:e
}):km(a))(d)&&(fje.value={id:i,parentId:c.value,offset:d})}),25),d=Ty((()=>{
const e=i===fje.value?.id?fje.value.offset:void 0;return e?pje({position:e}):""
}));return{draggableAttrs:Ty((()=>({class:d.value||void 0,
draggable:!!km(r)||void 0}))),draggableEvents:{dragend:()=>{
if(!fje.value||!hje.value)return;const e={...hje.value},t={...fje.value}
;hje.value=null,
fje.value=null,document.querySelectorAll("[data-dragging]").forEach((e=>e.removeAttribute("data-dragging"))),
e.id!==t.id&&l?.(e,t)},dragover:e=>{e.preventDefault(),e.stopPropagation(),u(e)
},dragstart:e=>{e.stopPropagation(),(e=>{
if(!(km(r)&&e.dataTransfer&&e.target instanceof HTMLElement))return
;e.target.setAttribute("data-dragging","true"),e.dataTransfer.dropEffect="move",
e.dataTransfer.effectAllowed="move";const t={id:i,parentId:c.value};hje.value=t,
s?.(t)})(e)}},draggingItem:hje,hoveredItem:fje}}const gje=Hg({
__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},webhook:{
type:Boolean}},setup:e=>(t,n)=>(Fb(),Wb(FIe,{
class:Dh(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{
"sidebar-heading-type-active":e.active}]),method:e.method,
property:"--method-color",short:""},{default:ig((()=>[n[0]||(n[0]=Jb("span",{
class:"sr-only"
},"HTTP Method: ",-1)),Av(t.$slots,"default",{},(()=>[e.webhook?(Fb(),
Wb(xm(AP),{key:0,style:Eh({color:xm(LV)(e.method).colorVar}),weight:"bold"
},null,8,["style"])):oy("",!0)]),!0)])),_:3},8,["class","method"]))
}),vje=sje(gje,[["__scopeId","data-v-1857170e"]]),bje=Hg({
__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},
setup:e=>(t,n)=>"model"===e.item.type?(Fb(),Wb(xm(Aoe),{key:0,preset:"property",
text:e.item.title},null,8,["text"])):(Fb(),Wb(xm(Aoe),{key:1,
text:"path"===e.operationTitleSource&&"path"in e.item?e.item.path:e.item.title
},null,8,["text"]))}),yje={key:0,class:"line-through"},Oje={key:0,
class:"line-through"},wje=Hg({__name:"SidebarItem",props:{item:{},layout:{},
isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},
isDroppable:{type:Function}},emits:["selectItem","onDragEnd"],setup(e,{emit:t}){
const n=t,r=Dv(),a=e=>("isDeprecated"in e&&e.isDeprecated)??!1,o=(e,t)=>{
n("onDragEnd",e,t)},{draggableAttrs:i,draggableEvents:s}=mje({id:e.item.id,
isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o});return(t,l)=>{
const c=yv("SidebarItem",!0)
;return xm(uje)(e.item)&&(e=>"isGroup"in e&&e.isGroup)(e.item)?(Fb(),
Wb(xm(roe),cy({key:0,"data-sidebar-id":e.item.id},xm(i),Ev(xm(s))),{
items:ig((()=>[(Fb(!0),
qb(Lb,null,Sv(xm(QIe)(e.layout,e.item.children),(a=>(Fb(),Wb(c,{key:a.id,
isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,
isSelected:e.isSelected,item:a,layout:e.layout,options:e.options,onOnDragEnd:o,
onSelectItem:l[0]||(l[0]=e=>n("selectItem",e))},_v({_:2},[r.decorator?{
name:"decorator",fn:ig((e=>[Av(t.$slots,"decorator",cy({ref_for:!0},e))])),
key:"0"}:void 0,r.empty?{name:"empty",fn:ig((e=>[Av(t.$slots,"empty",cy({
ref_for:!0},e))])),key:"1"}:void 0,r.icon?{name:"icon",
fn:ig((e=>[Av(t.$slots,"icon",cy({ref_for:!0},e))])),key:"2"
}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"])))),128))])),
default:ig((()=>[ry(Uh(e.item.title)+" ",1)])),_:3
},16,["data-sidebar-id"])):xm(dje)(e.layout,e.item,void 0!==r.empty)?(Fb(),
Wb(xm(Vae),cy({key:1,active:e.isSelected(e.item.id),class:"relative",
controlled:"","data-sidebar-id":e.item.id,open:e.isExpanded(e.item.id)
},xm(i),Ev(xm(s)),{onClick:l[2]||(l[2]=()=>n("selectItem",e.item.id))}),_v({
items:ig((()=>[(Fb(!0),
qb(Lb,null,Sv(xm(QIe)(e.layout,e.item.children??[]),(a=>(Fb(),Wb(c,{key:a.id,
isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,
isSelected:e.isSelected,item:a,layout:e.layout,options:e.options,parentIds:[],
onOnDragEnd:o,onSelectItem:l[1]||(l[1]=e=>n("selectItem",e))},_v({_:2
},[r.decorator?{name:"decorator",fn:ig((e=>[Av(t.$slots,"decorator",cy({
ref_for:!0},e))])),key:"0"}:void 0,r.empty?{name:"empty",
fn:ig((e=>[Av(t.$slots,"empty",cy({ref_for:!0},e))])),key:"1"}:void 0,r.icon?{
name:"icon",fn:ig((e=>[Av(t.$slots,"icon",cy({ref_for:!0},e))])),key:"2"
}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"])))),128)),r.empty&&0===(e.item.children?.length??0)?Av(t.$slots,"empty",{
key:0,item:e.item}):oy("",!0)])),
default:ig((()=>[a(e.item)?(Fb(),qb("span",yje,[ey(bje,{item:e.item,
operationTitleSource:e.options?.operationTitleSource
},null,8,["item","operationTitleSource"])])):(Fb(),Wb(bje,{key:1,item:e.item,
operationTitleSource:e.options?.operationTitleSource
},null,8,["item","operationTitleSource"])),"method"in e.item?(Fb(),Wb(vje,{
key:2,active:e.isSelected(e.item.id),class:Dh(["ml-2 h-4 self-start",{
"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator
}]),method:e.item.method,webhook:"webhook"===e.item.type
},null,8,["active","class","method","webhook"])):oy("",!0)])),_:2
},["document"===e.item.type?{name:"icon",
fn:ig((({open:n})=>[Av(t.$slots,"icon",{item:e.item,open:n},(()=>[ey(xm(ije),{
class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"
},null,8,["src"])]))])),key:"0"}:void 0,r.decorator?{name:"after",
fn:ig((()=>[ey(cje,null,{default:ig((()=>[Av(t.$slots,"decorator",{item:e.item
})])),_:3})])),key:"1"
}:void 0]),1040,["active","data-sidebar-id","open"])):(Fb(),Wb(xm(qae),cy({
key:2,is:"button"},xm(i),{class:"relative","data-sidebar-id":e.item.id,
selected:e.isSelected(e.item.id)},Ev(xm(s)),{
onClick:l[3]||(l[3]=()=>n("selectItem",e.item.id))}),_v({
default:ig((()=>[a(e.item)?(Fb(),qb("span",Oje,[ey(bje,{item:e.item,
operationTitleSource:e.options?.operationTitleSource
},null,8,["item","operationTitleSource"])])):(Fb(),Wb(bje,{key:1,item:e.item,
operationTitleSource:e.options?.operationTitleSource
},null,8,["item","operationTitleSource"]))])),_:2},[r.icon?{name:"icon",
fn:ig((()=>[Av(t.$slots,"icon",{item:e.item,open:!0})])),key:"0"
}:void 0,"method"in e.item?{name:"aside",
fn:ig((()=>["method"in e.item?(Fb(),Wb(vje,{key:0,
active:e.isSelected(e.item.id),class:Dh(["ml-2 h-4 self-start",{
"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator
}]),method:e.item.method,webhook:"webhook"===e.item.type
},null,8,["active","class","method","webhook"])):oy("",!0)])),key:"1"
}:void 0,r.decorator?{name:"after",fn:ig((()=>[ey(cje,null,{
default:ig((()=>[Av(t.$slots,"decorator",{item:e.item})])),_:3})])),key:"2"
}:void 0]),1040,["data-sidebar-id","selected"]))}}}),xje=Hg({
__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},
isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},
isDroppable:{type:Function}},emits:["reorder","selectItem"],setup(e,{emit:t}){
const n=t,r=Dv(),a=(e,t)=>{n("reorder",e,t)};return(t,o)=>(Fb(),Wb(xm(Cae),{
class:"flex min-h-0 flex-col",style:Eh({"--scalar-sidebar-indent":e.indent+"px"
})},{
default:ig((()=>[Av(t.$slots,"header"),Av(t.$slots,"default",{},(()=>[ey(xm(Xae),{
class:"custom-scroll pt-0"},{
default:ig((()=>[Av(t.$slots,"before"),(Fb(!0),qb(Lb,null,Sv(xm(QIe)(e.layout,e.items),(i=>(Fb(),
Wb(wje,{key:i.id,isDraggable:e.isDraggable??"client"===e.layout,
isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,
item:i,layout:e.layout,options:e.options,onOnDragEnd:a,
onSelectItem:o[0]||(o[0]=e=>n("selectItem",e))},_v({_:2},[r.decorator?{
name:"decorator",fn:ig((e=>[Av(t.$slots,"decorator",cy({ref_for:!0},e))])),
key:"0"}:void 0,r.empty?{name:"empty",fn:ig((e=>[Av(t.$slots,"empty",cy({
ref_for:!0},e))])),key:"1"}:void 0,r.icon?{name:"icon",
fn:ig((e=>[Av(t.$slots,"icon",cy({ref_for:!0},e))])),key:"2"
}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"])))),128))])),
_:3}),o[1]||(o[1]=Jb("div",{class:"flex-1"
},null,-1))])),Av(t.$slots,"footer")])),_:3},8,["style"]))}
}),kje=({items:e,nestedKey:t="children",filter:n=()=>!0,getId:r=e=>e.id})=>{
const a=new Map,o=e=>{
n(e)&&a.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach((t=>o({...t,
parent:e})))};return e.forEach(o),a},Sje=(e,t)=>{const n=Ty((()=>kje({
items:km(e),nestedKey:t?.key??"children"}))),r=bm({}),a=bm({}),o=bm(null)
;return{items:Ty((()=>km(e))),index:n,selectedItems:r,expandedItems:a,
selectedItem:o,setSelected:e=>{const a=e=>{
e&&(r.value[e.id]=!0,"parent"in e&&e.parent&&a(e.parent))}
;t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),
r.value={},o.value=e,null!==e&&a(n.value.get(e)),
t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{
const o=e=>{e&&(a.value[e.id]=!0,"parent"in e&&e.parent&&o(e.parent))}
;t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),
!1===r?a.value[e]=!1:o(n.value.get(e)),
t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>a.value[e]??!1,
isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{
r.value={},a.value={}}}},_je=(e,t)=>{if(t.type===e)return t
;if("children"in t)for(const n of t.children??[]){const t=_je(e,n);if(t)return t
}return null},Aje=(e,t=100)=>{if(typeof window>"u")return
;const n=document.querySelector(`[data-sidebar-id="${e}"]`),r=n?.closest(".custom-scroll, .custom-scrollbar")??null
;if(!n||!r)return;const a=(e=>{
if("contents"!==window.getComputedStyle(e).display)return e
;for(const t of e.children)if(t instanceof HTMLElement&&null!==t.offsetParent)return t
;return e})(n),o=((e,t)=>{let n=e.offsetTop,r=e.offsetParent
;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n
})(a,r),i=(e=>"heading"!==e.dataset.sidebarType?0:e.querySelector(".sidebar-heading")?.offsetHeight??0)(n),s=o+i-t
;r.scrollTo({top:s>0?s:0,behavior:"smooth"})
},Tje=({document:e,path:t,method:n,example:r})=>JSON.stringify([e,t,n,r].filter($V))
;var Eje=Object.defineProperty,Cje=(e,t,n)=>(((e,t,n)=>{t in e?Eje(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);!function(e){if(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))
}("[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%)}")
;let $je=0;const Pje=new class{constructor(){
Cje(this,"subscribers"),Cje(this,"toasts"),
Cje(this,"subscribe",(e=>(this.subscribers.push(e),()=>{
const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)
}))),Cje(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))
})),Cje(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]
})),Cje(this,"create",(e=>{var t
;const{message:n,...r}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:$je++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible
;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,
id:a,title:n}),{...t,...e,id:a,dismissible:i,title:n}):t)):this.addToast({
title:n,...r,dismissible:i,id:a}),a
})),Cje(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))),Cje(this,"message",((e,t)=>this.create({...t,message:e,type:"default"
}))),Cje(this,"error",((e,t)=>this.create({...t,type:"error",message:e
}))),Cje(this,"success",((e,t)=>this.create({...t,type:"success",message:e
}))),Cje(this,"info",((e,t)=>this.create({...t,type:"info",message:e
}))),Cje(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e
}))),Cje(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e
}))),Cje(this,"promise",((e,t)=>{if(!t)return;let n
;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",
message:t.loading,
description:"function"!=typeof t.description?t.description:void 0}))
;const r=e instanceof Promise?e:e();let a=void 0!==n;return r.then((e=>{
if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1
;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,r="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description
;this.create({id:n,type:"error",message:e,description:r})
}else if(void 0!==t.success){a=!1
;const r="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"success",message:r,description:o})}})).catch((e=>{
if(void 0!==t.error){a=!1
;const r="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"error",message:r,description:o})}})).finally((()=>{
var e;a&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),n
})),Cje(this,"custom",((e,t)=>{const n=(null==t?void 0:t.id)||$je++
;return this.publish({component:e,id:n,...t}),n
})),this.subscribers=[],this.toasts=[]}},Ije=(e,t)=>{
const n=(null==t?void 0:t.id)||$je++;return Pje.create({message:e,id:n,
type:"default",...t}),n},Dje=Object.assign(Ije,{success:Pje.success,
info:Pje.info,warning:Pje.warning,error:Pje.error,custom:Pje.custom,
message:Pje.message,promise:Pje.promise,dismiss:Pje.dismiss,loading:Pje.loading
}),Mje=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n
},Nje={},Rje={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"},Lje=[Jb("line",{x1:"18",
y1:"6",x2:"6",y2:"18"},null,-1),Jb("line",{x1:"6",y1:"6",x2:"18",y2:"18"
},null,-1)];const Bje=Mje(Nje,[["render",function(e,t){
return Fb(),qb("svg",Rje,Lje)
}]]),jje=["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"],Uje=["aria-label","data-disabled"],zje={
key:0,"data-icon":""},Zje={"data-content":""},Fje=Hg({__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}){
const n=t,r=e,a=bm(!1),o=bm(!1),i=bm(!1),s=bm(!1),l=bm(0),c=bm(0),u=bm(null),d=bm(null),p=Ty((()=>0===r.index)),h=Ty((()=>r.index+1<=r.visibleToasts)),f=Ty((()=>r.toast.type)),m=Ty((()=>!1!==r.toast.dismissible)),g=Ty((()=>{
var e,t,n,a,o,i,s
;return r.cn(null==(e=r.classes)?void 0:e.toast,null==(n=null==(t=r.toast)?void 0:t.classes)?void 0:n.toast,null==(a=r.classes)?void 0:a.default,null==(o=r.classes)?void 0:o[r.toast.type||"default"],null==(s=null==(i=r.toast)?void 0:i.classes)?void 0:s[r.toast.type||"default"])
})),v=r.toast.style||{},b=Ty((()=>r.heights.findIndex((e=>e.toastId===r.toast.id))||0)),y=Ty((()=>r.toast.closeButton??r.closeButton)),O=Ty((()=>r.toast.duration||r.duration||4e3)),w=bm(0),x=bm(0),k=bm(O.value),S=bm(0),_=bm(null),A=Ty((()=>r.position.split("-"))),T=Ty((()=>A.value[0])),E=Ty((()=>A.value[1])),C="string"!=typeof r.toast.title,$="string"!=typeof r.toast.description,P=Ty((()=>r.heights.reduce(((e,t,n)=>n>=b.value?e:e+t.height),0))),I=(()=>{
const e=bm(!1);return fg((()=>{const t=()=>{e.value=document.hidden}
;return document.addEventListener("visibilitychange",t),
()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}
})(),D=Ty((()=>r.toast.invert||r.invert)),M=Ty((()=>"loading"===f.value))
;cv((()=>{if(!a.value)return;const e=d.value,t=null==e?void 0:e.style.height
;e.style.height="auto";const o=e.getBoundingClientRect().height;let i
;e.style.height=t,
c.value=o,i=r.heights.find((e=>e.toastId===r.toast.id))?r.heights.map((e=>e.toastId===r.toast.id?{
...e,height:o}:e)):[{toastId:r.toast.id,height:o,position:r.toast.position
},...r.heights],n("update:heights",i)}));const N=()=>{o.value=!0,l.value=x.value
;const e=r.heights.filter((e=>e.toastId!==r.toast.id))
;n("update:heights",e),setTimeout((()=>{n("removeToast",r.toast)}),200)},R=()=>{
var e,t
;M.value||!m.value||(N(),null==(t=(e=r.toast).onDismiss)||t.call(e,r.toast))
},L=e=>{
M.value||!m.value||(u.value=new Date,l.value=x.value,e.target.setPointerCapture(e.pointerId),
"BUTTON"!==e.target.tagName&&(i.value=!0,_.value={x:e.clientX,y:e.clientY}))
},B=e=>{var t,n,a,o;if(s.value)return;_.value=null
;const c=Number((null==(t=d.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-u.value.getTime(),h=Math.abs(c)/p
;if(Math.abs(c)>=20||h>.11)return l.value=x.value,
null==(a=(n=r.toast).onDismiss)||a.call(n,r.toast),N(),void(s.value=!0)
;null==(o=d.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1
},j=e=>{var t;if(!_.value)return
;const n=e.clientY-_.value.y,r=e.clientX-_.value.x,a=("top"===A.value[0]?Math.min:Math.max)(0,n),o="touch"===e.pointerType?10:2
;Math.abs(a)>o?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>o&&(_.value=null)
};return fg((()=>{x.value=14*b.value+P.value})),fg((e=>{
if(r.toast.promise&&"loading"===f.value||r.toast.duration===1/0||"loading"===r.toast.type)return
;let t;r.expanded||r.interacting||r.pauseWhenPageIsHidden&&I?(()=>{
if(S.value<w.value){const e=(new Date).getTime()-w.value;k.value=k.value-e}
S.value=(new Date).getTime()
})():(w.value=(new Date).getTime(),t=setTimeout((()=>{var e,t
;null==(t=(e=r.toast).onAutoClose)||t.call(e,r.toast),N()}),k.value)),e((()=>{
clearTimeout(t)}))})),fg((()=>{r.toast.delete&&N()})),cv((()=>{if(d.value){
const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{
toastId:r.toast.id,height:e,position:r.toast.position},...r.heights]
;n("update:heights",t)}a.value=!0})),hv((()=>{if(d.value){
const e=r.heights.filter((e=>e.toastId!==r.toast.id));n("update:heights",e)}})),
(e,t)=>{var n,r,u,b,O,w,k,S,_,A,P,I;return Fb(),qb("li",{
"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",
role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",
class:Dh(g.value),
"data-styled":!(e.toast.component||null!=(n=e.toast)&&n.unstyled||e.unstyled),
"data-mounted":a.value,"data-promise":!!e.toast.promise,"data-removed":o.value,
"data-visible":h.value,"data-y-position":T.value,"data-x-position":E.value,
"data-index":e.index,"data-front":p.value,"data-swiping":i.value,
"data-dismissible":m.value,"data-type":f.value,"data-invert":D.value,
"data-swipe-out":s.value,
"data-expanded":!!(e.expanded||e.expandByDefault&&a.value),style:Eh({
"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,
"--offset":`${o.value?l.value:x.value}px`,
"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...xm(v)
}),onPointerdown:L,onPointerup:B,onPointermove:j
},[y.value&&!e.toast.component?(Fb(),qb("button",{key:0,
"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":M.value,
"data-close-button":"",
class:Dh(e.cn(null==(r=e.classes)?void 0:r.closeButton,null==(b=null==(u=e.toast)?void 0:u.classes)?void 0:b.closeButton)),
onClick:R
},[ey(Bje)],10,Uje)):oy("",!0),e.toast.component?(Fb(),Wb(wv(e.toast.component),cy({
key:1},e.toast.componentProps,{onCloseToast:N}),null,16)):(Fb(),qb(Lb,{key:2
},["default"!==f.value||e.toast.icon||e.toast.promise?(Fb(),
qb("div",zje,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?oy("",!0):Av(e.$slots,"loading-icon",{
key:0}),e.toast.icon?(Fb(),Wb(wv(e.toast.icon),{key:1})):(Fb(),qb(Lb,{key:2
},["success"===f.value?Av(e.$slots,"success-icon",{key:0
}):"error"===f.value?Av(e.$slots,"error-icon",{key:1
}):"warning"===f.value?Av(e.$slots,"warning-icon",{key:2
}):"info"===f.value?Av(e.$slots,"info-icon",{key:3
}):oy("",!0)],64))])):oy("",!0),Jb("div",Zje,[Jb("div",{"data-title":"",
class:Dh(e.cn(null==(O=e.classes)?void 0:O.title,null==(w=e.toast.classes)?void 0:w.title))
},[C?(Fb(),Wb(wv(e.toast.title),Mh(cy({key:0
},e.toast.componentProps)),null,16)):(Fb(),qb(Lb,{key:1
},[ry(Uh(e.toast.title),1)],64))],2),e.toast.description?(Fb(),qb("div",{key:0,
"data-description":"",
class:Dh(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(S=e.toast.classes)?void 0:S.description))
},[$?(Fb(),Wb(wv(e.toast.description),Mh(cy({key:0
},e.toast.componentProps)),null,16)):(Fb(),qb(Lb,{key:1
},[ry(Uh(e.toast.description),1)],64))],2)):oy("",!0)]),e.toast.cancel?(Fb(),
qb("button",{key:1,
class:Dh(e.cn(null==(_=e.classes)?void 0:_.cancelButton,null==(A=e.toast.classes)?void 0:A.cancelButton)),
"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t
;N(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})
},Uh(e.toast.cancel.label),3)):oy("",!0),e.toast.action?(Fb(),qb("button",{
key:2,
class:Dh(e.cn(null==(P=e.classes)?void 0:P.actionButton,null==(I=e.toast.classes)?void 0:I.actionButton)),
"data-button":"",onClick:t[1]||(t[1]=t=>{var n
;null==(n=e.toast.action)||n.onClick(t),!t.defaultPrevented&&N()})
},Uh(e.toast.action.label),3)):oy("",!0)],64))],46,jje)}}
}),Hje=["data-visible"],Qje={class:"sonner-spinner"},Vje=Hg({__name:"Loader",
props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0)
;return(e,n)=>(Fb(),qb("div",{class:"sonner-loading-wrapper",
"data-visible":e.visible
},[Jb("div",Qje,[(Fb(!0),qb(Lb,null,Sv(xm(t),(e=>(Fb(),qb("div",{
key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,Hje))}
}),qje={},Wje={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",
fill:"currentColor",height:"20",width:"20"},Xje=[Jb("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)];const Gje=Mje(qje,[["render",function(e,t){
return Fb(),qb("svg",Wje,Xje)}]]),Yje={},Kje={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",
height:"20",width:"20"},Jje=[Jb("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)];const eUe=Mje(Yje,[["render",function(e,t){
return Fb(),qb("svg",Kje,Jje)}]]),tUe={},nUe={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",
height:"20",width:"20"},rUe=[Jb("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)];const aUe=Mje(tUe,[["render",function(e,t){
return Fb(),qb("svg",nUe,rUe)}]]),oUe={},iUe={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",
height:"20",width:"20"},sUe=[Jb("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)];const lUe=Mje(oUe,[["render",function(e,t){
return Fb(),qb("svg",iUe,sUe)
}]]),cUe=["aria-label"],uUe=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],dUe="32px",pUe=typeof window<"u"&&typeof document<"u",hUe=Hg({
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:4e3},gap:{default:14},visibleToasts:{
default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})
},class:{default:""},style:{default:()=>({})},offset:{default:dUe},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"
;const e=document.documentElement.getAttribute("dir")
;return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction
}const r=e,a=Mv(),o=bm([]),i=Ty((()=>{
const e=o.value.filter((e=>e.position)).map((e=>e.position))
;return e.length>0?Array.from(new Set([r.position].concat(e))):[r.position]
})),s=bm([]),l=bm(!1),c=bm(!1),u=bm("system"!==r.theme?r.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=Ty((()=>r.cn||t)),p=bm(null),h=bm(null),f=bm(!1),m=r.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"")
;function g(e){o.value=o.value.filter((({id:t})=>t!==e.id))}const v=e=>{var t,n
;f.value&&(null==(n=null==(t=e.currentTarget)?void 0:t.contains)||!n.call(t,e.relatedTarget))&&(f.value=!1,
h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},b=e=>{
e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,
h.value=e.relatedTarget)},y=e=>{
e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)
};return fg((e=>{const t=Pje.subscribe((e=>{
e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Xm((()=>{
const t=o.value.findIndex((t=>t.id===e.id))
;-1!==t?o.value.splice(t,1,e):o.value=[e,...o.value]}))}));e((()=>{t()}))
})),mg((()=>r.theme),(e=>{
"system"===e?("system"===e&&(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})=>{
u.value=e?"dark":"light"}))):u.value=e})),mg((()=>p.value),(()=>{
if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0
}),h.value=null,f.value=!1)}})),fg((()=>{o.value.length<=1&&(l.value=!1)
})),fg((e=>{function t(e){
const t=r.hotkey.every((t=>e[t]||e.code===t)),n=Array.isArray(p.value)?p.value[0]:p.value
;t&&(l.value=!0,null==n||n.focus())
;const a=document.activeElement===p.value||(null==n?void 0:n.contains(document.activeElement))
;"Escape"===e.code&&a&&(l.value=!1)}
pUe&&(document.addEventListener("keydown",t),e((()=>{
document.removeEventListener("keydown",t)})))})),(e,t)=>(Fb(),qb("section",{
"aria-label":`${e.containerAriaLabel} ${xm(m)}`,tabIndex:-1
},[(Fb(!0),qb(Lb,null,Sv(i.value,((r,i)=>{var u;return Fb(),qb("ol",cy({key:r,
ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:e.class,
dir:"auto"===e.dir?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":`${null==(u=s.value[0])?void 0:u.height}px`,
"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||dUe,
"--width":"356px","--gap":"14px",...e.style,...xm(a).style},onBlur:v,onFocus:b,
onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),
onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:y,
onPointerup:t[4]||(t[4]=e=>c.value=!1)
},e.$attrs),[(Fb(!0),qb(Lb,null,Sv(o.value.filter((t=>!t.position&&0===i||t.position===e.position)),((n,r)=>{
var a,i,u,p,h,f,m,v,b;return Fb(),Wb(Fje,{key:n.id,index:r,toast:n,
duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,
class:Dh(null==(i=e.toastOptions)?void 0:i.class),
descriptionClass:null==(u=e.toastOptions)?void 0:u.descriptionClass,
invert:e.invert,visibleToasts:e.visibleToasts,
closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,
interacting:c.value,position:e.position,
style:Eh(null==(h=e.toastOptions)?void 0:h.style),
unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,
classes:null==(m=e.toastOptions)?void 0:m.classes,
cancelButtonStyle:null==(v=e.toastOptions)?void 0:v.cancelButtonStyle,
actionButtonStyle:null==(b=e.toastOptions)?void 0:b.actionButtonStyle,
toasts:o.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,
pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,
"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{
"loading-icon":ig((()=>[Av(e.$slots,"loading-icon",{},(()=>[ey(Vje,{
visible:"loading"===n.type},null,8,["visible"])]))])),
"success-icon":ig((()=>[Av(e.$slots,"success-icon",{},(()=>[ey(Gje)]))])),
"error-icon":ig((()=>[Av(e.$slots,"error-icon",{},(()=>[ey(lUe)]))])),
"warning-icon":ig((()=>[Av(e.$slots,"warning-icon",{},(()=>[ey(aUe)]))])),
"info-icon":ig((()=>[Av(e.$slots,"info-icon",{},(()=>[ey(eUe)]))])),_: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,uUe)})),128))],8,cUe))}}),fUe={toast:()=>null};function mUe(e){
fUe.toast=e}function gUe(){return{initializeToasts:mUe,toast:(e,t="info",n={
timeout:3e3})=>{fUe.toast(e,t,n)}}}const vUe=Hg({__name:"ScalarToasts",setup(e){
const t=bm(!1);cv((()=>t.value=!0));const n={success:Dje.success,
error:Dje.error,warn:Dje.warning,info:Dje},{initializeToasts:r}=gUe()
;return r(((e,t="info",r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,
description:r.description})})),(e,n)=>t.value?(Fb(),Wb(xm(hUe),{key:0,
class:"scalar-toaster"})):oy("",!0)}});!function(){try{if(typeof document<"u"){
var e=document.createElement("style")
;e.appendChild(document.createTextNode(".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))}")),
document.head.appendChild(e)}}catch(tx){
console.error("vite-plugin-css-injected-by-js",tx)}}()
;const bUe=e=>Object.entries(e),yUe=(e,t,n=!1,r=new Set)=>{
for(const o in t)if(o in e){
const i=e[o],s=t[o],l=n&&(Array.isArray(i)||Array.isArray(s))
;if("object"!=typeof i||null===i||"object"!=typeof s||null===s||l)try{e[o]=s
}catch(a){console.warn(`Issue setting ${o} on object`),console.warn(a)}else{
const e=HSe(i),t=HSe(s);if(r.has(e)||r.has(t))continue
;r.add(e),r.add(t),yUe(i,s,n,r)}}else e[o]=t[o];return e},OUe={
"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"
},wUe=(e,t,n={})=>{const r={};for(const a of e){const e=n[a],o=t[OUe[a]]
;r[a]=e||o||""}return r},xUe=(e={},t={},n,r)=>{
const a=bUe(e).reduce(((e,[t,n])=>(e[t]=structuredClone(TAe($Se(n))),
e)),{}),o=yUe(a,t)??{};return bUe(o).reduce(((e,[t,a])=>(e[t]=((e,t,n,r)=>{
const a=t.getAuthSecrets(r,n);if("apiKey"===e.type){
const t="apiKey"===a?.type?a:void 0;return{...e,
"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.value||""}}
if("http"===e.type){const t="http"===a?.type?a:void 0;return{...e,
"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.token||"",
"x-scalar-secret-username":t?.["x-scalar-secret-username"]||e.username||"",
"x-scalar-secret-password":t?.["x-scalar-secret-password"]||e.password||""}}
if("oauth2"===e.type){const t="oauth2"===a?.type?a:void 0,n=new Set;return{...e,
flows:bUe(e?.flows??{}).reduce(((e,[r,a])=>(a&&("selectedScopes"in a&&Array.isArray(a.selectedScopes)&&a.selectedScopes?.forEach((e=>e&&n.add(e))),
"implicit"===r&&(e.implicit={...a,
...wUe(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token"],a,t?.implicit)
}),"password"===r&&(e[r]={...a,
...wUe(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-username","x-scalar-secret-password","x-scalar-secret-token"],a,t?.password)
}),"clientCredentials"===r&&(e[r]={...a,
...wUe(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token"],a,t?.clientCredentials)
}),"authorizationCode"===r&&(e[r]={...a,
...wUe(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-redirect-uri","x-scalar-secret-token"],a,t?.authorizationCode)
})),e)),{}),"x-default-scopes":Array.from(n)}}return e.type,e})(a,n,t,r),e)),{})
}
;var kUe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],SUe=kUe.join(","),_Ue="undefined"==typeof Element,AUe=_Ue?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,TUe=!_Ue&&Element.prototype.getRootNode?function(e){
var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)
}:function(e){return null==e?void 0:e.ownerDocument},EUe=function e(t,n){var r
;void 0===n&&(n=!0)
;var a=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert")
;return""===a||"true"===a||n&&t&&e(t.parentNode)},CUe=function(e,t,n){
if(EUe(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(SUe))
;return t&&AUe.call(e,SUe)&&r.unshift(e),r=r.filter(n)},$Ue=function e(t,n,r){
for(var a=[],o=Array.from(t);o.length;){var i=o.shift()
;if(!EUe(i,!1))if("SLOT"===i.tagName){
var s=i.assignedElements(),l=e(s.length?s:i.children,!0,r)
;r.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{
AUe.call(i,SUe)&&r.filter(i)&&(n||!t.includes(i))&&a.push(i)
;var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!EUe(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i))
;if(c&&u){var d=e(!0===c?i.children:c.children,!0,r)
;r.flatten?a.push.apply(a,d):a.push({scopeParent:i,candidates:d})
}else o.unshift.apply(o,i.children)}}return a},PUe=function(e){
return!isNaN(parseInt(e.getAttribute("tabindex"),10))},IUe=function(e){
if(!e)throw new Error("No node provided")
;return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){
var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable")
;return""===n||"true"===n}(e))&&!PUe(e)?0:e.tabIndex},DUe=function(e,t){
return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex
},MUe=function(e){return"INPUT"===e.tagName},NUe=function(e){return function(e){
return MUe(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0
;var t,n=e.form||TUe(e),r=function(e){
return n.querySelectorAll('input[type="radio"][name="'+e+'"]')}
;if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{
t=r(e.name)}catch(o){
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",o.message),
!1}var a=function(e,t){
for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form)
;return!a||a===e}(e)},RUe=function(e){
var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r
},LUe=function(e,t){var n=t.displayCheck,r=t.getShadowRoot
;if("hidden"===getComputedStyle(e).visibility)return!0
;var a=AUe.call(e,"details>summary:first-of-type")?e.parentElement:e
;if(AUe.call(a,"details:not([open]) *"))return!0
;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return RUe(e)}else{
if("function"==typeof r){for(var o=e;e;){var i=e.parentElement,s=TUe(e)
;if(i&&!i.shadowRoot&&!0===r(i))return RUe(e)
;e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}
if(function(e){
var t,n,r,a,o=e&&TUe(e),i=null===(t=o)||void 0===t?void 0:t.host,s=!1
;if(o&&o!==e)for(s=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){
var l,c,u
;s=!(null===(c=i=null===(l=o=TUe(i))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))
}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}
return!1},BUe=function(e,t){return!(t.disabled||EUe(t)||function(e){
return MUe(e)&&"hidden"===e.type}(t)||LUe(t,e)||function(e){
return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){
return"SUMMARY"===e.tagName}))}(t)||function(e){
if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){
if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){
var r=t.children.item(n)
;if("LEGEND"===r.tagName)return!!AUe.call(t,"fieldset[disabled] *")||!r.contains(e)
}return!0}t=t.parentElement}return!1}(t))},jUe=function(e,t){
return!(NUe(t)||IUe(t)<0||!BUe(e,t))},UUe=function(e){
var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)
},zUe=function e(t){var n=[],r=[];return t.forEach((function(t,a){
var o=!!t.scopeParent,i=o?t.scopeParent:t,s=function(e,t){var n=IUe(e)
;return n<0&&t&&!PUe(e)?0:n}(i,o),l=o?e(t.candidates):i
;0===s?o?n.push.apply(n,l):n.push(i):r.push({documentOrder:a,tabIndex:s,item:t,
isScope:o,content:l})})),r.sort(DUe).reduce((function(e,t){
return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)
},ZUe=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
;return!1!==AUe.call(e,SUe)&&jUe(t,e)
},FUe=kUe.concat("iframe").join(","),HUe=function(e,t){
if(t=t||{},!e)throw new Error("No node provided")
;return!1!==AUe.call(e,FUe)&&BUe(t,e)};function QUe(e,t){
(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n]
;return r}function VUe(e,t,n){return(t=function(e){var t=function(e,t){
if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){
var r=n.call(e,t);if("object"!=typeof r)return r
;throw new TypeError("@@toPrimitive must return a primitive value.")}
return("string"===t?String:Number)(e)}(e,"string")
;return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,
enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qUe(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 WUe(e){for(var t=1;t<arguments.length;t++){
var n=null!=arguments[t]?arguments[t]:{}
;t%2?qUe(Object(n),!0).forEach((function(t){VUe(e,t,n[t])
})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qUe(Object(n)).forEach((function(t){
Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
function XUe(e){return function(e){if(Array.isArray(e))return QUe(e)
}(e)||function(e){
if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)
}(e)||function(e,t){if(e){if("string"==typeof e)return QUe(e,t)
;var n={}.toString.call(e).slice(8,-1)
;return"Object"===n&&e.constructor&&(n=e.constructor.name),
"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?QUe(e,t):void 0
}}(e)||function(){
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
}()}var GUe=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}
var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},YUe=function(e,t){
var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()
},KUe=function(e){
return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)
},JUe=function(e){return KUe(e)&&!e.shiftKey},eze=function(e){
return KUe(e)&&e.shiftKey},tze=function(e){return setTimeout(e,0)
},nze=function(e){
for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
;return"function"==typeof e?e.apply(void 0,n):e},rze=function(e){
return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target
},aze=[],oze=function(e,t){
var n,r=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||aze,o=WUe({
returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,
isKeyForward:JUe,isKeyBackward:eze},t),i={containers:[],containerGroups:[],
tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,
active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0
},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){
var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0
;return i.containerGroups.findIndex((function(t){
var r=t.container,a=t.tabbableNodes
;return r.contains(e)||(null==n?void 0:n.includes(r))||a.find((function(t){
return t===e}))}))},c=function(e){
var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,a=void 0!==n&&n,i=t.params,s=void 0===i?[]:i,l=o[e]
;if("function"==typeof l&&(l=l.apply(void 0,XUe(s))),!0===l&&(l=void 0),!l){
if(void 0===l||!1===l)return l
;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))
}var c=l;if("string"==typeof l){try{c=r.querySelector(l)}catch(u){
throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))
}
if(!c&&!a)throw new Error("`".concat(e,"` as selector refers to no known node"))
}return c},u=function(){var e=c("initialFocus",{hasFallback:!0})
;if(!1===e)return!1
;if(void 0===e||e&&!HUe(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{
var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")
}else null===e&&(e=c("fallbackFocus"))
;if(!e)throw new Error("Your focus-trap needs to have at least one focusable element")
;return e},d=function(){if(i.containerGroups=i.containers.map((function(e){
var t=function(e,t){var n
;return n=(t=t||{}).getShadowRoot?$Ue([e],t.includeContainer,{
filter:jUe.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,
shadowRootFilter:UUe}):CUe(e,t.includeContainer,jUe.bind(null,t)),zUe(n)
}(e,o.tabbableOptions),n=function(e,t){
return(t=t||{}).getShadowRoot?$Ue([e],t.includeContainer,{
filter:BUe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot
}):CUe(e,t.includeContainer,BUe.bind(null,t))
}(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,i=n.find((function(e){
return ZUe(e)})),s=n.slice().reverse().find((function(e){return ZUe(e)
})),l=!!t.find((function(e){return IUe(e)>0}));return{container:e,
tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,
lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:s,
nextTabbableNode:function(e){
var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e)
;return a<0?r?n.slice(n.indexOf(e)+1).find((function(e){return ZUe(e)
})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return ZUe(e)
})):t[a+(r?1:-1)]}}})),i.tabbableGroups=i.containerGroups.filter((function(e){
return e.tabbableNodes.length>0
})),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")
;if(i.containerGroups.find((function(e){return e.posTabIndexesFound
}))&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")
},p=function(e){var t=e.activeElement
;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?p(t.shadowRoot):t
},h=function(e){!1!==e&&e!==p(document)&&(e&&e.focus?(e.focus({
preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=e,function(e){
return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select
}(e)&&e.select()):h(u()))},f=function(e){var t=c("setReturnFocus",{params:[e]})
;return t||!1!==t&&e},m=function(e){
var t=e.target,n=e.event,r=e.isBackward,a=void 0!==r&&r;t=t||rze(n),d()
;var s=null;if(i.tabbableGroups.length>0){
var u=l(t,n),p=u>=0?i.containerGroups[u]:void 0
;if(u<0)s=a?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(a){
var h=i.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode
;return t===n}))
;if(h<0&&(p.container===t||HUe(t,o.tabbableOptions)&&!ZUe(t,o.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(h=u),
h>=0){var f=0===h?i.tabbableGroups.length-1:h-1,m=i.tabbableGroups[f]
;s=IUe(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode
}else KUe(n)||(s=p.nextTabbableNode(t,!1))}else{
var g=i.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode
;return t===n}))
;if(g<0&&(p.container===t||HUe(t,o.tabbableOptions)&&!ZUe(t,o.tabbableOptions)&&!p.nextTabbableNode(t))&&(g=u),
g>=0){var v=g===i.tabbableGroups.length-1?0:g+1,b=i.tabbableGroups[v]
;s=IUe(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode
}else KUe(n)||(s=p.nextTabbableNode(t))}}else s=c("fallbackFocus");return s
},g=function(e){var t=rze(e)
;l(t,e)>=0||(nze(o.clickOutsideDeactivates,e)?n.deactivate({
returnFocus:o.returnFocusOnDeactivate
}):nze(o.allowOutsideClick,e)||e.preventDefault())},v=function(e){
var t=rze(e),n=l(t,e)>=0
;if(n||t instanceof Document)n&&(i.mostRecentlyFocusedNode=t);else{var r
;e.stopImmediatePropagation();var a=!0
;if(i.mostRecentlyFocusedNode)if(IUe(i.mostRecentlyFocusedNode)>0){
var s=l(i.mostRecentlyFocusedNode),c=i.containerGroups[s].tabbableNodes
;if(c.length>0){var d=c.findIndex((function(e){
return e===i.mostRecentlyFocusedNode}))
;d>=0&&(o.isKeyForward(i.recentNavEvent)?d+1<c.length&&(r=c[d+1],
a=!1):d-1>=0&&(r=c[d-1],a=!1))}}else i.containerGroups.some((function(e){
return e.tabbableNodes.some((function(e){return IUe(e)>0}))}))||(a=!1);else a=!1
;a&&(r=m({target:i.mostRecentlyFocusedNode,
isBackward:o.isKeyBackward(i.recentNavEvent)
})),h(r||(i.mostRecentlyFocusedNode||u()))}i.recentNavEvent=void 0
},b=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){
var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e
;var n=m({event:e,isBackward:t});n&&(KUe(e)&&e.preventDefault(),h(n))
}(e,o.isKeyBackward(e))},y=function(e){(function(e){
return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)
})(e)&&!1!==nze(o.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())
},O=function(e){var t=rze(e)
;l(t,e)>=0||nze(o.clickOutsideDeactivates,e)||nze(o.allowOutsideClick,e)||(e.preventDefault(),
e.stopImmediatePropagation())},w=function(){
if(i.active)return GUe(a,n),i.delayInitialFocusTimer=o.delayInitialFocus?tze((function(){
h(u())
})):h(u()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",g,{
capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1
}),r.addEventListener("click",O,{capture:!0,passive:!1
}),r.addEventListener("keydown",b,{capture:!0,passive:!1
}),r.addEventListener("keydown",y),n},x=function(){
if(i.active)return r.removeEventListener("focusin",v,!0),
r.removeEventListener("mousedown",g,!0),
r.removeEventListener("touchstart",g,!0),
r.removeEventListener("click",O,!0),r.removeEventListener("keydown",b,!0),
r.removeEventListener("keydown",y),n
},k="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){
e.some((function(e){return Array.from(e.removedNodes).some((function(e){
return e===i.mostRecentlyFocusedNode}))}))&&h(u())})):void 0,S=function(){
k&&(k.disconnect(),i.active&&!i.paused&&i.containers.map((function(e){
k.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){
return i.active},get paused(){return i.paused},activate:function(e){
if(i.active)return this
;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),a=s(e,"checkCanFocusTrap")
;a||d(),
i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,null==t||t()
;var o=function(){a&&d(),w(),S(),null==n||n()}
;return a?(a(i.containers.concat()).then(o,o),this):(o(),this)},
deactivate:function(e){if(!i.active)return this;var t=WUe({
onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,
checkCanReturnFocus:o.checkCanReturnFocus},e)
;clearTimeout(i.delayInitialFocusTimer),
i.delayInitialFocusTimer=void 0,x(),i.active=!1,i.paused=!1,S(),YUe(a,n)
;var r=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),c=s(t,"checkCanReturnFocus"),u=s(t,"returnFocus","returnFocusOnDeactivate")
;null==r||r();var d=function(){tze((function(){
u&&h(f(i.nodeFocusedBeforeActivation)),null==l||l()}))}
;return u&&c?(c(f(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},
pause:function(e){if(i.paused||!i.active)return this
;var t=s(e,"onPause"),n=s(e,"onPostPause")
;return i.paused=!0,null==t||t(),x(),S(),null==n||n(),this},unpause:function(e){
if(!i.paused||!i.active)return this
;var t=s(e,"onUnpause"),n=s(e,"onPostUnpause")
;return i.paused=!1,null==t||t(),d(),w(),S(),null==n||n(),this},
updateContainerElements:function(e){var t=[].concat(e).filter(Boolean)
;return i.containers=t.map((function(e){
return"string"==typeof e?r.querySelector(e):e})),i.active&&d(),S(),this}
}).updateContainerElements(e),n};const ize={
class:"scalar scalar-app z-overlay relative"},sze={class:"scalar-container"
},lze=["id"],cze=Hg({__name:"ModalClientContainer",props:{modalState:{}},
emits:["open","close"],setup(e,{emit:t}){
const n=e,r=t,a=bm(null),o=Qg(),{activate:i,deactivate:s}=function(e,t={}){let n
;const{immediate:r,...a}=t,o=ym(!1),i=ym(!1),s=e=>n&&n.activate(e),l=e=>n&&n.deactivate(e)
;return mg(Ty((()=>pY(km(e)).map((e=>{const t=km(e)
;return"string"==typeof t?t:vY(t)})).filter(tY))),(e=>{if(e.length)if(n){
const t=null==n?void 0:n.active;null==n||n.updateContainerElements(e),!t&&r&&s()
}else n=oze(e,{...a,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},
onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s()}),{
flush:"post"}),YG((()=>l())),{hasFocus:o,isPaused:i,activate:s,deactivate:l,
pause:()=>{n&&(n.pause(),i.value=!0)},unpause:()=>{n&&(n.unpause(),i.value=!1)}}
}(a,{allowOutsideClick:!0,fallbackFocus:`#${o}`})
;return lv((()=>zoe())),mg((()=>n.modalState.open),(async e=>{e?(await Xm(),i(),
r("open")):(s(),r("close"))}),{immediate:!1}),pv((()=>{s()
})),(t,n)=>(Fb(),Wb(Zy,{name:"scalar-client-fade"},{
default:ig((()=>[sg(Jb("div",ize,[Jb("div",sze,[Jb("div",cy({id:xm(o),
ref_key:"client",ref:a,"aria-label":"API Client","aria-modal":"true"},t.$attrs,{
class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"-1"
}),[ey(xm(ooe),null,{default:ig((()=>[Av(t.$slots,"default",{},void 0,!0)])),_:3
})],16,lze),Jb("div",{class:"scalar-app-exit",
onClick:n[0]||(n[0]=t=>e.modalState.hide())
})])],512),[[nO,e.modalState.open]])])),_:3}))}
}),uze=Hoe(cze,[["__scopeId","data-v-6118685a"]])
;async function dze({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){
const a=n?.(e)??e;return await t(a)?a:pze({value:[a,1],validation:t,
maxRetries:r,transformation:n})}
async function pze({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:a}){
if(r>=n)return;const o=e.join(" "),i=a?.(o)??o;return await t(i)?i:pze({
value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:a,attempts:r+1})}
const hze=(e,t,{id:n,name:r,scopes:a,newScopePayload:o,meta:i})=>{
const s=t?.["x-scalar-navigation"]?.name;if(!s)return
;const l="document"===i.type?e?.auth.getAuthSelectedSchemas({type:"document",
documentName:s}):e?.auth.getAuthSelectedSchemas({type:"operation",
documentName:s,path:i.path,method:i.method});if(!l)return
;const c=l.selectedSchemes.find((e=>JSON.stringify(Object.keys(e))===JSON.stringify(n)))
;if(void 0!==(u=c)&&Object.keys(u).length>0){var u;if(o){
const e=$Se(t.components?.securitySchemes?.[r]),n=e?.flows?.[o?.flowType]
;if(!n)return
;return n.scopes||={},n.scopes[o.name]=o.description,void(c[r]=[...a,o.name])}
c[r]=a}},fze=({document:e,store:t})=>({
updateSelectedSecuritySchemes:n=>(async(e,t,{selectedRequirements:n,newSchemes:r,meta:a})=>{
const o=t?.["x-scalar-navigation"]?.name;if(!o)return
;const i=(await Promise.all(r.map((async e=>{const n=await dze({
defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],
maxRetries:100})
;if(n)return t.components||(t.components={}),t.components.securitySchemes||(t.components.securitySchemes={}),
t.components.securitySchemes[n]=e.scheme,{[n]:[]}
})))).filter(Boolean),s="document"===a.type?e?.auth.getAuthSelectedSchemas({
type:"document",documentName:o}):e?.auth.getAuthSelectedSchemas({
type:"operation",documentName:o,path:a.path,method:a.method
}),l=[...n,...i],c=()=>s?.selectedIndex?s.selectedIndex>=l.length?l.length-1:s.selectedIndex:0
;return"document"===a.type?e?.auth.setAuthSelectedSchemas({type:"document",
documentName:o},{selectedIndex:c(),selectedSchemes:l
}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:o,path:a.path,
method:a.method},{selectedIndex:c(),selectedSchemes:l})})(t,e,n),
updateSecurityScheme:t=>((e,{payload:t,name:n})=>{
const r=$Se(e?.components?.securitySchemes?.[n])
;if(r)return r.type===t.type&&yUe(r,t),r
;console.error(`Security scheme ${n} not found`)})(e,t),
updateSecuritySchemeSecrets:n=>((e,t,{payload:n,name:r})=>{
const a=t?.["x-scalar-navigation"]?.name;if(!a)return
;const o=e?.auth.getAuthSecrets(a,r),i=yUe(TAe(o,{depth:1})??{},n)
;e?.auth.setAuthSecrets(a,r,i)})(t,e,n),
updateSelectedAuthTab:n=>((e,t,{index:n,meta:r})=>{
const a=t?.["x-scalar-navigation"]?.name;if(!a)return
;if("operation"===r.type&&void 0===t?.paths?.[r.path]?.[r.method])return
;const o="document"===r.type?e?.auth.getAuthSelectedSchemas({type:"document",
documentName:a}):e?.auth.getAuthSelectedSchemas({type:"operation",
documentName:a,path:r.path,method:r.method})
;if(!o)return"document"===r.type?e?.auth.setAuthSelectedSchemas({
type:"document",documentName:a},{selectedIndex:n,selectedSchemes:[]
}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:a,path:r.path,
method:r.method},{selectedIndex:n,selectedSchemes:[]});o.selectedIndex=n
})(t,e,n),updateSelectedScopes:n=>hze(t,e,n),
deleteSecurityScheme:n=>((e,t,{names:n})=>{
const r=t?.["x-scalar-navigation"]?.name;if(!r)return
;const a=$Se(t.components?.securitySchemes);if(!a)return;n.forEach((e=>{
delete a[e]}))
;const o=e=>e.filter((e=>!n.some((t=>Object.keys(e).includes(t))))),i=e?.auth.getAuthSelectedSchemas({
type:"document",documentName:r});i&&(i.selectedSchemes=o(TAe(i.selectedSchemes,{
depth:1
})??[])),t.security&&(t.security=o(t.security)),Object.entries(t.paths??{}).forEach((([t,n])=>{
Object.entries(n).forEach((([n,a])=>{if("object"!=typeof a)return;const i=$Se(a)
;"security"in i&&i.security&&(i.security=o(i.security))
;const s=e?.auth.getAuthSelectedSchemas({type:"operation",documentName:r,path:t,
method:n});s&&(s.selectedSchemes=o(TAe(s.selectedSchemes,{depth:1})??[]))}))}))
})(t,e,n)}),mze=xIe.Object({name:xIe.String(),value:xIe.String(),
domain:xIe.Optional(xIe.String()),path:xIe.Optional(xIe.String()),
isDisabled:xIe.Optional(xIe.Boolean())}),gze=xIe.Object({
"x-scalar-cookies":xIe.Optional(xIe.Array(mze))});let vze=function(e){
switch(e.errorType){case zze.ArrayContains:
return"Expected array to contain at least one matching value"
;case zze.ArrayMaxContains:
return`Expected array to contain no more than ${e.schema.maxContains} matching values`
;case zze.ArrayMinContains:
return`Expected array to contain at least ${e.schema.minContains} matching values`
;case zze.ArrayMaxItems:
return`Expected array length to be less or equal to ${e.schema.maxItems}`
;case zze.ArrayMinItems:
return`Expected array length to be greater or equal to ${e.schema.minItems}`
;case zze.ArrayUniqueItems:return"Expected array elements to be unique"
;case zze.Array:return"Expected array";case zze.AsyncIterator:
return"Expected AsyncIterator";case zze.BigIntExclusiveMaximum:
return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`
;case zze.BigIntExclusiveMinimum:
return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`
;case zze.BigIntMaximum:
return`Expected bigint to be less or equal to ${e.schema.maximum}`
;case zze.BigIntMinimum:
return`Expected bigint to be greater or equal to ${e.schema.minimum}`
;case zze.BigIntMultipleOf:
return`Expected bigint to be a multiple of ${e.schema.multipleOf}`
;case zze.BigInt:return"Expected bigint";case zze.Boolean:
return"Expected boolean";case zze.DateExclusiveMinimumTimestamp:
return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`
;case zze.DateExclusiveMaximumTimestamp:
return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`
;case zze.DateMinimumTimestamp:
return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`
;case zze.DateMaximumTimestamp:
return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`
;case zze.DateMultipleOfTimestamp:
return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`
;case zze.Date:return"Expected Date";case zze.Function:return"Expected function"
;case zze.IntegerExclusiveMaximum:
return`Expected integer to be less than ${e.schema.exclusiveMaximum}`
;case zze.IntegerExclusiveMinimum:
return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`
;case zze.IntegerMaximum:
return`Expected integer to be less or equal to ${e.schema.maximum}`
;case zze.IntegerMinimum:
return`Expected integer to be greater or equal to ${e.schema.minimum}`
;case zze.IntegerMultipleOf:
return`Expected integer to be a multiple of ${e.schema.multipleOf}`
;case zze.Integer:return"Expected integer"
;case zze.IntersectUnevaluatedProperties:return"Unexpected property"
;case zze.Intersect:return"Expected all values to match";case zze.Iterator:
return"Expected Iterator";case zze.Literal:
return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`
;case zze.Never:return"Never";case zze.Not:return"Value should not match"
;case zze.Null:return"Expected null";case zze.NumberExclusiveMaximum:
return`Expected number to be less than ${e.schema.exclusiveMaximum}`
;case zze.NumberExclusiveMinimum:
return`Expected number to be greater than ${e.schema.exclusiveMinimum}`
;case zze.NumberMaximum:
return`Expected number to be less or equal to ${e.schema.maximum}`
;case zze.NumberMinimum:
return`Expected number to be greater or equal to ${e.schema.minimum}`
;case zze.NumberMultipleOf:
return`Expected number to be a multiple of ${e.schema.multipleOf}`
;case zze.Number:return"Expected number";case zze.Object:return"Expected object"
;case zze.ObjectAdditionalProperties:return"Unexpected property"
;case zze.ObjectMaxProperties:
return`Expected object to have no more than ${e.schema.maxProperties} properties`
;case zze.ObjectMinProperties:
return`Expected object to have at least ${e.schema.minProperties} properties`
;case zze.ObjectRequiredProperty:return"Expected required property"
;case zze.Promise:return"Expected Promise";case zze.RegExp:
return"Expected string to match regular expression"
;case zze.StringFormatUnknown:return`Unknown format '${e.schema.format}'`
;case zze.StringFormat:
return`Expected string to match '${e.schema.format}' format`
;case zze.StringMaxLength:
return`Expected string length less or equal to ${e.schema.maxLength}`
;case zze.StringMinLength:
return`Expected string length greater or equal to ${e.schema.minLength}`
;case zze.StringPattern:return`Expected string to match '${e.schema.pattern}'`
;case zze.String:return"Expected string";case zze.Symbol:return"Expected symbol"
;case zze.TupleLength:
return`Expected tuple to have ${e.schema.maxItems||0} elements`;case zze.Tuple:
return"Expected tuple";case zze.Uint8ArrayMaxByteLength:
return`Expected byte length less or equal to ${e.schema.maxByteLength}`
;case zze.Uint8ArrayMinByteLength:
return`Expected byte length greater or equal to ${e.schema.minByteLength}`
;case zze.Uint8Array:return"Expected Uint8Array";case zze.Undefined:
return"Expected undefined";case zze.Union:return"Expected union value"
;case zze.Void:return"Expected void";case zze.Kind:
return`Expected kind '${e.schema[ETe]}'`;default:return"Unknown error type"}}
;class bze extends kTe{constructor(e){
super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}
function yze(e,t){return!vTe(e.$id)||t.some((t=>t.$id===e.$id))||t.push(e),t}
function Oze(e,t){return"This"===e[ETe]||"Ref"===e[ETe]?function(e,t){
const n=t.find((t=>t.$id===e.$ref));if(void 0===n)throw new bze(e)
;return Oze(n,t)}(e,t):e}class wze extends kTe{constructor(e){
super("Unable to hash value"),this.value=e}}var xze,kze
;(kze=xze||(xze={}))[kze.Undefined=0]="Undefined",
kze[kze.Null=1]="Null",kze[kze.Boolean=2]="Boolean",
kze[kze.Number=3]="Number",kze[kze.String=4]="String",
kze[kze.Object=5]="Object",
kze[kze.Array=6]="Array",kze[kze.Date=7]="Date",kze[kze.Uint8Array=8]="Uint8Array",
kze[kze.Symbol=9]="Symbol",kze[kze.BigInt=10]="BigInt"
;let Sze=BigInt("14695981039346656037")
;const[_ze,Aze]=[BigInt("1099511628211"),BigInt("18446744073709551616")],Tze=Array.from({
length:256
}).map(((e,t)=>BigInt(t))),Eze=new Float64Array(1),Cze=new DataView(Eze.buffer),$ze=new Uint8Array(Eze.buffer)
;function*Pze(e){const t=0===e?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 Ize(e){
if(uTe(e))return function(e){Dze(xze.Array);for(const t of e)Ize(t)}(e)
;if(hTe(e))return function(e){Dze(xze.Boolean),Dze(e?1:0)}(e)
;if(gTe(e))return function(e){Dze(xze.BigInt),Cze.setBigInt64(0,e)
;for(const t of $ze)Dze(t)}(e);if(iTe(e))return function(e){
Dze(xze.Date),Ize(e.getTime())}(e);if(!pTe(e)){if(fTe(e))return function(e){
Dze(xze.Number),Cze.setFloat64(0,e);for(const t of $ze)Dze(t)}(e)
;if(cTe(e))return function(e){Dze(xze.Object)
;for(const t of globalThis.Object.getOwnPropertyNames(e).sort())Ize(t),Ize(e[t])
}(e);if(vTe(e))return function(e){Dze(xze.String)
;for(let t=0;t<e.length;t++)for(const n of Pze(e.charCodeAt(t)))Dze(n)}(e)
;if(yTe(e))return function(e){Dze(xze.Symbol),Ize(e.description)}(e)
;if(sTe(e))return function(e){Dze(xze.Uint8Array)
;for(let t=0;t<e.length;t++)Dze(e[t])}(e);if(dTe(e))return Dze(xze.Undefined)
;throw new wze(e)}Dze(xze.Null)}function Dze(e){Sze^=Tze[e],Sze=Sze*_ze%Aze}
function Mze(e){return Sze=BigInt("14695981039346656037"),Ize(e),Sze}
class Nze extends kTe{constructor(e){super("Unknown type"),this.schema=e}}
function Rze(e,t,n){const r=e.get(t)
;return(!r||!r.has(n))&&(r?(r.add(n),!0):void e.set(t,new WeakSet([n])))}
function Lze(e){return"Any"===e[ETe]||"Unknown"===e[ETe]}function Bze(e){
return void 0!==e}function jze(e,t,n,r){const a=Bze(e.$id)?yze(e,t):t,o=e
;switch(o[ETe]){case"Any":case"Argument":case"Unknown":return!0;case"Array":
return function(e,t,n,r){if(!uTe(n))return!1
;if(Bze(e.minItems)&&!(n.length>=e.minItems))return!1
;if(Bze(e.maxItems)&&!(n.length<=e.maxItems))return!1
;if(!1===Rze(r,n,e))return!0;if(!n.every((n=>jze(e.items,t,n,r))))return!1
;if(!0===e.uniqueItems&&!function(){const e=new Set;for(const t of n){
const n=Mze(t);if(e.has(n))return!1;e.add(n)}return!0}())return!1
;if(!(Bze(e.contains)||fTe(e.minContains)||fTe(e.maxContains)))return!0
;const a=Bze(e.contains)?e.contains:bCe(),o=n.reduce(((e,n)=>jze(a,t,n,r)?e+1:e),0)
;return!(0===o||fTe(e.minContains)&&o<e.minContains||fTe(e.maxContains)&&o>e.maxContains)
}(o,a,n,r);case"AsyncIterator":return function(e,t,n){return rTe(n)}(0,0,n)
;case"BigInt":return function(e,t,n){
return!(!gTe(n)||Bze(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Bze(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Bze(e.maximum)&&!(n<=e.maximum)||Bze(e.minimum)&&!(n>=e.minimum)||Bze(e.multipleOf)&&n%e.multipleOf!==BigInt(0))
}(o,0,n);case"Boolean":return function(e,t,n){return hTe(n)}(0,0,n)
;case"Constructor":return function(e,t,n,r){
return jze(e.returns,t,n.prototype,r)}(o,a,n,r);case"Date":
return function(e,t,n){
return!(!iTe(n)||Bze(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||Bze(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||Bze(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||Bze(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||Bze(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!=0)
}(o,0,n);case"Function":return function(e,t,n){return bTe(n)}(0,0,n)
;case"Import":return function(e,t,n,r){const a=globalThis.Object.values(e.$defs)
;return jze(e.$defs[e.$ref],[...t,...a],n,r)}(o,a,n,r);case"Integer":
return function(e,t,n){
return!(!mTe(n)||Bze(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Bze(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Bze(e.maximum)&&!(n<=e.maximum)||Bze(e.minimum)&&!(n>=e.minimum)||Bze(e.multipleOf)&&n%e.multipleOf!=0)
}(o,0,n);case"Intersect":return function(e,t,n,r){
const a=e.allOf.every((e=>jze(e,t,n,r)));if(!1===e.unevaluatedProperties){
const t=new RegExp(R$e(e)),r=Object.getOwnPropertyNames(n).every((e=>t.test(e)))
;return a&&r}if(cEe(e.unevaluatedProperties)){
const o=new RegExp(R$e(e)),i=Object.getOwnPropertyNames(n).every((a=>o.test(a)||jze(e.unevaluatedProperties,t,n[a],r)))
;return a&&i}return a}(o,a,n,r);case"Iterator":return function(e,t,n){
return aTe(n)}(0,0,n);case"Literal":return function(e,t,n){return n===e.const
}(o,0,n);case"Never":return!1;case"Not":return function(e,t,n,r){
return!jze(e.not,t,n,r)}(o,a,n,r);case"Null":return function(e,t,n){
return pTe(n)}(0,0,n);case"Number":return function(e,t,n){
return!(!OTe.IsNumberLike(n)||Bze(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Bze(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Bze(e.minimum)&&!(n>=e.minimum)||Bze(e.maximum)&&!(n<=e.maximum)||Bze(e.multipleOf)&&n%e.multipleOf!=0)
}(o,0,n);case"Object":return function(e,t,n,r){if(!OTe.IsObjectLike(n))return!1
;if(Bze(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1
;if(Bze(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1
;if(!1===Rze(r,n,e))return!0;const a=Object.getOwnPropertyNames(e.properties)
;for(const o of a){const a=e.properties[o]
;if(e.required&&e.required.includes(o)){if(!jze(a,t,n[o],r))return!1
;if((IPe(a)||Lze(a))&&!(o in n))return!1
}else if(OTe.IsExactOptionalProperty(n,o)&&!jze(a,t,n[o],r))return!1}
if(!1===e.additionalProperties){const t=Object.getOwnPropertyNames(n)
;return!(!e.required||e.required.length!==a.length||t.length!==a.length)||t.every((e=>a.includes(e)))
}
if("object"==typeof e.additionalProperties)return Object.getOwnPropertyNames(n).every((o=>a.includes(o)||jze(e.additionalProperties,t,n[o],r)))
;return!0}(o,a,n,r);case"Promise":return function(e,t,n){return oTe(n)}(0,0,n)
;case"Record":return function(e,t,n,r){if(!OTe.IsRecordLike(n))return!1
;if(Bze(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties))return!1
;if(Bze(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1
;const[a,o]=Object.entries(e.patternProperties)[0],i=new RegExp(a),s=Object.entries(n).every((([e,n])=>!i.test(e)||jze(o,t,n,r))),l="object"!=typeof e.additionalProperties||Object.entries(n).every((([n,a])=>!!i.test(n)||jze(e.additionalProperties,t,a,r))),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(n).every((e=>i.test(e)))
;return s&&l&&c}(o,a,n,r);case"Ref":case"This":return function(e,t,n,r){
return jze(Oze(e,t),t,n,r)}(o,a,n,r);case"RegExp":return function(e,t,n){
const r=new RegExp(e.source,e.flags)
;return(!Bze(e.minLength)||n.length>=e.minLength)&&(!Bze(e.maxLength)||n.length<=e.maxLength)&&r.test(n)
}(o,0,n);case"String":return function(e,t,n){if(!vTe(n))return!1
;if(Bze(e.minLength)&&!(n.length>=e.minLength))return!1
;if(Bze(e.maxLength)&&!(n.length<=e.maxLength))return!1
;if(Bze(e.pattern)&&!new RegExp(e.pattern).test(n))return!1
;if(Bze(e.format))return!!lCe(e.format)&&cCe(e.format)(n);return!0}(o,0,n)
;case"Symbol":return function(e,t,n){return yTe(n)}(0,0,n)
;case"TemplateLiteral":return function(e,t,n){
return vTe(n)&&new RegExp(e.pattern).test(n)}(o,0,n);case"Tuple":
return function(e,t,n,r){if(!uTe(n))return!1
;if(void 0===e.items&&0!==n.length)return!1;if(n.length!==e.maxItems)return!1
;if(!e.items)return!0
;for(let a=0;a<e.items.length;a++)if(!jze(e.items[a],t,n[a],r))return!1;return!0
}(o,a,n,r);case"Undefined":return function(e,t,n){return dTe(n)}(0,0,n)
;case"Union":return function(e,t,n,r){return e.anyOf.some((e=>jze(e,t,n,r)))
}(o,a,n,r);case"Uint8Array":return function(e,t,n){
return!!sTe(n)&&(!Bze(e.maxByteLength)||n.length<=e.maxByteLength)&&(!Bze(e.minByteLength)||n.length>=e.minByteLength)
}(o,0,n);case"Void":return function(e,t,n){return OTe.IsVoidLike(n)}(0,0,n)
;default:if(!dCe(o[ETe]))throw new Nze(o);return function(e,t,n){
return!!dCe(e[ETe])&&pCe(e[ETe])(e,n)}(o,0,n)}}function Uze(...e){
return 2===e.length||3===e.length&&e[2]instanceof WeakMap?jze(e[0],[],e[1],e[2]??new WeakMap):jze(e[0],e[1],e[2],e[3]??new WeakMap)
}var zze,Zze
;(Zze=zze||(zze={}))[Zze.ArrayContains=0]="ArrayContains",Zze[Zze.ArrayMaxContains=1]="ArrayMaxContains",
Zze[Zze.ArrayMaxItems=2]="ArrayMaxItems",
Zze[Zze.ArrayMinContains=3]="ArrayMinContains",
Zze[Zze.ArrayMinItems=4]="ArrayMinItems",
Zze[Zze.ArrayUniqueItems=5]="ArrayUniqueItems",
Zze[Zze.Array=6]="Array",Zze[Zze.AsyncIterator=7]="AsyncIterator",
Zze[Zze.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",
Zze[Zze.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",
Zze[Zze.BigIntMaximum=10]="BigIntMaximum",
Zze[Zze.BigIntMinimum=11]="BigIntMinimum",
Zze[Zze.BigIntMultipleOf=12]="BigIntMultipleOf",
Zze[Zze.BigInt=13]="BigInt",Zze[Zze.Boolean=14]="Boolean",
Zze[Zze.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",
Zze[Zze.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",
Zze[Zze.DateMaximumTimestamp=17]="DateMaximumTimestamp",
Zze[Zze.DateMinimumTimestamp=18]="DateMinimumTimestamp",
Zze[Zze.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",
Zze[Zze.Date=20]="Date",
Zze[Zze.Function=21]="Function",Zze[Zze.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",
Zze[Zze.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",
Zze[Zze.IntegerMaximum=24]="IntegerMaximum",
Zze[Zze.IntegerMinimum=25]="IntegerMinimum",
Zze[Zze.IntegerMultipleOf=26]="IntegerMultipleOf",Zze[Zze.Integer=27]="Integer",
Zze[Zze.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",
Zze[Zze.Intersect=29]="Intersect",
Zze[Zze.Iterator=30]="Iterator",Zze[Zze.Kind=31]="Kind",
Zze[Zze.Literal=32]="Literal",
Zze[Zze.Never=33]="Never",Zze[Zze.Not=34]="Not",Zze[Zze.Null=35]="Null",
Zze[Zze.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",
Zze[Zze.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",
Zze[Zze.NumberMaximum=38]="NumberMaximum",
Zze[Zze.NumberMinimum=39]="NumberMinimum",
Zze[Zze.NumberMultipleOf=40]="NumberMultipleOf",
Zze[Zze.Number=41]="Number",Zze[Zze.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",
Zze[Zze.ObjectMaxProperties=43]="ObjectMaxProperties",
Zze[Zze.ObjectMinProperties=44]="ObjectMinProperties",
Zze[Zze.ObjectRequiredProperty=45]="ObjectRequiredProperty",
Zze[Zze.Object=46]="Object",
Zze[Zze.Promise=47]="Promise",Zze[Zze.RegExp=48]="RegExp",
Zze[Zze.StringFormatUnknown=49]="StringFormatUnknown",
Zze[Zze.StringFormat=50]="StringFormat",
Zze[Zze.StringMaxLength=51]="StringMaxLength",
Zze[Zze.StringMinLength=52]="StringMinLength",
Zze[Zze.StringPattern=53]="StringPattern",
Zze[Zze.String=54]="String",Zze[Zze.Symbol=55]="Symbol",
Zze[Zze.TupleLength=56]="TupleLength",
Zze[Zze.Tuple=57]="Tuple",Zze[Zze.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",
Zze[Zze.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",
Zze[Zze.Uint8Array=60]="Uint8Array",
Zze[Zze.Undefined=61]="Undefined",Zze[Zze.Union=62]="Union",
Zze[Zze.Void=63]="Void";class Fze extends kTe{constructor(e){
super("Unknown type"),this.schema=e}}function Hze(e){
return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Qze(e){
return void 0!==e}class Vze{constructor(e){this.iterator=e}[Symbol.iterator](){
return this.iterator}First(){const e=this.iterator.next()
;return e.done?void 0:e.value}}function qze(e,t,n,r,a=[]){return{type:e,
schema:t,path:n,value:r,message:vze({errorType:e,path:n,schema:t,value:r,
errors:a}),errors:a}}function*Wze(e,t,n,r){const a=Qze(e.$id)?[...t,e]:t,o=e
;switch(o[ETe]){case"Any":case"Argument":case"Unknown":
return yield*function*(e,t,n,r){}();case"Array":return yield*function*(e,t,n,r){
if(!uTe(r))return yield qze(zze.Array,e,n,r)
;!Qze(e.minItems)||r.length>=e.minItems||(yield qze(zze.ArrayMinItems,e,n,r)),
!Qze(e.maxItems)||r.length<=e.maxItems||(yield qze(zze.ArrayMaxItems,e,n,r))
;for(let i=0;i<r.length;i++)yield*Wze(e.items,t,`${n}/${i}`,r[i])
;if(!0!==e.uniqueItems||function(){const e=new Set;for(const t of r){
const n=Mze(t);if(e.has(n))return!1;e.add(n)}return!0
}()||(yield qze(zze.ArrayUniqueItems,e,n,r)),
!(Qze(e.contains)||Qze(e.minContains)||Qze(e.maxContains)))return
;const a=Qze(e.contains)?e.contains:bCe(),o=r.reduce(((e,r,o)=>!0===Wze(a,t,`${n}${o}`,r).next().done?e+1:e),0)
;0===o&&(yield qze(zze.ArrayContains,e,n,r)),
fTe(e.minContains)&&o<e.minContains&&(yield qze(zze.ArrayMinContains,e,n,r)),
fTe(e.maxContains)&&o>e.maxContains&&(yield qze(zze.ArrayMaxContains,e,n,r))
}(o,a,n,r);case"AsyncIterator":return yield*function*(e,t,n,r){
rTe(r)||(yield qze(zze.AsyncIterator,e,n,r))}(o,0,n,r);case"BigInt":
return yield*function*(e,t,n,r){if(!gTe(r))return yield qze(zze.BigInt,e,n,r)
;!Qze(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield qze(zze.BigIntExclusiveMaximum,e,n,r)),
!Qze(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield qze(zze.BigIntExclusiveMinimum,e,n,r)),
!Qze(e.maximum)||r<=e.maximum||(yield qze(zze.BigIntMaximum,e,n,r)),
!Qze(e.minimum)||r>=e.minimum||(yield qze(zze.BigIntMinimum,e,n,r)),
Qze(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield qze(zze.BigIntMultipleOf,e,n,r))
}(o,0,n,r);case"Boolean":return yield*function*(e,t,n,r){
hTe(r)||(yield qze(zze.Boolean,e,n,r))}(o,0,n,r);case"Constructor":
return yield*function*(e,t,n,r){yield*Wze(e.returns,t,n,r.prototype)}(o,a,n,r)
;case"Date":return yield*function*(e,t,n,r){
if(!iTe(r))return yield qze(zze.Date,e,n,r)
;!Qze(e.exclusiveMaximumTimestamp)||r.getTime()<e.exclusiveMaximumTimestamp||(yield qze(zze.DateExclusiveMaximumTimestamp,e,n,r)),
!Qze(e.exclusiveMinimumTimestamp)||r.getTime()>e.exclusiveMinimumTimestamp||(yield qze(zze.DateExclusiveMinimumTimestamp,e,n,r)),
!Qze(e.maximumTimestamp)||r.getTime()<=e.maximumTimestamp||(yield qze(zze.DateMaximumTimestamp,e,n,r)),
!Qze(e.minimumTimestamp)||r.getTime()>=e.minimumTimestamp||(yield qze(zze.DateMinimumTimestamp,e,n,r)),
Qze(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!=0&&(yield qze(zze.DateMultipleOfTimestamp,e,n,r))
}(o,0,n,r);case"Function":return yield*function*(e,t,n,r){
bTe(r)||(yield qze(zze.Function,e,n,r))}(o,0,n,r);case"Import":
return yield*function*(e,t,n,r){
const a=globalThis.Object.values(e.$defs),o=e.$defs[e.$ref]
;yield*Wze(o,[...t,...a],n,r)}(o,a,n,r);case"Integer":
return yield*function*(e,t,n,r){if(!mTe(r))return yield qze(zze.Integer,e,n,r)
;!Qze(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield qze(zze.IntegerExclusiveMaximum,e,n,r)),
!Qze(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield qze(zze.IntegerExclusiveMinimum,e,n,r)),
!Qze(e.maximum)||r<=e.maximum||(yield qze(zze.IntegerMaximum,e,n,r)),
!Qze(e.minimum)||r>=e.minimum||(yield qze(zze.IntegerMinimum,e,n,r)),
Qze(e.multipleOf)&&r%e.multipleOf!=0&&(yield qze(zze.IntegerMultipleOf,e,n,r))
}(o,0,n,r);case"Intersect":return yield*function*(e,t,n,r){let a=!1
;for(const o of e.allOf)for(const e of Wze(o,t,n,r))a=!0,yield e
;if(a)return yield qze(zze.Intersect,e,n,r);if(!1===e.unevaluatedProperties){
const t=new RegExp(R$e(e))
;for(const a of Object.getOwnPropertyNames(r))t.test(a)||(yield qze(zze.IntersectUnevaluatedProperties,e,`${n}/${a}`,r))
}if("object"==typeof e.unevaluatedProperties){const a=new RegExp(R$e(e))
;for(const o of Object.getOwnPropertyNames(r))if(!a.test(o)){
const a=Wze(e.unevaluatedProperties,t,`${n}/${o}`,r[o]).next()
;a.done||(yield a.value)}}}(o,a,n,r);case"Iterator":
return yield*function*(e,t,n,r){aTe(r)||(yield qze(zze.Iterator,e,n,r))
}(o,0,n,r);case"Literal":return yield*function*(e,t,n,r){
r!==e.const&&(yield qze(zze.Literal,e,n,r))}(o,0,n,r);case"Never":
return yield*function*(e,t,n,r){yield qze(zze.Never,e,n,r)}(o,0,n,r);case"Not":
return yield*function*(e,t,n,r){
!0===Wze(e.not,t,n,r).next().done&&(yield qze(zze.Not,e,n,r))}(o,a,n,r)
;case"Null":return yield*function*(e,t,n,r){pTe(r)||(yield qze(zze.Null,e,n,r))
}(o,0,n,r);case"Number":return yield*function*(e,t,n,r){
if(!OTe.IsNumberLike(r))return yield qze(zze.Number,e,n,r)
;!Qze(e.exclusiveMaximum)||r<e.exclusiveMaximum||(yield qze(zze.NumberExclusiveMaximum,e,n,r)),
!Qze(e.exclusiveMinimum)||r>e.exclusiveMinimum||(yield qze(zze.NumberExclusiveMinimum,e,n,r)),
!Qze(e.maximum)||r<=e.maximum||(yield qze(zze.NumberMaximum,e,n,r)),
!Qze(e.minimum)||r>=e.minimum||(yield qze(zze.NumberMinimum,e,n,r)),
Qze(e.multipleOf)&&r%e.multipleOf!=0&&(yield qze(zze.NumberMultipleOf,e,n,r))
}(o,0,n,r);case"Object":return yield*function*(e,t,n,r){
if(!OTe.IsObjectLike(r))return yield qze(zze.Object,e,n,r)
;!Qze(e.minProperties)||Object.getOwnPropertyNames(r).length>=e.minProperties||(yield qze(zze.ObjectMinProperties,e,n,r)),
!Qze(e.maxProperties)||Object.getOwnPropertyNames(r).length<=e.maxProperties||(yield qze(zze.ObjectMaxProperties,e,n,r))
;const a=Array.isArray(e.required)?e.required:[],o=Object.getOwnPropertyNames(e.properties),i=Object.getOwnPropertyNames(r)
;for(const s of a)i.includes(s)||(yield qze(zze.ObjectRequiredProperty,e.properties[s],`${n}/${Hze(s)}`,void 0))
;if(!1===e.additionalProperties)for(const s of i)o.includes(s)||(yield qze(zze.ObjectAdditionalProperties,e,`${n}/${Hze(s)}`,r[s]))
;if("object"==typeof e.additionalProperties)for(const s of i)o.includes(s)||(yield*Wze(e.additionalProperties,t,`${n}/${Hze(s)}`,r[s]))
;for(const s of o){const a=e.properties[s]
;e.required&&e.required.includes(s)?(yield*Wze(a,t,`${n}/${Hze(s)}`,r[s]),
IPe(e)&&!(s in r)&&(yield qze(zze.ObjectRequiredProperty,a,`${n}/${Hze(s)}`,void 0))):OTe.IsExactOptionalProperty(r,s)&&(yield*Wze(a,t,`${n}/${Hze(s)}`,r[s]))
}}(o,a,n,r);case"Promise":return yield*function*(e,t,n,r){
oTe(r)||(yield qze(zze.Promise,e,n,r))}(o,0,n,r);case"Record":
return yield*function*(e,t,n,r){
if(!OTe.IsRecordLike(r))return yield qze(zze.Object,e,n,r)
;!Qze(e.minProperties)||Object.getOwnPropertyNames(r).length>=e.minProperties||(yield qze(zze.ObjectMinProperties,e,n,r)),
!Qze(e.maxProperties)||Object.getOwnPropertyNames(r).length<=e.maxProperties||(yield qze(zze.ObjectMaxProperties,e,n,r))
;const[a,o]=Object.entries(e.patternProperties)[0],i=new RegExp(a)
;for(const[s,l]of Object.entries(r))i.test(s)&&(yield*Wze(o,t,`${n}/${Hze(s)}`,l))
;if("object"==typeof e.additionalProperties)for(const[s,l]of Object.entries(r))i.test(s)||(yield*Wze(e.additionalProperties,t,`${n}/${Hze(s)}`,l))
;if(!1===e.additionalProperties)for(const[s,l]of Object.entries(r))if(!i.test(s))return yield qze(zze.ObjectAdditionalProperties,e,`${n}/${Hze(s)}`,l)
}(o,a,n,r);case"Ref":case"This":return yield*function*(e,t,n,r){
yield*Wze(Oze(e,t),t,n,r)}(o,a,n,r);case"RegExp":
return yield*function*(e,t,n,r){
return vTe(r)?(!Qze(e.minLength)||r.length>=e.minLength||(yield qze(zze.StringMinLength,e,n,r)),
!Qze(e.maxLength)||r.length<=e.maxLength||(yield qze(zze.StringMaxLength,e,n,r)),
new RegExp(e.source,e.flags).test(r)?void 0:yield qze(zze.RegExp,e,n,r)):yield qze(zze.String,e,n,r)
}(o,0,n,r);case"String":return yield*function*(e,t,n,r){
if(!vTe(r))return yield qze(zze.String,e,n,r)
;!Qze(e.minLength)||r.length>=e.minLength||(yield qze(zze.StringMinLength,e,n,r)),
!Qze(e.maxLength)||r.length<=e.maxLength||(yield qze(zze.StringMaxLength,e,n,r)),
vTe(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield qze(zze.StringPattern,e,n,r)))
;vTe(e.format)&&(lCe(e.format)?cCe(e.format)(r)||(yield qze(zze.StringFormat,e,n,r)):yield qze(zze.StringFormatUnknown,e,n,r))
}(o,0,n,r);case"Symbol":return yield*function*(e,t,n,r){
yTe(r)||(yield qze(zze.Symbol,e,n,r))}(o,0,n,r);case"TemplateLiteral":
return yield*function*(e,t,n,r){if(!vTe(r))return yield qze(zze.String,e,n,r)
;new RegExp(e.pattern).test(r)||(yield qze(zze.StringPattern,e,n,r))}(o,0,n,r)
;case"Tuple":return yield*function*(e,t,n,r){
if(!uTe(r))return yield qze(zze.Tuple,e,n,r)
;if(void 0===e.items&&0!==r.length)return yield qze(zze.TupleLength,e,n,r)
;if(r.length!==e.maxItems)return yield qze(zze.TupleLength,e,n,r)
;if(e.items)for(let a=0;a<e.items.length;a++)yield*Wze(e.items[a],t,`${n}/${a}`,r[a])
}(o,a,n,r);case"Undefined":return yield*function*(e,t,n,r){
dTe(r)||(yield qze(zze.Undefined,e,n,r))}(o,0,n,r);case"Union":
return yield*function*(e,t,n,r){if(Uze(e,t,r))return
;const a=e.anyOf.map((e=>new Vze(Wze(e,t,n,r))));yield qze(zze.Union,e,n,r,a)
}(o,a,n,r);case"Uint8Array":return yield*function*(e,t,n,r){
if(!sTe(r))return yield qze(zze.Uint8Array,e,n,r)
;!Qze(e.maxByteLength)||r.length<=e.maxByteLength||(yield qze(zze.Uint8ArrayMaxByteLength,e,n,r)),
!Qze(e.minByteLength)||r.length>=e.minByteLength||(yield qze(zze.Uint8ArrayMinByteLength,e,n,r))
}(o,0,n,r);case"Void":return yield*function*(e,t,n,r){
OTe.IsVoidLike(r)||(yield qze(zze.Void,e,n,r))}(o,0,n,r);default:
if(!dCe(o[ETe]))throw new Fze(e);return yield*function*(e,t,n,r){
pCe(e[ETe])(e,r)||(yield qze(zze.Kind,e,n,r))}(o,0,n,r)}}
function Xze(e,t=new WeakMap){if(uTe(e))return function(e,t){
if(t.has(e))return t.get(e);const n=[];t.set(e,n)
;for(let r=0;r<e.length;r++)n.push(Xze(e[r],t));return n}(e,t)
;if(iTe(e))return function(e){return new Date(e.toISOString())}(e)
;if(function(e){return globalThis.ArrayBuffer.isView(e)}(e))return function(e){
return e.slice()}(e);if(function(e){return e instanceof globalThis.Map
}(e))return function(e){return new Map(Xze([...e.entries()]))}(e)
;if(function(e){return e instanceof globalThis.Set}(e))return function(e){
return new Set(Xze([...e.entries()]))}(e);if(cTe(e))return function(e,t){
if(t.has(e))return t.get(e);const n={};t.set(e,n)
;for(const r of Object.getOwnPropertyNames(e))n[r]=Xze(e[r],t)
;for(const r of Object.getOwnPropertySymbols(e))n[r]=Xze(e[r],t);return n}(e,t)
;if(function(e){return gTe(e)||hTe(e)||pTe(e)||fTe(e)||vTe(e)||yTe(e)||dTe(e)
}(e))return e;throw new Error("ValueClone: Unable to clone value")}
class Gze extends kTe{constructor(e,t){super(t),this.schema=e}}function Yze(e){
return bTe(e)?e():Xze(e)}function Kze(e,t){const n=yze(e,t),r=e;switch(r[ETe]){
case"Any":case"Record":case"Unknown":return function(e,t){
return lTe(e,"default")?Yze(e.default):{}}(r);case"Argument":return{}
;case"Array":return function(e,t){if(!0!==e.uniqueItems||lTe(e,"default")){
if("contains"in e&&!lTe(e,"default"))throw new Gze(e,"Array with the contains constraint requires a default value")
;return"default"in e?Yze(e.default):void 0!==e.minItems?Array.from({
length:e.minItems}).map((n=>Kze(e.items,t))):[]}
throw new Gze(e,"Array with the uniqueItems constraint requires a default value")
}(r,n);case"AsyncIterator":return function(e,t){
return lTe(e,"default")?Yze(e.default):async function*(){}()}(r);case"BigInt":
return function(e,t){return lTe(e,"default")?Yze(e.default):BigInt(0)}(r)
;case"Boolean":return function(e,t){return!!lTe(e,"default")&&Yze(e.default)}(r)
;case"Constructor":return function(e,t){
if(lTe(e,"default"))return Yze(e.default);{const n=Kze(e.returns,t)
;return"object"!=typeof n||Array.isArray(n)?class{}:class{constructor(){
for(const[e,t]of Object.entries(n))this[e]=t}}}}(r,n);case"Date":
return function(e,t){
return lTe(e,"default")?Yze(e.default):void 0!==e.minimumTimestamp?new Date(e.minimumTimestamp):new Date
}(r);case"Function":return function(e,t){
return lTe(e,"default")?Yze(e.default):()=>Kze(e.returns,t)}(r,n);case"Import":
return function(e,t){const n=globalThis.Object.values(e.$defs)
;return Kze(e.$defs[e.$ref],[...t,...n])}(r,n);case"Integer":case"Number":
return function(e,t){
return lTe(e,"default")?Yze(e.default):void 0!==e.minimum?e.minimum:0}(r)
;case"Intersect":return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;{const n=e.allOf.reduce(((e,n)=>{const r=Kze(n,t);return"object"==typeof r?{
...e,...r}:r}),{})
;if(!Uze(e,t,n))throw new Gze(e,"Intersect produced invalid value. Consider using a default value.")
;return n}}(r,n);case"Iterator":return function(e,t){
return lTe(e,"default")?Yze(e.default):function*(){}()}(r);case"Literal":
return function(e,t){return lTe(e,"default")?Yze(e.default):e.const}(r)
;case"Never":return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;throw new Gze(e,"Never types cannot be created. Consider using a default value.")
}(r);case"Not":return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;throw new Gze(e,"Not types must have a default value")}(r);case"Null":
return function(e,t){return lTe(e,"default")?Yze(e.default):null}(r)
;case"Object":return function(e,t){if(lTe(e,"default"))return Yze(e.default);{
const n=new Set(e.required),r={}
;for(const[a,o]of Object.entries(e.properties))n.has(a)&&(r[a]=Kze(o,t))
;return r}}(r,n);case"Promise":return function(e,t){
return lTe(e,"default")?Yze(e.default):Promise.resolve(Kze(e.item,t))}(r,n)
;case"Ref":return function(e,t){
return lTe(e,"default")?Yze(e.default):Kze(Oze(e,t),t)}(r,n);case"RegExp":
return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;throw new Gze(e,"RegExp types cannot be created. Consider using a default value.")
}(r);case"String":return function(e,t){if(void 0!==e.pattern){
if(lTe(e,"default"))return Yze(e.default)
;throw new Gze(e,"String types with patterns must specify a default value")}
if(void 0!==e.format){if(lTe(e,"default"))return Yze(e.default)
;throw new Gze(e,"String types with formats must specify a default value")}
return lTe(e,"default")?Yze(e.default):void 0!==e.minLength?Array.from({
length:e.minLength}).map((()=>" ")).join(""):""}(r);case"Symbol":
return function(e,t){
return lTe(e,"default")?Yze(e.default):"value"in e?Symbol.for(e.value):Symbol()
}(r);case"TemplateLiteral":return function(e,t){
if(lTe(e,"default"))return Yze(e.default)
;if(!LCe(e))throw new Gze(e,"Can only create template literals that produce a finite variants. Consider using a default value.")
;return ZCe(e)[0]}(r);case"This":return function(e,t){
if(eZe++>Jze)throw new Gze(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.")
;return lTe(e,"default")?Yze(e.default):Kze(Oze(e,t),t)}(r,n);case"Tuple":
return function(e,t){
return lTe(e,"default")?Yze(e.default):void 0===e.items?[]:Array.from({
length:e.minItems}).map(((n,r)=>Kze(e.items[r],t)))}(r,n);case"Undefined":
case"Void":return function(e,t){return lTe(e,"default")?Yze(e.default):void 0
}(r);case"Union":return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;if(0===e.anyOf.length)throw new Error("ValueCreate.Union: Cannot create Union with zero variants")
;return Kze(e.anyOf[0],t)}(r,n);case"Uint8Array":return function(e,t){
return lTe(e,"default")?Yze(e.default):void 0!==e.minByteLength?new Uint8Array(e.minByteLength):new Uint8Array(0)
}(r);default:if(!dCe(r[ETe]))throw new Gze(r,"Unknown type")
;return function(e,t){if(lTe(e,"default"))return Yze(e.default)
;throw new Error("User defined types must specify a default value")}(r)}}
const Jze=512;let eZe=0;function tZe(...e){
return eZe=0,2===e.length?Kze(e[0],e[1]):Kze(e[0],[])}class nZe extends kTe{
constructor(e,t){super(t),this.schema=e}}function rZe(e,t,n){
if("Object"!==e[ETe]||"object"!=typeof n||pTe(n)){if("Union"===e[ETe]){
const r=e.anyOf.map((e=>Oze(e,t))).map((e=>rZe(e,t,n)));return Math.max(...r)}
return Uze(e,t,n)?1:0}{const r=e,a=Object.getOwnPropertyNames(n)
;return Object.entries(r.properties).reduce(((e,[r,o])=>e+(("Literal"===o[ETe]&&o.const===n[r]?100:0)+(Uze(o,t,n[r])?10:0)+(a.includes(r)?1:0))),0)
}}function aZe(e,t,n,r){
if("default"in e)return"function"==typeof n?e.default:Xze(e.default);{
const a=function(e,t,n){const r=e.anyOf.map((e=>Oze(e,t)));let[a,o]=[r[0],0]
;for(const i of r){const e=rZe(i,t,n);e>o&&(a=i,o=e)}return a}(e,t,n)
;return lZe(a,t,n,r)}}function oZe(e,t){
return cTe(e)&&!cTe(t)||!cTe(e)&&cTe(t)?e:cTe(e)&&cTe(t)?globalThis.Object.getOwnPropertyNames(e).reduce(((n,r)=>{
const a=r in t?oZe(e[r],t[r]):e[r];return{...n,[r]:a}}),{}):t}
function iZe(e,t,n){if(Uze(e,t,n))return n;const r=tZe(e,t),a=oZe(r,n)
;return Uze(e,t,a)?a:r}function sZe(e,t,n,r){const a=vTe(e.$id)?yze(e,t):t,o=e
;switch(e[ETe]){case"Array":return function(e,t,n,r){if(Uze(e,t,n))return Xze(n)
;const a=uTe(n)?n:tZe(e,t),o=fTe(e.minItems)&&a.length<e.minItems?[...a,...Array.from({
length:e.minItems-a.length
},(()=>null))]:a,i=(fTe(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map((n=>sZe(e.items,t,n,r)))
;if(!0!==e.uniqueItems)return i;const s=[...new Set(i)]
;if(!Uze(e,t,s))throw new nZe(e,"Array cast produced invalid data due to uniqueItems constraint")
;return s}(o,a,n,r);case"Constructor":return function(e,t,n,r){
if(Uze(e,t,n))return tZe(e,t)
;const a=new Set(e.returns.required||[]),o=function(){}
;for(const[i,s]of Object.entries(e.returns.properties))(a.has(i)||void 0!==n.prototype[i])&&(o.prototype[i]=sZe(s,t,n.prototype[i],r))
;return o}(o,a,n,r);case"Import":return function(e,t,n,r){
const a=globalThis.Object.values(e.$defs)
;return sZe(e.$defs[e.$ref],[...t,...a],n,r)}(o,a,n,r);case"Intersect":
return iZe(o,a,n);case"Never":return function(e,t,n){
throw new nZe(e,"Never types cannot be cast")}(o);case"Object":
return function(e,t,n,r){if(r.has(n))return r.get(n);if(Uze(e,t,n))return n
;if(null===n||"object"!=typeof n)return tZe(e,t)
;const a=new Set(e.required||[]),o={};r.set(n,o)
;for(const[i,s]of Object.entries(e.properties))(a.has(i)||void 0!==n[i])&&(o[i]=sZe(s,t,n[i],r))
;if("object"==typeof e.additionalProperties){
const a=Object.getOwnPropertyNames(e.properties)
;for(const i of Object.getOwnPropertyNames(n))a.includes(i)||(o[i]=sZe(e.additionalProperties,t,n[i],r))
}return o}(o,a,n,r);case"Record":return function(e,t,n,r){
if(Uze(e,t,n))return Xze(n)
;if(null===n||"object"!=typeof n||Array.isArray(n)||n instanceof Date)return tZe(e,t)
;const a=Object.getOwnPropertyNames(e.patternProperties)[0],o=e.patternProperties[a],i={}
;for(const[s,l]of Object.entries(n))i[s]=sZe(o,t,l,r);return i}(o,a,n,r)
;case"Ref":case"This":return function(e,t,n,r){return sZe(Oze(e,t),t,n,r)
}(o,a,n,r);case"Tuple":return function(e,t,n,r){
return Uze(e,t,n)?Xze(n):uTe(n)?void 0===e.items?[]:e.items.map(((e,a)=>sZe(e,t,n[a],r))):tZe(e,t)
}(o,a,n,r);case"Union":return function(e,t,n,r){
return Uze(e,t,n)?Xze(n):aZe(e,t,n,r)}(o,a,n,r);case"Date":case"Symbol":
case"Uint8Array":return function(e,t,n){return Uze(e,t,n)?Xze(n):tZe(e,t)
}(e,t,n);default:return function(e,t,n){return Uze(e,t,n)?n:tZe(e,t)}(o,a,n)}}
function lZe(...e){
return 2===e.length||3===e.length&&e[2]instanceof WeakMap?sZe(e[0],[],e[1],e[2]??new WeakMap):sZe(e[0],e[1],e[2],e[3]??new WeakMap)
}const cZe=(e,t)=>lZe(e,t),uZe=({collection:e})=>({
upsertCookie:t=>((e,{payload:t,index:n})=>{if(!e)return
;if(e["x-scalar-cookies"]||(e["x-scalar-cookies"]=[]),void 0!==n){
if(n<0||n>=e["x-scalar-cookies"].length)return;const r=cZe(mze,{
...e["x-scalar-cookies"][n],...t});return e["x-scalar-cookies"][n]=r,r}
const r=cZe(mze,t);return e["x-scalar-cookies"].push(r),r})(e,t),
deleteCookie:t=>((e,{index:t})=>!(!e||!e["x-scalar-cookies"]||t<0||t>=e["x-scalar-cookies"].length||(e["x-scalar-cookies"].splice(t,1),
0)))(e,t)}),dZe=({document:e,store:t})=>({toggleSecurity:()=>(e=>{
e&&(e["x-scalar-set-operation-security"]=!e["x-scalar-set-operation-security"])
})(e),updateDocumentInfo:t=>((e,t)=>{
e&&(yUe(e.info,t),t.title&&e["x-scalar-navigation"]&&(e["x-scalar-navigation"].title=t.title))
})(e,t),updateWatchMode:t=>((e,t)=>{e&&(e["x-scalar-watch-mode"]=t)})(e,t),
updateDocumentIcon:t=>((e,t)=>{
e&&e["x-scalar-navigation"]&&(e["x-scalar-icon"]=t,
e["x-scalar-navigation"].icon=t)})(e,t),createEmptyDocument:e=>(async(e,t)=>{
e&&(e.workspace.documents[t.name]?t.callback?.(!1):(await e.addDocument({
name:t.name,document:{openapi:"3.1.0",info:{title:t.name,version:"1.0.0"},
paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)))})(t,e),
deleteDocument:e=>((e,t)=>{e&&e.deleteDocument(t.name)})(t,e)}),pZe=xIe.Object({
name:xIe.String(),value:xIe.Union([xIe.Object({
description:xIe.Optional(xIe.String()),default:xIe.String({default:""})
}),xIe.String()])}),hZe=xIe.Object({description:xIe.Optional(xIe.String()),
color:xIe.String({default:"#FFFFFF"}),variables:xIe.Array(pZe)
}),fZe=xIe.Object({
"x-scalar-environments":xIe.Optional(xIe.Record(xIe.String(),hZe))
}),mZe=({workspace:e,collection:t})=>({
upsertEnvironment:n=>((e,t,{environmentName:n,payload:r,oldEnvironmentName:a})=>{
if(!t||!e)return;t["x-scalar-environments"]||(t["x-scalar-environments"]={})
;const o=!t["x-scalar-environments"][a??n],i=cZe(hZe,{
...TAe(t["x-scalar-environments"][a??n],{depth:1}),...r})
;return t["x-scalar-environments"][n]=i,
a&&a!==n&&(delete t["x-scalar-environments"][a],
e["x-scalar-active-environment"]===a&&(e["x-scalar-active-environment"]=n)),
o&&(e["x-scalar-active-environment"]=n),i})(e,t,n),
deleteEnvironment:n=>((e,t,{environmentName:n})=>{
t&&e&&delete t["x-scalar-environments"]?.[n]})(e,t,n),
upsertEnvironmentVariable:e=>((e,{environmentName:t,variable:n,index:r})=>{
if(!e?.["x-scalar-environments"]?.[t])return void console.error("Environment not found",t)
;const a=cZe(pZe,n);if(void 0!==r){
if(""===a.name)return void e["x-scalar-environments"][t].variables.splice(r,1)
;e["x-scalar-environments"][t].variables[r]=a
}else e["x-scalar-environments"][t].variables.push(a);return a})(t,e),
deleteEnvironmentVariable:e=>((e,{environmentName:t,index:n})=>{
e?.["x-scalar-environments"]?.[t]?e["x-scalar-environments"]?.[t]?.variables?.splice(n,1):console.error("Environment not found",t)
})(t,e)}),gZe=(e,t)=>{if(!e)return null;const n=e.workspace.documents[t]
;return n||null},vZe=(e,t,n)=>{const r=$Se(e?.paths?.[n.path]?.[n.method])
;if(!r)return null;let a=$Se(r.requestBody);a||(r.requestBody={content:{}
},a=$Se(r.requestBody)),
a.content[t]||={},a.content[t].examples||={},a.content[t].examples[n.exampleKey]||={}
;return $Se(a.content[t].examples?.[n.exampleKey])??null
},bZe=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),yZe=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),OZe=e=>"type"in e&&("number"===e.type||"integer"===e.type||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),wZe=e=>"content"in e&&void 0!==e.content,xZe=async e=>{
const t=await async function(e){if("function"!=typeof e.formData)return null
;if(e.bodyUsed)return null;const 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}}(e.clone())
;if(t)return Array.from(t.entries()).reduce(((e,[t,n])=>{if(n instanceof File){
const 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};const n=await e.arrayBuffer();return{size:n.byteLength,
text:(new TextDecoder).decode(n)}}
;const kZe=e=>Array.from(e.headers.entries()).reduce(((e,[t,n])=>{
if("cookie"===t.toLowerCase()){const t=SZe(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:[]
}),SZe=e=>e.split(";").reduce(((e,t)=>{const n=t.trim(),r=n.indexOf("=")
;if(-1===r)return e;const a=n.substring(0,r).trim(),o=n.substring(r+1).trim()
;return e.cookies.push({name:a,value:o}),e.size+=a.length+2+o.length+2,e}),{
cookies:[],size:0}),_Ze=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,"set-cookie"===t.toLowerCase()){
const t=EZe(n);t&&e.cookies.push(t)}return e}),{headers:[],headersSize:0,
cookies:[]}),AZe=async e=>{const t=e.headers.get("content-type")
;if(!t||!TZe(t))return{text:"",size:-1,encoding:void 0};try{
const 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}}},TZe=e=>{const 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")))))
},EZe=e=>{const t=e.split(";");if(0===t.length||!t[0])return null
;const n=t[0].trim(),r=n.indexOf("=");if(-1===r)return null;return{
name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}
},CZe=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{
if(n.parameters||(n.parameters=[]),((e,t,n)=>{e.forEach((e=>{const r=$Se(e)
;wZe(r)||($Ze($Se(e),n,!0),"path"===r.in&&(r.examples||={},r.examples[n]={
value:t[r.name]??"","x-disabled":!1}))}))
})(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(const a of e.queryString){
const e=PZe(n.parameters,a.name,"query")
;e&&!wZe(e)&&(e.examples||={},e.examples[t]={value:a.value,"x-disabled":!1})}
if(e.headers&&e.headers.length>0)for(const a of e.headers){
const e=PZe(n.parameters,a.name,"header")
;e&&!wZe(e)&&(e.examples||={},e.examples[t]={value:a.value,"x-disabled":!1})}
if(e.cookies&&e.cookies.length>0)for(const a of e.cookies){
const e=PZe(n.parameters,a.name,"cookie")
;e&&!wZe(e)&&(e.examples||={},e.examples[t]={value:a.value,"x-disabled":!1})}
if(e.postData){const{mimeType:r,text:a,params:o}=e.postData
;n.requestBody||(n.requestBody={content:{}});const i=$Se(n.requestBody)
;i.content[r]||(i.content[r]={schema:{type:"object"}});const s=i.content[r]
;if(!s)return n;let l;if(s.examples||={},o&&o.length>0){l=[]
;for(const e of o)l.push({name:e.name,value:e.value,"x-disabled":!1})}else l=a
;s.examples[t]={value:l,"x-disabled":!1
},i["x-scalar-selected-content-type"]||={},
i["x-scalar-selected-content-type"][t]=r}return n},$Ze=(e,t,n)=>{
wZe(e)||e.examples?.[t]&&($Se(e.examples[t])["x-disabled"]=n)},PZe=(e,t,n)=>{
for(const a of e){const e=$Se(a);if(wZe(e))continue;if(e.in!==n)continue
;if("header"===n?e.name.toLowerCase()===t.toLowerCase():e.name===t)return e}
const r={name:t,in:n,schema:{type:"string"}};return e.push(r),r
},IZe=async(e,t,{payload:n,meta:r})=>{const a=t?.["x-scalar-navigation"]?.name
;if(!t||!a||!n)return;const o=$Se(t.paths?.[r.path]?.[r.method]);if(!o)return
;const i=(o.parameters??[]).reduce(((e,t)=>{const n=$Se(t)
;return wZe(n)||"path"===n.in&&(e[n.name]=$Se(n.examples?.[r.exampleKey])?.value??""),
e
}),{}),s=await(async({request:e,includeBody:t=!0,httpVersion:n="HTTP/1.1",bodySizeLimit:r=1048576})=>{
const a=new URL(e.url),o=Array.from(a.searchParams.entries()).map((([e,t])=>({
name:e,value:t
}))),{headers:i,headersSize:s,cookies:l}=kZe(e),c=e.headers.get("content-type")?.split(";")[0]?.trim()??"text/plain",u=await(async()=>{
if(t&&e.body){const t=await xZe(e.clone());if(t.size<=r)return t}return{text:"",
size:-1}})();return{method:e.method,url:e.url,httpVersion:n,headers:i,cookies:l,
queryString:o,headersSize:s,bodySize:u.size,postData:"params"in u?{mimeType:c,
params:u.params}:{mimeType:c,text:u.text}}})({request:n.request
}),l=await(async({response:e,includeBody:t=!0,httpVersion:n="HTTP/1.1",bodySizeLimit:r=1048576})=>{
const{headers:a,headersSize:o,cookies:i}=_Ze(e),s=e.headers.get("location")||"",l=e.headers.get("content-type")??"text/plain",c=await(async()=>{
if(t&&e.body){const t=await AZe(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:a,cookies:i,content:{size:c.size,mimeType:l,text:c.text,
encoding:c.encoding},redirectURL:s,headersSize:o,bodySize:c.size}})({
response:n.response});e?.history.addHistory(a,r.path,r.method,{response:l,
request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,
requestMetadata:{variables:i}})},DZe=(e,t)=>{const n={};for(const r of t){
const t=e.indexOf(`{${r}}`);-1!==t&&(n[r]=t)}return n},MZe=(e,t,n)=>{
const r=HV(t,{includePath:!0,includeEnv:!1}).filter((e=>void 0!==e)),a=HV(e,{
includePath:!0,includeEnv:!1
}).filter((e=>void 0!==e)),o=DZe(t,r),i=DZe(e,a),s=[],l=[];for(const p of n){
const e=$Se(p);"path"===e?.in?s.push(e):l.push(p)}const c=new Map
;for(const p of s)p.name&&c.set(p.name,p);const u=new Set,d=[]
;for(const p of a){if(c.has(p)){d.push(c.get(p)),u.add(p);continue}
const e=i[p],t=r.find((t=>o[t]===e&&!u.has(t)));if(t&&c.has(t)){const e=c.get(t)
;e.name=p,d.push(e),u.add(t)}else d.push({name:p,in:"path"})}
return TAe([...d,...l],{depth:1})
},NZe=({store:e,operation:t,generateId:n,method:r,path:a,entries:o})=>{
o?.forEach((o=>{
if(!(e=>"document"===e.type||"tag"===e.type||"operation"===e.type)(o.parent))return
;const i=(({store:e,entry:t})=>{const n=RAe("document",t);if(!n)return null
;const r=e.workspace.documents[n.name]
;return r?"document"===t.type?r:"tag"===t.type?r.tags?.find((e=>e.name===t.name))??null:"operation"===t.type?$Se(r.paths?.[t.path]?.[t.method])??null:null:null
})({store:e,entry:o.parent});if(!i||!("x-scalar-order"in i))return
;const s=i["x-scalar-order"],l=s?.indexOf(o.id)
;if(!Array.isArray(s)||"number"!=typeof l||l<0)return
;const c="tag"===o.parent.type&&"name"in i?{tag:i,id:o.parent.id}:void 0
;s[l]=n({type:"operation",path:a,method:r,operation:t,parentId:o.parent.id,
parentTag:c})}))},RZe=({document:e,store:t})=>({createOperation:e=>((e,t)=>{
const n=e?.workspace.documents[t.documentName]
;if(!n)return void t.callback?.(!1)
;const{path:r,method:a,operation:o}=t,i=r.startsWith("/")?r:`/${r}`
;n.paths||(n.paths={}),n.paths[i]||(n.paths[i]={}),j_e(i),j_e(a),n.paths[i][a]=o
;const{servers:s}=o,l=TAe(s?.[0])
;for(const u of s??[])n.servers?.some((e=>e.url===u.url))||(n.servers||(n.servers=[]),
n.servers.push(TAe(u)));l&&(n["x-scalar-selected-server"]=l.url)
;const c=MZe(i,i,o.parameters??[])
;return c.length>0&&(o.parameters=c),t.callback?.(!0),i})(t,e),
updateOperationSummary:t=>((e,{meta:t,payload:{summary:n}})=>{if(!e)return
;const r=$Se(e.paths?.[t.path]?.[t.method]);r&&(r.summary=n)})(e,t),
updateOperationPathMethod:n=>((e,t,{meta:n,payload:{method:r,path:a},callback:o})=>{
const i=n.method!==r,s=n.path!==a;if(!i&&!s)return void o("no-change")
;const l=i?r:n.method,c=s?a:n.path
;if(e?.paths?.[c]?.[l])return void o("conflict")
;const u=e?.["x-scalar-navigation"]
;if(!u||!t)return void console.error("Document or workspace not found",{
document:e});const d=$Se(e.paths?.[n.path]?.[n.method])
;if(!d)return void console.error("Operation not found",{meta:n,document:e})
;if(s){const e=HV(n.path,{includePath:!0,includeEnv:!1
}).filter((e=>void 0!==e)),t=HV(c,{includePath:!0,includeEnv:!1
}).filter((e=>void 0!==e));if(e.length>0||t.length>0){const e=d.parameters??[]
;d.parameters=MZe(c,n.path,e)}}
const{generateId:p}=ZAe(u.name),h=LAe(u).get(`${n.path}|${n.method}`);h&&NZe({
store:t,operation:d,generateId:p,method:l,path:c,entries:h
}),e.paths||(e.paths={}),
e.paths[c]||(e.paths[c]={}),j_e(c),j_e(n.path),j_e(l),e.paths[c][l]=TAe(d)
;const f=e.paths[n.path]
;f&&zV(n.method)&&(delete f[n.method],0===Object.keys(f).length&&delete e.paths[n.path]),
t.history.clearOperationHistory(e["x-scalar-navigation"]?.name??"",n.path,n.method),
o("success")})(e,t,n),deleteOperation:e=>((e,{meta:t,documentName:n})=>{
const r=e?.workspace.documents[n]
;r&&(j_e(t.path),j_e(t.method),delete r.paths?.[t.path]?.[t.method],
0===Object.keys(r.paths?.[t.path]??{}).length&&delete r.paths?.[t.path])})(t,e),
deleteOperationExample:e=>((e,{meta:{path:t,method:n,exampleKey:r},documentName:a})=>{
const o=e?.workspace.documents[a];if(!o)return;const i=$Se(o.paths?.[t]?.[n])
;if(!i)return;i.parameters?.forEach((e=>{const t=$Se(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]}))
;const s=$Se(i.requestBody);s&&Object.values(s.content??{}).forEach((e=>{
delete e.examples?.[r]}))})(t,e),
updateOperationExtension:t=>((e,{meta:t,payload:n})=>{
const r=$Se(e?.paths?.[t.path]?.[t.method]);r&&yUe(r,n)})(e,t),
updateOperationExtraParameters:t=>((e,{type:t,meta:n,payload:r,in:a})=>{
if(!e)return;const o=$Se(e.paths?.[n.path]?.[n.method]);if(!o)return
;o["x-scalar-disable-parameters"]||(o["x-scalar-disable-parameters"]={})
;const i={global:{cookie:"global-cookies"},default:{header:"default-headers"}
}[t]?.[a]
;i&&(o["x-scalar-disable-parameters"][i]||(o["x-scalar-disable-parameters"][i]={}),
o["x-scalar-disable-parameters"][i][n.exampleKey]={
...o["x-scalar-disable-parameters"][i][n.exampleKey]??{},
[n.name]:r.isDisabled??!1})})(e,t),
upsertOperationParameter:t=>((e,{meta:t,type:n,payload:r,originalParameter:a})=>{
if(a){if(a.name=r.name,wZe(a))return
;a.examples||(a.examples={}),a.examples[t.exampleKey]||={}
;const e=$Se(a.examples[t.exampleKey])
;return e.value=r.value,void(e["x-disabled"]=r.isDisabled)}
const o=$Se(e?.paths?.[t.path]?.[t.method])
;o?(o.parameters||=[],o.parameters.push({name:r.name,in:n,required:"path"===n,
examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}
})):console.error("Operation not found",{meta:t,document:e})})(e,t),
deleteOperationParameter:t=>((e,{meta:t,originalParameter:n})=>{
const r=$Se(e?.paths?.[t.path]?.[t.method]),a=r?.parameters?.findIndex((e=>$Se(e)===n))??-1
;if(r&&a>=0)return void(r.parameters=TAe(r.parameters?.filter(((e,t)=>t!==a)),{
depth:1}))
;const o=$Se(e?.paths?.[t.path]),i=o?.parameters?.findIndex((e=>$Se(e)===n))??-1
;o&&i>=0&&(o.parameters=TAe(o.parameters?.filter(((e,t)=>t!==i)),{depth:1}))
})(e,t),deleteAllOperationParameters:t=>((e,{meta:t,type:n})=>{if(!e)return
;const r=$Se(e.paths?.[t.path]?.[t.method])
;r&&(r.parameters=r.parameters?.filter((e=>$Se(e).in!==n))??[])})(e,t),
updateOperationRequestBodyContentType:t=>((e,{meta:t,payload:n})=>{if(!e)return
;const r=$Se(e.paths?.[t.path]?.[t.method]);if(!r)return
;let a=$Se(r.requestBody);a||(r.requestBody={content:{}
},a=$Se(r.requestBody)),a["x-scalar-selected-content-type"]||(a["x-scalar-selected-content-type"]={}),
a["x-scalar-selected-content-type"][t.exampleKey]=n.contentType})(e,t),
updateOperationRequestBodyExample:t=>((e,{meta:t,payload:n,contentType:r})=>{
const a=vZe(e,r,t);a?a.value=n:console.error("Example not found",t.exampleKey)
})(e,t),
updateOperationRequestBodyFormValue:t=>((e,{meta:t,payload:n,contentType:r})=>{
const a=vZe(e,r,t);a?a.value=TAe(n,{depth:3
}):console.error("Example not found",t.exampleKey)})(e,t),
addResponseToHistory:n=>IZe(t,e,n),
reloadOperationHistory:n=>((e,t,{meta:n,index:r,callback:a})=>{
if(!t)return void console.error("Document not found",n.path,n.method)
;const o=$Se(t.paths?.[n.path]?.[n.method])
;if(!o)return void console.error("Operation not found",n.path,n.method)
;const i=e?.history.getHistory(t["x-scalar-navigation"]?.name??"",n.path,n.method)?.[r]
;i?(CZe({harRequest:i.request,exampleKey:"draft",baseOperation:o,
pathVariables:i.requestMetadata.variables
}),a("success")):console.error("History item not found",r)})(t,e,n)
}),LZe=(...e)=>xIe.Composite(e),BZe={navigation:"x-scalar-navigation"},jZe={
activeDocument:"x-scalar-active-document"},UZe=xIe.Object({
"x-scalar-icon":xIe.Optional(xIe.String())}),zZe=xIe.Object({
"x-scalar-is-dirty":xIe.Optional(xIe.Boolean())}),ZZe=xIe.Object({
"x-scalar-set-operation-security":xIe.Optional(xIe.Boolean({default:!1}))
}),FZe=xIe.Object({"x-scalar-order":xIe.Optional(xIe.Array(xIe.String()))
}),HZe=xIe.Object({"x-scalar-selected-server":xIe.Optional(xIe.String())
}),QZe=LZe(xIe.Object({name:xIe.String(),tags:xIe.Array(xIe.String())
}),FZe),VZe=xIe.Object({"x-tagGroups":xIe.Optional(xIe.Array(QZe))
}),qZe="ComponentsObject",WZe="SecurityRequirementObject",XZe="TagObject",GZe="CallbackObject",YZe="PathsObject",KZe="PathItemObject",JZe="OperationObject",eFe="SchemaObject",tFe="EncodingObject",nFe="HeaderObject",rFe="MediaTypeObject",aFe="ServerObject",oFe="ExternalDocumentationObject",iFe="InfoObject",sFe="ContactObject",lFe="LicenseObject",cFe="ResponseObject",uFe="ResponsesObject",dFe="ParameterObject",pFe="ExampleObject",hFe="RequestBodyObject",fFe="SecuritySchemeObject",mFe="SecuritySchemes",gFe="LinkObject",vFe="XMLObject",bFe="DiscriminatorObject",yFe="OAuthFlowsObject",OFe="ServerVariableObject",wFe="TraversedDescriptionObject",xFe="TraversedOperationObject",kFe="TraversedSchemaObject",SFe="TraversedWebhookObject",_Fe="TraversedTagObject",AFe="TraversedEntryObject",TFe="TraversedDocumentObject",EFe=xIe.Ref(qZe),CFe=xIe.Ref(WZe),$Fe=xIe.Ref(XZe),PFe=xIe.Ref(GZe),IFe=xIe.Ref(KZe),DFe=xIe.Ref(YZe),MFe=xIe.Ref(JZe),NFe=xIe.Ref(eFe),RFe=xIe.Ref(tFe),LFe=xIe.Ref(nFe),BFe=xIe.Ref(rFe),jFe=xIe.Ref(aFe),UFe=xIe.Ref(oFe),zFe=xIe.Ref(iFe),ZFe=xIe.Ref(sFe),FFe=xIe.Ref(lFe),HFe=xIe.Ref(cFe),QFe=xIe.Ref(uFe),VFe=xIe.Ref(dFe),qFe=xIe.Ref(pFe),WFe=xIe.Ref(hFe),XFe=xIe.Ref(fFe),GFe=xIe.Ref(gFe),YFe=xIe.Ref(vFe),KFe=xIe.Ref(bFe),JFe=xIe.Ref(yFe),eHe=xIe.Ref(OFe),tHe=xIe.Ref(AFe),nHe=xIe.Ref(TFe),rHe=xIe.Object({
id:xIe.String(),title:xIe.String()}),aHe=LZe(rHe,xIe.Object({
type:xIe.Literal("document"),name:xIe.String(),
children:xIe.Optional(xIe.Array(tHe)),icon:xIe.Optional(xIe.String())
})),oHe=LZe(rHe,xIe.Object({type:xIe.Literal("text"),
children:xIe.Optional(xIe.Array(tHe))})),iHe=LZe(rHe,xIe.Object({
type:xIe.Literal("example"),name:xIe.String()})),sHe=LZe(rHe,xIe.Object({
type:xIe.Literal("operation"),ref:xIe.String(),
method:xIe.Union(jV.map((e=>xIe.Literal(e)))),path:xIe.String(),
isDeprecated:xIe.Optional(xIe.Boolean()),children:xIe.Optional(xIe.Array(tHe))
})),lHe=LZe(rHe,xIe.Object({type:xIe.Literal("model"),ref:xIe.String(),
name:xIe.String()})),cHe=LZe(rHe,xIe.Object({type:xIe.Literal("webhook"),
ref:xIe.String(),method:xIe.Union(jV.map((e=>xIe.Literal(e)))),
name:xIe.String(),isDeprecated:xIe.Optional(xIe.Boolean())
})),uHe=LZe(rHe,xIe.Object({type:xIe.Literal("tag"),name:xIe.String(),
description:xIe.Optional(xIe.String()),children:xIe.Optional(xIe.Array(tHe)),
isGroup:xIe.Boolean(),isWebhooks:xIe.Optional(xIe.Boolean()),
xKeys:xIe.Optional(xIe.Record(xIe.String(),xIe.Unknown()))
})),dHe=LZe(rHe,xIe.Object({type:xIe.Literal("models"),name:xIe.String(),
children:xIe.Optional(xIe.Array(tHe))
})),pHe=xIe.Union([oHe,sHe,lHe,uHe,cHe,iHe,aHe,dHe]),hHe=xIe.Object({
$status:xIe.Optional(xIe.Union([xIe.Literal("loading"),xIe.Literal("error")])),
$global:xIe.Optional(xIe.Boolean())}),fHe=LZe(xIe.Object({$ref:xIe.String(),
summary:xIe.Optional(xIe.String()),description:xIe.Optional(xIe.String())
}),hHe),mHe=e=>LZe(fHe,xIe.Object({"$ref-value":e
})),gHe=xIe.Record(xIe.String(),xIe.Union([IFe,mHe(IFe)])),vHe=xIe.Record(xIe.String(),xIe.Union([XFe,mHe(XFe)])),bHe=xIe.Object({
schemas:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([NFe,mHe(NFe)]))),
responses:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([HFe,mHe(HFe)]))),
parameters:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([VFe,mHe(VFe)]))),
examples:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([qFe,mHe(qFe)]))),
requestBodies:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([WFe,mHe(WFe)]))),
headers:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([LFe,mHe(LFe)]))),
securitySchemes:xIe.Optional(vHe),
links:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([GFe,mHe(GFe)]))),
callbacks:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([PFe,mHe(PFe)]))),
pathItems:xIe.Optional(xIe.Record(xIe.String(),IFe))}),yHe=xIe.Object({
name:xIe.Optional(xIe.String()),url:xIe.Optional(xIe.String()),
email:xIe.Optional(xIe.String())}),OHe=xIe.Object({propertyName:xIe.String(),
mapping:xIe.Optional(xIe.Record(xIe.String(),xIe.String()))}),wHe=xIe.Object({
contentType:xIe.Optional(xIe.String()),
headers:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([LFe,mHe(LFe)])))
}),xHe=xIe.Object({"x-disabled":xIe.Optional(xIe.Boolean())
}),kHe=LZe(xIe.Object({summary:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String()),value:xIe.Optional(xIe.Any()),
externalValue:xIe.Optional(xIe.String())}),xHe),SHe=xIe.Object({
url:xIe.String(),description:xIe.Optional(xIe.String())}),_He=xIe.Object({
description:xIe.Optional(xIe.String()),required:xIe.Optional(xIe.Boolean()),
deprecated:xIe.Optional(xIe.Boolean())}),AHe=LZe(_He,xIe.Object({
style:xIe.Optional(xIe.String()),explode:xIe.Optional(xIe.Boolean()),
schema:xIe.Optional(xIe.Union([NFe,mHe(NFe)])),example:xIe.Optional(xIe.Any()),
examples:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([qFe,mHe(qFe)])))
})),THe=xIe.Union([AHe,LZe(_He,xIe.Object({
content:xIe.Optional(xIe.Record(xIe.String(),BFe))}))]),EHe=xIe.Object({
"x-scalar-sdk-installation":xIe.Optional(xIe.Array(xIe.Object({
lang:xIe.String(),source:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String())})))}),CHe=LZe(xIe.Object({
title:xIe.String(),version:xIe.String(),summary:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String()),
termsOfService:xIe.Optional(xIe.String()),contact:xIe.Optional(ZFe),
license:xIe.Optional(FFe)}),EHe),$He=xIe.Object({
name:xIe.Optional(xIe.String()),identifier:xIe.Optional(xIe.String()),
url:xIe.Optional(xIe.String())}),PHe=xIe.Object({
operationRef:xIe.Optional(xIe.String()),operationId:xIe.Optional(xIe.String()),
parameters:xIe.Optional(xIe.Record(xIe.String(),xIe.Any())),
requestBody:xIe.Optional(xIe.Any()),description:xIe.Optional(xIe.String()),
server:xIe.Optional(jFe)}),IHe=xIe.Object({
schema:xIe.Optional(xIe.Union([NFe,mHe(NFe)])),example:xIe.Optional(xIe.Any()),
examples:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([qFe,mHe(qFe)]))),
encoding:xIe.Optional(xIe.Record(xIe.String(),RFe))}),DHe=xIe.Object({
"x-scalar-credentials-location":xIe.Optional(xIe.Union([xIe.Literal("header"),xIe.Literal("body")]))
}),MHe=xIe.Object({
"x-scalar-security-body":xIe.Optional(xIe.Record(xIe.String(),xIe.String()))
}),NHe=xIe.Object({
"x-scalar-security-query":xIe.Optional(xIe.Record(xIe.String(),xIe.String()))
}),RHe=xIe.Object({"x-tokenName":xIe.Optional(xIe.String())}),LHe=xIe.Object({
"x-usePkce":xIe.Union([xIe.Literal("SHA-256"),xIe.Literal("plain"),xIe.Literal("no")],{
default:"no"})}),BHe=LZe(xIe.Object({refreshUrl:xIe.String(),
scopes:xIe.Record(xIe.String(),xIe.String())
}),NHe,MHe,RHe),jHe=LZe(BHe,xIe.Object({authorizationUrl:xIe.String()
})),UHe=LZe(BHe,xIe.Object({tokenUrl:xIe.String()
}),DHe),zHe=LZe(BHe,xIe.Object({tokenUrl:xIe.String()
}),DHe),ZHe=LZe(BHe,xIe.Object({authorizationUrl:xIe.String(),
tokenUrl:xIe.String()}),LHe,DHe),FHe=xIe.Object({implicit:xIe.Optional(jHe),
password:xIe.Optional(UHe),clientCredentials:xIe.Optional(zHe),
authorizationCode:xIe.Optional(ZHe)}),HHe=xIe.Object({
"x-internal":xIe.Optional(xIe.Boolean())}),QHe=xIe.Object({
"x-scalar-ignore":xIe.Optional(xIe.Boolean())}),VHe=xIe.Object({
"x-post-response":xIe.Optional(xIe.String())
}),qHe=xIe.Record(xIe.String(),xIe.Boolean()),WHe=xIe.Record(xIe.String(),qHe),XHe=xIe.Object({
"x-scalar-disable-parameters":xIe.Optional(xIe.Object({
"global-cookies":xIe.Optional(WHe),"global-headers":xIe.Optional(WHe),
"default-headers":xIe.Optional(WHe)}))}),GHe=LZe(xIe.Object({
tags:xIe.Optional(xIe.Array(xIe.String())),summary:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String()),externalDocs:xIe.Optional(UFe),
operationId:xIe.Optional(xIe.String()),
parameters:xIe.Optional(xIe.Array(xIe.Union([VFe,mHe(VFe)]))),
requestBody:xIe.Optional(xIe.Union([WFe,mHe(WFe)])),responses:xIe.Optional(QFe),
deprecated:xIe.Optional(xIe.Boolean()),security:xIe.Optional(xIe.Array(CFe)),
servers:xIe.Optional(xIe.Array(jFe)),
callbacks:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([PFe,mHe(PFe)])))
}),SIe,HHe,QHe,AIe,CIe,XHe,VHe),YHe=xIe.Object({
"x-global":xIe.Optional(xIe.Boolean())}),KHe=LZe(xIe.Object({name:xIe.String(),
in:xIe.Union([xIe.Literal("query"),xIe.Literal("header"),xIe.Literal("path"),xIe.Literal("cookie")]),
description:xIe.Optional(xIe.String()),required:xIe.Optional(xIe.Boolean()),
deprecated:xIe.Optional(xIe.Boolean()),
allowEmptyValue:xIe.Optional(xIe.Boolean())
}),YHe,HHe,QHe),JHe=LZe(KHe,xIe.Object({style:xIe.Optional(xIe.String()),
explode:xIe.Optional(xIe.Boolean()),
schema:xIe.Optional(xIe.Union([NFe,mHe(NFe)])),example:xIe.Optional(xIe.Any()),
examples:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([qFe,mHe(qFe)])))
})),eQe=LZe(KHe,xIe.Object({content:xIe.Optional(xIe.Record(xIe.String(),BFe))
})),tQe=xIe.Union([JHe,eQe]),nQe=xIe.Object({$ref:xIe.Optional(xIe.String()),
summary:xIe.Optional(xIe.String()),description:xIe.Optional(xIe.String()),
get:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
put:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
post:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
delete:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
patch:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
connect:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
options:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
head:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
trace:xIe.Optional(xIe.Union([MFe,mHe(MFe)])),
servers:xIe.Optional(xIe.Array(jFe)),
parameters:xIe.Optional(xIe.Array(xIe.Union([VFe,mHe(VFe)])))
}),rQe=xIe.Record(xIe.String(),IFe),aQe=LZe(xIe.Object({
description:xIe.Optional(xIe.String()),content:xIe.Record(xIe.String(),BFe),
required:xIe.Optional(xIe.Boolean())}),TIe),oQe=xIe.Object({
description:xIe.String(),
headers:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([LFe,mHe(LFe)]))),
content:xIe.Optional(xIe.Record(xIe.String(),BFe)),
links:xIe.Optional(xIe.Record(xIe.String(),xIe.Union([GFe,mHe(GFe)])))
}),iQe=xIe.Record(xIe.String(),xIe.Union([HFe,mHe(HFe)])),sQe=xIe.Object({
"x-tags":xIe.Optional(xIe.Array(xIe.String()))}),lQe=xIe.Object({
"x-additionalPropertiesName":xIe.Optional(xIe.String())}),cQe=xIe.Object({
"x-enumDescriptions":xIe.Optional(xIe.Union([xIe.Record(xIe.String(),xIe.String()),xIe.Array(xIe.String())])),
"x-enum-descriptions":xIe.Optional(xIe.Union([xIe.Record(xIe.String(),xIe.String()),xIe.Array(xIe.String())]))
}),uQe=xIe.Object({"x-enum-varnames":xIe.Optional(xIe.Array(xIe.String())),
"x-enumNames":xIe.Optional(xIe.Array(xIe.String()))}),dQe=xIe.Object({
"x-examples":xIe.Optional(xIe.Record(xIe.String(),xIe.Unknown()))
}),pQe=xIe.Object({"x-variable":xIe.Optional(xIe.String())
}),hQe=xIe.Union([NFe,LZe(fHe,xIe.Object({"$ref-value":xIe.Unknown()
}))]),fQe=xIe.Object({
type:xIe.Union([xIe.Literal("null"),xIe.Literal("boolean"),xIe.Array(xIe.Union([xIe.Literal("null"),xIe.Literal("boolean"),xIe.Literal("string"),xIe.Literal("number"),xIe.Literal("integer"),xIe.Literal("object"),xIe.Literal("array")]))])
}),mQe=LZe(QHe,HHe,pQe,dQe,cQe,uQe,lQe,sQe),gQe=xIe.Object({
name:xIe.Optional(xIe.String()),title:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String()),default:xIe.Optional(xIe.Unknown()),
enum:xIe.Optional(xIe.Array(xIe.Unknown())),const:xIe.Optional(xIe.Unknown()),
contentMediaType:xIe.Optional(xIe.String()),
contentEncoding:xIe.Optional(xIe.String()),contentSchema:xIe.Optional(hQe),
deprecated:xIe.Optional(xIe.Boolean()),discriminator:xIe.Optional(KFe),
readOnly:xIe.Optional(xIe.Boolean()),writeOnly:xIe.Optional(xIe.Boolean()),
xml:xIe.Optional(YFe),externalDocs:xIe.Optional(UFe),
example:xIe.Optional(xIe.Unknown()),
examples:xIe.Optional(xIe.Array(xIe.Unknown())),
allOf:xIe.Optional(xIe.Array(hQe)),oneOf:xIe.Optional(xIe.Array(hQe)),
anyOf:xIe.Optional(xIe.Array(hQe)),not:xIe.Optional(hQe)}),vQe=xIe.Object({
type:xIe.Union([xIe.Literal("number"),xIe.Literal("integer")]),
format:xIe.Optional(xIe.String()),multipleOf:xIe.Optional(xIe.Number()),
maximum:xIe.Optional(xIe.Number()),exclusiveMaximum:xIe.Optional(xIe.Number({
minimum:0})),minimum:xIe.Optional(xIe.Number()),
exclusiveMinimum:xIe.Optional(xIe.Number({minimum:0}))}),bQe=xIe.Object({
type:xIe.Literal("string"),format:xIe.Optional(xIe.String()),
maxLength:xIe.Optional(xIe.Integer({minimum:0})),
minLength:xIe.Optional(xIe.Integer({minimum:0})),
pattern:xIe.Optional(xIe.String())}),yQe=xIe.Object({type:xIe.Literal("array"),
maxItems:xIe.Optional(xIe.Integer({minimum:0})),
minItems:xIe.Optional(xIe.Integer({minimum:0})),
uniqueItems:xIe.Optional(xIe.Boolean()),items:xIe.Optional(hQe),
prefixItems:xIe.Optional(xIe.Array(hQe))}),OQe=xIe.Object({
type:xIe.Literal("object"),maxProperties:xIe.Optional(xIe.Integer({minimum:0})),
minProperties:xIe.Optional(xIe.Integer({minimum:0})),
required:xIe.Optional(xIe.Array(xIe.String())),
properties:xIe.Optional(xIe.Record(xIe.String(),hQe)),
additionalProperties:xIe.Optional(xIe.Union([xIe.Boolean(),hQe])),
patternProperties:xIe.Optional(xIe.Record(xIe.String(),hQe))
}),wQe=xIe.Union([LZe(xIe.Object({__scalar_:xIe.String()
}),gQe,mQe),LZe(fQe,gQe,mQe),LZe(vQe,gQe,mQe),LZe(bQe,gQe,mQe),LZe(OQe,gQe,mQe),LZe(yQe,gQe,mQe)]),xQe=xIe.Partial(xIe.Record(xIe.String(),xIe.Array(xIe.String()))),kQe=xIe.Object({
"x-default-scopes":xIe.Optional(xIe.Array(xIe.String()))}),SQe=xIe.Object({
description:xIe.Optional(xIe.String())}),_Qe=LZe(SQe,xIe.Object({
type:xIe.Literal("apiKey"),name:xIe.String(),
in:xIe.Union([xIe.Literal("query"),xIe.Literal("header"),xIe.Literal("cookie")])
})),AQe=LZe(SQe,xIe.Object({type:xIe.Literal("http"),
scheme:xIe.Union([xIe.Literal("basic"),xIe.Literal("bearer")]),
bearerFormat:xIe.Optional(xIe.String())})),TQe=LZe(SQe,xIe.Object({
type:xIe.Literal("oauth2"),flows:JFe}),kQe),EQe=LZe(SQe,xIe.Object({
type:xIe.Literal("openIdConnect"),openIdConnectUrl:xIe.String()
})),CQe=xIe.Union([_Qe,AQe,TQe,EQe]),$Qe=xIe.Object({url:xIe.String(),
description:xIe.Optional(xIe.String()),
variables:xIe.Optional(xIe.Record(xIe.String(),eHe))}),PQe=xIe.Object({
enum:xIe.Optional(xIe.Array(xIe.String())),default:xIe.Optional(xIe.String()),
description:xIe.Optional(xIe.String())}),IQe=xIe.Object({
"x-displayName":xIe.Optional(xIe.String())}),DQe=LZe(xIe.Object({
name:xIe.String(),description:xIe.Optional(xIe.String()),
externalDocs:xIe.Optional(UFe)}),IQe,HHe,QHe,FZe),MQe=xIe.Object({
name:xIe.Optional(xIe.String()),namespace:xIe.Optional(xIe.String()),
prefix:xIe.Optional(xIe.String()),attribute:xIe.Optional(xIe.Boolean()),
wrapped:xIe.Optional(xIe.Boolean())}),NQe=LZe(xIe.Partial(xIe.Object({
"x-scalar-client-config-active-environment":xIe.String(),
"x-original-oas-version":xIe.String(),
"x-scalar-original-source-url":xIe.String(),[BZe.navigation]:nHe
})),VZe,fZe,HZe,ZZe,UZe,FZe,gze,xIe.Object({
"x-scalar-original-document-hash":xIe.String()}),zZe),RQe=LZe(xIe.Object({
openapi:xIe.String(),info:zFe,jsonSchemaDialect:xIe.Optional(xIe.String()),
servers:xIe.Optional(xIe.Array(jFe)),paths:xIe.Optional(DFe),
webhooks:xIe.Optional(xIe.Record(xIe.String(),IFe)),
components:xIe.Optional(EFe),security:xIe.Optional(xIe.Array(CFe)),
tags:xIe.Optional(xIe.Array($Fe)),externalDocs:xIe.Optional(UFe)
}),NQe),LQe=xIe.Module({[qZe]:bHe,[WZe]:xQe,[XZe]:DQe,[GZe]:gHe,[KZe]:nQe,
[YZe]:rQe,[JZe]:GHe,[eFe]:wQe,[tFe]:wHe,[rFe]:IHe,[nFe]:THe,[aFe]:$Qe,[oFe]:SHe,
[iFe]:CHe,[sFe]:yHe,[lFe]:$He,[cFe]:oQe,[uFe]:iQe,[dFe]:tQe,[pFe]:kHe,[hFe]:aQe,
[mFe]:vHe,[fFe]:CQe,[gFe]:PHe,[vFe]:MQe,[bFe]:OHe,[yFe]:FHe,[OFe]:PQe,
OpenApiDocument:RQe,[wFe]:oHe,[xFe]:sHe,[kFe]:lHe,[SFe]:cHe,[_Fe]:uHe,[AFe]:pHe,
[TFe]:aHe}),BQe=LQe.Import("OpenApiDocument");LQe.Import("ComponentsObject")
;const jQe=LQe.Import("SecurityRequirementObject")
;LQe.Import("TagObject"),LQe.Import("CallbackObject"),
LQe.Import("PathItemObject"),
LQe.Import("PathsObject"),LQe.Import("OperationObject")
;const UQe=LQe.Import("SchemaObject")
;LQe.Import("EncodingObject"),LQe.Import("MediaTypeObject"),
LQe.Import("HeaderObject");const zQe=LQe.Import("ServerObject")
;LQe.Import("ExternalDocumentationObject"),
LQe.Import("InfoObject"),LQe.Import("ContactObject"),
LQe.Import("LicenseObject"),
LQe.Import("ResponseObject"),LQe.Import("ResponsesObject"),
LQe.Import("ParameterObject"),
LQe.Import("ExampleObject"),LQe.Import("RequestBodyObject"),
LQe.Import("SecuritySchemes"),
LQe.Import("SecuritySchemeObject"),LQe.Import("LinkObject"),
LQe.Import("XMLObject"),
LQe.Import("DiscriminatorObject"),LQe.Import("OAuthFlowsObject"),
LQe.Import("ServerVariableObject"),
LQe.Import("TraversedDescriptionObject"),LQe.Import("TraversedEntryObject"),
LQe.Import("TraversedTagObject"),
LQe.Import("TraversedOperationObject"),LQe.Import("TraversedSchemaObject"),
LQe.Import("TraversedWebhookObject");const ZQe=(e,t)=>{const n={}
;for(const r of t){const t=e.indexOf(`{${r}}`);-1!==t&&(n[r]=t)}return n
},FQe=(e,{index:t,server:n})=>{const r=e?.servers?.[t]
;if(!r)return void console.error("Server not found at index:",t)
;const a=r.url,o=cZe(zQe,{...r,...n});if(a&&a!==o.url){const t=o.variables??{}
;o.variables=((e,t,n)=>{const r=HV(t,{includePath:!0,includeEnv:!1
}).filter((e=>void 0!==e)),a=HV(e,{includePath:!0,includeEnv:!1
}).filter((e=>void 0!==e)),o=ZQe(t,r),i=ZQe(e,a),s=new Set,l={}
;for(const c of a){if(n[c]){l[c]=n[c],s.add(c);continue}
const e=i[c],t=r.find((t=>o[t]===e&&!s.has(t)))
;t&&n[t]?(l[c]=n[t],s.add(t)):l[c]={default:""}}return l
})(o.url,a,t),e["x-scalar-selected-server"]===a&&(e["x-scalar-selected-server"]=o.url)
}return e.servers?e.servers[t]=o:e.servers=[o],o},HQe=({document:e})=>({
addServer:()=>(e=>{if(!e)return;const t=cZe(zQe,{})
;return e.servers||(e.servers=[]),e.servers.push(t),t})(e),
updateServer:t=>FQe(e,t),deleteServer:t=>((e,{index:t})=>{if(!e?.servers)return
;const n=e.servers[t]?.url
;e.servers.splice(t,1),e["x-scalar-selected-server"]===n&&(e["x-scalar-selected-server"]=e.servers[0]?.url??void 0)
})(e,t),updateServerVariables:t=>((e,{index:t,key:n,value:r})=>{
const a=e?.servers?.[t]?.variables?.[n]
;if(!a)return void console.error("Variable not found",n,t);a.default=r
;const o=e?.servers?.[t]?.url;if(o)return a;console.error("URL not found",t)
})(e,t),updateSelectedServer:t=>((e,{url:t})=>{
if(e)return""===t?(e["x-scalar-selected-server"]="",
""):(e["x-scalar-selected-server"]=e["x-scalar-selected-server"]===t?"":t,
e["x-scalar-selected-server"])})(e,t)
}),QQe=e=>null!==e&&void 0!==e["x-scalar-tabs"],VQe=e=>TAe(e["x-scalar-tabs"],{
depth:1}),qQe=e=>e["x-scalar-active-tab"]??0,WQe=({workspace:e})=>({
updateTabs:t=>((e,t)=>{
e&&(t["x-scalar-tabs"]&&(e["x-scalar-tabs"]=t["x-scalar-tabs"]),
void 0!==t["x-scalar-active-tab"]&&(e["x-scalar-active-tab"]=t["x-scalar-active-tab"]))
})(e,t),addTab:t=>((e,t)=>{if(!QQe(e))return!1;const n=VQe(e),r=n[qQe(e)]
;if(!r)return!1;const a=[...n,{...r}]
;return e["x-scalar-tabs"]=a,e["x-scalar-active-tab"]=a.length-1,!0})(e),
closeTab:t=>((e,t)=>{if(!QQe(e))return!1
;const n="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:Number.NaN:t.index,r=VQe(e).filter(((e,t)=>t!==n))
;return!(r.length<=0||(e["x-scalar-tabs"]=r,
n>=r.length&&(e["x-scalar-active-tab"]=r.length-1),0))})(e,t),
closeOtherTabs:t=>((e,t)=>{if(!QQe(e))return!1;const n=VQe(e)
;return!(n.length<=1||(e["x-scalar-tabs"]=n.filter(((e,n)=>n===t.index)),
e["x-scalar-active-tab"]=0,0))})(e,t),navigatePreviousTab:t=>((e,t)=>{
if(!QQe(e))return!1;const n=qQe(e)
;return!(n<=0||(e["x-scalar-active-tab"]=n-1,0))})(e),
navigateNextTab:t=>((e,t)=>{if(!QQe(e))return!1;const n=VQe(e),r=qQe(e)
;return!(r>=n.length-1||(e["x-scalar-active-tab"]=r+1,0))})(e),
focusTab:t=>((e,t)=>{if(!QQe(e))return!1
;const n=VQe(e),r="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:Number.NaN:t.index
;return!(Number.isNaN(r)||r<0||r>=n.length||(e["x-scalar-active-tab"]=r,0))
})(e,t),focusLastTab:t=>((e,t)=>{if(!QQe(e))return!1;const n=VQe(e)
;return!(n.length<=1||(e["x-scalar-active-tab"]=n.length-1,0))})(e)
}),XQe=({store:e})=>({createTag:t=>((e,t)=>{
const n=e?.workspace.documents[t.documentName]
;n?(n.tags||(n.tags=[]),n.tags.push({name:t.name
})):console.error("Document not found",{payload:t,store:e})})(e,t),
deleteTag:t=>((e,t)=>{const n=e?.workspace.documents[t.documentName]
;n&&(Object.values(n.paths??{}).forEach((e=>{Object.values(e).forEach((e=>{
if("object"!=typeof e||Array.isArray(e))return;const n=$Se(e)
;"tags"in n&&(n.tags=TAe(n.tags?.filter((e=>e!==t.name)),{depth:2}))}))
})),Object.values(n.webhooks??{}).forEach((e=>{Object.values(e).forEach((e=>{
if("object"!=typeof e||Array.isArray(e))return;const n=$Se(e)
;n.tags=TAe(n.tags?.filter((e=>e!==t.name)),{depth:2})}))
})),n.tags=TAe(n.tags?.filter((e=>e.name!==t.name)),{depth:2}))})(e,t)
}),GQe=({workspace:e})=>({updateActiveProxy:t=>((e,t)=>{
e&&(e["x-scalar-active-proxy"]=t??void 0)})(e,t),updateColorMode:t=>((e,t)=>{
e&&(e["x-scalar-color-mode"]=t)})(e,t),updateTheme:t=>((e,t)=>{
e&&(e["x-scalar-theme"]=t)})(e,t),updateSelectedClient:t=>((e,t)=>{
e&&(e["x-scalar-default-client"]=t)})(e,t),updateActiveEnvironment:t=>((e,t)=>{
e&&(e["x-scalar-active-environment"]=t??void 0)})(e,t)});function YQe(e){
const t=t=>({auth:fze({store:e,document:t}),cookie:uZe({collection:t}),
document:dZe({document:t,store:e}),operation:RZe({document:t,store:e}),
server:HQe({document:t}),tag:XQe({store:e}),environment:mZe({
workspace:e?.workspace??null,collection:t})});return{workspace:()=>({
cookie:uZe({collection:e?.workspace??null}),tabs:WQe({
workspace:e?.workspace??null}),workspace:GQe({workspace:e?.workspace??null}),
environment:mZe({workspace:e?.workspace??null,collection:e?.workspace??null})}),
active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(gZe(e,n))}}
const KQe=(e,t,n)=>async r=>{const a=await(n[e]?.onBeforeExecute?.(r))??r
;return await t(a),await(n[e]?.onAfterExecute?.(a)),a}
;function JQe({eventBus:e,isSidebarOpen:t,sidebarState:n,modalState:r,store:a}){
(function({eventBus:e,store:t,hooks:n}){
const r=Ty((()=>YQe(t.value))),a=({collectionType:e})=>"document"===e?r.value.active():r.value.workspace()
;e.on("workspace:update:active-proxy",(e=>KQe("workspace:update:active-proxy",r.value.workspace().workspace.updateActiveProxy,n)(e))),
e.on("workspace:update:color-mode",(e=>KQe("workspace:update:color-mode",r.value.workspace().workspace.updateColorMode,n)(e))),
e.on("workspace:update:theme",(e=>KQe("workspace:update:theme",r.value.workspace().workspace.updateTheme,n)(e))),
e.on("workspace:update:selected-client",(e=>KQe("workspace:update:selected-client",r.value.workspace().workspace.updateSelectedClient,n)(e))),
e.on("workspace:update:active-environment",(e=>KQe("workspace:update:active-environment",r.value.workspace().workspace.updateActiveEnvironment,n)(e))),
e.on("document:update:icon",(e=>KQe("document:update:icon",r.value.active().document.updateDocumentIcon,n)(e))),
e.on("document:update:info",(e=>KQe("document:update:info",r.value.active().document.updateDocumentInfo,n)(e))),
e.on("document:toggle:security",(e=>KQe("document:toggle:security",r.value.active().document.toggleSecurity,n)(e))),
e.on("document:update:watch-mode",(e=>KQe("document:update:watch-mode",r.value.active().document.updateWatchMode,n)(e))),
e.on("document:create:empty-document",(e=>KQe("document:create:empty-document",r.value.active().document.createEmptyDocument,n)(e))),
e.on("document:delete:document",(e=>KQe("document:delete:document",r.value.active().document.deleteDocument,n)(e))),
e.on("environment:upsert:environment",(e=>KQe("environment:upsert:environment",a(e).environment.upsertEnvironment,n)(e))),
e.on("environment:delete:environment",(e=>KQe("environment:delete:environment",a(e).environment.deleteEnvironment,n)(e))),
e.on("environment:upsert:environment-variable",(e=>KQe("environment:upsert:environment-variable",a(e).environment.upsertEnvironmentVariable,n)(e))),
e.on("environment:delete:environment-variable",(e=>KQe("environment:delete:environment-variable",a(e).environment.deleteEnvironmentVariable,n)(e))),
e.on("cookie:upsert:cookie",(async e=>{
await KQe("cookie:upsert:cookie",a(e).cookie.upsertCookie,n)(e)
})),e.on("cookie:delete:cookie",(async e=>{
await KQe("cookie:delete:cookie",a(e).cookie.deleteCookie,n)(e)
})),e.on("auth:delete:security-scheme",(e=>KQe("auth:delete:security-scheme",r.value.active().auth.deleteSecurityScheme,n)(e))),
e.on("auth:update:active-index",(e=>KQe("auth:update:active-index",r.value.active().auth.updateSelectedAuthTab,n)(e))),
e.on("auth:update:security-scheme",(e=>KQe("auth:update:security-scheme",r.value.active().auth.updateSecurityScheme,n)(e))),
e.on("auth:update:selected-scopes",(e=>KQe("auth:update:selected-scopes",r.value.active().auth.updateSelectedScopes,n)(e))),
e.on("auth:update:selected-security-schemes",(e=>KQe("auth:update:selected-security-schemes",r.value.active().auth.updateSelectedSecuritySchemes,n)(e))),
e.on("auth:update:security-scheme-secrets",(e=>KQe("auth:update:security-scheme-secrets",r.value.active().auth.updateSecuritySchemeSecrets,n)(e))),
e.on("server:add:server",(e=>KQe("server:add:server",r.value.active().server.addServer,n)(e))),
e.on("server:update:server",(e=>KQe("server:update:server",r.value.active().server.updateServer,n)(e))),
e.on("server:delete:server",(e=>KQe("server:delete:server",r.value.active().server.deleteServer,n)(e))),
e.on("server:update:variables",(e=>KQe("server:update:variables",r.value.active().server.updateServerVariables,n)(e))),
e.on("server:update:selected",(e=>KQe("server:update:selected",r.value.active().server.updateSelectedServer,n)(e))),
e.on("operation:create:operation",(e=>KQe("operation:create:operation",r.value.active().operation.createOperation,n)(e))),
e.on("operation:update:pathMethod",(e=>KQe("operation:update:pathMethod",r.value.active().operation.updateOperationPathMethod,n)(e))),
e.on("operation:update:summary",(e=>KQe("operation:update:summary",r.value.active().operation.updateOperationSummary,n)(e))),
e.on("operation:delete:operation",(e=>KQe("operation:delete:operation",r.value.active().operation.deleteOperation,n)(e))),
e.on("operation:delete:example",(e=>KQe("operation:delete:example",r.value.active().operation.deleteOperationExample,n)(e))),
e.on("operation:upsert:parameter",(e=>KQe("operation:upsert:parameter",r.value.active().operation.upsertOperationParameter,n)(e))),
e.on("operation:update:extra-parameters",(e=>KQe("operation:update:extra-parameters",r.value.active().operation.updateOperationExtraParameters,n)(e))),
e.on("operation:delete:parameter",(e=>KQe("operation:delete:parameter",r.value.active().operation.deleteOperationParameter,n)(e))),
e.on("operation:delete-all:parameters",(e=>KQe("operation:delete-all:parameters",r.value.active().operation.deleteAllOperationParameters,n)(e))),
e.on("operation:update:extension",(e=>KQe("operation:update:extension",r.value.active().operation.updateOperationExtension,n)(e))),
e.on("operation:update:requestBody:contentType",(e=>KQe("operation:update:requestBody:contentType",r.value.active().operation.updateOperationRequestBodyContentType,n)(e))),
e.on("operation:update:requestBody:value",(e=>KQe("operation:update:requestBody:value",r.value.active().operation.updateOperationRequestBodyExample,n)(e))),
e.on("operation:update:requestBody:formValue",(e=>KQe("operation:update:requestBody:formValue",r.value.active().operation.updateOperationRequestBodyFormValue,n)(e))),
e.on("operation:reload:history",(e=>KQe("operation:reload:history",r.value.active().operation.reloadOperationHistory,n)(e))),
e.on("tag:create:tag",(e=>KQe("tag:create:tag",r.value.active().tag.createTag,n)(e))),
e.on("tag:delete:tag",(e=>KQe("tag:delete:tag",r.value.active().tag.deleteTag,n)(e))),
e.on("tabs:add:tab",(e=>KQe("tabs:add:tab",r.value.workspace().tabs.addTab,n)(e))),
e.on("tabs:close:tab",(e=>KQe("tabs:close:tab",r.value.workspace().tabs.closeTab,n)(e))),
e.on("tabs:close:other-tabs",(e=>KQe("tabs:close:other-tabs",r.value.workspace().tabs.closeOtherTabs,n)(e))),
e.on("tabs:focus:tab",(e=>KQe("tabs:focus:tab",r.value.workspace().tabs.focusTab,n)(e))),
e.on("tabs:focus:tab-last",(e=>KQe("tabs:focus:tab-last",r.value.workspace().tabs.focusLastTab,n)(e))),
e.on("tabs:navigate:previous",(e=>KQe("tabs:navigate:previous",r.value.workspace().tabs.navigatePreviousTab,n)(e))),
e.on("tabs:navigate:next",(e=>KQe("tabs:navigate:next",r.value.workspace().tabs.navigateNextTab,n)(e))),
e.on("tabs:update:tabs",(e=>KQe("tabs:update:tabs",r.value.workspace().tabs.updateTabs,n)(e))),
e.on("hooks:on:request:complete",(e=>KQe("hooks:on:request:complete",r.value.active().operation.addResponseToHistory,n)(e)))
})({eventBus:e,store:bm(a),hooks:{}
}),e.on("scroll-to:nav-item",(({id:e})=>n.handleSelectItem(e))),
e.on("ui:toggle:sidebar",(()=>t.value=!t.value)),
e.on("ui:close:client-modal",(()=>r.hide())),e.on("ui:open:client-modal",(e=>{
if(e){if("id"in e&&e.id){let t=e.id;if("exampleName"in e&&e.exampleName){
const r=n.state.getEntryById(e.id);if(r&&"children"in r&&r.children){
const n=r.children.find((t=>"example"===t.type&&t.name===e.exampleName))
;n&&(t=n.id)}}n.handleSelectItem(t)
}else"method"in e&&"path"in e&&n.handleSelectItem(n.getEntryByLocation({
document:a.workspace.activeDocument?.["x-scalar-navigation"]?.id??"",
path:e.path,method:e.method,example:e.exampleName})?.id??"");r.show()
}else r.show()}))}const eVe={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"]
},tVe=bUe(eVe).flatMap((([e,t])=>t.map((t=>`${e}/${t}`)))),nVe=e=>{
if(!0===e)return[];if(!e||Array.isArray(e)&&0===e.length)return tVe
;const t=new Set(tVe);if(Array.isArray(e))for(const n of e){const e=eVe[n]
;if(e)for(const r of e)t.delete(`${n}/${r}`);else if(n.includes("/"))t.delete(n);else for(const r of ZV(eVe))t.delete(`${r}/${n}`)
}else if("object"==typeof e)for(const[n,r]of Object.entries(e))if(!0===r){
const e=eVe[n];if(e)for(const r of e)t.delete(`${n}/${r}`)
}else if(Array.isArray(r))for(const e of r)t.delete(e),t.delete(`${n}/${e}`)
;return Array.from(t)},rVe=(e=[],t=[])=>{const n=t.flatMap((e=>{const t=$Se(e)
;return t?`${t.in}:${t.name}`:[]})),r=new Set(n);return[...e.filter((e=>{
const t=$Se(e);return!!t&&!r.has(`${t.in}:${t.name}`)})),...t]
},aVe=(e,t)=>typeof e?.["x-scalar-selected-server"]>"u"&&t?.length?t[0]:t?.find((({url:t})=>t===e?.["x-scalar-selected-server"]))??null
;function oVe(e,t={}){if(!e?.length){const e=cVe(t);return e?[e]:[]}
if(!Array.isArray(e))return[];const n=e.map((e=>function(e,t){
return e.url?.startsWith("/")&&(e.url=function(e,t){
const{baseServerUrl:n,documentUrl:r}=t;if(n)return YV(n,e);if(r){const t=iVe(r)
;if(t)return YV(t,e)}const a=sVe();return a?YV(a,e):e}(e.url,t)),e}(e,t)))
;if(0===n.length){const e=cVe(t);return e?[e]:[]}return n}function iVe(e){try{
const t=new URL(e),n=t.port?`:${t.port}`:""
;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function sVe(){
if(!(typeof window>"u"||"string"!=typeof window?.location?.origin))return window.location.origin
}function lVe(e){return{url:e}}function cVe(e){if(e.documentUrl){
const t=function(e){const t=iVe(e);if(t)return lVe(t)}(e.documentUrl)
;if(t)return t}return function(){const e=sVe();if(e)return lVe(e)}()}
const uVe=Hg({__name:"ViewLayout",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),qb("div",Mh(ty(xm(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-3"))),[Av(e.$slots,"default")],16))
}}),dVe={
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"
};const pVe=Hoe({},[["render",function(e,t){
return Fb(),qb("div",dVe,[Av(e.$slots,"default")])
}]]),hVe=()=>typeof window<"u"&&"electron"in window,fVe=e=>e.variables.reduce(((e,t)=>(e[t.name]="string"==typeof t.value?t.value:t.value.default,
e)),{}),mVe=(e,t)=>{
const n=(r=e?.variables??{},Object.entries(r)).reduce(((e,[t,n])=>(n.default&&(e[t]=n.default),
e)),{});var r;return QV(e?.url??"",{...t,...n})
},gVe=({environment:e,server:t,path:n,pathVariables:r,urlParams:a})=>{
const o=fVe(e),i=mVe(t,o),s=QV(n,{...o,...r});return KV(i,s,a)
},vVe="2.26.2",bVe=(e,t,n)=>({name:e,defaultValue:t,
isOverridden:n.has(e.toLowerCase())
}),yVe=({method:e,operation:t,exampleKey:n,hideDisabledHeaders:r=!1})=>{
const a=new Set(t.parameters?.filter((e=>"header"===$Se(e).in)).map((e=>$Se(e).name.toLowerCase()))??[]),o=t["x-scalar-disable-parameters"]?.["default-headers"]?.[n]??{},i=[],s=$Se(t.requestBody)
;if(NV(e)){
const e=s?.["x-scalar-selected-content-type"]?.[n]??Object.keys(s?.content??{})[0]??"application/json"
;"none"!==e&&i.push(bVe("Content-Type",e,a))}
return i.push(bVe("Accept","*/*",a)),
hVe()&&vVe&&i.push(bVe("User-Agent",`Scalar/${vVe}`,a)),
r?i.filter((e=>!0!==o[e.name.toLowerCase()])):i},OVe=e=>{
const t=new WeakSet,n=e=>{if(null==e||"object"!=typeof e)return e;const r=HSe(e)
;if(t.has(r))return"[circular]"
;if(t.add(r),"object"==typeof e&&null!==e&&"$ref"in e){
const a=e["$ref-value"],o=n(a);return t.delete(r),o}if(Array.isArray(e)){
const a=e.map((e=>n(e)));return t.delete(r),a}
if(e instanceof File||e instanceof Date)return t.delete(r),e
;if("object"==typeof e&&null!==e){const a={}
;for(const[t,r]of Object.entries(e))a[t]=n(r);return t.delete(r),a}
return t.delete(r),e};return n(e)},wVe=(e,t,n)=>{if(!e&&!t)return
;const r=n||Object.keys(e??{})[0]||"",a=OVe(e?.[r])
;return void 0!==a?a:n||void 0===t?void 0:{value:OVe(t)}},xVe=(e,t,n)=>{
if("content"in e){
const r=e.content?.[n??Object.keys(e.content)[0]??""],a=wVe(r?.examples,r?.example,t)
;if(void 0!==a)return a}if("examples"in e||"example"in e){
const n=wVe(e.examples,e.example,t);if(void 0!==n)return n}const r=OVe(e)
;if("schema"in r&&r.schema){const e=r.schema
;if("default"in e&&void 0!==e.default)return{value:e.default}
;if("enum"in e&&void 0!==e.enum?.[0])return{value:e.enum[0]}
;if("examples"in e&&void 0!==e.examples?.[0])return{value:e.examples[0]}
;if("example"in e&&void 0!==e.example)return{value:e.example}}},kVe=e=>{
const{"$ref-value":t,...n}=e;return{...t,...n}},SVe={schema:e=>{
if(void 0===e)return;const t=$Se(e,kVe);return cZe(LZe(UQe,xIe.Object({
$ref:xIe.Optional(xIe.String())})),t)}
},_Ve=(new Date).toISOString(),AVe=_Ve.split("T")[0],TVe=_Ve.split("T")[1].split(".")[0],EVe={
"date-time":_Ve,date:AVe,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:TVe,"uri-reference":"../folder",
"uri-template":"https://example.com/{id}",uri:"https://example.com",
uuid:"123e4567-e89b-12d3-a456-426614174000",
"object-id":"6592008029c8c3e4dc76256c"
},CVe=(e,t=!1,n="")=>"type"in e&&"string"===e.type&&"format"in e&&"binary"===e.format?"@filename":t&&"format"in e&&e.format?EVe[e.format]??n:n,$Ve=new WeakMap,PVe=new WeakMap,IVe=(e,t,n)=>{
if("object"!=typeof t||null===t)return t
;const r=HSe(XSe(e)),a=$Ve.get(r)??new Map;return a&&a.set(n,t),$Ve.set(r,a),t
},DVe=(e,t,n,r)=>{
if(e.deprecated||"write"===r?.mode&&e.readOnly||"read"===r?.mode&&e.writeOnly)return!0
;if(!0!==r?.omitEmptyAndOptionalProperties||"type"in e&&("object"===e.type||"array"===e.type)||(e=>!!(e.allOf||e.oneOf||e.anyOf))(e)||"examples"in e&&Array.isArray(e.examples)&&e.examples.length>0||"example"in e&&void 0!==e.example||"default"in e&&void 0!==e.default||"const"in e&&void 0!==e.const||"enum"in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1
;const a=n??e.title??"",o=(e=>{if(!e)return;const t=PVe.get(e);if(t)return t
;if("required"in e){const t=e.required;if(Array.isArray(t)&&t.length>0){
const n=new Set(t);return PVe.set(e,n),n}}})(t);return!(o&&o.has(a))
},MVe=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&"object"==typeof e&&t&&"object"==typeof t?{
...e,...t
}:t,NVe=(e,t,{level:n=0,parentSchema:r,name:a,seen:o=new WeakSet}={})=>{
const i=SVe.schema(e);if(!$V(i))return;const s=HSe(XSe(i));if(o.has(s))return
;o.add(s);const l=(e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,
mode:e?.mode,variables:e?.variables,
omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties
}))(t),c=$Ve.get(s)?.get(l);if(typeof c<"u")return o.delete(s),c
;if(n>10)return o.delete(s),"[Max Depth Exceeded]";const u=!!t?.emptyString
;if(DVe(i,r,a,t))return void o.delete(s);if("x-variable"in i&&i["x-variable"]){
const e=t?.variables?.[i["x-variable"]]
;if(void 0!==e)return!("type"in i)||"number"!==i.type&&"integer"!==i.type?(o.delete(s),
IVe(i,e,l)):(o.delete(s),IVe(i,Number(e),l))}
if(Array.isArray(i.examples)&&i.examples.length>0)return o.delete(s),
IVe(i,i.examples[0],l)
;if(void 0!==i.example)return o.delete(s),IVe(i,i.example,l)
;if(void 0!==i.default)return o.delete(s),IVe(i,i.default,l)
;if(void 0!==i.const)return o.delete(s),IVe(i,i.const,l)
;if(Array.isArray(i.enum)&&i.enum.length>0)return o.delete(s),IVe(i,i.enum[0],l)
;if("properties"in i||"type"in i&&"object"===i.type){const e=((e,t,n,r,a)=>{
const o={};if("properties"in e&&e.properties){
const a=Object.keys(e.properties),i=n>3?Math.min(10,a.length):a.length
;for(let s=0;s<i;s++){const i=a[s],l=SVe.schema(e.properties[i]);if(!l)continue
;const c=t?.xml&&"xml"in l?l.xml?.name:void 0,u=NVe(l,t,{level:n+1,
parentSchema:e,name:i,seen:r});typeof u<"u"&&(o[c??i]=u)}
n>3&&a.length>10&&(o["..."]="[Additional Properties Truncated]")}
if("patternProperties"in e&&e.patternProperties)for(const i of Object.keys(e.patternProperties)){
const a=SVe.schema(e.patternProperties[i]);a&&(o[i]=NVe(a,t,{level:n+1,
parentSchema:e,name:i,seen:r}))}
if("additionalProperties"in e&&e.additionalProperties){
const a="boolean"==typeof e.additionalProperties?e.additionalProperties:SVe.schema(e.additionalProperties),i=!0===e.additionalProperties||"object"==typeof e.additionalProperties&&0===Object.keys(e.additionalProperties).length
;o["object"==typeof a&&"x-additionalPropertiesName"in a&&"string"==typeof a["x-additionalPropertiesName"]&&a["x-additionalPropertiesName"].trim().length>0?a["x-additionalPropertiesName"].trim():"additionalProperty"]=i?"anything":"object"==typeof a?NVe(a,t,{
level:n+1,seen:r}):"anything"}
if(e.oneOf?.[0])Object.assign(o,NVe(SVe.schema(e.oneOf[0]),t,{level:n+1,seen:r
}));else if(e.anyOf?.[0])Object.assign(o,NVe(SVe.schema(e.anyOf[0]),t,{
level:n+1,seen:r}));else if(Array.isArray(e.allOf)&&e.allOf.length>0){let a=o
;for(const o of e.allOf){const i=NVe(SVe.schema(o),t,{level:n+1,parentSchema:e,
seen:r});a=MVe(a,i)}a&&"object"==typeof a&&Object.assign(o,a)}
if(t?.xml&&"xml"in e&&e.xml?.name&&0===n){const t={}
;return t[e.xml.name]=o,IVe(e,t,a)}return IVe(e,o,a)})(i,t,n,o,l)
;return o.delete(s),e}if("type"in i&&"array"===i.type||"items"in i){
const e=((e,t,n,r,a)=>{
const o="items"in e?SVe.schema(e.items):void 0,i=o&&"object"==typeof o&&"xml"in o?o.xml?.name:void 0,s=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&i)
;if(void 0!==e.example)return IVe(e,s?{[i]:e.example}:e.example,a)
;if(o&&"object"==typeof o){if(Array.isArray(o.allOf)&&o.allOf.length>0){
const l=o.allOf.filter($V),c=SVe.schema(l[0])
;if(c&&"object"==typeof c&&"type"in c&&"object"===c.type){const o=NVe({
type:"object",allOf:l},t,{level:n+1,parentSchema:e,seen:r});return IVe(e,s?[{
[i]:o}]:[o],a)}const u=l.map((a=>NVe(SVe.schema(a),t,{level:n+1,parentSchema:e,
seen:r}))).filter($V);return IVe(e,s?u.map((e=>({[i]:e}))):u,a)}
const l=o.anyOf||o.oneOf;if(l&&l.length>0){const o=l[0],c=NVe(SVe.schema(o),t,{
level:n+1,parentSchema:e,seen:r});return IVe(e,s?[{[i]:c}]:[c],a)}}
const l=o&&"object"==typeof o&&("type"in o&&"object"===o.type||"properties"in o),c=o&&"object"==typeof o&&("type"in o&&"array"===o.type||"items"in o)
;if(o&&"object"==typeof o&&("type"in o&&o.type||l||c)){const l=NVe(o,t,{
level:n+1,seen:r});return IVe(e,s?[{[i]:l}]:[l],a)}return IVe(e,[],a)
})(i,t,n,o,l);return o.delete(s),e}const d=((e,t,n)=>{
if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":
return CVe(e,t,n??"");case"boolean":return!0;case"integer":case"number":
return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"array":return[]
;default:return}})(i,u,t?.emptyString)
;if(void 0!==d)return o.delete(s),IVe(i,d,l);const p=i.oneOf||i.anyOf
;if(Array.isArray(p)&&p.length>0){for(const e of p){const r=SVe.schema(e)
;if(r&&(!("type"in r)||"null"!==r.type))return o.delete(s),IVe(i,NVe(r,t,{
level:n+1,seen:o}),l)}return o.delete(s),IVe(i,null,l)}
if(Array.isArray(i.allOf)&&i.allOf.length>0){let e;const r=i.allOf
;for(const a of r){const r=NVe(a,t,{level:n+1,parentSchema:i,seen:o})
;void 0===e?e=r:e&&"object"==typeof e&&r&&"object"==typeof r?e=MVe(e,r):void 0!==r&&(e=r)
}return o.delete(s),IVe(i,e??null,l)}const h=((e,t,n)=>{
if("type"in e&&Array.isArray(e.type)){if(e.type.includes("null"))return null
;const r=e.type[0];if(r)switch(r){case"string":return CVe(e,t,n??"")
;case"boolean":return!0;case"integer":case"number":
return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"null":
return null;default:return}}})(i,u,t?.emptyString)
;return void 0!==h?(o.delete(s),IVe(i,h,l)):(o.delete(s),IVe(i,null,l))
},RVe=(e,t,n)=>{const r=e.content?.[t],a=xVe(e,n,t);if(a)return a
;const o=$Se(r?.schema);if(!o)return null;const i=NVe(o,{mode:"write"})
;return i?{value:i}:null};zc({uid:WG.brand(),name:cl().default(""),
value:cl().default(""),domain:cl().optional(),path:cl().optional()})
;const LVe=({cookie:e,url:t,disabledGlobalCookies:n})=>{
if(e.isDisabled||!0===n[e.name.toLowerCase()]||!e.name)return!1
;const r=new URL(t,"https://example.com");return!(e.domain&&!((e,t)=>{
if(!e||!t)return!0;try{
const n=e.startsWith("http")?e:`http://${e}`,r=new URL(n).hostname,a=!t,o=t===r,i=t.startsWith(".")&&t===`.${r}`,s=t.startsWith(".")&&r?.endsWith(t)
;return a||o||s||i}catch{return!1}
})(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))
},BVe=(e,t)=>"content"in t?jVe(e,Object.keys(t.content??{})[0]??""):"schema"in t?zVe(e,t.schema):e,jVe=(e,t)=>{
if("string"==typeof e&&t.includes("json"))try{return JSON.parse(e)}catch{}
return e
},UVe=new Set(["array","object","boolean","number","integer","null"]),zVe=(e,t)=>{
const n=$Se(t);if("string"==typeof e&&n&&"type"in n){
const t=Array.isArray(n.type)?n.type[0]:n.type;if(t&&UVe.has(t))try{
return JSON.parse(e)}catch{}}return e},ZVe=(e,t)=>{const n=t?.["x-disabled"]
;return"boolean"==typeof n?n:!e.required&&"path"!==e.in
},FVe=(e,t)=>"string"==typeof e?e:t.includes("json")||"object"==typeof e&&null!==e&&!Array.isArray(e)?JSON.stringify(e):String(e),HVe=(e,t)=>{
if(Array.isArray(e))return e.join(",");if("object"==typeof e&&null!==e){
const n=Object.entries(e)
;return t?n.map((([e,t])=>`${e}=${t}`)).join(","):n.map((([e,t])=>`${e},${t}`)).join(",")
}return e},QVe=(e,t)=>Array.isArray(e)&&t?e.map((e=>({key:"",value:e
}))):Array.isArray(e)?e.join(","):"object"==typeof e&&null!==e&&t?Object.entries(e).map((([e,t])=>({
key:e,value:t
}))):"object"==typeof e&&null!==e?Object.entries(e).map((([e,t])=>`${e},${t}`)).join(","):e,VVe=(e,t)=>{
if(Array.isArray(e)&&t)return e.map((e=>({key:"",value:e})))
;if(Array.isArray(e))return e.map((e=>null===e?"null":String(e))).join(",")
;if("object"==typeof e&&null!==e&&t)return Object.entries(e).map((([e,t])=>({
key:e,value:t})));if("object"==typeof e&&null!==e){const t=e=>{const n=[]
;for(const[r,a]of Object.entries(e))"object"!=typeof a||null===a||Array.isArray(a)?n.push(r,null===a?"null":String(a)):n.push(r,...t(a))
;return n};return t(e).join(",")}return e
},qVe=e=>Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e?Object.entries(e).map((([e,t])=>`${e} ${t}`)).join(" "):String(e),WVe=e=>Array.isArray(e)?e.join("|"):"object"==typeof e&&null!==e?Object.entries(e).flat().join("|"):String(e),XVe=(e,t)=>{
const n=[],r=(e,t)=>{for(const[a,o]of Object.entries(e)){const e=`${t}[${a}]`
;"object"!=typeof o||null===o||Array.isArray(o)?n.push({key:e,value:String(o)
}):r(o,e)}};return"object"==typeof t&&null!==t&&!Array.isArray(t)&&r(t,e),n
},GVe=(e,t)=>"explode"in e&&void 0!==e.explode?e.explode:t,YVe=(e,t,n,r)=>{
const a=!("explode"in e)||void 0===e.explode||e.explode,o=((e,t)=>"style"in e&&e.style?"deepObject"===e.style?PSe(t)?"deepObject":"form":e.style:"form")(e,n)
;if("content"in e&&e.content){
const a=Object.keys(e.content)[0]??"application/json",o=FVe(n,a)
;return void r.set(t,o)}if("deepObject"===o&&a){const e=XVe(t,n)
;for(const t of e)r.append(t.key,t.value);return}if("spaceDelimited"===o){
const e=qVe(n),a=r.get(t);return void r.set(t,a?`${a} ${e}`:e)}
if("pipeDelimited"===o){const e=WVe(n),a=r.get(t)
;return void r.set(t,a?`${a}|${e}`:e)}const i=QVe(n,a)
;if(Array.isArray(i))for(const s of i){const e=s.key||t
;r.append(e,String(s.value))}else r.append(t,String(i))},KVe=(e,t,n,r)=>{
const a=VVe(t,n);if(Array.isArray(a))for(const o of a){const t=o.key||e
;r.push(cZe(mze,{name:t,value:String(o.value),path:"/"}))}else r.push(cZe(mze,{
name:e,value:String(a),path:"/"}))},JVe="function"==typeof Buffer
;"function"==typeof TextDecoder&&new TextDecoder
;const eqe="function"==typeof TextEncoder?new TextEncoder:void 0,tqe=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")
;(e=>{let t={};e.forEach(((e,n)=>t[e]=n))})(tqe)
;const nqe=String.fromCharCode.bind(String)
;"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array)
;const rqe=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),aqe="function"==typeof btoa?e=>btoa(e):JVe?e=>Buffer.from(e,"binary").toString("base64"):e=>{
let t,n,r,a,o="";const i=e.length%3;for(let s=0;s<e.length;){
if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw new TypeError("invalid character found")
;t=n<<16|r<<8|a,o+=tqe[t>>18&63]+tqe[t>>12&63]+tqe[t>>6&63]+tqe[63&t]}
return i?o.slice(0,i-3)+"===".substring(i):o
},oqe=JVe?e=>Buffer.from(e).toString("base64"):e=>{let t=[]
;for(let n=0,r=e.length;n<r;n+=4096)t.push(nqe.apply(null,e.subarray(n,n+4096)))
;return aqe(t.join(""))},iqe=(e,t=!1)=>t?rqe(oqe(e)):oqe(e),sqe=e=>{
if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?nqe(192|t>>>6)+nqe(128|63&t):nqe(224|t>>>12&15)+nqe(128|t>>>6&63)+nqe(128|63&t)
;var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)
;return nqe(240|t>>>18&7)+nqe(128|t>>>12&63)+nqe(128|t>>>6&63)+nqe(128|63&t)
},lqe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,cqe=JVe?e=>Buffer.from(e,"utf8").toString("base64"):eqe?e=>oqe(eqe.encode(e)):e=>aqe(e.replace(lqe,sqe)),uqe=(e,t=!1)=>t?rqe(cqe(e)):cqe(e),dqe=(e,t)=>t.flatMap((t=>ZV(t).flatMap((t=>$Se(e?.[t])||[]))))??[],pqe=(e,t={},n="")=>{
const r={},a=[],o=new URLSearchParams;return e.forEach((e=>{
if("apiKey"===e.type){const i=VV(e.name,t),s=VV(e["x-scalar-secret-token"],t)||n
;"header"===e.in&&(r[i]=s),
"query"===e.in&&o.append(i,s),"cookie"===e.in&&a.push(cZe(mze,{name:i,value:s,
path:"/"}))}if("http"===e.type)if("basic"===e.scheme){
const n=`${VV(e["x-scalar-secret-username"],t)}:${VV(e["x-scalar-secret-password"],t)}`
;r.Authorization=`Basic ${":"===n?"username:password":uqe(n)}`}else{
const a=VV(e["x-scalar-secret-token"],t);r.Authorization=`Bearer ${a||n}`}
if("oauth2"===e.type){
const a=Object.values(e?.flows??{}),o=VV(a.filter($V).find((e=>e["x-scalar-secret-token"]))?.["x-scalar-secret-token"]??"",t)
;r.Authorization=`Bearer ${o||n}`}})),{headers:r,cookies:a,urlParams:o}
},hqe=({environment:e,exampleKey:t="default",globalCookies:n,method:r,operation:a,path:o,proxyUrl:i,server:s,selectedSecuritySchemes:l})=>{
try{const c=$Se(a.requestBody),u=fVe(e),d=((e=[],t={},n="default")=>{const r={
cookies:[],headers:{},pathVariables:{},urlParams:new URLSearchParams}
;if(0===e.length)return r;for(const a of e){const e=$Se(a),o=xVe(e,n,void 0)
;if(!o||ZVe(e,o))continue
;const i="string"==typeof o.value?VV(o.value,t):o.value,s=BVe(i,e),l=VV(e.name,t)
;switch(e.in){case"header":{
if("content-type"===l.toLowerCase()&&"multipart/form-data"===s)break
;const t=HVe(s,GVe(e,!1));if(!$V(t))break;const n=String(t)
;r.headers[l]?r.headers[l]=`${r.headers[l]},${n}`:r.headers[l]=n;break}
case"path":{const t=HVe(s,GVe(e,!1))
;r.pathVariables[l]=encodeURIComponent(String(t));break}case"query":
YVe(e,l,s,r.urlParams);break;case"cookie":KVe(l,s,GVe(e,!0),r.cookies)}}return r
})(a.parameters??[],u,t),p=pqe(l,u),h=yVe({method:r,operation:a,exampleKey:t,
hideDisabledHeaders:!0
}).filter((e=>!e.isOverridden)).reduce(((e,t)=>(e[t.name]=t.defaultValue,
e)),{}),f=new Headers({...h,...d.headers,...p.headers
}),m=new URLSearchParams([...d.urlParams,...p.urlParams]),g=NV(r)?((e,t={},n="default")=>{
if(!e)return null
;const r=e?.["x-scalar-selected-content-type"]?.[n]??Object.keys(e?.content??{})[0]??"application/json",a=RVe(e,r,n)
;if(!a)return null
;if(("multipart/form-data"===r||"application/x-www-form-urlencoded"===r)&&Array.isArray(a.value)){
const e=a.value.filter((e=>!e.isDisabled)),n="multipart/form-data"===r?new FormData:new URLSearchParams
;return e.forEach((({name:e,value:r})=>{if(!e)return;const a=VV(e,t)
;if(r instanceof File&&n instanceof FormData){const e=TAe(r)
;n.append(a,e,e.name)}else"string"==typeof r&&n.append(a,VV(r,t))})),n}
if("application/x-www-form-urlencoded"===r&&null!==a.value&&"object"==typeof a.value&&!Array.isArray(a.value)){
const e=new URLSearchParams
;for(const[n,r]of Object.entries(a.value))if(n&&null!=r){
const a=VV(n,t),o="string"==typeof r?r:String(r);e.append(a,VV(o,t))}return e}
return"object"==typeof a.value?VV(JSON.stringify(a.value),t):"string"==typeof a.value?VV(a.value,t):a.value
})(c,u,t):null
;g&&(g instanceof FormData||g instanceof URLSearchParams)&&f.delete("Content-Type")
;const v=gVe({environment:e,server:s,path:o,pathVariables:d.pathVariables,
urlParams:m});if(!v)throw pAe;const b=nq(i,v),y=tq(i,v),O=f.get("User-Agent")
;hVe()&&O&&f.set("X-Scalar-User-Agent",O)
;const w=(({paramCookies:e,globalCookies:t,env:n,originalCookieHeader:r,url:a,useCustomCookieHeader:o,disabledGlobalCookies:i})=>{
const s=t.filter((e=>LVe({cookie:e,url:a,disabledGlobalCookies:i
}))).map((e=>cZe(mze,{...e,name:VV(e.name,n),value:VV(e.value,n)}))),l=((e,t)=>{
const n=e.map((e=>`${e.name}=${e.value}`)).join("; ")
;return t&&n?`${t}; ${n}`:t||n||""})([...s,...e],r??void 0)
;return l?o?(console.warn("We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons."),
{name:"X-Scalar-Cookie",value:l
}):(console.warn("We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:\n\n - The browser URL must be on the same domain as the server URL.\n - The connection must be made over HTTPS.\n "),
{name:"Cookie",value:l}):null})({paramCookies:[...d.cookies,...p.cookies],
globalCookies:n,env:u,originalCookieHeader:f.get("Cookie"),url:v,
useCustomCookieHeader:hVe()||b,
disabledGlobalCookies:a["x-scalar-disable-parameters"]?.["global-cookies"]?.[t]??{}
});w&&f.set(w.name,w.value);const x=new AbortController;return[null,{
controller:x,isUsingProxy:b,request:new Request(y,{method:r.toUpperCase(),
headers:f,signal:x.signal,body:g})}]}catch(Ik){return[hAe(Ik,oAe),null]}
},fqe=e=>{const t=new Headers;if(e.headers.forEach((({name:e,value:n})=>{
t.append(e,n)})),e.cookies?.length){
const n=e.cookies.map((({name:e,value:t})=>`${e}=${t}`)).join("; ")
;t.append("Cookie",n)}return t},mqe=e=>{if(!e)return null
;const{params:t,text:n,mimeType:r}=e;if(t?.length){
const 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
},gqe=e=>"getSetCookie"in e&&"function"==typeof e.getSetCookie?e.getSetCookie():[],vqe=e=>{
const t=new Headers;return e.headers.forEach((({name:e,value:n})=>{t.append(e,n)
})),t},bqe=e=>{if(!e.content.text)return{body:null,data:"",size:0}
;const{text:t,encoding:n}=e.content;if(n)return{body:null,data:t,size:t.length}
;const r=(new TextEncoder).encode(t).buffer;return{body:r,data:t,
size:r.byteLength}
},yqe=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1))).join("-")
;var Oqe,wqe,xqe,kqe,Sqe,_qe,Aqe,Tqe,Eqe,Cqe={};function $qe(){
return Oqe||(Oqe=1,
Cqe.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),
Cqe.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/u,""),
Cqe.isHTTPWhitespaceChar=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,
Cqe.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),
Cqe.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),
Cqe.asciiLowercase=e=>e.replace(/[A-Z]/gu,(e=>e.toLowerCase())),
Cqe.collectAnHTTPQuotedString=(e,t)=>{let n="";for(t++;;){
for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)n+=e[t],++t;if(t>=e.length)break
;const r=e[t];if(++t,"\\"!==r)break;if(t>=e.length){n+="\\";break}n+=e[t],++t}
return[n,t]}),Cqe}const Pqe=qL(function(){if(Eqe)return Tqe;Eqe=1
;const e=function(){if(xqe)return wqe;xqe=1
;const{asciiLowercase:e,solelyContainsHTTPTokenCodePoints:t,soleyContainsHTTPQuotedStringTokenCodePoints:n}=$qe()
;return wqe=class{constructor(e){this._map=e}get size(){return this._map.size}
get(t){return t=e(String(t)),this._map.get(t)}has(t){
return t=e(String(t)),this._map.has(t)}set(r,a){
if(r=e(String(r)),a=String(a),!t(r))throw new Error(`Invalid MIME type parameter name "${r}": only HTTP token code points are valid.`)
;if(!n(a))throw new Error(`Invalid MIME type parameter value "${a}": only HTTP quoted-string token code points are valid.`)
;return this._map.set(r,a)}clear(){this._map.clear()}delete(t){
return t=e(String(t)),this._map.delete(t)}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]()}}}(),t=function(){if(Sqe)return kqe;Sqe=1
;const{removeLeadingAndTrailingHTTPWhitespace:e,removeTrailingHTTPWhitespace:t,isHTTPWhitespaceChar:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:a,asciiLowercase:o,collectAnHTTPQuotedString:i}=$qe()
;return kqe=s=>{s=e(s);let l=0,c="";for(;l<s.length&&"/"!==s[l];)c+=s[l],++l
;if(0===c.length||!r(c))return null;if(l>=s.length)return null;++l;let u=""
;for(;l<s.length&&";"!==s[l];)u+=s[l],++l
;if(u=t(u),0===u.length||!r(u))return null;const d={type:o(c),subtype:o(u),
parameters:new Map};for(;l<s.length;){for(++l;n(s[l]);)++l;let e=""
;for(;l<s.length&&";"!==s[l]&&"="!==s[l];)e+=s[l],++l;if(e=o(e),l<s.length){
if(";"===s[l])continue;++l}let c=null
;if('"'===s[l])for([c,l]=i(s,l);l<s.length&&";"!==s[l];)++l;else{
for(c="";l<s.length&&";"!==s[l];)c+=s[l],++l;if(c=t(c),""===c)continue}
e.length>0&&r(e)&&a(c)&&!d.parameters.has(e)&&d.parameters.set(e,c)}return d}
}(),n=function(){if(Aqe)return _qe;Aqe=1
;const{solelyContainsHTTPTokenCodePoints:e}=$qe();return _qe=t=>{
let n=`${t.type}/${t.subtype}`;if(0===t.parameters.size)return n
;for(let[r,a]of t.parameters)n+=";",
n+=r,n+="=",e(a)&&0!==a.length||(a=a.replace(/(["\\])/gu,"\\$1"),
a=`"${a}"`),n+=a;return n}
}(),{asciiLowercase:r,solelyContainsHTTPTokenCodePoints:a}=$qe()
;return Tqe=class{constructor(n){n=String(n);const r=t(n)
;if(null===r)throw new Error(`Could not parse MIME type string "${n}"`)
;this._type=r.type,this._subtype=r.subtype,this._parameters=new e(r.parameters)}
static parse(e){try{return new this(e)}catch(zw){return null}}get essence(){
return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){
if(0===(e=r(String(e))).length)throw new Error("Invalid type: must be a non-empty string")
;if(!a(e))throw new Error(`Invalid type ${e}: must contain only HTTP token code points`)
;this._type=e}get subtype(){return this._subtype}set subtype(e){
if(0===(e=r(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string")
;if(!a(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`)
;this._subtype=e}get parameters(){return this._parameters}toString(){
return n(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||0===this._parameters.size
;default:return!1}case"application":switch(this._subtype){case"ecmascript":
case"javascript":case"x-ecmascript":case"x-javascript":
return!e||0===this._parameters.size;default:return!1}default:return!1}}isXML(){
return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")
}isHTML(){return"html"===this._subtype&&"text"===this._type}}}()),Iqe={
"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 Dqe(e){const t=Iqe[e]
;return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"
}:void 0)}Object.entries(Iqe).filter((([,e])=>e?.raw)).map((([e])=>e))
;const Mqe=(e,t)=>{const n=new Pqe(t);return function(e){return!!Dqe(e)?.raw
}(n.essence)?new TextDecoder(n.parameters.get("charset")).decode(e):new Blob([e],{
type:n.essence})
},Nqe=[204,205,304],Rqe=async({isUsingProxy:e,operation:t,request:n,plugins:r})=>{
try{const{request:a}=await eq({request:n
},"beforeRequest",r),o=Date.now(),i=await fetch(a.clone()),s=Date.now(),l=s-o,c=i.headers.get("content-type"),u=((e,t=!1)=>{
const 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]))
;const r=Object.keys(n).find((e=>"x-scalar-modified-headers"===e.toLowerCase())),a=r?n[r]?.toString().split(", ")?.map((e=>e.toLowerCase()))??[]:[]
;return Object.keys(n).forEach((e=>{a.includes(e.toLowerCase())&&delete n[e]})),
r&&delete n[r],Object.keys(n).forEach((e=>{const t=/^x-scalar-original-/i
;if(t.test(e)){const r=e.replace(t,"");n[e]&&(n[r]=n[e],delete n[e])}
})),Object.keys(n).forEach((e=>{const t=yqe(e)
;e!==t&&n[e]&&(n[t]=n[e],delete n[e])
})),Object.fromEntries(Object.entries(n).sort((([e],[t])=>e.localeCompare(t))))
})(i.headers,e),d=new URL(i.url),p=d.pathname+d.search,h=i.statusText||BV[i.status]?.name||"",f=a.method,m=Nqe.includes(i.status)
;return c?.startsWith("text/event-stream")&&i.body?Lqe({response:i,
modifiedRequest:a,operation:t,plugins:r,endTime:s,duration:l,responseHeaders:u,
statusText:h,method:f,fullPath:p}):Bqe({response:i,modifiedRequest:a,
operation:t,plugins:r,endTime:s,duration:l,responseHeaders:u,statusText:h,
method:f,fullPath:p,contentType:c,shouldSkipBody:m})}catch(wk){
return[hAe(wk,dAe),null]}
},Lqe=async({response:e,modifiedRequest:t,operation:n,plugins:r,endTime:a,duration:o,responseHeaders:i,statusText:s,method:l,fullPath:c})=>{
const u=new Response(null,{status:e.status,statusText:s,headers:e.headers})
;await eq({response:u,request:t,operation:n},"responseReceived",r)
;const d=gqe(u.headers);return[null,{timestamp:a,request:t,response:{...u,
headers:i,cookieHeaderKeys:d,reader:e.body.getReader(),duration:o,method:l,
path:c},originalResponse:u.clone()}]
},Bqe=async({response:e,modifiedRequest:t,operation:n,plugins:r,endTime:a,duration:o,responseHeaders:i,statusText:s,method:l,fullPath:c,contentType:u,shouldSkipBody:d})=>{
const p=await e.clone().arrayBuffer(),h=Mqe(p,u??"text/plain;charset=UTF-8"),f=new Response(d?null:p,{
status:e.status,statusText:s,headers:e.headers});await eq({response:f,request:t,
operation:n},"responseReceived",r);const m=gqe(f.headers);return[null,{
timestamp:a,request:t,response:{...f,headers:i,cookieHeaderKeys:m,data:h,
size:p.byteLength,duration:o,method:l,status:e.status,path:c},
originalResponse:e.clone()}]},jqe={class:"relative flex items-center"},Uqe={
class:"flex items-center gap-1.5"},zqe={
class:"text-xxs line-clamp-1 max-w-[120px] text-left font-medium"},Zqe={
class:"overflow-hidden text-ellipsis"},Fqe={
class:"flex h-4 w-4 items-center justify-center"},Hqe={key:3,
class:"text-c-3 px-2 py-1.5 text-xs"},Qqe=Hg({__name:"EnvironmentSelector",
props:{environments:{default:()=>[]},activeEnvironment:{}},
emits:["select:environment","add:environment"],setup(e,{emit:t}){
const n=t,r=Ty((()=>!!e.activeEnvironment)),a=Ty((()=>e.environments.length>0)),o=Ty((()=>r.value?e.activeEnvironment:a.value?"Select Environment":"Add Environment")),i=Ty((()=>r.value?"bg-c-accent/10 text-c-accent hover:bg-c-accent/20 border-c-accent/30":a.value?"hover:bg-b-2 text-c-2 border-transparent":"hover:bg-b-2 text-c-3 border-transparent")),s=()=>{
n("add:environment")},l=e=>{n("select:environment",e)}
;return(t,n)=>(Fb(),qb("div",jqe,[ey(xm(X2),null,{
items:ig((()=>[r.value?(Fb(),Wb(xm(Eoe),{key:0,
class:"group/item flex w-full items-center gap-1.5",
onClick:n[0]||(n[0]=zO((e=>l("")),["stop"]))},{default:ig((()=>[Jb("div",{
class:Dh(["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"])
},[ey(xm(Pre),{class:"size-2.5",icon:"Checkmark",thickness:"3"
})],2),n[1]||(n[1]=Jb("span",{class:"text-c-2"},"No Environment",-1))])),_:1
})):oy("",!0),r.value&&a.value?(Fb(),Wb(xm(uae),{key:1
})):oy("",!0),(Fb(!0),qb(Lb,null,Sv(e.environments,(t=>(Fb(),Wb(xm(Eoe),{key:t,
class:"group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
onClick:zO((e=>l(t)),["stop"])},{default:ig((()=>[Jb("div",{
class:Dh(["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"])
},[ey(xm(Pre),{class:"size-2.5",icon:"Checkmark",thickness:"3"
})],2),Jb("span",Zqe,Uh(t),1)])),_:2
},1032,["onClick"])))),128)),a.value?(Fb(),Wb(xm(uae),{key:2
})):oy("",!0),ey(xm(Eoe),{class:"text-c-accent flex items-center gap-1.5",
onClick:s},{default:ig((()=>[Jb("div",Fqe,[ey(xm(Pre),{icon:"Add",size:"sm"
})]),Jb("span",null,Uh(a.value?"New Environment":"Create Environment"),1)])),_:1
}),a.value||r.value?oy("",!0):(Fb(),qb("div",Hqe,[...n[2]||(n[2]=[Jb("p",{
class:"mb-1"
}," Environments let you manage variables like API keys and base URLs across different contexts. ",-1)])]))])),
default:ig((()=>[ey(xm(O_),{"aria-label":`Current environment: ${o.value}`,
class:Dh(["line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors",i.value]),
size:"sm",variant:"ghost"},{default:ig((()=>[Jb("div",Uqe,[ey(xm(Pre),{
class:Dh(["shrink-0",r.value?"text-c-accent":"text-c-3"]),icon:"Globe",size:"sm"
},null,8,["class"]),Jb("span",zqe,Uh(o.value),1),ey(xm(Pre),{class:"shrink-0",
icon:"ChevronDown",size:"xs"})])])),_:1},8,["aria-label","class"])])),_:1})]))}
});function Vqe(e={}){const{notify:t=e=>n(e,"info")}=e,{toast:n}=gUe();return{
copyToClipboard:async function(e){try{
const n=(e=>void 0===e?"undefined":"string"==typeof e?e:JSON.stringify(e))(e)
;await navigator.clipboard.writeText(n),t("Copied to the clipboard")}catch(zw){
const n=zw;console.error(n.message),t("Failed to copy to clipboard")}}}}
const qqe=()=>{const e=bm(100),t=bm(0),n=bm(!1),r=bm(),a=()=>{
n.value?e.value-=(e.value-15)/60:e.value-=t.value/20,
e.value<=0&&(clearInterval(r.value),r.value=void 0,e.value=100,n.value=!1)}
;return{startLoading:()=>{
r.value?n.value=!0:(n.value=!0,r.value=setInterval(a,20))},stopLoading:()=>{
t.value=e.value,n.value=!1},percentage:e,isLoading:n}},Wqe=Hg({
name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],
setup(e,{emit:t}){const n=t;return mg((()=>e.value),(e=>n("change",e)),{
immediate:!0}),pv((()=>n("unmount"))),(e,t)=>null}}),Xqe={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"}},Gqe=e=>Xqe[e]||{color:"text-grey"},Yqe={class:"min-w-0"
},Kqe={class:"text-c-1 min-w-0 truncate"},Jqe=Hg({__name:"AddressBarHistory",
props:{target:{},history:{}},emits:["select:history:item","update:open"],
setup(e,{emit:t}){const n=t;return(t,r)=>(Fb(),Wb(xm(vk),{as:"div"},{
default:ig((({open:t})=>[ey(Wqe,{value:t,
onChange:r[0]||(r[0]=e=>n("update:open",e)),
onUnmount:r[1]||(r[1]=e=>n("update:open",!1))},null,8,["value"]),ey(xm(YJ),{
offset:0,resize:"",target:e.target},_v({default:ig((()=>[e.history.length?(Fb(),
Wb(xm(bk),{key:0,
class:"address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"
},{default:ig((()=>[ey(xm(Pre),{icon:"History",size:"sm",thickness:"2.25"
}),r[2]||(r[2]=Jb("span",{class:"sr-only"},"Request History",-1))])),_:1
})):oy("",!0)])),_:2},[t?{name:"floating",fn:ig((({width:t})=>[ey(xm(yk),{
class:"custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center p-0.75",
static:"",style:Eh({width:t})},{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.history,((e,t)=>(Fb(),Wb(xm(Ok),{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:ig((()=>[ey(xm(Uke),{class:"text-[11px]",method:e.method
},null,8,["method"]),Jb("div",Yqe,[Jb("div",Kqe,Uh(e.path),1)]),Jb("div",null,Uh(xm(zke)(e.duration)),1),Jb("div",{
class:Dh([xm(Gqe)(e.status).color])
},Uh(e.status),3),Jb("div",null,Uh(xm(BV)[e.status]?.name),1)])),_:2
},1032,["value","onClick"])))),128))])),_:1},8,["style"]),ey(xm(KJ),{
class:"inset-x-px rounded-none rounded-b-lg"})])),key:"0"
}:void 0]),1032,["target"])])),_:1}))}
}),eWe=Hoe(Jqe,[["__scopeId","data-v-c15c6573"]]),tWe=["aria-expanded"],nWe={
class:"overflow-hidden text-ellipsis whitespace-nowrap"},rWe=["id"],aWe={key:0
},oWe={class:"description text-c-3 px-3 py-1.5"},iWe=Hg({
__name:"ServerDropdownItem",props:{server:{},serverOption:{}},
emits:["update:variable","update:selectedServer"],setup(e,{emit:t}){
const n=t,r=Qg(),a=Ty((()=>e.serverOption.id===e.server?.url)),o=Ty((()=>a.value&&Object.keys(e.server?.variables??{}).length>0))
;return(t,i)=>(Fb(),qb("div",{
class:Dh(["group/item flex min-h-fit flex-col rounded border",{
"border-transparent":!a.value}])},[Jb("button",cy(o.value?{"aria-controls":xm(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]||(i[0]=e=>n("update:selectedServer"))}),[ey(xm(sK),{
selected:a.value
},null,8,["selected"]),Jb("span",nWe,Uh(e.serverOption.label),1)],16,tWe),o.value?(Fb(),
qb("div",{key:0,id:xm(r),
class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",
onClick:i[2]||(i[2]=zO((()=>{}),["stop"]))},[ey(DAe,{
variables:e.server?.variables,
"onUpdate:variable":i[1]||(i[1]=(e,t)=>n("update:variable",e,t))
},null,8,["variables"]),e.server?.description?(Fb(),
qb("div",aWe,[Jb("div",oWe,[ey(xm(Gre),{value:e.server.description
},null,8,["value"])])])):oy("",!0)],8,rWe)):oy("",!0)],2))}
}),sWe=Hoe(iWe,[["__scopeId","data-v-1b7a32a4"]]),lWe=["onClick"],cWe={
class:"flex items-center justify-center"},uWe=Hg({__name:"ServerDropdown",
props:{servers:{},server:{},target:{},layout:{}},
emits:["update:selectedServer","update:variable","update:servers","update:open"],
setup(e,{emit:t}){const n=t,r=Ty((()=>e.servers.map((e=>({id:e.url,
label:e.url??"Unknown server"
}))))),a=Ty((()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||""))
;return(t,o)=>(Fb(),Wb(xm(vae),{class:"max-h-[inherit] p-0 text-base",focus:"",
offset:0,placement:"bottom",resize:"",target:e.target,teleport:`#${e.target}`},{
popover:ig((({close:t})=>[Jb("div",{
class:"custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",onClick:t
},[(Fb(!0),qb(Lb,null,Sv(r.value,((t,r)=>(Fb(),Wb(sWe,{key:t.id,server:e.server,
serverOption:t,type:"request",
"onUpdate:selectedServer":e=>n("update:selectedServer",{url:t.id}),
"onUpdate:variable":(e,t)=>n("update:variable",{index:r,key:e,value:t})
},null,8,["server","serverOption","onUpdate:selectedServer","onUpdate:variable"])))),128)),"modal"!==e.layout?(Fb(),
qb("button",{key:0,
class:"text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",
type:"button",onClick:o[0]||(o[0]=e=>n("update:servers"))
},[Jb("div",cWe,[ey(xm(RC),{class:"size-4"
})]),o[5]||(o[5]=Jb("span",null,"Update Servers",-1))])):oy("",!0)],8,lWe)])),
backdrop:ig((({open:e})=>[ey(Wqe,{value:e,
onChange:o[1]||(o[1]=e=>n("update:open",e)),
onUnmount:o[2]||(o[2]=e=>n("update:open",!1))},null,8,["value"]),ey(xm(KJ),{
class:"inset-x-px rounded-none rounded-b-lg"})])),default:ig((()=>[ey(xm(O_),{
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:ig((()=>[e.server?(Fb(),qb(Lb,{key:0
},[o[3]||(o[3]=Jb("span",{class:"sr-only"
},"Server:",-1)),ry(" "+Uh(a.value),1)],64)):(Fb(),qb(Lb,{key:1
},[o[4]||(o[4]=Jb("span",{class:"sr-only"},"Add Server",-1)),ey(xm(GC),{
class:"size-3"})],64))])),_:1})])),_:1},8,["target","teleport"]))}}),dWe={
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"
},pWe={class:"text-c-1 whitespace-nowrap"},hWe={
class:"text-c-1 overflow-hidden text-ellipsis"},fWe={
class:"overflow-hidden text-ellipsis"},mWe={
class:"flex h-4 w-4 items-center justify-center"},gWe=Hg({
__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}){
const n=e,r=t,a=Ty((()=>n.value??[])),o=bm(!1),i=bm(""),s=bm(null);mg(i,(e=>{
r("update:modelValue",e)}));const l=e=>{r("update:modelValue",e),o.value=!1
},c=()=>{i.value.trim()&&l(i.value)},u=()=>{
i.value.trim()||r("update:modelValue",""),o.value=!1
},d=e=>n.modelValue.toString()===e;mg(o,(e=>{e&&Xm((()=>{s.value?.focus()}))}))
;const p=Ty((()=>void 0!==n.modelValue?n.modelValue:n.default)),h=Ty((()=>a.value.map((e=>{
const t=e.toString();return{id:t,label:t,value:t}})))),f=Ty((()=>{
const e=new Set(n.modelValue.toString().split(","))
;return h.value.filter((t=>e.has(t.id)))})),m=e=>{const t=e.map((e=>e.value))
;r("update:modelValue",t.join(","))}
;return(t,n)=>(Fb(),qb("div",dWe,["array"===e.type?(Fb(),Wb(xm(t0),{key:0,
modelValue:f.value,options:h.value,"onUpdate:modelValue":m},{
default:ig((()=>[ey(xm(O_),{
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:ig((()=>[Jb("span",pWe,Uh(f.value.length>0?f.value.map((e=>e.label)).join(", "):"Select a value"),1),ey(xm(Pre),{
class:"min-w-4",icon:"ChevronDown",size:"md"})])),_:1})])),_:1
},8,["modelValue","options"])):o.value?sg((Fb(),qb("input",{key:1,
ref_key:"inputRef",ref:s,"onUpdate:modelValue":n[0]||(n[0]=e=>i.value=e),
class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",
placeholder:"Value",type:"text",onBlur:u,onKeyup:FO(c,["enter"])
},null,544)),[[CO,i.value]]):(Fb(),Wb(xm(X2),{key:2,resize:"",value:p.value},{
items:ig((()=>[(Fb(!0),qb(Lb,null,Sv(a.value,(e=>(Fb(),Wb(xm(Eoe),{key:e,
class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
value:e,onClick:t=>l(e)},{default:ig((()=>[Jb("div",{
class:Dh(["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"])
},[ey(xm(Pre),{class:"size-2.5",icon:"Checkmark",thickness:"3"
})],2),Jb("span",fWe,Uh(e),1)])),_:2
},1032,["value","onClick"])))),128)),e.canAddCustomValue?(Fb(),qb(Lb,{key:0
},[a.value.length?(Fb(),Wb(xm(uae),{key:0})):oy("",!0),ey(xm(Eoe),{
class:"flex items-center gap-1.5",onClick:n[1]||(n[1]=e=>o.value=!0)},{
default:ig((()=>[Jb("div",mWe,[ey(xm(Pre),{icon:"Add",size:"sm"
})]),n[2]||(n[2]=Jb("span",null,"Add value",-1))])),_:1})],64)):oy("",!0)])),
default:ig((()=>[ey(xm(O_),{
class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",
variant:"ghost"},{
default:ig((()=>[Jb("span",hWe,Uh(p.value??"Select a value"),1),ey(xm(Pre),{
icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["value"]))]))}}),vWe={key:0,
class:"gap-1/2 flex flex-col"},bWe=["onClick"],yWe={
class:"flex items-center gap-2 whitespace-nowrap"},OWe={
class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"
},wWe=Hg({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},
dropdownPosition:{}},emits:["select","redirect"],setup(e,{expose:t,emit:n}){
const r=n,a=bm(!0),o=bm(null),i=bm(0),s=()=>{r("redirect"),a.value=!1
},l=Ty((()=>e.environment.variables.map((e=>({key:e.name,
value:"string"==typeof e.value?e.value:e.value.default}))))),c=new Tke(l.value,{
keys:["key","value"]}),u=Ty((()=>{
if(!e.query)return l.value.slice(-4).filter((({key:e,value:t})=>""!==e||""!==t))
;const t=c.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=>{
const t="up"===e?-1:1,n=u.value.length;0!==n&&(i.value=(i.value+t+n)%n)},
handleSelect:()=>{if(i.value>=0){const e=u.value[i.value];e&&d(e.key)}}
}),cv((()=>{i.value=0}));const p=Ty((()=>({
left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"
})));return OY(o,(()=>{a.value=!1}),{ignore:[o]
}),(t,n)=>a.value?(Fb(),Wb(xm(GJ),{key:0,class:"scalar-client"},{
default:ig((()=>[Jb("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:Eh(p.value)
},[u.value.length?(Fb(),qb("ul",vWe,[(Fb(!0),qb(Lb,null,Sv(u.value,((t,n)=>(Fb(),
qb("li",{key:t.key,
class:Dh(["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===i.value}]),onClick:e=>d(t.key)},[Jb("div",yWe,[Jb("span",{
class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:Eh({
backgroundColor:e.environment.color})
},null,4),ry(" "+Uh(t.key),1)]),Jb("span",OWe,Uh(t.value),1)],10,bWe)))),128))])):(Fb(),
Wb(xm(O_),{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:ig((()=>[ey(xm(GC),{class:"size-3"
}),n[0]||(n[0]=ry(" Add Variable ",-1))])),_:1})),n[1]||(n[1]=Jb("div",{
class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"
},null,-1))],4)])),_:1})):oy("",!0)}});let xWe=class e extends Gle{
constructor(e,t){
super(),this.variableName=e,this.pillColor=t?.color||"var(--scalar-color-1)"
;const n=t?.variables?.find((t=>t.name===e)),r=n?"string"==typeof n.value?n.value:n.value?.default:void 0
;this.variableInfo={value:r||"No value",hasValue:!!r}}app;pillColor;variableInfo
;toDOM(){const e=document.createElement("span")
;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";const t=Hg({render:()=>{
const e=Ey("div",{class:"flex items-center gap-1 whitespace-nowrap"
},[Ey("span",this.variableName)]);return Ey(koe,{
content:this.variableInfo.value,delay:0,placement:"bottom",offset:6},{
default:()=>e})}});return this.app=WO(t),this.app.mount(e),e}destroy(){
this.app&&(this.app.unmount(),this.app=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}};const kWe=e=>Wce.fromClass(class{decorations
;lastEnvironment;constructor(t){
this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}
update(t){
if(e.environment!==this.lastEnvironment)return this.lastEnvironment=e.environment,
void(this.decorations=this.buildDecorations(t.view))
;(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))
}buildDecorations(t){const n=new Tse;for(const{from:r,to:a}of t.visibleRanges){
const o=t.state.doc.sliceString(r,a),i=new RegExp(FV.VARIABLES.source,FV.VARIABLES.flags)
;let s;for(;null!==(s=i.exec(o));){const a=r+s.index,o=a+s[0].length,i=s[1]??""
;t.state.doc.sliceString(a,o).includes("\n")||n.add(a,o,Kle.widget({
widget:new xWe(i,e.environment),side:1}))}}return n.finish()}},{
decorations:e=>e.decorations}),SWe=Vde.domEventHandlers({keydown(e,t){
if("Backspace"!==e.key)return!1;const{state:n}=t,{from:r,to:a}=n.selection.main
;return 0===r&&a===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},
selection:{anchor:0}
}),e.preventDefault(),!0):r===a&&r>=2&&"}}"===n.doc.sliceString(r-2,r)&&(t.dispatch({
changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0)}}),_We={
class:"whitespace-nowrap"},AWe=["id"],TWe={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"},EWe={key:5,class:"centered-y text-orange absolute right-7 text-xs"
},CWe={key:6,
class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"
},$We={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"
},PWe=Hg({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","blur","redirectToEnvironment"],
setup(e,{expose:t,emit:n}){
const r=n,a=Mv(),o=a.id||`id-${qG()}`,i=bm(!1),s=Ty((()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean")))),l=Ty((()=>e.nullable?["true","false","null"]:["true","false"])),c=Ty((()=>Array.isArray(e.type)?e.type.find((e=>"null"!==e))??"string":e.type)),u=t=>{
!e.alwaysEmitChange&&t===b(e.modelValue)||(e.handleFieldChange?e.handleFieldChange(t):r("update:modelValue",t))
},d=t=>{e.handleFieldSubmit?e.handleFieldSubmit(t):r("submit",t)},p=t=>{
i.value=!1,e.emitOnBlur&&e.modelValue&&d(t),r("blur",t)
},h=e=>r("update:modelValue",e),f=()=>{const t=[...e.extensions]
;return e.colorPicker&&t.push(vge),t},m=Ty((()=>kWe({environment:e.environment,
isReadOnly:"modal"===e.layout
}))),g=Ty((()=>[...f(),m.value,SWe])),v=bm(null),b=e=>"string"==typeof e?e:JSON.stringify(e),{codeMirror:y}=Ixe({
content:Pm((()=>b(e.modelValue))),onChange:e=>{u(e),_()},onFocus:()=>{i.value=!0
},onBlur:p,codeMirrorRef:v,disableTabIndent:Pm((()=>e.disableTabIndent)),
disableEnter:Pm((()=>e.disableEnter)),
disableCloseBrackets:Pm((()=>e.disableCloseBrackets)),
lineNumbers:Pm((()=>e.lineNumbers)),language:Pm((()=>e.language)),
lint:Pm((()=>e.lint)),extensions:g,placeholder:Pm((()=>e.placeholder))})
;mg(y,(()=>{y.value&&Object.hasOwn(a,"autofocus")&&y.value.focus()}))
;const O=bm(!1),w=bm(""),x=bm({left:0,top:0
}),k=bm(null),{handleDropdownSelect:S,updateDropdownVisibility:_}=function(e){
const{codeMirror:t,query:n,showDropdown:r,dropdownPosition:a}=e;function o(){
return t.value?.state.selection.main.head||0}function i(e){
return t.value?.coordsAtPos(e)}function s(){const e=o()
;requestAnimationFrame((()=>{const t=i(e-n.value.length-2);t&&(a.value={
left:t.left,top:Math.max(t.bottom)})}))}function l(){
const e=o(),l=t.value?.state.doc.sliceString(0,e)||"",c=l.lastIndexOf("{{")
;c>l.lastIndexOf("}}")?(n.value=l.slice(c+2),r.value=!0,a.value=i(e)||{left:0,
top:0},""===n.value&&s()):r.value=!1}
return mg(n,s),mg((()=>t.value?.state.doc.toString()),l),{
handleDropdownSelect:function(e){
const a=`{{${e}}}`,i=o(),s=Math.max(0,i-n.value.length-2),l=i
;t.value?.dispatch({changes:{from:s,to:l,insert:a}}),r.value=!1},
updateDropdownVisibility:l}}({codeMirror:y,query:w,showDropdown:O,
dropdownPosition:x
}),A=Ty((()=>O.value&&e.withVariables&&"modal"!==e.layout&&!!e.environment)),T=(t,n)=>{
O.value?"down"===t||"up"===t?(n.preventDefault(),
k.value?.handleArrowKey(t)):"enter"===t&&(n.preventDefault(),
k.value?.handleSelect()):("escape"===t&&!e.disableTabIndent&&n.stopPropagation(),
"enter"===t&&n.target instanceof HTMLDivElement&&d(n.target.textContent??""))}
;return t({focus:e=>{if(!y.value||(y.value.focus(),!$V(e)))return
;const t="start"===e?0:"end"===e?y.value.state.doc.length:e;y.value.dispatch({
selection:{anchor:t},scrollIntoView:!0})},isFocused:i,handleChange:u,
handleSubmit:d,handleBlur:p,booleanOptions:l,codeMirror:y,
modelValue:e.modelValue,cursorPosition:()=>y.value?.state.selection.main.head,
serializeValue:b}),(t,n)=>(Fb(),qb(Lb,null,[e.disabled?(Fb(),qb("div",{key:0,
class:Dh(["text-c-2 flex cursor-default items-center justify-center",{
"font-code pr-2 pl-1 text-base":"modal"===e.layout,"px-2":"modal"!==e.layout,
"line-through":e.linethrough}]),"data-testid":"code-input-disabled"
},[Jb("span",_We,Uh(e.modelValue),1)],2)):e.enum?.length?(Fb(),Wb(gWe,{key:1,
default:e.default,modelValue:e.modelValue,type:c.value,value:e.enum,
"onUpdate:modelValue":h
},null,8,["default","modelValue","type","value"])):s.value?(Fb(),Wb(gWe,{key:2,
default:e.default,modelValue:e.modelValue,value:l.value,"onUpdate:modelValue":h
},null,8,["default","modelValue","value"])):e.examples?.length?(Fb(),Wb(gWe,{
key:3,default:e.default,modelValue:e.modelValue,value:e.examples,
"onUpdate:modelValue":h
},null,8,["default","modelValue","value"])):(Fb(),qb("div",cy({key:4,id:xm(o)
},t.$attrs,{ref_key:"codeMirrorRef",ref:v,
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]||(n[0]=FO(zO((e=>T("down",e)),["stop"]),["down"])),n[1]||(n[1]=FO((e=>T("enter",e)),["enter"])),n[2]||(n[2]=FO((e=>T("escape",e)),["escape"])),n[3]||(n[3]=FO(zO((e=>T("up",e)),["stop"]),["up"]))]
}),[e.disableTabIndent?oy("",!0):(Fb(),
qb("div",TWe,[...n[5]||(n[5]=[ry(" Press ",-1),Jb("kbd",{
class:"-mx-0.25 rounded border px-0.5 font-mono"
},"Esc",-1),ry(" then ",-1),Jb("kbd",{
class:"-mx-0.25 rounded border px-0.5 font-mono"
},"Tab",-1),ry(" to exit ",-1)])]))],16,AWe)),t.$slots.warning?(Fb(),
qb("div",EWe,[Av(t.$slots,"warning",{},void 0,!0)])):oy("",!0),t.$slots.icon?(Fb(),
qb("div",CWe,[Av(t.$slots,"icon",{},void 0,!0)])):oy("",!0),e.required?(Fb(),
qb("div",$We," Required ")):oy("",!0),A.value&&e.environment?(Fb(),Wb(wWe,{
key:8,ref_key:"dropdownRef",ref:k,dropdownPosition:x.value,
environment:e.environment,query:w.value,
onRedirect:n[4]||(n[4]=e=>r("redirectToEnvironment")),onSelect:xm(S)
},null,8,["dropdownPosition","environment","query","onSelect"])):oy("",!0)],64))
}}),IWe=Hoe(PWe,[["__scopeId","data-v-a0bd2752"]]),DWe=["id"],MWe={
class:"flex gap-1"},NWe={
class:"scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal"
},RWe={key:0,
class:"absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"
},LWe={
class:"text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1"
},BWe={class:"min-w-0 flex-1"},jWe={"aria-hidden":"true",
class:"inline-flex items-center gap-1"},UWe={class:"sr-only"},zWe=Hg({
__name:"AddressBar",props:{path:{},method:{},server:{},servers:{},history:{},
layout:{},eventBus:{},environment:{}},
emits:["execute","update:servers","select:history:item"],
setup(e,{expose:t,emit:n}){
const r=n,a=Qg(),{percentage:o,startLoading:i,stopLoading:s,isLoading:l}=qqe(),c=Ty((()=>({
backgroundColor:`color-mix(in srgb, transparent 90%, ${RV[e.method].colorVar})`,
transform:`translate3d(-${o.value}%,0,0)`
}))),u=bm(null),d=bm(null),p=Ty((()=>d.value||u.value)),h=(t,n,r)=>{
const a=v.value?.cursorPosition()
;e.eventBus.emit("operation:update:pathMethod",{meta:{method:e.method,
path:e.path},payload:{method:t,path:n},callback:r=>{
("success"===r||"no-change"===r)&&(d.value=null,
u.value=null),"success"===r?e.eventBus.emit("ui:focus:address-bar",{position:a
}):"conflict"===r&&(t!==e.method&&(d.value=t),n!==e.path&&(u.value=n))}},r)
},f=t=>h(t,u.value??e.path),m=t=>{const n=t.startsWith("/")?t:`/${t}`
;h(d.value??e.method,n,{
debounceKey:`operation:update:pathMethod-${e.path}-${e.method}`})
},g=qg("sendButtonRef"),v=qg("addressBarRef"),b=()=>g.value?.$el?.focus(),y=t=>{
if(v.value?.isFocused&&"desktop"!==e.layout)return
;const n=t&&"position"in t?t.position:"end"
;v.value?.focus(n),t&&"event"in t&&t.event.preventDefault()};cv((()=>{
e.eventBus.on("ui:focus:address-bar",y),e.eventBus.on("ui:focus:send-button",b),
e.eventBus.on("hooks:on:request:sent",i),
e.eventBus.on("hooks:on:request:complete",s)})),pv((()=>{
e.eventBus.off("ui:focus:address-bar",y),
e.eventBus.off("ui:focus:send-button",b),
e.eventBus.off("hooks:on:request:sent",i),
e.eventBus.off("hooks:on:request:complete",s),s()}))
;const{copyToClipboard:O}=Vqe(),w=async()=>{await O(gVe({
environment:e.environment,server:e.server,path:e.path,pathVariables:{}}))
},x=bm(!1),k=bm(!1),S=Ty((()=>x.value||k.value));return t({methodConflict:d,
pathConflict:u}),(t,n)=>(Fb(),qb("div",{id:xm(a),
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"
},[Jb("div",{
class:Dh(["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":p.value,"rounded-b-none":S.value}])},[Jb("div",{
class:Dh(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border",{
"rounded-b-none":S.value}])},[Jb("div",{
class:"absolute top-0 left-0 h-full w-full",style:Eh(c.value)
},null,4)],2),Jb("div",MWe,[ey(xm(Uke),{isEditable:"modal"!==e.layout,
isSquare:"",method:d.value??e.method,teleport:"",onChange:f
},null,8,["isEditable","method"])]),Jb("div",NWe,[e.servers.length?(Fb(),
Wb(xm(uWe),{key:0,layout:e.layout,server:e.server,servers:e.servers,
target:xm(a),"onUpdate:open":n[0]||(n[0]=e=>x.value=e),
"onUpdate:selectedServer":n[1]||(n[1]=t=>e.eventBus.emit("server:update:selected",t)),
"onUpdate:servers":n[2]||(n[2]=e=>r("update:servers")),
"onUpdate:variable":n[3]||(n[3]=t=>e.eventBus.emit("server:update:variables",t))
},null,8,["layout","server","servers","target"])):oy("",!0),n[8]||(n[8]=Jb("div",{
class:"fade-left"},null,-1)),ey(xm(IWe),{ref_key:"addressBarRef",ref:v,
alwaysEmitChange:"","aria-label":"Path",class:"min-w-fit outline-none",
disableCloseBrackets:"",disabled:"modal"===e.layout,disableEnter:"",
disableTabIndent:"",emitOnBlur:!1,environment:e.environment,importCurl:"",
layout:e.layout,modelValue:e.path,placeholder:e.server?"":"Enter a URL",
server:"",onSubmit:n[4]||(n[4]=e=>r("execute")),"onUpdate:modelValue":m
},null,8,["disabled","environment","layout","modelValue","placeholder"]),n[9]||(n[9]=Jb("div",{
class:"fade-right"},null,-1))]),ey(xm(O_),{class:"hover:bg-b-3 mx-1",size:"xs",
variant:"ghost",onClick:w},{
default:ig((()=>[ey(xm(HA)),n[10]||(n[10]=Jb("span",{class:"sr-only"
},"Copy URL",-1))])),_:1}),ey(eWe,{history:e.history,target:xm(a),
"onSelect:history:item":n[5]||(n[5]=e=>r("select:history:item",e)),
"onUpdate:open":n[6]||(n[6]=e=>k.value=e)
},null,8,["history","target"]),p.value?(Fb(),
qb("div",RWe,[Jb("div",LWe,[ey(xm(pP),{size:"sm"
}),Jb("div",BWe,[n[11]||(n[11]=ry(" A ",-1)),Jb("em",null,Uh(d.value?.toUpperCase()??e.method.toUpperCase()),1),n[12]||(n[12]=ry(" request to ",-1)),ey(xm(Aoe),{
text:u.value??e.path
},null,8,["text"]),n[13]||(n[13]=ry(" already exists in this document ",-1))])])])):oy("",!0),ey(xm(O_),{
ref_key:"sendButtonRef",ref:g,
class:"relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
disabled:xm(l),onClick:n[7]||(n[7]=e=>r("execute"))},{
default:ig((()=>[Jb("span",jWe,[ey(xm(Pre),{
class:"relative shrink-0 fill-current",icon:"Play",size:"xs"
}),n[14]||(n[14]=Jb("span",{class:"text-xxs hidden lg:flex"
},"Send",-1))]),Jb("span",UWe," Send "+Uh(e.method)+" request to "+Uh(e.server?.url??"")+Uh(e.path),1)])),
_:1},8,["disabled"])],2)],8,DWe))}
}),ZWe=Hoe(zWe,[["__scopeId","data-v-791e0491"]]),FWe={
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"
},HWe={
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"
},QWe=Hg({__name:"Header",props:{path:{},method:{},layout:{},hideClientButton:{
type:Boolean,default:!1},integration:{},documentUrl:{},source:{},server:{},
servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},
environment:{}},
emits:["execute","update:servers","select:history:item","add:environment"],
setup(e,{emit:t}){const n=t,r=t=>{
e.eventBus.emit("workspace:update:active-environment",t)},a=()=>{
e.eventBus.emit("ui:navigate",{page:"workspace",path:"environment"})}
;return(t,o)=>(Fb(),qb("div",FWe,[o[8]||(o[8]=Jb("div",{
class:"mb-2 flex w-1/2 flex-row items-center gap-1 lg:mb-0 lg:flex-1 lg:px-1"
},[Jb("div",{class:"size-8"})],-1)),ey(xm(ZWe),{
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,servers:e.servers,
"onAdd:environment":o[0]||(o[0]=e=>n("add:environment")),
onExecute:o[1]||(o[1]=e=>n("execute")),
"onSelect:history:item":o[2]||(o[2]=e=>n("select:history:item",e)),
"onUpdate:servers":o[3]||(o[3]=e=>n("update:servers"))
},null,8,["activeEnvironment","environment","environments","eventBus","history","layout","method","path","server","servers"]),Jb("div",HWe,["modal"!==e.layout?(Fb(),
Wb(Qqe,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,
"onAdd:environment":a,"onSelect:environment":r
},null,8,["activeEnvironment","environments"])):oy("",!0),"modal"===e.layout&&e.documentUrl&&!e.hideClientButton?(Fb(),
Wb(xm(Qoe),{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"])):oy("",!0),"modal"===e.layout&&"gitbook"!==e.source?(Fb(),
qb("button",{key:2,
class:"app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",
type:"button",onClick:o[4]||(o[4]=t=>e.eventBus.emit("ui:close:client-modal"))
},[ey(xm(Pre),{icon:"Close",size:"lg",thickness:"2"}),o[6]||(o[6]=Jb("span",{
class:"sr-only"
},"Close Client",-1))])):oy("",!0),"modal"===e.layout&&"gitbook"===e.source?(Fb(),
qb("button",{key:3,
class:"text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2",type:"button",
onClick:o[5]||(o[5]=t=>e.eventBus.emit("ui:close:client-modal"))},[ey(xm(Pre),{
icon:"Close",size:"md",thickness:"1.75"}),o[7]||(o[7]=Jb("span",{class:"sr-only"
},"Close Client",-1))])):oy("",!0)])]))}
}),VWe=Hoe(QWe,[["__scopeId","data-v-7b4b0249"]]);class qWe{postProcessors;code
;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join
;addPostProcessor;constructor({indent:e,join:t}={}){
this.postProcessors=[],this.code=[],
this.indentationCharacter="",this.lineJoin="\n",
this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,
this.unshift=(e,t)=>{const n=this.indentLine(e,t);this.code.unshift(n)
},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)
},this.blank=()=>{this.code.push("")},this.join=()=>{
const e=this.code.join(this.lineJoin)
;return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{
this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",
this.lineJoin=null!=t?t:"\n"}}function WWe(e,t={}){
const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:a=!0}=t
;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?a?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?a?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")
}const XWe=e=>WWe(e,{delimiter:"'"}),GWe=e=>WWe(e,{delimiter:'"'})
;const YWe=(e=[])=>{const t=new URLSearchParams;return e.forEach((e=>{
t.append(e.name,e.value)})),t};const KWe={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:a})=>{
const{push:o,blank:i,join:s}=new qWe({indent:" "})
;o("CURL *hnd = curl_easy_init();"),
i(),o(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),
o(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n)
;return l.length&&(i(),o("struct curl_slist *headers = NULL;"),l.forEach((e=>{
n[e]?o(`headers = curl_slist_append(headers, "${e}: ${GWe(n[e])}");`):o(`headers = curl_slist_append(headers, "${e};");`)
})),
o("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),r.cookie&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),
null!=a&&(i(),
a.text?o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(a.text)});`):"application/x-www-form-urlencoded"===a.mimeType&&a.params?o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "${YWe(a.params).toString()}");`):"multipart/form-data"===a.mimeType&&a.params&&(o("curl_mime *mime = curl_mime_init(hnd);"),
a.params.forEach((e=>{
i(),o("{"),o("curl_mimepart *part = curl_mime_addpart(mime);",1),
e.name&&o(`curl_mime_name(part, "${e.name}");`,1),
e.fileName?o(`curl_mime_filedata(part, "${e.fileName}");`,1):e.value&&o(`curl_mime_data(part, "${GWe(e.value)}", CURL_ZERO_TERMINATED);`,1),
o("}")
})),i(),o("curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime);"))),i(),o("CURLcode ret = curl_easy_perform(hnd);"),
s()}};function JWe(e,t){
const n=new URL(t?.url??""),r="/"===n.pathname?n.origin:n.toString(),a={
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},o=(a?.headers??[]).reduce(((e,t)=>({...e,
[t.name]:t.value})),{}),i=(a.queryString??[]).reduce(((e,t)=>({...e,
[t.name]:t.value})),{}),s=(a.cookies??[]).reduce(((e,t)=>({...e,[t.name]:t.value
})),{}),l=new URL(a.url),c={protocol:l.protocol,hostname:l.hostname,
host:l.hostname,port:l.port,
pathname:l.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+l.search,
path:l.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+l.search,
search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,
searchParams:l.searchParams,username:l.username,toString:l.toString,
toJSON:()=>l.toJSON()},u={url:a.url,uriObj:c,
method:a.method?.toLocaleUpperCase()??"GET",httpVersion:a.httpVersion,
cookies:a.cookies??[],headers:a.headers??[],headersSize:a.headersSize,
headersObj:o??{},bodySize:a.bodySize,queryString:a.queryString??[],
postData:a.postData?{mimeType:a.postData.mimeType??"application/json",
text:a.postData.text??"",params:a.postData.params??[],
paramsObj:a.postData.params?.reduce(((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),
e)),{})??{}}:void 0,allHeaders:o??{},fullUrl:a.url,queryObj:i??{},
cookiesObj:s??{}}
;if("application/json"===u.postData?.mimeType&&u.postData.text)try{
u.postData.jsonObj=JSON.parse(u.postData.text)}catch(d){
console.error("Error parsing JSON:",d)}
return"function"==typeof e.convert?e.convert(u):""}const eXe={target:"c",
client:"libcurl",title:"Libcurl",generate:e=>JWe(KWe,e)
},tXe=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),nXe=(e,t)=>{
const n=tXe(e,t);if(n)return e[n]},rXe=(e,t)=>Boolean(tXe(e,t));class aXe{name
;toString;constructor(e){
this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let oXe=class{path
;toString;constructor(e){
this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,
this.path=e}}
;const iXe=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),sXe=e=>"object"===iXe(e)&&0===Object.keys(e).length,lXe=e=>(Object.keys(e).filter((t=>sXe(e[t]))).forEach((t=>{
delete e[t]})),e),cXe=(e,t)=>{const n=" ".repeat(e)
;return t.replace(/\n/g,`\n${n}`)},uXe=e=>{switch(iXe(e)){case"string":
return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:
return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`
;case"object":{
const t=Object.keys(e).reduce(((t,n)=>`${t}:${n} ${cXe(n.length+2,uXe(e[n]))}\n `),"").trim()
;return`{${cXe(1,t)}}`}case"array":{
const t=e.reduce(((e,t)=>`${e} ${uXe(t)}`),"").trim();return`[${cXe(1,t)}]`}}
},dXe={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:a},o)=>{
const{push:i,join:s}=new qWe({indent:null==o?void 0:o.indent})
;if(t=t.toLowerCase(),
!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),
s();const l={headers:a,"query-params":e}
;switch(e&&Object.keys(e).length>0&&(r=r.split("?")[0]),
null==n?void 0:n.mimeType){case"application/json":{
l["content-type"]=new aXe("json"),l["form-params"]=n.jsonObj
;const e=tXe(l.headers,"content-type");e&&delete l.headers[e]}break
;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj
;const e=tXe(l.headers,"content-type");e&&delete l.headers[e]}break
;case"text/plain":{l.body=n.text;const e=tXe(l.headers,"content-type")
;e&&delete l.headers[e]}break;case"multipart/form-data":if(n?.params){
l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,
content:new oXe(e.fileName)}:{name:e.name,content:e.value}))
;const e=tXe(l.headers,"content-type");e&&delete l.headers[e]}}
if("application/json"===nXe(l.headers,"accept")){l.accept=new aXe("json")
;const e=tXe(l.headers,"accept");e&&delete l.headers[e]}
if(i("(require '[clj-http.client :as client])\n"),
sXe(lXe(l)))i(`(client/${t} "${r}")`);else{const e=11+t.length+r.length
;i(`(client/${t} "${r}" ${cXe(e,uXe(lXe(l)))})`)}return s()}},pXe={
target:"clojure",client:"clj_http",title:"clj-http",generate:e=>JWe(dXe,e)
},hXe={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){
const n={method:"GET",url:"",...e};n.method=n.method.toUpperCase()
;const r=YWe(n.queryString),a=r.size?`?${r.toString()}`:"",o=`${n.url}${a}`,i=[]
;i.push("using var client = new HttpClient();"),i.push("");const s=function(e){
switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post"
;case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete"
;case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head"
;case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`
}}(n.method)
;return i.push(`var request = new HttpRequestMessage(${s}, "${o}");`),
function(e,t,n){
const r=t.headers||[],a=t.cookies||[],o=r.find((e=>"authorization"===e.name.toLowerCase()))
;if(o){const[t,n]=o.value.split(" ",2)
;t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)
}else if(n?.auth?.username&&n?.auth?.password){
const t=uqe(`${n.auth.username}:${n.auth.password}`)
;e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)
}const i=new Map;for(const s of r){const e=s.name,t=s.value
;"authorization"!==e.toLowerCase()&&i.set(e,t)}
for(const[s,l]of i)if("accept"===s.toLowerCase()&&mXe(l))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${l}"));`);else{
if("content-type"===s.toLowerCase()&&t.postData)continue
;e.push(`request.Headers.TryAddWithoutValidation("${s}", "${l}");`)}
if(a.length>0){const t=a.map((e=>`${e.name}=${e.value}`)).join("; ")
;e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}
}(i,n,t),function(e,t){if(!t.postData)return
;const{mimeType:n,text:r,params:a}=t.postData;if("application/json"===n&&r)try{
const t=JSON.parse(r),n=fXe(JSON.stringify(t,null,2))
;e.push("request.Content = new StringContent("),
e.push(`${n},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{
const t=fXe(r)
;e.push("request.Content = new StringContent("),e.push(`${t},`),e.push('System.Text.Encoding.UTF8, "application/json");')
}else if("application/x-www-form-urlencoded"===n&&a){const t=a.map((e=>e.name))
;if(t.length!==new Set(t).size){
e.push("var formParams = new List<KeyValuePair<string, string>>"),e.push("{")
;for(const t of a)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(const t of a)e.push(` ["${t.name}"] = "${t.value}",`)
;e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")
}}else if("multipart/form-data"===n&&a){
e.push("var content = new MultipartFormDataContent();")
;for(const t of a)void 0!==t.fileName?e.push(`content.Add(new StreamContent(File.OpenRead("${t.fileName}")), "${t.name}", "${t.fileName}");`):e.push(`content.Add(new StringContent("${t.value}"), "${t.name}");`)
;e.push("request.Content = content;")
}else if("application/octet-stream"===n&&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){const t=fXe(r)
;e.push("request.Content = new StringContent("),
e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}(i,n),i.push(""),
i.push("using var response = await client.SendAsync(request);"),i.join("\n")}}
;function fXe(e){let t=3;for(;e.includes('"'.repeat(t));)t++
;const n='"'.repeat(t);return`${n}\n${e}\n${n}`}function mXe(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)
}const gXe={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:a,postData:o})=>{
const{push:i,join:s}=new qWe
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;if(i(`var client = new RestClient("${n}");`),
i(`var request = new RestRequest(Method.${t.toUpperCase()});`),
Object.keys(r).forEach((e=>{i(`request.AddHeader("${e}", "${GWe(r[e])}");`)
})),null==a||a.forEach((({name:e,value:t})=>{
i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){
const t=nXe(e,"content-type"),n=JSON.stringify(o.text)
;i(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}
return i("IRestResponse response = client.Execute(request);"),s()}},vXe={
target:"csharp",client:"restsharp",title:"RestSharp",generate:e=>JWe(gXe,e)
},bXe={target:"dart",client:"http",title:"Http",generate(e,t){const n={
method:"GET",...e};n.method=n.method.toUpperCase()
;let r="import 'package:http/http.dart' as http;\n\nvoid main() async {\n",a="",o=""
;n.cookies&&n.cookies.length>0&&(o=n.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; "),
a=` "Cookie": "${o}",\n`)
;const i=n.headers?.reduce(((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),
e)),{})||{};if(t?.auth){const{username:e,password:n}=t.auth;if(e&&n){
const t=`${e}:${n}`
;i.Authorization=`'Basic ' + base64Encode(utf8.encode('${t}'))`}}
if(a&&(i.Cookie=o),Object.keys(i).length>0){
r+=" final headers = <String,String>{\n"
;for(const[e,t]of Object.entries(i))t.includes("utf8.encode")?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`
;r+=" };\n\n"}
const s=n.queryString?.length?"?"+n.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",l=`${n.url}${s}`
;let c=""
;if(n.postData)if("application/json"===n.postData.mimeType)c=` final body = r'${n.postData.text}';\n\n`;else if("application/x-www-form-urlencoded"===n.postData.mimeType)c=` final body = '${n.postData.params?.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)).join("&")||""}';\n\n`;else if("multipart/form-data"===n.postData.mimeType){
c=" final body = <String,String>{\n";for(const e of n.postData.params||[]){
const t=e.value||"",n=e.fileName||"";c+=` '${e.name}': '${n||t}',\n`}
c+=" };\n\n"
}else"application/octet-stream"===n.postData.mimeType&&(c=` final body = '${n.postData.text}';\n\n`)
;c&&(r+=c)
;return r+=` final response = await http.${n.method.toLowerCase()}(Uri.parse('${l}')${Object.keys(i).length>0?", headers: headers":""}${c?", body: body":""});\n`,
r+=" print(response.body);\n",r+="}",r}},yXe={target:"fsharp",
client:"httpclient",title:"HttpClient",generate:(e,t)=>{if(!e)return""
;const n=function(e,t){if(!e)return"";if(!t||0===t.length)return e
;return e+function(e){if(!e||0===e.length)return""
;const t=e.map((e=>`${e.name}=${e.value}`));return"?"+t.join("&")}(t)
}(e.url,e.queryString);let r=""
;return r+=`let httpRequestMessage = new HttpRequestMessage(\n HttpMethod("${e.method}"),\n new Uri("${OXe(n)}")\n)\n\n`,
e.headers&&e.headers.length>0&&(r+=function(e){let t=""
;for(const n of e)t+=`httpRequestMessage.Headers.Add("${OXe(n.name??"")}", "${OXe(n.value??"")}")\n`
;return t+="\n",t}(e.headers)),e.postData&&(r+=function(e){if(!e)return""
;let t="";switch(e.mimeType){case"multipart/form-data":t+=function(e){
let t="let content = new MultipartFormDataContent()\n",n=0
;for(const r of e.params)if("BINARY"===r.value){const e=OXe(r.fileName??"")
;t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,
t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${OXe(r.contentType??"")}")\n`,
t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++
}else t+=`content.Add(new StringContent("${OXe(r.value??"")}"), "${OXe(r.name??"")}")\n`
;return t}(e);break;case"application/x-www-form-urlencoded":t+=function(e){
let t="let formUrlEncodedContentDictionary = new Dictionary<string, string>()\n"
;for(const n of e.params)t+=`formUrlEncodedContentDictionary.Add("${OXe(n.name??"")}", "${OXe(n.value??"")}")\n`
;return t+="let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)\n",
t}(e);break;case"application/json":t+=function(e){let t;try{
t=JSON.stringify(JSON.parse(e.text??"{}"),null,2)}catch{t=e.text??"{}"}
return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")\n`
}(e);break;default:t+=function(e,t){
let n=`let content = new StringContent("${OXe(e.text??"")}", Encoding.UTF8, "${OXe(t??"")}")\n`
;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${OXe(t??"")}")\n`,
n}(e,e.mimeType)}return t+="httpRequestMessage.Content <- content\n\n",t
}(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=function(e,t){
let n="let cookieContainer = CookieContainer()\n"
;for(const r of e)n+=`cookieContainer.Add(Uri("${OXe(t)}"), Cookie("${OXe(r.name??"")}", "${OXe(r.value??"")}"))\n`
;return n+="use handler = new HttpClientHandler()\n",
n+="handler.CookieContainer <- cookieContainer\n\n",n
}(e.cookies,e.url),r+="let client = new HttpClient(handler)\n"):r+="let client = new HttpClient()\n",
r+="let! result = client.SendAsync(httpRequestMessage)\n",r}};function OXe(e){
return null==e?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")
}const wXe={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},a={})=>{
const{blank:o,push:i,join:s,addPostProcessor:l}=new qWe({indent:"\t"
}),{showBoilerplate:c=!0,checkErrors:u=!1,printBody:d=!0,timeout:p=-1,insecureSkipVerify:h=!1}=a,f=u?"err":"_",m=c?1:0,g=()=>{
u&&(i("if err != nil {",m),i("panic(err)",m+1),i("}",m))},v=new Set
;c&&(i("package main"),o(),i("import ()"),l((e=>{const t=[...v];t.sort()
;const n=t.map((e=>`\t"${e}"`)).join("\n")
;return e.replace(/import \(\)/,`import (\n${n}\n)`)
})),v.add("fmt"),v.add("net/http"),
o(),i("func main() {")),h&&(v.add("crypto/tls"),
i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",m),
i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",m))
;const b=p>0,y=b||h,O=y?"client":"http.DefaultClient"
;return y&&(i("client := http.Client{",m),
b&&(v.add("time"),i(`Timeout: time.Duration(${p} * time.Second),`,m+1)),
h&&i("Transport: insecureTransport,",m+1),
i("}",m),o()),i(`url := "${r}"`,m),o(),
null!=e&&(e.params||e.text)?"application/x-www-form-urlencoded"===e.mimeType&&e.params?(v.add("net/url"),
v.add("strings"),i("postData := url.Values{}",m),e.params.forEach((e=>{
i(`postData.Set("${e.name}", "${GWe(e.value)}")`,m)
})),o(),i(`req, ${f} := http.NewRequest("${t}", url, strings.NewReader(postData.Encode()))`,m)):"multipart/form-data"===e.mimeType&&e.params?(v.add("bytes"),
v.add("mime/multipart"),
i("payload := &bytes.Buffer{}",m),i("writer := multipart.NewWriter(payload)",m),
e.params.forEach((e=>{
o(),e.fileName?(i(`part, ${f} := writer.CreateFormFile("${e.name}", "${e.fileName}")`,m),
g(),
o(),i(`f, ${f} := os.Open("${e.fileName}")`,m),g(),i("defer f.Close()",m),o(),
i(`_, ${f} = io.Copy(part, f)`,m),
g()):(i(`${f} = writer.WriteField("${e.name}", "${GWe(e.value)}")`,m),g())
})),i("writer.Close()",m),
o(),i(`req, ${f} := http.NewRequest("${t}", url, payload)`,m)):(v.add("strings"),
i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,m),
o(),i(`req, ${f} := http.NewRequest("${t}", url, payload)`,m)):i(`req, ${f} := http.NewRequest("${t}", url, nil)`,m),
g(),
o(),null!=e&&"multipart/form-data"===e.mimeType&&e.params&&i('req.Header.Set("Content-Type", writer.FormDataContentType())',m),
Object.keys(n).length&&(Object.keys(n).forEach((e=>{
i(`req.Header.Add("${e}", "${GWe(n[e])}")`,m)
})),o()),i(`res, ${f} := ${O}.Do(req)`,m),
g(),d&&(v.add("io"),o(),i("defer res.Body.Close()",m),
i(`body, ${f} := io.ReadAll(res.Body)`,m),
g()),o(),i("fmt.Println(res)",m),d&&i("fmt.Println(string(body))",m),
c&&(o(),i("}")),s()}},xXe={target:"go",client:"native",title:"NewRequest",
generate:e=>JWe(wXe,e)},kXe={target:"http",client:"http1.1",title:"HTTP/1.1",
generate(e){const t={method:"GET",headers:[],queryString:[],...e};let n,r
;t.method=t.method.toUpperCase();try{
n=new URL(t.url||"http://"),r=n.pathname+(n.search||"")}catch(l){r=t.url||"/"}
const a=n?.hostname||"UNKNOWN_HOSTNAME";let o=`${t.method} ${r} HTTP/1.1\r\n`
;if(t.queryString.length){
const e=t.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&")
;o=`${t.method} ${r}?${e} HTTP/1.1\r\n`}const i=new Map
;if(i.set("Host",a),t.headers.forEach((e=>{
i.has(e.name)?i.set(e.name,`${i.get(e.name)}, ${e.value}`):i.set(e.name,e.value)
})),t.queryString.length){
const e=t.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&")
;o=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let s=""
;if(t.postData)if("application/json"===t.postData.mimeType&&t.postData.text)i.set("Content-Type","application/json"),
s=t.postData.text;else if("application/octet-stream"===t.postData.mimeType&&t.postData.text)i.set("Content-Type","application/octet-stream"),
s=t.postData.text;else if("application/x-www-form-urlencoded"===t.postData.mimeType&&t.postData.params){
const e=t.postData.params.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)).join("&")
;i.set("Content-Type","application/x-www-form-urlencoded"),s=e
}else if("multipart/form-data"===t.postData.mimeType&&t.postData.params){
const e="----WebKitFormBoundary7MA4YWxkTrZu0gW"
;i.set("Content-Type",`multipart/form-data; boundary=${e}`),
s=t.postData.params.map((t=>t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n\r\n${t.value}\r\n`)).join("")+`--${e}--\r\n`
}return i.forEach(((e,t)=>{o+=`${t}: ${e}\r\n`})),o+=`\r\n${s}`,o}},SXe={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},a)=>{const o={indent:" ",
...a},{blank:i,push:s,join:l}=new qWe({indent:o.indent})
;return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),
s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{
s(`.setHeader("${e}", "${GWe(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),
s(".execute()",1),
s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),
s(".join();",1),i(),s("client.close();"),l()}},_Xe={target:"java",
client:"asynchttp",title:"AsyncHttp",generate:e=>JWe(SXe,e)},AXe={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},a)=>{const o={indent:" ",
...a},{push:i,join:s}=new qWe({indent:o.indent})
;return i("HttpRequest request = HttpRequest.newBuilder()"),
i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{
i(`.header("${t}", "${GWe(e[t])}")`,2)
})),(null==r?void 0:r.text)?i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),
i(".build();",2),
i("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),
i("System.out.println(response.body());"),s()}},TXe={target:"java",
client:"nethttp",title:"java.net.http",generate:e=>JWe(AXe,e)},EXe={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},a)=>{const o={indent:" ",
...a},{push:i,blank:s,join:l}=new qWe({indent:o.indent})
;return i("OkHttpClient client = new OkHttpClient();"),
s(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(i("FormBody formBody = new FormBody.Builder()"),
e.params.forEach((e=>{i(`.addEncoded("${e.name}", "${e.value}")`,1)
})),i(".build();",1),
s()):"multipart/form-data"===e.mimeType&&e.params?(i("MultipartBody body = new MultipartBody.Builder()"),
i(".setType(MultipartBody.FORM)",1),e.params.forEach((e=>{
void 0!==e.fileName?i(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1):void 0!==e.value&&i(`.addFormDataPart("${e.name}", "${e.value}")`,1)
})),
i(".build();",1),s()):(i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),
i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),
i("Request request = new Request.Builder()"),
i(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text||e.params)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{i(`.addHeader("${e}", "${GWe(r[e])}")`,1)
})),i(".build();",1),
s(),i("Response response = client.newCall(request).execute();"),l()}},CXe={
target:"java",client:"okhttp",title:"OkHttp",generate:e=>JWe(EXe,e)},$Xe={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},a)=>{const o={indent:" ",
...a},{join:i,push:s}=new qWe({indent:o.indent})
;return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),
Object.keys(t).forEach((e=>{s(`.header("${e}", "${GWe(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),
s(".asString();",1),i()}},PXe={target:"java",client:"unirest",title:"Unirest",
generate:e=>JWe($Xe,e)},{toString:IXe}=Object.prototype
;const{propertyIsEnumerable:DXe}=Object.prototype
;const MXe=["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"],NXe=["globalThis","Infinity","NaN","undefined"]
;const RXe=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...function({includeGlobalProperties:e=!1}={}){
return new Set([...MXe,...e?NXe:[]])}({includeGlobalProperties:!0
})].join("|")})(?![$_\\p{ID_Continue}]))${/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u.source}`,LXe=new RegExp(RXe,"u"),BXe=new RegExp(`^${RXe}$`,"u")
;var jXe,UXe;const zXe=qL(UXe?jXe:(UXe=1,jXe=Worker));class ZXe extends Error{
constructor(e){super(e),this.name="TimeoutError"}}class FXe extends Error{
constructor(e){super(),this.name="AbortError",this.message=e}}
const HXe=e=>void 0===globalThis.DOMException?new FXe(e):new DOMException(e),QXe=e=>{
const t=void 0===e.reason?HXe("This operation was aborted."):e.reason
;return t instanceof Error?t:HXe(t)};const VXe=e=>{
const t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener
;if(!t||!n)throw new TypeError("Emitter is not compatible");return{
addListener:t.bind(e),removeListener:n.bind(e)}};function qXe(e,t,n){let r
;const a=new Promise(((a,o)=>{if(!((n={rejectionEvents:["error"],multiArgs:!1,
resolveImmediately:!1,...n
}).count>=0)||n.count!==Number.POSITIVE_INFINITY&&!Number.isInteger(n.count))throw new TypeError("The `count` option should be at least 0 or more")
;n.signal?.throwIfAborted()
;const i=[t].flat(),s=[],{addListener:l,removeListener:c}=VXe(e),u=(...e)=>{
const t=n.multiArgs?e:e[0]
;n.filter&&!n.filter(t)||(s.push(t),n.count===s.length&&(r(),a(s)))},d=e=>{
r(),o(e)};r=()=>{for(const e of i)c(e,u);for(const e of n.rejectionEvents)c(e,d)
};for(const e of i)l(e,u);for(const e of n.rejectionEvents)l(e,d)
;n.signal&&n.signal.addEventListener("abort",(()=>{d(n.signal.reason)}),{once:!0
}),n.resolveImmediately&&a(s)}));if(a.cancel=r,"number"==typeof n.timeout){
const e=function(e,t){const{milliseconds:n,fallback:r,message:a,customTimers:o={
setTimeout:setTimeout,clearTimeout:clearTimeout}}=t;let i,s
;const l=new Promise(((l,c)=>{
if("number"!=typeof n||1!==Math.sign(n))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``)
;if(t.signal){const{signal:e}=t;e.aborted&&c(QXe(e)),s=()=>{c(QXe(e))
},e.addEventListener("abort",s,{once:!0})}
if(n===Number.POSITIVE_INFINITY)return void e.then(l,c);const u=new ZXe
;i=o.setTimeout.call(void 0,(()=>{if(r)try{l(r())}catch(t){c(t)
}else"function"==typeof e.cancel&&e.cancel(),
!1===a?l():a instanceof Error?c(a):(u.message=a??`Promise timed out after ${n} milliseconds`,
c(u))}),n),(async()=>{try{l(await e)}catch(t){c(t)}})()})).finally((()=>{
l.clear(),s&&t.signal&&t.signal.removeEventListener("abort",s)}))
;return l.clear=()=>{o.clearTimeout.call(void 0,i),i=void 0},l}(a,{
milliseconds:n.timeout});return e.cancel=r,e}return a}function WXe(e,t,n){
"function"==typeof n&&(n={filter:n});const r=qXe(e,t,n={...n,count:1,
resolveImmediately:!1}),a=r.then((e=>e[0]));return a.cancel=r.cancel,a}
const XXe=Boolean(globalThis.process?.versions?.node),GXe=e=>new globalThis.Blob([e],{
type:"text/javascript"
}),YXe=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`
;function KXe(e){let t,n;return XXe?n=new zXe(YXe(e),{type:"module"
}):(t=URL.createObjectURL(GXe(e)),n=new zXe(t,{type:"module"})),{worker:n,
cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}function JXe(e){
const t=(e=>`\n\tglobalThis.onmessage = async ({data: arguments_}) => {\n\t\ttry {\n\t\t\tconst output = await (${e.toString()})(...arguments_);\n\t\t\tglobalThis.postMessage({output});\n\t\t} catch (error) {\n\t\t\tglobalThis.postMessage({error});\n\t\t}\n\t};\n\t`)(e),n=()=>KXe(t)
;async function r({worker:e,arguments_:t}){const n=WXe(e,"message",{
rejectionEvents:["error","messageerror"]});e.postMessage(t)
;const{data:{output:r,error:a}}=await n;if(a)throw a;return r}
const a=async(...e)=>{const{worker:t,cleanup:a}=n();try{return await r({
arguments_:e,worker:t})}finally{a()}};return a.withSignal=e=>async(...t)=>{
e.throwIfAborted();const{worker:a,cleanup:o}=n(),i=WXe(e,[],{
rejectionEvents:["abort"]});try{return await Promise.race([r({arguments_:t,
worker:a}),i])}catch(s){throw e.throwIfAborted(),s}finally{i.cancel(),o()}},a}
const eGe=e=>{if(void 0===e||Number.isNaN(e))return
;const t=Math.max(1,Math.trunc(Math.abs(e)));return Number.isFinite(t)?t:void 0}
;function tGe(e,t,{timeout:n,throwOnTimeout:r}={}){try{return function(e){
const t=(...t)=>e(...t);return Object.defineProperty(t,"name",{
value:`functionTimeout(${e.name||"<anonymous>"})`,configurable:!0}),t
}((()=>structuredClone(e).test(t)),eGe(n))()}catch(a){throw a}}
JXe(((e,t,n)=>new RegExp(e,t).test(n))),JXe(((e,t,n)=>{
const r=new RegExp(e,t).exec(n);if(null!==r)return{match:r[0],index:r.index,
groups:r.slice(1),namedGroups:r.groups??{},input:r.input}})),function(e){
const t=(e=>`\n\tconst nothing = Symbol('nothing');\n\tlet iterator = nothing;\n\n\tglobalThis.onmessage = async ({data: arguments_}) => {\n\t\ttry {\n\t\t\tif (iterator === nothing) {\n\t\t\t\titerator = await (${e.toString()})(...arguments_);\n\t\t\t}\n\n\t\t\tconst output = await iterator.next();\n\t\t\tglobalThis.postMessage({output});\n\t\t} catch (error) {\n\t\t\tglobalThis.postMessage({error});\n\t\t}\n\t};\n\t`)(e),n=()=>KXe(t),r=(...e)=>({
async*[Symbol.asyncIterator](){const{worker:t,cleanup:r}=n();try{let n=!0
;for(;;){const r=WXe(t,"message",{rejectionEvents:["error","messageerror"]})
;t.postMessage(n?e:void 0),n=!1;const{data:{output:a,error:o}}=await r
;if(o)throw o;const{value:i,done:s}=a;if(s)break;yield i}}finally{r()}}})
;r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted()
;const{worker:r,cleanup:a}=n(),o=WXe(e,[],{rejectionEvents:["abort"]});try{
let e=!0;for(;;){const n=Promise.race([WXe(r,"message",{
rejectionEvents:["error","messageerror"]}),o]);r.postMessage(e?t:void 0),e=!1
;const{data:{output:a,error:i}}=await n;if(i)throw i;const{value:s,done:l}=a
;if(l)break;yield s}}catch(i){throw e.throwIfAborted(),i}finally{o.cancel(),a()}
}})}((function*(e,t,n){const r=new RegExp(e,t),a=n.matchAll(r)
;for(const o of a)yield{match:o[0],index:o.index,groups:o.slice(1),
namedGroups:o.groups??{},input:o.input}}));const nGe=function({exact:e=!0}={}){
return e?BXe:LXe}();const rGe={"\n":String.raw`\n`,"\r":String.raw`\r`,
"\t":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,
"\0":String.raw`\0`};function aGe(e,t,n){const r=[]
;return function e(t,n={},a=""){const o=n.indent||"\t";let i
;i=void 0===n.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:a,
indent:a+o}:{newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",
newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",
pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"}
;const s=e=>{if(void 0===n.inlineCharacterLimit)return e
;const t=e.replaceAll(i.newline,"").replaceAll(i.newlineOrSpace," ").replaceAll(i.pad,"").replaceAll(i.indent,"")
;return t.length<=n.inlineCharacterLimit?t:e.replaceAll(i.newline,"\n").replaceAll(i.newlineOrSpace,"\n").replaceAll(i.pad,a).replaceAll(i.indent,a+o)
};if(r.includes(t))return'"[Circular]"';const l=typeof t
;if(null==t||"number"===l||"boolean"===l||"function"===l||(c=t,
"[object RegExp]"===IXe.call(c)))return String(t);var c,u
;if("bigint"===l)return String(t)+"n";if("symbol"===l){const{description:r}=t
;if(void 0===r)return"Symbol()"
;if(r?.startsWith("Symbol.")&&Symbol[r.slice(7)]===t)return r
;const a=Symbol.keyFor(t)
;return void 0!==a?`Symbol.for(${e(a,n)})`:`Symbol(${e(r,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){const l=t instanceof Map,c=l?"Map":"Set"
;if(0===t.size)return`new ${c}()`;r.push(t);const u=[...t].map((t=>{if(l){
const[r,s]=t;return i.indent+`[${e(r,n,a+o)}, ${e(s,n,a+o)}]`}
return i.indent+e(t,n,a+o)})).join(","+i.newlineOrSpace)
;return r.pop(),s(`new ${c}([${i.newline}${u}${i.newline}${i.pad}])`)}
if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t)
;const l=t.map(((r,s)=>{let l=e(r,n,a+o)
;return n.transform&&(l=n.transform(t,s,l)),i.indent+l
})).join(","+i.newlineOrSpace)
;return r.pop(),s(`[${i.newline}${l}${i.newline}${i.pad}]`)}if(function(e){
const t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){
let l=(u=t,
[...Object.keys(u),...Object.getOwnPropertySymbols(u).filter((e=>DXe.call(u,e)))])
;if(n.filter&&(l=l.filter((e=>n.filter(t,e)))),0===l.length)return"{}";r.push(t)
;const c=l.map((r=>{let s;s="symbol"==typeof r?`[${e(r,n)}]`:function(e){
if("string"!=typeof e)throw new TypeError(`Expected a string, got \`${typeof e}\`.`)
;return!(e.length>1e5)&&tGe(nGe,e,{timeout:1e3})}(r)?r:e(r,n)
;let l=e(t[r],n,a+o)
;return n.transform&&(l=n.transform(t,r,l)),i.indent+s+": "+l
})).join(","+i.newlineOrSpace)
;return r.pop(),s(`{${i.newline}${c}${i.newline}${i.pad}}`)}
const d=String(t).replaceAll("\\","\\\\").replaceAll(/[\u0000-\u001F\u007F]/g,(e=>rGe[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,"0")}`))
;return!1===n.singleQuotes?`"${d.replaceAll('"',String.raw`\"`)}"`:`'${d.replaceAll("'",String.raw`\'`)}'`
}(e,t,n)}const oGe={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:a},o)=>{const i={
indent:" ",...o},{blank:s,push:l,join:c,addPostProcessor:u}=new qWe({
indent:i.indent});l("import axios from 'axios';"),s();const d={method:t,url:n}
;switch(Object.keys(r).length&&(d.params=r),
Object.keys(e).length&&(d.headers=e),null==a?void 0:a.mimeType){
case"application/x-www-form-urlencoded":
a?.params&&(l("const encodedParams = new URLSearchParams();"),
a.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),
d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))))
;break;case"application/json":a?.jsonObj&&(d.data=a.jsonObj);break
;case"multipart/form-data":if(!a?.params)break
;l("const form = new FormData();"),a.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)
})),s(),d.data="[form]";break;default:(null==a?void 0:a.text)&&(d.data=a.text)}
const p=aGe(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form")
;return l(`const options = ${p};`),
s(),l("try {"),l("const { data } = await axios.request(options);",1),
l("console.log(data);",1),
l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},iGe={
target:"js",client:"axios",title:"Axios",generate:e=>JWe(oGe,e)}
;function sGe(e){return/\s|-/.test(e)}let lGe=class{constructor(e){this.value=e}
};function cGe(e,t=0){const n=[],r=" ".repeat(t),a=" ".repeat(t+2)
;if(0===Object.keys(e).length)return"{}";for(const[o,i]of Object.entries(e)){
const e=sGe(o)?`'${o}'`:o;if(i instanceof lGe){const t=i.value.split("\n")
;let r=`${i.value}`
;t.length>1&&(r=t.map(((e,t)=>0===t?e:`${a}${e}`)).join("\n")),
n.push(`${a}${e}: ${r}`)}else if(Array.isArray(i)){
const r=i.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?cGe(e):JSON.stringify(e)))
;if(r.some((e=>e.includes("\n")))){const o=r.map((e=>uGe(e,t+4))).join(",\n")
;n.push(`${a}${e}: [\n${o}\n${a}]`)}else n.push(`${a}${e}: [${r.join(", ")}]`)
}else if(i&&"object"==typeof i)n.push(`${a}${e}: ${cGe(i,t+2)}`);else if("string"==typeof i){
const t=`'${i}'`;n.push(`${a}${e}: ${t}`)}else n.push(`${a}${e}: ${i}`)}
return`{\n${n.join(",\n")}\n${r}}`}function uGe(e,t){const n=" ".repeat(t)
;return e.split("\n").map((e=>`${n}${e}`)).join("\n")}const dGe={target:"js",
client:"fetch",title:"Fetch",generate(e){const t={method:"GET",...e};let n=""
;t.method=t.method.toUpperCase();const r={
method:"GET"===t.method?void 0:t.method
},a=YWe(t.queryString),o=a.size?`?${a.toString()}`:""
;if(t.headers?.length&&(r.headers={},t.headers.forEach((e=>{
r.headers[e.name]=e.value
}))),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach((e=>{
r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(r).forEach((e=>{void 0===r[e]&&delete r[e]})),t.postData){
const{mimeType:e,text:a,params:o}=t.postData;if("application/json"===e&&a)try{
r.body=new lGe(`JSON.stringify(${cGe(JSON.parse(a))})`)}catch{r.body=a
}else if("multipart/form-data"===e&&o)n="const formData = new FormData()\n",
o.forEach((e=>{
void 0!==e.fileName?n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`:void 0!==e.value&&(n+=`formData.append('${e.name}', '${e.value}')\n`)
})),
n+="\n",r.body=new lGe("formData");else if("application/x-www-form-urlencoded"===e&&o){
const e=Object.fromEntries(o.map((e=>[e.name,e.value])))
;r.body=new lGe(`new URLSearchParams(${cGe(e)})`)}else r.body=t.postData.text}
const i=Object.keys(r).length?`, ${cGe(r)}`:""
;return`${n}fetch('${t.url}${o}'${i})`}},pGe={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},a)=>{let o;const i={
indent:" ",...a},{blank:s,push:l,join:c}=new qWe({indent:i.indent}),u={
async:!0,crossDomain:!0,url:e,method:t,headers:n}
;switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":
u.data=r?.paramsObj?r.paramsObj:r.text;break;case"application/json":
u.processData=!1,u.data=r.text;break;case"multipart/form-data":
if(!r?.params)break;if(l("const form = new FormData();"),r.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)
})),u.processData=!1,
u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",
rXe(n,"content-type")&&(null===(o=nXe(n,"content-type"))||void 0===o?void 0:o.includes("boundary"))){
const e=tXe(n,"content-type");e&&delete u.headers[e]}s();break;default:
(null==r?void 0:r.text)&&(u.data=r.text)}const d=aGe(u,{indent:i.indent
}).replace("'[form]'","form")
;return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),
l("console.log(response);",1),l("});"),c()}},hGe={target:"js",client:"jquery",
title:"jQuery",generate:e=>JWe(pGe,e)},fGe={target:"js",client:"ofetch",
title:"ofetch",generate(e){const t={method:"GET",...e}
;t.method=t.method.toUpperCase();const n={
method:"GET"===t.method?void 0:t.method}
;t.queryString?.length&&(n.query=Object.fromEntries(t.queryString.map((e=>[e.name,e.value])))),
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=>{void 0===n[e]&&delete n[e]
})),t.postData&&(n.body=t.postData.text,
"application/json"===t.postData.mimeType&&(n.body=JSON.parse(n.body)))
;const r=Object.keys(n).length?`, ${cGe(n)}`:""
;return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}},mGe={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},a)=>{let o;const i={
indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new qWe({indent:i.indent})
;switch(null==e?void 0:e.mimeType){case"application/json":
l(`const data = JSON.stringify(${aGe(e?.jsonObj,{indent:i.indent})});`),s()
;break;case"multipart/form-data":if(!e?.params)break
;if(l("const data = new FormData();"),e.params.forEach((e=>{
l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)
})),rXe(t,"content-type")&&(null===(o=nXe(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){
const e=tXe(t,"content-type");e&&delete t[e]}s();break;default:
l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}
return l("const xhr = new XMLHttpRequest();"),
i.cors&&l("xhr.withCredentials = true;"),
s(),l("xhr.addEventListener('readystatechange', function () {"),
l("if (this.readyState === this.DONE) {",1),
l("console.log(this.responseText);",2),
l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),
Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${XWe(t[e])}');`)
})),s(),l("xhr.send(data);"),c()}},gGe={target:"js",client:"xhr",title:"XHR",
generate:e=>JWe(mGe,e)},vGe={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},a)=>{const o={indent:" ",
...a},{blank:i,join:s,push:l}=new qWe({indent:o.indent})
;return l("val client = OkHttpClient()"),
i(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(l("val formBody = FormBody.Builder()"),
e.params.forEach((e=>{l(`.addEncoded("${e.name}", "${e.value}")`,1)
})),l(".build()",1),
i()):"multipart/form-data"===e.mimeType&&e.params?(l("val body = MultipartBody.Builder()"),
l(".setType(MultipartBody.FORM)",1),e.params.forEach((e=>{
void 0!==e.fileName?l(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${e.fileName}")))`,1):void 0!==e.value&&l(`.addFormDataPart("${e.name}", "${e.value}")`,1)
})),l(".build()",1),i()):(l(`val mediaType = MediaType.parse("${e.mimeType}")`),
l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),
l("val request = Request.Builder()"),
l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text||e.params)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${GWe(r[e])}")`,1)
})),l(".build()",1),
i(),l("val response = client.newCall(request).execute()"),s()}},bGe={
target:"kotlin",client:"okhttp",title:"OkHttp",generate:e=>JWe(vGe,e)},yGe={
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:a},o)=>{const i={
indent:" ",...o},{blank:s,join:l,push:c,addPostProcessor:u}=new qWe({
indent:i.indent});c("const axios = require('axios').default;");const d={
method:e,url:t}
;switch(Object.keys(n).length&&(d.params=n),Object.keys(r).length&&(d.headers=r),
null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":
a.params&&(c("const { URLSearchParams } = require('url');"),
s(),c("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{
c(`encodedParams.set('${e.name}', '${e.value}');`)
})),s(),d.data="encodedParams,",
u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break
;case"application/json":s(),a?.jsonObj&&(d.data=a.jsonObj);break;default:
s(),(null==a?void 0:a.text)&&(d.data=a.text)}const p=aGe(d,{indent:" ",
inlineCharacterLimit:80})
;return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),
c("console.log(data);",1),
c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},OGe={
target:"node",client:"axios",title:"Axios",generate:e=>JWe(yGe,e)},wGe={
target:"node",client:"fetch",title:"Fetch",generate(e){const t={method:"GET",
...e};let n="";t.method=t.method.toUpperCase();const r={
method:"GET"===t.method?void 0:t.method
},a=YWe(t.queryString),o=a.size?`?${a.toString()}`:""
;if(t.headers?.length&&(r.headers={},t.headers.forEach((e=>{
r.headers[e.name]=e.value
}))),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach((e=>{
r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(r).forEach((e=>{void 0===r[e]&&delete r[e]})),t.postData){
const{mimeType:e,text:a,params:o}=t.postData;let i=!1
;if("application/json"===e&&a)try{
r.body=new lGe(`JSON.stringify(${cGe(JSON.parse(a))})`)}catch{r.body=a
}else if("multipart/form-data"===e&&o)n="const formData = new FormData()\n",
o.forEach((e=>{
void 0!==e.fileName?(i||(n=`import fs from 'node:fs'\n\n${n}`,i=!0),
n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`):void 0!==e.value&&(n+=`formData.append('${e.name}', '${e.value}')\n`)
})),
n+="\n",r.body=new lGe("formData");else if("application/x-www-form-urlencoded"===e&&o){
const e=Object.fromEntries(o.map((e=>[e.name,e.value])))
;r.body=new lGe(`new URLSearchParams(${cGe(e)})`)}else r.body=t.postData.text}
const i=Object.keys(r).length?`, ${cGe(r)}`:""
;return`${n}fetch('${t.url}${o}'${i})`}},xGe={target:"node",client:"ofetch",
title:"ofetch",generate(e){const t={method:"GET",...e}
;t.method=t.method.toUpperCase();const n={
method:"GET"===t.method?void 0:t.method}
;t.queryString?.length&&(n.query=Object.fromEntries(t.queryString.map((e=>[e.name,e.value])))),
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=>{void 0===n[e]&&delete n[e]
})),t.postData&&(n.body=t.postData.text,
"application/json"===t.postData.mimeType&&(n.body=JSON.parse(n.body)))
;const r=Object.keys(n).length?`, ${cGe(n)}`:""
;return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}},kGe={
target:"node",client:"undici",title:"undici",generate(e){const t={method:"GET",
...e};t.method=t.method.toUpperCase();const n={
method:"GET"===t.method?void 0:t.method
},r=YWe(t.queryString),a=r.size?`?${r.toString()}`:""
;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=>{void 0===n[e]&&delete n[e]
})),t.postData&&(n.body=t.postData.text,
"application/json"===t.postData.mimeType&&(n.body=new lGe(`JSON.stringify(${cGe(JSON.parse(n.body))})`)))
;const o=Object.keys(n).length?`, ${cGe(n)}`:""
;return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${t.url}${a}'${o})`
}},SGe=(e,t,n,r)=>{const a=`${e} *${t} = `
;return`${a}${_Ge(n,r?a.length:void 0)};`},_Ge=(e,t)=>{
const n=void 0===t?", ":`,\n ${" ".repeat(t)}`
;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`
;case"[object Array]":return`@[ ${e.map((e=>_Ge(e))).join(n)} ]`
;case"[object Object]":{const t=[],r=e
;for(const e in r)Object.hasOwn(r,e)&&t.push(`@"${e}": ${_Ge(r[e])}`)
;return`@{ ${t.join(n)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:
return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},AGe={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},a)=>{let o;const i={
indent:" ",pretty:!0,timeout:10,...a},{push:s,join:l,blank:c}=new qWe({
indent:i.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("#import <Foundation/Foundation.h>"),
Object.keys(e).length&&(u.hasHeaders=!0,
c(),s(SGe("NSDictionary","headers",e,i.pretty))),
t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){
case"application/x-www-form-urlencoded":
if(null===(o=t.params)||void 0===o?void 0:o.length){c();const[e,...n]=t.params
;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),
n.forEach((({name:e,value:t})=>{
s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)
}))}else u.hasBody=!1;break;case"application/json":
t.jsonObj&&(s(SGe("NSDictionary","parameters",t.jsonObj,i.pretty)),
c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"))
;break;case"multipart/form-data":
s(SGe("NSArray","parameters",t.params||[],i.pretty)),
s(`NSString *boundary = @"${t.boundary}";`),
c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),
s("for (NSDictionary *param in parameters) {"),
s('[body appendFormat:@"--%@\\r\\n", boundary];',1),
s('if (param[@"fileName"]) {',1),
s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),
s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),
s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),
s("if (error) {",2),
s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),
s('[body appendFormat:@"%@", param[@"value"]];',2),
s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),
s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break
;default:
c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)
}
return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),
s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),
s(` timeoutInterval:${i.timeout.toFixed(1)}];`),
s(`[request setHTTPMethod:@"${n}"];`),
u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),
u.hasBody&&s("[request setHTTPBody:postData];"),
c(),s("NSURLSession *session = [NSURLSession sharedSession];"),
s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),
s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),
s(" if (error) {",1),
s(' NSLog(@"%@", error);',2),
s(" } else {",1),
s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),
s(' NSLog(@"%@", httpResponse);',2),
s(" }",1),
s(" }];"),s("[dataTask resume];"),l()
}},TGe={target:"objc",client:"nsurlsession",title:"NSURLSession",
generate:e=>JWe(AGe,e)},EGe={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},a)=>{const o={
indent:" ",...a},{push:i,blank:s,join:l}=new qWe({indent:o.indent})
;i("open Cohttp_lwt_unix"),
i("open Cohttp"),i("open Lwt"),s(),i(`let uri = Uri.of_string "${e}" in`)
;const c=Object.keys(t)
;1===c.length?i(`let headers = Header.add (Header.init ()) "${c[0]}" "${GWe(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),
c.forEach((e=>{i(`("${e}", "${GWe(t[e])}");`,1)
})),i("] in")),(null==n?void 0:n.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),
s()
;const u=c.length?"~headers ":"",d=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`
;return i(`Client.call ${u}${d}${p} uri`),
i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}
},CGe={target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>JWe(EGe,e)}
;function $Ge(e){return" ".repeat(2*e)}class PGe{constructor(e){this.value=e}}
function IGe(e,t=0){if(null==e)return"null";if(e instanceof PGe){
const n=e.value.split("\n");if(n.length>1){const e=$Ge(t+1)
;return n.map(((t,n)=>0===n?t:`${e}${t}`)).join("\n")}return e.value}
if("string"==typeof e)return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`
;if("number"==typeof e||"boolean"==typeof e)return String(e)
;if(Array.isArray(e)){if(0===e.length)return"[]"
;const n=e.map((e=>IGe(e,t+1))).join(",\n"+$Ge(t+1))
;return`[\n${$Ge(t+1)}${n}\n${$Ge(t)}]`}if("object"==typeof e){
const n=Object.entries(e);if(0===n.length)return"[]"
;const r=n.map((([e,n])=>`'${e}' => ${IGe(n,t+1)}`)).join(",\n"+$Ge(t+1))
;return`[\n${$Ge(t+1)}${r}\n${$Ge(t)}]`}return"null"}const DGe={target:"php",
client:"curl",title:"cURL",generate(e,t){const n={method:"GET",...e}
;n.method=n.method.toUpperCase()
;const r=[],a=n.queryString?.length?"?"+n.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",o=`${n.url}${a}`
;if(r.push(`$ch = curl_init("${o}");`),
r.push(""),"POST"===n.method&&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}');`),
n.headers?.length){const e=n.headers.map((e=>`'${e.name}: ${e.value}'`))
;r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(", ")}]);`)
;const t=n.headers.find((e=>"accept-encoding"===e.name.toLowerCase()))
;t&&/gzip|deflate/.test(t.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")
}if(n.cookies?.length){
const e=n.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}
if(n.postData)if("application/json"===n.postData.mimeType){
if(n.postData.text)try{const e=IGe(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("multipart/form-data"===n.postData.mimeType&&n.postData.params){
const e=n.postData.params.reduce(((e,t)=>(void 0!==t.fileName?e.push(`'${t.name}' => '@${t.fileName}'`):void 0!==t.value&&e.push(`'${t.name}' => '${t.value}'`),
e)),[])
;r.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: multipart/form-data']);"),
r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, [${e.join(", ")}]);`)
}else if("application/x-www-form-urlencoded"===n.postData.mimeType&&n.postData.params){
const e=n.postData.params.map((e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):""}`)).join("&")
;r.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/x-www-form-urlencoded']);"),
r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)
}else if("application/octet-stream"===n.postData.mimeType)r.push("curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/octet-stream']);"),
r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||""}');`);else if(n.postData.text)try{
const e=IGe(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);"),r.push(""),r.push("curl_close($ch);"),
r.join("\n").replace(/\n\n\n/g,"\n\n")}},MGe={target:"php",client:"guzzle",
title:"Guzzle",generate(e,t){if(!e)return""
;const n={},r=(e.method||"GET").toUpperCase(),a=e.url||""
;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const t={}
;e.headers.forEach((e=>{
void 0===t[e.name]?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]
})),n.headers=t}if(e.queryString&&e.queryString.length>0){const t={}
;e.queryString.forEach((e=>{t[e.name]=e.value})),n.query=t}
if(e.cookies&&e.cookies.length>0){const 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("application/json"===e.postData.mimeType)try{
n.json=JSON.parse(e.postData.text||"{}")}catch(i){n.body=e.postData.text
}else if("multipart/form-data"===e.postData.mimeType){
if(e.postData.params)n.multipart=e.postData.params.map((e=>({name:e.name,
contents:e.fileName?new PGe(`fopen('${e.fileName}', 'r')`):e.value||""
})));else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)
}catch(i){n.body=e.postData.text}
}else if("application/x-www-form-urlencoded"===e.postData.mimeType){
if(e.postData.params){const 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=>"Accept-Encoding"===e.name&&e.value.includes("gzip")))&&(n.decode_content=!0)
;let o="$client = new GuzzleHttp\\Client();\n\n";if(Object.keys(n).length>0){
o+=`$response = $client->request('${r}', '${a}', ${IGe(n)});`
}else o+=`$response = $client->request('${r}', '${a}');`;return o}
},NGe=e=>({method:t,headersObj:n,cookies:r,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{
const{push:l,join:c}=new qWe
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;const u=[],d=Object.keys(n);return d.length&&(l("$headers=@{}"),d.forEach((e=>{
"connection"!==e&&l(`$headers.Add("${e}", "${WWe(n[e],{escapeChar:"`"})}")`)})),
u.push("-Headers $headers")),
r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),
r.forEach((e=>{
l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),
l(`$cookie.Value = '${e.value}'`),
l(`$cookie.Domain = '${a.host}'`),l("$session.Cookies.Add($cookie)")
})),u.push("-WebSession $session")),
(null==i?void 0:i.text)&&(u.push(`-ContentType '${WWe(nXe(s,"content-type"),{
delimiter:"'",escapeChar:"`"
})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),
c()},RGe={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:NGe("Invoke-RestMethod")},LGe={target:"powershell",client:"restmethod",
title:"Invoke-RestMethod",generate:e=>JWe(RGe,e)},BGe={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:NGe("Invoke-WebRequest")},jGe={target:"powershell",client:"webrequest",
title:"Invoke-WebRequest",generate:e=>JWe(BGe,e)};function UGe(e){
const t=[["true","True"],["false","False"],["null","None"]];let n=e
;for(const[r,a]of t){const e=[`(: )${r}(?=,|\\n)`,`^( +)${r}(?=,|\\n)`]
;for(const t of e)n=n.replace(new RegExp(t,"gm"),`$1${a}`)}return n}
function zGe(e,t,n){const r={url:"https://example.com",method:"get",...t
},a=r.method.toLowerCase(),o={}
;if(r.headers?.length&&(o.headers=r.headers.reduce(((e,t)=>(t.name in e||(e[t.name]=t.value),
e)),{})),
r.queryString?.length&&(o.params=Object.fromEntries(r.queryString.map((e=>[e.name,e.value])))),
r.cookies?.length&&(o.cookies=Object.fromEntries(r.cookies.map((e=>[e.name,e.value])))),
n?.auth?.username&&n?.auth?.password&&(o.auth=[n.auth.username,n.auth.password]),
r.postData){const{mimeType:e,text:t,params:n}=r.postData
;if("application/json"===e&&t)try{o.json=JSON.parse(t)}catch{o.data=t
}else if("application/octet-stream"===e&&t)o.data=t;else if("multipart/form-data"===e&&n){
const e=[],t={};n.forEach((n=>{void 0!==n.fileName?e.push({key:n.name,
file:`open("${n.fileName}", "rb")`}):void 0!==n.value&&(t[n.name]=n.value)
})),Object.keys(e).length&&(o.files=e),Object.keys(t).length&&(o.data=t)
}else"application/x-www-form-urlencoded"===e&&n&&(o.data=Object.fromEntries(n.map((e=>[e.name,e.value]))))
}const i=[],s=`"${r.url}"`;r.url.length>40?i.push(s):i.push("")
;for(const[l,c]of Object.entries(o))if("auth"===l)i.push(`${l}=(${UGe(JSON.stringify(c[0]))}, ${UGe(JSON.stringify(c[1]))})`);else if("files"===l){
const e="[\n"+c.map((({key:e,file:t})=>` ("${e}", ${t})`)).join(",\n")+"\n ]"
;i.push(`${l}=${e}`)}else if("json"===l){
const e=UGe(JSON.stringify(c,null,2).split("\n").map(((e,t)=>0===t?e:" "+e)).join("\n"))
;i.push(`${l}=${e}`)
}else if("data"===l&&"application/octet-stream"===r.postData?.mimeType)i.push(`${l}=b"${c}"`);else{
const e=UGe(JSON.stringify(c,null,2).split("\n").map(((e,t)=>0===t?e:" "+e)).join("\n"))
;i.push(`${l}=${e}`)}
return r.url.length>40?`${e}.${a}(\n ${i.join(",\n ")}\n)`:i.length<=1?`${e}.${a}(${s})`:`${e}.${a}(${s}${i.length>1?",":""}\n ${i.slice(1).join(",\n ")}\n)`
}const ZGe={target:"python",client:"httpx_async",title:"HTTPX (Async)",
generate(e,t){let n=zGe("await client",e,t)
;return n=n.split("\n").map((e=>""===e.trim()?e:" "+e)).join("\n"),
`async with httpx.AsyncClient() as client:\n${n}`}},FGe={target:"python",
client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>zGe("httpx",e,t)},HGe={
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:a,method:o},i={})=>{
const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:u}=new qWe
;if(l("import http.client"),s&&l("import ssl"),c(),"https:"===t){
l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),
c()}else l(`conn = http.client.HTTPConnection("${n}")`),c()
;const d=JSON.stringify(null==r?void 0:r.text);d&&(l(`payload = ${d}`),c())
;const p=a,h=Object.keys(p).length
;if(1===h)for(const f in p)l(`headers = { '${f}': "${GWe(p[f])}" }`),
c();else if(h>1){let e=1;l("headers = {")
;for(const t in p)e++!==h?l(` '${t}': "${GWe(p[t])}",`):l(` '${t}': "${GWe(p[t])}"`)
;l("}"),c()}
return l(d&&h?`conn.request("${o}", "${e}", payload, headers)`:d&&!h?`conn.request("${o}", "${e}", payload)`:!d&&h?`conn.request("${o}", "${e}", headers=headers)`:`conn.request("${o}", "${e}")`),
c(),
l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),
u()}},QGe={target:"python",client:"python3",title:"http.client",
generate:e=>JWe(HGe,e)},VGe={target:"python",client:"requests",title:"Requests",
generate:(e,t)=>zGe("requests",e,t)},qGe={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:a,method:o},i={})=>{
let s,l;const{push:c,blank:u,join:d}=new qWe({
indent:null!==(s=i.indent)&&void 0!==s?s:" "})
;c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key
;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0]
;c(`queryString <- list(${e[0]} = "${e[1]}")`),u()
}else f>1&&(c("queryString <- list("),h.forEach((([e,t],n)=>{
c(`${e} = "${t}"${n!==f-1?",":""}`,1)})),c(")"),u())
;const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),u()),
r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){
case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break
;case"application/json":c('encode <- "json"'),u();break
;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:
c('encode <- "raw"'),u()}
const g=nXe(a,"cookie"),v=nXe(a,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=v?`accept("${GWe(v)}")`:void 0,O=`content_type("${GWe(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(a).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${XWe(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0
;let k=`response <- VERB("${o}", url`
;m&&(k+=", body = payload"),n.length&&(k+=", query = queryString")
;const S=[x,O,y,b].filter((e=>!!e)).join(", ")
;return S&&(k+=`, ${S}`),r&&(r.text||r.jsonObj||r.params)&&(k+=", encode = encode"),
k+=")",c(k),u(),c('content(response, "text")'),d()}},WGe={target:"r",
client:"httr",title:"httr",generate:e=>JWe(qGe,e)},XGe={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:a},o={})=>{
const{insecureSkipVerify:i=!1}=o,{push:s,blank:l,join:c}=new qWe
;s("require 'uri'"),s("require 'net/http'"),l()
;const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase()
;["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),
s(` METHOD = '${u.toUpperCase()}'`),
s(` REQUEST_HAS_BODY = '${(null==r?void 0:r.text)?"true":"false"}'`),
s(" RESPONSE_HAS_BODY = true"),
s("end"),l()),s(`url = URI("${n}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),
"https:"===e.protocol&&(s("http.use_ssl = true"),
i&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),
l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(a)
;return p.length&&p.forEach((e=>{s(`request["${e}"] = '${XWe(a[e])}'`)
})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),
l(),s("response = http.request(request)"),s("puts response.read_body"),c()}
},GGe={target:"ruby",client:"native",title:"net::http",generate:e=>JWe(XGe,e)}
;function YGe(e){return`"${function(e){
return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")
}(e)}"`}function KGe(e,t){return`${" ".repeat(4*e)}${t}`}function JGe(e,...t){
return KGe(1,`.${e}(${t.join(", ")})`)}const eYe={target:"rust",
client:"reqwest",title:"reqwest",generate(e,t){if(!e)return""
;const n=function(e){return{...e,method:(e.method||"GET").toUpperCase()}
}(e),r=(a=n.queryString,
a?.length?`?${a.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&")}`:"")
;var a;const o=function(e,t){return`${e}${t}`}(n.url||"",r),i=function(e){
const t={}
;if(e.headers)for(const n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value)
;if(e.cookies&&e.cookies.length>0){
const n=e.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;t.Cookie=n}return t}(n),s=[],l=nYe(t?.auth);l&&s.push(l),s.push(...rYe(i))
;const c=aYe(n.postData);return c&&s.push(c),oYe(o,n.method,s)}
},tYe=e=>e.fileName?[KGe(2,`let part = reqwest::multipart::Part::text(${YGe(e.value||"")})`),KGe(3,`.file_name(${YGe(e.fileName)});`),KGe(2,`form = form.part(${YGe(e.name)}, part);`)].join("\n"):KGe(2,`form = form.text(${YGe(e.name)}, ${YGe(e.value||"")});`),nYe=e=>e?.username&&e?.password?JGe("basic_auth",YGe(e.username),YGe(e.password)):null,rYe=e=>Object.entries(e).map((([e,t])=>JGe("header",YGe(e),YGe(t)))),aYe=e=>{
if(!e)return null;const{mimeType:t,text:n,params:r}=e;switch(t){
case"application/json":return JGe("json",`&serde_json::json!(${function(e){try{
const t=JSON.parse(e),n=JSON.stringify(t,null,4).split("\n")
;return n.map(((e,t)=>0===t?e:(n.length,KGe(1,e)))).join("\n")}catch{return e}
}(n)})`);case"application/x-www-form-urlencoded":
return JGe("form",`&[${r?.map((e=>`(${YGe(e.name)}, ${YGe(e.value||"")})`)).join(", ")||""}]`)
;case"multipart/form-data":{
const e=r?.map(tYe).join("\n")||"",t=[".multipart({",KGe(2,"let mut form = reqwest::multipart::Form::new();"),e,KGe(3,"form"),KGe(2,"})")].join("\n")
;return KGe(1,t)}default:return JGe("body",YGe(n||""))}},oYe=(e,t,n)=>{
const r=["let client = reqwest::Client::new();",""]
;n.length>0?(r.push("let request = client"),
r.push(KGe(1,`.${t.toLowerCase()}(${YGe(e)})`)),
r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${YGe(e)})`)
;const a=r[r.length-1]
;return r[r.length-1]=a+";",r.push(""),r.push("let response = request.send().await?;"),
r.join("\n")
},iYe=e=>e.replace(/'/g,"'\\''"),sYe=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,lYe={
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:a,url:o},i)=>{
const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,
queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i
},{push:l,join:c,unshift:u}=new qWe({indent:s.indent,
join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[]
;s.headers&&p.push(s.short?"-h":"--headers"),
s.body&&p.push(s.short?"-b":"--body"),
s.verbose&&p.push(s.short?"-v":"--verbose"),
s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),
s.verify&&p.push(`--verify=${s.verify}`),
s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),
s.style&&p.push(`--style=${s.style}`),
s.timeout&&p.push(`--timeout=${s.timeout}`),
s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e]
;Array.isArray(t)?t.forEach((t=>{l(`${e}==${sYe(t)}`)})):l(`${e}==${sYe(t)}`)
})),Object.keys(e).sort().forEach((t=>{l(`${t}:${sYe(e[t])}`)
})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params?.length&&(p.push(s.short?"-f":"--form"),
t.params.forEach((e=>{l(`${e.name}=${sYe(e.value)}`)
}))):"multipart/form-data"===(null==t?void 0:t.mimeType)?t?.params?.length&&(p.push("--multipart"),
t.params.forEach((e=>{
e.fileName?l(`${e.name}@${sYe(e.fileName)}`):l(`${e.name}='${sYe(e.value)}'`)
}))):d=!0
;if(u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=sYe(s.queryParams?o:r)}`),
d&&(null==t?void 0:t.text)){u(`echo ${sYe(t.text)} | `)}return c()}},cYe={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},a)=>{const o={indent:" ",
short:!1,verbose:!1,...a},{push:i,join:s}=new qWe({indent:o.indent,
join:!1!==o.indent?` \\\n${o.indent}`:" "});var l
;return o.verbose?i("wget "+(o.short?"-v":"--verbose")):i("wget "+(o.short?"-q":"--quiet")),
i(`--method ${sYe(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`
;i(`--header ${sYe(t)}`)
})),(null==t?void 0:t.text)&&i(`--body-data ${l=sYe(t.text),
l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),
i(o.short?"-O":"--output-document"),i(`- ${sYe(r)}`),s()}
},uYe=(e,t)=>t.repeat(e),dYe=(e,t,n,r)=>{
const a=uYe(r,n),o=uYe(r-1,n),i=t?`,\n${a}`:", "
;return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`
},pYe=(e,t,n)=>`let ${e} = ${hYe(t,n)}`,hYe=(e,t,n)=>{const r=void 0===n?1:n+1
;switch(Object.prototype.toString.call(e)){case"[object Number]":return e
;case"[object Array]":{let n=!1
;const a=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),
hYe(e,t,r))));return dYe(a,n,t.indent,r)}case"[object Object]":{const n=[],a=e
;for(const e in a)Object.hasOwn(a,e)&&n.push(`"${e}": ${hYe(a[e],t,r)}`)
;return dYe(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":
return e.toString();default:
return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},fYe={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},a)=>{let o;const i={
indent:" ",pretty:!0,timeout:"10",...a},{push:s,blank:l,join:c}=new qWe({
indent:i.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,
l(),s(pYe("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,
t.mimeType){case"application/x-www-form-urlencoded":
if(l(),null===(o=t.params)||void 0===o?void 0:o.length){const[e,...n]=t.params
;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),
n.forEach((({name:e,value:t})=>{
s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))
}else u.hasBody=!1;break;case"application/json":
t.jsonObj&&(s(`${pYe("parameters",t.jsonObj,i)} as [String : Any]`),
l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"))
;break;case"multipart/form-data":
s(pYe("parameters",t.params,i)),l(),s(`let boundary = "${t.boundary}"`),
l(),s('var body = ""'),
s("var error: NSError? = nil"),s("for param in parameters {"),
s('let paramName = param["name"]!',1),
s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),
s('if let filename = param["fileName"] {',1),
s('let contentType = param["content-type"]!',2),
s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),
s("if (error != nil) {",2),
s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),
s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),
s("body += fileContent",2),
s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),
s("}",1),s("}");break;default:
l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)
}
return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),
s(" cachePolicy: .useProtocolCachePolicy,"),
s(` timeoutInterval: ${Number.parseInt(i.timeout,10).toFixed(1)})`),
s(`request.httpMethod = "${r}"`),
u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),
u.hasBody&&s("request.httpBody = postData as Data"),
l(),s("let session = URLSession.shared"),
s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),
s("if (error != nil) {",1),
s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),
s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}
},mYe=[{key:"c",title:"C",default:"libcurl",clients:[eXe]},{key:"csharp",
title:"C#",default:"restsharp",clients:[hXe,vXe]},{key:"clojure",
title:"Clojure",default:"clj_http",clients:[pXe]},{key:"dart",title:"Dart",
default:"http",clients:[bXe]},{key:"fsharp",title:"F#",default:"httpclient",
clients:[yXe]},{key:"go",title:"Go",default:"native",clients:[xXe]},{key:"http",
title:"HTTP",default:"http1.1",clients:[kXe]},{key:"java",title:"Java",
default:"unirest",clients:[_Xe,TXe,CXe,PXe]},{key:"js",title:"JavaScript",
default:"fetch",clients:[dGe,iGe,fGe,hGe,gGe]},{key:"kotlin",title:"Kotlin",
default:"okhttp",clients:[bGe]},{key:"node",title:"Node.js",default:"fetch",
clients:[wGe,OGe,xGe,kGe]},{key:"objc",title:"Objective-C",
default:"nsurlsession",clients:[TGe]},{key:"ocaml",title:"OCaml",
default:"cohttp",clients:[CGe]},{key:"php",title:"PHP",default:"curl",
clients:[DGe,MGe]},{key:"powershell",title:"PowerShell",default:"webrequest",
clients:[jGe,LGe]},{key:"python",title:"Python",default:"python3",
clients:[QGe,VGe,FGe,ZGe]},{key:"r",title:"R",default:"httr",clients:[WGe]},{
key:"ruby",title:"Ruby",default:"native",clients:[GGe]},{key:"rust",
title:"Rust",default:"reqwest",clients:[eYe]},{key:"shell",title:"Shell",
default:"curl",clients:[{target:"shell",client:"curl",title:"Curl",
generate(e,t){const n={method:"GET",...e};n.method=n.method.toUpperCase()
;const r=["curl"],a=n.queryString?.length?"?"+n.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",o=`${n.url}${a}`,i=/[\s<>[\]{}|\\^%$]/.test(o),s=a||i?`'${o}'`:o
;if(r[0]=`curl ${s}`,
"GET"!==n.method&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){
const e=iYe(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}
if(n.headers?.length){n.headers.forEach((e=>{
const t=iYe(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)}))
;const e=n.headers.find((e=>"accept-encoding"===e.name.toLowerCase()))
;e&&/gzip|deflate/.test(e.value)&&r.push("--compressed")}if(n.cookies?.length){
const e=n.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; "),t=iYe(e)
;r.push(`--cookie '${t}'`)}
if(n.postData)if("application/json"===n.postData.mimeType){
if(n.postData.text)try{
const e=JSON.parse(n.postData.text),t=JSON.stringify(e,null,2),a=iYe(t)
;r.push(`--data '${a}'`)}catch{const e=iYe(n.postData.text??"")
;r.push(`--data '${e}'`)}
}else if("application/octet-stream"===n.postData.mimeType){
const e=iYe(n.postData.text??"");r.push(`--data-binary '${e}'`)
}else if("application/x-www-form-urlencoded"===n.postData.mimeType&&n.postData.params)n.postData.params.forEach((e=>{
const t=iYe(e.value??""),n=encodeURIComponent(e.name),a=iYe(n)
;r.push(`--data-urlencode '${a}=${t}'`)
}));else if("multipart/form-data"===n.postData.mimeType&&n.postData.params)n.postData.params.forEach((e=>{
const t=iYe(e.name);if(void 0!==e.fileName){const n=iYe(e.fileName)
;r.push(`--form '${t}=@${n}'`)}else{const n=iYe(e.value??"")
;r.push(`--form '${t}=${n}'`)}}));else try{
const e=JSON.parse(n.postData.text??""),t=JSON.stringify(e,null,2),a=iYe(t)
;r.push(`--data '${a}'`)}catch{const e=iYe(n.postData.text??"")
;r.push(`--data '${e}'`)}return r.join(" \\\n ")}},{target:"shell",
client:"wget",title:"Wget",generate:e=>JWe(cYe,e)},{target:"shell",
client:"httpie",title:"HTTPie",generate:e=>JWe(lYe,e)}]},{key:"swift",
title:"Swift",default:"nsurlsession",clients:[{target:"swift",
client:"nsurlsession",title:"NSURLSession",generate:e=>JWe(fYe,e)}]}]
;function gYe(){function e(e,t){
return mYe.find((({key:t})=>t===e))?.clients.find((e=>e.client===t))}return{
print:(t,n,r)=>e(t,n)?.generate(r),clients:()=>mYe,
plugins:()=>mYe.flatMap((({key:e,clients:t})=>t.map((t=>({target:e,
client:t.client}))))),findPlugin:e,hasPlugin:(t,n)=>Boolean(e(t,n))}}
const vYe=e=>`custom/${e.lang}`,bYe=(e=tVe)=>{const t=new Set(e)
;return gYe().clients().flatMap((e=>{const n=e.clients.flatMap((n=>{
const r=`${e.key}/${n.client}`;return t.has(r)?{id:r,
lang:"curl"===n.client?"curl":e.key,title:`${yh(e.title)} ${n.title}`,
label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]}))
;return 0===n.length?[]:{label:e.title,options:n}}))
},yYe=(e,t)=>"[{}]"===JSON.stringify(t)&&e?.length?e.find((e=>"{}"===JSON.stringify(e)))?e:[...e,{}]:t??e??[],OYe=e=>{
const t=e.some((e=>Object.keys(e).length>1))
;return e.some((e=>0===Object.keys(e).length))&&!t},wYe=(e,t,n=[],r=!1)=>{if(r){
if(t)return t}else if(e)return e;const a=OYe(n),o=n[0];return a||!o?{
selectedIndex:-1,selectedSchemes:[]}:{selectedIndex:0,selectedSchemes:[o]}
},xYe=["aria-controls","aria-selected","tabindex"],kYe=Hg({
__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},
setup:e=>(t,n)=>(Fb(),qb("button",{"aria-controls":e.controls??"",
"aria-selected":!!e.selected,
class:Dh(["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"},[Av(t.$slots,"default")],10,xYe))
}),SYe={
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"
},_Ye={
class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"
},AYe={class:"context-bar-group-hover:hidden mr-1.5"},TYe=Hg({
__name:"SectionFilter",props:Bv({filters:{default:()=>[]},filterIds:{}},{
modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),n=bm(),r=r=>{
const a="prev"===r?-1:1,o=t.value?e.filters.indexOf(t.value):0,i=e.filters.length,s=(o+a+i)%i
;t.value=e.filters[s],Xm((()=>{if(n.value){
const e=n.value.querySelector('button[aria-selected="true"]');e&&e.focus()}}))}
;return(a,o)=>(Fb(),qb("div",{ref_key:"tablist",ref:n,
class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",
onKeydown:[o[0]||(o[0]=FO((e=>r("prev")),["left"])),o[1]||(o[1]=FO((e=>r("next")),["right"]))]
},[Jb("div",SYe,[(Fb(!0),qb(Lb,null,Sv(e.filters,(n=>(Fb(),Wb(kYe,{key:n,
class:"filter-hover-item",controls:e.filterIds?.[n],role:"tab",
selected:t.value===n,onClick:e=>t.value=n},{default:ig((()=>[ry(Uh(n),1)])),_:2
},1032,["controls","selected","onClick"])))),128)),Jb("div",_Ye,[Jb("span",AYe,Uh(t.value),1),ey(xm(Pre),{
icon:"FilterList",size:"md",thickness:"2"})])])],544))}
}),EYe=Hoe(TYe,[["__scopeId","data-v-f97cc68c"]]),CYe={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"
},$Ye=Hg({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),
qb("section",Mh(ty(xm(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?(Fb(),
qb("div",CYe,[Av(e.$slots,"title")])):oy("",!0),Av(e.$slots,"default")],16))}
}),PYe=e=>{if(e instanceof File)return e.name},IYe=(e,t)=>{
if(!e||!("type"in e)||"string"!=typeof t)return{ok:!0}
;if("integer"===e.type||"number"===e.type){const n=Number(t);if(isNaN(n))return{
ok:!1,message:"Value must be a number (e.g., 42.5)"}
;if("integer"===e.type&&!Number.isInteger(n))return{ok:!1,
message:"Value must be a whole number (e.g., 42)"}
;if(void 0!==e.minimum&&n<e.minimum)return{ok:!1,
message:`Value must be ${e.minimum} or greater`}
;if(void 0!==e.maximum&&n>e.maximum)return{ok:!1,
message:`Value must be ${e.maximum} or less`}}if("string"===e.type&&e.format){
if("date"===e.format&&!/^\d{4}-\d{2}-\d{2}$/.test(t??""))return{ok:!1,
message:"Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)"}
;if("date-time"===e.format&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(t??""))return{
ok:!1,
message:"Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)"
};if("email"===e.format&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t??""))return{ok:!1,
message:"Please enter a valid email address (e.g., user@example.com)"}
;if("uri"===e.format&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(t??""))return{ok:!1,
message:"Please enter a valid URI (e.g., https://example.com)"}}return{ok:!0}
},DYe=["aria-label","role"],MYe={
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"
},NYe={key:0,class:"text-error-1"},RYe={key:1,
class:"schema text-c-2 flex items-center"},LYe={key:0},BYe={key:1},jYe={key:2
},UYe={key:3},zYe={key:4},ZYe=Hg({__name:"RequestTableTooltip",props:{schema:{},
value:{},description:{}},setup(e){
const t=Ty((()=>IYe(e.schema,e.value))),n=Ty((()=>!1===t.value.ok))
;return(r,a)=>(Fb(),Wb(xm(vae),{offset:4,placement:"left",teleport:""},{
popover:ig((()=>[Jb("div",MYe,[!1===t.value.ok?(Fb(),
qb("div",NYe,Uh(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)?(Fb(),
qb("div",RYe,["type"in e.schema?(Fb(),
qb("span",LYe,Uh(e.schema.type),1)):oy("",!0),"format"in e.schema?(Fb(),
qb("span",BYe,Uh(e.schema.format),1)):oy("",!0),"minimum"in e.schema?(Fb(),
qb("span",jYe,"min: "+Uh(e.schema.minimum),1)):oy("",!0),"maximum"in e.schema?(Fb(),
qb("span",UYe,"max: "+Uh(e.schema.maximum),1)):oy("",!0),"default"in e.schema?(Fb(),
qb("span",zYe,"default: "+Uh(e.schema.default),1)):oy("",!0)])):oy("",!0),e.description&&!n.value?(Fb(),
Wb(xm(Gre),{key:2,class:"max-w-[16rem]",value:e.description
},null,8,["value"])):oy("",!0)])])),default:ig((()=>[Jb("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?(Fb(),Wb(xm(oP),{key:0,
class:"text-orange size-3.5 brightness-90 hover:brightness-75"
})):(Fb(),Wb(xm(WE),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"
}))],8,DYe)])),_:1}))}}),FYe=Hoe(ZYe,[["__scopeId","data-v-f2ab7aa3"]]),HYe={
class:"group contents"};const QYe=Hoe({},[["render",function(e,t){
return Fb(),qb("tr",HYe,[Av(e.$slots,"default")])}]]),VYe=Hg({inheritAttrs:!1,
__name:"DataTableCell",props:{is:{default:"td"}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),
Wb(wv(e.is),cy(xm(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 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:ig((()=>[Av(n.$slots,"default")])),_:3},16))}
}),qYe=["checked","disabled"],WYe=Hg({__name:"DataTableCheckbox",props:{
modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},
emits:["update:modelValue"],setup(e){const t=d_({
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)=>(Fb(),Wb(VYe,{
class:"group/cell relative flex min-w-8"},{default:ig((()=>[Jb("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]||(r[0]=e=>n.$emit("update:modelValue",e.target.checked))
},null,40,qYe),Jb("div",{class:Dh(xm(t)({align:e.align}))},[Jb("div",{
class:Dh(["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),ey(xm(Pre),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)])),_:1}))
}}),XYe={
class:"text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1"
},GYe={key:1,class:"p-0.5"},YYe=Hg({__name:"RequestTableRow",props:{data:{},
hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},
showUploadButton:{type:Boolean}},
emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate"],
setup(e,{emit:t}){
const n=t,r=bm(e.data.name??""),a=bm(TAe(e.data.value)??""),o=bm(e.data.isDisabled??!1)
;mg((()=>e.data.name),(e=>r.value=e??"")),
mg((()=>e.data.value),(e=>a.value=TAe(e)??"")),
mg((()=>e.data.isDisabled),(e=>o.value=e??!1))
;const i=Ty((()=>a.value instanceof File)),s=Ty((()=>(i.value?PYe(a.value):a.value)??"")),l=Ty((()=>e.data.schema?.default)),c=Ty((()=>{
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){const t=SVe.schema(e.data.schema.items)
;if(t?.enum)return t.enum.map((e=>String(e)))}return[]
})),u=Ty((()=>e.data.schema&&"minimum"in e.data.schema?e.data.schema.minimum:void 0)),d=Ty((()=>e.data.schema&&"maximum"in e.data.schema?e.data.schema.maximum:void 0)),p=Ty((()=>e.data.schema&&"type"in e.data.schema?e.data.schema.type:void 0)),h=Ty((()=>IYe(e.data.schema,a.value))),f=e=>{
void 0!==e.name&&(r.value=e.name),
void 0!==e.value&&(a.value=e.value),o.value=e.isDisabled??!1,n("upsertRow",{
name:r.value,value:a.value,isDisabled:o.value})};return(t,m)=>(Fb(),Wb(xm(QYe),{
id:e.data.name,class:Dh({alert:!1===h.value.ok,
error:!1===h.value.ok&&e.invalidParams?.has(e.data.name)})},{
default:ig((()=>[ey(xm(WYe),{class:"!border-r",
disabled:e.hasCheckboxDisabled??!1,modelValue:!o.value,
"onUpdate:modelValue":m[0]||(m[0]=e=>f({isDisabled:!e}))
},null,8,["disabled","modelValue"]),ey(xm(VYe),null,{
default:ig((()=>[ey(xm(IWe),{"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,
onSelectVariable:m[1]||(m[1]=e=>f({name:e})),
"onUpdate:modelValue":m[2]||(m[2]=e=>f({name:e}))
},null,8,["aria-label","disabled","environment","modelValue","required"])])),_:1
}),ey(xm(VYe),null,{default:ig((()=>[ey(xm(IWe),{
"aria-label":`${e.label} Value`,
class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",default:l.value,
disableCloseBrackets:"",disabled:e.data.isReadonly,disableEnter:"",
disableTabIndent:"",enum:c.value,environment:e.environment,
examples:e.data.schema?.examples?.map((e=>String(e)))??[],
linethrough:e.data.isOverridden,lineWrapping:"",max:d.value,min:u.value,
modelValue:s.value,placeholder:"Value",type:p.value,
"onUpdate:modelValue":m[5]||(m[5]=e=>f({value:e}))},{
icon:ig((()=>[!e.data.name&&!a.value||e.data.isRequired||!0===e.data.isReadonly?oy("",!0):(Fb(),
Wb(xm(O_),{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:m[3]||(m[3]=e=>n("deleteRow"))},{
default:ig((()=>[ey(xm(Q$),{class:"size-3.5"})])),_:1
})),void 0!==e.data.globalRoute?(Fb(),Wb(xm(Qre),{key:1,
class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",
icon:xm(OE),
label:"Global cookies are shared across the whole workspace. Click to navigate.",
size:"xs",tooltip:"top",variant:"ghost",
onClick:m[4]||(m[4]=t=>n("navigate",e.data.globalRoute))
},null,8,["icon"])):oy("",!0),e.data.isReadonly?(Fb(),Wb(FYe,{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?(Fb(),Wb(FYe,{key:3,description:e.data.description,
schema:e.data.schema,value:a.value
},null,8,["description","schema","value"])):oy("",!0)])),_:1
},8,["aria-label","default","disabled","enum","environment","examples","linethrough","max","min","modelValue","type"])])),
_:1}),e.showUploadButton?(Fb(),Wb(xm(VYe),{key:0,
class:"group/upload flex items-center justify-center whitespace-nowrap"},{
default:ig((()=>[i.value?(Fb(),qb(Lb,{key:0
},[Jb("div",XYe,[Jb("span",null,Uh(s.value),1)]),Jb("button",{
class:"bg-b-2 centered-x centered-y absolute hidden w-[calc(100%_-_8px)] rounded p-0.5 text-center text-xs font-medium group-hover/upload:block",
type:"button",onClick:m[6]||(m[6]=e=>n("removeFile"))
}," Delete ")],64)):(Fb(),qb("div",GYe,[ey(xm(O_),{
class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",
variant:"outlined",onClick:m[7]||(m[7]=e=>n("uploadFile"))},{
default:ig((()=>[m[8]||(m[8]=Jb("span",null,"Select File",-1)),ey(xm(Pre),{
class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})])),_:1})]))])),_:1
})):oy("",!0)])),_:1},8,["id","class"]))}}),KYe=["role"],JYe={key:0,
class:"sr-only"},eKe=Hg({__name:"DataTable",props:{columns:{},scroll:{
type:Boolean},presentational:{type:Boolean}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),
qb("div",Mh(ty(xm(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[Jb("table",{
class:Dh(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),
role:e.presentational?"presentation":"table",style:Eh({
gridTemplateColumns:e.columns.map((e=>e||"1fr")).join(" ")})
},[n.$slots.caption?(Fb(),
qb("caption",JYe,[Av(n.$slots,"caption")])):oy("",!0),Av(n.$slots,"default")],14,KYe)],16))
}}),tKe=Hg({__name:"DataTableHeader",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),Wb(VYe,cy({is:"th"
},xm(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),nKe=Hg({
__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}){
const n=t,r=Ty((()=>e.showUploadButton?["36px","","","auto"]:["36px","",""])),a=Ty((()=>{
if(!e.showAddRowPlaceholder)return e.data;const t=e.data.at(-1)
;return t&&""===t.name&&""===t.value?e.data:[...e.data,{name:"",value:"",
isDisabled:!0}]}));return(t,o)=>(Fb(),Wb(xm(eKe),{class:"group/table flex-1",
columns:r.value},{default:ig((()=>[ey(xm(QYe),{class:"sr-only !block"},{
default:ig((()=>[ey(xm(tKe),null,{
default:ig((()=>[ry(Uh(e.label)+" Enabled",1)])),_:1}),ey(xm(tKe),null,{
default:ig((()=>[ry(Uh(e.label)+" Key",1)])),_:1}),ey(xm(tKe),null,{
default:ig((()=>[ry(Uh(e.label)+" Value",1)])),_:1})])),_:1
}),(Fb(!0),qb(Lb,null,Sv(a.value,((t,r)=>(Fb(),Wb(YYe,{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:o[0]||(o[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"]))}}),rKe=Hoe(nKe,[["__scopeId","data-v-36811e28"]])
;function aKe({multiple:e,accept:t,onChange:n,onError:r}={}){const a=bm(null)
;let o
;typeof document<"u"&&(o=document.createElement("input"),o.type="file",o.onchange=e=>{
const t=e.target;a.value=t.files,n?.(a.value)},o.onerror=()=>r?.(),o.multiple=e,
o.accept=t);return{files:im(a),open:()=>{if(!o)return r?.();o.click()}}}
const oKe=Hg({__name:"RequestBodyForm",props:{example:{},selectedContentType:{},
environment:{}},emits:["update:formValue"],setup(e,{emit:t}){const n=t,r=bm([])
;mg((()=>e.example),(t=>{
r.value=((e,t)=>!e?.value||"multipart/form-data"!==t&&"application/x-www-form-urlencoded"!==t?[]:Array.isArray(e.value)?e.value:"object"==typeof e.value&&e.value?bUe(e.value).map((([e,t])=>({
name:String(e),value:t,isDisabled:!1}))):[])(t,e.selectedContentType)}),{
immediate:!0});const a=(e,t)=>{if(e>=r.value.length)return r.value=[...r.value,{
name:"",value:"",...t,isDisabled:!1}],void n("update:formValue",r.value)
;r.value=r.value.map(((n,r)=>r===e?{...n,...t}:n)),n("update:formValue",r.value)
},o=e=>{r.value=r.value.filter(((t,n)=>n!==e)),n("update:formValue",r.value)
},i=e=>{const{open:t}=aKe({onChange:t=>{const n=t?.[0];if(n){const t=r.value[e]
;a(e,{name:t?.name||n.name,value:n})}},multiple:!1,accept:"*/*"});t()}
;return(t,n)=>"multipart/form-data"===e.selectedContentType?(Fb(),Wb(rKe,{key:0,
data:r.value,environment:e.environment,showUploadButton:"",onDeleteRow:o,
onRemoveFile:n[0]||(n[0]=e=>a(e,{value:void 0})),onUploadFile:i,onUpsertRow:a
},null,8,["data","environment"])):(Fb(),Wb(rKe,{key:1,data:r.value,
environment:e.environment,onDeleteRow:o,onUpsertRow:a
},null,8,["data","environment"]))}}),iKe=["aria-labelledby"],sKe={
class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"
},lKe=["id"],cKe={key:0,class:"sr-only"},uKe={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"
},dKe={class:"sr-only"},pKe={key:0,
class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},hKe=Hg({
name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},
itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],
setup(e,{emit:t}){const n=t,r=Qg();return(t,a)=>(Fb(),Wb(xm(Gx),{as:"div",
class:Dh(["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:ig((({open:o})=>[ey(Wqe,{
value:o,onChange:a[0]||(a[0]=e=>n("update:modelValue",e))
},null,8,["value"]),Jb("section",{"aria-labelledby":xm(r),class:"contents"
},[Jb("div",{
class:Dh(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-lg border border-b-0"])
},[ey(xm(Yx),{
class:Dh(["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:ig((()=>[e.isStatic?oy("",!0):(Fb(),Wb(xm(Pre),{
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"})),Jb("h2",sKe,[Jb("span",{id:xm(r),
class:"contents"},[Av(t.$slots,"title",{open:o
}),o?oy("",!0):(Fb(),qb("span",cKe," (Collapsed) "))],8,lKe),!o&&e.itemCount?(Fb(),
qb("span",uKe,[ry(Uh(e.itemCount)+" ",1),Jb("span",dKe,"Item"+Uh(1===e.itemCount?"":"s"),1)])):oy("",!0)])])),
_:2
},1032,["class","disabled"]),t.$slots.actions?(Fb(),qb("div",pKe,[Av(t.$slots,"actions",{
open:o})])):oy("",!0)],2),ey(xm(Kx),cy(t.$attrs,{
class:"diclosure-panel h-full max-h-fit rounded-b"}),{
default:ig((()=>[Av(t.$slots,"default",{open:o})])),_:2},1040)],8,iKe)])),_:3
},8,["class","defaultOpen","static"]))}}),fKe={key:0,
class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"
},mKe={key:1,
class:"flex items-center justify-center overflow-hidden border-t p-1.5"},gKe={
class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"
},vKe=Hg({__name:"RequestBody",props:{requestBody:{},exampleKey:{},title:{},
environment:{}},emits:["update:contentType","update:value","update:formValue"],
setup(e,{emit:t}){const n=t,r={"application/json":"json",
"application/xml":"xml","application/yaml":"yaml"},a={
"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"
},o=Ty((()=>e.requestBody?.["x-scalar-selected-content-type"]?.[e.exampleKey]??Object.keys(e.requestBody?.content??{})[0]??"none"))
;mg((()=>e.requestBody?.["x-scalar-selected-content-type"]?.[e.exampleKey]),(e=>{
e||n("update:contentType",{value:o.value})}),{immediate:!0})
;const i=Object.entries(a).map((([e,t])=>({id:e,label:t}))),s=Ty({
get:()=>i.find((e=>e.id===o.value))??i.at(-1),set:e=>{n("update:contentType",{
value:e.id})}})
;const l=Ty((()=>e.requestBody&&RVe(e.requestBody,o.value,e.exampleKey))),c=Ty((()=>{
if(!l.value)return"";const e=l.value.value
;return"string"==typeof e?e:JSON.stringify(e,null,2)}))
;return(t,u)=>(Fb(),Wb(xm(hKe),null,{title:ig((()=>[ry(Uh(e.title),1)])),
default:ig((()=>[ey(xm(eKe),{columns:[""],presentational:""},{
default:ig((()=>[ey(xm(tKe),{
class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0"
},{default:ig((()=>[ey(xm(Wre),{modelValue:s.value,
"onUpdate:modelValue":u[0]||(u[0]=e=>s.value=e),options:xm(i),teleport:""},{
default:ig((()=>[ey(xm(O_),{
class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",
fullWidth:"",variant:"ghost"},{
default:ig((()=>[Jb("span",null,Uh(a[o.value]??o.value),1),ey(xm(Pre),{
icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["modelValue","options"])])),
_:1}),ey(xm(QYe),null,{
default:ig((()=>["none"===o.value?(Fb(),qb("div",fKe,[...u[5]||(u[5]=[Jb("span",null,"No Body",-1)])])):"application/octet-stream"===o.value?(Fb(),
qb("div",mKe,[void 0!==xm(PYe)(xm(TAe)(l.value?.value))?(Fb(),qb(Lb,{key:0
},[Jb("span",gKe,Uh(xm(PYe)(xm(TAe)(l.value?.value))),1),ey(xm(O_),{
class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",
variant:"outlined",onClick:u[1]||(u[1]=e=>n("update:value",{payload:void 0,
contentType:o.value}))},{
default:ig((()=>[...u[6]||(u[6]=[ry(" Delete ",-1)])])),_:1
})],64)):(Fb(),Wb(xm(O_),{key:1,
class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",
variant:"outlined",onClick:u[2]||(u[2]=()=>function(e){const{open:t}=aKe({
onChange:t=>{const n=t?.[0];n&&e(n)},multiple:!1,accept:"*/*"});t()
}((e=>n("update:value",{payload:e,contentType:o.value}))))},{
default:ig((()=>[u[7]||(u[7]=Jb("span",null,"Select File",-1)),ey(xm(Pre),{
class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})])),_:1
}))])):"multipart/form-data"===o.value||"application/x-www-form-urlencoded"===o.value?(Fb(),
Wb(oKe,{key:2,environment:e.environment,example:l.value,
selectedContentType:o.value,
"onUpdate:formValue":u[3]||(u[3]=e=>n("update:formValue",{payload:e,
contentType:o.value}))
},null,8,["environment","example","selectedContentType"])):(Fb(),Wb(xm(IWe),{
key:3,class:"border-t px-3",content:"",environment:e.environment,
language:r[o.value]??"plaintext",lineNumbers:"",lint:"",modelValue:c.value,
"onUpdate:modelValue":u[4]||(u[4]=e=>n("update:value",{payload:e,
contentType:o.value}))},null,8,["environment","language","modelValue"]))])),_:1
})])),_:1})])),_:1}))}}),bKe=Hoe(vKe,[["__scopeId","data-v-0a6f7696"]]),yKe=e=>{
const t=[],n=Array.isArray(e)?e.filter((e=>!e.isDisabled)).map((e=>[e.name,e.value])):Object.entries(e)
;for(const[r,a]of n)if(null!=a)if(a instanceof File){const e=TAe(a);t.push({
name:r,value:`@${e.name}`})
}else if(Array.isArray(a))for(const e of a)if(e instanceof File){const n=TAe(e)
;t.push({name:r,value:`@${n.name}`})}else t.push({name:r,value:String(e)
});else if("object"==typeof a){const e=yKe(a);for(const n of e)t.push({
name:`${r}.${n.name}`,value:n.value})}else t.push({name:r,value:String(a)})
;return t},OKe=e=>{if("header"===e.in)return{style:"simple",
explode:"explode"in e&&void 0!==e.explode&&e.explode};if("cookie"===e.in)return{
style:"form",explode:!("explode"in e)||void 0===e.explode||e.explode};const 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&&void 0!==e.explode?e.explode:"form"===n}},wKe=(e,t,n)=>{
const r=xVe(e,t,n);if(ZVe(e,r))return;if(void 0!==r?.value)return BVe(r.value,e)
;if(!("schema"in e)||!e.schema)return;const a="path"===e.in?{
emptyString:`{${e.name}}`}:{};return NVe($Se(e.schema),a)
},xKe=({harRequest:e,parameters:t,example:n})=>{
const r=[...e.headers],a=[...e.queryString];let o=e.url
;const i=(e=>(e??[]).map((e=>$Se(e))))(t);for(const s of i){
if(!s.in||!s.name)continue;const t=wKe(s,n,void 0);if(void 0===t)continue
;const{style:i,explode:l}=OKe(s);switch(s.in){case"path":o=kKe(o,s,t,i,l);break
;case"query":if("content"in s&&s.content){
const e=Object.keys(s.content)[0]??"application/json",n=FVe(t,e);a.push({
name:s.name,value:n});break}switch(i){case"form":{const e=QVe(t,l)
;if(Array.isArray(e))for(const t of e){const e=t.key||s.name;a.push({name:e,
value:String(t.value)})}else a.push({name:s.name,value:String(e)});break}
case"spaceDelimited":{const e=qVe(t);a.push({name:s.name,value:e});break}
case"pipeDelimited":{const e=WVe(t);a.push({name:s.name,value:e});break}
case"deepObject":if(l){const e=XVe(s.name,t);for(const t of e)a.push({
name:t.key,value:t.value})}break;default:a.push({name:s.name,value:String(t)})}
break;case"header":{const e=HVe(t,l);r.push({name:s.name,value:String(e)});break
}case"cookie":{const n=VVe(t,l);if(Array.isArray(n))for(const t of n){
const n=t.key||s.name,r=null===t.value?"null":String(t.value);e.cookies.push({
name:n,value:r})}else{const t=null===n?"null":String(n);e.cookies.push({
name:s.name,value:t})}break}}}return{url:o,headers:r,queryString:a,
cookies:e.cookies}},kKe=(e,t,n,r,a)=>{switch(r){case"matrix":if(a){
if(Array.isArray(n)){const r=n.map((e=>`${t.name}=${e}`)).join(";")
;return e.replace(`{;${t.name}}`,`;${r}`)}if("object"==typeof n&&null!==n){
const 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("object"==typeof n&&null!==n){
const 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(a){
if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(".")}`)
;if("object"==typeof n&&null!==n){
const 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("object"==typeof n&&null!==n){
const r=Object.entries(n).map((([e,t])=>`${e},${t}`)).join(",")
;return e.replace(`{.${t.name}}`,`.${r}`)}
return e.replace(`{.${t.name}}`,`.${n}`);case"simple":{const r=HVe(n,a)
;return e.replace(`{${t.name}}`,String(r))}default:
return e.replace(`{${t.name}}`,String(n))}
},SKe=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:a,server:o=null,example:i,securitySchemes:s,globalCookies:l})=>{
const c=e?yVe({method:r,operation:t,exampleKey:i??"default",
hideDisabledHeaders:!0
}).filter((e=>!e.isOverridden)):[],u=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[i??"default"]??{},d=((e,t)=>{
if(!e?.url)return t;const n=e.url;if(e.variables){
const r=Object.entries(e.variables).reduce(((e,[t,n])=>(void 0!==n.default&&(e[t]=n.default),
e)),{}),a=QV(n,r);return KV(a,t)}return KV(n,t)})(o,a),p={method:r,url:d,
headers:c.map((e=>({name:e.name,value:e.defaultValue}))),queryString:[],
postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1}
;if(t.parameters){const{url:e,headers:n,queryString:r,cookies:a}=xKe({
harRequest:p,parameters:t.parameters,example:i}),o=l?.filter((t=>LVe({cookie:t,
url:e,disabledGlobalCookies:u})))?.map((e=>({name:e.name,value:e.value})))??[]
;p.url=e,p.headers=n,p.queryString=r,p.cookies=[...o,...a]}
const h=$Se(t.requestBody);if(h?.content){
const e=(({requestBody:e,contentType:t,example:n})=>{
const r=t||Object.keys(e.content)[0]||"",a="multipart/form-data"===r||"application/x-www-form-urlencoded"===r,o="application/xml"===r,i=xVe(e,n,t)?.value
;if(typeof i<"u")return a&&"object"==typeof i&&null!==i?{mimeType:r,
params:yKe(i)}:o&&"object"==typeof i&&null!==i?{mimeType:r,text:DV(i)}:{
mimeType:r,text:"string"==typeof i?i:JSON.stringify(i)}
;const s=$Se(e.content[r]?.schema);if(typeof s<"u"){const e=NVe(s,{mode:"write",
xml:o});if(void 0!==e)return a&&"object"==typeof e&&null!==e?{mimeType:r,
params:yKe(e)}:o&&"object"==typeof e&&null!==e?{mimeType:r,text:DV(e)}:{
mimeType:r,text:"string"==typeof e?e:JSON.stringify(e)}}})({requestBody:h,
contentType:n,example:i})
;if(e&&(p.postData=e,p.bodySize=e.text?.length??-1,e.mimeType)){
const t=p.headers.find((e=>"content-type"===e.name.toLowerCase()))
;t&&!t.value?t.value=e.mimeType:t||p.headers.push({name:"Content-Type",
value:e.mimeType})}}if(s){const{headers:e,queryString:t,cookies:n}=(e=>{
const t={headers:[],queryString:[],cookies:[]}
;for(const n of e)if("apiKey"!==n.type){if("http"!==n.type){
if("oauth2"===n.type&&n.flows){
const 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}`})}
}else if("basic"===n.scheme){
const e=`${n["x-scalar-secret-username"]||""}:${n["x-scalar-secret-password"]||""}`,r=":"===e?"username:password":uqe(e)
;t.headers.push({name:"Authorization",value:`Basic ${r}`})
}else if("bearer"===n.scheme){
const e=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({
name:"Authorization",value:`Bearer ${e}`})}}else{
const e=n["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!n.name)continue
;const 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)}}
return t})(s);p.headers.push(...e),p.queryString.push(...t),p.cookies.push(...n)
}let f=0
;for(const m of p.headers)f+=(m.name?.length??0)+2+(m.value?.length??0)+2
;return p.headersSize=f,p
},_Ke="ws://replace.me",AKe=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:a,path:o,example:i,contentType:s,server:l,securitySchemes:c,globalCookies:u})=>{
try{if(!e)return""
;if(e.startsWith("custom"))return t.find((t=>vYe(t)===e))?.source??"Custom example not found"
;const d=SKe({operation:r,contentType:s,method:a,path:o,server:l,
securitySchemes:c,example:i,globalCookies:u,includeDefaultHeaders:n
}),[p,h]=e.split("/"),[f,m]=((t,r,a)=>{try{
if(!a.url)return[new Error("Please enter a URL to see a code snippet"),null]
;const e=a.url.startsWith("/")?"":"/";try{new URL(a.url)}catch(n){
console.error("[getSnippet] Invalid URL",n),a.url=`${_Ke}${e}${a.url}`}
if("application/json"===a.postData?.mimeType)try{
JSON.parse(a.postData.text||"{}")}catch(n){
return console.error("[getSnippet] Invalid JSON body",n),
[new Error("Invalid JSON body"),null]}const o=t.replace("javascript","js")
;if(gYe().hasPlugin(o,r)){const t=gYe().print(o,r,a)
;return t?[null,t.replace(`${_Ke}${e}`,"")]:[new Error("Error generating snippet"),null]
}}catch(e){
return console.error("[getSnippet] Error generating snippet",e),[new Error("Error generating snippet"),null]
}return[new Error("No snippet found"),null]})(p,h,d)
;return f?(console.error("[generateCodeSnippet]",f),
f.message??"Error generating code snippet"):m}catch(tx){
return console.error("[generateCodeSnippet]",tx),"Error generating code snippet"
}},TKe=(e,t)=>e.length?[{label:"Code Examples",options:e.map((e=>{
const t=vYe(e),n=e.label||e.lang||t;return{id:t,lang:e.lang||"plaintext",
title:n,label:n,clientKey:"custom"}}))
},...t]:t,EKe=e=>["x-custom-examples","x-codeSamples","x-code-samples"].flatMap((t=>e[t]??[])),CKe=e=>e.flatMap((e=>"apiKey"===e.type?e["x-scalar-secret-token"]:"http"===e?.type?[e["x-scalar-secret-token"],e["x-scalar-secret-username"],e["x-scalar-secret-password"],uqe(`${e["x-scalar-secret-username"]}:${e["x-scalar-secret-password"]}`)]:"oauth2"===e.type?Object.values(e.flows).map((e=>e["x-scalar-secret-token"])):[])).filter(Boolean),$Ke="shell/curl",PKe=e=>tVe.includes(e),IKe=(e,t)=>{
const n=e[0]?.options[0];if(t)for(const r of e){
const e=r.options.find((e=>e.id===t));if(e)return e}
if(!n?.id.startsWith("custom"))for(const r of e){
const e=r.options.find((e=>e.id===$Ke));if(e)return e}return n},DKe={
class:"flex flex-1"},MKe={class:"overflow-hidden"},NKe=Hg({
__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:{}},setup(e){
const t=Ty((()=>EKe(e.operation))),n=Ty((()=>TKe(t.value,e.clientOptions))),r=bm(IKe(n.value,e.selectedClient))
;mg((()=>e.selectedClient),(e=>{const t=IKe(n.value,e);t&&(r.value=t)}))
;const a=Ty((()=>CKe(e.securitySchemes??[]))),o=Ty((()=>AKe({
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:"client"===e.integration
}))),i=Ty((()=>n.value.some((e=>e.options.length>0))))
;return(t,s)=>sg((Fb(),Wb(xm(hKe),{class:"group/preview w-full border-t",
defaultOpen:!1},{title:ig((()=>[...s[1]||(s[1]=[ry("Code Snippet",-1)])])),
actions:ig((()=>[Jb("div",DKe,[ey(xm(e0),{modelValue:r.value,options:n.value,
placement:"bottom-end","onUpdate:modelValue":s[0]||(s[0]=t=>(t=>{
r.value=t,t&&!t.id.startsWith("custom")&&e.eventBus.emit("workspace:update:selected-client",t.id)
})(t))},{default:ig((({open:e})=>[ey(xm(O_),{
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:ig((()=>[ry(Uh(r.value?.title)+" ",1),ey(xm(kA),{
class:Dh(["mt-0.25 size-3 transition-transform duration-100",e&&"rotate-180"]),
weight:"bold"},null,8,["class"])])),_:2},1024)])),_:1
},8,["modelValue","options"])])])),default:ig((()=>[ey(xm(K2),null,{
default:ig((()=>[ey(xm(eKe),{columns:[""],presentational:""},{
default:ig((()=>[ey(xm(QYe),null,{default:ig((()=>[Jb("div",MKe,[ey(xm(VY),{
class:"text-base",content:o.value,hideCredentials:a.value,
lang:r.value?.lang??"plaintext",lineNumbers:""
},null,8,["content","hideCredentials","lang"])])])),_:1})])),_:1})])),_:1})])),
_:1},512)),[[nO,i.value]])}}),RKe={
class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"
},LKe={class:"sr-only"},BKe=Hg({__name:"RequestParams",props:{rows:{},
exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},
showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},
emits:["upsert","delete","deleteAll"],setup(e,{emit:t}){
const n=t,r=Ty((()=>e.rows.length>1)),a=(e,t)=>{const{value:r,...a}=t
;r instanceof File||n("upsert",e,{...a,value:r??""})}
;return(t,o)=>(Fb(),Wb(xm(hKe),{class:"group/params",itemCount:e.rows.length},{
title:ig((()=>[ry(Uh(e.title),1)])),
actions:ig((()=>[Jb("div",RKe,[r.value?(Fb(),Wb(xm(koe),{key:0,
content:"Clear optional parameters",placement:"left"},{
default:ig((()=>[ey(xm(O_),{class:"pr-0.75 pl-1 transition-none",size:"sm",
variant:"ghost",onClick:o[0]||(o[0]=zO((e=>n("deleteAll")),["stop"]))},{
default:ig((()=>[o[3]||(o[3]=ry(" Clear ",-1)),Jb("span",LKe,"All "+Uh(e.title),1)])),
_:1})])),_:1})):oy("",!0)])])),default:ig((()=>[ey(rKe,{class:"flex-1",
columns:["32px","",""],data:e.rows,environment:e.environment,
exampleKey:e.exampleKey,globalRoute:e.globalRoute,invalidParams:e.invalidParams,
label:e.label,showAddRowPlaceholder:e.showAddRowPlaceholder,
onDeleteRow:o[1]||(o[1]=e=>n("delete",{index:e})),
onNavigate:o[2]||(o[2]=t=>e.eventBus.emit("ui:navigate",t)),onUpsertRow:a
},null,8,["data","environment","exampleKey","globalRoute","invalidParams","label","showAddRowPlaceholder"])])),
_:1},8,["itemCount"]))}
}),jKe=(e,t,n,{context:r,defaultParameters:a=0,globalParameters:o=0})=>{
const i=a+o;return{delete:e=>{const a=r[e.index]?.originalParameter
;a&&t.emit("operation:delete:parameter",{originalParameter:a,meta:n},{
skipUnpackProxy:!0})},deleteAll:()=>t.emit("operation:delete-all:parameters",{
type:e,meta:n}),upsert:(s,l)=>{const c=r[s];if(s<a+o){
const r=s<a?"default":"global"
;return t.emit("operation:update:extra-parameters",{type:r,in:e,meta:{...n,
name:c?.name?.toLowerCase?.()??"NON_VALID"},payload:{isDisabled:l.isDisabled??!1
}})}if(s>=i)return t.emit("operation:upsert:parameter",{type:e,payload:l,
originalParameter:c?.originalParameter??null,meta:n},{skipUnpackProxy:!0,
debounceKey:`update:parameter-${e}-${s-i}`})}}
},UKe=e=>"schema"in e&&e.schema?$Se(e.schema):$Se((e=>{
if("content"in e&&e.content){const t=Object.keys(e.content)
;return 1!==t.length?void 0:e.content[t[0]]}
})(e)?.schema),zKe=(e,t,n)=>e.reduce(((e,r)=>{const a=n?n(r):r
;return(e[r[t]]??=[]).push(a),e}),{}),ZKe={
class:"text-c-2 mb-4 text-sm leading-normal"},FKe={
class:"flex justify-between gap-2"},HKe=Hg({__name:"DeleteRequestAuthModal",
props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){
const n=t,r=()=>{n("delete")};return(t,a)=>(Fb(),Wb(xm(Loe),{size:"xxs",
state:e.state,title:"Delete Security Scheme"},{
default:ig((()=>[Jb("p",ZKe," This cannot be undone. You're about to delete the "+Uh(e.label)+" security scheme from the collection. ",1),Jb("div",FKe,[ey(xm(O_),{
class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
type:"button",variant:"outlined",onClick:a[0]||(a[0]=e=>n("close"))},{
default:ig((()=>[...a[1]||(a[1]=[ry(" Cancel ",-1)])])),_:1}),ey(xm(O_),{
class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",
type:"submit",onClick:r},{default:ig((()=>[ry(" Delete "+Uh(e.label),1)])),_:1
})])])),_:1},8,["state"]))}}),QKe={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:{}}}}}},VKe=({name:e,type:t,value:n})=>({
id:H_e(JSON.stringify(n)),label:"openIdConnect"===t?`${e} (coming soon)`:e,
value:n,isDeletable:!0}),qKe=e=>VKe({type:"complex",
name:Object.keys(e).join(" & "),value:e}),WKe=(e,t)=>{const n=Object.keys(e)
;if(n.length>1)return qKe(e);if(n[0]){const r=$Se(t[n[0]]);return r?VKe({
name:n[0],type:r.type,value:e}):void 0}},XKe={class:"flex gap-2"},GKe={
class:"flex max-h-8 flex-1"},YKe=Hg({__name:"CommandActionForm",props:{
loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],
setup(e){const{cx:t}=h_();return(n,r)=>(Fb(),qb("form",{
class:"flex w-full flex-col gap-3",
onKeydown:r[0]||(r[0]=FO(zO((()=>{}),["stop"]),["enter"])),
onSubmit:r[1]||(r[1]=zO((t=>!e.disabled&&n.$emit("submit")),["prevent","stop"]))
},[Jb("div",Mh(ty(xm(t)("relative flex min-h-20 flex-col rounded"))),[Av(n.$slots,"default")],16),Jb("div",XKe,[Jb("div",GKe,[Av(n.$slots,"options")]),ey(xm(O_),{
class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"
},{
default:ig((()=>[Av(n.$slots,"submit",{},(()=>[r[2]||(r[2]=ry("Continue",-1))]))])),
_:3},8,["disabled","loader"])])],32))}}),KKe=["placeholder"],JKe=Hg({
inheritAttrs:!1,__name:"CommandActionInput",props:{modelValue:{},placeholder:{},
autofocus:{type:Boolean}},emits:["update:modelValue","onDelete"],
setup(e,{emit:t}){const n=e,r=t,a=bm(null);cv((()=>Xm((()=>{
n.autofocus&&a.value?.focus()}))));const o=Ty({get:()=>n.modelValue??"",
set:e=>r("update:modelValue",e)});return(e,t)=>sg((Fb(),qb("textarea",cy({
id:"command-action-input",ref_key:"input",ref:a,
"onUpdate:modelValue":t[0]||(t[0]=e=>o.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]||(t[1]=FO((e=>function(e){
""===o.value&&(e.preventDefault(),e.stopPropagation(),r("onDelete",e))
}(e)),["delete"])),t[2]||(t[2]=FO((e=>function(e){
if(e.shiftKey||!e.target)return;e.preventDefault()
;const t=e.target,n=new Event("submit",{cancelable:!0});t.form?.dispatchEvent(n)
}(e)),["enter"]))]}),null,16,KKe)),[[CO,o.value]])}}),eJe={
class:"flex h-8 items-start gap-2 text-sm"},tJe={
class:"flex h-8 items-start gap-2 text-sm"},nJe=Hg({
__name:"OAuthScopesAddModal",props:{state:{},scopes:{}},
emits:["cancel","submit"],setup(e,{emit:t}){const n=t,r=bm({name:"",
description:""}),{toast:a}=gUe(),o=()=>{
r.value.name?(n("submit",r.value),e.state.hide()):a("Please fill in the name before adding a scope.","error")
};return mg((()=>e.state.open),(e=>{e&&(r.value={name:"",description:""})
})),(t,a)=>(Fb(),Wb(xm(Loe),{size:"xs",state:e.state,title:"Add Scope"},{
default:ig((()=>[ey(YKe,{
disabled:!r.value.name||e.scopes.includes(r.value.name),
onCancel:a[2]||(a[2]=e=>n("cancel")),onSubmit:o},{
submit:ig((()=>[...a[5]||(a[5]=[ry("Add Scope",-1)])])),
default:ig((()=>[Jb("div",eJe,[a[3]||(a[3]=ry(" Name: ",-1)),ey(JKe,{
modelValue:r.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>r.value.name=e),
autofocus:"",class:"!p-0",placeholder:"read:user"
},null,8,["modelValue"])]),Jb("div",tJe,[a[4]||(a[4]=ry(" Description: ",-1)),ey(JKe,{
modelValue:r.value.description,
"onUpdate:modelValue":a[1]||(a[1]=e=>r.value.description=e),class:"!p-0",
placeholder:"Read user data"},null,8,["modelValue"])])])),_:1
},8,["disabled"])])),_:1},8,["state"]))}
}),rJe=Hoe(nJe,[["__scopeId","data-v-43df1726"]]),aJe=Hg({inheritAttrs:!1,
__name:"DataTableCell",props:{is:{default:"td"}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),
Wb(wv(e.is),cy(xm(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 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:ig((()=>[Av(n.$slots,"default")])),_:3},16))}}),oJe={
class:"group contents"};const iJe=Hoe({},[["render",function(e,t){
return Fb(),qb("tr",oJe,[Av(e.$slots,"default")])
}]]),sJe=["checked","disabled"],lJe=Hg({__name:"DataTableCheckbox",props:{
modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},
emits:["update:modelValue"],setup(e){const t=d_({
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)=>(Fb(),Wb(aJe,{
class:"group/cell relative flex min-w-8"},{default:ig((()=>[Jb("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]||(r[0]=e=>n.$emit("update:modelValue",e.target.checked))
},null,40,sJe),Jb("div",{class:Dh(xm(t)({align:e.align}))},[Jb("div",{
class:Dh(["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),ey(xm(Pre),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)])),_:1}))
}}),cJe={class:"flex h-fit w-full"},uJe={class:"flex-1"},dJe={
class:"flex items-center gap-1.75"},pJe={
class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-scroll",style:{
gridTemplateColumns:"1fr auto"}},hJe={class:"font-code text-xs"},fJe={key:0
},mJe=Hg({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}
},emits:["update:selectedScopes"],setup(e,{emit:t}){
const n=t,r=bm(""),a=Ty((()=>Object.entries(e.flow?.scopes??{}).map((([e,t])=>({
id:e,label:e,description:t}))))),o=Ty((()=>{if(!r.value)return a.value
;const e=new RegExp(r.value.split("").map((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))).join(".*"),"i")
;return a.value.filter((({label:t,description:n})=>e.test(`${t} ${n}`)))
})),i=Ty((()=>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))})}
const l=()=>n("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})
}),c=()=>n("update:selectedScopes",{scopes:[]}),u=Noe()
;return(t,a)=>(Fb(),Wb(xm(aJe),{
class:"h-auto !max-h-[initial] min-h-8 items-center"},{
default:ig((()=>[Jb("div",cJe,[a[7]||(a[7]=Jb("div",{
class:"text-c-1 h-full items-center"},null,-1)),ey(xm(Gx),{as:"div",
class:"bl flex w-full flex-col"},{default:ig((()=>[ey(xm(Yx),{
class:Dh(["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:ig((({open:t})=>[Jb("div",uJe," Scopes Selected "+Uh(e.selectedScopes.length||0)+" / "+Uh(Object.keys(e.flow?.scopes??{}).length||0),1),Jb("div",dJe,[ey(xm(O_),{
class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",
onClick:a[0]||(a[0]=zO((e=>xm(u).show()),["stop"]))},{
default:ig((()=>[...a[3]||(a[3]=[ry(" Add Scope ",-1)])])),_:1
}),i.value?(Fb(),Wb(xm(O_),{key:0,class:"pr-0.75 pl-1 transition-none",
size:"sm",variant:"ghost",onClick:zO(c,["stop"])},{
default:ig((()=>[...a[4]||(a[4]=[ry(" Deselect All ",-1)])])),_:1
})):oy("",!0),i.value?oy("",!0):(Fb(),Wb(xm(O_),{key:1,
class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",
onClick:zO(l,["stop"])},{
default:ig((()=>[...a[5]||(a[5]=[ry(" Select All ",-1)])])),_:1})),ey(xm(Pre),{
class:"text-c-3 group-hover/scopes-accordion:text-c-2",
icon:t?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])])])),_:1
},8,["class"]),ey(xm(Kx),{as:"template"},{
default:ig((()=>[Jb("div",null,[ey(xm(yae),{modelValue:r.value,
"onUpdate:modelValue":a[1]||(a[1]=e=>r.value=e),
class:"flex items-center text-xs"
},null,8,["modelValue"]),Jb("table",pJe,[(Fb(!0),
qb(Lb,null,Sv(o.value,(({id:t,label:n,description:r})=>(Fb(),Wb(xm(iJe),{key:t,
class:"text-c-2",onClick:n=>s(t,!e.selectedScopes.includes(t))},{
default:ig((()=>[ey(xm(aJe),{
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:ig((()=>[Jb("span",hJe,Uh(n),1),a[6]||(a[6]=Jb("span",null,"–",-1)),r?(Fb(),
qb("span",fJe,Uh(r),1)):oy("",!0)])),_:2},1024),ey(xm(lJe),{
modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>s(t,e)
},null,8,["modelValue","onUpdate:modelValue"])])),_:2
},1032,["onClick"])))),128))])])])),_:1})])),_:1})]),ey(rJe,{
scopes:Object.keys(e.flow.scopes??{}),state:xm(u),
onSubmit:a[2]||(a[2]=t=>n("update:selectedScopes",{scopes:e.selectedScopes,
newScopePayload:{...t,flowType:e.flowType}}))},null,8,["scopes","state"])])),_:1
}))}}),gJe=e=>{const t=e?.url;return t?GV(t)?typeof window>"u"?{}:{basePath:t}:{
baseUrl:t}:{}},vJe=async(e,t,n,r,a)=>{const o=e[t];try{
if(!o)return[new Error("Flow not found"),null];const i=n.join(" ")
;if("clientCredentials"===t||"password"===t)return bJe(e,t,i,{proxyUrl:a},r)
;const s=(Math.random()+1).toString(36).substring(2,10),l=JV(e[t].authorizationUrl,gJe(r)),c=new URL(l)
;let u=null
;if("implicit"===t)c.searchParams.set("response_type","token");else if("authorizationCode"===t){
const n=e[t]
;if(c.searchParams.set("response_type","code"),"no"!==n["x-usePkce"]){
const e=(()=>{const e=new Uint8Array(32)
;return crypto.getRandomValues(e),iqe(e,!0)})(),t=await(async(e,t)=>{
if("plain"===t)return e
;if("function"!=typeof crypto?.subtle?.digest)return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."),
e;const n=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",n)
;return iqe(new Uint8Array(r),!0)})(e,n["x-usePkce"]);u={codeVerifier:e,
codeChallenge:t,codeChallengeMethod:"SHA-256"===n["x-usePkce"]?"S256":"plain"
},c.searchParams.set("code_challenge",t),
c.searchParams.set("code_challenge_method",u.codeChallengeMethod)}}const d=e[t]
;if(d["x-scalar-secret-redirect-uri"].startsWith("/")){
const e=r?.url||window.location.origin+window.location.pathname,t=new URL(d["x-scalar-secret-redirect-uri"],e).toString()
;c.searchParams.set("redirect_uri",t)
}else c.searchParams.set("redirect_uri",d["x-scalar-secret-redirect-uri"])
;o["x-scalar-security-query"]&&Object.keys(o["x-scalar-security-query"]).forEach((e=>{
const t=o["x-scalar-security-query"]?.[e];t&&c.searchParams.set(e,t)
})),c.searchParams.set("client_id",o["x-scalar-secret-client-id"]),
c.searchParams.set("state",s),i&&c.searchParams.set("scope",i)
;const p=window.open(c,"openAuth2Window","left=100,top=100,width=800,height=600")
;return p?new Promise((n=>{const l=setInterval((()=>{
let c=null,d=null,h=null,f=null;try{
const e=new URL(p.location.href).searchParams,t=o["x-tokenName"]||"access_token"
;c=e.get(t),d=e.get("code"),h=e.get("error"),f=e.get("error_description")
;const n=new URLSearchParams(p.location.href.split("#")[1])
;c||=n.get(t),d||=n.get("code"),
h||=n.get("error"),f||=n.get("error_description")}catch{}
if(p.closed||c||d||h)if(clearInterval(l),
p.close(),h)n([new Error(`OAuth error: ${h}${f?` (${f})`:""}`),null]);else if(c){
const e=p.location.href.match(/state=([^&]*)/)?.[1]
;n(e===s?[null,c]:[new Error("State mismatch"),null])
}else d&&"authorizationCode"===t?new URL(p.location.href).searchParams.get("state")===s?bJe(e,t,i,{
code:d,pkce:u,proxyUrl:a
},r).then(n):n([new Error("State mismatch"),null]):(clearInterval(l),
n([new Error("Window was closed without granting authorization"),null]))}),200)
})):[new Error("Failed to open auth window"),null]}catch{
return[new Error("Failed to authorize oauth2 flow"),null]}
},bJe=async(e,t,n,{code:r,pkce:a,proxyUrl:o}={},i)=>{const s=e[t]
;if(!s)return[new Error("OAuth2 flow was not defined"),null]
;const l=new URLSearchParams
;n&&("clientCredentials"===t||"password"===t)&&l.set("scope",n)
;const c="body"===s["x-scalar-credentials-location"]
;if(c&&(l.set("client_id",s["x-scalar-secret-client-id"]),
l.set("client_secret",s["x-scalar-secret-client-secret"])),
"x-scalar-secret-redirect-uri"in s&&s["x-scalar-secret-redirect-uri"]&&l.set("redirect_uri",s["x-scalar-secret-redirect-uri"]),
r)l.set("code",r),
l.set("grant_type","authorization_code"),a&&l.set("code_verifier",a.codeVerifier);else if("password"===t){
const 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")
;s["x-scalar-security-body"]&&Object.entries(s["x-scalar-security-body"]).forEach((([e,t])=>{
t&&l.set(e,t)}));try{const e={"Content-Type":"application/x-www-form-urlencoded"
}
;c||(e.Authorization=`Basic ${uqe(`${s["x-scalar-secret-client-id"]}:${s["x-scalar-secret-client-secret"]}`)}`)
;const t=JV(s.tokenUrl,gJe(i)),n=nq(o,t)?`${o}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,r=await(await fetch(n,{
method:"POST",headers:e,body:l})).json()
;return[null,r[s["x-tokenName"]||"access_token"]]}catch{
return[new Error("Failed to get an access token. Please check your credentials."),null]
}},yJe=["for"],OJe={class:"relative flex min-w-0 flex-1"
},wJe=["readOnly","type","value"],xJe={key:1,
class:"centered-y text-orange absolute right-7 text-xs"},kJe=Hg({
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}){
const n=e,r=t,a=bm(!0),o=bm(!1),i=qg("codeInput"),s=()=>!o.value&&r("inputBlur"),l=Ty((()=>"password"===n.type?"text":n.type??"text")),c=()=>{
!n.enum?.length&&!n.readOnly&&i.value?.focus()};return(t,o)=>(Fb(),Wb(VYe,{
class:Dh(["relative flex",e.containerClass])},{
default:ig((()=>[t.$slots.default?(Fb(),qb("div",{key:0,
class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c
},[Av(t.$slots,"default",{},void 0,!0),o[6]||(o[6]=ry(": ",-1))],8,yJe)):oy("",!0),Jb("div",OJe,[n.enum&&n.enum.length?(Fb(),
Wb(gWe,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,
value:n.enum,"onUpdate:modelValue":o[0]||(o[0]=e=>r("update:modelValue",e))
},null,8,["canAddCustomValue","modelValue","value"])):(Fb(),qb(Lb,{key:1
},[a.value&&"password"===e.type?(Fb(),qb("input",cy({key:0},e.id?{...t.$attrs,
id:e.id}:t.$attrs,{autocomplete:"off",
class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1",{
"scalar-password-input":"password"===e.type}],"data-1p-ignore":"",
readOnly:e.readOnly,spellcheck:"false",type:l.value,value:e.modelValue,
onInput:o[1]||(o[1]=e=>r("update:modelValue",e.target.value??""))
}),null,16,wJe)):(Fb(),Wb(xm(IWe),cy({key:1},t.$attrs,{id:e.id,
ref_key:"codeInput",ref:i,
class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",["password"===e.type&&e.description&&"pr-12",e.description&&"pr-8","password"===e.type&&"scalar-password-input"]],
description:e.description,disableCloseBrackets:"",disableTabIndent:"",
environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,
modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,
spellcheck:"false",type:l.value,onBlur:s,
onFocus:o[2]||(o[2]=e=>r("inputFocus")),
"onUpdate:modelValue":o[3]||(o[3]=e=>r("update:modelValue",e))
}),null,16,["id","class","description","environment","lineWrapping","max","min","modelValue","readOnly","required","type"]))],64))]),t.$slots.warning?(Fb(),
qb("div",xJe,[Av(t.$slots,"warning",{},void 0,!0)])):oy("",!0),Av(t.$slots,"icon",{},void 0,!0),e.modelValue?(Fb(),
Wb(xm(Qre),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:xm(DP),
label:"Clear Value",onClick:o[4]||(o[4]=e=>r("update:modelValue",""))
},null,8,["icon"])):oy("",!0),"password"===e.type?(Fb(),Wb(xm(Qre),{key:3,
class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25",
"data-testid":"data-table-password-toggle",icon:a.value?xm(dT):xm(bT),
label:a.value?"Show Password":"Hide Password",
onClick:o[5]||(o[5]=e=>a.value=!a.value)
},null,8,["icon","label"])):oy("",!0)])),_:3},8,["class"]))}
}),SJe=Hoe(kJe,[["__scopeId","data-v-3157c3c7"]]),_Je=["for"],AJe=Hg({
__name:"RequestAuthDataTableInput",props:Bv({containerClass:{},environment:{},
readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{
modelValue:{default:"",required:!0},modelModifiers:{}}),
emits:Bv(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),
setup(e,{emit:t}){const n=t,r=tb(e,"modelValue"),a=Qg()
;return(t,o)=>(Fb(),Wb(xm(SJe),cy({id:xm(a)},t.$attrs,{modelValue:r.value,
"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e),
canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,
environment:e.environment,lineWrapping:"",readOnly:e.readOnly,
required:e.required,type:e.type,onInputBlur:o[1]||(o[1]=e=>n("inputBlur")),
onInputFocus:o[2]||(o[2]=e=>n("inputFocus")),
onSelectVariable:o[3]||(o[3]=e=>n("selectVariable",e))}),{
default:ig((()=>[Jb("label",{for:xm(a)},[Av(t.$slots,"default")],8,_Je)])),
icon:ig((()=>[Av(t.$slots,"icon")])),_:3
},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))
}}),TJe={class:"flex h-8 items-center justify-end gap-2 border-t"},EJe={
class:"flex h-8 w-full items-center justify-end border-t"},CJe=Hg({
__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},
server:{},proxyUrl:{},name:{},eventBus:{}},emits:["update:selectedScopes"],
setup(e,{emit:t}){
const n=t,r=Doe(),{toast:a}=gUe(),o=Ty((()=>e.flows[e.type])),i=Ty((()=>e.selectedScopes.filter((e=>e in(o.value.scopes??{}))))),s=t=>e.eventBus.emit("auth:update:security-scheme",{
payload:{type:"oauth2",flows:{[e.type]:t}},name:e.name
}),l=t=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{
type:"oauth2",[e.type]:t},name:e.name})
;mg((()=>o.value["x-scalar-secret-redirect-uri"]),(e=>{
e||typeof window>"u"||!("x-scalar-secret-redirect-uri"in o.value)||l({
"x-scalar-secret-redirect-uri":window.location.origin+window.location.pathname})
}),{immediate:!0});const c=async()=>{if(r.isLoading)return;r.start()
;const[t,n]=await vJe(e.flows,e.type,i.value,e.server,e.proxyUrl)
;await r.clear(),n?l({"x-scalar-secret-token":n
}):(console.error(t),a(t?.message??"Failed to authorize","error"))}
;return(t,a)=>o.value["x-scalar-secret-token"]?(Fb(),qb(Lb,{key:0
},[ey(xm(iJe),null,{default:ig((()=>[ey(AJe,{class:"border-r-transparent",
environment:e.environment,modelValue:o.value["x-scalar-secret-token"],
placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password",
"onUpdate:modelValue":a[0]||(a[0]=e=>l({"x-scalar-secret-token":e}))},{
default:ig((()=>[...a[12]||(a[12]=[ry(" Access Token ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1}),ey(xm(iJe),{class:"min-w-full"},{
default:ig((()=>[Jb("div",TJe,[ey(xm(O_),{class:"mr-1 p-0 px-2 py-0.5",
loader:xm(r),size:"sm",variant:"outlined",onClick:a[1]||(a[1]=()=>l({
"x-scalar-secret-token":""}))},{
default:ig((()=>[...a[13]||(a[13]=[ry(" Clear ",-1)])])),_:1
},8,["loader"])])])),_:1})],64)):(Fb(),qb(Lb,{key:1},[ey(xm(iJe),null,{
default:ig((()=>["authorizationUrl"in o.value?(Fb(),Wb(AJe,{key:0,
containerClass:"border-r-0",environment:e.environment,
modelValue:o.value.authorizationUrl,
placeholder:"https://galaxy.scalar.com/authorize",
"onUpdate:modelValue":a[2]||(a[2]=e=>s({authorizationUrl:e}))},{
default:ig((()=>[...a[14]||(a[14]=[ry(" Auth URL ",-1)])])),_:1
},8,["environment","modelValue"])):oy("",!0),"tokenUrl"in o.value?(Fb(),Wb(AJe,{
key:1,environment:e.environment,modelValue:o.value.tokenUrl,
placeholder:"https://galaxy.scalar.com/token",
"onUpdate:modelValue":a[3]||(a[3]=e=>s({tokenUrl:e}))},{
default:ig((()=>[...a[15]||(a[15]=[ry(" Token URL ",-1)])])),_:1
},8,["environment","modelValue"])):oy("",!0)])),_:1
}),"x-scalar-secret-redirect-uri"in o.value?(Fb(),Wb(xm(iJe),{key:0},{
default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:o.value["x-scalar-secret-redirect-uri"],
placeholder:"https://galaxy.scalar.com/callback",
"onUpdate:modelValue":a[4]||(a[4]=e=>l({"x-scalar-secret-redirect-uri":e}))},{
default:ig((()=>[...a[16]||(a[16]=[ry(" Redirect URL ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1
})):oy("",!0),"x-scalar-secret-username"in o.value&&"x-scalar-secret-password"in o.value?(Fb(),
qb(Lb,{key:1},[ey(xm(iJe),null,{default:ig((()=>[ey(AJe,{class:"text-c-2",
environment:e.environment,modelValue:o.value["x-scalar-secret-username"],
placeholder:"janedoe","onUpdate:modelValue":a[5]||(a[5]=e=>l({
"x-scalar-secret-username":e}))},{
default:ig((()=>[...a[17]||(a[17]=[ry(" Username ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1}),ey(xm(iJe),null,{
default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:o.value["x-scalar-secret-password"],placeholder:"********",
type:"password","onUpdate:modelValue":a[6]||(a[6]=e=>l({
"x-scalar-secret-password":e}))},{
default:ig((()=>[...a[18]||(a[18]=[ry(" Password ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1})],64)):oy("",!0),ey(xm(iJe),null,{
default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:o.value["x-scalar-secret-client-id"],placeholder:"12345",
"onUpdate:modelValue":a[7]||(a[7]=e=>l({"x-scalar-secret-client-id":e}))},{
default:ig((()=>[...a[19]||(a[19]=[ry(" Client ID ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1
}),"x-scalar-secret-client-secret"in o.value?(Fb(),Wb(xm(iJe),{key:2},{
default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:o.value["x-scalar-secret-client-secret"],placeholder:"XYZ123",
type:"password","onUpdate:modelValue":a[8]||(a[8]=e=>l({
"x-scalar-secret-client-secret":e}))},{
default:ig((()=>[...a[20]||(a[20]=[ry(" Client Secret ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1
})):oy("",!0),"x-usePkce"in o.value?(Fb(),Wb(xm(iJe),{key:3},{
default:ig((()=>[ey(AJe,{enum:xm(oSe),environment:e.environment,
modelValue:o.value["x-usePkce"],readOnly:"",
"onUpdate:modelValue":a[9]||(a[9]=e=>s({"x-usePkce":e}))},{
default:ig((()=>[...a[21]||(a[21]=[ry(" Use PKCE ",-1)])])),_:1
},8,["enum","environment","modelValue"])])),_:1
})):oy("",!0),"implicit"!==e.type?(Fb(),Wb(xm(iJe),{key:4},{
default:ig((()=>[ey(AJe,{enum:["header","body"],environment:e.environment,
modelValue:o.value["x-scalar-credentials-location"]||"header",
placeholder:"header",readOnly:"","onUpdate:modelValue":a[10]||(a[10]=e=>(e=>s({
"x-scalar-credentials-location":"body"===e?"body":"header"}))(e))},{
default:ig((()=>[...a[22]||(a[22]=[ry(" Credentials Location ",-1)])])),_:1
},8,["environment","modelValue"])])),_:1})):oy("",!0),ey(xm(iJe),null,{
default:ig((()=>[ey(mJe,{flow:o.value,flowType:e.type,selectedScopes:i.value,
"onUpdate:selectedScopes":a[11]||(a[11]=e=>n("update:selectedScopes",e))
},null,8,["flow","flowType","selectedScopes"])])),_:1}),ey(xm(iJe),{
class:"min-w-full"},{default:ig((()=>[Jb("div",EJe,[ey(xm(O_),{
class:"mr-0.75 p-0 px-2 py-0.5",loader:xm(r),size:"sm",variant:"outlined",
onClick:c},{default:ig((()=>[...a[23]||(a[23]=[ry(" Authorize ",-1)])])),_:1
},8,["loader"])])])),_:1})],64))}}),$Je={
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"
},PJe={class:"flex min-h-8 border-t text-base"},IJe={
class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},DJe=["onClick"],MJe={
class:"relative z-10"},NJe=Hg({__name:"RequestAuthTab",props:{environment:{},
isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},
securitySchemes:{},server:{},eventBus:{}},emits:["update:selectedScopes"],
setup(e,{emit:t}){
const n=t,r=Ty((()=>Object.entries(e.selectedSecuritySchemas).map((([t,n=[]])=>({
scheme:$Se(e.securitySchemes[t]),name:t,scopes:n
}))))),a=bm(""),o=Ty((()=>r.value.length>1)),i=(e,t)=>{
const n=yh(e),r=t.description?`: ${t.description}`:"";switch(t.type){
case"apiKey":return`${n}${r||`: ${t.in}`}`;case"oauth2":{
const e=Object.keys(t.flows??{})[0];return`${n}: ${a.value||e}${r}`}case"http":
return`${n}: ${t.scheme}${r}`;default:return`${n}${r||`: ${t.type}`}`}
},s=(e,t)=>a.value===e||0===t&&!a.value,l=()=>e.isStatic&&"border-t",c=(t,n)=>e.eventBus.emit("auth:update:security-scheme-secrets",{
payload:{type:"http",...t},name:n}),u=(t,n)=>{
const r="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium"
;return s(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:r
}
;return(t,d)=>(Fb(!0),qb(Lb,null,Sv(r.value,(({scheme:t,name:r,scopes:p})=>(Fb(),
qb(Lb,{key:r},[o.value&&t?(Fb(),Wb(xm(QYe),{key:0},{
default:ig((()=>[ey(xm(VYe),{"aria-label":i(r,t),
class:"text-c-2 group/auth flex items-center leading-[22px] whitespace-nowrap outline-none hover:whitespace-normal"
},{default:ig((()=>[Jb("p",$Je,Uh(i(r,t)),1)])),_:2},1032,["aria-label"])])),_:2
},1024)):oy("",!0),t?.description&&!o.value?(Fb(),Wb(xm(QYe),{key:1},{
default:ig((()=>[ey(xm(VYe),{"aria-label":t.description,class:"max-h-[auto]"},{
default:ig((()=>[ey(xm(Kre),{
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)):oy("",!0),"http"===t?.type?(Fb(),qb(Lb,{key:2
},["bearer"===t.scheme?(Fb(),Wb(xm(QYe),{key:0},{default:ig((()=>[ey(AJe,{
containerClass:l(),environment:e.environment,
modelValue:t["x-scalar-secret-token"],placeholder:"Token",type:"password",
"onUpdate:modelValue":e=>c({"x-scalar-secret-token":e},r)},{
default:ig((()=>[...d[0]||(d[0]=[ry(" Bearer Token ",-1)])])),_:1
},8,["containerClass","environment","modelValue","onUpdate:modelValue"])])),_:2
},1024)):"basic"===t?.scheme?(Fb(),qb(Lb,{key:1},[ey(xm(QYe),null,{
default:ig((()=>[ey(AJe,{class:"text-c-2",environment:e.environment,
modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"",
"onUpdate:modelValue":e=>c({"x-scalar-secret-username":e},r)},{
default:ig((()=>[...d[1]||(d[1]=[ry(" Username ",-1)])])),_:1
},8,["environment","modelValue","onUpdate:modelValue"])])),_:2
},1024),ey(xm(QYe),null,{default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password",
"onUpdate:modelValue":e=>c({"x-scalar-secret-password":e},r)},{
default:ig((()=>[...d[2]||(d[2]=[ry(" Password ",-1)])])),_:1
},8,["environment","modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):oy("",!0)],64)):"apiKey"===t?.type?(Fb(),qb(Lb,{key:3
},[ey(xm(QYe),null,{default:ig((()=>[ey(AJe,{containerClass:l(),
environment:e.environment,modelValue:t.name,placeholder:"api-key",
"onUpdate:modelValue":t=>((t,n)=>e.eventBus.emit("auth:update:security-scheme",{
payload:{type:"apiKey",...t},name:n}))({name:t},r)},{
default:ig((()=>[...d[3]||(d[3]=[ry(" Name ",-1)])])),_:1
},8,["containerClass","environment","modelValue","onUpdate:modelValue"])])),_:2
},1024),ey(xm(QYe),null,{default:ig((()=>[ey(AJe,{environment:e.environment,
modelValue:t["x-scalar-secret-token"],
placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password",
"onUpdate:modelValue":t=>((t,n)=>e.eventBus.emit("auth:update:security-scheme-secrets",{
payload:{type:"apiKey",...t},name:n}))({"x-scalar-secret-token":t},r)},{
default:ig((()=>[...d[4]||(d[4]=[ry(" Value ",-1)])])),_:1
},8,["environment","modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):"oauth2"===t?.type?(Fb(),qb(Lb,{key:4
},[Object.keys(t.flows).length>1?(Fb(),Wb(xm(QYe),{key:0},{
default:ig((()=>[Jb("div",PJe,[Jb("div",IJe,[(Fb(!0),
qb(Lb,null,Sv(t.flows,((e,t,n)=>(Fb(),qb("button",{key:t,class:Dh(u(t,n)),
type:"button",onClick:e=>a.value=t
},[Jb("span",MJe,Uh(t),1)],10,DJe)))),128))])])])),_:2
},1024)):oy("",!0),(Fb(!0),qb(Lb,null,Sv(t.flows,((a,o,i)=>(Fb(),qb(Lb,{key:o
},[s(o,i)?(Fb(),Wb(CJe,{key:0,environment:e.environment,eventBus:e.eventBus,
flows:t.flows,name:r,proxyUrl:e.proxyUrl,selectedScopes:p,server:e.server,
type:o,"onUpdate:selectedScopes":t=>((t,r)=>{n("update:selectedScopes",{
id:Object.keys(e.selectedSecuritySchemas),name:t,...r})})(r,t)
},null,8,["environment","eventBus","flows","name","proxyUrl","selectedScopes","server","type","onUpdate:selectedScopes"])):oy("",!0)],64)))),128))],64)):"openIdConnect"===t?.type?(Fb(),
qb("div",{key:5,
class:Dh(["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.isStatic}])}," Coming soon ",2)):oy("",!0)],64)))),128))}
}),RJe=["onClick"],LJe={class:"relative z-10 font-medium whitespace-nowrap"
},BJe={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"
},jJe=Hg({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{
type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},
securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{}},
setup(e,{expose:t}){
const n=Ty((()=>e.selectedSchemeOptions[e.activeAuthIndex])),r=Ty((()=>e.selectedSchemeOptions.length>1)),a=t=>e.eventBus.emit("auth:update:selected-scopes",{
...t,meta:e.meta}),o=t=>e.activeAuthIndex===t;return t({activeScheme:n
}),(t,i)=>(Fb(),qb("form",{onSubmit:i[0]||(i[0]=zO((()=>{}),["prevent"]))
},[r.value?(Fb(),qb("div",{key:0,
class:Dh(["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"
},[(Fb(!0),qb(Lb,null,Sv(e.selectedSchemeOptions,((t,n)=>(Fb(),qb("div",{
key:t.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"
},[Jb("button",{
class:Dh(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",o(n)?"text-c-1":"text-c-3"]),
type:"button",onClick:t=>(t=>e.eventBus.emit("auth:update:active-index",{
index:t,meta:e.meta}))(n)
},[Jb("span",LJe,Uh(t.label),1)],10,RJe),o(n)?(Fb(),qb("div",BJe)):oy("",!0)])))),128))],2)):oy("",!0),n.value?(Fb(),
Wb(xm(eKe),{key:1,class:Dh(["flex-1",{
"bg-b-1 rounded-b-lg border border-t-0":e.isStatic}]),columns:[""],
presentational:""},{default:ig((()=>[ey(NJe,{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"])):(Fb(),qb("div",{key:2,
class:Dh(["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))}}),UJe=["id"],zJe={
class:"min-w-0 flex-1 truncate"},ZJe=Hg({__name:"AuthSelector",props:{
environment:{},eventBus:{},isStatic:{type:Boolean,default:!1},meta:{},
proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},
server:{},title:{}},setup(e,{expose:t}){
const n=Qg(),r=bm(null),a=bm(!1),o=Noe(),i=bm(null),s=Ty((()=>{
if(!e.securityRequirements?.length)return null
;const t=OYe(e.securityRequirements);return{icon:t?"Unlock":"Lock",
text:t?"Optional":"Required"}})),l=Ty((()=>((e,t,n)=>{
const{requiredFormatted:r,requiredSchemeNames:a,existingIds:o}=e.reduce(((e,n)=>{
const r=WKe(n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id))
;for(const t of Object.keys(n))e.requiredSchemeNames.add(t);return e}),{
requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),i=[]
;for(const[l,c]of Object.entries(t)){if(a.has(l))continue;const e=$Se(c);if(e){
const t=VKe({name:l,type:e.type,value:{[l]:[]}});i.push(t),o.add(t.id)}}
for(const l of n){const e=WKe(l,t);e&&!o.has(e.id)&&(i.push(e),o.add(e.id))}
const s=[{label:"Required authentication",options:r},{
label:"Available authentication",options:i}];return s.push({
label:"Add new authentication",options:Object.entries(QKe).map((([e,t])=>({id:e,
label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1})))}),s
})(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[]))),c=Ty((()=>{
const t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap((t=>{
const n=Object.keys(t);if(0===n.length)return[];if(n.length>1)return qKe(t)
;const r=n[0];if(!r)return[];const a=$Se(e.securitySchemes?.[r]);return a?VKe({
name:r,type:a.type,value:t}):[]})):[]})),u=e=>{
a.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{
const n=t.filter((e=>void 0===e.payload)).map((e=>TAe(e.value,{depth:2
}))),r=t.filter((e=>void 0!==e.payload)).map((e=>({name:e.label,scheme:e.payload
})));e.eventBus.emit("auth:update:selected-security-schemes",{
selectedRequirements:n,newSchemes:r,meta:e.meta})},p=e=>{i.value={label:e.label,
payload:e.value},o.show()},h=()=>{
i.value&&(e.eventBus.emit("auth:delete:security-scheme",{
names:Object.keys(i.value.payload)}),i.value=null,o.hide())};return t({
authIndicator:s,selectedSchemeOptions:c,schemeOptions:l
}),(t,f)=>(Fb(),Wb(xm(hKe),{class:"group/params relative",isStatic:e.isStatic,
itemCount:c.value.length,"onUpdate:modelValue":f[1]||(f[1]=e=>a.value=e)},{
title:ig((()=>[Jb("div",{id:xm(n),
class:"inline-flex items-center gap-0.5 leading-[20px]"
},[Jb("span",null,Uh(e.title),1),s.value?(Fb(),qb("span",{key:0,
class:Dh(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal",{
"text-c-1":"Required"===s.value.text}]),"data-testid":"auth-indicator",onClick:u
},Uh(s.value.text),3)):oy("",!0)],8,UJe)])),actions:ig((()=>[ey(xm(t0),{
class:"w-72 text-xs",modelValue:c.value,multiple:"",options:l.value,
placement:"bottom-end",teleport:"",onDelete:p,"onUpdate:modelValue":d},{
option:ig((({option:e,selected:t})=>[ey(xm(sK),{multiselect:"",selected:t
},null,8,["selected"]),Jb("div",zJe,Uh(e.label),1),e.isDeletable?(Fb(),
Wb(xm(Qre),{key:0,
class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
icon:xm(Q$),label:`Delete ${e.label}`,size:"xs",onClick:zO((t=>p(e)),["stop"])
},null,8,["icon","label","onClick"])):oy("",!0)])),default:ig((()=>[ey(xm(O_),{
ref_key:"comboboxButtonRef",ref:r,"aria-describedby":xm(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:ig((()=>[1===c.value.length?(Fb(),qb(Lb,{key:0
},[f[2]||(f[2]=Jb("span",{class:"sr-only"
},"Selected Auth Type:",-1)),ry(" "+Uh(c.value[0]?.label),1)],64)):c.value.length>1?(Fb(),
qb(Lb,{key:1},[f[3]||(f[3]=ry(" Multiple ",-1)),f[4]||(f[4]=Jb("span",{
class:"sr-only"},"Auth Types Selected",-1))],64)):(Fb(),qb(Lb,{key:2
},[f[5]||(f[5]=Jb("span",{class:"sr-only"
},"Select",-1)),f[6]||(f[6]=ry(" Auth Type ",-1))],64)),ey(xm(kA),{
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:ig((()=>[ey(jJe,{
activeAuthIndex:e.selectedSecurity?.selectedIndex??0,environment:e.environment,
eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,proxyUrl:e.proxyUrl,
securitySchemes:e.securitySchemes,selectedSchemeOptions:c.value,server:e.server
},null,8,["activeAuthIndex","environment","eventBus","isStatic","meta","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),i.value?(Fb(),
Wb(HKe,{key:0,label:i.value.label,scheme:i.value,state:xm(o),
onClose:f[0]||(f[0]=e=>xm(o).hide()),onDelete:h
},null,8,["label","scheme","state"])):oy("",!0)])),_:1
},8,["isStatic","itemCount"]))}}),FJe={
class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"
},HJe=["for"],QJe=["id","placeholder","value"],VJe={key:2,
class:"text-c-1 flex h-8 items-center"},qJe=["id","role"],WJe=Hg({
__name:"RequestBlock",props:{authMeta:{default:()=>({type:"document"})},
clientOptions:{},environment:{},eventBus:{},exampleKey:{},globalCookies:{},
layout:{},method:{},operation:{},path:{},plugins:{},proxyUrl:{},
securityRequirements:{},securitySchemes:{},selectedClient:{},
selectedSecurity:{},selectedSecuritySchemes:{},server:{}},setup(e){
const t=Ty((()=>({method:e.method,path:e.path,exampleKey:e.exampleKey
}))),n=Ty((()=>zKe(e.operation.parameters?.map((e=>$Se(e)))??[],"in",(t=>{
const n=xVe(t,e.exampleKey,void 0);return{name:t.name,value:n?.value??"",
description:t.description,schema:UKe(t),isRequired:t.required,
isDisabled:ZVe(t,n),originalParameter:t}
})))),r=Ty((()=>zKe(n.value.header?.map((e=>({...e,name:e.name.toLowerCase()
})))??[],"name"))),a=Ty((()=>yVe({method:e.method,operation:e.operation,
exampleKey:e.exampleKey}))),o=Ty((()=>{
const t=e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey]??{}
;return a.value.map((e=>{const n=r.value[e.name.toLowerCase()]?.[0];return{
name:e.name,value:e.defaultValue,schema:void 0,isOverridden:n&&!n?.isDisabled,
isReadonly:!0,isDisabled:t[e.name.toLowerCase()]??!1}}))
})),i=Ty((()=>[...o.value,...n.value.header??[]])),s=Ty((()=>{const t=gVe({
environment:e.environment,server:e.server,path:e.path,pathVariables:{}
}),n=e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey]??{}
;return e.globalCookies?.filter((e=>LVe({cookie:e,url:t,disabledGlobalCookies:{}
}))).map((e=>({name:e.name,value:e.value,globalRoute:"document"===e.location?{
page:"document",path:"cookies"}:{page:"workspace",path:"cookies"},isReadonly:!0,
isDisabled:n[e.name.toLowerCase()]??!1})))??[]
})),l=Ty((()=>[...s.value??[],...n.value.cookie??[]])),c=bm("All"),u=["Auth","Variables","Cookies","Headers","Query","Body"],d={
All:Qg(),Auth:Qg(),Variables:Qg(),Cookies:Qg(),Headers:Qg(),Query:Qg(),Body:Qg()
},p=Ty((()=>{const t=new Set(["All",...u])
;return n.value.path?.length||t.delete("Variables"),
NV(e.method)||t.delete("Body"),f.value&&t.delete("Auth"),[...t]
})),h=Ty((()=>Object.fromEntries(p.value.map((e=>[e,d[e]]))))),f=Ty((()=>"modal"===e.layout&&!e.operation.security&&!Object.keys(e.securitySchemes??{}).length)),m=Ty((()=>e.operation.summary?e.operation.summary:e.path.replace(FV.PROTOCOL,"")||"Request Name")),g=e=>"All"===c.value||c.value===e
;mg((()=>e.method),(e=>{"Body"===c.value&&!NV(e)&&(c.value="All")}))
;const v=n=>{const r=n.target.value;e.eventBus.emit("operation:update:summary",{
meta:t.value,payload:{summary:r}})},b=Ty((()=>({
path:jKe("path",e.eventBus,t.value,{context:n.value.path??[]}),
cookie:jKe("cookie",e.eventBus,t.value,{context:l.value??[],
globalParameters:s.value.length}),header:jKe("header",e.eventBus,t.value,{
context:i.value,defaultParameters:o.value.length}),
query:jKe("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}),O=({payload:n,contentType:r})=>{
const a="string"==typeof n?`update:requestBody:value-${r}`:void 0
;e.eventBus.emit("operation:update:requestBody:value",{payload:n,contentType:r,
meta:t.value},{debounceKey:a})},w=({payload:n,contentType:r})=>{
const a=`update:requestBody:${r}-form-value`
;e.eventBus.emit("operation:update:requestBody:formValue",{
payload:n.map((e=>TAe(e,{depth:1}))),contentType:r,meta:t.value},{debounceKey:a
})},x=Qg(),k=n=>e.eventBus.emit("operation:update:extension",{payload:n,
meta:t.value});return(t,r)=>(Fb(),Wb($Ye,{
"aria-label":`Request: ${e.operation.summary}`},{
title:ig((()=>[Jb("div",FJe,["modal"!==e.layout?(Fb(),qb("label",{key:0,
class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",
for:xm(x)},null,8,HJe)):oy("",!0),"modal"!==e.layout?(Fb(),qb("input",{key:1,
id:xm(x),
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:m.value,value:e.operation.summary,onInput:v
},null,40,QJe)):(Fb(),qb("span",VJe,Uh(e.operation.summary),1))]),ey(EYe,{
modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=e=>c.value=e),
filterIds:h.value,filters:p.value
},null,8,["modelValue","filterIds","filters"])])),default:ig((()=>[Jb("div",{
id:h.value.All,
class:"request-section-content custom-scroll relative flex flex-1 flex-col",
role:"All"===c.value?"tabpanel":"none"},[sg(ey(xm(ZJe),{id:h.value.Auth,
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","environment","eventBus","meta","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","selectedSecuritySchemes","server"]),[[nO,g("Auth")&&!f.value]]),sg(ey(BKe,cy({
id:h.value.Variables,environment:e.environment,eventBus:e.eventBus,
exampleKey:e.exampleKey,rows:n.value.path??[],showAddRowPlaceholder:!1,
title:"Variables"
},Ev(b.value.path)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nO,g("Variables")&&n.value.path?.length]]),sg(ey(BKe,cy({
id:h.value.Cookies,environment:e.environment,eventBus:e.eventBus,
exampleKey:e.exampleKey,rows:l.value??[],showAddRowPlaceholder:!0,
title:"Cookies"
},Ev(b.value.cookie)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nO,g("Cookies")]]),sg(ey(BKe,cy({
id:h.value.Headers,environment:e.environment,eventBus:e.eventBus,
exampleKey:e.exampleKey,rows:i.value??[],title:"Headers"
},Ev(b.value.header)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nO,g("Headers")]]),sg(ey(BKe,cy({
id:h.value.Query,environment:e.environment,eventBus:e.eventBus,
exampleKey:e.exampleKey,rows:n.value.query??[],title:"Query Parameters"
},Ev(b.value.query)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nO,g("Query")]]),sg(ey(bKe,{
id:h.value.Body,environment:e.environment,exampleKey:e.exampleKey,
requestBody:xm($Se)(e.operation.requestBody),title:"Request Body",
"onUpdate:contentType":y,"onUpdate:formValue":w,"onUpdate:value":O
},null,8,["id","environment","exampleKey","requestBody"]),[[nO,g("Body")&&xm(NV)(e.method)]]),(Fb(!0),
qb(Lb,null,Sv(e.plugins,((t,n)=>sg((Fb(),Wb(xm(K2),{key:n},{
default:ig((()=>[t?.components?.request?(Fb(),
Wb(wv(t.components.request.component),cy({key:0,operation:e.operation},{
ref_for:!0},t.components.request.additionalProps,{
"onOperation:update:extension":k}),null,16,["operation"])):oy("",!0)])),_:2
},1024)),[[nO,"All"===c.value]]))),128)),r[1]||(r[1]=Jb("div",{class:"flex grow"
},null,-1)),sg(ey(NKe,{clientOptions:e.clientOptions,eventBus:e.eventBus,
globalCookies:e.globalCookies,integration:"client",method:e.method,
operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,
selectedClient:e.selectedClient,
selectedContentType:xm($Se)(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"]),[[nO,"All"===c.value]])],8,qJe)])),
_:1},8,["aria-label"]))}
}),XJe=Hoe(WJe,[["__scopeId","data-v-422a27d2"]]),GJe=["role"],YJe={key:0,
class:"sr-only"},KJe=Hg({__name:"DataTable",props:{columns:{},scroll:{
type:Boolean},presentational:{type:Boolean}},setup(e){const{cx:t}=h_()
;return(n,r)=>(Fb(),
qb("div",Mh(ty(xm(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[Jb("table",{
class:Dh(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),
role:e.presentational?"presentation":"table",style:Eh({
gridTemplateColumns:e.columns.map((e=>e||"1fr")).join(" ")})
},[n.$slots.caption?(Fb(),
qb("caption",YJe,[Av(n.$slots,"caption")])):oy("",!0),Av(n.$slots,"default")],14,GJe)],16))
}}),JJe={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},e0e=Hg({
__name:"DataTableText",props:{text:{}},setup:e=>(t,n)=>(Fb(),Wb(aJe,{
class:"relative flex"},{
default:ig((()=>[Jb("span",JJe,[Av(t.$slots,"default",{},(()=>[ry(Uh(e.text),1)]))])])),
_:3}))}),t0e=["href"],n0e=Hg({__name:"HelpfulLink",props:{href:{}},
setup:e=>(t,n)=>(Fb(),qb("a",{
class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,
rel:"noopener noreferrer",target:"_blank"},[Av(t.$slots,"default")],8,t0e))
}),r0e=[{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"
}],a0e=Hg({__name:"DataTableHeader",setup(e){const{cx:t}=h_()
;return(e,n)=>(Fb(),Wb(aJe,cy({is:"th"
},xm(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{
default:ig((()=>[Av(e.$slots,"default")])),_:3},16))}}),o0e={key:0,
class:"max-h-[calc(100%-32px)] overflow-y-auto"},i0e={key:1,
class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"
},s0e=Hg({__name:"Headers",props:{headers:{}},setup(e){
const t=e=>r0e.find((t=>t.name.toLowerCase()===e.toLowerCase()))
;return(n,r)=>(Fb(),Wb(xm(hKe),{class:"overflow-auto",defaultOpen:!1,
itemCount:e.headers.length},{title:ig((()=>[Av(n.$slots,"title")])),
default:ig((()=>[e.headers.length?(Fb(),qb("div",o0e,[ey(KJe,{
columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{
default:ig((()=>[ey(iJe,{class:"sr-only !block"},{
default:ig((()=>[ey(xm(a0e),null,{
default:ig((()=>[...r[0]||(r[0]=[ry("Header Key",-1)])])),_:1
}),ey(xm(a0e),null,{default:ig((()=>[...r[1]||(r[1]=[ry("Header Value",-1)])])),
_:1})])),_:1}),(Fb(!0),qb(Lb,null,Sv(e.headers,(e=>(Fb(),Wb(iJe,{key:e.name,
class:"group/row text-c-1"},{default:ig((()=>[ey(e0e,{
class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{
default:ig((()=>["string"==typeof t(e.name)?.url?(Fb(),Wb(n0e,{key:0,
class:"decoration-c-3",href:t(e.name).url},{
default:ig((()=>[ry(Uh(e.name),1)])),_:2},1032,["href"])):(Fb(),qb(Lb,{key:1
},[ry(Uh(e.name),1)],64))])),_:2},1024),ey(e0e,{
class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])])),_:2
},1024)))),128))])),_:1})])):(Fb(),qb("div",i0e," No headers "))])),_:3
},8,["itemCount"]))}}),l0e={"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"}
},c0e=Object.entries(l0e).filter((([,e])=>e?.raw)).map((([e])=>e))
;const u0e=e=>{try{return decodeURIComponent(e)}catch{return e}}
;function d0e({data:e,headers:t}){
const n=t.find((e=>"content-type"===e.name.toLowerCase())),r=n?.value?new Pqe(n.value):void 0,a=function(e){
let t="";if(e){
const n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1]
;n&&(t=u0e(n.trim()))}return t
}(t.find((e=>"content-disposition"===e.name.toLowerCase()))?.value??""),o=(e=>e instanceof Blob)(e)?URL.createObjectURL(e):"string"==typeof e?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})):"";return{mimeType:r,attachmentFilename:a,
dataUrl:o}}const p0e=["download","href"],h0e=Hg({__name:"ResponseBodyDownload",
props:{href:{},type:{},filename:{}},setup(e){const t=e,n=Ty((()=>{
const e=Dqe(t.type??"")?.extension??".unknown"
;return t.filename?t.filename:`response${e}`}));return(t,r)=>(Fb(),qb("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]||(r[0]=zO((()=>{}),["stop"]))
},[ey(xm(Pre),{icon:"Download",size:"xs"
}),r[1]||(r[1]=Jb("span",null,[Jb("span",null,"Download"),Jb("span",{
class:"sr-only"},"Response Body")],-1))],8,p0e))}}),f0e={
class:"flex justify-center px-2 py-3"},m0e={class:"text-c-3 p-2 text-sm"}
;const g0e=Hoe({},[["render",function(e,t){
return Fb(),qb("div",f0e,[Jb("div",m0e,[Av(e.$slots,"default")])])
}]]),v0e=["src"],b0e=["src","type"],y0e=["src","type"],O0e=["data","type"],w0e=Hg({
__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,
default:!1}},setup(e){const t=bm(!1)
;return mg((()=>e.src),(()=>t.value=!1)),(n,r)=>!t.value&&e.src?(Fb(),qb("div",{
key:0,class:Dh(["flex justify-center overflow-auto rounded-b",{
"bg-preview p-2":e.alpha}])},["image"===e.mode?(Fb(),qb("img",{key:0,
class:Dh(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,
onError:r[0]||(r[0]=e=>t.value=!0)
},null,42,v0e)):"video"===e.mode?(Fb(),qb("video",{key:1,autoplay:"",
controls:"",width:"100%",onError:r[1]||(r[1]=e=>t.value=!0)},[Jb("source",{
src:e.src,type:e.type},null,8,b0e)],32)):"audio"===e.mode?(Fb(),qb("audio",{
key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=e=>t.value=!0)
},[Jb("source",{src:e.src,type:e.type},null,8,y0e)],32)):(Fb(),qb("object",{
key:3,class:"aspect-[4/3] w-full",data:e.src,type:e.type,
onError:r[3]||(r[3]=e=>t.value=!0)},null,40,O0e))],2)):(Fb(),Wb(g0e,{key:1},{
default:ig((()=>[...r[4]||(r[4]=[ry("Preview unavailable",-1)])])),_:1}))}
}),x0e=Hoe(w0e,[["__scopeId","data-v-c02b5bb8"]]),k0e={
class:"scalar-code-block group/code-block body-raw relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline"
},S0e={class:"body-raw-scroller custom-scroll relative pr-1",tabindex:"0"
},_0e=Hg({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){
const t=e,n=bm(null),r=Qg(),{codeMirror:a}=Ixe({codeMirrorRef:n,readOnly:!0,
lineNumbers:!0,content:Pm((()=>VG(t.content))),language:Pm((()=>t.language)),
forceFoldGutter:!0}),o=()=>a.value?.state.doc.toString()||"";return(e,t)=>(Fb(),
qb("div",k0e,[Jb("div",S0e,[Jb("div",{ref_key:"codeMirrorRef",ref:n
},null,512)]),o()?(Fb(),Wb(xm(FY),{key:0,class:"absolute top-2 right-2",
content:o(),"aria-controls":xm(r)
},null,8,["content","aria-controls"])):oy("",!0)]))}
}),A0e=Hoe(_0e,[["__scopeId","data-v-9c64cd5e"]]),T0e={
class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"
},E0e=Hg({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup:e=>(t,n)=>(Fb(),qb("div",T0e,[Jb("button",{
class:Dh(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",
onClick:n[0]||(n[0]=zO((e=>t.$emit("update:modelValue",!0)),["stop"]))
}," Preview ",2),Jb("button",{class:Dh(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",
onClick:n[1]||(n[1]=zO((e=>t.$emit("update:modelValue",!1)),["stop"]))
}," Raw ",2)]))}),C0e={key:0,
class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},$0e={
class:"box-content flex min-h-8 items-center justify-between border-y px-3"
},P0e={class:"text-xxs font-code leading-3"},I0e=Hg({__name:"ResponseBody",
props:{title:{},layout:{},data:{},headers:{}},setup(e){
const t=bm(!0),n=Ty((()=>!(!i.value?.raw||!i.value.preview))),r=Ty((()=>t.value||!n.value)),a=Ty((()=>!t.value||!n.value)),o=Ty((()=>d0e({
data:e.data,headers:e.headers}))),i=Ty((()=>function(e){const t=l0e[e]
;return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"
}:void 0)}(o.value.mimeType?.essence??"")));return(s,l)=>(Fb(),Wb(xm(hKe),{
class:"max-h-content overflow-y-hidden",isStatic:"reference"===e.layout},_v({
title:ig((()=>[ry(Uh(e.title),1)])),
default:ig((()=>[e.data?(Fb(),qb("div",C0e,[Jb("div",$0e,[Jb("span",P0e,Uh(o.value.mimeType?.essence),1),n.value?(Fb(),
Wb(E0e,{key:0,modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=e=>t.value=e)
},null,8,["modelValue"])):oy("",!0)]),i.value?.raw&&a.value?(Fb(),Wb(A0e,{
key:o.value.dataUrl,content:e.data,language:i.value.language
},null,8,["content","language"])):oy("",!0),i.value?.preview&&r.value?(Fb(),
Wb(x0e,{key:o.value.dataUrl,alpha:i.value.alpha,mode:i.value.preview,
src:o.value.dataUrl,type:o.value.mimeType?.essence??""
},null,8,["alpha","mode","src","type"])):oy("",!0),i.value?.raw||i.value?.preview?oy("",!0):(Fb(),
Wb(g0e,{key:2},{default:ig((()=>[...l[1]||(l[1]=[ry(" Binary file ",-1)])])),_:1
}))])):oy("",!0)])),_:2},[e.data&&o.value.dataUrl?{name:"actions",
fn:ig((()=>[ey(h0e,{filename:o.value.attachmentFilename,href:o.value.dataUrl,
type:o.value.mimeType?.essence},null,8,["filename","href","type"])])),key:"0"
}:void 0]),1032,["isStatic"]))}
}),D0e=Hoe(I0e,[["__scopeId","data-v-8ae4f555"]]),M0e={
class:"flex w-full items-center justify-between"},N0e={key:0,
class:"mr-2 flex items-center gap-2"},R0e={key:0,
class:"text-red bg-b-danger sticky top-0 border-b p-2"},L0e={key:1,class:"p-2"
},B0e=Hg({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){
const t=Doe(),n=bm(""),r=bm(null),a=bm(null),o=bm(null),i=bm(null),s=()=>{
a.value&&(a.value.scrollTop=a.value.scrollHeight)};mg(n,(async()=>{await Xm(s)
}));const l=()=>{o.value&&(o.value.cancel(),o.value=null),t.clear()}
;return mg((()=>e.reader),(()=>{
o.value&&o.value.cancel(),o.value=e.reader,i.value=new TextDecoder,
t.start(),n.value="",r.value=null,async function(e){try{
for(;t.isLoading&&o.value===e;){const{done:r,value:a}=await e.read()
;if(o.value!==e)break;if(r){t.clear();break}
a&&i.value&&(n.value+=i.value.decode(a,{stream:!0}))}}catch(zw){
o.value===e&&(console.error("Error reading stream:",zw),t.clear(),r.value=zw)
}finally{o.value===e&&i.value&&(n.value+=i.value.decode())}}(e.reader)}),{
immediate:!0}),pv(l),(e,o)=>(Fb(),Wb(xm(hKe),{
class:"max-h-content overflow-y-hidden"},_v({
title:ig((()=>[Jb("div",M0e,[o[1]||(o[1]=Jb("div",null,"Body",-1)),xm(t).isLoading?(Fb(),
qb("div",N0e,[ey(xm(b_),{loadingState:xm(t),size:"xs"
},null,8,["loadingState"]),o[0]||(o[0]=Jb("span",{class:"text-c-2"
}," Listening… ",-1))])):oy("",!0)])])),default:ig((()=>[Jb("div",{
ref_key:"contentContainer",ref:a,
class:"text-xxs font-code h-full overflow-auto leading-2 whitespace-pre-wrap"
},[r.value?(Fb(),
qb("div",R0e,Uh(r.value.message),1)):oy("",!0),n.value?(Fb(),qb("div",L0e,Uh(n.value),1)):oy("",!0)],512)])),
_:2},[xm(t).isLoading?{name:"actions",fn:ig((()=>[ey(xm(O_),{size:"sm",
variant:"ghost",onClick:l},{
default:ig((()=>[...o[2]||(o[2]=[ry(" Cancel ",-1)])])),_:1})])),key:"0"
}:void 0]),1024))}}),j0e=Hg({__name:"ResponseBodyVirtual",props:{content:{},
data:{},headers:{}},setup(e){const t=Ty((()=>function(e){const t=e.trim()
;if("{"!==t[0]&&"["!==t[0])return e;try{
return JSON.stringify(JSON.parse(e),null,2)}catch{return e}
}(e.content))),n=Ty((()=>d0e({data:e.data,headers:e.headers})))
;return(e,r)=>(Fb(),Wb(xm(hKe),{
class:"!max-h-100% response-body-virtual overflow-x-auto"},_v({
title:ig((()=>[r[0]||(r[0]=ry("Body",-1))])),
default:ig((()=>[r[1]||(r[1]=Jb("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)),ey(xm(Soe),{
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:ig((()=>[ey(h0e,{filename:n.value.attachmentFilename,
href:n.value.dataUrl,type:n.value.mimeType?.essence
},null,8,["filename","href","type"])])),key:"0"}:void 0]),1024))}}),U0e={key:1,
class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"
},z0e=Hg({__name:"ResponseCookies",props:{cookies:{}},
setup:e=>(t,n)=>(Fb(),Wb(xm(hKe),{defaultOpen:!1,itemCount:e.cookies.length},{
title:ig((()=>[...n[0]||(n[0]=[ry("Cookies",-1)])])),
default:ig((()=>[(Fb(),qb(Lb,{key:0},[e.cookies.length?(Fb(),Wb(KJe,{key:0,
class:"flex-1",columns:["",""]},{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.cookies,(e=>(Fb(),Wb(iJe,{key:e.name},{
default:ig((()=>[ey(e0e,{text:e.name},null,8,["text"]),ey(e0e,{text:e.value
},null,8,["text"])])),_:2},1024)))),128))])),_:1
})):(Fb(),qb("div",U0e," No cookies "))],64))])),_:1},8,["itemCount"]))
}),Z0e=" .:=+++++=================-\n .--#* :.\n .-:-** -.\n .:-::-+* =:\n .:-:::-=# ::\n .-:::----** ..\n .-:::::---=# ..\n :-::::::----** ..\n.:-::::::::----*= ..\n.-::::::::------+- ..\n..::::::::-------= ..\n .:::::----------++ ..\n .:::----------+**+*++*+*++*+++*++++++++++:.\n ------------+*+=-=======================.\n .----------+*+=========================:.\n :--------+*+=-========================.\n .=------+*+=-========================:.\n .=----+*+=-------=================+-.\n .----+*+=----------================.\n .:=-+*+=----------=-==============-\n .-+*+=----------------===========.\n .-+=------------------====-====:.",F0e=Hg({
__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){
const t=e,n=Ty((()=>t.art.split("\n"))),r=(e,t)=>({
animationDuration:100*e+"ms, 500ms",
animationTimingFunction:`steps(${e}), step-end`,animationDelay:100*t+"ms, 0ms",
animationIterationCount:"1, "+100*((n.value?.length??0)+(n.value?.[n.value?.length-1]?.length??0)+5)/500
});return(t,a)=>(Fb(),qb("div",{"aria-hidden":"true",
class:Dh(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{
"ascii-art-animate":e.animate}]),role:"presentation",inert:""
},[(Fb(!0),qb(Lb,null,Sv(n.value,((e,t)=>(Fb(),qb("span",{key:t,
class:"inline-block",style:Eh({width:`calc(${e.length+1}ch)`})},[Jb("span",{
class:"inline-block whitespace-pre overflow-hidden",style:Eh(r(e.length,t))
},Uh(e),5)],4)))),128))],2))}
}),H0e=Hoe(F0e,[["__scopeId","data-v-69ebd973"]]),Q0e={
class:"flex-center flex w-full scale-75"},V0e={class:"relative"},q0e={
class:"relative -ml-12"},W0e={class:"relative -ml-12"},X0e=Hg({
__name:"EmptyState",
setup:e=>(e,t)=>(Fb(),qb("div",Q0e,[Jb("div",V0e,[ey(xm(b4),{
class:"keycap-hotkey right-14 border-transparent py-0 text-xl",hotkey:""
}),ey(H0e,{art:xm(Z0e),class:"text-c-3 !leading-[6px]"
},null,8,["art"])]),Jb("div",q0e,[ey(xm(b4),{
class:"keycap-hotkey right-14 border-transparent py-0 text-xl",hotkey:"",
modifier:["Shift"]}),ey(H0e,{art:xm(Z0e),class:"keycap-n !leading-[6px]"
},null,8,["art"])]),Jb("div",W0e,[t[0]||(t[0]=Jb("div",{
class:"keycap-hotkey right-16 text-xl"},"P",-1)),ey(H0e,{art:xm(Z0e),
class:"keycap-n !leading-[6px]"},null,8,["art"])])]))
}),G0e=Hoe(X0e,[["__scopeId","data-v-b1211b87"]]),Y0e={
class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},K0e={
key:0,class:"scalar-version-number"},J0e={
class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"
},e1e=Hg({__name:"ResponseEmpty",props:{layout:{},totalPerformedRequests:{},
appVersion:{}},emits:["addRequest","sendRequest","openCommandPalette"],
setup(e,{emit:t}){const n=t;return(t,r)=>(Fb(),qb("div",Y0e,[Jb("div",{
class:Dh(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{
"hidden opacity-0":e.totalPerformedRequests<1&&"modal"!==e.layout}])
},["modal"!==e.layout?(Fb(),
qb("div",K0e,[ry(" Scalar App V"+Uh(e.appVersion)+" Beta ",1),r[3]||(r[3]=Jb("div",{
class:"mt-2"},[Jb("a",{href:"https://github.com/scalar/scalar/issues/2669",
target:"_blank"}," Roadmap ")],-1))])):oy("",!0),r[4]||(r[4]=Jb("a",{
class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",
target:"_blank"}," Powered By Scalar.com ",-1)),ey(H0e,{
art:xm(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n"),
class:"text-c-3"},null,8,["art"])],2),"modal"!==e.layout?(Fb(),qb("div",{key:0,
class:Dh(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5",{
"!flex opacity-100":0==e.totalPerformedRequests}])
},[ey(G0e)],2)):oy("",!0),Jb("div",J0e,["modal"!==e.layout?(Fb(),qb("button",{
key:0,class:"flex items-center gap-1.5",type:"button",
onClick:r[0]||(r[0]=e=>n("openCommandPalette"))
},[r[5]||(r[5]=ry(" Get Started ",-1)),ey(xm(b4),{hotkey:"p",
modifier:["default","Shift"]
})])):oy("",!0),"desktop"===e.layout?(Fb(),qb("button",{key:1,
class:"flex items-center gap-1.5",type:"button",
onClick:r[1]||(r[1]=e=>n("addRequest"))
},[r[6]||(r[6]=ry(" New Request ",-1)),ey(xm(b4),{hotkey:"N"
})])):oy("",!0),Jb("button",{class:"flex items-center gap-1.5",type:"button",
onClick:r[2]||(r[2]=e=>n("sendRequest"))
},[r[7]||(r[7]=ry(" Send Request ",-1)),ey(xm(b4),{hotkey:"↵"})])])]))}
}),t1e=Hoe(e1e,[["__scopeId","data-v-651d0186"]]),n1e={key:0,
class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"
},r1e=Hg({__name:"ResponseLoadingOverlay",props:{eventBus:{}},setup(e){
const t=Doe(),n=bm(),r=()=>{n.value=setTimeout((()=>t.start()),1e3)},a=()=>{
clearTimeout(n.value),n.value=void 0,t.clear()};return cv((()=>{
e.eventBus.on("hooks:on:request:sent",r),
e.eventBus.on("hooks:on:request:complete",a)})),pv((()=>{
e.eventBus.off("hooks:on:request:sent",r),
e.eventBus.off("hooks:on:request:complete",a),a()})),(n,r)=>(Fb(),Wb(Zy,null,{
default:ig((()=>[xm(t).isActive?(Fb(),qb("div",n1e,[ey(xm(b_),{class:"text-c-3",
loader:xm(t),size:"3xl"},null,8,["loader"]),ey(xm(O_),{variant:"ghost",
onClick:r[0]||(r[0]=t=>e.eventBus.emit("operation:cancel:request"))},{
default:ig((()=>[...r[1]||(r[1]=[ry(" Cancel ",-1)])])),_:1})])):oy("",!0)])),
_:1}))}
}),a1e=Hoe(r1e,[["__scopeId","data-v-1f35725e"]]),o1e=e=>Number.isFinite(e)?e:0
;function i1e(e){switch(typeof e){case"number":
if(Number.isFinite(e))return function(e){return{days:Math.trunc(e/864e5),
hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),
seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),
microseconds:Math.trunc(o1e(1e3*e)%1e3),nanoseconds:Math.trunc(o1e(1e6*e)%1e3)}
}(e);break;case"bigint":return function(e){return{days:e/86400000n,
hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,
milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}(e)}
throw new TypeError("Expected a finite number or bigint")}function s1e(e,t){
const n="bigint"==typeof e
;if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint")
;const r=e<0?"-":"";e=e<0?-e:e,(t={...t
}).colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,
t.separateMilliseconds=!1,
t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,
t.millisecondsDecimalDigits=0);let a=[];const o=(e,n,r,o)=>{
if(0!==a.length&&t.colonNotation||!(e=>0===e||0n===e)(e)||t.colonNotation&&"m"===r){
if(o??=String(e),t.colonNotation){
const e=o.includes(".")?o.split(".")[0].length:o.length,t=a.length>0?2:1
;o="0".repeat(Math.max(0,t-e))+o
}else o+=t.verbose?" "+(i=n,1===(s=e)||1n===s?i:`${i}s`):r;var i,s;a.push(o)}
},i=i1e(e),s=BigInt(i.days)
;if(t.hideYearAndDays?o(24n*BigInt(s)+BigInt(i.hours),"hour","h"):(t.hideYear?o(s,"day","d"):(o(s/365n,"year","y"),
o(s%365n,"day","d")),
o(Number(i.hours),"hour","h")),o(Number(i.minutes),"minute","m"),
!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){
const e=Number(i.seconds),n=Number(i.milliseconds),r=Number(i.microseconds),a=Number(i.nanoseconds)
;if(o(e,"second","s"),
t.formatSubMilliseconds)o(n,"millisecond","ms"),o(r,"microsecond","µs"),
o(a,"nanosecond","ns");else{
const e=n+r/1e3+a/1e6,i="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,s=e>=1?Math.round(e):Math.ceil(e),l=i?e.toFixed(i):s
;o(Number.parseFloat(l),"millisecond","ms",l)}}else{const r=((e,t)=>{
const n=Math.floor(e*10**t+1e-7);return(Math.round(n)/10**t).toFixed(t)
})((n?Number(e%86400000n):e)/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),a=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"")
;o(Number.parseFloat(a),"second","s",a)}
if(0===a.length)return r+"0"+(t.verbose?" milliseconds":"ms")
;const l=t.colonNotation?":":" "
;return"number"==typeof t.unitCount&&(a=a.slice(0,Math.max(t.unitCount,1))),
r+a.join(l)}const l1e=e=>{
const t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10)
;if(!(isNaN(t)||t<=0))return i4(t)},c1e={class:"text-c-1 flex gap-1.5"},u1e={
key:0},d1e={key:0},p1e={key:1},h1e=Hg({__name:"ResponseMetaInformation",props:{
response:{},eventBus:{}},setup(e){const t=bm(),n=bm(0),r=()=>{
clearInterval(t.value),t.value=void 0,n.value=0},a=()=>{
t.value=setInterval((()=>n.value+=1e3),1e3)};cv((()=>{
e.eventBus.on("hooks:on:request:sent",a),
e.eventBus.on("hooks:on:request:complete",r)})),pv((()=>{
e.eventBus.off("hooks:on:request:sent",a),
e.eventBus.off("hooks:on:request:complete",r),r()}));const o=Ty((()=>{
const t=e.response?.status;if(t)return BV[t]??void 0}))
;return(r,a)=>(Fb(),qb("div",c1e,[t.value&&n.value?(Fb(),
qb("span",u1e,Uh(xm(s1e)(n.value)),1)):(Fb(),qb(Lb,{key:1
},[Jb("span",null,[a[0]||(a[0]=Jb("span",{class:"sr-only"
},"Response Information, Duration:",-1)),ry(" "+Uh(xm(s1e)(e.response.duration)),1)]),xm(l1e)(e.response)?(Fb(),
qb("span",d1e,[a[1]||(a[1]=Jb("span",{class:"sr-only"
},", Size:",-1)),ry(" "+Uh(xm(l1e)(e.response)),1)])):oy("",!0),o.value?(Fb(),
qb(Lb,{key:1},[a[2]||(a[2]=Jb("span",{class:"sr-only"
},", Status:",-1)),o.value.url?(Fb(),Wb(n0e,{key:0,
class:"flex items-center gap-1.5",href:o.value.url},{
default:ig((()=>[ry(Uh(e.response.status)+" "+Uh(o.value.name)+" ",1),Jb("span",{
class:"block h-1.5 w-1.5 rounded-full",style:Eh({backgroundColor:o.value.color})
},null,4)])),_:1
},8,["href"])):(Fb(),qb("span",p1e,[ry(Uh(e.response.status)+" "+Uh(o.value.name)+" ",1),Jb("span",{
class:"block h-1.5 w-1.5 rounded-full",style:Eh({backgroundColor:o.value.color})
},null,4)]))],64)):oy("",!0)],64))]))}}),f1e={
class:"flex h-8 flex-1 items-center"},m1e=["id","role"],g1e=2e5,v1e=Hg({
__name:"ResponseBlock",props:{response:{},request:{},layout:{},
totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},
setup(e,{expose:t}){const n=Ty((()=>{const t=e.response?.headers
;return t?Object.keys(t).map((e=>({name:e,value:t[e]??""}))):[]
})),r=Ty((()=>e.response?.cookieHeaderKeys.map((e=>(e=>{
if(!e||"string"!=typeof e)return null;const t=e.indexOf("=")
;if(-1===t)return null;const n=e.substring(0,t).trim(),r=e.substring(t+1).trim()
;return n?{name:n,value:r}:null
})(e))).filter($V)??[])),a=["Cookies","Headers","Body"],o=bm("All"),i=Ty((()=>["All",...a])),s=Ty((()=>Object.fromEntries(i.value.map((e=>[e,Qg()]))))),l=Ty((()=>{
if(!e.response||!("size"in e.response))return!1
;const t=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"]
;return!(!t||(e.response.size??0)<=g1e||t.includes("text/html"))&&(c0e.some((e=>t.includes(e)))&&(e.response.size??0)>g1e)
})),c=Ty((()=>e.request?.headers?[...e.request.headers].map((e=>({name:e[0],
value:e[1],required:!1}))):[])),u=e=>"All"===o.value||o.value===e;return t({
responseHeaders:n,responseCookies:r,requestHeaders:c,shouldVirtualize:l,
activeFilter:o,filters:i}),(t,a)=>(Fb(),Wb($Ye,{"aria-label":"Response"},{
title:ig((()=>[Jb("div",f1e,[Jb("div",{"aria-live":"polite",
class:Dh(["flex items-center",{"animate-response-heading":e.response}])
},[a[4]||(a[4]=Jb("span",{class:"response-heading pointer-events-none absolute"
}," Response ",-1)),e.response?(Fb(),Wb(h1e,{key:0,
class:"animate-response-children",eventBus:e.eventBus,response:e.response
},null,8,["eventBus","response"])):oy("",!0)],2),ey(EYe,{modelValue:o.value,
"onUpdate:modelValue":a[0]||(a[0]=e=>o.value=e),filterIds:s.value,
filters:i.value},null,8,["modelValue","filterIds","filters"])])])),
default:ig((()=>[Jb("div",{id:s.value.All,
class:Dh(["custom-scroll response-section-content relative grid h-full justify-stretch",{
"content-start":e.response}]),role:"All"===o.value&&e.response?"tabpanel":"none"
},[e.response?(Fb(),qb(Lb,{key:1},[u("Cookies")?(Fb(),Wb(z0e,{key:0,
id:s.value.Cookies,class:"response-section-content-cookies",cookies:r.value,
role:"All"===o.value?"none":"tabpanel"
},null,8,["id","cookies","role"])):oy("",!0),u("Headers")?(Fb(),Wb(s0e,{key:1,
id:s.value.Headers,class:"response-section-content-headers",headers:c.value,
role:"All"===o.value?"none":"tabpanel"},{
title:ig((()=>[...a[5]||(a[5]=[ry("Request Headers",-1)])])),_:1
},8,["id","headers","role"])):oy("",!0),u("Headers")?(Fb(),Wb(s0e,{key:2,
id:s.value.Headers,class:"response-section-content-headers",headers:n.value,
role:"All"===o.value?"none":"tabpanel"},{
title:ig((()=>[...a[6]||(a[6]=[ry("Response Headers",-1)])])),_:1
},8,["id","headers","role"])):oy("",!0),(Fb(!0),
qb(Lb,null,Sv(e.plugins,((e,t)=>sg((Fb(),Wb(xm(K2),{key:t},{
default:ig((()=>[e?.components?.response?(Fb(),
Wb(wv(e.components.response.component),cy({key:0,ref_for:!0
},e.components.response.additionalProps),null,16)):oy("",!0)])),_:2
},1024)),[[nO,"All"===o.value]]))),128)),"All"===o.value||"Body"===o.value?(Fb(),
qb(Lb,{key:3},["reader"in e.response?(Fb(),Wb(B0e,{key:0,id:s.value.Body,
class:"response-section-content-body",reader:e.response.reader
},null,8,["id","reader"])):l.value&&"string"==typeof e.response?.data?(Fb(),
Wb(j0e,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,
headers:n.value,role:"All"===o.value?"none":"tabpanel"
},null,8,["id","content","data","headers","role"])):(Fb(),Wb(D0e,{key:2,
id:s.value.Body,active:!0,class:"response-section-content-body",
data:e.response?.data,headers:n.value,layout:"client",
role:"All"===o.value?"none":"tabpanel",title:"Body"
},null,8,["id","data","headers","role"]))],64)):oy("",!0)],64)):(Fb(),Wb(t1e,{
key:0,appVersion:e.appVersion,layout:e.layout,
totalPerformedRequests:e.totalPerformedRequests,
onAddRequest:a[1]||(a[1]=t=>e.eventBus.emit("ui:open:command-palette",{
action:"create-request",payload:void 0})),
onOpenCommandPalette:a[2]||(a[2]=t=>e.eventBus.emit("ui:open:command-palette")),
onSendRequest:a[3]||(a[3]=t=>e.eventBus.emit("operation:send:request:hotkey"))
},null,8,["appVersion","layout","totalPerformedRequests"])),ey(a1e,{
eventBus:e.eventBus},null,8,["eventBus"])],10,m1e)])),_:1}))}
}),b1e=Hoe(v1e,[["__scopeId","data-v-eb70b304"]]),y1e={
class:"bg-b-1 flex h-full flex-col"},O1e={
class:"lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0"
},w1e=Hg({name:"OperationBlock",props:{eventBus:{},documentSecurity:{},
documentSelectedSecurity:{},appVersion:{},globalCookies:{default:()=>[]},
path:{},method:{},httpClients:{default:()=>tVe},history:{default:()=>[]},
layout:{},server:{},selectedClient:{},servers:{},hideClientButton:{type:Boolean
},integration:{},documentUrl:{},source:{},operation:{},
operationSelectedSecurity:{},setOperationSecurity:{type:Boolean},exampleKey:{},
authMeta:{},securitySchemes:{},plugins:{default:()=>[]},environments:{},
activeEnvironment:{},environment:{},proxyUrl:{}},emits:["update:servers"],
setup(e,{emit:t}){
const n=t,r=Ty((()=>bYe(e.httpClients))),a=Ty((()=>yYe(e.documentSecurity,e.operation.security))),o=Ty((()=>wYe(e.documentSelectedSecurity,e.operationSelectedSecurity,a.value,e.setOperationSecurity))),i=Ty((()=>dqe(e.securitySchemes,o.value.selectedSchemes))),{toast:s}=gUe(),l=bm(null),c=bm(null),u=bm(null),d=()=>l.value?.abort(uAe),p=async()=>{
const[t,n]=hqe({environment:e.environment,exampleKey:e.exampleKey,
globalCookies:e.globalCookies,method:e.method,operation:e.operation,path:e.path,
selectedSecuritySchemes:i.value,server:e.server,proxyUrl:e.proxyUrl})
;if(t)return void s(t.message,"error")
;l.value=n.controller,c.value&&"reader"in c.value&&c.value.reader.cancel(),
e.eventBus.emit("hooks:on:request:sent",{meta:{method:e.method,path:e.path,
exampleKey:e.exampleKey}});const[r,a]=await Rqe({isUsingProxy:n.isUsingProxy,
operation:e.operation,plugins:e.plugins,request:n.request})
;e.eventBus.emit("hooks:on:request:complete",{payload:a?{
response:a.originalResponse,request:a.request.clone(),
duration:a.response.duration,timestamp:a.timestamp}:void 0,meta:{
method:e.method,path:e.path,exampleKey:e.exampleKey}
}),r?s(r.message,"error"):(c.value=a.response,u.value=a.request)};cv((()=>{
e.eventBus.on("operation:send:request:hotkey",p),
e.eventBus.on("operation:cancel:request",d)})),pv((()=>{
e.eventBus.off("operation:send:request:hotkey",p),
e.eventBus.off("operation:cancel:request",d)}))
;const h=Ty((()=>e.history.map((e=>({method:e.request.method,path:e.request.url,
duration:e.time,status:e.response.status}))).reverse())),f=({index:t})=>{
const n=(e.history.length??0)-t-1,r=e.history[n];if(!r)return
;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("success"!==t)return
;const n=(({harResponse:e,url:t="",method:n,path:r,duration:a=0})=>{
const o=vqe(e),{body:i,data:s,size:l}=bqe(e),c=gqe(o);return{...new Response(i,{
status:e.status,statusText:e.statusText,headers:o}),
headers:Object.fromEntries(o.entries()),cookieHeaderKeys:c,duration:a,
status:e.status,statusText:e.statusText,method:n,path:r,data:s,size:l,url:t}})({
harResponse:r.response,url:r.request.url,method:e.method,path:e.path,
duration:r.time}),a=(({harRequest:e})=>{const t=fqe(e),n=mqe(e.postData)
;return new Request(e.url,{method:e.method,headers:t,body:n})})({
harRequest:r.request});c.value=n,u.value=a}})})}
;return mg([()=>e.path,()=>e.method,()=>e.exampleKey],(()=>{
c.value=null,u.value=null,d()})),pv((()=>{d()
})),(t,s)=>(Fb(),qb("div",y1e,[Jb("div",O1e,[ey(VWe,{
activeEnvironment:e.activeEnvironment,documentUrl:e.documentUrl,
environment:e.environment,environments:e.environments,eventBus:e.eventBus,
hideClientButton:e.hideClientButton,history:h.value,integration:e.integration,
layout:e.layout,method:e.method,path:e.path,server:e.server,servers:e.servers,
source:e.source,onExecute:p,"onSelect:history:item":f,
"onUpdate:servers":s[0]||(s[0]=e=>n("update:servers"))
},null,8,["activeEnvironment","documentUrl","environment","environments","eventBus","hideClientButton","history","integration","layout","method","path","server","servers","source"])]),ey(uVe,{
class:"border-t"},{default:ig((()=>[ey(pVe,{class:"flex-1"},{
default:ig((()=>[ey(xm(XJe),{authMeta:e.authMeta,clientOptions:r.value,
environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,
globalCookies:e.globalCookies,layout:e.layout,method:e.method,
operation:e.operation,path:e.path,plugins:e.plugins,proxyUrl:e.proxyUrl,
securityRequirements:a.value,securitySchemes:e.securitySchemes,
selectedClient:e.selectedClient,selectedSecurity:o.value,
selectedSecuritySchemes:i.value,server:e.server
},null,8,["authMeta","clientOptions","environment","eventBus","exampleKey","globalCookies","layout","method","operation","path","plugins","proxyUrl","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server"]),ey(xm(b1e),{
appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,
request:u.value,response:c.value,totalPerformedRequests:h.value.length
},null,8,["appVersion","eventBus","layout","plugins","request","response","totalPerformedRequests"])])),
_:1})])),_:1})]))}}),x1e={key:1,
class:"flex h-full w-full items-center justify-center"},k1e=Hg({
__name:"Operation",props:{documentSlug:{},document:{},eventBus:{},layout:{},
path:{},method:{},exampleName:{},environment:{},securitySchemes:{},
workspaceStore:{},activeWorkspace:{},plugins:{},options:{}},setup(e){
const t=Ty((()=>e.path?$Se(e.document?.paths?.[e.path]):null)),n=Ty((()=>{
if(!e.path||!e.method)return null
;const n=$Se(e.document?.paths?.[e.path]?.[e.method]);if(!n)return null
;if(!t.value)return n;const r=rVe(t.value.parameters,n.parameters);return{...n,
parameters:r}
})),r=Ty((()=>[...(e.workspaceStore.workspace?.["x-scalar-cookies"]??[]).map((e=>({
...e,location:"workspace"
}))),...(e.document?.["x-scalar-cookies"]??[]).map((e=>({...e,
location:"document"
})))])),a=Ty((()=>oVe(km(e.options)?.servers??n.value?.servers??t.value?.servers??e.document?.servers,{
baseServerUrl:km(e.options)?.baseServerURL,
documentUrl:e.document?.["x-scalar-original-source-url"]
}))),o=Ty((()=>aVe(e.document,a.value)));cv((()=>{
typeof e.document?.["x-scalar-selected-server"]>"u"&&a.value?.[0]?.url&&e.eventBus.emit("server:update:selected",{
url:a.value[0].url})}))
;const i=Ty((()=>e.document?.["x-scalar-set-operation-security"]?{
type:"operation",path:e.path??"",method:e.method??"get"}:{type:"document"
})),s=Ty((()=>Array.from(new Set(Object.keys({
...e.document?.["x-scalar-environments"],
...e.workspaceStore.workspace["x-scalar-environments"]
}))))),l=Ty((()=>nVe(km(e.options)?.hiddenClients)))
;return(t,c)=>e.path&&e.method&&e.exampleName&&n.value?(Fb(),Wb(xm(w1e),{key:0,
activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],
appVersion:xm("2.26.2"),authMeta:i.value,
documentSecurity:e.document?.security??[],
documentSelectedSecurity:e.workspaceStore.auth.getAuthSelectedSchemas({
type:"document",documentName:e.documentSlug}),
documentUrl:e.document?.["x-scalar-original-source-url"],
environment:e.environment,environments:s.value,eventBus:e.eventBus,
exampleKey:e.exampleName,globalCookies:r.value,
hideClientButton:km(e.options)?.hideClientButton??!1,
history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),
httpClients:l.value,layout:e.layout,method:e.method,operation:n.value,
operationSelectedSecurity:e.workspaceStore.auth.getAuthSelectedSchemas({
type:"operation",documentName:e.documentSlug,path:e.path,method:e.method}),
path:e.path,plugins:e.plugins,
proxyUrl:e.workspaceStore.workspace["x-scalar-active-proxy"]??"",
securitySchemes:e.securitySchemes,
selectedClient:e.workspaceStore.workspace["x-scalar-default-client"],
server:o.value,servers:a.value,
setOperationSecurity:e.document?.["x-scalar-set-operation-security"]??!1,
"onUpdate:servers":c[0]||(c[0]=t=>e.eventBus.emit("ui:navigate",{
page:"document",path:"servers"}))
},null,8,["activeEnvironment","appVersion","authMeta","documentSecurity","documentSelectedSecurity","documentUrl","environment","environments","eventBus","exampleKey","globalCookies","hideClientButton","history","httpClients","layout","method","operation","operationSelectedSecurity","path","plugins","proxyUrl","securitySchemes","selectedClient","server","servers","setOperationSecurity"])):(Fb(),
qb("div",x1e,[...c[1]||(c[1]=[Jb("span",{class:"text-c-3"
},"Select an operation to view details",-1)])]))}}),S1e=(e,t)=>{
if(null===e)return cZe(hZe,{})
;const n=e.workspace["x-scalar-active-environment"];if(!n)return cZe(hZe,{})
;const r=e.workspace["x-scalar-environments"]?.[n]??{variables:[]
},a=t?.["x-scalar-environments"]?.[n]??{variables:[]};return cZe(hZe,{...r,...a,
variables:[...r.variables,...a.variables]})},_1e={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"]}},A1e={web:_1e,modal:{..._1e,
Escape:{event:"ui:close:client-modal",modifiers:[]},l:{
event:"ui:focus:send-button",modifiers:["default"]}},desktop:{..._1e,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"]}}
},T1e=new Set(["Escape","ArrowDown","ArrowUp","Enter"]),E1e=(e,t,n)=>{
const r=" "===e.key?"Space":e.key,a=A1e[n][r];if(!a)return;const o={event:e}
;"Escape"!==r?((e,t)=>t.map((e=>"default"===e?u4()?"metaKey":"ctrlKey":e)).every((t=>!0===e[t])))(e,a.modifiers)?t.emit(a.event,o,{
skipUnpackProxy:!0}):((e,t)=>{if(!(e.target instanceof HTMLElement))return!1
;const n=e.target
;return"INPUT"===n.tagName?!T1e.has(t):"TEXTAREA"===n.tagName||"true"===n.contentEditable||n.hasAttribute("contenteditable")
})(e,r)||t.emit(a.event,o,{skipUnpackProxy:!0}):t.emit(a.event,o,{
skipUnpackProxy:!0})},C1e=e=>{const t=bm(""),n=bm(!1),r=()=>{const n=km(e)
;n&&(""!==t.value?n.style.overflow=t.value:n.style.removeProperty("overflow"))
},a=Ty({get:()=>n.value,set:a=>{n.value=a,a?(()=>{const n=km(e)
;n&&(t.value=n.style.overflow,n.style.overflow="hidden")})():r()}})
;return pv((()=>{n.value&&r()})),a},$1e=["aria-pressed"],P1e={class:"sr-only"
},I1e={class:"size-4",fill:"none",viewBox:"0 0 24 24",
xmlns:"http://www.w3.org/2000/svg"},D1e={"clip-path":"url(#mask)"},M1e=Hg({
__name:"SidebarToggle",props:{modelValue:{type:Boolean,required:!0},
modelModifiers:{}},emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue");return(e,n)=>(Fb(),qb("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]||(n[0]=e=>t.value=!t.value)
},[Jb("span",P1e,Uh(t.value?"Hide":"Show")+" sidebar",1),(Fb(),
qb("svg",I1e,[n[1]||(n[1]=Jb("defs",null,[Jb("clipPath",{id:"mask"},[Jb("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)),Jb("g",D1e,[Jb("path",{
class:Dh(["transition-transform duration-300",t.value?"translate-x-0":"-translate-x-1/2"]),
d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),n[2]||(n[2]=Jb("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,$1e))}}),N1e=Hg({__name:"SidebarMenu",
props:{activeWorkspace:{},workspaces:{}},
emits:["create:workspace","select:workspace"],setup(e,{emit:t}){const n=t
;return(t,r)=>(Fb(),Wb(xm(hae),null,{products:ig((()=>[...r[2]||(r[2]=[])])),
sections:ig((({close:a})=>[ey(xm(dae),null,{
default:ig((()=>[Av(t.$slots,"sidebarMenuActions",{},(()=>[ey(xm(gae),{
modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,
onCreateWorkspace:r[0]||(r[0]=e=>n("create:workspace")),
"onUpdate:modelValue":r[1]||(r[1]=e=>n("select:workspace",e))
},null,8,["modelValue","workspaceOptions"]),ey(xm(iae),{is:xm(Rke),icon:xm(JT),
to:"/settings",onClick:a},{
default:ig((()=>[...r[3]||(r[3]=[ry(" Settings ",-1)])])),_:1
},8,["is","icon","onClick"])]))])),_:2},1024),ey(xm(pae)),ey(xm(fae))])),_:3}))}
});function R1e(e){const t=[];function n(e,r){e.forEach((e=>{(function(e,t,n){
if("operation"===e.type){const r=$Se(n?.paths?.[e.path]?.[e.method])??{}
;return void t.push({type:"operation",title:e.title,id:e.id,
description:r.description||"",method:e.method,path:e.path,
operationId:r.operationId,entry:e,documentName:n?.info.title??""})}
if("tag"===e.type&&!1===e.isGroup)return void t.push({id:e.id,title:e.title,
description:e.description||"",type:"tag",entry:e,documentName:n?.info.title??""
});if("tag"===e.type&&!0===e.isGroup)return void t.push({id:e.id,title:e.title,
description:"Tag Group",type:"tag",entry:e,documentName:n?.info.title??""})
;if("text"===e.type)t.push({id:e.id,type:"heading",title:e.title??"",
description:"Heading",entry:e,documentName:n?.info.title??""})
})(e,t,r),"children"in e&&e.children&&n(e.children,r)}))}
return e?.forEach((e=>n(e["x-scalar-navigation"]?.children??[],e))),t}
const L1e=e=>{const t=Ty((()=>{const t=new Tke([],{keys:[{name:"title",weight:.7
},{name:"description",weight:.3},{name:"operationId",weight:.6},{name:"path",
weight:.5},{name:"tag",weight:.4},{name:"method",weight:.3},{
name:"documentName",weight:.3}],threshold:.3,distance:100,includeScore:!0,
includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})
;return t.setCollection(R1e(km(e))),t})),n=bm("");return{
results:Ty((()=>0!==n.value.length?t.value.search(n.value,{limit:25
}).flatMap((e=>"operation"!==e.item.entry.type?[]:e.item.entry)):null)),query:n}
},B1e="scalar-dragging",j1e=Hg({__name:"Resize",props:{width:{}},
emits:["update:width"],setup(e,{emit:t}){const n=t,r=bm(!1),a=t=>{
t.preventDefault();const a=t.clientX,o=e.width,i=e=>{
r.value=!0,document.body.classList.add(B1e);let t=o+e.clientX-a
;t>420&&(t=420+.2*(t-420)),t<240&&(t=240),n("update:width",t)},s=()=>{
r.value=!1,
document.body.classList.remove(B1e),document.documentElement.removeEventListener("mousemove",i,!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",i,!1),
document.documentElement.addEventListener("mouseup",s,!1)}
;return(t,n)=>(Fb(),qb("div",{class:"relative",style:Eh({width:`${e.width}px`})
},[Av(t.$slots,"default",{},void 0,!0),Jb("div",{class:"resizer",onMousedown:a
},null,32)],4))}}),U1e=Hoe(j1e,[["__scopeId","data-v-e2c54c18"]]),z1e={
class:"bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5"},Z1e={
class:"flex items-center justify-between"},F1e={key:1},H1e=Hg({__name:"Sidebar",
props:Bv({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},
documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,
default:288},sidebarWidthModifiers:{}}),
emits:Bv(["selectItem","select:workspace","create:workspace","reorder"],["update:sidebarWidth"]),
setup(e,{emit:t}){
const n=t,r=Dv(),a=bm(!1),o=tb(e,"sidebarWidth"),i=e=>"example"===e.type&&"draft"===e.title,{query:s,results:l}=L1e((()=>e.documents)),c=Ty((()=>l.value??e.sidebarState.items.value)),u=e=>{
n("selectItem",e),s.value="",a.value=!1};return(t,l)=>(Fb(),Wb(xm(U1e),{
width:o.value,"onUpdate:width":l[5]||(l[5]=e=>o.value=e),class:"flex flex-col"
},{default:ig((()=>[ey(xm(xje),{class:"flex w-auto flex-1 pt-2",indent:20,
isDraggable:"modal"!==e.layout,isDroppable:e.isDroppable,
isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,
items:c.value,layout:"client",onReorder:l[4]||(l[4]=(e,t)=>n("reorder",e,t)),
onSelectItem:u},_v({
header:ig((()=>[Jb("div",z1e,[Jb("div",Z1e,["modal"!==e.layout?(Fb(),Wb(N1e,{
key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,
"onCreate:workspace":l[0]||(l[0]=e=>n("create:workspace")),
"onSelect:workspace":l[1]||(l[1]=e=>n("select:workspace",e))},{
sidebarMenuActions:ig((()=>[Av(t.$slots,"sidebarMenuActions")])),_:3
},8,["activeWorkspace","workspaces"])):"modal"===e.layout?(Fb(),
qb("div",F1e)):oy("",!0),ey(xm(Qre),{icon:xm(xC),label:"Search",
onClick:l[2]||(l[2]=e=>a.value=!a.value)
},null,8,["icon"])]),a.value?(Fb(),Wb(xm(toe),{key:0,modelValue:xm(s),
"onUpdate:modelValue":l[3]||(l[3]=e=>vm(s)?s.value=e:null),autofocus:""
},null,8,["modelValue"])):oy("",!0)])])),
decorator:ig((e=>[Av(t.$slots,"decorator",Mh(ty(e)))])),
icon:ig((e=>[r.icon||i(e.item)?(Fb(),qb(Lb,{key:0},[i(e.item)?(Fb(),Wb(xm(_T),{
key:0})):oy("",!0),Av(t.$slots,"icon",Mh(ty(e)))],64)):oy("",!0)])),
before:ig((()=>[Av(t.$slots,"workspaceButton")])),
footer:ig((()=>[Av(t.$slots,"footer")])),_:2},[r.empty?{name:"empty",
fn:ig((e=>[Av(t.$slots,"empty",Mh(ty(e)))])),key:"0"
}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","items"])])),
_:3},8,["width"]))}}),Q1e={key:0,class:"relative flex flex-1"},V1e={key:1,
class:"flex h-full w-full items-center justify-center"},q1e=Hg({__name:"Modal",
props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},
exampleName:{},modalState:{},sidebarState:{},plugins:{},options:{}},
setup(e,{expose:t}){const n={label:"default",id:"default"},r=bm(!1);JQe({
eventBus:e.eventBus,isSidebarOpen:r,sidebarState:e.sidebarState,
modalState:e.modalState,store:e.workspaceStore}),((e,t)=>{const n=n=>E1e(n,e,t)
;cv((()=>window.addEventListener("keydown",n))),
pv((()=>window.removeEventListener("keydown",n)))})(e.eventBus,"modal")
;const a=()=>{e.eventBus.emit("operation:cancel:request")
},o=C1e((()=>typeof window<"u"?window.document.body:null))
;mg((()=>e.modalState.open),(e=>{o.value=e,e||a()})),pv((()=>a()))
;const i=Ty((()=>e.workspaceStore?.workspace?.["x-scalar-sidebar-width"]??288)),s=t=>e.workspaceStore?.update("x-scalar-sidebar-width",t),l=Ty((()=>S1e(e.workspaceStore,e.document.value))),c=Ty((()=>xUe(e.document.value?.components?.securitySchemes,km(e.options)?.authentication?.securitySchemes,e.workspaceStore.auth,e.document.value?.["x-scalar-navigation"]?.name??"")))
;return t({sidebarWidth:i,environment:l}),(t,a)=>(Fb(),Wb(uze,{
modalState:e.modalState},{
default:ig((()=>[ey(xm(vUe)),e.document.value&&e.path?.value&&e.method?.value?(Fb(),
qb("main",Q1e,[ey(xm(M1e),{modelValue:r.value,
"onUpdate:modelValue":a[0]||(a[0]=e=>r.value=e),
class:"absolute top-2 left-3 z-[10001]"},null,8,["modelValue"]),sg(ey(xm(H1e),{
sidebarWidth:i.value,"onUpdate:sidebarWidth":[a[1]||(a[1]=e=>i.value=e),s],
activeWorkspace:n,class:"z-[10000] 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"]),[[nO,r.value]]),ey(k1e,{
activeWorkspace:n,class:"flex-1",document:e.document.value,
documentSlug:e.document.value["x-scalar-navigation"]?.id??"",
environment:l.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,
layout:"modal",method:e.method?.value,options:e.options,path:e.path?.value,
plugins:e.plugins,securitySchemes:c.value,workspaceStore:e.workspaceStore
},null,8,["document","documentSlug","environment","eventBus","exampleName","method","options","path","plugins","securitySchemes","workspaceStore"])])):(Fb(),
qb("div",V1e,[...a[2]||(a[2]=[Jb("span",{class:"text-c-3"
},"No document selected",-1)])]))])),_:1},8,["modalState"]))}
}),W1e=({el:e,eventBus:t=EAe({debug:!1
}),mountOnInitialize:n=!0,plugins:r=[],workspaceStore:a,options:o={}})=>{
const i={path:"default",method:"default",example:"default",
documentSlug:a.workspace["x-scalar-active-document"]||"default"
},s=bm(null),l=om({...i}),c=e=>{Object.assign(l,i,e)
},u=Ty((()=>UIe(a,l))),d=Ty((()=>u.value.documentSlug)),p=Ty((()=>u.value.path)),h=Ty((()=>u.value.method)),f=Ty((()=>u.value.example)),m=Ty((()=>a.workspace.documents[d.value??""]??null)),g=(({workspaceStore:e,documentSlug:t,path:n,method:r,exampleName:a,route:o})=>{
const i=Ty((()=>e?.workspace.documents[km(t)??""]?.["x-scalar-navigation"]?.children??[])),s=Sje(i),l=Ty((()=>kje({
items:i.value,nestedKey:"children",
filter:e=>"operation"===e.type||"example"===e.type,getId:e=>{
const n=RAe("operation",e);return Tje({document:km(t)??"",path:n?.path,
method:n?.method,example:"example"===e.type?e.name:void 0})}
}))),c=e=>l.value.get(Tje({document:e.document,path:e.path,method:e.method,
example:e.example}))||l.value.get(Tje({document:e.document,path:e.path,
method:e.method}));return mg([t,n,r,a],(([e,t,n,r])=>{
if(!e)return void s.setSelected(null);const a=c({document:e,path:t,method:n,
example:r});a&&(s.setSelected(a.id),s.setExpanded(a.id,!0))}),{immediate:!0}),{
handleSelectItem:e=>{const n=s.getEntryById(e);if(n){
if("operation"===n.type||"example"===n.type){
if(s.isSelected(e))return void s.setExpanded(e,!s.isExpanded(e))
;const r=RAe("operation",n),a=_je("example",n)
;return a?(s.setSelected(a.id),s.setExpanded(a.id,!0)):s.setSelected(e),r?o({
documentSlug:km(t),path:r.path,method:r.method,example:a?.name??"default"
}):void 0}s.setExpanded(e,!s.isExpanded(e))
}else console.warn(`Could not find sidebar entry with id ${e} to select`)},
state:s,getEntryByLocation:c}})({workspaceStore:a,documentSlug:d,path:p,
method:h,exampleName:f,route:c}),v=Noe(),b=WO(q1e,{document:m,eventBus:t,
exampleName:f,method:h,modalState:v,path:p,plugins:r,sidebarState:g,
workspaceStore:a,options:o}),y=()=>{
if(!s.value)return void console.warn("No workspace store snapshot to restore")
;const e=(({workspaceStore:e,workspaceState:t,name:n})=>{if(!e)return{ok:!1,
error:"Workspace store is not available"};const r=TAe(e.workspace.documents[n])
;if(!r)return{ok:!1,error:"Current document not found in workspace store"}
;const a=t.documents[n];if(!a)return{ok:!1,
error:"Importing document not found in workspace state"};const o={
selectedServer:r["x-scalar-selected-server"],
securitySchemes:r.components?.securitySchemes,servers:r.servers}
;e.loadWorkspace({meta:{},documents:{[n]:a},intermediateDocuments:{},
originalDocuments:{},overrides:{},history:{},auth:{}})
;const i=TAe(e.workspace.documents[n])
;return i?(i["x-scalar-selected-server"]=o.selectedServer,
i.servers=o.servers,i.components??={},
i.components.securitySchemes=o.securitySchemes,{ok:!0}):{ok:!1,
error:"New document not found in workspace store"}})({workspaceStore:a,
workspaceState:s.value,name:d.value??""})
;e.ok||console.error("Failed to restore workspace state",e.error)}
;mg((()=>v.open),(e=>e?void(s.value=window.structuredClone(a.exportWorkspace())):y())),
b.config.idPrefix="scalar-client";const O=(t=e)=>{
t?b.mount(t):console.error("[@scalar/api-client] Could not create the API client Modal.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")
};return n&&O(),{app:b,open:e=>{v.open=!0,e&&c(e)},mount:O,route:c,modalState:v}
},X1e=(e,t)=>{
const n=performance.now(),r=t(),a=performance.now(),o=Math.round(a-n)
;return console.info(`${e}: ${o} ms`),r},G1e=async(e,t)=>{
const n=performance.now(),r=await t(),a=performance.now(),o=Math.round(a-n)
;return console.info(`${e}: ${o} ms`),r};function Y1e(e){let t=0;const n=[]
;return async r=>{t>=e&&await new Promise((e=>n.push(e))),t++;try{
return await r()}finally{t--,(()=>{if(0===n.length||t>=e)return
;const r=n.shift();r&&r()})()}}}function K1e(e){if(null!==e){
if("string"==typeof e){if(""===e.trim())return;try{return JSON.parse(e)
}catch(t){const n=/^[^:]+:/.test(e),r=e.slice(0,50).trimStart().startsWith("{")
;if(!n||r)return;return PG(e,{maxAliasCount:1e4,merge:!0})}}return e}}
const J1e=e=>{try{return new URL(e).host}catch{return null}};function e2e(e){
const t=e?.limit?Y1e(e.limit):e=>e();return{type:"loader",validate:E_e,
exec:n=>async function(e,t,n){try{
const r=J1e(e),a=n?.headers?.find((e=>void 0!==e.domains.find((e=>e===r))))?.headers,o=n?.fetch??fetch,i=await t((()=>o(e,{
headers:a})));if(i.ok){const e=await i.text();return{ok:!0,data:K1e(e),raw:e}}
const s=i.headers.get("Content-Type")??""
;return["text/html","application/xml"].includes(s)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${s}`),
console.warn(`[WARN] Fetch failed with status ${i.status} ${i.statusText} for URL: ${e}`),
{ok:!1}}catch{
return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}
}(n,t,e)}}class t2e extends Error{constructor(e){
super(e),this.name="InvalidChangesDetectedError"}}const n2e=(e,t)=>{
const n=(e,t,r,a=0)=>{
if(void 0===t[a])throw new t2e(`Process aborted. Path ${t.join(".")} at depth ${a} is undefined, check diff object`)
;if(a>=t.length-1)"add"===r.type||"update"===r.type?e[t[a]]=r.changes:Array.isArray(e)?e.splice(Number.parseInt(t[a]),1):delete e[t[a]];else{
if(void 0===e[t[a]]||"object"!=typeof e[t[a]])throw new t2e("Process aborted, check diff object")
;n(e[t[a]],t,r,a+1)}};for(const r of t)n(e,r.path,r);return e},r2e=(e,t)=>{
const n=[],r=(e,t,a=[])=>{if(typeof e!=typeof t)return void 0===e?void n.push({
path:a,changes:t,type:"add"}):void 0===t?void n.push({path:a,changes:e,
type:"delete"}):void n.push({path:a,changes:t,type:"update"})
;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)e!==t&&n.push({
path:a,changes:t,type:"update"});else{
const n=new Set([...Object.keys(e),...Object.keys(t)])
;for(const o of n)r(e[o],t[o],[...a,o])}};return r(e,t),n};class a2e{
constructor(e,t){this.value=e,this.children=t}}class o2e{root;constructor(){
this.root=new a2e(null,{})}addPath(e,t){let n=this.root
;for(const r of e)n.children[r]||(n.children[r]=new a2e(null,{})),
n=n.children[r];n.value=t}findMatch(e,t){let n=this.root;for(const a of e){
null!==n.value&&t(n.value);const e=n.children[a];if(!e)return;n=e}const r=e=>{
for(const t of Object.keys(e?.children??{}))e&&Object.hasOwn(e.children,t)&&r(e?.children[t])
;e?.value&&t(e.value)};r(n)}}const i2e=(e,t)=>{if(typeof e!=typeof t)return!0
;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){
const n=new Set([...Object.keys(e),...Object.keys(t)])
;for(const r of n)if(void 0!==e[r]&&void 0!==t[r]&&i2e(e[r],t[r]))return!0
;return!1}return e!==t},s2e=(e,t)=>{for(const n in t)if(n in e){
const r=e[n],a=t[n]
;"object"==typeof r&&null!==r&&"object"==typeof a&&null!==a&&(e[n]=s2e(r,a))
}else e[n]=t[n];return e},l2e=(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},c2e=(e,t)=>{
const n=new o2e;for(const[l,c]of e.entries())n.addPath(c.path,{index:l,changes:c
});const r=new Set,a=new Set,o=new Map,i=new Map
;for(const[l,c]of t.entries())n.findMatch(c.path,(e=>{
if("delete"===c.type)if("delete"===e.changes.type)e.changes.path.length>c.path.length?r.add(e.index):a.add(e.index);else{
r.add(e.index),a.add(l);const t=i.get(l)
;void 0!==t?t[0].push(e.changes):i.set(l,[[e.changes],[c]])}
if("add"===c.type||"update"===c.type){
if(l2e(c.path,e.changes.path)&&"delete"!==e.changes.type&&!i2e(c.changes,e.changes.changes))return r.add(e.index),
void("object"==typeof c.changes&&s2e(c.changes,e.changes.changes))
;r.add(e.index),a.add(l);const t=o.get(e.index)
;void 0!==t?t[1].push(c):o.set(e.index,[[e.changes],[c]])}}))
;const s=[...o.values(),...i.values()];return{
diffs:[...e.filter(((e,t)=>!r.has(t))),...t.filter(((e,t)=>!a.has(t)))],
conflicts:s}},u2e=xIe.Object({"x-scalar-secret-token":xIe.String()
}),d2e=xIe.Object({"x-scalar-secret-username":xIe.String(),
"x-scalar-secret-password":xIe.String()}),p2e=xIe.Object({
"x-scalar-secret-client-secret":xIe.String()}),h2e=xIe.Object({
"x-scalar-secret-client-id":xIe.String()}),f2e=xIe.Object({
"x-scalar-secret-redirect-uri":xIe.String()}),m2e=LZe(xIe.Object({
type:xIe.Literal("apiKey")}),u2e),g2e=LZe(xIe.Object({type:xIe.Literal("http")
}),u2e,d2e),v2e=LZe(h2e,u2e),b2e=xIe.Object({
implicit:xIe.Optional(LZe(v2e,f2e)),password:xIe.Optional(LZe(v2e,d2e,p2e,DHe)),
clientCredentials:xIe.Optional(LZe(v2e,p2e,DHe)),
authorizationCode:xIe.Optional(LZe(v2e,p2e,f2e,DHe))}),y2e=LZe(xIe.Object({
type:xIe.Literal("oauth2")
}),b2e),O2e=xIe.Union([m2e,g2e,y2e]),w2e=xIe.Record(xIe.String(),O2e),x2e=xIe.Object({
selectedIndex:xIe.Number(),selectedSchemes:xIe.Array(jQe)}),k2e=xIe.Object({
secrets:w2e,selected:xIe.Object({document:xIe.Optional(x2e),
path:xIe.Optional(xIe.Record(xIe.String(),xIe.Record(xIe.String(),x2e)))})
}),S2e=xIe.Record(xIe.String(),k2e);const _2e=(e,t)=>{Object.assign(e,t)
},A2e=xIe.Object({name:xIe.String(),value:xIe.String()}),T2e=xIe.Object({
url:xIe.String(),method:xIe.String(),httpVersion:xIe.String(),
headers:xIe.Array(A2e),cookies:xIe.Array(A2e),headersSize:xIe.Number(),
queryString:xIe.Array(A2e),bodySize:xIe.Number(),
postData:xIe.Optional(xIe.Union([xIe.Object({mimeType:xIe.String(),
text:xIe.String()}),xIe.Object({mimeType:xIe.String(),
params:xIe.Array(xIe.Object({name:xIe.String(),value:xIe.Optional(xIe.String())
}))})]))}),E2e=xIe.Object({status:xIe.Number(),statusText:xIe.String(),
headers:xIe.Array(A2e),cookies:xIe.Array(A2e),httpVersion:xIe.String(),
redirectURL:xIe.String(),headersSize:xIe.Number(),bodySize:xIe.Number(),
content:xIe.Object({size:xIe.Number(),mimeType:xIe.String(),
encoding:xIe.Optional(xIe.String()),text:xIe.Optional(xIe.String())})
}),C2e=xIe.Object({time:xIe.Number(),timestamp:xIe.Number(),request:T2e,
response:E2e,meta:xIe.Object({example:xIe.String()}),
requestMetadata:xIe.Object({variables:xIe.Record(xIe.String(),xIe.String())})
}),$2e=xIe.Record(xIe.String(),xIe.Record(xIe.String(),xIe.Array(C2e))),P2e=xIe.Record(xIe.String(),$2e),I2e=new Set(["x-scalar-navigation","x-ext","x-ext-urls","$status","x-scalar-is-dirty"]),D2e=e=>!e.path.some((e=>I2e.has(e)))&&!(e.path.at(-1)??"").startsWith("x-scalar-secret-"),M2e=(e,t=new WeakMap)=>{
if("object"!=typeof e||null===e)return e;if(t.has(e))return t.get(e)
;const n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach((r=>{
n[r]=M2e(e[r],t)})),n};function N2e(e,t){return t.reduce(((e,t)=>{
if(null!=e)return e[t]}),e)}const R2e=(e,t)=>{
if(e&&"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref&&e.$ref.startsWith("#")){
const n=z_e(e.$ref.slice(1));return R2e(N2e(t.rootNode,n),t)}return e}
;function L2e(e){if("url"in e)return e2e({fetch:e.fetch}).exec(e.url)
;if("path"in e){const 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)})}
const B2e=e=>"url"in e?e.url:"path"in e?e.path:void 0,j2e=e=>{const t={},n=t=>{
e?.plugins?.forEach((e=>e.hooks?.onWorkspaceStateChanges?.(t)))},r=om(_Ae({
...e?.meta,documents:{},get activeDocument(){return r.documents[c()]}},{hooks:{
onAfterChange(e){const t=e[0];if("documents"===t){
if(e.length<2)return void console.log("[WARN]: Overriding entire documents object is not supported")
;const t=e[1],a=r.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},
"x-scalar-original-document-hash":""},o={type:"documents",documentName:t,
value:TAe(a),path:e.slice(2)}
;return o.path.length>0&&"x-scalar-is-dirty"!==o.path[0]&&(a["x-scalar-is-dirty"]=!0),
void n(o)}if("activeDocument"===t){const t=c(),a=r.documents[t]??{
openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""
},o={type:"documents",documentName:t,value:TAe(a),path:e.slice(2)}
;return o.path.length>0&&"x-scalar-is-dirty"!==o.path[0]&&(a["x-scalar-is-dirty"]=!0),
void n(o)}const{activeDocument:a,documents:o,...i}=r,s={type:"meta",
value:TAe(i,{depth:1})};n(s)}}
})),{originalDocuments:a,intermediateDocuments:o,overrides:i}=_Ae({
originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{
onAfterChange(e){const t=e[0];if(!t)return;if(e.length<2)return;const r=e[1]
;if("originalDocuments"===t){const o={type:t,documentName:r,value:TAe(a[r]??{}),
path:e.splice(2)};n(o)}if("intermediateDocuments"===t){const a={type:t,
documentName:r,value:TAe(o[r]??{}),path:e.splice(2)};n(a)}if("overrides"===t){
const e={type:t,documentName:r,value:TAe(i[r]??{})};n(e)}}}}),s=(({hooks:e})=>{
const t=om({});return{getHistory:(e,n,r)=>t[e]?.[n]?.[r],addHistory:(n,r,a,o)=>{
t[n]||={},
t[n][r]||={},t[n][r][a]||=[],t[n][r][a].length>=5&&(t[n][r][a]=TAe(t[n][r][a].filter(((e,t)=>0!==t)),{
depth:1})),t[n][r][a].push(o),e?.onHistoryChange?.(n)},
clearOperationHistory:(n,r,a)=>{delete t[n]?.[r]?.[a],e?.onHistoryChange?.(n)},
clearPathHistory:(n,r)=>{delete t[n]?.[r],e?.onHistoryChange?.(n)},
clearDocumentHistory:n=>{delete t[n],e?.onHistoryChange?.(n)},load:n=>{
const r=cZe(P2e,n);_2e(t,r),Object.keys(r).forEach((t=>{e?.onHistoryChange?.(t)
}))},export:()=>TAe(t)}})({hooks:{onHistoryChange:e=>{n({type:"history",
documentName:e,value:s.export()[e]??{}})}}}),l=(({hooks:e}={})=>{
const t=om(_Ae({},{hooks:{onAfterChange:t=>{if(t.length<1)return;const[n]=t
;"string"==typeof n&&e?.onAuthChange?.(n)}}}));return{
getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(e,n,r)=>{t[e]||={
secrets:{},selected:{document:void 0,path:void 0}},t[e].secrets[n]=cZe(O2e,r)},
getAuthSelectedSchemas:e=>"document"===e.type?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],
setAuthSelectedSchemas:(e,n)=>{t[e.documentName]||={secrets:{},selected:{
document:void 0,path:void 0}};const r=t[e.documentName]
;"document"===e.type?r.selected.document=n:(j_e(e.path),
j_e(e.method),r.selected.path||={},
r.selected.path[e.path]||={},r.selected.path[e.path][e.method]=n)},
clearDocumentAuth:e=>{delete t[e]},load:e=>{_2e(t,cZe(S2e,e))},export:()=>TAe(t)
}})({hooks:{onAuthChange:e=>{n({type:"auth",documentName:e,
value:l.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,
selectedSchemes:[]},path:{}}}})}}});function c(){
return r[jZe.activeDocument]??Object.keys(r.documents)[0]??""}function u(e,t,n){
const r=o[e]
;if(r)return"json"===t?n?JSON.stringify(r):JSON.stringify(r,null,2):DG.stringify(r)
}async function d(n,s){
const{name:l,meta:c}=n,u=X1e("deepClone",(()=>M2e(n.document)))
;X1e("initialize",(()=>{
!1!==n.initialize&&(a[l]=M2e(u),o[l]=M2e(u),i[l]=n.overrides??{},t[l]={
fetch:n.fetch})}));const d=X1e("upgrade",(()=>nAe(M2e(u)))),p=ZSe({...d,...c,
"x-original-oas-version":a[l]?.openapi??a[l]?.swagger,
"x-scalar-original-document-hash":n.documentHash,
"x-scalar-original-source-url":n.documentSource},{showInternal:!0})
;if(void 0===p[BZe.navigation]){const r=[e2e({fetch:t[l]?.fetch??e?.fetch})]
;e?.fileLoader&&r.push(e.fileLoader),
await G1e("bundle",(async()=>await tAe(HSe(p),{treeShake:!1,plugins:[...r,{
type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n}=t
;if("string"==typeof e.$ref&&("components"!==n[0]||"schemas"!==n[1])){
const t=new Set(["$ref","summary","description","$status"])
;Object.keys(e).forEach((n=>{t.has(n)||delete e[n]}))}}},{type:"lifecycle",
onAfterNodeProcess:async(e,t)=>{const n=e.externalValue,r=t.resolutionCache
;if("string"!=typeof n)return;const a=t.loaders.find((e=>e.validate(n)))
;if(!a)return;r.has(n)||r.set(n,a.exec(n));const o=await r.get(n)
;o?.ok&&(e.value=o.data)}},{type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{
const{path:n,resolutionCache:r,parentNode:a}=t,o=e.$ref
;if("string"!=typeof o)return;if(!a||!n.length)return
;const i=t.loaders.find((e=>e.validate(o)));if(i&&"info"===n[0]){
r.has(o)||r.set(o,i.exec(o));const e=await r.get(o);e?.ok&&(a[n.at(-1)]=e.data)}
}},{type:"lifecycle",onAfterNodeProcess:(e,t)=>{const{path:n}=t
;if(3===n.length&&"components"===n[0]&&"securitySchemes"===n[1]){
const n=R2e(e,t)
;"object"==typeof n&&null!==n&&"scheme"in n&&"string"==typeof n.scheme&&n.scheme.toLowerCase()!==n.scheme&&(n.scheme=n.scheme.toLowerCase())
}}},{type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n}=t
;if(2!==n.length||"paths"!==n[0]||"string"!=typeof n[1])return;const r=n[1]
;for(const a of jV){const n=R2e(e[a],t);if(!PSe(n))continue
;const o="parameters"in n&&Array.isArray(n.parameters)?n.parameters:[],{path:i,other:s}=o.reduce(((e,n)=>{
const r=R2e(n,t)
;return PSe(r)?"path"===r.in?(e.path.push(r),e):(e.other.push(n),e):e}),{
path:[],other:[]}),l=[...MZe(r,r,i),...s];l.length>0&&(n.parameters=l)}}}],
urlMap:!0,origin:n.documentSource})))
;const a=X1e("coerceValue",(()=>cZe(BQe,M2e(p))))
;X1e("mergeObjects",(()=>yUe(p,a)))}if(!Uze(BQe,p)){
const e=Array.from(function(...e){
const t=3===e.length?Wze(e[0],e[1],"",e[2]):Wze(e[0],[],"",e[1])
;return new Vze(t)}(BQe,p))
;console.warn("document validation errors: "),console.warn(e.map((e=>({
message:e.message,path:e.path,schema:e.schema,value:e.value}))))}
if(void 0===p[BZe.navigation]){const e=LIe(l,p,s);p[BZe.navigation]=e}
r.documents[l]=qSe(ZSe(HSe(p)),{overrides:TAe(i[l])})}async function p(t,n){
const{name:a,meta:o}=t,i=(s={fetch:t.fetch??e?.fetch,
proxyUrl:r["x-scalar-active-proxy"]
}).fetch?s.fetch:(e,t)=>fetch(tq(s.proxyUrl,e.toString()),t);var s
;const l=await G1e("loadDocument",(async()=>await L2e({...t,fetch:i,
fileLoader:e?.fileLoader})))
;return await G1e("addDocument",(async()=>l.ok?PSe(l.data)?(await d({...t,
document:l.data,documentSource:B2e(t),documentHash:H_e(l.raw)
},n),!0):(console.error(`Failed to load document '${a}': response data is not a valid object`),
r.documents[a]={...o,openapi:"3.1.0",info:{
title:`Document '${a}' could not be loaded`,version:"unknown"},
"x-scalar-original-document-hash":"not-a-hash"
},!1):(console.error(`Failed to fetch document '${a}': request was not successful`),
r.documents[a]={...o,openapi:"3.1.0",info:{
title:`Document '${a}' could not be loaded`,version:"unknown"},
"x-scalar-original-document-hash":"not-a-hash"},!1)))}const h=new Set;return{
get workspace(){return r},get history(){return s},get auth(){return l},
update(e,t){j_e(e),Object.assign(r,{[e]:t})},updateDocument(e,t,n){
const a=r.documents["active"===e?c():e];return!!a&&(j_e(t),Object.assign(a,{
[t]:n}),!0)},async replaceDocument(e,t){const n=r.documents[e]
;if(!n)return console.error(`Document '${e}' does not exist in the workspace.`)
;await d({name:e,document:t,documentSource:n["x-scalar-original-source-url"],
documentHash:n["x-scalar-original-document-hash"],meta:{
"x-scalar-active-auth":n["x-scalar-active-auth"],
"x-scalar-active-server":n["x-scalar-active-server"]},initialize:!1})},
resolve:e=>{const t=r.activeDocument,n=N2e(t,e);return PSe(n)?tAe(n,{root:t,
treeShake:!1,plugins:[e2e(),{type:"lifecycle",onResolveStart:e=>{
e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{
delete e.$status}},{type:"lifecycle",onAfterNodeProcess:async(e,t)=>{
const n=e.externalValue,r=t.resolutionCache;if("string"!=typeof n)return
;const a=t.loaders.find((e=>e.validate(n)));if(!a)return
;r.has(n)||r.set(n,a.exec(n));const o=await r.get(n);o?.ok&&(e.value=o.data)}}],
urlMap:!0,visitedNodes:h
}):(console.error(`Invalid path provided for resolution. Path: [${e.join(", ")}]. Found value of type: ${typeof n}. Expected an object.`),
Promise.resolve())},addDocument:p,deleteDocument:e=>{if(!r.documents[e])return
;delete r.documents[e],
delete a[e],delete o[e],delete i[e],delete t[e],s.clearDocumentHistory(e),
l.clearDocumentAuth(e);const c=Object.keys(r.documents)
;r["x-scalar-active-document"]===e&&(r["x-scalar-active-document"]=c[0]??void 0),
n({type:"deleteDocument",documentName:e})},exportDocument:u,
exportActiveDocument:(e,t)=>u(c(),e,t),buildSidebar:e=>{const t=r.documents[e]
;if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),
!1;const n=LIe(e,t);return t[BZe.navigation]=n,!0},
saveDocument:async function(e){const t=o[e],n=r.documents[e];if(!n)return
;const a=TAe(n)
;if(!t||!a)return void console.warn("Failed to save document, intermediate document and/or active document is missing")
;const i=((e,t)=>{
const n=r2e(e,t),[r,a]=(o=D2e,n.reduce((([e,t],n)=>o(n)?[[...e,n],t]:[e,[...t,n]]),[[],[]]))
;var o;return n2e(e,r),a})(t,await tAe(M2e(a),{plugins:[{type:"lifecycle",
onBeforeNodeProcess:(e,t)=>{const n=e.$ref,r=t.rootNode["x-ext-urls"]
;if("string"!=typeof n||"object"!=typeof r||null===r||!n.startsWith("#"))return
;const a=n.split("/").at(-1)??"";e.$ref=r[a]??n}}],treeShake:!1,urlMap:!0}))
;return n["x-scalar-is-dirty"]=!1,i},async revertDocumentChanges(e){
const t=r.documents[e],n=o[e];t&&n&&await d({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(){const{activeDocument:e,documents:t,...n}=TAe(r);return{
documents:{...Object.fromEntries(Object.entries(t).map((([e,t])=>[e,TAe(t)])))},
meta:TAe(n)??{},originalDocuments:TAe(a),intermediateDocuments:TAe(o),
overrides:TAe(i),history:s.export(),auth:l.export()}},loadWorkspace(e){
_2e(r.documents,Object.fromEntries(Object.entries(e.documents).map((([t,n])=>[t,qSe(ZSe(n),{
overrides:e.overrides[t]
})])))),_2e(a,e.originalDocuments),_2e(o,e.intermediateDocuments),
_2e(i,e.overrides),_2e(r,e.meta),s.load(e.history),l.load(e.auth)},
importWorkspaceFromSpecification:e=>{
const{documents:t,overrides:n,info:a,workspace:o,...i}=e
;return _2e(r,i),Promise.all(Object.entries(t??{}).map((([e,t])=>p({url:t.$ref,
name:e,overrides:n?.[e]}))))},rebaseDocument:async n=>{
const{name:s}=n,l=a[s],c=o[s],u=r.documents[s]?hm(HSe(XSe(r.documents[s]))):void 0
;if(!l||!c||!u)return{ok:!1,type:"CORRUPTED_STATE",
message:`Cannot rebase document '${s}': missing original, intermediate, or active document state`
};const p=await G1e("loadDocument",(async()=>await L2e({...n,
fetch:n.fetch??e?.fetch,fileLoader:e?.fileLoader})))
;if(!p.ok||!PSe(p.data))return{ok:!1,type:"FETCH_FAILED",
message:`Failed to fetch document '${s}': request was not successful or returned invalid data`
};const h=H_e(p.raw);if(u["x-scalar-original-document-hash"]===h)return{ok:!1,
type:"NO_CHANGES_DETECTED",
message:`No changes detected for document '${s}': document hash matches the active document`
};const f=p.data;i[s]=n.overrides??{},t[s]={fetch:n.fetch};const m=r2e(l,f)
;if(0===m.length)return{ok:!1,type:"NO_CHANGES_DETECTED",
message:`No changes detected for document '${s}' after fetching the latest version.`
};const g=r2e(l,c),v=c2e(m,g);return{ok:!0,conflicts:v.conflicts,
applyChanges:async e=>{const t=v.diffs.concat(e),r=n2e(M2e(l),t);o[s]=r,a[s]=f
;const i=r2e(c,r),h=r2e(c,u),m=c2e(i,h),g=m.diffs.concat(m.conflicts.flatMap((e=>e[0]))),b=cZe(BQe,n2e(M2e(r),g))
;await d({...n,document:{...b,[BZe.navigation]:void 0},documentSource:B2e(n),
documentHash:H_e(p.raw),initialize:!1})}}}}},U2e={Date:!0,RegExp:!0,String:!0,
Number:!0};function z2e(e,t,n={cyclesFix:!0},r=[]){let a=[]
;const o=Array.isArray(e);for(const s in e){const i=e[s],l=o?+s:s;if(!(s in t)){
a.push({type:"REMOVE",path:[l],oldValue:e[s]});continue}
const c=t[s],u="object"==typeof i&&"object"==typeof c&&Array.isArray(i)===Array.isArray(c)
;!(i&&c&&u)||U2e[Object.getPrototypeOf(i)?.constructor?.name]||n.cyclesFix&&r.includes(i)?i===c||Number.isNaN(i)&&Number.isNaN(c)||u&&(isNaN(i)?i+""==c+"":+i==+c)||a.push({
path:[l],type:"CHANGE",value:c,oldValue:i
}):a.push.apply(a,z2e(i,c,n,n.cyclesFix?r.concat([i]):[]).map((e=>(e.path.unshift(l),
e))))}const i=Array.isArray(t);for(const s in t)s in e||a.push({type:"CREATE",
path:[i?+s:s],value:t[s]});return a}const Z2e=Symbol(),F2e=bm(null)
;function H2e(){const e=ug(Z2e,void 0);return Ty((()=>e??F2e.value??void 0))}
const Q2e=Hg({__name:"AgentScalarButton",setup(e){const t=H2e()
;return(e,n)=>(Fb(),qb("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]||(n[0]=e=>xm(t)?.toggleAgent())
},[ey(xm(u$)),n[1]||(n[1]=ry(" Ask AI ",-1))]))}}),V2e={
class:"app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",
type:"button"},q2e={class:"agent-scalar"},W2e={
class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow"
},X2e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n
},G2e=X2e(Hg({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},
workspaceStore:{},eventBus:{}},setup(e){
const t=H2e(),n=Jg((async()=>Promise.resolve().then((()=>Pst))))
;return(r,a)=>(Fb(),qb(Lb,null,[sg(Jb("div",{
class:Dh(["scalar-app-exit",xm(t)?.showAgent.value?"scalar-app-exit-animation":""]),
onClick:a[0]||(a[0]=e=>xm(t)?.closeAgent())},[Jb("button",V2e,[ey(xm(DP),{
weight:"bold"}),a[1]||(a[1]=Jb("span",{class:"sr-only"
},"Close Client",-1))])],2),[[nO,xm(t)?.showAgent.value]]),sg(Jb("div",q2e,[Jb("div",W2e,[ey(xm(n),{
agentScalarConfiguration:e.agentScalarConfiguration,
prefilledMessage:xm(t)?.prefilledMessage,workspaceStore:e.workspaceStore
},null,8,["agentScalarConfiguration","prefilledMessage","workspaceStore"])])],512),[[nO,xm(t)?.showAgent.value]])],64))
}}),[["__scopeId","data-v-b45a83b1"]]),Y2e={
class:"references-classic-header-container"},K2e={
class:"references-classic-header"},J2e={
class:"references-classic-header-content"}
;const e4e=X2e({},[["render",function(e,t){
return Fb(),qb("div",Y2e,[Jb("div",K2e,[Jb("div",J2e,[Av(e.$slots,"default",{},void 0,!0)]),Av(e.$slots,"dark-mode-toggle",{},void 0,!0)])])
}],["__scopeId","data-v-9198d025"]]),t4e={class:"min-w-0 flex-1 truncate"
},n4e=Hg({__name:"ExamplePicker",props:Bv({examples:{default:()=>({})}},{
modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],
setup(e){
const t=tb(e,"modelValue"),n=Ty((()=>Object.entries(e.examples).map((([e,t])=>({
id:e,label:t?.summary??e}))))),r=Ty({
get:()=>n.value.find((({id:e})=>e===t.value)),set:e=>t.value=e?.id??""})
;return(e,t)=>(Fb(),Wb(xm(Wre),{modelValue:r.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),class:"w-fit min-w-32",
options:n.value,placement:"bottom-start",teleport:""},{
default:ig((()=>[ey(xm(O_),{
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"},{
default:ig((()=>[Jb("div",t4e,Uh(r.value?.label??"Select an example"),1),ey(xm(kA),{
class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
weight:"bold"})])),_:1})])),_:1},8,["modelValue","options"]))}}),r4e=e=>{
if(!e)return()=>null;const t=e.getBoundingClientRect().top;let n=null
;const r=new MutationObserver((r=>{
r.some((e=>"childList"===e.type||"attributes"===e.type&&("style"===e.attributeName||"class"===e.attributeName)))&&(null!==n&&cancelAnimationFrame(n),
n=requestAnimationFrame((()=>{const r=e.getBoundingClientRect().top;if(r!==t){
const 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}),()=>{null!==n&&cancelAnimationFrame(n),r.disconnect()}
},a4e=Hg({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},
method:{}},setup(e){
const t=e,n=Ty((()=>LV(String(t.method||"")))),r=Ty((()=>ZIe(t.method)))
;return(t,a)=>(Fb(),Wb(wv(e.as??"span"),{class:"uppercase",style:Eh({
[e.property||"color"]:n.value.colorVar})},{
default:ig((()=>[Av(t.$slots,"default"),ry(" "+Uh(e.short?n.value.short:r.value),1)])),
_:3},8,["style"]))}}),o4e=["innerHTML"],i4e=["id"],s4e={key:0,
class:"request-card-footer-addon"},l4e={class:"request-header"},c4e=Hg({
__name:"OperationCodeSample",props:Bv({integration:{},clientOptions:{},
selectedClient:{},selectedServer:{default:null},selectedContentType:{},
selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},
path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},
isWebhook:{type:Boolean},globalCookies:{}},{selectedExample:{default:""},
selectedExampleModifiers:{}}),emits:["update:selectedExample"],setup(e){
const t=Ty((()=>{
const t=$Se(e.operation.requestBody)?.content??{},n=e.selectedContentType||Object.keys(t)[0]
;return n?t[n]?.examples??{}:{}})),n=tb(e,"selectedExample");lv((()=>{
n.value||=Object.keys(t.value)[0]??""}))
;const r=Ty((()=>EKe(e.operation))),a=Ty((()=>TKe(r.value,e.clientOptions))),o=bm(IKe(a.value,e.selectedClient))
;mg((()=>e.selectedClient),(e=>{const t=IKe(a.value,e);t&&(o.value=t)}))
;const i=Ty((()=>{if(!e.isWebhook)return null;try{return SKe({
operation:e.operation,method:e.method,path:e.path,example:n.value})}catch(vw){
return console.error("[webhookHar]",vw),null}
})),s=Ty((()=>e.isWebhook?i.value?.postData?.text??"":AKe({
includeDefaultHeaders:"client"===e.integration,clientId:o.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
}))),l=Ty((()=>e.isWebhook?c.value:o.value?.lang)),c=Ty((()=>{
if(!i.value?.postData)return"json";const e=i.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=Ty((()=>CKe(e.securitySchemes))),d=bm(null),p=Ty((()=>(s.value.length??0)>2e4)),h=Qg()
;return(r,i)=>s.value?(Fb(),Wb(xm(x_),{key:0,ref_key:"elem",ref:d,
class:"request-card dark-mode"},{default:ig((()=>[ey(xm(T_),{class:"pr-2.5"
},_v({default:ig((()=>[i[2]||(i[2]=Jb("span",{class:"sr-only"
},"Request Example for",-1)),ey(a4e,{as:"span",class:"request-method",
method:e.method},null,8,["method"]),e.generateLabel?(Fb(),qb("span",{key:0,
innerHTML:e.generateLabel()
},null,8,o4e)):oy("",!0),Av(r.$slots,"header",{},void 0,!0)])),_:2
},[!e.isWebhook&&a.value.length?{name:"actions",fn:ig((()=>[ey(xm(e0),{
class:"max-h-80",modelValue:o.value,options:a.value,placement:"bottom-end",
teleport:"","onUpdate:modelValue":i[0]||(i[0]=t=>(t=>{if(d.value){
const e=r4e(d.value.$el);setTimeout((()=>{e()}),300)}
o.value=t,t&&!t.id.startsWith("custom")&&e.eventBus.emit("workspace:update:selected-client",t.id)
})(t))},{default:ig((()=>[ey(xm(O_),{
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:ig((()=>[ry(Uh(o.value?.title)+" ",1),ey(xm(kA),{
class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
weight:"bold"})])),_:1})])),_:1},8,["modelValue","options"])])),key:"0"
}:void 0]),1024),ey(xm(k_),{class:"request-editor-section custom-scroll p-0"},{
default:ig((()=>[Jb("div",{id:`${xm(h)}-example`,class:"code-snippet"
},[p.value?(Fb(),Wb(xm(Soe),{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"])):(Fb(),Wb(xm(VY),{key:0,
class:"bg-b-2 h-full",content:s.value,hideCredentials:u.value,lang:l.value,
lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,i4e)])),_:1
}),Object.keys(t.value).length>1||r.$slots.footer?(Fb(),Wb(xm(S_),{key:0,
class:"request-card-footer bg-b-3"},{
default:ig((()=>[Object.keys(t.value).length>1?(Fb(),
qb("div",s4e,[Object.keys(t.value).length?(Fb(),Wb(n4e,{key:0,
modelValue:n.value,"onUpdate:modelValue":i[1]||(i[1]=e=>n.value=e),
examples:t.value
},null,8,["modelValue","examples"])):oy("",!0)])):oy("",!0),Av(r.$slots,"footer",{
exampleName:n.value},void 0,!0)])),_:3})):oy("",!0)])),_:3
},512)):e.fallback?(Fb(),Wb(xm(x_),{key:1,class:"request-card dark-mode"},{
default:ig((()=>[ey(xm(k_),{class:"request-card-simple"},{
default:ig((()=>[Jb("div",l4e,[ey(a4e,{as:"span",class:"request-method",
method:e.method
},null,8,["method"]),Av(r.$slots,"header",{},void 0,!0)]),Av(r.$slots,"footer",{
exampleName:n.value},void 0,!0)])),_:3})])),_:3})):oy("",!0)}
}),u4e=Hoe(c4e,[["__scopeId","data-v-cbc307e3"]]),d4e=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],p4e=(e,t=d4e)=>Boolean(e&&t.includes(e)),h4e={
class:"client-libraries-text"},f4e={"aria-hidden":"true",
class:"client-libraries-icon__more"},m4e={key:1,class:"client-libraries-icon",
height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",
xmlns:"http://www.w3.org/2000/svg"},g4e={key:0,
class:"client-libraries-text client-libraries-text-more"},v4e=X2e(Hg({
__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},
featuredClients:{},eventBus:{}},setup(e){
const t=bm(),n=e=>`programming-language-${"js"===e?"javascript":e}`,r=Ty((()=>e.selectedClient?.split("/")[0]))
;return(a,o)=>(Fb(),qb("div",{ref_key:"containerRef",ref:t,
class:"client-libraries-content"
},[(Fb(!0),qb(Lb,null,Sv(e.featuredClients,(t=>(Fb(),Wb(xm(Uk),{key:t.clientKey,
class:Dh(["client-libraries rendered-code-sdks",{
"client-libraries__active":t.id===e.selectedClient}])},{
default:ig((()=>[Jb("div",{class:Dh(`client-libraries-icon__${t.targetKey}`)
},[ey(xm(Pre),{class:"client-libraries-icon",icon:n(t.targetKey)
},null,8,["icon"])],2),Jb("span",h4e,Uh(t.targetTitle),1)])),_:2
},1032,["class"])))),128)),ey(xm(e0),{
modelValue:xm(IKe)(e.clientOptions,e.selectedClient),options:e.clientOptions,
placement:"bottom-end",teleport:"","onUpdate:modelValue":o[0]||(o[0]=n=>(n=>{
if(!t.value)return;const r=r4e(t.value);setTimeout((()=>{r()
}),300),"custom"!==n.clientKey&&e.eventBus.emit("workspace:update:selected-client",n.id)
})(n))},{default:ig((()=>[Jb("button",{
class:Dh(["client-libraries client-libraries__select",{
"client-libraries__active":e.selectedClient&&!xm(p4e)(e.selectedClient)}]),
type:"button"
},[Jb("div",f4e,[e.selectedClient&&!xm(p4e)(e.selectedClient)?(Fb(),qb("div",{
key:0,class:Dh(`client-libraries-icon__${r.value}`)},[r.value?(Fb(),Wb(xm(Pre),{
key:0,class:"client-libraries-icon",icon:n(r.value)
},null,8,["icon"])):oy("",!0)],2)):(Fb(),qb("svg",m4e,[...o[1]||(o[1]=[Jb("g",{
fill:"currentColor","fill-rule":"nonzero"},[Jb("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?(Fb(),
qb("span",g4e," More ")):oy("",!0),o[2]||(o[2]=Jb("span",{class:"sr-only"
},"Select from all clients",-1))],2)])),_:1},8,["modelValue","options"])],512))}
}),[["__scopeId","data-v-6a49c111"]]),b4e={key:0,ref:"wrapper-ref"
},y4e=["id"],O4e={key:1,class:"selected-client card-footer border-t-0 p-0",
role:"tabpanel",tabindex:"1"},w4e=["id"],x4e=Hg({__name:"ClientSelector",props:{
xScalarSdkInstallation:{},clientOptions:{},selectedClient:{default:()=>$Ke},
eventBus:{}},setup(e,{expose:t}){
const n=Qg(),r=Qg(),a=Ty((()=>e.clientOptions.flatMap((t=>t.options.find((t=>t.id===e.selectedClient))??[]))[0])),o=Ty((()=>((e,t=d4e)=>{
const n=new Map;for(const r of e)for(const e of r.options)n.set(e.id,e)
;return t.flatMap((e=>n.get(e)??[]))
})(e.clientOptions))),i=Ty((()=>o.value.findIndex((t=>e.selectedClient===t.id)))),s=qg("wrapper-ref"),l=t=>{
const n=o.value[t]
;n&&s.value&&e.eventBus.emit("workspace:update:selected-client",n.id)
},c=Ty((()=>{
if(!Array.isArray(e.xScalarSdkInstallation)||!e.xScalarSdkInstallation?.length)return
;const t=e.xScalarSdkInstallation.find((t=>{
const n=e.selectedClient?.split("/")[0]?.toLowerCase()
;return t.lang.toLowerCase()===n}));return t||void 0}));return t({
selectedClientOption:a
}),(t,s)=>e.clientOptions.length?(Fb(),qb("div",b4e,[ey(xm(Bk),{manual:"",
selectedIndex:i.value,onChange:l},{default:ig((()=>[Jb("div",{id:xm(n),
class:"client-libraries-heading"}," Client Libraries ",8,y4e),ey(xm(jk),{
"aria-labelledby":xm(n),class:"client-libraries-list"},{
default:ig((()=>[ey(v4e,{clientOptions:e.clientOptions,eventBus:e.eventBus,
featuredClients:o.value,morePanel:xm(r),selectedClient:e.selectedClient
},null,8,["clientOptions","eventBus","featuredClients","morePanel","selectedClient"])])),
_:1},8,["aria-labelledby"]),ey(xm(zk),null,{
default:ig((()=>[c.value?.source||c.value?.description?(Fb(),qb(Lb,{key:0
},[c.value.description?(Fb(),qb("div",{key:0,
class:Dh(["selected-client card-footer -outline-offset-2",c.value.source&&"rounded-b-none"]),
role:"tabpanel",tabindex:"0"},[ey(xm(Gre),{value:c.value.description
},null,8,["value"])],2)):oy("",!0),c.value.source?(Fb(),
qb("div",O4e,[ey(xm(VY),{class:"rounded-b-lg *:first:p-3",
content:c.value.source,copy:"always",lang:"shell"
},null,8,["content"])])):oy("",!0)],64)):xm(p4e)(e.selectedClient)?(Fb(!0),
qb(Lb,{key:1},Sv(o.value,(e=>(Fb(),Wb(xm(Zk),{key:e.id,
class:"selected-client card-footer -outline-offset-2"},{
default:ig((()=>[ry(Uh(e.title),1)])),_:2},1024)))),128)):(Fb(),qb("div",{key:2,
id:xm(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",
tabindex:"0"},Uh(a.value?.title),9,w4e))])),_:1})])),_:1
},8,["selectedIndex"])],512)):oy("",!0)}
}),k4e=X2e(x4e,[["__scopeId","data-v-d7c4ccd7"]]),S4e=X2e(Hg({__name:"Badge",
props:{color:{}},setup(e){const t=Ty((()=>e.color?{
"--badge-background-color":e.color,
"--badge-text-color":`color-mix(in srgb, ${e.color}, black 40%)`}:{}))
;return(e,n)=>(Fb(),qb("div",{class:"badge",style:Eh(t.value)
},[Av(e.$slots,"default",{},void 0,!0)],4))}
}),[["__scopeId","data-v-3dedb7e4"]]),_4e=X2e(Hg({__name:"DownloadLink",props:{
documentDownloadType:{},eventBus:{}},setup(e){const t=t=>{
e.eventBus.emit("ui:download:document",{format:t})}
;return(n,r)=>["yaml","json","both","direct"].includes(e.documentDownloadType)?(Fb(),
qb("div",{key:0,class:Dh(["download-container group",{
"download-both":"both"===e.documentDownloadType}])
},["json"===e.documentDownloadType||"both"===e.documentDownloadType||"direct"===e.documentDownloadType?(Fb(),
qb("button",{key:0,class:"download-button",type:"button",
onClick:r[0]||(r[0]=zO((()=>t("direct"===e.documentDownloadType?"direct":"json")),["prevent"]))
},[r[3]||(r[3]=Jb("span",null," Download OpenAPI Document ",-1)),ey(S4e,{
class:"extension hidden group-hover:flex"},{
default:ig((()=>[...r[2]||(r[2]=[ry("json",-1)])])),_:1
})])):oy("",!0),"yaml"===e.documentDownloadType||"both"===e.documentDownloadType?(Fb(),
qb("button",{key:1,class:"download-button",type:"button",
onClick:r[1]||(r[1]=zO((()=>t("yaml")),["prevent"]))
},[r[5]||(r[5]=Jb("span",null," Download OpenAPI Document ",-1)),ey(S4e,{
class:"extension hidden group-hover:flex"},{
default:ig((()=>[...r[4]||(r[4]=[ry("yaml",-1)])])),_:1
})])):oy("",!0)],2)):oy("",!0)}
}),[["__scopeId","data-v-59b5011b"]]),A4e=X2e(Hg({__name:"IntroductionCard",
props:{row:{type:Boolean}},setup:e=>(t,n)=>(Fb(),qb("div",{
class:Dh(["introduction-card",{"introduction-card-row":e.row}])
},[Av(t.$slots,"default",{},void 0,!0)],2))
}),[["__scopeId","data-v-5764c94a"]]),T4e=(e,t)=>{const n=e=>{
const t=e.offsetHeight;return`${t/2}px 0px ${t/2}px 0px`};cv((()=>{if(e.value){
const a={rootMargin:n(e.value),
threshold:(r=e.value,r.offsetHeight<window.innerHeight?.8:.5)}
;!function(e,t,n={}){
const{root:r,rootMargin:a="0px",threshold:o=0,window:i=fY,immediate:s=!0}=n,l=xY((()=>i&&"IntersectionObserver"in i)),c=Ty((()=>pY(km(e)).map(vY).filter(tY)))
;let u=aY;const d=ym(s),p=l.value?mg((()=>[c.value,vY(r),d.value]),(([e,n])=>{
if(u(),!d.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{
root:vY(n),rootMargin:a,threshold:o});e.forEach((e=>e&&r.observe(e))),u=()=>{
r.disconnect(),u=aY}}),{immediate:s,flush:"post"}):aY,h=()=>{u(),p(),d.value=!1}
;YG(h)}(e,(([e])=>{e?.isIntersecting&&t()}),a)}var r}))},E4e=X2e(Hg({
__name:"Section",emits:["intersecting"],setup(e,{emit:t}){
const n=t,r=qg("section")
;return T4e(r,(()=>n("intersecting"))),(e,t)=>(Fb(),qb("section",{
ref_key:"section",ref:r,class:"section"
},[Av(e.$slots,"default",{},void 0,!0)],512))}
}),[["__scopeId","data-v-be4443e9"]]),C4e={
class:"section-accordion-button-content"},$4e={key:0,
class:"section-accordion-button-actions"},P4e={key:0,
class:"section-accordion-description"},I4e={
class:"section-accordion-content-card"},D4e=X2e(Hg({__name:"SectionAccordion",
props:{transparent:{type:Boolean},modelValue:{type:Boolean}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=t,r=bm(),a=function(e,t={}){
const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:a=!1,window:o=fY}=t,i=ym(!1)
;let s;const l=e=>{const t=e?n:r
;s&&(clearTimeout(s),s=void 0),t?s=setTimeout((()=>i.value=e),t):i.value=e}
;return o?(bY(e,"mouseenter",(()=>l(!0)),{passive:!0
}),bY(e,"mouseleave",(()=>l(!1)),{passive:!0
}),a&&kY(Ty((()=>vY(e))),(()=>l(!1))),i):i}(r);return(t,o)=>(Fb(),Wb(xm(Gx),{
as:"section",class:Dh(["section-accordion",{
"section-accordion-transparent":e.transparent}])},{default:ig((()=>[ey(xm(Yx),{
ref_key:"button",ref:r,class:"section-accordion-button",
onClick:o[0]||(o[0]=()=>n("update:modelValue",!e.modelValue))},{
default:ig((()=>[Jb("div",C4e,[Av(t.$slots,"title",{},void 0,!0)]),t.$slots.actions?(Fb(),
qb("div",$4e,[Av(t.$slots,"actions",{active:xm(a)||e.modelValue
},void 0,!0)])):oy("",!0),ey(xm($A),{
class:Dh(["section-accordion-chevron size-4.5 transition-transform",{
"rotate-90":e.modelValue}])},null,8,["class"])])),_:3
},512),e.modelValue?(Fb(),Wb(xm(Kx),{key:0,class:"section-accordion-content",
static:""},{
default:ig((()=>[t.$slots.description?(Fb(),qb("div",P4e,[Av(t.$slots,"description",{},void 0,!0)])):oy("",!0),Jb("div",I4e,[Av(t.$slots,"default",{},void 0,!0)])])),
_:3})):oy("",!0)])),_:3},8,["class"]))}
}),[["__scopeId","data-v-ff689b94"]]),M4e={class:"section-column"}
;const N4e=X2e({},[["render",function(e,t){
return Fb(),qb("div",M4e,[Av(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-699c28e3"]]),R4e={class:"section-columns"}
;const L4e=X2e({},[["render",function(e,t){
return Fb(),qb("div",R4e,[Av(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-8b9602bf"]]),B4e={key:1,class:"section-container"
},j4e=X2e(Hg({__name:"SectionContainer",props:{omit:{type:Boolean}},
setup:e=>(t,n)=>e.omit?Av(t.$slots,"default",{key:0
},void 0,!0):(Fb(),qb("div",B4e,[Av(t.$slots,"default",{},void 0,!0)]))
}),[["__scopeId","data-v-20a1472a"]]),U4e={class:"section-accordion-wrapper"
},z4e={class:"section-accordion-title"},Z4e=X2e(Hg({
__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup(e,{emit:t}){const n=t
;return(t,r)=>(Fb(),qb("section",U4e,[ey(xm(Gx),{as:"div",
class:"section-accordion"},{default:ig((()=>[ey(xm(Yx),{
class:"section-accordion-button",
onClick:r[0]||(r[0]=t=>n("update:modelValue",!e.modelValue))},{
default:ig((()=>[ey(xm($A),{
class:Dh(["section-accordion-chevron size-5 transition-transform",{
"rotate-90":e.modelValue}])
},null,8,["class"]),Jb("div",z4e,[Av(t.$slots,"title",{},void 0,!0)])])),_:3
}),e.modelValue?(Fb(),Wb(xm(Kx),{key:0,class:"section-accordion-content",
static:""},{default:ig((()=>[Av(t.$slots,"default",{},void 0,!0)])),_:3
})):oy("",!0)])),_:3})]))}}),[["__scopeId","data-v-9419dd23"]]),F4e=X2e(Hg({
__name:"LoadingSkeleton",props:{lines:{default:1}},
setup:e=>(t,n)=>(Fb(!0),qb(Lb,null,Sv([...Array(e.lines).keys()],(t=>(Fb(),
qb("div",{key:t,class:Dh(["loading",{"single-line":1===e.lines}])
},null,2)))),128))}),[["__scopeId","data-v-8e0226d7"]]),H4e={
class:"section-content"},Q4e=X2e(Hg({__name:"SectionContent",props:{loading:{
type:Boolean,default:!1}},
setup:e=>(t,n)=>(Fb(),qb("div",H4e,[e.loading?(Fb(),Wb(F4e,{key:1,lines:8
})):Av(t.$slots,"default",{key:0},void 0,!0)]))
}),[["__scopeId","data-v-9735459e"]]),V4e={
class:"section-header-wrapper xl:gap-12"},q4e=X2e(Hg({__name:"SectionHeader",
props:{loading:{type:Boolean},tight:{type:Boolean}},
setup:e=>(t,n)=>(Fb(),qb("div",V4e,[e.loading?(Fb(),Wb(F4e,{key:0
})):(Fb(),qb("div",{key:1,class:Dh(["section-header",{tight:e.tight}])
},[Av(t.$slots,"default",{},void 0,!0)],2)),t.$slots.links?Av(t.$slots,"links",{
key:2},void 0,!0):oy("",!0)]))}),[["__scopeId","data-v-465a7a78"]]),W4e=X2e(Hg({
__name:"SectionHeaderTag",props:{level:{default:1}},
setup:e=>(t,n)=>(Fb(),Wb(wv(`h${e.level}`),{class:"section-header-label"},{
default:ig((()=>[Av(t.$slots,"default",{},void 0,!0)])),_:3}))
}),[["__scopeId","data-v-f1ac6c38"]]),X4e={key:0,class:"screenreader-only"
},G4e=X2e(Hg({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},
setup:e=>(e,t)=>e.$props.if?(Fb(),
qb("span",X4e,[Av(e.$slots,"default",{},void 0,!0)])):Av(e.$slots,"default",{
key:1},void 0,!0)}),[["__scopeId","data-v-df2e1026"]]),Y4e=["id"],K4e={
class:"relative"},J4e=Hg({__name:"Anchor",emits:["copyAnchorUrl"],
setup(e,{emit:t}){const n=t,r=Qg(),{cx:a}=h_()
;return(e,t)=>(Fb(),qb("span",Mh(ty(xm(a)("group/heading word-break-all relative"))),[Jb("span",{
id:xm(r),class:"contents"
},[Av(e.$slots,"default")],8,Y4e),Jb("span",K4e,[t[2]||(t[2]=Jb("span",null,"",-1)),ey(xm(O_),{
"aria-describedby":xm(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]||(t[0]=zO((()=>n("copyAnchorUrl")),["stop"]))},{
default:ig((()=>[ey(xm(ME),{"aria-hidden":"true",class:"size-4.5"
}),ey(G4e,null,{default:ig((()=>[...t[1]||(t[1]=[ry("Copy link",-1)])])),_:1
})])),_:1},8,["aria-describedby"])])],16))}}),e8e=["id"],t8e={class:"sr-only"
},n8e=Hg({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},
setup:e=>(t,n)=>e.breadcrumb&&e.breadcrumb.length>0?(Fb(),qb("div",{key:0,
id:e.breadcrumb.join("."),class:"relative scroll-mt-24"
},[Av(t.$slots,"default"),Jb("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]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{
id:e.breadcrumb.join(".")}))},[ey(xm(tC),{class:"size-3",weight:"bold"
}),Jb("span",t8e,[Av(t.$slots,"sr-label",{},(()=>[n[1]||(n[1]=ry("Copy link to ",-1)),Av(t.$slots,"default")]))])])],8,e8e)):Av(t.$slots,"default",{
key:1})
}),r8e=["aria-label"],a8e=["id","aria-controls","aria-expanded"],o8e=X2e(Hg({
__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},
emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){const n=t
;return(t,r)=>(Fb(),qb("section",{"aria-label":e.label,
class:"collapsible-section"},[Jb("button",{id:e.id,"aria-controls":e.id,
"aria-expanded":e.modelValue,class:Dh(["collapsible-section-trigger",{
"collapsible-section-trigger-open":e.modelValue}]),type:"button",
onClick:r[1]||(r[1]=t=>n("update:modelValue",!e.modelValue))},[ey(xm($A),{
class:Dh(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue
}]),weight:"bold"},null,8,["class"]),ey(xm(J4e),{
class:"collapsible-section-header",
onCopyAnchorUrl:r[0]||(r[0]=()=>n("copyAnchorUrl"))},{
default:ig((()=>[Av(t.$slots,"heading",{},void 0,!0)])),_:3
})],10,a8e),e.modelValue?(Fb(),Wb(E4e,{key:0,
class:"collapsible-section-content",label:e.label},{
default:ig((()=>[Av(t.$slots,"default",{},void 0,!0)])),_:3
},8,["label"])):oy("",!0)],8,r8e))}
}),[["__scopeId","data-v-999a158a"]]),i8e=e=>e?Object.fromEntries(Object.entries(e).filter((([e])=>e.startsWith("x-")))):{},s8e=({plugins:e=[]})=>{
const t=new Map;return e.forEach((e=>{const n=e();t.set(n.name,n)})),{
getSpecificationExtensions:e=>{const n=[]
;for(const r of t.values())for(const t of r.extensions)t.name===e&&n.push(t)
;return n},getViewComponents:e=>{const n=[];for(const r of t.values()){
const t=r.views?.[e];t&&n.push(...t)}return n}}},l8e=Symbol(),c8e=()=>{
const e=ug(l8e);return e||s8e({})},u8e={key:0,class:"text-base"},d8e=Hg({
__name:"SpecificationExtension",props:{value:{}},setup(e){
const{getSpecificationExtensions:t}=c8e();const n=Ty((()=>{
return t=e.value,Object.keys(t??{}).filter((e=>e.startsWith("x-")));var t
})),r=Ty((()=>n.value.flatMap((e=>t(e))).filter((e=>e.component))))
;return(t,n)=>"object"==typeof e.value&&r.value.length?(Fb(),
qb("div",u8e,[(Fb(!0),qb(Lb,null,Sv(r.value,(t=>(Fb(),Wb(xm(K2),null,{
default:ig((()=>[t.renderer?(Fb(),Wb(wv(t.renderer),cy({key:0,ref_for:!0},{
[t.name]:e.value?.[t.name],component:t.component
}),null,16)):(Fb(),Wb(wv(t.component),cy({key:1,ref_for:!0},{
[t.name]:e.value?.[t.name]}),null,16))])),_:2},1024)))),256))])):oy("",!0)}
}),p8e=Hg({__name:"InfoMarkdownSection",props:{id:{},content:{},
transformHeading:{type:Function},eventBus:{}},setup(e){const t=qg("element")
;return T4e(t,(()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id
}):void 0)),(n,r)=>(Fb(),qb("div",{ref_key:"element",ref:t,
class:"introduction-description-heading scroll-mt-16"},[ey(xm(Gre),{
transform:e.transformHeading,transformType:"heading",value:e.content,
withImages:""},null,8,["transform","value"])],512))}}),h8e={key:0,
class:"introduction-description mt-6 flex flex-col"},f8e=X2e(Hg({
__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function
},description:{}},setup(e){const t=Ty((()=>{if(!e.description)return[]
;const t=new UAe;return CV(e.description).map((n=>{const r=TV(n)[0];return{
id:r?e.headingSlugGenerator({...r,slug:t.slug(r.value)}):void 0,content:n}}))
})),n=t=>{const n=new UAe;return t.data={hProperties:{
id:e.headingSlugGenerator({depth:t.depth,value:t.children[0].value,
slug:n.slug(t.children[0].value)})}},t}
;return(r,a)=>e.description?(Fb(),qb("div",h8e,[(Fb(!0),
qb(Lb,null,Sv(t.value,(t=>(Fb(),Wb(p8e,{id:t.id,key:t.id,content:t.content,
eventBus:e.eventBus,transformHeading:n
},null,8,["id","content","eventBus"])))),128))])):oy("",!0)}
}),[["__scopeId","data-v-fe80002d"]]),m8e=X2e(Hg({__name:"LinkList",setup(e){
const t=bm(),n=bm(!1),r=()=>{if(!t.value)return
;const{scrollWidth:e,clientWidth:r}=t.value;n.value=e>r};let a=null
;return cv((()=>{
r(),window.addEventListener("resize",r),t.value&&(a=new MutationObserver((()=>{
r()})),a.observe(t.value,{childList:!0,subtree:!0}))})),hv((()=>{
window.removeEventListener("resize",r),a&&(a.disconnect(),a=null)
})),(e,r)=>(Fb(),qb("div",{ref_key:"containerRef",ref:t,class:Dh([{
"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"])
},[Av(e.$slots,"default",{},void 0,!0)],2))}
}),[["__scopeId","data-v-b59b0acf"]]),g8e={key:0,
class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
},v8e=["href"],b8e={key:0,class:"ml-1 empty:hidden"},y8e={key:1,
class:"ml-1 empty:hidden"},O8e=Hg({__name:"ExternalDocs",props:{value:{}},
setup:e=>(t,n)=>e.value?(Fb(),qb("div",g8e,[Jb("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"},[ey(xm(nA),{weight:"bold",
class:"size-3 text-current"
}),e.value.description?(Fb(),qb("span",b8e,Uh(e.value.description),1)):(Fb(),
qb("span",y8e,Uh(e.value.url),1))],8,v8e)])):oy("",!0)}),w8e={key:0,
class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
},x8e=["href"],k8e={class:"ml-1 empty:hidden"},S8e=Hg({__name:"Contact",props:{
value:{}},setup(e){const t=d_({
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?(Fb(),
qb("div",w8e,[e.value?.email?(Fb(),qb("a",{key:0,class:Dh(xm(t)({link:!0})),
href:`mailto:${e.value?.email}`},[ey(xm(aT),{weight:"bold",
class:"size-3 text-current"
}),Jb("span",k8e,Uh(e.value.name),1)],10,x8e)):e.value?.name?(Fb(),qb("span",{
key:1,class:Dh(xm(t)({link:!1}))},Uh(e.value.name),3)):oy("",!0)])):oy("",!0)}
}),_8e={
class:"group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto"
},A8e=["href"],T8e={class:"ml-1 empty:hidden"},E8e={class:"ml-1 empty:hidden"
},C8e=Hg({__name:"License",props:{value:{}},
setup:e=>(t,n)=>(Fb(),qb("div",_8e,[e.value?.url?(Fb(),qb("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"},[ey(xm(VT),{
weight:"bold",class:"size-3 text-current"
}),Jb("span",T8e,Uh(e.value?.name||e.value.identifier||e.value.url),1)],8,A8e)):(Fb(),
qb(Lb,{key:1},[ey(xm(VT),{weight:"bold",class:"size-3 text-current"
}),Jb("span",E8e,Uh(e.value?.name),1)],64))]))}),$8e={key:0,
class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"
},P8e=["href"],I8e=Hg({__name:"TermsOfService",props:{value:{}},
setup:e=>(t,n)=>e.value?(Fb(),qb("div",$8e,[Jb("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"},[ey(xm(r$),{
weight:"bold",class:"size-3 text-current"}),n[0]||(n[0]=Jb("span",{
class:"ml-1 empty:hidden"},"Terms of Service",-1))],8,P8e)])):oy("",!0)
}),D8e=Hg({__name:"InfoLinks",props:{info:{},externalDocs:{}},
setup:e=>(t,n)=>(Fb(),Wb(xm(m8e),null,{default:ig((()=>[ey(xm(O8e),{
value:e.externalDocs},null,8,["value"]),e.info.contact?(Fb(),Wb(xm(S8e),{key:0,
value:e.info.contact
},null,8,["value"])):oy("",!0),e.info.license?(Fb(),Wb(xm(C8e),{key:1,
value:e.info.license
},null,8,["value"])):oy("",!0),e.info.termsOfService?(Fb(),Wb(xm(I8e),{key:2,
value:e.info.termsOfService},null,8,["value"])):oy("",!0)])),_:1}))}),M8e=Hg({
__name:"InfoVersion",props:{version:{}},setup(e){const t=Ty((()=>{
if(null==e.version)return e.version;const t=String(e.version)
;return/^\d/.test(t)?`v${t}`:t}));return(e,n)=>t.value?(Fb(),Wb(xm(S4e),{key:0
},{default:ig((()=>[ry(Uh(t.value),1)])),_:1})):oy("",!0)}}),N8e=Hg({
__name:"OpenApiVersion",props:{oasVersion:{}},
setup:e=>(t,n)=>e.oasVersion?(Fb(),Wb(xm(S4e),{key:0},{
default:ig((()=>[ry("OAS "+Uh(e.oasVersion),1)])),_:1})):oy("",!0)}),R8e={
class:"flex gap-1.5"},L8e={class:"sticky-cards"},B8e=X2e(Hg({
__name:"IntroductionLayout",props:{id:{},oasVersion:{},info:{},externalDocs:{},
documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},
eventBus:{}},setup:e=>(t,n)=>(Fb(),Wb(xm(j4e),null,{
default:ig((()=>[ey(xm(E4e),{id:e.id,"aria-label":"Introduction",
class:"introduction-section z-1 gap-12",
onIntersecting:n[0]||(n[0]=()=>e.id&&e.eventBus?.emit("intersecting:nav-item",{
id:e.id}))},{default:ig((()=>[ey(xm(Q4e),{loading:!e.info},{
default:ig((()=>[Jb("div",R8e,[e.info?(Fb(),Wb(M8e,{key:0,
version:e.info?.version},null,8,["version"])):oy("",!0),ey(N8e,{
oasVersion:e.oasVersion},null,8,["oasVersion"])]),ey(xm(q4e),{
loading:!e.info?.title,tight:""},{links:ig((()=>[e.info?(Fb(),Wb(D8e,{key:0,
externalDocs:e.externalDocs,info:e.info
},null,8,["externalDocs","info"])):oy("",!0)])),default:ig((()=>[ey(xm(W4e),{
level:1},{default:ig((()=>[ry(Uh(e.info?.title),1)])),_:1})])),_:1
},8,["loading"]),ey(xm(L4e),null,{default:ig((()=>[ey(xm(N4e),null,{
default:ig((()=>[Av(t.$slots,"download-link",{},void 0,!0),ey(f8e,{
description:e.info?.description,eventBus:e.eventBus,
headingSlugGenerator:e.headingSlugGenerator
},null,8,["description","eventBus","headingSlugGenerator"])])),_:3
}),t.$slots.aside?(Fb(),Wb(xm(N4e),{key:0},{
default:ig((()=>[Jb("div",L8e,[Av(t.$slots,"aside",{},void 0,!0)])])),_:3
})):oy("",!0)])),_:3}),ey(xm(d8e),{value:e.documentExtensions
},null,8,["value"]),ey(xm(d8e),{value:e.infoExtensions},null,8,["value"])])),_:3
},8,["loading"]),Av(t.$slots,"after",{},void 0,!0)])),_:3},8,["id"])])),_:3}))
}),[["__scopeId","data-v-0b1e2255"]]),j8e=Hg({__name:"InfoBlock",props:{id:{},
oasVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},
eventBus:{},headingSlugGenerator:{type:Function},layout:{},
documentDownloadType:{default:"both"}},setup(e){
const t=Ty((()=>"classic"===e.layout?"after":"aside"))
;return(n,r)=>(Fb(),Wb(B8e,{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]:ig((()=>[ey(A4e,{row:"classic"===e.layout},{
default:ig((()=>[Av(n.$slots,"selectors")])),_:3},8,["row"])])),
"download-link":ig((()=>[ey(_4e,{documentDownloadType:e.documentDownloadType,
eventBus:e.eventBus},null,8,["documentDownloadType","eventBus"])])),_:2
},1032,["id","documentExtensions","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","oasVersion"]))
}}),U8e={class:"introduction-card-item"}
;const z8e=X2e({},[["render",function(e,t){
return Fb(),qb("div",U8e,[Av(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-dfab866f"]]),Z8e={class:"overflow-x-auto"},F8e={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"
},H8e={class:"overflow-x-auto"},Q8e=Hg({__name:"Selector",props:{
selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],
setup(e,{expose:t,emit:n}){const r=n,a=Ty((()=>e.servers.map((e=>({id:e.url,
label:e.url
}))))),o=Ty((()=>e.selectedServer?.url?.replace(/\/$/,"")||"")),i=Ty((()=>a.value.find((t=>t.id===e.selectedServer?.url))))
;return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:a,
selectedServer:e.selectedServer}),(t,n)=>a.value.length>1?(Fb(),Wb(xm(Wre),{
key:0,ref:"elem",class:"group",modelValue:i.value,options:a.value,
placement:"bottom-start",resize:"",target:e.target,
"onUpdate:modelValue":n[0]||(n[0]=e=>r("update:modelValue",e.id))},{
default:ig((()=>[ey(xm(O_),{
class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
variant:"ghost"},{default:ig((()=>[n[1]||(n[1]=Jb("span",{class:"sr-only"
},"Server:",-1)),Jb("span",Z8e,Uh(o.value||"Select a server"),1),ey(xm(kA),{
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"])):(Fb(),qb("div",F8e,[n[2]||(n[2]=Jb("span",{
class:"sr-only"},"Server:",-1)),Jb("span",H8e,Uh(o.value),1)]))}
}),V8e=["id"],q8e=Hg({__name:"ServerSelector",props:{eventBus:{},
selectedServer:{},servers:{}},setup(e){const t=Qg(),n=t=>{
e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t})
},r=(t,n)=>{const r=e.servers.findIndex((t=>t.url===e.selectedServer?.url))
;-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:n})}
;return(a,o)=>(Fb(),qb(Lb,null,[o[0]||(o[0]=Jb("label",{
class:"bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium"
}," Server ",-1)),Jb("div",{id:xm(t),class:Dh(["border",{
"rounded-b-lg":!e.selectedServer?.description&&!e.selectedServer?.variables}])
},[e.servers.length?(Fb(),Wb(Q8e,{key:0,selectedServer:e.selectedServer,
servers:e.servers,target:xm(t),"onUpdate:modelValue":n
},null,8,["selectedServer","servers","target"])):oy("",!0)],10,V8e),ey(xm(DAe),{
layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r
},null,8,["variables"]),e.selectedServer?.description?(Fb(),Wb(xm(Gre),{key:0,
class:"text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
value:e.selectedServer.description},null,8,["value"])):oy("",!0)],64))}
}),W8e=e=>e&&"oauth2"===e.type?e["x-default-scopes"]??[]:[],X8e=(e,t,n)=>{
const r=$Se(n[t]);e[t]=W8e(r)},G8e=(e,t,n)=>{if(t)return((e,t)=>{
if(!Array.isArray(e)){const n=$Se(t[e]);return{[e]:W8e(n)}}const n={}
;for(const r of e)if(Array.isArray(r))for(const e of r)X8e(n,e,t);else X8e(n,r,t)
;return n})(t,n);const r=e[0];return r?TAe(r,{depth:1}):null},Y8e=Hg({
__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},
securitySchemes:{},selectedServer:{},environment:{}},setup(e){
const t=Ty((()=>yYe(e.document?.security))),n=Ty((()=>e.authStore.getAuthSelectedSchemas({
type:"document",documentName:e.document?.["x-scalar-navigation"]?.name??""
}))),r=Ty((()=>wYe(n.value,void 0,t.value)));return mg(n,(n=>{
if(void 0!==n)return
;const r=G8e(t.value,e.options.authentication?.preferredSecurityScheme,e.securitySchemes)
;r&&e.eventBus.emit("auth:update:selected-security-schemes",{
selectedRequirements:[r],newSchemes:[],meta:{type:"document"}})}),{immediate:!0
}),(n,a)=>Object.keys(e.securitySchemes).length?(Fb(),Wb(xm(ZJe),{key:0,
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,["environment","eventBus","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server"])):oy("",!0)
}}),K8e=e=>{if(null===e||"object"!=typeof e||Array.isArray(e))return!1
;if("oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;const t="type"in e
;if(t&&Array.isArray(e.type))return e.type.includes("object")
;const n=t&&"object"===e.type;if(n)return!0;if(t&&!n)return!1
;return"properties"in e||"additionalProperties"in e||"patternProperties"in e
},J8e=e=>{if(!K8e(e))return!1
;const t=0===Object.keys(e.properties??{}).length,n=void 0===e.additionalProperties||!1===e.additionalProperties,r=0===Object.keys(e.patternProperties??{}).length
;return t&&n&&r},e6e={key:0,class:"schema-type"},t6e=["title"],n6e=X2e(Hg({
__name:"SchemaHeading",props:{value:{},name:{}},setup(e){
const t=Ty((()=>"type"in e.value?e.value.type:e.value.enum?"enum":bZe(e.value)&&e.value.items?"array":K8e(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown"))
;return(n,r)=>"object"==typeof e.value?(Fb(),qb("span",e6e,[Jb("span",{
class:"schema-type-icon",
title:"type"in e.value&&"string"==typeof e.value.type?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):"unknown type"
},[xm(K8e)(e.value)?(Fb(),qb(Lb,{key:0
},[ry(" {} ")],64)):oy("",!0),xm(bZe)(e.value)?(Fb(),qb(Lb,{key:1
},[ry(" [] ")],64)):oy("",!0),e.value.enum?(Fb(),qb(Lb,{key:2
},[ry(" enum ")],64)):oy("",!0)],8,t6e),e.name?(Fb(),Wb(xm(Aoe),{key:0,
text:e.name,preset:"property"},null,8,["text"])):(Fb(),qb(Lb,{key:1
},[ry(Uh(t.value),1)],64))])):oy("",!0)}
}),[["__scopeId","data-v-70cb5c13"]]),r6e=(e,t)=>e.reduce(((e,n)=>{
const r=t?.[n];return r&&(e[n]=r),e
}),{}),a6e=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:a="alpha",orderRequiredPropertiesFirst:o=!0}={})=>{
if(!K8e(e)||!e.properties)return[]
;const i=Object.keys(e.properties),s=new Set(e.required||[])
;return i.sort(((e,n)=>{
const r=e===t?.propertyName,i=n===t?.propertyName,l=s.has(e),c=s.has(n)
;if(r&&!i)return-1;if(!r&&i)return 1;if(o){if(l&&!c)return-1;if(!l&&c)return 1}
return"alpha"===a?e.localeCompare(n):0})).filter((t=>{
const a=e.properties&&SVe.schema(e.properties[t])
;return(!n||!0!==a?.readOnly)&&(!r||!0!==a?.writeOnly)}))
},o6e=["oneOf","anyOf","allOf","not"],i6e=["allOf","oneOf","anyOf"],s6e=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):"object"===e.type:"properties"in e,l6e=e=>"$ref"in e||"discriminator"in e||i6e.some((t=>t in e)),c6e=e=>{
if(!e||!bZe(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0
;const t=$Se(e.items);return!!t&&(!!l6e(t)||(!!s6e(t)||(e=>{
if(!bZe(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0
;const t=$Se(e.items);return!!t&&(s6e(t)||l6e(t)||bZe(t))})(t)))
},u6e=e=>e?o6e.map((t=>{if(((e,t)=>{if(!e||!bZe(e))return!1;const n=e.items
;return!(!n||"object"!=typeof n||!(t in n)||c6e(e))
})(e,t)&&bZe(e)&&e.items)return{composition:t,value:SVe.schema(e.items)}
;if(e[t]){if(!(bZe(e)&&e.items&&"object"==typeof e.items&&t in e.items))return{
composition:t,value:SVe.schema(e)}}return null})).filter($V):[],d6e={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"}};const p6e=e=>{if(!e)return null
;const t=e.match(FV.REF_NAME);return t?t[1]:null},h6e=(e,t=!1)=>{
if(!e.items)return t?"array":e.title||e.xml?.name||"array"
;const n=(e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array")(f6e(SVe.schema(e.items)))
;return t?n:e.nullable?`${n} | null`:n},f6e=e=>{if(!e)return""
;const t=SVe.schema(e);if(void 0!==t.const)return"const"
;if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){
const e=h6e(t,!0),n=t.type.filter((e=>"array"!==e))
;return n.length>0?`${e} | ${n.join(" | ")}`:e}return t.type.join(" | ")}
if(bZe(t))return h6e(t,!1);if(t.title)return t.title
;if(t.xml?.name)return t.xml.name
;if("type"in t&&t.type&&t.contentEncoding)return`${t.type} • ${t.contentEncoding}`
;if("$ref"in e){const t=p6e(e.$ref);if(t)return t}return"type"in t?t.type:""
},m6e=(e,t)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{}
;const n={},{allOf:r,...a}=e;for(const o of e.allOf){
if(!o||"object"!=typeof o)continue;const e=SVe.schema(o);if(e.allOf){
const t=m6e(e);g6e(n,t)}else g6e(n,e)}
if(Object.keys(a).length>0&&g6e(n,a,!0),t&&"object"==typeof t)if(t.allOf){
const e=m6e(t);g6e(n,e,!0)}else g6e(n,t,!0);return n},g6e=(e,t,n=!1)=>{
const r=ZV(t);if(0!==r.length)for(const a of r){const r=$Se(t[a])
;if(void 0!==r)if("required"===a)Array.isArray(r)&&r.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...r])]:e.required=r.slice());else if("properties"===a)r&&"object"==typeof r&&(e.properties||(e.properties={}),
v6e(e.properties,r));else if("items"===a){const n=SVe.schema(r)
;if(n)if(bZe(t))if(e.items||(e.items={}),n.allOf){const t=m6e(n)
;Object.assign(e.items,t)}else b6e($Se(e.items),n);else if(n.allOf){
const t=m6e(n)
;"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&v6e(e.properties,t.properties))
}else"items"in e||(e.items=n)
}else if("enum"===a)Array.isArray(r)&&r.length>0&&(e.enum=[...new Set([...e.enum||[],...r])]);else if("oneOf"===a||"anyOf"===a){
if(Array.isArray(r)){"properties"in e||(e.properties={});for(const t of r){
const n=SVe.schema(t)
;n&&"properties"in n&&"properties"in e&&v6e(e.properties,n.properties)}}}else{
if("allOf"===a)continue;(n||void 0===e[a])&&(e[a]=r)}}},v6e=(e,t)=>{
const n=Object.keys(t??{});if(t&&e&&0!==n.length)for(const r of n){
const n=SVe.schema(t[r]);if(!n){delete e[r];continue}if("object"!=typeof n){
e[r]=n;continue}if(!e[r]){
n.allOf?e[r]=m6e(n):bZe(n)&&SVe.schema(n.items)?.allOf?e[r]={...n,
items:m6e(SVe.schema(n.items))}:t[r]&&(e[r]=t[r]);continue}
const a=SVe.schema(e[r]);if(n.allOf)e[r]=m6e({allOf:[a,...n.allOf]
});else if(bZe(n)&&bZe(a)&&n.items){const t=SVe.schema(a.items);e[r]={...a,
type:"array",items:t?y6e(t,SVe.schema(n.items)):SVe.schema(n.items)}
}else if("properties"in a&&"properties"in n){const t={...a,...n};t.properties={
...a.properties},v6e(t.properties,n.properties),e[r]=t}else e[r]={...n,...a}}
},b6e=(e,t)=>{if(t.allOf||e.allOf){const n=[]
;if(e.allOf)for(const t of e.allOf)n.push(SVe.schema(t));else n.push(e)
;if(t.allOf)for(const e of t.allOf)n.push(SVe.schema(e));else n.push(t)
;const r=m6e({allOf:n});Object.assign(e,r)
}else Object.assign(e,t),"properties"in e&&"properties"in t&&v6e(e.properties,t.properties)
},y6e=(e,t)=>{if(e.allOf||t.allOf){const n=[]
;if(e.allOf)for(const t of e.allOf)n.push(SVe.schema(t));else n.push(e)
;if(t.allOf)for(const e of t.allOf)n.push(SVe.schema(e));else n.push(t)
;return m6e({allOf:n})}const n={...e,...t}
;return"properties"in e&&"properties"in t&&(n.properties={...e.properties
},v6e(n.properties,t.properties)),n},O6e={class:"property-rule"},w6e={
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"},x6e={class:"text-c-2"},k6e={key:0,class:"text-red"},S6e={
class:"composition-panel"},_6e=Hg({__name:"SchemaComposition",props:{
composition:{},discriminator:{},name:{},schema:{},level:{},compact:{
type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},breadcrumb:{},
eventBus:{},options:{}},setup(e){
const t=e,n=Ty((()=>[t.schema[t.composition]].flat().map((e=>({
value:SVe.schema(e),original:e
}))).filter((e=>$V(e.value))))),r=Ty((()=>n.value.map(((e,t)=>({id:String(t),
label:f6e(SVe.schema(e.original))||"Schema"
}))))),a=bm(r.value[0]),o=Ty((()=>n.value[Number(a.value?.id??"0")]?.value))
;return(n,i)=>(Fb(),qb("div",O6e,["allOf"===t.composition?(Fb(),Wb(g3e,{key:0,
breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,
eventBus:e.eventBus,hideHeading:e.hideHeading,level:e.level,name:e.name,
noncollapsible:!0,options:e.options,schema:xm(m6e)(e.schema)
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","level","name","options","schema"])):(Fb(),
qb(Lb,{key:1},[ey(xm(Wre),{modelValue:a.value,
"onUpdate:modelValue":i[0]||(i[0]=e=>a.value=e),options:r.value,resize:""},{
default:ig((()=>{
return[Jb("button",w6e,[Jb("span",x6e,Uh((e=t.composition,e.replace(/([A-Z])/g," $1").replace(/^./,(e=>e.toUpperCase())).toLowerCase().replace(/^(\w)/,(e=>e.toUpperCase())))),1),Jb("span",{
class:Dh(["composition-selector-label text-c-1",{
"line-through":o.value?.deprecated}])
},Uh(a.value?.label||"Schema"),3),o.value?.deprecated?(Fb(),
qb("div",k6e," deprecated ")):oy("",!0),ey(xm(kA))])];var e})),_:1
},8,["modelValue","options"]),Jb("div",S6e,[ey(g3e,{breadcrumb:e.breadcrumb,
compact:e.compact,discriminator:e.discriminator,eventBus:e.eventBus,
hideHeading:e.hideHeading,level:e.level+1,name:e.name,noncollapsible:!0,
options:e.options,schema:o.value
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","level","name","options","schema"])])],64))]))
}}),A6e={class:"property-enum-value"},T6e={class:"property-enum-value-content"
},E6e={class:"property-enum-value-label"},C6e={key:0,
class:"property-enum-value-description"},$6e=X2e(Hg({
__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},
setup:e=>(t,n)=>(Fb(),qb("li",A6e,[Jb("div",T6e,[Jb("span",E6e,[ey(xm(Aoe),{
text:e.label,preset:"property"
},null,8,["text"])]),e.description?(Fb(),qb("span",C6e,[ey(xm(Gre),{
value:e.description},null,8,["value"])])):oy("",!0)])]))
}),[["__scopeId","data-v-f4b54bdd"]]),P6e={key:0,class:"property-enum"},I6e={
class:"property-enum-values"},D6e={key:1},M6e=X2e(Hg({__name:"SchemaEnumValues",
props:{value:{}},setup(e){
const t=Ty((()=>e.value&&(e.value.enum||bZe(e.value)&&SVe.schema(e.value.items)?.enum)||[])),n=Ty((()=>t.value.length>9)),r=Ty((()=>n.value?5:t.value.length)),a=Ty((()=>t.value.slice(0,r.value))),o=Ty((()=>t.value.slice(r.value))),i=(t,n)=>{
const r=e.value?.["x-enumDescriptions"]??e.value?.["x-enum-descriptions"]
;if(r)return Array.isArray(r)?r[n]:"object"==typeof r&&null!==r?r[String(t)]:void 0
},s=(t,n)=>{
const r=e.value?.["x-enum-varnames"]??e.value?.["x-enumNames"],a=Array.isArray(r)?r[n]:void 0
;return a?`${t} = ${a}`:String(t)},l=bm(!1),c=()=>{l.value=!l.value}
;return(e,u)=>t.value.length>0?(Fb(),
qb("div",P6e,[Jb("ul",I6e,[(Fb(!0),qb(Lb,null,Sv(a.value,((e,t)=>(Fb(),Wb($6e,{
key:String(e),description:i(e,t),label:s(e,t)
},null,8,["description","label"])))),128)),n.value&&l.value?(Fb(!0),qb(Lb,{key:0
},Sv(o.value,((e,t)=>(Fb(),Wb($6e,{key:String(e),description:i(e,r.value+t),
label:s(e,r.value+t)
},null,8,["description","label"])))),128)):oy("",!0),n.value?(Fb(),
qb("li",D6e,[ey(xm(O_),{
class:"enum-toggle-button my-2 flex h-fit gap-1 rounded-full border py-1.5 pr-2.5 pl-2 leading-none",
variant:"ghost",onClick:c},{default:ig((()=>[ey(xm(GC),{class:Dh({
"rotate-45":l.value}),weight:"bold"
},null,8,["class"]),ry(" "+Uh(l.value?"Hide values":"Show all values"),1)])),_:1
})])):oy("",!0)])])):oy("",!0)}}),[["__scopeId","data-v-d5367294"]]),N6e=e=>{
if(!e)return null;if("$ref"in e){const t=p6e(e.$ref);if(t)return t}
const t=SVe.schema(e);return t.title?t.title:t.name?t.name:null
},R6e=(e,t)=>`${e} ${t}${"array"===e?"[]":""}`,L6e=Hg({__name:"RenderString",
props:{value:{}},setup(e){
const t=Ty((()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value))
;return(e,n)=>Uh(t.value)}}),B6e={key:0,class:"property-detail-prefix"},j6e={
key:1,class:"property-detail-value"},U6e={key:2,class:"property-detail-value"
},z6e=X2e(Hg({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},
code:{type:Boolean}},setup:e=>(t,n)=>(Fb(),qb("span",{
class:Dh(["property-detail",{"property-detail-truncate":e.truncate}])
},[t.$slots.prefix?(Fb(),
qb("div",B6e,[Av(t.$slots,"prefix",{},void 0,!0),n[0]||(n[0]=ry(" ",-1))])):oy("",!0),e.code?(Fb(),
qb("code",j6e,[Av(t.$slots,"default",{},void 0,!0)])):(Fb(),
qb("span",U6e,[Av(t.$slots,"default",{},void 0,!0)]))],2))
}),[["__scopeId","data-v-1295f965"]]);function Z6e(e){
return Array.isArray(e)?`[${e.map((e=>"string"==typeof e?`"${e.toString().trim()}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e)).join(", ")}]`:null===e?"null":"object"==typeof e?"value"in e?e.value:"externalValue"in e?e.externalValue:JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?e.trim():e.toString().trim()
}const F6e={key:0,class:"property-example"},H6e={
class:"property-example-value-list"},Q6e={key:1,class:"property-example"},V6e={
class:"property-example-label",type:"button"},q6e={
class:"property-example-value-list"},W6e=["onClick"],X6e=X2e(Hg({
__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){
const{copyToClipboard:t}=Vqe()
;return(n,r)=>(Fb(),qb(Lb,null,[e.example?(Fb(),qb("div",F6e,[r[1]||(r[1]=Jb("button",{
class:"property-example-label",type:"button"
},[Jb("span",null,"Example")],-1)),Jb("div",H6e,[Jb("button",{
class:"property-example-value group",type:"button",
onClick:r[0]||(r[0]=n=>xm(t)(xm(Z6e)(e.example)))
},[Jb("span",null,Uh(xm(Z6e)(e.example)),1),ey(xm(Pre),{
class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",
size:"xs"
})])])])):oy("",!0),e.examples&&"object"==typeof e.examples&&Object.keys(e.examples).length>0?(Fb(),
qb("div",Q6e,[Jb("button",V6e,[Jb("span",null,Uh(1===Object.keys(e.examples).length?"Example":"Examples"),1)]),Jb("div",q6e,[(Fb(!0),
qb(Lb,null,Sv(e.examples,((e,n)=>(Fb(),qb("button",{key:n,
class:"property-example-value group",type:"button",onClick:n=>xm(t)(xm(Z6e)(e))
},[Jb("span",null,Uh(xm(Z6e)(e)),1),ey(xm(Pre),{
class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",
size:"xs"})],8,W6e)))),128))])])):oy("",!0)],64))}
}),[["__scopeId","data-v-72def0ea"]]),G6e={class:"property-heading"},Y6e={key:1,
class:"property-discriminator"},K6e={key:3,class:"property-additional"},J6e={
key:4,class:"property-deprecated"},e3e={key:5,class:"property-const"},t3e={
key:7,class:"property-write-only"},n3e={key:8,class:"property-read-only"},r3e={
key:9,class:"property-required"},a3e=X2e(Hg({__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}},setup(e){
const t=e,n=Pm(t,"value"),r=Ty((()=>{if(!n.value)return;const e=n.value
;if(void 0!==e.const)return e.const;if(1===e.enum?.length)return e.enum[0]
;if(bZe(e)&&e.items){const t=SVe.schema(e.items);if($V(t.const))return t.const
;if(1===t.enum?.length)return t.enum[0]}})),a=Ty((()=>{if(!n.value)return[]
;const e=n.value,t=[];return bZe(e)&&((e.minItems||e.maxItems)&&t.push({
key:"array-range",value:`${e.minItems||""}…${e.maxItems||""}`
}),e.uniqueItems&&t.push({key:"unique-items",value:"unique!"
})),yZe(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})),(yZe(e)||OZe(e))&&e.format&&t.push({key:"format",value:e.format,
truncate:!0}),OZe(e)&&($V(e.exclusiveMinimum)&&t.push({key:"exclusive-minimum",
prefix:"greater than: ",value:e.exclusiveMinimum}),$V(e.minimum)&&t.push({
key:"minimum",prefix:"min: ",value:e.minimum}),$V(e.exclusiveMaximum)&&t.push({
key:"exclusive-maximum",prefix:"less than: ",value:e.exclusiveMaximum
}),$V(e.maximum)&&t.push({key:"maximum",prefix:"max: ",value:e.maximum
}),$V(e.multipleOf)&&t.push({key:"multiple-of",prefix:"multiple of: ",
value:e.multipleOf})),t})),o=Ty((()=>t.value?((e,t=!1)=>{
if(!("type"in e)||t)return null;const n=e.type,r=N6e(e)
;if(r&&e.title)return"array"===n?`array ${r}[]`:r;if(bZe(e)&&e.items){
const t=SVe.schema(e.items),r=t.title;if(r)return R6e(n,r);const a=N6e(t)
;return a&&"type"in t&&a!==t.type?R6e(n,a):R6e(n,"type"in t?Array.isArray(t.type)?t.type.join(" | "):t.type:"object")
}if(r&&r!==n)return r.startsWith("Array of ")?`array ${r.slice(9)}[]`:r
;return null
})(t.value,t.hideModelNames):null)),i=Ty((()=>!(!t.value||!("type"in t.value))&&("array"===t.value.type||!r.value))),s=Ty((()=>t.value?o.value||f6e(t.value):"")),l=Ty((()=>{
const e=t.value
;return null===e?.default?"null":Array.isArray(e?.default)&&1===e?.default.length?String(e?.default[0]):"string"==typeof e?.default?JSON.stringify(e.default):Array.isArray(e?.default)||"object"==typeof e?.default?JSON.stringify(e?.default):e?.default
}));return(e,n)=>(Fb(),qb("div",G6e,[e.$slots.name?(Fb(),qb("div",{key:0,
class:Dh(["property-name",{deprecated:t.value?.deprecated}])
},[Av(e.$slots,"name",{},void 0,!0)],2)):oy("",!0),t.isDiscriminator?(Fb(),
qb("div",Y6e," Discriminator ")):oy("",!0),t.value?(Fb(),qb(Lb,{key:2
},[i.value?(Fb(),Wb(z6e,{key:0,truncate:""},{default:ig((()=>[ey(G4e,null,{
default:ig((()=>[...n[0]||(n[0]=[ry("Type: ",-1)])])),_:1
}),ry(Uh(s.value),1)])),_:1
})):oy("",!0),(Fb(!0),qb(Lb,null,Sv(a.value,(e=>(Fb(),Wb(z6e,{key:e.key,
code:e.code,truncate:e.truncate},_v({
default:ig((()=>["format"===e.key?(Fb(),Wb(G4e,{key:0},{
default:ig((()=>[...n[1]||(n[1]=[ry("Format:",-1)])])),_:1
})):"pattern"===e.key?(Fb(),Wb(G4e,{key:1},{
default:ig((()=>[...n[2]||(n[2]=[ry(" Pattern: ",-1)])])),_:1
})):oy("",!0),ry(" "+Uh(e.value),1)])),_:2},[e.prefix?{name:"prefix",
fn:ig((()=>[ry(Uh(e.prefix),1)])),key:"0"
}:void 0]),1032,["code","truncate"])))),128)),t.enum?(Fb(),Wb(z6e,{key:1},{
default:ig((()=>[...n[3]||(n[3]=[ry("enum",-1)])])),_:1
})):oy("",!0),void 0!==l.value?(Fb(),Wb(z6e,{key:2,truncate:""},{
prefix:ig((()=>[...n[4]||(n[4]=[ry("default:",-1)])])),
default:ig((()=>[ry(Uh(l.value),1)])),_:1
})):oy("",!0)],64)):oy("",!0),t.additional?(Fb(),
qb("div",K6e,[t.value?.["x-additionalPropertiesName"]?(Fb(),qb(Lb,{key:0
},[ry(Uh(t.value["x-additionalPropertiesName"]),1)],64)):(Fb(),qb(Lb,{key:1
},[ry("additional properties")],64))])):oy("",!0),t.value?.deprecated?(Fb(),
qb("div",J6e,[ey(xm(S4e),null,{
default:ig((()=>[...n[5]||(n[5]=[ry("deprecated",-1)])])),_:1
})])):oy("",!0),void 0!==r.value?(Fb(),qb("div",e3e,[ey(z6e,{truncate:""},{
prefix:ig((()=>[...n[6]||(n[6]=[ry("const: ",-1)])])),default:ig((()=>[ey(L6e,{
value:r.value},null,8,["value"])])),_:1})])):(Fb(),qb(Lb,{key:6
},[!0===t.value?.nullable?(Fb(),Wb(z6e,{key:0},{
default:ig((()=>[...n[7]||(n[7]=[ry(" nullable ",-1)])])),_:1
})):oy("",!0)],64)),t.value?.writeOnly?(Fb(),
qb("div",t3e," write-only ")):t.value?.readOnly?(Fb(),
qb("div",n3e," read-only ")):oy("",!0),t.required?(Fb(),
qb("div",r3e," required ")):oy("",!0),t.withExamples?(Fb(),Wb(X6e,{key:10,
example:t.value?.example||t.value&&xm(bZe)(t.value)&&xm(SVe).schema(t.value?.items)?.example,
examples:t.value?.examples},null,8,["example","examples"])):oy("",!0)]))}
}),[["__scopeId","data-v-f1f4255a"]]),o3e={key:0,
class:"property-name-pattern-properties"},i3e={key:1,
class:"property-name-additional-properties"},s3e={key:1,
class:"property-description"},l3e={key:3,class:"children"},c3e={key:4,
class:"children"},u3e=X2e(Hg({__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},variant:{},
breadcrumb:{},eventBus:{},options:{}},setup(e){const t=e,n=Ty((()=>function(e){
if(!e||"object"!=typeof e)return e;const t=o6e.find((t=>t in e&&"not"!==t))
;if(!t)return{...e};const n=e[t];if(!Array.isArray(n))return{...e}
;const{[t]:r,nullable:a,...o}=e,i=Object.keys(o).length>0,{filteredSchemas:s,hasNullSchema:l}=n.reduce(((e,t)=>{
const n=SVe.schema(t)
;return"type"in n&&"null"===n.type?e.hasNullSchema=!0:e.filteredSchemas.push(n),
e}),{filteredSchemas:[],hasNullSchema:!1}),c=l||!0===a;if(1===s.length){
const e={...o,...s[0]};return c&&(e.nullable=!0),e}
if(("oneOf"===t||"anyOf"===t)&&(i||s.some((e=>e.allOf)))){const e=s.map((e=>{
const t=SVe.schema(e);if(1===t.allOf?.length){const{allOf:e,...n}=t;return{...o,
...n,...SVe.schema(e[0])}}return{...o,...t}})),n={[t]:e}
;return c&&(n.nullable=!0),n}if(s.length!==n.length){const n={...e,[t]:s}
;return c&&(n.nullable=!0),n}return{...e}
}(t.schema))),r=Ty((()=>t.breadcrumb&&t.name?[...t.breadcrumb,t.name]:void 0)),a=Ty((()=>t.level<=1)),o=Ty((()=>c6e(n.value))),i=Ty((()=>c.value.length>0)),s=Ty((()=>{
const e=n.value
;return!!e&&(K8e(e)&&("properties"in e||"additionalProperties"in e))
})),l=Ty((()=>{const e=n.value
;return!(!e||!bZe(e)||"object"!=typeof e.items)&&o.value})),c=Ty((()=>(e=>{
if(!e)return[];if(e.enum)return e.enum;if(bZe(e)&&"object"==typeof e.items){
const t=SVe.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]
})(n.value))),u=Ty((()=>(e=>{if(void 0===(t=e)||!("type"in t))return null;var t
;const n=Array.isArray(e.type)?e.type[0]:e.type;if(!n)return null;const r=d6e[n]
;return r?r["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null
})(n.value))),d=Ty((()=>{
return e=n.value,r=t.description,e?"properties"in e||"additionalProperties"in e||"patternProperties"in e||e.allOf?null:r||e.description||null:null
;var e,r
})),p=Ty((()=>((e,t,n=!1)=>!(!t&&!n)||!!e&&(!0===e.deprecated||void 0!==e.const||1===e.enum?.length||"type"in e&&void 0!==e.type||"nullable"in e&&!0===e.nullable||!0===e.writeOnly||!0===e.readOnly))(n.value,t.name,t.required))),h=Ty((()=>u6e(n.value))),f=Ty((()=>{
const e=n.value
;if(e&&bZe(e)&&"object"==typeof e.items)return SVe.schema(e.items)
})),m=Ty((()=>Boolean(t.name&&t.discriminator?.propertyName===t.name)))
;return(t,o)=>(Fb(),Wb(wv(e.is??"li"),{
class:Dh(["property",[`property--level-${e.level}`,{
"property--compact":e.compact,"property--deprecated":n.value?.deprecated}]])},{
default:ig((()=>[p.value?(Fb(),Wb(a3e,{key:0,class:"group",enum:i.value,
hideModelNames:e.hideModelNames,isDiscriminator:m.value,required:e.required,
value:n.value},_v({_:2},[e.name?{name:"name",fn:ig((()=>[ey(xm(n8e),{
breadcrumb:a.value?r.value:void 0,eventBus:e.eventBus},{
default:ig((()=>["patternProperties"===e.variant?(Fb(),
qb("span",o3e,[ey(xm(Aoe),{preset:"property",text:e.name
},null,8,["text"])])):"additionalProperties"===e.variant?(Fb(),
qb("span",i3e,[ey(xm(Aoe),{preset:"property",text:e.name
},null,8,["text"])])):(Fb(),Wb(xm(Aoe),{key:2,preset:"property",text:e.name
},null,8,["text"]))])),_:1},8,["breadcrumb","eventBus"])])),key:"0"
}:void 0,n.value?.example?{name:"example",
fn:ig((()=>[ry(" Example: "+Uh(n.value.example),1)])),key:"1"
}:void 0]),1032,["enum","hideModelNames","isDiscriminator","required","value"])):oy("",!0),d.value||u.value?(Fb(),
qb("div",s3e,[ey(xm(Gre),{value:d.value||u.value||""
},null,8,["value"])])):oy("",!0),i.value?(Fb(),Wb(M6e,{key:2,value:n.value
},null,8,["value"])):oy("",!0),s.value?(Fb(),qb("div",l3e,[ey(g3e,{
breadcrumb:r.value,compact:e.compact,eventBus:e.eventBus,level:e.level+1,
name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:n.value
},null,8,["breadcrumb","compact","eventBus","level","name","noncollapsible","options","schema"])])):oy("",!0),l.value&&f.value?(Fb(),
qb("div",c3e,[ey(g3e,{compact:e.compact,eventBus:e.eventBus,level:e.level+1,
name:e.name,noncollapsible:e.noncollapsible,options:e.options,
schema:xm(SVe).schema(f.value)
},null,8,["compact","eventBus","level","name","noncollapsible","options","schema"])])):oy("",!0),(Fb(!0),
qb(Lb,null,Sv(h.value,(t=>(Fb(),Wb(_6e,{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,schema:t.value
},null,8,["breadcrumb","compact","composition","discriminator","eventBus","hideHeading","level","name","noncollapsible","options","schema"])))),128)),ey(xm(d8e),{
value:n.value},null,8,["value"])])),_:1},8,["class"]))}
}),[["__scopeId","data-v-84242873"]]),d3e=Hg({__name:"SchemaObjectProperties",
props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{
type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},
options:{}},setup(e){
const t=Ty((()=>a6e(e.schema,e.discriminator,e.options))),n=e=>{
const t="boolean"==typeof e?e:SVe.schema(e)
;return"object"==typeof t&&"string"==typeof t["x-additionalPropertiesName"]&&t["x-additionalPropertiesName"].trim().length>0?`${t["x-additionalPropertiesName"].trim()}`:"propertyName"
};return(r,a)=>{
return Fb(),qb(Lb,null,[xm(K8e)(e.schema)&&e.schema.properties?(Fb(!0),qb(Lb,{
key:0},Sv(t.value,(t=>(Fb(),Wb(u3e,{key:t,breadcrumb:e.breadcrumb,
compact:e.compact,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:xm(SVe).schema(e.schema.properties[t])
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","required","schema"])))),128)):oy("",!0),xm(K8e)(e.schema)&&e.schema.patternProperties?(Fb(!0),
qb(Lb,{key:1
},Sv(Object.entries(e.schema.patternProperties),(([t,n])=>(Fb(),Wb(u3e,{key:t,
breadcrumb:e.breadcrumb,compact:e.compact,discriminator:e.discriminator,
eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,
level:e.level,name:t,options:e.options,schema:xm(SVe).schema(n)
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema"])))),128)):oy("",!0),xm(K8e)(e.schema)&&e.schema.additionalProperties?(Fb(),
Wb(u3e,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,
discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,
hideModelNames:e.hideModelNames,level:e.level,
name:n(e.schema.additionalProperties),noncollapsible:"",options:e.options,
schema:(o=e.schema.additionalProperties,
!0===o||"object"==typeof o&&0===Object.keys(o).length||"object"!=typeof o||!("type"in o)?{
type:"anything",..."object"==typeof o?o:{}}:o),variant:"additionalProperties"
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema"])):oy("",!0)],64)
;var o}}}),p3e={key:0,class:"schema-card-description"},h3e={key:1,class:"pt-2"
},f3e={key:0,class:"schema-properties"},m3e=Hg({__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:{}},setup(e){
const t=Ty((()=>!e.noncollapsible&&e.level>0)),n=Ty((()=>e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?e.schema.description||e.schema.allOf[0]?.description||null:e.schema?.description&&"string"==typeof e.schema.description?e.schema.oneOf||e.schema.anyOf||e.schema.enum?null:"properties"in e.schema||"patternProperties"in e.schema||"additionalProperties"in e.schema?e.schema.description:null:null)),r=t=>e.noncollapsible&&t.stopPropagation()
;return(a,o)=>"object"==typeof e.schema&&Object.keys(e.schema).length?(Fb(),
Wb(xm(Gx),{key:0,defaultOpen:e.noncollapsible},{
default:ig((({open:a})=>[Jb("div",{
class:Dh(["schema-card",[`schema-card--level-${e.level}`,{
"schema-card--compact":e.compact,"schema-card--open":a},{
"border-t":e.additionalProperties&&a}]])
},[n.value?(Fb(),qb("div",p3e,[ey(xm(Gre),{value:n.value
},null,8,["value"])])):oy("",!0),xm(J8e)(e.schema)?(Fb(),
qb("div",h3e," Empty object ")):oy("",!0),Jb("div",{
class:Dh(["schema-properties",{"schema-properties-open":a}])
},[e.additionalProperties?sg((Fb(),qb("div",f3e,[ey(xm(Yx),{as:"button",
class:"schema-card-title schema-card-title--compact",onClickCapture:r},{
default:ig((()=>[ey(xm(Pre),{class:"schema-card-title-icon",icon:"Add",size:"sm"
}),o[0]||(o[0]=ry(" Show additional properties ",-1)),e.name?(Fb(),Wb(G4e,{key:0
},{default:ig((()=>[ry("for "+Uh(e.name),1)])),_:1})):oy("",!0)])),_:1
})],512)),[[nO,!a]]):t.value?sg((Fb(),Wb(xm(Yx),{key:1,
as:e.noncollapsible?"div":"button",class:Dh(["schema-card-title",{
"schema-card-title--compact":e.compact}]),style:Eh({
top:`calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`
}),onClickCapture:r},{default:ig((()=>[e.compact?(Fb(),qb(Lb,{key:0
},[ey(xm(Pre),{class:Dh(["schema-card-title-icon",{
"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"
},null,8,["class"]),a?(Fb(),qb(Lb,{key:0
},[ry(" Hide "+Uh(e.schema?.title??"Child Attributes"),1)],64)):(Fb(),qb(Lb,{
key:1
},[ry(" Show "+Uh(e.schema?.title??"Child Attributes"),1)],64)),e.name?(Fb(),
Wb(G4e,{key:2},{default:ig((()=>[ry("for "+Uh(e.name),1)])),_:1
})):oy("",!0)],64)):(Fb(),qb(Lb,{key:1},[ey(xm(Pre),{
class:Dh(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),
icon:"Add",size:"sm"},null,8,["class"]),ey(n6e,{name:e.schema?.title??e.name,
value:e.schema},null,8,["name","value"])],64))])),_:2
},1032,["as","class","style"])),[[nO,!(e.hideHeading||e.noncollapsible&&e.compact)]]):oy("",!0),!e.additionalProperties||a?(Fb(),
Wb(xm(Kx),{key:2,as:"ul",static:!t.value},{
default:ig((()=>[xm(K8e)(e.schema)?(Fb(),Wb(d3e,{key:0,breadcrumb:e.breadcrumb,
compact:e.compact,discriminator:e.discriminator,eventBus:e.eventBus,
hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,
options:e.options,schema:e.schema
},null,8,["breadcrumb","compact","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema"])):(Fb(),
qb(Lb,{key:1},[e.schema?(Fb(),Wb(u3e,{key:0,breadcrumb:e.breadcrumb,
compact:e.compact,eventBus:e.eventBus,hideHeading:e.hideHeading,
hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:e.schema
},null,8,["breadcrumb","compact","eventBus","hideHeading","hideModelNames","level","options","schema"])):oy("",!0)],64))])),
_:1},8,["static"])):oy("",!0)],2)],2)])),_:1},8,["defaultOpen"])):oy("",!0)}
}),g3e=X2e(m3e,[["__scopeId","data-v-d9bd8110"]]),v3e={key:0,class:"properties"
},b3e={key:1},y3e=X2e(Hg({__name:"ClassicLayout",props:{id:{},name:{},schema:{},
isCollapsed:{type:Boolean},eventBus:{},options:{}},
setup:e=>(t,n)=>(Fb(),Wb(xm(D4e),{"aria-label":e.schema.title??e.name,
modelValue:!e.isCollapsed,
"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{
id:e.id,open:t}))},{title:ig((()=>[ey(xm(J4e),{class:"reference-models-anchor",
eventBus:e.eventBus,
onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))
},{default:ig((()=>[ey(xm(W4e),{level:3},{default:ig((()=>[ey(xm(n6e),{
class:"reference-models-label",name:e.schema.title??e.name,value:e.schema
},null,8,["name","value"])])),_:1})])),_:1},8,["eventBus"])])),
default:ig((()=>["properties"in e.schema?(Fb(),
qb("div",v3e,[(Fb(!0),qb(Lb,null,Sv(Object.entries(e.schema.properties??{}),(([t,n])=>(Fb(),
Wb(xm(u3e),{key:t,eventBus:e.eventBus,name:t,options:e.options,
required:e.schema.required?.includes(t),schema:xm(SVe).schema(n)
},null,8,["eventBus","name","options","required","schema"])))),128))])):(Fb(),
qb("div",b3e,[ey(xm(u3e),{eventBus:e.eventBus,options:e.options,schema:e.schema
},null,8,["eventBus","options","schema"])]))])),_:1
},8,["aria-label","modelValue"]))}),[["__scopeId","data-v-e4ca3c0f"]]),O3e=Hg({
__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},
eventBus:{},options:{}},setup:e=>(t,n)=>(Fb(),Wb(xm(o8e),{id:e.id,key:e.name,
label:e.name,modelValue:!e.isCollapsed,
onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id
})),"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{
id:e.id,open:t}))},{heading:ig((()=>[ey(xm(W4e),{level:3},{
default:ig((()=>[ey(xm(n6e),{name:e.schema.title??e.name,value:e.schema
},null,8,["name","value"])])),_:1})])),default:ig((()=>[ey(xm(K2),null,{
default:ig((()=>[ey(xm(g3e),{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"]))}),w3e=Hg({__name:"Model",props:{id:{},name:{},
options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){
const t=qg("section")
;return T4e(t,(()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id
}))),(n,r)=>e.schema?(Fb(),qb("div",{key:0,ref_key:"section",ref:t
},["classic"===e.options.layout?(Fb(),Wb(y3e,{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"])):(Fb(),
Wb(O3e,{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)):oy("",!0)
}
}),x3e=e=>e.replace(/^\/+|\/+$/g,""),k3e=(e,t,n)=>"string"==typeof t?((e,t,n)=>{
const r="string"==typeof e?new URL(e):e,a=x3e(t),o=a?`/${a.split("/").map((e=>encodeURIComponent(e))).join("/")}`:""
;if(r.pathname.startsWith(o)){
const e=r.pathname.slice(o.length),t=decodeURIComponent(e.startsWith("/")?e.slice(1):e)
;return n?`${n}${t?"/":""}${t}`:t}return n??""})(e,t,n):((e,t)=>{
const n="string"==typeof e?new URL(e):e,r=decodeURIComponent(n.hash.slice(1))
;return t?`${t}${r?"/":""}${r}`:r})(e,n),S3e=(e,t,n)=>{
if("undefined"==typeof window)return;const r=n?e:(e=>{
const t=e.endsWith("/"),n=e.split("/").filter(Boolean).slice(1).join("/")
;return t&&n?`${n}/`:n})(e),a=new URL(window.location.href)
;if("string"==typeof t){const e=x3e(t);a.pathname=`${e}/${r}`}else a.hash=r
;return a
},_3e=om(new Set),A3e=om(new Set),T3e=om(new Set),E3e=bm(!1),C3e=bm(!1),$3e=om(new Set),P3e=new Set,I3e=()=>{
const e=qG();return $3e.add(e),()=>setTimeout((()=>$3e.delete(e)),100)
},D3e=Ty((()=>0===$3e.size));!function(e,t,n={}){
const{debounce:r=0,maxWait:a,...o}=n;(function(e,t,n={}){
const{eventFilter:r=cY,...a}=n;mg(e,lY(r,t),a)})(e,t,{...o,eventFilter:uY(r,{
maxWait:a})})}([()=>A3e.size,()=>_3e.size,()=>E3e.value],(()=>{
(A3e.size>0||_3e.size>0)&&!E3e.value&&(()=>{if("undefined"==typeof window)return
;const e=I3e(),t=async()=>{if(A3e.size>0||_3e.size>0){E3e.value=!0
;for(const e of[...A3e,..._3e])T3e.has(e)||T3e.add(e),
A3e.delete(e),_3e.delete(e)}
await Xm(),P3e.forEach((e=>e())),P3e.clear(),e(),E3e.value=!1,C3e.value=!0}
;window.requestIdleCallback?window.requestIdleCallback(t,{timeout:1500}):Xm(t)
})()}),{debounce:300,maxWait:1500});const M3e=e=>{e&&!_3e.has(e)&&_3e.add(e)}
;function N3e(e){return(e=>{!e||T3e.has(e)||_3e.has(e)||A3e.add(e)
})(e),pv((()=>{(e=>{_3e.delete(e),A3e.delete(e),T3e.delete(e)})(e)})),{
isReady:Ty((()=>"undefined"==typeof window||_3e.has(e)||T3e.has(e)))}}
const R3e=(e,t,n)=>{
const r=n(e),a=!T3e.has(e)||r?.children?.some((e=>!T3e.has(e.id)))?B3e(e):void 0
;var o;(o=a)&&P3e.add(o);const i=I3e(),{rawId:s}=(e=>{
const t=e.match(/(.*)(\.body\.|\.path\.|\.query\.|\.header\.)(.*)/)
;return t&&"string"==typeof t[1]&&"string"==typeof t[2]?{rawId:t[1],
params:t[2].slice(1)+t[3]}:{rawId:e,params:""}})(e)
;if(M3e(e),M3e(s),r?.children&&r.children.slice(0,2).forEach((e=>{M3e(e.id)
})),r?.parent){const t=n(r.parent.id),a=t?.children?.findIndex((t=>t.id===e))
;void 0!==a&&a>=0&&t?.children?.slice(a,a+2).forEach((e=>{M3e(e.id)}))}
L3e(e,Date.now()+1e3,i,a),t(s,!0);const l=e=>{const r=n(e)?.parent
;r&&(M3e(r.id),t(r.id,!0),l(r.id))};l(s)},L3e=(e,t,n,r)=>{
const a=document.getElementById(e);a?(a.scrollIntoView({block:"start"
}),n()):Date.now()<t?requestAnimationFrame((()=>L3e(e,t,n))):(n(),r?.())
},B3e=e=>{let t=!1;const n=r=>{const a=document.getElementById(e)
;a&&a.scrollIntoView({block:"start"}),r||requestAnimationFrame((()=>n(t)))}
;return n(!1),()=>{t=!0}},j3e=Hg({__name:"Lazy",props:{id:{}},setup(e){
const{isReady:t}=N3e(e.id);return(e,n)=>xm(t)?Av(e.$slots,"default",{key:0
}):oy("",!0)}}),U3e={class:"show-more",type:"button"},z3e=X2e(Hg({
__name:"ShowMoreButton",
setup:e=>(e,t)=>(Fb(),qb("button",U3e,[t[0]||(t[0]=ry(" Show More ",-1)),ey(xm(kA),{
class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))
}),[["__scopeId","data-v-d1c2b649"]]),Z3e=Hg({__name:"ModelTag",props:{id:{},
isCollapsed:{type:Boolean},eventBus:{},layout:{}},setup:e=>(t,n)=>(Fb(),Wb(j3e,{
id:"models"},{default:ig((()=>["modern"===e.layout?(Fb(),Wb(j4e,{key:0,
id:"model"},{default:ig((()=>[ey(xm(E4e),{id:e.id,"aria-label":"Models",
onIntersecting:n[1]||(n[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id
}))},{default:ig((()=>[ey(xm(q4e),null,{default:ig((()=>[ey(W4e,{level:2},{
default:ig((()=>[...n[3]||(n[3]=[ry(" Models ",-1)])])),_:1})])),_:1
}),e.isCollapsed?(Fb(),Wb(z3e,{key:1,id:e.id,class:"top-0",
onClick:n[0]||(n[0]=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0}))
},null,8,["id"])):Av(t.$slots,"default",{key:0})])),_:3},8,["id"])])),_:3
})):(Fb(),Wb(Z4e,{key:1,"aria-label":"Models",class:"pb-12",
modelValue:!e.isCollapsed,
"onUpdate:modelValue":n[2]||(n[2]=()=>e.eventBus?.emit("toggle:nav-item",{
id:e.id,open:e.isCollapsed}))},{title:ig((()=>[ey(xm(q4e),{level:2},{
default:ig((()=>[...n[4]||(n[4]=[ry("Models",-1)])])),_:1})])),
default:ig((()=>[Av(t.$slots,"default")])),_:3},8,["modelValue"]))])),_:3}))
}),F3e=X2e(Hg({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},
eventBus:{}},setup:e=>(t,n)=>(Fb(),Wb(xm(Z4e),{"aria-label":e.tag.title,
class:"tag-section",modelValue:!e.isCollapsed,
"onUpdate:modelValue":n[1]||(n[1]=t=>e.eventBus?.emit("toggle:nav-item",{
id:e.tag.id,open:t}))},{title:ig((()=>[ey(xm(q4e),{class:"tag-name"},{
default:ig((()=>[ey(xm(J4e),{
onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{
id:e.tag.id}))},{default:ig((()=>[ey(xm(W4e),{level:2},{
default:ig((()=>[ry(Uh(e.tag.title),1)])),_:1})])),_:1})])),_:1}),ey(xm(Gre),{
class:"tag-description",value:e.tag?.description,withImages:""
},null,8,["value"])])),default:ig((()=>[Av(t.$slots,"default",{},void 0,!0)])),
_:3},8,["aria-label","modelValue"]))
}),[["__scopeId","data-v-1124be5d"]]),H3e=Hg({__name:"HttpMethod",props:{as:{},
property:{},short:{type:Boolean},method:{}},setup(e){
const t=e,n=Ty((()=>LV(String(t.method||"")))),r=Ty((()=>ZIe(t.method)))
;return(t,a)=>(Fb(),Wb(wv(e.as??"span"),{class:"uppercase",style:Eh({
[e.property||"color"]:n.value.colorVar})},{
default:ig((()=>[Av(t.$slots,"default"),ry(" "+Uh(e.short?n.value.short:r.value),1)])),
_:3},8,["style"]))}}),Q3e=X2e(Hg({__name:"OperationsListItem",props:{
operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){
const t=Ty((()=>"path"in e.operation?e.operation.path:e.operation.title))
;return(n,r)=>(Fb(),qb("li",{key:e.operation.id,class:"contents"
},[e.isCollapsed?(Fb(),Wb(xm(W4e),{key:0,class:"sr-only",level:3},{
default:ig((()=>[ry(Uh(e.operation.title)+" (Hidden) ",1)])),_:1
})):oy("",!0),Jb("a",{class:"endpoint",
onClick:r[0]||(r[0]=zO((()=>e.eventBus?.emit("scroll-to:nav-item",{
id:e.operation.id})),["prevent"]))},[ey(xm(H3e),{
class:"endpoint-method items-center justify-end gap-2",method:e.operation.method
},{default:ig((()=>{return[(t=e.operation,"webhook"===t.type?(Fb(),Wb(xm(AP),{
key:0,class:"size-3.5",style:Eh({color:xm(LV)(e.operation.method).colorVar})
},null,8,["style"])):oy("",!0))];var t})),_:1},8,["method"]),Jb("span",{
class:Dh(["endpoint-path",{deprecated:e.operation.isDeprecated}])
},Uh(t.value),3)])]))}
}),[["__scopeId","data-v-ad8530a6"]]),V3e=["aria-label"],q3e=X2e(Hg({
__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){
const t=Ty((()=>e.tag.children?.filter((e=>"operation"===e.type||"webhook"===e.type))??[]))
;return(n,r)=>e.tag.children&&e.tag.children?.length>0?(Fb(),Wb(xm(x_),{key:0,
class:"endpoints-card"},{default:ig((()=>[ey(xm(T_),{muted:""},{
default:ig((()=>[ey(G4e,null,{default:ig((()=>[ry(Uh(e.tag.title),1)])),_:1
}),ry(" "+Uh(e.tag.isWebhooks?"Webhooks":"Operations"),1)])),_:1}),ey(xm(k_),{
class:"custom-scroll max-h-[60vh]"},{default:ig((()=>[Jb("ul",{
"aria-label":`${e.tag.title} endpoints`,class:"endpoints"
},[(Fb(!0),qb(Lb,null,Sv(t.value,(t=>(Fb(),Wb(Q3e,{key:t.id,eventBus:e.eventBus,
operation:t},null,8,["eventBus","operation"])))),128))],8,V3e)])),_:1})])),_:1
})):oy("",!0)}}),[["__scopeId","data-v-f726f753"]]),W3e=Hg({__name:"TagSection",
props:{tag:{},headerId:{},isCollapsed:{type:Boolean},isLoading:{type:Boolean},
eventBus:{}},setup:e=>(t,n)=>e.tag?(Fb(),Wb(xm(E4e),{key:0,id:e.tag.id,
role:"none",
onIntersecting:n[1]||(n[1]=()=>e.eventBus?.emit("intersecting:nav-item",{
id:e.tag.id}))},{default:ig((()=>[sg(ey(xm(q4e),null,{
default:ig((()=>[ey(xm(J4e),{
onCopyAnchorUrl:n[0]||(n[0]=()=>e.eventBus?.emit("copy-url:nav-item",{
id:e.tag.id}))},{default:ig((()=>[ey(xm(W4e),{id:e.headerId,level:2},{
default:ig((()=>[ry(Uh(e.tag.title)+" ",1),e.isCollapsed?(Fb(),Wb(G4e,{key:0},{
default:ig((()=>[...n[2]||(n[2]=[ry(" (Collapsed)",-1)])])),_:1})):oy("",!0)])),
_:1},8,["id"])])),_:1})])),_:1},512),[[nO,!e.isLoading]]),ey(xm(Q4e),{
loading:e.isLoading},{default:ig((()=>[ey(xm(L4e),null,{
default:ig((()=>[ey(xm(N4e),null,{default:ig((()=>[ey(xm(Gre),{
clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""
},null,8,["clamp","value"])])),_:1}),ey(xm(N4e),null,{
default:ig((()=>[ey(xm(q3e),{eventBus:e.eventBus,tag:e.tag
},null,8,["eventBus","tag"])])),_:1})])),_:1})])),_:1
},8,["loading"]),ey(xm(d8e),{value:e.tag.xKeys},null,8,["value"])])),_:1
},8,["id"])):oy("",!0)}),X3e={key:0,class:"contents"},G3e=X2e(Hg({
__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isLoading:{
type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup(e){
const t=Qg(),n=Ty((()=>e.moreThanOneTag||"default"!==e.tag?.title||""!==e.tag?.description)),r=Ty((()=>(e.tag?.children?.length??0)>0))
;return(a,o)=>(Fb(),Wb(xm(j4e),{"aria-labelledby":xm(t),
class:"tag-section-container",role:"region"},{default:ig((()=>[ey(j3e,{
id:e.tag.id},{default:ig((()=>[n.value?(Fb(),Wb(W3e,{key:0,eventBus:e.eventBus,
headerId:xm(t),isCollapsed:e.isCollapsed,isLoading:e.isLoading,tag:e.tag
},null,8,["eventBus","headerId","isCollapsed","isLoading","tag"])):oy("",!0),e.isCollapsed&&e.moreThanOneTag&&r.value?(Fb(),
Wb(z3e,{key:1,id:e.tag.id,"aria-label":`Show all ${e.tag.title} endpoints`,
onClick:o[0]||(o[0]=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0
}))},null,8,["id","aria-label"])):oy("",!0)])),_:1
},8,["id"]),e.isCollapsed&&e.moreThanOneTag?oy("",!0):(Fb(),
qb("div",X3e,[Av(a.$slots,"default",{},void 0,!0)]))])),_:3
},8,["aria-labelledby"]))}}),[["__scopeId","data-v-0d42fbc8"]]),Y3e=Hg({
__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isLoading:{
type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},
setup:e=>(t,n)=>"classic"===e.layout?(Fb(),Wb(F3e,{key:0,eventBus:e.eventBus,
isCollapsed:e.isCollapsed,layout:e.layout,tag:e.tag},{
default:ig((()=>[Av(t.$slots,"default")])),_:3
},8,["eventBus","isCollapsed","layout","tag"])):(Fb(),Wb(G3e,{key:1,
eventBus:e.eventBus,isCollapsed:e.isCollapsed,isLoading:e.isLoading,
layout:e.layout,moreThanOneTag:e.moreThanOneTag,tag:e.tag},{
default:ig((()=>[Av(t.$slots,"default")])),_:3
},8,["eventBus","isCollapsed","isLoading","layout","moreThanOneTag","tag"]))
}),K3e=e=>Object.keys(e).sort().join(","),J3e={key:0},e5e=Hg({
__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){
const t=e,n=e=>e.startsWith("{")&&e.endsWith("}"),r=Ty((()=>t.path.split(/({[^}]+})/)))
;return(t,a)=>(Fb(),qb("span",{class:Dh(["operation-path",{
deprecated:e.deprecated}])},[(Fb(!0),qb(Lb,null,Sv(r.value,((e,t)=>(Fb(),qb(Lb,{
key:t},[n(e)?(Fb(),qb("em",J3e,Uh(e),1)):(Fb(),qb(Lb,{key:1
},[ry(Uh(e),1)],64))],64)))),128))],2))}
}),t5e=X2e(e5e,[["__scopeId","data-v-ec6c8861"]]),n5e={key:3,class:"empty-state"
},r5e=X2e(Hg({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){
const t=Ty((()=>n.value.length>2e4)),n=Ty((()=>VG(void 0!==e.example?OVe(e.example)?.value??"":e.response?.schema?NVe($Se(e.response.schema),{
emptyString:"string",mode:"read"}):"")))
;return(r,a)=>void 0===e.example||t.value?e.response?.schema&&!t.value?(Fb(),
Wb(xm(VY),{key:1,class:"bg-b-2",lang:"json",prettyPrintedContent:n.value
},null,8,["prettyPrintedContent"])):(void 0!==e.example||e.response?.schema)&&t.value?(Fb(),
Wb(xm(Soe),{key:2,
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"])):(Fb(),qb("div",n5e," No Body ")):(Fb(),Wb(xm(VY),{key:0,
class:"bg-b-2",lang:"json",prettyPrintedContent:n.value
},null,8,["prettyPrintedContent"]))}
}),[["__scopeId","data-v-431974da"]]),a5e=X2e(Hg({__name:"ExampleResponseTab",
setup:e=>(e,t)=>(Fb(),Wb(xm(Uk),{as:"template"},{
default:ig((({selected:t})=>[Jb("button",{class:Dh(["tab",{"tab-selected":t}]),
type:"button"},[Jb("span",null,[Av(e.$slots,"default",{},void 0,!0)])],2)])),_:3
}))}),[["__scopeId","data-v-c8207e48"]]),o5e=X2e(Hg({
__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){
const n=t,r=e=>{n("change",e)};return(e,t)=>(Fb(),Wb(xm(T_),{
class:"scalar-card-header scalar-card-header-tabs"},{
actions:ig((()=>[Av(e.$slots,"actions",{},void 0,!0)])),
default:ig((()=>[ey(xm(Bk),{onChange:r},{default:ig((()=>[ey(xm(jk),{
class:"tab-list custom-scroll"},{
default:ig((()=>[Av(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))
}}),[["__scopeId","data-v-fec8fbbb"]]);function i5e(e){
const t=LG(e?.content),n=ZV(t??{});return function(e){if(!e)return!1
;const t=Boolean(e.schema),n="example"in e&&null!==e.example,r=Boolean(e.examples)
;return t||n||r
}(t?.["application/json"]??t?.["application/xml"]??t?.["text/plain"]??t?.["text/html"]??t?.["*/*"]??t?.[n[0]??""])
}const s5e={key:1,class:"scalar-card-checkbox"},l5e=["aria-controls"],c5e={
key:0,class:"response-description"},u5e=X2e(Hg({__name:"ExampleResponses",
props:{responses:{}},setup(e){
const t=Qg(),{copyToClipboard:n}=Vqe(),r=Ty((()=>Object.keys(e.responses??{}).sort())),a=Ty((()=>r.value.filter((t=>i5e($Se(e.responses?.[t])))))),o=bm(0)
;mg(a,(e=>{
0===e.length?(o.value=0,c.value=""):o.value>=e.length&&(o.value=e.length-1,
c.value="")}));const i=Ty((()=>{const t=km(a)[km(o)]??""
;return $Se(e.responses?.[t])})),s=Ty((()=>{
const e=LG(i.value?.content),t=ZV(e??{})
;return e?.["application/json"]??e?.["application/xml"]??e?.["text/plain"]??e?.["text/html"]??e?.["*/*"]??e?.[t[0]??""]??void 0
})),l=Ty((()=>!!s.value?.examples&&Object.keys(s.value?.examples??{}).length>1)),c=bm(Object.keys(s.value?.examples??{})[0]??""),u=Ty((()=>{
if(s.value)return l.value&&c.value?s.value.examples?.[c.value]:xVe(s.value,void 0,void 0)
})),d=e=>{o.value=e,c.value=""},p=bm(!1)
;return(e,r)=>a.value.length?(Fb(),Wb(xm(x_),{key:0,
"aria-label":"Example Responses",class:"response-card",role:"region"},{
default:ig((()=>[ey(o5e,{onChange:d},{
actions:ig((()=>[s.value?.example?(Fb(),qb("button",{key:0,class:"code-copy",
type:"button",onClick:r[0]||(r[0]=()=>xm(n)(s.value?.example))},[ey(xm(Pre),{
icon:"Clipboard",width:"12px"
})])):oy("",!0),s.value?.schema?(Fb(),qb("label",s5e,[r[4]||(r[4]=ry(" Show Schema ",-1)),sg(Jb("input",{
"onUpdate:modelValue":r[1]||(r[1]=e=>p.value=e),"aria-controls":xm(t),
class:"scalar-card-checkbox-input",type:"checkbox"
},null,8,l5e),[[$O,p.value]]),r[5]||(r[5]=Jb("span",{
class:"scalar-card-checkbox-checkmark"},null,-1))])):oy("",!0)])),
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(a.value,(e=>(Fb(),Wb(a5e,{key:e,
"aria-controls":xm(t)},{default:ig((()=>[ey(G4e,null,{
default:ig((()=>[...r[3]||(r[3]=[ry("Status:",-1)])])),_:1}),ry(" "+Uh(e),1)])),
_:2},1032,["aria-controls"])))),128))])),_:1}),ey(xm(k_),{class:"grid flex-1"},{
default:ig((()=>[p.value&&s.value?.schema?(Fb(),Wb(xm(VY),{key:0,id:xm(t),
content:xm(OVe)(s.value?.schema),lang:"json"
},null,8,["id","content"])):(Fb(),Wb(r5e,{key:1,id:xm(t),example:u.value,
response:s.value},null,8,["id","example","response"]))])),_:1
}),i.value?.description||l.value?(Fb(),Wb(xm(S_),{key:0,
class:"response-card-footer"},{
default:ig((()=>[i.value?.description?(Fb(),qb("div",c5e,[ey(xm(Gre),{
class:"markdown",value:i.value.description
},null,8,["value"])])):oy("",!0),l.value?(Fb(),Wb(xm(n4e),{key:1,
modelValue:c.value,"onUpdate:modelValue":r[2]||(r[2]=e=>c.value=e),
class:"response-example-selector",examples:s.value?.examples
},null,8,["modelValue","examples"])):oy("",!0)])),_:1})):oy("",!0)])),_:1
})):oy("",!0)}}),[["__scopeId","data-v-49cbbee3"]]),d5e=Hg({inheritAttrs:!1,
__name:"ContentTypeSelect",props:Bv({content:{}},{modelValue:{required:!0},
modelModifiers:{}}),emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),n=Ty((()=>Object.keys(e.content??{}))),r=Ty({
get:()=>a.value.find((e=>e.id===t.value)),set:e=>{e&&(t.value=e.id)}
}),a=Ty((()=>n.value.map((e=>({id:e,label:e}))))),o=d_({
base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",
variants:{dropdown:{
true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}})
;return(e,i)=>n.value.length>1?(Fb(),Wb(xm(Wre),{key:0,modelValue:r.value,
"onUpdate:modelValue":i[1]||(i[1]=e=>r.value=e),options:a.value,
placement:"bottom-end",teleport:"",onClick:i[2]||(i[2]=zO((()=>{}),["stop"]))},{
default:ig((({open:n})=>[ey(xm(O_),cy({class:["h-fit",xm(o)({dropdown:!0})],
variant:"ghost"},e.$attrs,{onClick:i[0]||(i[0]=zO((()=>{}),["stop"]))}),{
default:ig((()=>[ey(G4e,null,{
default:ig((()=>[...i[3]||(i[3]=[ry("Selected Content Type:",-1)])])),_:1
}),Jb("span",null,Uh(t.value),1),ey(xm(kA),{
class:Dh(["size-2.75 transition-transform duration-100",{"rotate-180":n}]),
weight:"bold"},null,8,["class"])])),_:2},1040,["class"])])),_:1
},8,["modelValue","options"])):(Fb(),qb("div",cy({key:1,
class:["selected-content-type",xm(o)({dropdown:!1})]},e.$attrs,{tabindex:"0"
}),[Jb("span",null,Uh(t.value),1)],16))}}),p5e=Hg({__name:"Header",props:{
header:{},name:{},breadcrumb:{},eventBus:{},orderSchemaPropertiesBy:{},
orderRequiredPropertiesFirst:{type:Boolean}},
setup:e=>(t,n)=>"schema"in e.header&&e.header.schema?(Fb(),Wb(u3e,{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:xm($Se)(e.header.schema)
},null,8,["breadcrumb","description","eventBus","name","options","schema"])):oy("",!0)
}),h5e=X2e(Hg({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},
orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{}},
setup:e=>(t,n)=>(Fb(),Wb(xm(Gx),null,{default:ig((({open:t})=>[Jb("div",{
class:Dh(["headers-card headers-card--compact",[{"headers-card--open":t}]])
},[Jb("div",{class:Dh(["headers-properties",{"headers-properties-open":t}])
},[ey(xm(Yx),{class:"headers-card-title headers-card-title--compact",style:{
top:"calc(var(--refs-viewport-offset)))"}},{default:ig((()=>[ey(xm(Pre),{
class:Dh(["headers-card-title-icon",{"headers-card-title-icon--open":t}]),
icon:"Add",size:"sm"},null,8,["class"]),t?(Fb(),qb(Lb,{key:0
},[ry(" Hide Headers ")],64)):(Fb(),qb(Lb,{key:1
},[ry(" Show Headers ")],64))])),_:2},1024),ey(xm(Kx),null,{
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(e.headers,((t,n)=>(Fb(),Wb(p5e,{key:n,
breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,eventBus:e.eventBus,
header:xm($Se)(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"]]),f5e={
class:"parameter-item group/parameter-item"},m5e={
class:"parameter-item-name min-w-0"},g5e={key:1,class:"flex-1"},v5e=X2e(Hg({
__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},
eventBus:{},collapsableItems:{type:Boolean},options:{}},setup(e){
const t=Ty((()=>"schema"in e.parameter&&e.parameter.schema?$Se(e.parameter.schema):null)),n=Ty((()=>"content"in e.parameter&&e.parameter.content?e.parameter.content:null)),r=bm(Object.keys(n.value||{})[0]??""),a=Ty((()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null)),o=Ty((()=>{
const a=n.value?n.value?.[r.value]?.schema:t.value,o="deprecated"in e.parameter?e.parameter.deprecated:t.value?.deprecated,i="examples"in e.parameter?e.parameter.examples:{},s=t.value?.examples??[],l=[...Object.values({
...i,...n.value?.[r.value]?.examples}),...s];return{...$Se(a),deprecated:o,
..."example"in e.parameter&&$V(e.parameter.example)&&{
example:e.parameter.example},examples:l}
})),i=Ty((()=>Boolean(e.collapsableItems&&(n.value||a.value||t.value))))
;return(t,s)=>(Fb(),qb("li",f5e,[ey(xm(Gx),null,{
default:ig((({open:t})=>[i.value?(Fb(),Wb(xm(Yx),{key:0,
class:Dh(["parameter-item-trigger",{"parameter-item-trigger-open":t}])},{
default:ig((()=>[Jb("div",m5e,[ey(xm($A),{
class:Dh(["parameter-item-icon size-3 transition-transform duration-100",{
"rotate-90":t}]),weight:"bold"},null,8,["class"]),Jb("div",null,[ey(xm(Aoe),{
preset:"property",text:e.name
},null,8,["text"])])]),!t&&e.parameter.description?(Fb(),Wb(xm(Kre),{key:0,
class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",
value:e.parameter.description
},null,8,["value"])):(Fb(),qb("div",g5e)),Jb("div",{
class:Dh(["absolute top-[calc(9px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center",{
"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!t
}])},[s[1]||(s[1]=Jb("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)),i.value&&n.value?(Fb(),Wb(d5e,{key:0,modelValue:r.value,
"onUpdate:modelValue":s[0]||(s[0]=e=>r.value=e),content:n.value
},null,8,["modelValue","content"])):oy("",!0)],2)])),_:2
},1032,["class"])):oy("",!0),ey(xm(Kx),{
class:"parameter-item-container parameter-item-container-markdown",
static:!i.value},{
default:ig((()=>[i.value&&e.parameter.description?(Fb(),Wb(xm(Gre),{key:0,
class:"parameter-item-description",value:e.parameter.description
},null,8,["value"])):oy("",!0),a.value?(Fb(),Wb(h5e,{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"])):oy("",!0),ey(u3e,{
is:"div",breadcrumb:e.breadcrumb,compact:"",
description:i.value?"":e.parameter.description,eventBus:e.eventBus,
hideWriteOnly:!0,name:i.value?"":e.name,noncollapsible:!0,options:{
hideWriteOnly:!0,
orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,
orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},
required:"required"in e.parameter&&e.parameter.required,schema:o.value
},null,8,["breadcrumb","description","eventBus","name","options","required","schema"])])),
_:1},8,["static"])])),_:1})]))}}),[["__scopeId","data-v-b97d19d9"]]),b5e={key:0,
class:"mt-6"},y5e=["id"],O5e=["aria-labelledby"],w5e=Hg({__name:"ParameterList",
props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},
options:{}},setup(e){const t=Qg()
;return(n,r)=>e.parameters?.length?(Fb(),qb("div",b5e,[Jb("div",{id:xm(t),
class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"
},[Av(n.$slots,"title")],8,y5e),Jb("ul",{"aria-labelledby":xm(t),
class:"mb-3 list-none p-0 text-sm"
},[(Fb(!0),qb(Lb,null,Sv(e.parameters,(t=>(Fb(),Wb(v5e,{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,O5e)])):oy("",!0)
}}),x5e={key:0,"aria-label":"Request Body",class:"request-body",role:"group"
},k5e={class:"request-body-header"},S5e={class:"request-body-title"},_5e={
class:"flex items-center gap-2"},A5e={key:0,class:"request-body-required"},T5e={
key:0,class:"request-body-description"},E5e={key:0,class:"request-body-schema"
},C5e={key:1,class:"request-body-schema"},$5e=X2e(Hg({__name:"RequestBody",
props:{breadcrumb:{},requestBody:{},eventBus:{},options:{}},setup(e){
const t=Ty((()=>Object.keys(e.requestBody?.content??{}))),n=bm("application/json")
;e.requestBody?.content&&t.value[0]&&(n.value=t.value[0])
;const r=Ty((()=>$Se(e.requestBody?.content?.[n.value]?.schema))),a=Ty((()=>{
if(!r.value||!K8e(r.value))return null
;const t=a6e(r.value,r.value.discriminator,{hideReadOnly:!0,
orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,
orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst})
;if(t.length<=12)return null;const{properties:n,...a}=r.value;return n?{
visibleProperties:{...a,properties:r6e(t.slice(0,12),n)},collapsedProperties:{
...a,properties:r6e(t.slice(12),n)}}:null
})),o=Ty((()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required))
;return(t,i)=>e.requestBody&&o.value?(Fb(),
qb("div",x5e,[Jb("div",k5e,[Jb("div",S5e,[Av(t.$slots,"title",{},void 0,!0)]),Jb("div",_5e,[e.requestBody.required?(Fb(),
qb("div",A5e," required ")):oy("",!0),ey(d5e,{modelValue:n.value,
"onUpdate:modelValue":i[0]||(i[0]=e=>n.value=e),content:e.requestBody.content
},null,8,["modelValue","content"])]),e.requestBody.description?(Fb(),
qb("div",T5e,[ey(xm(Gre),{value:e.requestBody.description
},null,8,["value"])])):oy("",!0)]),a.value?(Fb(),qb("div",E5e,[ey(xm(g3e),{
breadcrumb:e.breadcrumb,compact:"",eventBus:e.eventBus,name:"Request Body",
noncollapsible:"",options:{hideReadOnly:!0,
orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,
orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},
schema:a.value.visibleProperties
},null,8,["breadcrumb","eventBus","options","schema"]),ey(xm(g3e),{
additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",eventBus:e.eventBus,
name:"Request Body",options:{hideReadOnly:!0,
orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,
orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},
schema:a.value.collapsedProperties
},null,8,["breadcrumb","eventBus","options","schema"])])):r.value?(Fb(),
qb("div",C5e,[ey(xm(g3e),{breadcrumb:e.breadcrumb,compact:"",
eventBus:e.eventBus,hideReadOnly:!0,name:"Request Body",noncollapsible:"",
options:{hideReadOnly:!0,
orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,
orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},schema:r.value
},null,8,["breadcrumb","eventBus","options","schema"])])):oy("",!0)])):oy("",!0)
}}),[["__scopeId","data-v-17941e59"]]),P5e=Hg({__name:"OperationParameters",
props:{breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},
options:{}},setup(e){const t=Ty((()=>(e.parameters??[]).reduce(((e,t)=>{
const n=$Se(t);var r
;return r=n,!0!==r?.["x-internal"]&&!0!==r?.["x-scalar-ignore"]&&e[n.in].push(n),
e}),{cookie:[],header:[],path:[],query:[]})))
;return(n,r)=>(Fb(),qb(Lb,null,[ey(w5e,{
breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,eventBus:e.eventBus,
options:e.options,parameters:t.value.path},{
title:ig((()=>[...r[0]||(r[0]=[ry("Path Parameters",-1)])])),_:1
},8,["breadcrumb","eventBus","options","parameters"]),ey(w5e,{
breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,eventBus:e.eventBus,
options:e.options,parameters:t.value.query},{
title:ig((()=>[...r[1]||(r[1]=[ry("Query Parameters",-1)])])),_:1
},8,["breadcrumb","eventBus","options","parameters"]),ey(w5e,{
breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,eventBus:e.eventBus,
options:e.options,parameters:t.value.header},{
title:ig((()=>[...r[2]||(r[2]=[ry("Headers",-1)])])),_:1
},8,["breadcrumb","eventBus","options","parameters"]),ey(w5e,{
breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,eventBus:e.eventBus,
options:e.options,parameters:t.value.cookie},{
title:ig((()=>[...r[3]||(r[3]=[ry("Cookies",-1)])])),_:1
},8,["breadcrumb","eventBus","options","parameters"]),e.requestBody?(Fb(),
Wb($5e,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,
eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{
title:ig((()=>[...r[4]||(r[4]=[ry("Body",-1)])])),_:1
},8,["breadcrumb","eventBus","options","requestBody"])):oy("",!0)],64))}}),I5e={
key:0,class:"mt-6"},D5e={"aria-label":"Responses",
class:"mb-3 list-none p-0 text-sm"},M5e=Hg({__name:"OperationResponses",props:{
responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},
options:{}},
setup:e=>(t,n)=>Object.keys(e.responses??{}).length?(Fb(),qb("div",I5e,[n[0]||(n[0]=Jb("div",{
class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"
},"Responses",-1)),Jb("ul",D5e,[(Fb(!0),qb(Lb,null,Sv(e.responses,((t,n)=>(Fb(),
Wb(v5e,{key:n,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,
eventBus:e.eventBus,name:n,options:e.options,parameter:xm($Se)(t)
},null,8,["breadcrumb","collapsableItems","eventBus","name","options","parameter"])))),128))])])):oy("",!0)
}),N5e={class:"group callback-list-item"},R5e={
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"
},L5e={
class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-3 font-bold group-open:whitespace-normal"
},B5e={class:"text-c-2 font-normal"},j5e={
class:"callback-operation-container flex flex-col gap-2"},U5e=X2e(Hg({
__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},
options:{}},
setup:e=>(t,n)=>(Fb(),qb("details",N5e,[Jb("summary",R5e,[ey(xm($A),{
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"}),ey(xm(H3e),{as:"span",class:"request-method py-0.75 font-bold",
method:e.method
},null,8,["method"]),Jb("div",L5e,[ry(Uh(e.name)+" ",1),Jb("span",B5e,Uh(e.url),1)])]),Jb("div",j5e,[ey(P5e,{
eventBus:e.eventBus,options:e.options,
parameters:e.callback.parameters?.map((e=>xm($Se)(e)))??[],
requestBody:xm($Se)(e.callback.requestBody)
},null,8,["eventBus","options","parameters","requestBody"]),ey(M5e,{
collapsableItems:!1,eventBus:e.eventBus,options:e.options,
responses:e.callback.responses},null,8,["eventBus","options","responses"])])]))
}),[["__scopeId","data-v-b94c2b8b"]]),z5e={"aria-label":"Callbacks",
class:"callbacks-list gap-3",role:"group"},Z5e=Hg({__name:"Callbacks",props:{
path:{},callbacks:{},eventBus:{},options:{}},setup(e){const t=Ty((()=>{
const t=[];return bUe(e.callbacks).forEach((([e,n])=>{
bUe($Se(n)).forEach((([n,r])=>{"object"==typeof r&&r&&bUe(r).forEach((([r,a])=>{
zV(r)&&t.push({name:e,url:n,method:r,callback:a})}))}))})),t}))
;return(n,r)=>(Fb(),qb("div",z5e,[r[0]||(r[0]=Jb("div",{
class:"callbacks-title text-c-1 my-3 text-lg font-medium"
}," Callbacks ",-1)),(Fb(!0),
qb(Lb,null,Sv(t.value,(({callback:t,method:n,name:r,url:a})=>(Fb(),Wb(U5e,{
key:`${r}-${a}-${n}`,callback:t,eventBus:e.eventBus,method:n,name:r,
options:e.options,path:e.path,url:a
},null,8,["callback","eventBus","method","name","options","path","url"])))),128))]))
}}),F5e=["method"],H5e=X2e(Hg({__name:"TestRequestButton",props:{id:{},
method:{},path:{},eventBus:{},exampleName:{}},setup(e){const t=()=>{const t={
id:e.id,...e.exampleName&&{exampleName:e.exampleName}}
;e.eventBus.emit("ui:open:client-modal",t)};return(n,r)=>(Fb(),qb("button",{
class:"show-api-client-button",method:e.method,type:"button",
onClick:zO(t,["stop"])},[ey(xm(FC),{class:"size-3",weight:"fill"
}),r[0]||(r[0]=Jb("span",null,"Test Request",-1)),ey(G4e,null,{
default:ig((()=>[ry("("+Uh(e.method)+" "+Uh(e.path)+")",1)])),_:1})],8,F5e))}
}),[["__scopeId","data-v-342ba62a"]]),Q5e=Hg({__name:"XBadges",props:{
position:{},badges:{}},setup(e){
const t=Ty((()=>Array.isArray(e.badges)?e.badges.filter((t=>t.position===e.position||"after"===e.position&&!t.position)):[]))
;return(e,n)=>t.value.length?(Fb(!0),qb(Lb,{key:0
},Sv(t.value,(e=>(Fb(),Wb(xm(S4e),{key:e.name,color:e.color},{
default:ig((()=>[ry(Uh(e.name),1)])),_:2},1032,["color"])))),128)):oy("",!0)}
}),V5e={class:"operation-title"},q5e={class:"operation-details"},W5e={
class:"endpoint-label"},X5e={class:"endpoint-label-path"},G5e={
class:"endpoint-label-name"},Y5e={key:1,class:"font-code text-sm"},K5e={
class:"endpoint-content"},J5e={class:"operation-details-card"},e7e={key:0,
class:"operation-details-card-item"},t7e={class:"operation-details-card-item"
},n7e={class:"operation-details-card-item"},r7e={key:1,
class:"operation-details-card-item"},a7e=X2e(Hg({__name:"ClassicLayout",props:{
id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},
isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},
selectedServer:{},selectedSecuritySchemes:{}},setup(e){
const t=Ty((()=>e.operation.summary||e.path||"")),n=Ty((()=>i8e(e.operation))),r=bm(""),{copyToClipboard:a}=Vqe()
;return(o,i)=>(Fb(),Wb(xm(D4e),{id:e.id,"aria-label":t.value,
class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"",
"onUpdate:modelValue":i[3]||(i[3]=t=>e.eventBus?.emit("toggle:nav-item",{
id:e.id,open:t}))},_v({title:ig((()=>[Jb("div",V5e,[Jb("div",q5e,[ey(xm(H3e),{
class:"endpoint-type",method:e.method,short:""},null,8,["method"]),ey(xm(J4e),{
class:"endpoint-anchor",
onCopyAnchorUrl:i[0]||(i[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))
},{default:ig((()=>[Jb("h3",W5e,[Jb("div",X5e,[ey(t5e,{
deprecated:xm(FG)(e.operation),path:e.path
},null,8,["deprecated","path"])]),Jb("div",G5e,Uh(t.value),1),xm(HG)(e.operation)?(Fb(),
Wb(xm(S4e),{key:0,class:Dh(["capitalize",xm(QG)(e.operation)])},{
default:ig((()=>[ry(Uh(xm(HG)(e.operation)),1)])),_:1
},8,["class"])):oy("",!0),e.isWebhook?(Fb(),Wb(xm(S4e),{key:1,
class:"font-code text-green flex w-fit items-center justify-center gap-1"},{
default:ig((()=>[ey(xm(AP),{weight:"bold"}),i[4]||(i[4]=ry("Webhook ",-1))])),
_:1})):oy("",!0),ey(xm(Q5e),{badges:e.operation["x-badges"],position:"before"
},null,8,["badges"])])])),_:1})])])])),actions:ig((({active:t})=>[ey(xm(Q5e),{
badges:e.operation["x-badges"],position:"after"
},null,8,["badges"]),e.options.hideTestRequestButton?oy("",!0):(Fb(),qb(Lb,{
key:0},[t&&!e.isWebhook?(Fb(),Wb(xm(H5e),{key:0,id:e.id,eventBus:e.eventBus,
exampleName:r.value,method:e.method,path:e.path
},null,8,["id","eventBus","exampleName","method","path"])):(Fb(),Wb(xm(FC),{
key:1,class:"endpoint-try-hint size-4.5"
}))],64)),e.options.showOperationId&&e.operation.operationId?(Fb(),
qb("span",Y5e,Uh(e.operation.operationId),1)):oy("",!0),ey(xm(Qre),{
class:"endpoint-copy p-0.5",icon:xm(HA),label:"Copy endpoint URL",size:"xs",
variant:"ghost",onClick:i[1]||(i[1]=zO((t=>xm(a)(e.path)),["stop"]))
},null,8,["icon"])])),
default:ig((()=>[Jb("div",K5e,[Jb("div",J5e,[Object.keys(n.value).length>0?(Fb(),
qb("div",e7e,[ey(d8e,{value:n.value
},null,8,["value"])])):oy("",!0),Jb("div",t7e,[ey(P5e,{eventBus:e.eventBus,
options:e.options,parameters:e.operation.parameters,
requestBody:xm($Se)(e.operation.requestBody)
},null,8,["eventBus","options","parameters","requestBody"])]),Jb("div",n7e,[ey(M5e,{
eventBus:e.eventBus,options:e.options,responses:e.operation.responses
},null,8,["eventBus","options","responses"])]),e.operation?.callbacks?(Fb(),
qb("div",r7e,[ey(Z5e,{callbacks:e.operation.callbacks,eventBus:e.eventBus,
options:e.options,path:e.path
},null,8,["callbacks","eventBus","options","path"])])):oy("",!0)]),e.operation.responses?(Fb(),
Wb(xm(u5e),{key:0,class:"operation-example-card",responses:e.operation.responses
},null,8,["responses"])):oy("",!0),Jb("div",null,[e.operation.externalDocs?(Fb(),
Wb(xm(m8e),{key:0},{default:ig((()=>[ey(xm(O8e),{value:e.operation.externalDocs
},null,8,["value"])])),_:1})):oy("",!0),ey(xm(K2),null,{
default:ig((()=>[ey(xm(u4e),{selectedExample:r.value,
"onUpdate:selectedExample":i[2]||(i[2]=e=>r.value=e),
class:"operation-example-card",clientOptions:e.clientOptions,
eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,
operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,
selectedClient:e.selectedClient,selectedServer:e.selectedServer
},null,8,["selectedExample","clientOptions","eventBus","isWebhook","method","operation","path","securitySchemes","selectedClient","selectedServer"])])),
_:1})])])])),_:2},[e.operation.description?{name:"description",
fn:ig((()=>[ey(xm(Gre),{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-55addca4"]]),o7e={key:0,
class:"agent-button-container flex"},i7e=X2e(Hg({__name:"AskAgentButton",
setup(e){const t=H2e(),n=bm("");function r(){
t.value?.openAgent(n.value),n.value=""}
return(e,a)=>xm(t)?.agentEnabled.value?(Fb(),qb("div",o7e,[ey(xm(u$),{
class:"size-3 shrink-0",weight:"fill"}),sg(Jb("input",{
"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:"ask-agent-scalar-input",
placeholder:"Ask AI Agent",
onKeydown:a[1]||(a[1]=FO(zO((e=>r()),["stop"]),["enter"]))
},null,544),[[CO,n.value]]),Jb("button",{class:"ask-agent-scalar-send",
type:"button",onClick:a[2]||(a[2]=e=>r())},[ey(xm(Z_),{class:"size-3",
weight:"bold"})])])):oy("",!0)}}),[["__scopeId","data-v-b5a61e43"]]),s7e={
class:"flex flex-row justify-between gap-1"},l7e={class:"flex gap-1"},c7e={
class:"flex gap-1"},u7e={class:"operation-details"},d7e={class:"examples"
},p7e=X2e(Hg({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},
clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},
operation:{},selectedServer:{},selectedSecuritySchemes:{}},setup(e){
const t=Ty((()=>e.operation.summary||e.path||"")),n=Qg(),r=Ty((()=>i8e(e.operation)))
;return(a,o)=>(Fb(),Wb(xm(E4e),{id:e.id,"aria-labelledby":xm(n),label:t.value,
tabindex:"-1",
onIntersecting:o[1]||(o[1]=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id
}))},{default:ig((()=>[ey(xm(Q4e),null,{
default:ig((()=>[Jb("div",s7e,[Jb("div",l7e,[e.options?.showOperationId&&e.operation.operationId?(Fb(),
Wb(xm(S4e),{key:0},{default:ig((()=>[ry(Uh(e.operation.operationId),1)])),_:1
})):oy("",!0),xm(HG)(e.operation)?(Fb(),Wb(xm(S4e),{key:1,
class:Dh(["capitalize",xm(QG)(e.operation)])},{
default:ig((()=>[ry(Uh(xm(HG)(e.operation)),1)])),_:1
},8,["class"])):oy("",!0),e.isWebhook?(Fb(),Wb(xm(S4e),{key:2,
class:"font-code text-green flex w-fit items-center justify-center gap-1"},{
default:ig((()=>[ey(xm(AP),{weight:"bold"}),o[2]||(o[2]=ry("Webhook ",-1))])),
_:1})):oy("",!0),ey(xm(Q5e),{badges:e.operation["x-badges"],position:"before"
},null,8,["badges"])]),Jb("div",c7e,[ey(xm(Q5e),{badges:e.operation["x-badges"],
position:"after"},null,8,["badges"])])]),Jb("div",{
class:Dh(xm(FG)(e.operation)?"deprecated":"")},[ey(xm(q4e),null,{
default:ig((()=>[ey(xm(J4e),{
onCopyAnchorUrl:o[0]||(o[0]=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}))
},{default:ig((()=>[ey(xm(W4e),{id:xm(n),level:3},{
default:ig((()=>[ry(Uh(t.value),1)])),_:1},8,["id"])])),_:1})])),_:1
})],2),ey(xm(L4e),null,{default:ig((()=>[ey(xm(N4e),null,{
default:ig((()=>[Jb("div",u7e,[ey(d8e,{value:r.value
},null,8,["value"]),ey(xm(Gre),{anchorPrefix:e.id,
"aria-label":"Operation Description",role:"group",transformType:"heading",
value:e.operation.description,withAnchors:"",withImages:""
},null,8,["anchorPrefix","value"]),ey(P5e,{breadcrumb:[e.id],
eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,
requestBody:xm($Se)(e.operation.requestBody)
},null,8,["breadcrumb","eventBus","options","parameters","requestBody"]),ey(M5e,{
breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,
eventBus:e.eventBus,options:e.options,responses:e.operation.responses
},null,8,["breadcrumb","collapsableItems","eventBus","options","responses"]),ey(xm(K2),null,{
default:ig((()=>[e.operation.callbacks?(Fb(),Wb(Z5e,{key:0,
callbacks:e.operation.callbacks,class:"mt-6",eventBus:e.eventBus,
options:e.options,path:e.path
},null,8,["callbacks","eventBus","options","path"])):oy("",!0)])),_:1})])])),_:1
}),ey(xm(N4e),null,{
default:ig((()=>[Jb("div",d7e,[e.operation.externalDocs?(Fb(),Wb(xm(m8e),{key:0
},{default:ig((()=>[ey(xm(O8e),{value:e.operation.externalDocs
},null,8,["value"])])),_:1})):oy("",!0),ey(xm(K2),null,{
default:ig((()=>[ey(xm(u4e),{clientOptions:e.clientOptions,eventBus:e.eventBus,
fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,
path:e.path,securitySchemes:e.selectedSecuritySchemes,
selectedClient:e.selectedClient,selectedServer:e.selectedServer},_v({
header:ig((()=>[ey(t5e,{
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:ig((({exampleName:t})=>[ey(i7e),e.options.hideTestRequestButton?oy("",!0):(Fb(),
Wb(xm(H5e),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,
path:e.path},null,8,["id","eventBus","exampleName","method","path"]))])),key:"0"
}]),1032,["clientOptions","eventBus","isWebhook","method","operation","path","securitySchemes","selectedClient","selectedServer"])])),
_:1}),ey(xm(K2),null,{default:ig((()=>[e.operation.responses?(Fb(),Wb(xm(u5e),{
key:0,responses:e.operation.responses,style:{"margin-top":"12px"}
},null,8,["responses"])):oy("",!0)])),_:1})])])),_:1})])),_:1})])),_:1})])),_:1
},8,["id","aria-labelledby","label"]))}
}),[["__scopeId","data-v-a892a6ae"]]),h7e=Hg({__name:"Operation",props:{id:{},
method:{},options:{},document:{},path:{},pathValue:{},server:{},
securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{
type:Boolean},selectedClient:{},eventBus:{},authStore:{}},setup(e){
const t=Ty((()=>{const t=$Se(e.pathValue?.[e.method]);if(!t)return null
;const n=rVe(e.pathValue?.parameters,t.parameters);return{...t,parameters:n}
})),n=Ty((()=>((...e)=>{
for(const t of e)if(t)if(Array.isArray(t))for(const e of t){const t=$Se(e)
;if(t?.url)return t}else{const e=$Se(t);if(e?.url)return e}return null
})(t.value?.servers??null,e.pathValue?.servers??null,e.server))),r=Ty((()=>((e,t,n,r,a={})=>{
const o=t?.security??e.security??[],i=wYe(n,r),s=new Set(o.map((e=>K3e(e)))),l=i.selectedSchemes[i.selectedIndex]
;if(l&&s.has(K3e(l)))return dqe(a,[l])
;for(const c of i.selectedSchemes)if(s.has(K3e(c)))return dqe(a,[c])
;return t?.security?.length&&!e?.["x-scalar-set-operation-security"]?dqe(a,o.slice(0,1)):[]
})(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(a,o)=>t.value?(Fb(),qb(Lb,{key:0
},["classic"===e.options.layout?(Fb(),Wb(a7e,{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"])):(Fb(),
Wb(p7e,{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)):oy("",!0)
}}),f7e=Hg({__name:"TraversedEntry",props:{authStore:{},level:{default:0},
entries:{},document:{},clientOptions:{},options:{},selectedServer:{},
securitySchemes:{},selectedClient:{},expandedItems:{},eventBus:{}},setup(e){
const t=e=>"tag"===e.type&&!0===e.isGroup,n=e=>"tag"===e.type&&!t(e)&&"models"!==e.id,r=e=>"operation"===e.type,a=e=>"webhook"===e.type,o=e=>"models"===e.type,i=e=>"model"===e.type
;function s(t){
return a(t)?e.document.webhooks?.[t.name]:e.document.paths?.[t.path]}
return(l,c)=>{const u=yv("TraversedEntry",!0)
;return Fb(!0),qb(Lb,null,Sv(e.entries,(l=>(Fb(),Wb(j3e,{id:l.id,
key:`${l.id}-${e.options.layout}`},{
default:ig((()=>[r(l)||a(l)?(Fb(),Wb(xm(j4e),{key:0,omit:0!==e.level},{
default:ig((()=>[ey(xm(h7e),{id:l.id,authStore:e.authStore,
clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,
isCollapsed:!e.expandedItems[l.id],isWebhook:a(l),method:l.method,
options:e.options,path:a(l)?l.name:l.path,pathValue:s(l),
securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,
server:e.selectedServer
},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","server"])])),
_:2},1032,["omit"])):n(l)?(Fb(),Wb(xm(Y3e),{key:1,eventBus:e.eventBus,
isCollapsed:!e.expandedItems[l.id],isLoading:!1,layout:e.options.layout,
moreThanOneTag:e.entries.filter(n).length>1,tag:l},{
default:ig((()=>["children"in l&&l.children?.length?(Fb(),Wb(u,{key:0,
authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,
entries:l.children,eventBus:e.eventBus,expandedItems:e.expandedItems,
level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,
selectedClient:e.selectedClient,selectedServer:e.selectedServer
},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])):oy("",!0)])),
_:2
},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(l)?(Fb(),
Wb(u,{key:2,authStore:e.authStore,clientOptions:e.clientOptions,
document:e.document,entries:l.children||[],eventBus:e.eventBus,
expandedItems:e.expandedItems,level:e.level+1,options:e.options,
securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,
selectedServer:e.selectedServer
},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])):o(l)&&e.document.components?.schemas?(Fb(),
Wb(Z3e,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],
layout:e.options.layout},{default:ig((()=>[ey(u,{authStore:e.authStore,
clientOptions:e.clientOptions,document:e.document,entries:l.children||[],
eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,
options:e.options,securitySchemes:e.securitySchemes,
selectedClient:e.selectedClient,selectedServer:e.selectedServer
},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])])),
_:2
},1032,["id","eventBus","isCollapsed","layout"])):i(l)&&e.document.components?.schemas?.[l.name]?(Fb(),
Wb(w3e,{key:4,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],
name:l.name,options:e.options,
schema:xm($Se)(e.document.components.schemas[l.name])
},null,8,["id","eventBus","isCollapsed","name","options","schema"])):oy("",!0)])),
_:2},1032,["id"])))),128)}}}),m7e={key:0,class:"plugin-view"},g7e=Hg({
__name:"RenderPlugins",props:{viewName:{},options:{}},setup(e){
const{getViewComponents:t}=c8e(),n=t(e.viewName)
;return(t,r)=>xm(n).length?(Fb(),
qb("div",m7e,[(Fb(!0),qb(Lb,null,Sv(xm(n),((t,n)=>(Fb(),Wb(xm(K2),{key:n},{
default:ig((()=>[t.renderer?(Fb(),Wb(wv(t.renderer),cy({key:0,ref_for:!0},{
component:t.component,options:e.options,...t.props
}),null,16)):(Fb(),Wb(wv(t.component),cy({key:1,ref_for:!0},{options:e.options,
...t.props}),null,16))])),_:2},1024)))),128))])):oy("",!0)}}),v7e={
class:"section-flare"};const b7e=X2e({},[["render",function(e,t){
return Fb(),qb("div",v7e,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-2a9c8c02"]]),y7e={class:"narrow-references-container"
},O7e={key:1,class:"h-dvh"},w7e=Hg({__name:"Content",props:{infoSectionId:{},
options:{},document:{},authStore:{},xScalarDefaultClient:{},items:{},
expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}
},setup(e){
const t=Ty((()=>bYe(nVe(e.options.hiddenClients)))),n=Ty((()=>i8e(e.document))),r=Ty((()=>i8e(e.document?.info))),a=Ty((()=>oVe(e.options?.servers??e.document?.servers,{
baseServerUrl:e.options?.baseServerURL,
documentUrl:e.document?.["x-scalar-original-source-url"]
}))),o=Ty((()=>aVe(e.document??null,a.value))),i=Ty((()=>xUe(e.document?.components?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,e.document?.["x-scalar-navigation"]?.name??"")))
;return(s,l)=>(Fb(),
qb(Lb,null,[ey(xm(b7e)),Jb("div",y7e,[Av(s.$slots,"start"),ey(j3e,{
id:e.infoSectionId},{"empty-state":ig((()=>[Av(s.$slots,"empty-state")])),
default:ig((()=>[ey(xm(j8e),{id:e.infoSectionId,
documentDownloadType:e.options.documentDownloadType,documentExtensions:n.value,
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:ig((()=>[ey(xm(K2),null,{
default:ig((()=>[a.value?.length?(Fb(),Wb(xm(z8e),{key:0,
class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"
},{default:ig((()=>[ey(xm(q8e),{eventBus:e.eventBus,selectedServer:o.value,
servers:a.value},null,8,["eventBus","selectedServer","servers"])])),_:1
})):oy("",!0)])),_:1}),ey(xm(K2),null,{
default:ig((()=>[e.document?(Fb(),Wb(xm(z8e),{key:0,
class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"
},{default:ig((()=>[ey(xm(Y8e),{authStore:e.authStore,document:e.document,
environment:e.environment,eventBus:e.eventBus,options:e.options,
securitySchemes:i.value,selectedServer:o.value
},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])])),
_:1})):oy("",!0)])),_:1}),ey(xm(K2),null,{default:ig((()=>[t.value.length?(Fb(),
Wb(xm(z8e),{key:0,class:"introduction-card-item scalar-reference-intro-clients"
},{default:ig((()=>[ey(xm(k4e),{
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})):oy("",!0)])),_:1})])),_:1
},8,["id","documentDownloadType","documentExtensions","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","oasVersion"])])),
_:3},8,["id"]),e.items.length&&e.document?(Fb(),Wb(f7e,{key:0,
authStore:e.authStore,clientOptions:t.value,document:e.document,entries:e.items,
eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,
securitySchemes:i.value,selectedClient:e.xScalarDefaultClient,
selectedServer:o.value
},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedServer"])):oy("",!0),ey(xm(g7e),{
options:e.options,viewName:"content.end"
},null,8,["options"]),Av(s.$slots,"end"),xm(C3e)?oy("",!0):(Fb(),
qb("div",O7e))])],64))}}),x7e={
class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"
},k7e={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},S7e={
class:"flex h-6 items-center gap-1 pl-1"},_7e=Hg({__name:"MobileHeader",props:{
breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},
emits:["toggleSidebar"],setup(e,{emit:t}){
const n=t,{mediaQueries:r}=NAe(),a=d_({
base:"items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10",
variants:{open:{true:"h-(--refs-sidebar-height) custom-scrollbar flex flex-col"
},lg:{true:"hidden [grid-area:header]"}}})
;return(t,o)=>xm(r).lg.value?Av(t.$slots,"sidebar",Mh(cy({key:0},{
sidebarClasses:"sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"
}))):(Fb(),qb("div",{key:1,class:Dh(["t-doc__header",xm(a)({
open:e.isSidebarOpen,lg:xm(r).lg.value})])
},[Jb("header",x7e,[e.showSidebar?(Fb(),Wb(xm(Qre),{key:0,
icon:e.isSidebarOpen?xm(DP):xm(lC),
label:e.isSidebarOpen?"Close Menu":"Open Menu",size:"md",
onClick:o[0]||(o[0]=e=>n("toggleSidebar"))
},null,8,["icon","label"])):oy("",!0),e.showSidebar?(Fb(),
qb("span",k7e,Uh(e.breadcrumb),1)):Av(t.$slots,"search",{key:2
}),Jb("div",S7e,[Av(t.$slots,"actions")])]),e.isSidebarOpen?Av(t.$slots,"sidebar",Mh(cy({
key:0},{
sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"
}))):oy("",!0)],2))}}),A7e={key:0,class:"document-selector p-3 pb-0"},T7e={
class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",
type:"button"},E7e={class:"overflow-hidden text-base text-ellipsis"},C7e=Hg({
__name:"DocumentSelector",props:{options:{},modelValue:{}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,a=Ty((()=>n.options.map((e=>({id:e.id,label:e.label
}))))),o=Ty((()=>a.value.find((e=>e.id===n.modelValue))))
;return(t,n)=>e.options.length>1?(Fb(),qb("div",A7e,[ey(xm(Wre),{
modelValue:o.value,options:a.value,resize:"",
"onUpdate:modelValue":n[0]||(n[0]=e=>r("update:modelValue",e.id))},{
default:ig((({open:e})=>[Jb("button",T7e,[Jb("span",E7e,Uh(o.value?.label||"Select API"),1),ey(xm(kA),{
class:Dh(["size-3 text-current transition-transform",{"rotate-180":e}]),
weight:"bold"},null,8,["class"])])])),_:1
},8,["modelValue","options"])])):oy("",!0)}})
;const $7e=e=>"object"==typeof e&&null!==e&&!("$ref"in e&&"string"==typeof e.$ref)
;function P7e(e){const t=["Body"],n=$Se(e?.schema),r=n?.properties
;return r&&Object.keys(r).forEach((a=>{if(!e.schema)return;t.push(function(e,t){
let n=e;const r=t.required?.includes(e);n+=r?" REQUIRED ":" optional "
;const a=$Se(t.properties?.[e])
;return a&&(n+=a.type,a.description&&(n+=" "+a.description)),n}(a,n))
;const o=$Se(r[a])
;"object"===o.type&&Boolean(o.properties)&&o.properties&&Object.keys(o.properties).forEach((e=>{
t.push(`${e} ${$Se(o.properties?.[e])?.type}`)}))})),t}function I7e(e){
const t=[];return function n(r){r.forEach((r=>{!function(e,t,n){
if("operation"===e.type){
const r=$Se(n?.paths?.[e.path]?.[e.method])??{},a=function(e){try{
const t=$Se(e?.requestBody)?.content?.["application/json"]
;if(!t)throw new Error("Body not found");return P7e(t)}catch(t){return!1}
}(r)||function(e){const t={path:[],query:[],header:[],cookie:[],body:[],
formData:[]},n=e.parameters??[];return n&&n.forEach((e=>{
$7e(e)&&("object"==typeof e&&null!==e&&"$ref"in e||("path"===e.in?t.path.push(e):"query"===e.in?t.query.push(e):"header"===e.in?t.header.push(e):"cookie"===e.in?t.cookie.push(e):"body"===e.in?t.body.push(e):"formData"===e.in&&t.formData.push(e)))
})),t}(r),o="boolean"!=typeof a?a:null;return void t.push({type:"operation",
title:e.title,id:e.id,description:r.description||"",method:e.method,path:e.path,
body:o||"",operationId:r.operationId,entry:e})}if("webhook"===e.type){
const r=$Se(n?.webhooks?.[e.name]?.[e.method])??{};return void t.push({id:e.id,
type:"webhook",title:e.title,description:"Webhook",method:e.method,
body:r.description||"",operationId:r.operationId,entry:e})}if("model"===e.type){
const r=$Se(n?.components?.schemas?.[e.name]),a=r?.description??""
;return void t.push({type:"model",title:e.title,description:"Model",id:e.id,
body:a,entry:e})}if("models"===e.type)return void t.push({id:e.id,
type:"heading",title:"Models",description:"Heading",body:"",entry:e})
;if("tag"===e.type&&!0===e.isWebhooks)return void t.push({id:e.id,
type:"heading",title:"Webhooks",description:"Heading",body:"",entry:e})
;if("tag"===e.type&&!1===e.isGroup)return void t.push({id:e.id,title:e.title,
description:e.description||"",type:"tag",body:"",entry:e})
;if("tag"===e.type&&!0===e.isGroup)return void t.push({id:e.id,title:e.title,
description:"Tag Group",type:"tag",body:"",entry:e});if("text"===e.type)t.push({
id:e.id,type:"heading",title:e.title??"",description:"Heading",body:"",entry:e})
}(r,t,e),"children"in r&&r.children&&n(r.children)}))
}(e?.["x-scalar-navigation"]?.children??[]),t}function D7e(e){const t=Ty((()=>{
const t=new Tke([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3
},{name:"body",weight:.2},{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});return t.setCollection(I7e(km(e))),t})),n=bm("");return{
results:Ty((()=>{if(0!==n.value.length)return t.value.search(n.value,{limit:25})
;return t.value._docs.slice(0,25).map(((e,t)=>({item:e,refIndex:t})))})),query:n
}}const M7e={class:"sr-only"},N7e={class:"inline-flex items-center gap-1"},R7e={
class:"sr-only"},L7e=Hg({__name:"SearchResult",props:{id:{},isSelected:{
type:Boolean},result:{}},setup(e){const t={heading:B$,model:gA,operation:P$,
tag:S$,webhook:P$},n={heading:"Heading",operation:"Operation",tag:"Tag",
model:"Model",webhook:"Webhook"};return(r,a)=>(Fb(),Wb(xm(Tae),{id:e.id,
icon:t[e.result.item.type],selected:e.isSelected},_v({
default:ig((()=>[Jb("span",{class:Dh({
"text-decoration-line":"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated
})
},[Jb("span",M7e,[ry(Uh(n[e.result.item.type])+": ",1),"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated?(Fb(),
qb(Lb,{key:0
},[ry(" (Deprecated) ")],64)):oy("",!0)]),ry(" "+Uh(e.result.item.title)+" ",1),a[0]||(a[0]=Jb("span",{
class:"sr-only"},",",-1))],2)])),_:2
},["webhook"!==e.result.item.type&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{
name:"description",
fn:ig((()=>[Jb("span",N7e,["operation"===e.result.item.type?(Fb(),qb(Lb,{key:0
},[ey(xm(FIe),{"aria-hidden":"true",method:e.result.item.method??"get"
},null,8,["method"]),Jb("span",R7e," HTTP Method: "+Uh(e.result.item.method??"get"),1)],64)):oy("",!0),a[1]||(a[1]=Jb("span",{
class:"sr-only"},"Path: ",-1)),ry(" "+Uh(e.result.item.path),1)])])),key:"0"
}:e.result.item.description?{name:"description",
fn:ig((()=>[a[2]||(a[2]=Jb("span",{class:"sr-only"
},"Description: ",-1)),ry(" "+Uh(e.result.item.description),1)])),key:"1"
}:void 0]),1032,["id","icon","selected"]))}}),B7e={class:"mb-0 flex flex-col",
role:"search"},j7e=X2e(Hg({__name:"SearchModal",props:{modalState:{},
document:{},eventBus:{}},setup(e){
const t=e,n=qG(),r=`${n}-search-result`,a=`${n}-search-instructions`,{query:o,results:i}=D7e((()=>t.document)),s=bm(void 0)
;mg((()=>t.modalState.open),(e=>{e&&(o.value="")}));const l=e=>{
const t="up"===e?-1:1,n=i.value.length
;"number"==typeof s.value?s.value=(s.value+t+n)%n:s.value=-1===t?n-1:0}
;function c(e){if("number"!=typeof e||!i.value[e])return;const n=i.value[e]
;t.modalState.hide(),t.eventBus.emit("scroll-to:nav-item",{id:n.item.id})}
const u=Ty((()=>{const e=i.value[s.value??-1]
;return e?`search-result-${e.item.id}`:void 0}));return(t,n)=>(Fb(),Wb(xm(Loe),{
"aria-label":"Reference Search",state:e.modalState,variant:"search"},{
default:ig((()=>[Jb("div",B7e,[ey(xm(yae),{modelValue:xm(o),
"onUpdate:modelValue":n[0]||(n[0]=e=>vm(o)?o.value=e:null),
"aria-activedescendant":u.value,"aria-autocomplete":"list","aria-controls":r,
"aria-describedby":a,role:"combobox",onBlur:n[1]||(n[1]=e=>s.value=void 0),
onKeydown:[n[2]||(n[2]=FO(zO((e=>l("down")),["stop","prevent"]),["down"])),n[3]||(n[3]=FO(zO((()=>c(s.value)),["stop","prevent"]),["enter"])),n[4]||(n[4]=FO(zO((e=>l("up")),["stop","prevent"]),["up"]))]
},null,8,["modelValue","aria-activedescendant"])]),ey(xm(Eae),{id:r,
"aria-label":"Reference Search Results",class:"custom-scroll p-1 pt-0",
noResults:!xm(i).length},{query:ig((()=>[ry(Uh(xm(o)),1)])),
default:ig((()=>[(Fb(!0),qb(Lb,null,Sv(xm(i),((e,t)=>(Fb(),Wb(L7e,{
id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:s.value===t,result:e,
onClick:zO((()=>c(t)),["prevent"])
},null,8,["id","isSelected","result","onClick"])))),128))])),_:1
},8,["noResults"]),Jb("div",{id:a,class:"ref-search-meta"
},[...n[5]||(n[5]=[Jb("span",{"aria-hidden":"true",class:"contents"
},[Jb("span",null,"↑↓ Navigate"),Jb("span",null,"⏎ Select")],-1),Jb("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"]]),U7e=Hg({
__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"
},hideModels:{type:Boolean,default:!1},document:{},eventBus:{}},setup(e){
const t=bm(),n=Noe(),r=t=>{
(u4()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),
t.stopPropagation(),n.open?n.hide():n.show())};function a(){n.show()}
return mg((()=>n.open),(async(e,n)=>{!e&&n&&(await Xm(),t.value?.$el.focus())
})),
cv((()=>window.addEventListener("keydown",r))),pv((()=>window.removeEventListener("keydown",r))),
(r,o)=>(Fb(),qb(Lb,null,[e.forceIcon?(Fb(),Wb(xm(Qre),{key:0,icon:xm(xC),
label:"Search",onClick:a},null,8,["icon"])):(Fb(),Wb(xm(Jae),{key:1,
ref_key:"button",ref:t,class:Dh(["w-full",r.$attrs.class]),onClick:a},{
shortcut:ig((()=>[xm(u4)()?(Fb(),qb(Lb,{key:0},[o[0]||(o[0]=Jb("span",{
class:"sr-only"},"Command",-1)),o[1]||(o[1]=Jb("span",{"aria-hidden":"true"
},"⌘",-1))],64)):(Fb(),qb(Lb,{key:1},[o[2]||(o[2]=Jb("span",{class:"sr-only"
},"CTRL",-1)),o[3]||(o[3]=Jb("span",{"aria-hidden":"true"
},"⌃",-1))],64)),ry(" "+Uh(e.searchHotKey),1)])),
default:ig((()=>[o[4]||(o[4]=Jb("span",{class:"sr-only"
},"Open Search",-1)),o[5]||(o[5]=Jb("span",{"aria-hidden":"true",
class:"sidebar-search-placeholder"}," Search ",-1))])),_:1
},8,["class"])),ey(j7e,{document:e.document,eventBus:e.eventBus,
hideModels:e.hideModels,modalState:xm(n)
},null,8,["document","eventBus","hideModels","modalState"])],64))}}),z7e=Hg({
__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}
},emits:["update:modelValue"],setup(e){const t={label:"Modern",value:"modern"
},n={label:"Classic",value:"classic"},r=[t,n],a=tb(e,"modelValue"),o=Ty({
get:()=>"modern"===a.value?t:n,set:e=>a.value=e.value})
;return(e,t)=>(Fb(),Wb(xm(WP),{modelValue:o.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),options:r
},null,8,["modelValue"]))}}),Z7e=Hg({
__name:"ApiReferenceToolbarConfigLayoutOptions",props:Bv({configuration:{}},{
modelValue:{default:{}},modelModifiers:{}}),emits:["update:modelValue"],
setup(e){const t=tb(e,"modelValue");function n(n,r=!1){
return t.value[n]??e.configuration?.[n]??r}function r(e,n,r=!1){t.value=n!==r?{
...t.value,[e]:n
}:Object.fromEntries(Object.entries(t.value).filter((([t])=>e!==t)))}
return(e,t)=>(Fb(),Wb(xm(qP),null,{default:ig((()=>[ey(xm(xoe),{
modelValue:n("showSidebar",!0),
"onUpdate:modelValue":t[0]||(t[0]=e=>r("showSidebar",!!e,!0))},{
default:ig((()=>[...t[9]||(t[9]=[ry(" Show Sidebar ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("defaultOpenAllTags"),
"onUpdate:modelValue":t[1]||(t[1]=e=>r("defaultOpenAllTags",!!e))},{
default:ig((()=>[...t[10]||(t[10]=[ry(" Default Open All Tags ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("expandAllModelSections"),
"onUpdate:modelValue":t[2]||(t[2]=e=>r("expandAllModelSections",!!e))},{
default:ig((()=>[...t[11]||(t[11]=[ry(" Expand All Model Sections ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("expandAllResponses"),
"onUpdate:modelValue":t[3]||(t[3]=e=>r("expandAllResponses",!!e))},{
default:ig((()=>[...t[12]||(t[12]=[ry(" Expand All Responses ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("hideClientButton"),
"onUpdate:modelValue":t[4]||(t[4]=e=>r("hideClientButton",!!e))},{
default:ig((()=>[...t[13]||(t[13]=[ry(" Hide Client Button ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("hideDarkModeToggle"),
"onUpdate:modelValue":t[5]||(t[5]=e=>r("hideDarkModeToggle",!!e))},{
default:ig((()=>[...t[14]||(t[14]=[ry(" Hide Dark Mode Toggle ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("hideModels"),
"onUpdate:modelValue":t[6]||(t[6]=e=>r("hideModels",!!e))},{
default:ig((()=>[...t[15]||(t[15]=[ry(" Hide Models ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("hideSearch"),
"onUpdate:modelValue":t[7]||(t[7]=e=>r("hideSearch",!!e))},{
default:ig((()=>[...t[16]||(t[16]=[ry(" Hide Search ",-1)])])),_:1
},8,["modelValue"]),ey(xm(xoe),{modelValue:n("hideTestRequestButton"),
"onUpdate:modelValue":t[8]||(t[8]=e=>r("hideTestRequestButton",!!e))},{
default:ig((()=>[...t[17]||(t[17]=[ry(" Hide Test Request Button ",-1)])])),_:1
},8,["modelValue"])])),_:1}))}}),F7e={class:"min-w-0 flex-1 truncate text-left"
},H7e={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},Q7e=Hg({
__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},
emits:["update:modelValue"],setup(e){
const t=tb(e,"modelValue"),n=Ty((()=>vAe.filter((e=>"none"!==e)).map((e=>({id:e,
label:bAe[e],css:yAe[e].theme}))))),r=Ty({get:()=>{const e=t.value??"default"
;return n.value.find((t=>t.id===e))??n.value[0]},set:e=>t.value=e.id})
;return(e,t)=>(Fb(),Wb(xm(e0),{modelValue:r.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),options:n.value,resize:""},{
default:ig((({open:e})=>[ey(xm(FP),null,{
default:ig((()=>[Jb("div",F7e,Uh(r.value.label),1),ey(xm(voe),{class:"mr-2",
css:r.value.css},null,8,["css"]),ey(xm(kA),{
class:Dh(["size-3.5 transition-transform",{"rotate-180":e}])
},null,8,["class"])])),_:2},1024)])),
option:ig((({selected:e,option:t})=>[ey(xm(sK),{selected:e
},null,8,["selected"]),Jb("span",H7e,Uh(t.label),1),ey(xm(voe),{css:t.css
},null,8,["css"])])),_:1},8,["modelValue","options"]))}}),V7e={
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"},q7e={
class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},W7e={
class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},X7e=Hg({
__name:"ApiReferenceToolbarPopover",setup:e=>(e,t)=>(Fb(),Wb(xm(vae),{
class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",
teleport:""},{default:ig((({open:t})=>[Av(e.$slots,"button",{open:t
},(()=>[Jb("button",V7e,[Av(e.$slots,"label"),ey(xm(kA),{class:Dh(["size-3",{
"rotate-180":t}])},null,8,["class"])])]))])),
popover:ig((n=>[Jb("div",q7e,[Av(e.$slots,"default",Mh(ty(n)))]),Jb("div",W7e,[ey(xm(WE),{
class:"size-3.5 shrink-0"
}),Jb("div",null,[Av(e.$slots,"info",{},(()=>[t[0]||(t[0]=ry(' "',-1)),Av(e.$slots,"label"),t[1]||(t[1]=ry('" will only appear when running on localhost. ',-1))]))])])])),
backdrop:ig((()=>[ey(xm(KJ),{class:"bg-b-2 rounded-lg"})])),_:3}))}),G7e={
class:"flex flex-col gap-4"},Y7e=Hg({__name:"ApiReferenceToolbarConfig",
props:Bv({configuration:{}},{overrides:{},overridesModifiers:{}}),
emits:["update:overrides"],setup(e){const t=tb(e,"overrides"),n=Ty((()=>VG({
...t.value,...e.configuration,...t.value}))),r=Ty({
get:()=>t.value?.theme??e.configuration?.theme??"default",set:e=>t.value={
...t.value,theme:e}}),a=Ty({
get:()=>t.value?.layout??e.configuration?.layout??"modern",set:e=>t.value={
...t.value,layout:e}});return(o,i)=>(Fb(),Wb(X7e,{class:"w-120"},{
label:ig((()=>[...i[3]||(i[3]=[ry("Configure",-1)])])),
default:ig((()=>[ey(xm(Ioe),null,{
label:ig((()=>[...i[4]||(i[4]=[ry("Scalar Configuration",-1)])])),
default:ig((()=>[ey(xm(VY),{
class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:n.value,
lang:"json"},null,8,["content"])])),_:1}),Jb("div",G7e,[ey(xm(l4),null,{
label:ig((()=>[...i[5]||(i[5]=[ry("Theme",-1)])])),default:ig((()=>[ey(Q7e,{
modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=e=>r.value=e)
},null,8,["modelValue"])])),_:1}),ey(xm(l4),null,{
label:ig((()=>[...i[6]||(i[6]=[ry("Layout",-1)])])),default:ig((()=>[ey(z7e,{
modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=e=>a.value=e)
},null,8,["modelValue"])])),_:1}),ey(xm(l4),{is:"div"},{
label:ig((()=>[...i[7]||(i[7]=[ry("Layout Options",-1)])])),
default:ig((()=>[ey(Z7e,{modelValue:t.value,
"onUpdate:modelValue":i[2]||(i[2]=e=>t.value=e),configuration:e.configuration
},null,8,["modelValue","configuration"])])),_:1})])])),_:1}))}}),K7e={
class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"
};const J7e=X2e({},[["render",function(e,t){
return Fb(),qb("p",K7e,[Av(e.$slots,"default")])
}]]),e9e="https://registry.scalar.com",t9e=`${e9e}/share`,n9e="https://api.scalar.com",r9e=`${n9e}/core/share/upload/apis`,a9e="https://dashboard.scalar.com",o9e=`${a9e}/register`
;async function i9e(e){const t=JSON.stringify({document:e
}),n=await fetch(tq("https://proxy.scalar.com",r9e),{method:"POST",headers:{
"Content-Type":"application/json"},body:t})
;if(!n.ok)throw new Error(` Failed to generate temporary link, server responded with ${n.status}`)
;const r=await n.json();if(!function(e){
return!!e&&"object"==typeof e&&"url"in e&&"string"==typeof e.url
}(r))throw new Error("Failed to generate temporary link, invalid response from server")
;return r.url}const s9e=Hg({__name:"ApiReferenceToolbarRegisterButton",
props:Bv({workspace:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),
emits:["update:url"],setup(e){const t=tb(e,"url"),{toast:n}=gUe(),r=Doe()
;function a(t){const n=new URL(o9e)
;n.searchParams.set("url",t),e.sdks.forEach((e=>n.searchParams.append("sdk",e))),
window.open(n.toString(),"_blank")}async function o(){
if(r.isLoading||!e.workspace)return;if(t.value)return void a(t.value);r.start()
;const o=e.workspace.exportActiveDocument("json")
;if(!o)return n("Unable to export active document","error"),
void(await r.invalidate());try{
t.value=await i9e(o),await r.validate(),a(t.value),await Xm(),await r.clear()
}catch(i){const e=i instanceof Error?i.message:"An unknown error occurred"
;n(e,"error"),await r.invalidate()}}return(e,t)=>(Fb(),Wb(xm(O_),{
class:"h-auto p-2.5",loader:xm(r),onClick:o},{
default:ig((()=>[Av(e.$slots,"default",{},(()=>[t[0]||(t[0]=ry("Generate",-1))]))])),
_:3},8,["loader"]))}}),l9e={class:"inline-flex items-center gap-2"},c9e=Hg({
__name:"ApiReferenceToolbarSdks",props:{workspace:{}},setup(e){const t=[{
key:"typescript",label:"Typescript",icon:"programming-language-typescript"},{
key:"python",label:"Python",icon:"programming-language-python"},{key:"csharp",
label:"C#",icon:"programming-language-csharp"},{key:"java",label:"Java",
icon:"programming-language-java"},{key:"ruby",label:"Ruby",
icon:"programming-language-ruby"},{key:"php",label:"PHP",
icon:"programming-language-php"},{key:"go",label:"Go",
icon:"programming-language-go"}],n=bm([]);return(r,a)=>(Fb(),Wb(X7e,{
class:"w-110"},{label:ig((()=>[...a[0]||(a[0]=[ry("Generate SDKs",-1)])])),
default:ig((()=>[ey(xm(Ioe),null,{
label:ig((()=>[...a[1]||(a[1]=[ry("Select Languages",-1)])])),
default:ig((()=>[ey(xm(qP),null,{
default:ig((()=>[(Fb(),qb(Lb,null,Sv(t,(({key:e,label:t,icon:r})=>ey(xm(xoe),{
key:e,modelValue:n.value.includes(e),
"onUpdate:modelValue":t=>n.value=t?[...n.value,e]:n.value.filter((t=>t!==e))},{
default:ig((()=>[Jb("span",l9e,[ey(xm(Pre),{icon:r,class:"text-c-2 size-3.5"
},null,8,["icon"]),ry(" "+Uh(t),1)])])),_:2
},1032,["modelValue","onUpdate:modelValue"]))),64))])),_:1}),ey(s9e,{
sdks:n.value,workspace:e.workspace},null,8,["sdks","workspace"]),ey(J7e,null,{
default:ig((()=>[...a[2]||(a[2]=[ry(" Generating SDKs is a paid feature starting at $100/mo, learn more in our ",-1),Jb("a",{
href:"https://scalar.com/products/sdks/getting-started",target:"_blank"
}," guides",-1),ry(". ",-1)])])),_:1})])),_:1})])),_:1}))}}),u9e={
class:"text-c-2 grid grid-cols-2 gap-2.5 font-medium"},d9e=Hg({
__name:"ApiReferenceToolbarShareRegister",props:{workspace:{}},setup(e){
const t=[{icon:TE,label:"Custom Domains"},{icon:iE,label:"GitHub Sync"},{
icon:IT,label:"Markdown/MDX"},{icon:mC,label:"Password Protection"},{icon:yP,
label:"Spectral Linting"},{icon:gA,label:"JSON Schema Support"}]
;return(n,r)=>(Fb(),qb(Lb,null,[Jb("ul",u9e,[(Fb(),qb(Lb,null,Sv(t,(e=>Jb("li",{
key:e.label,class:"flex items-center gap-2"},[(Fb(),Wb(wv(e.icon),{
class:"text-c-3 size-3.5",weight:"bold"
})),ry(" "+Uh(e.label),1)]))),64))]),ey(s9e,{workspace:e.workspace},{
default:ig((()=>[...r[0]||(r[0]=[ry(" Deploy on Scalar ",-1)])])),_:1
},8,["workspace"]),ey(J7e,null,{
default:ig((()=>[...r[1]||(r[1]=[ry(" Uploading documents to the Scalar Registry is a Premium feature. See what else is included in our ",-1),Jb("a",{
href:"https://scalar.com/",target:"_blank"}," guides",-1),ry(". ",-1)])])),_:1
})],64))}}),p9e=Hg({__name:"ApiReferenceToolbarShareTemporary",props:Bv({
workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){
const{toast:t}=gUe(),n=Doe(),r=tb(e,"url");async function a(){
if(n.isLoading||!e.workspace||r.value)return;n.start()
;const a=e.workspace.exportActiveDocument("json")
;if(!a)return t("Unable to export active document","error"),
void(await n.invalidate());try{
r.value=await i9e(a),await o(r.value),await n.validate()}catch(i){
const e=i instanceof Error?i.message:"An unknown error occurred"
;t(e,"error"),await n.invalidate()}}const{copyToClipboard:o}=Vqe()
;return(e,t)=>(Fb(),qb(Lb,null,[ey(xm(hoe),{modelValue:r.value,
placeholder:`${xm(t9e)}/apis/...`,readonly:"",
onClick:t[1]||(t[1]=e=>r.value&&xm(o)(r.value))},_v({_:2},[r.value?{
name:"aside",fn:ig((()=>[ey(xm(Qre),{class:"-m-1.5 -ml-1",icon:xm(HA),
label:"Copy link to clipboard",size:"sm",onClick:t[0]||(t[0]=e=>xm(o)(r.value))
},null,8,["icon"])])),key:"0"
}:void 0]),1032,["modelValue","placeholder"]),ey(xm(O_),{class:"h-auto p-2.5",
disabled:!!r.value,loader:xm(n),variant:"outlined",onClick:a},{
default:ig((()=>[...t[2]||(t[2]=[ry(" Generate ",-1)])])),_:1
},8,["disabled","loader"]),ey(J7e,{class:"-mt-1"},{
default:ig((()=>[...t[3]||(t[3]=[ry(" Shared documents will automatically be deleted after 7 days. ",-1)])])),
_:1})],64))}}),h9e=Hg({__name:"ApiReferenceToolbarShare",props:{workspace:{}},
setup:e=>(t,n)=>(Fb(),Wb(X7e,{class:"w-120"},{
label:ig((()=>[...n[0]||(n[0]=[ry("Share",-1)])])),
default:ig((()=>[ey(xm(Ioe),null,{
label:ig((()=>[...n[1]||(n[1]=[ry("Temporary Link",-1)])])),
default:ig((()=>[ey(p9e,{workspace:e.workspace},null,8,["workspace"])])),_:1
}),ey(xm(Ioe),null,{label:ig((()=>[...n[2]||(n[2]=[ry("Cloud Hosting",-1)])])),
default:ig((()=>[ey(d9e,{workspace:e.workspace},null,8,["workspace"])])),_:1
})])),_:1}))}),f9e={
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"},m9e={class:"-m-2 flex flex-col gap-2 leading-relaxed"},g9e={
class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"
},v9e='showDeveloperTools: "never"',b9e=Hg({__name:"ApiReferenceToolbarTitle",
setup(e){const{copyToClipboard:t}=Vqe();return(e,n)=>(Fb(),Wb(X7e,{
class:"w-120",placement:"bottom-start"},{
button:ig((()=>[Jb("button",f9e,[ey(xm(WE)),n[1]||(n[1]=ry(" Developer Tools ",-1))])])),
info:ig((()=>[...n[5]||(n[5]=[ry(" The developer tools will only appear when running on localhost. ",-1)])])),
default:ig((()=>[Jb("div",m9e,[n[4]||(n[4]=Jb("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)),Jb("div",null,[n[2]||(n[2]=ry(" To disable the toolbar, set ",-1)),Jb("div",g9e,[Jb("code",{
class:"font-code"},Uh(v9e)),ey(xm(Qre),{class:"-m-1 p-1.25",icon:xm(HA),
label:"Copy link to clipboard",size:"sm",onClick:n[0]||(n[0]=e=>xm(t)(v9e))
},null,8,["icon"])]),n[3]||(n[3]=ry(" in your configuration. ",-1))])])])),_:1
}))}}),y9e={key:0,"aria-label":"Developer Tools",
class:"api-reference-toolbar bg-b-1 relative z-10 flex h-10 justify-center border-b px-15"
},O9e={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"
},w9e={class:"flex flex-1 items-center"},x9e=Hg({__name:"ApiReferenceToolbar",
props:Bv({workspace:{},configuration:{}},{overrides:{},overridesModifiers:{}}),
emits:["update:overrides"],setup(e){
const t=tb(e,"overrides"),n=Ty((()=>"always"===e.configuration?.showDeveloperTools||"never"!==e.configuration?.showDeveloperTools&&("undefined"!=typeof window&&XV(window.location.href))))
;return(r,a)=>n.value?(Fb(),
qb("header",y9e,[Jb("div",O9e,[Jb("div",w9e,[ey(b9e)]),e.workspace?(Fb(),qb(Lb,{
key:0},[ey(h9e,{workspace:e.workspace},null,8,["workspace"]),ey(c9e,{
workspace:e.workspace},null,8,["workspace"])],64)):oy("",!0),ey(Y7e,{
overrides:t.value,"onUpdate:overrides":a[0]||(a[0]=e=>t.value=e),
configuration:e.configuration
},null,8,["overrides","configuration"])])])):oy("",!0)}});function k9e(e,t,n){
const r="json"===n||!$V(n)&&RG(e),a=function(e,t){
return t&&!RG(e)?rAe(T_e(e)):!t&&RG(e)?aAe(T_e(e)):e
}(e,r),o=r?".json":".yaml",i=t?t+o:"openapi"+o,s=new Blob([a],{
type:r?"application/json":"application/x-yaml"
}),l=URL.createObjectURL(s),c=document.createElement("a");c.href=l,c.download=i,
c.dispatchEvent(function(){try{return new MouseEvent("click",{bubbles:!0,
cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,
cancelable:!0})}}()),setTimeout((()=>{window.URL.revokeObjectURL(l),c.remove()
}),100)}const S9e=Hke(),_9e=()=>{const e=Zke;return{get:()=>S9e.getItem(e),
set:t=>{S9e.setItem(e,t)}}},A9e=()=>{const e=e=>`${Fke}-${e}`;return{
getAuth:t=>{const n=JSON.parse(S9e.getItem(e(t))??"{}");return cZe(k2e,n)},
setAuth:(t,n)=>{S9e.setItem(e(t),JSON.stringify(n))}}},T9e=e=>{const t={hooks:{}
};return mg([()=>e.value.onBeforeRequest,()=>e.value.onRequestSent],(([e,n])=>{
t.hooks||(t.hooks={}),t.hooks.beforeRequest=e?async t=>{const n=await e(t)
;return void 0===n?t:n}:void 0,t.hooks.responseReceived=n?e=>{n(e.request.url)
}:void 0}),{immediate:!0}),[t]},E9e=({config:e,store:t,isDarkMode:n})=>{
mg((()=>km(e).defaultHttpClient),(e=>{if(e){
const{targetKey:n,clientKey:r}=e,a=`${n}/${r}`
;PKe(a)&&t.update("x-scalar-default-client",a)}}),{immediate:!0
}),mg((()=>km(e).darkMode),(e=>t.update("x-scalar-color-mode",e?"dark":"light"))),
mg((()=>n.value),(e=>t.update("x-scalar-color-mode",e?"dark":"light")),{
immediate:!0}),km(e).metaData&&function(e,t){
const{title:n,titleTemplate:r,...a}=e;rw({title:n,titleTemplate:r,_flatMeta:a},{
...t,transform(e){const t=Kd({...e._flatMeta});return delete e._flatMeta,{...e,
meta:t}}})
}(km(e).metaData),mg((()=>km(e).proxyUrl),(e=>t.update("x-scalar-active-proxy",e)),{
immediate:!0});$Y(Ty((()=>km(e).favicon)))},C9e=e=>{const t=new UAe,n={}
;if(!e)return n;return(Array.isArray(e)?e:[e]).flatMap((e=>{
if(t=e,Boolean(!Array.isArray(t)&&t&&"sources"in t&&Array.isArray(t.sources))){
const{sources:t,...n}=e;return t?.map((e=>({...n,...e})))??[]}var t;return[e]
})).map((e=>{const t=$d.safeParse(e);return t.success?t.data:null
})).filter((e=>!(!e||!e.url&&!e.content))).map(((e,n)=>P9e(e,n,t))).forEach((e=>{
const{url:t,content:r,...a}=e;n[e.slug]={config:a,title:e.title,slug:e.slug,
default:!!e?.default,agent:e.agent,source:r?{content:$9e(r)??{}}:{url:t}}})),n
},$9e=e=>e?"function"==typeof e?$9e(e()):"string"==typeof e?(e=>{
if("string"!=typeof e)return e;const t=NG.parseSafe(e,null);if(t)return t
;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML")
;return MG.parseSafe(e,(e=>{throw Error(e)}))
})(e):e:null,P9e=(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}`
},I9e=({debounceDelay:e=500,maxWait:t=1e4,prefix:n="",persistAuth:r=!1})=>{
const{execute:a}=s_e({delay:e,maxWait:t}),o=A9e(),i=_9e();return{hooks:{
onWorkspaceStateChanges(e){
if("meta"!==e.type)("function"==typeof r?r():r)&&"auth"===e.type&&a("auth",(()=>o.setAuth("string"==typeof n?n:n(),e.value)));else{
const t=e.value["x-scalar-default-client"]
;void 0!==t&&a("x-scalar-default-client",(()=>i.set(t)))}}}}},D9e={key:1,
class:"flex gap-1.5 p-3 pt-1.5"},M9e={key:1},N9e=["aria-label"],R9e={
class:"w-64 empty:hidden"},L9e={key:2,class:"references-footer"},B9e=Hg({
__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){
const n=e,{mediaQueries:r}=NAe(),{copyToClipboard:a}=Vqe(),o=!1,i=Ty(gAe),s=EAe({
debug:o}),l=bm(!1);mg((()=>r?.lg?.value),((e,t)=>{t&&!e&&(l.value=!1)
})),function(e){cg(sw,e)}((()=>Qg()))
;const c=Ty((()=>C9e(n.configuration))),u=Ty((()=>Object.keys(c.value).length>1)),d=bm(Object.values(c.value).find((e=>e.default))?.slug??c.value[Object.keys(c.value)?.[0]??""]?.slug??"")
;if("undefined"!=typeof window){
const e=new URL(window.location.href),t=e.searchParams.get("api")
;if(t&&c.value[t]){d.value=t
;const n=k3e(e,c.value[t].config.pathRouting?.basePath,t),r=S3e(n,c.value[t].config.pathRouting?.basePath,u.value)
;r&&(r.searchParams.delete("api"),
window.history.replaceState({},"",r.toString()))}
const n=Object.values(c.value).map((e=>e.config.pathRouting?.basePath)),r=k3e(e,n.find((t=>t&&e.pathname.startsWith(t.startsWith("/")?t:`/${t}`))),u.value?void 0:d.value).split("/")[0]
;r&&c.value[r]&&(d.value=r)}const p=Ty((()=>Object.values(c.value).map((e=>({
label:e.title,id:e.slug}))))),h=bm({}),f=Ty((()=>({...Cd.parse({}),
...c.value[d.value]?.config,...h.value
}))),m=Ty((()=>f.value.pathRouting?.basePath)),g=Ty((()=>((e,t)=>{
const{fonts:n=!0,layer:r="scalar-theme"}=t??{},a=[yAe[e||"default"]?.theme??mAe,n?'/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");\n unicode-range:\n U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");\n unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;\n}\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");\n unicode-range:\n U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n':""].join("")
;return r?`@layer ${r} {\n${a}}`:a})(f.value.theme,{
fonts:f.value.withDefaultFonts})));if(cg(l8e,s8e({
plugins:Object.values(c.value).flatMap((e=>e.config.plugins??[]))
})),f.value.redirect&&"undefined"!=typeof window){
const e=f.value.redirect((f.value.pathRouting?window.location.pathname:"")+window.location.hash)
;e&&window.history.replaceState({},"",e)}const v=j2e({plugins:[I9e({
prefix:()=>d.value,persistAuth:()=>f.value.persistAuth??!1})]
}),{toggleColorMode:b,isDarkMode:y}=XY({initialColorMode:{true:"dark",
false:"light",undefined:"system"}[String(f.value.darkMode)],
overrideColorMode:f.value.forceDarkModeState
}),O=Ty((()=>Object.entries(v.workspace.documents).map((([e,t])=>({id:e,
type:"document",description:t.info.description,name:t.info.title??e,
title:t.info.title??e,children:t?.["x-scalar-navigation"]?.children??[]
}))))),w=Sje(O,{hooks:{}}),x=e=>{e.forEach((e=>{
"tag"!==e.type&&"models"!==e.type||w.setExpanded(e.id,!0),
"children"in e&&e.children&&x(e.children)}))},k=Ty((()=>{const e=f.value
;if(!e)return[];const t=w.items.value.find((e=>e.id===d.value))?.children??[]
;if(e.defaultOpenAllTags&&x(t),e.expandAllModelSections){
const e=t.find((e=>"models"===e.type))
;e&&(w.setExpanded(e.id,!0),e.children?.forEach((e=>{w.setExpanded(e.id,!0)})))}
return t
})),S=Ty((()=>k.value.find((e=>"text"===e.type&&"Introduction"===e.title))?.id)),_=bm(""),A=Ty((()=>({
breadcrumb:_.value}))),T=e=>{const t=w.getEntryById(e)
;t&&"document"!==t.type?_.value=t.title:_.value=""},E=e=>{T(e),w.setSelected(e),
R3e(e,w.setExpanded,w.getEntryById)};E9e({config:()=>f.value,store:v,
isDarkMode:y});const C=Ty((()=>S1e(v,v.workspace.activeDocument??null)))
;"undefined"!=typeof window&&(window.dataDumpWorkspace=()=>v),t({eventBus:s,
workspaceStore:v,sidebarItems:k});const $=async(e,t)=>{const n=c.value[e]
;if(!n)return void console.warn(`Document ${e} not found in configList`)
;const r={...n.config,...h.value},a=r.onDocumentSelect?.();!function(e,t,n){
const r=S3e(t||e,n.pathRouting?.basePath,u.value)
;r&&window.history.replaceState({},"",r.toString()),d.value=e
}(e,t,r),M.value?.route({documentSlug:e,method:"get",path:"/"})
;if(!v.workspace.documents[e]&&await v.addDocument(n.source.url?{name:e,
url:n.source.url,fetch:r.fetch}:{name:e,document:n.source.content??{}
},r),v.update("x-scalar-active-document",e),r.persistAuth&&((e,t)=>{
const n=A9e().getAuth(t);e.auth.load({[t]:n})})(v,e),(async()=>{
await a,r.onLoaded?.(e)})(),t&&t!==e)E(t);else{
const e=k.value.find((e=>"tag"===e.type));e&&w.setExpanded(e.id,!0)}}
;mg((()=>Object.values(c.value)),(async(e,t)=>{const n=async(e,t)=>{
v.workspace.documents[e.slug]&&(e.source.url&&e.source.url!==t?.source.url?await v.addDocument({
name:e.slug,url:e.source.url,fetch:e.config.fetch
},e.config):e.source.content&&z2e(e.source.content,t&&"content"in t.source?t.source.content??{}:{}).length&&await v.addDocument({
name:e.slug,document:e.source.content},e.config))};e.forEach(((e,r)=>n(e,t[r])))
;const r=e.map((e=>e.slug)),a=t.map((e=>e.slug))
;r.length===a.length&&r.every(((e,t)=>e===a[t]))||await $(r[0]??"")}),{deep:!0
}),fv((()=>$(d.value))),lv((async()=>{(e=>{const t=_9e().get()
;PKe(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)
})(v),
await $(d.value,k3e(window.location.href,c.value[d.value]?.config.pathRouting?.basePath,u.value?void 0:d.value))
}));const P=Ty((()=>c.value[d.value]?.source?.url)),I=function(e){
const t=bm(!1),n=bm(""),r=e.agentEnabled??Ty((()=>XV(window.location.href))),a={
showAgent:t,agentEnabled:r,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 F2e.value=a,a
}({agentEnabled:Ty((()=>{const e=c.value[d.value]
;return!e?.agent?.disabled&&(!("undefined"==typeof window||!XV(window.location.href))||Boolean(c.value[d.value]?.agent?.key))
}))});cg(Z2e,I);const D=qg("modal"),M=bm(null);cv((()=>{D.value&&(M.value=W1e({
el:D.value,eventBus:s,workspaceStore:v,options:f,plugins:T9e(f)}))})),pv((()=>{
M.value?.app.unmount()
})),s.on("server:update:selected",(({url:e})=>f.value.onServerChange?.(e))),
s.on("ui:download:document",(async({format:e})=>{if("direct"===e){
const e=c.value[d.value]?.source?.url
;if(!e)return void console.error("Direct download is not supported for documents without a URL source")
;const t=await fetch(tq(f.value.proxyUrl,e)).then((e=>e.text()))
;return void k9e(t,d.value??"openapi")}const t=v.exportActiveDocument(e)
;t?k9e(t,d.value??"openapi",e):console.error("No document found to download")}))
;const N=(e,t)=>{const n=w.getEntryById(e)
;if(("tag"===n?.type||"models"===n?.type)&&w.isExpanded(e)){const t=I3e()
;return w.setExpanded(e,!1),void t()}
"tag"!==n?.type&&"models"!==n?.type&&(l.value=!1),E(e)
;const r=S3e(e,m.value,u.value)
;r&&(window.history.pushState({},"",r),"sidebar"===t&&f.value.onSidebarClick?.(r.toString())),
I.showAgent.value&&I.closeAgent()}
;s.on("select:nav-item",(({id:e})=>N(e))),s.on("scroll-to:nav-item",(({id:e})=>N(e))),
s.on("intersecting:nav-item",(({id:e})=>{if(!D3e.value)return
;w.setSelected(e),T(e),Aje(e);const t=S3e(e,m.value,u.value)
;t&&v.workspace.activeDocument&&window.history.replaceState({},"",t.toString())
})),s.on("toggle:nav-item",(({id:e,open:t})=>{
t&&f.value.onShowMore?.(e),w.setExpanded(e,t??!w.isExpanded(e))
})),s.on("copy-url:nav-item",(({id:e})=>{
const t=S3e(e,m.value,u.value)?.toString();return t&&a(t)})),lv((()=>{
window.history.scrollRestoration="manual",
zoe(),window.addEventListener("popstate",(()=>{
const e=k3e(window.location.href,f.value.pathRouting?.basePath,u.value?void 0:d.value)
;e&&E(e)}))}));const R=qg("documentStartRef");T4e(R,(()=>{
s.emit("intersecting:nav-item",{id:d.value})}));const L=Ty((()=>{
const e=v.workspace["x-scalar-color-mode"]
;return"system"===e?"undefined"==typeof window||"function"!=typeof window?.matchMedia?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e
})),B=NY(document.body)
;return mg(I.showAgent,(()=>B.value=I.showAgent.value)),(e,t)=>(Fb(),
qb("div",null,[(Fb(),Wb(wv("style"),null,{
default:ig((()=>[ry(Uh(f.value.customCss)+" "+Uh(g.value),1)])),_:1
})),Jb("div",{ref:"documentEl",
class:Dh(["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":l.value,
"references-classic":"classic"===f.value.layout},e.$attrs.class]])
},[xm(I).agentEnabled.value?(Fb(),Wb(xm(G2e),{key:0,
agentScalarConfiguration:c.value[d.value]?.agent,eventBus:xm(s),
workspaceStore:xm(v)
},null,8,["agentScalarConfiguration","eventBus","workspaceStore"])):oy("",!0),"modern"===f.value.layout?(Fb(),
Wb(_7e,{key:1,breadcrumb:_.value,isSidebarOpen:l.value,
showSidebar:f.value.showSidebar,
onToggleSidebar:t[2]||(t[2]=()=>l.value=!l.value)},{
search:ig((()=>[f.value.hideSearch?oy("",!0):(Fb(),Wb(U7e,{key:0,class:"my-2",
document:xm(v).workspace.activeDocument,eventBus:xm(s),
hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey,
showSidebar:f.value.showSidebar
},null,8,["document","eventBus","hideModels","searchHotKey","showSidebar"]))])),
sidebar:ig((({sidebarClasses:n})=>[f.value.showSidebar&&"modern"===f.value.layout?(Fb(),
Wb(xm(xje),{key:0,
"aria-label":`Sidebar for ${xm(v).workspace.activeDocument?.info?.title}`,
class:Dh(["t-doc__sidebar",n]),isExpanded:xm(w).isExpanded,
isSelected:xm(w).isSelected,items:k.value,layout:"reference",options:f.value,
role:"navigation",onSelectItem:t[1]||(t[1]=e=>N(e,"sidebar"))},{
header:ig((()=>[p.value.length>1?(Fb(),Wb(C7e,{key:0,class:"p-3 pb-0",
modelValue:d.value,options:p.value,"onUpdate:modelValue":$
},null,8,["modelValue","options"])):oy("",!0),f.value.hideSearch?oy("",!0):(Fb(),
qb("div",D9e,[ey(U7e,{document:xm(v).workspace.activeDocument,eventBus:xm(s),
hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey
},null,8,["document","eventBus","hideModels","searchHotKey"]),xm(I).agentEnabled.value?(Fb(),
Wb(xm(Q2e),{key:0
})):oy("",!0)])),Av(e.$slots,"sidebar-start",Mh(ty(A.value)),void 0,!0)])),
footer:ig((()=>[Av(e.$slots,"sidebar-end",Mh(ty(A.value)),(()=>[ey(xm(Lae),{
class:"darklight-reference"},{
toggle:ig((()=>[f.value.hideDarkModeToggle||f.value.forceDarkModeState?(Fb(),
qb("span",M9e)):(Fb(),Wb(xm(JY),{key:0,modelValue:"dark"===L.value,
"onUpdate:modelValue":t[0]||(t[0]=()=>xm(b)())},null,8,["modelValue"]))])),
default:ig((()=>[f.value.hideClientButton?oy("",!0):(Fb(),Wb(xm(Qoe),{key:0,
buttonSource:"sidebar",integration:f.value._integration,isDevelopment:xm(o),
url:P.value},null,8,["integration","isDevelopment","url"]))])),_:1})]),!0)])),
_:3
},8,["aria-label","class","isExpanded","isSelected","items","options"])):oy("",!0)])),
_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):oy("",!0),Jb("main",{
"aria-label":`Open API Documentation for ${xm(v).workspace.activeDocument?.info?.title}`,
class:"references-rendered"},[ey(w7e,{authStore:xm(v).auth,
document:xm(v).workspace.activeDocument,environment:C.value,eventBus:xm(s),
expandedItems:xm(w).expandedItems.value,
headingSlugGenerator:f.value.generateHeadingSlug??(e=>`${d.value}/description/${e.slug}`),
infoSectionId:S.value??"description/introduction",items:k.value,options:f.value,
xScalarDefaultClient:xm(v).workspace["x-scalar-default-client"]},_v({
start:ig((()=>[xm(v).workspace.activeDocument&&xm(r).lg.value?(Fb(),Wb(x9e,{
key:0,overrides:h.value,"onUpdate:overrides":t[3]||(t[3]=e=>h.value=e),
configuration:f.value,workspace:xm(v)
},null,8,["overrides","configuration","workspace"])):oy("",!0),Jb("div",{
ref_key:"documentStartRef",ref:R
},null,512),"classic"===f.value.layout?(Fb(),Wb(e4e,{key:1},{
"dark-mode-toggle":ig((()=>[f.value.hideDarkModeToggle||f.value.forceDarkModeState?oy("",!0):(Fb(),
Wb(xm(YY),{key:0,class:"text-c-2 hover:text-c-1",mode:L.value,style:{
transform:"scale(1.4)"},variant:"icon",onClick:t[4]||(t[4]=()=>xm(b)())
},null,8,["mode"]))])),
default:ig((()=>[Jb("div",R9e,[p.value.length>1?(Fb(),Wb(C7e,{key:0,
modelValue:d.value,options:p.value,"onUpdate:modelValue":$
},null,8,["modelValue","options"])):oy("",!0)]),f.value.hideSearch?oy("",!0):(Fb(),
Wb(U7e,{key:0,class:"t-doc__sidebar max-w-64",
document:xm(v).workspace.activeDocument,eventBus:xm(s),
hideModels:f.value.hideModels,searchHotKey:f.value.searchHotKey
},null,8,["document","eventBus","hideModels","searchHotKey"]))])),_:1
})):oy("",!0),Av(e.$slots,"content-start",Mh(ty(A.value)),void 0,!0)])),
end:ig((()=>[Av(e.$slots,"content-end",Mh(ty(A.value)),void 0,!0)])),_:2
},[f.value.isEditable?{name:"empty-state",
fn:ig((()=>[Av(e.$slots,"editor-placeholder",Mh(ty(A.value)),void 0,!0)])),
key:"0"
}:void 0]),1032,["authStore","document","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient"])],8,N9e),e.$slots.footer?(Fb(),
qb("div",L9e,[Av(e.$slots,"footer",Mh(ty(A.value)),void 0,!0)])):oy("",!0),Jb("div",{
ref_key:"modal",ref:D},null,512)],2),ey(xm(vUe))]))}
}),j9e=X2e(B9e,[["__scopeId","data-v-dfeddcdf"]]),U9e=e=>e.getElementById("api-reference")
;const z9e=(e,t)=>{let n=null;const r=U9e(e);return r?(n=e.createElement("div"),
r?.parentNode?.insertBefore(n,r)):t&&(n=t),n},Z9e=(e,t)=>{
const n="scalar-refs",r=om({configuration:t??e??{}});let a=WO((()=>Ey(j9e,r)))
;if(a.use(JO()),a.config.idPrefix=n,t){
const t="string"==typeof e?document.querySelector(e):e
;t?a.mount(t):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."),
!r.configuration)return;const t="string"==typeof e?document.querySelector(e):e
;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),
a.unmount(),a=WO((()=>Ey(j9e,r))),a.use(JO()),a.config.idPrefix=n,a.mount(t))
}),!1);const o=()=>{r.configuration={},a.unmount()}
;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(r,e.detail)}),!1);return{app:a,
getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
r.configuration=e},destroy:o}}
;console.info("@scalar/api-reference@1.44.18"),"object"==typeof window&&(window.Scalar={
createApiReference:Z9e}),function(e,t){
const 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")
;const a=z9e(e,n||r);a&&Z9e(a,t)}(document,function(e){
const t=e.querySelector("[data-spec]"),n=e.querySelector("[data-spec-url]"),r=e.querySelector("#api-reference[data-configuration]"),a=()=>{
if(r){const e=r.getAttribute("data-configuration");if(e)return{
_integration:"html",...JSON.parse(e.split(""").join('"'))}}
return $d.parse({_integration:"html"})},o=()=>{if(a().url)return a().url
;if(a().spec?.url)return a().spec?.url;const t=U9e(e);if(t){
const 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.')
;const e=n.getAttribute("data-spec-url");if(e)return e}},i=()=>{const n=U9e(e)
;if(n){const 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.')
;const e=t.getAttribute("data-spec")?.trim();if(e)return e}},s=()=>{
const t=U9e(e);if(t){const e=t.getAttribute("data-proxy-url")
;if(e)return e.trim()}};if(n||t||U9e(e)){const e=i()?{content:i()}:{url:o()}
;return $d.parse({_integration:"html",proxyUrl:s(),...a(),...e})}
return $d.parse({_integration:"html"})}(document))
;var F9e,H9e,Q9e="vercel.ai.error",V9e=Symbol.for(Q9e),q9e=class e extends(H9e=Error,
F9e=V9e,H9e){constructor({name:e,message:t,cause:n}){
super(t),this[F9e]=!0,this.name=e,this.cause=n}static isInstance(t){
return e.hasMarker(t,Q9e)}static hasMarker(e,t){const n=Symbol.for(t)
;return null!=e&&"object"==typeof e&&n in e&&"boolean"==typeof e[n]&&!0===e[n]}}
;function W9e(e){
return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)
}
var X9e,G9e,Y9e,K9e,J9e,eet,tet,net,ret,aet,oet,iet,set,cet="AI_InvalidArgumentError",uet=`vercel.ai.error.${cet}`,det=Symbol.for(uet),pet=class extends(G9e=q9e,
X9e=det,G9e){constructor({message:e,cause:t,argument:n}){super({name:cet,
message:e,cause:t}),this[X9e]=!0,this.argument=n}static isInstance(e){
return q9e.hasMarker(e,uet)}
},het="AI_JSONParseError",fet=`vercel.ai.error.${het}`,met=Symbol.for(fet),get=class extends(K9e=q9e,
Y9e=met,K9e){constructor({text:e,cause:t}){super({name:het,
message:`JSON parsing failed: Text: ${e}.\nError message: ${W9e(t)}`,cause:t
}),this[Y9e]=!0,this.text=e}static isInstance(e){return q9e.hasMarker(e,fet)}
},vet="AI_TypeValidationError",bet=`vercel.ai.error.${vet}`,yet=Symbol.for(bet),Oet=class e extends(eet=q9e,
J9e=yet,eet){constructor({value:e,cause:t}){super({name:vet,
message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${W9e(t)}`,
cause:t}),this[J9e]=!0,this.value=e}static isInstance(e){
return q9e.hasMarker(e,bet)}static wrap({value:t,cause:n}){
return e.isInstance(n)&&n.value===t?n:new e({value:t,cause:n})}}
;(net=tet||(tet={})).assertEqual=e=>{},
net.assertIs=function(e){},net.assertNever=function(e){throw new Error
},net.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t
},net.getValidEnumValues=e=>{
const t=net.objectKeys(e).filter((t=>"number"!=typeof e[e[t]])),n={}
;for(const r of t)n[r]=e[r];return net.objectValues(n)
},net.objectValues=e=>net.objectKeys(e).map((function(t){return e[t]
})),net.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{
const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n)
;return t},net.find=(e,t)=>{for(const n of e)if(t(n))return n
},net.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,
net.joinValues=function(e,t=" | "){
return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)
},net.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,
(ret||(ret={})).mergeShapes=(e,t)=>({...e,...t
}),tet.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),
tet.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"])
;class wet 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]}
;const t=new.target.prototype
;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,
this.name="ZodError",this.issues=e}format(e){const t=e||function(e){
return e.message},n={_errors:[]},r=e=>{
for(const a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(r);else if("invalid_return_type"===a.code)r(a.returnTypeError);else if("invalid_arguments"===a.code)r(a.argumentsError);else if(0===a.path.length)n._errors.push(t(a));else{
let e=n,r=0;for(;r<a.path.length;){const n=a.path[r]
;r===a.path.length-1?(e[n]=e[n]||{_errors:[]
},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),
n}static assert(e){
if(!(e instanceof wet))throw new Error(`Not a ZodError: ${e}`)}toString(){
return this.message}get message(){
return JSON.stringify(this.issues,tet.jsonStringifyReplacer,2)}get isEmpty(){
return 0===this.issues.length}flatten(e=e=>e.message){
const t=Object.create(null),n=[];for(const r of this.issues)if(r.path.length>0){
const 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()}}
wet.create=e=>new wet(e),(oet=aet||(aet={})).errToObj=e=>"string"==typeof e?{
message:e
}:e||{},oet.toString=e=>"string"==typeof e?e:e?.message,(set=iet||(iet={})).ZodString="ZodString",
set.ZodNumber="ZodNumber",
set.ZodNaN="ZodNaN",set.ZodBigInt="ZodBigInt",set.ZodBoolean="ZodBoolean",
set.ZodDate="ZodDate",set.ZodSymbol="ZodSymbol",set.ZodUndefined="ZodUndefined",
set.ZodNull="ZodNull",
set.ZodAny="ZodAny",set.ZodUnknown="ZodUnknown",set.ZodNever="ZodNever",
set.ZodVoid="ZodVoid",
set.ZodArray="ZodArray",set.ZodObject="ZodObject",set.ZodUnion="ZodUnion",
set.ZodDiscriminatedUnion="ZodDiscriminatedUnion",
set.ZodIntersection="ZodIntersection",
set.ZodTuple="ZodTuple",set.ZodRecord="ZodRecord",
set.ZodMap="ZodMap",set.ZodSet="ZodSet",
set.ZodFunction="ZodFunction",set.ZodLazy="ZodLazy",set.ZodLiteral="ZodLiteral",
set.ZodEnum="ZodEnum",
set.ZodEffects="ZodEffects",set.ZodNativeEnum="ZodNativeEnum",
set.ZodOptional="ZodOptional",
set.ZodNullable="ZodNullable",set.ZodDefault="ZodDefault",
set.ZodCatch="ZodCatch",set.ZodPromise="ZodPromise",set.ZodBranded="ZodBranded",
set.ZodPipeline="ZodPipeline",set.ZodReadonly="ZodReadonly"
;class xet 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}}function ket(e){}
function _et(e){
if("function"==typeof e)throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?")
;const{onEvent:t=ket,onError:n=ket,onRetry:r=ket,onComment:a}=e
;let o,i="",s=!0,l="",c="";function u(e){if(""===e)return l.length>0&&t({id:o,
event:c||void 0,data:l.endsWith("\n")?l.slice(0,-1):l}),o=void 0,l="",void(c="")
;if(e.startsWith(":"))return void(a&&a(e.slice(e.startsWith(": ")?2:1)))
;const n=e.indexOf(":");if(-1===n)d(e,"",e);else{
const t=e.slice(0,n),r=" "===e[n+1]?2:1;d(t,e.slice(n+r),e)}}function d(e,t,a){
switch(e){case"event":c=t;break;case"data":l=`${l}${t}\n`;break;case"id":
o=t.includes("\0")?void 0:t;break;case"retry":
/^\d+$/.test(t)?r(parseInt(t,10)):n(new xet(`Invalid \`retry\` value: "${t}"`,{
type:"invalid-retry",value:t,line:a}));break;default:
n(new xet(`Unknown field "${e.length>20?`${e.slice(0,20)}…`:e}"`,{
type:"unknown-field",field:e,value:t,line:a}))}}return{feed:function(e){
const t=s?e.replace(/^\xEF\xBB\xBF/,""):e,[n,r]=function(e){const t=[]
;let n="",r=0;for(;r<e.length;){const a=e.indexOf("\r",r),o=e.indexOf("\n",r)
;let i=-1
;if(-1!==a&&-1!==o?i=Math.min(a,o):-1!==a?i=a===e.length-1?-1:a:-1!==o&&(i=o),
-1===i){n=e.slice(r);break}{const n=e.slice(r,i)
;t.push(n),r=i+1,"\r"===e[r-1]&&"\n"===e[r]&&r++}}return[t,n]}(`${i}${t}`)
;for(const a of n)u(a);i=r,s=!1},reset:function(e={}){
i&&e.consume&&u(i),s=!0,o=void 0,l="",c="",i=""}}}
class Aet extends TransformStream{
constructor({onError:e,onRetry:t,onComment:n}={}){let r;super({start(a){r=_et({
onEvent:e=>{a.enqueue(e)},onError(t){
"terminate"===e?a.error(t):"function"==typeof e&&e(t)},onRetry:t,onComment:n})},
transform(e){r.feed(e)}})}}
var Tet=({prefix:e,size:t=16,alphabet:n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:r="-"}={})=>{
const a=()=>{const e=n.length,r=new Array(t)
;for(let a=0;a<t;a++)r[a]=n[Math.random()*e|0];return r.join("")}
;if(null==e)return a;if(n.includes(r))throw new pet({argument:"separator",
message:`The separator "${r}" must not be part of the alphabet "${n}".`})
;return()=>`${e}${r}${a()}`},Eet=Tet();function Cet(e=globalThis){var t,n,r
;return e.window?"runtime/browser":(null==(t=e.navigator)?void 0:t.userAgent)?`runtime/${e.navigator.userAgent.toLowerCase()}`:(null==(r=null==(n=e.process)?void 0:n.versions)?void 0:r.node)?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"
}function $et(e){if(null==e)return{};const t={}
;if(e instanceof Headers)e.forEach(((e,n)=>{t[n.toLowerCase()]=e}));else{
Array.isArray(e)||(e=Object.entries(e))
;for(const[n,r]of e)null!=r&&(t[n.toLowerCase()]=r)}return t}
function Pet(e,...t){const n=new Headers($et(e)),r=n.get("user-agent")||""
;return n.set("user-agent",[r,...t].filter(Boolean).join(" ")),
Object.fromEntries(n.entries())}
var Iet=/"__proto__"\s*:/,Det=/"constructor"\s*:/;function Met(e){
const t=JSON.parse(e)
;return null===t||"object"!=typeof t||!1===Iet.test(e)&&!1===Det.test(e)?t:function(e){
let t=[e];for(;t.length;){const e=t;t=[];for(const n of e){
if(Object.prototype.hasOwnProperty.call(n,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property")
;if(Object.prototype.hasOwnProperty.call(n,"constructor")&&Object.prototype.hasOwnProperty.call(n.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property")
;for(const e in n){const r=n[e];r&&"object"==typeof r&&t.push(r)}}}return e}(t)}
function Net(e){
if("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")){
e.additionalProperties=!1;const{properties:t}=e
;if(null!=t)for(const e of Object.keys(t))t[e]=Ret(t[e])}
null!=e.items&&(e.items=Array.isArray(e.items)?e.items.map(Ret):Ret(e.items)),
null!=e.anyOf&&(e.anyOf=e.anyOf.map(Ret)),
null!=e.allOf&&(e.allOf=e.allOf.map(Ret)),
null!=e.oneOf&&(e.oneOf=e.oneOf.map(Ret));const{definitions:t}=e
;if(null!=t)for(const n of Object.keys(t))t[n]=Ret(t[n]);return e}
function Ret(e){return"boolean"==typeof e?e:Net(e)}
var Let=Symbol("Let zodToJsonSchema decide on which parser to use"),Bet={
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"};function jet(e,t){return rtt(e.type._def,t)}
function Uet(e,t,n){const r=null!=n?n:t.dateStrategy;if(Array.isArray(r))return{
anyOf:r.map(((n,r)=>Uet(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 zet(e)}}var zet=e=>{const t={type:"integer",
format:"unix-time"};for(const n of e.checks)switch(n.kind){case"min":
t.minimum=n.value;break;case"max":t.maximum=n.value}return t}
;var Zet=void 0,Fet={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,
ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,
email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,
emoji:()=>(void 0===Zet&&(Zet=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),
Zet),
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-_]*$/};function Het(e,t){
const n={type:"string"};if(e.checks)for(const r of e.checks)switch(r.kind){
case"min":
n.minLength="number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value
;break;case"max":
n.maxLength="number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value
;break;case"email":switch(t.emailStrategy){case"format:email":
qet(n,"email",r.message,t);break;case"format:idn-email":
qet(n,"idn-email",r.message,t);break;case"pattern:zod":
Wet(n,Fet.email,r.message,t)}break;case"url":qet(n,"uri",r.message,t);break
;case"uuid":qet(n,"uuid",r.message,t);break;case"regex":
Wet(n,r.regex,r.message,t);break;case"cuid":Wet(n,Fet.cuid,r.message,t);break
;case"cuid2":Wet(n,Fet.cuid2,r.message,t);break;case"startsWith":
Wet(n,RegExp(`^${Qet(r.value,t)}`),r.message,t);break;case"endsWith":
Wet(n,RegExp(`${Qet(r.value,t)}$`),r.message,t);break;case"datetime":
qet(n,"date-time",r.message,t);break;case"date":qet(n,"date",r.message,t);break
;case"time":qet(n,"time",r.message,t);break;case"duration":
qet(n,"duration",r.message,t);break;case"length":
n.minLength="number"==typeof n.minLength?Math.max(n.minLength,r.value):r.value,
n.maxLength="number"==typeof n.maxLength?Math.min(n.maxLength,r.value):r.value
;break;case"includes":Wet(n,RegExp(Qet(r.value,t)),r.message,t);break;case"ip":
"v6"!==r.version&&qet(n,"ipv4",r.message,t),
"v4"!==r.version&&qet(n,"ipv6",r.message,t);break;case"base64url":
Wet(n,Fet.base64url,r.message,t);break;case"jwt":Wet(n,Fet.jwt,r.message,t)
;break;case"cidr":
"v6"!==r.version&&Wet(n,Fet.ipv4Cidr,r.message,t),"v4"!==r.version&&Wet(n,Fet.ipv6Cidr,r.message,t)
;break;case"emoji":Wet(n,Fet.emoji(),r.message,t);break;case"ulid":
Wet(n,Fet.ulid,r.message,t);break;case"base64":switch(t.base64Strategy){
case"format:binary":qet(n,"binary",r.message,t);break
;case"contentEncoding:base64":n.contentEncoding="base64";break
;case"pattern:zod":Wet(n,Fet.base64,r.message,t)}break;case"nanoid":
Wet(n,Fet.nanoid,r.message,t)}return n}function Qet(e,t){
return"escape"===t.patternStrategy?function(e){let t=""
;for(let n=0;n<e.length;n++)Vet.has(e[n])||(t+="\\"),t+=e[n];return t}(e):e}
var Vet=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")
;function qet(e,t,n,r){var a
;e.format||(null==(a=e.anyOf)?void 0:a.some((e=>e.format)))?(e.anyOf||(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 Wet(e,t,n,r){var a
;e.pattern||(null==(a=e.allOf)?void 0:a.some((e=>e.pattern)))?(e.allOf||(e.allOf=[]),
e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({
pattern:Xet(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}
})):e.pattern=Xet(t,r)}function Xet(e,t){var n
;if(!t.applyRegexFlags||!e.flags)return e.source
;const r=e.flags.includes("i"),a=e.flags.includes("m"),o=e.flags.includes("s"),i=r?e.source.toLowerCase():e.source
;let s="",l=!1,c=!1,u=!1;for(let d=0;d<i.length;d++)if(l)s+=i[d],l=!1;else{
if(r)if(c){if(i[d].match(/[a-z]/)){
u?(s+=i[d],s+=`${i[d-2]}-${i[d]}`.toUpperCase(),
u=!1):"-"===i[d+1]&&(null==(n=i[d+2])?void 0:n.match(/[a-z]/))?(s+=i[d],
u=!0):s+=`${i[d]}${i[d].toUpperCase()}`;continue}}else if(i[d].match(/[a-z]/)){
s+=`[${i[d]}${i[d].toUpperCase()}]`;continue}if(a){if("^"===i[d]){
s+="(^|(?<=[\r\n]))";continue}if("$"===i[d]){s+="($|(?=[\r\n]))";continue}}
o&&"."===i[d]?s+=c?`${i[d]}\r\n`:`[${i[d]}\r\n]`:(s+=i[d],
"\\"===i[d]?l=!0:c&&"]"===i[d]?c=!1:c||"["!==i[d]||(c=!0))}try{new RegExp(s)
}catch(zw){
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 s}function Get(e,t){var n,r,a,o,i,s;const l={type:"object",
additionalProperties:null!=(n=rtt(e.valueType._def,{...t,
currentPath:[...t.currentPath,"additionalProperties"]
}))?n:t.allowedAdditionalProperties}
;if((null==(r=e.keyType)?void 0:r._def.typeName)===iet.ZodString&&(null==(a=e.keyType._def.checks)?void 0:a.length)){
const{type:n,...r}=Het(e.keyType._def,t);return{...l,propertyNames:r}}
if((null==(o=e.keyType)?void 0:o._def.typeName)===iet.ZodEnum)return{...l,
propertyNames:{enum:e.keyType._def.values}}
;if((null==(i=e.keyType)?void 0:i._def.typeName)===iet.ZodBranded&&e.keyType._def.type._def.typeName===iet.ZodString&&(null==(s=e.keyType._def.type._def.checks)?void 0:s.length)){
const{type:n,...r}=jet(e.keyType._def,t);return{...l,propertyNames:r}}return l}
var Yet={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",
ZodBoolean:"boolean",ZodNull:"null"};var Ket=(e,t)=>{
const n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map(((e,n)=>rtt(e._def,{
...t,currentPath:[...t.currentPath,"anyOf",`${n}`]
}))).filter((e=>!!e&&(!t.strictUnions||"object"==typeof e&&Object.keys(e).length>0)))
;return n.length?{anyOf:n}:void 0};function Jet(e,t){const n={type:"object",
properties:{}},r=[],a=e.shape();for(const i in a){let e=a[i]
;if(void 0===e||void 0===e._def)continue;const o=ett(e),s=rtt(e._def,{...t,
currentPath:[...t.currentPath,"properties",i],
propertyPath:[...t.currentPath,"properties",i]});void 0!==s&&(n.properties[i]=s,
o||r.push(i))}r.length&&(n.required=r);const o=function(e,t){
if("ZodNever"!==e.catchall._def.typeName)return rtt(e.catchall._def,{...t,
currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){
case"passthrough":return t.allowedAdditionalProperties;case"strict":
return t.rejectedAdditionalProperties;case"strip":
return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties
}}(e,t);return void 0!==o&&(n.additionalProperties=o),n}function ett(e){try{
return e.isOptional()}catch(zw){return!0}}var ttt=(e,t,n)=>{switch(t){
case iet.ZodString:return Het(e,n);case iet.ZodNumber:return function(e){
const t={type:"number"};if(!e.checks)return t
;for(const 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}return t}(e);case iet.ZodObject:
return Jet(e,n);case iet.ZodBigInt:return function(e){const t={type:"integer",
format:"int64"};if(!e.checks)return t;for(const 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}return t}(e);case iet.ZodBoolean:return{
type:"boolean"};case iet.ZodDate:return Uet(e,n);case iet.ZodUndefined:return{
not:{}};case iet.ZodNull:return{type:"null"};case iet.ZodArray:
return function(e,t){var n,r,a;const o={type:"array"}
;return(null==(n=e.type)?void 0:n._def)&&(null==(a=null==(r=e.type)?void 0:r._def)?void 0:a.typeName)!==iet.ZodAny&&(o.items=rtt(e.type._def,{
...t,currentPath:[...t.currentPath,"items"]
})),e.minLength&&(o.minItems=e.minLength.value),
e.maxLength&&(o.maxItems=e.maxLength.value),
e.exactLength&&(o.minItems=e.exactLength.value,o.maxItems=e.exactLength.value),o
}(e,n);case iet.ZodUnion:case iet.ZodDiscriminatedUnion:return function(e,t){
const n=e.options instanceof Map?Array.from(e.options.values()):e.options
;if(n.every((e=>e._def.typeName in Yet&&(!e._def.checks||!e._def.checks.length)))){
const e=n.reduce(((e,t)=>{const n=Yet[t._def.typeName]
;return n&&!e.includes(n)?[...e,n]:e}),[]);return{type:e.length>1?e:e[0]}}
if(n.every((e=>"ZodLiteral"===e._def.typeName&&!e.description))){
const e=n.reduce(((e,t)=>{const n=typeof t._def.value;switch(n){case"string":
case"number":case"boolean":return[...e,n];case"bigint":return[...e,"integer"]
;case"object":if(null===t._def.value)return[...e,"null"];default:return e}}),[])
;if(e.length===n.length){const 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=>"ZodEnum"===e._def.typeName)))return{type:"string",
enum:n.reduce(((e,t)=>[...e,...t._def.values.filter((t=>!e.includes(t)))]),[])}
;return Ket(e,t)}(e,n);case iet.ZodIntersection:return function(e,t){
const n=[rtt(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]
}),rtt(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]
})].filter((e=>!!e)),r=[];return n.forEach((e=>{
if("type"in(t=e)&&"string"===t.type||!("allOf"in t)){let t=e
;if("additionalProperties"in e&&!1===e.additionalProperties){
const{additionalProperties:n,...r}=e;t=r}r.push(t)}else r.push(...e.allOf);var t
})),r.length?{allOf:r}:void 0}(e,n);case iet.ZodTuple:return function(e,t){
return e.rest?{type:"array",minItems:e.items.length,
items:e.items.map(((e,n)=>rtt(e._def,{...t,
currentPath:[...t.currentPath,"items",`${n}`]
}))).reduce(((e,t)=>void 0===t?e:[...e,t]),[]),additionalItems:rtt(e.rest._def,{
...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",
minItems:e.items.length,maxItems:e.items.length,
items:e.items.map(((e,n)=>rtt(e._def,{...t,
currentPath:[...t.currentPath,"items",`${n}`]
}))).reduce(((e,t)=>void 0===t?e:[...e,t]),[])}}(e,n);case iet.ZodRecord:
return Get(e,n);case iet.ZodLiteral:return function(e){const t=typeof e.value
;return"bigint"!==t&&"number"!==t&&"boolean"!==t&&"string"!==t?{
type:Array.isArray(e.value)?"array":"object"}:{type:"bigint"===t?"integer":t,
const:e.value}}(e);case iet.ZodEnum:return function(e){return{type:"string",
enum:Array.from(e.values)}}(e);case iet.ZodNativeEnum:return function(e){
const t=e.values,n=Object.keys(e.values).filter((e=>"number"!=typeof t[t[e]])).map((e=>t[e])),r=Array.from(new Set(n.map((e=>typeof e))))
;return{type:1===r.length?"string"===r[0]?"string":"number":["string","number"],
enum:n}}(e);case iet.ZodNullable:return function(e,t){
if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{
type:[Yet[e.innerType._def.typeName],"null"]};const n=rtt(e.innerType._def,{
...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{
type:"null"}]}}(e,n);case iet.ZodOptional:return((e,t)=>{var n
;if(t.currentPath.toString()===(null==(n=t.propertyPath)?void 0:n.toString()))return rtt(e.innerType._def,t)
;const r=rtt(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]})
;return r?{anyOf:[{not:{}},r]}:{}})(e,n);case iet.ZodMap:return function(e,t){
return"record"===t.mapStrategy?Get(e,t):{type:"array",maxItems:125,items:{
type:"array",items:[rtt(e.keyType._def,{...t,
currentPath:[...t.currentPath,"items","items","0"]})||{},rtt(e.valueType._def,{
...t,currentPath:[...t.currentPath,"items","items","1"]})||{}],minItems:2,
maxItems:2}}}(e,n);case iet.ZodSet:return function(e,t){const n={type:"array",
uniqueItems:!0,items:rtt(e.valueType._def,{...t,
currentPath:[...t.currentPath,"items"]})}
;return e.minSize&&(n.minItems=e.minSize.value),
e.maxSize&&(n.maxItems=e.maxSize.value),n}(e,n);case iet.ZodLazy:
return()=>e.getter()._def;case iet.ZodPromise:return function(e,t){
return rtt(e.type._def,t)}(e,n);case iet.ZodNaN:case iet.ZodNever:return{not:{}}
;case iet.ZodEffects:return function(e,t){
return"input"===t.effectStrategy?rtt(e.schema._def,t):{}}(e,n);case iet.ZodAny:
case iet.ZodUnknown:return{};case iet.ZodDefault:return function(e,t){return{
...rtt(e.innerType._def,t),default:e.defaultValue()}}(e,n);case iet.ZodBranded:
return jet(e,n);case iet.ZodReadonly:case iet.ZodCatch:
return((e,t)=>rtt(e.innerType._def,t))(e,n);case iet.ZodPipeline:return((e,t)=>{
if("input"===t.pipeStrategy)return rtt(e.in._def,t)
;if("output"===t.pipeStrategy)return rtt(e.out._def,t);const n=rtt(e.in._def,{
...t,currentPath:[...t.currentPath,"allOf","0"]});return{
allOf:[n,rtt(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]
})].filter((e=>void 0!==e))}})(e,n);case iet.ZodFunction:case iet.ZodVoid:
case iet.ZodSymbol:default:return}},ntt=(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("/")};function rtt(e,t,n=!1){
var r;const a=t.seen.get(e);if(t.override){
const o=null==(r=t.override)?void 0:r.call(t,e,t,a,n);if(o!==Let)return o}
if(a&&!n){const e=att(a,t);if(void 0!==e)return e}const o={def:e,
path:t.currentPath,jsonSchema:void 0};t.seen.set(e,o)
;const i=ttt(e,e.typeName,t),s="function"==typeof i?rtt(i(),t):i
;if(s&&ott(e,t,s),t.postProcess){const n=t.postProcess(s,e,t)
;return o.jsonSchema=s,n}return o.jsonSchema=s,s}var att=(e,t)=>{
switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":
return{$ref:ntt(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`),
{}):"seen"===t.$refStrategy?{}:void 0}
},ott=(e,t,n)=>(e.description&&(n.description=e.description),n),itt=e=>{
const t=(e=>"string"==typeof e?{...Bet,name:e}:{...Bet,...e
})(e),n=void 0!==t.name?[...t.basePath,t.definitionPath,t.name]:t.basePath
;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}])))}},stt=(e,t)=>{
var n;const r=itt(t)
;let a="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce(((e,[t,n])=>{
var a;return{...e,[t]:null!=(a=rtt(n._def,{...r,
currentPath:[...r.basePath,r.definitionPath,t]},!0))?a:{}}}),{}):void 0
;const o="string"==typeof t?t:"title"===(null==t?void 0:t.nameStrategy)||null==t?void 0:t.name,i=null!=(n=rtt(e._def,void 0===o?r:{
...r,currentPath:[...r.basePath,r.definitionPath,o]
},!1))?n:{},s="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0
;void 0!==s&&(i.title=s);const l=void 0===o?a?{...i,[r.definitionPath]:a}:i:{
$ref:[..."relative"===r.$refStrategy?[]:r.basePath,r.definitionPath,o].join("/"),
[r.definitionPath]:{...a,[o]:i}}
;return l.$schema="http://json-schema.org/draft-07/schema#",l
},ltt=Symbol.for("vercel.ai.schema");function ctt(e,{validate:t}={}){return{
[ltt]:!0,_type:void 0,get jsonSchema(){return"function"==typeof e&&(e=e()),e},
validate:t}}function utt(e){return null==e?ctt({properties:{},
additionalProperties:!1
}):"object"==typeof(n=e)&&null!==n&<t in n&&!0===n[ltt]&&"jsonSchema"in n&&"validate"in n?e:"~standard"in e?"zod"===e["~standard"].vendor?dtt(e):(t=e,
ctt((()=>Net(t["~standard"].jsonSchema.input({target:"draft-07"}))),{
validate:async e=>{const n=await t["~standard"].validate(e);return"value"in n?{
success:!0,value:n.value}:{success:!1,error:new Oet({value:e,cause:n.issues})}}
})):e();var t,n}function dtt(e,t){return function(e){return"_zod"in e
}(e)?function(e,t){const n=!1;return ctt((()=>Net(Is(e,{target:"draft-7",
io:"input",reused:n?"ref":"inline"}))),{validate:async t=>{const n=await Ys(e,t)
;return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}}})
}(e):function(e,t){const n=!1;return ctt((()=>stt(e,{
$refStrategy:n?"root":"none"})),{validate:async t=>{
const n=await e.safeParseAsync(t);return n.success?{success:!0,value:n.data}:{
success:!1,error:n.error}}})}(e)}async function ptt({value:e,schema:t}){
const n=await htt({value:e,schema:t});if(!n.success)throw Oet.wrap({value:e,
cause:n.error});return n.value}async function htt({value:e,schema:t}){
const n=utt(t);try{if(null==n.validate)return{success:!0,value:e,rawValue:e}
;const t=await n.validate(e);return t.success?{success:!0,value:t.value,
rawValue:e}:{success:!1,error:Oet.wrap({value:e,cause:t.error}),rawValue:e}
}catch(r){return{success:!1,error:Oet.wrap({value:e,cause:r}),rawValue:e}}}
async function ftt({text:e,schema:t}){try{const n=function(e){
const{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch(zw){
return Met(e)}try{return Met(e)}finally{Error.stackTraceLimit=t}}(e)
;return null==t?{success:!0,value:n,rawValue:n}:await htt({value:n,schema:t})
}catch(n){return{success:!1,error:get.isInstance(n)?n:new get({text:e,cause:n}),
rawValue:void 0}}}async function mtt(e){
return"function"==typeof e&&(e=e()),Promise.resolve(e)}
var gtt,vtt=Object.defineProperty,btt="AI_NoObjectGeneratedError",ytt=`vercel.ai.error.${btt}`,Ott=Symbol.for(ytt),wtt=class extends q9e{
constructor({message:e="No object generated.",cause:t,text:n,response:r,usage:a,finishReason:o}){
super({name:btt,message:e,cause:t
}),this[gtt]=!0,this.text=n,this.response=r,this.usage=a,this.finishReason=o}
static isInstance(e){return q9e.hasMarker(e,ytt)}};gtt=Ott
;var xtt="6.0.33",ktt=Qc([cl(),rd(Uint8Array),rd(ArrayBuffer),Ku((e=>{var t,n
;return null!=(n=null==(t=globalThis.Buffer)?void 0:t.isBuffer(e))&&n}),{
message:"Must be a Buffer"
})]),Stt=Qu((()=>Qc([Ac(),cl(),sc(),mc(),tu(cl(),Stt.optional()),Bc(Stt)]))),_tt=tu(cl(),tu(cl(),Stt.optional())),Att=zc({
type:pu("text"),text:cl(),providerOptions:_tt.optional()}),Ttt=zc({
type:pu("image"),image:Qc([ktt,rd(URL)]),mediaType:cl().optional(),
providerOptions:_tt.optional()}),Ett=zc({type:pu("file"),data:Qc([ktt,rd(URL)]),
filename:cl().optional(),mediaType:cl(),providerOptions:_tt.optional()
}),Ctt=zc({type:pu("reasoning"),text:cl(),providerOptions:_tt.optional()
}),$tt=zc({type:pu("tool-call"),toolCallId:cl(),toolName:cl(),input:$c(),
providerOptions:_tt.optional(),providerExecuted:mc().optional()
}),Ptt=Xc("type",[zc({type:pu("text"),value:cl(),providerOptions:_tt.optional()
}),zc({type:pu("json"),value:Stt,providerOptions:_tt.optional()}),zc({
type:pu("execution-denied"),reason:cl().optional(),
providerOptions:_tt.optional()}),zc({type:pu("error-text"),value:cl(),
providerOptions:_tt.optional()}),zc({type:pu("error-json"),value:Stt,
providerOptions:_tt.optional()}),zc({type:pu("content"),value:Bc(Qc([zc({
type:pu("text"),text:cl(),providerOptions:_tt.optional()}),zc({type:pu("media"),
data:cl(),mediaType:cl()}),zc({type:pu("file-data"),data:cl(),mediaType:cl(),
filename:cl().optional(),providerOptions:_tt.optional()}),zc({
type:pu("file-url"),url:cl(),providerOptions:_tt.optional()}),zc({
type:pu("file-id"),fileId:Qc([cl(),tu(cl(),cl())]),
providerOptions:_tt.optional()}),zc({type:pu("image-data"),data:cl(),
mediaType:cl(),providerOptions:_tt.optional()}),zc({type:pu("image-url"),
url:cl(),providerOptions:_tt.optional()}),zc({type:pu("image-file-id"),
fileId:Qc([cl(),tu(cl(),cl())]),providerOptions:_tt.optional()}),zc({
type:pu("custom"),providerOptions:_tt.optional()})]))})]),Itt=zc({
type:pu("tool-result"),toolCallId:cl(),toolName:cl(),output:Ptt,
providerOptions:_tt.optional()}),Dtt=zc({type:pu("tool-approval-request"),
approvalId:cl(),toolCallId:cl()}),Mtt=zc({type:pu("tool-approval-response"),
approvalId:cl(),approved:mc(),reason:cl().optional()}),Ntt=zc({
role:pu("system"),content:cl(),providerOptions:_tt.optional()}),Rtt=zc({
role:pu("user"),content:Qc([cl(),Bc(Qc([Att,Ttt,Ett]))]),
providerOptions:_tt.optional()}),Ltt=zc({role:pu("assistant"),
content:Qc([cl(),Bc(Qc([Att,Ett,Ctt,$tt,Itt,Dtt]))]),
providerOptions:_tt.optional()}),Btt=zc({role:pu("tool"),
content:Bc(Qc([Itt,Mtt])),providerOptions:_tt.optional()});function jtt(e,t){
if(void 0===e&&void 0===t)return;if(void 0===e)return t;if(void 0===t)return e
;const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){
const a=t[r];if(void 0===a)continue
;const o=r in e?e[r]:void 0,i=!(null===a||"object"!=typeof a||Array.isArray(a)||a instanceof Date||a instanceof RegExp),s=!(null==o||"object"!=typeof o||Array.isArray(o)||o instanceof Date||o instanceof RegExp)
;n[r]=i&&s?jtt(o,a):a}return n}Qc([Ntt,Rtt,Ltt,Btt]);function Utt(e){
const t=["ROOT"];let n=-1,r=null;function a(e,a,o){switch(e){case'"':
n=a,t.pop(),t.push(o),t.push("INSIDE_STRING");break;case"f":case"t":case"n":n=a,
r=a,t.pop(),t.push(o),t.push("INSIDE_LITERAL");break;case"-":
t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":
case"4":case"5":case"6":case"7":case"8":case"9":
n=a,t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"{":
n=a,t.pop(),t.push(o),t.push("INSIDE_OBJECT_START");break;case"[":
n=a,t.pop(),t.push(o),t.push("INSIDE_ARRAY_START")}}function o(e,r){switch(e){
case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":n=r,t.pop()}}
function i(e,r){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA")
;break;case"]":n=r,t.pop()}}for(let l=0;l<e.length;l++){const s=e[l]
;switch(t[t.length-1]){case"ROOT":a(s,l,"FINISH");break
;case"INSIDE_OBJECT_START":switch(s){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY")
;break;case"}":n=l,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":
if('"'===s)t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"INSIDE_OBJECT_KEY":
if('"'===s)t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY");break
;case"INSIDE_OBJECT_AFTER_KEY":
if(":"===s)t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE");break
;case"INSIDE_OBJECT_BEFORE_VALUE":a(s,l,"INSIDE_OBJECT_AFTER_VALUE");break
;case"INSIDE_OBJECT_AFTER_VALUE":o(s,l);break;case"INSIDE_STRING":switch(s){
case'"':t.pop(),n=l;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:
n=l}break;case"INSIDE_ARRAY_START":
if("]"===s)n=l,t.pop();else n=l,a(s,l,"INSIDE_ARRAY_AFTER_VALUE");break
;case"INSIDE_ARRAY_AFTER_VALUE":switch(s){case",":
t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=l,t.pop();break
;default:n=l}break;case"INSIDE_ARRAY_AFTER_COMMA":
a(s,l,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),n=l
;break;case"INSIDE_NUMBER":switch(s){case"0":case"1":case"2":case"3":case"4":
case"5":case"6":case"7":case"8":case"9":n=l;break;case"e":case"E":case"-":
case".":break;case",":
t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,l),
"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(s,l);break;case"}":
t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(s,l);break;case"]":
t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,l);break;default:t.pop()
}break;case"INSIDE_LITERAL":{const a=e.substring(r,l+1)
;"false".startsWith(a)||"true".startsWith(a)||"null".startsWith(a)?n=l:(t.pop(),
"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?o(s,l):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(s,l))
;break}}}let s=e.slice(0,n+1);for(let l=t.length-1;l>=0;l--){switch(t[l]){
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":{const 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 ztt(e){if(void 0===e)return{value:void 0,
state:"undefined-input"};let t=await ftt({text:e});return t.success?{
value:t.value,state:"successful-parse"}:(t=await ftt({text:Utt(e)}),t.success?{
value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}
((e,t)=>{for(var n in t)vtt(e,n,{get:t[n],enumerable:!0})})({},{array:()=>Htt,
choice:()=>Qtt,json:()=>Vtt,object:()=>Ftt,text:()=>Ztt});var Ztt=()=>({
name:"text",responseFormat:Promise.resolve({type:"text"}),
parseCompleteOutput:async({text:e})=>e,parsePartialOutput:async({text:e})=>({
partial:e}),createElementStreamTransform(){}
}),Ftt=({schema:e,name:t,description:n})=>{const r=utt(e);return{name:"object",
responseFormat:mtt(r.jsonSchema).then((e=>({type:"json",schema:e,...null!=t&&{
name:t},...null!=n&&{description:n}}))),async parseCompleteOutput({text:e},t){
const n=await ftt({text:e});if(!n.success)throw new wtt({
message:"No object generated: could not parse the response.",cause:n.error,
text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})
;const a=await htt({value:n.value,schema:r});if(!a.success)throw new wtt({
message:"No object generated: response did not match schema.",cause:a.error,
text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})
;return a.value},async parsePartialOutput({text:e}){const t=await ztt(e)
;switch(t.state){case"failed-parse":case"undefined-input":return
;case"repaired-parse":case"successful-parse":return{partial:t.value}}},
createElementStreamTransform(){}}},Htt=({element:e,name:t,description:n})=>{
const r=utt(e);return{name:"array",responseFormat:mtt(r.jsonSchema).then((e=>{
const{$schema:r,...a}=e;return{type:"json",schema:{
$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{
elements:{type:"array",items:a}},required:["elements"],additionalProperties:!1},
...null!=t&&{name:t},...null!=n&&{description:n}}})),
async parseCompleteOutput({text:e},t){const n=await ftt({text:e})
;if(!n.success)throw new wtt({
message:"No object generated: could not parse the response.",cause:n.error,
text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})
;const a=n.value
;if(null==a||"object"!=typeof a||!("elements"in a)||!Array.isArray(a.elements))throw new wtt({
message:"No object generated: response did not match schema.",cause:new Oet({
value:a,cause:"response must be an object with an elements array"}),text:e,
response:t.response,usage:t.usage,finishReason:t.finishReason})
;for(const o of a.elements){const n=await htt({value:o,schema:r})
;if(!n.success)throw new wtt({
message:"No object generated: response did not match schema.",cause:n.error,
text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})}
return a.elements},async parsePartialOutput({text:e}){const t=await ztt(e)
;switch(t.state){case"failed-parse":case"undefined-input":return
;case"repaired-parse":case"successful-parse":{const e=t.value
;if(null==e||"object"!=typeof e||!("elements"in e)||!Array.isArray(e.elements))return
;const n="repaired-parse"===t.state&&e.elements.length>0?e.elements.slice(0,-1):e.elements,a=[]
;for(const t of n){const e=await htt({value:t,schema:r})
;e.success&&a.push(e.value)}return{partial:a}}}},createElementStreamTransform(){
let e=0;return new TransformStream({transform({partialOutput:t},n){
if(null!=t)for(;e<t.length;e++)n.enqueue(t[e])}})}}
},Qtt=({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},
...null!=t&&{name:t},...null!=n&&{description:n}}),
async parseCompleteOutput({text:t},n){const r=await ftt({text:t})
;if(!r.success)throw new wtt({
message:"No object generated: could not parse the response.",cause:r.error,
text:t,response:n.response,usage:n.usage,finishReason:n.finishReason})
;const a=r.value
;if(null==a||"object"!=typeof a||!("result"in a)||"string"!=typeof a.result||!e.includes(a.result))throw new wtt({
message:"No object generated: response did not match schema.",cause:new Oet({
value:a,cause:"response must be an object that contains a choice value."}),
text:t,response:n.response,usage:n.usage,finishReason:n.finishReason})
;return a.result},async parsePartialOutput({text:t}){const n=await ztt(t)
;switch(n.state){case"failed-parse":case"undefined-input":return
;case"repaired-parse":case"successful-parse":{const t=n.value
;if(null==t||"object"!=typeof t||!("result"in t)||"string"!=typeof t.result)return
;const r=e.filter((e=>e.startsWith(t.result)))
;return"successful-parse"===n.state?r.includes(t.result)?{partial:t.result
}:void 0:1===r.length?{partial:r[0]}:void 0}}},createElementStreamTransform(){}
}),Vtt=({name:e,description:t}={})=>({name:"json",
responseFormat:Promise.resolve({type:"json",...null!=e&&{name:e},...null!=t&&{
description:t}}),async parseCompleteOutput({text:e},t){const n=await ftt({text:e
});if(!n.success)throw new wtt({
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}){const t=await ztt(e)
;switch(t.state){case"failed-parse":case"undefined-input":return
;case"repaired-parse":case"successful-parse":return void 0===t.value?void 0:{
partial:t.value}}},createElementStreamTransform(){}});Tet({prefix:"aitxt",
size:24}),TransformStream;var qtt=function(e){let t;return()=>(null==t&&(t=e()),
t)}((()=>dtt(Qc([Zc({type:pu("text-start"),id:cl(),
providerMetadata:_tt.optional()}),Zc({type:pu("text-delta"),id:cl(),delta:cl(),
providerMetadata:_tt.optional()}),Zc({type:pu("text-end"),id:cl(),
providerMetadata:_tt.optional()}),Zc({type:pu("error"),errorText:cl()}),Zc({
type:pu("tool-input-start"),toolCallId:cl(),toolName:cl(),
providerExecuted:mc().optional(),dynamic:mc().optional(),title:cl().optional()
}),Zc({type:pu("tool-input-delta"),toolCallId:cl(),inputTextDelta:cl()}),Zc({
type:pu("tool-input-available"),toolCallId:cl(),toolName:cl(),input:$c(),
providerExecuted:mc().optional(),providerMetadata:_tt.optional(),
dynamic:mc().optional(),title:cl().optional()}),Zc({type:pu("tool-input-error"),
toolCallId:cl(),toolName:cl(),input:$c(),providerExecuted:mc().optional(),
providerMetadata:_tt.optional(),dynamic:mc().optional(),errorText:cl(),
title:cl().optional()}),Zc({type:pu("tool-approval-request"),approvalId:cl(),
toolCallId:cl()}),Zc({type:pu("tool-output-available"),toolCallId:cl(),
output:$c(),providerExecuted:mc().optional(),dynamic:mc().optional(),
preliminary:mc().optional()}),Zc({type:pu("tool-output-error"),toolCallId:cl(),
errorText:cl(),providerExecuted:mc().optional(),dynamic:mc().optional()}),Zc({
type:pu("tool-output-denied"),toolCallId:cl()}),Zc({type:pu("reasoning-start"),
id:cl(),providerMetadata:_tt.optional()}),Zc({type:pu("reasoning-delta"),
id:cl(),delta:cl(),providerMetadata:_tt.optional()}),Zc({
type:pu("reasoning-end"),id:cl(),providerMetadata:_tt.optional()}),Zc({
type:pu("source-url"),sourceId:cl(),url:cl(),title:cl().optional(),
providerMetadata:_tt.optional()}),Zc({type:pu("source-document"),sourceId:cl(),
mediaType:cl(),title:cl(),filename:cl().optional(),
providerMetadata:_tt.optional()}),Zc({type:pu("file"),url:cl(),mediaType:cl(),
providerMetadata:_tt.optional()}),Zc({
type:Ku((e=>"string"==typeof e&&e.startsWith("data-")),{
message:'Type must start with "data-"'}),id:cl().optional(),data:$c(),
transient:mc().optional()}),Zc({type:pu("start-step")}),Zc({
type:pu("finish-step")}),Zc({type:pu("start"),messageId:cl().optional(),
messageMetadata:$c().optional()}),Zc({type:pu("finish"),
finishReason:cu(["stop","length","content-filter","tool-calls","error","other"]).optional(),
messageMetadata:$c().optional()}),Zc({type:pu("abort"),reason:cl().optional()
}),Zc({type:pu("message-metadata"),messageMetadata:$c()})]))));function Wtt(e){
return e.type.startsWith("tool-")}function Xtt(e){return Wtt(e)||function(e){
return"dynamic-tool"===e.type}(e)}function Gtt(e){
return e.type.split("-").slice(1).join("-")}
function Ytt({lastMessage:e,messageId:t}){return{
message:"assistant"===(null==e?void 0:e.role)?e:{id:t,metadata:void 0,
role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},
partialToolCalls:{}}}
function Ktt({stream:e,messageMetadataSchema:t,dataPartSchemas:n,runUpdateMessageJob:r,onError:a,onToolCall:o,onData:i}){
return e.pipeThrough(new TransformStream({async transform(e,s){
await r((async({state:r,write:l})=>{var c,u,d,p;function h(e){
const t=r.message.parts.filter(Xtt).find((t=>t.toolCallId===e))
;if(null==t)throw new Error(`no tool invocation found for tool call ${e}`)
;return t}function f(e){var t
;const n=r.message.parts.find((t=>Wtt(t)&&t.toolCallId===e.toolCallId)),a=e,o=n
;null!=n?(n.state=e.state,
o.input=a.input,o.output=a.output,o.errorText=a.errorText,o.rawInput=a.rawInput,
o.preliminary=a.preliminary,
void 0!==e.title&&(o.title=e.title),o.providerExecuted=null!=(t=a.providerExecuted)?t:n.providerExecuted,
null!=a.providerMetadata&&"input-available"===n.state&&(n.callProviderMetadata=a.providerMetadata)):r.message.parts.push({
type:`tool-${e.toolName}`,toolCallId:e.toolCallId,state:e.state,title:e.title,
input:a.input,output:a.output,rawInput:a.rawInput,errorText:a.errorText,
providerExecuted:a.providerExecuted,preliminary:a.preliminary,
...null!=a.providerMetadata?{callProviderMetadata:a.providerMetadata}:{}})}
function m(e){var t,n
;const a=r.message.parts.find((t=>"dynamic-tool"===t.type&&t.toolCallId===e.toolCallId)),o=e,i=a
;null!=a?(a.state=e.state,
i.toolName=e.toolName,i.input=o.input,i.output=o.output,i.errorText=o.errorText,
i.rawInput=null!=(t=o.rawInput)?t:i.rawInput,
i.preliminary=o.preliminary,void 0!==e.title&&(i.title=e.title),
i.providerExecuted=null!=(n=o.providerExecuted)?n:a.providerExecuted,
null!=o.providerMetadata&&"input-available"===a.state&&(a.callProviderMetadata=o.providerMetadata)):r.message.parts.push({
type:"dynamic-tool",toolName:e.toolName,toolCallId:e.toolCallId,state:e.state,
input:o.input,output:o.output,errorText:o.errorText,preliminary:o.preliminary,
providerExecuted:o.providerExecuted,title:e.title,...null!=o.providerMetadata?{
callProviderMetadata:o.providerMetadata}:{}})}async function g(e){if(null!=e){
const n=null!=r.message.metadata?jtt(r.message.metadata,e):e
;null!=t&&await ptt({value:n,schema:t}),r.message.metadata=n}}switch(e.type){
case"text-start":{const t={type:"text",text:"",
providerMetadata:e.providerMetadata,state:"streaming"}
;r.activeTextParts[e.id]=t,r.message.parts.push(t),l();break}case"text-delta":{
const t=r.activeTextParts[e.id]
;t.text+=e.delta,t.providerMetadata=null!=(c=e.providerMetadata)?c:t.providerMetadata,
l();break}case"text-end":{const t=r.activeTextParts[e.id]
;t.state="done",t.providerMetadata=null!=(u=e.providerMetadata)?u:t.providerMetadata,
delete r.activeTextParts[e.id],l();break}case"reasoning-start":{const t={
type:"reasoning",text:"",providerMetadata:e.providerMetadata,state:"streaming"}
;r.activeReasoningParts[e.id]=t,r.message.parts.push(t),l();break}
case"reasoning-delta":{const t=r.activeReasoningParts[e.id]
;t.text+=e.delta,t.providerMetadata=null!=(d=e.providerMetadata)?d:t.providerMetadata,
l();break}case"reasoning-end":{const t=r.activeReasoningParts[e.id]
;t.providerMetadata=null!=(p=e.providerMetadata)?p:t.providerMetadata,
t.state="done",delete r.activeReasoningParts[e.id],l();break}case"file":
r.message.parts.push({type:"file",mediaType:e.mediaType,url:e.url}),l();break
;case"source-url":r.message.parts.push({type:"source-url",sourceId:e.sourceId,
url:e.url,title:e.title,providerMetadata:e.providerMetadata}),l();break
;case"source-document":r.message.parts.push({type:"source-document",
sourceId:e.sourceId,mediaType:e.mediaType,title:e.title,filename:e.filename,
providerMetadata:e.providerMetadata}),l();break;case"tool-input-start":{
const t=r.message.parts.filter(Wtt);r.partialToolCalls[e.toolCallId]={text:"",
toolName:e.toolName,index:t.length,dynamic:e.dynamic,title:e.title
},e.dynamic?m({toolCallId:e.toolCallId,toolName:e.toolName,
state:"input-streaming",input:void 0,providerExecuted:e.providerExecuted,
title:e.title}):f({toolCallId:e.toolCallId,toolName:e.toolName,
state:"input-streaming",input:void 0,providerExecuted:e.providerExecuted,
title:e.title}),l();break}case"tool-input-delta":{
const t=r.partialToolCalls[e.toolCallId];t.text+=e.inputTextDelta
;const{value:n}=await ztt(t.text);t.dynamic?m({toolCallId:e.toolCallId,
toolName:t.toolName,state:"input-streaming",input:n,title:t.title}):f({
toolCallId:e.toolCallId,toolName:t.toolName,state:"input-streaming",input:n,
title:t.title}),l();break}case"tool-input-available":e.dynamic?m({
toolCallId:e.toolCallId,toolName:e.toolName,state:"input-available",
input:e.input,providerExecuted:e.providerExecuted,
providerMetadata:e.providerMetadata,title:e.title}):f({toolCallId:e.toolCallId,
toolName:e.toolName,state:"input-available",input:e.input,
providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,
title:e.title}),l(),o&&!e.providerExecuted&&await o({toolCall:e});break
;case"tool-input-error":e.dynamic?m({toolCallId:e.toolCallId,
toolName:e.toolName,state:"output-error",input:e.input,errorText:e.errorText,
providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata}):f({
toolCallId:e.toolCallId,toolName:e.toolName,state:"output-error",input:void 0,
rawInput:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,
providerMetadata:e.providerMetadata}),l();break;case"tool-approval-request":{
const t=h(e.toolCallId);t.state="approval-requested",t.approval={id:e.approvalId
},l();break}case"tool-output-denied":h(e.toolCallId).state="output-denied",l()
;break;case"tool-output-available":{const t=h(e.toolCallId)
;"dynamic-tool"===t.type?m({toolCallId:e.toolCallId,toolName:t.toolName,
state:"output-available",input:t.input,output:e.output,
preliminary:e.preliminary,providerExecuted:e.providerExecuted,title:t.title
}):f({toolCallId:e.toolCallId,toolName:Gtt(t),state:"output-available",
input:t.input,output:e.output,providerExecuted:e.providerExecuted,
preliminary:e.preliminary,title:t.title}),l();break}case"tool-output-error":{
const t=h(e.toolCallId);"dynamic-tool"===t.type?m({toolCallId:e.toolCallId,
toolName:t.toolName,state:"output-error",input:t.input,errorText:e.errorText,
providerExecuted:e.providerExecuted,title:t.title}):f({toolCallId:e.toolCallId,
toolName:Gtt(t),state:"output-error",input:t.input,rawInput:t.rawInput,
errorText:e.errorText,providerExecuted:e.providerExecuted,title:t.title}),l()
;break}case"start-step":r.message.parts.push({type:"step-start"});break
;case"finish-step":r.activeTextParts={},r.activeReasoningParts={};break
;case"start":
null!=e.messageId&&(r.message.id=e.messageId),await g(e.messageMetadata),
null==e.messageId&&null==e.messageMetadata||l();break;case"finish":
null!=e.finishReason&&(r.finishReason=e.finishReason),
await g(e.messageMetadata),null!=e.messageMetadata&&l();break
;case"message-metadata":await g(e.messageMetadata),null!=e.messageMetadata&&l()
;break;case"error":null==a||a(new Error(e.errorText));break;default:
if(function(e){return e.type.startsWith("data-")}(e)){
null!=(null==n?void 0:n[e.type])&&await ptt({value:e.data,schema:n[e.type]})
;const t=e;if(t.transient){null==i||i(t);break}
const a=null!=t.id?r.message.parts.find((e=>t.type===e.type&&t.id===e.id)):void 0
;null!=a?a.data=t.data:r.message.parts.push(t),null==i||i(t),l()}}s.enqueue(e)
}))}}))}Tet({prefix:"aitxt",size:24}),Tet({prefix:"aiobj",size:24})
;var Jtt=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(r){n(r)}})),this.processQueue()}))}};Tet({prefix:"aiobj",size:24})
;var ent=class{
constructor({api:e="/api/chat",credentials:t,headers:n,body:r,fetch:a,prepareSendMessagesRequest:o,prepareReconnectToStreamRequest:i}){
this.api=e,
this.credentials=t,this.headers=n,this.body=r,this.fetch=a,this.prepareSendMessagesRequest=o,
this.prepareReconnectToStreamRequest=i}async sendMessages({abortSignal:e,...t}){
var n,r,a,o,i
;const s=await mtt(this.body),l=await mtt(this.headers),c=await mtt(this.credentials),u={
...$et(l),...$et(t.headers)
},d=await(null==(n=this.prepareSendMessagesRequest)?void 0:n.call(this,{
api:this.api,id:t.chatId,messages:t.messages,body:{...s,...t.body},headers:u,
credentials:c,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId
})),p=null!=(r=null==d?void 0:d.api)?r:this.api,h=void 0!==(null==d?void 0:d.headers)?$et(d.headers):u,f=void 0!==(null==d?void 0:d.body)?d.body:{
...s,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,
messageId:t.messageId
},m=null!=(a=null==d?void 0:d.credentials)?a:c,g=null!=(o=this.fetch)?o:globalThis.fetch,v=await g(p,{
method:"POST",headers:Pet({"Content-Type":"application/json",...h
},`ai-sdk/${xtt}`,Cet()),body:JSON.stringify(f),credentials:m,signal:e})
;if(!v.ok)throw new Error(null!=(i=await v.text())?i:"Failed to fetch the chat response.")
;if(!v.body)throw new Error("The response body is empty.")
;return this.processResponseStream(v.body)}async reconnectToStream(e){
var t,n,r,a,o
;const i=await mtt(this.body),s=await mtt(this.headers),l=await mtt(this.credentials),c={
...$et(s),...$et(e.headers)
},u=await(null==(t=this.prepareReconnectToStreamRequest)?void 0:t.call(this,{
api:this.api,id:e.chatId,body:{...i,...e.body},headers:c,credentials:l,
requestMetadata:e.metadata
})),d=null!=(n=null==u?void 0:u.api)?n:`${this.api}/${e.chatId}/stream`,p=void 0!==(null==u?void 0:u.headers)?$et(u.headers):c,h=null!=(r=null==u?void 0:u.credentials)?r:l,f=null!=(a=this.fetch)?a:globalThis.fetch,m=await f(d,{
method:"GET",headers:Pet(p,`ai-sdk/${xtt}`,Cet()),credentials:h})
;if(204===m.status)return null
;if(!m.ok)throw new Error(null!=(o=await m.text())?o:"Failed to fetch the chat response.")
;if(!m.body)throw new Error("The response body is empty.")
;return this.processResponseStream(m.body)}},tnt=class extends ent{
constructor(e={}){super(e)}processResponseStream(e){
return function({stream:e,schema:t}){
return e.pipeThrough(new TextDecoderStream).pipeThrough(new Aet).pipeThrough(new TransformStream({
async transform({data:e},n){"[DONE]"!==e&&n.enqueue(await ftt({text:e,schema:t
}))}}))}({stream:e,schema:qtt}).pipeThrough(new TransformStream({
async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}
},nnt=class{
constructor({generateId:e=Eet,id:t=e(),transport:n=new tnt,messageMetadataSchema:r,dataPartSchemas:a,state:o,onError:i,onToolCall:s,onFinish:l,onData:c,sendAutomaticallyWhen:u}){
this.activeResponse=void 0,
this.jobExecutor=new Jtt,this.sendMessage=async(e,t)=>{var n,r,a,o
;if(null==e)return void(await this.makeRequest({trigger:"submit-message",
messageId:null==(n=this.lastMessage)?void 0:n.id,...t}));let i
;if("text"in e||"files"in e){
const t=Array.isArray(e.files)?e.files:await async function(e){
if(null==e)return[]
;if(!(globalThis.FileList&&e instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment")
;return Promise.all(Array.from(e).map((async e=>{const{name:t,type:n}=e;return{
type:"file",mediaType:n,filename:t,url:await new Promise(((t,n)=>{
const r=new FileReader;r.onload=e=>{var n;t(null==(n=e.target)?void 0:n.result)
},r.onerror=e=>n(e),r.readAsDataURL(e)}))}})))}(e.files);i={
parts:[...t,..."text"in e&&null!=e.text?[{type:"text",text:e.text}]:[]]}
}else i=e;if(null!=e.messageId){
const t=this.state.messages.findIndex((t=>t.id===e.messageId))
;if(-1===t)throw new Error(`message with id ${e.messageId} not found`)
;if("user"!==this.state.messages[t].role)throw new 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,{...i,id:e.messageId,role:null!=(r=i.role)?r:"user",
metadata:e.metadata})}else this.state.pushMessage({...i,
id:null!=(a=i.id)?a:this.generateId(),role:null!=(o=i.role)?o:"user",
metadata:e.metadata});await this.makeRequest({trigger:"submit-message",
messageId:e.messageId,...t})},this.regenerate=async({messageId:e,...t}={})=>{
const n=null==e?this.state.messages.length-1:this.state.messages.findIndex((t=>t.id===e))
;if(-1===n)throw new Error(`message ${e} not found`)
;this.state.messages=this.state.messages.slice(0,"assistant"===this.messages[n].role?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=()=>{
"error"===this.status&&(this.state.error=void 0,this.setStatus({status:"ready"
}))
},this.addToolApprovalResponse=async({id:e,approved:t,reason:n})=>this.jobExecutor.run((async()=>{
var r,a
;const o=this.state.messages,i=o[o.length-1],s=r=>Xtt(r)&&"approval-requested"===r.state&&r.approval.id===e?{
...r,state:"approval-responded",approval:{id:e,approved:t,reason:n}}:r
;this.state.replaceMessage(o.length-1,{...i,parts:i.parts.map(s)
}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(s)),
"streaming"!==this.status&&"submitted"!==this.status&&(null==(r=this.sendAutomaticallyWhen)?void 0:r.call(this,{
messages:this.state.messages}))&&this.makeRequest({trigger:"submit-message",
messageId:null==(a=this.lastMessage)?void 0:a.id})
})),this.addToolOutput=async({state:e="output-available",tool:t,toolCallId:n,output:r,errorText:a})=>this.jobExecutor.run((async()=>{
var t,o
;const i=this.state.messages,s=i[i.length-1],l=t=>Xtt(t)&&t.toolCallId===n?{
...t,state:e,output:r,errorText:a}:t;this.state.replaceMessage(i.length-1,{...s,
parts:s.parts.map(l)
}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(l)),
"streaming"!==this.status&&"submitted"!==this.status&&(null==(t=this.sendAutomaticallyWhen)?void 0:t.call(this,{
messages:this.state.messages}))&&this.makeRequest({trigger:"submit-message",
messageId:null==(o=this.lastMessage)?void 0:o.id})
})),this.addToolResult=this.addToolOutput,this.stop=async()=>{var e
;"streaming"!==this.status&&"submitted"!==this.status||(null==(e=this.activeResponse)?void 0:e.abortController)&&this.activeResponse.abortController.abort()
},
this.id=t,this.transport=n,this.generateId=e,this.messageMetadataSchema=r,this.dataPartSchemas=a,
this.state=o,
this.onError=i,this.onToolCall=s,this.onFinish=l,this.onData=c,this.sendAutomaticallyWhen=u
}get status(){return this.state.status}setStatus({status:e,error:t}){
this.status!==e&&(this.state.status=e,this.state.error=t)}get error(){
return this.state.error}get messages(){return this.state.messages}
get lastMessage(){return this.state.messages[this.state.messages.length-1]}
set messages(e){this.state.messages=e}
async makeRequest({trigger:e,metadata:t,headers:n,body:r,messageId:a}){
var o,i,s,l;this.setStatus({status:"submitted",error:void 0})
;const c=this.lastMessage;let u=!1,d=!1,p=!1;try{const o={state:Ytt({
lastMessage:this.state.snapshot(c),messageId:this.generateId()}),
abortController:new AbortController};let i
;if(o.abortController.signal.addEventListener("abort",(()=>{u=!0
})),this.activeResponse=o,"resume-stream"===e){
const e=await this.transport.reconnectToStream({chatId:this.id,metadata:t,
headers:n,body:r});if(null==e)return void this.setStatus({status:"ready"});i=e
}else i=await this.transport.sendMessages({chatId:this.id,
messages:this.state.messages,abortSignal:o.abortController.signal,metadata:t,
headers:n,body:r,trigger:e,messageId:a})
;const s=e=>this.jobExecutor.run((()=>e({state:o.state,write:()=>{var e
;this.setStatus({status:"streaming"})
;o.state.message.id===(null==(e=this.lastMessage)?void 0:e.id)?this.state.replaceMessage(this.state.messages.length-1,o.state.message):this.state.pushMessage(o.state.message)
}})));await async function({stream:e,onError:t}){const n=e.getReader();try{
for(;;){const{done:e}=await n.read();if(e)break}}catch(r){null==t||t(r)}finally{
n.releaseLock()}}({stream:Ktt({stream:i,onToolCall:this.onToolCall,
onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,
dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:s,onError:e=>{throw e}
}),onError:e=>{throw e}}),this.setStatus({status:"ready"})}catch(h){
if(u||"AbortError"===h.name)return u=!0,this.setStatus({status:"ready"}),null
;p=!0,
h instanceof TypeError&&(h.message.toLowerCase().includes("fetch")||h.message.toLowerCase().includes("network"))&&(d=!0),
this.onError&&h instanceof Error&&this.onError(h),this.setStatus({
status:"error",error:h})}finally{try{null==(i=this.onFinish)||i.call(this,{
message:this.activeResponse.state.message,messages:this.state.messages,
isAbort:u,isDisconnect:d,isError:p,
finishReason:null==(o=this.activeResponse)?void 0:o.state.finishReason})
}catch(h){console.error(h)}this.activeResponse=void 0}
(null==(s=this.sendAutomaticallyWhen)?void 0:s.call(this,{
messages:this.state.messages}))&&!p&&await this.makeRequest({
trigger:"submit-message",messageId:null==(l=this.lastMessage)?void 0:l.id,
metadata:t,headers:n,body:r})}};function rnt({messages:e}){const t=e[e.length-1]
;if(!t)return!1;if("assistant"!==t.role)return!1
;const n=t.parts.reduce(((e,t,n)=>"step-start"===t.type?n:e),-1),r=t.parts.slice(n+1).filter(Xtt).filter((e=>!e.providerExecuted))
;return r.length>0&&r.every((e=>"output-available"===e.state||"output-error"===e.state))
}var ant=class{constructor(e){
this.statusRef=bm("ready"),this.errorRef=bm(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=bm(null!=e?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}
},ont=class extends nnt{constructor({messages:e,...t}){super({...t,
state:new ant(e)})}};const int={safeFn:function(e,t){const n=e=>({success:!1,
error:t?.(e)??null});return(...t)=>{try{const r=e(...t)
;return r instanceof Promise?r.catch(n):r}catch(zw){return n(zw)}}},
fromUnsafe:function(e,t){const n=e=>({success:!1,error:t?.(e)??null}),r=e=>({
success:!0,data:e});try{const t=e()
;return t instanceof Promise?t.then(r).catch(n):r(t)}catch(zw){return n(zw)}},
resultsToResult:function(e){let t=!0;const n=[],r=[]
;for(const a of e)a.success?r.push(a.data):(t=!1,n.push(a.error));return t?{
success:!0,data:r}:{success:!1,error:n}}};function snt(e,t){return{code:e,
detail:t}}const lnt=md.object({id:md.string(),title:md.string(),
namespace:md.string(),currentVersion:md.string(),logoUrl:md.url().nullable(),
slug:md.string()});function cnt(e,t,n){
return Object.values(xUe(t?.components?.securitySchemes,{},n,e))}
function unt(e){
return Object.fromEntries(Object.entries(e.workspace.documents).map((([t,n])=>{
const r=oVe(n.servers,{documentUrl:n?.["x-scalar-original-source-url"]})
;return[t,{activeServer:aVe(n,r),securitySchemes:cnt(t,n,e.auth)}]})))}
const dnt=Hke(),pnt=()=>{const e=e=>`${Fke}-${e}`;return{getAuth:t=>{
const n=JSON.parse(dnt.getItem(e(t))??"{}");return cZe(k2e,n)},setAuth:(t,n)=>{
dnt.setItem(e(t),JSON.stringify(n))}}
},hnt=({documentName:e,workspaceStore:t})=>{const n=pnt().getAuth(e)
;t.auth.load({[e]:n})};function fnt(e){try{
if(e.startsWith("/")||e.startsWith("http://localhost"))return e
;const t=new URLSearchParams({scalar_url:e})
;return new URL(`https://proxy.scalar.com/?${t}`).toString()}catch{
return console.error(`Invalid URL provided: ${e}`),e}}
function mnt({getAccessToken:e,getAgentKey:t}){const n=e?.(),r=t?.();return{
...n&&{Authorization:`Bearer ${n}`},...r&&{"x-scalar-agent-key":r}}}
const gnt=(e,t)=>{for(let n=t;n<e.length;n+=1){const t=e[n];if(!vnt(t))return n}
},vnt=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,bnt=e=>"{"===e||"["===e,ynt=(e,t,n)=>{
let r;for(let a=n-1;a>t;a-=1){const t=e[a];if("\r"===t)return
;if("\n"===t)return Ont(r);if(void 0===r)r=t;else{if(r[0]!==t)return;r+=t}}
},Ont=e=>void 0===e?0:" "===e[0]?e.length:e,wnt=(e,t,n,r)=>{
const a=e[t](r).replace(xnt,"$1").replace(knt,"$1")
;return a.length<=n?a:1===r?void 0:wnt(e,t,n,r-1)
},xnt=/(e)\+/iu,knt=/\.?0*($|e)/iu,Snt=e=>{_nt(e)},_nt=e=>{
if(!Number.isInteger(e))throw new TypeError(`"maxSize" argument must be an integer: ${e}`)
},Ant=(e,t,n)=>{const r=Dnt(t,n);return Tnt(e,t,r)},Tnt=(e,t,n)=>{
if(n>=t)return n;const r=e[n];return r>=Bnt&&r<=jnt?Tnt(e,t,n+1):n
},Ent=(e,t,n)=>{if(void 0===n)return n;const r=Dnt(t,n);return Cnt(e,r)
},Cnt=(e,t)=>$nt(e,t)?t-3:Pnt(e,t)?t-2:Int(e,t)?t-1:t,$nt=(e,t)=>t>=3&&e[t-3]>=Mnt&&e[t-3]<=Nnt,Pnt=(e,t)=>t>=2&&e[t-2]>=Rnt,Int=(e,t)=>t>=1&&e[t-1]>=Lnt,Dnt=(e,t)=>t<0||Object.is(t,-0)?Math.max(e+t,0):t,Mnt=240,Nnt=244,Rnt=224,Lnt=194,Bnt=128,jnt=191,Unt=55296,znt=57343,Znt=/[\uD800-\uDFFF]/gu,Fnt=e=>Hnt(e)?e.replace(Znt,"�"):e,Hnt=e=>{
for(let t=0;t<e.length;t+=1){const n=e.codePointAt(t);if(n>=Unt&&n<=znt)return!0
}return!1
},Qnt=({input:e,targetByteCount:t,firstStartSurrogate:n,lastStartSurrogate:r,firstEndSurrogate:a,lastEndSurrogate:o,increment:i,canBacktrack:s,shift:l,charIndexInit:c})=>{
let u=c,d=u,p=0;for(;p<t;u+=i){d=u;const t=e.charCodeAt(u)
;if(Number.isNaN(t))break;if(t<=127){p+=1;continue}if(t<=2047){p+=2;continue}
if(p+=3,t<n||t>r)continue;const s=e.charCodeAt(u+i)
;Number.isNaN(s)||s<a||s>o||(p+=1,u+=i)}return(s&&p>t?d:u)+l
},Vnt=(e,t,n)=>t<0||Object.is(t,-0)?Wnt(e,t,n):qnt(e,t,n),qnt=(e,t,n)=>Qnt({
input:e,targetByteCount:t,firstStartSurrogate:Unt,lastStartSurrogate:56319,
firstEndSurrogate:56320,lastEndSurrogate:znt,increment:1,canBacktrack:n,shift:0,
charIndexInit:0}),Wnt=(e,t,n)=>Qnt({input:e,targetByteCount:-t,
firstStartSurrogate:56320,lastStartSurrogate:znt,firstEndSurrogate:Unt,
lastEndSurrogate:56319,increment:-1,canBacktrack:!n,shift:1,
charIndexInit:e.length-1}),Xnt=(e,t,n)=>{
const r=Vnt(e,t,!1),a=Gnt(e,n),o=0===r&&void 0===a?e:e.slice(r,a);return Fnt(o)
},Gnt=(e,t)=>{if(void 0===t)return t;const n=Vnt(e,t,!0)
;return n===e.length?void 0:n
},Ynt=()=>(void 0===Knt&&(Knt=new globalThis.TextEncoder,
Jnt=new globalThis.TextDecoder("utf8",{fatal:!1})),{textEncoder:Knt,
textDecoder:Jnt});let Knt,Jnt;const ert=e=>{const t=3*e.length
;return t>trt?new Uint8Array(t):((void 0===nrt||nrt.length<t)&&(nrt=new Uint8Array(t)),
nrt)},trt=1e5;let nrt;const rrt=(e,t)=>t<=e.length*-art?0:t,art=4,ort=e=>{
srt("Second",e)},irt=e=>{void 0!==e&&srt("Third",e)},srt=(e,t)=>{
if(!Number.isInteger(t))throw new TypeError(`${e} argument must be an integer: ${t}`)
},lrt=(e,t)=>{const n=crt-1,r=1-(n-t)/n,a=Math.round(r*(e.length-1))
;return e.charCodeAt(a)},crt=50,urt=(e,t,n)=>{if(((e,t,n)=>{
if("string"!=typeof e)throw new TypeError(`First argument must be a string: ${e}`)
;ort(t),irt(n)})(e,t,n),""===e)return e;const r=rrt(e,t),a=((e,t)=>{
if(void 0===t)return t;const n=rrt(e,t);return n>=e.length*art?void 0:n})(e,n)
;return void 0===a&&Object.is(r,0)?Fnt(e):drt(e,r,a)},drt=(e,t,n)=>{
if(e.length<=prt)return Xnt(e,t,n)
;const{asciiOnly:r,longCharsPercentage:a}=(e=>{let t=!0,n=0
;for(let r=0;r<crt;r+=1){const a=lrt(e,r);a<=127||(t&&(t=!1),a>2047&&(n+=1))}
return{asciiOnly:t,longCharsPercentage:n/crt}})(e)
;return r?frt(e,t,n):a>=hrt?Xnt(e,t,n):mrt(e,t,n)
},prt=200,hrt=.4,frt=(e,t,n)=>"Buffer"in globalThis&&"from"in globalThis.Buffer?((e,t,n)=>{
const r=globalThis.Buffer.from(e),a=Ant(r,r.length,t),o=Ent(r,r.length,n)
;return 0===a&&o>=r.length?r.toString():r.toString("utf8",a,o)
})(e,t,n):mrt(e,t,n),mrt=(e,t,n)=>"TextEncoder"in globalThis?((e,t,n)=>{
const{textEncoder:r,textDecoder:a}=Ynt(),o=ert(e),{written:i}=r.encodeInto(e,o),s=Ant(o,i,t),l=Ent(o,i,n),c=void 0===l?i:Math.min(l,i),u=o.subarray(s,c)
;return a.decode(u)
})(e,t,n):Xnt(e,t,n),grt=e=>e.replace(vrt,""),vrt=/(\\|\\u[0-9a-fA-F]{0,3})$/u,brt=e=>e.slice(Ort.length,-Ort.length),yrt=e=>`${Ort}${e}${Ort}`,Ort='"',wrt="...",xrt=e=>globalThis.Buffer.byteLength(e),krt=e=>{
const t=e.length;let n=t;for(let r=0;r<t;r+=1){const t=e.charCodeAt(r)
;if(t<=Srt)continue;if(t<=_rt){n+=1;continue}if(n+=2,t<Art||t>Trt)continue
;const a=e.charCodeAt(r+1);a<Ert||a>Crt||(r+=1)}return n
},Srt=127,_rt=2047,Art=55296,Trt=56319,Ert=56320,Crt=57343,$rt=(e,t)=>{
const n=Prt(t);return e.encodeInto(t,n).written},Prt=e=>{const t=3*e.length
;return t>Irt?new Uint8Array(t):((void 0===Drt||Drt.length<t)&&(Drt=new Uint8Array(t)),
Drt)},Irt=1e5;let Drt
;const Mrt=(e,t)=>t.length<100?krt(t):e(t),Nrt="Buffer"in globalThis&&"byteLength"in globalThis.Buffer?xrt:"TextEncoder"in globalThis?Mrt.bind(void 0,$rt.bind(void 0,new TextEncoder)):krt,Rrt=4,Lrt=4,Brt=5,jrt=2,Urt=e=>Nrt(JSON.stringify(e)),zrt=({size:e,increment:t,maxSize:n,truncatedProps:r,path:a,value:o})=>{
const i=e+t,s=i>n;return s?{size:e,stop:s,truncatedProps:[...r,{path:a,value:o}]
}:{size:i,stop:s,truncatedProps:r}},Zrt=e=>(e=>{if(null===e)return Rrt
;if(!0===e)return Lrt;if(!1===e)return Brt;const t=typeof e
;return"object"===t?jrt:"number"===t?JSON.stringify(e).length:Urt(e)
})(e),Frt=(e,t,n)=>Vrt({empty:e,indent:t,depth:n,keySpaceSize:0
})+Wrt(e),Hrt=({key:e,empty:t,indent:n,depth:r})=>{const a=Vrt({empty:t,
indent:n,depth:r,keySpaceSize:1}),o=Urt(e),i=Wrt(t);return a+o+Qrt+i
},Qrt=1,Vrt=({empty:e,indent:t,depth:n,keySpaceSize:r})=>{if(void 0===t)return 0
;return r+(qrt+t*(n+1))+(e?qrt+t*n:0)
},qrt=1,Wrt=e=>e?0:Xrt,Xrt=1,Grt=({parent:e,truncatedProps:t,path:n,increment:r,maxSize:a,key:o,empty:i,size:s,truncateValue:l,indent:c,depth:u})=>{
const d=e[o],p=[...n,o],{size:h,stop:f,truncatedProps:m}=zrt({size:s,
increment:r,maxSize:a,truncatedProps:t,path:p,value:d});return f?{empty:i,
size:h,truncatedProps:m}:Yrt({value:d,truncatedProps:t,path:p,maxSize:a,empty:i,
size:s,newSize:h,truncateValue:l,indent:c,depth:u})
},Yrt=({value:e,truncatedProps:t,path:n,maxSize:r,empty:a,size:o,newSize:i,truncateValue:s,indent:l,depth:c})=>{
const{value:u,size:d,truncatedProps:p}=s({value:e,truncatedProps:t,path:n,
size:i,maxSize:r,indent:l,depth:c+1});return void 0===u?{empty:a,size:o,
truncatedProps:p}:{empty:!1,size:d,value:u,truncatedProps:p}
},Krt=({value:e,truncatedProps:t,path:n,size:r,maxSize:a,indent:o,depth:i})=>{
const s=Zrt(e),{size:l,stop:c,truncatedProps:u}=zrt({size:r,increment:s,
maxSize:a,truncatedProps:t,path:n,value:e});return c?{value:void 0,size:l,
truncatedProps:u}:Jrt({value:e,truncatedProps:u,path:n,size:l,maxSize:a,
indent:o,depth:i})
},Jrt=({value:e,truncatedProps:t,path:n,size:r,maxSize:a,indent:o,depth:i})=>"object"!=typeof e||null===e?{
value:e,size:r,truncatedProps:t
}:Array.isArray(e)?(({array:e,truncatedProps:t,path:n,size:r,maxSize:a,truncateValue:o,indent:i,depth:s})=>{
const l=[];let c={empty:!0,size:r,truncatedProps:t}
;for(let u=0;u<e.length;u+=1){const t=Frt(c.empty,i,s);c=Grt({parent:e,
truncatedProps:c.truncatedProps,path:n,increment:t,maxSize:a,key:u,
empty:c.empty,size:c.size,truncateValue:o,indent:i,depth:s
}),void 0!==c.value&&l.push(c.value)}return{value:l,size:c.size,
truncatedProps:c.truncatedProps}})({array:e,truncatedProps:t,path:n,size:r,
maxSize:a,truncateValue:Krt,indent:o,depth:i
}):(({object:e,truncatedProps:t,path:n,size:r,maxSize:a,truncateValue:o,indent:i,depth:s})=>{
const l={};let c={empty:!0,size:r,truncatedProps:t};for(const u in e){
const t=Hrt({key:u,empty:c.empty,indent:i,depth:s});c=Grt({parent:e,
truncatedProps:c.truncatedProps,path:n,increment:t,maxSize:a,key:u,
empty:c.empty,size:c.size,truncateValue:o,indent:i,depth:s
}),void 0!==c.value&&(l[u]=c.value)}return{value:l,size:c.size,
truncatedProps:c.truncatedProps}})({object:e,truncatedProps:t,path:n,size:r,
maxSize:a,truncateValue:Krt,indent:o,depth:i}),eat=(e,t)=>{((e,t)=>{
if("string"!=typeof e)throw new TypeError(`Input must be a JSON string: ${e}`)
;Snt(t)})(e,t);const n=tat(e),r=nat(e),{value:a,truncatedProps:o}=Krt({value:r,
truncatedProps:[],path:[],size:0,maxSize:t,indent:n,depth:0});return{
jsonString:rat({newValue:a,value:r,maxSize:t,indent:n}),truncatedProps:o}
},tat=e=>{const t=(e=>{const t=gnt(e,0);if(void 0===t||!bnt(e[t]))return
;const n=gnt(e,t+1);return void 0!==n?ynt(e,t,n):void 0})(e)
;return"string"==typeof t?t.length:t},nat=e=>{try{return JSON.parse(e)}catch(t){
throw new TypeError(`Invalid JSON string: "${e}"\n${t.message}`)}
},rat=({newValue:e,value:t,maxSize:n,indent:r})=>void 0!==e?JSON.stringify(e,void 0,r):"number"==typeof t?((e,t)=>{
const n=wnt(e,"toPrecision",t,t);return void 0===n?wnt(e,"toExponential",t,t):n
})(t,n):((e,t)=>{
const n=JSON.stringify(e),r=brt(n),a=urt(r,0,t-wrt.length-2*Ort.length),o=grt(a)
;return yrt(`${o}${wrt}`)})(t,n);function aat(e,t){return`${e}/${t}`}
const oat="execute-request";zc({method:cl(),path:cl(),
headers:tu(cl(),cl()).optional(),body:cl().optional(),documentIdentifier:cl()})
;const iat=int.safeFn((async e=>"application/json"===e.headers.get("content-type")?{
success:!0,data:await e.json()}:{success:!0,data:await e.text()
}),(e=>snt("FAILED_TO_PARSE_RESPONSE_BODY",{originalError:e
}))),sat=e=>JSON.parse(eat(JSON.stringify(e),5e4).jsonString),lat=int.safeFn((async(e,t)=>{
const n=await fetch(e,t),r=await iat(n);return n.ok?r.success?{success:!0,data:{
status:n.status,responseBody:sat(r.data),
headers:Object.fromEntries(n.headers.entries())}}:r:{success:!1,
error:snt("REQUEST_NOT_OK",{status:n.status,url:n.url,
responseBody:sat(r.success?r.data:void 0),
headers:Object.fromEntries(n.headers.entries())})}}),(e=>snt("FAILED_TO_FETCH",{
originalError:e})))
;const cat=int.safeFn((async({documentSettings:e,toolCallId:t,chat:n,input:{method:r,path:a,body:o,headers:i,documentIdentifier:s}})=>{
const[l,c]=s.split("---");if(!l||!c)return{success:!1,
error:snt("FAILED_TO_DETERMINE_DOCUMENT",{namespace:l,slug:c,
documentIdentifier:s})};const u=aat(l,c),d=e[u];if(!d)return{success:!1,
error:snt("DOCUMENT_SETTINGS_COULD_NOT_BE_DETERMINED",{documentName:u,
namespace:l,slug:c})};const p=pqe(d.securitySchemes),h={method:r,body:o,...p,
headers:{...i,...p.headers}},f=function({path:e,activeServer:t}){const n=gVe({
path:e,server:t,pathVariables:{},environment:{variables:[]}})
;return tq("https://proxy.scalar.com",n)}({path:a,activeServer:d.activeServer
}),m=await lat(f,h);return n.addToolOutput({tool:oat,toolCallId:t,output:m,
state:"output-available"}),m
}),(e=>snt("FAILED_TO_EXECUTE_REQUEST",e))),uat="scalar/agent-terms-accepted"
;const dat=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{
const{execute:r}=s_e({delay:e,maxWait:t}),a=pnt();return{hooks:{
onWorkspaceStateChanges(e){
("function"==typeof n?n():n)&&"auth"===e.type&&r("auth",(()=>a.setAuth(e.documentName,e.value)))
}}}}
;async function pat({namespace:e,slug:t,workspaceStore:n,registryDocuments:r,registryUrl:a,config:o,api:i,removable:s}){
const l=await i.getDocument({namespace:e,slug:t});if(!l.success)return
;r.value.push({...l.data,removable:s})
;const c=new URL(`/@${e}/apis/${t}/latest`,a),u=await tAe(c.toString(),{
plugins:[e2e()],treeShake:!1}),d=aat(e,t);return await n.addDocument({name:d,
document:u},o),n.update("x-scalar-active-document",d),hnt({documentName:d,
workspaceStore:n}),l.data}const hat=Symbol("STATE_SYMBOL")
;function fat({initialRegistryDocuments:e,registryUrl:t,dashboardUrl:n,baseUrl:r,mode:a,isLoggedIn:o,getAccessToken:i,getAgentKey:s,getActiveDocumentJson:l,prefilledMessageRef:c}){
const u=bm(c?.value??""),d=bm([]),p=bm([]),h=bm([]),f=bm("https://proxy.scalar.com"),m=bm(),g=function(){
const e=bm(!1);return cv((()=>{e.value="true"===localStorage.getItem(uat)})),{
accepted:e,accept:function(){e.value=!0,localStorage.setItem(uat,"true")}}
}(),v=EAe(),b=j2e({plugins:[dat({persistAuth:!0})]}),y=Ty((()=>Cd.parse({
proxyUrl:f.value,persistAuth:!0
}))),O=function({registryDocuments:e,workspaceStore:t,baseUrl:n,getAccessToken:r,getAgentKey:a}){
const o=new ont({sendAutomaticallyWhen:rnt,transport:new tnt({
api:fnt(`${n}/vector/openapi/chat`),headers:()=>mnt({getAccessToken:r,
getAgentKey:a}),body:()=>({registryDocuments:e.value,documentSettings:unt(t)})
}),async onToolCall({toolCall:e}){
e.dynamic||e.toolName===oat&&"get"===e.input.method.toLowerCase()&&await cat({
documentSettings:unt(t),input:e.input,toolCallId:e.toolCallId,chat:o})}})
;return o}({registryDocuments:d,workspaceStore:b,baseUrl:r,getAccessToken:i,
getAgentKey:s}),w=function({baseUrl:e,getAccessToken:t,getAgentKey:n}){
const r=int.safeFn((async({path:r,method:a="get",query:o,body:i,responseSchema:s})=>{
const l=`${e}${r}${o?`?${new URLSearchParams(o)}`:""}`,c=await int.fromUnsafe((async()=>fetch(fnt(l),{
method:a,...i&&{body:JSON.stringify(i)},headers:{...mnt({getAccessToken:t,
getAgentKey:n})}})),(e=>snt("FAILED_TO_FETCH",e)));if(!c.success)return c
;const u=await int.fromUnsafe((async()=>c.data.json()),(e=>snt("FAILED_TO_FETCH_DATA",e)))
;if(!u.success)return{success:!1,
error:snt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")}
;if(!c.data.ok){const e=md.object({message:md.string(),code:md.string()
}).safeParse(u.data);return e.success?{success:!1,
error:snt(e.data.code,e.data.message)}:{success:!1,
error:snt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")}}
const d=s.safeParse(u.data);return d.success?{success:!0,data:d.data}:{
success:!1,
error:snt("INVALID_RESPONSE","Invalid response. Please contact support")}}))
;return{search:async e=>r({path:"/vector/registry/search",query:{query:e},
responseSchema:md.object({results:lnt.array()})}),getDocument:async e=>r({
path:`/vector/registry/document/${e.namespace}/${e.slug}`,responseSchema:lnt}),
getKeyDocuments:async()=>r({path:"/vector/registry/documents",
responseSchema:md.object({documents:lnt.array()})}),
getCuratedDocuments:async()=>r({path:"/vector/registry/curated",
responseSchema:md.object({results:lnt.array()})})}}({baseUrl:r,getAccessToken:i,
getAgentKey:s
}),x=Ty((()=>"submitted"===O.status||"streaming"===O.status&&!O.lastMessage?.parts.some((e=>"text"===e.type))))
;mg((()=>O.status),(()=>{"streaming"===O.status&&(u.value="")
})),c&&mg(c,(async e=>{e&&(u.value=e,g.accepted.value&&await O.sendMessage({
text:u.value}))}));const k=Noe()
;async function S({namespace:e,slug:n,removable:r=!0}){
d.value.find((t=>t.namespace===e&&t.slug===n))||await pat({namespace:e,slug:n,
workspaceStore:b,registryUrl:t,registryDocuments:d,config:y.value,api:w,
removable:r})}return e.forEach((({namespace:e,slug:t})=>S({namespace:e,slug:t,
removable:!1}))),{prompt:u,chat:O,workspaceStore:b,eventBus:v,loading:x,
settingsModal:k,config:y,registryUrl:t,dashboardUrl:n,baseUrl:r,
registryDocuments:d,pendingDocuments:p,proxyUrl:f,mode:a,terms:g,isLoggedIn:o,
addDocument:S,
addDocumentAsync:async function({namespace:e,slug:n,removable:a=!0}){
if(d.value.find((t=>t.namespace===e&&t.slug===n)))return;p.value.push({
namespace:e,slug:n})
;const o=await fetch(fnt(`${r}/vector/registry/embeddings/${e}/${n}`),{
method:"GET"})
;p.value=p.value.filter((t=>t.namespace!==e||t.slug!==n)),o.ok&&await pat({
namespace:e,slug:n,workspaceStore:b,registryUrl:t,registryDocuments:d,
config:y.value,api:w,removable:a})},
removeDocument:function({namespace:e,slug:t}){
d.value=d.value.filter((n=>!(n.namespace===e&&n.slug===t))),
b.deleteDocument(aat(e,t))},getAccessToken:i,getAgentKey:s,api:w,
uploadedTmpDocumentUrl:m,curatedDocuments:h,getActiveDocumentJson:l}}
function mat(){const e=ug(hat);if(!e)throw new Error("No state provided.")
;return e}const gat=t("ZodMiniType",((e,t)=>{
if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");nn.init(e,t),
e.def=t,e.type=t.type,e.parse=(t,n)=>se(e,t,n,{callee:e.parse
}),e.safeParse=(t,n)=>de(e,t,n),e.parseAsync=async(t,n)=>ce(e,t,n,{
callee:e.parseAsync
}),e.safeParseAsync=async(t,n)=>he(e,t,n),e.check=(...n)=>e.clone({...t,
checks:[...t.checks??[],...n.map((e=>"function"==typeof e?{_zod:{check:e,def:{
check:"custom"},onattach:[]}}:e))]},{parent:!0
}),e.with=e.check,e.clone=(t,n)=>E(e,t,n),
e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.apply=t=>t(e)
})),vat=t("ZodMiniString",((e,t)=>{rn.init(e,t),gat.init(e,t)}))
;function bat(e){return Ja(vat,e)}const yat=t("ZodMiniNumber",((e,t)=>{
Mn.init(e,t),gat.init(e,t)}));function Oat(e){return $o(yat,e)}
const wat=t("ZodMiniObject",((e,t)=>{
Kn.init(e,t),gat.init(e,t),m(e,"shape",(()=>t.shape))}));function xat(e,t){
const n={type:"object",shape:e??{},...C(t)};return new wat(n)}
const kat=t("ZodMiniOptional",((e,t)=>{Or.init(e,t),gat.init(e,t)}))
;function Sat(e){return new kat({type:"optional",innerType:e})}
const _at="scalar-tmp-doc";function Aat(){const e=mat(),t=bm();function n(t){
const n=`${e.baseUrl}${t}`;if(n.startsWith("/"))return n
;const r=new URLSearchParams({scalar_url:n.toString()})
;return new URL(`https://proxy.scalar.com/?${r}`)}return{
uploadTempDocument:async function(r,a=!1){try{t.value={type:"uploading"}
;const o=await fetch(n("/core/share/upload/apis"+(a?"?source=agent":"")),{
method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({
document:r})});if(!o.ok)return void(t.value={type:"error",
error:"Failed to upload document."})
;const i=await o.json(),{success:s,data:l}=xat({url:bat(),namespace:bat(),
slug:bat()}).safeParse(i);if(!s)return void(t.value={type:"error",
error:"Failed to process document."});t.value={type:"processing"}
;const c=await fetch(n(`/vector/registry/embeddings/${l.namespace}/${l.slug}`),{
method:"GET"});return function({namespace:e,slug:t}){
localStorage.setItem(_at,JSON.stringify({namespace:e,slug:t}))}({
namespace:l.namespace,slug:l.slug}),await e.addDocument({namespace:l.namespace,
slug:l.slug,removable:!1}),c.ok?(t.value={type:"done"
},e.uploadedTmpDocumentUrl.value=l.url,setTimeout((()=>{t.value=void 0
}),2e3),l):void(t.value={type:"error",error:"Failed to embed document."})}catch{
return void(t.value={type:"error",error:"Failed to upload document."})}},
uploadState:t}}const Tat="ask-for-authentication";zc({uniqueIdentifier:cl()})
;zc({question:cl()});const Eat=(e,t)=>{const n=e.__vccOpts||e
;for(const[r,a]of t)n[r]=a;return n},Cat={class:"authenticationProvided"}
;const $at=Eat({},[["render",function(e,t){
return Fb(),qb("div",Cat,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-e3416cd5"]]),Pat={class:"authenticationRequired"}
;const Iat=Eat({},[["render",function(e,t){
return Fb(),qb("div",Pat,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-d15ef40b"]]),Dat=Hg({__name:"Auth",props:{options:{},
name:{},authStore:{},document:{},eventBus:{},selectedServer:{},environment:{}},
setup(e){
const{workspaceStore:t}=mat(),n=Ty((()=>yYe(e.document?.security))),r=Ty((()=>wYe(e.authStore.getAuthSelectedSchemas({
type:"document",documentName:e.name
}),void 0,n.value))),a=ym(),{focused:o}=function(e,t={}){
const{window:n=fY}=t,r=Ty((()=>vY(e))),a=ym(!1),o=Ty((()=>a.value))
;if(!n||!SY(t).value)return{focused:o};const i={passive:!0}
;return bY(r,"focusin",(()=>a.value=!0),i),bY(r,"focusout",(()=>{var e,t,n
;return a.value=null!=(n=null==(t=null==(e=r.value)?void 0:e.matches)?void 0:t.call(e,":focus-within"))&&n
}),i),{focused:o}
}(a),i=Ty((()=>xUe(e.document?.components?.securitySchemes??{},e.options.authentication?.securitySchemes,e.authStore,e.name)))
;return mg(o,(n=>{n&&t.update("x-scalar-active-document",e.name)
})),(t,o)=>(Fb(),qb("div",{ref_key:"focusRef",ref:a,tabindex:"0"
},[Object.keys(i.value).length?(Fb(),Wb(xm(ZJe),{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:i.value,selectedSecurity:r.value,
server:e.selectedServer,title:"Authentication"
},null,8,["authStore","documentSlug","environment","eventBus","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server"])):oy("",!0)],512))
}}),Mat={class:"toggleButton"},Nat={class:"authContent"},Rat={
class:"authContentInner"},Lat=Hg({__name:"AskForAuthentication",props:{
messagePart:{}},setup(e){
const{workspaceStore:t,eventBus:n,config:r,chat:a}=mat(),o=Ty((()=>{
if(!e.messagePart.value.input?.uniqueIdentifier||"input-available"!==e.messagePart.value.state)return
;const[t,n]=e.messagePart.value.input.uniqueIdentifier.split("---")
;return t&&n?aat(t,n):void 0})),i=Ty((()=>{
if(o.value)return t.workspace.documents[o.value]})),s=Ty((()=>{
if(i.value)return S1e(t,i.value)})),l=Ty((()=>{if(!i.value)return
;const e=oVe(i.value.servers,{
documentUrl:i.value["x-scalar-original-source-url"]});return aVe(i.value,e)
})),c=Ty((()=>o.value&&s.value&&l.value));async function u(){
await a.addToolOutput({toolCallId:e.messagePart.value.toolCallId,
output:"Authentication provided.",tool:Tat,state:"output-available"})}
return(a,d)=>(Fb(),qb("div",{class:Dh(["askForAuthentication",{open:c.value}])
},[Jb("div",Mat,["output-available"===e.messagePart.value.state?(Fb(),Wb($at,{
key:0})):oy("",!0),"input-available"===e.messagePart.value.state?(Fb(),Wb(Iat,{
key:1
})):oy("",!0),"input-available"===e.messagePart.value.state?(Fb(),Wb(xm(O_),{
key:2,class:"authorizeButton",size:"xs",onClick:u},{
default:ig((()=>[d[0]||(d[0]=ry(" Authorize ",-1)),ey(xm(N_),{weight:"bold"
})])),_:1
})):oy("",!0)]),Jb("div",Nat,[Jb("div",Rat,[o.value&&i.value&&s.value&&l.value?(Fb(),
Wb(Dat,{key:0,authStore:xm(t).auth,document:i.value,environment:s.value,
eventBus:xm(n),name:o.value,options:xm(r),selectedServer:l.value
},null,8,["authStore","document","environment","eventBus","name","options","selectedServer"])):oy("",!0)])])],2))
}}),Bat=Eat(Lat,[["__scopeId","data-v-169d0bc0"]]),jat={class:"autosendPaused"}
;const Uat=Eat({},[["render",function(e,t){
return Fb(),qb("div",jat,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-d08225db"]]),zat={class:"requestApproved"}
;const Zat=Eat({},[["render",function(e,t){
return Fb(),qb("div",zat,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-bb311586"]]),Fat={class:"requestFailed"}
;const Hat=Eat({},[["render",function(e,t){
return Fb(),qb("div",Fat,[...t[0]||(t[0]=[Jb("i",{class:"requestFailedIcon"
},[Jb("svg",{fill:"currentColor",height:"100%",viewBox:"0 0 256 256",
width:"100%",xmlns:"http://www.w3.org/2000/svg"},[Jb("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),ry(" Request Failed ",-1)])])
}],["__scopeId","data-v-bc27e533"]]),Qat={class:"requestRejected"}
;const Vat=Eat({},[["render",function(e,t){
return Fb(),qb("div",Qat,[...t[0]||(t[0]=[Jb("svg",{fill:"currentColor",
height:"16",viewBox:"0 0 256 256",width:"16",xmlns:"http://www.w3.org/2000/svg"
},[Jb("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),ry(" Request Rejected ",-1)])])
}],["__scopeId","data-v-9803a54c"]]),qat={class:"requestSuccess"}
;const Wat=Eat({},[["render",function(e,t){
return Fb(),qb("div",qat,[...t[0]||(t[0]=[ay('<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)])])
}],["__scopeId","data-v-acc2c0d8"]]),Xat={"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"}};const Gat=e=>{try{
return decodeURIComponent(e)}catch{return e}};function Yat({data:e,headers:t}){
const n=(e=>e?Object.keys(e).map((t=>({name:t,value:e[t]??""
}))):[])(t),r=n.find((e=>"content-type"===e.name.toLowerCase())),a=r?.value?new Pqe(r.value):void 0,o=function(e){
let t="";if(e){
const n=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1]
;n&&(t=Gat(n.trim()))}return t
}(n.find((e=>"content-disposition"===e.name.toLowerCase()))?.value??""),i=(e=>e instanceof Blob)(e)?URL.createObjectURL(e):"string"==typeof e?URL.createObjectURL(new Blob([e],{
type:a?a.toString():void 0
})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{
type:a?a.toString():void 0})):"";return{mimeType:a,attachmentFilename:o,
dataUrl:i}}const Kat={class:"flex justify-center px-2 py-3"},Jat={
class:"text-c-3 p-2 text-sm"};const eot=Eat({},[["render",function(e,t){
return Fb(),qb("div",Kat,[Jb("div",Jat,[Av(e.$slots,"default")])])
}]]),tot=["src"],not=["src","type"],rot=["src","type"],aot=["data","type"],oot=Hg({
__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,
default:!1}},setup(e){const t=bm(!1);return mg((()=>e.src),(()=>{t.value=!1
})),(n,r)=>!t.value&&e.src?(Fb(),qb("div",{key:0,
class:Dh(["flex justify-center overflow-auto rounded-b",{
"bg-preview p-2":e.alpha}])},["image"===e.mode?(Fb(),qb("img",{key:0,
class:Dh(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,
onError:r[0]||(r[0]=e=>t.value=!0)
},null,42,tot)):"video"===e.mode?(Fb(),qb("video",{key:1,autoplay:"",
controls:"",width:"100%",onError:r[1]||(r[1]=e=>t.value=!0)},[Jb("source",{
src:e.src,type:e.type},null,8,not)],32)):"audio"===e.mode?(Fb(),qb("audio",{
key:2,class:"my-12",controls:"",onError:r[2]||(r[2]=e=>t.value=!0)
},[Jb("source",{src:e.src,type:e.type},null,8,rot)],32)):(Fb(),qb("object",{
key:3,class:"aspect-[4/3] w-full",data:e.src,type:e.type,
onError:r[3]||(r[3]=e=>t.value=!0)},null,40,aot))],2)):(Fb(),Wb(eot,{key:1},{
default:ig((()=>[...r[4]||(r[4]=[ry("Preview unavailable",-1)])])),_:1}))}
}),iot=Eat(oot,[["__scopeId","data-v-92f84612"]]),sot=Hg({
__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){const t=e
;return(n,r)=>(Fb(),Wb(xm(VY),{class:"codeBlock",content:t.content,
lang:e.language},null,8,["content","lang"]))}}),lot=Hg({__name:"ResponseBody",
props:{data:{},responseBody:{},mediaConfig:{},display:{}},
setup:e=>(mg((()=>e.display),(e=>console.log(e))),
(t,n)=>(Fb(),qb(Lb,null,[e.mediaConfig?.raw&&"raw"===e.display&&e.mediaConfig.language?(Fb(),
Wb(sot,{key:e.responseBody.dataUrl,content:e.data,
language:e.mediaConfig.language
},null,8,["content","language"])):oy("",!0),e.mediaConfig?.preview&&"preview"===e.display?(Fb(),
Wb(iot,{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"])):oy("",!0),e.mediaConfig?.raw||e.mediaConfig?.preview?oy("",!0):(Fb(),
Wb(eot,{key:2},{default:ig((()=>[...n[0]||(n[0]=[ry(" Binary file ",-1)])])),_:1
}))],64)))}),cot={
class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"
},uot=Hg({__name:"ResponseBodyToggle",props:{modelValue:{}},emits:["toggle"],
setup(e,{emit:t}){const n=t;return(t,r)=>(Fb(),qb("div",cot,[Jb("button",{
class:Dh(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":"preview"===e.modelValue}]),type:"button",
onClick:r[0]||(r[0]=zO((e=>n("toggle","preview")),["stop"]))
}," Preview ",2),Jb("button",{class:Dh(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":"raw"===e.modelValue}]),type:"button",
onClick:r[1]||(r[1]=zO((e=>n("toggle","raw")),["stop"]))}," Raw ",2)]))}}),dot={
class:"sendingRequest"};const pot=Eat({},[["render",function(e,t){
return Fb(),qb("div",dot,[...t[0]||(t[0]=[Jb("div",{class:"playIcon"
},[Jb("svg",{fill:"currentColor",height:"32",viewBox:"0 0 256 256",width:"32",
xmlns:"http://www.w3.org/2000/svg"},[Jb("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),ry(" Sending Request to Endpoint ",-1)])])
}],["__scopeId","data-v-65dc6dfb"]]),hot={key:1,class:"autosendContainer"},fot={
class:"requestContent"},mot={class:"requestContentInner"},got={key:0,
class:"code"},vot={key:1,class:"code"},bot={class:"requestHeaderContainer"
},yot=Hg({__name:"RequestPreview",props:{request:{},response:{},state:{}},
setup(e){const t=Ty((()=>e.response?.success?{data:e.response.data.responseBody,
headers:e.response.data.headers}:"REQUEST_NOT_OK"===e.response?.error?.code?{
data:e.response.error.detail.responseBody,
headers:e.response.error.detail.headers
}:void 0)),n=bm(!1),r=Ty((()=>"requestFailed"===e.state||"requiresApproval"===e.state||n.value)),a=Ty((()=>Yat({
data:t.value?.data,headers:t.value?.headers}))),o=Ty((()=>function(e){
const t=Xat[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,
language:"json"}:void 0)}(a.value.mimeType?.essence??""))),i=bm();function s(e){
i.value=e}
const l=Ty((()=>i.value?i.value:o.value?.raw&&!o.value.preview?"raw":o.value?.preview?"preview":"raw"))
;return(i,c)=>(Fb(),qb("div",{class:Dh(["requestPreview",{open:r.value,
succeeded:"requestSucceeded"===e.state}])},["approved"===e.state?(Fb(),Wb(Zat,{
key:0
})):"requiresApproval"===e.state?(Fb(),qb("div",hot,[ey(Uat)])):"sendingRequest"===e.state?(Fb(),
qb("button",{key:2,class:"toggleButton",type:"button",
onClick:c[0]||(c[0]=e=>n.value=!n.value)},[ey(pot),r.value?(Fb(),Wb(xm(kA),{
key:0})):(Fb(),Wb(xm($A),{key:1
}))])):"requestSucceeded"===e.state?(Fb(),qb("button",{key:3,
class:"toggleButton",type:"button",onClick:c[1]||(c[1]=e=>n.value=!n.value)
},[ey(Wat),r.value?(Fb(),Wb(xm(kA),{key:0})):(Fb(),Wb(xm($A),{key:1
}))])):"rejected"===e.state?(Fb(),qb("button",{key:4,class:"toggleButton",
type:"button",onClick:c[2]||(c[2]=e=>n.value=!n.value)
},[ey(Vat),r.value?(Fb(),Wb(xm(kA),{key:0})):(Fb(),Wb(xm($A),{key:1
}))])):"requestFailed"===e.state?(Fb(),Wb(Hat,{key:5
})):oy("",!0),Jb("div",fot,[Jb("div",mot,[e.request?(Fb(),
qb("div",got,[c[4]||(c[4]=Jb("div",{class:"requestHeaderContainer"
},[Jb("h1",null,"Request")],-1)),ey(xm(VY),{class:"codeBlock",
content:JSON.stringify(e.request,null,2),lang:"json"
},null,8,["content"])])):oy("",!0),t.value?(Fb(),
qb("div",vot,[Jb("div",bot,[c[5]||(c[5]=Jb("h1",null,"Response",-1)),o.value?.raw&&o.value.preview?(Fb(),
Wb(uot,{key:0,modelValue:l.value,
"onUpdate:modelValue":c[3]||(c[3]=e=>l.value=e),onToggle:s
},null,8,["modelValue"])):oy("",!0)]),ey(lot,{data:t.value.data,display:l.value,
mediaConfig:o.value,responseBody:a.value
},null,8,["data","display","mediaConfig","responseBody"])])):oy("",!0)])])],2))}
}),Oot=Eat(yot,[["__scopeId","data-v-f4245586"]]);function wot(e){
return e.type===`tool-${oat}`&&"input-available"===e.state&&"get"!==e.input?.method?.toLowerCase()
}const xot={class:"executeRequestTool"},kot=Hg({__name:"ExecuteRequestTool",
props:{messagePart:{}},setup(e){
const t=mat(),n=Ty((()=>"input-available"===e.messagePart.value.state&&"streaming"===t.chat.status||"approval-responded"===e.messagePart.value.state&&"submitted"===t.chat.status?"sendingRequest":wot(e.messagePart.value)?"requiresApproval":"output-available"===e.messagePart.value.state?e.messagePart.value.output.success?"requestSucceeded":"requestFailed":"output-error"===e.messagePart.value.state?"rejected":null))
;return(t,r)=>(Fb(),qb("div",xot,[n.value?(Fb(),Wb(Oot,{key:0,
request:e.messagePart.value.input,response:e.messagePart.value.output,
state:n.value},null,8,["request","response","state"])):oy("",!0)]))}
}),Sot=Eat(kot,[["__scopeId","data-v-49d28052"]]),_ot=Hg({__name:"ContextItem",
props:{loading:{type:Boolean}},setup:e=>(t,n)=>(Fb(),qb("div",{
class:Dh(["contextItem",{shimmer:e.loading}])
},[Av(t.$slots,"default",{},void 0,!0)],2))
}),Aot=Eat(_ot,[["__scopeId","data-v-b6e5aa96"]]),Tot={class:"sendingRequest"}
;const Eot=Eat({},[["render",function(e,t){
return Fb(),qb("div",Tot,[...t[0]||(t[0]=[Jb("div",{class:"playIcon"
},null,-1),ry(" Retrieving relevant information... ",-1)])])
}],["__scopeId","data-v-653c66b3"]]),Cot={key:0},$ot={key:1,class:"operations"
},Pot=Hg({__name:"GetMiniOpenAPIDocTool",props:{messagePart:{},message:{}},
setup(e){const t=bm(!1);mg((()=>e.message),(()=>{
const n=e.message.parts,r=n.findIndex((t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId))
;t.value=!!n[r+1]}));const n=Ty((()=>{
if(!e.messagePart.value.output?.structuredContent)return
;const t=e.messagePart.value.output?.structuredContent?.info?.title
;return function(e){
return Object.values(e.paths??{}).flatMap((e=>Object.values(e??{})))
}(e.messagePart.value.output?.structuredContent).map((e=>`${t?`${t} - `:""}${e.summary??""}`)).filter(Boolean)
})),r=mat()
;return(a,o)=>(Fb(),qb(Lb,null,["input-available"===e.messagePart.value.state&&"streaming"===xm(r).chat.status?(Fb(),
qb("div",Cot,[ey(Eot)])):oy("",!0),n.value?(Fb(),
qb("div",$ot,[(Fb(!0),qb(Lb,null,Sv(n.value,(e=>(Fb(),Wb(Aot,{key:e,
loading:!t.value},{default:ig((()=>[ry(Uh(e),1)])),_:2
},1032,["loading"])))),128))])):oy("",!0)],64))}
}),Iot=Eat(Pot,[["__scopeId","data-v-ecee6203"]]),Dot={class:"loadingApiSpecs"}
;const Mot=Eat({},[["render",function(e,t){
return Fb(),qb("div",Dot,[...t[0]||(t[0]=[Jb("div",{class:"playIcon"
},null,-1),ry(" Loading APIs... ",-1)])])
}],["__scopeId","data-v-9d9724d2"]]),Not={key:0},Rot=Hg({
__name:"GetOpenAPISpecsSummary",props:{messagePart:{},message:{}},setup(e){
const t=bm(!1);return mg((()=>e.message),(()=>{
const n=e.message.parts,r=n.findIndex((t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId))
;t.value=!!n[r+1]})),(e,n)=>t.value?oy("",!0):(Fb(),qb("div",Not,[ey(Mot)]))}
}),Lot=Hg({__name:"Text",props:{messagePart:{}},
setup:e=>(t,n)=>(Fb(),Wb(xm(Gre),{value:e.messagePart.value.text
},null,8,["value"]))});function Bot(){
const{api:e}=mat(),t=bm(""),n=hY((async t=>{const n=await e.search(t)
;n.success&&(a.value=n.data.results)}),200),r=Ty({get:()=>t.value,set:e=>{
n(e),t.value=e}}),a=bm([]);return n(""),{query:r,results:a}}const jot={key:0,
class:"catalog custom-scroll"},Uot=["onClick"],zot={class:"left"
},Zot=["src"],Fot={class:"right"},Hot={class:"item-top"},Qot={class:"version"
},Vot={class:"description"},qot=Hg({__name:"Catalog",props:{modal:{}},setup(e){
const t=Bot(),n=mat(),r=Ty((()=>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(a,o)=>(Fb(),Wb(xm(Loe),{
class:"catalogModal",state:e.modal},{default:ig((()=>[ey(xm(yae),{autofocus:"",
class:"searchInput",modelValue:xm(t).query.value,
"onUpdate:modelValue":o[0]||(o[0]=e=>xm(t).query.value=e??"")
},null,8,["modelValue"]),r.value.length?(Fb(),
qb("div",jot,[(Fb(!0),qb(Lb,null,Sv(r.value,(t=>(Fb(),qb("button",{key:t.id,
class:"item",type:"button",onClick:()=>{xm(n).addDocument(t),e.modal.hide()}
},[Jb("div",zot,[t.logoUrl?(Fb(),qb("img",{key:0,class:"logo",src:t.logoUrl
},null,8,Zot)):(Fb(),Wb(xm(Pre),{key:1,class:"logo",logo:"Openapi"
}))]),Jb("div",Fot,[Jb("div",Hot,[Jb("span",null,Uh(t.title),1),Jb("span",Qot,"v"+Uh(t.currentVersion),1)]),Jb("span",Vot," @"+Uh(t.namespace)+"/"+Uh(t.slug),1)])],8,Uot)))),128))])):oy("",!0)])),
_:1},8,["state"]))}}),Wot=Eat(qot,[["__scopeId","data-v-bc24f891"]]),Xot={
class:"dropdown-item"},Got={class:"dropdown-item"},Yot=Hg({
__name:"ActionsDropdown",emits:["uploadApi"],setup(e){const t=Noe()
;return(e,n)=>(Fb(),qb(Lb,null,[ey(xm(X2),{offset:{crossAxis:-5,mainAxis:5}},{
items:ig((()=>[ey(xm(Eoe),{onClick:n[0]||(n[0]=t=>e.$emit("uploadApi"))},{
default:ig((()=>[Jb("div",Xot,[ey(xm(K$)),n[2]||(n[2]=ry(" Upload API ",-1))])])),
_:1}),ey(xm(Eoe),{onClick:n[1]||(n[1]=e=>xm(t).show())},{
default:ig((()=>[Jb("div",Got,[ey(xm(xC)),n[3]||(n[3]=ry(" Search Catalog ",-1))])])),
_:1})])),default:ig((()=>[Av(e.$slots,"default",{},void 0,!0)])),_:3
}),xm(t).open?(Fb(),Wb(Wot,{key:0,modal:xm(t)
},null,8,["modal"])):oy("",!0)],64))}
}),Kot=Eat(Yot,[["__scopeId","data-v-2d142bb5"]]),Jot={class:"approvalSection"
},eit={class:"approvalText flex items-center gap-1.5"},tit={
class:"approveContainer"},nit=Hg({__name:"ApprovalSection",
emits:["approve","reject"],setup(e,{emit:t}){const n=t
;return(e,t)=>(Fb(),qb("div",Jot,[Jb("strong",eit,[ey(xm(WE),{
class:"text-blue size-4",weight:"bold"
}),t[2]||(t[2]=ry(" One or more requests require approval. ",-1))]),Jb("div",tit,[Jb("button",{
type:"button",class:"actionButton rejectButton",
onClick:t[0]||(t[0]=e=>n("reject"))}," Reject "),Jb("button",{type:"button",
class:"actionButton approveButton",onClick:t[1]||(t[1]=e=>n("approve"))
}," Approve ")])]))}}),rit=Eat(nit,[["__scopeId","data-v-a7e6c699"]]),ait={
LIMIT_REACHED:"LIMIT_REACHED"},oit={key:0,class:"error gap-1.5"},iit=Hg({
__name:"ErrorMessage",props:{error:{}},setup(e){const t=[ait.LIMIT_REACHED]
;return(n,r)=>t.includes(e.error.code)?oy("",!0):(Fb(),qb("div",oit,[ey(xm(WE),{
class:"text-red size-4",weight:"bold"}),ry(" "+Uh(e.error.message),1)]))}
}),sit=Eat(iit,[["__scopeId","data-v-63a481da"]]),lit={
class:"freeMessagesInfoSection"},cit={class:"infoText flex items-center gap-1.5"
},uit={class:"actionsContainer"},dit=Hg({__name:"FreeMessagesInfoSection",
setup(e){const t=bm(!1),{dashboardUrl:n,mode:r,uploadedTmpDocumentUrl:a}=mat()
;function o(){
window.open("https://scalar.com/products/agent/getting-started","_blank"),
"full"===r&&window.location.replace(n),
"preview"===r&&window.location.replace(a.value?`${n}/register?flow=oss-agent&docUrl=${a.value}`:n)
}function i(){t.value=!0}
return(e,n)=>sg((Fb(),qb("div",lit,[Jb("strong",cit,[ey(xm(WE),{
class:"text-blue size-4",weight:"bold"
}),n[0]||(n[0]=ry(" Get an API Key to enable Agent Scalar for your docs. ",-1))]),Jb("div",uit,[Jb("button",{
class:"actionButton upgradeButton",type:"button",onClick:o
}," Learn More "),Jb("button",{"aria-label":"Close",class:"closeButton",
type:"button",onClick:i},[ey(xm(DP),{class:"size-4",weight:"bold"
})])])],512)),[[nO,!t.value]])}
}),pit=Eat(dit,[["__scopeId","data-v-593b8dcb"]]),hit={class:"paymentSection"
},fit={class:"approvalText flex items-center gap-1.5"},mit=Hg({
__name:"PaymentSection",setup(e){
const{dashboardUrl:t,mode:n,uploadedTmpDocumentUrl:r}=mat();function a(){
"full"===n&&window.location.replace(t),
"preview"===n&&window.location.replace(r.value?`${t}/register?flow=oss-agent&docUrl=${r.value}`:t)
}return(e,t)=>(Fb(),qb("div",hit,[Jb("strong",fit,[ey(xm(WE),{
class:"text-blue size-4",weight:"bold"
}),t[0]||(t[0]=ry(" You've used up all your free messages, upgrade for $24/mo. ",-1))]),Jb("div",{
class:"paymentContainer"},[Jb("button",{class:"actionButton approveButton",
type:"button",onClick:a
}," Upgrade "),t[1]||(t[1]=ay('<div class="paymentInfo" data-v-59a0be07><h3 data-v-59a0be07>$24 <span data-v-59a0be07>/ month</span></h3><div class="paymentInfoSection" data-v-59a0be07><div class="paymentInfoItem" data-v-59a0be07><span data-v-59a0be07>Members in your workspace</span><span data-v-59a0be07>1</span></div><div class="paymentInfoItem" data-v-59a0be07><span data-v-59a0be07>x $24 / month / member</span><span data-v-59a0be07>$24.00</span></div></div><div class="paymentInfoSection" data-v-59a0be07><div class="paymentInfoItem" data-v-59a0be07><span data-v-59a0be07>Messages</span><span data-v-59a0be07>1,000</span></div><div class="paymentInfoItem" data-v-59a0be07><span data-v-59a0be07>Additional Messages</span><span data-v-59a0be07>+ $0.02 Message</span></div></div></div>',1))])]))
}
}),git=Eat(mit,[["__scopeId","data-v-59a0be07"]]),vit=["onClick"],bit=["src"],yit={
key:1,class:"searchResultsEmpty"},Oit=Hg({__name:"SearchPopover",setup(e){
const t=mat(),n=Bot(),r=Ty((()=>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,a)=>(Fb(),Wb(xm(vae),{offset:0,
placement:"top-start",resize:"",style:{width:"220px"}},{
popover:ig((({close:e})=>[ey(xm(hoe),{autofocus:"",class:"searchInput",
modelValue:xm(n).query.value,placeholder:"Add an API",
"onUpdate:modelValue":a[0]||(a[0]=e=>xm(n).query.value=e??"")},{
prefix:ig((()=>[ey(xm(xC),{class:"searchIcon"})])),_:1
},8,["modelValue"]),r.value.length?(Fb(!0),qb(Lb,{key:0
},Sv(r.value,(n=>(Fb(),qb("button",{key:n.id,class:"searchItem",type:"button",
onClick:()=>{xm(t).addDocument(n),e()}},[n.logoUrl?(Fb(),qb("img",{key:0,
class:"searchItemLogo",src:n.logoUrl
},null,8,bit)):oy("",!0),Jb("span",null,Uh(n.title),1)],8,vit)))),128)):(Fb(),
qb("span",yit," No APIs found "))])),
default:ig((()=>[Av(e.$slots,"default",{},void 0,!0)])),_:3}))}
}),wit=Eat(Oit,[["__scopeId","data-v-7945f74c"]]),xit={key:0,
class:"flex items-center gap-1.5"},kit={key:0,class:"uploadText"},Sit={key:1,
class:"uploadText"},_it={key:1,class:"uploadText flex items-center gap-1.5"
},Ait={key:2,class:"uploadText flex items-center gap-1.5"},Tit=Hg({
__name:"UploadSection",props:{uploadState:{}},setup(e){const t=Doe()
;return(n,r)=>(Fb(),qb("div",{class:Dh(["uploadSection",{
error:"error"===e.uploadState.type,done:"done"===e.uploadState.type}])
},["uploading"===e.uploadState.type||"processing"===e.uploadState.type?(Fb(),
qb("div",xit,[ey(xm(b_),{class:"text-blue",loader:{...xm(t),isLoading:!0},
size:"lg"
},null,8,["loader"]),"processing"===e.uploadState.type?(Fb(),qb("strong",kit," Processing document... ")):(Fb(),
qb("strong",Sit," Uploading document... "))])):oy("",!0),"done"===e.uploadState.type?(Fb(),
qb("strong",_it,[ey(xm(LA),{class:"icon text-green"
}),r[0]||(r[0]=ry(" Document processed ",-1))])):oy("",!0),"error"===e.uploadState.type?(Fb(),
qb("strong",Ait,[ey(xm(UP),{class:"icon text-red"
}),ry(" "+Uh(e.uploadState.error),1)])):oy("",!0)],2))}
}),Eit=Eat(Tit,[["__scopeId","data-v-805bc88b"]]),Cit=xat({message:bat(),
code:bat(),status:Sat(Oat())});function $it(){const{chat:e}=mat()
;return Ty((()=>{if(!e.error)return;const t=function(e){try{return JSON.parse(e)
}catch{return}}(e.error.message),n=Cit.safeParse(t);return t&&n.success?n.data:{
message:e.error.message,code:"UNKNOWN_ERROR"}}))}function Pit(e){
return e.type.startsWith("tool")&&"input-available"===e.state}const Iit={
class:"actionContainer"},Dit=["disabled"],Mit={class:"inputActionsContainer"
},Nit={class:"inputActionsLeft"},Rit={class:"addAPIButton",type:"button"},Lit={
class:"addAPIButton",type:"button"},Bit=["src"],jit=["onClick"],Uit={
class:"inputActionsRight"},zit={class:"sendCheckboxContinue"},Zit={key:0,
class:"relative flex items-center gap-1.5"},Fit={class:"termsAgree",
for:"agentTermsAgree"},Hit={class:"addMoreContext"},Qit={
class:"ml-auto flex items-center gap-1"
},Vit=["onClick"],qit=["alt","src"],Wit=Hg({__name:"PromptForm",
emits:["submit","uploadApi"],setup(e,{expose:t,emit:n}){const r=n;t({
focusPrompt:function(){a.value?.focus()}})
;const a=qg("agentPrompt"),o=mat(),i=Ty((()=>o.prompt.value.trim().length>0)),s=Ty((()=>o.prompt.value.trim().length>1e4)),l=Ty((()=>o.chat.messages.length>1&&!o.getAgentKey?.()&&v?.value?.code!==ait.LIMIT_REACHED))
;function c(e){
o.loading.value||"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),
g(),window.scrollTo(0,document.body.scrollHeight))}mg(o.prompt,(()=>{
if(a?.value){if(!o.prompt.value.length)return void(a.value.style.height="0px")
;a.value.style.height="auto",a.value.style.height=a.value.scrollHeight+"px"}})),
mg((()=>o.chat.status),(e=>{("ready"===e||"error"===e)&&a.value?.focus()}))
;const{approvalRequiredParts:u,respondToRequestApprovals:d}=function(){
const e=mat(),t=Ty((()=>e.chat.messages.filter((e=>e.parts.some(wot))).flatMap((e=>e.parts)).filter(wot)))
;return{approvalRequiredParts:t,respondToRequestApprovals:async function(n){
const r=t.value.map((async t=>{if(!n)return await e.chat.addToolOutput({
tool:oat,toolCallId:t.toolCallId,state:"output-error",
errorText:"The user denied the request."});await cat({
documentSettings:unt(e.workspaceStore),input:t.input,toolCallId:t.toolCallId,
chat:e.chat})}));await Promise.all(r)}}
}(),{pendingClientToolParts:p}=function(){const e=mat();return{
pendingClientToolParts:Ty((()=>e.chat.messages.filter((e=>e.parts.some(Pit))).flatMap((e=>e.parts)).filter(Pit)))
}}(),h=Aat();function f(){
o.terms.accept(),"preview"===o.mode&&o.getActiveDocumentJson&&h.uploadTempDocument(o.getActiveDocumentJson(),!0)
}const m=Ty((()=>{
const e=s.value,t=!i.value,n=u.value.length>0,r=p.value.length>0,a="preview"===o.mode,l=a&&!o.terms.accepted.value,c=a&&!!h.uploadState.value
;return e||t||n||r||l||c}));function g(){m.value||r("submit")}const v=$it()
;return(e,t)=>(Fb(),
qb("div",Iit,[xm(h).uploadState.value||xm(o).pendingDocuments.value.length?(Fb(),
Wb(Eit,{key:0,uploadState:xm(h).uploadState.value??{type:"processing"}
},null,8,["uploadState"])):oy("",!0),xm(v)?(Fb(),Wb(sit,{key:1,error:xm(v)
},null,8,["error"])):oy("",!0),xm(u).length?(Fb(),Wb(rit,{key:2,
onApprove:t[0]||(t[0]=e=>xm(d)(!0)),onReject:t[1]||(t[1]=e=>xm(d)(!1))
})):oy("",!0),xm(v)?.code===xm(ait).LIMIT_REACHED?(Fb(),Wb(git,{key:3
})):oy("",!0),l.value?(Fb(),Wb(pit,{key:4})):oy("",!0),Jb("form",{
class:"promptForm",onSubmit:zO(g,["prevent"])},[t[6]||(t[6]=Jb("label",{
class:"agentLabel",for:"agentTextarea"
}," Type a Request To get Started ",-1)),sg(Jb("textarea",{id:"agentTextarea",
ref:"agentPrompt","onUpdate:modelValue":t[2]||(t[2]=e=>xm(o).prompt.value=e),
class:"prompt custom-scroll",disabled:xm(o).loading.value,name:"prompt",
placeholder:"Ask me anything...",onKeydown:c
},null,40,Dit),[[CO,xm(o).prompt.value]]),Jb("div",Mit,[Jb("div",Nit,[xm(o).isLoggedIn?.value?(Fb(),
Wb(Kot,{key:1,onUploadApi:t[3]||(t[3]=t=>e.$emit("uploadApi"))},{
default:ig((()=>[Jb("button",Lit,[ey(xm(GC),{class:"size-4",weight:"bold"
})])])),_:1})):(Fb(),Wb(wit,{key:0},{
default:ig((()=>[Jb("button",Rit,[ey(xm(GC),{class:"size-4",weight:"bold"
})])])),_:1
})),(Fb(!0),qb(Lb,null,Sv(xm(o).registryDocuments.value,(e=>(Fb(),qb("div",{
key:e.id,class:"apiPill"},[e.logoUrl?(Fb(),qb("img",{key:0,class:"apiPillLogo",
src:e.logoUrl
},null,8,Bit)):oy("",!0),ry(" "+Uh(e.title)+" ",1),e.removable?(Fb(),
qb("button",{key:1,class:"apiPillRemove",type:"button",
onClick:t=>xm(o).removeDocument(e)},[ey(xm(DP),{class:"size-4",weight:"bold"
})],8,jit)):oy("",!0)])))),128))]),Jb("div",Uit,[xm(o).loading.value?oy("",!0):(Fb(),
Wb(xm(Qre),{key:0,class:"settingsButton h-7 w-7 p-1.5",icon:xm(mC),
label:"Scalar",size:"md",weight:"bold",
onClick:t[4]||(t[4]=e=>xm(o).settingsModal.show())
},null,8,["icon"])),Jb("div",zit,[xm(o).terms.accepted.value||"preview"!==xm(o).mode?oy("",!0):(Fb(),
qb("div",Zit,[Jb("input",{id:"agentTermsAgree",class:"sr-only",type:"checkbox",
onChange:f},null,32),Jb("label",Fit,[ey(xm(LA),{class:"termsAgreeIcon",
weight:"bold"
}),t[5]||(t[5]=ry(" Agree to Terms & Conditions ",-1))])])),xm(o).loading.value?(Fb(),
Wb(xm(b_),{key:2,class:"loader h-7 w-7",loader:{isLoading:xm(o).loading.value,
isValid:!1,clear:async()=>{},invalidate:async()=>{},isInvalid:!1,isActive:!1,
validate:async()=>{},start:()=>{}},size:"2xl"
},null,8,["loader"])):(Fb(),Wb(xm(Qre),{key:1,class:"sendButton h-7 w-7 p-1.5",
disabled:m.value,icon:xm(Z_),label:"Scalar",size:"md",type:"submit",
weight:"bold"
},null,8,["disabled","icon"]))])])])],32),sg(Jb("div",Hit,[t[7]||(t[7]=Jb("span",null,"Add context from dozens of API's",-1)),Jb("div",Qit,[(Fb(!0),
qb(Lb,null,Sv(xm(o).curatedDocuments.value,(e=>(Fb(),qb("button",{key:e.id,
class:"addAPIContext",type:"button",onClick:t=>xm(o).addDocument(e)
},[e.logoUrl?(Fb(),qb("img",{key:0,alt:e.title,class:"size-4",src:e.logoUrl
},null,8,qit)):oy("",!0)],8,Vit)))),128))])],512),[[nO,xm(o).chat.messages.length<=1]])]))
}}),Xit=Eat(Wit,[["__scopeId","data-v-fe2a6215"]]),Git={class:"chat"},Yit={key:0
},Kit={class:"formContainer"},Jit=Hg({__name:"Chat",
emits:["submit","uploadApi"],setup(e,{emit:t}){const n=t,r=mat()
;return(e,t)=>(Fb(),
qb(Lb,null,[Jb("div",Git,[(Fb(!0),qb(Lb,null,Sv(xm(r).chat.messages,(e=>(Fb(),
qb(Lb,{key:e.id},["user"===e.role?(Fb(!0),qb(Lb,{key:0
},Sv(e.parts,((t,n)=>(Fb(),qb("div",{key:`${e.id}-${n}`,class:"userMessage"
},["text"===t.type?(Fb(),
qb("p",Yit,Uh(t.text),1)):oy("",!0)])))),128)):oy("",!0),"assistant"===e.role?(Fb(!0),
qb(Lb,{key:1},Sv(e.parts,((t,n)=>(Fb(),qb("div",{key:`${e.id}-${n}`
},["text"===t.type?(Fb(),Wb(Lot,{key:0,messagePart:Pm(t)
},null,8,["messagePart"])):oy("",!0),t.type.endsWith(xm(oat))?(Fb(),Wb(Sot,{
key:1,messagePart:Pm(t)
},null,8,["messagePart"])):oy("",!0),t.type.endsWith(xm("get-mini-openapi-spec"))?(Fb(),
Wb(Iot,{key:2,message:om(e),messagePart:Pm(t)
},null,8,["message","messagePart"])):oy("",!0),t.type.endsWith(xm("get-openapi-specs-summary"))?(Fb(),
Wb(Rot,{key:3,message:om(e),messagePart:Pm(t)
},null,8,["message","messagePart"])):oy("",!0),t.type.endsWith(xm(Tat))?(Fb(),
Wb(Bat,{key:4,message:om(e),messagePart:Pm(t)
},null,8,["message","messagePart"])):oy("",!0)])))),128)):oy("",!0)],64)))),128)),t[2]||(t[2]=Jb("div",{
class:"spacer"},null,-1))]),Jb("div",Kit,[ey(Xit,{
onSubmit:t[0]||(t[0]=e=>n("submit")),onUploadApi:t[1]||(t[1]=e=>n("uploadApi"))
})])],64))}}),est=Eat(Jit,[["__scopeId","data-v-41e50a16"]]),tst={fill:"none",
height:"54",viewBox:"0 0 64 54",width:"64",xmlns:"http://www.w3.org/2000/svg"}
;const nst=Eat({},[["render",function(e,t){
return Fb(),qb("svg",tst,[...t[0]||(t[0]=[Jb("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)])])}]]),rst={
class:"startContainer"},ast={class:"disclaimerText"},ost=Hg({__name:"Start",
emits:["submit","uploadApi"],setup(e,{emit:t}){const n=t,{mode:r}=mat()
;return(e,t)=>(Fb(),qb("div",rst,[ey(nst,{class:"agentLogo"
}),t[6]||(t[6]=Jb("h1",{class:"heading"
},"How can I help you today?",-1)),ey(Xit,{ref:"promptFormField",
onSubmit:t[0]||(t[0]=e=>n("submit")),onUploadApi:t[1]||(t[1]=e=>n("uploadApi"))
},null,512),Jb("p",ast,["preview"===xm(r)?(Fb(),qb(Lb,{key:0
},[ry(" By messaging Agent Scalar your OpenAPI Document will be Temporarily uploaded to Scalar's Servers. You must agree to our ")],64)):(Fb(),
qb(Lb,{key:1
},[ry(" By messaging Agent Scalar you agree to our ")],64)),t[2]||(t[2]=Jb("a",{
class:"disclaimerLink",href:"https://scalar.com/legal/terms-and-conditions",
target:"_blank"},"Terms ",-1)),t[3]||(t[3]=ry(" and ",-1)),t[4]||(t[4]=Jb("a",{
class:"disclaimerLink",href:"https://scalar.com/legal/privacy-policy",
target:"_blank"}," Privacy Policy",-1)),t[5]||(t[5]=ry(". ",-1))])]))}
}),ist=Eat(ost,[["__scopeId","data-v-1fbb0eb5"]]),sst={class:"wrapper"},lst=Hg({
__name:"Layout",emits:["submit","uploadApi"],setup(e,{emit:t}){
const n=t,{chat:r}=mat()
;return(e,t)=>(Fb(),qb("div",sst,[xm(r).messages.length&&(xm(r).messages.length>1||"submitted"!==xm(r).status)?(Fb(),
Wb(est,{key:0,onSubmit:t[0]||(t[0]=e=>n("submit")),
onUploadApi:t[1]||(t[1]=e=>n("uploadApi"))})):(Fb(),Wb(ist,{key:1,
onSubmit:t[2]||(t[2]=e=>n("submit")),onUploadApi:t[3]||(t[3]=e=>n("uploadApi"))
}))]))}}),cst=Eat(lst,[["__scopeId","data-v-f1eee0af"]]),ust={
class:"overflow-x-auto"},dst={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"
},pst={class:"overflow-x-auto"},hst=Hg({__name:"Selector",props:{
selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],
setup(e,{expose:t,emit:n}){const r=n,a=Ty((()=>e.servers.map((e=>({id:e.url,
label:e.url
}))))),o=Ty((()=>e.selectedServer?.url?.replace(/\/$/,"")||"")),i=Ty((()=>a.value.find((t=>t.id===e.selectedServer?.url))))
;return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:a,
selectedServer:e.selectedServer}),(t,n)=>a.value.length>1?(Fb(),Wb(xm(Wre),{
key:0,ref:"elem",class:"group",modelValue:i.value,options:a.value,
placement:"bottom-start",resize:"",target:e.target,
"onUpdate:modelValue":n[0]||(n[0]=e=>r("update:modelValue",e.id))},{
default:ig((()=>[ey(xm(O_),{
class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
variant:"ghost"},{default:ig((()=>[n[1]||(n[1]=Jb("span",{class:"sr-only"
},"Server:",-1)),Jb("span",ust,Uh(o.value||"Select a server"),1),ey(xm(kA),{
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"])):(Fb(),qb("div",dst,[n[2]||(n[2]=Jb("span",{
class:"sr-only"},"Server:",-1)),Jb("span",pst,Uh(o.value),1)]))}
}),fst=["id"],mst=Hg({__name:"ServerSelector",props:{eventBus:{},
selectedServer:{},servers:{}},setup(e){const t=Qg(),n=t=>{
e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t})
},r=(t,n)=>{const r=e.servers.findIndex((t=>t.url===e.selectedServer?.url))
;-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:n})}
;return(a,o)=>(Fb(),qb(Lb,null,[o[0]||(o[0]=Jb("label",{
class:"bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium"
}," Server ",-1)),Jb("div",{id:xm(t),class:Dh(["border",{
"rounded-b-lg":!e.selectedServer?.description&&!e.selectedServer?.variables}])
},[e.servers.length?(Fb(),Wb(hst,{key:0,selectedServer:e.selectedServer,
servers:e.servers,target:xm(t),"onUpdate:modelValue":n
},null,8,["selectedServer","servers","target"])):oy("",!0)],10,fst),ey(xm(DAe),{
layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r
},null,8,["variables"]),e.selectedServer?.description?(Fb(),Wb(xm(Gre),{key:0,
class:"text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
value:e.selectedServer.description},null,8,["value"])):oy("",!0)],64))}}),gst={
class:"docSettings"},vst=Hg({__name:"DocSettings",props:{document:{},name:{}},
setup(e){
const{workspaceStore:t,config:n,eventBus:r}=mat(),a=Ty((()=>S1e(t,e.document))),o=Ty((()=>{
const t=oVe(e.document.servers,{
documentUrl:e.document["x-scalar-original-source-url"]})
;return aVe(e.document,t)
})),i=Ty((()=>e.document.components?.securitySchemes??{}))
;return(s,l)=>(Fb(),qb("div",gst,[Jb("div",null,[ey(Dat,{authStore:xm(t).auth,
document:e.document,environment:a.value,eventBus:xm(r),name:e.name,
options:xm(n),securitySchemes:i.value,selectedServer:o.value
},null,8,["authStore","document","environment","eventBus","name","options","securitySchemes","selectedServer"])]),Jb("div",null,[ey(mst,{
eventBus:xm(r),selectedServer:o.value,servers:e.document.servers??[]
},null,8,["eventBus","selectedServer","servers"])])]))}
}),bst=Eat(vst,[["__scopeId","data-v-2dfa823a"]]),yst={class:"settingsHeading"
},Ost={class:"documentList"},wst=["onClick"],xst={key:0},kst={key:1,
class:"noDocuments"},Sst={class:"proxyUrlContainer"},_st=Hg({__name:"Settings",
props:{modalState:{}},setup(e){const{workspaceStore:t,proxyUrl:n}=mat()
;return(r,a)=>(Fb(),Wb(xm(Loe),{class:"settingsModal",state:e.modalState},{
default:ig((()=>[Jb("div",yst,[a[1]||(a[1]=Jb("h1",null,"Settings",-1)),ey(xm(eK),{
class:"colorToggle ml-auto"
})]),Jb("div",Ost,[Object.entries(xm(t).workspace.documents).length?(Fb(!0),
qb(Lb,{key:0
},Sv(Object.entries(xm(t).workspace.documents),(([e,n])=>(Fb(),qb("div",{key:e,
class:"document"},[Jb("button",{class:Dh(["documentName",{
documentNameActive:xm(t).workspace.activeDocument===n}]),type:"button",
onClick:n=>{return r=e,void t.update("x-scalar-active-document",r);var r}
},[ry(" @"+Uh(e)+" ",1),xm(t).workspace.activeDocument===n?(Fb(),Wb(xm(kA),{
key:0})):(Fb(),Wb(xm($A),{key:1
}))],10,wst),xm(t).workspace.activeDocument===n?(Fb(),qb("div",xst,[ey(bst,{
document:n,name:e
},null,8,["document","name"])])):oy("",!0)])))),128)):(Fb(),qb("div",kst," No APIs selected. Use + to add context. "))]),Jb("div",Sst,[a[2]||(a[2]=Jb("label",{
for:"proxyUrl"},"Proxy URL",-1)),ey(xm(hoe),{id:"proxyUrl",modelValue:xm(n),
"onUpdate:modelValue":a[0]||(a[0]=e=>vm(n)?n.value=e:null),
placeholder:"https://proxy.scalar.com"},null,8,["modelValue"])])])),_:1
},8,["state"]))}}),Ast=Eat(_st,[["__scopeId","data-v-745651bc"]]),Tst={
ref:"clientModal"},Est=Hg({__name:"Chat",emits:["uploadApi"],setup(e){
const{chat:t,prompt:n,settingsModal:r,eventBus:a,workspaceStore:o,config:i,mode:s,addDocument:l}=mat(),c=qg("clientModal"),u=bm(null)
;async function d(){await t.sendMessage({text:n.value})}return cv((async()=>{
const e=function(){const e=localStorage.getItem(_at);if(e)return xat({
namespace:bat(),slug:bat()}).parse(JSON.parse(e))}();"preview"===s&&e&&await l({
namespace:e.namespace,slug:e.slug,removable:!1}),c.value&&(u.value=W1e({
el:c.value,options:i,eventBus:a,workspaceStore:o}))})),pv((()=>{
u.value?.app.unmount()})),function(){const e=mat()
;mg([()=>e.chat.status,()=>function(e){const t=e?.parts.at(-1)
;if(t&&"text"===t.type)return t.text}(e.chat.lastMessage)],(async()=>{
await Xm(),window.scrollTo(0,document.body.scrollHeight)}))}(),function(){
const{api:e,addDocument:t,mode:n,getAgentKey:r}=mat();cv((async()=>{
if("full"!==n||!r)return;const a=await e.getKeyDocuments()
;a.success&&a.data.documents.forEach((({namespace:e,slug:n})=>t({namespace:e,
slug:n,removable:!1})))}))}(),function(){const{api:e,curatedDocuments:t}=mat()
;cv((async()=>{const n=await e.getCuratedDocuments()
;n.success&&(t.value=n.data.results)}))
}(),(e,t)=>(Fb(),qb(Lb,null,[Jb("div",Tst,null,512),ey(cst,{onSubmit:d,
onUploadApi:t[0]||(t[0]=t=>e.$emit("uploadApi"))}),ey(Ast,{modalState:xm(r)
},null,8,["modalState"])],64))}}),Cst=Hg({__name:"App",props:{
registryDocuments:{},registryUrl:{},dashboardUrl:{},baseUrl:{},mode:{
default:"full"},getAccessToken:{type:Function},getAgentKey:{type:Function},
getActiveDocumentJson:{type:Function},isLoggedIn:{},prefilledMessage:{}},
emits:["uploadApi"],setup(e,{expose:t}){const n=fat({
getActiveDocumentJson:e.getActiveDocumentJson,
initialRegistryDocuments:e.registryDocuments,
prefilledMessageRef:e.prefilledMessage,registryUrl:e.registryUrl,
baseUrl:e.baseUrl,mode:e.mode,getAccessToken:e.getAccessToken,
getAgentKey:e.getAgentKey,isLoggedIn:e.isLoggedIn,dashboardUrl:e.dashboardUrl})
;return cg(hat,n),t({addDocumentAsync:n.addDocumentAsync}),(e,t)=>(Fb(),Wb(Est,{
onUploadApi:t[0]||(t[0]=t=>e.$emit("uploadApi"))}))}}),$st=Hg({
__name:"AgentScalarChatInterface",props:{agentScalarConfiguration:{},
workspaceStore:{},prefilledMessage:{}},setup:e=>(t,n)=>(Fb(),Wb(xm(Cst),{
baseUrl:xm(n9e),dashboardUrl:xm(a9e),
getActiveDocumentJson:()=>e.workspaceStore.exportActiveDocument("json"),
getAgentKey:e.agentScalarConfiguration?.key?()=>e.agentScalarConfiguration?.key??"":void 0,
mode:e.agentScalarConfiguration?.key?"full":"preview",
prefilledMessage:e.prefilledMessage,registryDocuments:[],registryUrl:xm(e9e)
},null,8,["baseUrl","dashboardUrl","getActiveDocumentJson","getAgentKey","mode","prefilledMessage","registryUrl"]))
}),Pst=Object.freeze(Object.defineProperty({__proto__:null,default:$st
},Symbol.toStringTag,{value:"Module"}))}));