@eloquentai/chat-sdk 0.21.22-dev → 0.21.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import { jsx as x, jsxs as U, Fragment as Qe } from "react/jsx-runtime";
2
2
  import { ChevronDown as qo, X as gr, Copy as nl, ThumbsUp as rl, ThumbsDown as il, FileSearch as ol, CheckCircle as al, Info as sl, XCircle as ll, AlertTriangle as cl, ArrowUp as ul, RefreshCcw as fl } from "lucide-react";
3
- import { clsx as dl } from "clsx";
4
- import { twMerge as pl } from "tailwind-merge";
3
+ import { clsx as pl } from "clsx";
4
+ import { twMerge as dl } from "tailwind-merge";
5
5
  import { useDebounce as br } from "@uidotdev/usehooks";
6
6
  import * as ue from "react";
7
- import { createContext as dn, useContext as pn, useEffect as ie, useState as W, useMemo as st, useRef as se, useCallback as X } from "react";
7
+ import { createContext as pn, useContext as dn, useEffect as ie, useState as W, useMemo as st, useRef as se, useCallback as X } from "react";
8
8
  import * as Xe from "@radix-ui/react-scroll-area";
9
9
  import { ScrollArea as hl } from "@radix-ui/react-scroll-area";
10
10
  import * as Pe from "@radix-ui/react-dialog";
@@ -15,16 +15,16 @@ import { z as Z } from "zod";
15
15
  import xl from "react-dom/client";
16
16
  try {
17
17
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
18
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2347d898-11e4-4cff-a3e2-d9dde3f6b644", e._sentryDebugIdIdentifier = "sentry-dbid-2347d898-11e4-4cff-a3e2-d9dde3f6b644");
18
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d3ef671e-9a3d-4160-9371-dfe15e225fb5", e._sentryDebugIdIdentifier = "sentry-dbid-d3ef671e-9a3d-4160-9371-dfe15e225fb5");
19
19
  } catch {
20
20
  }
21
21
  {
22
22
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
23
- e.SENTRY_RELEASE = { id: "59a9184044b6743904969781cd95988ae787e8d8" };
23
+ e.SENTRY_RELEASE = { id: "9eab3a189718420ecdb491ee529c9311fbb46edb" };
24
24
  }
25
25
  if (typeof window < "u") {
26
- const e = "development";
27
- import("./index-BSdpsyq6.js").then((t) => {
26
+ const e = "production";
27
+ import("./index-CbVD75js.js").then((t) => {
28
28
  t.init({
29
29
  dsn: void 0,
30
30
  environment: e,
@@ -40,7 +40,7 @@ if (typeof window < "u") {
40
40
  }
41
41
  const Cn = `*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{scrollbar-color:initial;scrollbar-width:initial}:root{--background: 0 0% 100%;--foreground: 0 0% 3.9%;--card: 0 0% 100%;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--primary: 267 56% 46%;--primary-foreground: 0 0% 98%;--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: 0 0% 96.1%;--accent-foreground: 0 0% 9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 0 0% 89.8%;--input: 0 0% 89.8%;--ring: 0 0% 3.9%;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;--radius: .5rem}.dark{--background: 262 50% 10%;--foreground: 262 5% 90%;--card: 262 50% 10%;--card-foreground: 262 5% 90%;--popover: 262 50% 5%;--popover-foreground: 262 5% 90%;--primary: 262 62% 70%;--primary-foreground: 0 0% 100%;--primary-dark: 262 62% 60%;--secondary: 262 30% 30%;--secondary-foreground: 0 0% 100%;--secondary-dark: 262 30% 20%;--secondary-light: 262 30% 40%;--tertiary: 267 56% 46%;--tertiary-foreground: 0 0% 100%;--tertiary-dark: 267 38% 25%;--tertiary-light: 263 100% 85%;--muted: 224 30% 25%;--muted-foreground: 262 5% 90%;--accent: 224 30% 25%;--accent-foreground: 262 5% 100%;--accent-dark: 224 30% 15%;--destructive: 0 100% 30%;--destructive-foreground: 262 5% 90%;--border: 0 0% 30%;--input: 262 30% 25%;--ring: 262 62% 71%;--radius: .5rem;--sidebar-background: var(--background);--sidebar-foreground: var(--foreground);--sidebar-primary: var(--primary);--sidebar-primary-foreground: var(--primary-foreground);--sidebar-accent: var(--accent);--sidebar-accent-foreground: var(--accent-foreground);--sidebar-border: var(--border);--sidebar-ring: var(--ring)}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-10{bottom:2.5rem}.bottom-2{bottom:.5rem}.left-1{left:.25rem}.left-\\[50\\%\\]{left:50%}.left-\\[calc\\(50\\%-0\\.75rem\\)\\]{left:calc(50% - .75rem)}.right-0{right:0}.right-1{right:.25rem}.right-16{right:4rem}.right-2{right:.5rem}.right-4{right:1rem}.right-\\[-9px\\]{right:-9px}.top-0{top:0}.top-4{top:1rem}.top-\\[50\\%\\]{top:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-20{margin-top:-5rem}.-mt-6{margin-top:-1.5rem}.mb-0{margin-bottom:0}.mb-10{margin-bottom:2.5rem}.mb-3{margin-bottom:.75rem}.mb-\\[19px\\]{margin-bottom:19px}.ml-0{margin-left:0}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.mr-3{margin-right:.75rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2\\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.max-h-\\[132px\\]{max-height:132px}.min-h-\\[48px\\]{min-height:48px}.min-h-\\[80px\\]{min-height:80px}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-2\\.5{width:.625rem}.w-2\\/3{width:66.666667%}.w-24{width:6rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-72{width:18rem}.w-8{width:2rem}.w-full{width:100%}.min-w-min{min-width:min-content}.max-w-\\[75\\%\\]{max-width:75%}.max-w-\\[88\\%\\]{max-width:88%}.max-w-\\[90vw\\]{max-width:90vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-8{--tw-translate-x: 2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95,.scale-\\[0\\.95\\]{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.resize-none{resize:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-0{border-width:0px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\\[\\#000\\]{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FAF9F7\\]{--tw-bg-opacity: 1;background-color:rgb(250 249 247 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-black\\/80{background-color:#000c}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground{background-color:hsl(var(--muted-foreground))}.bg-popover{background-color:hsl(var(--popover))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/90{background-color:#ffffffe6}.object-contain{object-fit:contain}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\\[1px\\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.pb-10{padding-bottom:2.5rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-10{padding-top:2.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-\\[\\#fff\\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-muted{color:hsl(var(--muted))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-70{opacity:.7}.shadow-\\[0_0_4px_0_rgba\\(0\\,0\\,0\\,0\\.20\\)\\]{--tw-shadow: 0 0 4px 0 rgba(0,0,0,.2);--tw-shadow-colored: 0 0 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-transparent{--scrollbar-track: transparent !important}.scrollbar-thumb-border{--scrollbar-thumb: hsl(var(--border)) !important}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{animation-timing-function:linear}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}body{background-color:transparent}.eloquent-chat{font-family:Roboto,Arial,sans-serif}.wrap-anywhere{overflow-wrap:anywhere}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-right-2:before{content:var(--tw-content);right:-.5rem}.before\\:bottom-2:before{content:var(--tw-content);bottom:.5rem}.before\\:h-0:before{content:var(--tw-content);height:0px}.before\\:w-0:before{content:var(--tw-content);width:0px}.before\\:content-\\[\\'\\'\\]:before{--tw-content: "";content:var(--tw-content)}.last\\:mb-0:last-child{margin-bottom:0}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:text-primary:hover{color:hsl(var(--primary))}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:scrollbar-thumb-border{--scrollbar-thumb-hover: hsl(var(--border)) !important}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-muted:focus-visible{--tw-ring-color: hsl(var(--muted))}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:bg-background:is(.dark *){background-color:hsl(var(--background))}.dark\\:bg-card:is(.dark *){background-color:hsl(var(--card))}@media (min-width: 640px){.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\\:rounded-lg{border-radius:var(--radius)}.sm\\:text-left{text-align:left}}@media (min-width: 768px){.md\\:text-sm{font-size:.875rem;line-height:1.25rem}}`, vl = ".eloquentai-chat-launcher{transition:transform .2s ease-in-out}.eloquentai-chat-launcher:hover{transform:scale(1.1)}";
42
42
  function F(...e) {
43
- return pl(dl(e));
43
+ return dl(pl(e));
44
44
  }
45
45
  async function kl(e) {
46
46
  try {
@@ -168,7 +168,7 @@ const vr = ue.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(
168
168
  }
169
169
  ));
170
170
  vr.displayName = "CardFooter";
171
- const Fo = dn(void 0);
171
+ const Fo = pn(void 0);
172
172
  function Bo(e) {
173
173
  return /* @__PURE__ */ x(
174
174
  Fo.Provider,
@@ -184,7 +184,7 @@ function Bo(e) {
184
184
  );
185
185
  }
186
186
  const kr = () => {
187
- const e = pn(Fo);
187
+ const e = dn(Fo);
188
188
  if (!e)
189
189
  throw new Error("useTheme must be used within a ThemeProvider");
190
190
  return e;
@@ -280,7 +280,7 @@ const Wo = ue.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(
280
280
  }
281
281
  ));
282
282
  Wo.displayName = Pe.Description.displayName;
283
- const Go = dn(void 0);
283
+ const Go = pn(void 0);
284
284
  function Il({
285
285
  children: e,
286
286
  ...t
@@ -288,14 +288,14 @@ function Il({
288
288
  return /* @__PURE__ */ x(Go.Provider, { value: t, children: e });
289
289
  }
290
290
  function mn() {
291
- const e = pn(Go);
291
+ const e = dn(Go);
292
292
  if (!e)
293
293
  throw new Error(
294
294
  "useChatInterfaceContext must be used within a ChatInterfaceProvider"
295
295
  );
296
296
  return e;
297
297
  }
298
- const Tl = { BASE_URL: "/", DEV: !1, MODE: "dev", PROD: !0, SSR: !1, VITE_API_URL: "https://chat.eloquentai.dev", VITE_CDN_URL: "https://cdn.eloquentai.dev", VITE_ENVIRONMENT: "dev" }, Nl = "/assets/logo-waiting-simple.riv";
298
+ const Tl = { BASE_URL: "/", DEV: !1, MODE: "prod", PROD: !0, SSR: !1, VITE_API_URL: "https://chat.eloquentai.co", VITE_CDN_URL: "https://cdn.eloquentai.co", VITE_ENVIRONMENT: "prod" }, Nl = "/assets/logo-waiting-simple.riv";
299
299
  function Ko(e) {
300
300
  return typeof window > "u" || typeof import.meta > "u" ? "" : Tl[e] || "";
301
301
  }
@@ -351,8 +351,8 @@ function Ml(e, t = 50, n = !0) {
351
351
  if (!n) return;
352
352
  let o = 0;
353
353
  const s = ((c, u) => {
354
- const f = c / 2, p = c * 2;
355
- return u > 100 ? f : p;
354
+ const f = c / 2, d = c * 2;
355
+ return u > 100 ? f : d;
356
356
  })(t, e.length), l = setInterval(() => {
357
357
  o < e.length ? (i(e.substring(0, o + 1)), o++) : clearInterval(l);
358
358
  }, s);
@@ -1552,7 +1552,7 @@ function ec() {
1552
1552
  if (ci) return _n;
1553
1553
  ci = 1;
1554
1554
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, o = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, a = /^[;\s]*/, s = /^\s+|\s+$/g, l = `
1555
- `, c = "/", u = "*", f = "", p = "comment", d = "declaration";
1555
+ `, c = "/", u = "*", f = "", d = "comment", p = "declaration";
1556
1556
  _n = function(b, k) {
1557
1557
  if (typeof b != "string")
1558
1558
  throw new TypeError("First argument must be a string");
@@ -1606,7 +1606,7 @@ function ec() {
1606
1606
  return v("End of comment missing");
1607
1607
  var z = b.slice(2, R - 2);
1608
1608
  return S += 2, C(z), b = b.slice(R), S += 2, _({
1609
- type: p,
1609
+ type: d,
1610
1610
  comment: z
1611
1611
  });
1612
1612
  }
@@ -1616,7 +1616,7 @@ function ec() {
1616
1616
  if (R) {
1617
1617
  if (w(), !M(i)) return v("property missing ':'");
1618
1618
  var z = M(o), V = _({
1619
- type: d,
1619
+ type: p,
1620
1620
  property: h(R[0].replace(e, f)),
1621
1621
  value: z ? h(z[0].replace(e, f)) : f
1622
1622
  });
@@ -1675,10 +1675,10 @@ function nc() {
1675
1675
  };
1676
1676
  return xt.camelCase = l, xt;
1677
1677
  }
1678
- var vt, di;
1678
+ var vt, pi;
1679
1679
  function rc() {
1680
- if (di) return vt;
1681
- di = 1;
1680
+ if (pi) return vt;
1681
+ pi = 1;
1682
1682
  var e = vt && vt.__importDefault || function(i) {
1683
1683
  return i && i.__esModule ? i : { default: i };
1684
1684
  }, t = e(tc()), n = nc();
@@ -1710,12 +1710,12 @@ function aa(e) {
1710
1710
  return { start: t, end: n };
1711
1711
  }
1712
1712
  function It(e) {
1713
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? pi(e.position) : "start" in e || "end" in e ? pi(e) : "line" in e || "column" in e ? Xn(e) : "";
1713
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? di(e.position) : "start" in e || "end" in e ? di(e) : "line" in e || "column" in e ? Xn(e) : "";
1714
1714
  }
1715
1715
  function Xn(e) {
1716
1716
  return hi(e && e.line) + ":" + hi(e && e.column);
1717
1717
  }
1718
- function pi(e) {
1718
+ function di(e) {
1719
1719
  return Xn(e && e.start) + "-" + Xn(e && e.end);
1720
1720
  }
1721
1721
  function hi(e) {
@@ -1853,11 +1853,11 @@ function la(e, t, n) {
1853
1853
  if (t.type === "element")
1854
1854
  return fc(e, t, n);
1855
1855
  if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
1856
- return dc(e, t);
1856
+ return pc(e, t);
1857
1857
  if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement")
1858
1858
  return hc(e, t, n);
1859
1859
  if (t.type === "mdxjsEsm")
1860
- return pc(e, t);
1860
+ return dc(e, t);
1861
1861
  if (t.type === "root")
1862
1862
  return mc(e, t, n);
1863
1863
  if (t.type === "text")
@@ -1873,7 +1873,7 @@ function fc(e, t, n) {
1873
1873
  return typeof l == "string" ? !jl(l) : !0;
1874
1874
  })), ca(e, a, o, t), Ar(a, s), e.ancestors.pop(), e.schema = r, e.create(t, o, a, n);
1875
1875
  }
1876
- function dc(e, t) {
1876
+ function pc(e, t) {
1877
1877
  if (t.data && t.data.estree && e.evaluater) {
1878
1878
  const r = t.data.estree.body[0];
1879
1879
  return r.type, /** @type {Child | undefined} */
@@ -1881,7 +1881,7 @@ function dc(e, t) {
1881
1881
  }
1882
1882
  Ot(e, t.position);
1883
1883
  }
1884
- function pc(e, t) {
1884
+ function dc(e, t) {
1885
1885
  if (t.data && t.data.estree && e.evaluater)
1886
1886
  return (
1887
1887
  /** @type {Child | undefined} */
@@ -4288,7 +4288,7 @@ function Ae(e, t) {
4288
4288
  return e.length > 0 ? (ke(e, e.length, 0, t), e) : t;
4289
4289
  }
4290
4290
  const bi = {}.hasOwnProperty;
4291
- function da(e) {
4291
+ function pa(e) {
4292
4292
  const t = {};
4293
4293
  let n = -1;
4294
4294
  for (; ++n < e.length; )
@@ -4319,7 +4319,7 @@ function Nc(e, t) {
4319
4319
  (t[n].add === "after" ? e : r).push(t[n]);
4320
4320
  ke(e, 0, 0, r);
4321
4321
  }
4322
- function pa(e, t) {
4322
+ function da(e, t) {
4323
4323
  const n = Number.parseInt(e, t);
4324
4324
  return (
4325
4325
  // C0 except for HT, LF, FF, CR, space.
@@ -4461,7 +4461,7 @@ function zc(e) {
4461
4461
  function c(C) {
4462
4462
  if (r === n.length) {
4463
4463
  if (!i)
4464
- return p(C);
4464
+ return d(C);
4465
4465
  if (i.currentConstruct && i.currentConstruct.concrete)
4466
4466
  return h(C);
4467
4467
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
@@ -4469,16 +4469,16 @@ function zc(e) {
4469
4469
  return t.containerState = {}, e.check(yi, u, f)(C);
4470
4470
  }
4471
4471
  function u(C) {
4472
- return i && S(), y(r), p(C);
4472
+ return i && S(), y(r), d(C);
4473
4473
  }
4474
4474
  function f(C) {
4475
4475
  return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, h(C);
4476
4476
  }
4477
- function p(C) {
4478
- return t.containerState = {}, e.attempt(yi, d, h)(C);
4479
- }
4480
4477
  function d(C) {
4481
- return r++, n.push([t.currentConstruct, t.containerState]), p(C);
4478
+ return t.containerState = {}, e.attempt(yi, p, h)(C);
4479
+ }
4480
+ function p(C) {
4481
+ return r++, n.push([t.currentConstruct, t.containerState]), d(C);
4482
4482
  }
4483
4483
  function h(C) {
4484
4484
  if (C === null) {
@@ -4574,10 +4574,10 @@ function Fc(e, t) {
4574
4574
  l = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
4575
4575
  const f = {
4576
4576
  ...e[r][1].end
4577
- }, p = {
4577
+ }, d = {
4578
4578
  ...e[n][1].start
4579
4579
  };
4580
- wi(f, -l), wi(p, l), a = {
4580
+ wi(f, -l), wi(d, l), a = {
4581
4581
  type: l > 1 ? "strongSequence" : "emphasisSequence",
4582
4582
  start: f,
4583
4583
  end: {
@@ -4588,7 +4588,7 @@ function Fc(e, t) {
4588
4588
  start: {
4589
4589
  ...e[n][1].start
4590
4590
  },
4591
- end: p
4591
+ end: d
4592
4592
  }, o = {
4593
4593
  type: l > 1 ? "strongText" : "emphasisText",
4594
4594
  start: {
@@ -4627,8 +4627,8 @@ function Bc(e, t) {
4627
4627
  function s(l) {
4628
4628
  if (l === o)
4629
4629
  return e.consume(l), s;
4630
- const c = e.exit("attentionSequence"), u = ft(l), f = !u || u === 2 && i || n.includes(l), p = !i || i === 2 && u || n.includes(r);
4631
- return c._open = !!(o === 42 ? f : f && (i || !p)), c._close = !!(o === 42 ? p : p && (u || !f)), t(l);
4630
+ const c = e.exit("attentionSequence"), u = ft(l), f = !u || u === 2 && i || n.includes(l), d = !i || i === 2 && u || n.includes(r);
4631
+ return c._open = !!(o === 42 ? f : f && (i || !d)), c._close = !!(o === 42 ? d : d && (u || !f)), t(l);
4632
4632
  }
4633
4633
  }
4634
4634
  function wi(e, t) {
@@ -4641,36 +4641,36 @@ const Uc = {
4641
4641
  function jc(e, t, n) {
4642
4642
  let r = 0;
4643
4643
  return i;
4644
- function i(d) {
4645
- return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4644
+ function i(p) {
4645
+ return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4646
4646
  }
4647
- function o(d) {
4648
- return he(d) ? (e.consume(d), a) : d === 64 ? n(d) : c(d);
4647
+ function o(p) {
4648
+ return he(p) ? (e.consume(p), a) : p === 64 ? n(p) : c(p);
4649
4649
  }
4650
- function a(d) {
4651
- return d === 43 || d === 45 || d === 46 || ce(d) ? (r = 1, s(d)) : c(d);
4650
+ function a(p) {
4651
+ return p === 43 || p === 45 || p === 46 || ce(p) ? (r = 1, s(p)) : c(p);
4652
4652
  }
4653
- function s(d) {
4654
- return d === 58 ? (e.consume(d), r = 0, l) : (d === 43 || d === 45 || d === 46 || ce(d)) && r++ < 32 ? (e.consume(d), s) : (r = 0, c(d));
4653
+ function s(p) {
4654
+ return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || ce(p)) && r++ < 32 ? (e.consume(p), s) : (r = 0, c(p));
4655
4655
  }
4656
- function l(d) {
4657
- return d === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : d === null || d === 32 || d === 60 || cn(d) ? n(d) : (e.consume(d), l);
4656
+ function l(p) {
4657
+ return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || cn(p) ? n(p) : (e.consume(p), l);
4658
4658
  }
4659
- function c(d) {
4660
- return d === 64 ? (e.consume(d), u) : Rc(d) ? (e.consume(d), c) : n(d);
4659
+ function c(p) {
4660
+ return p === 64 ? (e.consume(p), u) : Rc(p) ? (e.consume(p), c) : n(p);
4661
4661
  }
4662
- function u(d) {
4663
- return ce(d) ? f(d) : n(d);
4662
+ function u(p) {
4663
+ return ce(p) ? f(p) : n(p);
4664
4664
  }
4665
- function f(d) {
4666
- return d === 46 ? (e.consume(d), r = 0, u) : d === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : p(d);
4665
+ function f(p) {
4666
+ return p === 46 ? (e.consume(p), r = 0, u) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : d(p);
4667
4667
  }
4668
- function p(d) {
4669
- if ((d === 45 || ce(d)) && r++ < 63) {
4670
- const h = d === 45 ? p : f;
4671
- return e.consume(d), h;
4668
+ function d(p) {
4669
+ if ((p === 45 || ce(p)) && r++ < 63) {
4670
+ const h = p === 45 ? d : f;
4671
+ return e.consume(p), h;
4672
4672
  }
4673
- return n(d);
4673
+ return n(p);
4674
4674
  }
4675
4675
  }
4676
4676
  const Bt = {
@@ -4755,8 +4755,8 @@ function Kc(e, t, n) {
4755
4755
  }
4756
4756
  function u(f) {
4757
4757
  if (f === 59 && i) {
4758
- const p = e.exit("characterReferenceValue");
4759
- return a === ce && !Nr(r.sliceSerialize(p)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4758
+ const d = e.exit("characterReferenceValue");
4759
+ return a === ce && !Nr(r.sliceSerialize(d)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4760
4760
  }
4761
4761
  return a(f) && i++ < o ? (e.consume(f), u) : n(f);
4762
4762
  }
@@ -4789,12 +4789,12 @@ function Yc(e, t, n) {
4789
4789
  function f(v) {
4790
4790
  return v === null || q(v) ? (e.exit("codeFencedFence"), r.interrupt ? t(v) : e.check(xi, b, P)(v)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
4791
4791
  contentType: "string"
4792
- }), p(v));
4793
- }
4794
- function p(v) {
4795
- return v === null || q(v) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(v)) : H(v) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), G(e, d, "whitespace")(v)) : v === 96 && v === s ? n(v) : (e.consume(v), p);
4792
+ }), d(v));
4796
4793
  }
4797
4794
  function d(v) {
4795
+ return v === null || q(v) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(v)) : H(v) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), G(e, p, "whitespace")(v)) : v === 96 && v === s ? n(v) : (e.consume(v), d);
4796
+ }
4797
+ function p(v) {
4798
4798
  return v === null || q(v) ? f(v) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4799
4799
  contentType: "string"
4800
4800
  }), h(v));
@@ -5132,22 +5132,22 @@ function ou(e, t) {
5132
5132
  let a = n._tokenizer;
5133
5133
  a || (a = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (a._contentTypeTextTrailing = !0));
5134
5134
  const s = a.events, l = [], c = {};
5135
- let u, f, p = -1, d = n, h = 0, b = 0;
5135
+ let u, f, d = -1, p = n, h = 0, b = 0;
5136
5136
  const k = [b];
5137
- for (; d; ) {
5138
- for (; e.get(++i)[1] !== d; )
5137
+ for (; p; ) {
5138
+ for (; e.get(++i)[1] !== p; )
5139
5139
  ;
5140
- o.push(i), d._tokenizer || (u = r.sliceStream(d), d.next || u.push(null), f && a.defineSkip(d.start), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(u), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), f = d, d = d.next;
5140
+ o.push(i), p._tokenizer || (u = r.sliceStream(p), p.next || u.push(null), f && a.defineSkip(p.start), p._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(u), p._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), f = p, p = p.next;
5141
5141
  }
5142
- for (d = n; ++p < s.length; )
5142
+ for (p = n; ++d < s.length; )
5143
5143
  // Find a void token that includes a break.
5144
- s[p][0] === "exit" && s[p - 1][0] === "enter" && s[p][1].type === s[p - 1][1].type && s[p][1].start.line !== s[p][1].end.line && (b = p + 1, k.push(b), d._tokenizer = void 0, d.previous = void 0, d = d.next);
5145
- for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : k.pop(), p = k.length; p--; ) {
5146
- const y = s.slice(k[p], k[p + 1]), S = o.pop();
5144
+ s[d][0] === "exit" && s[d - 1][0] === "enter" && s[d][1].type === s[d - 1][1].type && s[d][1].start.line !== s[d][1].end.line && (b = d + 1, k.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
5145
+ for (a.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : k.pop(), d = k.length; d--; ) {
5146
+ const y = s.slice(k[d], k[d + 1]), S = o.pop();
5147
5147
  l.push([S, S + y.length - 1]), e.splice(S, 2, y);
5148
5148
  }
5149
- for (l.reverse(), p = -1; ++p < l.length; )
5150
- c[h + l[p][0]] = h + l[p][1], h += l[p][1] - l[p][0] - 1;
5149
+ for (l.reverse(), d = -1; ++d < l.length; )
5150
+ c[h + l[d][0]] = h + l[d][1], h += l[d][1] - l[d][0] - 1;
5151
5151
  return c;
5152
5152
  }
5153
5153
  const au = {
@@ -5199,20 +5199,20 @@ function ya(e, t, n, r, i, o, a, s, l) {
5199
5199
  let u = 0;
5200
5200
  return f;
5201
5201
  function f(y) {
5202
- return y === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(y), e.exit(o), p) : y === null || y === 32 || y === 41 || cn(y) ? n(y) : (e.enter(r), e.enter(a), e.enter(s), e.enter("chunkString", {
5202
+ return y === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(y), e.exit(o), d) : y === null || y === 32 || y === 41 || cn(y) ? n(y) : (e.enter(r), e.enter(a), e.enter(s), e.enter("chunkString", {
5203
5203
  contentType: "string"
5204
5204
  }), b(y));
5205
5205
  }
5206
- function p(y) {
5206
+ function d(y) {
5207
5207
  return y === 62 ? (e.enter(o), e.consume(y), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(s), e.enter("chunkString", {
5208
5208
  contentType: "string"
5209
- }), d(y));
5209
+ }), p(y));
5210
5210
  }
5211
- function d(y) {
5212
- return y === 62 ? (e.exit("chunkString"), e.exit(s), p(y)) : y === null || y === 60 || q(y) ? n(y) : (e.consume(y), y === 92 ? h : d);
5211
+ function p(y) {
5212
+ return y === 62 ? (e.exit("chunkString"), e.exit(s), d(y)) : y === null || y === 60 || q(y) ? n(y) : (e.consume(y), y === 92 ? h : p);
5213
5213
  }
5214
5214
  function h(y) {
5215
- return y === 60 || y === 62 || y === 92 ? (e.consume(y), d) : d(y);
5215
+ return y === 60 || y === 62 || y === 92 ? (e.consume(y), p) : p(y);
5216
5216
  }
5217
5217
  function b(y) {
5218
5218
  return !u && (y === null || y === 41 || J(y)) ? (e.exit("chunkString"), e.exit(s), e.exit(a), e.exit(r), t(y)) : u < c && y === 40 ? (e.consume(y), u++, b) : y === 41 ? (e.consume(y), u--, b) : y === null || y === 32 || y === 40 || cn(y) ? n(y) : (e.consume(y), y === 92 ? k : b);
@@ -5225,45 +5225,45 @@ function wa(e, t, n, r, i, o) {
5225
5225
  const a = this;
5226
5226
  let s = 0, l;
5227
5227
  return c;
5228
- function c(d) {
5229
- return e.enter(r), e.enter(i), e.consume(d), e.exit(i), e.enter(o), u;
5228
+ function c(p) {
5229
+ return e.enter(r), e.enter(i), e.consume(p), e.exit(i), e.enter(o), u;
5230
5230
  }
5231
- function u(d) {
5232
- return s > 999 || d === null || d === 91 || d === 93 && !l || // To do: remove in the future once we’ve switched from
5231
+ function u(p) {
5232
+ return s > 999 || p === null || p === 91 || p === 93 && !l || // To do: remove in the future once we’ve switched from
5233
5233
  // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
5234
5234
  // which doesn’t need this.
5235
5235
  // Hidden footnotes hook.
5236
5236
  /* c8 ignore next 3 */
5237
- d === 94 && !s && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (e.exit(o), e.enter(i), e.consume(d), e.exit(i), e.exit(r), t) : q(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), u) : (e.enter("chunkString", {
5237
+ p === 94 && !s && "_hiddenFootnoteSupport" in a.parser.constructs ? n(p) : p === 93 ? (e.exit(o), e.enter(i), e.consume(p), e.exit(i), e.exit(r), t) : q(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), u) : (e.enter("chunkString", {
5238
5238
  contentType: "string"
5239
- }), f(d));
5239
+ }), f(p));
5240
5240
  }
5241
- function f(d) {
5242
- return d === null || d === 91 || d === 93 || q(d) || s++ > 999 ? (e.exit("chunkString"), u(d)) : (e.consume(d), l || (l = !H(d)), d === 92 ? p : f);
5241
+ function f(p) {
5242
+ return p === null || p === 91 || p === 93 || q(p) || s++ > 999 ? (e.exit("chunkString"), u(p)) : (e.consume(p), l || (l = !H(p)), p === 92 ? d : f);
5243
5243
  }
5244
- function p(d) {
5245
- return d === 91 || d === 92 || d === 93 ? (e.consume(d), s++, f) : f(d);
5244
+ function d(p) {
5245
+ return p === 91 || p === 92 || p === 93 ? (e.consume(p), s++, f) : f(p);
5246
5246
  }
5247
5247
  }
5248
5248
  function xa(e, t, n, r, i, o) {
5249
5249
  let a;
5250
5250
  return s;
5251
- function s(p) {
5252
- return p === 34 || p === 39 || p === 40 ? (e.enter(r), e.enter(i), e.consume(p), e.exit(i), a = p === 40 ? 41 : p, l) : n(p);
5251
+ function s(d) {
5252
+ return d === 34 || d === 39 || d === 40 ? (e.enter(r), e.enter(i), e.consume(d), e.exit(i), a = d === 40 ? 41 : d, l) : n(d);
5253
5253
  }
5254
- function l(p) {
5255
- return p === a ? (e.enter(i), e.consume(p), e.exit(i), e.exit(r), t) : (e.enter(o), c(p));
5254
+ function l(d) {
5255
+ return d === a ? (e.enter(i), e.consume(d), e.exit(i), e.exit(r), t) : (e.enter(o), c(d));
5256
5256
  }
5257
- function c(p) {
5258
- return p === a ? (e.exit(o), l(a)) : p === null ? n(p) : q(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), G(e, c, "linePrefix")) : (e.enter("chunkString", {
5257
+ function c(d) {
5258
+ return d === a ? (e.exit(o), l(a)) : d === null ? n(d) : q(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), G(e, c, "linePrefix")) : (e.enter("chunkString", {
5259
5259
  contentType: "string"
5260
- }), u(p));
5260
+ }), u(d));
5261
5261
  }
5262
- function u(p) {
5263
- return p === a || p === null || q(p) ? (e.exit("chunkString"), c(p)) : (e.consume(p), p === 92 ? f : u);
5262
+ function u(d) {
5263
+ return d === a || d === null || q(d) ? (e.exit("chunkString"), c(d)) : (e.consume(d), d === 92 ? f : u);
5264
5264
  }
5265
- function f(p) {
5266
- return p === a || p === 92 ? (e.consume(p), u) : u(p);
5265
+ function f(d) {
5266
+ return d === a || d === 92 ? (e.consume(d), u) : u(d);
5267
5267
  }
5268
5268
  }
5269
5269
  function Tt(e, t) {
@@ -5275,19 +5275,19 @@ function Tt(e, t) {
5275
5275
  }
5276
5276
  const fu = {
5277
5277
  name: "definition",
5278
- tokenize: pu
5279
- }, du = {
5278
+ tokenize: du
5279
+ }, pu = {
5280
5280
  partial: !0,
5281
5281
  tokenize: hu
5282
5282
  };
5283
- function pu(e, t, n) {
5283
+ function du(e, t, n) {
5284
5284
  const r = this;
5285
5285
  let i;
5286
5286
  return o;
5287
- function o(d) {
5288
- return e.enter("definition"), a(d);
5287
+ function o(p) {
5288
+ return e.enter("definition"), a(p);
5289
5289
  }
5290
- function a(d) {
5290
+ function a(p) {
5291
5291
  return wa.call(
5292
5292
  r,
5293
5293
  e,
@@ -5297,15 +5297,15 @@ function pu(e, t, n) {
5297
5297
  "definitionLabel",
5298
5298
  "definitionLabelMarker",
5299
5299
  "definitionLabelString"
5300
- )(d);
5300
+ )(p);
5301
5301
  }
5302
- function s(d) {
5303
- return i = De(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), l) : n(d);
5302
+ function s(p) {
5303
+ return i = De(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), l) : n(p);
5304
5304
  }
5305
- function l(d) {
5306
- return J(d) ? Tt(e, c)(d) : c(d);
5305
+ function l(p) {
5306
+ return J(p) ? Tt(e, c)(p) : c(p);
5307
5307
  }
5308
- function c(d) {
5308
+ function c(p) {
5309
5309
  return ya(
5310
5310
  e,
5311
5311
  u,
@@ -5316,16 +5316,16 @@ function pu(e, t, n) {
5316
5316
  "definitionDestinationLiteralMarker",
5317
5317
  "definitionDestinationRaw",
5318
5318
  "definitionDestinationString"
5319
- )(d);
5319
+ )(p);
5320
5320
  }
5321
- function u(d) {
5322
- return e.attempt(du, f, f)(d);
5321
+ function u(p) {
5322
+ return e.attempt(pu, f, f)(p);
5323
5323
  }
5324
- function f(d) {
5325
- return H(d) ? G(e, p, "whitespace")(d) : p(d);
5324
+ function f(p) {
5325
+ return H(p) ? G(e, d, "whitespace")(p) : d(p);
5326
5326
  }
5327
- function p(d) {
5328
- return d === null || q(d) ? (e.exit("definition"), r.parser.defined.push(i), t(d)) : n(d);
5327
+ function d(p) {
5328
+ return p === null || q(p) ? (e.exit("definition"), r.parser.defined.push(i), t(p)) : n(p);
5329
5329
  }
5330
5330
  }
5331
5331
  function hu(e, t, n) {
@@ -5488,12 +5488,12 @@ function Eu(e, t, n) {
5488
5488
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), f;
5489
5489
  }
5490
5490
  function f(g) {
5491
- return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), o = !0, b) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : m) : he(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
5492
- }
5493
- function p(g) {
5494
- return g === 45 ? (e.consume(g), i = 2, d) : g === 91 ? (e.consume(g), i = 5, s = 0, h) : he(g) ? (e.consume(g), i = 4, r.interrupt ? t : m) : n(g);
5491
+ return g === 33 ? (e.consume(g), d) : g === 47 ? (e.consume(g), o = !0, b) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : m) : he(g) ? (e.consume(g), a = String.fromCharCode(g), k) : n(g);
5495
5492
  }
5496
5493
  function d(g) {
5494
+ return g === 45 ? (e.consume(g), i = 2, p) : g === 91 ? (e.consume(g), i = 5, s = 0, h) : he(g) ? (e.consume(g), i = 4, r.interrupt ? t : m) : n(g);
5495
+ }
5496
+ function p(g) {
5497
5497
  return g === 45 ? (e.consume(g), r.interrupt ? t : m) : n(g);
5498
5498
  }
5499
5499
  function h(g) {
@@ -5505,8 +5505,8 @@ function Eu(e, t, n) {
5505
5505
  }
5506
5506
  function k(g) {
5507
5507
  if (g === null || g === 47 || g === 62 || J(g)) {
5508
- const K = g === 47, de = a.toLowerCase();
5509
- return !K && !o && ki.includes(de) ? (i = 1, r.interrupt ? t(g) : A(g)) : xu.includes(a.toLowerCase()) ? (i = 6, K ? (e.consume(g), y) : r.interrupt ? t(g) : A(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? S(g) : C(g));
5508
+ const K = g === 47, pe = a.toLowerCase();
5509
+ return !K && !o && ki.includes(pe) ? (i = 1, r.interrupt ? t(g) : A(g)) : xu.includes(a.toLowerCase()) ? (i = 6, K ? (e.consume(g), y) : r.interrupt ? t(g) : A(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? S(g) : C(g));
5510
5510
  }
5511
5511
  return g === 45 || ce(g) ? (e.consume(g), a += String.fromCharCode(g), k) : n(g);
5512
5512
  }
@@ -5615,16 +5615,16 @@ function Tu(e, t, n) {
5615
5615
  return m === 45 ? (e.consume(m), u) : m === 91 ? (e.consume(m), o = 0, h) : he(m) ? (e.consume(m), S) : n(m);
5616
5616
  }
5617
5617
  function u(m) {
5618
- return m === 45 ? (e.consume(m), d) : n(m);
5618
+ return m === 45 ? (e.consume(m), p) : n(m);
5619
5619
  }
5620
5620
  function f(m) {
5621
- return m === null ? n(m) : m === 45 ? (e.consume(m), p) : q(m) ? (a = f, ne(m)) : (e.consume(m), f);
5622
- }
5623
- function p(m) {
5624
- return m === 45 ? (e.consume(m), d) : f(m);
5621
+ return m === null ? n(m) : m === 45 ? (e.consume(m), d) : q(m) ? (a = f, ne(m)) : (e.consume(m), f);
5625
5622
  }
5626
5623
  function d(m) {
5627
- return m === 62 ? V(m) : m === 45 ? p(m) : f(m);
5624
+ return m === 45 ? (e.consume(m), p) : f(m);
5625
+ }
5626
+ function p(m) {
5627
+ return m === 62 ? V(m) : m === 45 ? d(m) : f(m);
5628
5628
  }
5629
5629
  function h(m) {
5630
5630
  const me = "CDATA[";
@@ -5767,23 +5767,23 @@ function Pu(e, t, n) {
5767
5767
  break;
5768
5768
  }
5769
5769
  return s;
5770
- function s(p) {
5771
- return o ? o._inactive ? f(p) : (a = r.parser.defined.includes(De(r.sliceSerialize({
5770
+ function s(d) {
5771
+ return o ? o._inactive ? f(d) : (a = r.parser.defined.includes(De(r.sliceSerialize({
5772
5772
  start: o.end,
5773
5773
  end: r.now()
5774
- }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(p), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(p);
5774
+ }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(d);
5775
5775
  }
5776
- function l(p) {
5777
- return p === 40 ? e.attempt(Nu, u, a ? u : f)(p) : p === 91 ? e.attempt(Ru, u, a ? c : f)(p) : a ? u(p) : f(p);
5776
+ function l(d) {
5777
+ return d === 40 ? e.attempt(Nu, u, a ? u : f)(d) : d === 91 ? e.attempt(Ru, u, a ? c : f)(d) : a ? u(d) : f(d);
5778
5778
  }
5779
- function c(p) {
5780
- return e.attempt(Ou, u, f)(p);
5779
+ function c(d) {
5780
+ return e.attempt(Ou, u, f)(d);
5781
5781
  }
5782
- function u(p) {
5783
- return t(p);
5782
+ function u(d) {
5783
+ return t(d);
5784
5784
  }
5785
- function f(p) {
5786
- return o._balanced = !0, n(p);
5785
+ function f(d) {
5786
+ return o._balanced = !0, n(d);
5787
5787
  }
5788
5788
  }
5789
5789
  function Mu(e, t, n) {
@@ -5916,37 +5916,37 @@ function Gu(e, t, n) {
5916
5916
  const r = this, i = r.events[r.events.length - 1];
5917
5917
  let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, a = 0;
5918
5918
  return s;
5919
- function s(d) {
5920
- const h = r.containerState.type || (d === 42 || d === 43 || d === 45 ? "listUnordered" : "listOrdered");
5921
- if (h === "listUnordered" ? !r.containerState.marker || d === r.containerState.marker : Zn(d)) {
5919
+ function s(p) {
5920
+ const h = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
5921
+ if (h === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Zn(p)) {
5922
5922
  if (r.containerState.type || (r.containerState.type = h, e.enter(h, {
5923
5923
  _container: !0
5924
5924
  })), h === "listUnordered")
5925
- return e.enter("listItemPrefix"), d === 42 || d === 45 ? e.check(tn, n, c)(d) : c(d);
5926
- if (!r.interrupt || d === 49)
5927
- return e.enter("listItemPrefix"), e.enter("listItemValue"), l(d);
5925
+ return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(tn, n, c)(p) : c(p);
5926
+ if (!r.interrupt || p === 49)
5927
+ return e.enter("listItemPrefix"), e.enter("listItemValue"), l(p);
5928
5928
  }
5929
- return n(d);
5929
+ return n(p);
5930
5930
  }
5931
- function l(d) {
5932
- return Zn(d) && ++a < 10 ? (e.consume(d), l) : (!r.interrupt || a < 2) && (r.containerState.marker ? d === r.containerState.marker : d === 41 || d === 46) ? (e.exit("listItemValue"), c(d)) : n(d);
5931
+ function l(p) {
5932
+ return Zn(p) && ++a < 10 ? (e.consume(p), l) : (!r.interrupt || a < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), c(p)) : n(p);
5933
5933
  }
5934
- function c(d) {
5935
- return e.enter("listItemMarker"), e.consume(d), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || d, e.check(
5934
+ function c(p) {
5935
+ return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
5936
5936
  Bt,
5937
5937
  // Can’t be empty when interrupting.
5938
5938
  r.interrupt ? n : u,
5939
- e.attempt($u, p, f)
5939
+ e.attempt($u, d, f)
5940
5940
  );
5941
5941
  }
5942
- function u(d) {
5943
- return r.containerState.initialBlankLine = !0, o++, p(d);
5942
+ function u(p) {
5943
+ return r.containerState.initialBlankLine = !0, o++, d(p);
5944
5944
  }
5945
- function f(d) {
5946
- return H(d) ? (e.enter("listItemPrefixWhitespace"), e.consume(d), e.exit("listItemPrefixWhitespace"), p) : n(d);
5945
+ function f(p) {
5946
+ return H(p) ? (e.enter("listItemPrefixWhitespace"), e.consume(p), e.exit("listItemPrefixWhitespace"), d) : n(p);
5947
5947
  }
5948
- function p(d) {
5949
- return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(d);
5948
+ function d(p) {
5949
+ return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(p);
5950
5950
  }
5951
5951
  }
5952
5952
  function Ku(e, t, n) {
@@ -6088,11 +6088,11 @@ function va(e) {
6088
6088
  if (u === null)
6089
6089
  return !0;
6090
6090
  const f = i[u];
6091
- let p = -1;
6091
+ let d = -1;
6092
6092
  if (f)
6093
- for (; ++p < f.length; ) {
6094
- const d = f[p];
6095
- if (!d.previous || d.previous.call(r, r.previous))
6093
+ for (; ++d < f.length; ) {
6094
+ const p = f[d];
6095
+ if (!p.previous || p.previous.call(r, r.previous))
6096
6096
  return !0;
6097
6097
  }
6098
6098
  return !1;
@@ -6183,7 +6183,7 @@ const sf = {
6183
6183
  }, ff = {
6184
6184
  38: ga,
6185
6185
  92: ma
6186
- }, df = {
6186
+ }, pf = {
6187
6187
  [-5]: Tn,
6188
6188
  [-4]: Tn,
6189
6189
  [-3]: Tn,
@@ -6196,7 +6196,7 @@ const sf = {
6196
6196
  93: Rr,
6197
6197
  95: er,
6198
6198
  96: eu
6199
- }, pf = {
6199
+ }, df = {
6200
6200
  null: [er, nf]
6201
6201
  }, hf = {
6202
6202
  null: [42, 95]
@@ -6210,9 +6210,9 @@ const sf = {
6210
6210
  document: sf,
6211
6211
  flow: uf,
6212
6212
  flowInitial: cf,
6213
- insideSpan: pf,
6213
+ insideSpan: df,
6214
6214
  string: ff,
6215
- text: df
6215
+ text: pf
6216
6216
  }, Symbol.toStringTag, { value: "Module" }));
6217
6217
  function bf(e, t, n) {
6218
6218
  let r = {
@@ -6241,8 +6241,8 @@ function bf(e, t, n) {
6241
6241
  now: h,
6242
6242
  parser: e,
6243
6243
  previous: null,
6244
- sliceSerialize: p,
6245
- sliceStream: d,
6244
+ sliceSerialize: d,
6245
+ sliceStream: p,
6246
6246
  write: f
6247
6247
  };
6248
6248
  let u = t.tokenize.call(c, l);
@@ -6250,10 +6250,10 @@ function bf(e, t, n) {
6250
6250
  function f(N) {
6251
6251
  return a = Ae(a, N), k(), a[a.length - 1] !== null ? [] : (T(t, 0), c.events = bn(o, c.events, c), c.events);
6252
6252
  }
6253
- function p(N, A) {
6254
- return wf(d(N), A);
6253
+ function d(N, A) {
6254
+ return wf(p(N), A);
6255
6255
  }
6256
- function d(N) {
6256
+ function p(N) {
6257
6257
  return yf(a, N);
6258
6258
  }
6259
6259
  function h() {
@@ -6341,21 +6341,21 @@ function bf(e, t, n) {
6341
6341
  function g(re) {
6342
6342
  return Ge;
6343
6343
  function Ge(Re) {
6344
- return m = D(), Te = re, re.partial || (c.currentConstruct = re), re.name && c.parser.constructs.disable.null.includes(re.name) ? de() : re.tokenize.call(
6344
+ return m = D(), Te = re, re.partial || (c.currentConstruct = re), re.name && c.parser.constructs.disable.null.includes(re.name) ? pe() : re.tokenize.call(
6345
6345
  // If we do have fields, create an object w/ `context` as its
6346
6346
  // prototype.
6347
6347
  // This allows a “live binding”, which is needed for `interrupt`.
6348
6348
  A ? Object.assign(Object.create(c), A) : c,
6349
6349
  l,
6350
6350
  K,
6351
- de
6351
+ pe
6352
6352
  )(Re);
6353
6353
  }
6354
6354
  }
6355
6355
  function K(re) {
6356
6356
  return N(Te, m), z;
6357
6357
  }
6358
- function de(re) {
6358
+ function pe(re) {
6359
6359
  return m.restore(), ++Ce < ne.length ? g(ne[Ce]) : V;
6360
6360
  }
6361
6361
  }
@@ -6435,7 +6435,7 @@ function xf(e) {
6435
6435
  const r = {
6436
6436
  constructs: (
6437
6437
  /** @type {FullNormalizedExtension} */
6438
- da([gf, ...(e || {}).extensions || []])
6438
+ pa([gf, ...(e || {}).extensions || []])
6439
6439
  ),
6440
6440
  content: i(Dc),
6441
6441
  defined: [],
@@ -6464,16 +6464,16 @@ function kf() {
6464
6464
  return i;
6465
6465
  function i(o, a, s) {
6466
6466
  const l = [];
6467
- let c, u, f, p, d;
6467
+ let c, u, f, d, p;
6468
6468
  for (o = t + (typeof o == "string" ? o.toString() : new TextDecoder(a || void 0).decode(o)), f = 0, t = "", n && (o.charCodeAt(0) === 65279 && f++, n = void 0); f < o.length; ) {
6469
- if (Ci.lastIndex = f, c = Ci.exec(o), p = c && c.index !== void 0 ? c.index : o.length, d = o.charCodeAt(p), !c) {
6469
+ if (Ci.lastIndex = f, c = Ci.exec(o), d = c && c.index !== void 0 ? c.index : o.length, p = o.charCodeAt(d), !c) {
6470
6470
  t = o.slice(f);
6471
6471
  break;
6472
6472
  }
6473
- if (d === 10 && f === p && r)
6473
+ if (p === 10 && f === d && r)
6474
6474
  l.push(-3), r = void 0;
6475
6475
  else
6476
- switch (r && (l.push(-5), r = void 0), f < p && (l.push(o.slice(f, p)), e += p - f), d) {
6476
+ switch (r && (l.push(-5), r = void 0), f < d && (l.push(o.slice(f, d)), e += d - f), p) {
6477
6477
  case 0: {
6478
6478
  l.push(65533), e++;
6479
6479
  break;
@@ -6489,7 +6489,7 @@ function kf() {
6489
6489
  default:
6490
6490
  r = !0, e = 1;
6491
6491
  }
6492
- f = p + 1;
6492
+ f = d + 1;
6493
6493
  }
6494
6494
  return s && (r && l.push(-5), t && l.push(t), l.push(null)), l;
6495
6495
  }
@@ -6503,7 +6503,7 @@ function Ef(e, t, n) {
6503
6503
  return t;
6504
6504
  if (n.charCodeAt(0) === 35) {
6505
6505
  const i = n.charCodeAt(1), o = i === 120 || i === 88;
6506
- return pa(n.slice(o ? 2 : 1), o ? 16 : 10);
6506
+ return da(n.slice(o ? 2 : 1), o ? 16 : 10);
6507
6507
  }
6508
6508
  return Nr(n) || e;
6509
6509
  }
@@ -6546,7 +6546,7 @@ function Af(e) {
6546
6546
  label: a,
6547
6547
  link: o(ri),
6548
6548
  listItem: o(Qs),
6549
- listItemValue: p,
6549
+ listItemValue: d,
6550
6550
  listOrdered: o(ii, f),
6551
6551
  listUnordered: o(ii),
6552
6552
  paragraph: o(Xs),
@@ -6566,13 +6566,13 @@ function Af(e) {
6566
6566
  autolinkProtocol: Re,
6567
6567
  blockQuote: l(),
6568
6568
  characterEscapeValue: w,
6569
- characterReferenceMarkerHexadecimal: de,
6570
- characterReferenceMarkerNumeric: de,
6569
+ characterReferenceMarkerHexadecimal: pe,
6570
+ characterReferenceMarkerNumeric: pe,
6571
6571
  characterReferenceValue: re,
6572
6572
  characterReference: Ge,
6573
6573
  codeFenced: l(k),
6574
6574
  codeFencedFence: b,
6575
- codeFencedFenceInfo: d,
6575
+ codeFencedFenceInfo: p,
6576
6576
  codeFencedFenceMeta: h,
6577
6577
  codeFlowValue: w,
6578
6578
  codeIndented: l(y),
@@ -6753,13 +6753,13 @@ function Af(e) {
6753
6753
  function f() {
6754
6754
  this.data.expectingFirstListItemValue = !0;
6755
6755
  }
6756
- function p(E) {
6756
+ function d(E) {
6757
6757
  if (this.data.expectingFirstListItemValue) {
6758
6758
  const L = this.stack[this.stack.length - 2];
6759
6759
  L.start = Number.parseInt(this.sliceSerialize(E), 10), this.data.expectingFirstListItemValue = void 0;
6760
6760
  }
6761
6761
  }
6762
- function d() {
6762
+ function p() {
6763
6763
  const E = this.resume(), L = this.stack[this.stack.length - 1];
6764
6764
  L.lang = E;
6765
6765
  }
@@ -6892,13 +6892,13 @@ function Af(e) {
6892
6892
  const L = this.resume(), B = this.stack[this.stack.length - 1];
6893
6893
  B.label = L, B.identifier = De(this.sliceSerialize(E)).toLowerCase(), this.data.referenceType = "full";
6894
6894
  }
6895
- function de(E) {
6895
+ function pe(E) {
6896
6896
  this.data.characterReferenceType = E.type;
6897
6897
  }
6898
6898
  function re(E) {
6899
6899
  const L = this.sliceSerialize(E), B = this.data.characterReferenceType;
6900
6900
  let $;
6901
- B ? ($ = pa(L, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : $ = Nr(L);
6901
+ B ? ($ = da(L, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : $ = Nr(L);
6902
6902
  const Y = this.stack[this.stack.length - 1];
6903
6903
  Y.value += $;
6904
6904
  }
@@ -7347,9 +7347,9 @@ function Jf(e, t, n) {
7347
7347
  let l = -1;
7348
7348
  const c = [];
7349
7349
  for (; ++l < s; ) {
7350
- const f = t.children[l], p = {}, d = a ? a[l] : void 0;
7351
- d && (p.align = d);
7352
- let h = { type: "element", tagName: o, properties: p, children: [] };
7350
+ const f = t.children[l], d = {}, p = a ? a[l] : void 0;
7351
+ p && (d.align = p);
7352
+ let h = { type: "element", tagName: o, properties: d, children: [] };
7353
7353
  f && (h.children = e.all(f), e.patch(f, h), h = e.applyData(f, h)), c.push(h);
7354
7354
  }
7355
7355
  const u = {
@@ -7400,7 +7400,7 @@ function Zf(e, t) {
7400
7400
  const n = { type: "text", value: Xf(String(t.value)) };
7401
7401
  return e.patch(t, n), e.applyData(t, n);
7402
7402
  }
7403
- function ed(e, t) {
7403
+ function ep(e, t) {
7404
7404
  const n = {
7405
7405
  type: "element",
7406
7406
  tagName: "hr",
@@ -7409,7 +7409,7 @@ function ed(e, t) {
7409
7409
  };
7410
7410
  return e.patch(t, n), e.applyData(t, n);
7411
7411
  }
7412
- const td = {
7412
+ const tp = {
7413
7413
  blockquote: Nf,
7414
7414
  break: Rf,
7415
7415
  code: Of,
@@ -7433,7 +7433,7 @@ const td = {
7433
7433
  tableCell: Qf,
7434
7434
  tableRow: Jf,
7435
7435
  text: Zf,
7436
- thematicBreak: ed,
7436
+ thematicBreak: ep,
7437
7437
  toml: Vt,
7438
7438
  yaml: Vt,
7439
7439
  definition: Vt,
@@ -7441,7 +7441,7 @@ const td = {
7441
7441
  };
7442
7442
  function Vt() {
7443
7443
  }
7444
- const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, Ta = 8, Ti = typeof self == "object" ? self : globalThis, nd = (e, t) => {
7444
+ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, Ta = 8, Ti = typeof self == "object" ? self : globalThis, np = (e, t) => {
7445
7445
  const n = (i, o) => (e.set(o, i), i), r = (i) => {
7446
7446
  if (e.has(i))
7447
7447
  return e.get(i);
@@ -7498,11 +7498,11 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7498
7498
  return n(new Ti[o](a), i);
7499
7499
  };
7500
7500
  return r;
7501
- }, Ni = (e) => nd(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: rd } = {}, { keys: id } = Object, St = (e) => {
7501
+ }, Ni = (e) => np(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: rp } = {}, { keys: ip } = Object, St = (e) => {
7502
7502
  const t = typeof e;
7503
7503
  if (t !== "object" || !e)
7504
7504
  return [yn, t];
7505
- const n = rd.call(e).slice(8, -1);
7505
+ const n = rp.call(e).slice(8, -1);
7506
7506
  switch (n) {
7507
7507
  case "Array":
7508
7508
  return [Nt, ot];
@@ -7520,7 +7520,7 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7520
7520
  return [Nt, n];
7521
7521
  }
7522
7522
  return n.includes("Array") ? [Nt, n] : n.includes("Error") ? [Ia, n] : [un, n];
7523
- }, $t = ([e, t]) => e === yn && (t === "function" || t === "symbol"), od = (e, t, n, r) => {
7523
+ }, $t = ([e, t]) => e === yn && (t === "function" || t === "symbol"), op = (e, t, n, r) => {
7524
7524
  const i = (a, s) => {
7525
7525
  const l = r.push(a) - 1;
7526
7526
  return n.set(s, l), l;
@@ -7548,12 +7548,12 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7548
7548
  }
7549
7549
  case Nt: {
7550
7550
  if (l) {
7551
- let p = a;
7552
- return l === "DataView" ? p = new Uint8Array(a.buffer) : l === "ArrayBuffer" && (p = new Uint8Array(a)), i([l, [...p]], a);
7551
+ let d = a;
7552
+ return l === "DataView" ? d = new Uint8Array(a.buffer) : l === "ArrayBuffer" && (d = new Uint8Array(a)), i([l, [...d]], a);
7553
7553
  }
7554
7554
  const u = [], f = i([s, u], a);
7555
- for (const p of a)
7556
- u.push(o(p));
7555
+ for (const d of a)
7556
+ u.push(o(d));
7557
7557
  return f;
7558
7558
  }
7559
7559
  case un: {
@@ -7569,8 +7569,8 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7569
7569
  if (t && "toJSON" in a)
7570
7570
  return o(a.toJSON());
7571
7571
  const u = [], f = i([s, u], a);
7572
- for (const p of id(a))
7573
- (e || !$t(St(a[p]))) && u.push([o(p), o(a[p])]);
7572
+ for (const d of ip(a))
7573
+ (e || !$t(St(a[d]))) && u.push([o(d), o(a[d])]);
7574
7574
  return f;
7575
7575
  }
7576
7576
  case Or:
@@ -7581,14 +7581,14 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7581
7581
  }
7582
7582
  case Dr: {
7583
7583
  const u = [], f = i([s, u], a);
7584
- for (const [p, d] of a)
7585
- (e || !($t(St(p)) || $t(St(d)))) && u.push([o(p), o(d)]);
7584
+ for (const [d, p] of a)
7585
+ (e || !($t(St(d)) || $t(St(p)))) && u.push([o(d), o(p)]);
7586
7586
  return f;
7587
7587
  }
7588
7588
  case Pr: {
7589
7589
  const u = [], f = i([s, u], a);
7590
- for (const p of a)
7591
- (e || !$t(St(p))) && u.push(o(p));
7590
+ for (const d of a)
7591
+ (e || !$t(St(d))) && u.push(o(d));
7592
7592
  return f;
7593
7593
  }
7594
7594
  }
@@ -7598,12 +7598,12 @@ const Aa = -1, yn = 0, Nt = 1, un = 2, Or = 3, Lr = 4, Dr = 5, Pr = 6, Ia = 7, T
7598
7598
  return o;
7599
7599
  }, Ri = (e, { json: t, lossy: n } = {}) => {
7600
7600
  const r = [];
7601
- return od(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
7601
+ return op(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
7602
7602
  }, Lt = typeof structuredClone == "function" ? (
7603
7603
  /* c8 ignore start */
7604
7604
  (e, t) => t && ("json" in t || "lossy" in t) ? Ni(Ri(e, t)) : structuredClone(e)
7605
7605
  ) : (e, t) => Ni(Ri(e, t));
7606
- function ad(e, t) {
7606
+ function ap(e, t) {
7607
7607
  const n = [{ type: "text", value: "↩" }];
7608
7608
  return t > 1 && n.push({
7609
7609
  type: "element",
@@ -7612,11 +7612,11 @@ function ad(e, t) {
7612
7612
  children: [{ type: "text", value: String(t) }]
7613
7613
  }), n;
7614
7614
  }
7615
- function sd(e, t) {
7615
+ function sp(e, t) {
7616
7616
  return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : "");
7617
7617
  }
7618
- function ld(e) {
7619
- const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || ad, r = e.options.footnoteBackLabel || sd, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || {
7618
+ function lp(e) {
7619
+ const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || ap, r = e.options.footnoteBackLabel || sp, i = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || {
7620
7620
  className: ["sr-only"]
7621
7621
  }, s = [];
7622
7622
  let l = -1;
@@ -7626,19 +7626,19 @@ function ld(e) {
7626
7626
  );
7627
7627
  if (!c)
7628
7628
  continue;
7629
- const u = e.all(c), f = String(c.identifier).toUpperCase(), p = gt(f.toLowerCase());
7630
- let d = 0;
7629
+ const u = e.all(c), f = String(c.identifier).toUpperCase(), d = gt(f.toLowerCase());
7630
+ let p = 0;
7631
7631
  const h = [], b = e.footnoteCounts.get(f);
7632
- for (; b !== void 0 && ++d <= b; ) {
7632
+ for (; b !== void 0 && ++p <= b; ) {
7633
7633
  h.length > 0 && h.push({ type: "text", value: " " });
7634
- let S = typeof n == "string" ? n : n(l, d);
7634
+ let S = typeof n == "string" ? n : n(l, p);
7635
7635
  typeof S == "string" && (S = { type: "text", value: S }), h.push({
7636
7636
  type: "element",
7637
7637
  tagName: "a",
7638
7638
  properties: {
7639
- href: "#" + t + "fnref-" + p + (d > 1 ? "-" + d : ""),
7639
+ href: "#" + t + "fnref-" + d + (p > 1 ? "-" + p : ""),
7640
7640
  dataFootnoteBackref: "",
7641
- ariaLabel: typeof r == "string" ? r : r(l, d),
7641
+ ariaLabel: typeof r == "string" ? r : r(l, p),
7642
7642
  className: ["data-footnote-backref"]
7643
7643
  },
7644
7644
  children: Array.isArray(S) ? S : [S]
@@ -7653,7 +7653,7 @@ function ld(e) {
7653
7653
  const y = {
7654
7654
  type: "element",
7655
7655
  tagName: "li",
7656
- properties: { id: t + "fn-" + p },
7656
+ properties: { id: t + "fn-" + d },
7657
7657
  children: e.wrap(u, !0)
7658
7658
  };
7659
7659
  e.patch(c, y), s.push(y);
@@ -7703,17 +7703,17 @@ const wn = (
7703
7703
  */
7704
7704
  function(e) {
7705
7705
  if (e == null)
7706
- return dd;
7706
+ return pp;
7707
7707
  if (typeof e == "function")
7708
7708
  return xn(e);
7709
7709
  if (typeof e == "object")
7710
- return Array.isArray(e) ? cd(e) : ud(e);
7710
+ return Array.isArray(e) ? cp(e) : up(e);
7711
7711
  if (typeof e == "string")
7712
- return fd(e);
7712
+ return fp(e);
7713
7713
  throw new Error("Expected function, string, or object as test");
7714
7714
  }
7715
7715
  );
7716
- function cd(e) {
7716
+ function cp(e) {
7717
7717
  const t = [];
7718
7718
  let n = -1;
7719
7719
  for (; ++n < e.length; )
@@ -7726,7 +7726,7 @@ function cd(e) {
7726
7726
  return !1;
7727
7727
  }
7728
7728
  }
7729
- function ud(e) {
7729
+ function up(e) {
7730
7730
  const t = (
7731
7731
  /** @type {Record<string, unknown>} */
7732
7732
  e
@@ -7744,7 +7744,7 @@ function ud(e) {
7744
7744
  return !0;
7745
7745
  }
7746
7746
  }
7747
- function fd(e) {
7747
+ function fp(e) {
7748
7748
  return xn(t);
7749
7749
  function t(n) {
7750
7750
  return n && n.type === e;
@@ -7753,7 +7753,7 @@ function fd(e) {
7753
7753
  function xn(e) {
7754
7754
  return t;
7755
7755
  function t(n, r, i) {
7756
- return !!(pd(n) && e.call(
7756
+ return !!(dp(n) && e.call(
7757
7757
  this,
7758
7758
  n,
7759
7759
  typeof r == "number" ? r : void 0,
@@ -7761,13 +7761,13 @@ function xn(e) {
7761
7761
  ));
7762
7762
  }
7763
7763
  }
7764
- function dd() {
7764
+ function pp() {
7765
7765
  return !0;
7766
7766
  }
7767
- function pd(e) {
7767
+ function dp(e) {
7768
7768
  return e !== null && typeof e == "object" && "type" in e;
7769
7769
  }
7770
- const Na = [], hd = !0, tr = !1, md = "skip";
7770
+ const Na = [], hp = !0, tr = !1, mp = "skip";
7771
7771
  function Ra(e, t, n, r) {
7772
7772
  let i;
7773
7773
  typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
@@ -7779,28 +7779,28 @@ function Ra(e, t, n, r) {
7779
7779
  l && typeof l == "object" ? l : {}
7780
7780
  );
7781
7781
  if (typeof f.type == "string") {
7782
- const d = (
7782
+ const p = (
7783
7783
  // `hast`
7784
7784
  typeof f.tagName == "string" ? f.tagName : (
7785
7785
  // `xast`
7786
7786
  typeof f.name == "string" ? f.name : void 0
7787
7787
  )
7788
7788
  );
7789
- Object.defineProperty(p, "name", {
7790
- value: "node (" + (l.type + (d ? "<" + d + ">" : "")) + ")"
7789
+ Object.defineProperty(d, "name", {
7790
+ value: "node (" + (l.type + (p ? "<" + p + ">" : "")) + ")"
7791
7791
  });
7792
7792
  }
7793
- return p;
7794
- function p() {
7795
- let d = Na, h, b, k;
7796
- if ((!t || o(l, c, u[u.length - 1] || void 0)) && (d = gd(n(l, u)), d[0] === tr))
7797
- return d;
7793
+ return d;
7794
+ function d() {
7795
+ let p = Na, h, b, k;
7796
+ if ((!t || o(l, c, u[u.length - 1] || void 0)) && (p = gp(n(l, u)), p[0] === tr))
7797
+ return p;
7798
7798
  if ("children" in l && l.children) {
7799
7799
  const y = (
7800
7800
  /** @type {UnistParent} */
7801
7801
  l
7802
7802
  );
7803
- if (y.children && d[0] !== md)
7803
+ if (y.children && p[0] !== mp)
7804
7804
  for (b = (r ? y.children.length : -1) + a, k = u.concat(y); b > -1 && b < y.children.length; ) {
7805
7805
  const S = y.children[b];
7806
7806
  if (h = s(S, b, k)(), h[0] === tr)
@@ -7808,12 +7808,12 @@ function Ra(e, t, n, r) {
7808
7808
  b = typeof h[1] == "number" ? h[1] : b + a;
7809
7809
  }
7810
7810
  }
7811
- return d;
7811
+ return p;
7812
7812
  }
7813
7813
  }
7814
7814
  }
7815
- function gd(e) {
7816
- return Array.isArray(e) ? e : typeof e == "number" ? [hd, e] : e == null ? Na : [e];
7815
+ function gp(e) {
7816
+ return Array.isArray(e) ? e : typeof e == "number" ? [hp, e] : e == null ? Na : [e];
7817
7817
  }
7818
7818
  function Mr(e, t, n, r) {
7819
7819
  let i, o, a;
@@ -7823,11 +7823,11 @@ function Mr(e, t, n, r) {
7823
7823
  return a(l, f, u);
7824
7824
  }
7825
7825
  }
7826
- const nr = {}.hasOwnProperty, bd = {};
7827
- function yd(e, t) {
7828
- const n = t || bd, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...td, ...n.handlers }, s = {
7826
+ const nr = {}.hasOwnProperty, bp = {};
7827
+ function yp(e, t) {
7828
+ const n = t || bp, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...tp, ...n.handlers }, s = {
7829
7829
  all: c,
7830
- applyData: xd,
7830
+ applyData: xp,
7831
7831
  definitionById: r,
7832
7832
  footnoteById: i,
7833
7833
  footnoteCounts: o,
@@ -7835,37 +7835,37 @@ function yd(e, t) {
7835
7835
  handlers: a,
7836
7836
  one: l,
7837
7837
  options: n,
7838
- patch: wd,
7839
- wrap: kd
7838
+ patch: wp,
7839
+ wrap: kp
7840
7840
  };
7841
7841
  return Mr(e, function(u) {
7842
7842
  if (u.type === "definition" || u.type === "footnoteDefinition") {
7843
- const f = u.type === "definition" ? r : i, p = String(u.identifier).toUpperCase();
7844
- f.has(p) || f.set(p, u);
7843
+ const f = u.type === "definition" ? r : i, d = String(u.identifier).toUpperCase();
7844
+ f.has(d) || f.set(d, u);
7845
7845
  }
7846
7846
  }), s;
7847
7847
  function l(u, f) {
7848
- const p = u.type, d = s.handlers[p];
7849
- if (nr.call(s.handlers, p) && d)
7850
- return d(s, u, f);
7851
- if (s.options.passThrough && s.options.passThrough.includes(p)) {
7848
+ const d = u.type, p = s.handlers[d];
7849
+ if (nr.call(s.handlers, d) && p)
7850
+ return p(s, u, f);
7851
+ if (s.options.passThrough && s.options.passThrough.includes(d)) {
7852
7852
  if ("children" in u) {
7853
7853
  const { children: b, ...k } = u, y = Lt(k);
7854
7854
  return y.children = s.all(u), y;
7855
7855
  }
7856
7856
  return Lt(u);
7857
7857
  }
7858
- return (s.options.unknownHandler || vd)(s, u, f);
7858
+ return (s.options.unknownHandler || vp)(s, u, f);
7859
7859
  }
7860
7860
  function c(u) {
7861
7861
  const f = [];
7862
7862
  if ("children" in u) {
7863
- const p = u.children;
7864
- let d = -1;
7865
- for (; ++d < p.length; ) {
7866
- const h = s.one(p[d], u);
7863
+ const d = u.children;
7864
+ let p = -1;
7865
+ for (; ++p < d.length; ) {
7866
+ const h = s.one(d[p], u);
7867
7867
  if (h) {
7868
- if (d && p[d - 1].type === "break" && (!Array.isArray(h) && h.type === "text" && (h.value = Oi(h.value)), !Array.isArray(h) && h.type === "element")) {
7868
+ if (p && d[p - 1].type === "break" && (!Array.isArray(h) && h.type === "text" && (h.value = Oi(h.value)), !Array.isArray(h) && h.type === "element")) {
7869
7869
  const b = h.children[0];
7870
7870
  b && b.type === "text" && (b.value = Oi(b.value));
7871
7871
  }
@@ -7876,10 +7876,10 @@ function yd(e, t) {
7876
7876
  return f;
7877
7877
  }
7878
7878
  }
7879
- function wd(e, t) {
7879
+ function wp(e, t) {
7880
7880
  e.position && (t.position = aa(e));
7881
7881
  }
7882
- function xd(e, t) {
7882
+ function xp(e, t) {
7883
7883
  let n = t;
7884
7884
  if (e && e.data) {
7885
7885
  const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties;
@@ -7894,7 +7894,7 @@ function xd(e, t) {
7894
7894
  }
7895
7895
  return n;
7896
7896
  }
7897
- function vd(e, t) {
7897
+ function vp(e, t) {
7898
7898
  const n = t.data || {}, r = "value" in t && !(nr.call(n, "hProperties") || nr.call(n, "hChildren")) ? { type: "text", value: t.value } : {
7899
7899
  type: "element",
7900
7900
  tagName: "div",
@@ -7903,7 +7903,7 @@ function vd(e, t) {
7903
7903
  };
7904
7904
  return e.patch(t, r), e.applyData(t, r);
7905
7905
  }
7906
- function kd(e, t) {
7906
+ function kp(e, t) {
7907
7907
  const n = [];
7908
7908
  let r = -1;
7909
7909
  for (t && n.push({ type: "text", value: `
@@ -7920,11 +7920,11 @@ function Oi(e) {
7920
7920
  return e.slice(t);
7921
7921
  }
7922
7922
  function Li(e, t) {
7923
- const n = yd(e, t), r = n.one(e, void 0), i = ld(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
7923
+ const n = yp(e, t), r = n.one(e, void 0), i = lp(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
7924
7924
  return i && o.children.push({ type: "text", value: `
7925
7925
  ` }, i), o;
7926
7926
  }
7927
- function Sd(e, t) {
7927
+ function Sp(e, t) {
7928
7928
  return e && "run" in e ? async function(n, r) {
7929
7929
  const i = (
7930
7930
  /** @type {HastRoot} */
@@ -7943,7 +7943,7 @@ function Di(e) {
7943
7943
  throw e;
7944
7944
  }
7945
7945
  var Nn, Pi;
7946
- function Cd() {
7946
+ function Cp() {
7947
7947
  if (Pi) return Nn;
7948
7948
  Pi = 1;
7949
7949
  var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(c) {
@@ -7954,10 +7954,10 @@ function Cd() {
7954
7954
  var u = e.call(c, "constructor"), f = c.constructor && c.constructor.prototype && e.call(c.constructor.prototype, "isPrototypeOf");
7955
7955
  if (c.constructor && !u && !f)
7956
7956
  return !1;
7957
- var p;
7958
- for (p in c)
7957
+ var d;
7958
+ for (d in c)
7959
7959
  ;
7960
- return typeof p > "u" || e.call(c, p);
7960
+ return typeof d > "u" || e.call(c, d);
7961
7961
  }, a = function(c, u) {
7962
7962
  n && u.name === "__proto__" ? n(c, u.name, {
7963
7963
  enumerable: !0,
@@ -7974,23 +7974,23 @@ function Cd() {
7974
7974
  return c[u];
7975
7975
  };
7976
7976
  return Nn = function l() {
7977
- var c, u, f, p, d, h, b = arguments[0], k = 1, y = arguments.length, S = !1;
7977
+ var c, u, f, d, p, h, b = arguments[0], k = 1, y = arguments.length, S = !1;
7978
7978
  for (typeof b == "boolean" && (S = b, b = arguments[1] || {}, k = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); k < y; ++k)
7979
7979
  if (c = arguments[k], c != null)
7980
7980
  for (u in c)
7981
- f = s(b, u), p = s(c, u), b !== p && (S && p && (o(p) || (d = i(p))) ? (d ? (d = !1, h = f && i(f) ? f : []) : h = f && o(f) ? f : {}, a(b, { name: u, newValue: l(S, h, p) })) : typeof p < "u" && a(b, { name: u, newValue: p }));
7981
+ f = s(b, u), d = s(c, u), b !== d && (S && d && (o(d) || (p = i(d))) ? (p ? (p = !1, h = f && i(f) ? f : []) : h = f && o(f) ? f : {}, a(b, { name: u, newValue: l(S, h, d) })) : typeof d < "u" && a(b, { name: u, newValue: d }));
7982
7982
  return b;
7983
7983
  }, Nn;
7984
7984
  }
7985
- var Ed = Cd();
7986
- const Rn = /* @__PURE__ */ ra(Ed);
7985
+ var Ep = Cp();
7986
+ const Rn = /* @__PURE__ */ ra(Ep);
7987
7987
  function rr(e) {
7988
7988
  if (typeof e != "object" || e === null)
7989
7989
  return !1;
7990
7990
  const t = Object.getPrototypeOf(e);
7991
7991
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
7992
7992
  }
7993
- function _d() {
7993
+ function _p() {
7994
7994
  const e = [], t = { run: n, use: r };
7995
7995
  return t;
7996
7996
  function n(...i) {
@@ -8008,7 +8008,7 @@ function _d() {
8008
8008
  }
8009
8009
  for (; ++f < i.length; )
8010
8010
  (c[f] === null || c[f] === void 0) && (c[f] = i[f]);
8011
- i = c, u ? Ad(u, s)(...c) : a(null, ...c);
8011
+ i = c, u ? Ap(u, s)(...c) : a(null, ...c);
8012
8012
  }
8013
8013
  }
8014
8014
  function r(i) {
@@ -8019,7 +8019,7 @@ function _d() {
8019
8019
  return e.push(i), t;
8020
8020
  }
8021
8021
  }
8022
- function Ad(e, t) {
8022
+ function Ap(e, t) {
8023
8023
  let n;
8024
8024
  return r;
8025
8025
  function r(...a) {
@@ -8046,8 +8046,8 @@ function Ad(e, t) {
8046
8046
  i(null, a);
8047
8047
  }
8048
8048
  }
8049
- const ze = { basename: Id, dirname: Td, extname: Nd, join: Rd, sep: "/" };
8050
- function Id(e, t) {
8049
+ const ze = { basename: Ip, dirname: Tp, extname: Np, join: Rp, sep: "/" };
8050
+ function Ip(e, t) {
8051
8051
  if (t !== void 0 && typeof t != "string")
8052
8052
  throw new TypeError('"ext" argument must be a string');
8053
8053
  Ut(e);
@@ -8075,7 +8075,7 @@ function Id(e, t) {
8075
8075
  a < 0 && (o = !0, a = i + 1), s > -1 && (e.codePointAt(i) === t.codePointAt(s--) ? s < 0 && (r = i) : (s = -1, r = a));
8076
8076
  return n === r ? r = a : r < 0 && (r = e.length), e.slice(n, r);
8077
8077
  }
8078
- function Td(e) {
8078
+ function Tp(e) {
8079
8079
  if (Ut(e), e.length === 0)
8080
8080
  return ".";
8081
8081
  let t = -1, n = e.length, r;
@@ -8088,7 +8088,7 @@ function Td(e) {
8088
8088
  } else r || (r = !0);
8089
8089
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
8090
8090
  }
8091
- function Nd(e) {
8091
+ function Np(e) {
8092
8092
  Ut(e);
8093
8093
  let t = e.length, n = -1, r = 0, i = -1, o = 0, a;
8094
8094
  for (; t--; ) {
@@ -8106,19 +8106,19 @@ function Nd(e) {
8106
8106
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
8107
8107
  o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
8108
8108
  }
8109
- function Rd(...e) {
8109
+ function Rp(...e) {
8110
8110
  let t = -1, n;
8111
8111
  for (; ++t < e.length; )
8112
8112
  Ut(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
8113
- return n === void 0 ? "." : Od(n);
8113
+ return n === void 0 ? "." : Op(n);
8114
8114
  }
8115
- function Od(e) {
8115
+ function Op(e) {
8116
8116
  Ut(e);
8117
8117
  const t = e.codePointAt(0) === 47;
8118
- let n = Ld(e, !t);
8118
+ let n = Lp(e, !t);
8119
8119
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
8120
8120
  }
8121
- function Ld(e, t) {
8121
+ function Lp(e, t) {
8122
8122
  let n = "", r = 0, i = -1, o = 0, a = -1, s, l;
8123
8123
  for (; ++a <= e.length; ) {
8124
8124
  if (a < e.length)
@@ -8155,15 +8155,15 @@ function Ut(e) {
8155
8155
  "Path must be a string. Received " + JSON.stringify(e)
8156
8156
  );
8157
8157
  }
8158
- const Dd = { cwd: Pd };
8159
- function Pd() {
8158
+ const Dp = { cwd: Pp };
8159
+ function Pp() {
8160
8160
  return "/";
8161
8161
  }
8162
8162
  function ir(e) {
8163
8163
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
8164
8164
  e.auth === void 0);
8165
8165
  }
8166
- function Md(e) {
8166
+ function Mp(e) {
8167
8167
  if (typeof e == "string")
8168
8168
  e = new URL(e);
8169
8169
  else if (!ir(e)) {
@@ -8176,9 +8176,9 @@ function Md(e) {
8176
8176
  const t = new TypeError("The URL must be of scheme file");
8177
8177
  throw t.code = "ERR_INVALID_URL_SCHEME", t;
8178
8178
  }
8179
- return zd(e);
8179
+ return zp(e);
8180
8180
  }
8181
- function zd(e) {
8181
+ function zp(e) {
8182
8182
  if (e.hostname !== "") {
8183
8183
  const r = new TypeError(
8184
8184
  'File URL host must be "localhost" or empty on darwin'
@@ -8235,7 +8235,7 @@ class Oa {
8235
8235
  */
8236
8236
  constructor(t) {
8237
8237
  let n;
8238
- t ? ir(t) ? n = { path: t } : typeof t == "string" || qd(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : Dd.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
8238
+ t ? ir(t) ? n = { path: t } : typeof t == "string" || qp(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : Dp.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
8239
8239
  let r = -1;
8240
8240
  for (; ++r < On.length; ) {
8241
8241
  const o = On[r];
@@ -8343,7 +8343,7 @@ class Oa {
8343
8343
  * Nothing.
8344
8344
  */
8345
8345
  set path(t) {
8346
- ir(t) && (t = Md(t)), Dn(t, "path"), this.path !== t && this.history.push(t);
8346
+ ir(t) && (t = Mp(t)), Dn(t, "path"), this.path !== t && this.history.push(t);
8347
8347
  }
8348
8348
  /**
8349
8349
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -8594,10 +8594,10 @@ function Mi(e, t) {
8594
8594
  if (!e)
8595
8595
  throw new Error("Setting `" + t + "` requires `path` to be set too");
8596
8596
  }
8597
- function qd(e) {
8597
+ function qp(e) {
8598
8598
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
8599
8599
  }
8600
- const Fd = (
8600
+ const Fp = (
8601
8601
  /**
8602
8602
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
8603
8603
  */
@@ -8618,13 +8618,13 @@ const Fd = (
8618
8618
  };
8619
8619
  return Object.setPrototypeOf(o, r), o;
8620
8620
  }
8621
- ), Bd = {}.hasOwnProperty;
8622
- class zr extends Fd {
8621
+ ), Bp = {}.hasOwnProperty;
8622
+ class zr extends Fp {
8623
8623
  /**
8624
8624
  * Create a processor.
8625
8625
  */
8626
8626
  constructor() {
8627
- 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 = _d();
8627
+ 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 = _p();
8628
8628
  }
8629
8629
  /**
8630
8630
  * Copy a processor.
@@ -8709,7 +8709,7 @@ class zr extends Fd {
8709
8709
  * the entire dataset when getting without key.
8710
8710
  */
8711
8711
  data(t, n) {
8712
- return typeof t == "string" ? arguments.length === 2 ? (zn("data", this.frozen), this.namespace[t] = n, this) : Bd.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (zn("data", this.frozen), this.namespace = t, this) : this.namespace;
8712
+ return typeof t == "string" ? arguments.length === 2 ? (zn("data", this.frozen), this.namespace[t] = n, this) : Bp.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (zn("data", this.frozen), this.namespace = t, this) : this.namespace;
8713
8713
  }
8714
8714
  /**
8715
8715
  * Freeze a processor.
@@ -8816,18 +8816,18 @@ class zr extends Fd {
8816
8816
  /** @type {unknown} */
8817
8817
  r.parse(s)
8818
8818
  );
8819
- r.run(l, s, function(u, f, p) {
8820
- if (u || !f || !p)
8819
+ r.run(l, s, function(u, f, d) {
8820
+ if (u || !f || !d)
8821
8821
  return c(u);
8822
- const d = (
8822
+ const p = (
8823
8823
  /** @type {CompileTree extends undefined ? Node : CompileTree} */
8824
8824
  /** @type {unknown} */
8825
8825
  f
8826
- ), h = r.stringify(d, p);
8827
- Hd(h) ? p.value = h : p.result = h, c(
8826
+ ), h = r.stringify(p, d);
8827
+ Hp(h) ? d.value = h : d.result = h, c(
8828
8828
  u,
8829
8829
  /** @type {VFileWithOutput<CompileResult>} */
8830
- p
8830
+ d
8831
8831
  );
8832
8832
  });
8833
8833
  function c(u, f) {
@@ -8918,12 +8918,12 @@ class zr extends Fd {
8918
8918
  function o(a, s) {
8919
8919
  const l = Wt(n);
8920
8920
  i.run(t, l, c);
8921
- function c(u, f, p) {
8922
- const d = (
8921
+ function c(u, f, d) {
8922
+ const p = (
8923
8923
  /** @type {TailTree extends undefined ? Node : TailTree} */
8924
8924
  f || t
8925
8925
  );
8926
- u ? s(u) : a ? a(d) : r(void 0, d, p);
8926
+ u ? s(u) : a ? a(p) : r(void 0, p, d);
8927
8927
  }
8928
8928
  }
8929
8929
  }
@@ -9084,23 +9084,23 @@ class zr extends Fd {
9084
9084
  throw new TypeError("Expected a list of plugins, not `" + c + "`");
9085
9085
  }
9086
9086
  function l(c, u) {
9087
- let f = -1, p = -1;
9087
+ let f = -1, d = -1;
9088
9088
  for (; ++f < r.length; )
9089
9089
  if (r[f][0] === c) {
9090
- p = f;
9090
+ d = f;
9091
9091
  break;
9092
9092
  }
9093
- if (p === -1)
9093
+ if (d === -1)
9094
9094
  r.push([c, ...u]);
9095
9095
  else if (u.length > 0) {
9096
- let [d, ...h] = u;
9097
- const b = r[p][1];
9098
- rr(b) && rr(d) && (d = Rn(!0, b, d)), r[p] = [c, d, ...h];
9096
+ let [p, ...h] = u;
9097
+ const b = r[d][1];
9098
+ rr(b) && rr(p) && (p = Rn(!0, b, p)), r[d] = [c, p, ...h];
9099
9099
  }
9100
9100
  }
9101
9101
  }
9102
9102
  }
9103
- const Ud = new zr().freeze();
9103
+ const Up = new zr().freeze();
9104
9104
  function Pn(e, t) {
9105
9105
  if (typeof t != "function")
9106
9106
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -9126,18 +9126,18 @@ function qi(e, t, n) {
9126
9126
  );
9127
9127
  }
9128
9128
  function Wt(e) {
9129
- return jd(e) ? e : new Oa(e);
9129
+ return jp(e) ? e : new Oa(e);
9130
9130
  }
9131
- function jd(e) {
9131
+ function jp(e) {
9132
9132
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
9133
9133
  }
9134
- function Hd(e) {
9135
- return typeof e == "string" || Vd(e);
9134
+ function Hp(e) {
9135
+ return typeof e == "string" || Vp(e);
9136
9136
  }
9137
- function Vd(e) {
9137
+ function Vp(e) {
9138
9138
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
9139
9139
  }
9140
- const $d = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Fi = [], Bi = { allowDangerousHtml: !0 }, Wd = /^(https?|ircs?|mailto|xmpp)$/i, Gd = [
9140
+ const $p = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Fi = [], Bi = { allowDangerousHtml: !0 }, Wp = /^(https?|ircs?|mailto|xmpp)$/i, Gp = [
9141
9141
  { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
9142
9142
  { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
9143
9143
  {
@@ -9171,22 +9171,22 @@ const $d = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
9171
9171
  { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
9172
9172
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
9173
9173
  ];
9174
- function Kd(e) {
9175
- const t = Yd(e), n = Jd(e);
9176
- return Qd(t.runSync(t.parse(n), n), e);
9174
+ function Kp(e) {
9175
+ const t = Yp(e), n = Jp(e);
9176
+ return Qp(t.runSync(t.parse(n), n), e);
9177
9177
  }
9178
- function Yd(e) {
9178
+ function Yp(e) {
9179
9179
  const t = e.rehypePlugins || Fi, n = e.remarkPlugins || Fi, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Bi } : Bi;
9180
- return Ud().use(Tf).use(n).use(Sd, r).use(t);
9180
+ return Up().use(Tf).use(n).use(Sp, r).use(t);
9181
9181
  }
9182
- function Jd(e) {
9182
+ function Jp(e) {
9183
9183
  const t = e.children || "", n = new Oa();
9184
9184
  return typeof t == "string" && (n.value = t), n;
9185
9185
  }
9186
- function Qd(e, t) {
9187
- const n = t.allowedElements, r = t.allowElement, i = t.components, o = t.disallowedElements, a = t.skipHtml, s = t.unwrapDisallowed, l = t.urlTransform || Xd;
9188
- for (const u of Gd)
9189
- Object.hasOwn(t, u.from) && ("" + u.from + (u.to ? "use `" + u.to + "` instead" : "remove it") + $d + u.id, void 0);
9186
+ function Qp(e, t) {
9187
+ const n = t.allowedElements, r = t.allowElement, i = t.components, o = t.disallowedElements, a = t.skipHtml, s = t.unwrapDisallowed, l = t.urlTransform || Xp;
9188
+ for (const u of Gp)
9189
+ Object.hasOwn(t, u.from) && ("" + u.from + (u.to ? "use `" + u.to + "` instead" : "remove it") + $p + u.id, void 0);
9190
9190
  return Mr(e, c), uc(e, {
9191
9191
  Fragment: Qe,
9192
9192
  components: i,
@@ -9196,31 +9196,31 @@ function Qd(e, t) {
9196
9196
  passKeys: !0,
9197
9197
  passNode: !0
9198
9198
  });
9199
- function c(u, f, p) {
9200
- if (u.type === "raw" && p && typeof f == "number")
9201
- return a ? p.children.splice(f, 1) : p.children[f] = { type: "text", value: u.value }, f;
9199
+ function c(u, f, d) {
9200
+ if (u.type === "raw" && d && typeof f == "number")
9201
+ return a ? d.children.splice(f, 1) : d.children[f] = { type: "text", value: u.value }, f;
9202
9202
  if (u.type === "element") {
9203
- let d;
9204
- for (d in An)
9205
- if (Object.hasOwn(An, d) && Object.hasOwn(u.properties, d)) {
9206
- const h = u.properties[d], b = An[d];
9207
- (b === null || b.includes(u.tagName)) && (u.properties[d] = l(String(h || ""), d, u));
9203
+ let p;
9204
+ for (p in An)
9205
+ if (Object.hasOwn(An, p) && Object.hasOwn(u.properties, p)) {
9206
+ const h = u.properties[p], b = An[p];
9207
+ (b === null || b.includes(u.tagName)) && (u.properties[p] = l(String(h || ""), p, u));
9208
9208
  }
9209
9209
  }
9210
9210
  if (u.type === "element") {
9211
- let d = n ? !n.includes(u.tagName) : o ? o.includes(u.tagName) : !1;
9212
- if (!d && r && typeof f == "number" && (d = !r(u, f, p)), d && p && typeof f == "number")
9213
- return s && u.children ? p.children.splice(f, 1, ...u.children) : p.children.splice(f, 1), f;
9211
+ let p = n ? !n.includes(u.tagName) : o ? o.includes(u.tagName) : !1;
9212
+ if (!p && r && typeof f == "number" && (p = !r(u, f, d)), p && d && typeof f == "number")
9213
+ return s && u.children ? d.children.splice(f, 1, ...u.children) : d.children.splice(f, 1), f;
9214
9214
  }
9215
9215
  }
9216
9216
  }
9217
- function Xd(e) {
9217
+ function Xp(e) {
9218
9218
  const t = e.indexOf(":"), n = e.indexOf("?"), r = e.indexOf("#"), i = e.indexOf("/");
9219
9219
  return (
9220
9220
  // If there is no protocol, it’s relative.
9221
9221
  t === -1 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
9222
9222
  i !== -1 && t > i || n !== -1 && t > n || r !== -1 && t > r || // It is a protocol, it should be allowed.
9223
- Wd.test(e.slice(0, t)) ? e : ""
9223
+ Wp.test(e.slice(0, t)) ? e : ""
9224
9224
  );
9225
9225
  }
9226
9226
  const Ye = ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy"], Ui = {
@@ -9418,7 +9418,7 @@ const Ye = ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy"], Ui = {
9418
9418
  "var"
9419
9419
  ]
9420
9420
  }, $e = {}.hasOwnProperty;
9421
- function Zd(e, t) {
9421
+ function Zp(e, t) {
9422
9422
  let n = { type: "root", children: [] };
9423
9423
  const r = {
9424
9424
  schema: t ? { ...Ui, ...t } : Ui,
@@ -9434,37 +9434,37 @@ function La(e, t) {
9434
9434
  );
9435
9435
  switch (typeof n.type == "string" ? n.type : "") {
9436
9436
  case "comment":
9437
- return ep(e, n);
9437
+ return ed(e, n);
9438
9438
  case "doctype":
9439
- return tp(e, n);
9439
+ return td(e, n);
9440
9440
  case "element":
9441
- return np(e, n);
9441
+ return nd(e, n);
9442
9442
  case "root":
9443
- return rp(e, n);
9443
+ return rd(e, n);
9444
9444
  case "text":
9445
- return ip(e, n);
9445
+ return id(e, n);
9446
9446
  }
9447
9447
  }
9448
9448
  }
9449
- function ep(e, t) {
9449
+ function ed(e, t) {
9450
9450
  if (e.schema.allowComments) {
9451
9451
  const n = typeof t.value == "string" ? t.value : "", r = n.indexOf("-->"), o = { type: "comment", value: r < 0 ? n : n.slice(0, r) };
9452
9452
  return jt(o, t), o;
9453
9453
  }
9454
9454
  }
9455
- function tp(e, t) {
9455
+ function td(e, t) {
9456
9456
  if (e.schema.allowDoctypes) {
9457
9457
  const n = { type: "doctype" };
9458
9458
  return jt(n, t), n;
9459
9459
  }
9460
9460
  }
9461
- function np(e, t) {
9461
+ function nd(e, t) {
9462
9462
  const n = typeof t.tagName == "string" ? t.tagName : "";
9463
9463
  e.stack.push(n);
9464
9464
  const r = (
9465
9465
  /** @type {Array<ElementContent>} */
9466
9466
  Da(e, t.children)
9467
- ), i = op(e, t.properties);
9467
+ ), i = od(e, t.properties);
9468
9468
  e.stack.pop();
9469
9469
  let o = !1;
9470
9470
  if (n && n !== "*" && (!e.schema.tagNames || e.schema.tagNames.includes(n)) && (o = !0, e.schema.ancestors && $e.call(e.schema.ancestors, n))) {
@@ -9483,14 +9483,14 @@ function np(e, t) {
9483
9483
  };
9484
9484
  return jt(a, t), a;
9485
9485
  }
9486
- function rp(e, t) {
9486
+ function rd(e, t) {
9487
9487
  const r = { type: "root", children: (
9488
9488
  /** @type {Array<RootContent>} */
9489
9489
  Da(e, t.children)
9490
9490
  ) };
9491
9491
  return jt(r, t), r;
9492
9492
  }
9493
- function ip(e, t) {
9493
+ function id(e, t) {
9494
9494
  const r = { type: "text", value: typeof t.value == "string" ? t.value : "" };
9495
9495
  return jt(r, t), r;
9496
9496
  }
@@ -9509,7 +9509,7 @@ function Da(e, t) {
9509
9509
  }
9510
9510
  return n;
9511
9511
  }
9512
- function op(e, t) {
9512
+ function od(e, t) {
9513
9513
  const n = e.stack[e.stack.length - 1], r = e.schema.attributes, i = e.schema.required, o = r && $e.call(r, n) ? r[n] : void 0, a = r && $e.call(r, "*") ? r["*"] : void 0, s = (
9514
9514
  /** @type {Readonly<Record<string, Readonly<unknown>>>} */
9515
9515
  t && typeof t == "object" ? t : {}
@@ -9534,9 +9534,9 @@ function op(e, t) {
9534
9534
  return l;
9535
9535
  }
9536
9536
  function ji(e, t, n, r) {
9537
- return t ? Array.isArray(r) ? ap(e, t, n, r) : Pa(e, t, n, r) : void 0;
9537
+ return t ? Array.isArray(r) ? ad(e, t, n, r) : Pa(e, t, n, r) : void 0;
9538
9538
  }
9539
- function ap(e, t, n, r) {
9539
+ function ad(e, t, n, r) {
9540
9540
  let i = -1;
9541
9541
  const o = [];
9542
9542
  for (; ++i < r.length; ) {
@@ -9546,7 +9546,7 @@ function ap(e, t, n, r) {
9546
9546
  return o;
9547
9547
  }
9548
9548
  function Pa(e, t, n, r) {
9549
- if (!(typeof r != "boolean" && typeof r != "number" && typeof r != "string") && sp(e, n, r)) {
9549
+ if (!(typeof r != "boolean" && typeof r != "number" && typeof r != "string") && sd(e, n, r)) {
9550
9550
  if (typeof t == "object" && t.length > 1) {
9551
9551
  let i = !1, o = 0;
9552
9552
  for (; ++o < t.length; ) {
@@ -9566,7 +9566,7 @@ function Pa(e, t, n, r) {
9566
9566
  return e.schema.clobber && e.schema.clobberPrefix && e.schema.clobber.includes(n) ? e.schema.clobberPrefix + r : r;
9567
9567
  }
9568
9568
  }
9569
- function sp(e, t, n) {
9569
+ function sd(e, t, n) {
9570
9570
  const r = e.schema.protocols && $e.call(e.schema.protocols, t) ? e.schema.protocols[t] : void 0;
9571
9571
  if (!r || r.length === 0)
9572
9572
  return !0;
@@ -9601,11 +9601,11 @@ function Hi(e, t) {
9601
9601
  if (t.length > 4 && t.slice(0, 4).toLowerCase() === "data")
9602
9602
  return n;
9603
9603
  }
9604
- function lp(e) {
9604
+ function ld(e) {
9605
9605
  return function(t) {
9606
9606
  return (
9607
9607
  /** @type {Root} */
9608
- Zd(t, e)
9608
+ Zp(t, e)
9609
9609
  );
9610
9610
  };
9611
9611
  }
@@ -9618,56 +9618,56 @@ function Vi(e, t) {
9618
9618
  r++, i = n.indexOf(t, i + t.length);
9619
9619
  return r;
9620
9620
  }
9621
- function cp(e) {
9621
+ function cd(e) {
9622
9622
  if (typeof e != "string")
9623
9623
  throw new TypeError("Expected a string");
9624
9624
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
9625
9625
  }
9626
- function up(e, t, n) {
9627
- const i = wn((n || {}).ignore || []), o = fp(t);
9626
+ function ud(e, t, n) {
9627
+ const i = wn((n || {}).ignore || []), o = fd(t);
9628
9628
  let a = -1;
9629
9629
  for (; ++a < o.length; )
9630
9630
  Ra(e, "text", s);
9631
9631
  function s(c, u) {
9632
- let f = -1, p;
9632
+ let f = -1, d;
9633
9633
  for (; ++f < u.length; ) {
9634
- const d = u[f], h = p ? p.children : void 0;
9634
+ const p = u[f], h = d ? d.children : void 0;
9635
9635
  if (i(
9636
- d,
9637
- h ? h.indexOf(d) : void 0,
9638
- p
9636
+ p,
9637
+ h ? h.indexOf(p) : void 0,
9638
+ d
9639
9639
  ))
9640
9640
  return;
9641
- p = d;
9641
+ d = p;
9642
9642
  }
9643
- if (p)
9643
+ if (d)
9644
9644
  return l(c, u);
9645
9645
  }
9646
9646
  function l(c, u) {
9647
- const f = u[u.length - 1], p = o[a][0], d = o[a][1];
9647
+ const f = u[u.length - 1], d = o[a][0], p = o[a][1];
9648
9648
  let h = 0;
9649
9649
  const k = f.children.indexOf(c);
9650
9650
  let y = !1, S = [];
9651
- p.lastIndex = 0;
9652
- let C = p.exec(c.value);
9651
+ d.lastIndex = 0;
9652
+ let C = d.exec(c.value);
9653
9653
  for (; C; ) {
9654
9654
  const P = C.index, O = {
9655
9655
  index: C.index,
9656
9656
  input: C.input,
9657
9657
  stack: [...u, c]
9658
9658
  };
9659
- let v = d(...C, O);
9660
- if (typeof v == "string" && (v = v.length > 0 ? { type: "text", value: v } : void 0), v === !1 ? p.lastIndex = P + 1 : (h !== P && S.push({
9659
+ let v = p(...C, O);
9660
+ if (typeof v == "string" && (v = v.length > 0 ? { type: "text", value: v } : void 0), v === !1 ? d.lastIndex = P + 1 : (h !== P && S.push({
9661
9661
  type: "text",
9662
9662
  value: c.value.slice(h, P)
9663
- }), Array.isArray(v) ? S.push(...v) : v && S.push(v), h = P + C[0].length, y = !0), !p.global)
9663
+ }), Array.isArray(v) ? S.push(...v) : v && S.push(v), h = P + C[0].length, y = !0), !d.global)
9664
9664
  break;
9665
- C = p.exec(c.value);
9665
+ C = d.exec(c.value);
9666
9666
  }
9667
9667
  return y ? (h < c.value.length && S.push({ type: "text", value: c.value.slice(h) }), f.children.splice(k, 1, ...S)) : S = [c], k + S.length;
9668
9668
  }
9669
9669
  }
9670
- function fp(e) {
9670
+ function fd(e) {
9671
9671
  const t = [];
9672
9672
  if (!Array.isArray(e))
9673
9673
  throw new TypeError("Expected find and replace tuple or list of tuples");
@@ -9675,37 +9675,37 @@ function fp(e) {
9675
9675
  let r = -1;
9676
9676
  for (; ++r < n.length; ) {
9677
9677
  const i = n[r];
9678
- t.push([dp(i[0]), pp(i[1])]);
9678
+ t.push([pd(i[0]), dd(i[1])]);
9679
9679
  }
9680
9680
  return t;
9681
9681
  }
9682
- function dp(e) {
9683
- return typeof e == "string" ? new RegExp(cp(e), "g") : e;
9682
+ function pd(e) {
9683
+ return typeof e == "string" ? new RegExp(cd(e), "g") : e;
9684
9684
  }
9685
- function pp(e) {
9685
+ function dd(e) {
9686
9686
  return typeof e == "function" ? e : function() {
9687
9687
  return e;
9688
9688
  };
9689
9689
  }
9690
9690
  const qn = "phrasing", Fn = ["autolink", "link", "image", "label"];
9691
- function hp() {
9691
+ function hd() {
9692
9692
  return {
9693
- transforms: [vp],
9693
+ transforms: [vd],
9694
9694
  enter: {
9695
- literalAutolink: gp,
9695
+ literalAutolink: gd,
9696
9696
  literalAutolinkEmail: Bn,
9697
9697
  literalAutolinkHttp: Bn,
9698
9698
  literalAutolinkWww: Bn
9699
9699
  },
9700
9700
  exit: {
9701
- literalAutolink: xp,
9702
- literalAutolinkEmail: wp,
9703
- literalAutolinkHttp: bp,
9704
- literalAutolinkWww: yp
9701
+ literalAutolink: xd,
9702
+ literalAutolinkEmail: wd,
9703
+ literalAutolinkHttp: bd,
9704
+ literalAutolinkWww: yd
9705
9705
  }
9706
9706
  };
9707
9707
  }
9708
- function mp() {
9708
+ function md() {
9709
9709
  return {
9710
9710
  unsafe: [
9711
9711
  {
@@ -9732,41 +9732,41 @@ function mp() {
9732
9732
  ]
9733
9733
  };
9734
9734
  }
9735
- function gp(e) {
9735
+ function gd(e) {
9736
9736
  this.enter({ type: "link", title: null, url: "", children: [] }, e);
9737
9737
  }
9738
9738
  function Bn(e) {
9739
9739
  this.config.enter.autolinkProtocol.call(this, e);
9740
9740
  }
9741
- function bp(e) {
9741
+ function bd(e) {
9742
9742
  this.config.exit.autolinkProtocol.call(this, e);
9743
9743
  }
9744
- function yp(e) {
9744
+ function yd(e) {
9745
9745
  this.config.exit.data.call(this, e);
9746
9746
  const t = this.stack[this.stack.length - 1];
9747
9747
  t.type, t.url = "http://" + this.sliceSerialize(e);
9748
9748
  }
9749
- function wp(e) {
9749
+ function wd(e) {
9750
9750
  this.config.exit.autolinkEmail.call(this, e);
9751
9751
  }
9752
- function xp(e) {
9752
+ function xd(e) {
9753
9753
  this.exit(e);
9754
9754
  }
9755
- function vp(e) {
9756
- up(
9755
+ function vd(e) {
9756
+ ud(
9757
9757
  e,
9758
9758
  [
9759
- [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, kp],
9760
- [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, Sp]
9759
+ [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, kd],
9760
+ [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, Sd]
9761
9761
  ],
9762
9762
  { ignore: ["link", "linkReference"] }
9763
9763
  );
9764
9764
  }
9765
- function kp(e, t, n, r, i) {
9765
+ function kd(e, t, n, r, i) {
9766
9766
  let o = "";
9767
- if (!Ma(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !Cp(n)))
9767
+ if (!Ma(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !Cd(n)))
9768
9768
  return !1;
9769
- const a = Ep(n + r);
9769
+ const a = Ed(n + r);
9770
9770
  if (!a[0]) return !1;
9771
9771
  const s = {
9772
9772
  type: "link",
@@ -9776,7 +9776,7 @@ function kp(e, t, n, r, i) {
9776
9776
  };
9777
9777
  return a[1] ? [s, { type: "text", value: a[1] }] : s;
9778
9778
  }
9779
- function Sp(e, t, n, r) {
9779
+ function Sd(e, t, n, r) {
9780
9780
  return (
9781
9781
  // Not an expected previous character.
9782
9782
  !Ma(r, !0) || // Label ends in not allowed character.
@@ -9788,11 +9788,11 @@ function Sp(e, t, n, r) {
9788
9788
  }
9789
9789
  );
9790
9790
  }
9791
- function Cp(e) {
9791
+ function Cd(e) {
9792
9792
  const t = e.split(".");
9793
9793
  return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
9794
9794
  }
9795
- function Ep(e) {
9795
+ function Ed(e) {
9796
9796
  const t = /[!"&'),.:;<>?\]}]+$/.exec(e);
9797
9797
  if (!t)
9798
9798
  return [e, void 0];
@@ -9809,41 +9809,41 @@ function Ma(e, t) {
9809
9809
  return (e.index === 0 || et(n) || gn(n)) && // If it’s an email, the previous character should not be a slash.
9810
9810
  (!t || n !== 47);
9811
9811
  }
9812
- za.peek = Dp;
9813
- function _p() {
9812
+ za.peek = Dd;
9813
+ function _d() {
9814
9814
  this.buffer();
9815
9815
  }
9816
- function Ap(e) {
9816
+ function Ad(e) {
9817
9817
  this.enter({ type: "footnoteReference", identifier: "", label: "" }, e);
9818
9818
  }
9819
- function Ip() {
9819
+ function Id() {
9820
9820
  this.buffer();
9821
9821
  }
9822
- function Tp(e) {
9822
+ function Td(e) {
9823
9823
  this.enter(
9824
9824
  { type: "footnoteDefinition", identifier: "", label: "", children: [] },
9825
9825
  e
9826
9826
  );
9827
9827
  }
9828
- function Np(e) {
9828
+ function Nd(e) {
9829
9829
  const t = this.resume(), n = this.stack[this.stack.length - 1];
9830
9830
  n.type, n.identifier = De(
9831
9831
  this.sliceSerialize(e)
9832
9832
  ).toLowerCase(), n.label = t;
9833
9833
  }
9834
- function Rp(e) {
9834
+ function Rd(e) {
9835
9835
  this.exit(e);
9836
9836
  }
9837
- function Op(e) {
9837
+ function Od(e) {
9838
9838
  const t = this.resume(), n = this.stack[this.stack.length - 1];
9839
9839
  n.type, n.identifier = De(
9840
9840
  this.sliceSerialize(e)
9841
9841
  ).toLowerCase(), n.label = t;
9842
9842
  }
9843
- function Lp(e) {
9843
+ function Ld(e) {
9844
9844
  this.exit(e);
9845
9845
  }
9846
- function Dp() {
9846
+ function Dd() {
9847
9847
  return "[";
9848
9848
  }
9849
9849
  function za(e, t, n, r) {
@@ -9854,23 +9854,23 @@ function za(e, t, n, r) {
9854
9854
  n.safe(n.associationId(e), { after: "]", before: o })
9855
9855
  ), s(), a(), o += i.move("]"), o;
9856
9856
  }
9857
- function Pp() {
9857
+ function Pd() {
9858
9858
  return {
9859
9859
  enter: {
9860
- gfmFootnoteCallString: _p,
9861
- gfmFootnoteCall: Ap,
9862
- gfmFootnoteDefinitionLabelString: Ip,
9863
- gfmFootnoteDefinition: Tp
9860
+ gfmFootnoteCallString: _d,
9861
+ gfmFootnoteCall: Ad,
9862
+ gfmFootnoteDefinitionLabelString: Id,
9863
+ gfmFootnoteDefinition: Td
9864
9864
  },
9865
9865
  exit: {
9866
- gfmFootnoteCallString: Np,
9867
- gfmFootnoteCall: Rp,
9868
- gfmFootnoteDefinitionLabelString: Op,
9869
- gfmFootnoteDefinition: Lp
9866
+ gfmFootnoteCallString: Nd,
9867
+ gfmFootnoteCall: Rd,
9868
+ gfmFootnoteDefinitionLabelString: Od,
9869
+ gfmFootnoteDefinition: Ld
9870
9870
  }
9871
9871
  };
9872
9872
  }
9873
- function Mp(e) {
9873
+ function Md(e) {
9874
9874
  let t = !1;
9875
9875
  return e && e.firstLineBlank && (t = !0), {
9876
9876
  handlers: { footnoteDefinition: n, footnoteReference: za },
@@ -9887,18 +9887,18 @@ function Mp(e) {
9887
9887
  (t ? `
9888
9888
  ` : " ") + o.indentLines(
9889
9889
  o.containerFlow(r, s.current()),
9890
- t ? qa : zp
9890
+ t ? qa : zd
9891
9891
  )
9892
9892
  )), c(), l;
9893
9893
  }
9894
9894
  }
9895
- function zp(e, t, n) {
9895
+ function zd(e, t, n) {
9896
9896
  return t === 0 ? e : qa(e, t, n);
9897
9897
  }
9898
9898
  function qa(e, t, n) {
9899
9899
  return (n ? "" : " ") + e;
9900
9900
  }
9901
- const qp = [
9901
+ const qd = [
9902
9902
  "autolink",
9903
9903
  "destinationLiteral",
9904
9904
  "destinationRaw",
@@ -9906,30 +9906,30 @@ const qp = [
9906
9906
  "titleQuote",
9907
9907
  "titleApostrophe"
9908
9908
  ];
9909
- Fa.peek = Hp;
9910
- function Fp() {
9909
+ Fa.peek = Hd;
9910
+ function Fd() {
9911
9911
  return {
9912
9912
  canContainEols: ["delete"],
9913
- enter: { strikethrough: Up },
9914
- exit: { strikethrough: jp }
9913
+ enter: { strikethrough: Ud },
9914
+ exit: { strikethrough: jd }
9915
9915
  };
9916
9916
  }
9917
- function Bp() {
9917
+ function Bd() {
9918
9918
  return {
9919
9919
  unsafe: [
9920
9920
  {
9921
9921
  character: "~",
9922
9922
  inConstruct: "phrasing",
9923
- notInConstruct: qp
9923
+ notInConstruct: qd
9924
9924
  }
9925
9925
  ],
9926
9926
  handlers: { delete: Fa }
9927
9927
  };
9928
9928
  }
9929
- function Up(e) {
9929
+ function Ud(e) {
9930
9930
  this.enter({ type: "delete", children: [] }, e);
9931
9931
  }
9932
- function jp(e) {
9932
+ function jd(e) {
9933
9933
  this.exit(e);
9934
9934
  }
9935
9935
  function Fa(e, t, n, r) {
@@ -9941,20 +9941,20 @@ function Fa(e, t, n, r) {
9941
9941
  after: "~"
9942
9942
  }), a += i.move("~~"), o(), a;
9943
9943
  }
9944
- function Hp() {
9944
+ function Hd() {
9945
9945
  return "~";
9946
9946
  }
9947
- function Vp(e) {
9947
+ function Vd(e) {
9948
9948
  return e.length;
9949
9949
  }
9950
- function $p(e, t) {
9951
- const n = t || {}, r = (n.align || []).concat(), i = n.stringLength || Vp, o = [], a = [], s = [], l = [];
9950
+ function $d(e, t) {
9951
+ const n = t || {}, r = (n.align || []).concat(), i = n.stringLength || Vd, o = [], a = [], s = [], l = [];
9952
9952
  let c = 0, u = -1;
9953
9953
  for (; ++u < e.length; ) {
9954
9954
  const b = [], k = [];
9955
9955
  let y = -1;
9956
9956
  for (e[u].length > c && (c = e[u].length); ++y < e[u].length; ) {
9957
- const S = Wp(e[u][y]);
9957
+ const S = Wd(e[u][y]);
9958
9958
  if (n.alignDelimiters !== !1) {
9959
9959
  const C = i(S);
9960
9960
  k[y] = C, (l[y] === void 0 || C > l[y]) && (l[y] = C);
@@ -9973,7 +9973,7 @@ function $p(e, t) {
9973
9973
  o[f] = b;
9974
9974
  }
9975
9975
  f = -1;
9976
- const p = [], d = [];
9976
+ const d = [], p = [];
9977
9977
  for (; ++f < c; ) {
9978
9978
  const b = o[f];
9979
9979
  let k = "", y = "";
@@ -9983,9 +9983,9 @@ function $p(e, t) {
9983
9983
  l[f] - k.length - y.length
9984
9984
  );
9985
9985
  const C = k + "-".repeat(S) + y;
9986
- n.alignDelimiters !== !1 && (S = k.length + S + y.length, S > l[f] && (l[f] = S), d[f] = S), p[f] = C;
9986
+ n.alignDelimiters !== !1 && (S = k.length + S + y.length, S > l[f] && (l[f] = S), p[f] = S), d[f] = C;
9987
9987
  }
9988
- a.splice(1, 0, p), s.splice(1, 0, d), u = -1;
9988
+ a.splice(1, 0, d), s.splice(1, 0, p), u = -1;
9989
9989
  const h = [];
9990
9990
  for (; ++u < a.length; ) {
9991
9991
  const b = a[u], k = s[u];
@@ -10009,26 +10009,26 @@ function $p(e, t) {
10009
10009
  return h.join(`
10010
10010
  `);
10011
10011
  }
10012
- function Wp(e) {
10012
+ function Wd(e) {
10013
10013
  return e == null ? "" : String(e);
10014
10014
  }
10015
10015
  function $i(e) {
10016
10016
  const t = typeof e == "string" ? e.codePointAt(0) : 0;
10017
10017
  return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
10018
10018
  }
10019
- function Gp(e, t, n, r) {
10019
+ function Gd(e, t, n, r) {
10020
10020
  const i = n.enter("blockquote"), o = n.createTracker(r);
10021
10021
  o.move("> "), o.shift(2);
10022
10022
  const a = n.indentLines(
10023
10023
  n.containerFlow(e, o.current()),
10024
- Kp
10024
+ Kd
10025
10025
  );
10026
10026
  return i(), a;
10027
10027
  }
10028
- function Kp(e, t, n) {
10028
+ function Kd(e, t, n) {
10029
10029
  return ">" + (n ? "" : " ") + e;
10030
10030
  }
10031
- function Yp(e, t) {
10031
+ function Yd(e, t) {
10032
10032
  return Wi(e, t.inConstruct, !0) && !Wi(e, t.notInConstruct, !1);
10033
10033
  }
10034
10034
  function Wi(e, t, n) {
@@ -10044,12 +10044,12 @@ function Gi(e, t, n, r) {
10044
10044
  let i = -1;
10045
10045
  for (; ++i < n.unsafe.length; )
10046
10046
  if (n.unsafe[i].character === `
10047
- ` && Yp(n.stack, n.unsafe[i]))
10047
+ ` && Yd(n.stack, n.unsafe[i]))
10048
10048
  return /[ \t]/.test(r.before) ? "" : " ";
10049
10049
  return `\\
10050
10050
  `;
10051
10051
  }
10052
- function Jp(e, t) {
10052
+ function Jd(e, t) {
10053
10053
  const n = String(e);
10054
10054
  let r = n.indexOf(t), i = r, o = 0, a = 0;
10055
10055
  if (typeof t != "string")
@@ -10058,13 +10058,13 @@ function Jp(e, t) {
10058
10058
  r === i ? ++o > a && (a = o) : o = 1, i = r + t.length, r = n.indexOf(t, i);
10059
10059
  return a;
10060
10060
  }
10061
- function Qp(e, t) {
10061
+ function Qd(e, t) {
10062
10062
  return !!(t.options.fences === !1 && e.value && // If there’s no info…
10063
10063
  !e.lang && // And there’s a non-whitespace character…
10064
10064
  /[^ \r\n]/.test(e.value) && // And the value doesn’t start or end in a blank…
10065
10065
  !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value));
10066
10066
  }
10067
- function Xp(e) {
10067
+ function Xd(e) {
10068
10068
  const t = e.options.fence || "`";
10069
10069
  if (t !== "`" && t !== "~")
10070
10070
  throw new Error(
@@ -10072,13 +10072,13 @@ function Xp(e) {
10072
10072
  );
10073
10073
  return t;
10074
10074
  }
10075
- function Zp(e, t, n, r) {
10076
- const i = Xp(n), o = e.value || "", a = i === "`" ? "GraveAccent" : "Tilde";
10077
- if (Qp(e, n)) {
10078
- const f = n.enter("codeIndented"), p = n.indentLines(o, eh);
10079
- return f(), p;
10075
+ function Zd(e, t, n, r) {
10076
+ const i = Xd(n), o = e.value || "", a = i === "`" ? "GraveAccent" : "Tilde";
10077
+ if (Qd(e, n)) {
10078
+ const f = n.enter("codeIndented"), d = n.indentLines(o, eh);
10079
+ return f(), d;
10080
10080
  }
10081
- const s = n.createTracker(r), l = i.repeat(Math.max(Jp(o, i) + 1, 3)), c = n.enter("codeFenced");
10081
+ const s = n.createTracker(r), l = i.repeat(Math.max(Jd(o, i) + 1, 3)), c = n.enter("codeFenced");
10082
10082
  let u = s.move(l);
10083
10083
  if (e.lang) {
10084
10084
  const f = n.enter(`codeFencedLang${a}`);
@@ -10208,13 +10208,13 @@ function Ba(e, t, n, r) {
10208
10208
  i
10209
10209
  );
10210
10210
  u.inside && (l = Dt(c) + l.slice(1));
10211
- const f = l.charCodeAt(l.length - 1), p = fn(r.after.charCodeAt(0), f, i);
10212
- p.inside && (l = l.slice(0, -1) + Dt(f));
10213
- const d = a.move(i);
10211
+ const f = l.charCodeAt(l.length - 1), d = fn(r.after.charCodeAt(0), f, i);
10212
+ d.inside && (l = l.slice(0, -1) + Dt(f));
10213
+ const p = a.move(i);
10214
10214
  return o(), n.attentionEncodeSurroundingInfo = {
10215
- after: p.outside,
10215
+ after: d.outside,
10216
10216
  before: u.outside
10217
- }, s + l + d;
10217
+ }, s + l + p;
10218
10218
  }
10219
10219
  function rh(e, t, n) {
10220
10220
  return n.options.emphasis || "*";
@@ -10229,19 +10229,19 @@ function ih(e, t) {
10229
10229
  function oh(e, t, n, r) {
10230
10230
  const i = Math.max(Math.min(6, e.depth || 1), 1), o = n.createTracker(r);
10231
10231
  if (ih(e, n)) {
10232
- const u = n.enter("headingSetext"), f = n.enter("phrasing"), p = n.containerPhrasing(e, {
10232
+ const u = n.enter("headingSetext"), f = n.enter("phrasing"), d = n.containerPhrasing(e, {
10233
10233
  ...o.current(),
10234
10234
  before: `
10235
10235
  `,
10236
10236
  after: `
10237
10237
  `
10238
10238
  });
10239
- return f(), u(), p + `
10239
+ return f(), u(), d + `
10240
10240
  ` + (i === 1 ? "=" : "-").repeat(
10241
10241
  // The whole size…
10242
- p.length - // Minus the position of the character after the last EOL (or
10242
+ d.length - // Minus the position of the character after the last EOL (or
10243
10243
  // 0 if there is none)…
10244
- (Math.max(p.lastIndexOf("\r"), p.lastIndexOf(`
10244
+ (Math.max(d.lastIndexOf("\r"), d.lastIndexOf(`
10245
10245
  `)) + 1)
10246
10246
  );
10247
10247
  }
@@ -10422,7 +10422,7 @@ function Fr(e) {
10422
10422
  );
10423
10423
  return t;
10424
10424
  }
10425
- function dh(e) {
10425
+ function ph(e) {
10426
10426
  const t = Fr(e), n = e.options.bulletOther;
10427
10427
  if (!n)
10428
10428
  return t === "*" ? "-" : "*";
@@ -10436,7 +10436,7 @@ function dh(e) {
10436
10436
  );
10437
10437
  return n;
10438
10438
  }
10439
- function ph(e) {
10439
+ function dh(e) {
10440
10440
  const t = e.options.bulletOrdered || ".";
10441
10441
  if (t !== "." && t !== ")")
10442
10442
  throw new Error(
@@ -10454,8 +10454,8 @@ function Ka(e) {
10454
10454
  }
10455
10455
  function hh(e, t, n, r) {
10456
10456
  const i = n.enter("list"), o = n.bulletCurrent;
10457
- let a = e.ordered ? ph(n) : Fr(n);
10458
- const s = e.ordered ? a === "." ? ")" : "." : dh(n);
10457
+ let a = e.ordered ? dh(n) : Fr(n);
10458
+ const s = e.ordered ? a === "." ? ")" : "." : ph(n);
10459
10459
  let l = t && n.bulletLastUsed ? a === n.bulletLastUsed : !1;
10460
10460
  if (!e.ordered) {
10461
10461
  const u = e.children ? e.children[0] : void 0;
@@ -10468,8 +10468,8 @@ function hh(e, t, n, r) {
10468
10468
  ) {
10469
10469
  let f = -1;
10470
10470
  for (; ++f < e.children.length; ) {
10471
- const p = e.children[f];
10472
- if (p && p.type === "listItem" && p.children && p.children[0] && p.children[0].type === "thematicBreak") {
10471
+ const d = e.children[f];
10472
+ if (d && d.type === "listItem" && d.children && d.children[0] && d.children[0].type === "thematicBreak") {
10473
10473
  l = !0;
10474
10474
  break;
10475
10475
  }
@@ -10501,8 +10501,8 @@ function gh(e, t, n, r) {
10501
10501
  u
10502
10502
  );
10503
10503
  return l(), c;
10504
- function u(f, p, d) {
10505
- return p ? (d ? "" : " ".repeat(a)) + f : (d ? o : o + " ".repeat(a - o.length)) + f;
10504
+ function u(f, d, p) {
10505
+ return d ? (p ? "" : " ".repeat(a)) + f : (p ? o : o + " ".repeat(a - o.length)) + f;
10506
10506
  }
10507
10507
  }
10508
10508
  function bh(e, t, n, r) {
@@ -10564,13 +10564,13 @@ function Ya(e, t, n, r) {
10564
10564
  i
10565
10565
  );
10566
10566
  u.inside && (l = Dt(c) + l.slice(1));
10567
- const f = l.charCodeAt(l.length - 1), p = fn(r.after.charCodeAt(0), f, i);
10568
- p.inside && (l = l.slice(0, -1) + Dt(f));
10569
- const d = a.move(i + i);
10567
+ const f = l.charCodeAt(l.length - 1), d = fn(r.after.charCodeAt(0), f, i);
10568
+ d.inside && (l = l.slice(0, -1) + Dt(f));
10569
+ const p = a.move(i + i);
10570
10570
  return o(), n.attentionEncodeSurroundingInfo = {
10571
- after: p.outside,
10571
+ after: d.outside,
10572
10572
  before: u.outside
10573
- }, s + l + d;
10573
+ }, s + l + p;
10574
10574
  }
10575
10575
  function vh(e, t, n) {
10576
10576
  return n.options.strong || "*";
@@ -10591,9 +10591,9 @@ function Ch(e, t, n) {
10591
10591
  return n.options.ruleSpaces ? r.slice(0, -1) : r;
10592
10592
  }
10593
10593
  const Ja = {
10594
- blockquote: Gp,
10594
+ blockquote: Gd,
10595
10595
  break: Gi,
10596
- code: Zp,
10596
+ code: Zd,
10597
10597
  definition: th,
10598
10598
  emphasis: Ba,
10599
10599
  hardBreak: Gi,
@@ -10686,30 +10686,30 @@ function Rh(e) {
10686
10686
  { atBreak: !0, character: "-", after: "[:|-]" }
10687
10687
  ],
10688
10688
  handlers: {
10689
- inlineCode: p,
10689
+ inlineCode: d,
10690
10690
  table: a,
10691
10691
  tableCell: l,
10692
10692
  tableRow: s
10693
10693
  }
10694
10694
  };
10695
- function a(d, h, b, k) {
10696
- return c(u(d, b, k), d.align);
10695
+ function a(p, h, b, k) {
10696
+ return c(u(p, b, k), p.align);
10697
10697
  }
10698
- function s(d, h, b, k) {
10699
- const y = f(d, b, k), S = c([y]);
10698
+ function s(p, h, b, k) {
10699
+ const y = f(p, b, k), S = c([y]);
10700
10700
  return S.slice(0, S.indexOf(`
10701
10701
  `));
10702
10702
  }
10703
- function l(d, h, b, k) {
10704
- const y = b.enter("tableCell"), S = b.enter("phrasing"), C = b.containerPhrasing(d, {
10703
+ function l(p, h, b, k) {
10704
+ const y = b.enter("tableCell"), S = b.enter("phrasing"), C = b.containerPhrasing(p, {
10705
10705
  ...k,
10706
10706
  before: o,
10707
10707
  after: o
10708
10708
  });
10709
10709
  return S(), y(), C;
10710
10710
  }
10711
- function c(d, h) {
10712
- return $p(d, {
10711
+ function c(p, h) {
10712
+ return $d(p, {
10713
10713
  align: h,
10714
10714
  // @ts-expect-error: `markdown-table` types should support `null`.
10715
10715
  alignDelimiters: r,
@@ -10719,24 +10719,24 @@ function Rh(e) {
10719
10719
  stringLength: i
10720
10720
  });
10721
10721
  }
10722
- function u(d, h, b) {
10723
- const k = d.children;
10722
+ function u(p, h, b) {
10723
+ const k = p.children;
10724
10724
  let y = -1;
10725
10725
  const S = [], C = h.enter("table");
10726
10726
  for (; ++y < k.length; )
10727
10727
  S[y] = f(k[y], h, b);
10728
10728
  return C(), S;
10729
10729
  }
10730
- function f(d, h, b) {
10731
- const k = d.children;
10730
+ function f(p, h, b) {
10731
+ const k = p.children;
10732
10732
  let y = -1;
10733
10733
  const S = [], C = h.enter("tableRow");
10734
10734
  for (; ++y < k.length; )
10735
- S[y] = l(k[y], d, h, b);
10735
+ S[y] = l(k[y], p, h, b);
10736
10736
  return C(), S;
10737
10737
  }
10738
- function p(d, h, b) {
10739
- let k = Ja.inlineCode(d, h, b);
10738
+ function d(p, h, b) {
10739
+ let k = Ja.inlineCode(p, h, b);
10740
10740
  return b.stack.includes("tableCell") && (k = k.replace(/\|/g, "\\$&")), k;
10741
10741
  }
10742
10742
  }
@@ -10794,9 +10794,9 @@ function Ph(e, t, n, r) {
10794
10794
  }
10795
10795
  function Mh() {
10796
10796
  return [
10797
- hp(),
10798
- Pp(),
10799
- Fp(),
10797
+ hd(),
10798
+ Pd(),
10799
+ Fd(),
10800
10800
  Eh(),
10801
10801
  Oh()
10802
10802
  ];
@@ -10804,9 +10804,9 @@ function Mh() {
10804
10804
  function zh(e) {
10805
10805
  return {
10806
10806
  extensions: [
10807
- mp(),
10808
- Mp(e),
10809
- Bp(),
10807
+ md(),
10808
+ Md(e),
10809
+ Bd(),
10810
10810
  Rh(e),
10811
10811
  Lh()
10812
10812
  ]
@@ -10897,8 +10897,8 @@ function Hh(e, t, n) {
10897
10897
  if (he(f) && i.length < 5)
10898
10898
  return i += String.fromCodePoint(f), e.consume(f), s;
10899
10899
  if (f === 58) {
10900
- const p = i.toLowerCase();
10901
- if (p === "http" || p === "https")
10900
+ const d = i.toLowerCase();
10901
+ if (d === "http" || d === "https")
10902
10902
  return e.consume(f), l;
10903
10903
  }
10904
10904
  return n(f);
@@ -11127,8 +11127,8 @@ function Zh(e, t, n) {
11127
11127
  return n(f);
11128
11128
  if (f === 93) {
11129
11129
  e.exit("chunkString");
11130
- const p = e.exit("gfmFootnoteCallString");
11131
- return i.includes(De(r.sliceSerialize(p))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(f), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(f);
11130
+ const d = e.exit("gfmFootnoteCallString");
11131
+ return i.includes(De(r.sliceSerialize(d))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(f), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(f);
11132
11132
  }
11133
11133
  return J(f) || (a = !0), o++, e.consume(f), f === 92 ? u : c;
11134
11134
  }
@@ -11158,17 +11158,17 @@ function em(e, t, n) {
11158
11158
  if (h === 93) {
11159
11159
  e.exit("chunkString");
11160
11160
  const b = e.exit("gfmFootnoteDefinitionLabelString");
11161
- return o = De(r.sliceSerialize(b)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(h), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
11161
+ return o = De(r.sliceSerialize(b)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(h), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), d;
11162
11162
  }
11163
11163
  return J(h) || (s = !0), a++, e.consume(h), h === 92 ? f : u;
11164
11164
  }
11165
11165
  function f(h) {
11166
11166
  return h === 91 || h === 92 || h === 93 ? (e.consume(h), a++, u) : u(h);
11167
11167
  }
11168
- function p(h) {
11169
- return h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), i.includes(o) || i.push(o), G(e, d, "gfmFootnoteDefinitionWhitespace")) : n(h);
11170
- }
11171
11168
  function d(h) {
11169
+ return h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), i.includes(o) || i.push(o), G(e, p, "gfmFootnoteDefinitionWhitespace")) : n(h);
11170
+ }
11171
+ function p(h) {
11172
11172
  return t(h);
11173
11173
  }
11174
11174
  }
@@ -11221,8 +11221,8 @@ function im(e) {
11221
11221
  type: "strikethroughText",
11222
11222
  start: Object.assign({}, a[c][1].end),
11223
11223
  end: Object.assign({}, a[l][1].start)
11224
- }, p = [["enter", u, s], ["enter", a[c][1], s], ["exit", a[c][1], s], ["enter", f, s]], d = s.parser.constructs.insideSpan.null;
11225
- d && ke(p, p.length, 0, bn(d, a.slice(c + 1, l), s)), ke(p, p.length, 0, [["exit", f, s], ["enter", a[l][1], s], ["exit", a[l][1], s], ["exit", u, s]]), ke(a, c - 1, l - c + 3, p), l = c + p.length - 2;
11224
+ }, d = [["enter", u, s], ["enter", a[c][1], s], ["exit", a[c][1], s], ["enter", f, s]], p = s.parser.constructs.insideSpan.null;
11225
+ p && ke(d, d.length, 0, bn(p, a.slice(c + 1, l), s)), ke(d, d.length, 0, [["exit", f, s], ["enter", a[l][1], s], ["exit", a[l][1], s], ["exit", u, s]]), ke(a, c - 1, l - c + 3, d), l = c + d.length - 2;
11226
11226
  break;
11227
11227
  }
11228
11228
  }
@@ -11233,14 +11233,14 @@ function im(e) {
11233
11233
  function o(a, s, l) {
11234
11234
  const c = this.previous, u = this.events;
11235
11235
  let f = 0;
11236
- return p;
11237
- function p(h) {
11238
- return c === 126 && u[u.length - 1][1].type !== "characterEscape" ? l(h) : (a.enter("strikethroughSequenceTemporary"), d(h));
11239
- }
11236
+ return d;
11240
11237
  function d(h) {
11238
+ return c === 126 && u[u.length - 1][1].type !== "characterEscape" ? l(h) : (a.enter("strikethroughSequenceTemporary"), p(h));
11239
+ }
11240
+ function p(h) {
11241
11241
  const b = ft(c);
11242
11242
  if (h === 126)
11243
- return f > 1 ? l(h) : (a.consume(h), f++, d);
11243
+ return f > 1 ? l(h) : (a.consume(h), f++, p);
11244
11244
  if (f < 2 && !n) return l(h);
11245
11245
  const k = a.exit("strikethroughSequenceTemporary"), y = ft(h);
11246
11246
  return k._open = !y || y === 2 && !!b, k._close = !b || b === 2 && !!y, s(h);
@@ -11368,15 +11368,15 @@ function cm(e, t, n) {
11368
11368
  return w === 124 || (a = !0, o += 1), u(w);
11369
11369
  }
11370
11370
  function u(w) {
11371
- return w === null ? n(w) : q(w) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), d) : n(w) : H(w) ? G(e, u, "whitespace")(w) : (o += 1, a && (a = !1, i += 1), w === 124 ? (e.enter("tableCellDivider"), e.consume(w), e.exit("tableCellDivider"), a = !0, u) : (e.enter("data"), f(w)));
11371
+ return w === null ? n(w) : q(w) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), p) : n(w) : H(w) ? G(e, u, "whitespace")(w) : (o += 1, a && (a = !1, i += 1), w === 124 ? (e.enter("tableCellDivider"), e.consume(w), e.exit("tableCellDivider"), a = !0, u) : (e.enter("data"), f(w)));
11372
11372
  }
11373
11373
  function f(w) {
11374
- return w === null || w === 124 || J(w) ? (e.exit("data"), u(w)) : (e.consume(w), w === 92 ? p : f);
11374
+ return w === null || w === 124 || J(w) ? (e.exit("data"), u(w)) : (e.consume(w), w === 92 ? d : f);
11375
11375
  }
11376
- function p(w) {
11376
+ function d(w) {
11377
11377
  return w === 92 || w === 124 ? (e.consume(w), f) : f(w);
11378
11378
  }
11379
- function d(w) {
11379
+ function p(w) {
11380
11380
  return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(w) : (e.enter("tableDelimiterRow"), a = !1, H(w) ? G(e, h, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(w) : h(w));
11381
11381
  }
11382
11382
  function h(w) {
@@ -11418,24 +11418,24 @@ function cm(e, t, n) {
11418
11418
  }
11419
11419
  function um(e, t) {
11420
11420
  let n = -1, r = !0, i = 0, o = [0, 0, 0, 0], a = [0, 0, 0, 0], s = !1, l = 0, c, u, f;
11421
- const p = new om();
11421
+ const d = new om();
11422
11422
  for (; ++n < e.length; ) {
11423
- const d = e[n], h = d[1];
11424
- d[0] === "enter" ? h.type === "tableHead" ? (s = !1, l !== 0 && (Ji(p, t, l, c, u), u = void 0, l = 0), c = {
11423
+ const p = e[n], h = p[1];
11424
+ p[0] === "enter" ? h.type === "tableHead" ? (s = !1, l !== 0 && (Ji(d, t, l, c, u), u = void 0, l = 0), c = {
11425
11425
  type: "table",
11426
11426
  start: Object.assign({}, h.start),
11427
11427
  // Note: correct end is set later.
11428
11428
  end: Object.assign({}, h.end)
11429
- }, p.add(n, 0, [["enter", c, t]])) : h.type === "tableRow" || h.type === "tableDelimiterRow" ? (r = !0, f = void 0, o = [0, 0, 0, 0], a = [0, n + 1, 0, 0], s && (s = !1, u = {
11429
+ }, d.add(n, 0, [["enter", c, t]])) : h.type === "tableRow" || h.type === "tableDelimiterRow" ? (r = !0, f = void 0, o = [0, 0, 0, 0], a = [0, n + 1, 0, 0], s && (s = !1, u = {
11430
11430
  type: "tableBody",
11431
11431
  start: Object.assign({}, h.start),
11432
11432
  // Note: correct end is set later.
11433
11433
  end: Object.assign({}, h.end)
11434
- }, p.add(n, 0, [["enter", u, t]])), i = h.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (h.type === "data" || h.type === "tableDelimiterMarker" || h.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (o[1] !== 0 && (a[0] = a[1], f = Gt(p, t, o, i, void 0, f), o = [0, 0, 0, 0]), a[2] = n)) : h.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (a[0] = a[1], f = Gt(p, t, o, i, void 0, f)), o = a, a = [o[1], n, 0, 0])) : h.type === "tableHead" ? (s = !0, l = n) : h.type === "tableRow" || h.type === "tableDelimiterRow" ? (l = n, o[1] !== 0 ? (a[0] = a[1], f = Gt(p, t, o, i, n, f)) : a[1] !== 0 && (f = Gt(p, t, a, i, n, f)), i = 0) : i && (h.type === "data" || h.type === "tableDelimiterMarker" || h.type === "tableDelimiterFiller") && (a[3] = n);
11434
+ }, d.add(n, 0, [["enter", u, t]])), i = h.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (h.type === "data" || h.type === "tableDelimiterMarker" || h.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (o[1] !== 0 && (a[0] = a[1], f = Gt(d, t, o, i, void 0, f), o = [0, 0, 0, 0]), a[2] = n)) : h.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (a[0] = a[1], f = Gt(d, t, o, i, void 0, f)), o = a, a = [o[1], n, 0, 0])) : h.type === "tableHead" ? (s = !0, l = n) : h.type === "tableRow" || h.type === "tableDelimiterRow" ? (l = n, o[1] !== 0 ? (a[0] = a[1], f = Gt(d, t, o, i, n, f)) : a[1] !== 0 && (f = Gt(d, t, a, i, n, f)), i = 0) : i && (h.type === "data" || h.type === "tableDelimiterMarker" || h.type === "tableDelimiterFiller") && (a[3] = n);
11435
11435
  }
11436
- for (l !== 0 && Ji(p, t, l, c, u), p.consume(t.events), n = -1; ++n < t.events.length; ) {
11437
- const d = t.events[n];
11438
- d[0] === "enter" && d[1].type === "table" && (d[1]._align = sm(t.events, n));
11436
+ for (l !== 0 && Ji(d, t, l, c, u), d.consume(t.events), n = -1; ++n < t.events.length; ) {
11437
+ const p = t.events[n];
11438
+ p[0] === "enter" && p[1].type === "table" && (p[1]._align = sm(t.events, n));
11439
11439
  }
11440
11440
  return e;
11441
11441
  }
@@ -11455,8 +11455,8 @@ function Gt(e, t, n, r, i, o) {
11455
11455
  end: Object.assign({}, u)
11456
11456
  };
11457
11457
  if (e.add(n[2], 0, [["enter", f, t]]), r !== 2) {
11458
- const p = t.events[n[2]], d = t.events[n[3]];
11459
- if (p[1].end = Object.assign({}, d[1].end), p[1].type = "chunkText", p[1].contentType = "text", n[3] > n[2] + 1) {
11458
+ const d = t.events[n[2]], p = t.events[n[3]];
11459
+ if (d[1].end = Object.assign({}, p[1].end), d[1].type = "chunkText", d[1].contentType = "text", n[3] > n[2] + 1) {
11460
11460
  const h = n[2] + 1, b = n[3] - n[2] - 1;
11461
11461
  e.add(h, b, []);
11462
11462
  }
@@ -11475,16 +11475,16 @@ function at(e, t) {
11475
11475
  }
11476
11476
  const fm = {
11477
11477
  name: "tasklistCheck",
11478
- tokenize: pm
11478
+ tokenize: dm
11479
11479
  };
11480
- function dm() {
11480
+ function pm() {
11481
11481
  return {
11482
11482
  text: {
11483
11483
  91: fm
11484
11484
  }
11485
11485
  };
11486
11486
  }
11487
- function pm(e, t, n) {
11487
+ function dm(e, t, n) {
11488
11488
  const r = this;
11489
11489
  return i;
11490
11490
  function i(l) {
@@ -11514,12 +11514,12 @@ function hm(e, t, n) {
11514
11514
  }
11515
11515
  }
11516
11516
  function mm(e) {
11517
- return da([
11517
+ return pa([
11518
11518
  Bh(),
11519
11519
  Jh(),
11520
11520
  im(e),
11521
11521
  lm(),
11522
- dm()
11522
+ pm()
11523
11523
  ]);
11524
11524
  }
11525
11525
  const gm = {};
@@ -11531,10 +11531,10 @@ function bm(e) {
11531
11531
  i.push(mm(n)), o.push(Mh()), a.push(zh(n));
11532
11532
  }
11533
11533
  const ym = ({ text: e }) => /* @__PURE__ */ x(
11534
- Kd,
11534
+ Kp,
11535
11535
  {
11536
11536
  remarkPlugins: [bm],
11537
- rehypePlugins: [lp],
11537
+ rehypePlugins: [ld],
11538
11538
  components: {
11539
11539
  p: ({ children: n }) => /* @__PURE__ */ x("p", { className: "mb-3 last:mb-0 whitespace-pre-wrap", children: n }),
11540
11540
  ul: ({ children: n }) => /* @__PURE__ */ x("ul", { className: "list-disc ml-5 mb-3 space-y-1", children: n }),
@@ -11565,7 +11565,7 @@ function Qi({
11565
11565
  }) {
11566
11566
  const s = !t, [l, c] = W(!1), [u, f] = W(
11567
11567
  null
11568
- ), [p, d] = W(!1), [h, b] = W(!1), k = kr(), { collectUserFeedback: y, onMessageClick: S } = mn(), C = !e.isWelcomeMessage && typeof S == "function", P = Ml(
11568
+ ), [d, p] = W(!1), [h, b] = W(!1), k = kr(), { collectUserFeedback: y, onMessageClick: S } = mn(), C = !e.isWelcomeMessage && typeof S == "function", P = Ml(
11569
11569
  e.content,
11570
11570
  15,
11571
11571
  n && s
@@ -11672,11 +11672,11 @@ function Qi({
11672
11672
  "button",
11673
11673
  {
11674
11674
  onClick: async () => {
11675
- await navigator.clipboard.writeText(e.content), d(!0), setTimeout(() => d(!1), 2e3);
11675
+ await navigator.clipboard.writeText(e.content), p(!0), setTimeout(() => p(!1), 2e3);
11676
11676
  },
11677
11677
  className: F(
11678
11678
  v,
11679
- p && "text-primary"
11679
+ d && "text-primary"
11680
11680
  ),
11681
11681
  title: "Copy message",
11682
11682
  children: /* @__PURE__ */ x(nl, { size: 16 })
@@ -11821,7 +11821,7 @@ function xm(e) {
11821
11821
  )
11822
11822
  ] }) });
11823
11823
  }
11824
- const os = dn(null), vm = {
11824
+ const os = pn(null), vm = {
11825
11825
  isVisible: !1,
11826
11826
  content: null,
11827
11827
  showCognition: () => {
@@ -11830,35 +11830,35 @@ const os = dn(null), vm = {
11830
11830
  }
11831
11831
  };
11832
11832
  function as() {
11833
- const e = pn(os);
11833
+ const e = dn(os);
11834
11834
  return e || (console.warn(
11835
11835
  "useAgentCognitionContext: AgentCognitionContext is not provided. Using default values."
11836
11836
  ), vm);
11837
11837
  }
11838
11838
  function km() {
11839
- const e = mn(), t = as(), n = se(null), r = se(!0), [i, o] = W(!1), [a, s] = W(!1), l = (p) => p.scrollHeight - p.scrollTop <= p.clientHeight + 60, c = (p) => {
11840
- const d = p.target;
11841
- l(d) ? (o(!1), s(!1)) : (o(!0), s(!0));
11842
- }, u = (p = "smooth") => {
11839
+ const e = mn(), t = as(), n = se(null), r = se(!0), [i, o] = W(!1), [a, s] = W(!1), l = (d) => d.scrollHeight - d.scrollTop <= d.clientHeight + 60, c = (d) => {
11840
+ const p = d.target;
11841
+ l(p) ? (o(!1), s(!1)) : (o(!0), s(!0));
11842
+ }, u = (d = "smooth") => {
11843
11843
  if (n.current) {
11844
- const d = n.current.querySelector("div");
11845
- d && d.scrollTo({
11846
- top: d.scrollHeight,
11847
- behavior: p
11844
+ const p = n.current.querySelector("div");
11845
+ p && p.scrollTo({
11846
+ top: p.scrollHeight,
11847
+ behavior: d
11848
11848
  });
11849
11849
  }
11850
11850
  };
11851
11851
  ie(() => {
11852
11852
  r.current ? (u("instant"), r.current = !1) : a || u();
11853
11853
  }, [e.messages, a]), ie(() => {
11854
- const p = n.current?.querySelector(
11854
+ const d = n.current?.querySelector(
11855
11855
  "div.chat-interface-body"
11856
11856
  );
11857
- if (!p) return;
11858
- const d = new ResizeObserver(() => {
11859
- !a && l(p) && u("auto");
11857
+ if (!d) return;
11858
+ const p = new ResizeObserver(() => {
11859
+ !a && l(d) && u("auto");
11860
11860
  });
11861
- return d.observe(p), () => d.disconnect();
11861
+ return p.observe(d), () => p.disconnect();
11862
11862
  }, [a]);
11863
11863
  const f = [
11864
11864
  ...e.messages || [],
@@ -11892,17 +11892,17 @@ function km() {
11892
11892
  /* @__PURE__ */ x("p", { className: "text-muted-foreground text-center text-sm", children: e.subtitle })
11893
11893
  ] })
11894
11894
  ] }),
11895
- /* @__PURE__ */ x("div", { className: "chat-interface-body flex flex-col space-y-4 mb-10", children: f.map((p, d, h) => {
11896
- const b = Array.isArray(p) ? p.map((k) => k.id).join("-") : p.id;
11895
+ /* @__PURE__ */ x("div", { className: "chat-interface-body flex flex-col space-y-4 mb-10", children: f.map((d, p, h) => {
11896
+ const b = Array.isArray(d) ? d.map((k) => k.id).join("-") : d.id;
11897
11897
  return /* @__PURE__ */ x(
11898
11898
  wm,
11899
11899
  {
11900
- message: p,
11901
- nextMessage: h[d + 1],
11900
+ message: d,
11901
+ nextMessage: h[p + 1],
11902
11902
  className: F({
11903
- "pt-10": d === 0,
11904
- "pb-2": d >= h.length - 1,
11905
- "pb-14": e.suggestedMessages && d >= h.length - 1
11903
+ "pt-10": p === 0,
11904
+ "pb-2": p >= h.length - 1,
11905
+ "pb-14": e.suggestedMessages && p >= h.length - 1
11906
11906
  }),
11907
11907
  assistantLogo: e.assistantLogo
11908
11908
  },
@@ -11960,7 +11960,7 @@ const Xi = {
11960
11960
  5031: "The service is currently undergoing maintenance. Please try again later.",
11961
11961
  5001: "We are currently facing technical difficulties. Please try again later.",
11962
11962
  DEFAULT: "Something went wrong. Please try again later."
11963
- }, ls = (e) => Xi[e] || Xi.DEFAULT, cs = dn({
11963
+ }, ls = (e) => Xi[e] || Xi.DEFAULT, cs = pn({
11964
11964
  error: null,
11965
11965
  publishApiError: () => {
11966
11966
  },
@@ -11969,7 +11969,7 @@ const Xi = {
11969
11969
  clearError: () => {
11970
11970
  }
11971
11971
  }), vn = () => {
11972
- const e = pn(cs);
11972
+ const e = dn(cs);
11973
11973
  if (e === void 0)
11974
11974
  throw new Error("useError must be used within an ErrorProvider");
11975
11975
  return e;
@@ -12027,36 +12027,36 @@ function _m() {
12027
12027
  children: /* @__PURE__ */ x("div", { className: "flex gap-2 min-w-min", children: [
12028
12028
  "Tell me more about Product X.",
12029
12029
  "Do you offer delivery in Palo Alto?"
12030
- ].map((p) => /* @__PURE__ */ x(
12030
+ ].map((d) => /* @__PURE__ */ x(
12031
12031
  "button",
12032
12032
  {
12033
12033
  onClick: () => {
12034
- o(p), r.current && r.current.focus();
12034
+ o(d), r.current && r.current.focus();
12035
12035
  },
12036
12036
  className: "whitespace-nowrap px-3 py-1.5 text-sm rounded-full bg-muted hover:bg-muted cursor-grab",
12037
- children: p
12037
+ children: d
12038
12038
  },
12039
- p
12039
+ d
12040
12040
  )) })
12041
12041
  }
12042
12042
  ) : null, u = async (f) => {
12043
12043
  f.preventDefault();
12044
- const p = i.trim();
12045
- if (!(!p || t))
12044
+ const d = i.trim();
12045
+ if (!(!d || t))
12046
12046
  try {
12047
12047
  if (o(""), await n.onSendMessage?.({
12048
12048
  id: crypto.randomUUID(),
12049
- content: p,
12049
+ content: d,
12050
12050
  sender: "user",
12051
12051
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
12052
12052
  }), r.current) {
12053
- const d = r.current;
12054
- d.style.height = "auto";
12055
- const h = Math.min(d.scrollHeight, 48);
12056
- d.style.height = `${h}px`;
12053
+ const p = r.current;
12054
+ p.style.height = "auto";
12055
+ const h = Math.min(p.scrollHeight, 48);
12056
+ p.style.height = `${h}px`;
12057
12057
  }
12058
12058
  } catch {
12059
- o(p);
12059
+ o(d);
12060
12060
  }
12061
12061
  };
12062
12062
  return /* @__PURE__ */ U(vr, { className: "flex flex-col bg-background p-0", children: [
@@ -12083,15 +12083,15 @@ function _m() {
12083
12083
  onKeyDown: (f) => {
12084
12084
  if (f.key === "Enter" && !f.shiftKey) {
12085
12085
  f.preventDefault();
12086
- const p = f.currentTarget.form;
12087
- p && p.dispatchEvent(new Event("submit", { bubbles: !0 }));
12086
+ const d = f.currentTarget.form;
12087
+ d && d.dispatchEvent(new Event("submit", { bubbles: !0 }));
12088
12088
  }
12089
12089
  },
12090
12090
  onInput: (f) => {
12091
- const p = f.currentTarget;
12092
- p.style.height = "auto";
12093
- const d = Math.min(p.scrollHeight, 132);
12094
- p.style.height = `${d}px`, o(p.value);
12091
+ const d = f.currentTarget;
12092
+ d.style.height = "auto";
12093
+ const p = Math.min(d.scrollHeight, 132);
12094
+ d.style.height = `${p}px`, o(d.value);
12095
12095
  }
12096
12096
  }
12097
12097
  ) }),
@@ -12221,7 +12221,7 @@ function Me({
12221
12221
  }
12222
12222
  );
12223
12223
  }
12224
- function ds({
12224
+ function ps({
12225
12225
  isOpen: e = !1,
12226
12226
  isMobile: t
12227
12227
  }) {
@@ -12265,7 +12265,7 @@ function Nm(e) {
12265
12265
  /* @__PURE__ */ x(km, {}),
12266
12266
  /* @__PURE__ */ x(_m, {})
12267
12267
  ] }) : /* @__PURE__ */ U(Qe, { children: [
12268
- /* @__PURE__ */ x(ds, { isOpen: t, isMobile: n }),
12268
+ /* @__PURE__ */ x(ps, { isOpen: t, isMobile: n }),
12269
12269
  !s && /* @__PURE__ */ x(
12270
12270
  Yo,
12271
12271
  {
@@ -12463,10 +12463,10 @@ function Pm({
12463
12463
  sender: T.role,
12464
12464
  timestamp: T.created_at,
12465
12465
  type: "text"
12466
- }), p = (T) => ({
12466
+ }), d = (T) => ({
12467
12467
  message_id: T.message_id,
12468
12468
  response: T.response
12469
- }), d = X(
12469
+ }), p = X(
12470
12470
  (T, D) => {
12471
12471
  const w = D.map(f), N = Math.min(T.length, w.length);
12472
12472
  for (let A = 0; A < N; A++)
@@ -12478,7 +12478,7 @@ function Pm({
12478
12478
  ), h = X(
12479
12479
  (T) => {
12480
12480
  setTimeout(() => {
12481
- o(p(T), t);
12481
+ o(d(T), t);
12482
12482
  }, 100);
12483
12483
  },
12484
12484
  [o, t]
@@ -12496,7 +12496,7 @@ function Pm({
12496
12496
  (T) => {
12497
12497
  if (T.role === "assistant")
12498
12498
  o(
12499
- p(T),
12499
+ d(T),
12500
12500
  t
12501
12501
  );
12502
12502
  else {
@@ -12549,7 +12549,7 @@ function Pm({
12549
12549
  (R) => !N.has(R.id)
12550
12550
  );
12551
12551
  if (!(A.length === 0 && _.length === 0)) {
12552
- const R = d(D, T), z = A.length === 1 && _.length === 0, V = A.length > 1 && _.length === 0;
12552
+ const R = p(D, T), z = A.length === 1 && _.length === 0, V = A.length > 1 && _.length === 0;
12553
12553
  R && z ? k(A[0]) : R && V ? y(T, A) : S(
12554
12554
  T,
12555
12555
  A,
@@ -12570,7 +12570,7 @@ function Pm({
12570
12570
  e,
12571
12571
  t,
12572
12572
  n,
12573
- d,
12573
+ p,
12574
12574
  k,
12575
12575
  y,
12576
12576
  S
@@ -12635,16 +12635,16 @@ function Ur({ appId: e }) {
12635
12635
  }, [r]), o = X(
12636
12636
  (l, c, u, f) => {
12637
12637
  try {
12638
- const p = {
12638
+ const d = {
12639
12639
  conversationId: l,
12640
12640
  userId: c,
12641
12641
  deviceId: f,
12642
12642
  messages: u,
12643
12643
  lastActivity: Date.now()
12644
12644
  };
12645
- localStorage.setItem(t, JSON.stringify(p));
12646
- } catch (p) {
12647
- console.error("Error saving conversation data to localStorage:", p);
12645
+ localStorage.setItem(t, JSON.stringify(d));
12646
+ } catch (d) {
12647
+ console.error("Error saving conversation data to localStorage:", d);
12648
12648
  }
12649
12649
  },
12650
12650
  [t]
@@ -12809,7 +12809,7 @@ class Ie {
12809
12809
  }
12810
12810
  Ie.LOG_LEVEL = null;
12811
12811
  Ie.BIND_ALL_LOG_LEVELS = !1;
12812
- class dt extends Error {
12812
+ class pt extends Error {
12813
12813
  /**
12814
12814
  * Constructs an AmplifyError.
12815
12815
  *
@@ -12823,7 +12823,7 @@ class dt extends Error {
12823
12823
  const { extendedRequestId: a, httpStatusCode: s, requestId: l } = o;
12824
12824
  this.metadata = { extendedRequestId: a, httpStatusCode: s, requestId: l };
12825
12825
  }
12826
- this.constructor = dt, Object.setPrototypeOf(this, dt.prototype);
12826
+ this.constructor = pt, Object.setPrototypeOf(this, pt.prototype);
12827
12827
  }
12828
12828
  }
12829
12829
  const jr = typeof Symbol < "u" ? Symbol("amplify_default") : "@@amplify_default", Ct = new Ie("Hub");
@@ -12874,7 +12874,7 @@ class Um {
12874
12874
  listen(t, n, r = "noname") {
12875
12875
  let i;
12876
12876
  if (typeof n != "function")
12877
- throw new dt({
12877
+ throw new pt({
12878
12878
  name: Bm,
12879
12879
  message: "No callback supplied to Hub"
12880
12880
  });
@@ -12904,11 +12904,11 @@ const Hr = new Um("__default__"), jm = () => {
12904
12904
  return window.btoa;
12905
12905
  if (typeof btoa == "function")
12906
12906
  return btoa;
12907
- throw new dt({
12907
+ throw new pt({
12908
12908
  name: "Base64EncoderError",
12909
12909
  message: "Cannot resolve the `btoa` function from the environment."
12910
12910
  });
12911
- }, ps = (e) => e && e["nonRetryable"], Yt = new Ie("retryUtil");
12911
+ }, ds = (e) => e && e["nonRetryable"], Yt = new Ie("retryUtil");
12912
12912
  async function Hm(e, t, n, r) {
12913
12913
  if (typeof e != "function")
12914
12914
  throw Error("functionToRetry must be a function");
@@ -12921,7 +12921,7 @@ async function Hm(e, t, n, r) {
12921
12921
  i(await e(...t));
12922
12922
  return;
12923
12923
  } catch (u) {
12924
- if (c = u, Yt.debug(`error on ${e.name}`, u), ps(u)) {
12924
+ if (c = u, Yt.debug(`error on ${e.name}`, u), ds(u)) {
12925
12925
  Yt.debug(`${e.name} non retryable error`, u), o(u);
12926
12926
  return;
12927
12927
  }
@@ -12930,8 +12930,8 @@ async function Hm(e, t, n, r) {
12930
12930
  o(u);
12931
12931
  return;
12932
12932
  } else
12933
- await new Promise((p) => {
12934
- l = p, setTimeout(l, f);
12933
+ await new Promise((d) => {
12934
+ l = d, setTimeout(l, f);
12935
12935
  });
12936
12936
  }
12937
12937
  }
@@ -12960,12 +12960,12 @@ const hs = (e) => {
12960
12960
  LAMBDA: "lambda"
12961
12961
  }, Wm = (e = {}) => {
12962
12962
  if (!Object.prototype.hasOwnProperty.call(e, "aws_project_region"))
12963
- throw new dt({
12963
+ throw new pt({
12964
12964
  name: "InvalidParameterException",
12965
12965
  message: "Invalid config parameter.",
12966
12966
  recoverySuggestion: "Ensure passing the config object imported from `amplifyconfiguration.json`."
12967
12967
  });
12968
- const { aws_appsync_apiKey: t, aws_appsync_authenticationType: n, aws_appsync_graphqlEndpoint: r, aws_appsync_region: i, aws_bots_config: o, aws_cognito_identity_pool_id: a, aws_cognito_sign_up_verification_method: s, aws_cognito_mfa_configuration: l, aws_cognito_mfa_types: c, aws_cognito_password_protection_settings: u, aws_cognito_verification_mechanisms: f, aws_cognito_signup_attributes: p, aws_cognito_social_providers: d, aws_cognito_username_attributes: h, aws_mandatory_sign_in: b, aws_mobile_analytics_app_id: k, aws_mobile_analytics_app_region: y, aws_user_files_s3_bucket: S, aws_user_files_s3_bucket_region: C, aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing: P, aws_user_pools_id: O, aws_user_pools_web_client_id: v, geo: M, oauth: T, predictions: D, aws_cloud_logic_custom: w, Notifications: N, modelIntrospection: A } = e, _ = {};
12968
+ const { aws_appsync_apiKey: t, aws_appsync_authenticationType: n, aws_appsync_graphqlEndpoint: r, aws_appsync_region: i, aws_bots_config: o, aws_cognito_identity_pool_id: a, aws_cognito_sign_up_verification_method: s, aws_cognito_mfa_configuration: l, aws_cognito_mfa_types: c, aws_cognito_password_protection_settings: u, aws_cognito_verification_mechanisms: f, aws_cognito_signup_attributes: d, aws_cognito_social_providers: p, aws_cognito_username_attributes: h, aws_mandatory_sign_in: b, aws_mobile_analytics_app_id: k, aws_mobile_analytics_app_region: y, aws_user_files_s3_bucket: S, aws_user_files_s3_bucket_region: C, aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing: P, aws_user_pools_id: O, aws_user_pools_web_client_id: v, geo: M, oauth: T, predictions: D, aws_cloud_logic_custom: w, Notifications: N, modelIntrospection: A } = e, _ = {};
12969
12969
  k && (_.Analytics = {
12970
12970
  Pinpoint: {
12971
12971
  appId: k,
@@ -12975,24 +12975,24 @@ const hs = (e) => {
12975
12975
  const { InAppMessaging: R, Push: z } = N ?? {};
12976
12976
  if (R?.AWSPinpoint || z?.AWSPinpoint) {
12977
12977
  if (R?.AWSPinpoint) {
12978
- const { appId: K, region: de } = R.AWSPinpoint;
12978
+ const { appId: K, region: pe } = R.AWSPinpoint;
12979
12979
  _.Notifications = {
12980
12980
  InAppMessaging: {
12981
12981
  Pinpoint: {
12982
12982
  appId: K,
12983
- region: de
12983
+ region: pe
12984
12984
  }
12985
12985
  }
12986
12986
  };
12987
12987
  }
12988
12988
  if (z?.AWSPinpoint) {
12989
- const { appId: K, region: de } = z.AWSPinpoint;
12989
+ const { appId: K, region: pe } = z.AWSPinpoint;
12990
12990
  _.Notifications = {
12991
12991
  ..._.Notifications,
12992
12992
  PushNotification: {
12993
12993
  Pinpoint: {
12994
12994
  appId: K,
12995
- region: de
12995
+ region: pe
12996
12996
  }
12997
12997
  }
12998
12998
  };
@@ -13023,11 +13023,11 @@ const hs = (e) => {
13023
13023
  requireSpecialCharacters: u.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS") ?? !1
13024
13024
  } : void 0, Te = Array.from(/* @__PURE__ */ new Set([
13025
13025
  ...f ?? [],
13026
- ...p ?? []
13027
- ])).reduce((K, de) => ({
13026
+ ...d ?? []
13027
+ ])).reduce((K, pe) => ({
13028
13028
  ...K,
13029
13029
  // All user attributes generated by the CLI are required
13030
- [de.toLowerCase()]: { required: !0 }
13030
+ [pe.toLowerCase()]: { required: !0 }
13031
13031
  }), {}), m = h?.includes("EMAIL") ?? !1, me = h?.includes("PHONE_NUMBER") ?? !1;
13032
13032
  (a || O) && (_.Auth = {
13033
13033
  Cognito: {
@@ -13046,13 +13046,13 @@ const hs = (e) => {
13046
13046
  }
13047
13047
  }
13048
13048
  });
13049
- const Ne = T ? Object.keys(T).length > 0 : !1, g = d ? d.length > 0 : !1;
13049
+ const Ne = T ? Object.keys(T).length > 0 : !1, g = p ? p.length > 0 : !1;
13050
13050
  if (_.Auth && Ne && (_.Auth.Cognito.loginWith = {
13051
13051
  ..._.Auth.Cognito.loginWith,
13052
13052
  oauth: {
13053
13053
  ...Gm(T),
13054
13054
  ...g && {
13055
- providers: Km(d)
13055
+ providers: Km(p)
13056
13056
  }
13057
13057
  }
13058
13058
  }), S && (_.Storage = {
@@ -13074,8 +13074,8 @@ const hs = (e) => {
13074
13074
  }
13075
13075
  if (w && (_.API = {
13076
13076
  ..._.API,
13077
- REST: w.reduce((K, de) => {
13078
- const { name: re, endpoint: Ge, region: Re, service: Fe } = de;
13077
+ REST: w.reduce((K, pe) => {
13078
+ const { name: re, endpoint: Ge, region: Re, service: Fe } = pe;
13079
13079
  return {
13080
13080
  ...K,
13081
13081
  [re]: {
@@ -13150,34 +13150,34 @@ function ng(e) {
13150
13150
  S3: {
13151
13151
  bucket: t,
13152
13152
  region: n,
13153
- buckets: r && pg(r)
13153
+ buckets: r && dg(r)
13154
13154
  }
13155
13155
  };
13156
13156
  }
13157
13157
  function rg(e) {
13158
13158
  if (!e)
13159
13159
  return;
13160
- const { user_pool_id: t, user_pool_client_id: n, identity_pool_id: r, password_policy: i, mfa_configuration: o, mfa_methods: a, unauthenticated_identities_enabled: s, oauth: l, username_attributes: c, standard_required_attributes: u, groups: f } = e, p = {
13160
+ const { user_pool_id: t, user_pool_client_id: n, identity_pool_id: r, password_policy: i, mfa_configuration: o, mfa_methods: a, unauthenticated_identities_enabled: s, oauth: l, username_attributes: c, standard_required_attributes: u, groups: f } = e, d = {
13161
13161
  Cognito: {
13162
13162
  userPoolId: t,
13163
13163
  userPoolClientId: n,
13164
13164
  groups: f
13165
13165
  }
13166
13166
  };
13167
- return r && (p.Cognito = {
13168
- ...p.Cognito,
13167
+ return r && (d.Cognito = {
13168
+ ...d.Cognito,
13169
13169
  identityPoolId: r
13170
- }), i && (p.Cognito.passwordFormat = {
13170
+ }), i && (d.Cognito.passwordFormat = {
13171
13171
  requireLowercase: i.require_lowercase,
13172
13172
  requireNumbers: i.require_numbers,
13173
13173
  requireUppercase: i.require_uppercase,
13174
13174
  requireSpecialCharacters: i.require_symbols,
13175
13175
  minLength: i.min_length ?? 6
13176
- }), o && (p.Cognito.mfa = {
13177
- status: dg(o),
13176
+ }), o && (d.Cognito.mfa = {
13177
+ status: pg(o),
13178
13178
  smsEnabled: a?.includes("SMS"),
13179
13179
  totpEnabled: a?.includes("TOTP")
13180
- }), s && (p.Cognito.allowGuestAccess = s), l && (p.Cognito.loginWith = {
13180
+ }), s && (d.Cognito.allowGuestAccess = s), l && (d.Cognito.loginWith = {
13181
13181
  oauth: {
13182
13182
  domain: l.domain,
13183
13183
  redirectSignIn: l.redirect_sign_in_uri,
@@ -13186,13 +13186,13 @@ function rg(e) {
13186
13186
  scopes: l.scopes,
13187
13187
  providers: fg(l.identity_providers)
13188
13188
  }
13189
- }), c && (p.Cognito.loginWith = {
13190
- ...p.Cognito.loginWith,
13189
+ }), c && (d.Cognito.loginWith = {
13190
+ ...d.Cognito.loginWith,
13191
13191
  email: c.includes("email"),
13192
13192
  phone: c.includes("phone_number"),
13193
13193
  // Signing in with a username is not currently supported in Gen2, this should always evaluate to false
13194
13194
  username: c.includes("username")
13195
- }), u && (p.Cognito.userAttributes = u.reduce((d, h) => ({ ...d, [h]: { required: !0 } }), {})), p;
13195
+ }), u && (d.Cognito.userAttributes = u.reduce((p, h) => ({ ...p, [h]: { required: !0 } }), {})), d;
13196
13196
  }
13197
13197
  function ig(e) {
13198
13198
  if (!e?.amazon_pinpoint)
@@ -13291,10 +13291,10 @@ const ro = {
13291
13291
  function fg(e = []) {
13292
13292
  return e.reduce((t, n) => (ro[n] !== void 0 && t.push(ro[n]), t), []);
13293
13293
  }
13294
- function dg(e) {
13294
+ function pg(e) {
13295
13295
  return e === "OPTIONAL" ? "optional" : e === "REQUIRED" ? "on" : "off";
13296
13296
  }
13297
- function pg(e) {
13297
+ function dg(e) {
13298
13298
  const t = {};
13299
13299
  return e.forEach(({ name: n, bucket_name: r, aws_region: i, paths: o }) => {
13300
13300
  if (n in t)
@@ -13452,36 +13452,36 @@ function mg(e, t, n) {
13452
13452
  return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), s("next"), s("throw"), s("return", a), i[Symbol.asyncIterator] = function() {
13453
13453
  return this;
13454
13454
  }, i;
13455
- function a(d) {
13455
+ function a(p) {
13456
13456
  return function(h) {
13457
- return Promise.resolve(h).then(d, f);
13457
+ return Promise.resolve(h).then(p, f);
13458
13458
  };
13459
13459
  }
13460
- function s(d, h) {
13461
- r[d] && (i[d] = function(b) {
13460
+ function s(p, h) {
13461
+ r[p] && (i[p] = function(b) {
13462
13462
  return new Promise(function(k, y) {
13463
- o.push([d, b, k, y]) > 1 || l(d, b);
13463
+ o.push([p, b, k, y]) > 1 || l(p, b);
13464
13464
  });
13465
- }, h && (i[d] = h(i[d])));
13465
+ }, h && (i[p] = h(i[p])));
13466
13466
  }
13467
- function l(d, h) {
13467
+ function l(p, h) {
13468
13468
  try {
13469
- c(r[d](h));
13469
+ c(r[p](h));
13470
13470
  } catch (b) {
13471
- p(o[0][3], b);
13471
+ d(o[0][3], b);
13472
13472
  }
13473
13473
  }
13474
- function c(d) {
13475
- d.value instanceof ct ? Promise.resolve(d.value.v).then(u, f) : p(o[0][2], d);
13474
+ function c(p) {
13475
+ p.value instanceof ct ? Promise.resolve(p.value.v).then(u, f) : d(o[0][2], p);
13476
13476
  }
13477
- function u(d) {
13478
- l("next", d);
13477
+ function u(p) {
13478
+ l("next", p);
13479
13479
  }
13480
- function f(d) {
13481
- l("throw", d);
13480
+ function f(p) {
13481
+ l("throw", p);
13482
13482
  }
13483
- function p(d, h) {
13484
- d(h), o.shift(), o.length && l(o[0][0], o[0][1]);
13483
+ function d(p, h) {
13484
+ p(h), o.shift(), o.length && l(o[0][0], o[0][1]);
13485
13485
  }
13486
13486
  }
13487
13487
  function gg(e) {
@@ -13607,16 +13607,16 @@ var Ee = 64, bg = 32, yg = new Uint32Array([
13607
13607
  o[i * 4] = this.state[i] >>> 24 & 255, o[i * 4 + 1] = this.state[i] >>> 16 & 255, o[i * 4 + 2] = this.state[i] >>> 8 & 255, o[i * 4 + 3] = this.state[i] >>> 0 & 255;
13608
13608
  return o;
13609
13609
  }, e.prototype.hashBuffer = function() {
13610
- for (var t = this, n = t.buffer, r = t.state, i = r[0], o = r[1], a = r[2], s = r[3], l = r[4], c = r[5], u = r[6], f = r[7], p = 0; p < Ee; p++) {
13611
- if (p < 16)
13612
- this.temp[p] = (n[p * 4] & 255) << 24 | (n[p * 4 + 1] & 255) << 16 | (n[p * 4 + 2] & 255) << 8 | n[p * 4 + 3] & 255;
13610
+ for (var t = this, n = t.buffer, r = t.state, i = r[0], o = r[1], a = r[2], s = r[3], l = r[4], c = r[5], u = r[6], f = r[7], d = 0; d < Ee; d++) {
13611
+ if (d < 16)
13612
+ this.temp[d] = (n[d * 4] & 255) << 24 | (n[d * 4 + 1] & 255) << 16 | (n[d * 4 + 2] & 255) << 8 | n[d * 4 + 3] & 255;
13613
13613
  else {
13614
- var d = this.temp[p - 2], h = (d >>> 17 | d << 15) ^ (d >>> 19 | d << 13) ^ d >>> 10;
13615
- d = this.temp[p - 15];
13616
- var b = (d >>> 7 | d << 25) ^ (d >>> 18 | d << 14) ^ d >>> 3;
13617
- this.temp[p] = (h + this.temp[p - 7] | 0) + (b + this.temp[p - 16] | 0);
13614
+ var p = this.temp[d - 2], h = (p >>> 17 | p << 15) ^ (p >>> 19 | p << 13) ^ p >>> 10;
13615
+ p = this.temp[d - 15];
13616
+ var b = (p >>> 7 | p << 25) ^ (p >>> 18 | p << 14) ^ p >>> 3;
13617
+ this.temp[d] = (h + this.temp[d - 7] | 0) + (b + this.temp[d - 16] | 0);
13618
13618
  }
13619
- var k = (((l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7)) + (l & c ^ ~l & u) | 0) + (f + (yg[p] + this.temp[p] | 0) | 0) | 0, y = ((i >>> 2 | i << 30) ^ (i >>> 13 | i << 19) ^ (i >>> 22 | i << 10)) + (i & o ^ i & a ^ o & a) | 0;
13619
+ var k = (((l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7)) + (l & c ^ ~l & u) | 0) + (f + (yg[d] + this.temp[d] | 0) | 0) | 0, y = ((i >>> 2 | i << 30) ^ (i >>> 13 | i << 19) ^ (i >>> 22 | i << 10)) + (i & o ^ i & a ^ o & a) | 0;
13620
13620
  f = u, u = c, c = l, l = s + k | 0, s = a, a = o, o = i, i = k + y | 0;
13621
13621
  }
13622
13622
  r[0] += i, r[1] += o, r[2] += a, r[3] += s, r[4] += l, r[5] += c, r[6] += u, r[7] += f;
@@ -13783,7 +13783,7 @@ function qg() {
13783
13783
  return e || t;
13784
13784
  }
13785
13785
  function Fg() {
13786
- return Wr() && typeof process.env == "object" && "VITE_ENVIRONMENT=dev tsc -b && vite build --mode dev".startsWith("ng ") || !1;
13786
+ return Wr() && typeof process.env == "object" && "VITE_ENVIRONMENT=prod tsc -b && vite build --mode prod".startsWith("ng ") || !1;
13787
13787
  }
13788
13788
  function Bg() {
13789
13789
  return typeof navigator < "u" && typeof navigator.product < "u" && navigator.product === "ReactNative";
@@ -13915,8 +13915,8 @@ var Gr = function() {
13915
13915
  if (f) {
13916
13916
  this._finalizers = null;
13917
13917
  try {
13918
- for (var p = Pt(f), d = p.next(); !d.done; d = p.next()) {
13919
- var h = d.value;
13918
+ for (var d = Pt(f), p = d.next(); !p.done; p = d.next()) {
13919
+ var h = p.value;
13920
13920
  try {
13921
13921
  xo(h);
13922
13922
  } catch (b) {
@@ -13927,7 +13927,7 @@ var Gr = function() {
13927
13927
  r = { error: b };
13928
13928
  } finally {
13929
13929
  try {
13930
- d && !d.done && (i = p.return) && i.call(p);
13930
+ p && !p.done && (i = d.return) && i.call(d);
13931
13931
  } finally {
13932
13932
  if (r) throw r.error;
13933
13933
  }
@@ -14164,12 +14164,12 @@ function ub(e) {
14164
14164
  function fb(e) {
14165
14165
  return e && e instanceof Kr || ub(e) && vs(e);
14166
14166
  }
14167
- function db(e) {
14167
+ function pb(e) {
14168
14168
  return le(e?.lift);
14169
14169
  }
14170
14170
  function Sn(e) {
14171
14171
  return function(t) {
14172
- if (db(t))
14172
+ if (pb(t))
14173
14173
  return t.lift(function(n) {
14174
14174
  try {
14175
14175
  return e(n, this);
@@ -14181,9 +14181,9 @@ function Sn(e) {
14181
14181
  };
14182
14182
  }
14183
14183
  function Jr(e, t, n, r, i) {
14184
- return new pb(e, t, n, r, i);
14184
+ return new db(e, t, n, r, i);
14185
14185
  }
14186
- var pb = function(e) {
14186
+ var db = function(e) {
14187
14187
  Vr(t, e);
14188
14188
  function t(n, r, i, o, a, s) {
14189
14189
  var l = e.call(this, n) || this;
@@ -14635,7 +14635,7 @@ function Db(e = zs) {
14635
14635
  return i > e ? !1 : i;
14636
14636
  };
14637
14637
  }
14638
- const dr = eg, Zr = URL, qs = URLSearchParams, Fs = (e) => Object.keys(e).map((t) => t.toLowerCase()).sort().join(";"), Pb = "X-Amz-Date", Mb = "X-Amz-Security-Token", zb = "authorization", qb = "host", Fb = Pb.toLowerCase(), Bb = Mb.toLowerCase(), Bs = "aws4_request", Us = "AWS4-HMAC-SHA256", Ub = "AWS4", jb = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", Hb = "UNSIGNED-PAYLOAD", Vb = (e, t, n) => `${e}/${t}/${n}/${Bs}`, $b = (e) => {
14638
+ const pr = eg, Zr = URL, qs = URLSearchParams, Fs = (e) => Object.keys(e).map((t) => t.toLowerCase()).sort().join(";"), Pb = "X-Amz-Date", Mb = "X-Amz-Security-Token", zb = "authorization", qb = "host", Fb = Pb.toLowerCase(), Bb = Mb.toLowerCase(), Bs = "aws4_request", Us = "AWS4-HMAC-SHA256", Ub = "AWS4", jb = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", Hb = "UNSIGNED-PAYLOAD", Vb = (e, t, n) => `${e}/${t}/${n}/${Bs}`, $b = (e) => {
14639
14639
  const t = e.toISOString().replace(/[:-]|\.\d{3}/g, "");
14640
14640
  return {
14641
14641
  longDate: t,
@@ -14657,14 +14657,14 @@ const dr = eg, Zr = URL, qs = URLSearchParams, Fs = (e) => Object.keys(e).map((t
14657
14657
  }, _t = (e, t) => {
14658
14658
  const n = new Cg(e ?? void 0);
14659
14659
  return n.update(t), n.digestSync();
14660
- }, pr = (e, t) => {
14660
+ }, dr = (e, t) => {
14661
14661
  const n = _t(e, t);
14662
14662
  return _g(n);
14663
14663
  }, Gb = (e) => Object.entries(e).map(([t, n]) => ({
14664
14664
  key: t.toLowerCase(),
14665
14665
  value: n?.trim().replace(/\s+/g, " ") ?? ""
14666
14666
  })).sort((t, n) => t.key < n.key ? -1 : 1).map((t) => `${t.key}:${t.value}
14667
- `).join(""), Kb = (e) => Array.from(e).sort(([t, n], [r, i]) => t === r ? n < i ? -1 : 1 : t < r ? -1 : 1).map(([t, n]) => `${Eo(t)}=${Eo(n)}`).join("&"), Eo = (e) => encodeURIComponent(e).replace(/[!'()*]/g, Yb), Yb = (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`, Jb = (e, t = !0) => e ? t ? encodeURIComponent(e).replace(/%2F/g, "/") : e : "/", Qb = (e) => e == null ? jb : Xb(e) ? pr(null, e) : Hb, Xb = (e) => typeof e == "string" || ArrayBuffer.isView(e) || Zb(e), Zb = (e) => typeof ArrayBuffer == "function" && e instanceof ArrayBuffer || Object.prototype.toString.call(e) === "[object ArrayBuffer]", ey = ({ body: e, headers: t, method: n, url: r }, i = !0) => [
14667
+ `).join(""), Kb = (e) => Array.from(e).sort(([t, n], [r, i]) => t === r ? n < i ? -1 : 1 : t < r ? -1 : 1).map(([t, n]) => `${Eo(t)}=${Eo(n)}`).join("&"), Eo = (e) => encodeURIComponent(e).replace(/[!'()*]/g, Yb), Yb = (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`, Jb = (e, t = !0) => e ? t ? encodeURIComponent(e).replace(/%2F/g, "/") : e : "/", Qb = (e) => e == null ? jb : Xb(e) ? dr(null, e) : Hb, Xb = (e) => typeof e == "string" || ArrayBuffer.isView(e) || Zb(e), Zb = (e) => typeof ArrayBuffer == "function" && e instanceof ArrayBuffer || Object.prototype.toString.call(e) === "[object ArrayBuffer]", ey = ({ body: e, headers: t, method: n, url: r }, i = !0) => [
14668
14668
  n,
14669
14669
  Jb(r.pathname, i),
14670
14670
  Kb(r.searchParams),
@@ -14677,13 +14677,13 @@ const dr = eg, Zr = URL, qs = URLSearchParams, Fs = (e) => Object.keys(e).map((t
14677
14677
  return _t(s, Bs);
14678
14678
  }, ny = (e, t, n) => [Us, e, t, n].join(`
14679
14679
  `), ry = (e, { credentialScope: t, longDate: n, secretAccessKey: r, shortDate: i, signingRegion: o, signingService: a, uriEscapePath: s }) => {
14680
- const l = ey(e, s), c = pr(null, l), u = ny(n, t, c);
14681
- return pr(ty(r, i, o, a), u);
14680
+ const l = ey(e, s), c = dr(null, l), u = ny(n, t, c);
14681
+ return dr(ty(r, i, o, a), u);
14682
14682
  }, iy = (e, t) => {
14683
14683
  const n = Wb(t), { accessKeyId: r, credentialScope: i, longDate: o, sessionToken: a } = n, s = { ...e.headers };
14684
14684
  s[qb] = e.url.host, s[Fb] = o, a && (s[Bb] = a);
14685
- const l = { ...e, headers: s }, c = ry(l, n), u = `Credential=${r}/${i}`, f = `SignedHeaders=${Fs(s)}`, p = `Signature=${c}`;
14686
- return s[zb] = `${Us} ${u}, ${f}, ${p}`, l;
14685
+ const l = { ...e, headers: s }, c = ry(l, n), u = `Credential=${r}/${i}`, f = `SignedHeaders=${Fs(s)}`, d = `Signature=${c}`;
14686
+ return s[zb] = `${Us} ${u}, ${f}, ${d}`, l;
14687
14687
  };
14688
14688
  function rn(e) {
14689
14689
  "@babel/helpers - typeof";
@@ -14712,11 +14712,11 @@ function js(e, t) {
14712
14712
  var n = e.locationOffset.column - 1, r = on(n) + e.body, i = t.line - 1, o = e.locationOffset.line - 1, a = t.line + o, s = t.line === 1 ? n : 0, l = t.column + s, c = "".concat(e.name, ":").concat(a, ":").concat(l, `
14713
14713
  `), u = r.split(/\r\n|[\n\r]/g), f = u[i];
14714
14714
  if (f.length > 120) {
14715
- for (var p = Math.floor(l / 80), d = l % 80, h = [], b = 0; b < f.length; b += 80)
14715
+ for (var d = Math.floor(l / 80), p = l % 80, h = [], b = 0; b < f.length; b += 80)
14716
14716
  h.push(f.slice(b, b + 80));
14717
- return c + _o([["".concat(a), h[0]]].concat(h.slice(1, p + 1).map(function(k) {
14717
+ return c + _o([["".concat(a), h[0]]].concat(h.slice(1, d + 1).map(function(k) {
14718
14718
  return ["", k];
14719
- }), [[" ", on(d - 1) + "^"], ["", h[p + 1]]]));
14719
+ }), [[" ", on(p - 1) + "^"], ["", h[d + 1]]]));
14720
14720
  }
14721
14721
  return c + _o([
14722
14722
  // Lines specified like this: ["prefix", "string"],
@@ -14783,14 +14783,14 @@ function fy(e, t) {
14783
14783
  if (!(e instanceof t))
14784
14784
  throw new TypeError("Cannot call a class as a function");
14785
14785
  }
14786
- function dy(e, t) {
14786
+ function py(e, t) {
14787
14787
  for (var n = 0; n < t.length; n++) {
14788
14788
  var r = t[n];
14789
14789
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
14790
14790
  }
14791
14791
  }
14792
- function py(e, t, n) {
14793
- return t && dy(e.prototype, t), e;
14792
+ function dy(e, t, n) {
14793
+ return t && py(e.prototype, t), e;
14794
14794
  }
14795
14795
  function hy(e, t) {
14796
14796
  if (typeof t != "function" && t !== null)
@@ -14868,32 +14868,32 @@ var $n = /* @__PURE__ */ function(e) {
14868
14868
  hy(n, e);
14869
14869
  var t = my(n);
14870
14870
  function n(r, i, o, a, s, l, c) {
14871
- var u, f, p, d;
14872
- fy(this, n), d = t.call(this, r), d.name = "GraphQLError", d.originalError = l ?? void 0, d.nodes = Io(Array.isArray(i) ? i : i ? [i] : void 0);
14873
- for (var h = [], b = 0, k = (y = d.nodes) !== null && y !== void 0 ? y : []; b < k.length; b++) {
14871
+ var u, f, d, p;
14872
+ fy(this, n), p = t.call(this, r), p.name = "GraphQLError", p.originalError = l ?? void 0, p.nodes = Io(Array.isArray(i) ? i : i ? [i] : void 0);
14873
+ for (var h = [], b = 0, k = (y = p.nodes) !== null && y !== void 0 ? y : []; b < k.length; b++) {
14874
14874
  var y, S = k[b], C = S.loc;
14875
14875
  C != null && h.push(C);
14876
14876
  }
14877
- h = Io(h), d.source = o ?? ((u = h) === null || u === void 0 ? void 0 : u[0].source), d.positions = a ?? ((f = h) === null || f === void 0 ? void 0 : f.map(function(O) {
14877
+ h = Io(h), p.source = o ?? ((u = h) === null || u === void 0 ? void 0 : u[0].source), p.positions = a ?? ((f = h) === null || f === void 0 ? void 0 : f.map(function(O) {
14878
14878
  return O.start;
14879
- })), d.locations = a && o ? a.map(function(O) {
14879
+ })), p.locations = a && o ? a.map(function(O) {
14880
14880
  return hr(o, O);
14881
- }) : (p = h) === null || p === void 0 ? void 0 : p.map(function(O) {
14881
+ }) : (d = h) === null || d === void 0 ? void 0 : d.map(function(O) {
14882
14882
  return hr(O.source, O.start);
14883
- }), d.path = s ?? void 0;
14883
+ }), p.path = s ?? void 0;
14884
14884
  var P = l?.extensions;
14885
- return c == null && oy(P) ? d.extensions = cy({}, P) : d.extensions = c ?? {}, Object.defineProperties(At(d), {
14885
+ return c == null && oy(P) ? p.extensions = cy({}, P) : p.extensions = c ?? {}, Object.defineProperties(At(p), {
14886
14886
  message: {
14887
14887
  enumerable: !0
14888
14888
  },
14889
14889
  locations: {
14890
- enumerable: d.locations != null
14890
+ enumerable: p.locations != null
14891
14891
  },
14892
14892
  path: {
14893
- enumerable: d.path != null
14893
+ enumerable: p.path != null
14894
14894
  },
14895
14895
  extensions: {
14896
- enumerable: d.extensions != null && Object.keys(d.extensions).length > 0
14896
+ enumerable: p.extensions != null && Object.keys(p.extensions).length > 0
14897
14897
  },
14898
14898
  name: {
14899
14899
  enumerable: !1
@@ -14910,17 +14910,17 @@ var $n = /* @__PURE__ */ function(e) {
14910
14910
  originalError: {
14911
14911
  enumerable: !1
14912
14912
  }
14913
- }), l != null && l.stack ? (Object.defineProperty(At(d), "stack", {
14913
+ }), l != null && l.stack ? (Object.defineProperty(At(p), "stack", {
14914
14914
  value: l.stack,
14915
14915
  writable: !0,
14916
14916
  configurable: !0
14917
- }), Hs(d)) : (Error.captureStackTrace ? Error.captureStackTrace(At(d), n) : Object.defineProperty(At(d), "stack", {
14917
+ }), Hs(p)) : (Error.captureStackTrace ? Error.captureStackTrace(At(p), n) : Object.defineProperty(At(p), "stack", {
14918
14918
  value: Error().stack,
14919
14919
  writable: !0,
14920
14920
  configurable: !0
14921
- }), d);
14921
+ }), p);
14922
14922
  }
14923
- return py(n, [{
14923
+ return dy(n, [{
14924
14924
  key: "toString",
14925
14925
  value: function() {
14926
14926
  return by(this);
@@ -14991,10 +14991,10 @@ var je;
14991
14991
  (function(e) {
14992
14992
  e[e.PENDING = 0] = "PENDING", e[e.CONNECTED = 1] = "CONNECTED", e[e.FAILED = 2] = "FAILED";
14993
14993
  })(je || (je = {}));
14994
- var pe;
14994
+ var de;
14995
14995
  (function(e) {
14996
14996
  e[e.CLOSED = 0] = "CLOSED", e[e.READY = 1] = "READY", e[e.CONNECTING = 2] = "CONNECTING";
14997
- })(pe || (pe = {}));
14997
+ })(de || (de = {}));
14998
14998
  const Ey = {
14999
14999
  accept: "application/json, text/javascript",
15000
15000
  "content-encoding": "amz-1.0",
@@ -15082,10 +15082,10 @@ class Oy {
15082
15082
  return t === "connected" && n === "disconnected" ? oe.ConnectedPendingNetwork : t === "connected" && r === "disconnected" ? oe.ConnectedPendingDisconnect : t === "disconnected" && r === "connected" && n === "disconnected" ? oe.ConnectionDisruptedPendingNetwork : t === "disconnected" && r === "connected" ? oe.ConnectionDisrupted : t === "connected" && i === "unhealthy" ? oe.ConnectedPendingKeepAlive : t === "connecting" ? oe.Connecting : t === "disconnected" ? oe.Disconnected : oe.Connected;
15083
15083
  }
15084
15084
  }
15085
- var pt;
15085
+ var dt;
15086
15086
  (function(e) {
15087
15087
  e.START_RECONNECT = "START_RECONNECT", e.HALT_RECONNECT = "HALT_RECONNECT";
15088
- })(pt || (pt = {}));
15088
+ })(dt || (dt = {}));
15089
15089
  class Ly {
15090
15090
  constructor() {
15091
15091
  this.reconnectObservers = [];
@@ -15100,11 +15100,11 @@ class Ly {
15100
15100
  * Given a reconnect event, start the appropriate behavior
15101
15101
  */
15102
15102
  record(t) {
15103
- t === pt.START_RECONNECT && this.reconnectSetTimeoutId === void 0 && this.reconnectIntervalId === void 0 && (this.reconnectSetTimeoutId = setTimeout(() => {
15103
+ t === dt.START_RECONNECT && this.reconnectSetTimeoutId === void 0 && this.reconnectIntervalId === void 0 && (this.reconnectSetTimeoutId = setTimeout(() => {
15104
15104
  this._triggerReconnect(), this.reconnectIntervalId = setInterval(() => {
15105
15105
  this._triggerReconnect();
15106
15106
  }, Ry);
15107
- }, Ny)), t === pt.HALT_RECONNECT && (this.reconnectIntervalId && (clearInterval(this.reconnectIntervalId), this.reconnectIntervalId = void 0), this.reconnectSetTimeoutId && (clearTimeout(this.reconnectSetTimeoutId), this.reconnectSetTimeoutId = void 0));
15107
+ }, Ny)), t === dt.HALT_RECONNECT && (this.reconnectIntervalId && (clearInterval(this.reconnectIntervalId), this.reconnectIntervalId = void 0), this.reconnectSetTimeoutId && (clearTimeout(this.reconnectSetTimeoutId), this.reconnectSetTimeoutId = void 0));
15108
15108
  }
15109
15109
  /**
15110
15110
  * Complete all reconnect observers
@@ -15221,7 +15221,7 @@ const Ro = "wss://", Dy = /^https:\/\/\w{26}\.appsync-api\.\w{2}(?:(?:-\w{2,})+)
15221
15221
  };
15222
15222
  class Vy {
15223
15223
  constructor(t) {
15224
- this.subscriptionObserverMap = /* @__PURE__ */ new Map(), this.allowNoSubscriptions = !1, this.socketStatus = pe.CLOSED, this.keepAliveTimestamp = Date.now(), this.promiseArray = [], this.connectionStateMonitor = new Oy(), this.reconnectionMonitor = new Ly(), this._establishConnection = async (n, r) => {
15224
+ this.subscriptionObserverMap = /* @__PURE__ */ new Map(), this.allowNoSubscriptions = !1, this.socketStatus = de.CLOSED, this.keepAliveTimestamp = Date.now(), this.promiseArray = [], this.connectionStateMonitor = new Oy(), this.reconnectionMonitor = new Ly(), this._establishConnection = async (n, r) => {
15225
15225
  this.logger.debug(`Establishing WebSocket connection to ${n}`);
15226
15226
  try {
15227
15227
  await this._openConnection(n, r), await this._initiateHandshake();
@@ -15237,7 +15237,7 @@ class Vy {
15237
15237
  * Mark the socket closed and release all active listeners
15238
15238
  */
15239
15239
  close() {
15240
- return this.socketStatus = pe.CLOSED, this.connectionStateMonitor.record(_e.CONNECTION_FAILED), this.connectionStateMonitorSubscription.unsubscribe(), this.reconnectionMonitor.close(), new Promise((t, n) => {
15240
+ return this.socketStatus = de.CLOSED, this.connectionStateMonitor.record(_e.CONNECTION_FAILED), this.connectionStateMonitorSubscription.unsubscribe(), this.reconnectionMonitor.close(), new Promise((t, n) => {
15241
15241
  this.awsRealTimeSocket ? (this.awsRealTimeSocket.onclose = (r) => {
15242
15242
  this._closeSocket(), this.subscriptionObserverMap = /* @__PURE__ */ new Map(), this.awsRealTimeSocket = void 0, t();
15243
15243
  }, this.awsRealTimeSocket.onerror = (r) => {
@@ -15258,7 +15258,7 @@ class Vy {
15258
15258
  return;
15259
15259
  }
15260
15260
  let i = !1;
15261
- const o = dr(), a = () => {
15261
+ const o = pr(), a = () => {
15262
15262
  i || (i = !0, this._startSubscriptionWithAWSAppSyncRealTime({
15263
15263
  options: t,
15264
15264
  observer: r,
@@ -15280,10 +15280,10 @@ class Vy {
15280
15280
  });
15281
15281
  }
15282
15282
  async connect(t) {
15283
- this.socketStatus !== pe.READY && await this._connectWebSocket(t);
15283
+ this.socketStatus !== de.READY && await this._connectWebSocket(t);
15284
15284
  }
15285
15285
  async publish(t, n) {
15286
- if (this.socketStatus !== pe.READY)
15286
+ if (this.socketStatus !== de.READY)
15287
15287
  throw new Error("Subscription has not been initialized");
15288
15288
  return this._publishMessage(t, n);
15289
15289
  }
@@ -15298,7 +15298,7 @@ class Vy {
15298
15298
  });
15299
15299
  }
15300
15300
  async _publishMessage(t, n) {
15301
- const r = dr(), { additionalCustomHeaders: i, libraryConfigHeaders: o } = await Wn(t), a = await this._prepareSubscriptionPayload({
15301
+ const r = pr(), { additionalCustomHeaders: i, libraryConfigHeaders: o } = await Wn(t), a = await this._prepareSubscriptionPayload({
15302
15302
  options: t,
15303
15303
  subscriptionId: r,
15304
15304
  customUserAgentDetails: n,
@@ -15308,17 +15308,17 @@ class Vy {
15308
15308
  });
15309
15309
  return new Promise((s, l) => {
15310
15310
  if (this.awsRealTimeSocket) {
15311
- const c = (d) => {
15312
- const h = JSON.parse(d.data);
15313
- if (h.id === r && h.type === "publish_success" && (this.awsRealTimeSocket && this.awsRealTimeSocket.removeEventListener("message", c), p(), s()), h.errors && h.errors.length > 0) {
15311
+ const c = (p) => {
15312
+ const h = JSON.parse(p.data);
15313
+ if (h.id === r && h.type === "publish_success" && (this.awsRealTimeSocket && this.awsRealTimeSocket.removeEventListener("message", c), d(), s()), h.errors && h.errors.length > 0) {
15314
15314
  const b = h.errors.map((k) => k.errorType);
15315
- p(), l(new Error(`Publish errors: ${b.join(", ")}`));
15315
+ d(), l(new Error(`Publish errors: ${b.join(", ")}`));
15316
15316
  }
15317
- }, u = (d) => {
15318
- p(), l(new Error(`WebSocket error: ${d}`));
15317
+ }, u = (p) => {
15318
+ d(), l(new Error(`WebSocket error: ${p}`));
15319
15319
  }, f = () => {
15320
- p(), l(new Error("WebSocket is closed"));
15321
- }, p = () => {
15320
+ d(), l(new Error("WebSocket is closed"));
15321
+ }, d = () => {
15322
15322
  this.awsRealTimeSocket?.removeEventListener("message", c), this.awsRealTimeSocket?.removeEventListener("error", u), this.awsRealTimeSocket?.removeEventListener("close", f);
15323
15323
  };
15324
15324
  this.awsRealTimeSocket.addEventListener("message", c), this.awsRealTimeSocket.addEventListener("error", u), this.awsRealTimeSocket.addEventListener("close", f), this.awsRealTimeSocket.send(a);
@@ -15353,14 +15353,14 @@ class Vy {
15353
15353
  connectionState: t
15354
15354
  },
15355
15355
  message: `Connection state is ${t}`
15356
- }), this.connectionState = t, t === oe.ConnectionDisrupted && this.reconnectionMonitor.record(pt.START_RECONNECT), [
15356
+ }), this.connectionState = t, t === oe.ConnectionDisrupted && this.reconnectionMonitor.record(dt.START_RECONNECT), [
15357
15357
  oe.Connected,
15358
15358
  oe.ConnectedPendingDisconnect,
15359
15359
  oe.ConnectedPendingKeepAlive,
15360
15360
  oe.ConnectedPendingNetwork,
15361
15361
  oe.ConnectionDisruptedPendingNetwork,
15362
15362
  oe.Disconnected
15363
- ].includes(t) && this.reconnectionMonitor.record(pt.HALT_RECONNECT);
15363
+ ].includes(t) && this.reconnectionMonitor.record(dt.HALT_RECONNECT);
15364
15364
  });
15365
15365
  }
15366
15366
  async _startSubscriptionWithAWSAppSyncRealTime({ options: t, observer: n, subscriptionId: r, customUserAgentDetails: i }) {
@@ -15381,8 +15381,8 @@ class Vy {
15381
15381
  });
15382
15382
  try {
15383
15383
  await this._connectWebSocket(t);
15384
- } catch (p) {
15385
- this._logStartSubscriptionError(r, n, p);
15384
+ } catch (d) {
15385
+ this._logStartSubscriptionError(r, n, d);
15386
15386
  return;
15387
15387
  }
15388
15388
  const { subscriptionFailedCallback: u, subscriptionReadyCallback: f } = this.subscriptionObserverMap.get(r) ?? {};
@@ -15403,7 +15403,7 @@ class Vy {
15403
15403
  this.logger.debug({ err: r });
15404
15404
  const i = String(r.message ?? "");
15405
15405
  if (this._closeSocket(), this.connectionState !== oe.ConnectionDisruptedPendingNetwork) {
15406
- ps(r) ? n.error({
15406
+ ds(r) ? n.error({
15407
15407
  errors: [
15408
15408
  {
15409
15409
  ...new $n(`${Le.CONNECTION_FAILED}: ${i}`)
@@ -15435,7 +15435,7 @@ class Vy {
15435
15435
  }
15436
15436
  _sendUnsubscriptionMessage(t) {
15437
15437
  try {
15438
- if (this.awsRealTimeSocket && this.awsRealTimeSocket.readyState === WebSocket.OPEN && this.socketStatus === pe.READY) {
15438
+ if (this.awsRealTimeSocket && this.awsRealTimeSocket.readyState === WebSocket.OPEN && this.socketStatus === de.READY) {
15439
15439
  const n = this._unsubscribeMessage(t), r = JSON.stringify(n);
15440
15440
  this.awsRealTimeSocket.send(r);
15441
15441
  }
@@ -15449,7 +15449,7 @@ class Vy {
15449
15449
  _closeSocketIfRequired() {
15450
15450
  if (!(this.subscriptionObserverMap.size > 0)) {
15451
15451
  if (!this.awsRealTimeSocket) {
15452
- this.socketStatus = pe.CLOSED;
15452
+ this.socketStatus = de.CLOSED;
15453
15453
  return;
15454
15454
  }
15455
15455
  if (this.connectionStateMonitor.record(_e.CLOSING_CONNECTION), this.awsRealTimeSocket.bufferedAmount > 0)
@@ -15457,7 +15457,7 @@ class Vy {
15457
15457
  else {
15458
15458
  this.logger.debug("closing WebSocket...");
15459
15459
  const t = this.awsRealTimeSocket;
15460
- t.onclose = null, t.onerror = null, t.close(1e3), this.awsRealTimeSocket = void 0, this.socketStatus = pe.CLOSED, this._closeSocket();
15460
+ t.onclose = null, t.onerror = null, t.close(1e3), this.awsRealTimeSocket = void 0, this.socketStatus = de.CLOSED, this._closeSocket();
15461
15461
  }
15462
15462
  }
15463
15463
  }
@@ -15476,22 +15476,22 @@ class Vy {
15476
15476
  this.maintainKeepAlive();
15477
15477
  return;
15478
15478
  }
15479
- const { type: i, id: o, payload: a } = r, { observer: s = null, query: l = "", variables: c = {}, startAckTimeoutId: u, subscriptionReadyCallback: f, subscriptionFailedCallback: p } = this.subscriptionObserverMap.get(o) || {};
15479
+ const { type: i, id: o, payload: a } = r, { observer: s = null, query: l = "", variables: c = {}, startAckTimeoutId: u, subscriptionReadyCallback: f, subscriptionFailedCallback: d } = this.subscriptionObserverMap.get(o) || {};
15480
15480
  if (i === ve.GQL_START_ACK || i === ve.EVENT_SUBSCRIBE_ACK) {
15481
15481
  this.logger.debug(`subscription ready for ${JSON.stringify({ query: l, variables: c })}`), typeof f == "function" && f(), u && clearTimeout(u), Mo({
15482
15482
  event: Le.SUBSCRIPTION_ACK,
15483
15483
  data: { query: l, variables: c },
15484
15484
  message: "Connection established for subscription"
15485
15485
  });
15486
- const d = je.CONNECTED;
15486
+ const p = je.CONNECTED;
15487
15487
  s && this.subscriptionObserverMap.set(o, {
15488
15488
  observer: s,
15489
15489
  query: l,
15490
15490
  variables: c,
15491
15491
  startAckTimeoutId: void 0,
15492
- subscriptionState: d,
15492
+ subscriptionState: p,
15493
15493
  subscriptionReadyCallback: f,
15494
- subscriptionFailedCallback: p
15494
+ subscriptionFailedCallback: d
15495
15495
  }), this.connectionStateMonitor.record(_e.CONNECTION_ESTABLISHED);
15496
15496
  return;
15497
15497
  }
@@ -15500,26 +15500,26 @@ class Vy {
15500
15500
  return;
15501
15501
  }
15502
15502
  if (i === ve.GQL_ERROR) {
15503
- const d = je.FAILED;
15503
+ const p = je.FAILED;
15504
15504
  s && (this.subscriptionObserverMap.set(o, {
15505
15505
  observer: s,
15506
15506
  query: l,
15507
15507
  variables: c,
15508
15508
  startAckTimeoutId: u,
15509
15509
  subscriptionReadyCallback: f,
15510
- subscriptionFailedCallback: p,
15511
- subscriptionState: d
15510
+ subscriptionFailedCallback: d,
15511
+ subscriptionState: p
15512
15512
  }), this.logger.debug(`${Le.CONNECTION_FAILED}: ${JSON.stringify(a ?? r)}`), s.error({
15513
15513
  errors: [
15514
15514
  {
15515
15515
  ...new $n(`${Le.CONNECTION_FAILED}: ${JSON.stringify(a ?? r)}`)
15516
15516
  }
15517
15517
  ]
15518
- }), u && clearTimeout(u), typeof p == "function" && p());
15518
+ }), u && clearTimeout(u), typeof d == "function" && d());
15519
15519
  }
15520
15520
  }
15521
15521
  _errorDisconnect(t) {
15522
- this.logger.debug(`Disconnect error: ${t}`), this.awsRealTimeSocket && (this._closeSocket(), this.awsRealTimeSocket.close()), this.socketStatus = pe.CLOSED;
15522
+ this.logger.debug(`Disconnect error: ${t}`), this.awsRealTimeSocket && (this._closeSocket(), this.awsRealTimeSocket.close()), this.socketStatus = de.CLOSED;
15523
15523
  }
15524
15524
  _closeSocket() {
15525
15525
  this.keepAliveHeartbeatIntervalId && (clearInterval(this.keepAliveHeartbeatIntervalId), this.keepAliveHeartbeatIntervalId = void 0), this.connectionStateMonitor.record(_e.CLOSED);
@@ -15539,11 +15539,11 @@ class Vy {
15539
15539
  }
15540
15540
  }
15541
15541
  _initializeWebSocketConnection({ appSyncGraphqlEndpoint: t, authenticationType: n, apiKey: r, region: i, additionalCustomHeaders: o }) {
15542
- if (this.socketStatus !== pe.READY)
15542
+ if (this.socketStatus !== de.READY)
15543
15543
  return new Promise(async (a, s) => {
15544
- if (this.promiseArray.push({ res: a, rej: s }), this.socketStatus === pe.CLOSED)
15544
+ if (this.promiseArray.push({ res: a, rej: s }), this.socketStatus === de.CLOSED)
15545
15545
  try {
15546
- this.socketStatus = pe.CONNECTING;
15546
+ this.socketStatus = de.CONNECTING;
15547
15547
  const c = await Ws({
15548
15548
  authenticationType: n,
15549
15549
  payload: "{}",
@@ -15552,17 +15552,17 @@ class Vy {
15552
15552
  appSyncGraphqlEndpoint: t,
15553
15553
  region: i,
15554
15554
  additionalCustomHeaders: o
15555
- }), u = c ? JSON.stringify(c) : "", p = `header-${vy.convert(u, {
15555
+ }), u = c ? JSON.stringify(c) : "", d = `header-${vy.convert(u, {
15556
15556
  urlSafe: !0,
15557
15557
  skipPadding: !0
15558
- })}`, d = By(o), h = Uy(t, d);
15559
- await this._establishRetryableConnection(h, p), this.promiseArray.forEach(({ res: b }) => {
15558
+ })}`, p = By(o), h = Uy(t, p);
15559
+ await this._establishRetryableConnection(h, d), this.promiseArray.forEach(({ res: b }) => {
15560
15560
  this.logger.debug("Notifying connection successful"), b();
15561
- }), this.socketStatus = pe.READY, this.promiseArray = [];
15561
+ }), this.socketStatus = de.READY, this.promiseArray = [];
15562
15562
  } catch (l) {
15563
15563
  this.logger.debug("Connection exited with", l), this.promiseArray.forEach(({ rej: c }) => {
15564
15564
  c(l);
15565
- }), this.promiseArray = [], this.awsRealTimeSocket && this.awsRealTimeSocket.readyState === WebSocket.OPEN && this.awsRealTimeSocket.close(3001), this.awsRealTimeSocket = void 0, this.socketStatus = pe.CLOSED;
15565
+ }), this.promiseArray = [], this.awsRealTimeSocket && this.awsRealTimeSocket.readyState === WebSocket.OPEN && this.awsRealTimeSocket.close(3001), this.awsRealTimeSocket = void 0, this.socketStatus = de.CLOSED;
15566
15566
  }
15567
15567
  });
15568
15568
  }
@@ -15682,10 +15682,10 @@ class Ky extends Vy {
15682
15682
  this._closeSocketIfRequired();
15683
15683
  }
15684
15684
  async _prepareSubscriptionPayload({ options: t, subscriptionId: n, customUserAgentDetails: r, additionalCustomHeaders: i, libraryConfigHeaders: o, publish: a }) {
15685
- const { appSyncGraphqlEndpoint: s, authenticationType: l, query: c, apiKey: u, region: f, variables: p } = t, d = {
15685
+ const { appSyncGraphqlEndpoint: s, authenticationType: l, query: c, apiKey: u, region: f, variables: d } = t, p = {
15686
15686
  channel: c,
15687
- events: p !== void 0 ? Gn(p) : void 0
15688
- }, h = JSON.stringify(d), b = {
15687
+ events: d !== void 0 ? Gn(d) : void 0
15688
+ }, h = JSON.stringify(p), b = {
15689
15689
  ...await Ws({
15690
15690
  apiKey: u,
15691
15691
  appSyncGraphqlEndpoint: s,
@@ -15701,12 +15701,12 @@ class Ky extends Vy {
15701
15701
  }, k = {
15702
15702
  id: n,
15703
15703
  channel: c,
15704
- events: p !== void 0 ? Gn(p) : void 0,
15704
+ events: d !== void 0 ? Gn(d) : void 0,
15705
15705
  authorization: {
15706
15706
  ...b
15707
15707
  },
15708
15708
  payload: {
15709
- events: p !== void 0 ? Gn(p) : void 0,
15709
+ events: d !== void 0 ? Gn(d) : void 0,
15710
15710
  channel: c,
15711
15711
  extensions: {
15712
15712
  authorization: {
@@ -15746,7 +15746,7 @@ const Xt = new Ky(), Et = /* @__PURE__ */ new Set();
15746
15746
  async function Yy(e, t) {
15747
15747
  const n = $y();
15748
15748
  n.authenticationType = ln(t?.authMode, n.authenticationType), n.apiKey = n.apiKey, n.authToken = n.authToken, await Xt.connect(n);
15749
- const r = dr();
15749
+ const r = pr();
15750
15750
  Et.add(r);
15751
15751
  let i;
15752
15752
  return {
@@ -15819,7 +15819,7 @@ function rw({
15819
15819
  Pl(c, f, u)
15820
15820
  ), o(!0));
15821
15821
  }, [c, f, u]);
15822
- const p = async (S) => {
15822
+ const d = async (S) => {
15823
15823
  if (!i || !S)
15824
15824
  throw new Error(
15825
15825
  "Cannot connect: Amplify not ready or missing conversationId"
@@ -15841,7 +15841,7 @@ function rw({
15841
15841
  const M = v.data, T = M.data.type;
15842
15842
  switch (T) {
15843
15843
  case "utterance":
15844
- return d(
15844
+ return p(
15845
15845
  M,
15846
15846
  S
15847
15847
  );
@@ -15859,7 +15859,7 @@ function rw({
15859
15859
  console.error("Error in conversation channel:", O);
15860
15860
  }
15861
15861
  }), await y();
15862
- }, d = (S, C) => {
15862
+ }, p = (S, C) => {
15863
15863
  const P = {
15864
15864
  message_id: S.message_id,
15865
15865
  response: {
@@ -15894,7 +15894,7 @@ function rw({
15894
15894
  const { payload: C } = S;
15895
15895
  C.event === $s && (C.data?.connectionState === "Connected" ? a.current = !0 : a.current = !1);
15896
15896
  }
15897
- ), { connect: p, disconnect: k };
15897
+ ), { connect: d, disconnect: k };
15898
15898
  }
15899
15899
  function iw({
15900
15900
  appId: e,
@@ -15910,7 +15910,7 @@ function iw({
15910
15910
  setCurrentConversation: u,
15911
15911
  chatOpen: f
15912
15912
  }) {
15913
- const { saveConversationData: p, clearConversationData: d, updateLastActivity: h } = Ur({ appId: e }), { publishApiError: b } = vn(), { showCognition: k, hideCognition: y } = as(), S = X(
15913
+ const { saveConversationData: d, clearConversationData: p, updateLastActivity: h } = Ur({ appId: e }), { publishApiError: b } = vn(), { showCognition: k, hideCognition: y } = as(), S = X(
15914
15914
  (w, N) => {
15915
15915
  y(), l((A) => {
15916
15916
  const _ = A.filter((V) => !V.isThinking);
@@ -15927,7 +15927,7 @@ function iw({
15927
15927
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
15928
15928
  }
15929
15929
  ];
15930
- return p(
15930
+ return d(
15931
15931
  N,
15932
15932
  t,
15933
15933
  z,
@@ -15935,7 +15935,7 @@ function iw({
15935
15935
  ), z;
15936
15936
  });
15937
15937
  },
15938
- [i, y, p, l, t]
15938
+ [i, y, d, l, t]
15939
15939
  ), C = X(() => {
15940
15940
  y(), l((w) => w.filter((N) => !N.isThinking));
15941
15941
  }, [l, y]), { connect: P, disconnect: O } = rw({
@@ -15953,11 +15953,11 @@ function iw({
15953
15953
  }), T = X(() => {
15954
15954
  O(), M(), l(
15955
15955
  (w) => w.filter((N) => Array.isArray(N) ? !1 : N.isWelcomeMessage)
15956
- ), d(), u(null);
15956
+ ), p(), u(null);
15957
15957
  }, [
15958
15958
  O,
15959
15959
  M,
15960
- d,
15960
+ p,
15961
15961
  l,
15962
15962
  u
15963
15963
  ]), D = X(
@@ -15993,7 +15993,7 @@ function iw({
15993
15993
  } catch (_) {
15994
15994
  throw y(), l(
15995
15995
  (R) => R.filter((z) => !z.isThinking)
15996
- ), b(_), _ instanceof ar && _.status >= 500 && (u(null), d(), l((R) => R.slice(0, -1)), o.reset()), _;
15996
+ ), b(_), _ instanceof ar && _.status >= 500 && (u(null), p(), l((R) => R.slice(0, -1)), o.reset()), _;
15997
15997
  }
15998
15998
  },
15999
15999
  [
@@ -16011,7 +16011,7 @@ function iw({
16011
16011
  P,
16012
16012
  y,
16013
16013
  b,
16014
- d,
16014
+ p,
16015
16015
  n
16016
16016
  ]
16017
16017
  );
@@ -16089,32 +16089,32 @@ function aw(e, t, n) {
16089
16089
  se(() => (f.current = !0, () => {
16090
16090
  f.current = !1;
16091
16091
  }));
16092
- const p = X(async () => {
16092
+ const d = X(async () => {
16093
16093
  if (Zt.has(e)) {
16094
- const d = Zt.get(e);
16095
- return o(d), d;
16094
+ const p = Zt.get(e);
16095
+ return o(p), p;
16096
16096
  }
16097
16097
  u(!0), l(void 0);
16098
16098
  try {
16099
16099
  if (r && en.has(e))
16100
16100
  return await en.get(e);
16101
- const d = t();
16102
- r && en.set(e, d);
16103
- const h = await d;
16101
+ const p = t();
16102
+ r && en.set(e, p);
16103
+ const h = await p;
16104
16104
  return Zt.set(e, h), f.current && o(h), h;
16105
- } catch (d) {
16106
- throw a(d), f.current && l(d), d;
16105
+ } catch (p) {
16106
+ throw a(p), f.current && l(p), p;
16107
16107
  } finally {
16108
16108
  en.delete(e), f.current && u(!1);
16109
16109
  }
16110
16110
  }, [e, r, t, a]);
16111
- return { data: i, error: s, isLoading: c, fetch: p };
16111
+ return { data: i, error: s, isLoading: c, fetch: d };
16112
16112
  }
16113
16113
  function sw(e) {
16114
16114
  const { appId: t, initialUserId: n } = e, { getSavedConversationData: r } = Ur({ appId: t }), [i, o] = W(!1), [a, s] = W(""), [l, c] = W(""), [u, f] = W(null);
16115
16115
  return ie(() => {
16116
- const p = r();
16117
- p?.userId ? p?.externalId !== n ? (s(p.userId), f(n)) : (s(p?.userId), f(p.externalId)) : n ? (s(n), f(n)) : s(crypto.randomUUID()), c(p?.deviceId || crypto.randomUUID()), o(!0);
16116
+ const d = r();
16117
+ d?.userId ? d?.externalId !== n ? (s(d.userId), f(n)) : (s(d?.userId), f(d.externalId)) : n ? (s(n), f(n)) : s(crypto.randomUUID()), c(d?.deviceId || crypto.randomUUID()), o(!0);
16118
16118
  }, [r, n]), {
16119
16119
  isReady: i,
16120
16120
  userId: a,
@@ -16141,7 +16141,7 @@ function lw({
16141
16141
  baseURL: u,
16142
16142
  appId: e
16143
16143
  })
16144
- ), [p, d] = W(null), [h, b] = W(null), [k, y] = W([]), [S, C] = W(!1), O = aw(`sdk-boot-${e}`, () => f.boot()).fetch;
16144
+ ), [d, p] = W(null), [h, b] = W(null), [k, y] = W([]), [S, C] = W(!1), O = aw(`sdk-boot-${e}`, () => f.boot()).fetch;
16145
16145
  return ie(() => {
16146
16146
  if (s())
16147
16147
  l();
@@ -16164,7 +16164,7 @@ function lw({
16164
16164
  return;
16165
16165
  }
16166
16166
  const D = M.chat_settings.welcome_message;
16167
- d(M.chat_settings), D && k.length === 0 && y([
16167
+ p(M.chat_settings), D && k.length === 0 && y([
16168
16168
  {
16169
16169
  id: crypto.randomUUID(),
16170
16170
  content: D,
@@ -16180,7 +16180,7 @@ function lw({
16180
16180
  externalId: i,
16181
16181
  deviceId: o,
16182
16182
  apiClient: f,
16183
- chatSettings: p,
16183
+ chatSettings: d,
16184
16184
  currentConversation: h,
16185
16185
  messages: k,
16186
16186
  isReady: S
@@ -16221,8 +16221,8 @@ function uw({
16221
16221
  const { isMobile: l, portalContainer: c } = cw(o), {
16222
16222
  userId: u,
16223
16223
  userName: f,
16224
- externalId: p,
16225
- deviceId: d,
16224
+ externalId: d,
16225
+ deviceId: p,
16226
16226
  apiClient: h,
16227
16227
  chatSettings: b,
16228
16228
  currentConversation: k,
@@ -16242,8 +16242,8 @@ function uw({
16242
16242
  appId: t,
16243
16243
  userId: u,
16244
16244
  userName: f,
16245
- externalId: p,
16246
- deviceId: d,
16245
+ externalId: d,
16246
+ deviceId: p,
16247
16247
  apiClient: h,
16248
16248
  chatSettings: b,
16249
16249
  setMessages: T,
@@ -16257,14 +16257,14 @@ function uw({
16257
16257
  }, [y]), ie(() => {
16258
16258
  k && w(k);
16259
16259
  }, [k]), ie(() => {
16260
- D && p && h?.identifyUser({
16260
+ D && d && h?.identifyUser({
16261
16261
  userId: u,
16262
16262
  userName: f,
16263
- externalId: p,
16264
- deviceId: d,
16263
+ externalId: d,
16264
+ deviceId: p,
16265
16265
  conversationId: D.id
16266
16266
  });
16267
- }, [p, u, f, d, D, h]);
16267
+ }, [d, u, f, p, D, h]);
16268
16268
  const z = X(() => {
16269
16269
  A((V) => ({
16270
16270
  ...V,
@@ -16314,13 +16314,13 @@ function fw() {
16314
16314
  hideCognition: s
16315
16315
  };
16316
16316
  }
16317
- function dw({
16317
+ function pw({
16318
16318
  children: e
16319
16319
  }) {
16320
16320
  const t = fw();
16321
16321
  return /* @__PURE__ */ x(os.Provider, { value: t, children: e });
16322
16322
  }
16323
- const pw = ({
16323
+ const dw = ({
16324
16324
  children: e
16325
16325
  }) => {
16326
16326
  const [t, n] = W(null), r = Cm(n), a = {
@@ -16344,8 +16344,8 @@ function hw({
16344
16344
  INTERNAL_ONLY_CHAT_INTERFACE_ONLY: c = !1,
16345
16345
  INTERNAL_ONLY_FEATURE_HIDE_PROACTIVE_MESSAGE: u = !1,
16346
16346
  INTERNAL_ONLY_BLOCK_STYLE: f = !1,
16347
- INTERNAL_ONLY_FEATURE_MESSAGE_CLICK: p = void 0,
16348
- INTERNAL_ONLY_FEATURE_CLEAR_CHAT_CLICK: d = void 0,
16347
+ INTERNAL_ONLY_FEATURE_MESSAGE_CLICK: d = void 0,
16348
+ INTERNAL_ONLY_FEATURE_CLEAR_CHAT_CLICK: p = void 0,
16349
16349
  INTERNAL_ONLY_ENVIRONMENT: h = "live"
16350
16350
  }) {
16351
16351
  const {
@@ -16432,16 +16432,16 @@ function hw({
16432
16432
  isOpen: y,
16433
16433
  messages: P,
16434
16434
  onSendMessage: v,
16435
- onMessageClick: p,
16435
+ onMessageClick: d,
16436
16436
  isMobile: k,
16437
16437
  closeButton: a,
16438
16438
  cleanChatButton: s,
16439
16439
  onClose: () => M(!1),
16440
16440
  onCleanChat: () => {
16441
- T(), d?.();
16441
+ T(), p?.();
16442
16442
  }
16443
16443
  }
16444
- ) : /* @__PURE__ */ x(ds, { isOpen: y, isMobile: k })
16444
+ ) : /* @__PURE__ */ x(ps, { isOpen: y, isMobile: k })
16445
16445
  }
16446
16446
  ),
16447
16447
  !c && /* @__PURE__ */ x(
@@ -16498,7 +16498,7 @@ function hw({
16498
16498
  return /* @__PURE__ */ x(Qe, { children: f ? N() : O ? /* @__PURE__ */ x(Rm, { container: O, children: N() }) : null });
16499
16499
  }
16500
16500
  function mw(e) {
16501
- return /* @__PURE__ */ x(pw, { children: /* @__PURE__ */ x(dw, { children: /* @__PURE__ */ x(hw, { ...e }) }) });
16501
+ return /* @__PURE__ */ x(dw, { children: /* @__PURE__ */ x(pw, { children: /* @__PURE__ */ x(hw, { ...e }) }) });
16502
16502
  }
16503
16503
  function Aw(e, t) {
16504
16504
  return ((r, i, o) => {
@@ -16512,4 +16512,4 @@ export {
16512
16512
  ra as g,
16513
16513
  Aw as r
16514
16514
  };
16515
- //# sourceMappingURL=index-CTlrhhtB.js.map
16515
+ //# sourceMappingURL=index-BygZeZSv.js.map