import { a as vt, i as be, n as Ot, o as Lt, r as ft, t as z } from "./chunks/chunk-D-V8JGID.js";
import { createRequire as Up } from "node:module";
import qe from "path";
import xr from "fs";
import Jt from "os";
import Hp from "util";
import Xe from "fs/promises";
import Si from "node:process";
import ui from "node:os";
import Fl from "node:tty";
import { URL as qp } from "url";
import lt, { dirname as Gp } from "node:path";
import { fileURLToPath as mo } from "node:url";
import { promisify as bu, stripVTControlCharacters as zp } from "node:util";
import Fs, { promises as Ml } from "node:fs";
import Wp, { execFile as Vp } from "node:child_process";
import { text as Yp } from "node:stream/consumers";
var Mt = /* @__PURE__ */ z(((e, t) => {
  var r, i, s, d, c = !0;
  typeof process < "u" && ({ FORCE_COLOR: r, NODE_DISABLE_COLORS: i, NO_COLOR: s, TERM: d } = process.env || {}, c = process.stdout && process.stdout.isTTY);
  var n = {
    enabled: !i && s == null && d !== "dumb" && (r != null && r !== "0" || c),
    reset: h(0, 0),
    bold: h(1, 22),
    dim: h(2, 22),
    italic: h(3, 23),
    underline: h(4, 24),
    inverse: h(7, 27),
    hidden: h(8, 28),
    strikethrough: h(9, 29),
    black: h(30, 39),
    red: h(31, 39),
    green: h(32, 39),
    yellow: h(33, 39),
    blue: h(34, 39),
    magenta: h(35, 39),
    cyan: h(36, 39),
    white: h(37, 39),
    gray: h(90, 39),
    grey: h(90, 39),
    bgBlack: h(40, 49),
    bgRed: h(41, 49),
    bgGreen: h(42, 49),
    bgYellow: h(43, 49),
    bgBlue: h(44, 49),
    bgMagenta: h(45, 49),
    bgCyan: h(46, 49),
    bgWhite: h(47, 49)
  };
  function u(a, l) {
    let f = 0, p, g = "", m = "";
    for (; f < a.length; f++)
      p = a[f], g += p.open, m += p.close, ~l.indexOf(p.close) && (l = l.replace(p.rgx, p.close + p.open));
    return g + l + m;
  }
  function o(a, l) {
    let f = {
      has: a,
      keys: l
    };
    return f.reset = n.reset.bind(f), f.bold = n.bold.bind(f), f.dim = n.dim.bind(f), f.italic = n.italic.bind(f), f.underline = n.underline.bind(f), f.inverse = n.inverse.bind(f), f.hidden = n.hidden.bind(f), f.strikethrough = n.strikethrough.bind(f), f.black = n.black.bind(f), f.red = n.red.bind(f), f.green = n.green.bind(f), f.yellow = n.yellow.bind(f), f.blue = n.blue.bind(f), f.magenta = n.magenta.bind(f), f.cyan = n.cyan.bind(f), f.white = n.white.bind(f), f.gray = n.gray.bind(f), f.grey = n.grey.bind(f), f.bgBlack = n.bgBlack.bind(f), f.bgRed = n.bgRed.bind(f), f.bgGreen = n.bgGreen.bind(f), f.bgYellow = n.bgYellow.bind(f), f.bgBlue = n.bgBlue.bind(f), f.bgMagenta = n.bgMagenta.bind(f), f.bgCyan = n.bgCyan.bind(f), f.bgWhite = n.bgWhite.bind(f), f;
  }
  function h(a, l) {
    let f = {
      open: `\x1B[${a}m`,
      close: `\x1B[${l}m`,
      rgx: new RegExp(`\\x1b\\[${l}m`, "g")
    };
    return function(p) {
      return this !== void 0 && this.has !== void 0 ? (~this.has.indexOf(a) || (this.has.push(a), this.keys.push(f)), p === void 0 ? this : n.enabled ? u(this.keys, p + "") : p + "") : p === void 0 ? o([a], [f]) : n.enabled ? u([f], p + "") : p + "";
    };
  }
  t.exports = n;
})), Kp = /* @__PURE__ */ z(((e, t) => {
  t.exports = (r, i) => {
    if (!(r.meta && r.name !== "escape")) {
      if (r.ctrl) {
        if (r.name === "a") return "first";
        if (r.name === "c" || r.name === "d") return "abort";
        if (r.name === "e") return "last";
        if (r.name === "g") return "reset";
      }
      if (i) {
        if (r.name === "j") return "down";
        if (r.name === "k") return "up";
      }
      return r.name === "return" || r.name === "enter" ? "submit" : r.name === "backspace" ? "delete" : r.name === "delete" ? "deleteForward" : r.name === "abort" ? "abort" : r.name === "escape" ? "exit" : r.name === "tab" ? "next" : r.name === "pagedown" ? "nextPage" : r.name === "pageup" ? "prevPage" : r.name === "home" ? "home" : r.name === "end" ? "end" : r.name === "up" ? "up" : r.name === "down" ? "down" : r.name === "right" ? "right" : r.name === "left" ? "left" : !1;
    }
  };
})), vo = /* @__PURE__ */ z(((e, t) => {
  t.exports = (r) => {
    const i = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"), s = new RegExp(i, "g");
    return typeof r == "string" ? r.replace(s, "") : r;
  };
})), jt = /* @__PURE__ */ z(((e, t) => {
  var r = "\x1B", i = `${r}[`, s = "\x07", d = {
    to(u, o) {
      return o ? `${i}${o + 1};${u + 1}H` : `${i}${u + 1}G`;
    },
    move(u, o) {
      let h = "";
      return u < 0 ? h += `${i}${-u}D` : u > 0 && (h += `${i}${u}C`), o < 0 ? h += `${i}${-o}A` : o > 0 && (h += `${i}${o}B`), h;
    },
    up: (u = 1) => `${i}${u}A`,
    down: (u = 1) => `${i}${u}B`,
    forward: (u = 1) => `${i}${u}C`,
    backward: (u = 1) => `${i}${u}D`,
    nextLine: (u = 1) => `${i}E`.repeat(u),
    prevLine: (u = 1) => `${i}F`.repeat(u),
    left: `${i}G`,
    hide: `${i}?25l`,
    show: `${i}?25h`,
    save: `${r}7`,
    restore: `${r}8`
  }, c = {
    up: (u = 1) => `${i}S`.repeat(u),
    down: (u = 1) => `${i}T`.repeat(u)
  }, n = {
    screen: `${i}2J`,
    up: (u = 1) => `${i}1J`.repeat(u),
    down: (u = 1) => `${i}J`.repeat(u),
    line: `${i}2K`,
    lineEnd: `${i}K`,
    lineStart: `${i}1K`,
    lines(u) {
      let o = "";
      for (let h = 0; h < u; h++) o += this.line + (h < u - 1 ? d.up() : "");
      return u && (o += d.left), o;
    }
  };
  t.exports = {
    cursor: d,
    scroll: c,
    erase: n,
    beep: s
  };
})), Zp = /* @__PURE__ */ z(((e, t) => {
  var r = vo(), { erase: i, cursor: s } = jt(), d = (c) => [...r(c)].length;
  t.exports = function(c, n) {
    if (!n) return i.line + s.to(0);
    let u = 0;
    const o = c.split(/\r?\n/);
    for (let h of o) u += 1 + Math.floor(Math.max(d(h) - 1, 0) / n);
    return i.lines(u);
  };
})), wu = /* @__PURE__ */ z(((e, t) => {
  var r = {
    arrowUp: "↑",
    arrowDown: "↓",
    arrowLeft: "←",
    arrowRight: "→",
    radioOn: "◉",
    radioOff: "◯",
    tick: "✔",
    cross: "✖",
    ellipsis: "…",
    pointerSmall: "›",
    line: "─",
    pointer: "❯"
  }, i = {
    arrowUp: r.arrowUp,
    arrowDown: r.arrowDown,
    arrowLeft: r.arrowLeft,
    arrowRight: r.arrowRight,
    radioOn: "(*)",
    radioOff: "( )",
    tick: "√",
    cross: "×",
    ellipsis: "...",
    pointerSmall: "»",
    line: "─",
    pointer: ">"
  }, s = process.platform === "win32" ? i : r;
  t.exports = s;
})), Jp = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = wu(), s = Object.freeze({
    password: {
      scale: 1,
      render: (h) => "*".repeat(h.length)
    },
    emoji: {
      scale: 2,
      render: (h) => "😃".repeat(h.length)
    },
    invisible: {
      scale: 0,
      render: (h) => ""
    },
    default: {
      scale: 1,
      render: (h) => `${h}`
    }
  }), d = (h) => s[h] || s.default, c = Object.freeze({
    aborted: r.red(i.cross),
    done: r.green(i.tick),
    exited: r.yellow(i.cross),
    default: r.cyan("?")
  }), n = (h, a, l) => a ? c.aborted : l ? c.exited : h ? c.done : c.default, u = (h) => r.gray(h ? i.ellipsis : i.pointerSmall), o = (h, a) => r.gray(h ? a ? i.pointerSmall : "+" : i.line);
  t.exports = {
    styles: s,
    render: d,
    symbols: c,
    symbol: n,
    delimiter: u,
    item: o
  };
})), Xp = /* @__PURE__ */ z(((e, t) => {
  var r = vo();
  t.exports = function(i, s) {
    let d = String(r(i) || "").split(/\r?\n/);
    return s ? d.map((c) => Math.ceil(c.length / s)).reduce((c, n) => c + n) : d.length;
  };
})), Qp = /* @__PURE__ */ z(((e, t) => {
  t.exports = (r, i = {}) => {
    const s = Number.isSafeInteger(parseInt(i.margin)) ? new Array(parseInt(i.margin)).fill(" ").join("") : i.margin || "", d = i.width;
    return (r || "").split(/\r?\n/g).map((c) => c.split(/\s+/g).reduce((n, u) => (u.length + s.length >= d || n[n.length - 1].length + u.length + 1 < d ? n[n.length - 1] += ` ${u}` : n.push(`${s}${u}`), n), [s]).join(`
`)).join(`
`);
  };
})), eg = /* @__PURE__ */ z(((e, t) => {
  t.exports = (r, i, s) => {
    s = s || i;
    let d = Math.min(i - s, r - Math.floor(s / 2));
    d < 0 && (d = 0);
    let c = Math.min(d + s, i);
    return {
      startIndex: d,
      endIndex: c
    };
  };
})), Yt = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    action: Kp(),
    clear: Zp(),
    style: Jp(),
    strip: vo(),
    figures: wu(),
    lines: Xp(),
    wrap: Qp(),
    entriesToDisplay: eg()
  };
})), nr = /* @__PURE__ */ z(((e, t) => {
  var r = be("readline"), { action: i } = Yt(), s = be("events"), { beep: d, cursor: c } = jt(), n = Mt(), u = class extends s {
    constructor(o = {}) {
      super(), this.firstRender = !0, this.in = o.stdin || process.stdin, this.out = o.stdout || process.stdout, this.onRender = (o.onRender || (() => {
      })).bind(this);
      const h = r.createInterface({
        input: this.in,
        escapeCodeTimeout: 50
      });
      r.emitKeypressEvents(this.in, h), this.in.isTTY && this.in.setRawMode(!0);
      const a = (l, f) => {
        let p = i(f, this.isSelect);
        p === !1 ? this._ && this._(l, f) : typeof this[p] == "function" ? this[p](f) : this.bell();
      };
      this.close = () => {
        this.out.write(c.show), this.in.removeListener("keypress", a), this.in.isTTY && this.in.setRawMode(!1), h.close(), this.emit(this.aborted ? "abort" : this.exited ? "exit" : "submit", this.value), this.closed = !0;
      }, this.in.on("keypress", a);
    }
    fire() {
      this.emit("state", {
        value: this.value,
        aborted: !!this.aborted,
        exited: !!this.exited
      });
    }
    bell() {
      this.out.write(d);
    }
    render() {
      this.onRender(n), this.firstRender && (this.firstRender = !1);
    }
  };
  t.exports = u;
})), tg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { erase: s, cursor: d } = jt(), { style: c, clear: n, lines: u, figures: o } = Yt(), h = class extends i {
    constructor(a = {}) {
      super(a), this.transform = c.render(a.style), this.scale = this.transform.scale, this.msg = a.message, this.initial = a.initial || "", this.validator = a.validate || (() => !0), this.value = "", this.errorMsg = a.error || "Please Enter A Valid Value", this.cursor = +!!this.initial, this.cursorOffset = 0, this.clear = n("", this.out.columns), this.render();
    }
    set value(a) {
      !a && this.initial ? (this.placeholder = !0, this.rendered = r.gray(this.transform.render(this.initial))) : (this.placeholder = !1, this.rendered = this.transform.render(a)), this._value = a, this.fire();
    }
    get value() {
      return this._value;
    }
    reset() {
      this.value = "", this.cursor = +!!this.initial, this.cursorOffset = 0, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.value = this.value || this.initial, this.done = this.aborted = !0, this.error = !1, this.red = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let a = await this.validator(this.value);
      typeof a == "string" && (this.errorMsg = a, a = !1), this.error = !a;
    }
    async submit() {
      if (this.value = this.value || this.initial, this.cursorOffset = 0, this.cursor = this.rendered.length, await this.validate(), this.error) {
        this.red = !0, this.fire(), this.render();
        return;
      }
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    next() {
      if (!this.placeholder) return this.bell();
      this.value = this.initial, this.cursor = this.rendered.length, this.fire(), this.render();
    }
    moveCursor(a) {
      this.placeholder || (this.cursor = this.cursor + a, this.cursorOffset += a);
    }
    _(a, l) {
      let f = this.value.slice(0, this.cursor), p = this.value.slice(this.cursor);
      this.value = `${f}${a}${p}`, this.red = !1, this.cursor = this.placeholder ? 0 : f.length + 1, this.render();
    }
    delete() {
      if (this.isCursorAtStart()) return this.bell();
      let a = this.value.slice(0, this.cursor - 1), l = this.value.slice(this.cursor);
      this.value = `${a}${l}`, this.red = !1, this.isCursorAtStart() ? this.cursorOffset = 0 : (this.cursorOffset++, this.moveCursor(-1)), this.render();
    }
    deleteForward() {
      if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
      let a = this.value.slice(0, this.cursor), l = this.value.slice(this.cursor + 1);
      this.value = `${a}${l}`, this.red = !1, this.isCursorAtEnd() ? this.cursorOffset = 0 : this.cursorOffset++, this.render();
    }
    first() {
      this.cursor = 0, this.render();
    }
    last() {
      this.cursor = this.value.length, this.render();
    }
    left() {
      if (this.cursor <= 0 || this.placeholder) return this.bell();
      this.moveCursor(-1), this.render();
    }
    right() {
      if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
      this.moveCursor(1), this.render();
    }
    isCursorAtStart() {
      return this.cursor === 0 || this.placeholder && this.cursor === 1;
    }
    isCursorAtEnd() {
      return this.cursor === this.rendered.length || this.placeholder && this.cursor === this.rendered.length + 1;
    }
    render() {
      this.closed || (this.firstRender || (this.outputError && this.out.write(d.down(u(this.outputError, this.out.columns) - 1) + n(this.outputError, this.out.columns)), this.out.write(n(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [
        c.symbol(this.done, this.aborted),
        r.bold(this.msg),
        c.delimiter(this.done),
        this.red ? r.red(this.rendered) : this.rendered
      ].join(" "), this.error && (this.outputError += this.errorMsg.split(`
`).reduce((a, l, f) => a + `
${f ? " " : o.pointerSmall} ${r.red().italic(l)}`, "")), this.out.write(s.line + d.to(0) + this.outputText + d.save + this.outputError + d.restore + d.move(this.cursorOffset, 0)));
    }
  };
  t.exports = h;
})), rg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { style: s, clear: d, figures: c, wrap: n, entriesToDisplay: u } = Yt(), { cursor: o } = jt(), h = class extends i {
    constructor(a = {}) {
      super(a), this.isSelect = !0, this.msg = a.message, this.hint = a.hint || "- Use arrow-keys. Return to submit.", this.warn = a.warn || "- This option is disabled", this.cursor = a.initial || 0, this.choices = a.choices.map((l, f) => (typeof l == "string" && (l = {
        title: l,
        value: f
      }), {
        title: l && (l.title || l.value || l),
        value: l && (l.value === void 0 ? f : l.value),
        description: l && l.description,
        selected: l && l.selected,
        disabled: l && l.disabled
      })), this.optionsPerPage = a.optionsPerPage || 10, this.value = (this.choices[this.cursor] || {}).value, this.clear = d("", this.out.columns), this.render();
    }
    moveCursor(a) {
      this.cursor = a, this.value = this.choices[a].value, this.fire();
    }
    reset() {
      this.moveCursor(0), this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.selection.disabled ? this.bell() : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    first() {
      this.moveCursor(0), this.render();
    }
    last() {
      this.moveCursor(this.choices.length - 1), this.render();
    }
    up() {
      this.cursor === 0 ? this.moveCursor(this.choices.length - 1) : this.moveCursor(this.cursor - 1), this.render();
    }
    down() {
      this.cursor === this.choices.length - 1 ? this.moveCursor(0) : this.moveCursor(this.cursor + 1), this.render();
    }
    next() {
      this.moveCursor((this.cursor + 1) % this.choices.length), this.render();
    }
    _(a, l) {
      if (a === " ") return this.submit();
    }
    get selection() {
      return this.choices[this.cursor];
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(o.hide) : this.out.write(d(this.outputText, this.out.columns)), super.render();
      let { startIndex: a, endIndex: l } = u(this.cursor, this.choices.length, this.optionsPerPage);
      if (this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(!1),
        this.done ? this.selection.title : this.selection.disabled ? r.yellow(this.warn) : r.gray(this.hint)
      ].join(" "), !this.done) {
        this.outputText += `
`;
        for (let f = a; f < l; f++) {
          let p, g, m = "", v = this.choices[f];
          f === a && a > 0 ? g = c.arrowUp : f === l - 1 && l < this.choices.length ? g = c.arrowDown : g = " ", v.disabled ? (p = this.cursor === f ? r.gray().underline(v.title) : r.strikethrough().gray(v.title), g = (this.cursor === f ? r.bold().gray(c.pointer) + " " : "  ") + g) : (p = this.cursor === f ? r.cyan().underline(v.title) : v.title, g = (this.cursor === f ? r.cyan(c.pointer) + " " : "  ") + g, v.description && this.cursor === f && (m = ` - ${v.description}`, (g.length + p.length + m.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) && (m = `
` + n(v.description, {
            margin: 3,
            width: this.out.columns
          })))), this.outputText += `${g} ${p}${r.gray(m)}
`;
        }
      }
      this.out.write(this.outputText);
    }
  };
  t.exports = h;
})), ig = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { style: s, clear: d } = Yt(), { cursor: c, erase: n } = jt(), u = class extends i {
    constructor(o = {}) {
      super(o), this.msg = o.message, this.value = !!o.initial, this.active = o.active || "on", this.inactive = o.inactive || "off", this.initialValue = this.value, this.render();
    }
    reset() {
      this.value = this.initialValue, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    deactivate() {
      if (this.value === !1) return this.bell();
      this.value = !1, this.render();
    }
    activate() {
      if (this.value === !0) return this.bell();
      this.value = !0, this.render();
    }
    delete() {
      this.deactivate();
    }
    left() {
      this.deactivate();
    }
    right() {
      this.activate();
    }
    down() {
      this.deactivate();
    }
    up() {
      this.activate();
    }
    next() {
      this.value = !this.value, this.fire(), this.render();
    }
    _(o, h) {
      if (o === " ") this.value = !this.value;
      else if (o === "1") this.value = !0;
      else if (o === "0") this.value = !1;
      else return this.bell();
      this.render();
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(c.hide) : this.out.write(d(this.outputText, this.out.columns)), super.render(), this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(this.done),
        this.value ? this.inactive : r.cyan().underline(this.inactive),
        r.gray("/"),
        this.value ? r.cyan().underline(this.active) : this.active
      ].join(" "), this.out.write(n.line + c.to(0) + this.outputText));
    }
  };
  t.exports = u;
})), er = /* @__PURE__ */ z(((e, t) => {
  var r = class Ms {
    constructor({ token: s, date: d, parts: c, locales: n }) {
      this.token = s, this.date = d || /* @__PURE__ */ new Date(), this.parts = c || [this], this.locales = n || {};
    }
    up() {
    }
    down() {
    }
    next() {
      const s = this.parts.indexOf(this);
      return this.parts.find((d, c) => c > s && d instanceof Ms);
    }
    setTo(s) {
    }
    prev() {
      let s = [].concat(this.parts).reverse();
      const d = s.indexOf(this);
      return s.find((c, n) => n > d && c instanceof Ms);
    }
    toString() {
      return String(this.date);
    }
  };
  t.exports = r;
})), ng = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setHours((this.date.getHours() + 12) % 24);
    }
    down() {
      this.up();
    }
    toString() {
      let s = this.date.getHours() > 12 ? "pm" : "am";
      return /\A/.test(this.token) ? s.toUpperCase() : s;
    }
  };
  t.exports = i;
})), sg = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = (d) => (d = d % 10, d === 1 ? "st" : d === 2 ? "nd" : d === 3 ? "rd" : "th"), s = class extends r {
    constructor(d = {}) {
      super(d);
    }
    up() {
      this.date.setDate(this.date.getDate() + 1);
    }
    down() {
      this.date.setDate(this.date.getDate() - 1);
    }
    setTo(d) {
      this.date.setDate(parseInt(d.substr(-2)));
    }
    toString() {
      let d = this.date.getDate(), c = this.date.getDay();
      return this.token === "DD" ? String(d).padStart(2, "0") : this.token === "Do" ? d + i(d) : this.token === "d" ? c + 1 : this.token === "ddd" ? this.locales.weekdaysShort[c] : this.token === "dddd" ? this.locales.weekdays[c] : d;
    }
  };
  t.exports = s;
})), ag = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setHours(this.date.getHours() + 1);
    }
    down() {
      this.date.setHours(this.date.getHours() - 1);
    }
    setTo(s) {
      this.date.setHours(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getHours();
      return /h/.test(this.token) && (s = s % 12 || 12), this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), og = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMilliseconds(this.date.getMilliseconds() + 1);
    }
    down() {
      this.date.setMilliseconds(this.date.getMilliseconds() - 1);
    }
    setTo(s) {
      this.date.setMilliseconds(parseInt(s.substr(-this.token.length)));
    }
    toString() {
      return String(this.date.getMilliseconds()).padStart(4, "0").substr(0, this.token.length);
    }
  };
  t.exports = i;
})), lg = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMinutes(this.date.getMinutes() + 1);
    }
    down() {
      this.date.setMinutes(this.date.getMinutes() - 1);
    }
    setTo(s) {
      this.date.setMinutes(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getMinutes();
      return this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), cg = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setMonth(this.date.getMonth() + 1);
    }
    down() {
      this.date.setMonth(this.date.getMonth() - 1);
    }
    setTo(s) {
      s = parseInt(s.substr(-2)) - 1, this.date.setMonth(s < 0 ? 0 : s);
    }
    toString() {
      let s = this.date.getMonth(), d = this.token.length;
      return d === 2 ? String(s + 1).padStart(2, "0") : d === 3 ? this.locales.monthsShort[s] : d === 4 ? this.locales.months[s] : String(s + 1);
    }
  };
  t.exports = i;
})), ug = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setSeconds(this.date.getSeconds() + 1);
    }
    down() {
      this.date.setSeconds(this.date.getSeconds() - 1);
    }
    setTo(s) {
      this.date.setSeconds(parseInt(s.substr(-2)));
    }
    toString() {
      let s = this.date.getSeconds();
      return this.token.length > 1 ? String(s).padStart(2, "0") : s;
    }
  };
  t.exports = i;
})), hg = /* @__PURE__ */ z(((e, t) => {
  var r = er(), i = class extends r {
    constructor(s = {}) {
      super(s);
    }
    up() {
      this.date.setFullYear(this.date.getFullYear() + 1);
    }
    down() {
      this.date.setFullYear(this.date.getFullYear() - 1);
    }
    setTo(s) {
      this.date.setFullYear(s.substr(-4));
    }
    toString() {
      let s = String(this.date.getFullYear()).padStart(4, "0");
      return this.token.length === 2 ? s.substr(-2) : s;
    }
  };
  t.exports = i;
})), fg = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    DatePart: er(),
    Meridiem: ng(),
    Day: sg(),
    Hours: ag(),
    Milliseconds: og(),
    Minutes: lg(),
    Month: cg(),
    Seconds: ug(),
    Year: hg()
  };
})), dg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { style: s, clear: d, figures: c } = Yt(), { erase: n, cursor: u } = jt(), { DatePart: o, Meridiem: h, Day: a, Hours: l, Milliseconds: f, Minutes: p, Month: g, Seconds: m, Year: v } = fg(), _ = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g, E = {
    1: ({ token: b }) => b.replace(/\\(.)/g, "$1"),
    2: (b) => new a(b),
    3: (b) => new g(b),
    4: (b) => new v(b),
    5: (b) => new h(b),
    6: (b) => new l(b),
    7: (b) => new p(b),
    8: (b) => new m(b),
    9: (b) => new f(b)
  }, S = {
    months: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
    monthsShort: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),
    weekdays: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),
    weekdaysShort: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")
  }, w = class extends i {
    constructor(b = {}) {
      super(b), this.msg = b.message, this.cursor = 0, this.typed = "", this.locales = Object.assign(S, b.locales), this._date = b.initial || /* @__PURE__ */ new Date(), this.errorMsg = b.error || "Please Enter A Valid Value", this.validator = b.validate || (() => !0), this.mask = b.mask || "YYYY-MM-DD HH:mm:ss", this.clear = d("", this.out.columns), this.render();
    }
    get value() {
      return this.date;
    }
    get date() {
      return this._date;
    }
    set date(b) {
      b && this._date.setTime(b.getTime());
    }
    set mask(b) {
      let A;
      for (this.parts = []; A = _.exec(b); ) {
        let C = A.shift(), O = A.findIndex((I) => I != null);
        this.parts.push(O in E ? E[O]({
          token: A[O] || C,
          date: this.date,
          parts: this.parts,
          locales: this.locales
        }) : A[O] || C);
      }
      let D = this.parts.reduce((C, O) => (typeof O == "string" && typeof C[C.length - 1] == "string" ? C[C.length - 1] += O : C.push(O), C), []);
      this.parts.splice(0), this.parts.push(...D), this.reset();
    }
    moveCursor(b) {
      this.typed = "", this.cursor = b, this.fire();
    }
    reset() {
      this.moveCursor(this.parts.findIndex((b) => b instanceof o)), this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let b = await this.validator(this.value);
      typeof b == "string" && (this.errorMsg = b, b = !1), this.error = !b;
    }
    async submit() {
      if (await this.validate(), this.error) {
        this.color = "red", this.fire(), this.render();
        return;
      }
      this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    up() {
      this.typed = "", this.parts[this.cursor].up(), this.render();
    }
    down() {
      this.typed = "", this.parts[this.cursor].down(), this.render();
    }
    left() {
      let b = this.parts[this.cursor].prev();
      if (b == null) return this.bell();
      this.moveCursor(this.parts.indexOf(b)), this.render();
    }
    right() {
      let b = this.parts[this.cursor].next();
      if (b == null) return this.bell();
      this.moveCursor(this.parts.indexOf(b)), this.render();
    }
    next() {
      let b = this.parts[this.cursor].next();
      this.moveCursor(b ? this.parts.indexOf(b) : this.parts.findIndex((A) => A instanceof o)), this.render();
    }
    _(b) {
      /\d/.test(b) && (this.typed += b, this.parts[this.cursor].setTo(this.typed), this.render());
    }
    render() {
      this.closed || (this.firstRender ? this.out.write(u.hide) : this.out.write(d(this.outputText, this.out.columns)), super.render(), this.outputText = [
        s.symbol(this.done, this.aborted),
        r.bold(this.msg),
        s.delimiter(!1),
        this.parts.reduce((b, A, D) => b.concat(D === this.cursor && !this.done ? r.cyan().underline(A.toString()) : A), []).join("")
      ].join(" "), this.error && (this.outputText += this.errorMsg.split(`
`).reduce((b, A, D) => b + `
${D ? " " : c.pointerSmall} ${r.red().italic(A)}`, "")), this.out.write(n.line + u.to(0) + this.outputText));
    }
  };
  t.exports = w;
})), pg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { cursor: s, erase: d } = jt(), { style: c, figures: n, clear: u, lines: o } = Yt(), h = /[0-9]/, a = (p) => p !== void 0, l = (p, g) => {
    let m = Math.pow(10, g);
    return Math.round(p * m) / m;
  }, f = class extends i {
    constructor(p = {}) {
      super(p), this.transform = c.render(p.style), this.msg = p.message, this.initial = a(p.initial) ? p.initial : "", this.float = !!p.float, this.round = p.round || 2, this.inc = p.increment || 1, this.min = a(p.min) ? p.min : -1 / 0, this.max = a(p.max) ? p.max : 1 / 0, this.errorMsg = p.error || "Please Enter A Valid Value", this.validator = p.validate || (() => !0), this.color = "cyan", this.value = "", this.typed = "", this.lastHit = 0, this.render();
    }
    set value(p) {
      !p && p !== 0 ? (this.placeholder = !0, this.rendered = r.gray(this.transform.render(`${this.initial}`)), this._value = "") : (this.placeholder = !1, this.rendered = this.transform.render(`${l(p, this.round)}`), this._value = l(p, this.round)), this.fire();
    }
    get value() {
      return this._value;
    }
    parse(p) {
      return this.float ? parseFloat(p) : parseInt(p);
    }
    valid(p) {
      return p === "-" || p === "." && this.float || h.test(p);
    }
    reset() {
      this.typed = "", this.value = "", this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      let p = this.value;
      this.value = p !== "" ? p : this.initial, this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    async validate() {
      let p = await this.validator(this.value);
      typeof p == "string" && (this.errorMsg = p, p = !1), this.error = !p;
    }
    async submit() {
      if (await this.validate(), this.error) {
        this.color = "red", this.fire(), this.render();
        return;
      }
      let p = this.value;
      this.value = p !== "" ? p : this.initial, this.done = !0, this.aborted = !1, this.error = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    up() {
      if (this.typed = "", this.value === "" && (this.value = this.min - this.inc), this.value >= this.max) return this.bell();
      this.value += this.inc, this.color = "cyan", this.fire(), this.render();
    }
    down() {
      if (this.typed = "", this.value === "" && (this.value = this.min + this.inc), this.value <= this.min) return this.bell();
      this.value -= this.inc, this.color = "cyan", this.fire(), this.render();
    }
    delete() {
      let p = this.value.toString();
      if (p.length === 0) return this.bell();
      this.value = this.parse(p = p.slice(0, -1)) || "", this.value !== "" && this.value < this.min && (this.value = this.min), this.color = "cyan", this.fire(), this.render();
    }
    next() {
      this.value = this.initial, this.fire(), this.render();
    }
    _(p, g) {
      if (!this.valid(p)) return this.bell();
      const m = Date.now();
      if (m - this.lastHit > 1e3 && (this.typed = ""), this.typed += p, this.lastHit = m, this.color = "cyan", p === ".") return this.fire();
      this.value = Math.min(this.parse(this.typed), this.max), this.value > this.max && (this.value = this.max), this.value < this.min && (this.value = this.min), this.fire(), this.render();
    }
    render() {
      this.closed || (this.firstRender || (this.outputError && this.out.write(s.down(o(this.outputError, this.out.columns) - 1) + u(this.outputError, this.out.columns)), this.out.write(u(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [
        c.symbol(this.done, this.aborted),
        r.bold(this.msg),
        c.delimiter(this.done),
        !this.done || !this.done && !this.placeholder ? r[this.color]().underline(this.rendered) : this.rendered
      ].join(" "), this.error && (this.outputError += this.errorMsg.split(`
`).reduce((p, g, m) => p + `
${m ? " " : n.pointerSmall} ${r.red().italic(g)}`, "")), this.out.write(d.line + s.to(0) + this.outputText + s.save + this.outputError + s.restore));
    }
  };
  t.exports = f;
})), Eu = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), { cursor: i } = jt(), s = nr(), { clear: d, figures: c, style: n, wrap: u, entriesToDisplay: o } = Yt(), h = class extends s {
    constructor(a = {}) {
      super(a), this.isSelect = !0, this.msg = a.message, this.cursorStart = a.choices.findIndex((l) => !l.heading), this.cursor = a.cursor || this.cursorStart, this.scrollIndex = a.cursor || 0, this.hint = a.hint || "", this.warn = a.warn || "- This option is disabled -", this.minSelected = a.min, this.showMinError = !1, this.maxChoices = a.max, this.instructions = a.instructions, this.optionsPerPage = a.optionsPerPage || 10, this.value = a.choices.map((l, f) => (typeof l == "string" && (l = {
        title: l,
        value: f
      }), {
        title: l && (l.title || l.value || l),
        description: l && l.description,
        value: l && (l.value === void 0 ? f : l.value),
        selected: l && l.selected,
        disabled: l && l.disabled,
        heading: l && l.heading
      })), this.clear = d("", this.out.columns), a.overrideRender || this.render();
    }
    reset() {
      this.value.map((a) => !a.selected), this.cursor = this.cursorStart, this.fire(), this.render();
    }
    selected() {
      return this.value.filter((a) => a.selected);
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      const a = this.value.filter((l) => l.selected);
      this.minSelected && a.length < this.minSelected ? (this.showMinError = !0, this.render()) : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    first() {
      this.cursor = this.cursorStart, this.render();
    }
    last() {
      this.cursor = this.value.length - 1, this.render();
    }
    next() {
      this.cursor = (this.cursor + 1) % this.value.length, this.value[this.cursor].heading && this.next(), this.render();
    }
    up() {
      this.cursor === this.cursorStart ? this.cursor = this.value.length - 1 : this.cursor--, this.value[this.cursor].heading && this.up(), this.render();
    }
    down() {
      this.cursor === this.value.length - 1 ? this.cursor = this.cursorStart : this.cursor++, this.value[this.cursor].heading && this.down(), this.render();
    }
    left() {
      this.value[this.cursor].selected = !1, this.render();
    }
    right() {
      if (this.value.filter((a) => a.selected).length >= this.maxChoices) return this.bell();
      this.value[this.cursor].selected = !0, this.render();
    }
    handleSpaceToggle() {
      const a = this.value[this.cursor];
      if (a.selected)
        a.selected = !1, this.render();
      else {
        if (a.disabled || this.value.filter((l) => l.selected).length >= this.maxChoices) return this.bell();
        a.selected = !0, this.render();
      }
    }
    toggleAll() {
      if (this.maxChoices !== void 0 || this.value[this.cursor].disabled) return this.bell();
      const a = !this.value[this.cursor].selected;
      this.value.filter((l) => !l.disabled && !l.heading).forEach((l) => l.selected = a), this.render();
    }
    _(a, l) {
      if (a === " ") this.handleSpaceToggle();
      else if (a === "a") this.toggleAll();
      else return this.bell();
    }
    renderInstructions() {
      return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : `
Instructions:
    ${c.arrowUp}/${c.arrowDown}: Highlight option
    ${c.arrowLeft}/${c.arrowRight}/[space]: Toggle selection
` + (this.maxChoices === void 0 ? `    a: Toggle all
` : "") + "    enter/return: Complete answer" : "";
    }
    renderOption(a, l, f, p) {
      const g = (a === f ? "❯ " : "  ") + (l.selected ? r.green(c.radioOn) : c.radioOff) + " ";
      let m, v;
      if (l.disabled) m = a === f ? r.gray(l.title) : r.strikethrough().gray(l.title);
      else {
        if (l.heading)
          return m = l.title, m + r.gray(v || "");
        m = l.title, a === f && l.description && (v = ` - ${l.description}`, (g.length + m.length + v.length >= this.out.columns || l.description.split(/\r?\n/).length > 1) && (v = `
` + u(l.description, {
          margin: g.length,
          width: this.out.columns
        })));
      }
      return g + m + r.gray(v || "");
    }
    paginateOptions(a) {
      if (a.length === 0) return r.red("No matches for this query.");
      let { startIndex: l, endIndex: f } = o(this.cursor, a.length, this.optionsPerPage), p, g = [];
      for (let m = l; m < f; m++)
        m === l && l > 0 ? p = c.arrowUp : m === f - 1 && f < a.length ? p = c.arrowDown : p = " ", g.push(this.renderOption(this.cursor, a[m], m, p));
      return `
` + g.join(`
`);
    }
    renderOptions(a) {
      return this.done ? "" : this.paginateOptions(a);
    }
    renderDoneOrInstructions() {
      if (this.done) return "";
      const a = [r.gray(this.hint), this.renderInstructions()];
      return this.value[this.cursor].disabled && a.push(r.yellow(this.warn)), a.join(" ");
    }
    render() {
      if (this.closed) return;
      this.firstRender && this.out.write(i.hide), super.render();
      let a = [
        n.symbol(this.done, this.aborted),
        r.bold(this.msg),
        n.delimiter(!1),
        this.renderDoneOrInstructions()
      ].join(" ");
      this.showMinError && (a += r.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), a += this.renderOptions(this.value), this.out.write(this.clear + a), this.clear = d(a, this.out.columns);
    }
  };
  t.exports = h;
})), gg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { erase: s, cursor: d } = jt(), { style: c, clear: n, figures: u, wrap: o, entriesToDisplay: h } = Yt(), a = (g, m) => g[m] && (g[m].value || g[m].title || g[m]), l = (g, m) => g[m] && (g[m].title || g[m].value || g[m]), f = (g, m) => {
    const v = g.findIndex((_) => _.value === m || _.title === m);
    return v > -1 ? v : void 0;
  }, p = class extends i {
    constructor(g = {}) {
      super(g), this.msg = g.message, this.suggest = g.suggest, this.choices = g.choices, this.initial = typeof g.initial == "number" ? g.initial : f(g.choices, g.initial), this.select = this.initial || g.cursor || 0, this.i18n = { noMatches: g.noMatches || "no matches found" }, this.fallback = g.fallback || this.initial, this.clearFirst = g.clearFirst || !1, this.suggestions = [], this.input = "", this.limit = g.limit || 10, this.cursor = 0, this.transform = c.render(g.style), this.scale = this.transform.scale, this.render = this.render.bind(this), this.complete = this.complete.bind(this), this.clear = n("", this.out.columns), this.complete(this.render), this.render();
    }
    set fallback(g) {
      this._fb = Number.isSafeInteger(parseInt(g)) ? parseInt(g) : g;
    }
    get fallback() {
      let g;
      return typeof this._fb == "number" ? g = this.choices[this._fb] : typeof this._fb == "string" && (g = { title: this._fb }), g || this._fb || { title: this.i18n.noMatches };
    }
    moveSelect(g) {
      this.select = g, this.suggestions.length > 0 ? this.value = a(this.suggestions, g) : this.value = this.fallback.value, this.fire();
    }
    async complete(g) {
      const m = this.completing = this.suggest(this.input, this.choices), v = await m;
      if (this.completing !== m) return;
      this.suggestions = v.map((E, S, w) => ({
        title: l(w, S),
        value: a(w, S),
        description: E.description
      })), this.completing = !1;
      const _ = Math.max(v.length - 1, 0);
      this.moveSelect(Math.min(_, this.select)), g && g();
    }
    reset() {
      this.input = "", this.complete(() => {
        this.moveSelect(this.initial !== void 0 ? this.initial : 0), this.render();
      }), this.render();
    }
    exit() {
      this.clearFirst && this.input.length > 0 ? this.reset() : (this.done = this.exited = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close());
    }
    abort() {
      this.done = this.aborted = !0, this.exited = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.done = !0, this.aborted = this.exited = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    _(g, m) {
      let v = this.input.slice(0, this.cursor), _ = this.input.slice(this.cursor);
      this.input = `${v}${g}${_}`, this.cursor = v.length + 1, this.complete(this.render), this.render();
    }
    delete() {
      if (this.cursor === 0) return this.bell();
      let g = this.input.slice(0, this.cursor - 1), m = this.input.slice(this.cursor);
      this.input = `${g}${m}`, this.complete(this.render), this.cursor = this.cursor - 1, this.render();
    }
    deleteForward() {
      if (this.cursor * this.scale >= this.rendered.length) return this.bell();
      let g = this.input.slice(0, this.cursor), m = this.input.slice(this.cursor + 1);
      this.input = `${g}${m}`, this.complete(this.render), this.render();
    }
    first() {
      this.moveSelect(0), this.render();
    }
    last() {
      this.moveSelect(this.suggestions.length - 1), this.render();
    }
    up() {
      this.select === 0 ? this.moveSelect(this.suggestions.length - 1) : this.moveSelect(this.select - 1), this.render();
    }
    down() {
      this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render();
    }
    next() {
      this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render();
    }
    nextPage() {
      this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1)), this.render();
    }
    prevPage() {
      this.moveSelect(Math.max(this.select - this.limit, 0)), this.render();
    }
    left() {
      if (this.cursor <= 0) return this.bell();
      this.cursor = this.cursor - 1, this.render();
    }
    right() {
      if (this.cursor * this.scale >= this.rendered.length) return this.bell();
      this.cursor = this.cursor + 1, this.render();
    }
    renderOption(g, m, v, _) {
      let E, S = v ? u.arrowUp : _ ? u.arrowDown : " ", w = m ? r.cyan().underline(g.title) : g.title;
      return S = (m ? r.cyan(u.pointer) + " " : "  ") + S, g.description && (E = ` - ${g.description}`, (S.length + w.length + E.length >= this.out.columns || g.description.split(/\r?\n/).length > 1) && (E = `
` + o(g.description, {
        margin: 3,
        width: this.out.columns
      }))), S + " " + w + r.gray(E || "");
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(d.hide) : this.out.write(n(this.outputText, this.out.columns)), super.render();
      let { startIndex: g, endIndex: m } = h(this.select, this.choices.length, this.limit);
      if (this.outputText = [
        c.symbol(this.done, this.aborted, this.exited),
        r.bold(this.msg),
        c.delimiter(this.completing),
        this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)
      ].join(" "), !this.done) {
        const v = this.suggestions.slice(g, m).map((_, E) => this.renderOption(_, this.select === E + g, E === 0 && g > 0, E + g === m - 1 && m < this.choices.length)).join(`
`);
        this.outputText += `
` + (v || r.gray(this.fallback.title));
      }
      this.out.write(s.line + d.to(0) + this.outputText);
    }
  };
  t.exports = p;
})), mg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), { cursor: i } = jt(), s = Eu(), { clear: d, style: c, figures: n } = Yt(), u = class extends s {
    constructor(o = {}) {
      o.overrideRender = !0, super(o), this.inputValue = "", this.clear = d("", this.out.columns), this.filteredOptions = this.value, this.render();
    }
    last() {
      this.cursor = this.filteredOptions.length - 1, this.render();
    }
    next() {
      this.cursor = (this.cursor + 1) % this.filteredOptions.length, this.render();
    }
    up() {
      this.cursor === 0 ? this.cursor = this.filteredOptions.length - 1 : this.cursor--, this.render();
    }
    down() {
      this.cursor === this.filteredOptions.length - 1 ? this.cursor = 0 : this.cursor++, this.render();
    }
    left() {
      this.filteredOptions[this.cursor].selected = !1, this.render();
    }
    right() {
      if (this.value.filter((o) => o.selected).length >= this.maxChoices) return this.bell();
      this.filteredOptions[this.cursor].selected = !0, this.render();
    }
    delete() {
      this.inputValue.length && (this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1), this.updateFilteredOptions());
    }
    updateFilteredOptions() {
      const o = this.filteredOptions[this.cursor];
      this.filteredOptions = this.value.filter((a) => this.inputValue ? !!(typeof a.title == "string" && a.title.toLowerCase().includes(this.inputValue.toLowerCase()) || typeof a.value == "string" && a.value.toLowerCase().includes(this.inputValue.toLowerCase())) : !0);
      const h = this.filteredOptions.findIndex((a) => a === o);
      this.cursor = h < 0 ? 0 : h, this.render();
    }
    handleSpaceToggle() {
      const o = this.filteredOptions[this.cursor];
      if (o.selected)
        o.selected = !1, this.render();
      else {
        if (o.disabled || this.value.filter((h) => h.selected).length >= this.maxChoices) return this.bell();
        o.selected = !0, this.render();
      }
    }
    handleInputChange(o) {
      this.inputValue = this.inputValue + o, this.updateFilteredOptions();
    }
    _(o, h) {
      o === " " ? this.handleSpaceToggle() : this.handleInputChange(o);
    }
    renderInstructions() {
      return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : `
Instructions:
    ${n.arrowUp}/${n.arrowDown}: Highlight option
    ${n.arrowLeft}/${n.arrowRight}/[space]: Toggle selection
    [a,b,c]/delete: Filter choices
    enter/return: Complete answer
` : "";
    }
    renderCurrentInput() {
      return `
Filtered results for: ${this.inputValue ? this.inputValue : r.gray("Enter something to filter")}
`;
    }
    renderOption(o, h, a, l) {
      const f = (h.selected ? r.green(n.radioOn) : n.radioOff) + " " + l + " ";
      let p;
      return h.disabled ? p = o === a ? r.gray().underline(h.title) : r.strikethrough().gray(h.title) : p = o === a ? r.cyan().underline(h.title) : h.title, f + p;
    }
    renderDoneOrInstructions() {
      if (this.done) return this.value.filter((h) => h.selected).map((h) => h.title).join(", ");
      const o = [
        r.gray(this.hint),
        this.renderInstructions(),
        this.renderCurrentInput()
      ];
      return this.filteredOptions.length && this.filteredOptions[this.cursor].disabled && o.push(r.yellow(this.warn)), o.join(" ");
    }
    render() {
      if (this.closed) return;
      this.firstRender && this.out.write(i.hide), super.render();
      let o = [
        c.symbol(this.done, this.aborted),
        r.bold(this.msg),
        c.delimiter(!1),
        this.renderDoneOrInstructions()
      ].join(" ");
      this.showMinError && (o += r.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), o += this.renderOptions(this.filteredOptions), this.out.write(this.clear + o), this.clear = d(o, this.out.columns);
    }
  };
  t.exports = u;
})), vg = /* @__PURE__ */ z(((e, t) => {
  var r = Mt(), i = nr(), { style: s, clear: d } = Yt(), { erase: c, cursor: n } = jt(), u = class extends i {
    constructor(o = {}) {
      super(o), this.msg = o.message, this.value = o.initial, this.initialValue = !!o.initial, this.yesMsg = o.yes || "yes", this.yesOption = o.yesOption || "(Y/n)", this.noMsg = o.no || "no", this.noOption = o.noOption || "(y/N)", this.render();
    }
    reset() {
      this.value = this.initialValue, this.fire(), this.render();
    }
    exit() {
      this.abort();
    }
    abort() {
      this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    submit() {
      this.value = this.value || !1, this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(`
`), this.close();
    }
    _(o, h) {
      return o.toLowerCase() === "y" ? (this.value = !0, this.submit()) : o.toLowerCase() === "n" ? (this.value = !1, this.submit()) : this.bell();
    }
    render() {
      if (this.closed) return;
      this.firstRender ? this.out.write(n.hide) : this.out.write(d(this.outputText, this.out.columns)), super.render();
      const o = this.aborted || this.done && !this.value;
      this.outputText = [
        s.symbol(this.done, o),
        r.bold(this.msg),
        s.delimiter(this.done),
        this.done ? this.value && !this.aborted ? this.yesMsg : this.noMsg : r.gray(this.initialValue ? this.yesOption : this.noOption)
      ].join(" "), this.out.write(c.line + n.to(0) + this.outputText);
    }
  };
  t.exports = u;
})), yg = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    TextPrompt: tg(),
    SelectPrompt: rg(),
    TogglePrompt: ig(),
    DatePrompt: dg(),
    NumberPrompt: pg(),
    MultiselectPrompt: Eu(),
    AutocompletePrompt: gg(),
    AutocompleteMultiselectPrompt: mg(),
    ConfirmPrompt: vg()
  };
})), _g = /* @__PURE__ */ z(((e) => {
  var t = e, r = yg(), i = (c) => c;
  function s(c, n, u = {}) {
    return new Promise((o, h) => {
      const a = new r[c](n), l = u.onAbort || i, f = u.onSubmit || i, p = u.onExit || i;
      a.on("state", n.onState || i), a.on("submit", (g) => o(f(g))), a.on("exit", (g) => o(p(g))), a.on("abort", (g) => h(l(g)));
    });
  }
  t.text = (c) => s("TextPrompt", c), t.password = (c) => (c.style = "password", t.text(c)), t.invisible = (c) => (c.style = "invisible", t.text(c)), t.number = (c) => s("NumberPrompt", c), t.date = (c) => s("DatePrompt", c), t.confirm = (c) => s("ConfirmPrompt", c), t.list = (c) => {
    const n = c.separator || ",";
    return s("TextPrompt", c, { onSubmit: (u) => u.split(n).map((o) => o.trim()) });
  }, t.toggle = (c) => s("TogglePrompt", c), t.select = (c) => s("SelectPrompt", c), t.multiselect = (c) => {
    c.choices = [].concat(c.choices || []);
    const n = (u) => u.filter((o) => o.selected).map((o) => o.value);
    return s("MultiselectPrompt", c, {
      onAbort: n,
      onSubmit: n
    });
  }, t.autocompleteMultiselect = (c) => {
    c.choices = [].concat(c.choices || []);
    const n = (u) => u.filter((o) => o.selected).map((o) => o.value);
    return s("AutocompleteMultiselectPrompt", c, {
      onAbort: n,
      onSubmit: n
    });
  };
  var d = (c, n) => Promise.resolve(n.filter((u) => u.title.slice(0, c.length).toLowerCase() === c.toLowerCase()));
  t.autocomplete = (c) => (c.suggest = c.suggest || d, c.choices = [].concat(c.choices || []), s("AutocompletePrompt", c));
})), bg = /* @__PURE__ */ z(((e, t) => {
  var r = _g(), i = [
    "suggest",
    "format",
    "onState",
    "validate",
    "onRender",
    "type"
  ], s = () => {
  };
  async function d(o = [], { onSubmit: h = s, onCancel: a = s } = {}) {
    const l = {}, f = d._override || {};
    o = [].concat(o);
    let p, g, m, v, _, E;
    const S = async (w, b, A = !1) => {
      if (!(!A && w.validate && w.validate(b) !== !0))
        return w.format ? await w.format(b, l) : b;
    };
    for (g of o)
      if ({ name: v, type: _ } = g, typeof _ == "function" && (_ = await _(p, { ...l }, g), g.type = _), !!_) {
        for (let w in g) {
          if (i.includes(w)) continue;
          let b = g[w];
          g[w] = typeof b == "function" ? await b(p, { ...l }, E) : b;
        }
        if (E = g, typeof g.message != "string") throw new Error("prompt message is required");
        if ({ name: v, type: _ } = g, r[_] === void 0) throw new Error(`prompt type (${_}) is not defined`);
        if (f[g.name] !== void 0 && (p = await S(g, f[g.name]), p !== void 0)) {
          l[v] = p;
          continue;
        }
        try {
          p = d._injected ? c(d._injected, g.initial) : await r[_](g), l[v] = p = await S(g, p, !0), m = await h(g, p, l);
        } catch {
          m = !await a(g, l);
        }
        if (m) return l;
      }
    return l;
  }
  function c(o, h) {
    const a = o.shift();
    if (a instanceof Error) throw a;
    return a === void 0 ? h : a;
  }
  function n(o) {
    d._injected = (d._injected || []).concat(o);
  }
  function u(o) {
    d._override = Object.assign({}, o);
  }
  t.exports = Object.assign(d, {
    prompt: d,
    prompts: r,
    inject: n,
    override: u
  });
})), wg = /* @__PURE__ */ z(((e, t) => {
  t.exports = bg();
})), an = /* @__PURE__ */ Lt(wg(), 1), Eg = "npm-check-updates", Sg = "22.2.3", Ag = "Tomas Junnonen <tomas1@gmail.com>", Tg = "Apache-2.0", Dg = ["Raine Revere (https://github.com/raineorshine)", "Imamuzzaki Abu Salam <imamuzzaki@gmail.com>"], Rg = "Find newer versions of dependencies than what your package.json allows", Og = [
  "dependencies",
  "npm",
  "package.json",
  "update",
  "upgrade",
  "versions"
], Cg = {
  node: "^20.19.0 || ^22.12.0 || >=24.0.0",
  npm: ">=10.0.0"
}, Ig = "module", kg = "build/index.cjs", Lg = "build/index.js", xg = "build/index.d.ts", $g = {
  "npm-check-updates": "build/cli.js",
  ncu: "build/cli.js"
}, Ng = {
  ".": {
    types: "./build/index.d.ts",
    import: "./build/index.js",
    require: "./build/index.cjs"
  },
  "./package.json": "./package.json"
}, Pg = {
  build: "rimraf build && vite build",
  "build:options": "tsx src/scripts/build-options.ts",
  "build:analyze": "rimraf build && ANALYZER=true vite build",
  lint: "cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*",
  "lint:lockfile": "lockfile-lint",
  "lint:types": "tsc --noEmit",
  "lint:markdown": 'markdownlint "**/*.md" --ignore "**/node_modules/**/*.md" --ignore build --config .markdownlint.json',
  "lint:src": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives",
  prepare: "src/scripts/install-hooks",
  prepublishOnly: "npm run build",
  prettier: "prettier . --check",
  "prettier:fix": "prettier . --write",
  test: "tsc --noEmit && npm run test:unit && npm run test:e2e",
  "test:bun": "mocha test/bun",
  "test:unit": "mocha test test/package-managers/* --ignore 'test/bun/*'",
  "test:e2e": "./test/e2e.sh",
  typecheck: "tsc --noEmit",
  ncu: "node build/cli.js"
}, Bg = {
  type: "git",
  url: "git+https://github.com/raineorshine/npm-check-updates.git"
}, Fg = "https://github.com/raineorshine/npm-check-updates", Mg = { url: "https://github.com/raineorshine/npm-check-updates/issues" }, jg = {
  typescript: "$typescript",
  eslint: "$eslint",
  "eslint-config-standard": {
    "eslint-plugin-n": "$eslint-plugin-n",
    "eslint-plugin-promise": "$eslint-plugin-promise"
  },
  "@verdaccio/core": ">=8.0.0-next-8.33",
  "chai-string": { chai: "$chai" },
  diff: ">=8.0.3",
  "ip-address": ">=10.1.1",
  lodash: ">=4.18.1",
  "serialize-javascript": ">=7.0.3",
  uuid: ">=14.0.0"
}, Ug = {
  "@eslint/compat": "^2.0.5",
  "@eslint/js": "^10.0.1",
  "@microsoft/api-extractor": "^7.58.7",
  "@streamparser/json": "^0.0.22",
  "@trivago/prettier-plugin-sort-imports": "^6.0.2",
  "@types/bun": "^1.3.11",
  "@types/chai": "^5.2.3",
  "@types/chai-as-promised": "^8.0.2",
  "@types/chai-string": "^1.4.5",
  "@types/cli-table": "^0.3.4",
  "@types/hosted-git-info": "^3.0.5",
  "@types/ini": "^4.1.1",
  "@types/js-yaml": "^4.0.9",
  "@types/jsonlines": "^0.1.5",
  "@types/lodash-es": "^4.17.12",
  "@types/mocha": "^10.0.10",
  "@types/node": "^25.6.0",
  "@types/npm-registry-fetch": "^8.0.9",
  "@types/parse-github-url": "^1.0.3",
  "@types/picomatch": "^4.0.3",
  "@types/progress": "^2.0.7",
  "@types/prompts": "^2.4.9",
  "@types/semver": "^7.7.1",
  "@types/semver-utils": "^1.1.3",
  "@types/sinon": "^21.0.1",
  "@types/update-notifier": "^6.0.8",
  "@typescript-eslint/eslint-plugin": "^8.59.0",
  "@typescript-eslint/parser": "^8.59.0",
  camelcase: "^9.0.0",
  chai: "^6.2.2",
  "chai-as-promised": "^8.0.2",
  "chai-string": "^1.6.0",
  chalk: "^5.6.2",
  "cli-table3": "^0.6.5",
  commander: "^14.0.3",
  cosmiconfig: "^9.0.1",
  "cross-env": "^10.1.0",
  dequal: "^2.0.3",
  eslint: "^10.2.1",
  "eslint-config-prettier": "^10.1.8",
  "eslint-config-raine": "^0.5.0",
  "eslint-config-standard": "^17.1.0",
  "eslint-import-resolver-typescript": "^4.4.4",
  "eslint-plugin-import-x": "^4.16.2",
  "eslint-plugin-jsdoc": "^62.9.0",
  "eslint-plugin-n": "^18.0.1",
  "eslint-plugin-promise": "^7.2.1",
  "fast-glob": "^3.3.3",
  "fast-memoize": "^2.5.2",
  "find-up": "^8.0.0",
  "fp-and-or": "^1.0.2",
  globals: "^17.5.0",
  "hosted-git-info": "^9.0.2",
  ini: "^7.0.0",
  "js-yaml": "^4.1.1",
  "jsonc-parser": "^3.3.1",
  jsonlines: "^0.1.1",
  "lockfile-lint": "^5.0.0",
  "lodash-es": "^4.18.1",
  "markdownlint-cli": "^0.48.0",
  mocha: "^11.7.5",
  "npm-registry-fetch": "^19.1.1",
  "npm-run-all": "^4.1.5",
  "p-map": "^7.0.4",
  "parse-github-url": "^1.0.4",
  picomatch: "^4.0.4",
  prettier: "^3.8.3",
  progress: "^2.0.3",
  "prompts-ncu": "^3.0.2",
  rfdc: "^1.4.1",
  rimraf: "^6.1.3",
  semver: "^7.7.4",
  "semver-utils": "^1.1.4",
  should: "^13.2.3",
  sinon: "^22.0.0",
  "source-map-support": "^0.5.21",
  "spawn-please": "^3.0.0",
  "timeago.js": "^4.0.2",
  "ts-json-schema-generator": "^2.9.0",
  tsx: "^4.21.0",
  typescript: "^6.0.3",
  "unplugin-dts": "^1.0.1",
  untildify: "^6.0.0",
  "update-notifier": "^7.3.1",
  verdaccio: "^6.5.2",
  vite: "^8.0.8",
  "vite-bundle-analyzer": "^1.3.7",
  yaml: "^2.8.3",
  yarn: "^1.22.22",
  zod: "^4.3.6"
}, Hg = ["build", "!**/test/**"], qg = {
  "check-leaks": !0,
  extension: ["test.ts"],
  "node-option": [
    "import=tsx",
    "enable-source-maps",
    "trace-deprecation",
    "trace-warnings",
    "no-warnings=TimeoutNaNWarning"
  ],
  timeout: 6e4,
  recursive: !0,
  exit: !0
}, js = {
  name: Eg,
  version: Sg,
  author: Ag,
  license: Tg,
  contributors: Dg,
  description: Rg,
  keywords: Og,
  engines: Cg,
  type: Ig,
  main: kg,
  module: Lg,
  types: xg,
  bin: $g,
  exports: Ng,
  scripts: Pg,
  repository: Bg,
  homepage: Fg,
  bugs: Mg,
  overrides: jg,
  devDependencies: Ug,
  files: Hg,
  "lockfile-lint": {
    "allowed-schemes": ["https:", "git+ssh:"],
    "allowed-hosts": ["npm", "github.com"],
    "empty-hostname": !1,
    type: "npm ",
    path: "package-lock.json"
  },
  mocha: qg
}, yo = /* @__PURE__ */ z(((e, t) => {
  var r = [], i = 0, s = (d, c) => {
    i >= c && r.push(d);
  };
  s.WARN = 1, s.INFO = 2, s.DEBUG = 3, s.reset = () => {
    r = [];
  }, s.setDebugLevel = (d) => {
    i = d;
  }, s.warn = (d) => s(d, s.WARN), s.info = (d) => s(d, s.INFO), s.debug = (d) => s(d, s.DEBUG), s.debugMessages = () => r, t.exports = s;
})), Gg = /* @__PURE__ */ z(((e, t) => {
  t.exports = ({ onlyFirst: r = !1 } = {}) => {
    const i = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
    return new RegExp(i, r ? void 0 : "g");
  };
})), zg = /* @__PURE__ */ z(((e, t) => {
  var r = Gg();
  t.exports = (i) => typeof i == "string" ? i.replace(r(), "") : i;
})), Wg = /* @__PURE__ */ z(((e, t) => {
  var r = (i) => Number.isNaN(i) ? !1 : i >= 4352 && (i <= 4447 || i === 9001 || i === 9002 || 11904 <= i && i <= 12871 && i !== 12351 || 12880 <= i && i <= 19903 || 19968 <= i && i <= 42182 || 43360 <= i && i <= 43388 || 44032 <= i && i <= 55203 || 63744 <= i && i <= 64255 || 65040 <= i && i <= 65049 || 65072 <= i && i <= 65131 || 65281 <= i && i <= 65376 || 65504 <= i && i <= 65510 || 110592 <= i && i <= 110593 || 127488 <= i && i <= 127569 || 131072 <= i && i <= 262141);
  t.exports = r, t.exports.default = r;
})), Vg = /* @__PURE__ */ z(((e, t) => {
  t.exports = function() {
    return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
  };
})), Yg = /* @__PURE__ */ z(((e, t) => {
  var r = zg(), i = Wg(), s = Vg(), d = (c) => {
    if (typeof c != "string" || c.length === 0 || (c = r(c), c.length === 0)) return 0;
    c = c.replace(s(), "  ");
    let n = 0;
    for (let u = 0; u < c.length; u++) {
      const o = c.codePointAt(u);
      o <= 31 || o >= 127 && o <= 159 || o >= 768 && o <= 879 || (o > 65535 && u++, n += i(o) ? 2 : 1);
    }
    return n;
  };
  t.exports = d, t.exports.default = d;
})), Su = /* @__PURE__ */ z(((e, t) => {
  var r = Yg();
  function i(A) {
    return A ? /\u001b\[((?:\d*;){0,5}\d*)m/g : /\u001b\[(?:\d*;){0,5}\d*m/g;
  }
  function s(A) {
    let D = i();
    return ("" + A).replace(D, "").split(`
`).reduce(function(C, O) {
      return r(O) > C ? r(O) : C;
    }, 0);
  }
  function d(A, D) {
    return Array(D + 1).join(A);
  }
  function c(A, D, C, O) {
    let I = s(A);
    if (D + 1 >= I) {
      let x = D - I;
      switch (O) {
        case "right":
          A = d(C, x) + A;
          break;
        case "center": {
          let F = Math.ceil(x / 2);
          A = d(C, x - F) + A + d(C, F);
          break;
        }
        default:
          A = A + d(C, x);
          break;
      }
    }
    return A;
  }
  var n = {};
  function u(A, D, C) {
    D = "\x1B[" + D + "m", C = "\x1B[" + C + "m", n[D] = {
      set: A,
      to: !0
    }, n[C] = {
      set: A,
      to: !1
    }, n[A] = {
      on: D,
      off: C
    };
  }
  u("bold", 1, 22), u("italics", 3, 23), u("underline", 4, 24), u("inverse", 7, 27), u("strikethrough", 9, 29);
  function o(A, D) {
    let C = D[1] ? parseInt(D[1].split(";")[0]) : 0;
    if (C >= 30 && C <= 39 || C >= 90 && C <= 97) {
      A.lastForegroundAdded = D[0];
      return;
    }
    if (C >= 40 && C <= 49 || C >= 100 && C <= 107) {
      A.lastBackgroundAdded = D[0];
      return;
    }
    if (C === 0) {
      for (let I in A)
        Object.prototype.hasOwnProperty.call(A, I) && delete A[I];
      return;
    }
    let O = n[D[0]];
    O && (A[O.set] = O.to);
  }
  function h(A) {
    let D = i(!0), C = D.exec(A), O = {};
    for (; C !== null; )
      o(O, C), C = D.exec(A);
    return O;
  }
  function a(A, D) {
    let C = A.lastBackgroundAdded, O = A.lastForegroundAdded;
    return delete A.lastBackgroundAdded, delete A.lastForegroundAdded, Object.keys(A).forEach(function(I) {
      A[I] && (D += n[I].off);
    }), C && C != "\x1B[49m" && (D += "\x1B[49m"), O && O != "\x1B[39m" && (D += "\x1B[39m"), D;
  }
  function l(A, D) {
    let C = A.lastBackgroundAdded, O = A.lastForegroundAdded;
    return delete A.lastBackgroundAdded, delete A.lastForegroundAdded, Object.keys(A).forEach(function(I) {
      A[I] && (D = n[I].on + D);
    }), C && C != "\x1B[49m" && (D = C + D), O && O != "\x1B[39m" && (D = O + D), D;
  }
  function f(A, D) {
    if (A.length === s(A)) return A.substr(0, D);
    for (; s(A) > D; ) A = A.slice(0, -1);
    return A;
  }
  function p(A, D) {
    let C = i(!0), O = A.split(i()), I = 0, x = 0, F = "", q, K = {};
    for (; x < D; ) {
      q = C.exec(A);
      let M = O[I];
      if (I++, x + s(M) > D && (M = f(M, D - x)), F += M, x += s(M), x < D) {
        if (!q) break;
        F += q[0], o(K, q);
      }
    }
    return a(K, F);
  }
  function g(A, D, C) {
    if (C = C || "…", s(A) <= D) return A;
    D -= s(C);
    let O = p(A, D);
    O += C;
    const I = "\x1B]8;;\x07";
    return A.includes(I) && !O.includes(I) && (O += I), O;
  }
  function m() {
    return {
      chars: {
        top: "─",
        "top-mid": "┬",
        "top-left": "┌",
        "top-right": "┐",
        bottom: "─",
        "bottom-mid": "┴",
        "bottom-left": "└",
        "bottom-right": "┘",
        left: "│",
        "left-mid": "├",
        mid: "─",
        "mid-mid": "┼",
        right: "│",
        "right-mid": "┤",
        middle: "│"
      },
      truncate: "…",
      colWidths: [],
      rowHeights: [],
      colAligns: [],
      rowAligns: [],
      style: {
        "padding-left": 1,
        "padding-right": 1,
        head: ["red"],
        border: ["grey"],
        compact: !1
      },
      head: []
    };
  }
  function v(A, D) {
    A = A || {}, D = D || m();
    let C = Object.assign({}, D, A);
    return C.chars = Object.assign({}, D.chars, A.chars), C.style = Object.assign({}, D.style, A.style), C;
  }
  function _(A, D) {
    let C = [], O = D.split(/(\s+)/g), I = [], x = 0, F;
    for (let q = 0; q < O.length; q += 2) {
      let K = O[q], M = x + s(K);
      x > 0 && F && (M += F.length), M > A ? (x !== 0 && C.push(I.join("")), I = [K], x = s(K)) : (I.push(F || "", K), x = M), F = O[q + 1];
    }
    return x && C.push(I.join("")), C;
  }
  function E(A, D) {
    let C = [], O = "";
    function I(F, q) {
      for (O.length && q && (O += q), O += F; O.length > A; )
        C.push(O.slice(0, A)), O = O.slice(A);
    }
    let x = D.split(/(\s+)/g);
    for (let F = 0; F < x.length; F += 2) I(x[F], F && x[F - 1]);
    return O.length && C.push(O), C;
  }
  function S(A, D, C = !0) {
    let O = [];
    D = D.split(`
`);
    const I = C ? _ : E;
    for (let x = 0; x < D.length; x++) O.push.apply(O, I(A, D[x]));
    return O;
  }
  function w(A) {
    let D = {}, C = [];
    for (let O = 0; O < A.length; O++) {
      let I = l(D, A[O]);
      D = h(I);
      let x = Object.assign({}, D);
      C.push(a(x, I));
    }
    return C;
  }
  function b(A, D) {
    return [
      "\x1B]",
      "8",
      ";",
      ";",
      A || D,
      "\x07",
      D,
      "\x1B]",
      "8",
      ";",
      ";",
      "\x07"
    ].join("");
  }
  t.exports = {
    strlen: s,
    repeat: d,
    pad: c,
    truncate: g,
    mergeOptions: v,
    wordWrap: S,
    colorizeLines: w,
    hyperlink: b
  };
})), Kg = /* @__PURE__ */ z(((e, t) => {
  var r = {};
  t.exports = r;
  var i = {
    reset: [0, 0],
    bold: [1, 22],
    dim: [2, 22],
    italic: [3, 23],
    underline: [4, 24],
    inverse: [7, 27],
    hidden: [8, 28],
    strikethrough: [9, 29],
    black: [30, 39],
    red: [31, 39],
    green: [32, 39],
    yellow: [33, 39],
    blue: [34, 39],
    magenta: [35, 39],
    cyan: [36, 39],
    white: [37, 39],
    gray: [90, 39],
    grey: [90, 39],
    brightRed: [91, 39],
    brightGreen: [92, 39],
    brightYellow: [93, 39],
    brightBlue: [94, 39],
    brightMagenta: [95, 39],
    brightCyan: [96, 39],
    brightWhite: [97, 39],
    bgBlack: [40, 49],
    bgRed: [41, 49],
    bgGreen: [42, 49],
    bgYellow: [43, 49],
    bgBlue: [44, 49],
    bgMagenta: [45, 49],
    bgCyan: [46, 49],
    bgWhite: [47, 49],
    bgGray: [100, 49],
    bgGrey: [100, 49],
    bgBrightRed: [101, 49],
    bgBrightGreen: [102, 49],
    bgBrightYellow: [103, 49],
    bgBrightBlue: [104, 49],
    bgBrightMagenta: [105, 49],
    bgBrightCyan: [106, 49],
    bgBrightWhite: [107, 49],
    blackBG: [40, 49],
    redBG: [41, 49],
    greenBG: [42, 49],
    yellowBG: [43, 49],
    blueBG: [44, 49],
    magentaBG: [45, 49],
    cyanBG: [46, 49],
    whiteBG: [47, 49]
  };
  Object.keys(i).forEach(function(s) {
    var d = i[s], c = r[s] = [];
    c.open = "\x1B[" + d[0] + "m", c.close = "\x1B[" + d[1] + "m";
  });
})), Zg = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r, i) {
    i = i || process.argv;
    var s = i.indexOf("--"), d = /^-{1,2}/.test(r) ? "" : "--", c = i.indexOf(d + r);
    return c !== -1 && (s === -1 ? !0 : c < s);
  };
})), Jg = /* @__PURE__ */ z(((e, t) => {
  var r = be("os"), i = Zg(), s = process.env, d = void 0;
  i("no-color") || i("no-colors") || i("color=false") ? d = !1 : (i("color") || i("colors") || i("color=true") || i("color=always")) && (d = !0), "FORCE_COLOR" in s && (d = s.FORCE_COLOR.length === 0 || parseInt(s.FORCE_COLOR, 10) !== 0);
  function c(o) {
    return o === 0 ? !1 : {
      level: o,
      hasBasic: !0,
      has256: o >= 2,
      has16m: o >= 3
    };
  }
  function n(o) {
    if (d === !1) return 0;
    if (i("color=16m") || i("color=full") || i("color=truecolor")) return 3;
    if (i("color=256")) return 2;
    if (o && !o.isTTY && d !== !0) return 0;
    var h = d ? 1 : 0;
    if (process.platform === "win32") {
      var a = r.release().split(".");
      return Number(process.versions.node.split(".")[0]) >= 8 && Number(a[0]) >= 10 && Number(a[2]) >= 10586 ? Number(a[2]) >= 14931 ? 3 : 2 : 1;
    }
    if ("CI" in s)
      return [
        "TRAVIS",
        "CIRCLECI",
        "APPVEYOR",
        "GITLAB_CI"
      ].some(function(f) {
        return f in s;
      }) || s.CI_NAME === "codeship" ? 1 : h;
    if ("TEAMCITY_VERSION" in s) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION) ? 1 : 0;
    if ("TERM_PROGRAM" in s) {
      var l = parseInt((s.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (s.TERM_PROGRAM) {
        case "iTerm.app":
          return l >= 3 ? 3 : 2;
        case "Hyper":
          return 3;
        case "Apple_Terminal":
          return 2;
      }
    }
    return /-256(color)?$/i.test(s.TERM) ? 2 : /^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM) || "COLORTERM" in s ? 1 : (s.TERM === "dumb", h);
  }
  function u(o) {
    return c(n(o));
  }
  t.exports = {
    supportsColor: u,
    stdout: u(process.stdout),
    stderr: u(process.stderr)
  };
})), Xg = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(i, s) {
    var d = "";
    i = i || "Run the trap, drop the bass", i = i.split("");
    var c = {
      a: [
        "@",
        "Ą",
        "Ⱥ",
        "Ʌ",
        "Δ",
        "Λ",
        "Д"
      ],
      b: [
        "ß",
        "Ɓ",
        "Ƀ",
        "ɮ",
        "β",
        "฿"
      ],
      c: [
        "©",
        "Ȼ",
        "Ͼ"
      ],
      d: [
        "Ð",
        "Ɗ",
        "Ԁ",
        "ԁ",
        "Ԃ",
        "ԃ"
      ],
      e: [
        "Ë",
        "ĕ",
        "Ǝ",
        "ɘ",
        "Σ",
        "ξ",
        "Ҽ",
        "੬"
      ],
      f: ["Ӻ"],
      g: ["ɢ"],
      h: [
        "Ħ",
        "ƕ",
        "Ң",
        "Һ",
        "Ӈ",
        "Ԋ"
      ],
      i: ["༏"],
      j: ["Ĵ"],
      k: [
        "ĸ",
        "Ҡ",
        "Ӄ",
        "Ԟ"
      ],
      l: ["Ĺ"],
      m: [
        "ʍ",
        "Ӎ",
        "ӎ",
        "Ԡ",
        "ԡ",
        "൩"
      ],
      n: [
        "Ñ",
        "ŋ",
        "Ɲ",
        "Ͷ",
        "Π",
        "Ҋ"
      ],
      o: [
        "Ø",
        "õ",
        "ø",
        "Ǿ",
        "ʘ",
        "Ѻ",
        "ם",
        "۝",
        "๏"
      ],
      p: ["Ƿ", "Ҏ"],
      q: ["্"],
      r: [
        "®",
        "Ʀ",
        "Ȑ",
        "Ɍ",
        "ʀ",
        "Я"
      ],
      s: [
        "§",
        "Ϟ",
        "ϟ",
        "Ϩ"
      ],
      t: [
        "Ł",
        "Ŧ",
        "ͳ"
      ],
      u: ["Ʊ", "Ս"],
      v: ["ט"],
      w: [
        "Ш",
        "Ѡ",
        "Ѽ",
        "൰"
      ],
      x: [
        "Ҳ",
        "Ӿ",
        "Ӽ",
        "ӽ"
      ],
      y: [
        "¥",
        "Ұ",
        "Ӌ"
      ],
      z: ["Ƶ", "ɀ"]
    };
    return i.forEach(function(n) {
      n = n.toLowerCase();
      var u = c[n] || [" "], o = Math.floor(Math.random() * u.length);
      typeof c[n] < "u" ? d += c[n][o] : d += n;
    }), d;
  };
})), Qg = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(i, s) {
    i = i || "   he is here   ";
    var d = {
      up: [
        "̍",
        "̎",
        "̄",
        "̅",
        "̿",
        "̑",
        "̆",
        "̐",
        "͒",
        "͗",
        "͑",
        "̇",
        "̈",
        "̊",
        "͂",
        "̓",
        "̈",
        "͊",
        "͋",
        "͌",
        "̃",
        "̂",
        "̌",
        "͐",
        "̀",
        "́",
        "̋",
        "̏",
        "̒",
        "̓",
        "̔",
        "̽",
        "̉",
        "ͣ",
        "ͤ",
        "ͥ",
        "ͦ",
        "ͧ",
        "ͨ",
        "ͩ",
        "ͪ",
        "ͫ",
        "ͬ",
        "ͭ",
        "ͮ",
        "ͯ",
        "̾",
        "͛",
        "͆",
        "̚"
      ],
      down: [
        "̖",
        "̗",
        "̘",
        "̙",
        "̜",
        "̝",
        "̞",
        "̟",
        "̠",
        "̤",
        "̥",
        "̦",
        "̩",
        "̪",
        "̫",
        "̬",
        "̭",
        "̮",
        "̯",
        "̰",
        "̱",
        "̲",
        "̳",
        "̹",
        "̺",
        "̻",
        "̼",
        "ͅ",
        "͇",
        "͈",
        "͉",
        "͍",
        "͎",
        "͓",
        "͔",
        "͕",
        "͖",
        "͙",
        "͚",
        "̣"
      ],
      mid: [
        "̕",
        "̛",
        "̀",
        "́",
        "͘",
        "̡",
        "̢",
        "̧",
        "̨",
        "̴",
        "̵",
        "̶",
        "͜",
        "͝",
        "͞",
        "͟",
        "͠",
        "͢",
        "̸",
        "̷",
        "͡",
        " ҉"
      ]
    }, c = [].concat(d.up, d.down, d.mid);
    function n(h) {
      return Math.floor(Math.random() * h);
    }
    function u(h) {
      var a = !1;
      return c.filter(function(l) {
        a = l === h;
      }), a;
    }
    function o(h, a) {
      var l = "", f, p;
      a = a || {}, a.up = typeof a.up < "u" ? a.up : !0, a.mid = typeof a.mid < "u" ? a.mid : !0, a.down = typeof a.down < "u" ? a.down : !0, a.size = typeof a.size < "u" ? a.size : "maxi", h = h.split("");
      for (p in h)
        if (!u(p)) {
          switch (l = l + h[p], f = {
            up: 0,
            down: 0,
            mid: 0
          }, a.size) {
            case "mini":
              f.up = n(8), f.mid = n(2), f.down = n(8);
              break;
            case "maxi":
              f.up = n(16) + 3, f.mid = n(4) + 1, f.down = n(64) + 3;
              break;
            default:
              f.up = n(8) + 1, f.mid = n(6) / 2, f.down = n(8) + 1;
              break;
          }
          var g = [
            "up",
            "mid",
            "down"
          ];
          for (var m in g)
            for (var v = g[m], _ = 0; _ <= f[v]; _++) a[v] && (l = l + d[v][n(d[v].length)]);
        }
      return l;
    }
    return o(i, s);
  };
})), em = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r) {
    return function(i, s, d) {
      if (i === " ") return i;
      switch (s % 3) {
        case 0:
          return r.red(i);
        case 1:
          return r.white(i);
        case 2:
          return r.blue(i);
      }
    };
  };
})), tm = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r) {
    return function(i, s, d) {
      return s % 2 === 0 ? i : r.inverse(i);
    };
  };
})), rm = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r) {
    var i = [
      "red",
      "yellow",
      "green",
      "blue",
      "magenta"
    ];
    return function(s, d, c) {
      return s === " " ? s : r[i[d++ % i.length]](s);
    };
  };
})), im = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r) {
    var i = [
      "underline",
      "inverse",
      "grey",
      "yellow",
      "red",
      "green",
      "blue",
      "white",
      "cyan",
      "magenta",
      "brightYellow",
      "brightRed",
      "brightGreen",
      "brightBlue",
      "brightWhite",
      "brightCyan",
      "brightMagenta"
    ];
    return function(s, d, c) {
      return s === " " ? s : r[i[Math.round(Math.random() * (i.length - 2))]](s);
    };
  };
})), nm = /* @__PURE__ */ z(((e, t) => {
  var r = {};
  t.exports = r, r.themes = {};
  var i = be("util"), s = r.styles = Kg(), d = Object.defineProperties, c = /* @__PURE__ */ new RegExp(/[\r\n]+/g);
  r.supportsColor = Jg().supportsColor, typeof r.enabled > "u" && (r.enabled = r.supportsColor() !== !1), r.enable = function() {
    r.enabled = !0;
  }, r.disable = function() {
    r.enabled = !1;
  }, r.stripColors = r.strip = function(m) {
    return ("" + m).replace(/\x1B\[\d+m/g, "");
  }, r.stylize = function(v, _) {
    if (!r.enabled) return v + "";
    var E = s[_];
    return !E && _ in r ? r[_](v) : E.open + v + E.close;
  };
  var n = /[|\\{}()[\]^$+*?.]/g, u = function(m) {
    if (typeof m != "string") throw new TypeError("Expected a string");
    return m.replace(n, "\\$&");
  };
  function o(m) {
    var v = function _() {
      return l.apply(_, arguments);
    };
    return v._styles = m, v.__proto__ = a, v;
  }
  var h = (function() {
    var m = {};
    return s.grey = s.gray, Object.keys(s).forEach(function(v) {
      s[v].closeRe = new RegExp(u(s[v].close), "g"), m[v] = { get: function() {
        return o(this._styles.concat(v));
      } };
    }), m;
  })(), a = d(function() {
  }, h);
  function l() {
    var m = Array.prototype.slice.call(arguments).map(function(w) {
      return w != null && w.constructor === String ? w : i.inspect(w);
    }).join(" ");
    if (!r.enabled || !m) return m;
    for (var v = m.indexOf(`
`) != -1, _ = this._styles, E = _.length; E--; ) {
      var S = s[_[E]];
      m = S.open + m.replace(S.closeRe, S.open) + S.close, v && (m = m.replace(c, function(w) {
        return S.close + w + S.open;
      }));
    }
    return m;
  }
  r.setTheme = function(m) {
    if (typeof m == "string") {
      console.log("colors.setTheme now only accepts an object, not a string.  If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file.  The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");
      return;
    }
    for (var v in m) (function(_) {
      r[_] = function(E) {
        if (typeof m[_] == "object") {
          var S = E;
          for (var w in m[_]) S = r[m[_][w]](S);
          return S;
        }
        return r[m[_]](E);
      };
    })(v);
  };
  function f() {
    var m = {};
    return Object.keys(h).forEach(function(v) {
      m[v] = { get: function() {
        return o([v]);
      } };
    }), m;
  }
  var p = function(v, _) {
    var E = _.split("");
    return E = E.map(v), E.join("");
  };
  r.trap = Xg(), r.zalgo = Qg(), r.maps = {}, r.maps.america = em()(r), r.maps.zebra = tm()(r), r.maps.rainbow = rm()(r), r.maps.random = im()(r);
  for (var g in r.maps) (function(m) {
    r[m] = function(v) {
      return p(r.maps[m], v);
    };
  })(g);
  d(r, f());
})), sm = /* @__PURE__ */ z(((e, t) => {
  var r = nm();
  t.exports = r;
})), am = /* @__PURE__ */ z(((e, t) => {
  var { info: r, debug: i } = yo(), s = Su(), d = class en {
    constructor(p) {
      this.setOptions(p), this.x = null, this.y = null;
    }
    setOptions(p) {
      [
        "boolean",
        "number",
        "bigint",
        "string"
      ].indexOf(typeof p) !== -1 && (p = { content: "" + p }), p = p || {}, this.options = p;
      let g = p.content;
      if ([
        "boolean",
        "number",
        "bigint",
        "string"
      ].indexOf(typeof g) !== -1) this.content = String(g);
      else if (!g) this.content = this.options.href || "";
      else throw new Error("Content needs to be a primitive, got: " + typeof g);
      this.colSpan = p.colSpan || 1, this.rowSpan = p.rowSpan || 1, this.options.href && Object.defineProperty(this, "href", { get() {
        return this.options.href;
      } });
    }
    mergeTableOptions(p, g) {
      this.cells = g;
      let m = this.options.chars || {}, v = p.chars, _ = this.chars = {};
      l.forEach(function(w) {
        o(m, v, w, _);
      }), this.truncate = this.options.truncate || p.truncate;
      let E = this.options.style = this.options.style || {}, S = p.style;
      o(E, S, "padding-left", this), o(E, S, "padding-right", this), this.head = E.head || S.head, this.border = E.border || S.border, this.fixedWidth = p.colWidths[this.x], this.lines = this.computeLines(p), this.desiredWidth = s.strlen(this.content) + this.paddingLeft + this.paddingRight, this.desiredHeight = this.lines.length;
    }
    computeLines(p) {
      const g = p.wordWrap || p.textWrap, { wordWrap: m = g } = this.options;
      if (this.fixedWidth && m) {
        if (this.fixedWidth -= this.paddingLeft + this.paddingRight, this.colSpan) {
          let E = 1;
          for (; E < this.colSpan; )
            this.fixedWidth += p.colWidths[this.x + E], E++;
        }
        const { wrapOnWordBoundary: v = !0 } = p, { wrapOnWordBoundary: _ = v } = this.options;
        return this.wrapLines(s.wordWrap(this.fixedWidth, this.content, _));
      }
      return this.wrapLines(this.content.split(`
`));
    }
    wrapLines(p) {
      const g = s.colorizeLines(p);
      return this.href ? g.map((m) => s.hyperlink(this.href, m)) : g;
    }
    init(p) {
      let g = this.x, m = this.y;
      this.widths = p.colWidths.slice(g, g + this.colSpan), this.heights = p.rowHeights.slice(m, m + this.rowSpan), this.width = this.widths.reduce(a, -1), this.height = this.heights.reduce(a, -1), this.hAlign = this.options.hAlign || p.colAligns[g], this.vAlign = this.options.vAlign || p.rowAligns[m], this.drawRight = g + this.colSpan == p.colWidths.length;
    }
    draw(p, g) {
      if (p == "top") return this.drawTop(this.drawRight);
      if (p == "bottom") return this.drawBottom(this.drawRight);
      let m = s.truncate(this.content, 10, this.truncate);
      p || r(`${this.y}-${this.x}: ${this.rowSpan - p}x${this.colSpan} Cell ${m}`);
      let v = Math.max(this.height - this.lines.length, 0), _;
      switch (this.vAlign) {
        case "center":
          _ = Math.ceil(v / 2);
          break;
        case "bottom":
          _ = v;
          break;
        default:
          _ = 0;
      }
      if (p < _ || p >= _ + this.lines.length) return this.drawEmpty(this.drawRight, g);
      let E = this.lines.length > this.height && p + 1 >= this.height;
      return this.drawLine(p - _, this.drawRight, E, g);
    }
    drawTop(p) {
      let g = [];
      return this.cells ? this.widths.forEach(function(m, v) {
        g.push(this._topLeftChar(v)), g.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], m));
      }, this) : (g.push(this._topLeftChar(0)), g.push(s.repeat(this.chars[this.y == 0 ? "top" : "mid"], this.width))), p && g.push(this.chars[this.y == 0 ? "topRight" : "rightMid"]), this.wrapWithStyleColors("border", g.join(""));
    }
    _topLeftChar(p) {
      let g = this.x + p, m;
      if (this.y == 0) m = g == 0 ? "topLeft" : p == 0 ? "topMid" : "top";
      else if (g == 0) m = "leftMid";
      else if (m = p == 0 ? "midMid" : "bottomMid", this.cells && (this.cells[this.y - 1][g] instanceof en.ColSpanCell && (m = p == 0 ? "topMid" : "mid"), p == 0)) {
        let v = 1;
        for (; this.cells[this.y][g - v] instanceof en.ColSpanCell; ) v++;
        this.cells[this.y][g - v] instanceof en.RowSpanCell && (m = "leftMid");
      }
      return this.chars[m];
    }
    wrapWithStyleColors(p, g) {
      if (this[p] && this[p].length) try {
        let m = sm();
        for (let v = this[p].length - 1; v >= 0; v--) m = m[this[p][v]];
        return m(g);
      } catch {
        return g;
      }
      else return g;
    }
    drawLine(p, g, m, v) {
      let _ = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && v && this.cells) {
        let C = this.cells[this.y + v][this.x - 1];
        for (; C instanceof c; ) C = this.cells[C.y][C.x - 1];
        C instanceof n || (_ = this.chars.rightMid);
      }
      let E = s.repeat(" ", this.paddingLeft), S = g ? this.chars.right : "", w = s.repeat(" ", this.paddingRight), b = this.lines[p], A = this.width - (this.paddingLeft + this.paddingRight);
      m && (b += this.truncate || "…");
      let D = s.truncate(b, A, this.truncate);
      return D = s.pad(D, A, " ", this.hAlign), D = E + D + w, this.stylizeLine(_, D, S);
    }
    stylizeLine(p, g, m) {
      return p = this.wrapWithStyleColors("border", p), m = this.wrapWithStyleColors("border", m), this.y === 0 && (g = this.wrapWithStyleColors("head", g)), p + g + m;
    }
    drawBottom(p) {
      let g = this.chars[this.x == 0 ? "bottomLeft" : "bottomMid"], m = s.repeat(this.chars.bottom, this.width), v = p ? this.chars.bottomRight : "";
      return this.wrapWithStyleColors("border", g + m + v);
    }
    drawEmpty(p, g) {
      let m = this.chars[this.x == 0 ? "left" : "middle"];
      if (this.x && g && this.cells) {
        let E = this.cells[this.y + g][this.x - 1];
        for (; E instanceof c; ) E = this.cells[E.y][E.x - 1];
        E instanceof n || (m = this.chars.rightMid);
      }
      let v = p ? this.chars.right : "", _ = s.repeat(" ", this.width);
      return this.stylizeLine(m, _, v);
    }
  }, c = class {
    constructor() {
    }
    draw(f) {
      return typeof f == "number" && i(`${this.y}-${this.x}: 1x1 ColSpanCell`), "";
    }
    init() {
    }
    mergeTableOptions() {
    }
  }, n = class {
    constructor(f) {
      this.originalCell = f;
    }
    init(f) {
      let p = this.y, g = this.originalCell.y;
      this.cellOffset = p - g, this.offset = h(f.rowHeights, g, this.cellOffset);
    }
    draw(f) {
      return f == "top" ? this.originalCell.draw(this.offset, this.cellOffset) : f == "bottom" ? this.originalCell.draw("bottom") : (i(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`), this.originalCell.draw(this.offset + 1 + f));
    }
    mergeTableOptions() {
    }
  };
  function u(...f) {
    return f.filter((p) => p != null).shift();
  }
  function o(f, p, g, m) {
    let v = g.split("-");
    v.length > 1 ? (v[1] = v[1].charAt(0).toUpperCase() + v[1].substr(1), v = v.join(""), m[v] = u(f[v], f[g], p[v], p[g])) : m[g] = u(f[g], p[g]);
  }
  function h(f, p, g) {
    let m = f[p];
    for (let v = 1; v < g; v++) m += 1 + f[p + v];
    return m;
  }
  function a(f, p) {
    return f + p + 1;
  }
  var l = [
    "top",
    "top-mid",
    "top-left",
    "top-right",
    "bottom",
    "bottom-mid",
    "bottom-left",
    "bottom-right",
    "left",
    "left-mid",
    "mid",
    "mid-mid",
    "right",
    "right-mid",
    "middle"
  ];
  t.exports = d, t.exports.ColSpanCell = c, t.exports.RowSpanCell = n;
})), om = /* @__PURE__ */ z(((e, t) => {
  var { warn: r, debug: i } = yo(), s = am(), { ColSpanCell: d, RowSpanCell: c } = s;
  (function() {
    function u(w, b) {
      return w[b] > 0 ? u(w, b + 1) : b;
    }
    function o(w) {
      let b = {};
      w.forEach(function(A, D) {
        let C = 0;
        A.forEach(function(O) {
          O.y = D, O.x = D ? u(b, C) : C;
          const I = O.rowSpan || 1, x = O.colSpan || 1;
          if (I > 1) for (let F = 0; F < x; F++) b[O.x + F] = I;
          C = O.x + x;
        }), Object.keys(b).forEach((O) => {
          b[O]--, b[O] < 1 && delete b[O];
        });
      });
    }
    function h(w) {
      let b = 0;
      return w.forEach(function(A) {
        A.forEach(function(D) {
          b = Math.max(b, D.x + (D.colSpan || 1));
        });
      }), b;
    }
    function a(w) {
      return w.length;
    }
    function l(w, b) {
      let A = w.y, D = w.y - 1 + (w.rowSpan || 1), C = b.y, O = !(A > b.y - 1 + (b.rowSpan || 1) || C > D), I = w.x, x = w.x - 1 + (w.colSpan || 1), F = b.x, q = !(I > b.x - 1 + (b.colSpan || 1) || F > x);
      return O && q;
    }
    function f(w, b, A) {
      let D = Math.min(w.length - 1, A), C = {
        x: b,
        y: A
      };
      for (let O = 0; O <= D; O++) {
        let I = w[O];
        for (let x = 0; x < I.length; x++) if (l(C, I[x])) return !0;
      }
      return !1;
    }
    function p(w, b, A, D) {
      for (let C = A; C < D; C++) if (f(w, C, b)) return !1;
      return !0;
    }
    function g(w) {
      w.forEach(function(b, A) {
        b.forEach(function(D) {
          for (let C = 1; C < D.rowSpan; C++) {
            let O = new c(D);
            O.x = D.x, O.y = D.y + C, O.colSpan = D.colSpan, v(O, w[A + C]);
          }
        });
      });
    }
    function m(w) {
      for (let b = w.length - 1; b >= 0; b--) {
        let A = w[b];
        for (let D = 0; D < A.length; D++) {
          let C = A[D];
          for (let O = 1; O < C.colSpan; O++) {
            let I = new d();
            I.x = C.x + O, I.y = C.y, A.splice(D + 1, 0, I);
          }
        }
      }
    }
    function v(w, b) {
      let A = 0;
      for (; A < b.length && b[A].x < w.x; ) A++;
      b.splice(A, 0, w);
    }
    function _(w) {
      let b = a(w), A = h(w);
      i(`Max rows: ${b}; Max cols: ${A}`);
      for (let D = 0; D < b; D++) for (let C = 0; C < A; C++) if (!f(w, C, D)) {
        let O = {
          x: C,
          y: D,
          colSpan: 1,
          rowSpan: 1
        };
        for (C++; C < A && !f(w, C, D); )
          O.colSpan++, C++;
        let I = D + 1;
        for (; I < b && p(w, I, O.x, O.x + O.colSpan); )
          O.rowSpan++, I++;
        let x = new s(O);
        x.x = O.x, x.y = O.y, r(`Missing cell at ${x.y}-${x.x}.`), v(x, w[D]);
      }
    }
    function E(w) {
      return w.map(function(b) {
        if (!Array.isArray(b)) {
          let A = Object.keys(b)[0];
          b = b[A], Array.isArray(b) ? (b = b.slice(), b.unshift(A)) : b = [A, b];
        }
        return b.map(function(A) {
          return new s(A);
        });
      });
    }
    function S(w) {
      let b = E(w);
      return o(b), _(b), g(b), m(b), b;
    }
    t.exports = {
      makeTableLayout: S,
      layoutTable: o,
      addRowSpanCells: g,
      maxWidth: h,
      fillInTable: _,
      computeWidths: n("colSpan", "desiredWidth", "x", 1),
      computeHeights: n("rowSpan", "desiredHeight", "y", 1)
    };
  })();
  function n(u, o, h, a) {
    return function(l, f) {
      let p = [], g = [], m = {};
      f.forEach(function(v) {
        v.forEach(function(_) {
          (_[u] || 1) > 1 ? g.push(_) : p[_[h]] = Math.max(p[_[h]] || 0, _[o] || 0, a);
        });
      }), l.forEach(function(v, _) {
        typeof v == "number" && (p[_] = v);
      });
      for (let v = g.length - 1; v >= 0; v--) {
        let _ = g[v], E = _[u], S = _[h], w = p[S], b = typeof l[S] == "number" ? 0 : 1;
        if (typeof w == "number") for (let A = 1; A < E; A++)
          w += 1 + p[S + A], typeof l[S + A] != "number" && b++;
        else
          w = o === "desiredWidth" ? _.desiredWidth - 1 : 1, (!m[S] || m[S] < w) && (m[S] = w);
        if (_[o] > w) {
          let A = 0;
          for (; b > 0 && _[o] > w; ) {
            if (typeof l[S + A] != "number") {
              let D = Math.round((_[o] - w) / b);
              w += D, p[S + A] += D, b--;
            }
            A++;
          }
        }
      }
      Object.assign(l, p, m);
      for (let v = 0; v < l.length; v++) l[v] = Math.max(a, l[v] || 0);
    };
  }
})), lm = /* @__PURE__ */ z(((e, t) => {
  var r = yo(), i = Su(), s = om(), d = class extends Array {
    constructor(n) {
      super();
      const u = i.mergeOptions(n);
      if (Object.defineProperty(this, "options", {
        value: u,
        enumerable: u.debug
      }), u.debug) {
        switch (typeof u.debug) {
          case "boolean":
            r.setDebugLevel(r.WARN);
            break;
          case "number":
            r.setDebugLevel(u.debug);
            break;
          case "string":
            r.setDebugLevel(parseInt(u.debug, 10));
            break;
          default:
            r.setDebugLevel(r.WARN), r.warn(`Debug option is expected to be boolean, number, or string. Received a ${typeof u.debug}`);
        }
        Object.defineProperty(this, "messages", { get() {
          return r.debugMessages();
        } });
      }
    }
    toString() {
      let n = this, u = this.options.head && this.options.head.length;
      u ? (n = [this.options.head], this.length && n.push.apply(n, this)) : this.options.style.head = [];
      let o = s.makeTableLayout(n);
      o.forEach(function(a) {
        a.forEach(function(l) {
          l.mergeTableOptions(this.options, o);
        }, this);
      }, this), s.computeWidths(this.options.colWidths, o), s.computeHeights(this.options.rowHeights, o), o.forEach(function(a) {
        a.forEach(function(l) {
          l.init(this.options);
        }, this);
      }, this);
      let h = [];
      for (let a = 0; a < o.length; a++) {
        let l = o[a], f = this.options.rowHeights[a];
        (a === 0 || !this.options.style.compact || a == 1 && u) && c(l, "top", h);
        for (let p = 0; p < f; p++) c(l, p, h);
        a + 1 == o.length && c(l, "bottom", h);
      }
      return h.join(`
`);
    }
    get width() {
      return this.toString().split(`
`)[0].length;
    }
  };
  d.reset = () => r.reset();
  function c(n, u, o) {
    let h = [];
    n.forEach(function(l) {
      h.push(l.draw(u));
    });
    let a = h.join("");
    a.length && o.push(a);
  }
  t.exports = d;
})), cm = /* @__PURE__ */ z(((e, t) => {
  t.exports = lm();
})), Ai = /* @__PURE__ */ z(((e, t) => {
  var r = "2.0.0", i = 256, s = Number.MAX_SAFE_INTEGER || 9007199254740991, d = 16, c = i - 6, n = [
    "major",
    "premajor",
    "minor",
    "preminor",
    "patch",
    "prepatch",
    "prerelease"
  ];
  t.exports = {
    MAX_LENGTH: i,
    MAX_SAFE_COMPONENT_LENGTH: d,
    MAX_SAFE_BUILD_LENGTH: c,
    MAX_SAFE_INTEGER: s,
    RELEASE_TYPES: n,
    SEMVER_SPEC_VERSION: r,
    FLAG_INCLUDE_PRERELEASE: 1,
    FLAG_LOOSE: 2
  };
})), An = /* @__PURE__ */ z(((e, t) => {
  var r = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...i) => console.error("SEMVER", ...i) : () => {
  };
  t.exports = r;
})), Ti = /* @__PURE__ */ z(((e, t) => {
  var { MAX_SAFE_COMPONENT_LENGTH: r, MAX_SAFE_BUILD_LENGTH: i, MAX_LENGTH: s } = Ai(), d = An();
  e = t.exports = {};
  var c = e.re = [], n = e.safeRe = [], u = e.src = [], o = e.safeSrc = [], h = e.t = {}, a = 0, l = "[a-zA-Z0-9-]", f = [
    ["\\s", 1],
    ["\\d", s],
    [l, i]
  ], p = (m) => {
    for (const [v, _] of f) m = m.split(`${v}*`).join(`${v}{0,${_}}`).split(`${v}+`).join(`${v}{1,${_}}`);
    return m;
  }, g = (m, v, _) => {
    const E = p(v), S = a++;
    d(m, S, v), h[m] = S, u[S] = v, o[S] = E, c[S] = new RegExp(v, _ ? "g" : void 0), n[S] = new RegExp(E, _ ? "g" : void 0);
  };
  g("NUMERICIDENTIFIER", "0|[1-9]\\d*"), g("NUMERICIDENTIFIERLOOSE", "\\d+"), g("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${l}*`), g("MAINVERSION", `(${u[h.NUMERICIDENTIFIER]})\\.(${u[h.NUMERICIDENTIFIER]})\\.(${u[h.NUMERICIDENTIFIER]})`), g("MAINVERSIONLOOSE", `(${u[h.NUMERICIDENTIFIERLOOSE]})\\.(${u[h.NUMERICIDENTIFIERLOOSE]})\\.(${u[h.NUMERICIDENTIFIERLOOSE]})`), g("PRERELEASEIDENTIFIER", `(?:${u[h.NONNUMERICIDENTIFIER]}|${u[h.NUMERICIDENTIFIER]})`), g("PRERELEASEIDENTIFIERLOOSE", `(?:${u[h.NONNUMERICIDENTIFIER]}|${u[h.NUMERICIDENTIFIERLOOSE]})`), g("PRERELEASE", `(?:-(${u[h.PRERELEASEIDENTIFIER]}(?:\\.${u[h.PRERELEASEIDENTIFIER]})*))`), g("PRERELEASELOOSE", `(?:-?(${u[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[h.PRERELEASEIDENTIFIERLOOSE]})*))`), g("BUILDIDENTIFIER", `${l}+`), g("BUILD", `(?:\\+(${u[h.BUILDIDENTIFIER]}(?:\\.${u[h.BUILDIDENTIFIER]})*))`), g("FULLPLAIN", `v?${u[h.MAINVERSION]}${u[h.PRERELEASE]}?${u[h.BUILD]}?`), g("FULL", `^${u[h.FULLPLAIN]}$`), g("LOOSEPLAIN", `[v=\\s]*${u[h.MAINVERSIONLOOSE]}${u[h.PRERELEASELOOSE]}?${u[h.BUILD]}?`), g("LOOSE", `^${u[h.LOOSEPLAIN]}$`), g("GTLT", "((?:<|>)?=?)"), g("XRANGEIDENTIFIERLOOSE", `${u[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), g("XRANGEIDENTIFIER", `${u[h.NUMERICIDENTIFIER]}|x|X|\\*`), g("XRANGEPLAIN", `[v=\\s]*(${u[h.XRANGEIDENTIFIER]})(?:\\.(${u[h.XRANGEIDENTIFIER]})(?:\\.(${u[h.XRANGEIDENTIFIER]})(?:${u[h.PRERELEASE]})?${u[h.BUILD]}?)?)?`), g("XRANGEPLAINLOOSE", `[v=\\s]*(${u[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[h.XRANGEIDENTIFIERLOOSE]})(?:${u[h.PRERELEASELOOSE]})?${u[h.BUILD]}?)?)?`), g("XRANGE", `^${u[h.GTLT]}\\s*${u[h.XRANGEPLAIN]}$`), g("XRANGELOOSE", `^${u[h.GTLT]}\\s*${u[h.XRANGEPLAINLOOSE]}$`), g("COERCEPLAIN", `(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`), g("COERCE", `${u[h.COERCEPLAIN]}(?:$|[^\\d])`), g("COERCEFULL", u[h.COERCEPLAIN] + `(?:${u[h.PRERELEASE]})?(?:${u[h.BUILD]})?(?:$|[^\\d])`), g("COERCERTL", u[h.COERCE], !0), g("COERCERTLFULL", u[h.COERCEFULL], !0), g("LONETILDE", "(?:~>?)"), g("TILDETRIM", `(\\s*)${u[h.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", g("TILDE", `^${u[h.LONETILDE]}${u[h.XRANGEPLAIN]}$`), g("TILDELOOSE", `^${u[h.LONETILDE]}${u[h.XRANGEPLAINLOOSE]}$`), g("LONECARET", "(?:\\^)"), g("CARETTRIM", `(\\s*)${u[h.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", g("CARET", `^${u[h.LONECARET]}${u[h.XRANGEPLAIN]}$`), g("CARETLOOSE", `^${u[h.LONECARET]}${u[h.XRANGEPLAINLOOSE]}$`), g("COMPARATORLOOSE", `^${u[h.GTLT]}\\s*(${u[h.LOOSEPLAIN]})$|^$`), g("COMPARATOR", `^${u[h.GTLT]}\\s*(${u[h.FULLPLAIN]})$|^$`), g("COMPARATORTRIM", `(\\s*)${u[h.GTLT]}\\s*(${u[h.LOOSEPLAIN]}|${u[h.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", g("HYPHENRANGE", `^\\s*(${u[h.XRANGEPLAIN]})\\s+-\\s+(${u[h.XRANGEPLAIN]})\\s*$`), g("HYPHENRANGELOOSE", `^\\s*(${u[h.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[h.XRANGEPLAINLOOSE]})\\s*$`), g("STAR", "(<|>)?=?\\s*\\*"), g("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), g("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
})), _o = /* @__PURE__ */ z(((e, t) => {
  var r = Object.freeze({ loose: !0 }), i = Object.freeze({}), s = (d) => d ? typeof d != "object" ? r : d : i;
  t.exports = s;
})), Au = /* @__PURE__ */ z(((e, t) => {
  var r = /^[0-9]+$/, i = (d, c) => {
    if (typeof d == "number" && typeof c == "number") return d === c ? 0 : d < c ? -1 : 1;
    const n = r.test(d), u = r.test(c);
    return n && u && (d = +d, c = +c), d === c ? 0 : n && !u ? -1 : u && !n ? 1 : d < c ? -1 : 1;
  }, s = (d, c) => i(c, d);
  t.exports = {
    compareIdentifiers: i,
    rcompareIdentifiers: s
  };
})), Et = /* @__PURE__ */ z(((e, t) => {
  var r = An(), { MAX_LENGTH: i, MAX_SAFE_INTEGER: s } = Ai(), { safeRe: d, t: c } = Ti(), n = _o(), { compareIdentifiers: u } = Au(), o = class zt {
    constructor(a, l) {
      if (l = n(l), a instanceof zt) {
        if (a.loose === !!l.loose && a.includePrerelease === !!l.includePrerelease) return a;
        a = a.version;
      } else if (typeof a != "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);
      if (a.length > i) throw new TypeError(`version is longer than ${i} characters`);
      r("SemVer", a, l), this.options = l, this.loose = !!l.loose, this.includePrerelease = !!l.includePrerelease;
      const f = a.trim().match(l.loose ? d[c.LOOSE] : d[c.FULL]);
      if (!f) throw new TypeError(`Invalid Version: ${a}`);
      if (this.raw = a, this.major = +f[1], this.minor = +f[2], this.patch = +f[3], this.major > s || this.major < 0) throw new TypeError("Invalid major version");
      if (this.minor > s || this.minor < 0) throw new TypeError("Invalid minor version");
      if (this.patch > s || this.patch < 0) throw new TypeError("Invalid patch version");
      f[4] ? this.prerelease = f[4].split(".").map((p) => {
        if (/^[0-9]+$/.test(p)) {
          const g = +p;
          if (g >= 0 && g < s) return g;
        }
        return p;
      }) : this.prerelease = [], this.build = f[5] ? f[5].split(".") : [], this.format();
    }
    format() {
      return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
    }
    toString() {
      return this.version;
    }
    compare(a) {
      if (r("SemVer.compare", this.version, this.options, a), !(a instanceof zt)) {
        if (typeof a == "string" && a === this.version) return 0;
        a = new zt(a, this.options);
      }
      return a.version === this.version ? 0 : this.compareMain(a) || this.comparePre(a);
    }
    compareMain(a) {
      return a instanceof zt || (a = new zt(a, this.options)), this.major < a.major ? -1 : this.major > a.major ? 1 : this.minor < a.minor ? -1 : this.minor > a.minor ? 1 : this.patch < a.patch ? -1 : this.patch > a.patch ? 1 : 0;
    }
    comparePre(a) {
      if (a instanceof zt || (a = new zt(a, this.options)), this.prerelease.length && !a.prerelease.length) return -1;
      if (!this.prerelease.length && a.prerelease.length) return 1;
      if (!this.prerelease.length && !a.prerelease.length) return 0;
      let l = 0;
      do {
        const f = this.prerelease[l], p = a.prerelease[l];
        if (r("prerelease compare", l, f, p), f === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (f === void 0) return -1;
        if (f === p) continue;
        return u(f, p);
      } while (++l);
    }
    compareBuild(a) {
      a instanceof zt || (a = new zt(a, this.options));
      let l = 0;
      do {
        const f = this.build[l], p = a.build[l];
        if (r("build compare", l, f, p), f === void 0 && p === void 0) return 0;
        if (p === void 0) return 1;
        if (f === void 0) return -1;
        if (f === p) continue;
        return u(f, p);
      } while (++l);
    }
    inc(a, l, f) {
      if (a.startsWith("pre")) {
        if (!l && f === !1) throw new Error("invalid increment argument: identifier is empty");
        if (l) {
          const p = `-${l}`.match(this.options.loose ? d[c.PRERELEASELOOSE] : d[c.PRERELEASE]);
          if (!p || p[1] !== l) throw new Error(`invalid identifier: ${l}`);
        }
      }
      switch (a) {
        case "premajor":
          this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", l, f);
          break;
        case "preminor":
          this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", l, f);
          break;
        case "prepatch":
          this.prerelease.length = 0, this.inc("patch", l, f), this.inc("pre", l, f);
          break;
        case "prerelease":
          this.prerelease.length === 0 && this.inc("patch", l, f), this.inc("pre", l, f);
          break;
        case "release":
          if (this.prerelease.length === 0) throw new Error(`version ${this.raw} is not a prerelease`);
          this.prerelease.length = 0;
          break;
        case "major":
          (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
          break;
        case "minor":
          (this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
          break;
        case "patch":
          this.prerelease.length === 0 && this.patch++, this.prerelease = [];
          break;
        case "pre": {
          const p = Number(f) ? 1 : 0;
          if (this.prerelease.length === 0) this.prerelease = [p];
          else {
            let g = this.prerelease.length;
            for (; --g >= 0; ) typeof this.prerelease[g] == "number" && (this.prerelease[g]++, g = -2);
            if (g === -1) {
              if (l === this.prerelease.join(".") && f === !1) throw new Error("invalid increment argument: identifier already exists");
              this.prerelease.push(p);
            }
          }
          if (l) {
            let g = [l, p];
            f === !1 && (g = [l]), u(this.prerelease[0], l) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = g) : this.prerelease = g;
          }
          break;
        }
        default:
          throw new Error(`invalid increment argument: ${a}`);
      }
      return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
    }
  };
  t.exports = o;
})), gr = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d, c = !1) => {
    if (s instanceof r) return s;
    try {
      return new r(s, d);
    } catch (n) {
      if (!c) return null;
      throw n;
    }
  };
  t.exports = i;
})), um = /* @__PURE__ */ z(((e, t) => {
  var r = gr(), i = (s, d) => {
    const c = r(s, d);
    return c ? c.version : null;
  };
  t.exports = i;
})), hm = /* @__PURE__ */ z(((e, t) => {
  var r = gr(), i = (s, d) => {
    const c = r(s.trim().replace(/^[=v]+/, ""), d);
    return c ? c.version : null;
  };
  t.exports = i;
})), fm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d, c, n, u) => {
    typeof c == "string" && (u = n, n = c, c = void 0);
    try {
      return new r(s instanceof r ? s.version : s, c).inc(d, n, u).version;
    } catch {
      return null;
    }
  };
  t.exports = i;
})), dm = /* @__PURE__ */ z(((e, t) => {
  var r = gr(), i = (s, d) => {
    const c = r(s, null, !0), n = r(d, null, !0), u = c.compare(n);
    if (u === 0) return null;
    const o = u > 0, h = o ? c : n, a = o ? n : c, l = !!h.prerelease.length;
    if (a.prerelease.length && !l) {
      if (!a.patch && !a.minor) return "major";
      if (a.compareMain(h) === 0)
        return a.minor && !a.patch ? "minor" : "patch";
    }
    const f = l ? "pre" : "";
    return c.major !== n.major ? f + "major" : c.minor !== n.minor ? f + "minor" : c.patch !== n.patch ? f + "patch" : "prerelease";
  };
  t.exports = i;
})), pm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d) => new r(s, d).major;
  t.exports = i;
})), gm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d) => new r(s, d).minor;
  t.exports = i;
})), mm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d) => new r(s, d).patch;
  t.exports = i;
})), vm = /* @__PURE__ */ z(((e, t) => {
  var r = gr(), i = (s, d) => {
    const c = r(s, d);
    return c && c.prerelease.length ? c.prerelease : null;
  };
  t.exports = i;
})), Ut = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d, c) => new r(s, c).compare(new r(d, c));
  t.exports = i;
})), ym = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(d, s, c);
  t.exports = i;
})), _m = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d) => r(s, d, !0);
  t.exports = i;
})), bo = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = (s, d, c) => {
    const n = new r(s, c), u = new r(d, c);
    return n.compare(u) || n.compareBuild(u);
  };
  t.exports = i;
})), bm = /* @__PURE__ */ z(((e, t) => {
  var r = bo(), i = (s, d) => s.sort((c, n) => r(c, n, d));
  t.exports = i;
})), wm = /* @__PURE__ */ z(((e, t) => {
  var r = bo(), i = (s, d) => s.sort((c, n) => r(n, c, d));
  t.exports = i;
})), Tn = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) > 0;
  t.exports = i;
})), wo = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) < 0;
  t.exports = i;
})), Tu = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) === 0;
  t.exports = i;
})), Du = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) !== 0;
  t.exports = i;
})), Eo = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) >= 0;
  t.exports = i;
})), So = /* @__PURE__ */ z(((e, t) => {
  var r = Ut(), i = (s, d, c) => r(s, d, c) <= 0;
  t.exports = i;
})), Ru = /* @__PURE__ */ z(((e, t) => {
  var r = Tu(), i = Du(), s = Tn(), d = Eo(), c = wo(), n = So(), u = (o, h, a, l) => {
    switch (h) {
      case "===":
        return typeof o == "object" && (o = o.version), typeof a == "object" && (a = a.version), o === a;
      case "!==":
        return typeof o == "object" && (o = o.version), typeof a == "object" && (a = a.version), o !== a;
      case "":
      case "=":
      case "==":
        return r(o, a, l);
      case "!=":
        return i(o, a, l);
      case ">":
        return s(o, a, l);
      case ">=":
        return d(o, a, l);
      case "<":
        return c(o, a, l);
      case "<=":
        return n(o, a, l);
      default:
        throw new TypeError(`Invalid operator: ${h}`);
    }
  };
  t.exports = u;
})), Em = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = gr(), { safeRe: s, t: d } = Ti(), c = (n, u) => {
    if (n instanceof r) return n;
    if (typeof n == "number" && (n = String(n)), typeof n != "string") return null;
    u = u || {};
    let o = null;
    if (!u.rtl) o = n.match(u.includePrerelease ? s[d.COERCEFULL] : s[d.COERCE]);
    else {
      const a = u.includePrerelease ? s[d.COERCERTLFULL] : s[d.COERCERTL];
      let l;
      for (; (l = a.exec(n)) && (!o || o.index + o[0].length !== n.length); )
        (!o || l.index + l[0].length !== o.index + o[0].length) && (o = l), a.lastIndex = l.index + l[1].length + l[2].length;
      a.lastIndex = -1;
    }
    if (o === null) return null;
    const h = o[2];
    return i(`${h}.${o[3] || "0"}.${o[4] || "0"}${u.includePrerelease && o[5] ? `-${o[5]}` : ""}${u.includePrerelease && o[6] ? `+${o[6]}` : ""}`, u);
  };
  t.exports = c;
})), Sm = /* @__PURE__ */ z(((e, t) => {
  var r = gr(), i = Ai(), s = Et(), d = (o, h, a) => {
    if (!i.RELEASE_TYPES.includes(h)) return null;
    const l = c(o, a);
    return l && n(l, h);
  }, c = (o, h) => r(o instanceof s ? o.version : o, h), n = (o, h) => {
    if (u(h)) return o.version;
    switch (o.prerelease = [], h) {
      case "major":
        o.minor = 0, o.patch = 0;
        break;
      case "minor":
        o.patch = 0;
        break;
    }
    return o.format();
  }, u = (o) => o.startsWith("pre");
  t.exports = d;
})), Am = /* @__PURE__ */ z(((e, t) => {
  var r = class {
    constructor() {
      this.max = 1e3, this.map = /* @__PURE__ */ new Map();
    }
    get(i) {
      const s = this.map.get(i);
      if (s !== void 0)
        return this.map.delete(i), this.map.set(i, s), s;
    }
    delete(i) {
      return this.map.delete(i);
    }
    set(i, s) {
      if (!this.delete(i) && s !== void 0) {
        if (this.map.size >= this.max) {
          const d = this.map.keys().next().value;
          this.delete(d);
        }
        this.map.set(i, s);
      }
      return this;
    }
  };
  t.exports = r;
})), Ht = /* @__PURE__ */ z(((e, t) => {
  var r = /\s+/g, i = class tn {
    constructor(L, te) {
      if (te = d(te), L instanceof tn) return L.loose === !!te.loose && L.includePrerelease === !!te.includePrerelease ? L : new tn(L.raw, te);
      if (L instanceof c)
        return this.raw = L.value, this.set = [[L]], this.formatted = void 0, this;
      if (this.options = te, this.loose = !!te.loose, this.includePrerelease = !!te.includePrerelease, this.raw = L.trim().replace(r, " "), this.set = this.raw.split("||").map((H) => this.parseRange(H.trim())).filter((H) => H.length), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
      if (this.set.length > 1) {
        const H = this.set[0];
        if (this.set = this.set.filter((j) => !_(j[0])), this.set.length === 0) this.set = [H];
        else if (this.set.length > 1) {
          for (const j of this.set) if (j.length === 1 && E(j[0])) {
            this.set = [j];
            break;
          }
        }
      }
      this.formatted = void 0;
    }
    get range() {
      if (this.formatted === void 0) {
        this.formatted = "";
        for (let L = 0; L < this.set.length; L++) {
          L > 0 && (this.formatted += "||");
          const te = this.set[L];
          for (let H = 0; H < te.length; H++)
            H > 0 && (this.formatted += " "), this.formatted += te[H].toString().trim();
        }
      }
      return this.formatted;
    }
    format() {
      return this.range;
    }
    toString() {
      return this.range;
    }
    parseRange(L) {
      L = L.replace(v, "");
      const te = ((this.options.includePrerelease && g) | (this.options.loose && m)) + ":" + L, H = s.get(te);
      if (H) return H;
      const j = this.options.loose, P = j ? o[a.HYPHENRANGELOOSE] : o[a.HYPHENRANGE];
      L = L.replace(P, K(this.options.includePrerelease)), n("hyphen replace", L), L = L.replace(o[a.COMPARATORTRIM], l), n("comparator trim", L), L = L.replace(o[a.TILDETRIM], f), n("tilde trim", L), L = L.replace(o[a.CARETTRIM], p), n("caret trim", L);
      let k = L.split(" ").map((me) => w(me, this.options)).join(" ").split(/\s+/).map((me) => q(me, this.options));
      j && (k = k.filter((me) => (n("loose invalid filter", me, this.options), !!me.match(o[a.COMPARATORLOOSE])))), n("range list", k);
      const U = /* @__PURE__ */ new Map(), Q = k.map((me) => new c(me, this.options));
      for (const me of Q) {
        if (_(me)) return [me];
        U.set(me.value, me);
      }
      U.size > 1 && U.has("") && U.delete("");
      const ue = [...U.values()];
      return s.set(te, ue), ue;
    }
    intersects(L, te) {
      if (!(L instanceof tn)) throw new TypeError("a Range is required");
      return this.set.some((H) => S(H, te) && L.set.some((j) => S(j, te) && H.every((P) => j.every((k) => P.intersects(k, te)))));
    }
    test(L) {
      if (!L) return !1;
      if (typeof L == "string") try {
        L = new u(L, this.options);
      } catch {
        return !1;
      }
      for (let te = 0; te < this.set.length; te++) if (M(this.set[te], L, this.options)) return !0;
      return !1;
    }
  };
  t.exports = i;
  var s = new (Am())(), d = _o(), c = Dn(), n = An(), u = Et(), { safeRe: o, src: h, t: a, comparatorTrimReplace: l, tildeTrimReplace: f, caretTrimReplace: p } = Ti(), { FLAG_INCLUDE_PRERELEASE: g, FLAG_LOOSE: m } = Ai(), v = new RegExp(h[a.BUILD], "g"), _ = (N) => N.value === "<0.0.0-0", E = (N) => N.value === "", S = (N, L) => {
    let te = !0;
    const H = N.slice();
    let j = H.pop();
    for (; te && H.length; )
      te = H.every((P) => j.intersects(P, L)), j = H.pop();
    return te;
  }, w = (N, L) => (N = N.replace(o[a.BUILD], ""), n("comp", N, L), N = C(N, L), n("caret", N), N = A(N, L), n("tildes", N), N = I(N, L), n("xrange", N), N = F(N, L), n("stars", N), N), b = (N) => !N || N.toLowerCase() === "x" || N === "*", A = (N, L) => N.trim().split(/\s+/).map((te) => D(te, L)).join(" "), D = (N, L) => {
    const te = L.loose ? o[a.TILDELOOSE] : o[a.TILDE];
    return N.replace(te, (H, j, P, k, U) => {
      n("tilde", N, H, j, P, k, U);
      let Q;
      return b(j) ? Q = "" : b(P) ? Q = `>=${j}.0.0 <${+j + 1}.0.0-0` : b(k) ? Q = `>=${j}.${P}.0 <${j}.${+P + 1}.0-0` : U ? (n("replaceTilde pr", U), Q = `>=${j}.${P}.${k}-${U} <${j}.${+P + 1}.0-0`) : Q = `>=${j}.${P}.${k} <${j}.${+P + 1}.0-0`, n("tilde return", Q), Q;
    });
  }, C = (N, L) => N.trim().split(/\s+/).map((te) => O(te, L)).join(" "), O = (N, L) => {
    n("caret", N, L);
    const te = L.loose ? o[a.CARETLOOSE] : o[a.CARET], H = L.includePrerelease ? "-0" : "";
    return N.replace(te, (j, P, k, U, Q) => {
      n("caret", N, j, P, k, U, Q);
      let ue;
      return b(P) ? ue = "" : b(k) ? ue = `>=${P}.0.0${H} <${+P + 1}.0.0-0` : b(U) ? P === "0" ? ue = `>=${P}.${k}.0${H} <${P}.${+k + 1}.0-0` : ue = `>=${P}.${k}.0${H} <${+P + 1}.0.0-0` : Q ? (n("replaceCaret pr", Q), P === "0" ? k === "0" ? ue = `>=${P}.${k}.${U}-${Q} <${P}.${k}.${+U + 1}-0` : ue = `>=${P}.${k}.${U}-${Q} <${P}.${+k + 1}.0-0` : ue = `>=${P}.${k}.${U}-${Q} <${+P + 1}.0.0-0`) : (n("no pr"), P === "0" ? k === "0" ? ue = `>=${P}.${k}.${U}${H} <${P}.${k}.${+U + 1}-0` : ue = `>=${P}.${k}.${U}${H} <${P}.${+k + 1}.0-0` : ue = `>=${P}.${k}.${U} <${+P + 1}.0.0-0`), n("caret return", ue), ue;
    });
  }, I = (N, L) => (n("replaceXRanges", N, L), N.split(/\s+/).map((te) => x(te, L)).join(" ")), x = (N, L) => {
    N = N.trim();
    const te = L.loose ? o[a.XRANGELOOSE] : o[a.XRANGE];
    return N.replace(te, (H, j, P, k, U, Q) => {
      n("xRange", N, H, j, P, k, U, Q);
      const ue = b(P), me = ue || b(k), we = me || b(U), Z = we;
      return j === "=" && Z && (j = ""), Q = L.includePrerelease ? "-0" : "", ue ? j === ">" || j === "<" ? H = "<0.0.0-0" : H = "*" : j && Z ? (me && (k = 0), U = 0, j === ">" ? (j = ">=", me ? (P = +P + 1, k = 0, U = 0) : (k = +k + 1, U = 0)) : j === "<=" && (j = "<", me ? P = +P + 1 : k = +k + 1), j === "<" && (Q = "-0"), H = `${j + P}.${k}.${U}${Q}`) : me ? H = `>=${P}.0.0${Q} <${+P + 1}.0.0-0` : we && (H = `>=${P}.${k}.0${Q} <${P}.${+k + 1}.0-0`), n("xRange return", H), H;
    });
  }, F = (N, L) => (n("replaceStars", N, L), N.trim().replace(o[a.STAR], "")), q = (N, L) => (n("replaceGTE0", N, L), N.trim().replace(o[L.includePrerelease ? a.GTE0PRE : a.GTE0], "")), K = (N) => (L, te, H, j, P, k, U, Q, ue, me, we, Z) => (b(H) ? te = "" : b(j) ? te = `>=${H}.0.0${N ? "-0" : ""}` : b(P) ? te = `>=${H}.${j}.0${N ? "-0" : ""}` : k ? te = `>=${te}` : te = `>=${te}${N ? "-0" : ""}`, b(ue) ? Q = "" : b(me) ? Q = `<${+ue + 1}.0.0-0` : b(we) ? Q = `<${ue}.${+me + 1}.0-0` : Z ? Q = `<=${ue}.${me}.${we}-${Z}` : N ? Q = `<${ue}.${me}.${+we + 1}-0` : Q = `<=${Q}`, `${te} ${Q}`.trim()), M = (N, L, te) => {
    for (let H = 0; H < N.length; H++) if (!N[H].test(L)) return !1;
    if (L.prerelease.length && !te.includePrerelease) {
      for (let H = 0; H < N.length; H++)
        if (n(N[H].semver), N[H].semver !== c.ANY && N[H].semver.prerelease.length > 0) {
          const j = N[H].semver;
          if (j.major === L.major && j.minor === L.minor && j.patch === L.patch) return !0;
        }
      return !1;
    }
    return !0;
  };
})), Dn = /* @__PURE__ */ z(((e, t) => {
  var r = /* @__PURE__ */ Symbol("SemVer ANY"), i = class Us {
    static get ANY() {
      return r;
    }
    constructor(l, f) {
      if (f = s(f), l instanceof Us) {
        if (l.loose === !!f.loose) return l;
        l = l.value;
      }
      l = l.trim().split(/\s+/).join(" "), u("comparator", l, f), this.options = f, this.loose = !!f.loose, this.parse(l), this.semver === r ? this.value = "" : this.value = this.operator + this.semver.version, u("comp", this);
    }
    parse(l) {
      const f = this.options.loose ? d[c.COMPARATORLOOSE] : d[c.COMPARATOR], p = l.match(f);
      if (!p) throw new TypeError(`Invalid comparator: ${l}`);
      this.operator = p[1] !== void 0 ? p[1] : "", this.operator === "=" && (this.operator = ""), p[2] ? this.semver = new o(p[2], this.options.loose) : this.semver = r;
    }
    toString() {
      return this.value;
    }
    test(l) {
      if (u("Comparator.test", l, this.options.loose), this.semver === r || l === r) return !0;
      if (typeof l == "string") try {
        l = new o(l, this.options);
      } catch {
        return !1;
      }
      return n(l, this.operator, this.semver, this.options);
    }
    intersects(l, f) {
      if (!(l instanceof Us)) throw new TypeError("a Comparator is required");
      return this.operator === "" ? this.value === "" ? !0 : new h(l.value, f).test(this.value) : l.operator === "" ? l.value === "" ? !0 : new h(this.value, f).test(l.semver) : (f = s(f), f.includePrerelease && (this.value === "<0.0.0-0" || l.value === "<0.0.0-0") || !f.includePrerelease && (this.value.startsWith("<0.0.0") || l.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && l.operator.startsWith(">") || this.operator.startsWith("<") && l.operator.startsWith("<") || this.semver.version === l.semver.version && this.operator.includes("=") && l.operator.includes("=") || n(this.semver, "<", l.semver, f) && this.operator.startsWith(">") && l.operator.startsWith("<") || n(this.semver, ">", l.semver, f) && this.operator.startsWith("<") && l.operator.startsWith(">")));
    }
  };
  t.exports = i;
  var s = _o(), { safeRe: d, t: c } = Ti(), n = Ru(), u = An(), o = Et(), h = Ht();
})), Rn = /* @__PURE__ */ z(((e, t) => {
  var r = Ht(), i = (s, d, c) => {
    try {
      d = new r(d, c);
    } catch {
      return !1;
    }
    return d.test(s);
  };
  t.exports = i;
})), Tm = /* @__PURE__ */ z(((e, t) => {
  var r = Ht(), i = (s, d) => new r(s, d).set.map((c) => c.map((n) => n.value).join(" ").trim().split(" "));
  t.exports = i;
})), Dm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = Ht(), s = (d, c, n) => {
    let u = null, o = null, h = null;
    try {
      h = new i(c, n);
    } catch {
      return null;
    }
    return d.forEach((a) => {
      h.test(a) && (!u || o.compare(a) === -1) && (u = a, o = new r(u, n));
    }), u;
  };
  t.exports = s;
})), Rm = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = Ht(), s = (d, c, n) => {
    let u = null, o = null, h = null;
    try {
      h = new i(c, n);
    } catch {
      return null;
    }
    return d.forEach((a) => {
      h.test(a) && (!u || o.compare(a) === 1) && (u = a, o = new r(u, n));
    }), u;
  };
  t.exports = s;
})), Om = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = Ht(), s = Tn(), d = (c, n) => {
    c = new i(c, n);
    let u = new r("0.0.0");
    if (c.test(u) || (u = new r("0.0.0-0"), c.test(u))) return u;
    u = null;
    for (let o = 0; o < c.set.length; ++o) {
      const h = c.set[o];
      let a = null;
      h.forEach((l) => {
        const f = new r(l.semver.version);
        switch (l.operator) {
          case ">":
            f.prerelease.length === 0 ? f.patch++ : f.prerelease.push(0), f.raw = f.format();
          case "":
          case ">=":
            (!a || s(f, a)) && (a = f);
            break;
          case "<":
          case "<=":
            break;
          /* istanbul ignore next */
          default:
            throw new Error(`Unexpected operation: ${l.operator}`);
        }
      }), a && (!u || s(u, a)) && (u = a);
    }
    return u && c.test(u) ? u : null;
  };
  t.exports = d;
})), Cm = /* @__PURE__ */ z(((e, t) => {
  var r = Ht(), i = (s, d) => {
    try {
      return new r(s, d).range || "*";
    } catch {
      return null;
    }
  };
  t.exports = i;
})), Ao = /* @__PURE__ */ z(((e, t) => {
  var r = Et(), i = Dn(), { ANY: s } = i, d = Ht(), c = Rn(), n = Tn(), u = wo(), o = So(), h = Eo(), a = (l, f, p, g) => {
    l = new r(l, g), f = new d(f, g);
    let m, v, _, E, S;
    switch (p) {
      case ">":
        m = n, v = o, _ = u, E = ">", S = ">=";
        break;
      case "<":
        m = u, v = h, _ = n, E = "<", S = "<=";
        break;
      default:
        throw new TypeError('Must provide a hilo val of "<" or ">"');
    }
    if (c(l, f, g)) return !1;
    for (let w = 0; w < f.set.length; ++w) {
      const b = f.set[w];
      let A = null, D = null;
      if (b.forEach((C) => {
        C.semver === s && (C = new i(">=0.0.0")), A = A || C, D = D || C, m(C.semver, A.semver, g) ? A = C : _(C.semver, D.semver, g) && (D = C);
      }), A.operator === E || A.operator === S || (!D.operator || D.operator === E) && v(l, D.semver)) return !1;
      if (D.operator === S && _(l, D.semver)) return !1;
    }
    return !0;
  };
  t.exports = a;
})), Im = /* @__PURE__ */ z(((e, t) => {
  var r = Ao(), i = (s, d, c) => r(s, d, ">", c);
  t.exports = i;
})), km = /* @__PURE__ */ z(((e, t) => {
  var r = Ao(), i = (s, d, c) => r(s, d, "<", c);
  t.exports = i;
})), Lm = /* @__PURE__ */ z(((e, t) => {
  var r = Ht(), i = (s, d, c) => (s = new r(s, c), d = new r(d, c), s.intersects(d, c));
  t.exports = i;
})), xm = /* @__PURE__ */ z(((e, t) => {
  var r = Rn(), i = Ut();
  t.exports = (s, d, c) => {
    const n = [];
    let u = null, o = null;
    const h = s.sort((p, g) => i(p, g, c));
    for (const p of h) r(p, d, c) ? (o = p, u || (u = p)) : (o && n.push([u, o]), o = null, u = null);
    u && n.push([u, null]);
    const a = [];
    for (const [p, g] of n) p === g ? a.push(p) : !g && p === h[0] ? a.push("*") : g ? p === h[0] ? a.push(`<=${g}`) : a.push(`${p} - ${g}`) : a.push(`>=${p}`);
    const l = a.join(" || "), f = typeof d.raw == "string" ? d.raw : String(d);
    return l.length < f.length ? l : d;
  };
})), $m = /* @__PURE__ */ z(((e, t) => {
  var r = Ht(), i = Dn(), { ANY: s } = i, d = Rn(), c = Ut(), n = (f, p, g = {}) => {
    if (f === p) return !0;
    f = new r(f, g), p = new r(p, g);
    let m = !1;
    e: for (const v of f.set) {
      for (const _ of p.set) {
        const E = h(v, _, g);
        if (m = m || E !== null, E) continue e;
      }
      if (m) return !1;
    }
    return !0;
  }, u = [new i(">=0.0.0-0")], o = [new i(">=0.0.0")], h = (f, p, g) => {
    if (f === p) return !0;
    if (f.length === 1 && f[0].semver === s) {
      if (p.length === 1 && p[0].semver === s) return !0;
      g.includePrerelease ? f = u : f = o;
    }
    if (p.length === 1 && p[0].semver === s) {
      if (g.includePrerelease) return !0;
      p = o;
    }
    const m = /* @__PURE__ */ new Set();
    let v, _;
    for (const O of f) O.operator === ">" || O.operator === ">=" ? v = a(v, O, g) : O.operator === "<" || O.operator === "<=" ? _ = l(_, O, g) : m.add(O.semver);
    if (m.size > 1) return null;
    let E;
    if (v && _) {
      if (E = c(v.semver, _.semver, g), E > 0) return null;
      if (E === 0 && (v.operator !== ">=" || _.operator !== "<=")) return null;
    }
    for (const O of m) {
      if (v && !d(O, String(v), g) || _ && !d(O, String(_), g)) return null;
      for (const I of p) if (!d(O, String(I), g)) return !1;
      return !0;
    }
    let S, w, b, A, D = _ && !g.includePrerelease && _.semver.prerelease.length ? _.semver : !1, C = v && !g.includePrerelease && v.semver.prerelease.length ? v.semver : !1;
    D && D.prerelease.length === 1 && _.operator === "<" && D.prerelease[0] === 0 && (D = !1);
    for (const O of p) {
      if (A = A || O.operator === ">" || O.operator === ">=", b = b || O.operator === "<" || O.operator === "<=", v) {
        if (C && O.semver.prerelease && O.semver.prerelease.length && O.semver.major === C.major && O.semver.minor === C.minor && O.semver.patch === C.patch && (C = !1), O.operator === ">" || O.operator === ">=") {
          if (S = a(v, O, g), S === O && S !== v) return !1;
        } else if (v.operator === ">=" && !O.test(v.semver)) return !1;
      }
      if (_) {
        if (D && O.semver.prerelease && O.semver.prerelease.length && O.semver.major === D.major && O.semver.minor === D.minor && O.semver.patch === D.patch && (D = !1), O.operator === "<" || O.operator === "<=") {
          if (w = l(_, O, g), w === O && w !== _) return !1;
        } else if (_.operator === "<=" && !O.test(_.semver)) return !1;
      }
      if (!O.operator && (_ || v) && E !== 0) return !1;
    }
    return !(v && b && !_ && E !== 0 || _ && A && !v && E !== 0 || C || D);
  }, a = (f, p, g) => {
    if (!f) return p;
    const m = c(f.semver, p.semver, g);
    return m > 0 ? f : m < 0 || p.operator === ">" && f.operator === ">=" ? p : f;
  }, l = (f, p, g) => {
    if (!f) return p;
    const m = c(f.semver, p.semver, g);
    return m < 0 ? f : m > 0 || p.operator === "<" && f.operator === "<=" ? p : f;
  };
  t.exports = n;
})), To = /* @__PURE__ */ z(((e, t) => {
  var r = Ti(), i = Ai(), s = Et(), d = Au(), c = gr(), n = um(), u = hm(), o = fm(), h = dm(), a = pm(), l = gm(), f = mm(), p = vm(), g = Ut(), m = ym(), v = _m(), _ = bo(), E = bm(), S = wm(), w = Tn(), b = wo(), A = Tu(), D = Du(), C = Eo(), O = So(), I = Ru(), x = Em(), F = Sm(), q = Dn(), K = Ht(), M = Rn(), N = Tm(), L = Dm(), te = Rm(), H = Om(), j = Cm(), P = Ao(), k = Im(), U = km(), Q = Lm(), ue = xm(), me = $m();
  t.exports = {
    parse: c,
    valid: n,
    clean: u,
    inc: o,
    diff: h,
    major: a,
    minor: l,
    patch: f,
    prerelease: p,
    compare: g,
    rcompare: m,
    compareLoose: v,
    compareBuild: _,
    sort: E,
    rsort: S,
    gt: w,
    lt: b,
    eq: A,
    neq: D,
    gte: C,
    lte: O,
    cmp: I,
    coerce: x,
    truncate: F,
    Comparator: q,
    Range: K,
    satisfies: M,
    toComparators: N,
    maxSatisfying: L,
    minSatisfying: te,
    minVersion: H,
    validRange: j,
    outside: P,
    gtr: k,
    ltr: U,
    intersects: Q,
    simplifyRange: ue,
    subset: me,
    SemVer: s,
    re: r.re,
    src: r.src,
    tokens: r.t,
    SEMVER_SPEC_VERSION: i.SEMVER_SPEC_VERSION,
    RELEASE_TYPES: i.RELEASE_TYPES,
    compareIdentifiers: d.compareIdentifiers,
    rcompareIdentifiers: d.rcompareIdentifiers
  };
})), Do = /* @__PURE__ */ Lt(cm(), 1), He = /* @__PURE__ */ Lt(To(), 1), Nm = [
  "second",
  "minute",
  "hour",
  "day",
  "week",
  "month",
  "year"
];
function Pm(e, t) {
  if (t === 0) return ["just now", "right now"];
  var r = Nm[Math.floor(t / 2)];
  return e > 1 && (r += "s"), [e + " " + r + " ago", "in " + e + " " + r];
}
var Bm = [
  "秒",
  "分钟",
  "小时",
  "天",
  "周",
  "个月",
  "年"
];
function Fm(e, t) {
  if (t === 0) return ["刚刚", "片刻后"];
  var r = Bm[~~(t / 2)];
  return [e + " " + r + "前", e + " " + r + "后"];
}
var Hs = {}, Ou = function(e, t) {
  Hs[e] = t;
}, Mm = function(e) {
  return Hs[e] || Hs.en_US;
}, ys = [
  60,
  60,
  24,
  7,
  365 / 7 / 12,
  12
];
function jl(e) {
  return e instanceof Date ? e : !isNaN(e) || /^\d+$/.test(e) ? new Date(parseInt(e)) : (e = (e || "").trim().replace(/\.\d+/, "").replace(/-/, "/").replace(/-/, "/").replace(/(\d)T(\d)/, "$1 $2").replace(/Z/, " UTC").replace(/([+-]\d\d):?(\d\d)/, " $1$2"), new Date(e));
}
function jm(e, t) {
  var r = e < 0 ? 1 : 0;
  e = Math.abs(e);
  for (var i = e, s = 0; e >= ys[s] && s < ys.length; s++) e /= ys[s];
  return e = Math.floor(e), s *= 2, e > (s === 0 ? 9 : 1) && (s += 1), t(e, s, i)[r].replace("%s", e.toString());
}
function Um(e, t) {
  return (+(t ? jl(t) : /* @__PURE__ */ new Date()) - +jl(e)) / 1e3;
}
var Hm = function(e, t, r) {
  return jm(Um(e, r && r.relativeDate), Mm(t));
};
Ou("en_US", Pm);
Ou("zh_CN", Fm);
var _s = 10, Ul = (e = 0) => (t) => `\x1B[${t + e}m`, Hl = (e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, ql = (e = 0) => (t, r, i) => `\x1B[${38 + e};2;${t};${r};${i}m`, at = {
  modifier: {
    reset: [0, 0],
    bold: [1, 22],
    dim: [2, 22],
    italic: [3, 23],
    underline: [4, 24],
    overline: [53, 55],
    inverse: [7, 27],
    hidden: [8, 28],
    strikethrough: [9, 29]
  },
  color: {
    black: [30, 39],
    red: [31, 39],
    green: [32, 39],
    yellow: [33, 39],
    blue: [34, 39],
    magenta: [35, 39],
    cyan: [36, 39],
    white: [37, 39],
    blackBright: [90, 39],
    gray: [90, 39],
    grey: [90, 39],
    redBright: [91, 39],
    greenBright: [92, 39],
    yellowBright: [93, 39],
    blueBright: [94, 39],
    magentaBright: [95, 39],
    cyanBright: [96, 39],
    whiteBright: [97, 39]
  },
  bgColor: {
    bgBlack: [40, 49],
    bgRed: [41, 49],
    bgGreen: [42, 49],
    bgYellow: [43, 49],
    bgBlue: [44, 49],
    bgMagenta: [45, 49],
    bgCyan: [46, 49],
    bgWhite: [47, 49],
    bgBlackBright: [100, 49],
    bgGray: [100, 49],
    bgGrey: [100, 49],
    bgRedBright: [101, 49],
    bgGreenBright: [102, 49],
    bgYellowBright: [103, 49],
    bgBlueBright: [104, 49],
    bgMagentaBright: [105, 49],
    bgCyanBright: [106, 49],
    bgWhiteBright: [107, 49]
  }
}, bI = Object.keys(at.modifier), qm = Object.keys(at.color), Gm = Object.keys(at.bgColor), wI = [...qm, ...Gm];
function zm() {
  const e = /* @__PURE__ */ new Map();
  for (const [t, r] of Object.entries(at)) {
    for (const [i, s] of Object.entries(r))
      at[i] = {
        open: `\x1B[${s[0]}m`,
        close: `\x1B[${s[1]}m`
      }, r[i] = at[i], e.set(s[0], s[1]);
    Object.defineProperty(at, t, {
      value: r,
      enumerable: !1
    });
  }
  return Object.defineProperty(at, "codes", {
    value: e,
    enumerable: !1
  }), at.color.close = "\x1B[39m", at.bgColor.close = "\x1B[49m", at.color.ansi = Ul(), at.color.ansi256 = Hl(), at.color.ansi16m = ql(), at.bgColor.ansi = Ul(_s), at.bgColor.ansi256 = Hl(_s), at.bgColor.ansi16m = ql(_s), Object.defineProperties(at, {
    rgbToAnsi256: {
      value(t, r, i) {
        return t === r && r === i ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(r / 255 * 5) + Math.round(i / 255 * 5);
      },
      enumerable: !1
    },
    hexToRgb: {
      value(t) {
        const r = /[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));
        if (!r) return [
          0,
          0,
          0
        ];
        let [i] = r;
        i.length === 3 && (i = [...i].map((d) => d + d).join(""));
        const s = Number.parseInt(i, 16);
        return [
          s >> 16 & 255,
          s >> 8 & 255,
          s & 255
        ];
      },
      enumerable: !1
    },
    hexToAnsi256: {
      value: (t) => at.rgbToAnsi256(...at.hexToRgb(t)),
      enumerable: !1
    },
    ansi256ToAnsi: {
      value(t) {
        if (t < 8) return 30 + t;
        if (t < 16) return 90 + (t - 8);
        let r, i, s;
        if (t >= 232)
          r = ((t - 232) * 10 + 8) / 255, i = r, s = r;
        else {
          t -= 16;
          const n = t % 36;
          r = Math.floor(t / 36) / 5, i = Math.floor(n / 6) / 5, s = n % 6 / 5;
        }
        const d = Math.max(r, i, s) * 2;
        if (d === 0) return 30;
        let c = 30 + (Math.round(s) << 2 | Math.round(i) << 1 | Math.round(r));
        return d === 2 && (c += 60), c;
      },
      enumerable: !1
    },
    rgbToAnsi: {
      value: (t, r, i) => at.ansi256ToAnsi(at.rgbToAnsi256(t, r, i)),
      enumerable: !1
    },
    hexToAnsi: {
      value: (t) => at.ansi256ToAnsi(at.hexToAnsi256(t)),
      enumerable: !1
    }
  }), at;
}
var Wt = zm();
function Nt(e, t = globalThis.Deno ? globalThis.Deno.args : Si.argv) {
  const r = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--", i = t.indexOf(r + e), s = t.indexOf("--");
  return i !== -1 && (s === -1 || i < s);
}
var { env: ot } = Si, on;
Nt("no-color") || Nt("no-colors") || Nt("color=false") || Nt("color=never") ? on = 0 : (Nt("color") || Nt("colors") || Nt("color=true") || Nt("color=always")) && (on = 1);
function Wm() {
  if ("FORCE_COLOR" in ot)
    return ot.FORCE_COLOR === "true" ? 1 : ot.FORCE_COLOR === "false" ? 0 : ot.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(ot.FORCE_COLOR, 10), 3);
}
function Vm(e) {
  return e === 0 ? !1 : {
    level: e,
    hasBasic: !0,
    has256: e >= 2,
    has16m: e >= 3
  };
}
function Ym(e, { streamIsTTY: t, sniffFlags: r = !0 } = {}) {
  const i = Wm();
  i !== void 0 && (on = i);
  const s = r ? on : i;
  if (s === 0) return 0;
  if (r) {
    if (Nt("color=16m") || Nt("color=full") || Nt("color=truecolor")) return 3;
    if (Nt("color=256")) return 2;
  }
  if ("TF_BUILD" in ot && "AGENT_NAME" in ot) return 1;
  if (e && !t && s === void 0) return 0;
  const d = s || 0;
  if (ot.TERM === "dumb") return d;
  if (Si.platform === "win32") {
    const c = ui.release().split(".");
    return Number(c[0]) >= 10 && Number(c[2]) >= 10586 ? Number(c[2]) >= 14931 ? 3 : 2 : 1;
  }
  if ("CI" in ot)
    return [
      "GITHUB_ACTIONS",
      "GITEA_ACTIONS",
      "CIRCLECI"
    ].some((c) => c in ot) ? 3 : [
      "TRAVIS",
      "APPVEYOR",
      "GITLAB_CI",
      "BUILDKITE",
      "DRONE"
    ].some((c) => c in ot) || ot.CI_NAME === "codeship" ? 1 : d;
  if ("TEAMCITY_VERSION" in ot) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ot.TEAMCITY_VERSION) ? 1 : 0;
  if (ot.COLORTERM === "truecolor" || ot.TERM === "xterm-kitty" || ot.TERM === "xterm-ghostty" || ot.TERM === "wezterm") return 3;
  if ("TERM_PROGRAM" in ot) {
    const c = Number.parseInt((ot.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
    switch (ot.TERM_PROGRAM) {
      case "iTerm.app":
        return c >= 3 ? 3 : 2;
      case "Apple_Terminal":
        return 2;
    }
  }
  return /-256(color)?$/i.test(ot.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ot.TERM) || "COLORTERM" in ot ? 1 : d;
}
function Gl(e, t = {}) {
  return Vm(Ym(e, {
    streamIsTTY: e && e.isTTY,
    ...t
  }));
}
var Km = {
  stdout: Gl({ isTTY: Fl.isatty(1) }),
  stderr: Gl({ isTTY: Fl.isatty(2) })
};
function Zm(e, t, r) {
  let i = e.indexOf(t);
  if (i === -1) return e;
  const s = t.length;
  let d = 0, c = "";
  do
    c += e.slice(d, i) + t + r, d = i + s, i = e.indexOf(t, d);
  while (i !== -1);
  return c += e.slice(d), c;
}
function Jm(e, t, r, i) {
  let s = 0, d = "";
  do {
    const c = e[i - 1] === "\r";
    d += e.slice(s, c ? i - 1 : i) + t + (c ? `\r
` : `
`) + r, s = i + 1, i = e.indexOf(`
`, s);
  } while (i !== -1);
  return d += e.slice(s), d;
}
var { stdout: zl, stderr: Wl } = Km, qs = /* @__PURE__ */ Symbol("GENERATOR"), Fr = /* @__PURE__ */ Symbol("STYLER"), hi = /* @__PURE__ */ Symbol("IS_EMPTY"), Vl = [
  "ansi",
  "ansi",
  "ansi256",
  "ansi16m"
], Mr = /* @__PURE__ */ Object.create(null), Xm = (e, t = {}) => {
  if (t.level && !(Number.isInteger(t.level) && t.level >= 0 && t.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
  const r = zl ? zl.level : 0;
  e.level = t.level === void 0 ? r : t.level;
}, Qm = class {
  constructor(e) {
    return Cu(e);
  }
}, Cu = (e) => {
  const t = (...r) => r.join(" ");
  return Xm(t, e), Object.setPrototypeOf(t, Di.prototype), t;
};
function Di(e) {
  return Cu(e);
}
Object.setPrototypeOf(Di.prototype, Function.prototype);
for (const [e, t] of Object.entries(Wt)) Mr[e] = { get() {
  const r = ln(this, zs(t.open, t.close, this[Fr]), this[hi]);
  return Object.defineProperty(this, e, { value: r }), r;
} };
Mr.visible = { get() {
  const e = ln(this, this[Fr], !0);
  return Object.defineProperty(this, "visible", { value: e }), e;
} };
var Gs = (e, t, r, ...i) => e === "rgb" ? t === "ansi16m" ? Wt[r].ansi16m(...i) : t === "ansi256" ? Wt[r].ansi256(Wt.rgbToAnsi256(...i)) : Wt[r].ansi(Wt.rgbToAnsi(...i)) : e === "hex" ? Gs("rgb", t, r, ...Wt.hexToRgb(...i)) : Wt[r][e](...i);
for (const e of [
  "rgb",
  "hex",
  "ansi256"
]) {
  Mr[e] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = zs(Gs(e, Vl[r], "color", ...i), Wt.color.close, this[Fr]);
      return ln(this, s, this[hi]);
    };
  } };
  const t = "bg" + e[0].toUpperCase() + e.slice(1);
  Mr[t] = { get() {
    const { level: r } = this;
    return function(...i) {
      const s = zs(Gs(e, Vl[r], "bgColor", ...i), Wt.bgColor.close, this[Fr]);
      return ln(this, s, this[hi]);
    };
  } };
}
var ev = Object.defineProperties(() => {
}, {
  ...Mr,
  level: {
    enumerable: !0,
    get() {
      return this[qs].level;
    },
    set(e) {
      this[qs].level = e;
    }
  }
}), zs = (e, t, r) => {
  let i, s;
  return r === void 0 ? (i = e, s = t) : (i = r.openAll + e, s = t + r.closeAll), {
    open: e,
    close: t,
    openAll: i,
    closeAll: s,
    parent: r
  };
}, ln = (e, t, r) => {
  const i = (...s) => tv(i, s.length === 1 ? "" + s[0] : s.join(" "));
  return Object.setPrototypeOf(i, ev), i[qs] = e, i[Fr] = t, i[hi] = r, i;
}, tv = (e, t) => {
  if (e.level <= 0 || !t) return e[hi] ? "" : t;
  let r = e[Fr];
  if (r === void 0) return t;
  const { openAll: i, closeAll: s } = r;
  if (t.includes("\x1B")) for (; r !== void 0; )
    t = Zm(t, r.close, r.open), r = r.parent;
  const d = t.indexOf(`
`);
  return d !== -1 && (t = Jm(t, s, i, d)), i + t + s;
};
Object.defineProperties(Di.prototype, Mr);
var rv = Di(), EI = Di({ level: Wl ? Wl.level : 0 });
function et(e, t, r = {}) {
  const i = Array.isArray(e);
  return t = t || ((s) => ({ [s]: !0 })), Object.entries(e || {}).forEach(([s, d], c) => {
    const n = i ? t(d, c, r) : t(s, d, r);
    Object.entries(n || {}).forEach((u) => {
      r[u[0]] = u[1];
    });
  }), r;
}
var Iu = {
  blue: !0,
  bold: !0,
  cyan: !0,
  dim: !0,
  gray: !0,
  green: !0,
  magenta: !0,
  red: !0,
  reset: !0,
  underline: !0,
  yellow: !0
}, iv = et(Iu, (e) => ({ [e]: Object.assign((t) => t.toString(), {
  bold: (t) => t.toString(),
  underline: (t) => t.toString()
}) })), li, On = (e) => e === !0 ? new Qm({ level: 1 }) : e === null ? iv : rv, ku = (e) => {
  li = On(e);
}, bs = () => {
  if (!li) throw new Error("Chalk has not been imported yet.");
}, Se = et(Iu, (e) => {
  const t = (r) => (bs(), li[e](r));
  return t.bold = (r) => (bs(), li[e].bold(r)), t.underline = (r) => (bs(), li[e].underline(r)), { [e]: t };
}), $r = (e, t) => et(e, (r, i) => t(r, i) ? { [r]: i } : null), fi = (e) => Xe.stat(e).then(() => !0, () => !1), nv = Up(import.meta.url);
async function Ro(e, { pkgFile: t } = {}) {
  const r = nv.resolve.paths(e) || [], i = t ? [qe.join(qe.dirname(t), "node_modules")] : [], s = [qe.join(process.cwd(), "node_modules")], d = [
    ...i,
    ...s,
    ...r
  ];
  for (const c of d) {
    const n = qe.join(c, e, "package.json");
    if (await fi(n)) try {
      return JSON.parse(await Xe.readFile(n, "utf-8"));
    } catch {
    }
  }
  return null;
}
async function sv(e, t, { pkgFile: r } = {}) {
  return t ? t.version : (await Ro(e, { pkgFile: r }))?.version ?? null;
}
var Ri = /* @__PURE__ */ z(((e) => {
  var t = (g, m) => () => (m || g((m = { exports: {} }).exports, m), m.exports), r = t((g) => {
    "use strict";
    Object.defineProperty(g, "__esModule", { value: !0 }), g.tracing = g.metrics = void 0;
    var m = be("node:diagnostics_channel");
    g.metrics = (0, m.channel)("lru-cache:metrics"), g.tracing = (0, m.tracingChannel)("lru-cache");
  });
  Object.defineProperty(e, "__esModule", { value: !0 }), e.LRUCache = void 0;
  var i = r(), s = () => i.metrics.hasSubscribers || i.tracing.hasSubscribers, d = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, c = /* @__PURE__ */ new Set(), n = typeof process == "object" && process ? process : {}, u = (g, m, v, _) => {
    typeof n.emitWarning == "function" ? n.emitWarning(g, m, v, _) : console.error(`[${v}] ${m}: ${g}`);
  }, o = (g) => !c.has(g), h = (g) => !!g && g === Math.floor(g) && g > 0 && isFinite(g), a = (g) => h(g) ? g <= Math.pow(2, 8) ? Uint8Array : g <= Math.pow(2, 16) ? Uint16Array : g <= Math.pow(2, 32) ? Uint32Array : g <= Number.MAX_SAFE_INTEGER ? l : null : null, l = class extends Array {
    constructor(g) {
      super(g), this.fill(0);
    }
  }, f = class ni {
    heap;
    length;
    static #e = !1;
    static create(m) {
      let v = a(m);
      if (!v) return [];
      ni.#e = !0;
      let _ = new ni(m, v);
      return ni.#e = !1, _;
    }
    constructor(m, v) {
      if (!ni.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
      this.heap = new v(m), this.length = 0;
    }
    push(m) {
      this.heap[this.length++] = m;
    }
    pop() {
      return this.heap[--this.length];
    }
  }, p = class Lu {
    #e;
    #t;
    #r;
    #n;
    #s;
    #c;
    #f;
    #u;
    get perf() {
      return this.#u;
    }
    ttl;
    ttlResolution;
    ttlAutopurge;
    updateAgeOnGet;
    updateAgeOnHas;
    allowStale;
    noDisposeOnSet;
    noUpdateTTL;
    maxEntrySize;
    sizeCalculation;
    noDeleteOnFetchRejection;
    noDeleteOnStaleGet;
    allowStaleOnFetchAbort;
    allowStaleOnFetchRejection;
    ignoreFetchAbort;
    #o;
    #p;
    #h;
    #l;
    #i;
    #v;
    #E;
    #y;
    #g;
    #R;
    #m;
    #T;
    #D;
    #_;
    #b;
    #A;
    #O;
    #a;
    #x;
    static unsafeExposeInternals(m) {
      return {
        starts: m.#D,
        ttls: m.#_,
        autopurgeTimers: m.#b,
        sizes: m.#T,
        keyMap: m.#h,
        keyList: m.#l,
        valList: m.#i,
        next: m.#v,
        prev: m.#E,
        get head() {
          return m.#y;
        },
        get tail() {
          return m.#g;
        },
        free: m.#R,
        isBackgroundFetch: (v) => m.#d(v),
        backgroundFetch: (v, _, E, S) => m.#B(v, _, E, S),
        moveToTail: (v) => m.#K(v),
        indexes: (v) => m.#C(v),
        rindexes: (v) => m.#I(v),
        isStale: (v) => m.#S(v)
      };
    }
    get max() {
      return this.#e;
    }
    get maxSize() {
      return this.#t;
    }
    get calculatedSize() {
      return this.#p;
    }
    get size() {
      return this.#o;
    }
    get fetchMethod() {
      return this.#c;
    }
    get memoMethod() {
      return this.#f;
    }
    get dispose() {
      return this.#r;
    }
    get onInsert() {
      return this.#n;
    }
    get disposeAfter() {
      return this.#s;
    }
    constructor(m) {
      let { max: v = 0, ttl: _, ttlResolution: E = 1, ttlAutopurge: S, updateAgeOnGet: w, updateAgeOnHas: b, allowStale: A, dispose: D, onInsert: C, disposeAfter: O, noDisposeOnSet: I, noUpdateTTL: x, maxSize: F = 0, maxEntrySize: q = 0, sizeCalculation: K, fetchMethod: M, memoMethod: N, noDeleteOnFetchRejection: L, noDeleteOnStaleGet: te, allowStaleOnFetchRejection: H, allowStaleOnFetchAbort: j, ignoreFetchAbort: P, perf: k } = m;
      if (k !== void 0 && typeof k?.now != "function") throw new TypeError("perf option must have a now() method if specified");
      if (this.#u = k ?? d, v !== 0 && !h(v)) throw new TypeError("max option must be a nonnegative integer");
      let U = v ? a(v) : Array;
      if (!U) throw new Error("invalid max value: " + v);
      if (this.#e = v, this.#t = F, this.maxEntrySize = q || this.#t, this.sizeCalculation = K, this.sizeCalculation) {
        if (!this.#t && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
        if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
      }
      if (N !== void 0 && typeof N != "function") throw new TypeError("memoMethod must be a function if defined");
      if (this.#f = N, M !== void 0 && typeof M != "function") throw new TypeError("fetchMethod must be a function if specified");
      if (this.#c = M, this.#O = !!M, this.#h = /* @__PURE__ */ new Map(), this.#l = Array.from({ length: v }).fill(void 0), this.#i = Array.from({ length: v }).fill(void 0), this.#v = new U(v), this.#E = new U(v), this.#y = 0, this.#g = 0, this.#R = f.create(v), this.#o = 0, this.#p = 0, typeof D == "function" && (this.#r = D), typeof C == "function" && (this.#n = C), typeof O == "function" ? (this.#s = O, this.#m = []) : (this.#s = void 0, this.#m = void 0), this.#A = !!this.#r, this.#x = !!this.#n, this.#a = !!this.#s, this.noDisposeOnSet = !!I, this.noUpdateTTL = !!x, this.noDeleteOnFetchRejection = !!L, this.allowStaleOnFetchRejection = !!H, this.allowStaleOnFetchAbort = !!j, this.ignoreFetchAbort = !!P, this.maxEntrySize !== 0) {
        if (this.#t !== 0 && !h(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
        if (!h(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
        this.#W();
      }
      if (this.allowStale = !!A, this.noDeleteOnStaleGet = !!te, this.updateAgeOnGet = !!w, this.updateAgeOnHas = !!b, this.ttlResolution = h(E) || E === 0 ? E : 1, this.ttlAutopurge = !!S, this.ttl = _ || 0, this.ttl) {
        if (!h(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
        this.#$();
      }
      if (this.#e === 0 && this.ttl === 0 && this.#t === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
      if (!this.ttlAutopurge && !this.#e && !this.#t) {
        let Q = "LRU_CACHE_UNBOUNDED";
        o(Q) && (c.add(Q), u("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", Q, Lu));
      }
    }
    getRemainingTTL(m) {
      return this.#h.has(m) ? 1 / 0 : 0;
    }
    #$() {
      let m = new l(this.#e), v = new l(this.#e);
      this.#_ = m, this.#D = v;
      let _ = this.ttlAutopurge ? Array.from({ length: this.#e }) : void 0;
      this.#b = _, this.#M = (b, A, D = this.#u.now()) => {
        v[b] = A !== 0 ? D : 0, m[b] = A, E(b, A);
      }, this.#k = (b) => {
        v[b] = m[b] !== 0 ? this.#u.now() : 0, E(b, m[b]);
      };
      let E = this.ttlAutopurge ? (b, A) => {
        if (_?.[b] && (clearTimeout(_[b]), _[b] = void 0), A && A !== 0 && _) {
          let D = setTimeout(() => {
            this.#S(b) && this.#z(this.#l[b], "expire");
          }, A + 1);
          D.unref && D.unref(), _[b] = D;
        }
      } : () => {
      };
      this.#L = (b, A) => {
        if (m[A]) {
          let D = m[A], C = v[A];
          if (!D || !C) return;
          b.ttl = D, b.start = C, b.now = S || w(), b.remainingTTL = D - (b.now - C);
        }
      };
      let S = 0, w = () => {
        let b = this.#u.now();
        if (this.ttlResolution > 0) {
          S = b;
          let A = setTimeout(() => S = 0, this.ttlResolution);
          A.unref && A.unref();
        }
        return b;
      };
      this.getRemainingTTL = (b) => {
        let A = this.#h.get(b);
        if (A === void 0) return 0;
        let D = m[A], C = v[A];
        return !D || !C ? 1 / 0 : D - ((S || w()) - C);
      }, this.#S = (b) => {
        let A = v[b], D = m[b];
        return !!D && !!A && (S || w()) - A > D;
      };
    }
    #k = () => {
    };
    #L = () => {
    };
    #M = () => {
    };
    #S = () => !1;
    #W() {
      let m = new l(this.#e);
      this.#p = 0, this.#T = m, this.#N = (v) => {
        this.#p -= m[v], m[v] = 0;
      }, this.#j = (v, _, E, S) => {
        if (this.#d(_)) return 0;
        if (!h(E)) if (S) {
          if (typeof S != "function") throw new TypeError("sizeCalculation must be a function");
          if (E = S(_, v), !h(E)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
        } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
        return E;
      }, this.#P = (v, _, E) => {
        if (m[v] = _, this.#t) {
          let S = this.#t - m[v];
          for (; this.#p > S; ) this.#H(!0);
        }
        this.#p += m[v], E && (E.entrySize = _, E.totalCalculatedSize = this.#p);
      };
    }
    #N = (m) => {
    };
    #P = (m, v, _) => {
    };
    #j = (m, v, _, E) => {
      if (_ || E) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
      return 0;
    };
    *#C({ allowStale: m = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#g; this.#U(v) && ((m || !this.#S(v)) && (yield v), v !== this.#y); ) v = this.#E[v];
    }
    *#I({ allowStale: m = this.allowStale } = {}) {
      if (this.#o) for (let v = this.#y; this.#U(v) && ((m || !this.#S(v)) && (yield v), v !== this.#g); ) v = this.#v[v];
    }
    #U(m) {
      return m !== void 0 && this.#h.get(this.#l[m]) === m;
    }
    *entries() {
      for (let m of this.#C()) this.#i[m] !== void 0 && this.#l[m] !== void 0 && !this.#d(this.#i[m]) && (yield [this.#l[m], this.#i[m]]);
    }
    *rentries() {
      for (let m of this.#I()) this.#i[m] !== void 0 && this.#l[m] !== void 0 && !this.#d(this.#i[m]) && (yield [this.#l[m], this.#i[m]]);
    }
    *keys() {
      for (let m of this.#C()) {
        let v = this.#l[m];
        v !== void 0 && !this.#d(this.#i[m]) && (yield v);
      }
    }
    *rkeys() {
      for (let m of this.#I()) {
        let v = this.#l[m];
        v !== void 0 && !this.#d(this.#i[m]) && (yield v);
      }
    }
    *values() {
      for (let m of this.#C()) this.#i[m] !== void 0 && !this.#d(this.#i[m]) && (yield this.#i[m]);
    }
    *rvalues() {
      for (let m of this.#I()) this.#i[m] !== void 0 && !this.#d(this.#i[m]) && (yield this.#i[m]);
    }
    [Symbol.iterator]() {
      return this.entries();
    }
    [Symbol.toStringTag] = "LRUCache";
    find(m, v = {}) {
      for (let _ of this.#C()) {
        let E = this.#i[_], S = this.#d(E) ? E.__staleWhileFetching : E;
        if (S !== void 0 && m(S, this.#l[_], this)) return this.#Y(this.#l[_], v);
      }
    }
    forEach(m, v = this) {
      for (let _ of this.#C()) {
        let E = this.#i[_], S = this.#d(E) ? E.__staleWhileFetching : E;
        S !== void 0 && m.call(v, S, this.#l[_], this);
      }
    }
    rforEach(m, v = this) {
      for (let _ of this.#I()) {
        let E = this.#i[_], S = this.#d(E) ? E.__staleWhileFetching : E;
        S !== void 0 && m.call(v, S, this.#l[_], this);
      }
    }
    purgeStale() {
      let m = !1;
      for (let v of this.#I({ allowStale: !0 })) this.#S(v) && (this.#z(this.#l[v], "expire"), m = !0);
      return m;
    }
    info(m) {
      let v = this.#h.get(m);
      if (v === void 0) return;
      let _ = this.#i[v], E = this.#d(_) ? _.__staleWhileFetching : _;
      if (E === void 0) return;
      let S = { value: E };
      if (this.#_ && this.#D) {
        let w = this.#_[v], b = this.#D[v];
        w && b && (S.ttl = w - (this.#u.now() - b), S.start = Date.now());
      }
      return this.#T && (S.size = this.#T[v]), S;
    }
    dump() {
      let m = [];
      for (let v of this.#C({ allowStale: !0 })) {
        let _ = this.#l[v], E = this.#i[v], S = this.#d(E) ? E.__staleWhileFetching : E;
        if (S === void 0 || _ === void 0) continue;
        let w = { value: S };
        if (this.#_ && this.#D) {
          w.ttl = this.#_[v];
          let b = this.#u.now() - this.#D[v];
          w.start = Math.floor(Date.now() - b);
        }
        this.#T && (w.size = this.#T[v]), m.unshift([_, w]);
      }
      return m;
    }
    load(m) {
      this.clear();
      for (let [v, _] of m) {
        if (_.start) {
          let E = Date.now() - _.start;
          _.start = this.#u.now() - E;
        }
        this.#F(v, _.value, _);
      }
    }
    set(m, v, _ = {}) {
      let { status: E = i.metrics.hasSubscribers ? {} : void 0 } = _;
      _.status = E, E && (E.op = "set", E.key = m, v !== void 0 && (E.value = v));
      let S = this.#F(m, v, _);
      return E && i.metrics.hasSubscribers && i.metrics.publish(E), S;
    }
    #F(m, v, _ = {}) {
      let { ttl: E = this.ttl, start: S, noDisposeOnSet: w = this.noDisposeOnSet, sizeCalculation: b = this.sizeCalculation, status: A } = _;
      if (v === void 0) return A && (A.set = "deleted"), this.delete(m), this;
      let { noUpdateTTL: D = this.noUpdateTTL } = _;
      A && !this.#d(v) && (A.value = v);
      let C = this.#j(m, v, _.size || 0, b, A);
      if (this.maxEntrySize && C > this.maxEntrySize) return this.#z(m, "set"), A && (A.set = "miss", A.maxEntrySizeExceeded = !0), this;
      let O = this.#o === 0 ? void 0 : this.#h.get(m);
      if (O === void 0) O = this.#o === 0 ? this.#g : this.#R.length !== 0 ? this.#R.pop() : this.#o === this.#e ? this.#H(!1) : this.#o, this.#l[O] = m, this.#i[O] = v, this.#h.set(m, O), this.#v[this.#g] = O, this.#E[O] = this.#g, this.#g = O, this.#o++, this.#P(O, C, A), A && (A.set = "add"), D = !1, this.#x && this.#n?.(v, m, "add");
      else {
        this.#K(O);
        let I = this.#i[O];
        if (v !== I) {
          if (this.#O && this.#d(I)) {
            I.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
            let { __staleWhileFetching: x } = I;
            x !== void 0 && !w && (this.#A && this.#r?.(x, m, "set"), this.#a && this.#m?.push([
              x,
              m,
              "set"
            ]));
          } else w || (this.#A && this.#r?.(I, m, "set"), this.#a && this.#m?.push([
            I,
            m,
            "set"
          ]));
          if (this.#N(O), this.#P(O, C, A), this.#i[O] = v, A) {
            A.set = "replace";
            let x = I && this.#d(I) ? I.__staleWhileFetching : I;
            x !== void 0 && (A.oldValue = x);
          }
        } else A && (A.set = "update");
        this.#x && this.onInsert?.(v, m, v === I ? "update" : "replace");
      }
      if (E !== 0 && !this.#_ && this.#$(), this.#_ && (D || this.#M(O, E, S), A && this.#L(A, O)), !w && this.#a && this.#m) {
        let I = this.#m, x;
        for (; x = I?.shift(); ) this.#s?.(...x);
      }
      return this;
    }
    pop() {
      try {
        for (; this.#o; ) {
          let m = this.#i[this.#y];
          if (this.#H(!0), this.#d(m)) {
            if (m.__staleWhileFetching) return m.__staleWhileFetching;
          } else if (m !== void 0) return m;
        }
      } finally {
        if (this.#a && this.#m) {
          let m = this.#m, v;
          for (; v = m?.shift(); ) this.#s?.(...v);
        }
      }
    }
    #H(m) {
      let v = this.#y, _ = this.#l[v], E = this.#i[v];
      return this.#O && this.#d(E) ? E.__abortController.abort(/* @__PURE__ */ new Error("evicted")) : (this.#A || this.#a) && (this.#A && this.#r?.(E, _, "evict"), this.#a && this.#m?.push([
        E,
        _,
        "evict"
      ])), this.#N(v), this.#b?.[v] && (clearTimeout(this.#b[v]), this.#b[v] = void 0), m && (this.#l[v] = void 0, this.#i[v] = void 0, this.#R.push(v)), this.#o === 1 ? (this.#y = this.#g = 0, this.#R.length = 0) : this.#y = this.#v[v], this.#h.delete(_), this.#o--, v;
    }
    has(m, v = {}) {
      let { status: _ = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = _, _ && (_.op = "has", _.key = m);
      let E = this.#w(m, v);
      return i.metrics.hasSubscribers && i.metrics.publish(_), E;
    }
    #w(m, v = {}) {
      let { updateAgeOnHas: _ = this.updateAgeOnHas, status: E } = v, S = this.#h.get(m);
      if (S !== void 0) {
        let w = this.#i[S];
        if (this.#d(w) && w.__staleWhileFetching === void 0) return !1;
        if (this.#S(S)) E && (E.has = "stale", this.#L(E, S));
        else return _ && this.#k(S), E && (E.has = "hit", this.#L(E, S)), !0;
      } else E && (E.has = "miss");
      return !1;
    }
    peek(m, v = {}) {
      let { status: _ = s() ? {} : void 0 } = v;
      _ && (_.op = "peek", _.key = m), v.status = _;
      let E = this.#q(m, v);
      return i.metrics.hasSubscribers && i.metrics.publish(_), E;
    }
    #q(m, v) {
      let { status: _, allowStale: E = this.allowStale } = v, S = this.#h.get(m);
      if (S === void 0 || !E && this.#S(S)) {
        _ && (_.peek = S === void 0 ? "miss" : "stale");
        return;
      }
      let w = this.#i[S], b = this.#d(w) ? w.__staleWhileFetching : w;
      return _ && (b !== void 0 ? (_.peek = "hit", _.value = b) : _.peek = "miss"), b;
    }
    #B(m, v, _, E) {
      let S = v === void 0 ? void 0 : this.#i[v];
      if (this.#d(S)) return S;
      let w = new AbortController(), { signal: b } = _;
      b?.addEventListener("abort", () => w.abort(b.reason), { signal: w.signal });
      let A = {
        signal: w.signal,
        options: _,
        context: E
      }, D = (q, K = !1) => {
        let { aborted: M } = w.signal, N = _.ignoreFetchAbort && q !== void 0, L = _.ignoreFetchAbort || !!(_.allowStaleOnFetchAbort && q !== void 0);
        if (_.status && (M && !K ? (_.status.fetchAborted = !0, _.status.fetchError = w.signal.reason, N && (_.status.fetchAbortIgnored = !0)) : _.status.fetchResolved = !0), M && !N && !K) return O(w.signal.reason, L);
        let te = x, H = this.#i[v];
        return (H === x || H === void 0 && N && K) && (q === void 0 ? te.__staleWhileFetching !== void 0 ? this.#i[v] = te.__staleWhileFetching : this.#z(m, "fetch") : (_.status && (_.status.fetchUpdated = !0), this.#F(m, q, A.options))), q;
      }, C = (q) => (_.status && (_.status.fetchRejected = !0, _.status.fetchError = q), O(q, !1)), O = (q, K) => {
        let { aborted: M } = w.signal, N = M && _.allowStaleOnFetchAbort, L = N || _.allowStaleOnFetchRejection, te = L || _.noDeleteOnFetchRejection, H = x;
        if (this.#i[v] === x && (!te || !K && H.__staleWhileFetching === void 0 ? this.#z(m, "fetch") : N || (this.#i[v] = H.__staleWhileFetching)), L) return _.status && H.__staleWhileFetching !== void 0 && (_.status.returnedStale = !0), H.__staleWhileFetching;
        if (H.__returned === H) throw q;
      }, I = (q, K) => {
        let M = this.#c?.(m, S, A);
        M && M instanceof Promise && M.then((N) => q(N === void 0 ? void 0 : N), K), w.signal.addEventListener("abort", () => {
          (!_.ignoreFetchAbort || _.allowStaleOnFetchAbort) && (q(void 0), _.allowStaleOnFetchAbort && (q = (N) => D(N, !0)));
        });
      };
      _.status && (_.status.fetchDispatched = !0);
      let x = new Promise(I).then(D, C), F = Object.assign(x, {
        __abortController: w,
        __staleWhileFetching: S,
        __returned: void 0
      });
      return v === void 0 ? (this.#F(m, F, {
        ...A.options,
        status: void 0
      }), v = this.#h.get(m)) : this.#i[v] = F, F;
    }
    #d(m) {
      if (!this.#O) return !1;
      let v = m;
      return !!v && v instanceof Promise && v.hasOwnProperty("__staleWhileFetching") && v.__abortController instanceof AbortController;
    }
    fetch(m, v = {}) {
      let _ = i.tracing.hasSubscribers, { status: E = s() ? {} : void 0 } = v;
      v.status = E, E && v.context && (E.context = v.context);
      let S = this.#G(m, v);
      return E && s() && _ && (E.trace = !0, i.tracing.tracePromise(() => S, E).catch(() => {
      })), S;
    }
    async #G(m, v = {}) {
      let { allowStale: _ = this.allowStale, updateAgeOnGet: E = this.updateAgeOnGet, noDeleteOnStaleGet: S = this.noDeleteOnStaleGet, ttl: w = this.ttl, noDisposeOnSet: b = this.noDisposeOnSet, size: A = 0, sizeCalculation: D = this.sizeCalculation, noUpdateTTL: C = this.noUpdateTTL, noDeleteOnFetchRejection: O = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: I = this.allowStaleOnFetchRejection, ignoreFetchAbort: x = this.ignoreFetchAbort, allowStaleOnFetchAbort: F = this.allowStaleOnFetchAbort, context: q, forceRefresh: K = !1, status: M, signal: N } = v;
      if (M && (M.op = "fetch", M.key = m, K && (M.forceRefresh = !0)), !this.#O) return M && (M.fetch = "get"), this.#Y(m, {
        allowStale: _,
        updateAgeOnGet: E,
        noDeleteOnStaleGet: S,
        status: M
      });
      let L = {
        allowStale: _,
        updateAgeOnGet: E,
        noDeleteOnStaleGet: S,
        ttl: w,
        noDisposeOnSet: b,
        size: A,
        sizeCalculation: D,
        noUpdateTTL: C,
        noDeleteOnFetchRejection: O,
        allowStaleOnFetchRejection: I,
        allowStaleOnFetchAbort: F,
        ignoreFetchAbort: x,
        status: M,
        signal: N
      }, te = this.#h.get(m);
      if (te === void 0) {
        M && (M.fetch = "miss");
        let H = this.#B(m, te, L, q);
        return H.__returned = H;
      } else {
        let H = this.#i[te];
        if (this.#d(H)) {
          let U = _ && H.__staleWhileFetching !== void 0;
          return M && (M.fetch = "inflight", U && (M.returnedStale = !0)), U ? H.__staleWhileFetching : H.__returned = H;
        }
        let j = this.#S(te);
        if (!K && !j) return M && (M.fetch = "hit"), this.#K(te), E && this.#k(te), M && this.#L(M, te), H;
        let P = this.#B(m, te, L, q), k = P.__staleWhileFetching !== void 0 && _;
        return M && (M.fetch = j ? "stale" : "refresh", k && j && (M.returnedStale = !0)), k ? P.__staleWhileFetching : P.__returned = P;
      }
    }
    forceFetch(m, v = {}) {
      let _ = i.tracing.hasSubscribers, { status: E = s() ? {} : void 0 } = v;
      v.status = E, E && v.context && (E.context = v.context);
      let S = this.#V(m, v);
      return E && s() && _ && (E.trace = !0, i.tracing.tracePromise(() => S, E).catch(() => {
      })), S;
    }
    async #V(m, v = {}) {
      let _ = await this.#G(m, v);
      if (_ === void 0) throw new Error("fetch() returned undefined");
      return _;
    }
    memo(m, v = {}) {
      let { status: _ = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = _, _ && (_.op = "memo", _.key = m, v.context && (_.context = v.context));
      let E = this.#X(m, v);
      return _ && (_.value = E), i.metrics.hasSubscribers && i.metrics.publish(_), E;
    }
    #X(m, v = {}) {
      let _ = this.#f;
      if (!_) throw new Error("no memoMethod provided to constructor");
      let { context: E, status: S, forceRefresh: w, ...b } = v;
      S && w && (S.forceRefresh = !0);
      let A = this.#Y(m, b), D = w || A === void 0;
      if (S && (S.memo = D ? "miss" : "hit", D || (S.value = A)), !D) return A;
      let C = _(m, A, {
        options: b,
        context: E
      });
      return S && (S.value = C), this.#F(m, C, b), C;
    }
    get(m, v = {}) {
      let { status: _ = i.metrics.hasSubscribers ? {} : void 0 } = v;
      v.status = _, _ && (_.op = "get", _.key = m);
      let E = this.#Y(m, v);
      return _ && (E !== void 0 && (_.value = E), i.metrics.hasSubscribers && i.metrics.publish(_)), E;
    }
    #Y(m, v = {}) {
      let { allowStale: _ = this.allowStale, updateAgeOnGet: E = this.updateAgeOnGet, noDeleteOnStaleGet: S = this.noDeleteOnStaleGet, status: w } = v, b = this.#h.get(m);
      if (b === void 0) {
        w && (w.get = "miss");
        return;
      }
      let A = this.#i[b], D = this.#d(A);
      return w && this.#L(w, b), this.#S(b) ? D ? (w && (w.get = "stale-fetching"), _ && A.__staleWhileFetching !== void 0 ? (w && (w.returnedStale = !0), A.__staleWhileFetching) : void 0) : (S || this.#z(m, "expire"), w && (w.get = "stale"), _ ? (w && (w.returnedStale = !0), A) : void 0) : (w && (w.get = D ? "fetching" : "hit"), this.#K(b), E && this.#k(b), D ? A.__staleWhileFetching : A);
    }
    #Z(m, v) {
      this.#E[v] = m, this.#v[m] = v;
    }
    #K(m) {
      m !== this.#g && (m === this.#y ? this.#y = this.#v[m] : this.#Z(this.#E[m], this.#v[m]), this.#Z(this.#g, m), this.#g = m);
    }
    delete(m) {
      return this.#z(m, "delete");
    }
    #z(m, v) {
      i.metrics.hasSubscribers && i.metrics.publish({
        op: "delete",
        delete: v,
        key: m
      });
      let _ = !1;
      if (this.#o !== 0) {
        let E = this.#h.get(m);
        if (E !== void 0) if (this.#b?.[E] && (clearTimeout(this.#b?.[E]), this.#b[E] = void 0), _ = !0, this.#o === 1) this.#J(v);
        else {
          this.#N(E);
          let S = this.#i[E];
          if (this.#d(S) ? S.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#a) && (this.#A && this.#r?.(S, m, v), this.#a && this.#m?.push([
            S,
            m,
            v
          ])), this.#h.delete(m), this.#l[E] = void 0, this.#i[E] = void 0, E === this.#g) this.#g = this.#E[E];
          else if (E === this.#y) this.#y = this.#v[E];
          else {
            let w = this.#E[E];
            this.#v[w] = this.#v[E];
            let b = this.#v[E];
            this.#E[b] = this.#E[E];
          }
          this.#o--, this.#R.push(E);
        }
      }
      if (this.#a && this.#m?.length) {
        let E = this.#m, S;
        for (; S = E?.shift(); ) this.#s?.(...S);
      }
      return _;
    }
    clear() {
      return this.#J("delete");
    }
    #J(m) {
      for (let v of this.#I({ allowStale: !0 })) {
        let _ = this.#i[v];
        if (this.#d(_)) _.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
        else {
          let E = this.#l[v];
          this.#A && this.#r?.(_, E, m), this.#a && this.#m?.push([
            _,
            E,
            m
          ]);
        }
      }
      if (this.#h.clear(), this.#i.fill(void 0), this.#l.fill(void 0), this.#_ && this.#D) {
        this.#_.fill(0), this.#D.fill(0);
        for (let v of this.#b ?? []) v !== void 0 && clearTimeout(v);
        this.#b?.fill(void 0);
      }
      if (this.#T && this.#T.fill(0), this.#y = 0, this.#g = 0, this.#R.length = 0, this.#p = 0, this.#o = 0, this.#a && this.#m) {
        let v = this.#m, _;
        for (; _ = v?.shift(); ) this.#s?.(..._);
      }
    }
  };
  e.LRUCache = p;
})), av = /* @__PURE__ */ z(((e, t) => {
  var r = (...n) => n.every((u) => u) ? n.join("") : "", i = (n) => n ? encodeURIComponent(n) : "", s = (n) => n.toLowerCase().replace(/^\W+/g, "").replace(/(?<!\W)\W+$/, "").replace(/\//g, "").replace(/\W+/g, "-"), d = {
    sshtemplate: ({ domain: n, user: u, project: o, committish: h }) => `git@${n}:${u}/${o}.git${r("#", h)}`,
    sshurltemplate: ({ domain: n, user: u, project: o, committish: h }) => `git+ssh://git@${n}/${u}/${o}.git${r("#", h)}`,
    edittemplate: ({ domain: n, user: u, project: o, committish: h, editpath: a, path: l }) => `https://${n}/${u}/${o}${r("/", a, "/", i(h || "HEAD"), "/", l)}`,
    browsetemplate: ({ domain: n, user: u, project: o, committish: h, treepath: a }) => `https://${n}/${u}/${o}${r("/", a, "/", i(h))}`,
    browsetreetemplate: ({ domain: n, user: u, project: o, committish: h, treepath: a, path: l, fragment: f, hashformat: p }) => `https://${n}/${u}/${o}/${a}/${i(h || "HEAD")}/${l}${r("#", p(f || ""))}`,
    browseblobtemplate: ({ domain: n, user: u, project: o, committish: h, blobpath: a, path: l, fragment: f, hashformat: p }) => `https://${n}/${u}/${o}/${a}/${i(h || "HEAD")}/${l}${r("#", p(f || ""))}`,
    docstemplate: ({ domain: n, user: u, project: o, treepath: h, committish: a }) => `https://${n}/${u}/${o}${r("/", h, "/", i(a))}#readme`,
    httpstemplate: ({ auth: n, domain: u, user: o, project: h, committish: a }) => `git+https://${r(n, "@")}${u}/${o}/${h}.git${r("#", a)}`,
    filetemplate: ({ domain: n, user: u, project: o, committish: h, path: a }) => `https://${n}/${u}/${o}/raw/${i(h || "HEAD")}/${a}`,
    shortcuttemplate: ({ type: n, user: u, project: o, committish: h }) => `${n}:${u}/${o}${r("#", h)}`,
    pathtemplate: ({ user: n, project: u, committish: o }) => `${n}/${u}${r("#", o)}`,
    bugstemplate: ({ domain: n, user: u, project: o }) => `https://${n}/${u}/${o}/issues`,
    hashformat: s
  }, c = {};
  c.github = {
    protocols: [
      "git:",
      "http:",
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "github.com",
    treepath: "tree",
    blobpath: "blob",
    editpath: "edit",
    filetemplate: ({ auth: n, user: u, project: o, committish: h, path: a }) => `https://${r(n, "@")}raw.githubusercontent.com/${u}/${o}/${i(h || "HEAD")}/${a}`,
    gittemplate: ({ auth: n, domain: u, user: o, project: h, committish: a }) => `git://${r(n, "@")}${u}/${o}/${h}.git${r("#", a)}`,
    tarballtemplate: ({ domain: n, user: u, project: o, committish: h }) => `https://codeload.${n}/${u}/${o}/tar.gz/${i(h || "HEAD")}`,
    extract: (n) => {
      let [, u, o, h, a] = n.pathname.split("/", 5);
      if (!(h && h !== "tree") && (h || (a = n.hash.slice(1)), o && o.endsWith(".git") && (o = o.slice(0, -4)), !(!u || !o)))
        return {
          user: u,
          project: o,
          committish: a
        };
    }
  }, c.bitbucket = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "bitbucket.org",
    treepath: "src",
    blobpath: "src",
    editpath: "?mode=edit",
    edittemplate: ({ domain: n, user: u, project: o, committish: h, treepath: a, path: l, editpath: f }) => `https://${n}/${u}/${o}${r("/", a, "/", i(h || "HEAD"), "/", l, f)}`,
    tarballtemplate: ({ domain: n, user: u, project: o, committish: h }) => `https://${n}/${u}/${o}/get/${i(h || "HEAD")}.tar.gz`,
    extract: (n) => {
      let [, u, o, h] = n.pathname.split("/", 4);
      if (!["get"].includes(h) && (o && o.endsWith(".git") && (o = o.slice(0, -4)), !(!u || !o)))
        return {
          user: u,
          project: o,
          committish: n.hash.slice(1)
        };
    }
  }, c.gitlab = {
    protocols: [
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gitlab.com",
    treepath: "tree",
    blobpath: "tree",
    editpath: "-/edit",
    tarballtemplate: ({ domain: n, user: u, project: o, committish: h }) => `https://${n}/api/v4/projects/${i(u + "/" + o)}/repository/archive.tar.gz?sha=${i(h || "HEAD")}`,
    extract: (n) => {
      const u = n.pathname.slice(1);
      if (u.includes("/-/") || u.includes("/archive.tar.gz")) return;
      const o = u.split("/");
      let h = o.pop();
      h.endsWith(".git") && (h = h.slice(0, -4));
      const a = o.join("/");
      if (!(!a || !h))
        return {
          user: a,
          project: h,
          committish: n.hash.slice(1)
        };
    }
  }, c.gist = {
    protocols: [
      "git:",
      "git+ssh:",
      "git+https:",
      "ssh:",
      "https:"
    ],
    domain: "gist.github.com",
    editpath: "edit",
    sshtemplate: ({ domain: n, project: u, committish: o }) => `git@${n}:${u}.git${r("#", o)}`,
    sshurltemplate: ({ domain: n, project: u, committish: o }) => `git+ssh://git@${n}/${u}.git${r("#", o)}`,
    edittemplate: ({ domain: n, user: u, project: o, committish: h, editpath: a }) => `https://${n}/${u}/${o}${r("/", i(h))}/${a}`,
    browsetemplate: ({ domain: n, project: u, committish: o }) => `https://${n}/${u}${r("/", i(o))}`,
    browsetreetemplate: ({ domain: n, project: u, committish: o, path: h, hashformat: a }) => `https://${n}/${u}${r("/", i(o))}${r("#", a(h))}`,
    browseblobtemplate: ({ domain: n, project: u, committish: o, path: h, hashformat: a }) => `https://${n}/${u}${r("/", i(o))}${r("#", a(h))}`,
    docstemplate: ({ domain: n, project: u, committish: o }) => `https://${n}/${u}${r("/", i(o))}`,
    httpstemplate: ({ domain: n, project: u, committish: o }) => `git+https://${n}/${u}.git${r("#", o)}`,
    filetemplate: ({ user: n, project: u, committish: o, path: h }) => `https://gist.githubusercontent.com/${n}/${u}/raw${r("/", i(o))}/${h}`,
    shortcuttemplate: ({ type: n, project: u, committish: o }) => `${n}:${u}${r("#", o)}`,
    pathtemplate: ({ project: n, committish: u }) => `${n}${r("#", u)}`,
    bugstemplate: ({ domain: n, project: u }) => `https://${n}/${u}`,
    gittemplate: ({ domain: n, project: u, committish: o }) => `git://${n}/${u}.git${r("#", o)}`,
    tarballtemplate: ({ project: n, committish: u }) => `https://codeload.github.com/gist/${n}/tar.gz/${i(u || "HEAD")}`,
    extract: (n) => {
      let [, u, o, h] = n.pathname.split("/", 4);
      if (h !== "raw") {
        if (!o) {
          if (!u) return;
          o = u, u = null;
        }
        return o.endsWith(".git") && (o = o.slice(0, -4)), {
          user: u,
          project: o,
          committish: n.hash.slice(1)
        };
      }
    },
    hashformat: function(n) {
      return n && "file-" + s(n);
    }
  }, c.sourcehut = {
    protocols: ["git+ssh:", "https:"],
    domain: "git.sr.ht",
    treepath: "tree",
    blobpath: "tree",
    filetemplate: ({ domain: n, user: u, project: o, committish: h, path: a }) => `https://${n}/${u}/${o}/blob/${i(h) || "HEAD"}/${a}`,
    httpstemplate: ({ domain: n, user: u, project: o, committish: h }) => `https://${n}/${u}/${o}${r("#", h)}`,
    tarballtemplate: ({ domain: n, user: u, project: o, committish: h }) => `https://${n}/${u}/${o}/archive/${i(h) || "HEAD"}.tar.gz`,
    bugstemplate: () => null,
    extract: (n) => {
      let [, u, o, h] = n.pathname.split("/", 4);
      if (!["archive"].includes(h) && (o && o.endsWith(".git") && (o = o.slice(0, -4)), !(!u || !o)))
        return {
          user: u,
          project: o,
          committish: n.hash.slice(1)
        };
    }
  };
  for (const [n, u] of Object.entries(c)) c[n] = Object.assign({}, d, u);
  t.exports = c;
})), xu = /* @__PURE__ */ z(((e, t) => {
  var r = be("url"), i = (n, u, o) => {
    const h = n.indexOf(o);
    return n.lastIndexOf(u, h > -1 ? h : 1 / 0);
  }, s = (n) => {
    try {
      return new r.URL(n);
    } catch {
    }
  }, d = (n, u) => {
    const o = n.indexOf(":"), h = n.slice(0, o + 1);
    if (Object.prototype.hasOwnProperty.call(u, h) || n.substr(o, 3) === "://") return n;
    const a = n.indexOf("@");
    return a > -1 ? a > o ? `git+ssh://${n}` : n : `${n.slice(0, o + 1)}//${n.slice(o + 1)}`;
  }, c = (n) => {
    const u = i(n, "@", "#"), o = i(n, ":", "#");
    return o > u && (n = n.slice(0, o) + "/" + n.slice(o + 1)), i(n, ":", "#") === -1 && n.indexOf("//") === -1 && (n = `git+ssh://${n}`), n;
  };
  t.exports = (n, u) => {
    const o = u ? d(n, u) : n;
    return s(o) || s(c(o));
  };
})), ov = /* @__PURE__ */ z(((e, t) => {
  var r = xu(), i = (s) => {
    const d = s.indexOf("#"), c = s.indexOf("/"), n = s.indexOf("/", c + 1), u = s.indexOf(":"), o = /\s/.exec(s), h = s.indexOf("@"), a = !o || d > -1 && o.index > d, l = h === -1 || d > -1 && h > d, f = u === -1 || d > -1 && u > d, p = n === -1 || d > -1 && n > d, g = c > 0, m = d > -1 ? s[d - 1] !== "/" : !s.endsWith("/"), v = !s.startsWith(".");
    return a && g && m && v && l && f && p;
  };
  t.exports = (s, d, { gitHosts: c, protocols: n }) => {
    if (!s) return;
    const u = r(i(s) ? `github:${s}` : s, n);
    if (!u) return;
    const o = c.byShortcut[u.protocol], h = c.byDomain[u.hostname.startsWith("www.") ? u.hostname.slice(4) : u.hostname], a = o || h;
    if (!a) return;
    const l = c[o || h];
    let f = null;
    n[u.protocol]?.auth && (u.username || u.password) && (f = `${u.username}${u.password ? ":" + u.password : ""}`);
    let p = null, g = null, m = null, v = null;
    try {
      if (o) {
        let _ = u.pathname.startsWith("/") ? u.pathname.slice(1) : u.pathname;
        const E = _.indexOf("@");
        E > -1 && (_ = _.slice(E + 1));
        const S = _.lastIndexOf("/");
        S > -1 ? (g = decodeURIComponent(_.slice(0, S)), g || (g = null), m = decodeURIComponent(_.slice(S + 1))) : m = decodeURIComponent(_), m.endsWith(".git") && (m = m.slice(0, -4)), u.hash && (p = decodeURIComponent(u.hash.slice(1))), v = "shortcut";
      } else {
        if (!l.protocols.includes(u.protocol)) return;
        const _ = l.extract(u);
        if (!_) return;
        g = _.user && decodeURIComponent(_.user), m = decodeURIComponent(_.project), p = decodeURIComponent(_.committish), v = n[u.protocol]?.name || u.protocol.slice(0, -1);
      }
    } catch (_) {
      if (_ instanceof URIError) return;
      throw _;
    }
    return [
      a,
      g,
      f,
      m,
      p,
      v,
      d
    ];
  };
})), $u = /* @__PURE__ */ z(((e, t) => {
  var { LRUCache: r } = Ri(), i = av(), s = ov(), d = xu(), c = new r({ max: 1e3 });
  function n(o) {
    try {
      const { protocol: h, hostname: a, pathname: l } = new URL(o);
      return a ? `${/(?:git\+)http:$/.test(h) ? "http:" : "https:"}//${a}${l.replace(/\.git$/, "")}` : null;
    } catch {
      return null;
    }
  }
  var u = class Ft {
    constructor(h, a, l, f, p, g, m = {}) {
      Object.assign(this, Ft.#e[h], {
        type: h,
        user: a,
        auth: l,
        project: f,
        committish: p,
        default: g,
        opts: m
      });
    }
    static #e = {
      byShortcut: {},
      byDomain: {}
    };
    static #t = {
      "git+ssh:": { name: "sshurl" },
      "ssh:": { name: "sshurl" },
      "git+https:": {
        name: "https",
        auth: !0
      },
      "git:": { auth: !0 },
      "http:": { auth: !0 },
      "https:": { auth: !0 },
      "git+http:": { auth: !0 }
    };
    static addHost(h, a) {
      Ft.#e[h] = a, Ft.#e.byDomain[a.domain] = h, Ft.#e.byShortcut[`${h}:`] = h, Ft.#t[`${h}:`] = { name: h };
    }
    static fromUrl(h, a) {
      if (typeof h != "string") return;
      const l = h + JSON.stringify(a || {});
      if (!c.has(l)) {
        const f = s(h, a, {
          gitHosts: Ft.#e,
          protocols: Ft.#t
        });
        c.set(l, f ? new Ft(...f) : void 0);
      }
      return c.get(l);
    }
    static fromManifest(h, a = {}) {
      if (!h || typeof h != "object") return;
      const l = h.repository, f = l && (typeof l == "string" ? l : typeof l == "object" && typeof l.url == "string" ? l.url : null);
      if (!f) throw new Error("no repository");
      const p = f && Ft.fromUrl(f.replace(/^git\+/, ""), a) || null;
      if (p) return p;
      const g = n(f);
      return Ft.fromUrl(g, a) || g;
    }
    static parseUrl(h) {
      return d(h);
    }
    #r(h, a) {
      if (typeof h != "function") return null;
      const l = {
        ...this,
        ...this.opts,
        ...a
      };
      l.path || (l.path = ""), l.path.startsWith("/") && (l.path = l.path.slice(1)), l.noCommittish && (l.committish = null);
      const f = h(l);
      return l.noGitPlus && f.startsWith("git+") ? f.slice(4) : f;
    }
    hash() {
      return this.committish ? `#${this.committish}` : "";
    }
    ssh(h) {
      return this.#r(this.sshtemplate, h);
    }
    sshurl(h) {
      return this.#r(this.sshurltemplate, h);
    }
    browse(h, ...a) {
      return typeof h != "string" ? this.#r(this.browsetemplate, h) : typeof a[0] != "string" ? this.#r(this.browsetreetemplate, {
        ...a[0],
        path: h
      }) : this.#r(this.browsetreetemplate, {
        ...a[1],
        fragment: a[0],
        path: h
      });
    }
    browseFile(h, ...a) {
      return typeof a[0] != "string" ? this.#r(this.browseblobtemplate, {
        ...a[0],
        path: h
      }) : this.#r(this.browseblobtemplate, {
        ...a[1],
        fragment: a[0],
        path: h
      });
    }
    docs(h) {
      return this.#r(this.docstemplate, h);
    }
    bugs(h) {
      return this.#r(this.bugstemplate, h);
    }
    https(h) {
      return this.#r(this.httpstemplate, h);
    }
    git(h) {
      return this.#r(this.gittemplate, h);
    }
    shortcut(h) {
      return this.#r(this.shortcuttemplate, h);
    }
    path(h) {
      return this.#r(this.pathtemplate, h);
    }
    tarball(h) {
      return this.#r(this.tarballtemplate, {
        ...h,
        noCommittish: !1
      });
    }
    file(h, a) {
      return this.#r(this.filetemplate, {
        ...a,
        path: h
      });
    }
    edit(h, a) {
      return this.#r(this.edittemplate, {
        ...a,
        path: h
      });
    }
    getDefaultRepresentation() {
      return this.default;
    }
    toString(h) {
      return this.default && typeof this[this.default] == "function" ? this[this.default](h) : this.sshurl(h);
    }
  };
  for (const [o, h] of Object.entries(i)) u.addHost(o, h);
  t.exports = u;
})), lv = /* @__PURE__ */ Lt($u(), 1);
async function cv(e, { pkgFile: t } = {}) {
  return (await Ro(e, { pkgFile: t }))?.repository ?? null;
}
async function uv(e, t, { pkgFile: r } = {}) {
  const i = t ? t.repository ? t.repository : null : await cv(e, { pkgFile: r });
  if (!i) return null;
  let s, d = "";
  if (typeof i == "string") {
    s = i;
    try {
      const c = new qp(s);
      if (c.protocol === "https:" || c.protocol === "http:") return s;
    } catch {
    }
  } else typeof i.url == "string" && (s = i.url, typeof i.directory == "string" && (d = i.directory));
  if (typeof s == "string" && typeof d == "string") {
    const c = lv.default.fromUrl(s)?.browse(d);
    return c !== void 0 ? c.replace(/\/$/, "").replace(/\/tree\/HEAD$/, "") : s;
  }
  return null;
}
var hv = typeof global == "object" && global && global.Object === Object && global, fv = typeof self == "object" && self && self.Object === Object && self, sr = hv || fv || Function("return this")(), rr = sr.Symbol, Nu = Object.prototype, dv = Nu.hasOwnProperty, pv = Nu.toString, Jr = rr ? rr.toStringTag : void 0;
function gv(e) {
  var t = dv.call(e, Jr), r = e[Jr];
  try {
    e[Jr] = void 0;
    var i = !0;
  } catch {
  }
  var s = pv.call(e);
  return i && (t ? e[Jr] = r : delete e[Jr]), s;
}
var mv = Object.prototype.toString;
function vv(e) {
  return mv.call(e);
}
var yv = "[object Null]", _v = "[object Undefined]", Yl = rr ? rr.toStringTag : void 0;
function Oo(e) {
  return e == null ? e === void 0 ? _v : yv : Yl && Yl in Object(e) ? gv(e) : vv(e);
}
function Cn(e) {
  return e != null && typeof e == "object";
}
var bv = "[object Symbol]";
function In(e) {
  return typeof e == "symbol" || Cn(e) && Oo(e) == bv;
}
function wv(e, t) {
  for (var r = -1, i = e == null ? 0 : e.length, s = Array(i); ++r < i; ) s[r] = t(e[r], r, e);
  return s;
}
var zr = Array.isArray, Ev = 1 / 0, Kl = rr ? rr.prototype : void 0, Zl = Kl ? Kl.toString : void 0;
function Pu(e) {
  if (typeof e == "string") return e;
  if (zr(e)) return wv(e, Pu) + "";
  if (In(e)) return Zl ? Zl.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -Ev ? "-0" : t;
}
var Sv = /\s/;
function Av(e) {
  for (var t = e.length; t-- && Sv.test(e.charAt(t)); ) ;
  return t;
}
var Tv = /^\s+/;
function Dv(e) {
  return e && e.slice(0, Av(e) + 1).replace(Tv, "");
}
function jr(e) {
  var t = typeof e;
  return e != null && (t == "object" || t == "function");
}
var Jl = NaN, Rv = /^[-+]0x[0-9a-f]+$/i, Ov = /^0b[01]+$/i, Cv = /^0o[0-7]+$/i, Iv = parseInt;
function kv(e) {
  if (typeof e == "number") return e;
  if (In(e)) return Jl;
  if (jr(e)) {
    var t = typeof e.valueOf == "function" ? e.valueOf() : e;
    e = jr(t) ? t + "" : t;
  }
  if (typeof e != "string") return e === 0 ? e : +e;
  e = Dv(e);
  var r = Ov.test(e);
  return r || Cv.test(e) ? Iv(e.slice(2), r ? 2 : 8) : Rv.test(e) ? Jl : +e;
}
var Xl = 1 / 0, Lv = 17976931348623157e292;
function xv(e) {
  return e ? (e = kv(e), e === Xl || e === -Xl ? (e < 0 ? -1 : 1) * Lv : e === e ? e : 0) : e === 0 ? e : 0;
}
function Ql(e) {
  var t = xv(e), r = t % 1;
  return t === t ? r ? t - r : t : 0;
}
function Co(e) {
  return e;
}
var $v = "[object AsyncFunction]", Nv = "[object Function]", Pv = "[object GeneratorFunction]", Bv = "[object Proxy]";
function Fv(e) {
  if (!jr(e)) return !1;
  var t = Oo(e);
  return t == Nv || t == Pv || t == $v || t == Bv;
}
var ws = sr["__core-js_shared__"], ec = (function() {
  var e = /[^.]+$/.exec(ws && ws.keys && ws.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
})();
function Mv(e) {
  return !!ec && ec in e;
}
var jv = Function.prototype.toString;
function Uv(e) {
  if (e != null) {
    try {
      return jv.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
var Hv = /[\\^$.*+?()[\]{}|]/g, qv = /^\[object .+?Constructor\]$/, Gv = Function.prototype, zv = Object.prototype, Wv = Gv.toString, Vv = zv.hasOwnProperty, Yv = RegExp("^" + Wv.call(Vv).replace(Hv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
function Kv(e) {
  return !jr(e) || Mv(e) ? !1 : (Fv(e) ? Yv : qv).test(Uv(e));
}
function Zv(e, t) {
  return e?.[t];
}
function kn(e, t) {
  var r = Zv(e, t);
  return Kv(r) ? r : void 0;
}
var tc = kn(sr, "WeakMap"), cn = tc && new tc(), Bu = cn ? function(e, t) {
  return cn.set(e, t), e;
} : Co, rc = Object.create, Io = /* @__PURE__ */ (function() {
  function e() {
  }
  return function(t) {
    if (!jr(t)) return {};
    if (rc) return rc(t);
    e.prototype = t;
    var r = new e();
    return e.prototype = void 0, r;
  };
})();
function di(e) {
  return function() {
    var t = arguments;
    switch (t.length) {
      case 0:
        return new e();
      case 1:
        return new e(t[0]);
      case 2:
        return new e(t[0], t[1]);
      case 3:
        return new e(t[0], t[1], t[2]);
      case 4:
        return new e(t[0], t[1], t[2], t[3]);
      case 5:
        return new e(t[0], t[1], t[2], t[3], t[4]);
      case 6:
        return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
      case 7:
        return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
    }
    var r = Io(e.prototype), i = e.apply(r, t);
    return jr(i) ? i : r;
  };
}
var Jv = 1;
function Xv(e, t, r) {
  var i = t & Jv, s = di(e);
  function d() {
    return (this && this !== sr && this instanceof d ? s : e).apply(i ? r : this, arguments);
  }
  return d;
}
function ko(e, t, r) {
  switch (r.length) {
    case 0:
      return e.call(t);
    case 1:
      return e.call(t, r[0]);
    case 2:
      return e.call(t, r[0], r[1]);
    case 3:
      return e.call(t, r[0], r[1], r[2]);
  }
  return e.apply(t, r);
}
var Qv = Math.max;
function Fu(e, t, r, i) {
  for (var s = -1, d = e.length, c = r.length, n = -1, u = t.length, o = Qv(d - c, 0), h = Array(u + o), a = !i; ++n < u; ) h[n] = t[n];
  for (; ++s < c; ) (a || s < d) && (h[r[s]] = e[s]);
  for (; o--; ) h[n++] = e[s++];
  return h;
}
var ey = Math.max;
function Mu(e, t, r, i) {
  for (var s = -1, d = e.length, c = -1, n = r.length, u = -1, o = t.length, h = ey(d - n, 0), a = Array(h + o), l = !i; ++s < h; ) a[s] = e[s];
  for (var f = s; ++u < o; ) a[f + u] = t[u];
  for (; ++c < n; ) (l || s < d) && (a[f + r[c]] = e[s++]);
  return a;
}
function ty(e, t) {
  for (var r = e.length, i = 0; r--; ) e[r] === t && ++i;
  return i;
}
function Lo() {
}
var ry = 4294967295;
function Ur(e) {
  this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = ry, this.__views__ = [];
}
Ur.prototype = Io(Lo.prototype);
Ur.prototype.constructor = Ur;
function iy() {
}
var xo = cn ? function(e) {
  return cn.get(e);
} : iy, ic = {}, ny = Object.prototype.hasOwnProperty;
function rn(e) {
  for (var t = e.name + "", r = ic[t], i = ny.call(ic, t) ? r.length : 0; i--; ) {
    var s = r[i], d = s.func;
    if (d == null || d == e) return s.name;
  }
  return t;
}
function ir(e, t) {
  this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = void 0;
}
ir.prototype = Io(Lo.prototype);
ir.prototype.constructor = ir;
function ju(e, t) {
  var r = -1, i = e.length;
  for (t || (t = Array(i)); ++r < i; ) t[r] = e[r];
  return t;
}
function sy(e) {
  if (e instanceof Ur) return e.clone();
  var t = new ir(e.__wrapped__, e.__chain__);
  return t.__actions__ = ju(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
}
var ay = Object.prototype.hasOwnProperty;
function un(e) {
  if (Cn(e) && !zr(e) && !(e instanceof Ur)) {
    if (e instanceof ir) return e;
    if (ay.call(e, "__wrapped__")) return sy(e);
  }
  return new ir(e);
}
un.prototype = Lo.prototype;
un.prototype.constructor = un;
function Ws(e) {
  var t = rn(e), r = un[t];
  if (typeof r != "function" || !(t in Ur.prototype)) return !1;
  if (e === r) return !0;
  var i = xo(r);
  return !!i && e === i[0];
}
var oy = 800, ly = 16, cy = Date.now;
function Uu(e) {
  var t = 0, r = 0;
  return function() {
    var i = cy(), s = ly - (i - r);
    if (r = i, s > 0) {
      if (++t >= oy) return arguments[0];
    } else t = 0;
    return e.apply(void 0, arguments);
  };
}
var Hu = Uu(Bu), uy = /\{\n\/\* \[wrapped with (.+)\] \*/, hy = /,? & /;
function fy(e) {
  var t = e.match(uy);
  return t ? t[1].split(hy) : [];
}
var dy = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;
function py(e, t) {
  var r = t.length;
  if (!r) return e;
  var i = r - 1;
  return t[i] = (r > 1 ? "& " : "") + t[i], t = t.join(r > 2 ? ", " : " "), e.replace(dy, `{
/* [wrapped with ` + t + `] */
`);
}
function gy(e) {
  return function() {
    return e;
  };
}
var nc = (function() {
  try {
    var e = kn(Object, "defineProperty");
    return e({}, "", {}), e;
  } catch {
  }
})(), my = nc ? function(e, t) {
  return nc(e, "toString", {
    configurable: !0,
    enumerable: !1,
    value: gy(t),
    writable: !0
  });
} : Co, qu = Uu(my);
function vy(e, t) {
  for (var r = -1, i = e == null ? 0 : e.length; ++r < i && t(e[r], r, e) !== !1; ) ;
  return e;
}
function yy(e, t, r, i) {
  for (var s = e.length, d = r + (i ? 1 : -1); i ? d-- : ++d < s; ) if (t(e[d], d, e)) return d;
  return -1;
}
function _y(e) {
  return e !== e;
}
function by(e, t, r) {
  for (var i = r - 1, s = e.length; ++i < s; ) if (e[i] === t) return i;
  return -1;
}
function wy(e, t, r) {
  return t === t ? by(e, t, r) : yy(e, _y, r);
}
function Ey(e, t) {
  return !!(e != null && e.length) && wy(e, t, 0) > -1;
}
var Sy = [
  ["ary", 128],
  ["bind", 1],
  ["bindKey", 2],
  ["curry", 8],
  ["curryRight", 16],
  ["flip", 512],
  ["partial", 32],
  ["partialRight", 64],
  ["rearg", 256]
];
function Ay(e, t) {
  return vy(Sy, function(r) {
    var i = "_." + r[0];
    t & r[1] && !Ey(e, i) && e.push(i);
  }), e.sort();
}
function Gu(e, t, r) {
  var i = t + "";
  return qu(e, py(i, Ay(fy(i), r)));
}
var Ty = 1, Dy = 2, Ry = 4, Oy = 8, sc = 32, ac = 64;
function zu(e, t, r, i, s, d, c, n, u, o) {
  var h = t & Oy, a = h ? c : void 0, l = h ? void 0 : c, f = h ? d : void 0, p = h ? void 0 : d;
  t |= h ? sc : ac, t &= ~(h ? ac : sc), t & Ry || (t &= ~(Ty | Dy));
  var g = [
    e,
    t,
    s,
    f,
    a,
    p,
    l,
    n,
    u,
    o
  ], m = r.apply(void 0, g);
  return Ws(e) && Hu(m, g), m.placeholder = i, Gu(m, e, t);
}
function Wu(e) {
  return e.placeholder;
}
var Cy = 9007199254740991, Iy = /^(?:0|[1-9]\d*)$/;
function ky(e, t) {
  var r = typeof e;
  return t = t ?? Cy, !!t && (r == "number" || r != "symbol" && Iy.test(e)) && e > -1 && e % 1 == 0 && e < t;
}
var Ly = Math.min;
function xy(e, t) {
  for (var r = e.length, i = Ly(t.length, r), s = ju(e); i--; ) {
    var d = t[i];
    e[i] = ky(d, r) ? s[d] : void 0;
  }
  return e;
}
var oc = "__lodash_placeholder__";
function hn(e, t) {
  for (var r = -1, i = e.length, s = 0, d = []; ++r < i; ) {
    var c = e[r];
    (c === t || c === oc) && (e[r] = oc, d[s++] = r);
  }
  return d;
}
var $y = 1, Ny = 2, Py = 8, By = 16, Fy = 128, My = 512;
function $o(e, t, r, i, s, d, c, n, u, o) {
  var h = t & Fy, a = t & $y, l = t & Ny, f = t & (Py | By), p = t & My, g = l ? void 0 : di(e);
  function m() {
    for (var v = arguments.length, _ = Array(v), E = v; E--; ) _[E] = arguments[E];
    if (f) var S = Wu(m), w = ty(_, S);
    if (i && (_ = Fu(_, i, s, f)), d && (_ = Mu(_, d, c, f)), v -= w, f && v < o) {
      var b = hn(_, S);
      return zu(e, t, $o, m.placeholder, r, _, b, n, u, o - v);
    }
    var A = a ? r : this, D = l ? A[e] : e;
    return v = _.length, n ? _ = xy(_, n) : p && v > 1 && _.reverse(), h && u < v && (_.length = u), this && this !== sr && this instanceof m && (D = g || di(D)), D.apply(A, _);
  }
  return m;
}
function jy(e, t, r) {
  var i = di(e);
  function s() {
    for (var d = arguments.length, c = Array(d), n = d, u = Wu(s); n--; ) c[n] = arguments[n];
    var o = d < 3 && c[0] !== u && c[d - 1] !== u ? [] : hn(c, u);
    return d -= o.length, d < r ? zu(e, t, $o, s.placeholder, void 0, c, o, void 0, void 0, r - d) : ko(this && this !== sr && this instanceof s ? i : e, this, c);
  }
  return s;
}
var Uy = 1;
function Hy(e, t, r, i) {
  var s = t & Uy, d = di(e);
  function c() {
    for (var n = -1, u = arguments.length, o = -1, h = i.length, a = Array(h + u), l = this && this !== sr && this instanceof c ? d : e; ++o < h; ) a[o] = i[o];
    for (; u--; ) a[o++] = arguments[++n];
    return ko(l, s ? r : this, a);
  }
  return c;
}
var lc = "__lodash_placeholder__", Es = 1, qy = 2, Gy = 4, cc = 8, Xr = 128, uc = 256, zy = Math.min;
function Wy(e, t) {
  var r = e[1], i = t[1], s = r | i, d = s < (Es | qy | Xr), c = i == Xr && r == cc || i == Xr && r == uc && e[7].length <= t[8] || i == (Xr | uc) && t[7].length <= t[8] && r == cc;
  if (!(d || c)) return e;
  i & Es && (e[2] = t[2], s |= r & Es ? 0 : Gy);
  var n = t[3];
  if (n) {
    var u = e[3];
    e[3] = u ? Fu(u, n, t[4]) : n, e[4] = u ? hn(e[3], lc) : t[4];
  }
  return n = t[5], n && (u = e[5], e[5] = u ? Mu(u, n, t[6]) : n, e[6] = u ? hn(e[5], lc) : t[6]), n = t[7], n && (e[7] = n), i & Xr && (e[8] = e[8] == null ? t[8] : zy(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = s, e;
}
var Vy = "Expected a function", hc = 1, Yy = 2, Ss = 8, As = 16, Ts = 32, fc = 64, dc = Math.max;
function Ky(e, t, r, i, s, d, c, n) {
  var u = t & Yy;
  if (!u && typeof e != "function") throw new TypeError(Vy);
  var o = i ? i.length : 0;
  if (o || (t &= ~(Ts | fc), i = s = void 0), c = c === void 0 ? c : dc(Ql(c), 0), n = n === void 0 ? n : Ql(n), o -= s ? s.length : 0, t & fc) {
    var h = i, a = s;
    i = s = void 0;
  }
  var l = u ? void 0 : xo(e), f = [
    e,
    t,
    r,
    i,
    s,
    h,
    a,
    d,
    c,
    n
  ];
  if (l && Wy(f, l), e = f[0], t = f[1], r = f[2], i = f[3], s = f[4], n = f[9] = f[9] === void 0 ? u ? 0 : e.length : dc(f[9] - o, 0), !n && t & (Ss | As) && (t &= ~(Ss | As)), !t || t == hc) var p = Xv(e, t, r);
  else t == Ss || t == As ? p = jy(e, t, n) : (t == Ts || t == (hc | Ts)) && !s.length ? p = Hy(e, t, r, i) : p = $o.apply(void 0, f);
  return Gu((l ? Bu : Hu)(p, f), e, t);
}
function Zy(e, t) {
  return e === t || e !== e && t !== t;
}
var pc = Math.max;
function Jy(e, t, r) {
  return t = pc(t === void 0 ? e.length - 1 : t, 0), function() {
    for (var i = arguments, s = -1, d = pc(i.length - t, 0), c = Array(d); ++s < d; ) c[s] = i[t + s];
    s = -1;
    for (var n = Array(t + 1); ++s < t; ) n[s] = i[s];
    return n[t] = r(c), ko(e, this, n);
  };
}
var Xy = "[object Arguments]";
function gc(e) {
  return Cn(e) && Oo(e) == Xy;
}
var Vu = Object.prototype, Qy = Vu.hasOwnProperty, e0 = Vu.propertyIsEnumerable, t0 = gc(/* @__PURE__ */ (function() {
  return arguments;
})()) ? gc : function(e) {
  return Cn(e) && Qy.call(e, "callee") && !e0.call(e, "callee");
}, r0 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, i0 = /^\w*$/;
function n0(e, t) {
  if (zr(e)) return !1;
  var r = typeof e;
  return r == "number" || r == "symbol" || r == "boolean" || e == null || In(e) ? !0 : i0.test(e) || !r0.test(e) || t != null && e in Object(t);
}
var pi = kn(Object, "create");
function s0() {
  this.__data__ = pi ? pi(null) : {}, this.size = 0;
}
function a0(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
var o0 = "__lodash_hash_undefined__", l0 = Object.prototype.hasOwnProperty;
function c0(e) {
  var t = this.__data__;
  if (pi) {
    var r = t[e];
    return r === o0 ? void 0 : r;
  }
  return l0.call(t, e) ? t[e] : void 0;
}
var u0 = Object.prototype.hasOwnProperty;
function h0(e) {
  var t = this.__data__;
  return pi ? t[e] !== void 0 : u0.call(t, e);
}
var f0 = "__lodash_hash_undefined__";
function d0(e, t) {
  var r = this.__data__;
  return this.size += this.has(e) ? 0 : 1, r[e] = pi && t === void 0 ? f0 : t, this;
}
function pr(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
pr.prototype.clear = s0;
pr.prototype.delete = a0;
pr.prototype.get = c0;
pr.prototype.has = h0;
pr.prototype.set = d0;
function p0() {
  this.__data__ = [], this.size = 0;
}
function Ln(e, t) {
  for (var r = e.length; r--; ) if (Zy(e[r][0], t)) return r;
  return -1;
}
var g0 = Array.prototype.splice;
function m0(e) {
  var t = this.__data__, r = Ln(t, e);
  return r < 0 ? !1 : (r == t.length - 1 ? t.pop() : g0.call(t, r, 1), --this.size, !0);
}
function v0(e) {
  var t = this.__data__, r = Ln(t, e);
  return r < 0 ? void 0 : t[r][1];
}
function y0(e) {
  return Ln(this.__data__, e) > -1;
}
function _0(e, t) {
  var r = this.__data__, i = Ln(r, e);
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
}
function Wr(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
Wr.prototype.clear = p0;
Wr.prototype.delete = m0;
Wr.prototype.get = v0;
Wr.prototype.has = y0;
Wr.prototype.set = _0;
var b0 = kn(sr, "Map");
function w0() {
  this.size = 0, this.__data__ = {
    hash: new pr(),
    map: new (b0 || Wr)(),
    string: new pr()
  };
}
function E0(e) {
  var t = typeof e;
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
function xn(e, t) {
  var r = e.__data__;
  return E0(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
function S0(e) {
  var t = xn(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
function A0(e) {
  return xn(this, e).get(e);
}
function T0(e) {
  return xn(this, e).has(e);
}
function D0(e, t) {
  var r = xn(this, e), i = r.size;
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
}
function mr(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var i = e[t];
    this.set(i[0], i[1]);
  }
}
mr.prototype.clear = w0;
mr.prototype.delete = S0;
mr.prototype.get = A0;
mr.prototype.has = T0;
mr.prototype.set = D0;
var R0 = "Expected a function";
function No(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function") throw new TypeError(R0);
  var r = function() {
    var i = arguments, s = t ? t.apply(this, i) : i[0], d = r.cache;
    if (d.has(s)) return d.get(s);
    var c = e.apply(this, i);
    return r.cache = d.set(s, c) || d, c;
  };
  return r.cache = new (No.Cache || mr)(), r;
}
No.Cache = mr;
var O0 = 500;
function C0(e) {
  var t = No(e, function(i) {
    return r.size === O0 && r.clear(), i;
  }), r = t.cache;
  return t;
}
var I0 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, k0 = /\\(\\)?/g, L0 = C0(function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(I0, function(r, i, s, d) {
    t.push(s ? d.replace(k0, "$1") : i || r);
  }), t;
});
function Yu(e) {
  return e == null ? "" : Pu(e);
}
function x0(e, t) {
  return zr(e) ? e : n0(e, t) ? [e] : L0(Yu(e));
}
var $0 = 1 / 0;
function N0(e) {
  if (typeof e == "string" || In(e)) return e;
  var t = e + "";
  return t == "0" && 1 / e == -$0 ? "-0" : t;
}
function P0(e, t) {
  t = x0(t, e);
  for (var r = 0, i = t.length; e != null && r < i; ) e = e[N0(t[r++])];
  return r && r == i ? e : void 0;
}
function B0(e, t) {
  for (var r = -1, i = t.length, s = e.length; ++r < i; ) e[s + r] = t[r];
  return e;
}
var mc = rr ? rr.isConcatSpreadable : void 0;
function F0(e) {
  return zr(e) || t0(e) || !!(mc && e && e[mc]);
}
function Ku(e, t, r, i, s) {
  var d = -1, c = e.length;
  for (r || (r = F0), s || (s = []); ++d < c; ) {
    var n = e[d];
    t > 0 && r(n) ? t > 1 ? Ku(n, t - 1, r, i, s) : B0(s, n) : i || (s[s.length] = n);
  }
  return s;
}
function M0(e) {
  return e != null && e.length ? Ku(e, 1) : [];
}
function j0(e) {
  return qu(Jy(e, void 0, M0), e + "");
}
var U0 = 8;
function Po(e, t, r) {
  t = r ? void 0 : t;
  var i = Ky(e, U0, void 0, void 0, void 0, void 0, void 0, t);
  return i.placeholder = Po.placeholder, i;
}
Po.placeholder = {};
var Zu = /[\\^$.*+?()[\]{}|]/g, H0 = RegExp(Zu.source);
function q0(e) {
  return e = Yu(e), e && H0.test(e) ? e.replace(Zu, "\\$&") : e;
}
var G0 = "Expected a function", z0 = 8, W0 = 32, V0 = 128, Y0 = 256;
function K0(e) {
  return j0(function(t) {
    var r = t.length, i = r, s = ir.prototype.thru;
    for (e && t.reverse(); i--; ) {
      var d = t[i];
      if (typeof d != "function") throw new TypeError(G0);
      if (s && !c && rn(d) == "wrapper") var c = new ir([], !0);
    }
    for (i = c ? i : r; ++i < r; ) {
      d = t[i];
      var n = rn(d), u = n == "wrapper" ? xo(d) : void 0;
      u && Ws(u[0]) && u[1] == (V0 | z0 | W0 | Y0) && !u[4].length && u[9] == 1 ? c = c[rn(u[0])].apply(c, u[3]) : c = d.length == 1 && Ws(d) ? c[n]() : c.thru(d);
    }
    return function() {
      var o = arguments, h = o[0];
      if (c && o.length == 1 && zr(h)) return c.plant(h).value();
      for (var a = 0, l = r ? t[a].apply(this, o) : h; ++a < r; ) l = t[a].call(this, l);
      return l;
    };
  });
}
var Z0 = K0();
function Ju(e) {
  return function(t) {
    return e == null ? void 0 : P0(e, t);
  };
}
var J0 = /* @__PURE__ */ z(((e, t) => {
  var r = be("url"), i = typeof URL > "u" ? r.URL || null : URL, s = i ? null : r.parse;
  function d(c) {
    try {
      var n = new i(c), u = null;
      n.username && (u = n.password ? n.username + ":" + n.password : n.username);
      var o = n.host || null, h = n.hostname || null, a = n.pathname || null, l = n.pathname + (n.search || "") || null;
      if (!o && a && c.indexOf("//") === -1) {
        var f = a.indexOf("/");
        f === -1 ? (o = a, h = a, a = null, l = null) : (o = a.slice(0, f), h = o, a = a.slice(f), l = a + (n.search || ""));
      }
      return {
        auth: u,
        hash: n.hash || null,
        host: o,
        hostname: h,
        href: n.href,
        path: l,
        pathname: a,
        port: n.port || null,
        protocol: n.protocol || null,
        query: n.search ? n.search.slice(1) : null,
        search: n.search || null,
        slashes: c.indexOf("//") === -1 ? null : !0
      };
    } catch {
      var p = c.indexOf("#"), g = p === -1 ? null : c.slice(p), m = p === -1 ? c : c.slice(0, p), v = m.indexOf("?"), _ = v === -1 ? null : m.slice(v), E = v === -1 ? m : m.slice(0, v);
      return {
        auth: null,
        hash: g,
        host: null,
        hostname: null,
        href: c,
        path: m || null,
        pathname: E || null,
        port: null,
        protocol: null,
        query: _ ? _.slice(1) : null,
        search: _,
        slashes: null
      };
    }
  }
  t.exports = i ? d : s;
})), X0 = /* @__PURE__ */ z(((e, t) => {
  var r = J0(), i = { __proto__: null };
  function s(a) {
    return /^[a-f0-9]{40}$/i.test(a);
  }
  function d(a, l) {
    var f = a.split("#"), p;
    return f.length > 1 && (p = f[f.length - 1]), !p && l.hash && l.hash.charAt(0) === "#" && (p = l.hash.slice(1)), p || "master";
  }
  function c(a) {
    return a.charAt(0) === "/" ? a.slice(1) : a;
  }
  function n(a) {
    return a ? a.replace(/\.git$/, "") : null;
  }
  function u(a) {
    if (!a) return null;
    var l = a.indexOf(":");
    return l > -1 ? a.slice(l + 1) : a;
  }
  function o(a) {
    return r("http://" + a.replace(/git@([^:]+):/, "$1/")).host || null;
  }
  function h(a) {
    if (typeof a != "string" || !a.length || a.indexOf("git@gist") !== -1 || a.indexOf("//gist") !== -1) return null;
    var l = r(a);
    if (typeof l.path != "string" || !l.path.length || typeof l.pathname != "string" || !l.pathname.length) return null;
    !l.host && /^git@/.test(a) === !0 && (l.host = o(a)), l.path = c(l.path), l.pathname = c(l.pathname), l.filepath = null, l.path.indexOf("repos") === 0 && (l.path = l.path.slice(6));
    var f = l.path.split("/").filter(Boolean), p = f[2] === "blob";
    p && !s(f[3]) && (l.branch = f[3], f.length > 4 && (l.filepath = f.slice(4).join("/")));
    var g = a.indexOf("blob");
    p && g !== -1 && (l.blob = a.slice(g + 5));
    var m = f[2] === "tree", v = a.indexOf("tree");
    if (m && v !== -1) {
      var _ = v + 5, E = a.slice(_), S = E.indexOf("/");
      S !== -1 && (E = E.slice(0, S)), l.branch = E;
    }
    if (l.owner = u(f[0]), l.name = n(f[1]), f.length > 1 && l.owner && l.name) l.repo = l.owner + "/" + l.name;
    else {
      var w = l.href.split(":");
      if (w.length === 2 && l.href.indexOf("//") === -1) {
        l.repo = l.repo || w[w.length - 1];
        var b = l.repo.split("/");
        l.owner = b[0], l.name = b[1];
      } else {
        var A = l.href.match(/\/([^/]*)$/);
        l.owner = A ? A[1] : null, l.repo = null;
      }
      if (l.repo && (!l.owner || !l.name)) {
        var D = l.repo.split("/");
        D.length === 2 && (l.owner = D[0], l.name = D[1]);
      }
    }
    return l.branch || (l.branch = f[2] || d(l.path, l), f.length > 3 && (l.filepath = f.slice(3).join("/"))), l.host = l.host || "github.com", l.owner = l.owner || null, l.name = l.name || null, l.repository = l.repo, l;
  }
  t.exports = function(l) {
    return i[l] || (i[l] = h(l)), i[l];
  };
})), Q0 = /* @__PURE__ */ z(((e, t) => {
  (function() {
    "use strict";
    var r = /^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/, i = /\s*((\|\||\-)|(((?:(?:~?[<>]?)|\^?)=?)\s*(v)?([0-9]+)(\.(x|\*|[0-9]+))?(\.(x|\*|[0-9]+))?(([\-+])([a-zA-Z0-9\.-]+))?))\s*/g;
    function s(h) {
      var a = {};
      for (var l in h) typeof h[l] < "u" && (a[l] = h[l]);
      return a;
    }
    function d(h) {
      var a = "";
      return a += h.major || "0", a += ".", a += h.minor || "0", a += ".", a += h.patch || "0", h.release && (a += "-" + h.release), h.build && (a += "+" + h.build), a;
    }
    function c(h) {
      var a = "";
      function l(f) {
        f.operator && (a += f.operator + " "), f.major && (a += f.toString() + " ");
      }
      return h.forEach(l), a.trim();
    }
    function n(h) {
      if (h) {
        var a = this;
        Object.keys(h).forEach(function(l) {
          a[l] = h[l];
        });
      }
    }
    n.prototype.toString = function() {
      return d(this);
    };
    function u(h) {
      var a = r.exec(h) || [], l = new n(s({
        semver: a[0],
        version: a[1],
        major: a[2],
        minor: a[3],
        patch: a[4],
        release: a[5],
        build: a[6]
      }));
      return a.length === 0 && (l = null), l;
    }
    function o(h) {
      for (var a, l = [], f; a = i.exec(h); )
        f = {
          semver: a[3],
          operator: a[4] || a[2],
          major: a[6],
          minor: a[8],
          patch: a[10]
        }, a[12] === "+" && (f.build = a[13]), a[12] === "-" && (f.release = a[13]), l.push(new n(s(f)));
      return l;
    }
    t.exports.parse = u, t.exports.stringify = d, t.exports.parseRange = o, t.exports.stringifyRange = c;
  })();
})), Oi = /* @__PURE__ */ Lt(X0(), 1), wt = /* @__PURE__ */ Lt(Q0(), 1);
function Bo(e, t) {
  return e ? e.map((r) => ({
    item: r,
    key: t(r)
  })).sort((r, i) => r.key > i.key ? 1 : r.key < i.key ? -1 : 0).map(({ item: r }) => r) : [];
}
var Fo = [
  "major",
  "minor",
  "patch"
], Xu = ["release", "build"], Nr = [...Fo, ...Xu], e_ = {
  major: "",
  minor: ".",
  patch: ".",
  release: "-",
  build: "+"
};
var $n = [
  "^",
  "~",
  ".*",
  ".x"
], t_ = new RegExp(`^(${[
  "^",
  "~",
  "^*",
  "*",
  "x",
  "x.x",
  "x.x.x"
].map(q0).join("|")})$`), Qu = /^npm:(.*)@(.*)/;
function r_(e) {
  const [t] = wt.default.parseRange(e);
  if (!t) throw new Error(Hp.format('semverutils.parseRange returned null when trying to parse "%s". This is probably a problem with the "semver-utils" dependency. Please report an issue at https://github.com/raineorshine/npm-check-updates/issues.', e));
  return Nr.reduce((r, i) => t[i] ? r + 1 : r, 0);
}
function Hr(e, t) {
  return (t ? Nr.slice(0, Nr.indexOf(t) + 1) : Nr).filter((r) => t && Fo.includes(t) || e[r]).map((r) => e_[r] + (e[r] || "0")).join("");
}
function i_(e) {
  const [t] = wt.default.parseRange(e);
  return Nr.slice().reverse().find(Ju(t));
}
function n_(e, t) {
  const [r] = wt.default.parseRange(e);
  return Hr(r, t);
}
function s_(e, t) {
  return t === "^" || t === "~" ? t + e : n_(e, "major") + t;
}
function Mo(e) {
  return t_.test(e);
}
function eh(e) {
  return e === "*" || e === "x";
}
function a_(e, t) {
  if (e === t) return "none";
  /^[~^]/.test(t) && t[0] === e[0] && (t = t.slice(1), e = e.slice(1));
  const r = t.split("."), i = e.split(".");
  let s = r.findIndex((d, c) => d !== i[c]);
  return s = s >= 0 ? s : r.length, r[0] === "0" ? "majorVersionZero" : s === 0 ? "major" : s === 1 ? "minor" : "patch";
}
function th(e, t, r) {
  const i = et(e, (d, c, n) => {
    const u = t[d], o = a_(u, c), h = r.groupFunction?.(d, o, (0, wt.parseRange)(u), (0, wt.parseRange)(c), (0, wt.parse)(e[d])) ?? o;
    return h === "none" ? n : {
      ...n,
      [h]: {
        ...n[h],
        [d]: c
      }
    };
  }), s = {
    patch: Se.green(Se.bold("Patch") + "   Backwards-compatible bug fixes"),
    minor: Se.cyan(Se.bold("Minor") + "   Backwards-compatible features"),
    major: Se.red(Se.bold("Major") + "   Potentially breaking API changes"),
    majorVersionZero: Se.magenta(Se.bold("Major version zero") + "   Anything may change")
  };
  return Array.from(/* @__PURE__ */ new Set([
    "patch",
    "minor",
    "major",
    "majorVersionZero",
    ...Object.keys(i).sort()
  ])).filter((d) => d in i).map((d) => ({
    groupName: d,
    heading: d in s ? s[d] : d,
    packages: i[d]
  }));
}
function gi(e, t) {
  let r = "";
  /^[~^]/.test(t) && t[0] === e[0] && (r = t[0], t = t.slice(1), e = e.slice(1));
  const i = t.split("."), s = e.split(".");
  let d = i.findIndex((u, o) => u !== s[o]);
  d = d >= 0 ? d : i.length;
  const c = d === 0 || i[0] === "0" ? "red" : d === 1 ? "cyan" : "green", n = d > 0 && d < i.length ? "." : "";
  return r + i.slice(0, d).join(".") + n + Se[c](i.slice(d).join("."));
}
var vc = (e) => {
  const t = He.default.prerelease(e);
  return t && t.slice(0, -1).join(".");
};
function o_(e, t) {
  const r = vc(e), i = vc(t);
  return typeof r != "string" || typeof i != "string" || r === i;
}
function jo(e, t) {
  return (He.default.valid(e) && He.default.valid(t) ? He.default.gt(e, t) : e > t) ? 1 : e === t ? 0 : -1;
}
function l_(e, t, r) {
  if (!He.default.validRange(t)) return null;
  const i = He.default.minVersion(t);
  return [...e].sort(jo).filter((s) => {
    const d = He.default.parse(s);
    return d && (r === "major" || d.major === i?.major) && (r === "major" || r === "minor" || d.minor === i?.minor);
  }).at(-1) || null;
}
function rh(e, t) {
  const r = He.default.minVersion(e);
  return (i) => {
    const s = He.default.parse(i);
    return s && (t === "major" || s.major === r?.major) && (t === "major" || t === "minor" || s.minor === r?.minor);
  };
}
function c_(e) {
  return (t) => He.default.satisfies(t, e);
}
function Nn(e) {
  return i_(e) === "release";
}
var ih = (e) => /^[vV]?\d+$/.test(e), nh = (e) => /^[vV]?\d+\.\d+$/.test(e), u_ = (e) => e.replace(/^[vV]/, ""), h_ = (e) => ih(e) ? e + ".0.0" : e, f_ = (e) => nh(e) ? e + ".0" : e, Uo = (e) => f_(h_(u_(e)));
function sh(e) {
  return e && (e[0] === "v" || e[1] === "v") ? "v" : "";
}
var ah = (e, t) => `npm:${e}@${t}`, mi = (e) => {
  const t = e && e.match && e.match(Qu);
  return t && t.slice(1);
}, nn = (e) => e && !!e.match(Qu), d_ = (e, t) => {
  const r = mi(e);
  return r ? ah(r[0], t) : null;
}, ci = (e) => {
  if (!e) return !1;
  let t = null;
  try {
    t = (0, Oi.default)(e);
  } catch {
  }
  if (!t || !t.branch) return !1;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return !!He.default.validRange(r);
}, Vs = (e) => {
  if (!e) return null;
  const t = (0, Oi.default)(e);
  if (!t || !t.branch) return null;
  const r = decodeURIComponent(t.branch).replace(/^semver:/, "");
  return t && t.branch && He.default.validRange(r) ? r : null;
};
function oh(e, t, r = {}) {
  if (r.wildcard = r.wildcard || "^", !t) return e;
  const [i] = wt.default.parseRange(t);
  if (!i) return e;
  if (r.removeRange) return t;
  if (Mo(e)) return e;
  const s = Bo(wt.default.parseRange(e).filter((g) => g.operator !== "||" && g.operator !== "-"), (g) => r_(Hr(g))), [d] = s;
  function c(g) {
    return (eh(d[g]) ? d[g] : Fo.includes(g) && d[g] || Xu.includes(g) ? i[g] : null) || null;
  }
  const n = Hr(et(Nr, (g) => ({ [g]: c(g) }))), u = sh(d.semver) + n, o = Array.from(new Set(s.map((g) => g.operator))), h = o[0] || "", a = $n.some((g) => n.includes(g)), l = o[0] === "<" || o[0] === "<=", f = o[0] === ">", p = o.length > 1;
  return !a && (l || p) ? s_(u, r.wildcard) : (f ? ">=" : h) + u;
}
var p_ = (e, t) => {
  const r = sh(e);
  let i = r ? r + t : t;
  return i = ih(e) ? i.slice(0, i.length - 4) : i, i = nh(e) ? i.slice(0, i.length - 2) : i, i;
}, Pn = (e, t) => {
  const r = Uo(t), i = (0, Oi.default)(e);
  if (!i) return e;
  const s = decodeURIComponent(i.branch).replace(/^semver:/, "");
  return e.replace(s, oh(s, p_(s, r)));
}, yc = (e) => e.replace(/^[~^<>=]+/, ""), _c = {
  silent: 0,
  error: 1,
  minimal: 2,
  warn: 3,
  info: 4,
  verbose: 5,
  silly: 6
}, lh = (e) => !e.startsWith("file:") && !e.startsWith("link:") && !e.startsWith("workspace:") && !e.startsWith("catalog:") && !/^[^/:@]+\/\w+/.test(e);
function Fe(e, t, r = null, i = "log") {
  !e.json && e.loglevel !== "silent" && (r == null || _c[e.loglevel ?? "warn"] >= _c[r]) && console[i](t);
}
function Ho(e, t) {
  e.loglevel !== "silent" && console.log(JSON.stringify(t, null, 2));
}
function g_(e, t) {
  console.log(Object.keys(e).map((r) => r + "@" + e[r]).join(t));
}
function tr(e, t, r) {
  Fe(e, Object.keys(t).sort().reduce((i, s) => (i[s] = t[s], i), {}), r);
}
function qo(e) {
  const t = new Do.default({
    colAligns: [
      "left",
      "right",
      "right",
      "right",
      "left",
      "left"
    ],
    chars: {
      top: "",
      "top-mid": "",
      "top-left": "",
      "top-right": "",
      bottom: "",
      "bottom-mid": "",
      "bottom-left": "",
      "bottom-right": "",
      left: "",
      "left-mid": "",
      mid: "",
      "mid-mid": "",
      right: "",
      "right-mid": "",
      middle: ""
    }
  });
  return t.push(...e), t.toString().split(`
`).map((r) => r.trimEnd()).join(`
`);
}
function Ds(e) {
  return ci(e) ? Vs(e) : nn(e) ? mi(e)[1] : e;
}
function m_(e) {
  if (e === void 0 || typeof e == "function") return "cooldown";
  const t = String(e).trim().toLowerCase(), r = t.match(/^(\d+(?:\.\d+)?)(d|h|m)$/);
  if (r) {
    const s = Number(r[1]), d = r[2];
    return `${+s.toFixed(1)}-${{
      d: "day",
      h: "hour",
      m: "minute"
    }[d]} cooldown`;
  }
  const i = Number(t);
  return isNaN(i) ? "cooldown" : `${+i.toFixed(1)}-day cooldown`;
}
async function fn({ from: e, to: t, skippedByCooldown: r, format: i, ownersChangedDeps: s, pkgFile: d, time: c }) {
  const n = i?.includes("dep") && d ? JSON.parse(await Xe.readFile(d, "utf-8")) : null, u = Object.keys(r || {}).length > 0;
  return qo(await Promise.all(Object.keys(t).sort().map(async (o) => {
    const h = (i?.includes("installedVersion") ? await sv(o, void 0, { pkgFile: d }) : e[o]) || "", a = o in (n?.devDependencies ?? {}) ? "dev" : o in (n?.peerDependencies ?? {}) ? "peer" : o in (n?.optionalDependencies ?? {}) ? "optional" : "", l = Ds(t[o] || ""), f = s ? o in s ? s[o] ? "*owner changed*" : "" : "*unknown*" : "", p = gi(Ds(h), l), g = i?.includes("homepage") && (await Ro(o, { pkgFile: d }))?.homepage || "", m = i?.includes("repo") && await uv(o, void 0, { pkgFile: d }) || "", v = i?.includes("diff") ? `${process.env.NCU_DIFF || "https://npmdiff.dev"}/${encodeURIComponent(o)}/${h.replace(/^\W+/, "")}/${l.replace(/^\W+/, "")}` : "", _ = i?.includes("cooldown"), E = i?.includes("time"), S = c?.[o] ? "" : "[missing time]", w = E && c?.[o] ? c[o] : null, b = w ? Hm(w, "en_US") : E || !u ? S : "", A = r?.[o]?.version;
    let D = "";
    if (A) {
      const C = $n.includes(l[0]) ? l[0] : "", O = He.default.coerce(A);
      D = `[cooldown] ${gi(l, C + Ds(O && !A.endsWith(O.version) ? `${O.version}-+` : A)).replace(C, "")}`;
    } else _ && !E && (D = S);
    return [
      o,
      ...i?.includes("dep") ? [a ? Se.gray(a) : ""] : [],
      h,
      "→",
      p,
      ...u ? [D] : [],
      f,
      ...[
        g,
        m,
        v,
        b
      ].filter((C) => C)
    ];
  })));
}
async function v_({ skippedByCooldown: e, pkgFile: t, options: r }) {
  const i = r.format;
  if (!e || !i?.includes("cooldown") || i?.includes("lines")) return;
  const s = {}, d = {}, c = {};
  for (const o of Object.values(e)) {
    const { name: h, version: a, currentVersion: l, fallbackVersion: f, time: p } = o;
    if (!lh(l) || !a) continue;
    const g = $n.includes(l[0]) ? l[0] : "", m = g + yc(f ?? l), v = g + yc(a || "");
    s[h] = m, d[h] = gi(m, v), c[h] = p || "";
  }
  if (!Object.keys(s).length) return !1;
  const n = await fn({
    from: s,
    to: d,
    format: i.includes("time") ? i : [...i, "time"],
    pkgFile: t || void 0,
    time: c
  }), u = r.raw?.cooldown ?? r.cooldown;
  return Fe(r, `
` + Se.yellow(Se.bold(`Skipped due to ${m_(u)}`))), Fe(r, n), !0;
}
async function y_({ current: e, upgraded: t, skippedByCooldown: r, ownersChangedDeps: i, pkgFile: s, time: d }, c) {
  if (c.format?.includes("group")) {
    const n = th(t, e, c);
    for (const { heading: u, packages: o } of n)
      Fe(c, `
` + u), Fe(c, await fn({
        from: e,
        to: o,
        skippedByCooldown: r,
        format: c.format,
        ownersChangedDeps: i,
        pkgFile: s,
        time: d
      }));
  } else c.format?.includes("lines") ? g_(t, `
`) : Fe(c, await fn({
    from: e,
    to: t,
    skippedByCooldown: r,
    format: c.format,
    ownersChangedDeps: i,
    pkgFile: s,
    time: d
  }));
}
function __(e, t) {
  if (t && Object.keys(t).length > 0) {
    const r = new Do.default({
      colAligns: [
        "left",
        "right",
        "right",
        "right",
        "left",
        "left"
      ],
      chars: {
        top: "",
        "top-mid": "",
        "top-left": "",
        "top-right": "",
        bottom: "",
        "bottom-mid": "",
        "bottom-left": "",
        "bottom-right": "",
        left: "",
        "left-mid": "",
        mid: "",
        "mid-mid": "",
        right: "",
        "right-mid": "",
        middle: ""
      }
    });
    r.push(...Object.entries(t).map(([i, s]) => [i, Se.yellow(s)])), Fe(e, `
` + r.toString());
  }
}
async function Go(e, { current: t, latest: r, upgraded: i, skippedByCooldown: s, total: d, numCooldown: c, ownersChangedDeps: n, pkgFile: u, time: o, errors: h }) {
  const a = Object.keys(i).length, l = await v_({
    skippedByCooldown: s,
    pkgFile: u,
    options: e
  });
  !e.deep && !e.format?.includes("group") && (l && a ? Fe(e, `
` + Se.blue(Se.bold("Updates"))) : Fe(e, ""));
  const f = Se.green.bold(":)"), p = Object.keys(h || {}).length, g = typeof e.target == "string" ? e.target : "target";
  a === 0 && d === 0 && p === 0 ? Object.keys(t).length === 0 ? Fe(e, "No dependencies.") : r && Object.keys(r).length === 0 && !c && Object.values($r(t, (m, v) => lh(v))).length > 0 ? Fe(e, `No package versions were returned. This may be a problem with your installed ${e.packageManager}, the npm registry, or your Internet connection. Make sure ${Se.cyan("npx pacote packument ncu-test-v2")} is working before reporting an issue.`) : e.global ? Fe(e, `All global packages are up-to-date ${f}`) : Fe(e, `All dependencies ${c ? "not in cooldown " : ""}match the ${g} package versions ${f}`) : a === 0 && d > 0 ? Fe(e, `No dependencies upgraded ${f}`) : a > 0 && await y_({
    current: t,
    upgraded: i,
    skippedByCooldown: s,
    ownersChangedDeps: n,
    pkgFile: u,
    time: o
  }, e), __(e, h);
}
function b_(e, t) {
  Fe(e, `
Ignored incompatible updates (peer dependencies):
`), Fe(e, qo(Object.entries(t).map(([r, { from: i, to: s, reason: d }]) => {
    const c = "reason: " + Object.entries(d).map(([n, u]) => n + " requires " + u).join(", ");
    return [
      r,
      i,
      "→",
      gi(i, s),
      c
    ];
  })));
}
function w_(e, t) {
  Fe(e, `
Ignored incompatible updates (engines node):
`), Fe(e, qo(Object.entries(t).map(([r, { from: i, to: s, enginesNode: d }]) => [
    r,
    i,
    "→",
    gi(i, s),
    `reason: requires node ${d}`
  ])));
}
function E_(e, t = 10) {
  return e.schema !== 1 ? !0 : typeof e.timestamp != "number" ? !1 : e.timestamp + t * (60 * 1e3) < Date.now();
}
var ch = ".ncu-cache.json", Ys = `~/${ch}`, S_ = qe.join(Jt.homedir(), ch);
function uh(e) {
  return e === Ys ? S_ : e;
}
async function A_(e) {
  e.cacheFile && await xr.promises.rm(uh(e.cacheFile), { force: !0 });
}
async function T_(e) {
  if (!e.cache || !e.cacheFile) return;
  const t = uh(e.cacheFile), r = /* @__PURE__ */ new Set();
  let i = {
    schema: 1,
    timestamp: Date.now(),
    packages: {},
    peers: {}
  };
  try {
    const s = await xr.promises.readFile(t, "utf-8"), d = JSON.parse(s);
    if (E_(d, e.cacheExpiration))
      await xr.promises.rm(t, { force: !0 });
    else {
      const { schema: c, timestamp: n, packages: u = {}, peers: o = {} } = d;
      i = {
        schema: c,
        timestamp: n,
        packages: u,
        peers: o
      };
    }
  } catch {
  }
  return {
    get: (s, d) => {
      const c = `${s}___${d}`, n = i.packages[c];
      return n && r.add(s), n;
    },
    set: (s, d, c, n) => {
      const u = `${s}___${d}`;
      i.packages[u] = {
        version: c,
        time: n
      };
    },
    getPeers: (s, d) => {
      if (!i.peers) return;
      const c = `${s}___${d}`, n = i.peers[c];
      return n && r.add(s), n;
    },
    setPeers: (s, d, c) => {
      const n = `${s}___${d}`;
      i.peers && (i.peers[n] = c);
    },
    save: async () => {
      await xr.promises.writeFile(t, JSON.stringify(i));
    },
    log: (s) => {
      const d = r.size;
      d !== 0 && (Fe(e, `
Using ${d} cached package ${s ? "peer" : "version"}${d > 1 ? "s" : ""}`, "warn"), Fe(e, r, "verbose"), r.clear());
    }
  };
}
function vi(e) {
  const t = e.match(/^(\d+(?:\.\d+)?)(d|h|m)$/);
  if (!t) return null;
  const r = parseFloat(t[1]), i = t[2];
  return i === "d" ? r : i === "h" ? r / 24 : r / 1440;
}
var D_ = (e, t = 92) => {
  const r = e.split(`
`), i = [];
  return r.forEach((s) => {
    let d = 0;
    if (s.length === 0) {
      i.push("");
      return;
    }
    for (; d < s.length; ) {
      const c = s.slice(d, d + t + 1), n = c.trimEnd();
      if (n.length <= t) {
        i.push(n);
        break;
      }
      const u = c.split("").reverse().join("").match(/[ -][^\W]/)?.index || 0, o = c.slice(0, c.length - u);
      if (o.length === 0) break;
      i.push(o.trimEnd()), d += o.length;
    }
  }), i.join(`
`).trim();
}, R_ = (e) => e.map(([t, r]) => [t, D_(r)]), O_ = (e) => `
  <tr>` + e.map((t) => `<td>${t}</td>`).join("") + "</tr>", vr = ({ colAligns: e, markdown: t, rows: r }) => {
  if (t) return `<table>${r.map(O_).join("")}
</table>`;
  {
    const i = new Do.default({ ...e ? { colAligns: e } : null });
    return i.push(...t ? r : R_(r)), i.toString();
  }
}, C_ = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
], Vr = (e, t) => e.split(`
`).map((r) => `${"".padStart(t, " ")}${r}`).join(`
`), Dt = (e, { markdown: t } = {}) => `${t ? "```js\n" : ""}${Vr(e, t ? 0 : 4)}${t ? "\n```" : ""}`, bc = (e) => e.replace(/`/g, ""), Qr = (e) => (t) => {
  if (typeof t == "number") return t;
  if (typeof t == "string") {
    const r = parseInt(t, 10);
    if (!isNaN(r)) return r;
  }
  throw new Error(`${e} must be a number`);
}, SI = (e, { markdown: t } = {}) => {
  let r = "";
  if (e.cli !== !1 && (r = `Usage:

    ncu --${e.long}${e.arg ? ` [${e.arg}]` : ""}${e.long === "doctor" ? " -u" : ""}
`), e.type === "boolean" && (r += `    ncu --no-${e.long}
`), e.short && (r += `    ncu -${e.short}${e.arg ? ` [${e.arg}]` : ""}${e.long === "doctor" ? "u" : ""}
`), e.default !== void 0 && !(Array.isArray(e.default) && e.default.length === 0) && (r += `
Default: ${e.default}
`), e.help) {
    const i = typeof e.help == "function" ? t ? e.help({ markdown: t }) : bc(e.help({ markdown: t })) : e.help;
    r += `
${i.trim()}

`;
  } else if (e.description) {
    const i = t ? e.description : bc(e.description);
    r += `
${i.replace(/`/g, "")}
`;
  }
  return r.trim();
}, I_ = ({ markdown: e }) => `Iteratively installs upgrades and runs your project's tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.

${Se.yellow("Requires `-u` to execute")} (modifies your package file, lock file, and node_modules)

To be more precise:

1. Runs \`npm install\` and \`npm test\` to ensure tests are currently passing.
2. Runs \`ncu -u\` to optimistically upgrade all dependencies.
3. If tests pass, hurray!
4. If tests fail, restores package file and lock file.
5. For each dependency, install upgrade and run tests.
6. Prints broken upgrades with test error.
7. Saves working upgrades to package.json.

Additional options:

${vr({
  markdown: e,
  rows: [[Se.cyan("--doctorInstall"), "specify a custom install script (default: `npm install` or `yarn`)"], [Se.cyan("--doctorTest"), "specify a custom test script (default: `npm test`)"]]
})}

Example:

    $ ncu --doctor -u
    Running tests before upgrading
    npm install
    npm run test
    Upgrading all dependencies and re-running tests
    ncu -u
    npm install
    npm run test
    Tests failed
    Identifying broken dependencies
    npm install
    npm install --no-save react@16.0.0
    npm run test
      ✓ react 15.0.0 → 16.0.0
    npm install --no-save react-redux@7.0.0
    npm run test
      ✗ react-redux 6.0.0 → 7.0.0

    /projects/myproject/test.js:13
      throw new Error('Test failed!')
      ^

    npm install --no-save react-dnd@11.1.3
    npm run test
      ✓ react-dnd 10.0.0 → 11.1.3
    Saving partially upgraded package.json
`, k_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Filters results based on a user provided predicate function after fetching new versions.

${t("filterResults")} runs _after_ new versions are fetched, in contrast to ${t("filter")}, ${t("reject")}, ${t("filterVersion")}, and ${t("rejectVersion")}, which run _before_. This allows you to exclude upgrades with ${t("filterResults")} based on how the version has changed (e.g. a major version change).

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/** Exclude major version updates. Note this could also be achieved with --target semver.
  @param {string} packageName               The name of the dependency.
  @param {string} current                   Current version declaration (may be a range).
  @param {SemVer[]} currentVersionSemver    Current version declaration in semantic versioning format (may be a range).
  @param {string} upgraded                  Upgraded version.
  @param {SemVer} upgradedVersionSemver     Upgraded version in semantic versioning format.
  @returns {boolean}                        Return true if the upgrade should be kept; otherwise, it will be ignored.
*/`)}
${Se.green("filterResults")}: (packageName, { current, currentVersionSemver, upgraded, upgradedVersionSemver }) ${Se.cyan("=>")} {
  ${Se.cyan("const")} currentMajor ${Se.red("=")} parseInt(currentVersionSemver[${Se.cyan("0")}]?.major, ${Se.cyan("10")})
  ${Se.cyan("const")} upgradedMajor ${Se.red("=")} parseInt(upgradedVersionSemver?.major, ${Se.cyan("10")})
  ${Se.red("if")} (currentMajor ${Se.red("&&")} upgradedMajor) {
    ${Se.red("return")} currentMajor ${Se.red(">=")} upgradedMajor
  }
  ${Se.red("return")} ${Se.cyan("true")}
}`, { markdown: e })}

For the SemVer type definition, see: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring

`;
}, L_ = ({ markdown: e }) => `Modify the output formatting or show additional information. Specify one or more comma-delimited values.

${Vr(vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["dep", "Prints the dependency type (dev, peer, optional) of each package."],
    ["group", "Groups packages by major, minor, patch, and major version zero updates."],
    ["homepage", "Displays links to the package's homepage if specified in its package.json."],
    ["installedVersion", "Prints the exact current version number instead of a range."],
    ["lines", "Prints name@version on separate lines. Useful for piping to npm install."],
    ["ownerChanged", "Shows if the package owner has changed."],
    ["repo", "Infers and displays links to the package's source code repository. Requires packages to be installed."],
    ["diff", "Display link to compare the changes between package versions."],
    ["time", "Shows the publish time of each upgrade."],
    ["cooldown", "Shows a list of packages that were skipped due to the --cooldown threshold."]
  ]
}), e ? 0 : 4)}
`, x_ = ({ markdown: e }) => `Control the auto-install behavior.

${Vr(vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["always", "Runs your package manager's install command automatically after upgrading."],
    ["never", "Does not install and does not prompt."],
    ["prompt", "Shows a message after upgrading that recommends an install, but does not install. In interactive mode, prompts for install. (default)"]
  ]
}), e ? 0 : 4)}
`, $_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. Only included packages will be checked with ${t("--peer")}.

${t("--filter")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be included, false if it should be excluded.
*/`)}
${Se.green("filter")}: (name, semver) ${Se.cyan("=>")} {
  ${Se.red("if")} (name.startsWith(${Se.yellow("'@myorg/'")})) {
    ${Se.red("return")} ${Se.cyan("false")}
  }
  ${Se.red("return")} ${Se.cyan("true")}
}`, { markdown: e })}

`;
}, N_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Include only versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.

${t("--filterVersion")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions. This function is an alias for the ${t("filter")} option function.

${Dt(`${Se.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be included, false if it should be excluded.
*/`)}
${Se.green("filterVersion")}: (name, semver) ${Se.cyan("=>")} {
  ${Se.red("if")} (name.startsWith(${Se.yellow("'@myorg/'")}) ${Se.red("&&")} parseInt(semver[0]?.major) ${Se.cyan(">")} ${Se.cyan("5")}) {
    ${Se.red("return")} ${Se.cyan("false")}
  }
  ${Se.red("return")} ${Se.cyan("true")}
}`, { markdown: e })}

`;
}, P_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `The inverse of ${t("--filter")}. Exclude package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. This will also exclude them from the ${t("--peer")} check.

${t("--reject")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be excluded, false if it should be included.
*/`)}
${Se.green("reject")}: (name, semver) ${Se.cyan("=>")} {
  ${Se.red("if")} (name.startsWith(${Se.yellow("'@myorg/'")})) {
    ${Se.red("return")} ${Se.cyan("true")}
  }
  ${Se.red("return")} ${Se.cyan("false")}
}`, { markdown: e })}

`;
}, B_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `The inverse of ${t("--filterVersion")}. Exclude versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.

${t("--rejectVersion")} runs _before_ new versions are fetched, in contrast to ${t("--filterResults")} which runs _after_.

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions. This function is an alias for the reject option function.

${Dt(`${Se.gray(`/**
  @param name     The name of the dependency.
  @param semver   A parsed Semver array of the current version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        True if the package should be excluded, false if it should be included.
*/`)}
${Se.green("rejectVersion")}: (name, semver) ${Se.cyan("=>")} {
  ${Se.red("if")} (name.startsWith(${Se.yellow("'@myorg/'")}) ${Se.red("&&")} parseInt(semver[0]?.major) ${Se.cyan(">")} ${Se.cyan("5")}) {
    ${Se.red("return")} ${Se.cyan("true")}
  }
  ${Se.red("return")} ${Se.cyan("false")}
}`, { markdown: e })}

`;
}, F_ = ({ markdown: e }) => `Customize how packages are divided into groups when using \`--format group\`.

Only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/**
  @param name             The name of the dependency.
  @param defaultGroup     The predefined group name which will be used by default.
  @param currentSpec      The current version range in your package.json.
  @param upgradedSpec     The upgraded version range that will be written to your package.json.
  @param upgradedVersion  The upgraded version number returned by the registry.
  @returns                A predefined group name ('major' | 'minor' | 'patch' | 'majorVersionZero' | 'none') or a custom string to create your own group.
*/`)}
${Se.green("groupFunction")}: (name, defaultGroup, currentSpec, upgradedSpec, upgradedVersion) ${Se.cyan("=>")} {
  ${Se.red("if")} (name ${Se.red("===")} ${Se.yellow("'typescript'")} ${Se.red("&&")} defaultGroup ${Se.red("===")} ${Se.yellow("'minor'")}) {
    ${Se.red("return")} ${Se.yellow("'major'")}
  }
  ${Se.red("if")} (name.startsWith(${Se.yellow("'@myorg/'")})) {
    ${Se.red("return")} ${Se.yellow("'My Org'")}
  }
  ${Se.red("return")} defaultGroup
}`, { markdown: e })}

`, M_ = ({ markdown: e }) => `Determines the version to upgrade to. (default: "latest")

${Vr(vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["greatest", "Upgrade to the highest version number published, regardless of release date or tag. Includes prereleases."],
    ["latest", `Upgrade to whatever the package's "latest" dist-tag points to. When used with --cooldown, falls back to the greatest version that passes the cooldown threshold if the latest is too recent. Use --target "@latest" for strict behaviour that skips the package instead. Excludes prereleases unless --pre is specified.`],
    ["minor", "Upgrade to the highest minor version without bumping the major version."],
    ["newest", "Upgrade to the version with the most recent publish date, even if there are other version numbers that are higher. Includes prereleases."],
    ["patch", "Upgrade to the highest patch version without bumping the minor or major versions."],
    ["semver", "Upgrade to the highest version within the semver range specified in your package.json."],
    ["@[tag]", "Upgrade to the version published to a specific tag, e.g. 'next' or 'beta'."]
  ]
}), e ? 0 : 4)}

e.g.

${Dt("ncu --target semver")}

You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/** Upgrade major version zero to the next minor version, and everything else to latest.
  @param name     The name of the dependency.
  @param semver   A parsed Semver object of the upgraded version.
    (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
  @returns        One of the valid target values (specified in the table above).
*/`)}
${Se.green("target")}: (name, semver) ${Se.cyan("=>")} {
  ${Se.red("if")} (parseInt(semver[0]?.major) ${Se.red("===")} ${Se.yellow("'0'")}) ${Se.red("return")} ${Se.yellow("'minor'")}
  ${Se.red("return")} ${Se.yellow("'latest'")}
}`, { markdown: e })}
`, j_ = ({ markdown: e }) => `Specifies the package manager to use when looking up versions.

${Vr(vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["npm", "System-installed npm. Default."],
    ["yarn", "System-installed yarn. Automatically used if yarn.lock is present."],
    ["pnpm", "System-installed pnpm. Automatically used if pnpm-lock.yaml is present."],
    ["bun", "System-installed bun. Automatically used if bun.lock or bun.lockb is present."]
  ]
}), e ? 0 : 4)}
`, U_ = ({ markdown: e }) => `${`Specify whether ${((r) => e ? `\`${r}\`` : r)("--registry")} refers to a full npm registry or a simple JSON file.`}

${Vr(vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [["npm", "Default npm registry"], ["json", `Checks versions from a file or url to a simple JSON registry. Must include the ${Se.cyan("`--registry`")} option.

Example:

    ${Se.gray("// local file")}
    ${Se.cyan("$")} ncu --registryType json --registry ./registry.json

    ${Se.gray("// url")}
    ${Se.cyan("$")} ncu --registryType json --registry https://api.mydomain/registry.json

    ${Se.gray("// you can omit --registryType when the registry ends in .json")}
    ${Se.cyan("$")} ncu --registry ./registry.json
    ${Se.cyan("$")} ncu --registry https://api.mydomain/registry.json

registry.json:

    {
      "prettier": "2.7.1",
      "typescript": "4.7.4"
    }

`]]
}), e ? 0 : 4)}
`, H_ = ({ markdown: e }) => {
  const t = (r) => e ? `\`${r}\`` : r;
  return `Check peer dependencies of installed packages and filter updates to compatible versions.

${Se.bold("Example")}:

The following example demonstrates how \`--peer\` works, and how it uses peer dependencies from upgraded modules.

The package ${Se.bold("ncu-test-peer-update")} has two versions published:

- 1.0.0 has peer dependency ${t('"ncu-test-return-version": "1.0.x"')}
- 1.1.0 has peer dependency ${t('"ncu-test-return-version": "1.1.x"')}

Our test app has the following dependencies:

    "ncu-test-peer-update": "1.0.0",
    "ncu-test-return-version": "1.0.0"

The latest versions of these packages are:

    "ncu-test-peer-update": "1.1.0",
    "ncu-test-return-version": "2.0.0"

${Se.bold("With `--peer`")}:

ncu upgrades packages to the highest version that still adheres to the peer dependency constraints:

    ncu-test-peer-update     1.0.0  →  1.${Se.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  1.${Se.cyan("1.0")}

${Se.bold("Without `--peer`")}:

As a comparison: without using the \`--peer\` option, ncu will suggest the latest versions, ignoring peer dependencies:

    ncu-test-peer-update     1.0.0  →  1.${Se.cyan("1.0")}
    ncu-test-return-version  1.0.0  →  ${Se.red("2.0.0")}
`;
}, q_ = ({ markdown: e }) => `The cooldown option helps protect against supply chain attacks by requiring package versions to be published at least the given amount of time before considering them for upgrade.

The value can be a plain number (days) or a string with a unit suffix:

    --cooldown 7       7 days
    --cooldown 7d      7 days (same as above)
    --cooldown 12h     12 hours
    --cooldown 30m     30 minutes

With the default \`--target latest\`, if the latest dist-tag version is within the cooldown window, ncu falls back to the greatest version that passes the cooldown threshold. To instead skip the package entirely (strict behaviour), use \`--target "@latest"\`.

${Se.bold("Example")}:

Let's examine how cooldown works with a package that has these versions available:

    1.0.0          Released 7 days ago    (initial version)
    1.1.0          Released 6 days ago    (minor update)
    1.1.1          Released 5 days ago    (patch update)
    1.2.0          Released 5 days ago    (minor update)
    2.0.0-beta.1   Released 5 days ago    (beta release)
    1.2.1          Released 4 days ago    (patch update)
    1.3.0          Released 4 days ago    (minor update) [latest]
    2.0.0-beta.2   Released 3 days ago    (beta release)
    2.0.0-beta.3   Released 2 days ago    (beta release) [beta]

${Se.bold("With default target (latest)")}:

${Dt(`${Se.cyan("$")} ncu --cooldown 5`, { markdown: e })}

Falls back to 1.2.0 because:

- Latest version (1.3.0) is only 4 days old (within 5-day cooldown)
- 1.2.0 is the greatest version that is at least 5 days old

${Se.bold("With `@latest` strict target")}:

${Dt(`${Se.cyan("$")} ncu --cooldown 5 --target @latest`, { markdown: e })}

No update will be suggested because:

- Latest version (1.3.0) is only 4 days old
- Cooldown requires versions to be at least 5 days old
- \`@latest\` is strict: no fallback to older versions

${Se.bold("With `@beta`/`@tag` target")}:

${Dt(`${Se.cyan("$")} ncu --cooldown 3 --target @beta`, { markdown: e })}

No update will be suggested because:

- Current beta (2.0.0-beta.3) is only 2 days old
- Cooldown requires versions to be at least 3 days old
- Use \`--cooldown 2\` or lower to allow this update

${Se.bold("With other targets")}:

${Dt(`${Se.cyan("$")} ncu --cooldown 5 --target greatest|newest|minor|patch|semver`, { markdown: e })}

Each target will select the best version that is at least 5 days old:

    greatest → 1.2.0        (highest version number outside cooldown)
    newest   → 2.0.0-beta.1 (most recently published version outside cooldown)
    minor    → 1.2.0        (highest minor version outside cooldown)
    patch    → 1.1.1        (highest patch version outside cooldown)

You can also provide a custom function in your .ncurc.js file or when importing npm-check-updates as a module.

> :warning: The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. To convert a JSON config to a JS config, follow the instructions at https://github.com/raineorshine/npm-check-updates#config-functions.

${Dt(`${Se.gray(`/** Set cooldown to 3 days but skip it for \`@my-company\` packages.
  @param packageName     The name of the dependency.
  @returns               Cooldown days restriction for given package.
*/`)}
${Se.green("cooldown")}: packageName ${Se.cyan("=>")} (packageName.startsWith(${Se.yellow("'@my-company'")}) ? ${Se.cyan("0")} : ${Se.cyan("3")})`, { markdown: e })}

### Package Manager Configurations

If \`--cooldown\` is not set explicitly, \`ncu\` automatically reads the cooldown configuration from your package manager's config file:

${vr({
  colAligns: ["right", "left"],
  markdown: e,
  rows: [
    ["npm", "Reads `min-release-age` from `.npmrc`."],
    ["yarn", "Reads `npmMinimalAgeGate` from `.yarnrc.yml`, excluding packages matched by `npmPreapprovedPackages`."],
    ["pnpm", "Reads `minimumReleaseAge` from `pnpm-workspace.yaml`, excluding packages matched by `minimumReleaseAgeExclude`."]
  ]
})}

### Cooldown Formatting

When using \`--format cooldown\` alongside the \`--cooldown\` option, \`ncu\` will show a list of packages that were skipped due to the \`--cooldown\` threshold.

Example:

${Dt("ncu --format cooldown --cooldown 7", { markdown: e })}

Output:

${Dt(`Skipped due to 7-day cooldown
 @typescript-eslint/parser  ^8.50.0  →  ^8.59.1      5 days ago
 eslint                     ^10.0.1  →  ^10.3.0      1 day ago`)}
`, hh = [
  {
    long: "cache",
    description: `Cache versions to a local cache file. Default \`--cacheFile\` is ${Ys} and default \`--cacheExpiration\` is 10 minutes.`,
    type: "boolean"
  },
  {
    long: "cacheClear",
    description: "Clear the default cache, or the cache file specified by `--cacheFile`.",
    type: "boolean"
  },
  {
    long: "cacheExpiration",
    arg: "min",
    description: "Cache expiration in minutes. Only works with `--cache`.",
    parse: Qr("cacheExpiration"),
    default: 10,
    type: "number"
  },
  {
    long: "cacheFile",
    arg: "path",
    description: "Filepath for the cache file. Only works with `--cache`.",
    parse: (e) => {
      if (typeof e != "string") throw new Error("cacheFile must be a string");
      return qe.isAbsolute(e) ? e : qe.join(process.cwd(), e);
    },
    default: Ys,
    type: "string"
  },
  {
    long: "color",
    description: "Force color in terminal.",
    type: "boolean"
  },
  {
    long: "concurrency",
    arg: "n",
    description: "Max number of concurrent HTTP requests to registry.",
    parse: Qr("concurrency"),
    default: 8,
    type: "number"
  },
  {
    long: "configFileName",
    arg: "s",
    description: "Config file name. (default: .ncurc or .ncurc.{json,yaml,yml,js,mjs,cjs})",
    type: "string"
  },
  {
    long: "configFilePath",
    arg: "path",
    description: "Directory of .ncurc config file. (default: directory of `packageFile`)",
    type: "string"
  },
  {
    long: "cwd",
    arg: "path",
    description: "Working directory in which npm will be executed.",
    type: "string"
  },
  {
    long: "deep",
    description: "Run recursively in current working directory. Alias of (`--packageFile '**/package.json'`).",
    type: "boolean"
  },
  {
    long: "dep",
    arg: "value",
    description: "Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited).",
    default: [
      "prod",
      "dev",
      "optional",
      "packageManager"
    ],
    parse: (e) => typeof e == "string" ? e.split(/,|\s/) : e,
    type: "string | readonly string[]"
  },
  {
    long: "deprecated",
    default: !0,
    description: "Include deprecated packages. Use `--no-deprecated` to exclude deprecated packages (20–25% slower).",
    type: "boolean"
  },
  {
    long: "doctor",
    short: "d",
    description: "Iteratively installs upgrades and runs tests to identify breaking upgrades. Requires `-u` to execute.",
    type: "boolean",
    help: I_
  },
  {
    long: "doctorInstall",
    arg: "command",
    description: "Specifies the install script to use in doctor mode. (default: `npm install` or the equivalent for your package manager)",
    type: "string"
  },
  {
    long: "doctorTest",
    arg: "command",
    description: "Specifies the test script to use in doctor mode. (default: `npm test`)",
    type: "string"
  },
  {
    long: "enginesNode",
    description: "Include only packages that satisfy engines.node as specified in the package file.",
    type: "boolean"
  },
  {
    long: "errorLevel",
    short: "e",
    arg: "n",
    description: "Set the error level. 1: exits with error code 0 if no errors occur. 2: exits with error code 0 if no packages need updating (useful for continuous integration).",
    parse: Qr("errorLevel"),
    default: 1,
    type: "number"
  },
  {
    long: "filter",
    short: "f",
    arg: "p",
    description: "Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: $_
  },
  {
    long: "filterResults",
    arg: "fn",
    cli: !1,
    description: "Filters results based on a user provided predicate function after fetching new versions.",
    type: "FilterResultsFunction",
    help: k_
  },
  {
    long: "filterVersion",
    arg: "p",
    description: "Filter on package version using comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: N_
  },
  {
    long: "format",
    arg: "value",
    description: "Modify the output formatting or show additional information. Specify one or more comma-delimited values: dep, group, ownerChanged, repo, time, lines, installedVersion, cooldown.",
    parse: (e) => typeof e == "string" ? e.split(/,|\s/) : e,
    default: [],
    type: "readonly string[]",
    choices: [
      "dep",
      "group",
      "homepage",
      "ownerChanged",
      "repo",
      "diff",
      "time",
      "lines",
      "installedVersion",
      "cooldown"
    ],
    help: L_
  },
  {
    long: "global",
    short: "g",
    description: "Check global packages instead of in the current project.",
    type: "boolean"
  },
  {
    long: "groupFunction",
    arg: "fn",
    cli: !1,
    description: "Customize how packages are divided into groups when using `--format group`.",
    type: "GroupFunction",
    help: F_
  },
  {
    long: "install",
    arg: "value",
    description: "Control the auto-install behavior: always, never, prompt.",
    help: x_,
    default: "prompt",
    choices: [
      "always",
      "never",
      "prompt"
    ],
    type: "'always' | 'never' | 'prompt'"
  },
  {
    long: "interactive",
    short: "i",
    description: "Enable interactive prompts for each dependency; implies `-u` unless one of the json options are set.",
    type: "boolean"
  },
  {
    long: "jsonAll",
    short: "j",
    description: "Output new package file instead of human-readable message.",
    type: "boolean"
  },
  {
    long: "jsonDeps",
    description: "Like `jsonAll` but only lists `dependencies`, `devDependencies`, `optionalDependencies`, etc of the new package data.",
    type: "boolean"
  },
  {
    long: "jsonUpgraded",
    description: "Output upgraded dependencies in json.",
    type: "boolean"
  },
  {
    long: "loglevel",
    short: "l",
    arg: "n",
    description: "Amount to log: silent, error, minimal, warn, info, verbose, silly.",
    default: "warn",
    type: "string"
  },
  {
    long: "mergeConfig",
    description: "Merges nested configs with the root config file for `--deep` or `--packageFile` options. (default: false)",
    type: "boolean"
  },
  {
    long: "minimal",
    short: "m",
    description: "Do not upgrade newer versions that are already satisfied by the version range according to semver.",
    type: "boolean"
  },
  {
    long: "packageData",
    arg: "value",
    description: "Package file data (you can also use stdin).",
    type: "string | PackageFile"
  },
  {
    long: "packageFile",
    arg: "path|glob",
    description: "Package file(s) location. (default: ./package.json)",
    type: "string"
  },
  {
    long: "packageManager",
    short: "p",
    arg: "s",
    description: "npm, yarn, pnpm, deno, bun, staticRegistry (default: npm).",
    help: j_,
    type: "'npm' | 'yarn' | 'pnpm' | 'deno' | 'bun' | 'staticRegistry'"
  },
  {
    long: "peer",
    description: "Check peer dependencies of installed packages and filter updates to compatible versions.",
    type: "boolean",
    help: H_
  },
  {
    long: "pre",
    arg: "n",
    description: "Include prerelease versions, e.g. -alpha.0, -beta.5, -rc.2. Automatically set to 1 when `--target` is newest or greatest, or when the current version is a prerelease. (default: 0)",
    parse: (e) => {
      if (typeof e == "number") return !!e;
      if (typeof e == "string") return !!parseInt(e, 10);
      throw new Error("pre must be a number");
    },
    type: "number"
  },
  {
    long: "prefix",
    arg: "path",
    description: "Current working directory of npm.",
    type: "string"
  },
  {
    long: "registry",
    short: "r",
    arg: "uri",
    description: "Specify the registry to use when looking up package versions.",
    type: "string"
  },
  {
    long: "registryType",
    arg: "type",
    description: "Specify whether --registry refers to a full npm registry or a simple JSON file or url: npm, json. (default: npm)",
    help: U_,
    type: "'npm' | 'json'"
  },
  {
    long: "reject",
    short: "x",
    arg: "p",
    description: "Exclude packages matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: P_
  },
  {
    long: "rejectVersion",
    arg: "p",
    description: "Exclude package.json versions using comma-or-space-delimited list, /regex/, or predicate function.",
    type: "string | RegExp | readonly (string | RegExp)[] | FilterFunction",
    parse: (e, t) => [...t || [], e],
    help: B_
  },
  {
    long: "removeRange",
    description: "Remove version ranges from the final package version.",
    type: "boolean"
  },
  {
    long: "root",
    default: !0,
    description: "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`.",
    type: "boolean"
  },
  {
    long: "retry",
    arg: "n",
    description: "Number of times to retry failed requests for package info.",
    parse: Qr("retry"),
    default: 3,
    type: "number"
  },
  {
    long: "silent",
    short: "s",
    description: "Don't output anything. Alias for `--loglevel` silent.",
    type: "boolean"
  },
  {
    long: "stdin",
    description: "Read package.json from stdin.",
    type: "string"
  },
  {
    long: "target",
    short: "t",
    arg: "value",
    description: "Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, `@[tag]`, or [function]. (default: latest)",
    help: M_,
    type: `${C_.map((e) => `'${e}'`).join(" | ")} | \`@\${string}\` | TargetFunction`
  },
  {
    long: "timeout",
    arg: "ms",
    description: "Global timeout in milliseconds. (default: no global timeout and 30 seconds per npm-registry-fetch)",
    parse: Qr("timeout"),
    type: "number"
  },
  {
    long: "upgrade",
    short: "u",
    description: "Overwrite package file with upgraded versions instead of just outputting to console.",
    type: "boolean"
  },
  {
    long: "verbose",
    description: "Log additional information for debugging. Alias for `--loglevel` verbose.",
    type: "boolean"
  },
  {
    long: "workspace",
    arg: "s",
    parse: (e, t) => [...t, e],
    default: [],
    description: "Run on one or more specified workspaces. Add `--no-root` to exclude the root project.",
    type: "readonly string[]"
  },
  {
    long: "workspaces",
    short: "w",
    description: "Run on all workspaces. Add `--no-root` to exclude the root project.",
    type: "boolean"
  },
  {
    long: "cooldown",
    short: "c",
    arg: "period",
    description: 'Sets a minimum age for package versions to be considered for upgrade. Accepts a number (days) or a string with a unit: "7d" (days), "12h" (hours), "30m" (minutes). Reduces the risk of installing newly published, potentially compromised packages.',
    type: "number | string | CooldownFunction",
    help: q_,
    parse: (e) => {
      if (typeof e == "number" || typeof e == "function") return e;
      if (typeof e == "string") {
        const t = vi(e);
        return t !== null ? t : parseInt(e, 10);
      } else throw new Error("cooldown must be a number, string, or function");
    }
  }
], fr = hh.reduce((e, t) => ({
  ...e,
  ...t.short ? { [t.short]: t } : null,
  ...t.long ? { [t.long]: t } : null
}), {}), Rs = Bo(hh, (e) => e.long), G_ = [
  "package-lock.json",
  "yarn.lock",
  "pnpm-lock.yaml",
  "deno.json",
  "deno.jsonc",
  "bun.lock",
  "bun.lockb"
];
async function fh(e, t = Xe.readdir) {
  try {
    const r = Jt.homedir(), i = Jt.tmpdir();
    let s = e.cwd ? e.cwd : e.packageFile ? qe.dirname(e.packageFile) : ".";
    for (s = qe.resolve(s); ; ) {
      const d = await t(s);
      for (const n of G_) if (d.includes(n)) return {
        directoryPath: s,
        filename: n
      };
      const c = qe.resolve(s, "..");
      if (c === s || c === r || c === i) break;
      s = c;
    }
  } catch {
  }
  return null;
}
var Rr = Gp(mo(import.meta.url)), z_ = {
  "package-lock": "npm",
  yarn: "yarn",
  "pnpm-lock": "pnpm",
  deno: "deno",
  bun: "bun"
}, W_ = () => {
  const e = process.env.npm_config_user_agent ?? "", t = process.env.npm_execpath ?? "";
  return e.startsWith("yarn/") || t.includes("yarn") || Rr.includes("/yarn/") || Rr.includes("\\Yarn\\") ? "yarn" : e.startsWith("pnpm/") || t.includes("pnpm") || Rr.includes("/pnpm/") || Rr.includes("\\pnpm\\") ? "pnpm" : e.startsWith("bun/") || typeof Bun < "u" || process.versions.bun || Rr.includes("/.bun/") || Rr.includes("\\.bun\\") ? "bun" : "npm";
}, Ks = async (e, t = Xe.readdir) => {
  if (e.packageManager) return e.packageManager;
  if (e.global) return W_();
  const r = (await fh(e, t))?.filename;
  return r ? z_[r.split(".")[0]] : "npm";
}, V_ = /* @__PURE__ */ z(((e, t) => {
  t.exports = d, d.sync = c;
  var r = be("fs");
  function i(n, u) {
    var o = u.pathExt !== void 0 ? u.pathExt : process.env.PATHEXT;
    if (!o || (o = o.split(";"), o.indexOf("") !== -1)) return !0;
    for (var h = 0; h < o.length; h++) {
      var a = o[h].toLowerCase();
      if (a && n.substr(-a.length).toLowerCase() === a) return !0;
    }
    return !1;
  }
  function s(n, u, o) {
    return !n.isSymbolicLink() && !n.isFile() ? !1 : i(u, o);
  }
  function d(n, u, o) {
    r.stat(n, function(h, a) {
      o(h, h ? !1 : s(a, n, u));
    });
  }
  function c(n, u) {
    return s(r.statSync(n), n, u);
  }
})), Y_ = /* @__PURE__ */ z(((e, t) => {
  t.exports = i, i.sync = s;
  var r = be("fs");
  function i(n, u, o) {
    r.stat(n, function(h, a) {
      o(h, h ? !1 : d(a, u));
    });
  }
  function s(n, u) {
    return d(r.statSync(n), u);
  }
  function d(n, u) {
    return n.isFile() && c(n, u);
  }
  function c(n, u) {
    var o = n.mode, h = n.uid, a = n.gid, l = u.uid !== void 0 ? u.uid : process.getuid && process.getuid(), f = u.gid !== void 0 ? u.gid : process.getgid && process.getgid(), p = parseInt("100", 8), g = parseInt("010", 8), m = parseInt("001", 8), v = p | g;
    return o & m || o & g && a === f || o & p && h === l || o & v && l === 0;
  }
})), K_ = /* @__PURE__ */ z(((e, t) => {
  be("fs");
  var r;
  process.platform === "win32" || global.TESTING_WINDOWS ? r = V_() : r = Y_(), t.exports = i, i.sync = s;
  function i(d, c, n) {
    if (typeof c == "function" && (n = c, c = {}), !n) {
      if (typeof Promise != "function") throw new TypeError("callback not provided");
      return new Promise(function(u, o) {
        i(d, c || {}, function(h, a) {
          h ? o(h) : u(a);
        });
      });
    }
    r(d, c || {}, function(u, o) {
      u && (u.code === "EACCES" || c && c.ignoreErrors) && (u = null, o = !1), n(u, o);
    });
  }
  function s(d, c) {
    try {
      return r.sync(d, c || {});
    } catch (n) {
      if (c && c.ignoreErrors || n.code === "EACCES") return !1;
      throw n;
    }
  }
})), Z_ = /* @__PURE__ */ z(((e, t) => {
  var r = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", i = be("path"), s = r ? ";" : ":", d = K_(), c = (h) => Object.assign(/* @__PURE__ */ new Error(`not found: ${h}`), { code: "ENOENT" }), n = (h, a) => {
    const l = a.colon || s, f = h.match(/\//) || r && h.match(/\\/) ? [""] : [...r ? [process.cwd()] : [], ...(a.path || process.env.PATH || "").split(l)], p = r ? a.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", g = r ? p.split(l) : [""];
    return r && h.indexOf(".") !== -1 && g[0] !== "" && g.unshift(""), {
      pathEnv: f,
      pathExt: g,
      pathExtExe: p
    };
  }, u = (h, a, l) => {
    typeof a == "function" && (l = a, a = {}), a || (a = {});
    const { pathEnv: f, pathExt: p, pathExtExe: g } = n(h, a), m = [], v = (E) => new Promise((S, w) => {
      if (E === f.length) return a.all && m.length ? S(m) : w(c(h));
      const b = f[E], A = /^".*"$/.test(b) ? b.slice(1, -1) : b, D = i.join(A, h);
      S(_(!A && /^\.[\\\/]/.test(h) ? h.slice(0, 2) + D : D, E, 0));
    }), _ = (E, S, w) => new Promise((b, A) => {
      if (w === p.length) return b(v(S + 1));
      const D = p[w];
      d(E + D, { pathExt: g }, (C, O) => {
        if (!C && O) if (a.all) m.push(E + D);
        else return b(E + D);
        return b(_(E, S, w + 1));
      });
    });
    return l ? v(0).then((E) => l(null, E), l) : v(0);
  }, o = (h, a) => {
    a = a || {};
    const { pathEnv: l, pathExt: f, pathExtExe: p } = n(h, a), g = [];
    for (let m = 0; m < l.length; m++) {
      const v = l[m], _ = /^".*"$/.test(v) ? v.slice(1, -1) : v, E = i.join(_, h), S = !_ && /^\.[\\\/]/.test(h) ? h.slice(0, 2) + E : E;
      for (let w = 0; w < f.length; w++) {
        const b = S + f[w];
        try {
          if (d.sync(b, { pathExt: p })) if (a.all) g.push(b);
          else return b;
        } catch {
        }
      }
    }
    if (a.all && g.length) return g;
    if (a.nothrow) return null;
    throw c(h);
  };
  t.exports = u, u.sync = o;
})), J_ = /* @__PURE__ */ z(((e, t) => {
  var r = (i = {}) => {
    const s = i.env || process.env;
    return (i.platform || process.platform) !== "win32" ? "PATH" : Object.keys(s).reverse().find((d) => d.toUpperCase() === "PATH") || "Path";
  };
  t.exports = r, t.exports.default = r;
})), X_ = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = Z_(), s = J_();
  function d(n, u) {
    const o = n.options.env || process.env, h = process.cwd(), a = n.options.cwd != null, l = a && process.chdir !== void 0 && !process.chdir.disabled;
    if (l) try {
      process.chdir(n.options.cwd);
    } catch {
    }
    let f;
    try {
      f = i.sync(n.command, {
        path: o[s({ env: o })],
        pathExt: u ? r.delimiter : void 0
      });
    } catch {
    } finally {
      l && process.chdir(h);
    }
    return f && (f = r.resolve(a ? n.options.cwd : "", f)), f;
  }
  function c(n) {
    return d(n) || d(n, !0);
  }
  t.exports = c;
})), Q_ = /* @__PURE__ */ z(((e, t) => {
  var r = /([()\][%!^"`<>&|;, *?])/g;
  function i(d) {
    return d = d.replace(r, "^$1"), d;
  }
  function s(d, c) {
    return d = `${d}`, d = d.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"'), d = d.replace(/(?=(\\+?)?)\1$/, "$1$1"), d = `"${d}"`, d = d.replace(r, "^$1"), c && (d = d.replace(r, "^$1")), d;
  }
  t.exports.command = i, t.exports.argument = s;
})), eb = /* @__PURE__ */ z(((e, t) => {
  t.exports = /^#!(.*)/;
})), tb = /* @__PURE__ */ z(((e, t) => {
  var r = eb();
  t.exports = (i = "") => {
    const s = i.match(r);
    if (!s) return null;
    const [d, c] = s[0].replace(/#! ?/, "").split(" "), n = d.split("/").pop();
    return n === "env" ? c : c ? `${n} ${c}` : n;
  };
})), rb = /* @__PURE__ */ z(((e, t) => {
  var r = be("fs"), i = tb();
  function s(d) {
    const n = Buffer.alloc(150);
    let u;
    try {
      u = r.openSync(d, "r"), r.readSync(u, n, 0, 150, 0), r.closeSync(u);
    } catch {
    }
    return i(n.toString());
  }
  t.exports = s;
})), ib = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = X_(), s = Q_(), d = rb(), c = process.platform === "win32", n = /\.(?:com|exe)$/i, u = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
  function o(l) {
    l.file = i(l);
    const f = l.file && d(l.file);
    return f ? (l.args.unshift(l.file), l.command = f, i(l)) : l.file;
  }
  function h(l) {
    if (!c) return l;
    const f = o(l), p = !n.test(f);
    if (l.options.forceShell || p) {
      const g = u.test(f);
      l.command = r.normalize(l.command), l.command = s.command(l.command), l.args = l.args.map((m) => s.argument(m, g)), l.args = [
        "/d",
        "/s",
        "/c",
        `"${[l.command].concat(l.args).join(" ")}"`
      ], l.command = process.env.comspec || "cmd.exe", l.options.windowsVerbatimArguments = !0;
    }
    return l;
  }
  function a(l, f, p) {
    f && !Array.isArray(f) && (p = f, f = null), f = f ? f.slice(0) : [], p = Object.assign({}, p);
    const g = {
      command: l,
      args: f,
      options: p,
      file: void 0,
      original: {
        command: l,
        args: f
      }
    };
    return p.shell ? g : h(g);
  }
  t.exports = a;
})), nb = /* @__PURE__ */ z(((e, t) => {
  var r = process.platform === "win32";
  function i(n, u) {
    return Object.assign(/* @__PURE__ */ new Error(`${u} ${n.command} ENOENT`), {
      code: "ENOENT",
      errno: "ENOENT",
      syscall: `${u} ${n.command}`,
      path: n.command,
      spawnargs: n.args
    });
  }
  function s(n, u) {
    if (!r) return;
    const o = n.emit;
    n.emit = function(h, a) {
      if (h === "exit") {
        const l = d(a, u);
        if (l) return o.call(n, "error", l);
      }
      return o.apply(n, arguments);
    };
  }
  function d(n, u) {
    return r && n === 1 && !u.file ? i(u.original, "spawn") : null;
  }
  function c(n, u) {
    return r && n === 1 && !u.file ? i(u.original, "spawnSync") : null;
  }
  t.exports = {
    hookChildProcess: s,
    verifyENOENT: d,
    verifyENOENTSync: c,
    notFoundError: i
  };
})), sb = /* @__PURE__ */ z(((e, t) => {
  var r = be("child_process"), i = ib(), s = nb();
  function d(n, u, o) {
    const h = i(n, u, o), a = r.spawn(h.command, h.args, h.options);
    return s.hookChildProcess(a, h), a;
  }
  function c(n, u, o) {
    const h = i(n, u, o), a = r.spawnSync(h.command, h.args, h.options);
    return a.error = a.error || s.verifyENOENTSync(a.status, h), a;
  }
  t.exports = d, t.exports.spawn = d, t.exports.sync = c, t.exports._parse = i, t.exports._enoent = s;
})), ab = /* @__PURE__ */ z(((e, t) => {
  var r = sb(), i = (s, d, c = {}, n = {}) => {
    c.rejectOnError === void 0 && (c.rejectOnError = !0);
    let u = "", o = "";
    const h = r(s, d, n);
    return new Promise((a, l) => {
      c.stdin !== void 0 && c.stdin != null && h.stdin.write(c.stdin), h.stdin.end(), h.stdout.on("data", (f) => {
        u += f, c.stdout && c.stdout(f);
      }), h.stderr.on("data", (f) => {
        o += f, c.stderr && c.stderr(f);
      }), c.rejectOnError && h.addListener("error", l), h.on("close", (f) => {
        f !== 0 && c.rejectOnError ? l(o) : a({
          stdout: u,
          stderr: o
        });
      });
    });
  };
  t.exports = i;
})), yi = /* @__PURE__ */ Lt(ab(), 1), Be;
(function(e) {
  e[e.BACKSPACE = 8] = "BACKSPACE", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.NEWLINE = 10] = "NEWLINE", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.TAB = 9] = "TAB", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.NUMBER_SIGN = 35] = "NUMBER_SIGN", e[e.DOLLAR_SIGN = 36] = "DOLLAR_SIGN", e[e.PERCENT_SIGN = 37] = "PERCENT_SIGN", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.LEFT_PARENTHESIS = 40] = "LEFT_PARENTHESIS", e[e.RIGHT_PARENTHESIS = 41] = "RIGHT_PARENTHESIS", e[e.ASTERISK = 42] = "ASTERISK", e[e.PLUS_SIGN = 43] = "PLUS_SIGN", e[e.COMMA = 44] = "COMMA", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.FULL_STOP = 46] = "FULL_STOP", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_ZERO = 48] = "DIGIT_ZERO", e[e.DIGIT_ONE = 49] = "DIGIT_ONE", e[e.DIGIT_TWO = 50] = "DIGIT_TWO", e[e.DIGIT_THREE = 51] = "DIGIT_THREE", e[e.DIGIT_FOUR = 52] = "DIGIT_FOUR", e[e.DIGIT_FIVE = 53] = "DIGIT_FIVE", e[e.DIGIT_SIX = 54] = "DIGIT_SIX", e[e.DIGIT_SEVEN = 55] = "DIGIT_SEVEN", e[e.DIGIT_EIGHT = 56] = "DIGIT_EIGHT", e[e.DIGIT_NINE = 57] = "DIGIT_NINE", e[e.COLON = 58] = "COLON", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.COMMERCIAL_AT = 64] = "COMMERCIAL_AT", e[e.LATIN_CAPITAL_LETTER_A = 65] = "LATIN_CAPITAL_LETTER_A", e[e.LATIN_CAPITAL_LETTER_B = 66] = "LATIN_CAPITAL_LETTER_B", e[e.LATIN_CAPITAL_LETTER_C = 67] = "LATIN_CAPITAL_LETTER_C", e[e.LATIN_CAPITAL_LETTER_D = 68] = "LATIN_CAPITAL_LETTER_D", e[e.LATIN_CAPITAL_LETTER_E = 69] = "LATIN_CAPITAL_LETTER_E", e[e.LATIN_CAPITAL_LETTER_F = 70] = "LATIN_CAPITAL_LETTER_F", e[e.LATIN_CAPITAL_LETTER_G = 71] = "LATIN_CAPITAL_LETTER_G", e[e.LATIN_CAPITAL_LETTER_H = 72] = "LATIN_CAPITAL_LETTER_H", e[e.LATIN_CAPITAL_LETTER_I = 73] = "LATIN_CAPITAL_LETTER_I", e[e.LATIN_CAPITAL_LETTER_J = 74] = "LATIN_CAPITAL_LETTER_J", e[e.LATIN_CAPITAL_LETTER_K = 75] = "LATIN_CAPITAL_LETTER_K", e[e.LATIN_CAPITAL_LETTER_L = 76] = "LATIN_CAPITAL_LETTER_L", e[e.LATIN_CAPITAL_LETTER_M = 77] = "LATIN_CAPITAL_LETTER_M", e[e.LATIN_CAPITAL_LETTER_N = 78] = "LATIN_CAPITAL_LETTER_N", e[e.LATIN_CAPITAL_LETTER_O = 79] = "LATIN_CAPITAL_LETTER_O", e[e.LATIN_CAPITAL_LETTER_P = 80] = "LATIN_CAPITAL_LETTER_P", e[e.LATIN_CAPITAL_LETTER_Q = 81] = "LATIN_CAPITAL_LETTER_Q", e[e.LATIN_CAPITAL_LETTER_R = 82] = "LATIN_CAPITAL_LETTER_R", e[e.LATIN_CAPITAL_LETTER_S = 83] = "LATIN_CAPITAL_LETTER_S", e[e.LATIN_CAPITAL_LETTER_T = 84] = "LATIN_CAPITAL_LETTER_T", e[e.LATIN_CAPITAL_LETTER_U = 85] = "LATIN_CAPITAL_LETTER_U", e[e.LATIN_CAPITAL_LETTER_V = 86] = "LATIN_CAPITAL_LETTER_V", e[e.LATIN_CAPITAL_LETTER_W = 87] = "LATIN_CAPITAL_LETTER_W", e[e.LATIN_CAPITAL_LETTER_X = 88] = "LATIN_CAPITAL_LETTER_X", e[e.LATIN_CAPITAL_LETTER_Y = 89] = "LATIN_CAPITAL_LETTER_Y", e[e.LATIN_CAPITAL_LETTER_Z = 90] = "LATIN_CAPITAL_LETTER_Z", e[e.LEFT_SQUARE_BRACKET = 91] = "LEFT_SQUARE_BRACKET", e[e.REVERSE_SOLIDUS = 92] = "REVERSE_SOLIDUS", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.CIRCUMFLEX_ACCENT = 94] = "CIRCUMFLEX_ACCENT", e[e.LOW_LINE = 95] = "LOW_LINE", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_LETTER_A = 97] = "LATIN_SMALL_LETTER_A", e[e.LATIN_SMALL_LETTER_B = 98] = "LATIN_SMALL_LETTER_B", e[e.LATIN_SMALL_LETTER_C = 99] = "LATIN_SMALL_LETTER_C", e[e.LATIN_SMALL_LETTER_D = 100] = "LATIN_SMALL_LETTER_D", e[e.LATIN_SMALL_LETTER_E = 101] = "LATIN_SMALL_LETTER_E", e[e.LATIN_SMALL_LETTER_F = 102] = "LATIN_SMALL_LETTER_F", e[e.LATIN_SMALL_LETTER_G = 103] = "LATIN_SMALL_LETTER_G", e[e.LATIN_SMALL_LETTER_H = 104] = "LATIN_SMALL_LETTER_H", e[e.LATIN_SMALL_LETTER_I = 105] = "LATIN_SMALL_LETTER_I", e[e.LATIN_SMALL_LETTER_J = 106] = "LATIN_SMALL_LETTER_J", e[e.LATIN_SMALL_LETTER_K = 107] = "LATIN_SMALL_LETTER_K", e[e.LATIN_SMALL_LETTER_L = 108] = "LATIN_SMALL_LETTER_L", e[e.LATIN_SMALL_LETTER_M = 109] = "LATIN_SMALL_LETTER_M", e[e.LATIN_SMALL_LETTER_N = 110] = "LATIN_SMALL_LETTER_N", e[e.LATIN_SMALL_LETTER_O = 111] = "LATIN_SMALL_LETTER_O", e[e.LATIN_SMALL_LETTER_P = 112] = "LATIN_SMALL_LETTER_P", e[e.LATIN_SMALL_LETTER_Q = 113] = "LATIN_SMALL_LETTER_Q", e[e.LATIN_SMALL_LETTER_R = 114] = "LATIN_SMALL_LETTER_R", e[e.LATIN_SMALL_LETTER_S = 115] = "LATIN_SMALL_LETTER_S", e[e.LATIN_SMALL_LETTER_T = 116] = "LATIN_SMALL_LETTER_T", e[e.LATIN_SMALL_LETTER_U = 117] = "LATIN_SMALL_LETTER_U", e[e.LATIN_SMALL_LETTER_V = 118] = "LATIN_SMALL_LETTER_V", e[e.LATIN_SMALL_LETTER_W = 119] = "LATIN_SMALL_LETTER_W", e[e.LATIN_SMALL_LETTER_X = 120] = "LATIN_SMALL_LETTER_X", e[e.LATIN_SMALL_LETTER_Y = 121] = "LATIN_SMALL_LETTER_Y", e[e.LATIN_SMALL_LETTER_Z = 122] = "LATIN_SMALL_LETTER_Z", e[e.LEFT_CURLY_BRACKET = 123] = "LEFT_CURLY_BRACKET", e[e.VERTICAL_LINE = 124] = "VERTICAL_LINE", e[e.RIGHT_CURLY_BRACKET = 125] = "RIGHT_CURLY_BRACKET", e[e.TILDE = 126] = "TILDE";
})(Be || (Be = {}));
var ob = {
  [Be.QUOTATION_MARK]: Be.QUOTATION_MARK,
  [Be.REVERSE_SOLIDUS]: Be.REVERSE_SOLIDUS,
  [Be.SOLIDUS]: Be.SOLIDUS,
  [Be.LATIN_SMALL_LETTER_B]: Be.BACKSPACE,
  [Be.LATIN_SMALL_LETTER_F]: Be.FORM_FEED,
  [Be.LATIN_SMALL_LETTER_N]: Be.NEWLINE,
  [Be.LATIN_SMALL_LETTER_R]: Be.CARRIAGE_RETURN,
  [Be.LATIN_SMALL_LETTER_T]: Be.TAB
}, wc = class {
  constructor() {
    this.decoder = new TextDecoder("utf-8"), this.strings = [], this.byteLength = 0;
  }
  appendChar(e) {
    this.strings.push(String.fromCharCode(e)), this.byteLength += 1;
  }
  appendBuf(e, t = 0, r = e.length) {
    this.strings.push(this.decoder.decode(e.subarray(t, r))), this.byteLength += r - t;
  }
  reset() {
    this.strings = [], this.byteLength = 0;
  }
  toString() {
    return this.strings.join("");
  }
}, Ec = class {
  constructor(e) {
    this.decoder = new TextDecoder("utf-8"), this.bufferOffset = 0, this.string = "", this.byteLength = 0, this.buffer = new Uint8Array(e);
  }
  appendChar(e) {
    this.bufferOffset >= this.buffer.length && this.flushStringBuffer(), this.buffer[this.bufferOffset++] = e, this.byteLength += 1;
  }
  appendBuf(e, t = 0, r = e.length) {
    const i = r - t;
    this.bufferOffset + i > this.buffer.length && this.flushStringBuffer(), this.buffer.set(e.subarray(t, r), this.bufferOffset), this.bufferOffset += i, this.byteLength += i;
  }
  flushStringBuffer() {
    this.string += this.decoder.decode(this.buffer.subarray(0, this.bufferOffset)), this.bufferOffset = 0;
  }
  reset() {
    this.string = "", this.bufferOffset = 0, this.byteLength = 0;
  }
  toString() {
    return this.flushStringBuffer(), this.string;
  }
}, Zs;
(function(e) {
  e[e.LEFT_BRACE = 0] = "LEFT_BRACE", e[e.RIGHT_BRACE = 1] = "RIGHT_BRACE", e[e.LEFT_BRACKET = 2] = "LEFT_BRACKET", e[e.RIGHT_BRACKET = 3] = "RIGHT_BRACKET", e[e.COLON = 4] = "COLON", e[e.COMMA = 5] = "COMMA", e[e.TRUE = 6] = "TRUE", e[e.FALSE = 7] = "FALSE", e[e.NULL = 8] = "NULL", e[e.STRING = 9] = "STRING", e[e.NUMBER = 10] = "NUMBER", e[e.SEPARATOR = 11] = "SEPARATOR";
})(Zs || (Zs = {}));
var Ve = Zs, ke;
(function(e) {
  e[e.START = 0] = "START", e[e.ENDED = 1] = "ENDED", e[e.ERROR = 2] = "ERROR", e[e.TRUE1 = 3] = "TRUE1", e[e.TRUE2 = 4] = "TRUE2", e[e.TRUE3 = 5] = "TRUE3", e[e.FALSE1 = 6] = "FALSE1", e[e.FALSE2 = 7] = "FALSE2", e[e.FALSE3 = 8] = "FALSE3", e[e.FALSE4 = 9] = "FALSE4", e[e.NULL1 = 10] = "NULL1", e[e.NULL2 = 11] = "NULL2", e[e.NULL3 = 12] = "NULL3", e[e.STRING_DEFAULT = 13] = "STRING_DEFAULT", e[e.STRING_AFTER_BACKSLASH = 14] = "STRING_AFTER_BACKSLASH", e[e.STRING_UNICODE_DIGIT_1 = 15] = "STRING_UNICODE_DIGIT_1", e[e.STRING_UNICODE_DIGIT_2 = 16] = "STRING_UNICODE_DIGIT_2", e[e.STRING_UNICODE_DIGIT_3 = 17] = "STRING_UNICODE_DIGIT_3", e[e.STRING_UNICODE_DIGIT_4 = 18] = "STRING_UNICODE_DIGIT_4", e[e.STRING_INCOMPLETE_CHAR = 19] = "STRING_INCOMPLETE_CHAR", e[e.NUMBER_AFTER_INITIAL_MINUS = 20] = "NUMBER_AFTER_INITIAL_MINUS", e[e.NUMBER_AFTER_INITIAL_ZERO = 21] = "NUMBER_AFTER_INITIAL_ZERO", e[e.NUMBER_AFTER_INITIAL_NON_ZERO = 22] = "NUMBER_AFTER_INITIAL_NON_ZERO", e[e.NUMBER_AFTER_FULL_STOP = 23] = "NUMBER_AFTER_FULL_STOP", e[e.NUMBER_AFTER_DECIMAL = 24] = "NUMBER_AFTER_DECIMAL", e[e.NUMBER_AFTER_E = 25] = "NUMBER_AFTER_E", e[e.NUMBER_AFTER_E_AND_SIGN = 26] = "NUMBER_AFTER_E_AND_SIGN", e[e.NUMBER_AFTER_E_AND_DIGIT = 27] = "NUMBER_AFTER_E_AND_DIGIT", e[e.SEPARATOR = 28] = "SEPARATOR", e[e.BOM_OR_START = 29] = "BOM_OR_START", e[e.BOM = 30] = "BOM";
})(ke || (ke = {}));
function Sc(e) {
  return [
    "START",
    "ENDED",
    "ERROR",
    "TRUE1",
    "TRUE2",
    "TRUE3",
    "FALSE1",
    "FALSE2",
    "FALSE3",
    "FALSE4",
    "NULL1",
    "NULL2",
    "NULL3",
    "STRING_DEFAULT",
    "STRING_AFTER_BACKSLASH",
    "STRING_UNICODE_DIGIT_1",
    "STRING_UNICODE_DIGIT_2",
    "STRING_UNICODE_DIGIT_3",
    "STRING_UNICODE_DIGIT_4",
    "STRING_INCOMPLETE_CHAR",
    "NUMBER_AFTER_INITIAL_MINUS",
    "NUMBER_AFTER_INITIAL_ZERO",
    "NUMBER_AFTER_INITIAL_NON_ZERO",
    "NUMBER_AFTER_FULL_STOP",
    "NUMBER_AFTER_DECIMAL",
    "NUMBER_AFTER_E",
    "NUMBER_AFTER_E_AND_SIGN",
    "NUMBER_AFTER_E_AND_DIGIT",
    "SEPARATOR",
    "BOM_OR_START",
    "BOM"
  ][e];
}
var lb = {
  stringBufferSize: 0,
  numberBufferSize: 0,
  separator: void 0,
  emitPartialTokens: !1
}, Os = class dh extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, dh.prototype);
  }
}, cb = class {
  constructor(e) {
    this.state = ke.BOM_OR_START, this.bomIndex = 0, this.separatorIndex = 0, this.escapedCharsByteLength = 0, this.bytes_remaining = 0, this.bytes_in_sequence = 0, this.char_split_buffer = new Uint8Array(4), this.encoder = new TextEncoder(), this.offset = -1, e = Object.assign(Object.assign({}, lb), e), this.emitPartialTokens = e.emitPartialTokens === !0, this.bufferedString = e.stringBufferSize && e.stringBufferSize > 4 ? new Ec(e.stringBufferSize) : new wc(), this.bufferedNumber = e.numberBufferSize && e.numberBufferSize > 0 ? new Ec(e.numberBufferSize) : new wc(), this.separator = e.separator, this.separatorBytes = e.separator ? this.encoder.encode(e.separator) : void 0;
  }
  get isEnded() {
    return this.state === ke.ENDED;
  }
  write(e) {
    try {
      let t;
      if (e instanceof Uint8Array) t = e;
      else if (typeof e == "string") t = this.encoder.encode(e);
      else if (Array.isArray(e)) t = Uint8Array.from(e);
      else if (ArrayBuffer.isView(e)) t = new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
      else throw new TypeError("Unexpected type. The `write` function only accepts Arrays, TypedArrays and Strings.");
      for (let r = 0; r < t.length; r += 1) {
        const i = t[r];
        switch (this.state) {
          case ke.BOM_OR_START:
            if (e instanceof Uint8Array && i === 239) {
              this.bom = [
                239,
                187,
                191
              ], this.bomIndex += 1, this.state = ke.BOM;
              continue;
            }
            if (e instanceof Uint16Array) {
              if (i === 254) {
                this.bom = [254, 255], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [255, 254], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
            }
            if (e instanceof Uint32Array) {
              if (i === 0) {
                this.bom = [
                  0,
                  0,
                  254,
                  255
                ], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
              if (i === 255) {
                this.bom = [
                  255,
                  254,
                  0,
                  0
                ], this.bomIndex += 1, this.state = ke.BOM;
                continue;
              }
            }
          case ke.START:
            if (this.offset += 1, this.separatorBytes && i === this.separatorBytes[0]) {
              if (this.separatorBytes.length === 1) {
                this.state = ke.START, this.onToken({
                  token: Ve.SEPARATOR,
                  value: this.separator,
                  offset: this.offset + this.separatorBytes.length - 1
                });
                continue;
              }
              this.state = ke.SEPARATOR;
              continue;
            }
            if (i === Be.SPACE || i === Be.NEWLINE || i === Be.CARRIAGE_RETURN || i === Be.TAB) continue;
            if (i === Be.LEFT_CURLY_BRACKET) {
              this.onToken({
                token: Ve.LEFT_BRACE,
                value: "{",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.RIGHT_CURLY_BRACKET) {
              this.onToken({
                token: Ve.RIGHT_BRACE,
                value: "}",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.LEFT_SQUARE_BRACKET) {
              this.onToken({
                token: Ve.LEFT_BRACKET,
                value: "[",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.RIGHT_SQUARE_BRACKET) {
              this.onToken({
                token: Ve.RIGHT_BRACKET,
                value: "]",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.COLON) {
              this.onToken({
                token: Ve.COLON,
                value: ":",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.COMMA) {
              this.onToken({
                token: Ve.COMMA,
                value: ",",
                offset: this.offset
              });
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_T) {
              this.state = ke.TRUE1;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_F) {
              this.state = ke.FALSE1;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_N) {
              this.state = ke.NULL1;
              continue;
            }
            if (i === Be.QUOTATION_MARK) {
              this.bufferedString.reset(), this.escapedCharsByteLength = 0, this.state = ke.STRING_DEFAULT;
              continue;
            }
            if (i >= Be.DIGIT_ONE && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            if (i === Be.DIGIT_ZERO) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i === Be.HYPHEN_MINUS) {
              this.bufferedNumber.reset(), this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_MINUS;
              continue;
            }
            break;
          case ke.STRING_DEFAULT:
            if (i === Be.QUOTATION_MARK) {
              const d = this.bufferedString.toString();
              this.state = ke.START, this.onToken({
                token: Ve.STRING,
                value: d,
                offset: this.offset
              }), this.offset += this.escapedCharsByteLength + this.bufferedString.byteLength + 1;
              continue;
            }
            if (i === Be.REVERSE_SOLIDUS) {
              this.state = ke.STRING_AFTER_BACKSLASH;
              continue;
            }
            if (i >= 128) {
              if (i >= 194 && i <= 223 ? this.bytes_in_sequence = 2 : i <= 239 ? this.bytes_in_sequence = 3 : this.bytes_in_sequence = 4, this.bytes_in_sequence <= t.length - r) {
                this.bufferedString.appendBuf(t, r, r + this.bytes_in_sequence), r += this.bytes_in_sequence - 1;
                continue;
              }
              this.bytes_remaining = r + this.bytes_in_sequence - t.length, this.char_split_buffer.set(t.subarray(r)), r = t.length - 1, this.state = ke.STRING_INCOMPLETE_CHAR;
              continue;
            }
            if (i >= Be.SPACE) {
              this.bufferedString.appendChar(i);
              continue;
            }
            break;
          case ke.STRING_INCOMPLETE_CHAR:
            this.char_split_buffer.set(t.subarray(r, r + this.bytes_remaining), this.bytes_in_sequence - this.bytes_remaining), this.bufferedString.appendBuf(this.char_split_buffer, 0, this.bytes_in_sequence), r = this.bytes_remaining - 1, this.state = ke.STRING_DEFAULT;
            continue;
          case ke.STRING_AFTER_BACKSLASH:
            const s = ob[i];
            if (s) {
              this.bufferedString.appendChar(s), this.escapedCharsByteLength += 1, this.state = ke.STRING_DEFAULT;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.unicode = "", this.state = ke.STRING_UNICODE_DIGIT_1;
              continue;
            }
            break;
          case ke.STRING_UNICODE_DIGIT_1:
          case ke.STRING_UNICODE_DIGIT_2:
          case ke.STRING_UNICODE_DIGIT_3:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE || i >= Be.LATIN_CAPITAL_LETTER_A && i <= Be.LATIN_CAPITAL_LETTER_F || i >= Be.LATIN_SMALL_LETTER_A && i <= Be.LATIN_SMALL_LETTER_F) {
              this.unicode += String.fromCharCode(i), this.state += 1;
              continue;
            }
            break;
          case ke.STRING_UNICODE_DIGIT_4:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE || i >= Be.LATIN_CAPITAL_LETTER_A && i <= Be.LATIN_CAPITAL_LETTER_F || i >= Be.LATIN_SMALL_LETTER_A && i <= Be.LATIN_SMALL_LETTER_F) {
              const d = parseInt(this.unicode + String.fromCharCode(i), 16);
              let c;
              if (this.highSurrogate === void 0) if (d >= 55296 && d <= 56319) {
                this.highSurrogate = d, this.state = ke.STRING_DEFAULT;
                continue;
              } else c = String.fromCharCode(d);
              else
                d >= 56320 && d <= 57343 ? c = String.fromCharCode(this.highSurrogate, d) : c = String.fromCharCode(this.highSurrogate), this.highSurrogate = void 0;
              const n = this.encoder.encode(c);
              this.bufferedString.appendBuf(n), this.escapedCharsByteLength += 6 - n.byteLength, this.state = ke.STRING_DEFAULT;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_INITIAL_MINUS:
            if (i === Be.DIGIT_ZERO) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_ZERO;
              continue;
            }
            if (i >= Be.DIGIT_ONE && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_INITIAL_NON_ZERO;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_INITIAL_ZERO:
            if (i === Be.FULL_STOP) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_E || i === Be.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            if (i === Be.FULL_STOP) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_FULL_STOP;
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_E || i === Be.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_FULL_STOP:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_DECIMAL;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_DECIMAL:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            if (i === Be.LATIN_SMALL_LETTER_E || i === Be.LATIN_CAPITAL_LETTER_E) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E;
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.NUMBER_AFTER_E:
            if (i === Be.PLUS_SIGN || i === Be.HYPHEN_MINUS) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E_AND_SIGN;
              continue;
            }
          case ke.NUMBER_AFTER_E_AND_SIGN:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i), this.state = ke.NUMBER_AFTER_E_AND_DIGIT;
              continue;
            }
            break;
          case ke.NUMBER_AFTER_E_AND_DIGIT:
            if (i >= Be.DIGIT_ZERO && i <= Be.DIGIT_NINE) {
              this.bufferedNumber.appendChar(i);
              continue;
            }
            r -= 1, this.state = ke.START, this.emitNumber();
            continue;
          case ke.TRUE1:
            if (i === Be.LATIN_SMALL_LETTER_R) {
              this.state = ke.TRUE2;
              continue;
            }
            break;
          case ke.TRUE2:
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.state = ke.TRUE3;
              continue;
            }
            break;
          case ke.TRUE3:
            if (i === Be.LATIN_SMALL_LETTER_E) {
              this.state = ke.START, this.onToken({
                token: Ve.TRUE,
                value: !0,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case ke.FALSE1:
            if (i === Be.LATIN_SMALL_LETTER_A) {
              this.state = ke.FALSE2;
              continue;
            }
            break;
          case ke.FALSE2:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = ke.FALSE3;
              continue;
            }
            break;
          case ke.FALSE3:
            if (i === Be.LATIN_SMALL_LETTER_S) {
              this.state = ke.FALSE4;
              continue;
            }
            break;
          case ke.FALSE4:
            if (i === Be.LATIN_SMALL_LETTER_E) {
              this.state = ke.START, this.onToken({
                token: Ve.FALSE,
                value: !1,
                offset: this.offset
              }), this.offset += 4;
              continue;
            }
            break;
          case ke.NULL1:
            if (i === Be.LATIN_SMALL_LETTER_U) {
              this.state = ke.NULL2;
              continue;
            }
            break;
          case ke.NULL2:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = ke.NULL3;
              continue;
            }
            break;
          case ke.NULL3:
            if (i === Be.LATIN_SMALL_LETTER_L) {
              this.state = ke.START, this.onToken({
                token: Ve.NULL,
                value: null,
                offset: this.offset
              }), this.offset += 3;
              continue;
            }
            break;
          case ke.SEPARATOR:
            if (this.separatorIndex += 1, !this.separatorBytes || i !== this.separatorBytes[this.separatorIndex]) break;
            this.separatorIndex === this.separatorBytes.length - 1 && (this.state = ke.START, this.onToken({
              token: Ve.SEPARATOR,
              value: this.separator,
              offset: this.offset + this.separatorIndex
            }), this.separatorIndex = 0);
            continue;
          case ke.BOM:
            if (i === this.bom[this.bomIndex]) {
              if (this.bomIndex === this.bom.length - 1) {
                this.state = ke.START, this.bom = void 0, this.bomIndex = 0;
                continue;
              }
              this.bomIndex += 1;
              continue;
            }
            break;
          case ke.ENDED:
            if (i === Be.SPACE || i === Be.NEWLINE || i === Be.CARRIAGE_RETURN || i === Be.TAB) continue;
        }
        throw new Os(`Unexpected "${String.fromCharCode(i)}" at position "${r}" in state ${Sc(this.state)}`);
      }
      if (this.emitPartialTokens) switch (this.state) {
        case ke.TRUE1:
        case ke.TRUE2:
        case ke.TRUE3:
          this.onToken({
            token: Ve.TRUE,
            value: !0,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.FALSE1:
        case ke.FALSE2:
        case ke.FALSE3:
        case ke.FALSE4:
          this.onToken({
            token: Ve.FALSE,
            value: !1,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.NULL1:
        case ke.NULL2:
        case ke.NULL3:
          this.onToken({
            token: Ve.NULL,
            value: null,
            offset: this.offset,
            partial: !0
          });
          break;
        case ke.STRING_DEFAULT: {
          const r = this.bufferedString.toString();
          this.onToken({
            token: Ve.STRING,
            value: r,
            offset: this.offset,
            partial: !0
          });
          break;
        }
        case ke.NUMBER_AFTER_INITIAL_ZERO:
        case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
        case ke.NUMBER_AFTER_DECIMAL:
        case ke.NUMBER_AFTER_E_AND_DIGIT:
          try {
            this.onToken({
              token: Ve.NUMBER,
              value: this.parseNumber(this.bufferedNumber.toString()),
              offset: this.offset,
              partial: !0
            });
          } catch {
          }
      }
    } catch (t) {
      this.error(t);
    }
  }
  emitNumber() {
    this.onToken({
      token: Ve.NUMBER,
      value: this.parseNumber(this.bufferedNumber.toString()),
      offset: this.offset
    }), this.offset += this.bufferedNumber.byteLength - 1;
  }
  parseNumber(e) {
    return Number(e);
  }
  error(e) {
    this.state !== ke.ENDED && (this.state = ke.ERROR), this.onError(e);
  }
  end() {
    switch (this.state) {
      case ke.NUMBER_AFTER_INITIAL_ZERO:
      case ke.NUMBER_AFTER_INITIAL_NON_ZERO:
      case ke.NUMBER_AFTER_DECIMAL:
      case ke.NUMBER_AFTER_E_AND_DIGIT:
        this.state = ke.ENDED, this.emitNumber(), this.onEnd();
        break;
      case ke.BOM_OR_START:
      case ke.START:
      case ke.ERROR:
      case ke.SEPARATOR:
        this.state = ke.ENDED, this.onEnd();
        break;
      default:
        this.error(new Os(`Tokenizer ended in the middle of a token (state: ${Sc(this.state)}). Either not all the data was received or the data was invalid.`));
    }
  }
  onToken(e) {
    throw new Os(`Can't emit tokens before the "onToken" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, Tt;
(function(e) {
  e[e.OBJECT = 0] = "OBJECT", e[e.ARRAY = 1] = "ARRAY";
})(Tt || (Tt = {}));
var Qe;
(function(e) {
  e[e.VALUE = 0] = "VALUE", e[e.KEY = 1] = "KEY", e[e.COLON = 2] = "COLON", e[e.COMMA = 3] = "COMMA", e[e.ENDED = 4] = "ENDED", e[e.ERROR = 5] = "ERROR", e[e.SEPARATOR = 6] = "SEPARATOR";
})(Qe || (Qe = {}));
function Ac(e) {
  return [
    "VALUE",
    "KEY",
    "COLON",
    "COMMA",
    "ENDED",
    "ERROR",
    "SEPARATOR"
  ][e];
}
var ub = {
  paths: void 0,
  keepStack: !0,
  separator: void 0,
  emitPartialValues: !1
}, Vi = class ph extends Error {
  constructor(t) {
    super(t), Object.setPrototypeOf(this, ph.prototype);
  }
}, hb = class {
  constructor(e) {
    this.state = Qe.VALUE, this.mode = void 0, this.key = void 0, this.value = void 0, this.stack = [], e = Object.assign(Object.assign({}, ub), e), e.paths && (this.paths = e.paths.map((t) => {
      if (t === void 0 || t === "$*") return;
      if (!t.startsWith("$")) throw new Vi(`Invalid selector "${t}". Should start with "$".`);
      const r = t.split(".").slice(1);
      if (r.includes("")) throw new Vi(`Invalid selector "${t}". ".." syntax not supported.`);
      return r;
    })), this.keepStack = e.keepStack || !1, this.separator = e.separator, e.emitPartialValues || (this.emitPartial = () => {
    });
  }
  shouldEmit() {
    return this.paths ? this.paths.some((e) => {
      var t;
      if (e === void 0) return !0;
      if (e.length !== this.stack.length) return !1;
      for (let i = 0; i < e.length - 1; i++) {
        const s = e[i], d = this.stack[i + 1].key;
        if (s !== "*" && s !== d?.toString())
          return !1;
      }
      const r = e[e.length - 1];
      return r === "*" ? !0 : r === ((t = this.key) === null || t === void 0 ? void 0 : t.toString());
    }) : !0;
  }
  push() {
    this.stack.push({
      key: this.key,
      value: this.value,
      mode: this.mode,
      emit: this.shouldEmit()
    });
  }
  pop() {
    const e = this.value;
    let t;
    ({ key: this.key, value: this.value, mode: this.mode, emit: t } = this.stack.pop()), this.state = this.mode !== void 0 ? Qe.COMMA : Qe.VALUE, this.emit(e, t);
  }
  emit(e, t) {
    !this.keepStack && this.value && this.stack.every((r) => !r.emit) && delete this.value[this.key], t && this.onValue({
      value: e,
      key: this.key,
      parent: this.value,
      stack: this.stack
    }), this.stack.length === 0 && (this.separator ? this.state = Qe.SEPARATOR : this.separator === void 0 && this.end());
  }
  emitPartial(e) {
    if (this.shouldEmit()) {
      if (this.state === Qe.KEY) {
        this.onValue({
          value: void 0,
          key: e,
          parent: this.value,
          stack: this.stack,
          partial: !0
        });
        return;
      }
      this.onValue({
        value: e,
        key: this.key,
        parent: this.value,
        stack: this.stack,
        partial: !0
      });
    }
  }
  get isEnded() {
    return this.state === Qe.ENDED;
  }
  write({ token: e, value: t, partial: r }) {
    try {
      if (r) {
        this.emitPartial(t);
        return;
      }
      if (this.state === Qe.VALUE) {
        if (e === Ve.STRING || e === Ve.NUMBER || e === Ve.TRUE || e === Ve.FALSE || e === Ve.NULL) {
          this.mode === Tt.OBJECT ? (this.value[this.key] = t, this.state = Qe.COMMA) : this.mode === Tt.ARRAY && (this.value.push(t), this.state = Qe.COMMA), this.emit(t, this.shouldEmit());
          return;
        }
        if (e === Ve.LEFT_BRACE) {
          if (this.push(), this.mode === Tt.OBJECT) this.value = this.value[this.key] = {};
          else if (this.mode === Tt.ARRAY) {
            const i = {};
            this.value.push(i), this.value = i;
          } else this.value = {};
          this.mode = Tt.OBJECT, this.state = Qe.KEY, this.key = void 0, this.emitPartial();
          return;
        }
        if (e === Ve.LEFT_BRACKET) {
          if (this.push(), this.mode === Tt.OBJECT) this.value = this.value[this.key] = [];
          else if (this.mode === Tt.ARRAY) {
            const i = [];
            this.value.push(i), this.value = i;
          } else this.value = [];
          this.mode = Tt.ARRAY, this.state = Qe.VALUE, this.key = 0, this.emitPartial();
          return;
        }
        if (this.mode === Tt.ARRAY && e === Ve.RIGHT_BRACKET && this.value.length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === Qe.KEY) {
        if (e === Ve.STRING) {
          this.key = t, this.state = Qe.COLON, this.emitPartial();
          return;
        }
        if (e === Ve.RIGHT_BRACE && Object.keys(this.value).length === 0) {
          this.pop();
          return;
        }
      }
      if (this.state === Qe.COLON && e === Ve.COLON) {
        this.state = Qe.VALUE;
        return;
      }
      if (this.state === Qe.COMMA) {
        if (e === Ve.COMMA) {
          if (this.mode === Tt.ARRAY) {
            this.state = Qe.VALUE, this.key += 1;
            return;
          }
          if (this.mode === Tt.OBJECT) {
            this.state = Qe.KEY;
            return;
          }
        }
        if (e === Ve.RIGHT_BRACE && this.mode === Tt.OBJECT || e === Ve.RIGHT_BRACKET && this.mode === Tt.ARRAY) {
          this.pop();
          return;
        }
      }
      if (this.state === Qe.SEPARATOR && e === Ve.SEPARATOR && t === this.separator) {
        this.state = Qe.VALUE;
        return;
      }
      if (e === Ve.SEPARATOR && this.state !== Qe.SEPARATOR && Array.from(t).map((i) => i.charCodeAt(0)).every((i) => i === Be.SPACE || i === Be.NEWLINE || i === Be.CARRIAGE_RETURN || i === Be.TAB)) return;
      throw new Vi(`Unexpected ${Ve[e]} (${JSON.stringify(t)}) in state ${Ac(this.state)}`);
    } catch (i) {
      this.error(i);
    }
  }
  error(e) {
    this.state !== Qe.ENDED && (this.state = Qe.ERROR), this.onError(e);
  }
  end() {
    this.state !== Qe.VALUE && this.state !== Qe.SEPARATOR || this.stack.length > 0 ? this.error(/* @__PURE__ */ new Error(`Parser ended in mid-parsing (state: ${Ac(this.state)}). Either not all the data was received or the data was invalid.`)) : (this.state = Qe.ENDED, this.onEnd());
  }
  onValue(e) {
    throw new Vi(`Can't emit data before the "onValue" callback has been set up.`);
  }
  onError(e) {
    throw e;
  }
  onEnd() {
  }
}, fb = class {
  constructor(e = {}) {
    this.tokenizer = new cb(e), this.tokenParser = new hb(e), this.tokenizer.onToken = this.tokenParser.write.bind(this.tokenParser), this.tokenizer.onEnd = () => {
      this.tokenParser.isEnded || this.tokenParser.end();
    }, this.tokenParser.onError = this.tokenizer.error.bind(this.tokenizer), this.tokenParser.onEnd = () => {
      this.tokenizer.isEnded || this.tokenizer.end();
    };
  }
  get isEnded() {
    return this.tokenizer.isEnded && this.tokenParser.isEnded;
  }
  write(e) {
    this.tokenizer.write(e);
  }
  end() {
    this.tokenizer.end();
  }
  set onToken(e) {
    this.tokenizer.onToken = (t) => {
      e(t), this.tokenParser.write(t);
    };
  }
  set onValue(e) {
    this.tokenParser.onValue = e;
  }
  set onError(e) {
    this.tokenizer.onError = e;
  }
  set onEnd(e) {
    this.tokenParser.onEnd = () => {
      this.tokenizer.isEnded || this.tokenizer.end(), e.call(this.tokenParser);
    };
  }
}, Js = /[\p{Lu}]/u, db = /[\p{Ll}]/u, pb = /^[\p{Lu}](?![\p{Lu}])/u, Ci = /[_.\- ]+/, gh = /([\p{Alpha}\p{N}_]|$)/u, gb = new RegExp("^" + Ci.source), mb = new RegExp(Ci.source + gh.source, "gu"), vb = new RegExp(String.raw`\d+` + gh.source, "gu"), yb = (e, t, r, i) => {
  let s = !1, d = !1, c = !1, n = !1;
  for (let u = 0; u < e.length; u++) {
    const o = e[u];
    n = u > 2 ? e[u - 3] === "-" : !0, s && Js.test(o) ? (e = e.slice(0, u) + "-" + e.slice(u), s = !1, c = d, d = !0, u++) : d && c && db.test(o) && (!n || i) ? (e = e.slice(0, u - 1) + "-" + e.slice(u - 1), c = d, d = !1, s = !0) : (s = t(o) === o && r(o) !== o, c = d, d = r(o) === o && t(o) !== o);
  }
  return e;
}, _b = (e, t) => e.replace(pb, (r) => t(r)), bb = (e, t, r) => {
  let i = "", s = !1, d = !1;
  const c = [...e];
  for (let n = 0; n < c.length; n++) {
    const u = c[n], o = Js.test(u), h = n + 1 < c.length && Js.test(c[n + 1]);
    s && /[\p{Alpha}]/u.test(u) ? (i += u, s = !1, d = o) : r && o && (d || h) ? (i += u, d = !0) : /\d/.test(u) ? (i += u, s = !0, d = !1) : Ci.test(u) ? (i += u, d = !1) : (i += t(u), s = !1, d = !1);
  }
  return i;
}, wb = (e, t, { capitalizeAfterNumber: r }) => {
  const i = r ? (s, d, c, n) => {
    const u = n.charAt(c + s.length);
    return Ci.test(u) ? s : d ? s.slice(0, -d.length) + t(d) : s;
  } : (s) => s;
  return e.replaceAll(vb, i).replaceAll(mb, (s, d) => t(d));
};
function Eb(e, t) {
  if (!(typeof e == "string" || Array.isArray(e))) throw new TypeError("Expected the input to be `string | string[]`");
  if (t = {
    pascalCase: !1,
    preserveConsecutiveUppercase: !1,
    capitalizeAfterNumber: !0,
    ...t
  }, Array.isArray(e) ? e = e.map((d) => d.trim()).filter((d) => d.length > 0).join("-") : e = e.trim(), e.length === 0) return "";
  const r = e.match(/^[_$]*/)[0];
  if (e = e.slice(r.length), e.length === 0) return r;
  const i = t.locale === !1 ? (d) => d.toLowerCase() : (d) => d.toLocaleLowerCase(t.locale), s = t.locale === !1 ? (d) => d.toUpperCase() : (d) => d.toLocaleUpperCase(t.locale);
  return e.length === 1 ? Ci.test(e) ? r : r + (t.pascalCase ? s(e) : i(e)) : (e !== i(e) && (e = yb(e, i, s, t.preserveConsecutiveUppercase)), e = e.replace(gb, ""), t.capitalizeAfterNumber ? e = t.preserveConsecutiveUppercase ? _b(e, i) : i(e) : e = bb(e, i, t.preserveConsecutiveUppercase), t.pascalCase && e.length > 0 && (e = s(e[0]) + e.slice(1)), r + wb(e, s, t));
}
var Sb = /* @__PURE__ */ z(((e, t) => {
  function r(f, p) {
    var g = p && p.cache ? p.cache : l, m = p && p.serializer ? p.serializer : h;
    return (p && p.strategy ? p.strategy : n)(f, {
      cache: g,
      serializer: m
    });
  }
  function i(f) {
    return f == null || typeof f == "number" || typeof f == "boolean";
  }
  function s(f, p, g, m) {
    var v = i(m) ? m : g(m), _ = p.get(v);
    return typeof _ > "u" && (_ = f.call(this, m), p.set(v, _)), _;
  }
  function d(f, p, g) {
    var m = Array.prototype.slice.call(arguments, 3), v = g(m), _ = p.get(v);
    return typeof _ > "u" && (_ = f.apply(this, m), p.set(v, _)), _;
  }
  function c(f, p, g, m, v) {
    return g.bind(p, f, m, v);
  }
  function n(f, p) {
    var g = f.length === 1 ? s : d;
    return c(f, this, g, p.cache.create(), p.serializer);
  }
  function u(f, p) {
    var g = d;
    return c(f, this, g, p.cache.create(), p.serializer);
  }
  function o(f, p) {
    var g = s;
    return c(f, this, g, p.cache.create(), p.serializer);
  }
  function h() {
    return JSON.stringify(arguments);
  }
  function a() {
    this.cache = /* @__PURE__ */ Object.create(null);
  }
  a.prototype.has = function(f) {
    return f in this.cache;
  }, a.prototype.get = function(f) {
    return this.cache[f];
  }, a.prototype.set = function(f, p) {
    this.cache[f] = p;
  };
  var l = { create: function() {
    return new a();
  } };
  t.exports = r, t.exports.strategies = {
    variadic: u,
    monadic: o
  };
})), Ab = /* @__PURE__ */ z(((e, t) => {
  var { hasOwnProperty: r } = Object.prototype, i = (o, h = {}) => {
    typeof h == "string" && (h = { section: h }), h.align = h.align === !0, h.newline = h.newline === !0, h.sort = h.sort === !0, h.whitespace = h.whitespace === !0 || h.align === !0, h.platform = h.platform || typeof process < "u" && process.platform, h.bracketedArray = h.bracketedArray !== !1;
    const a = h.platform === "win32" ? `\r
` : `
`, l = h.whitespace ? " = " : "=", f = [], p = h.sort ? Object.keys(o).sort() : Object.keys(o);
    let g = 0;
    h.align && (g = n(p.filter((_) => o[_] === null || Array.isArray(o[_]) || typeof o[_] != "object").map((_) => Array.isArray(o[_]) ? `${_}[]` : _).concat([""]).reduce((_, E) => n(_).length >= n(E).length ? _ : E)).length);
    let m = "";
    const v = h.bracketedArray ? "[]" : "";
    for (const _ of p) {
      const E = o[_];
      if (E && Array.isArray(E)) for (const S of E) m += n(`${_}${v}`).padEnd(g, " ") + l + n(S) + a;
      else E && typeof E == "object" ? f.push(_) : m += n(_).padEnd(g, " ") + l + n(E) + a;
    }
    h.section && m.length && (m = "[" + n(h.section) + "]" + (h.newline ? a + a : a) + m);
    for (const _ of f) {
      const E = s(_, ".").join("\\."), S = (h.section ? h.section + "." : "") + E, w = i(o[_], {
        ...h,
        section: S
      });
      m.length && w.length && (m += a), m += w;
    }
    return m;
  };
  function s(o, h) {
    var a = 0, l = 0, f = 0, p = [];
    do
      if (f = o.indexOf(h, a), f !== -1) {
        if (a = f + h.length, f > 0 && o[f - 1] === "\\") continue;
        p.push(o.slice(l, f)), l = f + h.length;
      }
    while (f !== -1);
    return p.push(o.slice(l)), p;
  }
  var d = (o, h = {}) => {
    h.bracketedArray = h.bracketedArray !== !1;
    const a = /* @__PURE__ */ Object.create(null);
    let l = a, f = null;
    const p = /^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i, g = o.split(/[\r\n]+/g), m = {};
    for (const _ of g) {
      if (!_ || _.match(/^\s*[;#]/) || _.match(/^\s*$/)) continue;
      const E = _.match(p);
      if (!E) continue;
      if (E[1] !== void 0) {
        if (f = u(E[1]), f === "__proto__") {
          l = /* @__PURE__ */ Object.create(null);
          continue;
        }
        l = a[f] = a[f] || /* @__PURE__ */ Object.create(null);
        continue;
      }
      const S = u(E[2]);
      let w;
      h.bracketedArray ? w = S.length > 2 && S.slice(-2) === "[]" : (m[S] = (m?.[S] || 0) + 1, w = m[S] > 1);
      const b = w && S.endsWith("[]") ? S.slice(0, -2) : S;
      if (b === "__proto__") continue;
      const A = E[3] ? u(E[4]) : !0, D = A === "true" || A === "false" || A === "null" ? JSON.parse(A) : A;
      w && (r.call(l, b) ? Array.isArray(l[b]) || (l[b] = [l[b]]) : l[b] = []), Array.isArray(l[b]) ? l[b].push(D) : l[b] = D;
    }
    const v = [];
    for (const _ of Object.keys(a)) {
      if (!r.call(a, _) || typeof a[_] != "object" || Array.isArray(a[_])) continue;
      const E = s(_, ".");
      l = a;
      const S = E.pop(), w = S.replace(/\\\./g, ".");
      for (const b of E)
        b !== "__proto__" && ((!r.call(l, b) || typeof l[b] != "object") && (l[b] = /* @__PURE__ */ Object.create(null)), l = l[b]);
      l === a && w === S || (l[w] = a[_], v.push(_));
    }
    for (const _ of v) delete a[_];
    return a;
  }, c = (o) => o.startsWith('"') && o.endsWith('"') || o.startsWith("'") && o.endsWith("'"), n = (o) => typeof o != "string" || o.match(/[=\r\n]/) || o.match(/^\[/) || o.length > 1 && c(o) || o !== o.trim() ? JSON.stringify(o) : o.split(";").join("\\;").split("#").join("\\#"), u = (o) => {
    if (o = (o || "").trim(), c(o)) {
      o.charAt(0) === "'" && (o = o.slice(1, -1));
      try {
        o = JSON.parse(o);
      } catch {
      }
    } else {
      let h = !1, a = "";
      for (let l = 0, f = o.length; l < f; l++) {
        const p = o.charAt(l);
        if (h)
          "\\;#".indexOf(p) !== -1 ? a += p : a += "\\" + p, h = !1;
        else {
          if (";#".indexOf(p) !== -1) break;
          p === "\\" ? h = !0 : a += p;
        }
      }
      return h && (a += "\\"), a.trim();
    }
    return o;
  };
  t.exports = {
    parse: d,
    decode: d,
    stringify: i,
    encode: i,
    safe: n,
    unsafe: u
  };
})), mh = /* @__PURE__ */ z(((e, t) => {
  var { URL: r } = be("node:url");
  function i(o) {
    try {
      let a = new r(o).pathname.slice(1);
      if (!a.match(/^-/)) {
        a = a.split("/");
        var h = a.indexOf("_rewrite");
        return h === -1 ? h = a.length - 1 : h++, decodeURIComponent(a[h]);
      }
    } catch {
    }
  }
  var s = class extends Error {
    constructor(o, h, a, l) {
      super(), this.name = this.constructor.name, this.headers = typeof h.headers?.raw == "function" ? h.headers.raw() : h.headers, this.statusCode = h.status, this.code = `E${h.status}`, this.method = o, this.uri = h.url, this.body = a, this.pkgid = l ? l.toString() : i(h.url), Error.captureStackTrace(this, this.constructor);
    }
  }, d = class extends s {
    constructor(o, h, a, l) {
      super(o, h, a, l), this.message = `${h.status} ${h.statusText} - ${this.method.toUpperCase()} ${this.spec || this.uri}${a && a.error ? " - " + a.error : ""}`;
    }
  }, c = class extends s {
    constructor(o, h, a, l) {
      super(o, h, a, l), this.message = "OTP required for authentication", this.code = "EOTP";
    }
  }, n = class extends s {
    constructor(o, h, a, l) {
      super(o, h, a, l), this.message = "Login is not allowed from your IP address", this.code = "EAUTHIP";
    }
  }, u = class extends s {
    constructor(o, h, a, l) {
      super(o, h, a, l), this.message = "Unable to authenticate, need: " + h.headers.get("www-authenticate");
    }
  };
  t.exports = {
    HttpErrorBase: s,
    HttpErrorGeneral: d,
    HttpErrorAuthOTP: c,
    HttpErrorAuthIPAddress: n,
    HttpErrorAuthUnknown: u
  };
})), St = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(B) {
    return B && B.__esModule ? B : { default: B };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Minipass = e.isWritable = e.isReadable = e.isStream = void 0;
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = be("node:events"), s = t(be("node:stream")), d = be("node:string_decoder"), c = (B) => !!B && typeof B == "object" && (B instanceof le || B instanceof s.default || (0, e.isReadable)(B) || (0, e.isWritable)(B));
  e.isStream = c;
  var n = (B) => !!B && typeof B == "object" && B instanceof i.EventEmitter && typeof B.pipe == "function" && B.pipe !== s.default.Writable.prototype.pipe;
  e.isReadable = n;
  var u = (B) => !!B && typeof B == "object" && B instanceof i.EventEmitter && typeof B.write == "function" && typeof B.end == "function";
  e.isWritable = u;
  var o = /* @__PURE__ */ Symbol("EOF"), h = /* @__PURE__ */ Symbol("maybeEmitEnd"), a = /* @__PURE__ */ Symbol("emittedEnd"), l = /* @__PURE__ */ Symbol("emittingEnd"), f = /* @__PURE__ */ Symbol("emittedError"), p = /* @__PURE__ */ Symbol("closed"), g = /* @__PURE__ */ Symbol("read"), m = /* @__PURE__ */ Symbol("flush"), v = /* @__PURE__ */ Symbol("flushChunk"), _ = /* @__PURE__ */ Symbol("encoding"), E = /* @__PURE__ */ Symbol("decoder"), S = /* @__PURE__ */ Symbol("flowing"), w = /* @__PURE__ */ Symbol("paused"), b = /* @__PURE__ */ Symbol("resume"), A = /* @__PURE__ */ Symbol("buffer"), D = /* @__PURE__ */ Symbol("pipes"), C = /* @__PURE__ */ Symbol("bufferLength"), O = /* @__PURE__ */ Symbol("bufferPush"), I = /* @__PURE__ */ Symbol("bufferShift"), x = /* @__PURE__ */ Symbol("objectMode"), F = /* @__PURE__ */ Symbol("destroyed"), q = /* @__PURE__ */ Symbol("error"), K = /* @__PURE__ */ Symbol("emitData"), M = /* @__PURE__ */ Symbol("emitEnd"), N = /* @__PURE__ */ Symbol("emitEnd2"), L = /* @__PURE__ */ Symbol("async"), te = /* @__PURE__ */ Symbol("abort"), H = /* @__PURE__ */ Symbol("aborted"), j = /* @__PURE__ */ Symbol("signal"), P = /* @__PURE__ */ Symbol("dataListeners"), k = /* @__PURE__ */ Symbol("discarded"), U = (B) => Promise.resolve().then(B), Q = (B) => B(), ue = (B) => B === "end" || B === "finish" || B === "prefinish", me = (B) => B instanceof ArrayBuffer || !!B && typeof B == "object" && B.constructor && B.constructor.name === "ArrayBuffer" && B.byteLength >= 0, we = (B) => !Buffer.isBuffer(B) && ArrayBuffer.isView(B), Z = class {
    src;
    dest;
    opts;
    ondrain;
    constructor(B, W, ae) {
      this.src = B, this.dest = W, this.opts = ae, this.ondrain = () => B[b](), this.dest.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    /* c8 ignore start */
    proxyErrors(B) {
    }
    /* c8 ignore stop */
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, G = class extends Z {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(B, W, ae) {
      super(B, W, ae), this.proxyErrors = (Re) => this.dest.emit("error", Re), B.on("error", this.proxyErrors);
    }
  }, Y = (B) => !!B.objectMode, ne = (B) => !B.objectMode && !!B.encoding && B.encoding !== "buffer", le = class extends i.EventEmitter {
    [S] = !1;
    [w] = !1;
    [D] = [];
    [A] = [];
    [x];
    [_];
    [L];
    [E];
    [o] = !1;
    [a] = !1;
    [l] = !1;
    [p] = !1;
    [f] = null;
    [C] = 0;
    [F] = !1;
    [j];
    [H] = !1;
    [P] = 0;
    [k] = !1;
    writable = !0;
    readable = !0;
    constructor(...B) {
      const W = B[0] || {};
      if (super(), W.objectMode && typeof W.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
      Y(W) ? (this[x] = !0, this[_] = null) : ne(W) ? (this[_] = W.encoding, this[x] = !1) : (this[x] = !1, this[_] = null), this[L] = !!W.async, this[E] = this[_] ? new d.StringDecoder(this[_]) : null, W && W.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[A] }), W && W.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[D] });
      const { signal: ae } = W;
      ae && (this[j] = ae, ae.aborted ? this[te]() : ae.addEventListener("abort", () => this[te]()));
    }
    get bufferLength() {
      return this[C];
    }
    get encoding() {
      return this[_];
    }
    set encoding(B) {
      throw new Error("Encoding must be set at instantiation time");
    }
    setEncoding(B) {
      throw new Error("Encoding must be set at instantiation time");
    }
    get objectMode() {
      return this[x];
    }
    set objectMode(B) {
      throw new Error("objectMode must be set at instantiation time");
    }
    get async() {
      return this[L];
    }
    set async(B) {
      this[L] = this[L] || !!B;
    }
    [te]() {
      this[H] = !0, this.emit("abort", this[j]?.reason), this.destroy(this[j]?.reason);
    }
    get aborted() {
      return this[H];
    }
    set aborted(B) {
    }
    write(B, W, ae) {
      if (this[H]) return !1;
      if (this[o]) throw new Error("write after end");
      if (this[F])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof W == "function" && (ae = W, W = "utf8"), W || (W = "utf8");
      const Re = this[L] ? U : Q;
      if (!this[x] && !Buffer.isBuffer(B)) {
        if (we(B)) B = Buffer.from(B.buffer, B.byteOffset, B.byteLength);
        else if (me(B)) B = Buffer.from(B);
        else if (typeof B != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
      }
      return this[x] ? (this[S] && this[C] !== 0 && this[m](!0), this[S] ? this.emit("data", B) : this[O](B), this[C] !== 0 && this.emit("readable"), ae && Re(ae), this[S]) : B.length ? (typeof B == "string" && !(W === this[_] && !this[E]?.lastNeed) && (B = Buffer.from(B, W)), Buffer.isBuffer(B) && this[_] && (B = this[E].write(B)), this[S] && this[C] !== 0 && this[m](!0), this[S] ? this.emit("data", B) : this[O](B), this[C] !== 0 && this.emit("readable"), ae && Re(ae), this[S]) : (this[C] !== 0 && this.emit("readable"), ae && Re(ae), this[S]);
    }
    read(B) {
      if (this[F]) return null;
      if (this[k] = !1, this[C] === 0 || B === 0 || B && B > this[C])
        return this[h](), null;
      this[x] && (B = null), this[A].length > 1 && !this[x] && (this[A] = [this[_] ? this[A].join("") : Buffer.concat(this[A], this[C])]);
      const W = this[g](B || null, this[A][0]);
      return this[h](), W;
    }
    [g](B, W) {
      if (this[x]) this[I]();
      else {
        const ae = W;
        B === ae.length || B === null ? this[I]() : typeof ae == "string" ? (this[A][0] = ae.slice(B), W = ae.slice(0, B), this[C] -= B) : (this[A][0] = ae.subarray(B), W = ae.subarray(0, B), this[C] -= B);
      }
      return this.emit("data", W), !this[A].length && !this[o] && this.emit("drain"), W;
    }
    end(B, W, ae) {
      return typeof B == "function" && (ae = B, B = void 0), typeof W == "function" && (ae = W, W = "utf8"), B !== void 0 && this.write(B, W), ae && this.once("end", ae), this[o] = !0, this.writable = !1, (this[S] || !this[w]) && this[h](), this;
    }
    [b]() {
      this[F] || (!this[P] && !this[D].length && (this[k] = !0), this[w] = !1, this[S] = !0, this.emit("resume"), this[A].length ? this[m]() : this[o] ? this[h]() : this.emit("drain"));
    }
    resume() {
      return this[b]();
    }
    pause() {
      this[S] = !1, this[w] = !0, this[k] = !1;
    }
    get destroyed() {
      return this[F];
    }
    get flowing() {
      return this[S];
    }
    get paused() {
      return this[w];
    }
    [O](B) {
      this[x] ? this[C] += 1 : this[C] += B.length, this[A].push(B);
    }
    [I]() {
      return this[x] ? this[C] -= 1 : this[C] -= this[A][0].length, this[A].shift();
    }
    [m](B = !1) {
      do
        ;
      while (this[v](this[I]()) && this[A].length);
      !B && !this[A].length && !this[o] && this.emit("drain");
    }
    [v](B) {
      return this.emit("data", B), this[S];
    }
    pipe(B, W) {
      if (this[F]) return B;
      this[k] = !1;
      const ae = this[a];
      return W = W || {}, B === r.stdout || B === r.stderr ? W.end = !1 : W.end = W.end !== !1, W.proxyErrors = !!W.proxyErrors, ae ? W.end && B.end() : (this[D].push(W.proxyErrors ? new G(this, B, W) : new Z(this, B, W)), this[L] ? U(() => this[b]()) : this[b]()), B;
    }
    unpipe(B) {
      const W = this[D].find((ae) => ae.dest === B);
      W && (this[D].length === 1 ? (this[S] && this[P] === 0 && (this[S] = !1), this[D] = []) : this[D].splice(this[D].indexOf(W), 1), W.unpipe());
    }
    addListener(B, W) {
      return this.on(B, W);
    }
    on(B, W) {
      const ae = super.on(B, W);
      if (B === "data")
        this[k] = !1, this[P]++, !this[D].length && !this[S] && this[b]();
      else if (B === "readable" && this[C] !== 0) super.emit("readable");
      else if (ue(B) && this[a])
        super.emit(B), this.removeAllListeners(B);
      else if (B === "error" && this[f]) {
        const Re = W;
        this[L] ? U(() => Re.call(this, this[f])) : Re.call(this, this[f]);
      }
      return ae;
    }
    removeListener(B, W) {
      return this.off(B, W);
    }
    off(B, W) {
      const ae = super.off(B, W);
      return B === "data" && (this[P] = this.listeners("data").length, this[P] === 0 && !this[k] && !this[D].length && (this[S] = !1)), ae;
    }
    removeAllListeners(B) {
      const W = super.removeAllListeners(B);
      return (B === "data" || B === void 0) && (this[P] = 0, !this[k] && !this[D].length && (this[S] = !1)), W;
    }
    get emittedEnd() {
      return this[a];
    }
    [h]() {
      !this[l] && !this[a] && !this[F] && this[A].length === 0 && this[o] && (this[l] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[p] && this.emit("close"), this[l] = !1);
    }
    emit(B, ...W) {
      const ae = W[0];
      if (B !== "error" && B !== "close" && B !== F && this[F]) return !1;
      if (B === "data") return !this[x] && !ae ? !1 : this[L] ? (U(() => this[K](ae)), !0) : this[K](ae);
      if (B === "end") return this[M]();
      if (B === "close") {
        if (this[p] = !0, !this[a] && !this[F]) return !1;
        const Oe = super.emit("close");
        return this.removeAllListeners("close"), Oe;
      } else if (B === "error") {
        this[f] = ae, super.emit(q, ae);
        const Oe = !this[j] || this.listeners("error").length ? super.emit("error", ae) : !1;
        return this[h](), Oe;
      } else if (B === "resume") {
        const Oe = super.emit("resume");
        return this[h](), Oe;
      } else if (B === "finish" || B === "prefinish") {
        const Oe = super.emit(B);
        return this.removeAllListeners(B), Oe;
      }
      const Re = super.emit(B, ...W);
      return this[h](), Re;
    }
    [K](B) {
      for (const ae of this[D]) ae.dest.write(B) === !1 && this.pause();
      const W = this[k] ? !1 : super.emit("data", B);
      return this[h](), W;
    }
    [M]() {
      return this[a] ? !1 : (this[a] = !0, this.readable = !1, this[L] ? (U(() => this[N]()), !0) : this[N]());
    }
    [N]() {
      if (this[E]) {
        const W = this[E].end();
        if (W) {
          for (const ae of this[D]) ae.dest.write(W);
          this[k] || super.emit("data", W);
        }
      }
      for (const W of this[D]) W.end();
      const B = super.emit("end");
      return this.removeAllListeners("end"), B;
    }
    async collect() {
      const B = Object.assign([], { dataLength: 0 });
      this[x] || (B.dataLength = 0);
      const W = this.promise();
      return this.on("data", (ae) => {
        B.push(ae), this[x] || (B.dataLength += ae.length);
      }), await W, B;
    }
    async concat() {
      if (this[x]) throw new Error("cannot concat in objectMode");
      const B = await this.collect();
      return this[_] ? B.join("") : Buffer.concat(B, B.dataLength);
    }
    async promise() {
      return new Promise((B, W) => {
        this.on(F, () => W(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (ae) => W(ae)), this.on("end", () => B());
      });
    }
    [Symbol.asyncIterator]() {
      this[k] = !1;
      let B = !1;
      const W = async () => (this.pause(), B = !0, {
        value: void 0,
        done: !0
      });
      return {
        next: () => {
          if (B) return W();
          const Re = this.read();
          if (Re !== null) return Promise.resolve({
            done: !1,
            value: Re
          });
          if (this[o]) return W();
          let Oe, Ee;
          const xe = (Pe) => {
            this.off("data", Ne), this.off("end", Me), this.off(F, Ce), W(), Ee(Pe);
          }, Ne = (Pe) => {
            this.off("error", xe), this.off("end", Me), this.off(F, Ce), this.pause(), Oe({
              value: Pe,
              done: !!this[o]
            });
          }, Me = () => {
            this.off("error", xe), this.off("data", Ne), this.off(F, Ce), W(), Oe({
              done: !0,
              value: void 0
            });
          }, Ce = () => xe(/* @__PURE__ */ new Error("stream destroyed"));
          return new Promise((Pe, Ae) => {
            Ee = Ae, Oe = Pe, this.once(F, Ce), this.once("error", xe), this.once("end", Me), this.once("data", Ne);
          });
        },
        throw: W,
        return: W,
        [Symbol.asyncIterator]() {
          return this;
        },
        [Symbol.asyncDispose]: async () => {
        }
      };
    }
    [Symbol.iterator]() {
      this[k] = !1;
      let B = !1;
      const W = () => (this.pause(), this.off(q, W), this.off(F, W), this.off("end", W), B = !0, {
        done: !0,
        value: void 0
      }), ae = () => {
        if (B) return W();
        const Re = this.read();
        return Re === null ? W() : {
          done: !1,
          value: Re
        };
      };
      return this.once("end", W), this.once(q, W), this.once(F, W), {
        next: ae,
        throw: W,
        return: W,
        [Symbol.iterator]() {
          return this;
        },
        [Symbol.dispose]: () => {
        }
      };
    }
    destroy(B) {
      if (this[F])
        return B ? this.emit("error", B) : this.emit(F), this;
      this[F] = !0, this[k] = !0, this[A].length = 0, this[C] = 0;
      const W = this;
      return typeof W.close == "function" && !this[p] && W.close(), B ? this.emit("error", B) : this.emit(F), this;
    }
    static get isStream() {
      return e.isStream;
    }
  };
  e.Minipass = le;
})), Tc = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(i) {
    return i && i.__esModule ? i : { default: i };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.constants = void 0;
  var r = t(be("zlib")).default.constants || { ZLIB_VERNUM: 4736 };
  e.constants = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), {
    Z_NO_FLUSH: 0,
    Z_PARTIAL_FLUSH: 1,
    Z_SYNC_FLUSH: 2,
    Z_FULL_FLUSH: 3,
    Z_FINISH: 4,
    Z_BLOCK: 5,
    Z_OK: 0,
    Z_STREAM_END: 1,
    Z_NEED_DICT: 2,
    Z_ERRNO: -1,
    Z_STREAM_ERROR: -2,
    Z_DATA_ERROR: -3,
    Z_MEM_ERROR: -4,
    Z_BUF_ERROR: -5,
    Z_VERSION_ERROR: -6,
    Z_NO_COMPRESSION: 0,
    Z_BEST_SPEED: 1,
    Z_BEST_COMPRESSION: 9,
    Z_DEFAULT_COMPRESSION: -1,
    Z_FILTERED: 1,
    Z_HUFFMAN_ONLY: 2,
    Z_RLE: 3,
    Z_FIXED: 4,
    Z_DEFAULT_STRATEGY: 0,
    DEFLATE: 1,
    INFLATE: 2,
    GZIP: 3,
    GUNZIP: 4,
    DEFLATERAW: 5,
    INFLATERAW: 6,
    UNZIP: 7,
    BROTLI_DECODE: 8,
    BROTLI_ENCODE: 9,
    Z_MIN_WINDOWBITS: 8,
    Z_MAX_WINDOWBITS: 15,
    Z_DEFAULT_WINDOWBITS: 15,
    Z_MIN_CHUNK: 64,
    Z_MAX_CHUNK: 1 / 0,
    Z_DEFAULT_CHUNK: 16384,
    Z_MIN_MEMLEVEL: 1,
    Z_MAX_MEMLEVEL: 9,
    Z_DEFAULT_MEMLEVEL: 8,
    Z_MIN_LEVEL: -1,
    Z_MAX_LEVEL: 9,
    Z_DEFAULT_LEVEL: -1,
    BROTLI_OPERATION_PROCESS: 0,
    BROTLI_OPERATION_FLUSH: 1,
    BROTLI_OPERATION_FINISH: 2,
    BROTLI_OPERATION_EMIT_METADATA: 3,
    BROTLI_MODE_GENERIC: 0,
    BROTLI_MODE_TEXT: 1,
    BROTLI_MODE_FONT: 2,
    BROTLI_DEFAULT_MODE: 0,
    BROTLI_MIN_QUALITY: 0,
    BROTLI_MAX_QUALITY: 11,
    BROTLI_DEFAULT_QUALITY: 11,
    BROTLI_MIN_WINDOW_BITS: 10,
    BROTLI_MAX_WINDOW_BITS: 24,
    BROTLI_LARGE_MAX_WINDOW_BITS: 30,
    BROTLI_DEFAULT_WINDOW: 22,
    BROTLI_MIN_INPUT_BLOCK_BITS: 16,
    BROTLI_MAX_INPUT_BLOCK_BITS: 24,
    BROTLI_PARAM_MODE: 0,
    BROTLI_PARAM_QUALITY: 1,
    BROTLI_PARAM_LGWIN: 2,
    BROTLI_PARAM_LGBLOCK: 3,
    BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4,
    BROTLI_PARAM_SIZE_HINT: 5,
    BROTLI_PARAM_LARGE_WINDOW: 6,
    BROTLI_PARAM_NPOSTFIX: 7,
    BROTLI_PARAM_NDIRECT: 8,
    BROTLI_DECODER_RESULT_ERROR: 0,
    BROTLI_DECODER_RESULT_SUCCESS: 1,
    BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2,
    BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3,
    BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0,
    BROTLI_DECODER_PARAM_LARGE_WINDOW: 1,
    BROTLI_DECODER_NO_ERROR: 0,
    BROTLI_DECODER_SUCCESS: 1,
    BROTLI_DECODER_NEEDS_MORE_INPUT: 2,
    BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3,
    BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1,
    BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2,
    BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3,
    BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4,
    BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5,
    BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6,
    BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7,
    BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8,
    BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9,
    BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10,
    BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11,
    BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12,
    BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13,
    BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14,
    BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15,
    BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16,
    BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19,
    BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20,
    BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21,
    BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22,
    BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25,
    BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26,
    BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27,
    BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30,
    BROTLI_DECODER_ERROR_UNREACHABLE: -31
  }, r));
})), vh = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(N, L, te, H) {
    H === void 0 && (H = te);
    var j = Object.getOwnPropertyDescriptor(L, te);
    (!j || ("get" in j ? !L.__esModule : j.writable || j.configurable)) && (j = {
      enumerable: !0,
      get: function() {
        return L[te];
      }
    }), Object.defineProperty(N, H, j);
  }) : (function(N, L, te, H) {
    H === void 0 && (H = te), N[H] = L[te];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(N, L) {
    Object.defineProperty(N, "default", {
      enumerable: !0,
      value: L
    });
  }) : function(N, L) {
    N.default = L;
  }), i = e && e.__importStar || /* @__PURE__ */ (function() {
    var N = function(L) {
      return N = Object.getOwnPropertyNames || function(te) {
        var H = [];
        for (var j in te) Object.prototype.hasOwnProperty.call(te, j) && (H[H.length] = j);
        return H;
      }, N(L);
    };
    return function(L) {
      if (L && L.__esModule) return L;
      var te = {};
      if (L != null)
        for (var H = N(L), j = 0; j < H.length; j++) H[j] !== "default" && t(te, L, H[j]);
      return r(te, L), te;
    };
  })(), s = e && e.__importDefault || function(N) {
    return N && N.__esModule ? N : { default: N };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ZstdDecompress = e.ZstdCompress = e.BrotliDecompress = e.BrotliCompress = e.Unzip = e.InflateRaw = e.DeflateRaw = e.Gunzip = e.Gzip = e.Inflate = e.Deflate = e.Zlib = e.ZlibError = e.constants = void 0;
  var d = s(be("assert")), c = be("buffer"), n = St(), u = i(be("zlib")), o = Tc(), h = Tc();
  Object.defineProperty(e, "constants", {
    enumerable: !0,
    get: function() {
      return h.constants;
    }
  });
  var a = c.Buffer.concat, l = Object.getOwnPropertyDescriptor(c.Buffer, "concat"), f = (N) => N, p = l?.writable === !0 || l?.set !== void 0 ? (N) => {
    c.Buffer.concat = N ? f : a;
  } : (N) => {
  }, g = /* @__PURE__ */ Symbol("_superWrite"), m = class extends Error {
    code;
    errno;
    constructor(N, L) {
      super("zlib: " + N.message, { cause: N }), this.code = N.code, this.errno = N.errno, this.code || (this.code = "ZLIB_ERROR"), this.message = "zlib: " + N.message, Error.captureStackTrace(this, L ?? this.constructor);
    }
    get name() {
      return "ZlibError";
    }
  };
  e.ZlibError = m;
  var v = /* @__PURE__ */ Symbol("flushFlag"), _ = class extends n.Minipass {
    #e = !1;
    #t = !1;
    #r;
    #n;
    #s;
    #c;
    #f;
    get sawError() {
      return this.#e;
    }
    get handle() {
      return this.#c;
    }
    /* c8 ignore start */
    get flushFlag() {
      return this.#r;
    }
    /* c8 ignore stop */
    constructor(N, L) {
      if (!N || typeof N != "object") throw new TypeError("invalid options for ZlibBase constructor");
      if (super(N), this.#r = N.flush ?? 0, this.#n = N.finishFlush ?? 0, this.#s = N.fullFlushFlag ?? 0, typeof u[L] != "function") throw new TypeError("Compression method not supported: " + L);
      try {
        this.#c = new u[L](N);
      } catch (te) {
        throw new m(te, this.constructor);
      }
      this.#f = (te) => {
        this.#e || (this.#e = !0, this.close(), this.emit("error", te));
      }, this.#c?.on("error", (te) => this.#f(new m(te))), this.once("end", () => this.close);
    }
    close() {
      this.#c && (this.#c.close(), this.#c = void 0, this.emit("close"));
    }
    reset() {
      if (!this.#e)
        return (0, d.default)(this.#c, "zlib binding closed"), this.#c.reset?.();
    }
    flush(N) {
      this.ended || (typeof N != "number" && (N = this.#s), this.write(Object.assign(c.Buffer.alloc(0), { [v]: N })));
    }
    end(N, L, te) {
      return typeof N == "function" && (te = N, L = void 0, N = void 0), typeof L == "function" && (te = L, L = void 0), N && (L ? this.write(N, L) : this.write(N)), this.flush(this.#n), this.#t = !0, super.end(te);
    }
    get ended() {
      return this.#t;
    }
    [g](N) {
      return super.write(N);
    }
    write(N, L, te) {
      if (typeof L == "function" && (te = L, L = "utf8"), typeof N == "string" && (N = c.Buffer.from(N, L)), this.#e) return;
      (0, d.default)(this.#c, "zlib binding closed");
      const H = this.#c._handle, j = H.close;
      H.close = () => {
      };
      const P = this.#c.close;
      this.#c.close = () => {
      }, p(!0);
      let k;
      try {
        const Q = typeof N[v] == "number" ? N[v] : this.#r;
        k = this.#c._processChunk(N, Q), p(!1);
      } catch (Q) {
        p(!1), this.#f(new m(Q, this.write));
      } finally {
        this.#c && (this.#c._handle = H, H.close = j, this.#c.close = P, this.#c.removeAllListeners("error"));
      }
      this.#c && this.#c.on("error", (Q) => this.#f(new m(Q, this.write)));
      let U;
      if (k) if (Array.isArray(k) && k.length > 0) {
        const Q = k[0];
        U = this[g](c.Buffer.from(Q));
        for (let ue = 1; ue < k.length; ue++) U = this[g](k[ue]);
      } else U = this[g](c.Buffer.from(k));
      return te && te(), U;
    }
  }, E = class extends _ {
    #e;
    #t;
    constructor(N, L) {
      N = N || {}, N.flush = N.flush || o.constants.Z_NO_FLUSH, N.finishFlush = N.finishFlush || o.constants.Z_FINISH, N.fullFlushFlag = o.constants.Z_FULL_FLUSH, super(N, L), this.#e = N.level, this.#t = N.strategy;
    }
    params(N, L) {
      if (!this.sawError) {
        if (!this.handle) throw new Error("cannot switch params when binding is closed");
        if (!this.handle.params) throw new Error("not supported in this implementation");
        if (this.#e !== N || this.#t !== L) {
          this.flush(o.constants.Z_SYNC_FLUSH), (0, d.default)(this.handle, "zlib binding closed");
          const te = this.handle.flush;
          this.handle.flush = (H, j) => {
            typeof H == "function" && (j = H, H = this.flushFlag), this.flush(H), j?.();
          };
          try {
            this.handle.params(N, L);
          } finally {
            this.handle.flush = te;
          }
          this.handle && (this.#e = N, this.#t = L);
        }
      }
    }
  };
  e.Zlib = E;
  var S = class extends E {
    constructor(N) {
      super(N, "Deflate");
    }
  };
  e.Deflate = S;
  var w = class extends E {
    constructor(N) {
      super(N, "Inflate");
    }
  };
  e.Inflate = w;
  var b = class extends E {
    #e;
    constructor(N) {
      super(N, "Gzip"), this.#e = N && !!N.portable;
    }
    [g](N) {
      return this.#e ? (this.#e = !1, N[9] = 255, super[g](N)) : super[g](N);
    }
  };
  e.Gzip = b;
  var A = class extends E {
    constructor(N) {
      super(N, "Gunzip");
    }
  };
  e.Gunzip = A;
  var D = class extends E {
    constructor(N) {
      super(N, "DeflateRaw");
    }
  };
  e.DeflateRaw = D;
  var C = class extends E {
    constructor(N) {
      super(N, "InflateRaw");
    }
  };
  e.InflateRaw = C;
  var O = class extends E {
    constructor(N) {
      super(N, "Unzip");
    }
  };
  e.Unzip = O;
  var I = class extends _ {
    constructor(N, L) {
      N = N || {}, N.flush = N.flush || o.constants.BROTLI_OPERATION_PROCESS, N.finishFlush = N.finishFlush || o.constants.BROTLI_OPERATION_FINISH, N.fullFlushFlag = o.constants.BROTLI_OPERATION_FLUSH, super(N, L);
    }
  }, x = class extends I {
    constructor(N) {
      super(N, "BrotliCompress");
    }
  };
  e.BrotliCompress = x;
  var F = class extends I {
    constructor(N) {
      super(N, "BrotliDecompress");
    }
  };
  e.BrotliDecompress = F;
  var q = class extends _ {
    constructor(N, L) {
      N = N || {}, N.flush = N.flush || o.constants.ZSTD_e_continue, N.finishFlush = N.finishFlush || o.constants.ZSTD_e_end, N.fullFlushFlag = o.constants.ZSTD_e_flush, super(N, L);
    }
  }, K = class extends q {
    constructor(N) {
      super(N, "ZstdCompress");
    }
  };
  e.ZstdCompress = K;
  var M = class extends q {
    constructor(N) {
      super(N, "ZstdDecompress");
    }
  };
  e.ZstdDecompress = M;
})), Tb = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MinipassSized = e.SizeError = void 0;
  var t = St(), r = (d) => typeof d == "string", i = class extends Error {
    expect;
    found;
    code = "EBADSIZE";
    constructor(d, c, n) {
      super(`Bad data size: expected ${c} bytes, but got ${d}`), this.expect = c, this.found = d, Error.captureStackTrace(this, n ?? this.constructor);
    }
    get name() {
      return "SizeError";
    }
  };
  e.SizeError = i;
  var s = class extends t.Minipass {
    found = 0;
    expect;
    constructor(d) {
      const c = d?.size;
      if (typeof c != "number" || c > Number.MAX_SAFE_INTEGER || isNaN(c) || c < 0 || !isFinite(c) || c !== Math.floor(c)) throw new Error("invalid expected size: " + c);
      if (super(d), d.objectMode) throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`);
      this.expect = c;
    }
    write(d, c, n) {
      const u = Buffer.isBuffer(d) ? d : typeof d == "string" ? Buffer.from(d, r(c) ? c : "utf8") : d;
      return typeof c == "function" && (n = c, c = null), Buffer.isBuffer(u) ? (this.found += u.length, this.found > this.expect && this.emit("error", new i(this.found, this.expect)), super.write(d, c, n)) : (this.emit("error", /* @__PURE__ */ new TypeError(`${this.constructor.name} streams only work with string and buffer data`)), !1);
    }
    emit(d, ...c) {
      return d === "end" && this.found !== this.expect && this.emit("error", new i(this.found, this.expect, this.emit)), super.emit(d, ...c);
    }
  };
  e.MinipassSized = s;
})), Db = /* @__PURE__ */ z(((e, t) => {
  var { Minipass: r } = St(), i = /* @__PURE__ */ Symbol("type"), s = /* @__PURE__ */ Symbol("buffer"), d = class Xs {
    constructor(n, u) {
      this[i] = "";
      const o = [];
      let h = 0;
      if (n) {
        const l = n, f = Number(l.length);
        for (let p = 0; p < f; p++) {
          const g = l[p], m = g instanceof Buffer ? g : ArrayBuffer.isView(g) ? Buffer.from(g.buffer, g.byteOffset, g.byteLength) : g instanceof ArrayBuffer ? Buffer.from(g) : g instanceof Xs ? g[s] : typeof g == "string" ? Buffer.from(g) : Buffer.from(String(g));
          h += m.length, o.push(m);
        }
      }
      this[s] = Buffer.concat(o, h);
      const a = u && u.type !== void 0 && String(u.type).toLowerCase();
      a && !/[^\u0020-\u007E]/.test(a) && (this[i] = a);
    }
    get size() {
      return this[s].length;
    }
    get type() {
      return this[i];
    }
    text() {
      return Promise.resolve(this[s].toString());
    }
    arrayBuffer() {
      const n = this[s], u = n.byteOffset, o = n.byteLength, h = n.buffer.slice(u, u + o);
      return Promise.resolve(h);
    }
    stream() {
      return new r().end(this[s]);
    }
    slice(n, u, o) {
      const h = this.size, a = n === void 0 ? 0 : n < 0 ? Math.max(h + n, 0) : Math.min(n, h), l = u === void 0 ? h : u < 0 ? Math.max(h + u, 0) : Math.min(u, h), f = Math.max(l - a, 0), p = this[s].slice(a, a + f), g = new Xs([], { type: o });
      return g[s] = p, g;
    }
    get [Symbol.toStringTag]() {
      return "Blob";
    }
    static get BUFFER() {
      return s;
    }
  };
  Object.defineProperties(d.prototype, {
    size: { enumerable: !0 },
    type: { enumerable: !0 }
  }), t.exports = d;
})), yh = /* @__PURE__ */ z(((e, t) => {
  var r = class extends Error {
    constructor(i, s, d) {
      super(i), this.code = "FETCH_ERROR", d && Object.assign(this, d), this.errno = this.code, this.type = this.code === "EBADSIZE" && this.found > this.expect ? "max-size" : s, this.message = i, Error.captureStackTrace(this, this.constructor);
    }
    get name() {
      return "FetchError";
    }
    set name(i) {
    }
    get [Symbol.toStringTag]() {
      return "FetchError";
    }
  };
  t.exports = r;
})), ar = /* @__PURE__ */ z(((e, t) => {
  var r = be("buffer"), i = r.Buffer, s = {}, d;
  for (d in r)
    r.hasOwnProperty(d) && (d === "SlowBuffer" || d === "Buffer" || (s[d] = r[d]));
  var c = s.Buffer = {};
  for (d in i)
    i.hasOwnProperty(d) && (d === "allocUnsafe" || d === "allocUnsafeSlow" || (c[d] = i[d]));
  if (s.Buffer.prototype = i.prototype, (!c.from || c.from === Uint8Array.from) && (c.from = function(n, u, o) {
    if (typeof n == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof n);
    if (n && typeof n.length > "u") throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof n);
    return i(n, u, o);
  }), c.alloc || (c.alloc = function(n, u, o) {
    if (typeof n != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof n);
    if (n < 0 || n >= 2 * (1 << 30)) throw new RangeError('The value "' + n + '" is invalid for option "size"');
    var h = i(n);
    return !u || u.length === 0 ? h.fill(0) : typeof o == "string" ? h.fill(u, o) : h.fill(u), h;
  }), !s.kStringMaxLength) try {
    s.kStringMaxLength = process.binding("buffer").kStringMaxLength;
  } catch {
  }
  s.constants || (s.constants = { MAX_LENGTH: s.kMaxLength }, s.kStringMaxLength && (s.constants.MAX_STRING_LENGTH = s.kStringMaxLength)), t.exports = s;
})), Rb = /* @__PURE__ */ z(((e) => {
  var t = "\uFEFF";
  e.PrependBOM = r;
  function r(s, d) {
    this.encoder = s, this.addBOM = !0;
  }
  r.prototype.write = function(s) {
    return this.addBOM && (s = t + s, this.addBOM = !1), this.encoder.write(s);
  }, r.prototype.end = function() {
    return this.encoder.end();
  }, e.StripBOM = i;
  function i(s, d) {
    this.decoder = s, this.pass = !1, this.options = d || {};
  }
  i.prototype.write = function(s) {
    var d = this.decoder.write(s);
    return this.pass || !d || (d[0] === t && (d = d.slice(1), typeof this.options.stripBOM == "function" && this.options.stripBOM()), this.pass = !0), d;
  }, i.prototype.end = function() {
    return this.decoder.end();
  };
})), _h = /* @__PURE__ */ z(((e, t) => {
  var r = typeof Object.hasOwn > "u" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
  function i(s, d) {
    for (var c in d) r(d, c) && (s[c] = d[c]);
  }
  t.exports = i;
})), Ob = /* @__PURE__ */ z(((e, t) => {
  var r = ar().Buffer;
  t.exports = {
    utf8: {
      type: "_internal",
      bomAware: !0
    },
    cesu8: {
      type: "_internal",
      bomAware: !0
    },
    unicode11utf8: "utf8",
    ucs2: {
      type: "_internal",
      bomAware: !0
    },
    utf16le: "ucs2",
    binary: { type: "_internal" },
    base64: { type: "_internal" },
    hex: { type: "_internal" },
    _internal: i
  };
  function i(a, l) {
    this.enc = a.encodingName, this.bomAware = a.bomAware, this.enc === "base64" ? this.encoder = n : this.enc === "utf8" ? this.encoder = h : this.enc === "cesu8" && (this.enc = "utf8", this.encoder = u, r.from("eda0bdedb2a9", "hex").toString() !== "💩" && (this.decoder = o, this.defaultCharUnicode = l.defaultCharUnicode));
  }
  i.prototype.encoder = c, i.prototype.decoder = d;
  var s = be("string_decoder").StringDecoder;
  function d(a, l) {
    this.decoder = new s(l.enc);
  }
  d.prototype.write = function(a) {
    return r.isBuffer(a) || (a = r.from(a)), this.decoder.write(a);
  }, d.prototype.end = function() {
    return this.decoder.end();
  };
  function c(a, l) {
    this.enc = l.enc;
  }
  c.prototype.write = function(a) {
    return r.from(a, this.enc);
  }, c.prototype.end = function() {
  };
  function n(a, l) {
    this.prevStr = "";
  }
  n.prototype.write = function(a) {
    a = this.prevStr + a;
    var l = a.length - a.length % 4;
    return this.prevStr = a.slice(l), a = a.slice(0, l), r.from(a, "base64");
  }, n.prototype.end = function() {
    return r.from(this.prevStr, "base64");
  };
  function u(a, l) {
  }
  u.prototype.write = function(a) {
    for (var l = r.alloc(a.length * 3), f = 0, p = 0; p < a.length; p++) {
      var g = a.charCodeAt(p);
      g < 128 ? l[f++] = g : g < 2048 ? (l[f++] = 192 + (g >>> 6), l[f++] = 128 + (g & 63)) : (l[f++] = 224 + (g >>> 12), l[f++] = 128 + (g >>> 6 & 63), l[f++] = 128 + (g & 63));
    }
    return l.slice(0, f);
  }, u.prototype.end = function() {
  };
  function o(a, l) {
    this.acc = 0, this.contBytes = 0, this.accBytes = 0, this.defaultCharUnicode = l.defaultCharUnicode;
  }
  o.prototype.write = function(a) {
    for (var l = this.acc, f = this.contBytes, p = this.accBytes, g = "", m = 0; m < a.length; m++) {
      var v = a[m];
      (v & 192) !== 128 ? (f > 0 && (g += this.defaultCharUnicode, f = 0), v < 128 ? g += String.fromCharCode(v) : v < 224 ? (l = v & 31, f = 1, p = 1) : v < 240 ? (l = v & 15, f = 2, p = 1) : g += this.defaultCharUnicode) : f > 0 ? (l = l << 6 | v & 63, f--, p++, f === 0 && (p === 2 && l < 128 && l > 0 ? g += this.defaultCharUnicode : p === 3 && l < 2048 ? g += this.defaultCharUnicode : g += String.fromCharCode(l))) : g += this.defaultCharUnicode;
    }
    return this.acc = l, this.contBytes = f, this.accBytes = p, g;
  }, o.prototype.end = function() {
    var a = 0;
    return this.contBytes > 0 && (a += this.defaultCharUnicode), a;
  };
  function h(a, l) {
    this.highSurrogate = "";
  }
  h.prototype.write = function(a) {
    if (this.highSurrogate && (a = this.highSurrogate + a, this.highSurrogate = ""), a.length > 0) {
      var l = a.charCodeAt(a.length - 1);
      l >= 55296 && l < 56320 && (this.highSurrogate = a[a.length - 1], a = a.slice(0, a.length - 1));
    }
    return r.from(a, this.enc);
  }, h.prototype.end = function() {
    if (this.highSurrogate) {
      var a = this.highSurrogate;
      return this.highSurrogate = "", r.from(a, this.enc);
    }
  };
})), Cb = /* @__PURE__ */ z(((e) => {
  var t = ar().Buffer;
  e._utf32 = r;
  function r(h, a) {
    this.iconv = a, this.bomAware = !0, this.isLE = h.isLE;
  }
  e.utf32le = {
    type: "_utf32",
    isLE: !0
  }, e.utf32be = {
    type: "_utf32",
    isLE: !1
  }, e.ucs4le = "utf32le", e.ucs4be = "utf32be", r.prototype.encoder = i, r.prototype.decoder = s;
  function i(h, a) {
    this.isLE = a.isLE, this.highSurrogate = 0;
  }
  i.prototype.write = function(h) {
    for (var a = t.from(h, "ucs2"), l = t.alloc(a.length * 2), f = this.isLE ? l.writeUInt32LE : l.writeUInt32BE, p = 0, g = 0; g < a.length; g += 2) {
      var m = a.readUInt16LE(g), v = m >= 55296 && m < 56320, _ = m >= 56320 && m < 57344;
      if (this.highSurrogate) if (v || !_)
        f.call(l, this.highSurrogate, p), p += 4;
      else {
        var E = (this.highSurrogate - 55296 << 10 | m - 56320) + 65536;
        f.call(l, E, p), p += 4, this.highSurrogate = 0;
        continue;
      }
      v ? this.highSurrogate = m : (f.call(l, m, p), p += 4, this.highSurrogate = 0);
    }
    return p < l.length && (l = l.slice(0, p)), l;
  }, i.prototype.end = function() {
    if (this.highSurrogate) {
      var h = t.alloc(4);
      return this.isLE ? h.writeUInt32LE(this.highSurrogate, 0) : h.writeUInt32BE(this.highSurrogate, 0), this.highSurrogate = 0, h;
    }
  };
  function s(h, a) {
    this.isLE = a.isLE, this.badChar = a.iconv.defaultCharUnicode.charCodeAt(0), this.overflow = [];
  }
  s.prototype.write = function(h) {
    if (h.length === 0) return "";
    var a = 0, l = 0, f = t.alloc(h.length + 4), p = 0, g = this.isLE, m = this.overflow, v = this.badChar;
    if (m.length > 0) {
      for (; a < h.length && m.length < 4; a++) m.push(h[a]);
      m.length === 4 && (g ? l = m[a] | m[a + 1] << 8 | m[a + 2] << 16 | m[a + 3] << 24 : l = m[a + 3] | m[a + 2] << 8 | m[a + 1] << 16 | m[a] << 24, m.length = 0, p = d(f, p, l, v));
    }
    for (; a < h.length - 3; a += 4)
      g ? l = h[a] | h[a + 1] << 8 | h[a + 2] << 16 | h[a + 3] << 24 : l = h[a + 3] | h[a + 2] << 8 | h[a + 1] << 16 | h[a] << 24, p = d(f, p, l, v);
    for (; a < h.length; a++) m.push(h[a]);
    return f.slice(0, p).toString("ucs2");
  };
  function d(h, a, l, f) {
    if ((l < 0 || l > 1114111) && (l = f), l >= 65536) {
      l -= 65536;
      var p = 55296 | l >> 10;
      h[a++] = p & 255, h[a++] = p >> 8;
      var l = 56320 | l & 1023;
    }
    return h[a++] = l & 255, h[a++] = l >> 8, a;
  }
  s.prototype.end = function() {
    this.overflow.length = 0;
  }, e.utf32 = c, e.ucs4 = "utf32";
  function c(h, a) {
    this.iconv = a;
  }
  c.prototype.encoder = n, c.prototype.decoder = u;
  function n(h, a) {
    h = h || {}, h.addBOM === void 0 && (h.addBOM = !0), this.encoder = a.iconv.getEncoder(h.defaultEncoding || "utf-32le", h);
  }
  n.prototype.write = function(h) {
    return this.encoder.write(h);
  }, n.prototype.end = function() {
    return this.encoder.end();
  };
  function u(h, a) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = h || {}, this.iconv = a.iconv;
  }
  u.prototype.write = function(h) {
    if (!this.decoder) {
      if (this.initialBufs.push(h), this.initialBufsLen += h.length, this.initialBufsLen < 32) return "";
      var a = o(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(a, this.options);
      for (var l = "", f = 0; f < this.initialBufs.length; f++) l += this.decoder.write(this.initialBufs[f]);
      return this.initialBufs.length = this.initialBufsLen = 0, l;
    }
    return this.decoder.write(h);
  }, u.prototype.end = function() {
    if (!this.decoder) {
      var h = o(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(h, this.options);
      for (var a = "", l = 0; l < this.initialBufs.length; l++) a += this.decoder.write(this.initialBufs[l]);
      var f = this.decoder.end();
      return f && (a += f), this.initialBufs.length = this.initialBufsLen = 0, a;
    }
    return this.decoder.end();
  };
  function o(h, a) {
    var l = [], f = 0, p = 0, g = 0, m = 0, v = 0;
    e: for (var _ = 0; _ < h.length; _++)
      for (var E = h[_], S = 0; S < E.length; S++)
        if (l.push(E[S]), l.length === 4) {
          if (f === 0) {
            if (l[0] === 255 && l[1] === 254 && l[2] === 0 && l[3] === 0) return "utf-32le";
            if (l[0] === 0 && l[1] === 0 && l[2] === 254 && l[3] === 255) return "utf-32be";
          }
          if ((l[0] !== 0 || l[1] > 16) && g++, (l[3] !== 0 || l[2] > 16) && p++, l[0] === 0 && l[1] === 0 && (l[2] !== 0 || l[3] !== 0) && v++, (l[0] !== 0 || l[1] !== 0) && l[2] === 0 && l[3] === 0 && m++, l.length = 0, f++, f >= 100) break e;
        }
    return v - g > m - p ? "utf-32be" : v - g < m - p ? "utf-32le" : a || "utf-32le";
  }
})), Ib = /* @__PURE__ */ z(((e) => {
  var t = ar().Buffer;
  e.utf16be = r;
  function r() {
  }
  r.prototype.encoder = i, r.prototype.decoder = s, r.prototype.bomAware = !0;
  function i() {
  }
  i.prototype.write = function(o) {
    for (var h = t.from(o, "ucs2"), a = 0; a < h.length; a += 2) {
      var l = h[a];
      h[a] = h[a + 1], h[a + 1] = l;
    }
    return h;
  }, i.prototype.end = function() {
  };
  function s() {
    this.overflowByte = -1;
  }
  s.prototype.write = function(o) {
    if (o.length == 0) return "";
    var h = t.alloc(o.length + 1), a = 0, l = 0;
    for (this.overflowByte !== -1 && (h[0] = o[0], h[1] = this.overflowByte, a = 1, l = 2); a < o.length - 1; a += 2, l += 2)
      h[l] = o[a + 1], h[l + 1] = o[a];
    return this.overflowByte = a == o.length - 1 ? o[o.length - 1] : -1, h.slice(0, l).toString("ucs2");
  }, s.prototype.end = function() {
    this.overflowByte = -1;
  }, e.utf16 = d;
  function d(o, h) {
    this.iconv = h;
  }
  d.prototype.encoder = c, d.prototype.decoder = n;
  function c(o, h) {
    o = o || {}, o.addBOM === void 0 && (o.addBOM = !0), this.encoder = h.iconv.getEncoder("utf-16le", o);
  }
  c.prototype.write = function(o) {
    return this.encoder.write(o);
  }, c.prototype.end = function() {
    return this.encoder.end();
  };
  function n(o, h) {
    this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = o || {}, this.iconv = h.iconv;
  }
  n.prototype.write = function(o) {
    if (!this.decoder) {
      if (this.initialBufs.push(o), this.initialBufsLen += o.length, this.initialBufsLen < 16) return "";
      var h = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(h, this.options);
      for (var a = "", l = 0; l < this.initialBufs.length; l++) a += this.decoder.write(this.initialBufs[l]);
      return this.initialBufs.length = this.initialBufsLen = 0, a;
    }
    return this.decoder.write(o);
  }, n.prototype.end = function() {
    if (!this.decoder) {
      var o = u(this.initialBufs, this.options.defaultEncoding);
      this.decoder = this.iconv.getDecoder(o, this.options);
      for (var h = "", a = 0; a < this.initialBufs.length; a++) h += this.decoder.write(this.initialBufs[a]);
      var l = this.decoder.end();
      return l && (h += l), this.initialBufs.length = this.initialBufsLen = 0, h;
    }
    return this.decoder.end();
  };
  function u(o, h) {
    var a = [], l = 0, f = 0, p = 0;
    e: for (var g = 0; g < o.length; g++)
      for (var m = o[g], v = 0; v < m.length; v++)
        if (a.push(m[v]), a.length === 2) {
          if (l === 0) {
            if (a[0] === 255 && a[1] === 254) return "utf-16le";
            if (a[0] === 254 && a[1] === 255) return "utf-16be";
          }
          if (a[0] === 0 && a[1] !== 0 && p++, a[0] !== 0 && a[1] === 0 && f++, a.length = 0, l++, l >= 100) break e;
        }
    return p > f ? "utf-16be" : p < f ? "utf-16le" : h || "utf-16le";
  }
})), kb = /* @__PURE__ */ z(((e) => {
  var t = ar().Buffer;
  e.utf7 = r, e.unicode11utf7 = "utf7";
  function r(m, v) {
    this.iconv = v;
  }
  r.prototype.encoder = s, r.prototype.decoder = d, r.prototype.bomAware = !0;
  var i = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
  function s(m, v) {
    this.iconv = v.iconv;
  }
  s.prototype.write = function(m) {
    return t.from(m.replace(i, function(v) {
      return "+" + (v === "+" ? "" : this.iconv.encode(v, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
    }.bind(this)));
  }, s.prototype.end = function() {
  };
  function d(m, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  for (var c = /[A-Za-z0-9\/+]/, n = [], u = 0; u < 256; u++) n[u] = c.test(String.fromCharCode(u));
  var o = 43, h = 45, a = 38;
  d.prototype.write = function(m) {
    for (var v = "", _ = 0, E = this.inBase64, S = this.base64Accum, w = 0; w < m.length; w++) if (!E)
      m[w] == o && (v += this.iconv.decode(m.slice(_, w), "ascii"), _ = w + 1, E = !0);
    else if (!n[m[w]]) {
      if (w == _ && m[w] == h) v += "+";
      else {
        var b = S + this.iconv.decode(m.slice(_, w), "ascii");
        v += this.iconv.decode(t.from(b, "base64"), "utf16-be");
      }
      m[w] != h && w--, _ = w + 1, E = !1, S = "";
    }
    if (!E) v += this.iconv.decode(m.slice(_), "ascii");
    else {
      var b = S + this.iconv.decode(m.slice(_), "ascii"), A = b.length - b.length % 8;
      S = b.slice(A), b = b.slice(0, A), v += this.iconv.decode(t.from(b, "base64"), "utf16-be");
    }
    return this.inBase64 = E, this.base64Accum = S, v;
  }, d.prototype.end = function() {
    var m = "";
    return this.inBase64 && this.base64Accum.length > 0 && (m = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", m;
  }, e.utf7imap = l;
  function l(m, v) {
    this.iconv = v;
  }
  l.prototype.encoder = f, l.prototype.decoder = p, l.prototype.bomAware = !0;
  function f(m, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = t.alloc(6), this.base64AccumIdx = 0;
  }
  f.prototype.write = function(m) {
    for (var v = this.inBase64, _ = this.base64Accum, E = this.base64AccumIdx, S = t.alloc(m.length * 5 + 10), w = 0, b = 0; b < m.length; b++) {
      var A = m.charCodeAt(b);
      A >= 32 && A <= 126 ? (v && (E > 0 && (w += S.write(_.slice(0, E).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), w), E = 0), S[w++] = h, v = !1), v || (S[w++] = A, A === a && (S[w++] = h))) : (v || (S[w++] = a, v = !0), v && (_[E++] = A >> 8, _[E++] = A & 255, E == _.length && (w += S.write(_.toString("base64").replace(/\//g, ","), w), E = 0)));
    }
    return this.inBase64 = v, this.base64AccumIdx = E, S.slice(0, w);
  }, f.prototype.end = function() {
    var m = t.alloc(10), v = 0;
    return this.inBase64 && (this.base64AccumIdx > 0 && (v += m.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), v), this.base64AccumIdx = 0), m[v++] = h, this.inBase64 = !1), m.slice(0, v);
  };
  function p(m, v) {
    this.iconv = v.iconv, this.inBase64 = !1, this.base64Accum = "";
  }
  var g = n.slice();
  g[44] = !0, p.prototype.write = function(m) {
    for (var v = "", _ = 0, E = this.inBase64, S = this.base64Accum, w = 0; w < m.length; w++) if (!E)
      m[w] == a && (v += this.iconv.decode(m.slice(_, w), "ascii"), _ = w + 1, E = !0);
    else if (!g[m[w]]) {
      if (w == _ && m[w] == h) v += "&";
      else {
        var b = S + this.iconv.decode(m.slice(_, w), "ascii").replace(/,/g, "/");
        v += this.iconv.decode(t.from(b, "base64"), "utf16-be");
      }
      m[w] != h && w--, _ = w + 1, E = !1, S = "";
    }
    if (!E) v += this.iconv.decode(m.slice(_), "ascii");
    else {
      var b = S + this.iconv.decode(m.slice(_), "ascii").replace(/,/g, "/"), A = b.length - b.length % 8;
      S = b.slice(A), b = b.slice(0, A), v += this.iconv.decode(t.from(b, "base64"), "utf16-be");
    }
    return this.inBase64 = E, this.base64Accum = S, v;
  }, p.prototype.end = function() {
    var m = "";
    return this.inBase64 && this.base64Accum.length > 0 && (m = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", m;
  };
})), Lb = /* @__PURE__ */ z(((e) => {
  var t = ar().Buffer;
  e._sbcs = r;
  function r(d, c) {
    if (!d) throw new Error("SBCS codec is called without the data.");
    if (!d.chars || d.chars.length !== 128 && d.chars.length !== 256) throw new Error("Encoding '" + d.type + "' has incorrect 'chars' (must be of len 128 or 256)");
    if (d.chars.length === 128) {
      for (var n = "", u = 0; u < 128; u++) n += String.fromCharCode(u);
      d.chars = n + d.chars;
    }
    this.decodeBuf = t.from(d.chars, "ucs2");
    for (var o = t.alloc(65536, c.defaultCharSingleByte.charCodeAt(0)), u = 0; u < d.chars.length; u++) o[d.chars.charCodeAt(u)] = u;
    this.encodeBuf = o;
  }
  r.prototype.encoder = i, r.prototype.decoder = s;
  function i(d, c) {
    this.encodeBuf = c.encodeBuf;
  }
  i.prototype.write = function(d) {
    for (var c = t.alloc(d.length), n = 0; n < d.length; n++) c[n] = this.encodeBuf[d.charCodeAt(n)];
    return c;
  }, i.prototype.end = function() {
  };
  function s(d, c) {
    this.decodeBuf = c.decodeBuf;
  }
  s.prototype.write = function(d) {
    for (var c = this.decodeBuf, n = t.alloc(d.length * 2), u = 0, o = 0, h = 0; h < d.length; h++)
      u = d[h] * 2, o = h * 2, n[o] = c[u], n[o + 1] = c[u + 1];
    return n.toString("ucs2");
  }, s.prototype.end = function() {
  };
})), xb = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    10029: "maccenteuro",
    maccenteuro: {
      type: "_sbcs",
      chars: "ÄĀāÉĄÖÜáąČäčĆćéŹźĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņŃ¬√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"
    },
    808: "cp808",
    ibm808: "cp808",
    cp808: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "
    },
    mik: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    cp720: {
      type: "_sbcs",
      chars: "éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "
    },
    ascii8bit: "ascii",
    usascii: "ascii",
    ansix34: "ascii",
    ansix341968: "ascii",
    ansix341986: "ascii",
    csascii: "ascii",
    cp367: "ascii",
    ibm367: "ascii",
    isoir6: "ascii",
    iso646us: "ascii",
    iso646irv: "ascii",
    us: "ascii",
    latin1: "iso88591",
    latin2: "iso88592",
    latin3: "iso88593",
    latin4: "iso88594",
    latin5: "iso88599",
    latin6: "iso885910",
    latin7: "iso885913",
    latin8: "iso885914",
    latin9: "iso885915",
    latin10: "iso885916",
    csisolatin1: "iso88591",
    csisolatin2: "iso88592",
    csisolatin3: "iso88593",
    csisolatin4: "iso88594",
    csisolatincyrillic: "iso88595",
    csisolatinarabic: "iso88596",
    csisolatingreek: "iso88597",
    csisolatinhebrew: "iso88598",
    csisolatin5: "iso88599",
    csisolatin6: "iso885910",
    l1: "iso88591",
    l2: "iso88592",
    l3: "iso88593",
    l4: "iso88594",
    l5: "iso88599",
    l6: "iso885910",
    l7: "iso885913",
    l8: "iso885914",
    l9: "iso885915",
    l10: "iso885916",
    isoir14: "iso646jp",
    isoir57: "iso646cn",
    isoir100: "iso88591",
    isoir101: "iso88592",
    isoir109: "iso88593",
    isoir110: "iso88594",
    isoir144: "iso88595",
    isoir127: "iso88596",
    isoir126: "iso88597",
    isoir138: "iso88598",
    isoir148: "iso88599",
    isoir157: "iso885910",
    isoir166: "tis620",
    isoir179: "iso885913",
    isoir199: "iso885914",
    isoir203: "iso885915",
    isoir226: "iso885916",
    cp819: "iso88591",
    ibm819: "iso88591",
    cyrillic: "iso88595",
    arabic: "iso88596",
    arabic8: "iso88596",
    ecma114: "iso88596",
    asmo708: "iso88596",
    greek: "iso88597",
    greek8: "iso88597",
    ecma118: "iso88597",
    elot928: "iso88597",
    hebrew: "iso88598",
    hebrew8: "iso88598",
    turkish: "iso88599",
    turkish8: "iso88599",
    thai: "iso885911",
    thai8: "iso885911",
    celtic: "iso885914",
    celtic8: "iso885914",
    isoceltic: "iso885914",
    tis6200: "tis620",
    tis62025291: "tis620",
    tis62025330: "tis620",
    1e4: "macroman",
    10006: "macgreek",
    10007: "maccyrillic",
    10079: "maciceland",
    10081: "macturkish",
    cspc8codepage437: "cp437",
    cspc775baltic: "cp775",
    cspc850multilingual: "cp850",
    cspcp852: "cp852",
    cspc862latinhebrew: "cp862",
    cpgr: "cp869",
    msee: "cp1250",
    mscyrl: "cp1251",
    msansi: "cp1252",
    msgreek: "cp1253",
    msturk: "cp1254",
    mshebr: "cp1255",
    msarab: "cp1256",
    winbaltrim: "cp1257",
    cp20866: "koi8r",
    20866: "koi8r",
    ibm878: "koi8r",
    cskoi8r: "koi8r",
    cp21866: "koi8u",
    21866: "koi8u",
    ibm1168: "koi8u",
    strk10482002: "rk1048",
    tcvn5712: "tcvn",
    tcvn57121: "tcvn",
    gb198880: "iso646cn",
    cn: "iso646cn",
    csiso14jisc6220ro: "iso646jp",
    jisc62201969ro: "iso646jp",
    jp: "iso646jp",
    cshproman8: "hproman8",
    r8: "hproman8",
    roman8: "hproman8",
    xroman8: "hproman8",
    ibm1051: "hproman8",
    mac: "macintosh",
    csmacintosh: "macintosh"
  };
})), $b = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    437: "cp437",
    737: "cp737",
    775: "cp775",
    850: "cp850",
    852: "cp852",
    855: "cp855",
    856: "cp856",
    857: "cp857",
    858: "cp858",
    860: "cp860",
    861: "cp861",
    862: "cp862",
    863: "cp863",
    864: "cp864",
    865: "cp865",
    866: "cp866",
    869: "cp869",
    874: "windows874",
    922: "cp922",
    1046: "cp1046",
    1124: "cp1124",
    1125: "cp1125",
    1129: "cp1129",
    1133: "cp1133",
    1161: "cp1161",
    1162: "cp1162",
    1163: "cp1163",
    1250: "windows1250",
    1251: "windows1251",
    1252: "windows1252",
    1253: "windows1253",
    1254: "windows1254",
    1255: "windows1255",
    1256: "windows1256",
    1257: "windows1257",
    1258: "windows1258",
    28591: "iso88591",
    28592: "iso88592",
    28593: "iso88593",
    28594: "iso88594",
    28595: "iso88595",
    28596: "iso88596",
    28597: "iso88597",
    28598: "iso88598",
    28599: "iso88599",
    28600: "iso885910",
    28601: "iso885911",
    28603: "iso885913",
    28604: "iso885914",
    28605: "iso885915",
    28606: "iso885916",
    windows874: {
      type: "_sbcs",
      chars: "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    win874: "windows874",
    cp874: "windows874",
    windows1250: {
      type: "_sbcs",
      chars: "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
    },
    win1250: "windows1250",
    cp1250: "windows1250",
    windows1251: {
      type: "_sbcs",
      chars: "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    win1251: "windows1251",
    cp1251: "windows1251",
    windows1252: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    win1252: "windows1252",
    cp1252: "windows1252",
    windows1253: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
    },
    win1253: "windows1253",
    cp1253: "windows1253",
    windows1254: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
    },
    win1254: "windows1254",
    cp1254: "windows1254",
    windows1255: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
    },
    win1255: "windows1255",
    cp1255: "windows1255",
    windows1256: {
      type: "_sbcs",
      chars: "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"
    },
    win1256: "windows1256",
    cp1256: "windows1256",
    windows1257: {
      type: "_sbcs",
      chars: "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"
    },
    win1257: "windows1257",
    cp1257: "windows1257",
    windows1258: {
      type: "_sbcs",
      chars: "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    win1258: "windows1258",
    cp1258: "windows1258",
    iso88591: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    cp28591: "iso88591",
    iso88592: {
      type: "_sbcs",
      chars: " Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
    },
    cp28592: "iso88592",
    iso88593: {
      type: "_sbcs",
      chars: " Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"
    },
    cp28593: "iso88593",
    iso88594: {
      type: "_sbcs",
      chars: " ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"
    },
    cp28594: "iso88594",
    iso88595: {
      type: "_sbcs",
      chars: " ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"
    },
    cp28595: "iso88595",
    iso88596: {
      type: "_sbcs",
      chars: " ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"
    },
    cp28596: "iso88596",
    iso88597: {
      type: "_sbcs",
      chars: " ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
    },
    cp28597: "iso88597",
    iso88598: {
      type: "_sbcs",
      chars: " �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
    },
    cp28598: "iso88598",
    iso88599: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
    },
    cp28599: "iso88599",
    iso885910: {
      type: "_sbcs",
      chars: " ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"
    },
    cp28600: "iso885910",
    iso885911: {
      type: "_sbcs",
      chars: " กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    cp28601: "iso885911",
    iso885913: {
      type: "_sbcs",
      chars: " ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"
    },
    cp28603: "iso885913",
    iso885914: {
      type: "_sbcs",
      chars: " Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"
    },
    cp28604: "iso885914",
    iso885915: {
      type: "_sbcs",
      chars: " ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    cp28605: "iso885915",
    iso885916: {
      type: "_sbcs",
      chars: " ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"
    },
    cp28606: "iso885916",
    cp437: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm437: "cp437",
    csibm437: "cp437",
    cp737: {
      type: "_sbcs",
      chars: "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "
    },
    ibm737: "cp737",
    csibm737: "cp737",
    cp775: {
      type: "_sbcs",
      chars: "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "
    },
    ibm775: "cp775",
    csibm775: "cp775",
    cp850: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm850: "cp850",
    csibm850: "cp850",
    cp852: {
      type: "_sbcs",
      chars: "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘę¬źČş«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "
    },
    ibm852: "cp852",
    csibm852: "cp852",
    cp855: {
      type: "_sbcs",
      chars: "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "
    },
    ibm855: "cp855",
    csibm855: "cp855",
    cp856: {
      type: "_sbcs",
      chars: "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm856: "cp856",
    csibm856: "cp856",
    cp857: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞğ¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "
    },
    ibm857: "cp857",
    csibm857: "cp857",
    cp858: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "
    },
    ibm858: "cp858",
    csibm858: "cp858",
    cp860: {
      type: "_sbcs",
      chars: "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñÑªº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm860: "cp860",
    csibm860: "cp860",
    cp861: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm861: "cp861",
    csibm861: "cp861",
    cp862: {
      type: "_sbcs",
      chars: "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm862: "cp862",
    csibm862: "cp862",
    cp863: {
      type: "_sbcs",
      chars: "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm863: "cp863",
    csibm863: "cp863",
    cp864: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`
    },
    ibm864: "cp864",
    csibm864: "cp864",
    cp865: {
      type: "_sbcs",
      chars: "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñÑªº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
    },
    ibm865: "cp865",
    csibm865: "cp865",
    cp866: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "
    },
    ibm866: "cp866",
    csibm866: "cp866",
    cp869: {
      type: "_sbcs",
      chars: "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "
    },
    ibm869: "cp869",
    csibm869: "cp869",
    cp922: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"
    },
    ibm922: "cp922",
    csibm922: "cp922",
    cp1046: {
      type: "_sbcs",
      chars: "ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"
    },
    ibm1046: "cp1046",
    csibm1046: "cp1046",
    cp1124: {
      type: "_sbcs",
      chars: " ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"
    },
    ibm1124: "cp1124",
    csibm1124: "cp1124",
    cp1125: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "
    },
    ibm1125: "cp1125",
    csibm1125: "cp1125",
    cp1129: {
      type: "_sbcs",
      chars: " ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    ibm1129: "cp1129",
    csibm1129: "cp1129",
    cp1133: {
      type: "_sbcs",
      chars: " ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"
    },
    ibm1133: "cp1133",
    csibm1133: "cp1133",
    cp1161: {
      type: "_sbcs",
      chars: "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "
    },
    ibm1161: "cp1161",
    csibm1161: "cp1161",
    cp1162: {
      type: "_sbcs",
      chars: "€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    },
    ibm1162: "cp1162",
    csibm1162: "cp1162",
    cp1163: {
      type: "_sbcs",
      chars: " ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
    },
    ibm1163: "cp1163",
    csibm1163: "cp1163",
    maccroatian: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"
    },
    maccyrillic: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
    },
    macgreek: {
      type: "_sbcs",
      chars: "Ä¹²É³ÖÜ΅àâä΄¨çéèêë£™îï•½‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"
    },
    maciceland: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macroman: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macromania: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macthai: {
      type: "_sbcs",
      chars: "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"
    },
    macturkish: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"
    },
    macukraine: {
      type: "_sbcs",
      chars: "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
    },
    koi8r: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8u: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8ru: {
      type: "_sbcs",
      chars: "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    koi8t: {
      type: "_sbcs",
      chars: "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
    },
    armscii8: {
      type: "_sbcs",
      chars: " �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"
    },
    rk1048: {
      type: "_sbcs",
      chars: "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    tcvn: {
      type: "_sbcs",
      chars: `\0ÚỤỪỬỮ\x07\b	
\v\f\rỨỰỲỶỸÝỴ\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`
    },
    georgianacademy: {
      type: "_sbcs",
      chars: "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    georgianps: {
      type: "_sbcs",
      chars: "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
    },
    pt154: {
      type: "_sbcs",
      chars: "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
    },
    viscii: {
      type: "_sbcs",
      chars: `\0ẲẴẪ\x07\b	
\v\f\rỶỸ\x1BỴ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`
    },
    iso646cn: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`
    },
    iso646jp: {
      type: "_sbcs",
      chars: `\0\x07\b	
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`
    },
    hproman8: {
      type: "_sbcs",
      chars: " ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"
    },
    macintosh: {
      type: "_sbcs",
      chars: "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
    },
    ascii: {
      type: "_sbcs",
      chars: "��������������������������������������������������������������������������������������������������������������������������������"
    },
    tis620: {
      type: "_sbcs",
      chars: "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
    }
  };
})), Nb = /* @__PURE__ */ z(((e) => {
  var t = ar().Buffer;
  e._dbcs = o;
  for (var r = -1, i = -2, s = -10, d = -1e3, c = new Array(256), n = -1, u = 0; u < 256; u++) c[u] = r;
  function o(f, p) {
    if (this.encodingName = f.encodingName, !f) throw new Error("DBCS codec is called without the data.");
    if (!f.table) throw new Error("Encoding '" + this.encodingName + "' has no data.");
    var g = f.table();
    this.decodeTables = [], this.decodeTables[0] = c.slice(0), this.decodeTableSeq = [];
    for (var m = 0; m < g.length; m++) this._addDecodeChunk(g[m]);
    if (typeof f.gb18030 == "function") {
      this.gb18030 = f.gb18030();
      var v = this.decodeTables.length;
      this.decodeTables.push(c.slice(0));
      var _ = this.decodeTables.length;
      this.decodeTables.push(c.slice(0));
      for (var E = this.decodeTables[0], m = 129; m <= 254; m++)
        for (var S = this.decodeTables[d - E[m]], w = 48; w <= 57; w++) {
          if (S[w] === r) S[w] = d - v;
          else if (S[w] > d) throw new Error("gb18030 decode tables conflict at byte 2");
          for (var b = this.decodeTables[d - S[w]], A = 129; A <= 254; A++) {
            if (b[A] === r) b[A] = d - _;
            else {
              if (b[A] === d - _) continue;
              if (b[A] > d) throw new Error("gb18030 decode tables conflict at byte 3");
            }
            for (var D = this.decodeTables[d - b[A]], C = 48; C <= 57; C++) D[C] === r && (D[C] = i);
          }
        }
    }
    this.defaultCharUnicode = p.defaultCharUnicode, this.encodeTable = [], this.encodeTableSeq = [];
    var O = {};
    if (f.encodeSkipVals) for (var m = 0; m < f.encodeSkipVals.length; m++) {
      var I = f.encodeSkipVals[m];
      if (typeof I == "number") O[I] = !0;
      else for (var w = I.from; w <= I.to; w++) O[w] = !0;
    }
    if (this._fillEncodeTable(0, 0, O), f.encodeAdd)
      for (var x in f.encodeAdd) Object.prototype.hasOwnProperty.call(f.encodeAdd, x) && this._setEncodeChar(x.charCodeAt(0), f.encodeAdd[x]);
    this.defCharSB = this.encodeTable[0][p.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === r && (this.defCharSB = this.encodeTable[0]["?"]), this.defCharSB === r && (this.defCharSB = 63);
  }
  o.prototype.encoder = h, o.prototype.decoder = a, o.prototype._getDecodeTrieNode = function(f) {
    for (var p = []; f > 0; f >>>= 8) p.push(f & 255);
    p.length == 0 && p.push(0);
    for (var g = this.decodeTables[0], m = p.length - 1; m > 0; m--) {
      var v = g[p[m]];
      if (v == r)
        g[p[m]] = d - this.decodeTables.length, this.decodeTables.push(g = c.slice(0));
      else if (v <= d) g = this.decodeTables[d - v];
      else throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + f.toString(16));
    }
    return g;
  }, o.prototype._addDecodeChunk = function(f) {
    var p = parseInt(f[0], 16), g = this._getDecodeTrieNode(p);
    p = p & 255;
    for (var m = 1; m < f.length; m++) {
      var v = f[m];
      if (typeof v == "string") for (var _ = 0; _ < v.length; ) {
        var E = v.charCodeAt(_++);
        if (E >= 55296 && E < 56320) {
          var S = v.charCodeAt(_++);
          if (S >= 56320 && S < 57344) g[p++] = 65536 + (E - 55296) * 1024 + (S - 56320);
          else throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + f[0]);
        } else if (E > 4080 && E <= 4095) {
          for (var w = 4095 - E + 2, b = [], A = 0; A < w; A++) b.push(v.charCodeAt(_++));
          g[p++] = s - this.decodeTableSeq.length, this.decodeTableSeq.push(b);
        } else g[p++] = E;
      }
      else if (typeof v == "number")
        for (var D = g[p - 1] + 1, _ = 0; _ < v; _++) g[p++] = D++;
      else throw new Error("Incorrect type '" + typeof v + "' given in " + this.encodingName + " at chunk " + f[0]);
    }
    if (p > 255) throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + f[0] + ": too long" + p);
  }, o.prototype._getEncodeBucket = function(f) {
    var p = f >> 8;
    return this.encodeTable[p] === void 0 && (this.encodeTable[p] = c.slice(0)), this.encodeTable[p];
  }, o.prototype._setEncodeChar = function(f, p) {
    var g = this._getEncodeBucket(f), m = f & 255;
    g[m] <= s ? this.encodeTableSeq[s - g[m]][n] = p : g[m] == r && (g[m] = p);
  }, o.prototype._setEncodeSequence = function(f, p) {
    var g = f[0], m = this._getEncodeBucket(g), v = g & 255, _;
    m[v] <= s ? _ = this.encodeTableSeq[s - m[v]] : (_ = {}, m[v] !== r && (_[n] = m[v]), m[v] = s - this.encodeTableSeq.length, this.encodeTableSeq.push(_));
    for (var E = 1; E < f.length - 1; E++) {
      var S = _[g];
      typeof S == "object" ? _ = S : (_ = _[g] = {}, S !== void 0 && (_[n] = S));
    }
    g = f[f.length - 1], _[g] = p;
  }, o.prototype._fillEncodeTable = function(f, p, g) {
    for (var m = this.decodeTables[f], v = !1, _ = {}, E = 0; E < 256; E++) {
      var S = m[E], w = p + E;
      if (!g[w])
        if (S >= 0)
          this._setEncodeChar(S, w), v = !0;
        else if (S <= d) {
          var b = d - S;
          if (!_[b]) {
            var A = w << 8 >>> 0;
            this._fillEncodeTable(b, A, g) ? v = !0 : _[b] = !0;
          }
        } else S <= s && (this._setEncodeSequence(this.decodeTableSeq[s - S], w), v = !0);
    }
    return v;
  };
  function h(f, p) {
    this.leadSurrogate = -1, this.seqObj = void 0, this.encodeTable = p.encodeTable, this.encodeTableSeq = p.encodeTableSeq, this.defaultCharSingleByte = p.defCharSB, this.gb18030 = p.gb18030;
  }
  h.prototype.write = function(f) {
    for (var p = t.alloc(f.length * (this.gb18030 ? 4 : 3)), g = this.leadSurrogate, m = this.seqObj, v = -1, _ = 0, E = 0; ; ) {
      if (v === -1) {
        if (_ == f.length) break;
        var S = f.charCodeAt(_++);
      } else {
        var S = v;
        v = -1;
      }
      if (S >= 55296 && S < 57344) if (S < 56320) if (g === -1) {
        g = S;
        continue;
      } else
        g = S, S = r;
      else g !== -1 ? (S = 65536 + (g - 55296) * 1024 + (S - 56320), g = -1) : S = r;
      else g !== -1 && (v = S, S = r, g = -1);
      var w = r;
      if (m !== void 0 && S != r) {
        var b = m[S];
        if (typeof b == "object") {
          m = b;
          continue;
        } else typeof b == "number" ? w = b : b == null && (b = m[n], b !== void 0 && (w = b, v = S));
        m = void 0;
      } else if (S >= 0) {
        var A = this.encodeTable[S >> 8];
        if (A !== void 0 && (w = A[S & 255]), w <= s) {
          m = this.encodeTableSeq[s - w];
          continue;
        }
        if (w == r && this.gb18030) {
          var D = l(this.gb18030.uChars, S);
          if (D != -1) {
            var w = this.gb18030.gbChars[D] + (S - this.gb18030.uChars[D]);
            p[E++] = 129 + Math.floor(w / 12600), w = w % 12600, p[E++] = 48 + Math.floor(w / 1260), w = w % 1260, p[E++] = 129 + Math.floor(w / 10), w = w % 10, p[E++] = 48 + w;
            continue;
          }
        }
      }
      w === r && (w = this.defaultCharSingleByte), w < 256 ? p[E++] = w : w < 65536 ? (p[E++] = w >> 8, p[E++] = w & 255) : w < 16777216 ? (p[E++] = w >> 16, p[E++] = w >> 8 & 255, p[E++] = w & 255) : (p[E++] = w >>> 24, p[E++] = w >>> 16 & 255, p[E++] = w >>> 8 & 255, p[E++] = w & 255);
    }
    return this.seqObj = m, this.leadSurrogate = g, p.slice(0, E);
  }, h.prototype.end = function() {
    if (!(this.leadSurrogate === -1 && this.seqObj === void 0)) {
      var f = t.alloc(10), p = 0;
      if (this.seqObj) {
        var g = this.seqObj[n];
        g !== void 0 && (g < 256 ? f[p++] = g : (f[p++] = g >> 8, f[p++] = g & 255)), this.seqObj = void 0;
      }
      return this.leadSurrogate !== -1 && (f[p++] = this.defaultCharSingleByte, this.leadSurrogate = -1), f.slice(0, p);
    }
  }, h.prototype.findIdx = l;
  function a(f, p) {
    this.nodeIdx = 0, this.prevBytes = [], this.decodeTables = p.decodeTables, this.decodeTableSeq = p.decodeTableSeq, this.defaultCharUnicode = p.defaultCharUnicode, this.gb18030 = p.gb18030;
  }
  a.prototype.write = function(f) {
    for (var p = t.alloc(f.length * 2), g = this.nodeIdx, m = this.prevBytes, v = this.prevBytes.length, _ = -this.prevBytes.length, E, S = 0, w = 0; S < f.length; S++) {
      var b = S >= 0 ? f[S] : m[S + v], E = this.decodeTables[g][b];
      if (!(E >= 0))
        if (E === r)
          E = this.defaultCharUnicode.charCodeAt(0), S = _;
        else if (E === i) {
          if (S >= 3) var A = (f[S - 3] - 129) * 12600 + (f[S - 2] - 48) * 1260 + (f[S - 1] - 129) * 10 + (b - 48);
          else var A = (m[S - 3 + v] - 129) * 12600 + ((S - 2 >= 0 ? f[S - 2] : m[S - 2 + v]) - 48) * 1260 + ((S - 1 >= 0 ? f[S - 1] : m[S - 1 + v]) - 129) * 10 + (b - 48);
          var D = l(this.gb18030.gbChars, A);
          E = this.gb18030.uChars[D] + A - this.gb18030.gbChars[D];
        } else if (E <= d) {
          g = d - E;
          continue;
        } else if (E <= s) {
          for (var C = this.decodeTableSeq[s - E], O = 0; O < C.length - 1; O++)
            E = C[O], p[w++] = E & 255, p[w++] = E >> 8;
          E = C[C.length - 1];
        } else throw new Error("iconv-lite internal error: invalid decoding table value " + E + " at " + g + "/" + b);
      if (E >= 65536) {
        E -= 65536;
        var I = 55296 | E >> 10;
        p[w++] = I & 255, p[w++] = I >> 8, E = 56320 | E & 1023;
      }
      p[w++] = E & 255, p[w++] = E >> 8, g = 0, _ = S + 1;
    }
    return this.nodeIdx = g, this.prevBytes = _ >= 0 ? Array.prototype.slice.call(f, _) : m.slice(_ + v).concat(Array.prototype.slice.call(f)), p.slice(0, w).toString("ucs2");
  }, a.prototype.end = function() {
    for (var f = ""; this.prevBytes.length > 0; ) {
      f += this.defaultCharUnicode;
      var p = this.prevBytes.slice(1);
      this.prevBytes = [], this.nodeIdx = 0, p.length > 0 && (f += this.write(p));
    }
    return this.prevBytes = [], this.nodeIdx = 0, f;
  };
  function l(f, p) {
    if (f[0] > p) return -1;
    for (var g = 0, m = f.length; g < m - 1; ) {
      var v = g + (m - g + 1 >> 1);
      f[v] <= p ? g = v : m = v;
    }
    return g;
  }
})), Pb = /* @__PURE__ */ ft({ default: () => bh }), bh, Bb = Ot((() => {
  bh = /* @__PURE__ */ JSON.parse('[["0","\\u0000",128],["a1","｡",62],["8140","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×"],["8180","÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨￢⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","Å‰♯♭♪†‡¶"],["81fc","◯"],["824f","０",9],["8260","Ａ",25],["8281","ａ",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"￢￤＇＂"],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"￢￤＇＂㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]');
})), Fb = /* @__PURE__ */ ft({ default: () => wh }), wh, Mb = Ot((() => {
  wh = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["8ea1","｡",62],["a1a1","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨￢⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","Å‰♯♭♪†‡¶"],["a2fe","◯"],["a3b0","０",9],["a3c1","Ａ",25],["a3e1","ａ",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"￢￤＇＂"],["8fa2af","˘ˇ¸˙˝¯˛˚～΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","Ĳ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıĳĸłŀŉŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]');
})), Cs = /* @__PURE__ */ ft({ default: () => Eh }), Eh, Is = Ot((() => {
  Eh = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1","　、。·ˉˇ¨〃々—～‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","！＂＃￥％",88,"￣"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰￢￤"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]');
})), Dc = /* @__PURE__ */ ft({ default: () => Sh }), Sh, Rc = Ot((() => {
  Sh = [
    [
      "a140",
      "",
      62
    ],
    [
      "a180",
      "",
      32
    ],
    [
      "a240",
      "",
      62
    ],
    [
      "a280",
      "",
      32
    ],
    [
      "a2ab",
      "",
      5
    ],
    ["a2e3", "€"],
    ["a2ef", ""],
    ["a2fd", ""],
    [
      "a340",
      "",
      62
    ],
    [
      "a380",
      "",
      31,
      "　"
    ],
    [
      "a440",
      "",
      62
    ],
    [
      "a480",
      "",
      32
    ],
    [
      "a4f4",
      "",
      10
    ],
    [
      "a540",
      "",
      62
    ],
    [
      "a580",
      "",
      32
    ],
    [
      "a5f7",
      "",
      7
    ],
    [
      "a640",
      "",
      62
    ],
    [
      "a680",
      "",
      32
    ],
    [
      "a6b9",
      "",
      7
    ],
    [
      "a6d9",
      "",
      6
    ],
    ["a6ec", ""],
    ["a6f3", ""],
    [
      "a6f6",
      "",
      8
    ],
    [
      "a740",
      "",
      62
    ],
    [
      "a780",
      "",
      32
    ],
    [
      "a7c2",
      "",
      14
    ],
    [
      "a7f2",
      "",
      12
    ],
    [
      "a896",
      "",
      10
    ],
    ["a8bc", "ḿ"],
    ["a8bf", "ǹ"],
    ["a8c1", ""],
    [
      "a8ea",
      "",
      20
    ],
    ["a958", ""],
    ["a95b", ""],
    ["a95d", ""],
    [
      "a989",
      "〾⿰",
      11
    ],
    [
      "a997",
      "",
      12
    ],
    [
      "a9f0",
      "",
      14
    ],
    [
      "aaa1",
      "",
      93
    ],
    [
      "aba1",
      "",
      93
    ],
    [
      "aca1",
      "",
      93
    ],
    [
      "ada1",
      "",
      93
    ],
    [
      "aea1",
      "",
      93
    ],
    [
      "afa1",
      "",
      93
    ],
    [
      "d7fa",
      "",
      4
    ],
    [
      "f8a1",
      "",
      93
    ],
    [
      "f9a1",
      "",
      93
    ],
    [
      "faa1",
      "",
      93
    ],
    [
      "fba1",
      "",
      93
    ],
    [
      "fca1",
      "",
      93
    ],
    [
      "fda1",
      "",
      93
    ],
    ["fe50", "⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],
    [
      "fe80",
      "䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",
      6,
      "䶮",
      93
    ],
    ["8135f437", ""]
  ];
})), jb = /* @__PURE__ */ ft({
  default: () => Ah,
  gbChars: () => ea,
  uChars: () => Qs
}), Qs, ea, Ah, Ub = Ot((() => {
  Qs = [
    128,
    165,
    169,
    178,
    184,
    216,
    226,
    235,
    238,
    244,
    248,
    251,
    253,
    258,
    276,
    284,
    300,
    325,
    329,
    334,
    364,
    463,
    465,
    467,
    469,
    471,
    473,
    475,
    477,
    506,
    594,
    610,
    712,
    716,
    730,
    930,
    938,
    962,
    970,
    1026,
    1104,
    1106,
    8209,
    8215,
    8218,
    8222,
    8231,
    8241,
    8244,
    8246,
    8252,
    8365,
    8452,
    8454,
    8458,
    8471,
    8482,
    8556,
    8570,
    8596,
    8602,
    8713,
    8720,
    8722,
    8726,
    8731,
    8737,
    8740,
    8742,
    8748,
    8751,
    8760,
    8766,
    8777,
    8781,
    8787,
    8802,
    8808,
    8816,
    8854,
    8858,
    8870,
    8896,
    8979,
    9322,
    9372,
    9548,
    9588,
    9616,
    9622,
    9634,
    9652,
    9662,
    9672,
    9676,
    9680,
    9702,
    9735,
    9738,
    9793,
    9795,
    11906,
    11909,
    11913,
    11917,
    11928,
    11944,
    11947,
    11951,
    11956,
    11960,
    11964,
    11979,
    12284,
    12292,
    12312,
    12319,
    12330,
    12351,
    12436,
    12447,
    12535,
    12543,
    12586,
    12842,
    12850,
    12964,
    13200,
    13215,
    13218,
    13253,
    13263,
    13267,
    13270,
    13384,
    13428,
    13727,
    13839,
    13851,
    14617,
    14703,
    14801,
    14816,
    14964,
    15183,
    15471,
    15585,
    16471,
    16736,
    17208,
    17325,
    17330,
    17374,
    17623,
    17997,
    18018,
    18212,
    18218,
    18301,
    18318,
    18760,
    18811,
    18814,
    18820,
    18823,
    18844,
    18848,
    18872,
    19576,
    19620,
    19738,
    19887,
    40870,
    59244,
    59336,
    59367,
    59413,
    59417,
    59423,
    59431,
    59437,
    59443,
    59452,
    59460,
    59478,
    59493,
    63789,
    63866,
    63894,
    63976,
    63986,
    64016,
    64018,
    64021,
    64025,
    64034,
    64037,
    64042,
    65074,
    65093,
    65107,
    65112,
    65127,
    65132,
    65375,
    65510,
    65536
  ], ea = [
    0,
    36,
    38,
    45,
    50,
    81,
    89,
    95,
    96,
    100,
    103,
    104,
    105,
    109,
    126,
    133,
    148,
    172,
    175,
    179,
    208,
    306,
    307,
    308,
    309,
    310,
    311,
    312,
    313,
    341,
    428,
    443,
    544,
    545,
    558,
    741,
    742,
    749,
    750,
    805,
    819,
    820,
    7922,
    7924,
    7925,
    7927,
    7934,
    7943,
    7944,
    7945,
    7950,
    8062,
    8148,
    8149,
    8152,
    8164,
    8174,
    8236,
    8240,
    8262,
    8264,
    8374,
    8380,
    8381,
    8384,
    8388,
    8390,
    8392,
    8393,
    8394,
    8396,
    8401,
    8406,
    8416,
    8419,
    8424,
    8437,
    8439,
    8445,
    8482,
    8485,
    8496,
    8521,
    8603,
    8936,
    8946,
    9046,
    9050,
    9063,
    9066,
    9076,
    9092,
    9100,
    9108,
    9111,
    9113,
    9131,
    9162,
    9164,
    9218,
    9219,
    11329,
    11331,
    11334,
    11336,
    11346,
    11361,
    11363,
    11366,
    11370,
    11372,
    11375,
    11389,
    11682,
    11686,
    11687,
    11692,
    11694,
    11714,
    11716,
    11723,
    11725,
    11730,
    11736,
    11982,
    11989,
    12102,
    12336,
    12348,
    12350,
    12384,
    12393,
    12395,
    12397,
    12510,
    12553,
    12851,
    12962,
    12973,
    13738,
    13823,
    13919,
    13933,
    14080,
    14298,
    14585,
    14698,
    15583,
    15847,
    16318,
    16434,
    16438,
    16481,
    16729,
    17102,
    17122,
    17315,
    17320,
    17402,
    17418,
    17859,
    17909,
    17911,
    17915,
    17916,
    17936,
    17939,
    17961,
    18664,
    18703,
    18814,
    18962,
    19043,
    33469,
    33470,
    33471,
    33484,
    33485,
    33490,
    33497,
    33501,
    33505,
    33513,
    33520,
    33536,
    33550,
    37845,
    37921,
    37948,
    38029,
    38038,
    38064,
    38065,
    38066,
    38069,
    38075,
    38076,
    38078,
    39108,
    39109,
    39113,
    39114,
    39115,
    39116,
    39265,
    39394,
    189e3
  ], Ah = {
    uChars: Qs,
    gbChars: ea
  };
})), Hb = /* @__PURE__ */ ft({ default: () => Th }), Th, qb = Ot((() => {
  Th = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎　、。·‥…¨〃­―∥＼∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å￠￡￥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨￢"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´～ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛！",58,"￦］",32,"￣"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","Ĳ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıĳĸŀłøœßþŧŋŉ㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]');
})), Oc = /* @__PURE__ */ ft({ default: () => Dh }), Dh, Cc = Ot((() => {
  Dh = /* @__PURE__ */ JSON.parse('[["0","\\u0000",127],["a140","　，、。．‧；：？！︰…‥﹐﹑﹒·﹔﹕﹖﹗｜–︱—︳╴︴﹏（）︵︶｛｝︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′＃＆＊※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯￣＿ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡＋－×÷±√＜＞＝≦≧≠∞≒≡﹢",4,"～∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣／"],["a240","＼∕﹨＄￥〒￠￡％＠℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳０",9,"Ⅰ",9,"〡",8,"十卄卅Ａ",25,"ａ",21],["a340","ｗｘｙｚΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]');
})), Gb = /* @__PURE__ */ ft({ default: () => Rh }), Rh, zb = Ot((() => {
  Rh = /* @__PURE__ */ JSON.parse('[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー［］✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","￢￤＇＂㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","￭"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]');
})), Wb = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    shiftjis: {
      type: "_dbcs",
      table: function() {
        return Bb(), vt(Pb).default;
      },
      encodeAdd: {
        "¥": 92,
        "‾": 126
      },
      encodeSkipVals: [{
        from: 60736,
        to: 63808
      }]
    },
    csshiftjis: "shiftjis",
    mskanji: "shiftjis",
    sjis: "shiftjis",
    windows31j: "shiftjis",
    ms31j: "shiftjis",
    xsjis: "shiftjis",
    windows932: "shiftjis",
    ms932: "shiftjis",
    932: "shiftjis",
    cp932: "shiftjis",
    eucjp: {
      type: "_dbcs",
      table: function() {
        return Mb(), vt(Fb).default;
      },
      encodeAdd: {
        "¥": 92,
        "‾": 126
      }
    },
    gb2312: "cp936",
    gb231280: "cp936",
    gb23121980: "cp936",
    csgb2312: "cp936",
    csiso58gb231280: "cp936",
    euccn: "cp936",
    windows936: "cp936",
    ms936: "cp936",
    936: "cp936",
    cp936: {
      type: "_dbcs",
      table: function() {
        return Is(), vt(Cs).default;
      }
    },
    gbk: {
      type: "_dbcs",
      table: function() {
        return (Is(), vt(Cs).default).concat((Rc(), vt(Dc).default));
      }
    },
    xgbk: "gbk",
    isoir58: "gbk",
    gb18030: {
      type: "_dbcs",
      table: function() {
        return (Is(), vt(Cs).default).concat((Rc(), vt(Dc).default));
      },
      gb18030: function() {
        return Ub(), vt(jb).default;
      },
      encodeSkipVals: [128],
      encodeAdd: { "€": 41699 }
    },
    chinese: "gb18030",
    windows949: "cp949",
    ms949: "cp949",
    949: "cp949",
    cp949: {
      type: "_dbcs",
      table: function() {
        return qb(), vt(Hb).default;
      }
    },
    cseuckr: "cp949",
    csksc56011987: "cp949",
    euckr: "cp949",
    isoir149: "cp949",
    korean: "cp949",
    ksc56011987: "cp949",
    ksc56011989: "cp949",
    ksc5601: "cp949",
    windows950: "cp950",
    ms950: "cp950",
    950: "cp950",
    cp950: {
      type: "_dbcs",
      table: function() {
        return Cc(), vt(Oc).default;
      }
    },
    big5: "big5hkscs",
    big5hkscs: {
      type: "_dbcs",
      table: function() {
        return (Cc(), vt(Oc).default).concat((zb(), vt(Gb).default));
      },
      encodeSkipVals: [
        36457,
        36463,
        36478,
        36523,
        36532,
        36557,
        36560,
        36695,
        36713,
        36718,
        36811,
        36862,
        36973,
        36986,
        37060,
        37084,
        37105,
        37311,
        37551,
        37552,
        37553,
        37554,
        37585,
        37959,
        38090,
        38361,
        38652,
        39285,
        39798,
        39800,
        39803,
        39878,
        39902,
        39916,
        39926,
        40002,
        40019,
        40034,
        40040,
        40043,
        40055,
        40124,
        40125,
        40144,
        40279,
        40282,
        40388,
        40431,
        40443,
        40617,
        40687,
        40701,
        40800,
        40907,
        41079,
        41180,
        41183,
        36812,
        37576,
        38468,
        38637,
        41636,
        41637,
        41639,
        41638,
        41676,
        41678
      ]
    },
    cnbig5: "big5hkscs",
    csbig5: "big5hkscs",
    xxbig5: "big5hkscs"
  };
})), Vb = /* @__PURE__ */ z(((e) => {
  for (var t = _h(), r = [
    Ob(),
    Cb(),
    Ib(),
    kb(),
    Lb(),
    xb(),
    $b(),
    Nb(),
    Wb()
  ], i = 0; i < r.length; i++) {
    var s = r[i];
    t(e, s);
  }
})), Yb = /* @__PURE__ */ z(((e, t) => {
  var r = ar().Buffer;
  t.exports = function(i) {
    var s = i.Transform;
    function d(n, u) {
      this.conv = n, u = u || {}, u.decodeStrings = !1, s.call(this, u);
    }
    d.prototype = Object.create(s.prototype, { constructor: { value: d } }), d.prototype._transform = function(n, u, o) {
      if (typeof n != "string") return o(/* @__PURE__ */ new Error("Iconv encoding stream needs strings as its input."));
      try {
        var h = this.conv.write(n);
        h && h.length && this.push(h), o();
      } catch (a) {
        o(a);
      }
    }, d.prototype._flush = function(n) {
      try {
        var u = this.conv.end();
        u && u.length && this.push(u), n();
      } catch (o) {
        n(o);
      }
    }, d.prototype.collect = function(n) {
      var u = [];
      return this.on("error", n), this.on("data", function(o) {
        u.push(o);
      }), this.on("end", function() {
        n(null, r.concat(u));
      }), this;
    };
    function c(n, u) {
      this.conv = n, u = u || {}, u.encoding = this.encoding = "utf8", s.call(this, u);
    }
    return c.prototype = Object.create(s.prototype, { constructor: { value: c } }), c.prototype._transform = function(n, u, o) {
      if (!r.isBuffer(n) && !(n instanceof Uint8Array)) return o(/* @__PURE__ */ new Error("Iconv decoding stream needs buffers as its input."));
      try {
        var h = this.conv.write(n);
        h && h.length && this.push(h, this.encoding), o();
      } catch (a) {
        o(a);
      }
    }, c.prototype._flush = function(n) {
      try {
        var u = this.conv.end();
        u && u.length && this.push(u, this.encoding), n();
      } catch (o) {
        n(o);
      }
    }, c.prototype.collect = function(n) {
      var u = "";
      return this.on("error", n), this.on("data", function(o) {
        u += o;
      }), this.on("end", function() {
        n(null, u);
      }), this;
    }, {
      IconvLiteEncoderStream: d,
      IconvLiteDecoderStream: c
    };
  };
})), Kb = /* @__PURE__ */ z(((e, t) => {
  var r = ar().Buffer, i = Rb(), s = _h();
  t.exports.encodings = null, t.exports.defaultCharUnicode = "�", t.exports.defaultCharSingleByte = "?", t.exports.encode = function(n, u, o) {
    n = "" + (n || "");
    var h = t.exports.getEncoder(u, o), a = h.write(n), l = h.end();
    return l && l.length > 0 ? r.concat([a, l]) : a;
  }, t.exports.decode = function(n, u, o) {
    typeof n == "string" && (t.exports.skipDecodeWarning || (console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"), t.exports.skipDecodeWarning = !0), n = r.from("" + (n || ""), "binary"));
    var h = t.exports.getDecoder(u, o), a = h.write(n), l = h.end();
    return l ? a + l : a;
  }, t.exports.encodingExists = function(n) {
    try {
      return t.exports.getCodec(n), !0;
    } catch {
      return !1;
    }
  }, t.exports.toEncoding = t.exports.encode, t.exports.fromEncoding = t.exports.decode, t.exports._codecDataCache = { __proto__: null }, t.exports.getCodec = function(n) {
    if (!t.exports.encodings) {
      var u = Vb();
      t.exports.encodings = { __proto__: null }, s(t.exports.encodings, u);
    }
    for (var o = t.exports._canonicalizeEncoding(n), h = {}; ; ) {
      var a = t.exports._codecDataCache[o];
      if (a) return a;
      var l = t.exports.encodings[o];
      switch (typeof l) {
        case "string":
          o = l;
          break;
        case "object":
          for (var f in l) h[f] = l[f];
          h.encodingName || (h.encodingName = o), o = l.type;
          break;
        case "function":
          return h.encodingName || (h.encodingName = o), a = new l(h, t.exports), t.exports._codecDataCache[h.encodingName] = a, a;
        default:
          throw new Error("Encoding not recognized: '" + n + "' (searched as: '" + o + "')");
      }
    }
  }, t.exports._canonicalizeEncoding = function(c) {
    return ("" + c).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
  }, t.exports.getEncoder = function(n, u) {
    var o = t.exports.getCodec(n), h = new o.encoder(u, o);
    return o.bomAware && u && u.addBOM && (h = new i.PrependBOM(h, u)), h;
  }, t.exports.getDecoder = function(n, u) {
    var o = t.exports.getCodec(n), h = new o.decoder(u, o);
    return o.bomAware && !(u && u.stripBOM === !1) && (h = new i.StripBOM(h, u)), h;
  }, t.exports.enableStreamingAPI = function(n) {
    if (!t.exports.supportsStreams) {
      var u = Yb()(n);
      t.exports.IconvLiteEncoderStream = u.IconvLiteEncoderStream, t.exports.IconvLiteDecoderStream = u.IconvLiteDecoderStream, t.exports.encodeStream = function(h, a) {
        return new t.exports.IconvLiteEncoderStream(t.exports.getEncoder(h, a), a);
      }, t.exports.decodeStream = function(h, a) {
        return new t.exports.IconvLiteDecoderStream(t.exports.getDecoder(h, a), a);
      }, t.exports.supportsStreams = !0;
    }
  };
  var d;
  try {
    d = be("stream");
  } catch {
  }
  d && d.Transform ? t.exports.enableStreamingAPI(d) : t.exports.encodeStream = t.exports.decodeStream = function() {
    throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
  };
})), zo = /* @__PURE__ */ z(((e, t) => {
  var { Minipass: r } = St(), { MinipassSized: i } = Tb(), s = Db(), { BUFFER: d } = s, c = yh(), n;
  try {
    n = Kb().decode;
  } catch {
  }
  var u = /* @__PURE__ */ Symbol("Body internals"), o = /* @__PURE__ */ Symbol("consumeBody"), h = class {
    constructor(p, g = {}) {
      const { size: m = 0, timeout: v = 0 } = g, _ = p == null ? null : a(p) ? Buffer.from(p.toString()) : l(p) || Buffer.isBuffer(p) ? p : Object.prototype.toString.call(p) === "[object ArrayBuffer]" ? Buffer.from(p) : ArrayBuffer.isView(p) ? Buffer.from(p.buffer, p.byteOffset, p.byteLength) : r.isStream(p) ? p : Buffer.from(String(p));
      this[u] = {
        body: _,
        disturbed: !1,
        error: null
      }, this.size = m, this.timeout = v, r.isStream(_) && _.on("error", (E) => {
        const S = E.name === "AbortError" ? E : new c(`Invalid response while trying to fetch ${this.url}: ${E.message}`, "system", E);
        this[u].error = S;
      });
    }
    get body() {
      return this[u].body;
    }
    get bodyUsed() {
      return this[u].disturbed;
    }
    arrayBuffer() {
      return this[o]().then((p) => p.buffer.slice(p.byteOffset, p.byteOffset + p.byteLength));
    }
    blob() {
      const p = this.headers && this.headers.get("content-type") || "";
      return this[o]().then((g) => Object.assign(new s([], { type: p.toLowerCase() }), { [d]: g }));
    }
    async json() {
      const p = await this[o]();
      try {
        return JSON.parse(p.toString());
      } catch (g) {
        throw new c(`invalid json response body at ${this.url} reason: ${g.message}`, "invalid-json");
      }
    }
    text() {
      return this[o]().then((p) => p.toString());
    }
    buffer() {
      return this[o]();
    }
    textConverted() {
      if (typeof n != "function") throw new Error("The package `iconv-lite` must be installed to use the textConverted() function");
      return this[o]().then((p) => f(p, this.headers));
    }
    [o]() {
      if (this[u].disturbed) return Promise.reject(/* @__PURE__ */ new TypeError(`body used already for: ${this.url}`));
      if (this[u].disturbed = !0, this[u].error) return Promise.reject(this[u].error);
      if (this.body === null) return Promise.resolve(Buffer.alloc(0));
      if (Buffer.isBuffer(this.body)) return Promise.resolve(this.body);
      const p = l(this.body) ? this.body.stream() : this.body;
      if (!r.isStream(p)) return Promise.resolve(Buffer.alloc(0));
      const g = this.size && p instanceof i || !this.size && p instanceof r && !(p instanceof i) ? p : this.size ? new i({ size: this.size }) : new r(), m = this.timeout && g.writable ? setTimeout(() => {
        g.emit("error", new c(`Response timeout while trying to fetch ${this.url} (over ${this.timeout}ms)`, "body-timeout"));
      }, this.timeout) : null;
      return m && m.unref && m.unref(), new Promise((v) => {
        g !== p && (p.on("error", (_) => g.emit("error", _)), p.pipe(g)), v();
      }).then(() => g.concat()).then((v) => (clearTimeout(m), v)).catch((v) => {
        throw clearTimeout(m), v.name === "AbortError" || v.name === "FetchError" ? v : v.name === "RangeError" ? new c(`Could not create Buffer from response body for ${this.url}: ${v.message}`, "system", v) : new c(`Invalid response body while trying to fetch ${this.url}: ${v.message}`, "system", v);
      });
    }
    static clone(p) {
      if (p.bodyUsed) throw new Error("cannot clone body after it is used");
      const g = p.body;
      if (r.isStream(g) && typeof g.getBoundary != "function") {
        const m = new r(), v = new r(), _ = new r();
        return m.on("error", (E) => {
          v.emit("error", E), _.emit("error", E);
        }), g.on("error", (E) => m.emit("error", E)), m.pipe(v), m.pipe(_), g.pipe(m), p[u].body = v, _;
      } else return p.body;
    }
    static extractContentType(p) {
      return p == null ? null : typeof p == "string" ? "text/plain;charset=UTF-8" : a(p) ? "application/x-www-form-urlencoded;charset=UTF-8" : l(p) ? p.type || null : Buffer.isBuffer(p) || Object.prototype.toString.call(p) === "[object ArrayBuffer]" || ArrayBuffer.isView(p) ? null : typeof p.getBoundary == "function" ? `multipart/form-data;boundary=${p.getBoundary()}` : r.isStream(p) ? null : "text/plain;charset=UTF-8";
    }
    static getTotalBytes(p) {
      const { body: g } = p;
      return g == null ? 0 : l(g) ? g.size : Buffer.isBuffer(g) ? g.length : g && typeof g.getLengthSync == "function" && (g._lengthRetrievers && g._lengthRetrievers.length === 0 || g.hasKnownLength && g.hasKnownLength()) ? g.getLengthSync() : null;
    }
    static writeToStream(p, g) {
      const { body: m } = g;
      return m == null ? p.end() : Buffer.isBuffer(m) || typeof m == "string" ? p.end(m) : (l(m) ? m.stream() : m).on("error", (v) => p.emit("error", v)).pipe(p), p;
    }
  };
  Object.defineProperties(h.prototype, {
    body: { enumerable: !0 },
    bodyUsed: { enumerable: !0 },
    arrayBuffer: { enumerable: !0 },
    blob: { enumerable: !0 },
    json: { enumerable: !0 },
    text: { enumerable: !0 }
  });
  var a = (p) => typeof p != "object" || typeof p.append != "function" || typeof p.delete != "function" || typeof p.get != "function" || typeof p.getAll != "function" || typeof p.has != "function" || typeof p.set != "function" ? !1 : p.constructor.name === "URLSearchParams" || Object.prototype.toString.call(p) === "[object URLSearchParams]" || typeof p.sort == "function", l = (p) => typeof p == "object" && typeof p.arrayBuffer == "function" && typeof p.type == "string" && typeof p.stream == "function" && typeof p.constructor == "function" && typeof p.constructor.name == "string" && /^(Blob|File)$/.test(p.constructor.name) && /^(Blob|File)$/.test(p[Symbol.toStringTag]), f = (p, g) => {
    const m = g && g.get("content-type");
    let v = "utf-8", _;
    m && (_ = /charset=([^;]*)/i.exec(m));
    const E = p.slice(0, 1024).toString();
    if (!_ && E && (_ = /<meta.+?charset=(['"])(.+?)\1/i.exec(E)), !_ && E && (_ = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(E), _ || (_ = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(E), _ && _.pop()), _ && (_ = /charset=(.*)/i.exec(_.pop()))), !_ && E && (_ = /<\?xml.+?encoding=(['"])(.+?)\1/i.exec(E)), _ && (v = _.pop(), (v === "gb2312" || v === "gbk") && (v = "gb18030")), v === "UTF-8") return p.toString("UTF-8");
    v = v.toString().trim().replace(/^latin[-_]?(\d+)$/i, "ISO-8859-$1").replace(/^win(?:dows)?[-_]?(\d+)$/i, "WINDOWS-$1").replace(/^utf[-_]?(\d+)$/i, "UTF-$1").replace(/^ks_c_5601-1987$/i, "CP949").replace(/^us[-_]?ascii$/i, "ASCII").toUpperCase();
    try {
      return n(p, v).toString();
    } catch {
      return p.toString("UTF-8");
    }
  };
  t.exports = h;
})), Wo = /* @__PURE__ */ z(((e, t) => {
  var r = /[^^_`a-zA-Z\-0-9!#$%&'*+.|~]/, i = /[^\t\x20-\x7e\x80-\xff]/, s = (l) => {
    if (l = `${l}`, r.test(l) || l === "") throw new TypeError(`${l} is not a legal HTTP header name`);
  }, d = (l) => {
    if (l = `${l}`, i.test(l)) throw new TypeError(`${l} is not a legal HTTP header value`);
  }, c = (l, f) => {
    f = f.toLowerCase();
    for (const p in l) if (p.toLowerCase() === f) return p;
  }, n = /* @__PURE__ */ Symbol("map"), u = class ta {
    constructor(f = void 0) {
      if (this[n] = /* @__PURE__ */ Object.create(null), f instanceof ta) {
        const p = f.raw(), g = Object.keys(p);
        for (const m of g) for (const v of p[m]) this.append(m, v);
        return;
      }
      if (f != null)
        if (typeof f == "object") {
          const p = f[Symbol.iterator];
          if (p != null) {
            if (typeof p != "function") throw new TypeError("Header pairs must be iterable");
            const g = [];
            for (const m of f) {
              if (typeof m != "object" || typeof m[Symbol.iterator] != "function") throw new TypeError("Each header pair must be iterable");
              const v = Array.from(m);
              if (v.length !== 2) throw new TypeError("Each header pair must be a name/value tuple");
              g.push(v);
            }
            for (const m of g) this.append(m[0], m[1]);
          } else for (const g of Object.keys(f)) this.append(g, f[g]);
        } else throw new TypeError("Provided initializer must be an object");
    }
    get(f) {
      f = `${f}`, s(f);
      const p = c(this[n], f);
      return p === void 0 ? null : this[n][p].join(", ");
    }
    forEach(f, p = void 0) {
      let g = o(this);
      for (let m = 0; m < g.length; m++) {
        const [v, _] = g[m];
        f.call(p, _, v, this), g = o(this);
      }
    }
    set(f, p) {
      f = `${f}`, p = `${p}`, s(f), d(p);
      const g = c(this[n], f);
      this[n][g !== void 0 ? g : f] = [p];
    }
    append(f, p) {
      f = `${f}`, p = `${p}`, s(f), d(p);
      const g = c(this[n], f);
      g !== void 0 ? this[n][g].push(p) : this[n][f] = [p];
    }
    has(f) {
      return f = `${f}`, s(f), c(this[n], f) !== void 0;
    }
    delete(f) {
      f = `${f}`, s(f);
      const p = c(this[n], f);
      p !== void 0 && delete this[n][p];
    }
    raw() {
      return this[n];
    }
    keys() {
      return new a(this, "key");
    }
    values() {
      return new a(this, "value");
    }
    [Symbol.iterator]() {
      return new a(this, "key+value");
    }
    entries() {
      return new a(this, "key+value");
    }
    get [Symbol.toStringTag]() {
      return "Headers";
    }
    static exportNodeCompatibleHeaders(f) {
      const p = Object.assign(/* @__PURE__ */ Object.create(null), f[n]), g = c(f[n], "Host");
      return g !== void 0 && (p[g] = p[g][0]), p;
    }
    static createHeadersLenient(f) {
      const p = new ta();
      for (const g of Object.keys(f))
        if (!r.test(g))
          if (Array.isArray(f[g])) for (const m of f[g])
            i.test(m) || (p[n][g] === void 0 ? p[n][g] = [m] : p[n][g].push(m));
          else i.test(f[g]) || (p[n][g] = [f[g]]);
      return p;
    }
  };
  Object.defineProperties(u.prototype, {
    get: { enumerable: !0 },
    forEach: { enumerable: !0 },
    set: { enumerable: !0 },
    append: { enumerable: !0 },
    has: { enumerable: !0 },
    delete: { enumerable: !0 },
    keys: { enumerable: !0 },
    values: { enumerable: !0 },
    entries: { enumerable: !0 }
  });
  var o = (l, f = "key+value") => Object.keys(l[n]).sort().map(f === "key" ? (p) => p.toLowerCase() : f === "value" ? (p) => l[n][p].join(", ") : (p) => [p.toLowerCase(), l[n][p].join(", ")]), h = /* @__PURE__ */ Symbol("internal"), a = class Oh {
    constructor(f, p) {
      this[h] = {
        target: f,
        kind: p,
        index: 0
      };
    }
    get [Symbol.toStringTag]() {
      return "HeadersIterator";
    }
    next() {
      if (!this || Object.getPrototypeOf(this) !== Oh.prototype) throw new TypeError("Value of `this` is not a HeadersIterator");
      const { target: f, kind: p, index: g } = this[h], m = o(f, p);
      return g >= m.length ? {
        value: void 0,
        done: !0
      } : (this[h].index++, {
        value: m[g],
        done: !1
      });
    }
  };
  Object.setPrototypeOf(a.prototype, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))), t.exports = u;
})), Zb = /* @__PURE__ */ z(((e, t) => {
  var { STATUS_CODES: r } = be("http"), i = Wo(), s = zo(), { clone: d, extractContentType: c } = s, n = /* @__PURE__ */ Symbol("Response internals"), u = class Ch extends s {
    constructor(h = null, a = {}) {
      super(h, a);
      const l = a.status || 200, f = new i(a.headers);
      if (h != null && !f.has("Content-Type")) {
        const p = c(h);
        p && f.append("Content-Type", p);
      }
      this[n] = {
        url: a.url,
        status: l,
        statusText: a.statusText || r[l],
        headers: f,
        counter: a.counter,
        trailer: Promise.resolve(a.trailer || new i())
      };
    }
    get trailer() {
      return this[n].trailer;
    }
    get url() {
      return this[n].url || "";
    }
    get status() {
      return this[n].status;
    }
    get ok() {
      return this[n].status >= 200 && this[n].status < 300;
    }
    get redirected() {
      return this[n].counter > 0;
    }
    get statusText() {
      return this[n].statusText;
    }
    get headers() {
      return this[n].headers;
    }
    clone() {
      return new Ch(d(this), {
        url: this.url,
        status: this.status,
        statusText: this.statusText,
        headers: this.headers,
        ok: this.ok,
        redirected: this.redirected,
        trailer: this.trailer
      });
    }
    get [Symbol.toStringTag]() {
      return "Response";
    }
  };
  t.exports = u, Object.defineProperties(u.prototype, {
    url: { enumerable: !0 },
    status: { enumerable: !0 },
    ok: { enumerable: !0 },
    redirected: { enumerable: !0 },
    statusText: { enumerable: !0 },
    headers: { enumerable: !0 },
    clone: { enumerable: !0 }
  });
})), Jb = /* @__PURE__ */ ft({
  author: () => ga,
  default: () => Ih,
  dependencies: () => ca,
  description: () => na,
  devDependencies: () => la,
  engines: () => pa,
  files: () => da,
  keywords: () => fa,
  license: () => "MIT",
  main: () => sa,
  name: () => ra,
  optionalDependencies: () => ua,
  repository: () => ha,
  scripts: () => aa,
  tap: () => oa,
  templateOSS: () => ma,
  version: () => ia
}), ra, ia, na, Xb, sa, aa, oa, la, ca, ua, ha, fa, da, pa, ga, ma, Ih, Qb = Ot((() => {
  ra = "minipass-fetch", ia = "5.0.2", na = "An implementation of window.fetch in Node.js using Minipass streams", Xb = "MIT", sa = "lib/index.js", aa = {
    "test:tls-fixtures": "./test/fixtures/tls/setup.sh",
    test: "tap",
    snap: "tap",
    lint: "npm run eslint",
    postlint: "template-oss-check",
    lintfix: "npm run eslint -- --fix",
    posttest: "npm run lint",
    "template-oss-apply": "template-oss-apply --force",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"'
  }, oa = {
    "coverage-map": "map.js",
    "check-coverage": !0,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, la = {
    "@npmcli/eslint-config": "^5.0.0",
    "@npmcli/template-oss": "4.27.1",
    "@ungap/url-search-params": "^0.2.2",
    "abort-controller": "^3.0.0",
    "abortcontroller-polyfill": "~1.7.3",
    "form-data": "^4.0.0",
    "iconv-lite": "^0.7.2",
    nock: "^13.2.4",
    parted: "^0.1.1",
    "string-to-arraybuffer": "^1.0.2",
    tap: "^16.0.0"
  }, ca = {
    minipass: "^7.0.3",
    "minipass-sized": "^2.0.0",
    minizlib: "^3.0.1"
  }, ua = { "iconv-lite": "^0.7.2" }, ha = {
    type: "git",
    url: "git+https://github.com/npm/minipass-fetch.git"
  }, fa = [
    "fetch",
    "minipass",
    "node-fetch",
    "window.fetch"
  ], da = ["bin/", "lib/"], pa = { node: "^20.17.0 || >=22.9.0" }, ga = "GitHub Inc.", ma = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.27.1",
    publish: "true"
  }, Ih = {
    name: ra,
    version: ia,
    description: na,
    license: "MIT",
    main: sa,
    scripts: aa,
    tap: oa,
    devDependencies: la,
    dependencies: ca,
    optionalDependencies: ua,
    repository: ha,
    keywords: fa,
    files: da,
    engines: pa,
    author: ga,
    templateOSS: ma
  };
})), e1 = /* @__PURE__ */ z(((e, t) => {
  var { URL: r } = be("url"), { Minipass: i } = St(), s = Wo(), { exportNodeCompatibleHeaders: d } = s, c = zo(), { clone: n, extractContentType: u, getTotalBytes: o } = c, h = `minipass-fetch/${(Qb(), vt(Jb).default).version} (+https://github.com/isaacs/minipass-fetch)`, a = /* @__PURE__ */ Symbol("Request internals"), l = (g) => typeof g == "object" && typeof g[a] == "object", f = (g) => {
    const m = g && typeof g == "object" && Object.getPrototypeOf(g);
    return !!(m && m.constructor.name === "AbortSignal");
  }, p = class kh extends c {
    constructor(m, v = {}) {
      const _ = l(m) ? new r(m.url) : m && m.href ? new r(m.href) : new r(`${m}`);
      l(m) ? v = {
        ...m[a],
        ...v
      } : (!m || typeof m == "string") && (m = {});
      const E = (v.method || m.method || "GET").toUpperCase(), S = E === "GET" || E === "HEAD";
      if ((v.body !== null && v.body !== void 0 || l(m) && m.body !== null) && S) throw new TypeError("Request with GET/HEAD method cannot have body");
      const w = v.body !== null && v.body !== void 0 ? v.body : l(m) && m.body !== null ? n(m) : null;
      super(w, {
        timeout: v.timeout || m.timeout || 0,
        size: v.size || m.size || 0
      });
      const b = new s(v.headers || m.headers || {});
      if (w != null && !b.has("Content-Type")) {
        const Q = u(w);
        Q && b.append("Content-Type", Q);
      }
      const A = "signal" in v ? v.signal : null;
      if (A != null && !f(A)) throw new TypeError("Expected signal must be an instanceof AbortSignal");
      const { ca: D, cert: C, ciphers: O, clientCertEngine: I, crl: x, dhparam: F, ecdhCurve: q, family: K, honorCipherOrder: M, key: N, passphrase: L, pfx: te, rejectUnauthorized: H = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0", secureOptions: j, secureProtocol: P, servername: k, sessionIdContext: U } = v;
      this[a] = {
        method: E,
        redirect: v.redirect || m.redirect || "follow",
        headers: b,
        parsedURL: _,
        signal: A,
        ca: D,
        cert: C,
        ciphers: O,
        clientCertEngine: I,
        crl: x,
        dhparam: F,
        ecdhCurve: q,
        family: K,
        honorCipherOrder: M,
        key: N,
        passphrase: L,
        pfx: te,
        rejectUnauthorized: H,
        secureOptions: j,
        secureProtocol: P,
        servername: k,
        sessionIdContext: U
      }, this.follow = v.follow !== void 0 ? v.follow : m.follow !== void 0 ? m.follow : 20, this.compress = v.compress !== void 0 ? v.compress : m.compress !== void 0 ? m.compress : !0, this.counter = v.counter || m.counter || 0, this.agent = v.agent || m.agent;
    }
    get method() {
      return this[a].method;
    }
    get url() {
      return this[a].parsedURL.toString();
    }
    get headers() {
      return this[a].headers;
    }
    get redirect() {
      return this[a].redirect;
    }
    get signal() {
      return this[a].signal;
    }
    clone() {
      return new kh(this);
    }
    get [Symbol.toStringTag]() {
      return "Request";
    }
    static getNodeRequestOptions(m) {
      const v = m[a].parsedURL, _ = new s(m[a].headers);
      if (_.has("Accept") || _.set("Accept", "*/*"), !/^https?:$/.test(v.protocol)) throw new TypeError("Only HTTP(S) protocols are supported");
      if (m.signal && i.isStream(m.body) && typeof m.body.destroy != "function") throw new Error("Cancellation of streamed requests with AbortSignal is not supported");
      const E = (m.body === null || m.body === void 0) && /^(POST|PUT)$/i.test(m.method) ? "0" : m.body !== null && m.body !== void 0 ? o(m) : null;
      E && _.set("Content-Length", E + ""), _.has("User-Agent") || _.set("User-Agent", h), m.compress && !_.has("Accept-Encoding") && _.set("Accept-Encoding", "gzip,deflate");
      const S = typeof m.agent == "function" ? m.agent(v) : m.agent;
      !_.has("Connection") && !S && _.set("Connection", "close");
      const { ca: w, cert: b, ciphers: A, clientCertEngine: D, crl: C, dhparam: O, ecdhCurve: I, family: x, honorCipherOrder: F, key: q, passphrase: K, pfx: M, rejectUnauthorized: N, secureOptions: L, secureProtocol: te, servername: H, sessionIdContext: j } = m[a];
      return {
        auth: v.username || v.password ? `${v.username}:${v.password}` : "",
        host: v.host,
        hostname: v.hostname,
        path: `${v.pathname}${v.search}`,
        port: v.port,
        protocol: v.protocol,
        method: m.method,
        headers: d(_),
        agent: S,
        ca: w,
        cert: b,
        ciphers: A,
        clientCertEngine: D,
        crl: C,
        dhparam: O,
        ecdhCurve: I,
        family: x,
        honorCipherOrder: F,
        key: q,
        passphrase: K,
        pfx: M,
        rejectUnauthorized: N,
        secureOptions: L,
        secureProtocol: te,
        servername: H,
        sessionIdContext: j,
        timeout: m.timeout
      };
    }
  };
  t.exports = p, Object.defineProperties(p.prototype, {
    method: { enumerable: !0 },
    url: { enumerable: !0 },
    headers: { enumerable: !0 },
    redirect: { enumerable: !0 },
    clone: { enumerable: !0 },
    signal: { enumerable: !0 }
  });
})), t1 = /* @__PURE__ */ z(((e, t) => {
  var r = class extends Error {
    constructor(i) {
      super(i), this.code = "FETCH_ABORTED", this.type = "aborted", Error.captureStackTrace(this, this.constructor);
    }
    get name() {
      return "AbortError";
    }
    set name(i) {
    }
  };
  t.exports = r;
})), Ii = /* @__PURE__ */ z(((e, t) => {
  var { URL: r } = be("url"), i = be("http"), s = be("https"), d = vh(), { Minipass: c } = St(), { writeToStream: n, getTotalBytes: u } = zo(), o = Zb(), h = Wo(), { createHeadersLenient: a } = h, l = e1(), { getNodeRequestOptions: f } = l, p = yh(), g = t1(), m = async (v, _) => {
    if (/^data:/.test(v)) {
      const E = new l(v, _);
      return Promise.resolve().then(() => new Promise((S, w) => {
        let b, A;
        try {
          const { pathname: O, search: I } = new r(v), x = O.split(",");
          if (x.length < 2) throw new Error("invalid data: URI");
          const F = x.shift(), q = /;base64$/.test(F);
          b = q ? F.slice(0, -7) : F;
          const K = decodeURIComponent(x.join(",") + I);
          A = q ? Buffer.from(K, "base64") : Buffer.from(K);
        } catch (O) {
          return w(new p(`[${E.method}] ${E.url} invalid URL, ${O.message}`, "system", O));
        }
        const { signal: D } = E;
        if (D && D.aborted) return w(new g("The user aborted a request."));
        const C = { "Content-Length": A.length };
        return b && (C["Content-Type"] = b), S(new o(A, { headers: C }));
      }));
    }
    return new Promise((E, S) => {
      const w = new l(v, _);
      let b;
      try {
        b = f(w);
      } catch (K) {
        return S(K);
      }
      const A = (b.protocol === "https:" ? s : i).request, { signal: D } = w;
      let C = null;
      const O = () => {
        const K = new g("The user aborted a request.");
        S(K), c.isStream(w.body) && typeof w.body.destroy == "function" && w.body.destroy(K), C && C.body && C.body.emit("error", K);
      };
      if (D && D.aborted) return O();
      const I = () => {
        O(), x();
      }, x = () => {
        F.abort(), D && D.removeEventListener("abort", I), clearTimeout(q);
      }, F = A(b);
      D && D.addEventListener("abort", I);
      let q = null;
      w.timeout && F.once("socket", () => {
        q = setTimeout(() => {
          S(new p(`network timeout at: ${w.url}`, "request-timeout")), x();
        }, w.timeout);
      }), F.on("error", (K) => {
        F.res && F.res.emit("error", K), S(new p(`request to ${w.url} failed, reason: ${K.message}`, "system", K)), x();
      }), F.on("response", (K) => {
        clearTimeout(q);
        const M = a(K.headers);
        if (m.isRedirect(K.statusCode)) {
          const P = M.get("Location");
          let k = null;
          try {
            k = P === null ? null : new r(P, w.url).toString();
          } catch {
            if (w.redirect !== "manual") {
              S(new p(`uri requested responds with an invalid redirect URL: ${P}`, "invalid-redirect")), x();
              return;
            }
          }
          if (w.redirect === "error") {
            S(new p(`uri requested responds with a redirect, redirect mode is set to error: ${w.url}`, "no-redirect")), x();
            return;
          } else if (w.redirect === "manual") {
            if (k !== null) try {
              M.set("Location", k);
            } catch (U) {
              S(U);
            }
          } else if (w.redirect === "follow" && k !== null) {
            if (w.counter >= w.follow) {
              S(new p(`maximum redirect reached at: ${w.url}`, "max-redirect")), x();
              return;
            }
            if (K.statusCode !== 303 && w.body && u(w) === null) {
              S(new p("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), x();
              return;
            }
            w.headers.set("host", new r(k).host);
            const U = {
              headers: new h(w.headers),
              follow: w.follow,
              counter: w.counter + 1,
              agent: w.agent,
              compress: w.compress,
              method: w.method,
              body: w.body,
              signal: w.signal,
              timeout: w.timeout
            }, Q = new r(w.url), ue = new r(k);
            Q.hostname !== ue.hostname && (U.headers.delete("authorization"), U.headers.delete("cookie")), (K.statusCode === 303 || (K.statusCode === 301 || K.statusCode === 302) && w.method === "POST") && (U.method = "GET", U.body = void 0, U.headers.delete("content-length")), E(m(new l(k, U))), x();
            return;
          }
        }
        K.once("end", () => D && D.removeEventListener("abort", I));
        const N = new c();
        N.on("error", x), K.on(
          "error",
          /* istanbul ignore next */
          (P) => N.emit("error", P)
        ), K.on("data", (P) => N.write(P)), K.on("end", () => N.end());
        const L = {
          url: w.url,
          status: K.statusCode,
          statusText: K.statusMessage,
          headers: M,
          size: w.size,
          timeout: w.timeout,
          counter: w.counter,
          trailer: new Promise((P) => K.on("end", () => P(a(K.trailers))))
        }, te = M.get("Content-Encoding");
        if (!w.compress || w.method === "HEAD" || te === null || K.statusCode === 204 || K.statusCode === 304) {
          C = new o(N, L), E(C);
          return;
        }
        const H = {
          flush: d.constants.Z_SYNC_FLUSH,
          finishFlush: d.constants.Z_SYNC_FLUSH
        };
        if (te === "gzip" || te === "x-gzip") {
          const P = new d.Gunzip(H);
          C = new o(N.on(
            "error",
            /* istanbul ignore next */
            (k) => P.emit("error", k)
          ).pipe(P), L), E(C);
          return;
        }
        if (te === "deflate" || te === "x-deflate") {
          K.once("data", (P) => {
            const k = (P[0] & 15) === 8 ? new d.Inflate() : new d.InflateRaw();
            N.on(
              "error",
              /* istanbul ignore next */
              (U) => k.emit("error", U)
            ).pipe(k), C = new o(k, L), E(C);
          });
          return;
        }
        if (te === "br") {
          try {
            var j = new d.BrotliDecompress();
          } catch (P) {
            S(P), x();
            return;
          }
          N.on(
            "error",
            /* istanbul ignore next */
            (P) => j.emit("error", P)
          ).pipe(j), C = new o(j, L), E(C);
          return;
        }
        C = new o(N, L), E(C);
      }), n(F, w);
    });
  };
  t.exports = m, m.isRedirect = (v) => v === 301 || v === 302 || v === 303 || v === 307 || v === 308, m.Headers = h, m.Request = l, m.Response = o, m.FetchError = p, m.AbortError = g;
})), r1 = /* @__PURE__ */ ft({
  author: () => Aa,
  default: () => Lh,
  dependencies: () => Ta,
  description: () => _a,
  devDependencies: () => Da,
  engines: () => Oa,
  files: () => ba,
  keywords: () => Sa,
  license: () => "ISC",
  main: () => "lib",
  name: () => va,
  repository: () => Ea,
  scripts: () => wa,
  tap: () => Ra,
  templateOSS: () => Ca,
  version: () => ya
}), va, ya, _a, i1, ba, wa, Ea, Sa, Aa, n1, Ta, Da, Ra, Oa, Ca, Lh, s1 = Ot((() => {
  va = "npm-registry-fetch", ya = "19.1.1", _a = "Fetch-based http client for use with npm registry APIs", i1 = "lib", ba = ["bin/", "lib/"], wa = {
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',
    lint: "npm run eslint",
    lintfix: "npm run eslint -- --fix",
    test: "tap",
    posttest: "npm run lint",
    npmclilint: "npmcli-lint",
    postsnap: "npm run lintfix --",
    postlint: "template-oss-check",
    snap: "tap",
    "template-oss-apply": "template-oss-apply --force"
  }, Ea = {
    type: "git",
    url: "git+https://github.com/npm/npm-registry-fetch.git"
  }, Sa = [
    "npm",
    "registry",
    "fetch"
  ], Aa = "GitHub Inc.", n1 = "ISC", Ta = {
    "@npmcli/redact": "^4.0.0",
    jsonparse: "^1.3.1",
    "make-fetch-happen": "^15.0.0",
    minipass: "^7.0.2",
    "minipass-fetch": "^5.0.0",
    minizlib: "^3.0.1",
    "npm-package-arg": "^13.0.0",
    "proc-log": "^6.0.0"
  }, Da = {
    "@npmcli/eslint-config": "^6.0.0",
    "@npmcli/template-oss": "4.28.0",
    cacache: "^20.0.0",
    nock: "^13.2.4",
    "require-inject": "^1.4.4",
    ssri: "^13.0.0",
    tap: "^16.0.1"
  }, Ra = {
    "check-coverage": !0,
    "test-ignore": "test[\\\\/](util|cache)[\\\\/]",
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, Oa = { node: "^20.17.0 || >=22.9.0" }, Ca = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.28.0",
    publish: "true"
  }, Lh = {
    name: va,
    version: ya,
    description: _a,
    main: "lib",
    files: ba,
    scripts: wa,
    repository: Ea,
    keywords: Sa,
    author: Aa,
    license: "ISC",
    dependencies: Ta,
    devDependencies: Da,
    tap: Ra,
    engines: Oa,
    templateOSS: Ca
  };
})), xh = /* @__PURE__ */ z(((e, t) => {
  var r = (s1(), vt(r1).default);
  t.exports = {
    maxSockets: 12,
    method: "GET",
    registry: "https://registry.npmjs.org/",
    timeout: 300 * 1e3,
    strictSSL: !0,
    noProxy: process.env.NOPROXY,
    userAgent: `${r.name}@${r.version}/node@${process.version}+${process.arch} (${process.platform})`
  };
})), Vo = /* @__PURE__ */ z(((e, t) => {
  var r = /* @__PURE__ */ Symbol("proc-log.meta");
  t.exports = {
    META: r,
    output: {
      LEVELS: [
        "standard",
        "error",
        "buffer",
        "flush"
      ],
      KEYS: {
        standard: "standard",
        error: "error",
        buffer: "buffer",
        flush: "flush"
      },
      standard: function(...i) {
        return process.emit("output", "standard", ...i);
      },
      error: function(...i) {
        return process.emit("output", "error", ...i);
      },
      buffer: function(...i) {
        return process.emit("output", "buffer", ...i);
      },
      flush: function(...i) {
        return process.emit("output", "flush", ...i);
      }
    },
    log: {
      LEVELS: [
        "notice",
        "error",
        "warn",
        "info",
        "verbose",
        "http",
        "silly",
        "timing",
        "pause",
        "resume"
      ],
      KEYS: {
        notice: "notice",
        error: "error",
        warn: "warn",
        info: "info",
        verbose: "verbose",
        http: "http",
        silly: "silly",
        timing: "timing",
        pause: "pause",
        resume: "resume"
      },
      error: function(...i) {
        return process.emit("log", "error", ...i);
      },
      notice: function(...i) {
        return process.emit("log", "notice", ...i);
      },
      warn: function(...i) {
        return process.emit("log", "warn", ...i);
      },
      info: function(...i) {
        return process.emit("log", "info", ...i);
      },
      verbose: function(...i) {
        return process.emit("log", "verbose", ...i);
      },
      http: function(...i) {
        return process.emit("log", "http", ...i);
      },
      silly: function(...i) {
        return process.emit("log", "silly", ...i);
      },
      timing: function(...i) {
        return process.emit("log", "timing", ...i);
      },
      pause: function() {
        return process.emit("log", "pause");
      },
      resume: function() {
        return process.emit("log", "resume");
      }
    },
    time: {
      LEVELS: ["start", "end"],
      KEYS: {
        start: "start",
        end: "end"
      },
      start: function(i, s) {
        process.emit("time", "start", i);
        function d() {
          return process.emit("time", "end", i);
        }
        if (typeof s == "function") {
          const c = s();
          return c && c.finally ? c.finally(d) : (d(), c);
        }
        return d;
      },
      end: function(i) {
        return process.emit("time", "end", i);
      }
    },
    input: {
      LEVELS: [
        "start",
        "end",
        "read"
      ],
      KEYS: {
        start: "start",
        end: "end",
        read: "read"
      },
      start: function(...i) {
        let s;
        typeof i[0] == "function" && (s = i.shift()), process.emit("input", "start", ...i);
        function d() {
          return process.emit("input", "end", ...i);
        }
        if (typeof s == "function") {
          const c = s();
          return c && c.finally ? c.finally(d) : (d(), c);
        }
        return d;
      },
      end: function(...i) {
        return process.emit("input", "end", ...i);
      },
      read: function(...i) {
        let s, d;
        const c = new Promise((n, u) => {
          s = n, d = u;
        });
        return process.emit("input", "read", s, d, ...i), c;
      }
    }
  };
})), $h = /* @__PURE__ */ z(((e, t) => {
  var r = "regex", i = "url", s = "path", d = {
    type: r,
    pattern: /\b(npms?_)[a-zA-Z0-9]{36,48}\b/gi,
    replacement: "[REDACTED_NPM_SECRET]"
  }, c = {
    type: r,
    pattern: /\b(Basic\s+|Bearer\s+)[\w+=\-.]+\b/gi,
    replacement: "[REDACTED_AUTH_HEADER]"
  }, n = {
    type: r,
    pattern: /\b[A-Za-z0-9-_]{10,}(?!\.\d+\.)\.[A-Za-z0-9-_]{3,}\.[A-Za-z0-9-_]{20,}\b/gi,
    replacement: "[REDACTED_JSON_WEB_TOKEN]"
  }, u = {
    type: r,
    pattern: /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,
    replacement: "[REDACTED_UUID]"
  }, o = {
    type: r,
    pattern: /(?:https?|ftp):\/\/[^\s/"$.?#].[^\s"]*/gi,
    replacement: "[REDACTED_URL]"
  }, h = {
    type: s,
    predicate: ({ path: g }) => g.endsWith(".headers.authorization"),
    replacement: "[REDACTED_HEADER_AUTHORIZATION]"
  }, a = {
    type: s,
    predicate: ({ path: g }) => g.endsWith(".headers.set-cookie"),
    replacement: "[REDACTED_HEADER_SET_COOKIE]"
  }, l = {
    type: s,
    predicate: ({ path: g }) => g.endsWith(".headers.cookie"),
    replacement: "[REDACTED_HEADER_COOKIE]"
  }, f = {
    type: s,
    predicate: ({ path: g }) => g.endsWith(".request"),
    replacement: (g) => ({
      method: g?.method,
      path: g?.path,
      headers: g?.headers,
      url: g?.url
    })
  }, p = {
    type: s,
    predicate: ({ path: g }) => g.endsWith(".response"),
    replacement: (g) => ({
      data: g?.data,
      status: g?.status,
      headers: g?.headers
    })
  };
  t.exports = {
    TYPE_REGEX: r,
    TYPE_URL: i,
    TYPE_PATH: s,
    NPM_SECRET: d,
    AUTH_HEADER: c,
    JSON_WEB_TOKEN: n,
    UUID: u,
    URL_MATCHER: o,
    DEEP_HEADER_AUTHORIZATION: h,
    DEEP_HEADER_SET_COOKIE: a,
    DEEP_HEADER_COOKIE: l,
    REWRITE_REQUEST: f,
    REWRITE_RESPONSE: p
  };
})), a1 = /* @__PURE__ */ z(((e, t) => {
  var { URL_MATCHER: r, TYPE_URL: i, TYPE_REGEX: s, TYPE_PATH: d } = $h(), c = (w = 0) => (w = typeof w == "string" ? w.length : w, w < 8 ? "*".repeat(8) : "*".repeat(w)), n = (w) => w.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), u = (w) => [.../* @__PURE__ */ new Set([
    encodeURIComponent(w),
    decodeURIComponent(w),
    w
  ])].map(n).join("|"), o = (w, ...b) => {
    let A = "";
    for (let D = 0; D < b.length; D++) A += w[D] + `(${u(b[D])})`;
    return A += w[w.length - 1], new RegExp(A);
  }, h = ({ hostname: w, replacement: b } = {}) => ({
    type: i,
    predicate: ({ url: A }) => A.hostname === w,
    pattern: ({ url: A }) => o`(^${A.protocol}//${A.username}:.+@)?${A.hostname}`,
    replacement: `$1${b || c()}`
  }), a = ({ param: w, replacement: b } = {}) => ({
    type: i,
    predicate: ({ url: A }) => A.searchParams.has(w),
    pattern: ({ url: A }) => o`(${w}=)${A.searchParams.get(w)}`,
    replacement: `$1${b || c()}`
  }), l = ({ replacement: w } = {}) => ({
    type: i,
    predicate: ({ url: b }) => b.password,
    pattern: ({ url: b }) => o`(^${b.protocol}//${b.username}:)${b.password}`,
    replacement: `$1${w || c()}`
  }), f = (...w) => (b) => {
    try {
      const A = new URL(b);
      return v(...w)(b, { url: A });
    } catch {
      return b;
    }
  }, p = (...w) => ({
    ...r,
    replacement: f(...w)
  }), g = {
    [s]: (w) => (b) => (typeof b == "string" && (b = b.replace(w.pattern, w.replacement)), b),
    [i]: (w) => (b, A) => {
      if (typeof b == "string") try {
        const D = A?.url || new URL(b), { predicate: C, pattern: O } = w;
        C({ url: D }) && (b = b.replace(O({ url: D }), w.replacement));
      } catch {
        return b;
      }
      return b;
    },
    [d]: (w) => (b, A) => {
      const D = A?.path, C = D.join(".").toLowerCase(), { predicate: O, replacement: I } = w, x = typeof I == "function" ? I : () => I;
      return O({
        rawPath: D,
        path: C
      }) && (b = x(b, {
        rawPath: D,
        path: C
      })), b;
    }
  }, m = (w) => g[w.type](w), v = (...w) => (b, A) => w.flat().reduce((D, C) => (typeof C == "function" ? C : m(C))(D, A), b), _ = () => (w, b) => typeof b == "number" ? c(w) : b + c(w.substring(b.length).length), E = (w) => (b, A) => typeof A == "number" ? c(w) : A + c(w), S = (w, b) => v(l({ replacement: b }))(w);
  t.exports = {
    asterisk: c,
    escapeRegExp: n,
    urlEncodeRegexGroup: u,
    urlEncodeRegexTag: o,
    redactUrlHostnameMatcher: h,
    redactUrlSearchParamsMatcher: a,
    redactUrlPasswordMatcher: l,
    redactUrlMatcher: p,
    redactUrlReplacement: f,
    redactDynamicReplacement: _,
    redactFixedReplacement: E,
    redactMatchers: v,
    redactUrlPassword: S
  };
})), Nh = /* @__PURE__ */ z(((e, t) => {
  var r = $h(), { redactUrlPassword: i } = a1(), s = "***", d = (u) => typeof u != "string" || !u ? u : i(u, s).replace(r.NPM_SECRET.pattern, `npm_${s}`).replace(r.UUID.pattern, s), c = (u) => {
    const o = /[\s=]/g;
    let h = null, a = "", l = 0;
    for (; h = o.exec(u); )
      a += d(u.slice(l, h.index)) + h[0], l = o.lastIndex;
    return a + d(u.slice(l));
  }, n = (u) => typeof u == "string" ? c(u) : Array.isArray(u) ? u.map((o) => typeof o == "string" ? c(o) : o) : u;
  t.exports = {
    redact: d,
    redactLog: n
  };
})), o1 = /* @__PURE__ */ z(((e, t) => {
  var r = mh(), { Response: i } = Ii(), s = xh(), { log: d } = Vo(), { redact: c } = Nh(), n = "https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry", u = async ({ method: a, uri: l, res: f, startTime: p, auth: g, opts: m }) => (m = {
    ...s,
    ...m
  }, f.headers.has("npm-notice") && !f.headers.has("x-local-cache") && d.notice("", f.headers.get("npm-notice")), f.status >= 400 ? (o(a, f, p), g && g.scopeAuthKey && !g.token && !g.auth && d.warn("registry", `No auth for URI, but auth present for scoped registry.

URI: ${l}
Scoped Registry Key: ${g.scopeAuthKey}

More info here: ${n}`), h(a, f, p, m)) : (f.body.on("end", () => o(a, f, p, m)), m.ignoreBody ? (f.body.resume(), new i(null, f)) : f));
  t.exports = u;
  function o(a, l, f) {
    const p = Date.now() - f, g = l.headers.get("x-fetch-attempts"), m = g && g > 1 ? ` attempt #${g}` : "", v = l.headers.get("x-local-cache-status"), _ = v ? ` (cache ${v})` : "", E = c(l.url);
    v === "hit" ? d.http("cache", `${E} ${p}ms${m}${_}`) : d.http("fetch", `${a.toUpperCase()} ${l.status} ${E} ${p}ms${m}${_}`);
  }
  function h(a, l, f, p) {
    return l.buffer().catch(() => null).then((g) => {
      let m = g;
      try {
        m = JSON.parse(g.toString("utf8"));
      } catch {
      }
      if (l.status === 401 && l.headers.get("www-authenticate")) {
        const v = l.headers.get("www-authenticate").split(/,\s*/).map((_) => _.toLowerCase());
        throw v.indexOf("ipaddress") !== -1 ? new r.HttpErrorAuthIPAddress(a, l, m, p.spec) : v.indexOf("otp") !== -1 ? new r.HttpErrorAuthOTP(a, l, m, p.spec) : new r.HttpErrorAuthUnknown(a, l, m, p.spec);
      } else throw l.status === 401 && g != null && /one-time pass/.test(g.toString("utf8")) ? new r.HttpErrorAuthOTP(a, l, m, p.spec) : new r.HttpErrorGeneral(a, l, m, p.spec);
    });
  }
})), l1 = /* @__PURE__ */ ft({ default: () => Ph }), Ph, c1 = Ot((() => {
  Ph = [
    "_http_agent",
    "_http_client",
    "_http_common",
    "_http_incoming",
    "_http_outgoing",
    "_http_server",
    "_stream_duplex",
    "_stream_passthrough",
    "_stream_readable",
    "_stream_transform",
    "_stream_wrap",
    "_stream_writable",
    "_tls_common",
    "_tls_wrap",
    "assert",
    "assert/strict",
    "async_hooks",
    "buffer",
    "child_process",
    "cluster",
    "console",
    "constants",
    "crypto",
    "dgram",
    "diagnostics_channel",
    "dns",
    "dns/promises",
    "domain",
    "events",
    "fs",
    "fs/promises",
    "http",
    "http2",
    "https",
    "inspector",
    "inspector/promises",
    "module",
    "net",
    "os",
    "path",
    "path/posix",
    "path/win32",
    "perf_hooks",
    "process",
    "punycode",
    "querystring",
    "readline",
    "readline/promises",
    "repl",
    "stream",
    "stream/consumers",
    "stream/promises",
    "stream/web",
    "string_decoder",
    "sys",
    "timers",
    "timers/promises",
    "tls",
    "trace_events",
    "tty",
    "url",
    "util",
    "util/types",
    "v8",
    "vm",
    "wasi",
    "worker_threads",
    "zlib",
    "node:sea",
    "node:sqlite",
    "node:test",
    "node:test/reporters"
  ];
})), u1 = /* @__PURE__ */ z(((e, t) => {
  var r = (c1(), vt(l1).default), i = /* @__PURE__ */ new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"), s = ["node_modules", "favicon.ico"];
  function d(n) {
    var u = [], o = [];
    if (n === null)
      return o.push("name cannot be null"), c(u, o);
    if (n === void 0)
      return o.push("name cannot be undefined"), c(u, o);
    if (typeof n != "string")
      return o.push("name must be a string"), c(u, o);
    if (n.length || o.push("name length must be greater than zero"), n.startsWith(".") && o.push("name cannot start with a period"), n.startsWith("-") && o.push("name cannot start with a hyphen"), n.match(/^_/) && o.push("name cannot start with an underscore"), n.trim() !== n && o.push("name cannot contain leading or trailing spaces"), s.forEach(function(f) {
      n.toLowerCase() === f && o.push(f + " is not a valid package name");
    }), r.includes(n.toLowerCase()) && u.push(n + " is a core module name"), n.length > 214 && u.push("name can no longer contain more than 214 characters"), n.toLowerCase() !== n && u.push("name can no longer contain capital letters"), /[~'!()*]/.test(n.split("/").slice(-1)[0]) && u.push(`name can no longer contain special characters ("~'!()*")`), encodeURIComponent(n) !== n) {
      var h = n.match(i);
      if (h) {
        var a = h[1], l = h[2];
        if (l.startsWith(".") && o.push("name cannot start with a period"), encodeURIComponent(a) === a && encodeURIComponent(l) === l) return c(u, o);
      }
      o.push("name can only contain URL-friendly characters");
    }
    return c(u, o);
  }
  var c = function(n, u) {
    var o = {
      validForNewPackages: u.length === 0 && n.length === 0,
      validForOldPackages: u.length === 0,
      warnings: n,
      errors: u
    };
    return o.warnings.length || delete o.warnings, o.errors.length || delete o.errors, o;
  };
  t.exports = d;
})), Bh = /* @__PURE__ */ z(((e, t) => {
  var r = process.platform === "win32", { URL: i } = be("node:url"), s = r ? be("node:path/win32") : be("node:path"), { homedir: d } = be("node:os"), c = $u(), n = To(), u = u1(), { log: o } = Vo(), h = r ? /\\|[/]/ : /[/]/, a = /^(?:git[+])?[a-z]+:/i, l = /^[^@]+@[^:.]+\.[^:]+:.+$/i, f = /[.](?:tgz|tar\.gz|tar)$/i, p = /:[0-9]+(\/|$)/i, g = /^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/, m = /^(?:[.]|~[/]|[/]|[a-zA-Z]:)/, v = "https://registry.npmjs.org";
  function _(H, j) {
    let P, k;
    if (typeof H == "object") return H instanceof O && (!j || j === H.where) ? H : H.name && H.rawSpec ? _.resolve(H.name, H.rawSpec, j || H.where) : _(H.raw, j || H.where);
    const U = H.indexOf("@", 1), Q = U > 0 ? H.slice(0, U) : H;
    return a.test(H) ? k = H : l.test(H) ? k = `git+ssh://${H}` : !Q.startsWith("@") && (h.test(Q) || f.test(Q)) ? k = H : U > 0 ? (P = Q, k = H.slice(U + 1) || "*") : u(H).validForOldPackages ? (P = H, k = "*") : k = H, w(P, k, j, H);
  }
  function E(H) {
    return H ? H.toLowerCase().startsWith("file:") ? !0 : r ? g.test(H) : m.test(H) : !1;
  }
  function S(H) {
    return H ? H.toLowerCase().startsWith("npm:") : !1;
  }
  function w(H, j, P, k) {
    const U = new O({
      raw: k,
      name: H,
      rawSpec: j,
      fromArgument: k != null
    });
    if (H && (U.name = H), P || (P = process.cwd()), E(j)) return q(U, P);
    if (S(j)) return L(U, P);
    const Q = c.fromUrl(j, {
      noGitPlus: !0,
      noCommittish: !0
    });
    return Q ? K(U, Q) : j && a.test(j) ? N(U) : j && (h.test(j) || f.test(j)) ? q(U, P) : te(U);
  }
  function b(H, j = v) {
    const P = _(H);
    if (P.type !== "version") throw C(P.type, P.raw);
    let k = "pkg:npm/" + P.name.replace(/^@/, "%40") + "@" + P.rawSpec;
    return j !== v && (k += "?repository_url=" + j), k;
  }
  function A(H, j, P) {
    const k = /* @__PURE__ */ new Error(`Invalid package name "${H}" of package "${P}": ${j.errors.join("; ")}.`);
    return k.code = "EINVALIDPACKAGENAME", k;
  }
  function D(H, j) {
    const P = /* @__PURE__ */ new Error(`Invalid tag name "${H}" of package "${j}": Tags may not have any characters that encodeURIComponent encodes.`);
    return P.code = "EINVALIDTAGNAME", P;
  }
  function C(H, j) {
    const P = /* @__PURE__ */ new Error(`Invalid type "${H}" of package "${j}": Purl can only be generated for "version" types.`);
    return P.code = "EINVALIDPURLTYPE", P;
  }
  var O = class {
    constructor(H) {
      this.type = H.type, this.registry = H.registry, this.where = H.where, H.raw == null ? this.raw = H.name ? `${H.name}@${H.rawSpec}` : H.rawSpec : this.raw = H.raw, this.name = void 0, this.escapedName = void 0, this.scope = void 0, this.rawSpec = H.rawSpec || "", this.saveSpec = H.saveSpec, this.fetchSpec = H.fetchSpec, H.name && this.setName(H.name), this.gitRange = H.gitRange, this.gitCommittish = H.gitCommittish, this.gitSubdir = H.gitSubdir, this.hosted = H.hosted;
    }
    setName(H) {
      const j = u(H);
      if (!j.validForOldPackages) throw A(H, j, this.raw);
      return this.name = H, this.scope = H[0] === "@" ? H.slice(0, H.indexOf("/")) : void 0, this.escapedName = H.replace("/", "%2f"), this;
    }
    toString() {
      const H = [];
      this.name != null && this.name !== "" && H.push(this.name);
      const j = this.saveSpec || this.fetchSpec || this.rawSpec;
      return j != null && j !== "" && H.push(j), H.length ? H.join("@") : this.raw;
    }
    toJSON() {
      const H = Object.assign({}, this);
      return delete H.hosted, H;
    }
  };
  function I(H, j) {
    if (!j) {
      H.gitCommittish = null;
      return;
    }
    for (const P of j.split("::")) {
      if (!P.includes(":")) {
        if (H.gitRange) throw new Error("cannot override existing semver range with a committish");
        if (H.gitCommittish) throw new Error("cannot override existing committish with a second committish");
        H.gitCommittish = P;
        continue;
      }
      const [k, U] = P.split(":");
      if (k === "semver") {
        if (H.gitCommittish) throw new Error("cannot override existing committish with a semver range");
        if (H.gitRange) throw new Error("cannot override existing semver range with a second semver range");
        H.gitRange = decodeURIComponent(U);
        continue;
      }
      if (k === "path") {
        if (H.gitSubdir) throw new Error("cannot override existing path with a second path");
        H.gitSubdir = `/${U}`;
        continue;
      }
      o.warn("npm-package-arg", `ignoring unknown key "${k}"`);
    }
  }
  var x = /* @__PURE__ */ new Map([
    ["\0", "%00"],
    ["	", "%09"],
    [`
`, "%0A"],
    ["\r", "%0D"],
    [" ", "%20"],
    ['"', "%22"],
    ["#", "%23"],
    ["%", "%25"],
    ["?", "%3F"],
    ["[", "%5B"],
    ["\\", r ? "/" : "%5C"],
    ["]", "%5D"],
    ["^", "%5E"],
    ["|", "%7C"],
    ["~", "%7E"]
  ]);
  function F(H) {
    let j = "";
    for (let P = 0; P < H.length; P++) j = `${j}${x.get(H[P]) ?? H[P]}`;
    return j.startsWith("file:") ? j : `file:${j}`;
  }
  function q(H, j) {
    H.type = f.test(H.rawSpec) ? "file" : "directory", H.where = j;
    let P = F(H.rawSpec);
    P.startsWith("file:/") && (/^file:\/\/[^/]/.test(P) && (P = `file:/${P.slice(5)}`), /^\/{1,3}\.\.?(\/|$)/.test(P.slice(5)) && (P = P.replace(/^file:\/{1,3}/, "file:")));
    let k, U;
    try {
      k = new i(P, `${F(s.resolve(j))}/`), U = new i(P);
    } catch (me) {
      throw Object.assign(/* @__PURE__ */ new Error("Invalid file: URL, must comply with RFC 8089"), {
        raw: H.rawSpec,
        spec: H,
        where: j,
        originalError: me
      });
    }
    let Q = decodeURIComponent(U.pathname), ue = decodeURIComponent(k.pathname);
    return r && (Q = Q.replace(/^\/+([a-z]:\/)/i, "$1"), ue = ue.replace(/^\/+([a-z]:\/)/i, "$1")), /^\/~(\/|$)/.test(Q) ? (H.saveSpec = `file:${Q.substr(1)}`, ue = s.resolve(d(), Q.substr(3))) : s.isAbsolute(P.slice(5)) ? H.saveSpec = `file:${s.resolve(ue)}` : H.saveSpec = `file:${s.relative(j, ue)}`, H.fetchSpec = s.resolve(j, ue), H.saveSpec = H.saveSpec.split("\\").join("/"), H.saveSpec.startsWith("file://") && (H.saveSpec = `file:/${H.saveSpec.slice(7)}`), H;
  }
  function K(H, j) {
    return H.type = "git", H.hosted = j, H.saveSpec = j.toString({
      noGitPlus: !1,
      noCommittish: !1
    }), H.fetchSpec = j.getDefaultRepresentation() === "shortcut" ? null : j.toString(), I(H, j.committish), H;
  }
  function M(H, j) {
    const P = /* @__PURE__ */ new Error(`Unsupported URL Type "${H}": ${j}`);
    return P.code = "EUNSUPPORTEDPROTOCOL", P;
  }
  function N(H) {
    let j = H.rawSpec;
    if (H.saveSpec = j, j.startsWith("git+ssh:")) {
      const k = j.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);
      if (k && !k[1].match(p))
        return H.type = "git", I(H, k[2]), H.fetchSpec = k[1], H;
    } else j.startsWith("git+file://") && (j = j.replace(/\\/g, "/"));
    const P = new i(j);
    switch (P.protocol) {
      case "git:":
      case "git+http:":
      case "git+https:":
      case "git+rsync:":
      case "git+ftp:":
      case "git+file:":
      case "git+ssh:":
        H.type = "git", I(H, P.hash.slice(1)), P.protocol === "git+file:" && /^git\+file:\/\/[a-z]:/i.test(j) ? H.fetchSpec = `git+file://${P.host.toLowerCase()}:${P.pathname}` : (P.hash = "", H.fetchSpec = P.toString()), H.fetchSpec.startsWith("git+") && (H.fetchSpec = H.fetchSpec.slice(4));
        break;
      case "http:":
      case "https:":
        H.type = "remote", H.fetchSpec = H.saveSpec;
        break;
      default:
        throw M(P.protocol, j);
    }
    return H;
  }
  function L(H, j) {
    const P = _(H.rawSpec.substr(4), j);
    if (P.type === "alias") throw new Error("nested aliases not supported");
    if (!P.registry) throw new Error("aliases only work for registry deps");
    if (!P.name) throw new Error("aliases must have a name");
    return H.subSpec = P, H.registry = !0, H.type = "alias", H.saveSpec = null, H.fetchSpec = null, H;
  }
  function te(H) {
    H.registry = !0;
    const j = H.rawSpec.trim();
    H.saveSpec = null, H.fetchSpec = j;
    const P = n.valid(j, !0), k = n.validRange(j, !0);
    if (P) H.type = "version";
    else if (k) H.type = "range";
    else {
      if (encodeURIComponent(j) !== j) throw D(j, H.raw);
      H.type = "tag";
    }
    return H;
  }
  t.exports = _, t.exports.resolve = w, t.exports.toPurl = b, t.exports.Result = O;
})), h1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("fs"), i = Bh(), { URL: s } = be("url"), d = (l, f) => {
    const p = new s(l);
    let g = `//${p.host}${p.pathname}`;
    for (; g.length > 2; ) {
      const m = c(g, f);
      if (m) return {
        regKey: g,
        authKey: m
      };
      g = g.replace(/([^/]+|\/)$/, "");
    }
    return {
      regKey: !1,
      authKey: null
    };
  }, c = (l, f) => f[`${l}:_authToken`] ? "_authToken" : f[`${l}:_auth`] ? "_auth" : f[`${l}:username`] && f[`${l}:_password`] ? "username" : f[`${l}:certfile`] && f[`${l}:keyfile`] ? "certfile" : !1, n = (l, f) => {
    const p = new s(l), g = new s(f);
    return p.host === g.host;
  }, u = (l) => {
    const { spec: f } = l, { scope: p, subSpec: g } = f ? i(f) : {}, m = g && g.scope, v = g ? m : p;
    return v && l[`${v}:registry`] || l.registry;
  }, o = (l) => {
    try {
      return r.readFileSync(l, "utf8");
    } catch (f) {
      if (f.code !== "ENOENT") throw f;
      return null;
    }
  }, h = (l, f = {}) => {
    const { forceAuth: p } = f;
    if (!l) throw new Error("URI is required");
    const { regKey: g, authKey: m } = d(l, p || f);
    if (p && !g) return new a({
      regKey: !1,
      authKey: null,
      scopeAuthKey: null,
      token: p._authToken || p.token,
      username: p.username,
      password: p._password || p.password,
      auth: p._auth || p.auth,
      certfile: p.certfile,
      keyfile: p.keyfile
    });
    if (!g) {
      const A = u(f);
      if (A && l !== A && n(l, A)) return h(A, f);
      if (A !== f.registry) {
        const { regKey: D, authKey: C } = d(A, f);
        return new a({
          scopeAuthKey: D,
          regKey: D,
          authKey: C
        });
      }
    }
    const { [`${g}:_authToken`]: v, [`${g}:username`]: _, [`${g}:_password`]: E, [`${g}:_auth`]: S, [`${g}:certfile`]: w, [`${g}:keyfile`]: b } = f;
    return new a({
      scopeAuthKey: null,
      regKey: g,
      authKey: m,
      token: v,
      auth: S,
      username: _,
      password: E,
      certfile: w,
      keyfile: b
    });
  }, a = class {
    constructor({ token: l, auth: f, username: p, password: g, scopeAuthKey: m, certfile: v, keyfile: _, regKey: E, authKey: S }) {
      if (this.scopeAuthKey = m, this.regKey = E, this.authKey = S, this.token = null, this.auth = null, this.isBasicAuth = !1, this.cert = null, this.key = null, l) this.token = l;
      else if (f) this.auth = f;
      else if (p && g) {
        const w = Buffer.from(g, "base64").toString("utf8");
        this.auth = Buffer.from(`${p}:${w}`, "utf8").toString("base64"), this.isBasicAuth = !0;
      }
      if (v && _) {
        const w = o(v, "utf-8"), b = o(_, "utf-8");
        w && b && (this.cert = w, this.key = b);
      }
    }
  };
  t.exports = h;
})), f1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("dns"), i = [
    "if-modified-since",
    "if-none-match",
    "if-unmodified-since",
    "if-match",
    "if-range"
  ], s = (d) => {
    const { strictSSL: c, ...n } = { ...d };
    if (n.method = n.method ? n.method.toUpperCase() : "GET", c == null ? n.rejectUnauthorized = process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0" : n.rejectUnauthorized = c !== !1, !n.retry) n.retry = { retries: 0 };
    else if (typeof n.retry == "string") {
      const u = parseInt(n.retry, 10);
      isFinite(u) ? n.retry = { retries: u } : n.retry = { retries: 0 };
    } else typeof n.retry == "number" ? n.retry = { retries: n.retry } : n.retry = {
      retries: 0,
      ...n.retry
    };
    return n.dns = {
      ttl: 300 * 1e3,
      lookup: r.lookup,
      ...n.dns
    }, n.cache = n.cache || "default", n.cache === "default" && Object.keys(n.headers || {}).some((u) => i.includes(u.toLowerCase())) && (n.cache = "no-store"), n.cacheAdditionalHeaders = n.cacheAdditionalHeaders || [], n.cacheManager && !n.cachePath && (n.cachePath = n.cacheManager), n;
  };
  t.exports = s;
})), d1 = /* @__PURE__ */ z(((e, t) => {
  var r = /* @__PURE__ */ new Set([
    200,
    203,
    204,
    206,
    300,
    301,
    308,
    404,
    405,
    410,
    414,
    501
  ]), i = /* @__PURE__ */ new Set([
    200,
    203,
    204,
    300,
    301,
    302,
    303,
    307,
    308,
    404,
    405,
    410,
    414,
    501
  ]), s = /* @__PURE__ */ new Set([
    500,
    502,
    503,
    504
  ]), d = {
    date: !0,
    connection: !0,
    "keep-alive": !0,
    "proxy-authenticate": !0,
    "proxy-authorization": !0,
    te: !0,
    trailer: !0,
    "transfer-encoding": !0,
    upgrade: !0
  }, c = {
    "content-length": !0,
    "content-encoding": !0,
    "transfer-encoding": !0,
    "content-range": !0
  };
  function n(a) {
    const l = parseInt(a, 10);
    return isFinite(l) ? l : 0;
  }
  function u(a) {
    return a ? s.has(a.status) : !0;
  }
  function o(a) {
    const l = {};
    if (!a) return l;
    const f = a.trim().split(/,/);
    for (const p of f) {
      const [g, m] = p.split(/=/, 2);
      l[g.trim()] = m === void 0 ? !0 : m.trim().replace(/^"|"$/g, "");
    }
    return l;
  }
  function h(a) {
    let l = [];
    for (const f in a) {
      const p = a[f];
      l.push(p === !0 ? f : f + "=" + p);
    }
    if (l.length)
      return l.join(", ");
  }
  t.exports = class {
    constructor(l, f, { shared: p, cacheHeuristic: g, immutableMinTimeToLive: m, ignoreCargoCult: v, _fromObject: _ } = {}) {
      if (_) {
        this._fromObject(_);
        return;
      }
      if (!f || !f.headers) throw Error("Response headers missing");
      this._assertRequestHasHeaders(l), this._responseTime = this.now(), this._isShared = p !== !1, this._ignoreCargoCult = !!v, this._cacheHeuristic = g !== void 0 ? g : 0.1, this._immutableMinTtl = m !== void 0 ? m : 24 * 3600 * 1e3, this._status = "status" in f ? f.status : 200, this._resHeaders = f.headers, this._rescc = o(f.headers["cache-control"]), this._method = "method" in l ? l.method : "GET", this._url = l.url, this._host = l.headers.host, this._noAuthorization = !l.headers.authorization, this._reqHeaders = f.headers.vary ? l.headers : null, this._reqcc = o(l.headers["cache-control"]), this._ignoreCargoCult && "pre-check" in this._rescc && "post-check" in this._rescc && (delete this._rescc["pre-check"], delete this._rescc["post-check"], delete this._rescc["no-cache"], delete this._rescc["no-store"], delete this._rescc["must-revalidate"], this._resHeaders = Object.assign({}, this._resHeaders, { "cache-control": h(this._rescc) }), delete this._resHeaders.expires, delete this._resHeaders.pragma), f.headers["cache-control"] == null && /no-cache/.test(f.headers.pragma) && (this._rescc["no-cache"] = !0);
    }
    now() {
      return Date.now();
    }
    storable() {
      return !!(!this._reqcc["no-store"] && (this._method === "GET" || this._method === "HEAD" || this._method === "POST" && this._hasExplicitExpiration()) && i.has(this._status) && !this._rescc["no-store"] && (!this._isShared || !this._rescc.private) && (!this._isShared || this._noAuthorization || this._allowsStoringAuthenticated()) && (this._resHeaders.expires || this._rescc["max-age"] || this._isShared && this._rescc["s-maxage"] || this._rescc.public || r.has(this._status)));
    }
    _hasExplicitExpiration() {
      return !!(this._isShared && this._rescc["s-maxage"] || this._rescc["max-age"] || this._resHeaders.expires);
    }
    _assertRequestHasHeaders(l) {
      if (!l || !l.headers) throw Error("Request headers missing");
    }
    satisfiesWithoutRevalidation(l) {
      return !this.evaluateRequest(l).revalidation;
    }
    _evaluateRequestHitResult(l) {
      return {
        response: { headers: this.responseHeaders() },
        revalidation: l
      };
    }
    _evaluateRequestRevalidation(l, f) {
      return {
        synchronous: f,
        headers: this.revalidationHeaders(l)
      };
    }
    _evaluateRequestMissResult(l) {
      return {
        response: void 0,
        revalidation: this._evaluateRequestRevalidation(l, !0)
      };
    }
    evaluateRequest(l) {
      if (this._assertRequestHasHeaders(l), this._rescc["must-revalidate"]) return this._evaluateRequestMissResult(l);
      if (!this._requestMatches(l, !1)) return this._evaluateRequestMissResult(l);
      const f = o(l.headers["cache-control"]);
      return f["no-cache"] || /no-cache/.test(l.headers.pragma) ? this._evaluateRequestMissResult(l) : f["max-age"] && this.age() > n(f["max-age"]) ? this._evaluateRequestMissResult(l) : f["min-fresh"] && this.maxAge() - this.age() < n(f["min-fresh"]) ? this._evaluateRequestMissResult(l) : this.stale() ? "max-stale" in f && (f["max-stale"] === !0 || f["max-stale"] > this.age() - this.maxAge()) ? this._evaluateRequestHitResult(void 0) : this.useStaleWhileRevalidate() ? this._evaluateRequestHitResult(this._evaluateRequestRevalidation(l, !1)) : this._evaluateRequestMissResult(l) : this._evaluateRequestHitResult(void 0);
    }
    _requestMatches(l, f) {
      return !!((!this._url || this._url === l.url) && this._host === l.headers.host && (!l.method || this._method === l.method || f && l.method === "HEAD") && this._varyMatches(l));
    }
    _allowsStoringAuthenticated() {
      return !!(this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"]);
    }
    _varyMatches(l) {
      if (!this._resHeaders.vary) return !0;
      if (this._resHeaders.vary === "*") return !1;
      const f = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
      for (const p of f) if (l.headers[p] !== this._reqHeaders[p]) return !1;
      return !0;
    }
    _copyWithoutHopByHopHeaders(l) {
      const f = {};
      for (const p in l)
        d[p] || (f[p] = l[p]);
      if (l.connection) {
        const p = l.connection.trim().split(/\s*,\s*/);
        for (const g of p) delete f[g];
      }
      if (f.warning) {
        const p = f.warning.split(/,/).filter((g) => !/^\s*1[0-9][0-9]/.test(g));
        p.length ? f.warning = p.join(",").trim() : delete f.warning;
      }
      return f;
    }
    responseHeaders() {
      const l = this._copyWithoutHopByHopHeaders(this._resHeaders), f = this.age();
      return f > 3600 * 24 && !this._hasExplicitExpiration() && this.maxAge() > 3600 * 24 && (l.warning = (l.warning ? `${l.warning}, ` : "") + '113 - "rfc7234 5.5.4"'), l.age = `${Math.round(f)}`, l.date = new Date(this.now()).toUTCString(), l;
    }
    date() {
      const l = Date.parse(this._resHeaders.date);
      return isFinite(l) ? l : this._responseTime;
    }
    age() {
      return this._ageValue() + (this.now() - this._responseTime) / 1e3;
    }
    _ageValue() {
      return n(this._resHeaders.age);
    }
    maxAge() {
      if (!this.storable() || this._rescc["no-cache"] || this._isShared && this._resHeaders["set-cookie"] && !this._rescc.public && !this._rescc.immutable || this._resHeaders.vary === "*") return 0;
      if (this._isShared) {
        if (this._rescc["proxy-revalidate"]) return 0;
        if (this._rescc["s-maxage"]) return n(this._rescc["s-maxage"]);
      }
      if (this._rescc["max-age"]) return n(this._rescc["max-age"]);
      const l = this._rescc.immutable ? this._immutableMinTtl : 0, f = this.date();
      if (this._resHeaders.expires) {
        const p = Date.parse(this._resHeaders.expires);
        return Number.isNaN(p) || p < f ? 0 : Math.max(l, (p - f) / 1e3);
      }
      if (this._resHeaders["last-modified"]) {
        const p = Date.parse(this._resHeaders["last-modified"]);
        if (isFinite(p) && f > p) return Math.max(l, (f - p) / 1e3 * this._cacheHeuristic);
      }
      return l;
    }
    timeToLive() {
      const l = this.maxAge() - this.age(), f = l + n(this._rescc["stale-if-error"]), p = l + n(this._rescc["stale-while-revalidate"]);
      return Math.round(Math.max(0, l, f, p) * 1e3);
    }
    stale() {
      return this.maxAge() <= this.age();
    }
    _useStaleIfError() {
      return this.maxAge() + n(this._rescc["stale-if-error"]) > this.age();
    }
    useStaleWhileRevalidate() {
      const l = n(this._rescc["stale-while-revalidate"]);
      return l > 0 && this.maxAge() + l > this.age();
    }
    static fromObject(l) {
      return new this(void 0, void 0, { _fromObject: l });
    }
    _fromObject(l) {
      if (this._responseTime) throw Error("Reinitialized");
      if (!l || l.v !== 1) throw Error("Invalid serialization");
      this._responseTime = l.t, this._isShared = l.sh, this._cacheHeuristic = l.ch, this._immutableMinTtl = l.imm !== void 0 ? l.imm : 24 * 3600 * 1e3, this._ignoreCargoCult = !!l.icc, this._status = l.st, this._resHeaders = l.resh, this._rescc = l.rescc, this._method = l.m, this._url = l.u, this._host = l.h, this._noAuthorization = l.a, this._reqHeaders = l.reqh, this._reqcc = l.reqcc;
    }
    toObject() {
      return {
        v: 1,
        t: this._responseTime,
        sh: this._isShared,
        ch: this._cacheHeuristic,
        imm: this._immutableMinTtl,
        icc: this._ignoreCargoCult,
        st: this._status,
        resh: this._resHeaders,
        rescc: this._rescc,
        m: this._method,
        u: this._url,
        h: this._host,
        a: this._noAuthorization,
        reqh: this._reqHeaders,
        reqcc: this._reqcc
      };
    }
    revalidationHeaders(l) {
      this._assertRequestHasHeaders(l);
      const f = this._copyWithoutHopByHopHeaders(l.headers);
      if (delete f["if-range"], !this._requestMatches(l, !0) || !this.storable())
        return delete f["if-none-match"], delete f["if-modified-since"], f;
      if (this._resHeaders.etag && (f["if-none-match"] = f["if-none-match"] ? `${f["if-none-match"]}, ${this._resHeaders.etag}` : this._resHeaders.etag), f["accept-ranges"] || f["if-match"] || f["if-unmodified-since"] || this._method && this._method != "GET") {
        if (delete f["if-modified-since"], f["if-none-match"]) {
          const p = f["if-none-match"].split(/,/).filter((g) => !/^\s*W\//.test(g));
          p.length ? f["if-none-match"] = p.join(",").trim() : delete f["if-none-match"];
        }
      } else this._resHeaders["last-modified"] && !f["if-modified-since"] && (f["if-modified-since"] = this._resHeaders["last-modified"]);
      return f;
    }
    revalidatedPolicy(l, f) {
      if (this._assertRequestHasHeaders(l), this._useStaleIfError() && u(f)) return {
        policy: this,
        modified: !1,
        matches: !0
      };
      if (!f || !f.headers) throw Error("Response headers missing");
      let p = !1;
      f.status !== void 0 && f.status != 304 ? p = !1 : f.headers.etag && !/^\s*W\//.test(f.headers.etag) ? p = this._resHeaders.etag && this._resHeaders.etag.replace(/^\s*W\//, "") === f.headers.etag : this._resHeaders.etag && f.headers.etag ? p = this._resHeaders.etag.replace(/^\s*W\//, "") === f.headers.etag.replace(/^\s*W\//, "") : this._resHeaders["last-modified"] ? p = this._resHeaders["last-modified"] === f.headers["last-modified"] : !this._resHeaders.etag && !this._resHeaders["last-modified"] && !f.headers.etag && !f.headers["last-modified"] && (p = !0);
      const g = {
        shared: this._isShared,
        cacheHeuristic: this._cacheHeuristic,
        immutableMinTimeToLive: this._immutableMinTtl,
        ignoreCargoCult: this._ignoreCargoCult
      };
      if (!p) return {
        policy: new this.constructor(l, f, g),
        modified: f.status != 304,
        matches: !1
      };
      const m = {};
      for (const _ in this._resHeaders) m[_] = _ in f.headers && !c[_] ? f.headers[_] : this._resHeaders[_];
      const v = Object.assign({}, f, {
        status: this._status,
        method: this._method,
        headers: m
      });
      return {
        policy: new this.constructor(l, v, g),
        modified: !1,
        matches: !0
      };
    }
  };
})), p1 = /* @__PURE__ */ z(((e, t) => {
  t.exports = n, t.exports.preferredCharsets = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(a) {
    for (var l = a.split(","), f = 0, p = 0; f < l.length; f++) {
      var g = s(l[f].trim(), f);
      g && (l[p++] = g);
    }
    return l.length = p, l;
  }
  function s(a, l) {
    var f = r.exec(a);
    if (!f) return null;
    var p = f[1], g = 1;
    if (f[2])
      for (var m = f[2].split(";"), v = 0; v < m.length; v++) {
        var _ = m[v].trim().split("=");
        if (_[0] === "q") {
          g = parseFloat(_[1]);
          break;
        }
      }
    return {
      charset: p,
      q: g,
      i: l
    };
  }
  function d(a, l, f) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, g = 0; g < l.length; g++) {
      var m = c(a, l[g], f);
      m && (p.s - m.s || p.q - m.q || p.o - m.o) < 0 && (p = m);
    }
    return p;
  }
  function c(a, l, f) {
    var p = 0;
    if (l.charset.toLowerCase() === a.toLowerCase()) p |= 1;
    else if (l.charset !== "*") return null;
    return {
      i: f,
      o: l.i,
      q: l.q,
      s: p
    };
  }
  function n(a, l) {
    var f = i(a === void 0 ? "*" : a || "");
    if (!l) return f.filter(h).sort(u).map(o);
    var p = l.map(function(m, v) {
      return d(m, f, v);
    });
    return p.filter(h).sort(u).map(function(m) {
      return l[p.indexOf(m)];
    });
  }
  function u(a, l) {
    return l.q - a.q || l.s - a.s || a.o - l.o || a.i - l.i || 0;
  }
  function o(a) {
    return a.charset;
  }
  function h(a) {
    return a.q > 0;
  }
})), g1 = /* @__PURE__ */ z(((e, t) => {
  t.exports = n, t.exports.preferredEncodings = n;
  var r = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
  function i(a) {
    for (var l = a.split(","), f = !1, p = 1, g = 0, m = 0; g < l.length; g++) {
      var v = s(l[g].trim(), g);
      v && (l[m++] = v, f = f || c("identity", v), p = Math.min(p, v.q || 1));
    }
    return f || (l[m++] = {
      encoding: "identity",
      q: p,
      i: g
    }), l.length = m, l;
  }
  function s(a, l) {
    var f = r.exec(a);
    if (!f) return null;
    var p = f[1], g = 1;
    if (f[2])
      for (var m = f[2].split(";"), v = 0; v < m.length; v++) {
        var _ = m[v].trim().split("=");
        if (_[0] === "q") {
          g = parseFloat(_[1]);
          break;
        }
      }
    return {
      encoding: p,
      q: g,
      i: l
    };
  }
  function d(a, l, f) {
    for (var p = {
      encoding: a,
      o: -1,
      q: 0,
      s: 0
    }, g = 0; g < l.length; g++) {
      var m = c(a, l[g], f);
      m && (p.s - m.s || p.q - m.q || p.o - m.o) < 0 && (p = m);
    }
    return p;
  }
  function c(a, l, f) {
    var p = 0;
    if (l.encoding.toLowerCase() === a.toLowerCase()) p |= 1;
    else if (l.encoding !== "*") return null;
    return {
      encoding: a,
      i: f,
      o: l.i,
      q: l.q,
      s: p
    };
  }
  function n(a, l, f) {
    var p = i(a || ""), g = f ? function(_, E) {
      if (_.q !== E.q) return E.q - _.q;
      var S = f.indexOf(_.encoding), w = f.indexOf(E.encoding);
      return S === -1 && w === -1 ? E.s - _.s || _.o - E.o || _.i - E.i : S !== -1 && w !== -1 ? S - w : S === -1 ? 1 : -1;
    } : u;
    if (!l) return p.filter(h).sort(g).map(o);
    var m = l.map(function(_, E) {
      return d(_, p, E);
    });
    return m.filter(h).sort(g).map(function(_) {
      return l[m.indexOf(_)];
    });
  }
  function u(a, l) {
    return l.q - a.q || l.s - a.s || a.o - l.o || a.i - l.i;
  }
  function o(a) {
    return a.encoding;
  }
  function h(a) {
    return a.q > 0;
  }
})), m1 = /* @__PURE__ */ z(((e, t) => {
  t.exports = n, t.exports.preferredLanguages = n;
  var r = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;
  function i(a) {
    for (var l = a.split(","), f = 0, p = 0; f < l.length; f++) {
      var g = s(l[f].trim(), f);
      g && (l[p++] = g);
    }
    return l.length = p, l;
  }
  function s(a, l) {
    var f = r.exec(a);
    if (!f) return null;
    var p = f[1], g = f[2], m = p;
    g && (m += "-" + g);
    var v = 1;
    if (f[3])
      for (var _ = f[3].split(";"), E = 0; E < _.length; E++) {
        var S = _[E].split("=");
        S[0] === "q" && (v = parseFloat(S[1]));
      }
    return {
      prefix: p,
      suffix: g,
      q: v,
      i: l,
      full: m
    };
  }
  function d(a, l, f) {
    for (var p = {
      o: -1,
      q: 0,
      s: 0
    }, g = 0; g < l.length; g++) {
      var m = c(a, l[g], f);
      m && (p.s - m.s || p.q - m.q || p.o - m.o) < 0 && (p = m);
    }
    return p;
  }
  function c(a, l, f) {
    var p = s(a);
    if (!p) return null;
    var g = 0;
    if (l.full.toLowerCase() === p.full.toLowerCase()) g |= 4;
    else if (l.prefix.toLowerCase() === p.full.toLowerCase()) g |= 2;
    else if (l.full.toLowerCase() === p.prefix.toLowerCase()) g |= 1;
    else if (l.full !== "*") return null;
    return {
      i: f,
      o: l.i,
      q: l.q,
      s: g
    };
  }
  function n(a, l) {
    var f = i(a === void 0 ? "*" : a || "");
    if (!l) return f.filter(h).sort(u).map(o);
    var p = l.map(function(m, v) {
      return d(m, f, v);
    });
    return p.filter(h).sort(u).map(function(m) {
      return l[p.indexOf(m)];
    });
  }
  function u(a, l) {
    return l.q - a.q || l.s - a.s || a.o - l.o || a.i - l.i || 0;
  }
  function o(a) {
    return a.full;
  }
  function h(a) {
    return a.q > 0;
  }
})), v1 = /* @__PURE__ */ z(((e, t) => {
  t.exports = n, t.exports.preferredMediaTypes = n;
  var r = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;
  function i(g) {
    for (var m = f(g), v = 0, _ = 0; v < m.length; v++) {
      var E = s(m[v].trim(), v);
      E && (m[_++] = E);
    }
    return m.length = _, m;
  }
  function s(g, m) {
    var v = r.exec(g);
    if (!v) return null;
    var _ = /* @__PURE__ */ Object.create(null), E = 1, S = v[2], w = v[1];
    if (v[3])
      for (var b = p(v[3]).map(l), A = 0; A < b.length; A++) {
        var D = b[A], C = D[0].toLowerCase(), O = D[1], I = O && O[0] === '"' && O[O.length - 1] === '"' ? O.slice(1, -1) : O;
        if (C === "q") {
          E = parseFloat(I);
          break;
        }
        _[C] = I;
      }
    return {
      type: w,
      subtype: S,
      params: _,
      q: E,
      i: m
    };
  }
  function d(g, m, v) {
    for (var _ = {
      o: -1,
      q: 0,
      s: 0
    }, E = 0; E < m.length; E++) {
      var S = c(g, m[E], v);
      S && (_.s - S.s || _.q - S.q || _.o - S.o) < 0 && (_ = S);
    }
    return _;
  }
  function c(g, m, v) {
    var _ = s(g), E = 0;
    if (!_) return null;
    if (m.type.toLowerCase() == _.type.toLowerCase()) E |= 4;
    else if (m.type != "*") return null;
    if (m.subtype.toLowerCase() == _.subtype.toLowerCase()) E |= 2;
    else if (m.subtype != "*") return null;
    var S = Object.keys(m.params);
    if (S.length > 0) if (S.every(function(w) {
      return m.params[w] == "*" || (m.params[w] || "").toLowerCase() == (_.params[w] || "").toLowerCase();
    })) E |= 1;
    else return null;
    return {
      i: v,
      o: m.i,
      q: m.q,
      s: E
    };
  }
  function n(g, m) {
    var v = i(g === void 0 ? "*/*" : g || "");
    if (!m) return v.filter(h).sort(u).map(o);
    var _ = m.map(function(S, w) {
      return d(S, v, w);
    });
    return _.filter(h).sort(u).map(function(S) {
      return m[_.indexOf(S)];
    });
  }
  function u(g, m) {
    return m.q - g.q || m.s - g.s || g.o - m.o || g.i - m.i || 0;
  }
  function o(g) {
    return g.type + "/" + g.subtype;
  }
  function h(g) {
    return g.q > 0;
  }
  function a(g) {
    for (var m = 0, v = 0; (v = g.indexOf('"', v)) !== -1; )
      m++, v++;
    return m;
  }
  function l(g) {
    var m = g.indexOf("="), v, _;
    return m === -1 ? v = g : (v = g.slice(0, m), _ = g.slice(m + 1)), [v, _];
  }
  function f(g) {
    for (var m = g.split(","), v = 1, _ = 0; v < m.length; v++) a(m[_]) % 2 == 0 ? m[++_] = m[v] : m[_] += "," + m[v];
    return m.length = _ + 1, m;
  }
  function p(g) {
    for (var m = g.split(";"), v = 1, _ = 0; v < m.length; v++) a(m[_]) % 2 == 0 ? m[++_] = m[v] : m[_] += ";" + m[v];
    m.length = _ + 1;
    for (var v = 0; v < m.length; v++) m[v] = m[v].trim();
    return m;
  }
})), y1 = /* @__PURE__ */ z(((e, t) => {
  var r = p1(), i = g1(), s = m1(), d = v1();
  t.exports = c, t.exports.Negotiator = c;
  function c(n) {
    if (!(this instanceof c)) return new c(n);
    this.request = n;
  }
  c.prototype.charset = function(u) {
    var o = this.charsets(u);
    return o && o[0];
  }, c.prototype.charsets = function(u) {
    return r(this.request.headers["accept-charset"], u);
  }, c.prototype.encoding = function(u, o) {
    var h = this.encodings(u, o);
    return h && h[0];
  }, c.prototype.encodings = function(u, o) {
    var h = o || {};
    return i(this.request.headers["accept-encoding"], u, h.preferred);
  }, c.prototype.language = function(u) {
    var o = this.languages(u);
    return o && o[0];
  }, c.prototype.languages = function(u) {
    return s(this.request.headers["accept-language"], u);
  }, c.prototype.mediaType = function(u) {
    var o = this.mediaTypes(u);
    return o && o[0];
  }, c.prototype.mediaTypes = function(u) {
    return d(this.request.headers.accept, u);
  }, c.prototype.preferredCharset = c.prototype.charset, c.prototype.preferredCharsets = c.prototype.charsets, c.prototype.preferredEncoding = c.prototype.encoding, c.prototype.preferredEncodings = c.prototype.encodings, c.prototype.preferredLanguage = c.prototype.language, c.prototype.preferredLanguages = c.prototype.languages, c.prototype.preferredMediaType = c.prototype.mediaType, c.prototype.preferredMediaTypes = c.prototype.mediaTypes;
})), yr = /* @__PURE__ */ z(((e, t) => {
  var r = be("crypto"), { Minipass: i } = St(), s = [
    "sha512",
    "sha384",
    "sha256"
  ], d = ["sha512"], c = r.getHashes(), n = /^[a-z0-9+/]+(?:=?=?)$/i, u = /^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/, o = /^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/, h = /^[\x21-\x7E]+$/, a = [
    "md5",
    "whirlpool",
    "sha1",
    "sha224",
    "sha256",
    "sha384",
    "sha512",
    "sha3",
    "sha3-256",
    "sha3-384",
    "sha3-512",
    "sha3_256",
    "sha3_384",
    "sha3_512"
  ].filter((x) => c.includes(x)), l = (x) => x?.length ? `?${x.join("?")}` : "", f = class extends i {
    #e;
    #t;
    #r;
    constructor(x) {
      super(), this.size = 0, this.opts = x, this.#n(), x?.algorithms ? this.algorithms = [...x.algorithms] : this.algorithms = [...d], this.algorithm !== null && !this.algorithms.includes(this.algorithm) && this.algorithms.push(this.algorithm), this.hashes = this.algorithms.map(r.createHash);
    }
    #n() {
      this.sri = this.opts?.integrity ? v(this.opts?.integrity, this.opts) : null, this.expectedSize = this.opts?.size, this.sri ? this.sri.isHash ? (this.goodSri = !0, this.algorithm = this.sri.algorithm) : (this.goodSri = !this.sri.isEmpty(), this.algorithm = this.sri.pickAlgorithm(this.opts)) : this.algorithm = null, this.digests = this.goodSri ? this.sri[this.algorithm] : null, this.optString = l(this.opts?.options);
    }
    on(x, F) {
      return x === "size" && this.#t ? F(this.#t) : x === "integrity" && this.#e ? F(this.#e) : x === "verified" && this.#r ? F(this.#r) : super.on(x, F);
    }
    emit(x, F) {
      return x === "end" && this.#s(), super.emit(x, F);
    }
    write(x) {
      return this.size += x.length, this.hashes.forEach((F) => F.update(x)), super.write(x);
    }
    #s() {
      this.goodSri || this.#n();
      const x = v(this.hashes.map((q, K) => `${this.algorithms[K]}-${q.digest("base64")}${this.optString}`).join(" "), this.opts), F = this.goodSri && x.match(this.sri, this.opts);
      if (typeof this.expectedSize == "number" && this.size !== this.expectedSize) {
        const q = /* @__PURE__ */ new Error(`stream size mismatch when checking ${this.sri}.
  Wanted: ${this.expectedSize}
  Found: ${this.size}`);
        q.code = "EBADSIZE", q.found = this.size, q.expected = this.expectedSize, q.sri = this.sri, this.emit("error", q);
      } else if (this.sri && !F) {
        const q = /* @__PURE__ */ new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${x}. (${this.size} bytes)`);
        q.code = "EINTEGRITY", q.found = x, q.expected = this.digests, q.algorithm = this.algorithm, q.sri = this.sri, this.emit("error", q);
      } else
        this.#t = this.size, this.emit("size", this.size), this.#e = x, this.emit("integrity", x), F && (this.#r = F, this.emit("verified", F));
    }
  }, p = class {
    get isHash() {
      return !0;
    }
    constructor(x, F) {
      const q = F?.strict;
      this.source = x.trim(), this.digest = "", this.algorithm = "", this.options = [];
      const K = this.source.match(q ? o : u);
      if (!K || q && !s.includes(K[1]) || !c.includes(K[1])) return;
      this.algorithm = K[1], this.digest = K[2];
      const M = K[3];
      M && (this.options = M.slice(1).split("?"));
    }
    hexDigest() {
      return this.digest && Buffer.from(this.digest, "base64").toString("hex");
    }
    toJSON() {
      return this.toString();
    }
    match(x, F) {
      const q = v(x, F);
      if (!q) return !1;
      if (q.isIntegrity) {
        const K = q.pickAlgorithm(F, [this.algorithm]);
        if (!K) return !1;
        const M = q[K].find((N) => N.digest === this.digest);
        return M || !1;
      }
      return q.digest === this.digest ? q : !1;
    }
    toString(x) {
      return x?.strict && !(s.includes(this.algorithm) && this.digest.match(n) && this.options.every((F) => F.match(h))) ? "" : `${this.algorithm}-${this.digest}${l(this.options)}`;
    }
  };
  function g(x, F, q, K) {
    const M = x !== "";
    let N = !1, L = "";
    const te = K.length - 1;
    for (let j = 0; j < te; j++) {
      const P = p.prototype.toString.call(K[j], q);
      P && (N = !0, L += P, L += F);
    }
    const H = p.prototype.toString.call(K[te], q);
    return H && (N = !0, L += H), M && N ? x + F + L : x + L;
  }
  var m = class {
    get isIntegrity() {
      return !0;
    }
    toJSON() {
      return this.toString();
    }
    isEmpty() {
      return Object.keys(this).length === 0;
    }
    toString(x) {
      let F = x?.sep || " ", q = "";
      if (x?.strict) {
        F = F.replace(/\S+/g, " ");
        for (const K of s) this[K] && (q = g(q, F, x, this[K]));
      } else for (const K of Object.keys(this)) q = g(q, F, x, this[K]);
      return q;
    }
    concat(x, F) {
      const q = typeof x == "string" ? x : E(x, F);
      return v(`${this.toString(F)} ${q}`, F);
    }
    hexDigest() {
      return v(this, { single: !0 }).hexDigest();
    }
    merge(x, F) {
      const q = v(x, F);
      for (const K in q) if (this[K]) {
        if (!this[K].find((M) => q[K].find((N) => M.digest === N.digest))) throw new Error("hashes do not match, cannot update integrity");
      } else this[K] = q[K];
    }
    match(x, F) {
      const q = v(x, F);
      if (!q) return !1;
      const K = q.pickAlgorithm(F, Object.keys(this));
      return !!K && this[K].find((M) => q[K].find((N) => M.digest === N.digest)) || !1;
    }
    pickAlgorithm(x, F) {
      const q = x?.pickAlgorithm || I;
      let K = Object.keys(this);
      return F?.length && (K = K.filter((M) => F.includes(M))), K.length ? K.reduce((M, N) => q(M, N) || M) : null;
    }
  };
  t.exports.parse = v;
  function v(x, F) {
    if (!x) return null;
    if (typeof x == "string") return _(x, F);
    if (x.algorithm && x.digest) {
      const q = new m();
      return q[x.algorithm] = [x], _(E(q, F), F);
    } else return _(E(x, F), F);
  }
  function _(x, F) {
    if (F?.single) return new p(x, F);
    const q = x.trim().split(/\s+/).reduce((K, M) => {
      const N = new p(M, F);
      if (N.algorithm && N.digest) {
        const L = N.algorithm;
        Object.keys(K).includes(L) || (K[L] = []), K[L].push(N);
      }
      return K;
    }, new m());
    return q.isEmpty() ? null : q;
  }
  t.exports.stringify = E;
  function E(x, F) {
    return x.algorithm && x.digest ? p.prototype.toString.call(x, F) : typeof x == "string" ? E(v(x, F), F) : m.prototype.toString.call(x, F);
  }
  t.exports.fromHex = S;
  function S(x, F, q) {
    const K = l(q?.options);
    return v(`${F}-${Buffer.from(x, "hex").toString("base64")}${K}`, q);
  }
  t.exports.fromData = w;
  function w(x, F) {
    const q = F?.algorithms || [...d], K = l(F?.options);
    return q.reduce((M, N) => {
      const L = new p(`${N}-${r.createHash(N).update(x).digest("base64")}${K}`, F);
      if (L.algorithm && L.digest) {
        const te = L.algorithm;
        M[te] || (M[te] = []), M[te].push(L);
      }
      return M;
    }, new m());
  }
  t.exports.fromStream = b;
  function b(x, F) {
    const q = C(F);
    return new Promise((K, M) => {
      x.pipe(q), x.on("error", M), q.on("error", M);
      let N;
      q.on("integrity", (L) => {
        N = L;
      }), q.on("end", () => K(N)), q.resume();
    });
  }
  t.exports.checkData = A;
  function A(x, F, q) {
    if (F = v(F, q), !F || !Object.keys(F).length) {
      if (q?.error) throw Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" });
      return !1;
    }
    const K = F.pickAlgorithm(q), M = v({
      algorithm: K,
      digest: r.createHash(K).update(x).digest("base64")
    }), N = M.match(F, q);
    if (q = q || {}, N || !q.error) return N;
    if (typeof q.size == "number" && x.length !== q.size) {
      const L = /* @__PURE__ */ new Error(`data size mismatch when checking ${F}.
  Wanted: ${q.size}
  Found: ${x.length}`);
      throw L.code = "EBADSIZE", L.found = x.length, L.expected = q.size, L.sri = F, L;
    } else {
      const L = /* @__PURE__ */ new Error(`Integrity checksum failed when using ${K}: Wanted ${F}, but got ${M}. (${x.length} bytes)`);
      throw L.code = "EINTEGRITY", L.found = M, L.expected = F, L.algorithm = K, L.sri = F, L;
    }
  }
  t.exports.checkStream = D;
  function D(x, F, q) {
    if (q = q || /* @__PURE__ */ Object.create(null), q.integrity = F, F = v(F, q), !F || !Object.keys(F).length) return Promise.reject(Object.assign(/* @__PURE__ */ new Error("No valid integrity hashes to check against"), { code: "EINTEGRITY" }));
    const K = C(q);
    return new Promise((M, N) => {
      x.pipe(K), x.on("error", N), K.on("error", N);
      let L;
      K.on("verified", (te) => {
        L = te;
      }), K.on("end", () => M(L)), K.resume();
    });
  }
  t.exports.integrityStream = C;
  function C(x = /* @__PURE__ */ Object.create(null)) {
    return new f(x);
  }
  t.exports.create = O;
  function O(x) {
    const F = x?.algorithms || [...d], q = l(x?.options), K = F.map(r.createHash);
    return {
      update: function(M, N) {
        return K.forEach((L) => L.update(M, N)), this;
      },
      digest: function() {
        return F.reduce((M, N) => {
          const L = new p(`${N}-${K.shift().digest("base64")}${q}`, x);
          return M[L.algorithm] || (M[L.algorithm] = []), M[L.algorithm].push(L), M;
        }, new m());
      }
    };
  }
  function I(x, F) {
    return a.indexOf(x.toLowerCase()) >= a.indexOf(F.toLowerCase()) ? x : F;
  }
})), Fh = /* @__PURE__ */ z(((e, t) => {
  var r = d1(), i = y1(), s = yr(), d = {
    shared: !1,
    ignoreCargoCult: !0
  }, c = {
    status: 200,
    headers: {}
  }, n = (h) => {
    const a = {
      method: h.method,
      url: h.url,
      headers: {},
      compress: h.compress
    };
    return h.headers.forEach((l, f) => {
      a.headers[f] = l;
    }), a;
  }, u = (h) => {
    const a = {
      status: h.status,
      headers: {}
    };
    return h.headers.forEach((l, f) => {
      a.headers[f] = l;
    }), a;
  }, o = class {
    constructor({ entry: h, request: a, response: l, options: f }) {
      this.entry = h, this.request = n(a), this.response = u(l), this.options = f, this.policy = new r(this.request, this.response, d), this.entry && (this.policy._responseTime = this.entry.metadata.time);
    }
    static storable(h, a) {
      return !a.cachePath || a.cache === "no-store" || !["GET", "HEAD"].includes(h.method) ? !1 : new r(n(h), c, d).storable();
    }
    satisfies(h) {
      const a = n(h);
      if (this.request.headers.host !== a.headers.host || this.request.compress !== a.compress) return !1;
      const l = new i(this.request), f = new i(a);
      return JSON.stringify(l.mediaTypes()) !== JSON.stringify(f.mediaTypes()) || JSON.stringify(l.languages()) !== JSON.stringify(f.languages()) || JSON.stringify(l.encodings()) !== JSON.stringify(f.encodings()) ? !1 : this.options.integrity ? s.parse(this.options.integrity).match(this.entry.integrity) : !0;
    }
    storable() {
      return this.policy.storable();
    }
    get mustRevalidate() {
      return !!this.policy._rescc["must-revalidate"];
    }
    needsRevalidation(h) {
      const a = n(h);
      return a.method = "GET", !this.policy.satisfiesWithoutRevalidation(a);
    }
    responseHeaders() {
      return this.policy.responseHeaders();
    }
    revalidationHeaders(h) {
      const a = n(h);
      return this.policy.revalidationHeaders(a);
    }
    revalidated(h, a) {
      const l = n(h), f = u(a);
      return !this.policy.revalidatedPolicy(l, f).modified;
    }
  };
  t.exports = o;
})), _1 = /* @__PURE__ */ z(((e, t) => {
  var r = class extends Error {
    constructor(i) {
      super(`request to ${i} failed: cache mode is 'only-if-cached' but no cached response is available.`), this.code = "ENOTCACHED";
    }
  };
  t.exports = { NotCachedError: r };
})), b1 = /* @__PURE__ */ z(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = be("events"), s = be("stream"), d = be("string_decoder").StringDecoder, c = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), u = /* @__PURE__ */ Symbol("emittedEnd"), o = /* @__PURE__ */ Symbol("emittingEnd"), h = /* @__PURE__ */ Symbol("emittedError"), a = /* @__PURE__ */ Symbol("closed"), l = /* @__PURE__ */ Symbol("read"), f = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), g = /* @__PURE__ */ Symbol("encoding"), m = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), _ = /* @__PURE__ */ Symbol("paused"), E = /* @__PURE__ */ Symbol("resume"), S = /* @__PURE__ */ Symbol("bufferLength"), w = /* @__PURE__ */ Symbol("bufferPush"), b = /* @__PURE__ */ Symbol("bufferShift"), A = /* @__PURE__ */ Symbol("objectMode"), D = /* @__PURE__ */ Symbol("destroyed"), C = /* @__PURE__ */ Symbol("emitData"), O = /* @__PURE__ */ Symbol("emitEnd"), I = /* @__PURE__ */ Symbol("emitEnd2"), x = /* @__PURE__ */ Symbol("async"), F = (P) => Promise.resolve().then(P), q = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", K = q && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), M = q && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), N = (P) => P === "end" || P === "finish" || P === "prefinish", L = (P) => P instanceof ArrayBuffer || typeof P == "object" && P.constructor && P.constructor.name === "ArrayBuffer" && P.byteLength >= 0, te = (P) => !Buffer.isBuffer(P) && ArrayBuffer.isView(P), H = class {
    constructor(P, k, U) {
      this.src = P, this.dest = k, this.opts = U, this.ondrain = () => P[E](), k.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    // istanbul ignore next - only here for the prototype
    proxyErrors() {
    }
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, j = class extends H {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(P, k, U) {
      super(P, k, U), this.proxyErrors = (Q) => k.emit("error", Q), P.on("error", this.proxyErrors);
    }
  };
  t.exports = class Mh extends s {
    constructor(k) {
      super(), this[v] = !1, this[_] = !1, this.pipes = [], this.buffer = [], this[A] = k && k.objectMode || !1, this[A] ? this[g] = null : this[g] = k && k.encoding || null, this[g] === "buffer" && (this[g] = null), this[x] = k && !!k.async || !1, this[m] = this[g] ? new d(this[g]) : null, this[c] = !1, this[u] = !1, this[o] = !1, this[a] = !1, this[h] = null, this.writable = !0, this.readable = !0, this[S] = 0, this[D] = !1;
    }
    get bufferLength() {
      return this[S];
    }
    get encoding() {
      return this[g];
    }
    set encoding(k) {
      if (this[A]) throw new Error("cannot set encoding in objectMode");
      if (this[g] && k !== this[g] && (this[m] && this[m].lastNeed || this[S])) throw new Error("cannot change encoding");
      this[g] !== k && (this[m] = k ? new d(k) : null, this.buffer.length && (this.buffer = this.buffer.map((U) => this[m].write(U)))), this[g] = k;
    }
    setEncoding(k) {
      this.encoding = k;
    }
    get objectMode() {
      return this[A];
    }
    set objectMode(k) {
      this[A] = this[A] || !!k;
    }
    get async() {
      return this[x];
    }
    set async(k) {
      this[x] = this[x] || !!k;
    }
    write(k, U, Q) {
      if (this[c]) throw new Error("write after end");
      if (this[D])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof U == "function" && (Q = U, U = "utf8"), U || (U = "utf8");
      const ue = this[x] ? F : (me) => me();
      return !this[A] && !Buffer.isBuffer(k) && (te(k) ? k = Buffer.from(k.buffer, k.byteOffset, k.byteLength) : L(k) ? k = Buffer.from(k) : typeof k != "string" && (this.objectMode = !0)), this[A] ? (this.flowing && this[S] !== 0 && this[f](!0), this.flowing ? this.emit("data", k) : this[w](k), this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing) : k.length ? (typeof k == "string" && !(U === this[g] && !this[m].lastNeed) && (k = Buffer.from(k, U)), Buffer.isBuffer(k) && this[g] && (k = this[m].write(k)), this.flowing && this[S] !== 0 && this[f](!0), this.flowing ? this.emit("data", k) : this[w](k), this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing) : (this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing);
    }
    read(k) {
      if (this[D]) return null;
      if (this[S] === 0 || k === 0 || k > this[S])
        return this[n](), null;
      this[A] && (k = null), this.buffer.length > 1 && !this[A] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[S])]);
      const U = this[l](k || null, this.buffer[0]);
      return this[n](), U;
    }
    [l](k, U) {
      return k === U.length || k === null ? this[b]() : (this.buffer[0] = U.slice(k), U = U.slice(0, k), this[S] -= k), this.emit("data", U), !this.buffer.length && !this[c] && this.emit("drain"), U;
    }
    end(k, U, Q) {
      return typeof k == "function" && (Q = k, k = null), typeof U == "function" && (Q = U, U = "utf8"), k && this.write(k, U), Q && this.once("end", Q), this[c] = !0, this.writable = !1, (this.flowing || !this[_]) && this[n](), this;
    }
    [E]() {
      this[D] || (this[_] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[f]() : this[c] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[E]();
    }
    pause() {
      this[v] = !1, this[_] = !0;
    }
    get destroyed() {
      return this[D];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[_];
    }
    [w](k) {
      this[A] ? this[S] += 1 : this[S] += k.length, this.buffer.push(k);
    }
    [b]() {
      return this.buffer.length && (this[A] ? this[S] -= 1 : this[S] -= this.buffer[0].length), this.buffer.shift();
    }
    [f](k) {
      do
        ;
      while (this[p](this[b]()));
      !k && !this.buffer.length && !this[c] && this.emit("drain");
    }
    [p](k) {
      return k ? (this.emit("data", k), this.flowing) : !1;
    }
    pipe(k, U) {
      if (this[D]) return;
      const Q = this[u];
      return U = U || {}, k === r.stdout || k === r.stderr ? U.end = !1 : U.end = U.end !== !1, U.proxyErrors = !!U.proxyErrors, Q ? U.end && k.end() : (this.pipes.push(U.proxyErrors ? new j(this, k, U) : new H(this, k, U)), this[x] ? F(() => this[E]()) : this[E]()), k;
    }
    unpipe(k) {
      const U = this.pipes.find((Q) => Q.dest === k);
      U && (this.pipes.splice(this.pipes.indexOf(U), 1), U.unpipe());
    }
    addListener(k, U) {
      return this.on(k, U);
    }
    on(k, U) {
      const Q = super.on(k, U);
      return k === "data" && !this.pipes.length && !this.flowing ? this[E]() : k === "readable" && this[S] !== 0 ? super.emit("readable") : N(k) && this[u] ? (super.emit(k), this.removeAllListeners(k)) : k === "error" && this[h] && (this[x] ? F(() => U.call(this, this[h])) : U.call(this, this[h])), Q;
    }
    get emittedEnd() {
      return this[u];
    }
    [n]() {
      !this[o] && !this[u] && !this[D] && this.buffer.length === 0 && this[c] && (this[o] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[a] && this.emit("close"), this[o] = !1);
    }
    emit(k, U, ...Q) {
      if (k !== "error" && k !== "close" && k !== D && this[D]) return;
      if (k === "data") return U ? this[x] ? F(() => this[C](U)) : this[C](U) : !1;
      if (k === "end") return this[O]();
      if (k === "close") {
        if (this[a] = !0, !this[u] && !this[D]) return;
        const me = super.emit("close");
        return this.removeAllListeners("close"), me;
      } else if (k === "error") {
        this[h] = U;
        const me = super.emit("error", U);
        return this[n](), me;
      } else if (k === "resume") {
        const me = super.emit("resume");
        return this[n](), me;
      } else if (k === "finish" || k === "prefinish") {
        const me = super.emit(k);
        return this.removeAllListeners(k), me;
      }
      const ue = super.emit(k, U, ...Q);
      return this[n](), ue;
    }
    [C](k) {
      for (const Q of this.pipes) Q.dest.write(k) === !1 && this.pause();
      const U = super.emit("data", k);
      return this[n](), U;
    }
    [O]() {
      this[u] || (this[u] = !0, this.readable = !1, this[x] ? F(() => this[I]()) : this[I]());
    }
    [I]() {
      if (this[m]) {
        const U = this[m].end();
        if (U) {
          for (const Q of this.pipes) Q.dest.write(U);
          super.emit("data", U);
        }
      }
      for (const U of this.pipes) U.end();
      const k = super.emit("end");
      return this.removeAllListeners("end"), k;
    }
    collect() {
      const k = [];
      this[A] || (k.dataLength = 0);
      const U = this.promise();
      return this.on("data", (Q) => {
        k.push(Q), this[A] || (k.dataLength += Q.length);
      }), U.then(() => k);
    }
    concat() {
      return this[A] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((k) => this[A] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[g] ? k.join("") : Buffer.concat(k, k.dataLength));
    }
    promise() {
      return new Promise((k, U) => {
        this.on(D, () => U(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (Q) => U(Q)), this.on("end", () => k());
      });
    }
    [K]() {
      return { next: () => {
        const U = this.read();
        if (U !== null) return Promise.resolve({
          done: !1,
          value: U
        });
        if (this[c]) return Promise.resolve({ done: !0 });
        let Q = null, ue = null;
        const me = (Y) => {
          this.removeListener("data", we), this.removeListener("end", Z), ue(Y);
        }, we = (Y) => {
          this.removeListener("error", me), this.removeListener("end", Z), this.pause(), Q({
            value: Y,
            done: !!this[c]
          });
        }, Z = () => {
          this.removeListener("error", me), this.removeListener("data", we), Q({ done: !0 });
        }, G = () => me(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((Y, ne) => {
          ue = ne, Q = Y, this.once(D, G), this.once("error", me), this.once("end", Z), this.once("data", we);
        });
      } };
    }
    [M]() {
      return { next: () => {
        const U = this.read();
        return {
          value: U,
          done: U === null
        };
      } };
    }
    destroy(k) {
      return this[D] ? (k ? this.emit("error", k) : this.emit(D), this) : (this[D] = !0, this.buffer.length = 0, this[S] = 0, typeof this.close == "function" && !this[a] && this.close(), k ? this.emit("error", k) : this.emit(D), this);
    }
    static isStream(k) {
      return !!k && (k instanceof Mh || k instanceof s || k instanceof i && (typeof k.pipe == "function" || typeof k.write == "function" && typeof k.end == "function"));
    }
  };
})), Yo = /* @__PURE__ */ z(((e, t) => {
  var r = b1(), i = /* @__PURE__ */ Symbol("_flush"), s = /* @__PURE__ */ Symbol("_flushed"), d = /* @__PURE__ */ Symbol("_flushing"), c = class extends r {
    constructor(n = {}) {
      if (typeof n == "function" && (n = { flush: n }), super(n), typeof n.flush != "function" && typeof this.flush != "function") throw new TypeError("must provide flush function in options");
      this[i] = n.flush || this.flush;
    }
    emit(n, ...u) {
      if (n !== "end" && n !== "finish" || this[s]) return super.emit(n, ...u);
      if (this[d]) return;
      this[d] = !0;
      const o = (a) => {
        this[s] = !0, a ? super.emit("error", a) : super.emit("end");
      }, h = this[i](o);
      h && h.then && h.then(() => o(), (a) => o(a));
    }
  };
  t.exports = c;
})), jh = /* @__PURE__ */ z(((e, t) => {
  var { Minipass: r } = St(), i = /* @__PURE__ */ Symbol("_data"), s = /* @__PURE__ */ Symbol("_length"), d = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, u, o) {
      typeof u == "function" && (o = u, u = "utf8"), u || (u = "utf8");
      const h = Buffer.isBuffer(n) ? n : Buffer.from(n, u);
      return this[i].push(h), this[s] += h.length, o && o(), !0;
    }
    end(n, u, o) {
      typeof n == "function" && (o = n, n = null), typeof u == "function" && (o = u, u = "utf8"), n && this.write(n, u);
      const h = Buffer.concat(this[i], this[s]);
      return super.write(h), super.end(o);
    }
  };
  t.exports = d;
  var c = class extends r {
    constructor(n) {
      super(n), this[i] = [], this[s] = 0;
    }
    write(n, u, o) {
      typeof u == "function" && (o = u, u = "utf8"), u || (u = "utf8");
      const h = Buffer.isBuffer(n) ? n : Buffer.from(n, u);
      return this[i].push(h), this[s] += h.length, super.write(n, u, o);
    }
    end(n, u, o) {
      typeof n == "function" && (o = n, n = null), typeof u == "function" && (o = u, u = "utf8"), n && this.write(n, u);
      const h = Buffer.concat(this[i], this[s]);
      return this.emit("collect", h), super.end(o);
    }
  };
  t.exports.PassThrough = c;
})), w1 = /* @__PURE__ */ z(((e, t) => {
  var r = typeof process == "object" && process ? process : {
    stdout: null,
    stderr: null
  }, i = be("events"), s = be("stream"), d = be("string_decoder").StringDecoder, c = /* @__PURE__ */ Symbol("EOF"), n = /* @__PURE__ */ Symbol("maybeEmitEnd"), u = /* @__PURE__ */ Symbol("emittedEnd"), o = /* @__PURE__ */ Symbol("emittingEnd"), h = /* @__PURE__ */ Symbol("emittedError"), a = /* @__PURE__ */ Symbol("closed"), l = /* @__PURE__ */ Symbol("read"), f = /* @__PURE__ */ Symbol("flush"), p = /* @__PURE__ */ Symbol("flushChunk"), g = /* @__PURE__ */ Symbol("encoding"), m = /* @__PURE__ */ Symbol("decoder"), v = /* @__PURE__ */ Symbol("flowing"), _ = /* @__PURE__ */ Symbol("paused"), E = /* @__PURE__ */ Symbol("resume"), S = /* @__PURE__ */ Symbol("bufferLength"), w = /* @__PURE__ */ Symbol("bufferPush"), b = /* @__PURE__ */ Symbol("bufferShift"), A = /* @__PURE__ */ Symbol("objectMode"), D = /* @__PURE__ */ Symbol("destroyed"), C = /* @__PURE__ */ Symbol("emitData"), O = /* @__PURE__ */ Symbol("emitEnd"), I = /* @__PURE__ */ Symbol("emitEnd2"), x = /* @__PURE__ */ Symbol("async"), F = (P) => Promise.resolve().then(P), q = global._MP_NO_ITERATOR_SYMBOLS_ !== "1", K = q && Symbol.asyncIterator || /* @__PURE__ */ Symbol("asyncIterator not implemented"), M = q && Symbol.iterator || /* @__PURE__ */ Symbol("iterator not implemented"), N = (P) => P === "end" || P === "finish" || P === "prefinish", L = (P) => P instanceof ArrayBuffer || typeof P == "object" && P.constructor && P.constructor.name === "ArrayBuffer" && P.byteLength >= 0, te = (P) => !Buffer.isBuffer(P) && ArrayBuffer.isView(P), H = class {
    constructor(P, k, U) {
      this.src = P, this.dest = k, this.opts = U, this.ondrain = () => P[E](), k.on("drain", this.ondrain);
    }
    unpipe() {
      this.dest.removeListener("drain", this.ondrain);
    }
    // istanbul ignore next - only here for the prototype
    proxyErrors() {
    }
    end() {
      this.unpipe(), this.opts.end && this.dest.end();
    }
  }, j = class extends H {
    unpipe() {
      this.src.removeListener("error", this.proxyErrors), super.unpipe();
    }
    constructor(P, k, U) {
      super(P, k, U), this.proxyErrors = (Q) => k.emit("error", Q), P.on("error", this.proxyErrors);
    }
  };
  t.exports = class Uh extends s {
    constructor(k) {
      super(), this[v] = !1, this[_] = !1, this.pipes = [], this.buffer = [], this[A] = k && k.objectMode || !1, this[A] ? this[g] = null : this[g] = k && k.encoding || null, this[g] === "buffer" && (this[g] = null), this[x] = k && !!k.async || !1, this[m] = this[g] ? new d(this[g]) : null, this[c] = !1, this[u] = !1, this[o] = !1, this[a] = !1, this[h] = null, this.writable = !0, this.readable = !0, this[S] = 0, this[D] = !1;
    }
    get bufferLength() {
      return this[S];
    }
    get encoding() {
      return this[g];
    }
    set encoding(k) {
      if (this[A]) throw new Error("cannot set encoding in objectMode");
      if (this[g] && k !== this[g] && (this[m] && this[m].lastNeed || this[S])) throw new Error("cannot change encoding");
      this[g] !== k && (this[m] = k ? new d(k) : null, this.buffer.length && (this.buffer = this.buffer.map((U) => this[m].write(U)))), this[g] = k;
    }
    setEncoding(k) {
      this.encoding = k;
    }
    get objectMode() {
      return this[A];
    }
    set objectMode(k) {
      this[A] = this[A] || !!k;
    }
    get async() {
      return this[x];
    }
    set async(k) {
      this[x] = this[x] || !!k;
    }
    write(k, U, Q) {
      if (this[c]) throw new Error("write after end");
      if (this[D])
        return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
      typeof U == "function" && (Q = U, U = "utf8"), U || (U = "utf8");
      const ue = this[x] ? F : (me) => me();
      return !this[A] && !Buffer.isBuffer(k) && (te(k) ? k = Buffer.from(k.buffer, k.byteOffset, k.byteLength) : L(k) ? k = Buffer.from(k) : typeof k != "string" && (this.objectMode = !0)), this[A] ? (this.flowing && this[S] !== 0 && this[f](!0), this.flowing ? this.emit("data", k) : this[w](k), this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing) : k.length ? (typeof k == "string" && !(U === this[g] && !this[m].lastNeed) && (k = Buffer.from(k, U)), Buffer.isBuffer(k) && this[g] && (k = this[m].write(k)), this.flowing && this[S] !== 0 && this[f](!0), this.flowing ? this.emit("data", k) : this[w](k), this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing) : (this[S] !== 0 && this.emit("readable"), Q && ue(Q), this.flowing);
    }
    read(k) {
      if (this[D]) return null;
      if (this[S] === 0 || k === 0 || k > this[S])
        return this[n](), null;
      this[A] && (k = null), this.buffer.length > 1 && !this[A] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[S])]);
      const U = this[l](k || null, this.buffer[0]);
      return this[n](), U;
    }
    [l](k, U) {
      return k === U.length || k === null ? this[b]() : (this.buffer[0] = U.slice(k), U = U.slice(0, k), this[S] -= k), this.emit("data", U), !this.buffer.length && !this[c] && this.emit("drain"), U;
    }
    end(k, U, Q) {
      return typeof k == "function" && (Q = k, k = null), typeof U == "function" && (Q = U, U = "utf8"), k && this.write(k, U), Q && this.once("end", Q), this[c] = !0, this.writable = !1, (this.flowing || !this[_]) && this[n](), this;
    }
    [E]() {
      this[D] || (this[_] = !1, this[v] = !0, this.emit("resume"), this.buffer.length ? this[f]() : this[c] ? this[n]() : this.emit("drain"));
    }
    resume() {
      return this[E]();
    }
    pause() {
      this[v] = !1, this[_] = !0;
    }
    get destroyed() {
      return this[D];
    }
    get flowing() {
      return this[v];
    }
    get paused() {
      return this[_];
    }
    [w](k) {
      this[A] ? this[S] += 1 : this[S] += k.length, this.buffer.push(k);
    }
    [b]() {
      return this.buffer.length && (this[A] ? this[S] -= 1 : this[S] -= this.buffer[0].length), this.buffer.shift();
    }
    [f](k) {
      do
        ;
      while (this[p](this[b]()));
      !k && !this.buffer.length && !this[c] && this.emit("drain");
    }
    [p](k) {
      return k ? (this.emit("data", k), this.flowing) : !1;
    }
    pipe(k, U) {
      if (this[D]) return;
      const Q = this[u];
      return U = U || {}, k === r.stdout || k === r.stderr ? U.end = !1 : U.end = U.end !== !1, U.proxyErrors = !!U.proxyErrors, Q ? U.end && k.end() : (this.pipes.push(U.proxyErrors ? new j(this, k, U) : new H(this, k, U)), this[x] ? F(() => this[E]()) : this[E]()), k;
    }
    unpipe(k) {
      const U = this.pipes.find((Q) => Q.dest === k);
      U && (this.pipes.splice(this.pipes.indexOf(U), 1), U.unpipe());
    }
    addListener(k, U) {
      return this.on(k, U);
    }
    on(k, U) {
      const Q = super.on(k, U);
      return k === "data" && !this.pipes.length && !this.flowing ? this[E]() : k === "readable" && this[S] !== 0 ? super.emit("readable") : N(k) && this[u] ? (super.emit(k), this.removeAllListeners(k)) : k === "error" && this[h] && (this[x] ? F(() => U.call(this, this[h])) : U.call(this, this[h])), Q;
    }
    get emittedEnd() {
      return this[u];
    }
    [n]() {
      !this[o] && !this[u] && !this[D] && this.buffer.length === 0 && this[c] && (this[o] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[a] && this.emit("close"), this[o] = !1);
    }
    emit(k, U, ...Q) {
      if (k !== "error" && k !== "close" && k !== D && this[D]) return;
      if (k === "data") return U ? this[x] ? F(() => this[C](U)) : this[C](U) : !1;
      if (k === "end") return this[O]();
      if (k === "close") {
        if (this[a] = !0, !this[u] && !this[D]) return;
        const me = super.emit("close");
        return this.removeAllListeners("close"), me;
      } else if (k === "error") {
        this[h] = U;
        const me = super.emit("error", U);
        return this[n](), me;
      } else if (k === "resume") {
        const me = super.emit("resume");
        return this[n](), me;
      } else if (k === "finish" || k === "prefinish") {
        const me = super.emit(k);
        return this.removeAllListeners(k), me;
      }
      const ue = super.emit(k, U, ...Q);
      return this[n](), ue;
    }
    [C](k) {
      for (const Q of this.pipes) Q.dest.write(k) === !1 && this.pause();
      const U = super.emit("data", k);
      return this[n](), U;
    }
    [O]() {
      this[u] || (this[u] = !0, this.readable = !1, this[x] ? F(() => this[I]()) : this[I]());
    }
    [I]() {
      if (this[m]) {
        const U = this[m].end();
        if (U) {
          for (const Q of this.pipes) Q.dest.write(U);
          super.emit("data", U);
        }
      }
      for (const U of this.pipes) U.end();
      const k = super.emit("end");
      return this.removeAllListeners("end"), k;
    }
    collect() {
      const k = [];
      this[A] || (k.dataLength = 0);
      const U = this.promise();
      return this.on("data", (Q) => {
        k.push(Q), this[A] || (k.dataLength += Q.length);
      }), U.then(() => k);
    }
    concat() {
      return this[A] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this.collect().then((k) => this[A] ? Promise.reject(/* @__PURE__ */ new Error("cannot concat in objectMode")) : this[g] ? k.join("") : Buffer.concat(k, k.dataLength));
    }
    promise() {
      return new Promise((k, U) => {
        this.on(D, () => U(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (Q) => U(Q)), this.on("end", () => k());
      });
    }
    [K]() {
      return { next: () => {
        const U = this.read();
        if (U !== null) return Promise.resolve({
          done: !1,
          value: U
        });
        if (this[c]) return Promise.resolve({ done: !0 });
        let Q = null, ue = null;
        const me = (Y) => {
          this.removeListener("data", we), this.removeListener("end", Z), ue(Y);
        }, we = (Y) => {
          this.removeListener("error", me), this.removeListener("end", Z), this.pause(), Q({
            value: Y,
            done: !!this[c]
          });
        }, Z = () => {
          this.removeListener("error", me), this.removeListener("data", we), Q({ done: !0 });
        }, G = () => me(/* @__PURE__ */ new Error("stream destroyed"));
        return new Promise((Y, ne) => {
          ue = ne, Q = Y, this.once(D, G), this.once("error", me), this.once("end", Z), this.once("data", we);
        });
      } };
    }
    [M]() {
      return { next: () => {
        const U = this.read();
        return {
          value: U,
          done: U === null
        };
      } };
    }
    destroy(k) {
      return this[D] ? (k ? this.emit("error", k) : this.emit(D), this) : (this[D] = !0, this.buffer.length = 0, this[S] = 0, typeof this.close == "function" && !this[a] && this.close(), k ? this.emit("error", k) : this.emit(D), this);
    }
    static isStream(k) {
      return !!k && (k instanceof Uh || k instanceof s || k instanceof i && (typeof k.pipe == "function" || typeof k.write == "function" && typeof k.end == "function"));
    }
  };
})), ki = /* @__PURE__ */ z(((e, t) => {
  var r = w1(), i = be("events"), s = (m) => m && m instanceof i && (typeof m.pipe == "function" || typeof m.write == "function" && typeof m.end == "function"), d = /* @__PURE__ */ Symbol("_head"), c = /* @__PURE__ */ Symbol("_tail"), n = /* @__PURE__ */ Symbol("_linkStreams"), u = /* @__PURE__ */ Symbol("_setHead"), o = /* @__PURE__ */ Symbol("_setTail"), h = /* @__PURE__ */ Symbol("_onError"), a = /* @__PURE__ */ Symbol("_onData"), l = /* @__PURE__ */ Symbol("_onEnd"), f = /* @__PURE__ */ Symbol("_onDrain"), p = /* @__PURE__ */ Symbol("_streams"), g = class extends r {
    constructor(m, ...v) {
      s(m) && (v.unshift(m), m = {}), super(m), this[p] = [], v.length && this.push(...v);
    }
    [n](m) {
      return m.reduce((v, _) => (v.on("error", (E) => _.emit("error", E)), v.pipe(_), _));
    }
    push(...m) {
      this[p].push(...m), this[c] && m.unshift(this[c]);
      const v = this[n](m);
      this[o](v), this[d] || this[u](m[0]);
    }
    unshift(...m) {
      this[p].unshift(...m), this[d] && m.push(this[d]);
      const v = this[n](m);
      this[u](m[0]), this[c] || this[o](v);
    }
    destroy(m) {
      return this[p].forEach((v) => typeof v.destroy == "function" && v.destroy()), super.destroy(m);
    }
    [o](m) {
      this[c] = m, m.on("error", (v) => this[h](m, v)), m.on("data", (v) => this[a](m, v)), m.on("end", () => this[l](m)), m.on("finish", () => this[l](m));
    }
    [h](m, v) {
      m === this[c] && this.emit("error", v);
    }
    [a](m, v) {
      m === this[c] && super.write(v);
    }
    [l](m) {
      m === this[c] && super.end();
    }
    pause() {
      return super.pause(), this[c] && this[c].pause && this[c].pause();
    }
    emit(m, ...v) {
      return m === "resume" && this[c] && this[c].resume && this[c].resume(), super.emit(m, ...v);
    }
    [u](m) {
      this[d] = m, m.on("drain", () => this[f](m));
    }
    [f](m) {
      m === this[d] && this.emit("drain");
    }
    write(m, v, _) {
      return this[d].write(m, v, _) && (this.flowing || this.buffer.length === 0);
    }
    end(m, v, _) {
      return this[d].end(m, v, _), this;
    }
  };
  t.exports = g;
})), Hh = /* @__PURE__ */ z(((e, t) => {
  var r = (i, { copy: s, wrap: d }) => {
    const c = {};
    if (i && typeof i == "object")
      for (const n of s) i[n] !== void 0 && (c[n] = i[n]);
    else c[d] = i;
    return c;
  };
  t.exports = r;
})), E1 = /* @__PURE__ */ z(((e, t) => {
  var r = To(), i = (s) => r.satisfies(process.version, s, { includePrerelease: !0 });
  t.exports = { satisfies: i };
})), S1 = /* @__PURE__ */ z(((e, t) => {
  var { inspect: r } = be("util"), i = class {
    constructor(d, c, n) {
      let u = `${c}: ${n.syscall} returned ${n.code} (${n.message})`;
      n.path !== void 0 && (u += ` ${n.path}`), n.dest !== void 0 && (u += ` => ${n.dest}`), this.code = d, Object.defineProperties(this, {
        name: {
          value: "SystemError",
          enumerable: !1,
          writable: !0,
          configurable: !0
        },
        message: {
          value: u,
          enumerable: !1,
          writable: !0,
          configurable: !0
        },
        info: {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !1
        },
        errno: {
          get() {
            return n.errno;
          },
          set(o) {
            n.errno = o;
          },
          enumerable: !0,
          configurable: !0
        },
        syscall: {
          get() {
            return n.syscall;
          },
          set(o) {
            n.syscall = o;
          },
          enumerable: !0,
          configurable: !0
        }
      }), n.path !== void 0 && Object.defineProperty(this, "path", {
        get() {
          return n.path;
        },
        set(o) {
          n.path = o;
        },
        enumerable: !0,
        configurable: !0
      }), n.dest !== void 0 && Object.defineProperty(this, "dest", {
        get() {
          return n.dest;
        },
        set(o) {
          n.dest = o;
        },
        enumerable: !0,
        configurable: !0
      });
    }
    toString() {
      return `${this.name} [${this.code}]: ${this.message}`;
    }
    [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](d, c) {
      return r(this, {
        ...c,
        getters: !0,
        customInspect: !1
      });
    }
  };
  function s(d, c) {
    t.exports[d] = class extends i {
      constructor(u) {
        super(d, c, u);
      }
    };
  }
  s("ERR_FS_CP_DIR_TO_NON_DIR", "Cannot overwrite directory with non-directory"), s("ERR_FS_CP_EEXIST", "Target already exists"), s("ERR_FS_CP_EINVAL", "Invalid src or dest"), s("ERR_FS_CP_FIFO_PIPE", "Cannot copy a FIFO pipe"), s("ERR_FS_CP_NON_DIR_TO_DIR", "Cannot overwrite non-directory with directory"), s("ERR_FS_CP_SOCKET", "Cannot copy a socket file"), s("ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY", "Cannot overwrite symlink in subdirectory of self"), s("ERR_FS_CP_UNKNOWN", "Cannot copy an unknown file type"), s("ERR_FS_EISDIR", "Path is a directory"), t.exports.ERR_INVALID_ARG_TYPE = class extends Error {
    constructor(c, n, u) {
      super(), this.code = "ERR_INVALID_ARG_TYPE", this.message = `The ${c} argument must be ${n}. Received ${typeof u}`;
    }
  };
})), A1 = /* @__PURE__ */ z(((e, t) => {
  var { ERR_FS_CP_DIR_TO_NON_DIR: r, ERR_FS_CP_EEXIST: i, ERR_FS_CP_EINVAL: s, ERR_FS_CP_FIFO_PIPE: d, ERR_FS_CP_NON_DIR_TO_DIR: c, ERR_FS_CP_SOCKET: n, ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY: u, ERR_FS_CP_UNKNOWN: o, ERR_FS_EISDIR: h, ERR_INVALID_ARG_TYPE: a } = S1(), { constants: { errno: { EEXIST: l, EISDIR: f, EINVAL: p, ENOTDIR: g } } } = be("os"), { chmod: m, copyFile: v, lstat: _, mkdir: E, readdir: S, readlink: w, stat: b, symlink: A, unlink: D, utimes: C } = be("fs/promises"), { dirname: O, isAbsolute: I, join: x, parse: F, resolve: q, sep: K, toNamespacedPath: M } = be("path"), { fileURLToPath: N } = be("url"), L = {
    dereference: !1,
    errorOnExist: !1,
    filter: void 0,
    force: !0,
    preserveTimestamps: !1,
    recursive: !1
  };
  async function te(De, ye, pe) {
    if (pe != null && typeof pe != "object") throw new a("options", ["Object"], pe);
    return j(M(H(De)), M(H(ye)), {
      ...L,
      ...pe
    });
  }
  function H(De) {
    return De != null && De.href && De.origin ? N(De) : De;
  }
  async function j(De, ye, pe) {
    pe.preserveTimestamps && process.arch === "ia32" && process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended", "TimestampPrecisionWarning");
    const { srcStat: y, destStat: $ } = await P(De, ye, pe);
    return await me(De, y, ye), pe.filter ? G(Q, $, De, ye, pe) : Q($, De, ye, pe);
  }
  async function P(De, ye, pe) {
    const { 0: y, 1: $ } = await U(De, ye, pe);
    if ($) {
      if (k(y, $)) throw new s({
        message: "src and dest cannot be the same",
        path: ye,
        syscall: "cp",
        errno: p
      });
      if (y.isDirectory() && !$.isDirectory()) throw new r({
        message: `cannot overwrite directory ${De} with non-directory ${ye}`,
        path: ye,
        syscall: "cp",
        errno: f
      });
      if (!y.isDirectory() && $.isDirectory()) throw new c({
        message: `cannot overwrite non-directory ${De} with directory ${ye}`,
        path: ye,
        syscall: "cp",
        errno: g
      });
    }
    if (y.isDirectory() && Z(De, ye)) throw new s({
      message: `cannot copy ${De} to a subdirectory of self ${ye}`,
      path: ye,
      syscall: "cp",
      errno: p
    });
    return {
      srcStat: y,
      destStat: $
    };
  }
  function k(De, ye) {
    return ye.ino && ye.dev && ye.ino === De.ino && ye.dev === De.dev;
  }
  function U(De, ye, pe) {
    const y = pe.dereference ? ($) => b($, { bigint: !0 }) : ($) => _($, { bigint: !0 });
    return Promise.all([y(De), y(ye).catch(($) => {
      if ($.code === "ENOENT") return null;
      throw $;
    })]);
  }
  async function Q(De, ye, pe, y) {
    const $ = O(pe);
    return await ue($) || await E($, { recursive: !0 }), ne(De, ye, pe, y);
  }
  function ue(De) {
    return b(De).then(
      () => !0,
      // istanbul ignore next: not sure when this would occur
      (ye) => ye.code === "ENOENT" ? !1 : Promise.reject(ye)
    );
  }
  async function me(De, ye, pe) {
    const y = q(O(De)), $ = q(O(pe));
    if ($ === y || $ === F($).root) return;
    let ie;
    try {
      ie = await b($, { bigint: !0 });
    } catch (oe) {
      if (oe.code === "ENOENT") return;
      throw oe;
    }
    if (k(ye, ie)) throw new s({
      message: `cannot copy ${De} to a subdirectory of self ${pe}`,
      path: pe,
      syscall: "cp",
      errno: p
    });
    return me(De, ye, $);
  }
  var we = (De) => q(De).split(K).filter(Boolean);
  function Z(De, ye) {
    const pe = we(De), y = we(ye);
    return pe.every(($, ie) => y[ie] === $);
  }
  async function G(De, ye, pe, y, $, ie) {
    if (await $.filter(pe, y)) return De(ye, pe, y, $, ie);
  }
  function Y(De, ye, pe, y) {
    return y.filter ? G(ne, De, ye, pe, y) : ne(De, ye, pe, y);
  }
  async function ne(De, ye, pe, y) {
    const $ = await (y.dereference ? b : _)(ye);
    if ($.isDirectory() && y.recursive) return Me($, De, ye, pe, y);
    if ($.isDirectory()) throw new h({
      message: `${ye} is a directory (not copied)`,
      path: ye,
      syscall: "cp",
      errno: p
    });
    if ($.isFile() || $.isCharacterDevice() || $.isBlockDevice()) return le($, De, ye, pe, y);
    if ($.isSymbolicLink()) return Ae(De, ye, pe);
    throw $.isSocket() ? new n({
      message: `cannot copy a socket file: ${pe}`,
      path: pe,
      syscall: "cp",
      errno: p
    }) : $.isFIFO() ? new d({
      message: `cannot copy a FIFO pipe: ${pe}`,
      path: pe,
      syscall: "cp",
      errno: p
    }) : new o({
      message: `cannot copy an unknown file type: ${pe}`,
      path: pe,
      syscall: "cp",
      errno: p
    });
  }
  function le(De, ye, pe, y, $) {
    return ye ? B(De, pe, y, $) : W(De, pe, y, $);
  }
  async function B(De, ye, pe, y) {
    if (y.force)
      return await D(pe), W(De, ye, pe, y);
    if (y.errorOnExist) throw new i({
      message: `${pe} already exists`,
      path: pe,
      syscall: "cp",
      errno: l
    });
  }
  async function W(De, ye, pe, y) {
    return await v(ye, pe), y.preserveTimestamps ? ae(De.mode, ye, pe) : xe(pe, De.mode);
  }
  async function ae(De, ye, pe) {
    return Re(De) && await Oe(pe, De), Ee(De, ye, pe);
  }
  function Re(De) {
    return (De & 128) === 0;
  }
  function Oe(De, ye) {
    return xe(De, ye | 128);
  }
  async function Ee(De, ye, pe) {
    return await Ne(ye, pe), xe(pe, De);
  }
  function xe(De, ye) {
    return m(De, ye);
  }
  async function Ne(De, ye) {
    const pe = await b(De);
    return C(ye, pe.atime, pe.mtime);
  }
  function Me(De, ye, pe, y, $) {
    return ye ? Pe(pe, y, $) : Ce(De.mode, pe, y, $);
  }
  async function Ce(De, ye, pe, y) {
    return await E(pe), await Pe(ye, pe, y), xe(pe, De);
  }
  async function Pe(De, ye, pe) {
    const y = await S(De);
    for (let $ = 0; $ < y.length; $++) {
      const ie = y[$], oe = x(De, ie), re = x(ye, ie), { destStat: de } = await P(oe, re, pe);
      await Y(de, oe, re, pe);
    }
  }
  async function Ae(De, ye, pe) {
    let y = await w(ye);
    if (I(y) || (y = q(O(ye), y)), !De) return A(y, pe);
    let $;
    try {
      $ = await w(pe);
    } catch (ie) {
      if (ie.code === "EINVAL" || ie.code === "UNKNOWN") return A(y, pe);
      throw ie;
    }
    if (I($) || ($ = q(O(pe), $)), Z(y, $)) throw new s({
      message: `cannot copy ${y} to a subdirectory of self ${$}`,
      path: pe,
      syscall: "cp",
      errno: p
    });
    if ((await b(ye)).isDirectory() && Z($, y)) throw new u({
      message: `cannot overwrite ${$} with ${y}`,
      path: pe,
      syscall: "cp",
      errno: p
    });
    return $e(y, pe);
  }
  async function $e(De, ye) {
    return await D(ye), A(De, ye);
  }
  t.exports = te;
})), T1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("fs/promises"), i = Hh(), s = E1(), d = A1(), c = s.satisfies(">=16.7.0"), n = async (u, o, h) => {
    const a = i(h, { copy: [
      "dereference",
      "errorOnExist",
      "filter",
      "force",
      "preserveTimestamps",
      "recursive"
    ] });
    return c ? r.cp(u, o, a) : d(u, o, a);
  };
  t.exports = n;
})), D1 = /* @__PURE__ */ z(((e, t) => {
  var { join: r, sep: i } = be("path"), s = Hh(), { mkdir: d, mkdtemp: c, rm: n } = be("fs/promises"), u = async (o, h, a) => {
    const l = s(a, { copy: ["tmpPrefix"] });
    await d(o, { recursive: !0 });
    const f = await c(r(`${o}${i}`, l.tmpPrefix || ""));
    let p, g;
    try {
      g = await h(f);
    } catch (m) {
      p = m;
    }
    try {
      await n(f, {
        force: !0,
        recursive: !0
      });
    } catch {
    }
    if (p) throw p;
    return g;
  };
  t.exports = u;
})), R1 = /* @__PURE__ */ z(((e, t) => {
  var { readdir: r } = be("fs/promises"), { join: i } = be("path"), s = async (d) => {
    const c = [];
    for (const n of await r(d)) if (n.startsWith("@")) for (const u of await r(i(d, n))) c.push(i(n, u));
    else c.push(n);
    return c;
  };
  t.exports = s;
})), O1 = /* @__PURE__ */ z(((e, t) => {
  var { dirname: r, join: i, resolve: s, relative: d, isAbsolute: c } = be("path"), n = be("fs/promises"), u = async (h) => {
    try {
      return await n.access(h), !0;
    } catch (a) {
      return a.code !== "ENOENT";
    }
  }, o = async (h, a, l = {}, f = !0, p = []) => {
    if (!h || !a) throw new TypeError("`source` and `destination` file required");
    if (l = {
      overwrite: !0,
      ...l
    }, !l.overwrite && await u(a)) throw new Error(`The destination file exists: ${a}`);
    await n.mkdir(r(a), { recursive: !0 });
    try {
      await n.rename(h, a);
    } catch (g) {
      if (g.code === "EXDEV" || g.code === "EPERM") {
        const m = await n.lstat(h);
        if (m.isDirectory()) {
          const v = await n.readdir(h);
          await Promise.all(v.map((_) => o(i(h, _), i(a, _), l, !1, p)));
        } else m.isSymbolicLink() ? p.push({
          source: h,
          destination: a
        }) : await n.copyFile(h, a);
      } else throw g;
    }
    f && (await Promise.all(p.map(async ({ source: g, destination: m }) => {
      let v = await n.readlink(g);
      c(v) && (v = s(m, d(g, v)));
      let _ = "file";
      try {
        _ = await n.stat(s(r(g), v)), _.isDirectory() && (_ = "junction");
      } catch {
      }
      await n.symlink(v, m, _);
    })), await n.rm(h, {
      recursive: !0,
      force: !0
    }));
  };
  t.exports = o;
})), Ko = /* @__PURE__ */ z(((e, t) => {
  var r = T1(), i = D1(), s = R1(), d = O1();
  t.exports = {
    cp: r,
    withTempDir: i,
    readdirScoped: s,
    moveFile: d
  };
})), Zo = /* @__PURE__ */ z(((e, t) => {
  var r = be("crypto"), { withTempDir: i } = Ko(), s = be("fs/promises"), d = be("path");
  t.exports.mkdir = c, t.exports.tmpName = function(o, h) {
    const a = r.randomUUID();
    return d.join(o, "tmp", h ? `${h}-${a}` : a);
  };
  async function c(u, o = {}) {
    const { tmpPrefix: h } = o, a = d.join(u, "tmp");
    await s.mkdir(a, {
      recursive: !0,
      owner: "inherit"
    });
    const l = `${a}${d.sep}${h || ""}`;
    return s.mkdtemp(l, { owner: "inherit" });
  }
  t.exports.withTmp = n;
  function n(u, o, h) {
    return h || (h = o, o = {}), i(d.join(u, "tmp"), h, o);
  }
})), qh = /* @__PURE__ */ ft({
  author: () => Ha,
  default: () => Gh,
  dependencies: () => Fa,
  description: () => La,
  devDependencies: () => Ma,
  engines: () => ja,
  files: () => $a,
  keywords: () => Ba,
  license: () => "ISC",
  main: () => xa,
  name: () => Ia,
  repository: () => Pa,
  scripts: () => Na,
  tap: () => qa,
  templateOSS: () => Ua,
  version: () => ka
}), Ia, ka, La, xa, $a, Na, Pa, Ba, C1, Fa, Ma, ja, Ua, Ha, qa, Gh, zh = Ot((() => {
  Ia = "cacache", ka = "20.0.4", La = "Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.", xa = "lib/index.js", $a = ["bin/", "lib/"], Na = {
    test: "tap",
    snap: "tap",
    coverage: "tap",
    "test-docker": 'docker run -it --rm --name pacotest -v "$PWD":/tmp -w /tmp node:latest npm test',
    lint: "npm run eslint",
    npmclilint: "npmcli-lint",
    lintfix: "npm run eslint -- --fix",
    postsnap: "npm run lintfix --",
    postlint: "template-oss-check",
    posttest: "npm run lint",
    "template-oss-apply": "template-oss-apply --force",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"'
  }, Pa = {
    type: "git",
    url: "git+https://github.com/npm/cacache.git"
  }, Ba = [
    "cache",
    "caching",
    "content-addressable",
    "sri",
    "sri hash",
    "subresource integrity",
    "cache",
    "storage",
    "store",
    "file store",
    "filesystem",
    "disk cache",
    "disk storage"
  ], C1 = "ISC", Fa = {
    "@npmcli/fs": "^5.0.0",
    "fs-minipass": "^3.0.0",
    glob: "^13.0.0",
    "lru-cache": "^11.1.0",
    minipass: "^7.0.3",
    "minipass-collect": "^2.0.1",
    "minipass-flush": "^1.0.5",
    "minipass-pipeline": "^1.2.4",
    "p-map": "^7.0.2",
    ssri: "^13.0.0"
  }, Ma = {
    "@npmcli/eslint-config": "^6.0.1",
    "@npmcli/template-oss": "4.29.0",
    tap: "^16.0.0"
  }, ja = { node: "^20.17.0 || >=22.9.0" }, Ua = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    windowsCI: !1,
    version: "4.29.0",
    publish: "true"
  }, Ha = "GitHub Inc.", qa = { "nyc-arg": ["--exclude", "tap-snapshots/**"] }, Gh = {
    name: Ia,
    version: ka,
    "cache-version": {
      content: "2",
      index: "5"
    },
    description: La,
    main: xa,
    files: $a,
    scripts: Na,
    repository: Pa,
    keywords: Ba,
    license: "ISC",
    dependencies: Fa,
    devDependencies: Ma,
    engines: ja,
    templateOSS: Ua,
    author: Ha,
    tap: qa
  };
})), Wh = /* @__PURE__ */ z(((e, t) => {
  t.exports = r;
  function r(i) {
    return [
      i.slice(0, 2),
      i.slice(2, 4),
      i.slice(4)
    ];
  }
})), Li = /* @__PURE__ */ z(((e, t) => {
  var r = (zh(), vt(qh).default)["cache-version"].content, i = Wh(), s = be("path"), d = yr();
  t.exports = c;
  function c(u, o) {
    const h = d.parse(o, { single: !0 });
    return s.join(n(u), h.algorithm, ...i(h.hexDigest()));
  }
  t.exports.contentDir = n;
  function n(u) {
    return s.join(u, `content-v${r}`);
  }
})), xi = /* @__PURE__ */ z(((e, t) => {
  var r = be("crypto"), { appendFile: i, mkdir: s, readFile: d, readdir: c, rm: n, writeFile: u } = be("fs/promises"), { Minipass: o } = St(), h = be("path"), a = yr(), { tmpName: l } = Zo(), f = Li(), p = Wh(), g = (zh(), vt(qh).default)["cache-version"].index, { moveFile: m } = Ko(), v = 5;
  t.exports.NotFoundError = class extends Error {
    constructor(L, te) {
      super(`No cache entry for ${te} found in ${L}`), this.code = "ENOENT", this.cache = L, this.key = te;
    }
  }, t.exports.compact = _;
  async function _(N, L, te, H = {}) {
    const j = I(N, L), P = await D(j), k = [];
    for (let Z = P.length - 1; Z >= 0; --Z) {
      const G = P[Z];
      if (G.integrity === null && !H.validateEntry) break;
      (!H.validateEntry || H.validateEntry(G) === !0) && (k.length === 0 || !k.find((Y) => te(Y, G))) && k.unshift(G);
    }
    const U = `
` + k.map((Z) => {
      const G = JSON.stringify(Z);
      return `${F(G)}	${G}`;
    }).join(`
`), Q = async () => {
      const Z = l(N, H.tmpPrefix);
      return await s(h.dirname(Z), { recursive: !0 }), {
        target: Z,
        moved: !1
      };
    }, ue = async (Z) => {
      if (!Z.moved) return n(Z.target, {
        recursive: !0,
        force: !0
      });
    }, me = async (Z) => {
      await u(Z.target, U, { flag: "wx" }), await s(h.dirname(j), { recursive: !0 }), await m(Z.target, j), Z.moved = !0;
    }, we = await Q();
    try {
      await me(we);
    } finally {
      await ue(we);
    }
    return k.reverse().map((Z) => K(N, Z, !0));
  }
  t.exports.insert = E;
  async function E(N, L, te, H = {}) {
    const { metadata: j, size: P, time: k } = H, U = I(N, L), Q = {
      key: L,
      integrity: te && a.stringify(te),
      time: k || Date.now(),
      size: P,
      metadata: j
    };
    try {
      await s(h.dirname(U), { recursive: !0 });
      const ue = JSON.stringify(Q);
      await i(U, `
${F(ue)}	${ue}`);
    } catch (ue) {
      if (ue.code === "ENOENT") return;
      throw ue;
    }
    return K(N, Q);
  }
  t.exports.find = S;
  async function S(N, L) {
    const te = I(N, L);
    try {
      return (await D(te)).reduce((H, j) => j && j.key === L ? K(N, j) : H, null);
    } catch (H) {
      if (H.code === "ENOENT") return null;
      throw H;
    }
  }
  t.exports.delete = w;
  function w(N, L, te = {}) {
    return te.removeFully ? n(I(N, L), {
      recursive: !0,
      force: !0
    }) : E(N, L, null, te);
  }
  t.exports.lsStream = b;
  function b(N) {
    const L = O(N), te = new o({ objectMode: !0 });
    return Promise.resolve().then(async () => {
      const { default: H } = await Promise.resolve().then(() => (Ei(), fo));
      return await H(await M(L), async (j) => {
        const P = h.join(L, j);
        await H(await M(P), async (k) => {
          const U = h.join(P, k);
          await H(await M(U), async (Q) => {
            const ue = h.join(U, Q);
            try {
              const me = (await D(ue)).reduce((we, Z) => (we.set(Z.key, Z), we), /* @__PURE__ */ new Map());
              for (const we of me.values()) {
                const Z = K(N, we);
                Z && te.write(Z);
              }
            } catch (me) {
              if (me.code === "ENOENT") return;
              throw me;
            }
          }, { concurrency: v });
        }, { concurrency: v });
      }, { concurrency: v }), te.end(), te;
    }).catch((H) => te.emit("error", H)), te;
  }
  t.exports.ls = A;
  async function A(N) {
    return (await b(N).collect()).reduce((L, te) => (L[te.key] = te, L), {});
  }
  t.exports.bucketEntries = D;
  async function D(N, L) {
    return C(await d(N, "utf8"), L);
  }
  function C(N) {
    const L = [];
    return N.split(`
`).forEach((te) => {
      if (!te) return;
      const H = te.split("	");
      if (!H[1] || F(H[1]) !== H[0]) return;
      let j;
      try {
        j = JSON.parse(H[1]);
      } catch {
      }
      j && L.push(j);
    }), L;
  }
  t.exports.bucketDir = O;
  function O(N) {
    return h.join(N, `index-v${g}`);
  }
  t.exports.bucketPath = I;
  function I(N, L) {
    const te = x(L);
    return h.join.apply(h, [O(N)].concat(p(te)));
  }
  t.exports.hashKey = x;
  function x(N) {
    return q(N, "sha256");
  }
  t.exports.hashEntry = F;
  function F(N) {
    return q(N, "sha1");
  }
  function q(N, L) {
    return r.createHash(L).update(N).digest("hex");
  }
  function K(N, L, te) {
    return !L.integrity && !te ? null : {
      key: L.key,
      integrity: L.integrity,
      path: L.integrity ? f(N, L.integrity) : void 0,
      size: L.size,
      time: L.time,
      metadata: L.metadata
    };
  }
  function M(N) {
    return c(N).catch((L) => {
      if (L.code === "ENOENT" || L.code === "ENOTDIR") return [];
      throw L;
    });
  }
})), Bn = /* @__PURE__ */ z(((e, t) => {
  var { LRUCache: r } = Ri(), i = new r({
    max: 500,
    maxSize: 50 * 1024 * 1024,
    ttl: 180 * 1e3,
    sizeCalculation: (a, l) => l.startsWith("key:") ? a.data.length : a.length
  });
  t.exports.clearMemoized = s;
  function s() {
    const a = {};
    return i.forEach((l, f) => {
      a[f] = l;
    }), i.clear(), a;
  }
  t.exports.put = d;
  function d(a, l, f, p) {
    h(p).set(`key:${a}:${l.key}`, {
      entry: l,
      data: f
    }), c(a, l.integrity, f, p);
  }
  t.exports.put.byDigest = c;
  function c(a, l, f, p) {
    h(p).set(`digest:${a}:${l}`, f);
  }
  t.exports.get = n;
  function n(a, l, f) {
    return h(f).get(`key:${a}:${l}`);
  }
  t.exports.get.byDigest = u;
  function u(a, l, f) {
    return h(f).get(`digest:${a}:${l}`);
  }
  var o = class {
    constructor(a) {
      this.obj = a;
    }
    get(a) {
      return this.obj[a];
    }
    set(a, l) {
      this.obj[a] = l;
    }
  };
  function h(a) {
    return !a || !a.memoize ? i : a.memoize.get && a.memoize.set ? a.memoize : typeof a.memoize == "object" ? new o(a.memoize) : i;
  }
})), Jo = /* @__PURE__ */ z(((e) => {
  var { Minipass: t } = St(), r = be("events").EventEmitter, i = be("fs"), s = i.writev, d = /* @__PURE__ */ Symbol("_autoClose"), c = /* @__PURE__ */ Symbol("_close"), n = /* @__PURE__ */ Symbol("_ended"), u = /* @__PURE__ */ Symbol("_fd"), o = /* @__PURE__ */ Symbol("_finished"), h = /* @__PURE__ */ Symbol("_flags"), a = /* @__PURE__ */ Symbol("_flush"), l = /* @__PURE__ */ Symbol("_handleChunk"), f = /* @__PURE__ */ Symbol("_makeBuf"), p = /* @__PURE__ */ Symbol("_mode"), g = /* @__PURE__ */ Symbol("_needDrain"), m = /* @__PURE__ */ Symbol("_onerror"), v = /* @__PURE__ */ Symbol("_onopen"), _ = /* @__PURE__ */ Symbol("_onread"), E = /* @__PURE__ */ Symbol("_onwrite"), S = /* @__PURE__ */ Symbol("_open"), w = /* @__PURE__ */ Symbol("_path"), b = /* @__PURE__ */ Symbol("_pos"), A = /* @__PURE__ */ Symbol("_queue"), D = /* @__PURE__ */ Symbol("_read"), C = /* @__PURE__ */ Symbol("_readSize"), O = /* @__PURE__ */ Symbol("_reading"), I = /* @__PURE__ */ Symbol("_remain"), x = /* @__PURE__ */ Symbol("_size"), F = /* @__PURE__ */ Symbol("_write"), q = /* @__PURE__ */ Symbol("_writing"), K = /* @__PURE__ */ Symbol("_defaultFlag"), M = /* @__PURE__ */ Symbol("_errored"), N = class extends t {
    constructor(j, P) {
      if (P = P || {}, super(P), this.readable = !0, this.writable = !1, typeof j != "string") throw new TypeError("path must be a string");
      this[M] = !1, this[u] = typeof P.fd == "number" ? P.fd : null, this[w] = j, this[C] = P.readSize || 16 * 1024 * 1024, this[O] = !1, this[x] = typeof P.size == "number" ? P.size : 1 / 0, this[I] = this[x], this[d] = typeof P.autoClose == "boolean" ? P.autoClose : !0, typeof this[u] == "number" ? this[D]() : this[S]();
    }
    get fd() {
      return this[u];
    }
    get path() {
      return this[w];
    }
    write() {
      throw new TypeError("this is a readable stream");
    }
    end() {
      throw new TypeError("this is a readable stream");
    }
    [S]() {
      i.open(this[w], "r", (j, P) => this[v](j, P));
    }
    [v](j, P) {
      j ? this[m](j) : (this[u] = P, this.emit("open", P), this[D]());
    }
    [f]() {
      return Buffer.allocUnsafe(Math.min(this[C], this[I]));
    }
    [D]() {
      if (!this[O]) {
        this[O] = !0;
        const j = this[f]();
        if (j.length === 0) return process.nextTick(() => this[_](null, 0, j));
        i.read(this[u], j, 0, j.length, null, (P, k, U) => this[_](P, k, U));
      }
    }
    [_](j, P, k) {
      this[O] = !1, j ? this[m](j) : this[l](P, k) && this[D]();
    }
    [c]() {
      if (this[d] && typeof this[u] == "number") {
        const j = this[u];
        this[u] = null, i.close(j, (P) => P ? this.emit("error", P) : this.emit("close"));
      }
    }
    [m](j) {
      this[O] = !0, this[c](), this.emit("error", j);
    }
    [l](j, P) {
      let k = !1;
      return this[I] -= j, j > 0 && (k = super.write(j < P.length ? P.slice(0, j) : P)), (j === 0 || this[I] <= 0) && (k = !1, this[c](), super.end()), k;
    }
    emit(j, P) {
      switch (j) {
        case "prefinish":
        case "finish":
          break;
        case "drain":
          typeof this[u] == "number" && this[D]();
          break;
        case "error":
          return this[M] ? void 0 : (this[M] = !0, super.emit(j, P));
        default:
          return super.emit(j, P);
      }
    }
  }, L = class extends N {
    [S]() {
      let j = !0;
      try {
        this[v](null, i.openSync(this[w], "r")), j = !1;
      } finally {
        j && this[c]();
      }
    }
    [D]() {
      let j = !0;
      try {
        if (!this[O]) {
          this[O] = !0;
          do {
            const P = this[f](), k = P.length === 0 ? 0 : i.readSync(this[u], P, 0, P.length, null);
            if (!this[l](k, P)) break;
          } while (!0);
          this[O] = !1;
        }
        j = !1;
      } finally {
        j && this[c]();
      }
    }
    [c]() {
      if (this[d] && typeof this[u] == "number") {
        const j = this[u];
        this[u] = null, i.closeSync(j), this.emit("close");
      }
    }
  }, te = class extends r {
    constructor(j, P) {
      P = P || {}, super(P), this.readable = !1, this.writable = !0, this[M] = !1, this[q] = !1, this[n] = !1, this[g] = !1, this[A] = [], this[w] = j, this[u] = typeof P.fd == "number" ? P.fd : null, this[p] = P.mode === void 0 ? 438 : P.mode, this[b] = typeof P.start == "number" ? P.start : null, this[d] = typeof P.autoClose == "boolean" ? P.autoClose : !0;
      const k = this[b] !== null ? "r+" : "w";
      this[K] = P.flags === void 0, this[h] = this[K] ? k : P.flags, this[u] === null && this[S]();
    }
    emit(j, P) {
      if (j === "error") {
        if (this[M]) return;
        this[M] = !0;
      }
      return super.emit(j, P);
    }
    get fd() {
      return this[u];
    }
    get path() {
      return this[w];
    }
    [m](j) {
      this[c](), this[q] = !0, this.emit("error", j);
    }
    [S]() {
      i.open(this[w], this[h], this[p], (j, P) => this[v](j, P));
    }
    [v](j, P) {
      this[K] && this[h] === "r+" && j && j.code === "ENOENT" ? (this[h] = "w", this[S]()) : j ? this[m](j) : (this[u] = P, this.emit("open", P), this[q] || this[a]());
    }
    end(j, P) {
      return j && this.write(j, P), this[n] = !0, !this[q] && !this[A].length && typeof this[u] == "number" && this[E](null, 0), this;
    }
    write(j, P) {
      return typeof j == "string" && (j = Buffer.from(j, P)), this[n] ? (this.emit("error", /* @__PURE__ */ new Error("write() after end()")), !1) : this[u] === null || this[q] || this[A].length ? (this[A].push(j), this[g] = !0, !1) : (this[q] = !0, this[F](j), !0);
    }
    [F](j) {
      i.write(this[u], j, 0, j.length, this[b], (P, k) => this[E](P, k));
    }
    [E](j, P) {
      j ? this[m](j) : (this[b] !== null && (this[b] += P), this[A].length ? this[a]() : (this[q] = !1, this[n] && !this[o] ? (this[o] = !0, this[c](), this.emit("finish")) : this[g] && (this[g] = !1, this.emit("drain"))));
    }
    [a]() {
      if (this[A].length === 0)
        this[n] && this[E](null, 0);
      else if (this[A].length === 1) this[F](this[A].pop());
      else {
        const j = this[A];
        this[A] = [], s(this[u], j, this[b], (P, k) => this[E](P, k));
      }
    }
    [c]() {
      if (this[d] && typeof this[u] == "number") {
        const j = this[u];
        this[u] = null, i.close(j, (P) => P ? this.emit("error", P) : this.emit("close"));
      }
    }
  }, H = class extends te {
    [S]() {
      let j;
      if (this[K] && this[h] === "r+") try {
        j = i.openSync(this[w], this[h], this[p]);
      } catch (P) {
        if (P.code === "ENOENT")
          return this[h] = "w", this[S]();
        throw P;
      }
      else j = i.openSync(this[w], this[h], this[p]);
      this[v](null, j);
    }
    [c]() {
      if (this[d] && typeof this[u] == "number") {
        const j = this[u];
        this[u] = null, i.closeSync(j), this.emit("close");
      }
    }
    [F](j) {
      let P = !0;
      try {
        this[E](null, i.writeSync(this[u], j, 0, j.length, this[b])), P = !1;
      } finally {
        if (P) try {
          this[c]();
        } catch {
        }
      }
    }
  };
  e.ReadStream = N, e.ReadStreamSync = L, e.WriteStream = te, e.WriteStreamSync = H;
})), Vh = /* @__PURE__ */ z(((e, t) => {
  var r = be("fs/promises"), i = Jo(), s = yr(), d = Li(), c = ki();
  t.exports = u;
  var n = 64 * 1024 * 1024;
  async function u(m, v, _ = {}) {
    const { size: E } = _, { stat: S, cpath: w, sri: b } = await f(m, v, async (D, C) => ({
      stat: E ? { size: E } : await r.stat(D),
      cpath: D,
      sri: C
    }));
    if (S.size > n) return o(w, S.size, b, new c()).concat();
    const A = await r.readFile(w, { encoding: null });
    if (S.size !== A.length) throw p(S.size, A.length);
    if (!s.checkData(A, b)) throw g(b, w);
    return A;
  }
  var o = (m, v, _, E) => (E.push(new i.ReadStream(m, {
    size: v,
    readSize: n
  }), s.integrityStream({
    integrity: _,
    size: v
  })), E);
  t.exports.stream = h, t.exports.readStream = h;
  function h(m, v, _ = {}) {
    const { size: E } = _, S = new c();
    return Promise.resolve().then(async () => {
      const { stat: w, cpath: b, sri: A } = await f(m, v, async (D, C) => ({
        stat: E ? { size: E } : await r.stat(D),
        cpath: D,
        sri: C
      }));
      return o(b, w.size, A, S);
    }).catch((w) => S.emit("error", w)), S;
  }
  t.exports.copy = a;
  function a(m, v, _) {
    return f(m, v, (E) => r.copyFile(E, _));
  }
  t.exports.hasContent = l;
  async function l(m, v) {
    if (!v) return !1;
    try {
      return await f(m, v, async (_, E) => {
        const S = await r.stat(_);
        return {
          size: S.size,
          sri: E,
          stat: S
        };
      });
    } catch (_) {
      if (_.code === "ENOENT") return !1;
      if (_.code === "EPERM") {
        if (process.platform !== "win32") throw _;
        return !1;
      }
    }
  }
  async function f(m, v, _) {
    const E = s.parse(v), S = E[E.pickAlgorithm()];
    if (S.length <= 1) return _(d(m, S[0]), S[0]);
    {
      const w = await Promise.all(S.map(async (D) => {
        try {
          return await f(m, D, _);
        } catch (C) {
          return C.code === "ENOENT" ? Object.assign(/* @__PURE__ */ new Error("No matching content found for " + E.toString()), { code: "ENOENT" }) : C;
        }
      })), b = w.find((D) => !(D instanceof Error));
      if (b) return b;
      const A = w.find((D) => D.code === "ENOENT");
      throw A || w.find((D) => D instanceof Error);
    }
  }
  function p(m, v) {
    const _ = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${m} bytes, but got ${v} instead`);
    return _.expected = m, _.found = v, _.code = "EBADSIZE", _;
  }
  function g(m, v) {
    const _ = /* @__PURE__ */ new Error(`Integrity verification failed for ${m} (${v})`);
    return _.code = "EINTEGRITY", _.sri = m, _.path = v, _;
  }
})), I1 = /* @__PURE__ */ z(((e, t) => {
  var r = jh(), { Minipass: i } = St(), s = ki(), d = xi(), c = Bn(), n = Vh();
  async function u(m, v, _ = {}) {
    const { integrity: E, memoize: S, size: w } = _, b = c.get(m, v, _);
    if (b && S !== !1) return {
      metadata: b.entry.metadata,
      data: b.data,
      integrity: b.entry.integrity,
      size: b.entry.size
    };
    const A = await d.find(m, v, _);
    if (!A) throw new d.NotFoundError(m, v);
    const D = await n(m, A.integrity, {
      integrity: E,
      size: w
    });
    return S && c.put(m, A, D, _), {
      data: D,
      metadata: A.metadata,
      size: A.size,
      integrity: A.integrity
    };
  }
  t.exports = u;
  async function o(m, v, _ = {}) {
    const { integrity: E, memoize: S, size: w } = _, b = c.get.byDigest(m, v, _);
    if (b && S !== !1) return b;
    const A = await n(m, v, {
      integrity: E,
      size: w
    });
    return S && c.put.byDigest(m, v, A, _), A;
  }
  t.exports.byDigest = o;
  var h = (m) => {
    const v = new i();
    return v.on("newListener", function(_, E) {
      _ === "metadata" && E(m.entry.metadata), _ === "integrity" && E(m.entry.integrity), _ === "size" && E(m.entry.size);
    }), v.end(m.data), v;
  };
  function a(m, v, _ = {}) {
    const { memoize: E, size: S } = _, w = c.get(m, v, _);
    if (w && E !== !1) return h(w);
    const b = new s();
    return Promise.resolve().then(async () => {
      const A = await d.find(m, v);
      if (!A) throw new d.NotFoundError(m, v);
      b.emit("metadata", A.metadata), b.emit("integrity", A.integrity), b.emit("size", A.size), b.on("newListener", function(C, O) {
        C === "metadata" && O(A.metadata), C === "integrity" && O(A.integrity), C === "size" && O(A.size);
      });
      const D = n.readStream(m, A.integrity, {
        ..._,
        size: typeof S != "number" ? A.size : S
      });
      if (E) {
        const C = new r.PassThrough();
        C.on("collect", (O) => c.put(m, A, O, _)), b.unshift(C);
      }
      return b.unshift(D), b;
    }).catch((A) => b.emit("error", A)), b;
  }
  t.exports.stream = a;
  function l(m, v, _ = {}) {
    const { memoize: E } = _, S = c.get.byDigest(m, v, _);
    if (S && E !== !1) {
      const w = new i();
      return w.end(S), w;
    } else {
      const w = n.readStream(m, v, _);
      if (!E) return w;
      const b = new r.PassThrough();
      return b.on("collect", (A) => c.put.byDigest(m, v, A, _)), new s(w, b);
    }
  }
  t.exports.stream.byDigest = l;
  function f(m, v, _ = {}) {
    const { memoize: E } = _, S = c.get(m, v, _);
    return S && E !== !1 ? Promise.resolve(S.entry) : d.find(m, v);
  }
  t.exports.info = f;
  async function p(m, v, _, E = {}) {
    const S = await d.find(m, v, E);
    if (!S) throw new d.NotFoundError(m, v);
    return await n.copy(m, S.integrity, _, E), {
      metadata: S.metadata,
      size: S.size,
      integrity: S.integrity
    };
  }
  t.exports.copy = p;
  async function g(m, v, _, E = {}) {
    return await n.copy(m, v, _, E), v;
  }
  t.exports.copy.byDigest = g, t.exports.hasContent = n.hasContent;
})), k1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("events"), i = Li(), s = be("fs/promises"), { moveFile: d } = Ko(), { Minipass: c } = St(), n = ki(), u = Yo(), o = be("path"), h = yr(), { tmpName: a } = Zo(), l = Jo();
  t.exports = p;
  var f = /* @__PURE__ */ new Map();
  async function p(A, D, C = {}) {
    const { algorithms: O, size: I, integrity: x } = C;
    if (typeof I == "number" && D.length !== I) throw w(I, D.length);
    const F = h.fromData(D, O ? { algorithms: O } : {});
    if (x && !h.checkData(D, x, C)) throw b(x, F);
    for (const q in F) {
      const K = await E(A, C), M = F[q].toString();
      try {
        await s.writeFile(K.target, D, { flag: "wx" }), await S(K, A, M, C);
      } finally {
        K.moved || await s.rm(K.target, {
          recursive: !0,
          force: !0
        });
      }
    }
    return {
      integrity: F,
      size: D.length
    };
  }
  t.exports.stream = m;
  var g = class extends u {
    constructor(A, D) {
      super(), this.opts = D, this.cache = A, this.inputStream = new c(), this.inputStream.on("error", (C) => this.emit("error", C)), this.inputStream.on("drain", () => this.emit("drain")), this.handleContentP = null;
    }
    write(A, D, C) {
      return this.handleContentP || (this.handleContentP = v(this.inputStream, this.cache, this.opts), this.handleContentP.catch((O) => this.emit("error", O))), this.inputStream.write(A, D, C);
    }
    flush(A) {
      this.inputStream.end(() => {
        if (!this.handleContentP) {
          const D = /* @__PURE__ */ new Error("Cache input stream was empty");
          return D.code = "ENODATA", Promise.reject(D).catch(A);
        }
        this.handleContentP.then((D) => {
          D.integrity && this.emit("integrity", D.integrity), D.size !== null && this.emit("size", D.size), A();
        }, (D) => A(D));
      });
    }
  };
  function m(A, D = {}) {
    return new g(A, D);
  }
  async function v(A, D, C) {
    const O = await E(D, C);
    try {
      const I = await _(A, D, O.target, C);
      return await S(O, D, I.integrity, C), I;
    } finally {
      O.moved || await s.rm(O.target, {
        recursive: !0,
        force: !0
      });
    }
  }
  async function _(A, D, C, O) {
    const I = new l.WriteStream(C, { flags: "wx" });
    if (O.integrityEmitter) {
      const [K, M] = await Promise.all([
        r.once(O.integrityEmitter, "integrity").then((N) => N[0]),
        r.once(O.integrityEmitter, "size").then((N) => N[0]),
        new n(A, I).promise()
      ]);
      return {
        integrity: K,
        size: M
      };
    }
    let x, F;
    const q = h.integrityStream({
      integrity: O.integrity,
      algorithms: O.algorithms,
      size: O.size
    });
    return q.on("integrity", (K) => {
      x = K;
    }), q.on("size", (K) => {
      F = K;
    }), await new n(A, q, I).promise(), {
      integrity: x,
      size: F
    };
  }
  async function E(A, D) {
    const C = a(A, D.tmpPrefix);
    return await s.mkdir(o.dirname(C), { recursive: !0 }), {
      target: C,
      moved: !1
    };
  }
  async function S(A, D, C) {
    const O = i(D, C), I = o.dirname(O);
    return f.has(O) || f.set(O, s.mkdir(I, { recursive: !0 }).then(async () => (await d(A.target, O, { overwrite: !1 }), A.moved = !0, A.moved)).catch((x) => {
      if (!x.message.startsWith("The destination file exists")) throw Object.assign(x, { code: "EEXIST" });
    }).finally(() => {
      f.delete(O);
    })), f.get(O);
  }
  function w(A, D) {
    const C = /* @__PURE__ */ new Error(`Bad data size: expected inserted data to be ${A} bytes, but got ${D} instead`);
    return C.expected = A, C.found = D, C.code = "EBADSIZE", C;
  }
  function b(A, D) {
    const C = /* @__PURE__ */ new Error(`Integrity check failed:
  Wanted: ${A}
   Found: ${D}`);
    return C.code = "EINTEGRITY", C.expected = A, C.found = D, C;
  }
})), L1 = /* @__PURE__ */ z(((e, t) => {
  var r = xi(), i = Bn(), s = k1(), d = Yo(), { PassThrough: c } = jh(), n = ki(), u = (a) => ({
    algorithms: ["sha512"],
    ...a
  });
  t.exports = o;
  async function o(a, l, f, p = {}) {
    const { memoize: g } = p;
    p = u(p);
    const m = await s(a, f, p), v = await r.insert(a, l, m.integrity, {
      ...p,
      size: m.size
    });
    return g && i.put(a, v, f, p), m.integrity;
  }
  t.exports.stream = h;
  function h(a, l, f = {}) {
    const { memoize: p } = f;
    f = u(f);
    let g, m, v, _;
    const E = new n();
    if (p) {
      const w = new c().on("collect", (b) => {
        _ = b;
      });
      E.push(w);
    }
    const S = s.stream(a, f).on("integrity", (w) => {
      g = w;
    }).on("size", (w) => {
      m = w;
    }).on("error", (w) => {
      v = w;
    });
    return E.push(S), E.push(new d({ async flush() {
      if (!v) {
        const w = await r.insert(a, l, g, {
          ...f,
          size: m
        });
        p && _ && i.put(a, w, _, f), E.emit("integrity", g), E.emit("size", m);
      }
    } })), E;
  }
})), x1 = /* @__PURE__ */ z(((e) => {
  var t = (M, N) => () => (N || M((N = { exports: {} }).exports, N), N.exports), r = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.range = M.balanced = void 0;
    var N = (H, j, P) => {
      let k = H instanceof RegExp ? L(H, P) : H, U = j instanceof RegExp ? L(j, P) : j, Q = k !== null && U != null && (0, M.range)(k, U, P);
      return Q && {
        start: Q[0],
        end: Q[1],
        pre: P.slice(0, Q[0]),
        body: P.slice(Q[0] + k.length, Q[1]),
        post: P.slice(Q[1] + U.length)
      };
    };
    M.balanced = N;
    var L = (H, j) => {
      let P = j.match(H);
      return P ? P[0] : null;
    }, te = (H, j, P) => {
      let k, U, Q, ue, me, we = P.indexOf(H), Z = P.indexOf(j, we + 1), G = we;
      if (we >= 0 && Z > 0) {
        if (H === j) return [we, Z];
        for (k = [], Q = P.length; G >= 0 && !me; ) {
          if (G === we) k.push(G), we = P.indexOf(H, G + 1);
          else if (k.length === 1) {
            let Y = k.pop();
            Y !== void 0 && (me = [Y, Z]);
          } else U = k.pop(), U !== void 0 && U < Q && (Q = U, ue = Z), Z = P.indexOf(j, G + 1);
          G = we < Z && we >= 0 ? we : Z;
        }
        k.length && ue !== void 0 && (me = [Q, ue]);
      }
      return me;
    };
    M.range = te;
  }), i = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.EXPANSION_MAX = void 0, M.expand = Re;
    var N = r(), L = "\0SLASH" + Math.random() + "\0", te = "\0OPEN" + Math.random() + "\0", H = "\0CLOSE" + Math.random() + "\0", j = "\0COMMA" + Math.random() + "\0", P = "\0PERIOD" + Math.random() + "\0", k = new RegExp(L, "g"), U = new RegExp(te, "g"), Q = new RegExp(H, "g"), ue = new RegExp(j, "g"), me = new RegExp(P, "g"), we = /\\\\/g, Z = /\\{/g, G = /\\}/g, Y = /\\,/g, ne = /\\./g;
    M.EXPANSION_MAX = 1e5;
    function le(Ce) {
      return isNaN(Ce) ? Ce.charCodeAt(0) : parseInt(Ce, 10);
    }
    function B(Ce) {
      return Ce.replace(we, L).replace(Z, te).replace(G, H).replace(Y, j).replace(ne, P);
    }
    function W(Ce) {
      return Ce.replace(k, "\\").replace(U, "{").replace(Q, "}").replace(ue, ",").replace(me, ".");
    }
    function ae(Ce) {
      if (!Ce) return [""];
      let Pe = [], Ae = (0, N.balanced)("{", "}", Ce);
      if (!Ae) return Ce.split(",");
      let { pre: $e, body: De, post: ye } = Ae, pe = $e.split(",");
      pe[pe.length - 1] += "{" + De + "}";
      let y = ae(ye);
      return ye.length && (pe[pe.length - 1] += y.shift(), pe.push.apply(pe, y)), Pe.push.apply(Pe, pe), Pe;
    }
    function Re(Ce, Pe = {}) {
      if (!Ce) return [];
      let { max: Ae = M.EXPANSION_MAX } = Pe;
      return Ce.slice(0, 2) === "{}" && (Ce = "\\{\\}" + Ce.slice(2)), Me(B(Ce), Ae, !0).map(W);
    }
    function Oe(Ce) {
      return "{" + Ce + "}";
    }
    function Ee(Ce) {
      return /^-?0\d/.test(Ce);
    }
    function xe(Ce, Pe) {
      return Ce <= Pe;
    }
    function Ne(Ce, Pe) {
      return Ce >= Pe;
    }
    function Me(Ce, Pe, Ae) {
      let $e = [], De = (0, N.balanced)("{", "}", Ce);
      if (!De) return [Ce];
      let ye = De.pre, pe = De.post.length ? Me(De.post, Pe, !1) : [""];
      if (/\$$/.test(De.pre)) for (let y = 0; y < pe.length && y < Pe; y++) {
        let $ = ye + "{" + De.body + "}" + pe[y];
        $e.push($);
      }
      else {
        let y = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(De.body), $ = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(De.body), ie = y || $, oe = De.body.indexOf(",") >= 0;
        if (!ie && !oe) return De.post.match(/,(?!,).*\}/) ? (Ce = De.pre + "{" + De.body + H + De.post, Me(Ce, Pe, !0)) : [Ce];
        let re;
        if (ie) re = De.body.split(/\.\./);
        else if (re = ae(De.body), re.length === 1 && re[0] !== void 0 && (re = Me(re[0], Pe, !1).map(Oe), re.length === 1)) return pe.map((T) => De.pre + re[0] + T);
        let de;
        if (ie && re[0] !== void 0 && re[1] !== void 0) {
          let T = le(re[0]), se = le(re[1]), ve = Math.max(re[0].length, re[1].length), fe = re.length === 3 && re[2] !== void 0 ? Math.abs(le(re[2])) : 1, V = xe;
          se < T && (fe *= -1, V = Ne);
          let X = re.some(Ee);
          de = [];
          for (let ee = T; V(ee, se); ee += fe) {
            let ce;
            if ($) ce = String.fromCharCode(ee), ce === "\\" && (ce = "");
            else if (ce = String(ee), X) {
              let ge = ve - ce.length;
              if (ge > 0) {
                let _e = new Array(ge + 1).join("0");
                ee < 0 ? ce = "-" + _e + ce.slice(1) : ce = _e + ce;
              }
            }
            de.push(ce);
          }
        } else {
          de = [];
          for (let T = 0; T < re.length; T++) de.push.apply(de, Me(re[T], Pe, !1));
        }
        for (let T = 0; T < de.length; T++) for (let se = 0; se < pe.length && $e.length < Pe; se++) {
          let ve = ye + de[T] + pe[se];
          (!Ae || ie || ve) && $e.push(ve);
        }
      }
      return $e;
    }
  }), s = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.assertValidPattern = void 0;
    var N = 1024 * 64, L = (te) => {
      if (typeof te != "string") throw new TypeError("invalid pattern");
      if (te.length > N) throw new TypeError("pattern is too long");
    };
    M.assertValidPattern = L;
  }), d = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.parseClass = void 0;
    var N = {
      "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0],
      "[:alpha:]": ["\\p{L}\\p{Nl}", !0],
      "[:ascii:]": ["\\x00-\\x7f", !1],
      "[:blank:]": ["\\p{Zs}\\t", !0],
      "[:cntrl:]": ["\\p{Cc}", !0],
      "[:digit:]": ["\\p{Nd}", !0],
      "[:graph:]": [
        "\\p{Z}\\p{C}",
        !0,
        !0
      ],
      "[:lower:]": ["\\p{Ll}", !0],
      "[:print:]": ["\\p{C}", !0],
      "[:punct:]": ["\\p{P}", !0],
      "[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", !0],
      "[:upper:]": ["\\p{Lu}", !0],
      "[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", !0],
      "[:xdigit:]": ["A-Fa-f0-9", !1]
    }, L = (P) => P.replace(/[[\]\\-]/g, "\\$&"), te = (P) => P.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), H = (P) => P.join(""), j = (P, k) => {
      let U = k;
      if (P.charAt(U) !== "[") throw new Error("not in a brace expression");
      let Q = [], ue = [], me = U + 1, we = !1, Z = !1, G = !1, Y = !1, ne = U, le = "";
      e: for (; me < P.length; ) {
        let ae = P.charAt(me);
        if ((ae === "!" || ae === "^") && me === U + 1) {
          Y = !0, me++;
          continue;
        }
        if (ae === "]" && we && !G) {
          ne = me + 1;
          break;
        }
        if (we = !0, ae === "\\" && !G) {
          G = !0, me++;
          continue;
        }
        if (ae === "[" && !G) {
          for (let [Re, [Oe, Ee, xe]] of Object.entries(N)) if (P.startsWith(Re, me)) {
            if (le) return [
              "$.",
              !1,
              P.length - U,
              !0
            ];
            me += Re.length, xe ? ue.push(Oe) : Q.push(Oe), Z = Z || Ee;
            continue e;
          }
        }
        if (G = !1, le) {
          ae > le ? Q.push(L(le) + "-" + L(ae)) : ae === le && Q.push(L(ae)), le = "", me++;
          continue;
        }
        if (P.startsWith("-]", me + 1)) {
          Q.push(L(ae + "-")), me += 2;
          continue;
        }
        if (P.startsWith("-", me + 1)) {
          le = ae, me += 2;
          continue;
        }
        Q.push(L(ae)), me++;
      }
      if (ne < me) return [
        "",
        !1,
        0,
        !1
      ];
      if (!Q.length && !ue.length) return [
        "$.",
        !1,
        P.length - U,
        !0
      ];
      if (ue.length === 0 && Q.length === 1 && /^\\?.$/.test(Q[0]) && !Y) return [
        te(Q[0].length === 2 ? Q[0].slice(-1) : Q[0]),
        !1,
        ne - U,
        !1
      ];
      let B = "[" + (Y ? "^" : "") + H(Q) + "]", W = "[" + (Y ? "" : "^") + H(ue) + "]";
      return [
        Q.length && ue.length ? "(" + B + "|" + W + ")" : Q.length ? B : W,
        Z,
        ne - U,
        !0
      ];
    };
    M.parseClass = j;
  }), c = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.unescape = void 0;
    var N = (L, { windowsPathsNoEscape: te = !1, magicalBraces: H = !0 } = {}) => H ? te ? L.replace(/\[([^\/\\])\]/g, "$1") : L.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1") : te ? L.replace(/\[([^\/\\{}])\]/g, "$1") : L.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
    M.unescape = N;
  }), n = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.AST = void 0;
    var N = d(), L = c(), te = /* @__PURE__ */ new Set([
      "!",
      "?",
      "+",
      "*",
      "@"
    ]), H = (G) => te.has(G), j = "(?!(?:^|/)\\.\\.?(?:$|/))", P = "(?!\\.)", k = /* @__PURE__ */ new Set(["[", "."]), U = /* @__PURE__ */ new Set(["..", "."]), Q = /* @__PURE__ */ new Set("().*{}+?[]^$\\!"), ue = (G) => G.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), me = "[^/]", we = me + "*?", Z = me + "+?";
    M.AST = class $t {
      type;
      #e;
      #t;
      #r = !1;
      #n = [];
      #s;
      #c;
      #f;
      #u = !1;
      #o;
      #p;
      #h = !1;
      constructor(Y, ne, le = {}) {
        this.type = Y, Y && (this.#t = !0), this.#s = ne, this.#e = this.#s ? this.#s.#e : this, this.#o = this.#e === this ? le : this.#e.#o, this.#f = this.#e === this ? [] : this.#e.#f, Y === "!" && !this.#e.#u && this.#f.push(this), this.#c = this.#s ? this.#s.#n.length : 0;
      }
      get hasMagic() {
        if (this.#t !== void 0) return this.#t;
        for (let Y of this.#n) if (typeof Y != "string" && (Y.type || Y.hasMagic)) return this.#t = !0;
        return this.#t;
      }
      toString() {
        return this.#p !== void 0 ? this.#p : this.type ? this.#p = this.type + "(" + this.#n.map((Y) => String(Y)).join("|") + ")" : this.#p = this.#n.map((Y) => String(Y)).join("");
      }
      #l() {
        if (this !== this.#e) throw new Error("should only call on root");
        if (this.#u) return this;
        this.toString(), this.#u = !0;
        let Y;
        for (; Y = this.#f.pop(); ) {
          if (Y.type !== "!") continue;
          let ne = Y, le = ne.#s;
          for (; le; ) {
            for (let B = ne.#c + 1; !le.type && B < le.#n.length; B++) for (let W of Y.#n) {
              if (typeof W == "string") throw new Error("string part in extglob AST??");
              W.copyIn(le.#n[B]);
            }
            ne = le, le = ne.#s;
          }
        }
        return this;
      }
      push(...Y) {
        for (let ne of Y) if (ne !== "") {
          if (typeof ne != "string" && !(ne instanceof $t && ne.#s === this)) throw new Error("invalid part: " + ne);
          this.#n.push(ne);
        }
      }
      toJSON() {
        let Y = this.type === null ? this.#n.slice().map((ne) => typeof ne == "string" ? ne : ne.toJSON()) : [this.type, ...this.#n.map((ne) => ne.toJSON())];
        return this.isStart() && !this.type && Y.unshift([]), this.isEnd() && (this === this.#e || this.#e.#u && this.#s?.type === "!") && Y.push({}), Y;
      }
      isStart() {
        if (this.#e === this) return !0;
        if (!this.#s?.isStart()) return !1;
        if (this.#c === 0) return !0;
        let Y = this.#s;
        for (let ne = 0; ne < this.#c; ne++) {
          let le = Y.#n[ne];
          if (!(le instanceof $t && le.type === "!")) return !1;
        }
        return !0;
      }
      isEnd() {
        if (this.#e === this || this.#s?.type === "!") return !0;
        if (!this.#s?.isEnd()) return !1;
        if (!this.type) return this.#s?.isEnd();
        let Y = this.#s ? this.#s.#n.length : 0;
        return this.#c === Y - 1;
      }
      copyIn(Y) {
        typeof Y == "string" ? this.push(Y) : this.push(Y.clone(this));
      }
      clone(Y) {
        let ne = new $t(this.type, Y);
        for (let le of this.#n) ne.copyIn(le);
        return ne;
      }
      static #i(Y, ne, le, B) {
        let W = !1, ae = !1, Re = -1, Oe = !1;
        if (ne.type === null) {
          let Ce = le, Pe = "";
          for (; Ce < Y.length; ) {
            let Ae = Y.charAt(Ce++);
            if (W || Ae === "\\") {
              W = !W, Pe += Ae;
              continue;
            }
            if (ae) {
              Ce === Re + 1 ? (Ae === "^" || Ae === "!") && (Oe = !0) : Ae === "]" && !(Ce === Re + 2 && Oe) && (ae = !1), Pe += Ae;
              continue;
            } else if (Ae === "[") {
              ae = !0, Re = Ce, Oe = !1, Pe += Ae;
              continue;
            }
            if (!B.noext && H(Ae) && Y.charAt(Ce) === "(") {
              ne.push(Pe), Pe = "";
              let $e = new $t(Ae, ne);
              Ce = $t.#i(Y, $e, Ce, B), ne.push($e);
              continue;
            }
            Pe += Ae;
          }
          return ne.push(Pe), Ce;
        }
        let Ee = le + 1, xe = new $t(null, ne), Ne = [], Me = "";
        for (; Ee < Y.length; ) {
          let Ce = Y.charAt(Ee++);
          if (W || Ce === "\\") {
            W = !W, Me += Ce;
            continue;
          }
          if (ae) {
            Ee === Re + 1 ? (Ce === "^" || Ce === "!") && (Oe = !0) : Ce === "]" && !(Ee === Re + 2 && Oe) && (ae = !1), Me += Ce;
            continue;
          } else if (Ce === "[") {
            ae = !0, Re = Ee, Oe = !1, Me += Ce;
            continue;
          }
          if (H(Ce) && Y.charAt(Ee) === "(") {
            xe.push(Me), Me = "";
            let Pe = new $t(Ce, xe);
            xe.push(Pe), Ee = $t.#i(Y, Pe, Ee, B);
            continue;
          }
          if (Ce === "|") {
            xe.push(Me), Me = "", Ne.push(xe), xe = new $t(null, ne);
            continue;
          }
          if (Ce === ")") return Me === "" && ne.#n.length === 0 && (ne.#h = !0), xe.push(Me), Me = "", ne.push(...Ne, xe), Ee;
          Me += Ce;
        }
        return ne.type = null, ne.#t = void 0, ne.#n = [Y.substring(le - 1)], Ee;
      }
      static fromGlob(Y, ne = {}) {
        let le = new $t(null, void 0, ne);
        return $t.#i(Y, le, 0, ne), le;
      }
      toMMPattern() {
        if (this !== this.#e) return this.#e.toMMPattern();
        let Y = this.toString(), [ne, le, B, W] = this.toRegExpSource();
        if (!(B || this.#t || this.#o.nocase && !this.#o.nocaseMagicOnly && Y.toUpperCase() !== Y.toLowerCase())) return le;
        let ae = (this.#o.nocase ? "i" : "") + (W ? "u" : "");
        return Object.assign(new RegExp(`^${ne}$`, ae), {
          _src: ne,
          _glob: Y
        });
      }
      get options() {
        return this.#o;
      }
      toRegExpSource(Y) {
        let ne = Y ?? !!this.#o.dot;
        if (this.#e === this && this.#l(), !this.type) {
          let Oe = this.isStart() && this.isEnd() && !this.#n.some((Me) => typeof Me != "string"), Ee = this.#n.map((Me) => {
            let [Ce, Pe, Ae, $e] = typeof Me == "string" ? $t.#E(Me, this.#t, Oe) : Me.toRegExpSource(Y);
            return this.#t = this.#t || Ae, this.#r = this.#r || $e, Ce;
          }).join(""), xe = "";
          if (this.isStart() && typeof this.#n[0] == "string" && !(this.#n.length === 1 && U.has(this.#n[0]))) {
            let Me = k, Ce = ne && Me.has(Ee.charAt(0)) || Ee.startsWith("\\.") && Me.has(Ee.charAt(2)) || Ee.startsWith("\\.\\.") && Me.has(Ee.charAt(4)), Pe = !ne && !Y && Me.has(Ee.charAt(0));
            xe = Ce ? j : Pe ? P : "";
          }
          let Ne = "";
          return this.isEnd() && this.#e.#u && this.#s?.type === "!" && (Ne = "(?:$|\\/)"), [
            xe + Ee + Ne,
            (0, L.unescape)(Ee),
            this.#t = !!this.#t,
            this.#r
          ];
        }
        let le = this.type === "*" || this.type === "+", B = this.type === "!" ? "(?:(?!(?:" : "(?:", W = this.#v(ne);
        if (this.isStart() && this.isEnd() && !W && this.type !== "!") {
          let Oe = this.toString();
          return this.#n = [Oe], this.type = null, this.#t = void 0, [
            Oe,
            (0, L.unescape)(this.toString()),
            !1,
            !1
          ];
        }
        let ae = !le || Y || ne || !P ? "" : this.#v(!0);
        ae === W && (ae = ""), ae && (W = `(?:${W})(?:${ae})*?`);
        let Re = "";
        if (this.type === "!" && this.#h) Re = (this.isStart() && !ne ? P : "") + Z;
        else {
          let Oe = this.type === "!" ? "))" + (this.isStart() && !ne && !Y ? P : "") + we + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && ae ? ")" : this.type === "*" && ae ? ")?" : `)${this.type}`;
          Re = B + W + Oe;
        }
        return [
          Re,
          (0, L.unescape)(W),
          this.#t = !!this.#t,
          this.#r
        ];
      }
      #v(Y) {
        return this.#n.map((ne) => {
          if (typeof ne == "string") throw new Error("string type in extglob ast??");
          let [le, B, W, ae] = ne.toRegExpSource(Y);
          return this.#r = this.#r || ae, le;
        }).filter((ne) => !(this.isStart() && this.isEnd()) || !!ne).join("|");
      }
      static #E(Y, ne, le = !1) {
        let B = !1, W = "", ae = !1, Re = !1;
        for (let Oe = 0; Oe < Y.length; Oe++) {
          let Ee = Y.charAt(Oe);
          if (B) {
            B = !1, W += (Q.has(Ee) ? "\\" : "") + Ee;
            continue;
          }
          if (Ee === "*") {
            if (Re) continue;
            Re = !0, W += le && /^[*]+$/.test(Y) ? Z : we, ne = !0;
            continue;
          } else Re = !1;
          if (Ee === "\\") {
            Oe === Y.length - 1 ? W += "\\\\" : B = !0;
            continue;
          }
          if (Ee === "[") {
            let [xe, Ne, Me, Ce] = (0, N.parseClass)(Y, Oe);
            if (Me) {
              W += xe, ae = ae || Ne, Oe += Me - 1, ne = ne || Ce;
              continue;
            }
          }
          if (Ee === "?") {
            W += me, ne = !0;
            continue;
          }
          W += ue(Ee);
        }
        return [
          W,
          (0, L.unescape)(Y),
          !!ne,
          ae
        ];
      }
    };
  }), u = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.escape = void 0;
    var N = (L, { windowsPathsNoEscape: te = !1, magicalBraces: H = !1 } = {}) => H ? te ? L.replace(/[?*()[\]{}]/g, "[$&]") : L.replace(/[?*()[\]\\{}]/g, "\\$&") : te ? L.replace(/[?*()[\]]/g, "[$&]") : L.replace(/[?*()[\]\\]/g, "\\$&");
    M.escape = N;
  }), o = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.unescape = M.escape = M.AST = M.Minimatch = M.match = M.makeRe = M.braceExpand = M.defaults = M.filter = M.GLOBSTAR = M.sep = M.minimatch = void 0;
    var N = i(), L = s(), te = n(), H = u(), j = c(), P = (V, X, ee = {}) => ((0, L.assertValidPattern)(X), !ee.nocomment && X.charAt(0) === "#" ? !1 : new T(X, ee).match(V));
    M.minimatch = P;
    var k = /^\*+([^+@!?\*\[\(]*)$/, U = (V) => (X) => !X.startsWith(".") && X.endsWith(V), Q = (V) => (X) => X.endsWith(V), ue = (V) => (V = V.toLowerCase(), (X) => !X.startsWith(".") && X.toLowerCase().endsWith(V)), me = (V) => (V = V.toLowerCase(), (X) => X.toLowerCase().endsWith(V)), we = /^\*+\.\*+$/, Z = (V) => !V.startsWith(".") && V.includes("."), G = (V) => V !== "." && V !== ".." && V.includes("."), Y = /^\.\*+$/, ne = (V) => V !== "." && V !== ".." && V.startsWith("."), le = /^\*+$/, B = (V) => V.length !== 0 && !V.startsWith("."), W = (V) => V.length !== 0 && V !== "." && V !== "..", ae = /^\?+([^+@!?\*\[\(]*)?$/, Re = ([V, X = ""]) => {
      let ee = Ne([V]);
      return X ? (X = X.toLowerCase(), (ce) => ee(ce) && ce.toLowerCase().endsWith(X)) : ee;
    }, Oe = ([V, X = ""]) => {
      let ee = Me([V]);
      return X ? (X = X.toLowerCase(), (ce) => ee(ce) && ce.toLowerCase().endsWith(X)) : ee;
    }, Ee = ([V, X = ""]) => {
      let ee = Me([V]);
      return X ? (ce) => ee(ce) && ce.endsWith(X) : ee;
    }, xe = ([V, X = ""]) => {
      let ee = Ne([V]);
      return X ? (ce) => ee(ce) && ce.endsWith(X) : ee;
    }, Ne = ([V]) => {
      let X = V.length;
      return (ee) => ee.length === X && !ee.startsWith(".");
    }, Me = ([V]) => {
      let X = V.length;
      return (ee) => ee.length === X && ee !== "." && ee !== "..";
    }, Ce = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix", Pe = {
      win32: { sep: "\\" },
      posix: { sep: "/" }
    };
    M.sep = Ce === "win32" ? Pe.win32.sep : Pe.posix.sep, M.minimatch.sep = M.sep, M.GLOBSTAR = /* @__PURE__ */ Symbol("globstar **"), M.minimatch.GLOBSTAR = M.GLOBSTAR;
    var Ae = "[^/]*?", $e = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", De = "(?:(?!(?:\\/|^)\\.).)*?", ye = (V, X = {}) => (ee) => (0, M.minimatch)(ee, V, X);
    M.filter = ye, M.minimatch.filter = M.filter;
    var pe = (V, X = {}) => Object.assign({}, V, X), y = (V) => {
      if (!V || typeof V != "object" || !Object.keys(V).length) return M.minimatch;
      let X = M.minimatch;
      return Object.assign((ee, ce, ge = {}) => X(ee, ce, pe(V, ge)), {
        Minimatch: class extends X.Minimatch {
          constructor(ee, ce = {}) {
            super(ee, pe(V, ce));
          }
          static defaults(ee) {
            return X.defaults(pe(V, ee)).Minimatch;
          }
        },
        AST: class extends X.AST {
          constructor(ee, ce, ge = {}) {
            super(ee, ce, pe(V, ge));
          }
          static fromGlob(ee, ce = {}) {
            return X.AST.fromGlob(ee, pe(V, ce));
          }
        },
        unescape: (ee, ce = {}) => X.unescape(ee, pe(V, ce)),
        escape: (ee, ce = {}) => X.escape(ee, pe(V, ce)),
        filter: (ee, ce = {}) => X.filter(ee, pe(V, ce)),
        defaults: (ee) => X.defaults(pe(V, ee)),
        makeRe: (ee, ce = {}) => X.makeRe(ee, pe(V, ce)),
        braceExpand: (ee, ce = {}) => X.braceExpand(ee, pe(V, ce)),
        match: (ee, ce, ge = {}) => X.match(ee, ce, pe(V, ge)),
        sep: X.sep,
        GLOBSTAR: M.GLOBSTAR
      });
    };
    M.defaults = y, M.minimatch.defaults = M.defaults;
    var $ = (V, X = {}) => ((0, L.assertValidPattern)(V), X.nobrace || !/\{(?:(?!\{).)*\}/.test(V) ? [V] : (0, N.expand)(V, { max: X.braceExpandMax }));
    M.braceExpand = $, M.minimatch.braceExpand = M.braceExpand;
    var ie = (V, X = {}) => new T(V, X).makeRe();
    M.makeRe = ie, M.minimatch.makeRe = M.makeRe;
    var oe = (V, X, ee = {}) => {
      let ce = new T(X, ee);
      return V = V.filter((ge) => ce.match(ge)), ce.options.nonull && !V.length && V.push(X), V;
    };
    M.match = oe, M.minimatch.match = M.match;
    var re = /[?*]|[+@!]\(.*?\)|\[|\]/, de = (V) => V.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), T = class {
      options;
      set;
      pattern;
      windowsPathsNoEscape;
      nonegate;
      negate;
      comment;
      empty;
      preserveMultipleSlashes;
      partial;
      globSet;
      globParts;
      nocase;
      isWindows;
      platform;
      windowsNoMagicRoot;
      regexp;
      constructor(V, X = {}) {
        (0, L.assertValidPattern)(V), X = X || {}, this.options = X, this.pattern = V, this.platform = X.platform || Ce, this.isWindows = this.platform === "win32";
        let ee = "allowWindowsEscape";
        this.windowsPathsNoEscape = !!X.windowsPathsNoEscape || X[ee] === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!X.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!X.nonegate, this.comment = !1, this.empty = !1, this.partial = !!X.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = X.windowsNoMagicRoot !== void 0 ? X.windowsNoMagicRoot : !!(this.isWindows && this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
      }
      hasMagic() {
        if (this.options.magicalBraces && this.set.length > 1) return !0;
        for (let V of this.set) for (let X of V) if (typeof X != "string") return !0;
        return !1;
      }
      debug(...V) {
      }
      make() {
        let V = this.pattern, X = this.options;
        if (!X.nocomment && V.charAt(0) === "#") {
          this.comment = !0;
          return;
        }
        if (!V) {
          this.empty = !0;
          return;
        }
        this.parseNegate(), this.globSet = [...new Set(this.braceExpand())], X.debug && (this.debug = (...ge) => console.error(...ge)), this.debug(this.pattern, this.globSet);
        let ee = this.globSet.map((ge) => this.slashSplit(ge));
        this.globParts = this.preprocess(ee), this.debug(this.pattern, this.globParts);
        let ce = this.globParts.map((ge, _e, R) => {
          if (this.isWindows && this.windowsNoMagicRoot) {
            let J = ge[0] === "" && ge[1] === "" && (ge[2] === "?" || !re.test(ge[2])) && !re.test(ge[3]), he = /^[a-z]:/i.test(ge[0]);
            if (J) return [...ge.slice(0, 4), ...ge.slice(4).map((Te) => this.parse(Te))];
            if (he) return [ge[0], ...ge.slice(1).map((Te) => this.parse(Te))];
          }
          return ge.map((J) => this.parse(J));
        });
        if (this.debug(this.pattern, ce), this.set = ce.filter((ge) => ge.indexOf(!1) === -1), this.isWindows) for (let ge = 0; ge < this.set.length; ge++) {
          let _e = this.set[ge];
          _e[0] === "" && _e[1] === "" && this.globParts[ge][2] === "?" && typeof _e[3] == "string" && /^[a-z]:$/i.test(_e[3]) && (_e[2] = "?");
        }
        this.debug(this.pattern, this.set);
      }
      preprocess(V) {
        if (this.options.noglobstar) for (let ee = 0; ee < V.length; ee++) for (let ce = 0; ce < V[ee].length; ce++) V[ee][ce] === "**" && (V[ee][ce] = "*");
        let { optimizationLevel: X = 1 } = this.options;
        return X >= 2 ? (V = this.firstPhasePreProcess(V), V = this.secondPhasePreProcess(V)) : X >= 1 ? V = this.levelOneOptimize(V) : V = this.adjascentGlobstarOptimize(V), V;
      }
      adjascentGlobstarOptimize(V) {
        return V.map((X) => {
          let ee = -1;
          for (; (ee = X.indexOf("**", ee + 1)) !== -1; ) {
            let ce = ee;
            for (; X[ce + 1] === "**"; ) ce++;
            ce !== ee && X.splice(ee, ce - ee);
          }
          return X;
        });
      }
      levelOneOptimize(V) {
        return V.map((X) => (X = X.reduce((ee, ce) => {
          let ge = ee[ee.length - 1];
          return ce === "**" && ge === "**" ? ee : ce === ".." && ge && ge !== ".." && ge !== "." && ge !== "**" ? (ee.pop(), ee) : (ee.push(ce), ee);
        }, []), X.length === 0 ? [""] : X));
      }
      levelTwoFileOptimize(V) {
        Array.isArray(V) || (V = this.slashSplit(V));
        let X = !1;
        do {
          if (X = !1, !this.preserveMultipleSlashes) {
            for (let ce = 1; ce < V.length - 1; ce++) {
              let ge = V[ce];
              ce === 1 && ge === "" && V[0] === "" || (ge === "." || ge === "") && (X = !0, V.splice(ce, 1), ce--);
            }
            V[0] === "." && V.length === 2 && (V[1] === "." || V[1] === "") && (X = !0, V.pop());
          }
          let ee = 0;
          for (; (ee = V.indexOf("..", ee + 1)) !== -1; ) {
            let ce = V[ee - 1];
            ce && ce !== "." && ce !== ".." && ce !== "**" && (X = !0, V.splice(ee - 1, 2), ee -= 2);
          }
        } while (X);
        return V.length === 0 ? [""] : V;
      }
      firstPhasePreProcess(V) {
        let X = !1;
        do {
          X = !1;
          for (let ee of V) {
            let ce = -1;
            for (; (ce = ee.indexOf("**", ce + 1)) !== -1; ) {
              let _e = ce;
              for (; ee[_e + 1] === "**"; ) _e++;
              _e > ce && ee.splice(ce + 1, _e - ce);
              let R = ee[ce + 1], J = ee[ce + 2], he = ee[ce + 3];
              if (R !== ".." || !J || J === "." || J === ".." || !he || he === "." || he === "..") continue;
              X = !0, ee.splice(ce, 1);
              let Te = ee.slice(0);
              Te[ce] = "**", V.push(Te), ce--;
            }
            if (!this.preserveMultipleSlashes) {
              for (let _e = 1; _e < ee.length - 1; _e++) {
                let R = ee[_e];
                _e === 1 && R === "" && ee[0] === "" || (R === "." || R === "") && (X = !0, ee.splice(_e, 1), _e--);
              }
              ee[0] === "." && ee.length === 2 && (ee[1] === "." || ee[1] === "") && (X = !0, ee.pop());
            }
            let ge = 0;
            for (; (ge = ee.indexOf("..", ge + 1)) !== -1; ) {
              let _e = ee[ge - 1];
              if (_e && _e !== "." && _e !== ".." && _e !== "**") {
                X = !0;
                let R = ge === 1 && ee[ge + 1] === "**" ? ["."] : [];
                ee.splice(ge - 1, 2, ...R), ee.length === 0 && ee.push(""), ge -= 2;
              }
            }
          }
        } while (X);
        return V;
      }
      secondPhasePreProcess(V) {
        for (let X = 0; X < V.length - 1; X++) for (let ee = X + 1; ee < V.length; ee++) {
          let ce = this.partsMatch(V[X], V[ee], !this.preserveMultipleSlashes);
          if (ce) {
            V[X] = [], V[ee] = ce;
            break;
          }
        }
        return V.filter((X) => X.length);
      }
      partsMatch(V, X, ee = !1) {
        let ce = 0, ge = 0, _e = [], R = "";
        for (; ce < V.length && ge < X.length; ) if (V[ce] === X[ge]) _e.push(R === "b" ? X[ge] : V[ce]), ce++, ge++;
        else if (ee && V[ce] === "**" && X[ge] === V[ce + 1]) _e.push(V[ce]), ce++;
        else if (ee && X[ge] === "**" && V[ce] === X[ge + 1]) _e.push(X[ge]), ge++;
        else if (V[ce] === "*" && X[ge] && (this.options.dot || !X[ge].startsWith(".")) && X[ge] !== "**") {
          if (R === "b") return !1;
          R = "a", _e.push(V[ce]), ce++, ge++;
        } else if (X[ge] === "*" && V[ce] && (this.options.dot || !V[ce].startsWith(".")) && V[ce] !== "**") {
          if (R === "a") return !1;
          R = "b", _e.push(X[ge]), ce++, ge++;
        } else return !1;
        return V.length === X.length && _e;
      }
      parseNegate() {
        if (this.nonegate) return;
        let V = this.pattern, X = !1, ee = 0;
        for (let ce = 0; ce < V.length && V.charAt(ce) === "!"; ce++) X = !X, ee++;
        ee && (this.pattern = V.slice(ee)), this.negate = X;
      }
      matchOne(V, X, ee = !1) {
        let ce = this.options;
        if (this.isWindows) {
          let Ke = typeof V[0] == "string" && /^[a-z]:$/i.test(V[0]), Je = !Ke && V[0] === "" && V[1] === "" && V[2] === "?" && /^[a-z]:$/i.test(V[3]), Ye = typeof X[0] == "string" && /^[a-z]:$/i.test(X[0]), rt = !Ye && X[0] === "" && X[1] === "" && X[2] === "?" && typeof X[3] == "string" && /^[a-z]:$/i.test(X[3]), nt = Je ? 3 : Ke ? 0 : void 0, dt = rt ? 3 : Ye ? 0 : void 0;
          if (typeof nt == "number" && typeof dt == "number") {
            let [ht, bt] = [V[nt], X[dt]];
            ht.toLowerCase() === bt.toLowerCase() && (X[dt] = ht, dt > nt ? X = X.slice(dt) : nt > dt && (V = V.slice(nt)));
          }
        }
        let { optimizationLevel: ge = 1 } = this.options;
        ge >= 2 && (V = this.levelTwoFileOptimize(V)), this.debug("matchOne", this, {
          file: V,
          pattern: X
        }), this.debug("matchOne", V.length, X.length);
        for (var _e = 0, R = 0, J = V.length, he = X.length; _e < J && R < he; _e++, R++) {
          this.debug("matchOne loop");
          var Te = X[R], Ie = V[_e];
          if (this.debug(X, Te, Ie), Te === !1) return !1;
          if (Te === M.GLOBSTAR) {
            this.debug("GLOBSTAR", [
              X,
              Te,
              Ie
            ]);
            var je = _e, Ue = R + 1;
            if (Ue === he) {
              for (this.debug("** at the end"); _e < J; _e++) if (V[_e] === "." || V[_e] === ".." || !ce.dot && V[_e].charAt(0) === ".") return !1;
              return !0;
            }
            for (; je < J; ) {
              var ze = V[je];
              if (this.debug(`
globstar while`, V, je, X, Ue, ze), this.matchOne(V.slice(je), X.slice(Ue), ee)) return this.debug("globstar found match!", je, J, ze), !0;
              if (ze === "." || ze === ".." || !ce.dot && ze.charAt(0) === ".") {
                this.debug("dot detected!", V, je, X, Ue);
                break;
              }
              this.debug("globstar swallow a segment, and continue"), je++;
            }
            return !!(ee && (this.debug(`
>>> no match, partial?`, V, je, X, Ue), je === J));
          }
          let Ke;
          if (typeof Te == "string" ? (Ke = Ie === Te, this.debug("string match", Te, Ie, Ke)) : (Ke = Te.test(Ie), this.debug("pattern match", Te, Ie, Ke)), !Ke) return !1;
        }
        if (_e === J && R === he) return !0;
        if (_e === J) return ee;
        if (R === he) return _e === J - 1 && V[_e] === "";
        throw new Error("wtf?");
      }
      braceExpand() {
        return (0, M.braceExpand)(this.pattern, this.options);
      }
      parse(V) {
        (0, L.assertValidPattern)(V);
        let X = this.options;
        if (V === "**") return M.GLOBSTAR;
        if (V === "") return "";
        let ee, ce = null;
        (ee = V.match(le)) ? ce = X.dot ? W : B : (ee = V.match(k)) ? ce = (X.nocase ? X.dot ? me : ue : X.dot ? Q : U)(ee[1]) : (ee = V.match(ae)) ? ce = (X.nocase ? X.dot ? Oe : Re : X.dot ? Ee : xe)(ee) : (ee = V.match(we)) ? ce = X.dot ? G : Z : (ee = V.match(Y)) && (ce = ne);
        let ge = te.AST.fromGlob(V, this.options).toMMPattern();
        return ce && typeof ge == "object" && Reflect.defineProperty(ge, "test", { value: ce }), ge;
      }
      makeRe() {
        if (this.regexp || this.regexp === !1) return this.regexp;
        let V = this.set;
        if (!V.length) return this.regexp = !1, this.regexp;
        let X = this.options, ee = X.noglobstar ? Ae : X.dot ? $e : De, ce = new Set(X.nocase ? ["i"] : []), ge = V.map((J) => {
          let he = J.map((Ie) => {
            if (Ie instanceof RegExp) for (let je of Ie.flags.split("")) ce.add(je);
            return typeof Ie == "string" ? de(Ie) : Ie === M.GLOBSTAR ? M.GLOBSTAR : Ie._src;
          });
          he.forEach((Ie, je) => {
            let Ue = he[je + 1], ze = he[je - 1];
            Ie !== M.GLOBSTAR || ze === M.GLOBSTAR || (ze === void 0 ? Ue !== void 0 && Ue !== M.GLOBSTAR ? he[je + 1] = "(?:\\/|" + ee + "\\/)?" + Ue : he[je] = ee : Ue === void 0 ? he[je - 1] = ze + "(?:\\/|\\/" + ee + ")?" : Ue !== M.GLOBSTAR && (he[je - 1] = ze + "(?:\\/|\\/" + ee + "\\/)" + Ue, he[je + 1] = M.GLOBSTAR));
          });
          let Te = he.filter((Ie) => Ie !== M.GLOBSTAR);
          if (this.partial && Te.length >= 1) {
            let Ie = [];
            for (let je = 1; je <= Te.length; je++) Ie.push(Te.slice(0, je).join("/"));
            return "(?:" + Ie.join("|") + ")";
          }
          return Te.join("/");
        }).join("|"), [_e, R] = V.length > 1 ? ["(?:", ")"] : ["", ""];
        ge = "^" + _e + ge + R + "$", this.partial && (ge = "^(?:\\/|" + _e + ge.slice(1, -1) + R + ")$"), this.negate && (ge = "^(?!" + ge + ").+$");
        try {
          this.regexp = new RegExp(ge, [...ce].join(""));
        } catch {
          this.regexp = !1;
        }
        return this.regexp;
      }
      slashSplit(V) {
        return this.preserveMultipleSlashes ? V.split("/") : this.isWindows && /^\/\/[^\/]+/.test(V) ? ["", ...V.split(/\/+/)] : V.split(/\/+/);
      }
      match(V, X = this.partial) {
        if (this.debug("match", V, this.pattern), this.comment) return !1;
        if (this.empty) return V === "";
        if (V === "/" && X) return !0;
        let ee = this.options;
        this.isWindows && (V = V.split("\\").join("/"));
        let ce = this.slashSplit(V);
        this.debug(this.pattern, "split", ce);
        let ge = this.set;
        this.debug(this.pattern, "set", ge);
        let _e = ce[ce.length - 1];
        if (!_e) for (let R = ce.length - 2; !_e && R >= 0; R--) _e = ce[R];
        for (let R = 0; R < ge.length; R++) {
          let J = ge[R], he = ce;
          if (ee.matchBase && J.length === 1 && (he = [_e]), this.matchOne(he, J, X)) return ee.flipNegate ? !0 : !this.negate;
        }
        return ee.flipNegate ? !1 : this.negate;
      }
      static defaults(V) {
        return M.minimatch.defaults(V).Minimatch;
      }
    };
    M.Minimatch = T;
    var se = n();
    Object.defineProperty(M, "AST", {
      enumerable: !0,
      get: function() {
        return se.AST;
      }
    });
    var ve = u();
    Object.defineProperty(M, "escape", {
      enumerable: !0,
      get: function() {
        return ve.escape;
      }
    });
    var fe = c();
    Object.defineProperty(M, "unescape", {
      enumerable: !0,
      get: function() {
        return fe.unescape;
      }
    }), M.minimatch.AST = te.AST, M.minimatch.Minimatch = T, M.minimatch.escape = H.escape, M.minimatch.unescape = j.unescape;
  }), h = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.LRUCache = void 0;
    var N = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, L = /* @__PURE__ */ new Set(), te = typeof process == "object" && process ? process : {}, H = (we, Z, G, Y) => {
      typeof te.emitWarning == "function" ? te.emitWarning(we, Z, G, Y) : console.error(`[${G}] ${Z}: ${we}`);
    }, j = globalThis.AbortController, P = globalThis.AbortSignal;
    if (typeof j > "u") {
      P = class {
        onabort;
        _onabort = [];
        reason;
        aborted = !1;
        addEventListener(G, Y) {
          this._onabort.push(Y);
        }
      }, j = class {
        constructor() {
          Z();
        }
        signal = new P();
        abort(G) {
          if (!this.signal.aborted) {
            this.signal.reason = G, this.signal.aborted = !0;
            for (let Y of this.signal._onabort) Y(G);
            this.signal.onabort?.(G);
          }
        }
      };
      let we = te.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", Z = () => {
        we && (we = !1, H("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", Z));
      };
    }
    var k = (we) => !L.has(we), U = (we) => we && we === Math.floor(we) && we > 0 && isFinite(we), Q = (we) => U(we) ? we <= Math.pow(2, 8) ? Uint8Array : we <= Math.pow(2, 16) ? Uint16Array : we <= Math.pow(2, 32) ? Uint32Array : we <= Number.MAX_SAFE_INTEGER ? ue : null : null, ue = class extends Array {
      constructor(we) {
        super(we), this.fill(0);
      }
    }, me = class si {
      heap;
      length;
      static #e = !1;
      static create(Z) {
        let G = Q(Z);
        if (!G) return [];
        si.#e = !0;
        let Y = new si(Z, G);
        return si.#e = !1, Y;
      }
      constructor(Z, G) {
        if (!si.#e) throw new TypeError("instantiate Stack using Stack.create(n)");
        this.heap = new G(Z), this.length = 0;
      }
      push(Z) {
        this.heap[this.length++] = Z;
      }
      pop() {
        return this.heap[--this.length];
      }
    };
    M.LRUCache = class Yh {
      #e;
      #t;
      #r;
      #n;
      #s;
      #c;
      #f;
      #u;
      get perf() {
        return this.#u;
      }
      ttl;
      ttlResolution;
      ttlAutopurge;
      updateAgeOnGet;
      updateAgeOnHas;
      allowStale;
      noDisposeOnSet;
      noUpdateTTL;
      maxEntrySize;
      sizeCalculation;
      noDeleteOnFetchRejection;
      noDeleteOnStaleGet;
      allowStaleOnFetchAbort;
      allowStaleOnFetchRejection;
      ignoreFetchAbort;
      #o;
      #p;
      #h;
      #l;
      #i;
      #v;
      #E;
      #y;
      #g;
      #R;
      #m;
      #T;
      #D;
      #_;
      #b;
      #A;
      #O;
      #a;
      #x;
      static unsafeExposeInternals(Z) {
        return {
          starts: Z.#D,
          ttls: Z.#_,
          autopurgeTimers: Z.#b,
          sizes: Z.#T,
          keyMap: Z.#h,
          keyList: Z.#l,
          valList: Z.#i,
          next: Z.#v,
          prev: Z.#E,
          get head() {
            return Z.#y;
          },
          get tail() {
            return Z.#g;
          },
          free: Z.#R,
          isBackgroundFetch: (G) => Z.#w(G),
          backgroundFetch: (G, Y, ne, le) => Z.#H(G, Y, ne, le),
          moveToTail: (G) => Z.#B(G),
          indexes: (G) => Z.#C(G),
          rindexes: (G) => Z.#I(G),
          isStale: (G) => Z.#S(G)
        };
      }
      get max() {
        return this.#e;
      }
      get maxSize() {
        return this.#t;
      }
      get calculatedSize() {
        return this.#p;
      }
      get size() {
        return this.#o;
      }
      get fetchMethod() {
        return this.#c;
      }
      get memoMethod() {
        return this.#f;
      }
      get dispose() {
        return this.#r;
      }
      get onInsert() {
        return this.#n;
      }
      get disposeAfter() {
        return this.#s;
      }
      constructor(Z) {
        let { max: G = 0, ttl: Y, ttlResolution: ne = 1, ttlAutopurge: le, updateAgeOnGet: B, updateAgeOnHas: W, allowStale: ae, dispose: Re, onInsert: Oe, disposeAfter: Ee, noDisposeOnSet: xe, noUpdateTTL: Ne, maxSize: Me = 0, maxEntrySize: Ce = 0, sizeCalculation: Pe, fetchMethod: Ae, memoMethod: $e, noDeleteOnFetchRejection: De, noDeleteOnStaleGet: ye, allowStaleOnFetchRejection: pe, allowStaleOnFetchAbort: y, ignoreFetchAbort: $, perf: ie } = Z;
        if (ie !== void 0 && typeof ie?.now != "function") throw new TypeError("perf option must have a now() method if specified");
        if (this.#u = ie ?? N, G !== 0 && !U(G)) throw new TypeError("max option must be a nonnegative integer");
        let oe = G ? Q(G) : Array;
        if (!oe) throw new Error("invalid max value: " + G);
        if (this.#e = G, this.#t = Me, this.maxEntrySize = Ce || this.#t, this.sizeCalculation = Pe, this.sizeCalculation) {
          if (!this.#t && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
          if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
        }
        if ($e !== void 0 && typeof $e != "function") throw new TypeError("memoMethod must be a function if defined");
        if (this.#f = $e, Ae !== void 0 && typeof Ae != "function") throw new TypeError("fetchMethod must be a function if specified");
        if (this.#c = Ae, this.#O = !!Ae, this.#h = /* @__PURE__ */ new Map(), this.#l = new Array(G).fill(void 0), this.#i = new Array(G).fill(void 0), this.#v = new oe(G), this.#E = new oe(G), this.#y = 0, this.#g = 0, this.#R = me.create(G), this.#o = 0, this.#p = 0, typeof Re == "function" && (this.#r = Re), typeof Oe == "function" && (this.#n = Oe), typeof Ee == "function" ? (this.#s = Ee, this.#m = []) : (this.#s = void 0, this.#m = void 0), this.#A = !!this.#r, this.#x = !!this.#n, this.#a = !!this.#s, this.noDisposeOnSet = !!xe, this.noUpdateTTL = !!Ne, this.noDeleteOnFetchRejection = !!De, this.allowStaleOnFetchRejection = !!pe, this.allowStaleOnFetchAbort = !!y, this.ignoreFetchAbort = !!$, this.maxEntrySize !== 0) {
          if (this.#t !== 0 && !U(this.#t)) throw new TypeError("maxSize must be a positive integer if specified");
          if (!U(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
          this.#W();
        }
        if (this.allowStale = !!ae, this.noDeleteOnStaleGet = !!ye, this.updateAgeOnGet = !!B, this.updateAgeOnHas = !!W, this.ttlResolution = U(ne) || ne === 0 ? ne : 1, this.ttlAutopurge = !!le, this.ttl = Y || 0, this.ttl) {
          if (!U(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
          this.#$();
        }
        if (this.#e === 0 && this.ttl === 0 && this.#t === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
        if (!this.ttlAutopurge && !this.#e && !this.#t) {
          let re = "LRU_CACHE_UNBOUNDED";
          k(re) && (L.add(re), H("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", re, Yh));
        }
      }
      getRemainingTTL(Z) {
        return this.#h.has(Z) ? 1 / 0 : 0;
      }
      #$() {
        let Z = new ue(this.#e), G = new ue(this.#e);
        this.#_ = Z, this.#D = G;
        let Y = this.ttlAutopurge ? new Array(this.#e) : void 0;
        this.#b = Y, this.#M = (B, W, ae = this.#u.now()) => {
          if (G[B] = W !== 0 ? ae : 0, Z[B] = W, Y?.[B] && (clearTimeout(Y[B]), Y[B] = void 0), W !== 0 && Y) {
            let Re = setTimeout(() => {
              this.#S(B) && this.#d(this.#l[B], "expire");
            }, W + 1);
            Re.unref && Re.unref(), Y[B] = Re;
          }
        }, this.#k = (B) => {
          G[B] = Z[B] !== 0 ? this.#u.now() : 0;
        }, this.#L = (B, W) => {
          if (Z[W]) {
            let ae = Z[W], Re = G[W];
            if (!ae || !Re) return;
            B.ttl = ae, B.start = Re, B.now = ne || le(), B.remainingTTL = ae - (B.now - Re);
          }
        };
        let ne = 0, le = () => {
          let B = this.#u.now();
          if (this.ttlResolution > 0) {
            ne = B;
            let W = setTimeout(() => ne = 0, this.ttlResolution);
            W.unref && W.unref();
          }
          return B;
        };
        this.getRemainingTTL = (B) => {
          let W = this.#h.get(B);
          if (W === void 0) return 0;
          let ae = Z[W], Re = G[W];
          return !ae || !Re ? 1 / 0 : ae - ((ne || le()) - Re);
        }, this.#S = (B) => {
          let W = G[B], ae = Z[B];
          return !!ae && !!W && (ne || le()) - W > ae;
        };
      }
      #k = () => {
      };
      #L = () => {
      };
      #M = () => {
      };
      #S = () => !1;
      #W() {
        let Z = new ue(this.#e);
        this.#p = 0, this.#T = Z, this.#N = (G) => {
          this.#p -= Z[G], Z[G] = 0;
        }, this.#j = (G, Y, ne, le) => {
          if (this.#w(Y)) return 0;
          if (!U(ne)) if (le) {
            if (typeof le != "function") throw new TypeError("sizeCalculation must be a function");
            if (ne = le(Y, G), !U(ne)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
          } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
          return ne;
        }, this.#P = (G, Y, ne) => {
          if (Z[G] = Y, this.#t) {
            let le = this.#t - Z[G];
            for (; this.#p > le; ) this.#F(!0);
          }
          this.#p += Z[G], ne && (ne.entrySize = Y, ne.totalCalculatedSize = this.#p);
        };
      }
      #N = (Z) => {
      };
      #P = (Z, G, Y) => {
      };
      #j = (Z, G, Y, ne) => {
        if (Y || ne) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
        return 0;
      };
      *#C({ allowStale: Z = this.allowStale } = {}) {
        if (this.#o) for (let G = this.#g; !(!this.#U(G) || ((Z || !this.#S(G)) && (yield G), G === this.#y)); ) G = this.#E[G];
      }
      *#I({ allowStale: Z = this.allowStale } = {}) {
        if (this.#o) for (let G = this.#y; !(!this.#U(G) || ((Z || !this.#S(G)) && (yield G), G === this.#g)); ) G = this.#v[G];
      }
      #U(Z) {
        return Z !== void 0 && this.#h.get(this.#l[Z]) === Z;
      }
      *entries() {
        for (let Z of this.#C()) this.#i[Z] !== void 0 && this.#l[Z] !== void 0 && !this.#w(this.#i[Z]) && (yield [this.#l[Z], this.#i[Z]]);
      }
      *rentries() {
        for (let Z of this.#I()) this.#i[Z] !== void 0 && this.#l[Z] !== void 0 && !this.#w(this.#i[Z]) && (yield [this.#l[Z], this.#i[Z]]);
      }
      *keys() {
        for (let Z of this.#C()) {
          let G = this.#l[Z];
          G !== void 0 && !this.#w(this.#i[Z]) && (yield G);
        }
      }
      *rkeys() {
        for (let Z of this.#I()) {
          let G = this.#l[Z];
          G !== void 0 && !this.#w(this.#i[Z]) && (yield G);
        }
      }
      *values() {
        for (let Z of this.#C()) this.#i[Z] !== void 0 && !this.#w(this.#i[Z]) && (yield this.#i[Z]);
      }
      *rvalues() {
        for (let Z of this.#I()) this.#i[Z] !== void 0 && !this.#w(this.#i[Z]) && (yield this.#i[Z]);
      }
      [Symbol.iterator]() {
        return this.entries();
      }
      [Symbol.toStringTag] = "LRUCache";
      find(Z, G = {}) {
        for (let Y of this.#C()) {
          let ne = this.#i[Y], le = this.#w(ne) ? ne.__staleWhileFetching : ne;
          if (le !== void 0 && Z(le, this.#l[Y], this)) return this.get(this.#l[Y], G);
        }
      }
      forEach(Z, G = this) {
        for (let Y of this.#C()) {
          let ne = this.#i[Y], le = this.#w(ne) ? ne.__staleWhileFetching : ne;
          le !== void 0 && Z.call(G, le, this.#l[Y], this);
        }
      }
      rforEach(Z, G = this) {
        for (let Y of this.#I()) {
          let ne = this.#i[Y], le = this.#w(ne) ? ne.__staleWhileFetching : ne;
          le !== void 0 && Z.call(G, le, this.#l[Y], this);
        }
      }
      purgeStale() {
        let Z = !1;
        for (let G of this.#I({ allowStale: !0 })) this.#S(G) && (this.#d(this.#l[G], "expire"), Z = !0);
        return Z;
      }
      info(Z) {
        let G = this.#h.get(Z);
        if (G === void 0) return;
        let Y = this.#i[G], ne = this.#w(Y) ? Y.__staleWhileFetching : Y;
        if (ne === void 0) return;
        let le = { value: ne };
        if (this.#_ && this.#D) {
          let B = this.#_[G], W = this.#D[G];
          B && W && (le.ttl = B - (this.#u.now() - W), le.start = Date.now());
        }
        return this.#T && (le.size = this.#T[G]), le;
      }
      dump() {
        let Z = [];
        for (let G of this.#C({ allowStale: !0 })) {
          let Y = this.#l[G], ne = this.#i[G], le = this.#w(ne) ? ne.__staleWhileFetching : ne;
          if (le === void 0 || Y === void 0) continue;
          let B = { value: le };
          if (this.#_ && this.#D) {
            B.ttl = this.#_[G];
            let W = this.#u.now() - this.#D[G];
            B.start = Math.floor(Date.now() - W);
          }
          this.#T && (B.size = this.#T[G]), Z.unshift([Y, B]);
        }
        return Z;
      }
      load(Z) {
        this.clear();
        for (let [G, Y] of Z) {
          if (Y.start) {
            let ne = Date.now() - Y.start;
            Y.start = this.#u.now() - ne;
          }
          this.set(G, Y.value, Y);
        }
      }
      set(Z, G, Y = {}) {
        if (G === void 0) return this.delete(Z), this;
        let { ttl: ne = this.ttl, start: le, noDisposeOnSet: B = this.noDisposeOnSet, sizeCalculation: W = this.sizeCalculation, status: ae } = Y, { noUpdateTTL: Re = this.noUpdateTTL } = Y, Oe = this.#j(Z, G, Y.size || 0, W);
        if (this.maxEntrySize && Oe > this.maxEntrySize) return ae && (ae.set = "miss", ae.maxEntrySizeExceeded = !0), this.#d(Z, "set"), this;
        let Ee = this.#o === 0 ? void 0 : this.#h.get(Z);
        if (Ee === void 0) Ee = this.#o === 0 ? this.#g : this.#R.length !== 0 ? this.#R.pop() : this.#o === this.#e ? this.#F(!1) : this.#o, this.#l[Ee] = Z, this.#i[Ee] = G, this.#h.set(Z, Ee), this.#v[this.#g] = Ee, this.#E[Ee] = this.#g, this.#g = Ee, this.#o++, this.#P(Ee, Oe, ae), ae && (ae.set = "add"), Re = !1, this.#x && this.#n?.(G, Z, "add");
        else {
          this.#B(Ee);
          let xe = this.#i[Ee];
          if (G !== xe) {
            if (this.#O && this.#w(xe)) {
              xe.__abortController.abort(/* @__PURE__ */ new Error("replaced"));
              let { __staleWhileFetching: Ne } = xe;
              Ne !== void 0 && !B && (this.#A && this.#r?.(Ne, Z, "set"), this.#a && this.#m?.push([
                Ne,
                Z,
                "set"
              ]));
            } else B || (this.#A && this.#r?.(xe, Z, "set"), this.#a && this.#m?.push([
              xe,
              Z,
              "set"
            ]));
            if (this.#N(Ee), this.#P(Ee, Oe, ae), this.#i[Ee] = G, ae) {
              ae.set = "replace";
              let Ne = xe && this.#w(xe) ? xe.__staleWhileFetching : xe;
              Ne !== void 0 && (ae.oldValue = Ne);
            }
          } else ae && (ae.set = "update");
          this.#x && this.onInsert?.(G, Z, G === xe ? "update" : "replace");
        }
        if (ne !== 0 && !this.#_ && this.#$(), this.#_ && (Re || this.#M(Ee, ne, le), ae && this.#L(ae, Ee)), !B && this.#a && this.#m) {
          let xe = this.#m, Ne;
          for (; Ne = xe?.shift(); ) this.#s?.(...Ne);
        }
        return this;
      }
      pop() {
        try {
          for (; this.#o; ) {
            let Z = this.#i[this.#y];
            if (this.#F(!0), this.#w(Z)) {
              if (Z.__staleWhileFetching) return Z.__staleWhileFetching;
            } else if (Z !== void 0) return Z;
          }
        } finally {
          if (this.#a && this.#m) {
            let Z = this.#m, G;
            for (; G = Z?.shift(); ) this.#s?.(...G);
          }
        }
      }
      #F(Z) {
        let G = this.#y, Y = this.#l[G], ne = this.#i[G];
        return this.#O && this.#w(ne) ? ne.__abortController.abort(/* @__PURE__ */ new Error("evicted")) : (this.#A || this.#a) && (this.#A && this.#r?.(ne, Y, "evict"), this.#a && this.#m?.push([
          ne,
          Y,
          "evict"
        ])), this.#N(G), this.#b?.[G] && (clearTimeout(this.#b[G]), this.#b[G] = void 0), Z && (this.#l[G] = void 0, this.#i[G] = void 0, this.#R.push(G)), this.#o === 1 ? (this.#y = this.#g = 0, this.#R.length = 0) : this.#y = this.#v[G], this.#h.delete(Y), this.#o--, G;
      }
      has(Z, G = {}) {
        let { updateAgeOnHas: Y = this.updateAgeOnHas, status: ne } = G, le = this.#h.get(Z);
        if (le !== void 0) {
          let B = this.#i[le];
          if (this.#w(B) && B.__staleWhileFetching === void 0) return !1;
          if (this.#S(le)) ne && (ne.has = "stale", this.#L(ne, le));
          else return Y && this.#k(le), ne && (ne.has = "hit", this.#L(ne, le)), !0;
        } else ne && (ne.has = "miss");
        return !1;
      }
      peek(Z, G = {}) {
        let { allowStale: Y = this.allowStale } = G, ne = this.#h.get(Z);
        if (ne === void 0 || !Y && this.#S(ne)) return;
        let le = this.#i[ne];
        return this.#w(le) ? le.__staleWhileFetching : le;
      }
      #H(Z, G, Y, ne) {
        let le = G === void 0 ? void 0 : this.#i[G];
        if (this.#w(le)) return le;
        let B = new j(), { signal: W } = Y;
        W?.addEventListener("abort", () => B.abort(W.reason), { signal: B.signal });
        let ae = {
          signal: B.signal,
          options: Y,
          context: ne
        }, Re = (Ce, Pe = !1) => {
          let { aborted: Ae } = B.signal, $e = Y.ignoreFetchAbort && Ce !== void 0, De = Y.ignoreFetchAbort || !!(Y.allowStaleOnFetchAbort && Ce !== void 0);
          if (Y.status && (Ae && !Pe ? (Y.status.fetchAborted = !0, Y.status.fetchError = B.signal.reason, $e && (Y.status.fetchAbortIgnored = !0)) : Y.status.fetchResolved = !0), Ae && !$e && !Pe) return Ee(B.signal.reason, De);
          let ye = Ne, pe = this.#i[G];
          return (pe === Ne || $e && Pe && pe === void 0) && (Ce === void 0 ? ye.__staleWhileFetching !== void 0 ? this.#i[G] = ye.__staleWhileFetching : this.#d(Z, "fetch") : (Y.status && (Y.status.fetchUpdated = !0), this.set(Z, Ce, ae.options))), Ce;
        }, Oe = (Ce) => (Y.status && (Y.status.fetchRejected = !0, Y.status.fetchError = Ce), Ee(Ce, !1)), Ee = (Ce, Pe) => {
          let { aborted: Ae } = B.signal, $e = Ae && Y.allowStaleOnFetchAbort, De = $e || Y.allowStaleOnFetchRejection, ye = De || Y.noDeleteOnFetchRejection, pe = Ne;
          if (this.#i[G] === Ne && (!ye || !Pe && pe.__staleWhileFetching === void 0 ? this.#d(Z, "fetch") : $e || (this.#i[G] = pe.__staleWhileFetching)), De) return Y.status && pe.__staleWhileFetching !== void 0 && (Y.status.returnedStale = !0), pe.__staleWhileFetching;
          if (pe.__returned === pe) throw Ce;
        }, xe = (Ce, Pe) => {
          let Ae = this.#c?.(Z, le, ae);
          Ae && Ae instanceof Promise && Ae.then(($e) => Ce($e === void 0 ? void 0 : $e), Pe), B.signal.addEventListener("abort", () => {
            (!Y.ignoreFetchAbort || Y.allowStaleOnFetchAbort) && (Ce(void 0), Y.allowStaleOnFetchAbort && (Ce = ($e) => Re($e, !0)));
          });
        };
        Y.status && (Y.status.fetchDispatched = !0);
        let Ne = new Promise(xe).then(Re, Oe), Me = Object.assign(Ne, {
          __abortController: B,
          __staleWhileFetching: le,
          __returned: void 0
        });
        return G === void 0 ? (this.set(Z, Me, {
          ...ae.options,
          status: void 0
        }), G = this.#h.get(Z)) : this.#i[G] = Me, Me;
      }
      #w(Z) {
        if (!this.#O) return !1;
        let G = Z;
        return !!G && G instanceof Promise && G.hasOwnProperty("__staleWhileFetching") && G.__abortController instanceof j;
      }
      async fetch(Z, G = {}) {
        let { allowStale: Y = this.allowStale, updateAgeOnGet: ne = this.updateAgeOnGet, noDeleteOnStaleGet: le = this.noDeleteOnStaleGet, ttl: B = this.ttl, noDisposeOnSet: W = this.noDisposeOnSet, size: ae = 0, sizeCalculation: Re = this.sizeCalculation, noUpdateTTL: Oe = this.noUpdateTTL, noDeleteOnFetchRejection: Ee = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: xe = this.allowStaleOnFetchRejection, ignoreFetchAbort: Ne = this.ignoreFetchAbort, allowStaleOnFetchAbort: Me = this.allowStaleOnFetchAbort, context: Ce, forceRefresh: Pe = !1, status: Ae, signal: $e } = G;
        if (!this.#O) return Ae && (Ae.fetch = "get"), this.get(Z, {
          allowStale: Y,
          updateAgeOnGet: ne,
          noDeleteOnStaleGet: le,
          status: Ae
        });
        let De = {
          allowStale: Y,
          updateAgeOnGet: ne,
          noDeleteOnStaleGet: le,
          ttl: B,
          noDisposeOnSet: W,
          size: ae,
          sizeCalculation: Re,
          noUpdateTTL: Oe,
          noDeleteOnFetchRejection: Ee,
          allowStaleOnFetchRejection: xe,
          allowStaleOnFetchAbort: Me,
          ignoreFetchAbort: Ne,
          status: Ae,
          signal: $e
        }, ye = this.#h.get(Z);
        if (ye === void 0) {
          Ae && (Ae.fetch = "miss");
          let pe = this.#H(Z, ye, De, Ce);
          return pe.__returned = pe;
        } else {
          let pe = this.#i[ye];
          if (this.#w(pe)) {
            let oe = Y && pe.__staleWhileFetching !== void 0;
            return Ae && (Ae.fetch = "inflight", oe && (Ae.returnedStale = !0)), oe ? pe.__staleWhileFetching : pe.__returned = pe;
          }
          let y = this.#S(ye);
          if (!Pe && !y) return Ae && (Ae.fetch = "hit"), this.#B(ye), ne && this.#k(ye), Ae && this.#L(Ae, ye), pe;
          let $ = this.#H(Z, ye, De, Ce), ie = $.__staleWhileFetching !== void 0 && Y;
          return Ae && (Ae.fetch = y ? "stale" : "refresh", ie && y && (Ae.returnedStale = !0)), ie ? $.__staleWhileFetching : $.__returned = $;
        }
      }
      async forceFetch(Z, G = {}) {
        let Y = await this.fetch(Z, G);
        if (Y === void 0) throw new Error("fetch() returned undefined");
        return Y;
      }
      memo(Z, G = {}) {
        let Y = this.#f;
        if (!Y) throw new Error("no memoMethod provided to constructor");
        let { context: ne, forceRefresh: le, ...B } = G, W = this.get(Z, B);
        if (!le && W !== void 0) return W;
        let ae = Y(Z, W, {
          options: B,
          context: ne
        });
        return this.set(Z, ae, B), ae;
      }
      get(Z, G = {}) {
        let { allowStale: Y = this.allowStale, updateAgeOnGet: ne = this.updateAgeOnGet, noDeleteOnStaleGet: le = this.noDeleteOnStaleGet, status: B } = G, W = this.#h.get(Z);
        if (W !== void 0) {
          let ae = this.#i[W], Re = this.#w(ae);
          return B && this.#L(B, W), this.#S(W) ? (B && (B.get = "stale"), Re ? (B && Y && ae.__staleWhileFetching !== void 0 && (B.returnedStale = !0), Y ? ae.__staleWhileFetching : void 0) : (le || this.#d(Z, "expire"), B && Y && (B.returnedStale = !0), Y ? ae : void 0)) : (B && (B.get = "hit"), Re ? ae.__staleWhileFetching : (this.#B(W), ne && this.#k(W), ae));
        } else B && (B.get = "miss");
      }
      #q(Z, G) {
        this.#E[G] = Z, this.#v[Z] = G;
      }
      #B(Z) {
        Z !== this.#g && (Z === this.#y ? this.#y = this.#v[Z] : this.#q(this.#E[Z], this.#v[Z]), this.#q(this.#g, Z), this.#g = Z);
      }
      delete(Z) {
        return this.#d(Z, "delete");
      }
      #d(Z, G) {
        let Y = !1;
        if (this.#o !== 0) {
          let ne = this.#h.get(Z);
          if (ne !== void 0) if (this.#b?.[ne] && (clearTimeout(this.#b?.[ne]), this.#b[ne] = void 0), Y = !0, this.#o === 1) this.#G(G);
          else {
            this.#N(ne);
            let le = this.#i[ne];
            if (this.#w(le) ? le.__abortController.abort(/* @__PURE__ */ new Error("deleted")) : (this.#A || this.#a) && (this.#A && this.#r?.(le, Z, G), this.#a && this.#m?.push([
              le,
              Z,
              G
            ])), this.#h.delete(Z), this.#l[ne] = void 0, this.#i[ne] = void 0, ne === this.#g) this.#g = this.#E[ne];
            else if (ne === this.#y) this.#y = this.#v[ne];
            else {
              let B = this.#E[ne];
              this.#v[B] = this.#v[ne];
              let W = this.#v[ne];
              this.#E[W] = this.#E[ne];
            }
            this.#o--, this.#R.push(ne);
          }
        }
        if (this.#a && this.#m?.length) {
          let ne = this.#m, le;
          for (; le = ne?.shift(); ) this.#s?.(...le);
        }
        return Y;
      }
      clear() {
        return this.#G("delete");
      }
      #G(Z) {
        for (let G of this.#I({ allowStale: !0 })) {
          let Y = this.#i[G];
          if (this.#w(Y)) Y.__abortController.abort(/* @__PURE__ */ new Error("deleted"));
          else {
            let ne = this.#l[G];
            this.#A && this.#r?.(Y, ne, Z), this.#a && this.#m?.push([
              Y,
              ne,
              Z
            ]);
          }
        }
        if (this.#h.clear(), this.#i.fill(void 0), this.#l.fill(void 0), this.#_ && this.#D) {
          this.#_.fill(0), this.#D.fill(0);
          for (let G of this.#b ?? []) G !== void 0 && clearTimeout(G);
          this.#b?.fill(void 0);
        }
        if (this.#T && this.#T.fill(0), this.#y = 0, this.#g = 0, this.#R.length = 0, this.#p = 0, this.#o = 0, this.#a && this.#m) {
          let G = this.#m, Y;
          for (; Y = G?.shift(); ) this.#s?.(...Y);
        }
      }
    };
  }), a = t((M) => {
    "use strict";
    var N = M && M.__importDefault || function(R) {
      return R && R.__esModule ? R : { default: R };
    };
    Object.defineProperty(M, "__esModule", { value: !0 }), M.Minipass = M.isWritable = M.isReadable = M.isStream = void 0;
    var L = typeof process == "object" && process ? process : {
      stdout: null,
      stderr: null
    }, te = be("node:events"), H = N(be("node:stream")), j = be("node:string_decoder"), P = (R) => !!R && typeof R == "object" && (R instanceof _e || R instanceof H.default || (0, M.isReadable)(R) || (0, M.isWritable)(R));
    M.isStream = P;
    var k = (R) => !!R && typeof R == "object" && R instanceof te.EventEmitter && typeof R.pipe == "function" && R.pipe !== H.default.Writable.prototype.pipe;
    M.isReadable = k;
    var U = (R) => !!R && typeof R == "object" && R instanceof te.EventEmitter && typeof R.write == "function" && typeof R.end == "function";
    M.isWritable = U;
    var Q = /* @__PURE__ */ Symbol("EOF"), ue = /* @__PURE__ */ Symbol("maybeEmitEnd"), me = /* @__PURE__ */ Symbol("emittedEnd"), we = /* @__PURE__ */ Symbol("emittingEnd"), Z = /* @__PURE__ */ Symbol("emittedError"), G = /* @__PURE__ */ Symbol("closed"), Y = /* @__PURE__ */ Symbol("read"), ne = /* @__PURE__ */ Symbol("flush"), le = /* @__PURE__ */ Symbol("flushChunk"), B = /* @__PURE__ */ Symbol("encoding"), W = /* @__PURE__ */ Symbol("decoder"), ae = /* @__PURE__ */ Symbol("flowing"), Re = /* @__PURE__ */ Symbol("paused"), Oe = /* @__PURE__ */ Symbol("resume"), Ee = /* @__PURE__ */ Symbol("buffer"), xe = /* @__PURE__ */ Symbol("pipes"), Ne = /* @__PURE__ */ Symbol("bufferLength"), Me = /* @__PURE__ */ Symbol("bufferPush"), Ce = /* @__PURE__ */ Symbol("bufferShift"), Pe = /* @__PURE__ */ Symbol("objectMode"), Ae = /* @__PURE__ */ Symbol("destroyed"), $e = /* @__PURE__ */ Symbol("error"), De = /* @__PURE__ */ Symbol("emitData"), ye = /* @__PURE__ */ Symbol("emitEnd"), pe = /* @__PURE__ */ Symbol("emitEnd2"), y = /* @__PURE__ */ Symbol("async"), $ = /* @__PURE__ */ Symbol("abort"), ie = /* @__PURE__ */ Symbol("aborted"), oe = /* @__PURE__ */ Symbol("signal"), re = /* @__PURE__ */ Symbol("dataListeners"), de = /* @__PURE__ */ Symbol("discarded"), T = (R) => Promise.resolve().then(R), se = (R) => R(), ve = (R) => R === "end" || R === "finish" || R === "prefinish", fe = (R) => R instanceof ArrayBuffer || !!R && typeof R == "object" && R.constructor && R.constructor.name === "ArrayBuffer" && R.byteLength >= 0, V = (R) => !Buffer.isBuffer(R) && ArrayBuffer.isView(R), X = class {
      src;
      dest;
      opts;
      ondrain;
      constructor(R, J, he) {
        this.src = R, this.dest = J, this.opts = he, this.ondrain = () => R[Oe](), this.dest.on("drain", this.ondrain);
      }
      unpipe() {
        this.dest.removeListener("drain", this.ondrain);
      }
      proxyErrors(R) {
      }
      end() {
        this.unpipe(), this.opts.end && this.dest.end();
      }
    }, ee = class extends X {
      unpipe() {
        this.src.removeListener("error", this.proxyErrors), super.unpipe();
      }
      constructor(R, J, he) {
        super(R, J, he), this.proxyErrors = (Te) => this.dest.emit("error", Te), R.on("error", this.proxyErrors);
      }
    }, ce = (R) => !!R.objectMode, ge = (R) => !R.objectMode && !!R.encoding && R.encoding !== "buffer", _e = class extends te.EventEmitter {
      [ae] = !1;
      [Re] = !1;
      [xe] = [];
      [Ee] = [];
      [Pe];
      [B];
      [y];
      [W];
      [Q] = !1;
      [me] = !1;
      [we] = !1;
      [G] = !1;
      [Z] = null;
      [Ne] = 0;
      [Ae] = !1;
      [oe];
      [ie] = !1;
      [re] = 0;
      [de] = !1;
      writable = !0;
      readable = !0;
      constructor(...R) {
        let J = R[0] || {};
        if (super(), J.objectMode && typeof J.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
        ce(J) ? (this[Pe] = !0, this[B] = null) : ge(J) ? (this[B] = J.encoding, this[Pe] = !1) : (this[Pe] = !1, this[B] = null), this[y] = !!J.async, this[W] = this[B] ? new j.StringDecoder(this[B]) : null, J && J.debugExposeBuffer === !0 && Object.defineProperty(this, "buffer", { get: () => this[Ee] }), J && J.debugExposePipes === !0 && Object.defineProperty(this, "pipes", { get: () => this[xe] });
        let { signal: he } = J;
        he && (this[oe] = he, he.aborted ? this[$]() : he.addEventListener("abort", () => this[$]()));
      }
      get bufferLength() {
        return this[Ne];
      }
      get encoding() {
        return this[B];
      }
      set encoding(R) {
        throw new Error("Encoding must be set at instantiation time");
      }
      setEncoding(R) {
        throw new Error("Encoding must be set at instantiation time");
      }
      get objectMode() {
        return this[Pe];
      }
      set objectMode(R) {
        throw new Error("objectMode must be set at instantiation time");
      }
      get async() {
        return this[y];
      }
      set async(R) {
        this[y] = this[y] || !!R;
      }
      [$]() {
        this[ie] = !0, this.emit("abort", this[oe]?.reason), this.destroy(this[oe]?.reason);
      }
      get aborted() {
        return this[ie];
      }
      set aborted(R) {
      }
      write(R, J, he) {
        if (this[ie]) return !1;
        if (this[Q]) throw new Error("write after end");
        if (this[Ae]) return this.emit("error", Object.assign(/* @__PURE__ */ new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), !0;
        typeof J == "function" && (he = J, J = "utf8"), J || (J = "utf8");
        let Te = this[y] ? T : se;
        if (!this[Pe] && !Buffer.isBuffer(R)) {
          if (V(R)) R = Buffer.from(R.buffer, R.byteOffset, R.byteLength);
          else if (fe(R)) R = Buffer.from(R);
          else if (typeof R != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
        }
        return this[Pe] ? (this[ae] && this[Ne] !== 0 && this[ne](!0), this[ae] ? this.emit("data", R) : this[Me](R), this[Ne] !== 0 && this.emit("readable"), he && Te(he), this[ae]) : R.length ? (typeof R == "string" && !(J === this[B] && !this[W]?.lastNeed) && (R = Buffer.from(R, J)), Buffer.isBuffer(R) && this[B] && (R = this[W].write(R)), this[ae] && this[Ne] !== 0 && this[ne](!0), this[ae] ? this.emit("data", R) : this[Me](R), this[Ne] !== 0 && this.emit("readable"), he && Te(he), this[ae]) : (this[Ne] !== 0 && this.emit("readable"), he && Te(he), this[ae]);
      }
      read(R) {
        if (this[Ae]) return null;
        if (this[de] = !1, this[Ne] === 0 || R === 0 || R && R > this[Ne]) return this[ue](), null;
        this[Pe] && (R = null), this[Ee].length > 1 && !this[Pe] && (this[Ee] = [this[B] ? this[Ee].join("") : Buffer.concat(this[Ee], this[Ne])]);
        let J = this[Y](R || null, this[Ee][0]);
        return this[ue](), J;
      }
      [Y](R, J) {
        if (this[Pe]) this[Ce]();
        else {
          let he = J;
          R === he.length || R === null ? this[Ce]() : typeof he == "string" ? (this[Ee][0] = he.slice(R), J = he.slice(0, R), this[Ne] -= R) : (this[Ee][0] = he.subarray(R), J = he.subarray(0, R), this[Ne] -= R);
        }
        return this.emit("data", J), !this[Ee].length && !this[Q] && this.emit("drain"), J;
      }
      end(R, J, he) {
        return typeof R == "function" && (he = R, R = void 0), typeof J == "function" && (he = J, J = "utf8"), R !== void 0 && this.write(R, J), he && this.once("end", he), this[Q] = !0, this.writable = !1, (this[ae] || !this[Re]) && this[ue](), this;
      }
      [Oe]() {
        this[Ae] || (!this[re] && !this[xe].length && (this[de] = !0), this[Re] = !1, this[ae] = !0, this.emit("resume"), this[Ee].length ? this[ne]() : this[Q] ? this[ue]() : this.emit("drain"));
      }
      resume() {
        return this[Oe]();
      }
      pause() {
        this[ae] = !1, this[Re] = !0, this[de] = !1;
      }
      get destroyed() {
        return this[Ae];
      }
      get flowing() {
        return this[ae];
      }
      get paused() {
        return this[Re];
      }
      [Me](R) {
        this[Pe] ? this[Ne] += 1 : this[Ne] += R.length, this[Ee].push(R);
      }
      [Ce]() {
        return this[Pe] ? this[Ne] -= 1 : this[Ne] -= this[Ee][0].length, this[Ee].shift();
      }
      [ne](R = !1) {
        do
          ;
        while (this[le](this[Ce]()) && this[Ee].length);
        !R && !this[Ee].length && !this[Q] && this.emit("drain");
      }
      [le](R) {
        return this.emit("data", R), this[ae];
      }
      pipe(R, J) {
        if (this[Ae]) return R;
        this[de] = !1;
        let he = this[me];
        return J = J || {}, R === L.stdout || R === L.stderr ? J.end = !1 : J.end = J.end !== !1, J.proxyErrors = !!J.proxyErrors, he ? J.end && R.end() : (this[xe].push(J.proxyErrors ? new ee(this, R, J) : new X(this, R, J)), this[y] ? T(() => this[Oe]()) : this[Oe]()), R;
      }
      unpipe(R) {
        let J = this[xe].find((he) => he.dest === R);
        J && (this[xe].length === 1 ? (this[ae] && this[re] === 0 && (this[ae] = !1), this[xe] = []) : this[xe].splice(this[xe].indexOf(J), 1), J.unpipe());
      }
      addListener(R, J) {
        return this.on(R, J);
      }
      on(R, J) {
        let he = super.on(R, J);
        if (R === "data") this[de] = !1, this[re]++, !this[xe].length && !this[ae] && this[Oe]();
        else if (R === "readable" && this[Ne] !== 0) super.emit("readable");
        else if (ve(R) && this[me]) super.emit(R), this.removeAllListeners(R);
        else if (R === "error" && this[Z]) {
          let Te = J;
          this[y] ? T(() => Te.call(this, this[Z])) : Te.call(this, this[Z]);
        }
        return he;
      }
      removeListener(R, J) {
        return this.off(R, J);
      }
      off(R, J) {
        let he = super.off(R, J);
        return R === "data" && (this[re] = this.listeners("data").length, this[re] === 0 && !this[de] && !this[xe].length && (this[ae] = !1)), he;
      }
      removeAllListeners(R) {
        let J = super.removeAllListeners(R);
        return (R === "data" || R === void 0) && (this[re] = 0, !this[de] && !this[xe].length && (this[ae] = !1)), J;
      }
      get emittedEnd() {
        return this[me];
      }
      [ue]() {
        !this[we] && !this[me] && !this[Ae] && this[Ee].length === 0 && this[Q] && (this[we] = !0, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[G] && this.emit("close"), this[we] = !1);
      }
      emit(R, ...J) {
        let he = J[0];
        if (R !== "error" && R !== "close" && R !== Ae && this[Ae]) return !1;
        if (R === "data") return !this[Pe] && !he ? !1 : this[y] ? (T(() => this[De](he)), !0) : this[De](he);
        if (R === "end") return this[ye]();
        if (R === "close") {
          if (this[G] = !0, !this[me] && !this[Ae]) return !1;
          let Ie = super.emit("close");
          return this.removeAllListeners("close"), Ie;
        } else if (R === "error") {
          this[Z] = he, super.emit($e, he);
          let Ie = !this[oe] || this.listeners("error").length ? super.emit("error", he) : !1;
          return this[ue](), Ie;
        } else if (R === "resume") {
          let Ie = super.emit("resume");
          return this[ue](), Ie;
        } else if (R === "finish" || R === "prefinish") {
          let Ie = super.emit(R);
          return this.removeAllListeners(R), Ie;
        }
        let Te = super.emit(R, ...J);
        return this[ue](), Te;
      }
      [De](R) {
        for (let he of this[xe]) he.dest.write(R) === !1 && this.pause();
        let J = this[de] ? !1 : super.emit("data", R);
        return this[ue](), J;
      }
      [ye]() {
        return this[me] ? !1 : (this[me] = !0, this.readable = !1, this[y] ? (T(() => this[pe]()), !0) : this[pe]());
      }
      [pe]() {
        if (this[W]) {
          let J = this[W].end();
          if (J) {
            for (let he of this[xe]) he.dest.write(J);
            this[de] || super.emit("data", J);
          }
        }
        for (let J of this[xe]) J.end();
        let R = super.emit("end");
        return this.removeAllListeners("end"), R;
      }
      async collect() {
        let R = Object.assign([], { dataLength: 0 });
        this[Pe] || (R.dataLength = 0);
        let J = this.promise();
        return this.on("data", (he) => {
          R.push(he), this[Pe] || (R.dataLength += he.length);
        }), await J, R;
      }
      async concat() {
        if (this[Pe]) throw new Error("cannot concat in objectMode");
        let R = await this.collect();
        return this[B] ? R.join("") : Buffer.concat(R, R.dataLength);
      }
      async promise() {
        return new Promise((R, J) => {
          this.on(Ae, () => J(/* @__PURE__ */ new Error("stream destroyed"))), this.on("error", (he) => J(he)), this.on("end", () => R());
        });
      }
      [Symbol.asyncIterator]() {
        this[de] = !1;
        let R = !1, J = async () => (this.pause(), R = !0, {
          value: void 0,
          done: !0
        });
        return {
          next: () => {
            if (R) return J();
            let he = this.read();
            if (he !== null) return Promise.resolve({
              done: !1,
              value: he
            });
            if (this[Q]) return J();
            let Te, Ie, je = (Je) => {
              this.off("data", Ue), this.off("end", ze), this.off(Ae, Ke), J(), Ie(Je);
            }, Ue = (Je) => {
              this.off("error", je), this.off("end", ze), this.off(Ae, Ke), this.pause(), Te({
                value: Je,
                done: !!this[Q]
              });
            }, ze = () => {
              this.off("error", je), this.off("data", Ue), this.off(Ae, Ke), J(), Te({
                done: !0,
                value: void 0
              });
            }, Ke = () => je(/* @__PURE__ */ new Error("stream destroyed"));
            return new Promise((Je, Ye) => {
              Ie = Ye, Te = Je, this.once(Ae, Ke), this.once("error", je), this.once("end", ze), this.once("data", Ue);
            });
          },
          throw: J,
          return: J,
          [Symbol.asyncIterator]() {
            return this;
          },
          [Symbol.asyncDispose]: async () => {
          }
        };
      }
      [Symbol.iterator]() {
        this[de] = !1;
        let R = !1, J = () => (this.pause(), this.off($e, J), this.off(Ae, J), this.off("end", J), R = !0, {
          done: !0,
          value: void 0
        }), he = () => {
          if (R) return J();
          let Te = this.read();
          return Te === null ? J() : {
            done: !1,
            value: Te
          };
        };
        return this.once("end", J), this.once($e, J), this.once(Ae, J), {
          next: he,
          throw: J,
          return: J,
          [Symbol.iterator]() {
            return this;
          },
          [Symbol.dispose]: () => {
          }
        };
      }
      destroy(R) {
        if (this[Ae]) return R ? this.emit("error", R) : this.emit(Ae), this;
        this[Ae] = !0, this[de] = !0, this[Ee].length = 0, this[Ne] = 0;
        let J = this;
        return typeof J.close == "function" && !this[G] && J.close(), R ? this.emit("error", R) : this.emit(Ae), this;
      }
      static get isStream() {
        return M.isStream;
      }
    };
    M.Minipass = _e;
  }), l = t((M) => {
    "use strict";
    var N = M && M.__createBinding || (Object.create ? (function(R, J, he, Te) {
      Te === void 0 && (Te = he);
      var Ie = Object.getOwnPropertyDescriptor(J, he);
      (!Ie || ("get" in Ie ? !J.__esModule : Ie.writable || Ie.configurable)) && (Ie = {
        enumerable: !0,
        get: function() {
          return J[he];
        }
      }), Object.defineProperty(R, Te, Ie);
    }) : (function(R, J, he, Te) {
      Te === void 0 && (Te = he), R[Te] = J[he];
    })), L = M && M.__setModuleDefault || (Object.create ? (function(R, J) {
      Object.defineProperty(R, "default", {
        enumerable: !0,
        value: J
      });
    }) : function(R, J) {
      R.default = J;
    }), te = M && M.__importStar || function(R) {
      if (R && R.__esModule) return R;
      var J = {};
      if (R != null) for (var he in R) he !== "default" && Object.prototype.hasOwnProperty.call(R, he) && N(J, R, he);
      return L(J, R), J;
    };
    Object.defineProperty(M, "__esModule", { value: !0 }), M.PathScurry = M.Path = M.PathScurryDarwin = M.PathScurryPosix = M.PathScurryWin32 = M.PathScurryBase = M.PathPosix = M.PathWin32 = M.PathBase = M.ChildrenCache = M.ResolveCache = void 0;
    var H = h(), j = be("node:path"), P = be("node:url"), k = be("fs"), U = te(be("node:fs")), Q = k.realpathSync.native, ue = be("node:fs/promises"), me = a(), we = {
      lstatSync: k.lstatSync,
      readdir: k.readdir,
      readdirSync: k.readdirSync,
      readlinkSync: k.readlinkSync,
      realpathSync: Q,
      promises: {
        lstat: ue.lstat,
        readdir: ue.readdir,
        readlink: ue.readlink,
        realpath: ue.realpath
      }
    }, Z = (R) => !R || R === we || R === U ? we : {
      ...we,
      ...R,
      promises: {
        ...we.promises,
        ...R.promises || {}
      }
    }, G = /^\\\\\?\\([a-z]:)\\?$/i, Y = (R) => R.replace(/\//g, "\\").replace(G, "$1\\"), ne = /[\\\/]/, le = 0, B = 1, W = 2, ae = 4, Re = 6, Oe = 8, Ee = 10, xe = 12, Ne = 15, Me = ~Ne, Ce = 16, Pe = 32, Ae = 64, $e = 128, De = 256, ye = 512, pe = Ae | $e | ye, y = 1023, $ = (R) => R.isFile() ? Oe : R.isDirectory() ? ae : R.isSymbolicLink() ? Ee : R.isCharacterDevice() ? W : R.isBlockDevice() ? Re : R.isSocket() ? xe : R.isFIFO() ? B : le, ie = new H.LRUCache({ max: 2 ** 12 }), oe = (R) => {
      let J = ie.get(R);
      if (J) return J;
      let he = R.normalize("NFKD");
      return ie.set(R, he), he;
    }, re = new H.LRUCache({ max: 2 ** 12 }), de = (R) => {
      let J = re.get(R);
      if (J) return J;
      let he = oe(R.toLowerCase());
      return re.set(R, he), he;
    }, T = class extends H.LRUCache {
      constructor() {
        super({ max: 256 });
      }
    };
    M.ResolveCache = T;
    var se = class extends H.LRUCache {
      constructor(R = 16 * 1024) {
        super({
          maxSize: R,
          sizeCalculation: (J) => J.length + 1
        });
      }
    };
    M.ChildrenCache = se;
    var ve = /* @__PURE__ */ Symbol("PathScurry setAsCwd"), fe = class {
      name;
      root;
      roots;
      parent;
      nocase;
      isCWD = !1;
      #e;
      #t;
      get dev() {
        return this.#t;
      }
      #r;
      get mode() {
        return this.#r;
      }
      #n;
      get nlink() {
        return this.#n;
      }
      #s;
      get uid() {
        return this.#s;
      }
      #c;
      get gid() {
        return this.#c;
      }
      #f;
      get rdev() {
        return this.#f;
      }
      #u;
      get blksize() {
        return this.#u;
      }
      #o;
      get ino() {
        return this.#o;
      }
      #p;
      get size() {
        return this.#p;
      }
      #h;
      get blocks() {
        return this.#h;
      }
      #l;
      get atimeMs() {
        return this.#l;
      }
      #i;
      get mtimeMs() {
        return this.#i;
      }
      #v;
      get ctimeMs() {
        return this.#v;
      }
      #E;
      get birthtimeMs() {
        return this.#E;
      }
      #y;
      get atime() {
        return this.#y;
      }
      #g;
      get mtime() {
        return this.#g;
      }
      #R;
      get ctime() {
        return this.#R;
      }
      #m;
      get birthtime() {
        return this.#m;
      }
      #T;
      #D;
      #_;
      #b;
      #A;
      #O;
      #a;
      #x;
      #$;
      #k;
      get parentPath() {
        return (this.parent || this).fullpath();
      }
      get path() {
        return this.parentPath;
      }
      constructor(R, J = le, he, Te, Ie, je, Ue) {
        this.name = R, this.#T = Ie ? de(R) : oe(R), this.#a = J & y, this.nocase = Ie, this.roots = Te, this.root = he || this, this.#x = je, this.#_ = Ue.fullpath, this.#A = Ue.relative, this.#O = Ue.relativePosix, this.parent = Ue.parent, this.parent ? this.#e = this.parent.#e : this.#e = Z(Ue.fs);
      }
      depth() {
        return this.#D !== void 0 ? this.#D : this.parent ? this.#D = this.parent.depth() + 1 : this.#D = 0;
      }
      childrenCache() {
        return this.#x;
      }
      resolve(R) {
        if (!R) return this;
        let J = this.getRootString(R), he = R.substring(J.length).split(this.splitSep);
        return J ? this.getRoot(J).#L(he) : this.#L(he);
      }
      #L(R) {
        let J = this;
        for (let he of R) J = J.child(he);
        return J;
      }
      children() {
        let R = this.#x.get(this);
        if (R) return R;
        let J = Object.assign([], { provisional: 0 });
        return this.#x.set(this, J), this.#a &= ~Ce, J;
      }
      child(R, J) {
        if (R === "" || R === ".") return this;
        if (R === "..") return this.parent || this;
        let he = this.children(), Te = this.nocase ? de(R) : oe(R);
        for (let ze of he) if (ze.#T === Te) return ze;
        let Ie = this.parent ? this.sep : "", je = this.#_ ? this.#_ + Ie + R : void 0, Ue = this.newChild(R, le, {
          ...J,
          parent: this,
          fullpath: je
        });
        return this.canReaddir() || (Ue.#a |= $e), he.push(Ue), Ue;
      }
      relative() {
        if (this.isCWD) return "";
        if (this.#A !== void 0) return this.#A;
        let R = this.name, J = this.parent;
        if (!J) return this.#A = this.name;
        let he = J.relative();
        return he + (!he || !J.parent ? "" : this.sep) + R;
      }
      relativePosix() {
        if (this.sep === "/") return this.relative();
        if (this.isCWD) return "";
        if (this.#O !== void 0) return this.#O;
        let R = this.name, J = this.parent;
        if (!J) return this.#O = this.fullpathPosix();
        let he = J.relativePosix();
        return he + (!he || !J.parent ? "" : "/") + R;
      }
      fullpath() {
        if (this.#_ !== void 0) return this.#_;
        let R = this.name, J = this.parent;
        if (!J) return this.#_ = this.name;
        let he = J.fullpath() + (J.parent ? this.sep : "") + R;
        return this.#_ = he;
      }
      fullpathPosix() {
        if (this.#b !== void 0) return this.#b;
        if (this.sep === "/") return this.#b = this.fullpath();
        if (!this.parent) {
          let Te = this.fullpath().replace(/\\/g, "/");
          return /^[a-z]:\//i.test(Te) ? this.#b = `//?/${Te}` : this.#b = Te;
        }
        let R = this.parent, J = R.fullpathPosix(), he = J + (!J || !R.parent ? "" : "/") + this.name;
        return this.#b = he;
      }
      isUnknown() {
        return (this.#a & Ne) === le;
      }
      isType(R) {
        return this[`is${R}`]();
      }
      getType() {
        return this.isUnknown() ? "Unknown" : this.isDirectory() ? "Directory" : this.isFile() ? "File" : this.isSymbolicLink() ? "SymbolicLink" : this.isFIFO() ? "FIFO" : this.isCharacterDevice() ? "CharacterDevice" : this.isBlockDevice() ? "BlockDevice" : this.isSocket() ? "Socket" : "Unknown";
      }
      isFile() {
        return (this.#a & Ne) === Oe;
      }
      isDirectory() {
        return (this.#a & Ne) === ae;
      }
      isCharacterDevice() {
        return (this.#a & Ne) === W;
      }
      isBlockDevice() {
        return (this.#a & Ne) === Re;
      }
      isFIFO() {
        return (this.#a & Ne) === B;
      }
      isSocket() {
        return (this.#a & Ne) === xe;
      }
      isSymbolicLink() {
        return (this.#a & Ee) === Ee;
      }
      lstatCached() {
        return this.#a & Pe ? this : void 0;
      }
      readlinkCached() {
        return this.#$;
      }
      realpathCached() {
        return this.#k;
      }
      readdirCached() {
        let R = this.children();
        return R.slice(0, R.provisional);
      }
      canReadlink() {
        if (this.#$) return !0;
        if (!this.parent) return !1;
        let R = this.#a & Ne;
        return !(R !== le && R !== Ee || this.#a & De || this.#a & $e);
      }
      calledReaddir() {
        return !!(this.#a & Ce);
      }
      isENOENT() {
        return !!(this.#a & $e);
      }
      isNamed(R) {
        return this.nocase ? this.#T === de(R) : this.#T === oe(R);
      }
      async readlink() {
        let R = this.#$;
        if (R) return R;
        if (this.canReadlink() && this.parent) try {
          let J = await this.#e.promises.readlink(this.fullpath()), he = (await this.parent.realpath())?.resolve(J);
          if (he) return this.#$ = he;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      readlinkSync() {
        let R = this.#$;
        if (R) return R;
        if (this.canReadlink() && this.parent) try {
          let J = this.#e.readlinkSync(this.fullpath()), he = this.parent.realpathSync()?.resolve(J);
          if (he) return this.#$ = he;
        } catch (J) {
          this.#I(J.code);
          return;
        }
      }
      #M(R) {
        this.#a |= Ce;
        for (let J = R.provisional; J < R.length; J++) {
          let he = R[J];
          he && he.#S();
        }
      }
      #S() {
        this.#a & $e || (this.#a = (this.#a | $e) & Me, this.#W());
      }
      #W() {
        let R = this.children();
        R.provisional = 0;
        for (let J of R) J.#S();
      }
      #N() {
        this.#a |= ye, this.#P();
      }
      #P() {
        if (this.#a & Ae) return;
        let R = this.#a;
        (R & Ne) === ae && (R &= Me), this.#a = R | Ae, this.#W();
      }
      #j(R = "") {
        R === "ENOTDIR" || R === "EPERM" ? this.#P() : R === "ENOENT" ? this.#S() : this.children().provisional = 0;
      }
      #C(R = "") {
        R === "ENOTDIR" ? this.parent.#P() : R === "ENOENT" && this.#S();
      }
      #I(R = "") {
        let J = this.#a;
        J |= De, R === "ENOENT" && (J |= $e), (R === "EINVAL" || R === "UNKNOWN") && (J &= Me), this.#a = J, R === "ENOTDIR" && this.parent && this.parent.#P();
      }
      #U(R, J) {
        return this.#H(R, J) || this.#F(R, J);
      }
      #F(R, J) {
        let he = $(R), Te = this.newChild(R.name, he, { parent: this }), Ie = Te.#a & Ne;
        return Ie !== ae && Ie !== Ee && Ie !== le && (Te.#a |= Ae), J.unshift(Te), J.provisional++, Te;
      }
      #H(R, J) {
        for (let he = J.provisional; he < J.length; he++) {
          let Te = J[he];
          if ((this.nocase ? de(R.name) : oe(R.name)) === Te.#T) return this.#w(R, Te, he, J);
        }
      }
      #w(R, J, he, Te) {
        let Ie = J.name;
        return J.#a = J.#a & Me | $(R), Ie !== R.name && (J.name = R.name), he !== Te.provisional && (he === Te.length - 1 ? Te.pop() : Te.splice(he, 1), Te.unshift(J)), Te.provisional++, J;
      }
      async lstat() {
        if ((this.#a & $e) === 0) try {
          return this.#q(await this.#e.promises.lstat(this.fullpath())), this;
        } catch (R) {
          this.#C(R.code);
        }
      }
      lstatSync() {
        if ((this.#a & $e) === 0) try {
          return this.#q(this.#e.lstatSync(this.fullpath())), this;
        } catch (R) {
          this.#C(R.code);
        }
      }
      #q(R) {
        let { atime: J, atimeMs: he, birthtime: Te, birthtimeMs: Ie, blksize: je, blocks: Ue, ctime: ze, ctimeMs: Ke, dev: Je, gid: Ye, ino: rt, mode: nt, mtime: dt, mtimeMs: ht, nlink: bt, rdev: kt, size: qt, uid: xt } = R;
        this.#y = J, this.#l = he, this.#m = Te, this.#E = Ie, this.#u = je, this.#h = Ue, this.#R = ze, this.#v = Ke, this.#t = Je, this.#c = Ye, this.#o = rt, this.#r = nt, this.#g = dt, this.#i = ht, this.#n = bt, this.#f = kt, this.#p = qt, this.#s = xt;
        let Gt = $(R);
        this.#a = this.#a & Me | Gt | Pe, Gt !== le && Gt !== ae && Gt !== Ee && (this.#a |= Ae);
      }
      #B = [];
      #d = !1;
      #G(R) {
        this.#d = !1;
        let J = this.#B.slice();
        this.#B.length = 0, J.forEach((he) => he(null, R));
      }
      readdirCB(R, J = !1) {
        if (!this.canReaddir()) {
          J ? R(null, []) : queueMicrotask(() => R(null, []));
          return;
        }
        let he = this.children();
        if (this.calledReaddir()) {
          let Ie = he.slice(0, he.provisional);
          J ? R(null, Ie) : queueMicrotask(() => R(null, Ie));
          return;
        }
        if (this.#B.push(R), this.#d) return;
        this.#d = !0;
        let Te = this.fullpath();
        this.#e.readdir(Te, { withFileTypes: !0 }, (Ie, je) => {
          if (Ie) this.#j(Ie.code), he.provisional = 0;
          else {
            for (let Ue of je) this.#U(Ue, he);
            this.#M(he);
          }
          this.#G(he.slice(0, he.provisional));
        });
      }
      #V;
      async readdir() {
        if (!this.canReaddir()) return [];
        let R = this.children();
        if (this.calledReaddir()) return R.slice(0, R.provisional);
        let J = this.fullpath();
        if (this.#V) await this.#V;
        else {
          let he = () => {
          };
          this.#V = new Promise((Te) => he = Te);
          try {
            for (let Te of await this.#e.promises.readdir(J, { withFileTypes: !0 })) this.#U(Te, R);
            this.#M(R);
          } catch (Te) {
            this.#j(Te.code), R.provisional = 0;
          }
          this.#V = void 0, he();
        }
        return R.slice(0, R.provisional);
      }
      readdirSync() {
        if (!this.canReaddir()) return [];
        let R = this.children();
        if (this.calledReaddir()) return R.slice(0, R.provisional);
        let J = this.fullpath();
        try {
          for (let he of this.#e.readdirSync(J, { withFileTypes: !0 })) this.#U(he, R);
          this.#M(R);
        } catch (he) {
          this.#j(he.code), R.provisional = 0;
        }
        return R.slice(0, R.provisional);
      }
      canReaddir() {
        if (this.#a & pe) return !1;
        let R = Ne & this.#a;
        return R === le || R === ae || R === Ee;
      }
      shouldWalk(R, J) {
        return (this.#a & ae) === ae && !(this.#a & pe) && !R.has(this) && (!J || J(this));
      }
      async realpath() {
        if (this.#k) return this.#k;
        if (!((ye | De | $e) & this.#a)) try {
          let R = await this.#e.promises.realpath(this.fullpath());
          return this.#k = this.resolve(R);
        } catch {
          this.#N();
        }
      }
      realpathSync() {
        if (this.#k) return this.#k;
        if (!((ye | De | $e) & this.#a)) try {
          let R = this.#e.realpathSync(this.fullpath());
          return this.#k = this.resolve(R);
        } catch {
          this.#N();
        }
      }
      [ve](R) {
        if (R === this) return;
        R.isCWD = !1, this.isCWD = !0;
        let J = /* @__PURE__ */ new Set([]), he = [], Te = this;
        for (; Te && Te.parent; ) J.add(Te), Te.#A = he.join(this.sep), Te.#O = he.join("/"), Te = Te.parent, he.push("..");
        for (Te = R; Te && Te.parent && !J.has(Te); ) Te.#A = void 0, Te.#O = void 0, Te = Te.parent;
      }
    };
    M.PathBase = fe;
    var V = class Kh extends fe {
      sep = "\\";
      splitSep = ne;
      constructor(J, he = le, Te, Ie, je, Ue, ze) {
        super(J, he, Te, Ie, je, Ue, ze);
      }
      newChild(J, he = le, Te = {}) {
        return new Kh(J, he, this.root, this.roots, this.nocase, this.childrenCache(), Te);
      }
      getRootString(J) {
        return j.win32.parse(J).root;
      }
      getRoot(J) {
        if (J = Y(J.toUpperCase()), J === this.root.name) return this.root;
        for (let [he, Te] of Object.entries(this.roots)) if (this.sameRoot(J, he)) return this.roots[J] = Te;
        return this.roots[J] = new ce(J, this).root;
      }
      sameRoot(J, he = this.root.name) {
        return J = J.toUpperCase().replace(/\//g, "\\").replace(G, "$1\\"), J === he;
      }
    };
    M.PathWin32 = V;
    var X = class Zh extends fe {
      splitSep = "/";
      sep = "/";
      constructor(J, he = le, Te, Ie, je, Ue, ze) {
        super(J, he, Te, Ie, je, Ue, ze);
      }
      getRootString(J) {
        return J.startsWith("/") ? "/" : "";
      }
      getRoot(J) {
        return this.root;
      }
      newChild(J, he = le, Te = {}) {
        return new Zh(J, he, this.root, this.roots, this.nocase, this.childrenCache(), Te);
      }
    };
    M.PathPosix = X;
    var ee = class {
      root;
      rootPath;
      roots;
      cwd;
      #e;
      #t;
      #r;
      nocase;
      #n;
      constructor(R = process.cwd(), J, he, { nocase: Te, childrenCacheSize: Ie = 16 * 1024, fs: je = we } = {}) {
        this.#n = Z(je), (R instanceof URL || R.startsWith("file://")) && (R = (0, P.fileURLToPath)(R));
        let Ue = J.resolve(R);
        this.roots = /* @__PURE__ */ Object.create(null), this.rootPath = this.parseRootPath(Ue), this.#e = new T(), this.#t = new T(), this.#r = new se(Ie);
        let ze = Ue.substring(this.rootPath.length).split(he);
        if (ze.length === 1 && !ze[0] && ze.pop(), Te === void 0) throw new TypeError("must provide nocase setting to PathScurryBase ctor");
        this.nocase = Te, this.root = this.newRoot(this.#n), this.roots[this.rootPath] = this.root;
        let Ke = this.root, Je = ze.length - 1, Ye = J.sep, rt = this.rootPath, nt = !1;
        for (let dt of ze) {
          let ht = Je--;
          Ke = Ke.child(dt, {
            relative: new Array(ht).fill("..").join(Ye),
            relativePosix: new Array(ht).fill("..").join("/"),
            fullpath: rt += (nt ? "" : Ye) + dt
          }), nt = !0;
        }
        this.cwd = Ke;
      }
      depth(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.depth();
      }
      childrenCache() {
        return this.#r;
      }
      resolve(...R) {
        let J = "";
        for (let Ie = R.length - 1; Ie >= 0; Ie--) {
          let je = R[Ie];
          if (!(!je || je === ".") && (J = J ? `${je}/${J}` : je, this.isAbsolute(je))) break;
        }
        let he = this.#e.get(J);
        if (he !== void 0) return he;
        let Te = this.cwd.resolve(J).fullpath();
        return this.#e.set(J, Te), Te;
      }
      resolvePosix(...R) {
        let J = "";
        for (let Ie = R.length - 1; Ie >= 0; Ie--) {
          let je = R[Ie];
          if (!(!je || je === ".") && (J = J ? `${je}/${J}` : je, this.isAbsolute(je))) break;
        }
        let he = this.#t.get(J);
        if (he !== void 0) return he;
        let Te = this.cwd.resolve(J).fullpathPosix();
        return this.#t.set(J, Te), Te;
      }
      relative(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.relative();
      }
      relativePosix(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.relativePosix();
      }
      basename(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.name;
      }
      dirname(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), (R.parent || R).fullpath();
      }
      async readdir(R = this.cwd, J = { withFileTypes: !0 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he } = J;
        if (R.canReaddir()) {
          let Te = await R.readdir();
          return he ? Te : Te.map((Ie) => Ie.name);
        } else return [];
      }
      readdirSync(R = this.cwd, J = { withFileTypes: !0 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0 } = J;
        return R.canReaddir() ? he ? R.readdirSync() : R.readdirSync().map((Te) => Te.name) : [];
      }
      async lstat(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.lstat();
      }
      lstatSync(R = this.cwd) {
        return typeof R == "string" && (R = this.cwd.resolve(R)), R.lstatSync();
      }
      async readlink(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R.withFileTypes, R = this.cwd);
        let he = await R.readlink();
        return J ? he : he?.fullpath();
      }
      readlinkSync(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R.withFileTypes, R = this.cwd);
        let he = R.readlinkSync();
        return J ? he : he?.fullpath();
      }
      async realpath(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R.withFileTypes, R = this.cwd);
        let he = await R.realpath();
        return J ? he : he?.fullpath();
      }
      realpathSync(R = this.cwd, { withFileTypes: J } = { withFileTypes: !1 }) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R.withFileTypes, R = this.cwd);
        let he = R.realpathSync();
        return J ? he : he?.fullpath();
      }
      async walk(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0, follow: Te = !1, filter: Ie, walkFilter: je } = J, Ue = [];
        (!Ie || Ie(R)) && Ue.push(he ? R : R.fullpath());
        let ze = /* @__PURE__ */ new Set(), Ke = (Ye, rt) => {
          ze.add(Ye), Ye.readdirCB((nt, dt) => {
            if (nt) return rt(nt);
            let ht = dt.length;
            if (!ht) return rt();
            let bt = () => {
              --ht === 0 && rt();
            };
            for (let kt of dt) (!Ie || Ie(kt)) && Ue.push(he ? kt : kt.fullpath()), Te && kt.isSymbolicLink() ? kt.realpath().then((qt) => qt?.isUnknown() ? qt.lstat() : qt).then((qt) => qt?.shouldWalk(ze, je) ? Ke(qt, bt) : bt()) : kt.shouldWalk(ze, je) ? Ke(kt, bt) : bt();
          }, !0);
        }, Je = R;
        return new Promise((Ye, rt) => {
          Ke(Je, (nt) => {
            if (nt) return rt(nt);
            Ye(Ue);
          });
        });
      }
      walkSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0, follow: Te = !1, filter: Ie, walkFilter: je } = J, Ue = [];
        (!Ie || Ie(R)) && Ue.push(he ? R : R.fullpath());
        let ze = /* @__PURE__ */ new Set([R]);
        for (let Ke of ze) {
          let Je = Ke.readdirSync();
          for (let Ye of Je) {
            (!Ie || Ie(Ye)) && Ue.push(he ? Ye : Ye.fullpath());
            let rt = Ye;
            if (Ye.isSymbolicLink()) {
              if (!(Te && (rt = Ye.realpathSync()))) continue;
              rt.isUnknown() && rt.lstatSync();
            }
            rt.shouldWalk(ze, je) && ze.add(rt);
          }
        }
        return Ue;
      }
      [Symbol.asyncIterator]() {
        return this.iterate();
      }
      iterate(R = this.cwd, J = {}) {
        return typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd), this.stream(R, J)[Symbol.asyncIterator]();
      }
      [Symbol.iterator]() {
        return this.iterateSync();
      }
      *iterateSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0, follow: Te = !1, filter: Ie, walkFilter: je } = J;
        (!Ie || Ie(R)) && (yield he ? R : R.fullpath());
        let Ue = /* @__PURE__ */ new Set([R]);
        for (let ze of Ue) {
          let Ke = ze.readdirSync();
          for (let Je of Ke) {
            (!Ie || Ie(Je)) && (yield he ? Je : Je.fullpath());
            let Ye = Je;
            if (Je.isSymbolicLink()) {
              if (!(Te && (Ye = Je.realpathSync()))) continue;
              Ye.isUnknown() && Ye.lstatSync();
            }
            Ye.shouldWalk(Ue, je) && Ue.add(Ye);
          }
        }
      }
      stream(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0, follow: Te = !1, filter: Ie, walkFilter: je } = J, Ue = new me.Minipass({ objectMode: !0 });
        (!Ie || Ie(R)) && Ue.write(he ? R : R.fullpath());
        let ze = /* @__PURE__ */ new Set(), Ke = [R], Je = 0, Ye = () => {
          let rt = !1;
          for (; !rt; ) {
            let nt = Ke.shift();
            if (!nt) {
              Je === 0 && Ue.end();
              return;
            }
            Je++, ze.add(nt);
            let dt = (bt, kt, qt = !1) => {
              if (bt) return Ue.emit("error", bt);
              if (Te && !qt) {
                let xt = [];
                for (let Gt of kt) Gt.isSymbolicLink() && xt.push(Gt.realpath().then((vs) => vs?.isUnknown() ? vs.lstat() : vs));
                if (xt.length) {
                  Promise.all(xt).then(() => dt(null, kt, !0));
                  return;
                }
              }
              for (let xt of kt) xt && (!Ie || Ie(xt)) && (Ue.write(he ? xt : xt.fullpath()) || (rt = !0));
              Je--;
              for (let xt of kt) {
                let Gt = xt.realpathCached() || xt;
                Gt.shouldWalk(ze, je) && Ke.push(Gt);
              }
              rt && !Ue.flowing ? Ue.once("drain", Ye) : ht || Ye();
            }, ht = !0;
            nt.readdirCB(dt, !0), ht = !1;
          }
        };
        return Ye(), Ue;
      }
      streamSync(R = this.cwd, J = {}) {
        typeof R == "string" ? R = this.cwd.resolve(R) : R instanceof fe || (J = R, R = this.cwd);
        let { withFileTypes: he = !0, follow: Te = !1, filter: Ie, walkFilter: je } = J, Ue = new me.Minipass({ objectMode: !0 }), ze = /* @__PURE__ */ new Set();
        (!Ie || Ie(R)) && Ue.write(he ? R : R.fullpath());
        let Ke = [R], Je = 0, Ye = () => {
          let rt = !1;
          for (; !rt; ) {
            let nt = Ke.shift();
            if (!nt) {
              Je === 0 && Ue.end();
              return;
            }
            Je++, ze.add(nt);
            let dt = nt.readdirSync();
            for (let ht of dt) (!Ie || Ie(ht)) && (Ue.write(he ? ht : ht.fullpath()) || (rt = !0));
            Je--;
            for (let ht of dt) {
              let bt = ht;
              if (ht.isSymbolicLink()) {
                if (!(Te && (bt = ht.realpathSync()))) continue;
                bt.isUnknown() && bt.lstatSync();
              }
              bt.shouldWalk(ze, je) && Ke.push(bt);
            }
          }
          rt && !Ue.flowing && Ue.once("drain", Ye);
        };
        return Ye(), Ue;
      }
      chdir(R = this.cwd) {
        let J = this.cwd;
        this.cwd = typeof R == "string" ? this.cwd.resolve(R) : R, this.cwd[ve](J);
      }
    };
    M.PathScurryBase = ee;
    var ce = class extends ee {
      sep = "\\";
      constructor(R = process.cwd(), J = {}) {
        let { nocase: he = !0 } = J;
        super(R, j.win32, "\\", {
          ...J,
          nocase: he
        }), this.nocase = he;
        for (let Te = this.cwd; Te; Te = Te.parent) Te.nocase = this.nocase;
      }
      parseRootPath(R) {
        return j.win32.parse(R).root.toUpperCase();
      }
      newRoot(R) {
        return new V(this.rootPath, ae, void 0, this.roots, this.nocase, this.childrenCache(), { fs: R });
      }
      isAbsolute(R) {
        return R.startsWith("/") || R.startsWith("\\") || /^[a-z]:(\/|\\)/i.test(R);
      }
    };
    M.PathScurryWin32 = ce;
    var ge = class extends ee {
      sep = "/";
      constructor(R = process.cwd(), J = {}) {
        let { nocase: he = !1 } = J;
        super(R, j.posix, "/", {
          ...J,
          nocase: he
        }), this.nocase = he;
      }
      parseRootPath(R) {
        return "/";
      }
      newRoot(R) {
        return new X(this.rootPath, ae, void 0, this.roots, this.nocase, this.childrenCache(), { fs: R });
      }
      isAbsolute(R) {
        return R.startsWith("/");
      }
    };
    M.PathScurryPosix = ge;
    var _e = class extends ge {
      constructor(R = process.cwd(), J = {}) {
        let { nocase: he = !0 } = J;
        super(R, {
          ...J,
          nocase: he
        });
      }
    };
    M.PathScurryDarwin = _e, M.Path = process.platform === "win32" ? V : X, M.PathScurry = process.platform === "win32" ? ce : process.platform === "darwin" ? _e : ge;
  }), f = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.Pattern = void 0;
    var N = o(), L = (j) => j.length >= 1, te = (j) => j.length >= 1, H = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
    M.Pattern = class Jh {
      #e;
      #t;
      #r;
      length;
      #n;
      #s;
      #c;
      #f;
      #u;
      #o;
      #p = !0;
      constructor(P, k, U, Q) {
        if (!L(P)) throw new TypeError("empty pattern list");
        if (!te(k)) throw new TypeError("empty glob list");
        if (k.length !== P.length) throw new TypeError("mismatched pattern list and glob list lengths");
        if (this.length = P.length, U < 0 || U >= this.length) throw new TypeError("index out of range");
        if (this.#e = P, this.#t = k, this.#r = U, this.#n = Q, this.#r === 0) {
          if (this.isUNC()) {
            let [ue, me, we, Z, ...G] = this.#e, [Y, ne, le, B, ...W] = this.#t;
            G[0] === "" && (G.shift(), W.shift());
            let ae = [
              ue,
              me,
              we,
              Z,
              ""
            ].join("/"), Re = [
              Y,
              ne,
              le,
              B,
              ""
            ].join("/");
            this.#e = [ae, ...G], this.#t = [Re, ...W], this.length = this.#e.length;
          } else if (this.isDrive() || this.isAbsolute()) {
            let [ue, ...me] = this.#e, [we, ...Z] = this.#t;
            me[0] === "" && (me.shift(), Z.shift());
            let G = ue + "/", Y = we + "/";
            this.#e = [G, ...me], this.#t = [Y, ...Z], this.length = this.#e.length;
          }
        }
      }
      [H]() {
        return "Pattern <" + this.#t.slice(this.#r).join("/") + ">";
      }
      pattern() {
        return this.#e[this.#r];
      }
      isString() {
        return typeof this.#e[this.#r] == "string";
      }
      isGlobstar() {
        return this.#e[this.#r] === N.GLOBSTAR;
      }
      isRegExp() {
        return this.#e[this.#r] instanceof RegExp;
      }
      globString() {
        return this.#c = this.#c || (this.#r === 0 ? this.isAbsolute() ? this.#t[0] + this.#t.slice(1).join("/") : this.#t.join("/") : this.#t.slice(this.#r).join("/"));
      }
      hasMore() {
        return this.length > this.#r + 1;
      }
      rest() {
        return this.#s !== void 0 ? this.#s : this.hasMore() ? (this.#s = new Jh(this.#e, this.#t, this.#r + 1, this.#n), this.#s.#o = this.#o, this.#s.#u = this.#u, this.#s.#f = this.#f, this.#s) : this.#s = null;
      }
      isUNC() {
        let P = this.#e;
        return this.#u !== void 0 ? this.#u : this.#u = this.#n === "win32" && this.#r === 0 && P[0] === "" && P[1] === "" && typeof P[2] == "string" && !!P[2] && typeof P[3] == "string" && !!P[3];
      }
      isDrive() {
        let P = this.#e;
        return this.#f !== void 0 ? this.#f : this.#f = this.#n === "win32" && this.#r === 0 && this.length > 1 && typeof P[0] == "string" && /^[a-z]:$/i.test(P[0]);
      }
      isAbsolute() {
        let P = this.#e;
        return this.#o !== void 0 ? this.#o : this.#o = P[0] === "" && P.length > 1 || this.isDrive() || this.isUNC();
      }
      root() {
        let P = this.#e[0];
        return typeof P == "string" && this.isAbsolute() && this.#r === 0 ? P : "";
      }
      checkFollowGlobstar() {
        return !(this.#r === 0 || !this.isGlobstar() || !this.#p);
      }
      markFollowGlobstar() {
        return this.#r === 0 || !this.isGlobstar() || !this.#p ? !1 : (this.#p = !1, !0);
      }
    };
  }), p = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.Ignore = void 0;
    var N = o(), L = f(), te = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", H = class {
      relative;
      relativeChildren;
      absolute;
      absoluteChildren;
      platform;
      mmopts;
      constructor(j, { nobrace: P, nocase: k, noext: U, noglobstar: Q, platform: ue = te }) {
        this.relative = [], this.absolute = [], this.relativeChildren = [], this.absoluteChildren = [], this.platform = ue, this.mmopts = {
          dot: !0,
          nobrace: P,
          nocase: k,
          noext: U,
          noglobstar: Q,
          optimizationLevel: 2,
          platform: ue,
          nocomment: !0,
          nonegate: !0
        };
        for (let me of j) this.add(me);
      }
      add(j) {
        let P = new N.Minimatch(j, this.mmopts);
        for (let k = 0; k < P.set.length; k++) {
          let U = P.set[k], Q = P.globParts[k];
          if (!U || !Q) throw new Error("invalid pattern object");
          for (; U[0] === "." && Q[0] === "."; ) U.shift(), Q.shift();
          let ue = new L.Pattern(U, Q, 0, this.platform), me = new N.Minimatch(ue.globString(), this.mmopts), we = Q[Q.length - 1] === "**", Z = ue.isAbsolute();
          Z ? this.absolute.push(me) : this.relative.push(me), we && (Z ? this.absoluteChildren.push(me) : this.relativeChildren.push(me));
        }
      }
      ignored(j) {
        let P = j.fullpath(), k = `${P}/`, U = j.relative() || ".", Q = `${U}/`;
        for (let ue of this.relative) if (ue.match(U) || ue.match(Q)) return !0;
        for (let ue of this.absolute) if (ue.match(P) || ue.match(k)) return !0;
        return !1;
      }
      childrenIgnored(j) {
        let P = j.fullpath() + "/", k = (j.relative() || ".") + "/";
        for (let U of this.relativeChildren) if (U.match(k)) return !0;
        for (let U of this.absoluteChildren) if (U.match(P)) return !0;
        return !1;
      }
    };
    M.Ignore = H;
  }), g = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.Processor = M.SubWalks = M.MatchRecord = M.HasWalkedCache = void 0;
    var N = o(), L = class Xh {
      store;
      constructor(P = /* @__PURE__ */ new Map()) {
        this.store = P;
      }
      copy() {
        return new Xh(new Map(this.store));
      }
      hasWalked(P, k) {
        return this.store.get(P.fullpath())?.has(k.globString());
      }
      storeWalked(P, k) {
        let U = P.fullpath(), Q = this.store.get(U);
        Q ? Q.add(k.globString()) : this.store.set(U, /* @__PURE__ */ new Set([k.globString()]));
      }
    };
    M.HasWalkedCache = L;
    var te = class {
      store = /* @__PURE__ */ new Map();
      add(j, P, k) {
        let U = (P ? 2 : 0) | (k ? 1 : 0), Q = this.store.get(j);
        this.store.set(j, Q === void 0 ? U : U & Q);
      }
      entries() {
        return [...this.store.entries()].map(([j, P]) => [
          j,
          !!(P & 2),
          !!(P & 1)
        ]);
      }
    };
    M.MatchRecord = te;
    var H = class {
      store = /* @__PURE__ */ new Map();
      add(j, P) {
        if (!j.canReaddir()) return;
        let k = this.store.get(j);
        k ? k.find((U) => U.globString() === P.globString()) || k.push(P) : this.store.set(j, [P]);
      }
      get(j) {
        let P = this.store.get(j);
        if (!P) throw new Error("attempting to walk unknown path");
        return P;
      }
      entries() {
        return this.keys().map((j) => [j, this.store.get(j)]);
      }
      keys() {
        return [...this.store.keys()].filter((j) => j.canReaddir());
      }
    };
    M.SubWalks = H, M.Processor = class Qh {
      hasWalkedCache;
      matches = new te();
      subwalks = new H();
      patterns;
      follow;
      dot;
      opts;
      constructor(P, k) {
        this.opts = P, this.follow = !!P.follow, this.dot = !!P.dot, this.hasWalkedCache = k ? k.copy() : new L();
      }
      processPatterns(P, k) {
        this.patterns = k;
        let U = k.map((Q) => [P, Q]);
        for (let [Q, ue] of U) {
          this.hasWalkedCache.storeWalked(Q, ue);
          let me = ue.root(), we = ue.isAbsolute() && this.opts.absolute !== !1;
          if (me) {
            Q = Q.resolve(me === "/" && this.opts.root !== void 0 ? this.opts.root : me);
            let ne = ue.rest();
            if (ne) ue = ne;
            else {
              this.matches.add(Q, !0, !1);
              continue;
            }
          }
          if (Q.isENOENT()) continue;
          let Z, G, Y = !1;
          for (; typeof (Z = ue.pattern()) == "string" && (G = ue.rest()); ) Q = Q.resolve(Z), ue = G, Y = !0;
          if (Z = ue.pattern(), G = ue.rest(), Y) {
            if (this.hasWalkedCache.hasWalked(Q, ue)) continue;
            this.hasWalkedCache.storeWalked(Q, ue);
          }
          if (typeof Z == "string") {
            let ne = Z === ".." || Z === "" || Z === ".";
            this.matches.add(Q.resolve(Z), we, ne);
            continue;
          } else if (Z === N.GLOBSTAR) {
            (!Q.isSymbolicLink() || this.follow || ue.checkFollowGlobstar()) && this.subwalks.add(Q, ue);
            let ne = G?.pattern(), le = G?.rest();
            if (!G || (ne === "" || ne === ".") && !le) this.matches.add(Q, we, ne === "" || ne === ".");
            else if (ne === "..") {
              let B = Q.parent || Q;
              le ? this.hasWalkedCache.hasWalked(B, le) || this.subwalks.add(B, le) : this.matches.add(B, we, !0);
            }
          } else Z instanceof RegExp && this.subwalks.add(Q, ue);
        }
        return this;
      }
      subwalkTargets() {
        return this.subwalks.keys();
      }
      child() {
        return new Qh(this.opts, this.hasWalkedCache);
      }
      filterEntries(P, k) {
        let U = this.subwalks.get(P), Q = this.child();
        for (let ue of k) for (let me of U) {
          let we = me.isAbsolute(), Z = me.pattern(), G = me.rest();
          Z === N.GLOBSTAR ? Q.testGlobstar(ue, me, G, we) : Z instanceof RegExp ? Q.testRegExp(ue, Z, G, we) : Q.testString(ue, Z, G, we);
        }
        return Q;
      }
      testGlobstar(P, k, U, Q) {
        if ((this.dot || !P.name.startsWith(".")) && (k.hasMore() || this.matches.add(P, Q, !1), P.canReaddir() && (this.follow || !P.isSymbolicLink() ? this.subwalks.add(P, k) : P.isSymbolicLink() && (U && k.checkFollowGlobstar() ? this.subwalks.add(P, U) : k.markFollowGlobstar() && this.subwalks.add(P, k)))), U) {
          let ue = U.pattern();
          if (typeof ue == "string" && ue !== ".." && ue !== "" && ue !== ".") this.testString(P, ue, U.rest(), Q);
          else if (ue === "..") {
            let me = P.parent || P;
            this.subwalks.add(me, U);
          } else ue instanceof RegExp && this.testRegExp(P, ue, U.rest(), Q);
        }
      }
      testRegExp(P, k, U, Q) {
        k.test(P.name) && (U ? this.subwalks.add(P, U) : this.matches.add(P, Q, !1));
      }
      testString(P, k, U, Q) {
        P.isNamed(k) && (U ? this.subwalks.add(P, U) : this.matches.add(P, Q, !1));
      }
    };
  }), m = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.GlobStream = M.GlobWalker = M.GlobUtil = void 0;
    var N = a(), L = p(), te = g(), H = (U, Q) => typeof U == "string" ? new L.Ignore([U], Q) : Array.isArray(U) ? new L.Ignore(U, Q) : U, j = class {
      path;
      patterns;
      opts;
      seen = /* @__PURE__ */ new Set();
      paused = !1;
      aborted = !1;
      #e = [];
      #t;
      #r;
      signal;
      maxDepth;
      includeChildMatches;
      constructor(U, Q, ue) {
        if (this.patterns = U, this.path = Q, this.opts = ue, this.#r = !ue.posix && ue.platform === "win32" ? "\\" : "/", this.includeChildMatches = ue.includeChildMatches !== !1, (ue.ignore || !this.includeChildMatches) && (this.#t = H(ue.ignore ?? [], ue), !this.includeChildMatches && typeof this.#t.add != "function")) throw new Error("cannot ignore child matches, ignore lacks add() method.");
        this.maxDepth = ue.maxDepth || 1 / 0, ue.signal && (this.signal = ue.signal, this.signal.addEventListener("abort", () => {
          this.#e.length = 0;
        }));
      }
      #n(U) {
        return this.seen.has(U) || !!this.#t?.ignored?.(U);
      }
      #s(U) {
        return !!this.#t?.childrenIgnored?.(U);
      }
      pause() {
        this.paused = !0;
      }
      resume() {
        if (this.signal?.aborted) return;
        this.paused = !1;
        let U;
        for (; !this.paused && (U = this.#e.shift()); ) U();
      }
      onResume(U) {
        this.signal?.aborted || (this.paused ? this.#e.push(U) : U());
      }
      async matchCheck(U, Q) {
        if (Q && this.opts.nodir) return;
        let ue;
        if (this.opts.realpath) {
          if (ue = U.realpathCached() || await U.realpath(), !ue) return;
          U = ue;
        }
        let me = U.isUnknown() || this.opts.stat ? await U.lstat() : U;
        if (this.opts.follow && this.opts.nodir && me?.isSymbolicLink()) {
          let we = await me.realpath();
          we && (we.isUnknown() || this.opts.stat) && await we.lstat();
        }
        return this.matchCheckTest(me, Q);
      }
      matchCheckTest(U, Q) {
        return U && (this.maxDepth === 1 / 0 || U.depth() <= this.maxDepth) && (!Q || U.canReaddir()) && (!this.opts.nodir || !U.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !U.isSymbolicLink() || !U.realpathCached()?.isDirectory()) && !this.#n(U) ? U : void 0;
      }
      matchCheckSync(U, Q) {
        if (Q && this.opts.nodir) return;
        let ue;
        if (this.opts.realpath) {
          if (ue = U.realpathCached() || U.realpathSync(), !ue) return;
          U = ue;
        }
        let me = U.isUnknown() || this.opts.stat ? U.lstatSync() : U;
        if (this.opts.follow && this.opts.nodir && me?.isSymbolicLink()) {
          let we = me.realpathSync();
          we && (we?.isUnknown() || this.opts.stat) && we.lstatSync();
        }
        return this.matchCheckTest(me, Q);
      }
      matchFinish(U, Q) {
        if (this.#n(U)) return;
        if (!this.includeChildMatches && this.#t?.add) {
          let we = `${U.relativePosix()}/**`;
          this.#t.add(we);
        }
        let ue = this.opts.absolute === void 0 ? Q : this.opts.absolute;
        this.seen.add(U);
        let me = this.opts.mark && U.isDirectory() ? this.#r : "";
        if (this.opts.withFileTypes) this.matchEmit(U);
        else if (ue) {
          let we = this.opts.posix ? U.fullpathPosix() : U.fullpath();
          this.matchEmit(we + me);
        } else {
          let we = this.opts.posix ? U.relativePosix() : U.relative(), Z = this.opts.dotRelative && !we.startsWith(".." + this.#r) ? "." + this.#r : "";
          this.matchEmit(we ? Z + we + me : "." + me);
        }
      }
      async match(U, Q, ue) {
        let me = await this.matchCheck(U, ue);
        me && this.matchFinish(me, Q);
      }
      matchSync(U, Q, ue) {
        let me = this.matchCheckSync(U, ue);
        me && this.matchFinish(me, Q);
      }
      walkCB(U, Q, ue) {
        this.signal?.aborted && ue(), this.walkCB2(U, Q, new te.Processor(this.opts), ue);
      }
      walkCB2(U, Q, ue, me) {
        if (this.#s(U)) return me();
        if (this.signal?.aborted && me(), this.paused) {
          this.onResume(() => this.walkCB2(U, Q, ue, me));
          return;
        }
        ue.processPatterns(U, Q);
        let we = 1, Z = () => {
          --we === 0 && me();
        };
        for (let [G, Y, ne] of ue.matches.entries()) this.#n(G) || (we++, this.match(G, Y, ne).then(() => Z()));
        for (let G of ue.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && G.depth() >= this.maxDepth) continue;
          we++;
          let Y = G.readdirCached();
          G.calledReaddir() ? this.walkCB3(G, Y, ue, Z) : G.readdirCB((ne, le) => this.walkCB3(G, le, ue, Z), !0);
        }
        Z();
      }
      walkCB3(U, Q, ue, me) {
        ue = ue.filterEntries(U, Q);
        let we = 1, Z = () => {
          --we === 0 && me();
        };
        for (let [G, Y, ne] of ue.matches.entries()) this.#n(G) || (we++, this.match(G, Y, ne).then(() => Z()));
        for (let [G, Y] of ue.subwalks.entries()) we++, this.walkCB2(G, Y, ue.child(), Z);
        Z();
      }
      walkCBSync(U, Q, ue) {
        this.signal?.aborted && ue(), this.walkCB2Sync(U, Q, new te.Processor(this.opts), ue);
      }
      walkCB2Sync(U, Q, ue, me) {
        if (this.#s(U)) return me();
        if (this.signal?.aborted && me(), this.paused) {
          this.onResume(() => this.walkCB2Sync(U, Q, ue, me));
          return;
        }
        ue.processPatterns(U, Q);
        let we = 1, Z = () => {
          --we === 0 && me();
        };
        for (let [G, Y, ne] of ue.matches.entries()) this.#n(G) || this.matchSync(G, Y, ne);
        for (let G of ue.subwalkTargets()) {
          if (this.maxDepth !== 1 / 0 && G.depth() >= this.maxDepth) continue;
          we++;
          let Y = G.readdirSync();
          this.walkCB3Sync(G, Y, ue, Z);
        }
        Z();
      }
      walkCB3Sync(U, Q, ue, me) {
        ue = ue.filterEntries(U, Q);
        let we = 1, Z = () => {
          --we === 0 && me();
        };
        for (let [G, Y, ne] of ue.matches.entries()) this.#n(G) || this.matchSync(G, Y, ne);
        for (let [G, Y] of ue.subwalks.entries()) we++, this.walkCB2Sync(G, Y, ue.child(), Z);
        Z();
      }
    };
    M.GlobUtil = j;
    var P = class extends j {
      matches = /* @__PURE__ */ new Set();
      constructor(U, Q, ue) {
        super(U, Q, ue);
      }
      matchEmit(U) {
        this.matches.add(U);
      }
      async walk() {
        if (this.signal?.aborted) throw this.signal.reason;
        return this.path.isUnknown() && await this.path.lstat(), await new Promise((U, Q) => {
          this.walkCB(this.path, this.patterns, () => {
            this.signal?.aborted ? Q(this.signal.reason) : U(this.matches);
          });
        }), this.matches;
      }
      walkSync() {
        if (this.signal?.aborted) throw this.signal.reason;
        return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => {
          if (this.signal?.aborted) throw this.signal.reason;
        }), this.matches;
      }
    };
    M.GlobWalker = P;
    var k = class extends j {
      results;
      constructor(U, Q, ue) {
        super(U, Q, ue), this.results = new N.Minipass({
          signal: this.signal,
          objectMode: !0
        }), this.results.on("drain", () => this.resume()), this.results.on("resume", () => this.resume());
      }
      matchEmit(U) {
        this.results.write(U), this.results.flowing || this.pause();
      }
      stream() {
        let U = this.path;
        return U.isUnknown() ? U.lstat().then(() => {
          this.walkCB(U, this.patterns, () => this.results.end());
        }) : this.walkCB(U, this.patterns, () => this.results.end()), this.results;
      }
      streamSync() {
        return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
      }
    };
    M.GlobStream = k;
  }), v = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.Glob = void 0;
    var N = o(), L = be("node:url"), te = l(), H = f(), j = m(), P = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", k = class {
      absolute;
      cwd;
      root;
      dot;
      dotRelative;
      follow;
      ignore;
      magicalBraces;
      mark;
      matchBase;
      maxDepth;
      nobrace;
      nocase;
      nodir;
      noext;
      noglobstar;
      pattern;
      platform;
      realpath;
      scurry;
      stat;
      signal;
      windowsPathsNoEscape;
      withFileTypes;
      includeChildMatches;
      opts;
      patterns;
      constructor(U, Q) {
        if (!Q) throw new TypeError("glob options required");
        if (this.withFileTypes = !!Q.withFileTypes, this.signal = Q.signal, this.follow = !!Q.follow, this.dot = !!Q.dot, this.dotRelative = !!Q.dotRelative, this.nodir = !!Q.nodir, this.mark = !!Q.mark, Q.cwd ? (Q.cwd instanceof URL || Q.cwd.startsWith("file://")) && (Q.cwd = (0, L.fileURLToPath)(Q.cwd)) : this.cwd = "", this.cwd = Q.cwd || "", this.root = Q.root, this.magicalBraces = !!Q.magicalBraces, this.nobrace = !!Q.nobrace, this.noext = !!Q.noext, this.realpath = !!Q.realpath, this.absolute = Q.absolute, this.includeChildMatches = Q.includeChildMatches !== !1, this.noglobstar = !!Q.noglobstar, this.matchBase = !!Q.matchBase, this.maxDepth = typeof Q.maxDepth == "number" ? Q.maxDepth : 1 / 0, this.stat = !!Q.stat, this.ignore = Q.ignore, this.withFileTypes && this.absolute !== void 0) throw new Error("cannot set absolute and withFileTypes:true");
        if (typeof U == "string" && (U = [U]), this.windowsPathsNoEscape = !!Q.windowsPathsNoEscape || Q.allowWindowsEscape === !1, this.windowsPathsNoEscape && (U = U.map((G) => G.replace(/\\/g, "/"))), this.matchBase) {
          if (Q.noglobstar) throw new TypeError("base matching requires globstar");
          U = U.map((G) => G.includes("/") ? G : `./**/${G}`);
        }
        if (this.pattern = U, this.platform = Q.platform || P, this.opts = {
          ...Q,
          platform: this.platform
        }, Q.scurry) {
          if (this.scurry = Q.scurry, Q.nocase !== void 0 && Q.nocase !== Q.scurry.nocase) throw new Error("nocase option contradicts provided scurry option");
        } else {
          let G = Q.platform === "win32" ? te.PathScurryWin32 : Q.platform === "darwin" ? te.PathScurryDarwin : Q.platform ? te.PathScurryPosix : te.PathScurry;
          this.scurry = new G(this.cwd, {
            nocase: Q.nocase,
            fs: Q.fs
          });
        }
        this.nocase = this.scurry.nocase;
        let ue = this.platform === "darwin" || this.platform === "win32", me = {
          braceExpandMax: 1e4,
          ...Q,
          dot: this.dot,
          matchBase: this.matchBase,
          nobrace: this.nobrace,
          nocase: this.nocase,
          nocaseMagicOnly: ue,
          nocomment: !0,
          noext: this.noext,
          nonegate: !0,
          optimizationLevel: 2,
          platform: this.platform,
          windowsPathsNoEscape: this.windowsPathsNoEscape,
          debug: !!this.opts.debug
        }, [we, Z] = this.pattern.map((G) => new N.Minimatch(G, me)).reduce((G, Y) => (G[0].push(...Y.set), G[1].push(...Y.globParts), G), [[], []]);
        this.patterns = we.map((G, Y) => {
          let ne = Z[Y];
          if (!ne) throw new Error("invalid pattern object");
          return new H.Pattern(G, ne, 0, this.platform);
        });
      }
      async walk() {
        return [...await new j.GlobWalker(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).walk()];
      }
      walkSync() {
        return [...new j.GlobWalker(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).walkSync()];
      }
      stream() {
        return new j.GlobStream(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).stream();
      }
      streamSync() {
        return new j.GlobStream(this.patterns, this.scurry.cwd, {
          ...this.opts,
          maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
          platform: this.platform,
          nocase: this.nocase,
          includeChildMatches: this.includeChildMatches
        }).streamSync();
      }
      iterateSync() {
        return this.streamSync()[Symbol.iterator]();
      }
      [Symbol.iterator]() {
        return this.iterateSync();
      }
      iterate() {
        return this.stream()[Symbol.asyncIterator]();
      }
      [Symbol.asyncIterator]() {
        return this.iterate();
      }
    };
    M.Glob = k;
  }), _ = t((M) => {
    "use strict";
    Object.defineProperty(M, "__esModule", { value: !0 }), M.hasMagic = void 0;
    var N = o(), L = (te, H = {}) => {
      Array.isArray(te) || (te = [te]);
      for (let j of te) if (new N.Minimatch(j, H).hasMagic()) return !0;
      return !1;
    };
    M.hasMagic = L;
  });
  Object.defineProperty(e, "__esModule", { value: !0 }), e.glob = e.sync = e.iterate = e.iterateSync = e.stream = e.streamSync = e.Ignore = e.hasMagic = e.Glob = e.unescape = e.escape = void 0, e.globStreamSync = O, e.globStream = I, e.globSync = x, e.globIterateSync = q, e.globIterate = K;
  var E = o(), S = v(), w = _(), b = o();
  Object.defineProperty(e, "escape", {
    enumerable: !0,
    get: function() {
      return b.escape;
    }
  }), Object.defineProperty(e, "unescape", {
    enumerable: !0,
    get: function() {
      return b.unescape;
    }
  });
  var A = v();
  Object.defineProperty(e, "Glob", {
    enumerable: !0,
    get: function() {
      return A.Glob;
    }
  });
  var D = _();
  Object.defineProperty(e, "hasMagic", {
    enumerable: !0,
    get: function() {
      return D.hasMagic;
    }
  });
  var C = p();
  Object.defineProperty(e, "Ignore", {
    enumerable: !0,
    get: function() {
      return C.Ignore;
    }
  });
  function O(M, N = {}) {
    return new S.Glob(M, N).streamSync();
  }
  function I(M, N = {}) {
    return new S.Glob(M, N).stream();
  }
  function x(M, N = {}) {
    return new S.Glob(M, N).walkSync();
  }
  async function F(M, N = {}) {
    return new S.Glob(M, N).walk();
  }
  function q(M, N = {}) {
    return new S.Glob(M, N).iterateSync();
  }
  function K(M, N = {}) {
    return new S.Glob(M, N).iterate();
  }
  e.streamSync = O, e.stream = Object.assign(I, { sync: O }), e.iterateSync = q, e.iterate = Object.assign(K, { sync: q }), e.sync = Object.assign(x, {
    stream: O,
    iterate: q
  }), e.glob = Object.assign(F, {
    glob: F,
    globSync: x,
    sync: e.sync,
    globStream: I,
    stream: e.stream,
    globStreamSync: O,
    streamSync: e.streamSync,
    globIterate: K,
    iterate: e.iterate,
    globIterateSync: q,
    iterateSync: e.iterateSync,
    Glob: S.Glob,
    hasMagic: w.hasMagic,
    escape: E.escape,
    unescape: E.unescape
  }), e.glob.glob = e.glob;
})), ef = /* @__PURE__ */ z(((e, t) => {
  var { glob: r } = x1(), i = be("path"), s = (d) => d.split(i.win32.sep).join(i.posix.sep);
  t.exports = (d, c) => r(s(d), c);
})), $1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("fs/promises"), i = Li(), { hasContent: s } = Vh();
  t.exports = d;
  async function d(c, n) {
    const u = await s(c, n);
    return u && u.sri ? (await r.rm(i(c, u.sri), {
      recursive: !0,
      force: !0
    }), !0) : !1;
  }
})), N1 = /* @__PURE__ */ z(((e, t) => {
  var { rm: r } = be("fs/promises"), i = ef(), s = xi(), d = Bn(), c = be("path"), n = $1();
  t.exports = u, t.exports.entry = u;
  function u(a, l, f) {
    return d.clearMemoized(), s.delete(a, l, f);
  }
  t.exports.content = o;
  function o(a, l) {
    return d.clearMemoized(), n(a, l);
  }
  t.exports.all = h;
  async function h(a) {
    d.clearMemoized();
    const l = await i(c.join(a, "*(content-*|index-*)"), {
      silent: !0,
      nosort: !0
    });
    return Promise.all(l.map((f) => r(f, {
      recursive: !0,
      force: !0
    })));
  }
})), P1 = /* @__PURE__ */ z(((e, t) => {
  var { mkdir: r, readFile: i, rm: s, stat: d, truncate: c, writeFile: n } = be("fs/promises"), u = Li(), o = Jo(), h = ef(), a = xi(), l = be("path"), f = yr(), p = (I, x) => Object.prototype.hasOwnProperty.call(I, x), g = (I) => ({
    concurrency: 20,
    log: { silly() {
    } },
    ...I
  });
  t.exports = m;
  async function m(I, x) {
    x = g(x), x.log.silly("verify", "verifying cache at", I);
    const F = [
      v,
      E,
      S,
      b,
      D,
      C,
      _
    ], q = {};
    for (const K of F) {
      const M = K.name, N = /* @__PURE__ */ new Date(), L = await K(I, x);
      L && Object.keys(L).forEach((H) => {
        q[H] = L[H];
      });
      const te = /* @__PURE__ */ new Date();
      q.runTime || (q.runTime = {}), q.runTime[M] = te - N;
    }
    return q.runTime.total = q.endTime - q.startTime, x.log.silly("verify", "verification finished for", I, "in", `${q.runTime.total}ms`), q;
  }
  async function v() {
    return { startTime: /* @__PURE__ */ new Date() };
  }
  async function _() {
    return { endTime: /* @__PURE__ */ new Date() };
  }
  async function E(I, x) {
    return x.log.silly("verify", "fixing cache permissions"), await r(I, { recursive: !0 }), null;
  }
  async function S(I, x) {
    x.log.silly("verify", "garbage collecting content");
    const { default: F } = await Promise.resolve().then(() => (Ei(), fo)), q = a.lsStream(I), K = /* @__PURE__ */ new Set();
    q.on("data", (te) => {
      if (x.filter && !x.filter(te)) return;
      const H = f.parse(te.integrity);
      for (const j in H) K.add(H[j].toString());
    }), await new Promise((te, H) => {
      q.on("end", te).on("error", H);
    });
    const M = u.contentDir(I), N = await h(l.join(M, "**"), {
      follow: !1,
      nodir: !0,
      nosort: !0
    }), L = {
      verifiedContent: 0,
      reclaimedCount: 0,
      reclaimedSize: 0,
      badContentCount: 0,
      keptSize: 0
    };
    return await F(N, async (te) => {
      const H = te.split(/[/\\]/), j = H.slice(H.length - 3).join(""), P = H[H.length - 4], k = f.fromHex(j, P);
      if (K.has(k.toString())) {
        const U = await w(te, k);
        U.valid ? (L.verifiedContent++, L.keptSize += U.size) : (L.reclaimedCount++, L.badContentCount++, L.reclaimedSize += U.size);
      } else {
        L.reclaimedCount++;
        const U = await d(te);
        await s(te, {
          recursive: !0,
          force: !0
        }), L.reclaimedSize += U.size;
      }
      return L;
    }, { concurrency: x.concurrency }), L;
  }
  async function w(I, x) {
    const F = {};
    try {
      const { size: q } = await d(I);
      F.size = q, F.valid = !0, await f.checkStream(new o.ReadStream(I), x);
    } catch (q) {
      if (q.code === "ENOENT") return {
        size: 0,
        valid: !1
      };
      if (q.code !== "EINTEGRITY") throw q;
      await s(I, {
        recursive: !0,
        force: !0
      }), F.valid = !1;
    }
    return F;
  }
  async function b(I, x) {
    x.log.silly("verify", "rebuilding index");
    const { default: F } = await Promise.resolve().then(() => (Ei(), fo)), q = await a.ls(I), K = {
      missingContent: 0,
      rejectedEntries: 0,
      totalEntries: 0
    }, M = {};
    for (const N in q)
      if (p(q, N)) {
        const L = a.hashKey(N), te = q[N], H = x.filter && !x.filter(te);
        H && K.rejectedEntries++, M[L] && !H ? M[L].push(te) : M[L] && H || (H ? (M[L] = [], M[L]._path = a.bucketPath(I, N)) : (M[L] = [te], M[L]._path = a.bucketPath(I, N)));
      }
    return await F(Object.keys(M), (N) => A(I, M[N], K, x), { concurrency: x.concurrency }), K;
  }
  async function A(I, x, F) {
    await c(x._path);
    for (const q of x) {
      const K = u(I, q.integrity);
      try {
        await d(K), await a.insert(I, q.key, q.integrity, {
          metadata: q.metadata,
          size: q.size,
          time: q.time
        }), F.totalEntries++;
      } catch (M) {
        if (M.code === "ENOENT")
          F.rejectedEntries++, F.missingContent++;
        else throw M;
      }
    }
  }
  function D(I, x) {
    return x.log.silly("verify", "cleaning tmp directory"), s(l.join(I, "tmp"), {
      recursive: !0,
      force: !0
    });
  }
  async function C(I, x) {
    const F = l.join(I, "_lastverified");
    return x.log.silly("verify", "writing verifile to " + F), n(F, `${Date.now()}`);
  }
  t.exports.lastRun = O;
  async function O(I) {
    const x = await i(l.join(I, "_lastverified"), { encoding: "utf8" });
    return /* @__PURE__ */ new Date(+x);
  }
})), B1 = /* @__PURE__ */ z(((e, t) => {
  var r = I1(), i = L1(), s = N1(), d = P1(), { clearMemoized: c } = Bn(), n = Zo(), u = xi();
  t.exports.index = {}, t.exports.index.compact = u.compact, t.exports.index.insert = u.insert, t.exports.ls = u.ls, t.exports.ls.stream = u.lsStream, t.exports.get = r, t.exports.get.byDigest = r.byDigest, t.exports.get.stream = r.stream, t.exports.get.stream.byDigest = r.stream.byDigest, t.exports.get.copy = r.copy, t.exports.get.copy.byDigest = r.copy.byDigest, t.exports.get.info = r.info, t.exports.get.hasContent = r.hasContent, t.exports.put = i, t.exports.put.stream = i.stream, t.exports.rm = s.entry, t.exports.rm.all = s.all, t.exports.rm.entry = t.exports.rm, t.exports.rm.content = s.content, t.exports.clearMemoized = c, t.exports.tmp = {}, t.exports.tmp.mkdir = n.mkdir, t.exports.tmp.withTmp = n.withTmp, t.exports.verify = d, t.exports.verify.lastRun = d.lastRun;
})), tf = /* @__PURE__ */ z(((e, t) => {
  var r = ki(), i = class extends r {
    #e = [];
    #t = /* @__PURE__ */ new Map();
    constructor(s, ...d) {
      super(), this.#e = s.events, d.length && this.push(...d);
    }
    on(s, d) {
      return this.#e.includes(s) && this.#t.has(s) ? d(...this.#t.get(s)) : super.on(s, d);
    }
    emit(s, ...d) {
      return this.#e.includes(s) && this.#t.set(s, d), super.emit(s, ...d);
    }
  };
  t.exports = i;
})), F1 = /* @__PURE__ */ z(((e, t) => {
  var { URL: r, format: i } = be("url"), s = {
    auth: !1,
    fragment: !1,
    search: !0,
    unicode: !1
  }, d = (c) => `make-fetch-happen:request-cache:${i(new r(c.url), s)}`;
  t.exports = d;
})), M1 = /* @__PURE__ */ z(((e, t) => {
  var r = class {
    #e = 1;
    #t = null;
    #r = [];
    #n = null;
    #s;
    #c = null;
    #f;
    #u;
    #o = null;
    #p;
    constructor(i, s = {}) {
      this.#f = [...i], this.#u = [...i], this.#p = s.unref, this.#s = s.maxRetryTime || 1 / 0, s.forever && (this.#t = [...this.#u]);
    }
    get timeouts() {
      return [...this.#u];
    }
    get errors() {
      return [...this.#r];
    }
    get attempts() {
      return this.#e;
    }
    get mainError() {
      let i = null;
      if (this.#r.length) {
        let s = 0;
        const d = {};
        for (let c = 0; c < this.#r.length; c++) {
          const n = this.#r[c], { message: u } = n;
          d[u] || (d[u] = 0), d[u]++, d[u] >= s && (i = n, s = d[u]);
        }
      }
      return i;
    }
    reset() {
      this.#e = 1, this.#u = [...this.#f];
    }
    stop() {
      this.#o && clearTimeout(this.#o), this.#u = [], this.#t = null;
    }
    retry(i) {
      if (this.#r.push(i), (/* @__PURE__ */ new Date()).getTime() - this.#c >= this.#s)
        return this.#r.unshift(/* @__PURE__ */ new Error("RetryOperation timeout occurred")), !1;
      let s = this.#u.shift();
      if (s === void 0) if (this.#t)
        this.#r.pop(), s = this.#t.at(-1);
      else return !1;
      return this.#o = setTimeout(() => {
        this.#e++, this.#n(this.#e);
      }, s), this.#p && this.#o.unref(), !0;
    }
    attempt(i) {
      this.#n = i, this.#c = (/* @__PURE__ */ new Date()).getTime(), this.#n(this.#e);
    }
  };
  t.exports = { RetryOperation: r };
})), j1 = /* @__PURE__ */ z(((e, t) => {
  var { RetryOperation: r } = M1(), i = (c, n) => Math.min(Math.round((1 + (n.randomize ? Math.random() : 0)) * Math.max(n.minTimeout, 1) * Math.pow(n.factor, c)), n.maxTimeout), s = (c) => c?.code === "EPROMISERETRY" && Object.hasOwn(c, "retried"), d = async (c, n = {}) => {
    let u = [];
    if (n instanceof Array) u = [...n];
    else {
      n.retries === 1 / 0 && (n.forever = !0, delete n.retries);
      const h = {
        retries: 10,
        factor: 2,
        minTimeout: 1 * 1e3,
        maxTimeout: 1 / 0,
        randomize: !1,
        ...n
      };
      if (h.minTimeout > h.maxTimeout) throw new Error("minTimeout is greater than maxTimeout");
      if (h.retries) {
        for (let a = 0; a < h.retries; a++) u.push(i(a, h));
        u.sort((a, l) => a - l);
      } else n.forever && u.push(i(0, h));
    }
    const o = new r(u, {
      forever: n.forever,
      unref: n.unref,
      maxRetryTime: n.maxRetryTime
    });
    return new Promise(function(h, a) {
      o.attempt(async (l) => {
        try {
          return h(await c((f) => {
            throw Object.assign(/* @__PURE__ */ new Error("Retrying"), {
              code: "EPROMISERETRY",
              retried: f
            });
          }, l, o));
        } catch (f) {
          if (!s(f)) return a(f);
          if (!o.retry(f.retried || /* @__PURE__ */ new Error())) return a(f.retried);
        }
      });
    });
  };
  t.exports = { promiseRetry: d };
})), rf = /* @__PURE__ */ z(((e, t) => {
  var { LRUCache: r } = Ri(), i = be("dns"), s = new r({ max: 50 }), d = ({ family: c = 0, hints: n = i.ADDRCONFIG, all: u = !1, verbatim: o = void 0, ttl: h = 300 * 1e3, lookup: a = i.lookup }) => ({
    hints: n,
    lookup: (l, ...f) => {
      const p = f.pop(), g = f[0] ?? {}, m = {
        family: c,
        hints: n,
        all: u,
        verbatim: o,
        ...typeof g == "number" ? { family: g } : g
      }, v = JSON.stringify({
        hostname: l,
        ...m
      });
      if (s.has(v)) {
        const _ = s.get(v);
        return process.nextTick(p, null, ..._);
      }
      a(l, m, (_, ...E) => _ ? p(_) : (s.set(v, E, { ttl: h }), p(null, ...E)));
    }
  });
  t.exports = {
    cache: s,
    getOptions: d
  };
})), nf = /* @__PURE__ */ z(((e, t) => {
  var r = rf(), i = (c) => {
    const n = parseInt(c.family ?? "0", 10), u = c.keepAlive ?? !0, o = {
      keepAliveMsecs: u ? 1e3 : void 0,
      maxSockets: c.maxSockets ?? 15,
      maxTotalSockets: 1 / 0,
      maxFreeSockets: u ? 256 : void 0,
      scheduling: "fifo",
      ...c,
      family: n,
      keepAlive: u,
      timeouts: {
        idle: c.timeout ?? 0,
        connection: 0,
        response: 0,
        transfer: 0,
        ...c.timeouts
      },
      ...r.getOptions({
        family: n,
        ...c.dns
      })
    };
    return delete o.timeout, o;
  }, s = (c) => {
    let n = "";
    const u = Object.entries(c).sort((o, h) => o[0] - h[0]);
    for (let [o, h] of u)
      h == null ? h = "null" : h instanceof URL ? h = h.toString() : typeof h == "object" && (h = s(h)), n += `${o}:${h}:`;
    return n;
  }, d = ({ secureEndpoint: c, ...n }) => s({
    secureEndpoint: !!c,
    family: n.family,
    hints: n.hints,
    localAddress: n.localAddress,
    strictSsl: c ? !!n.rejectUnauthorized : !1,
    ca: c ? n.ca : null,
    cert: c ? n.cert : null,
    key: c ? n.key : null,
    keepAlive: n.keepAlive,
    keepAliveMsecs: n.keepAliveMsecs,
    maxSockets: n.maxSockets,
    maxTotalSockets: n.maxTotalSockets,
    maxFreeSockets: n.maxFreeSockets,
    scheduling: n.scheduling,
    timeouts: n.timeouts,
    proxy: n.proxy
  });
  t.exports = {
    normalizeOptions: i,
    cacheOptions: d
  };
})), U1 = /* @__PURE__ */ z(((e, t) => {
  var r = 1e3, i = r * 60, s = i * 60, d = s * 24, c = d * 7, n = d * 365.25;
  t.exports = function(l, f) {
    f = f || {};
    var p = typeof l;
    if (p === "string" && l.length > 0) return u(l);
    if (p === "number" && isFinite(l)) return f.long ? h(l) : o(l);
    throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(l));
  };
  function u(l) {
    if (l = String(l), !(l.length > 100)) {
      var f = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);
      if (f) {
        var p = parseFloat(f[1]);
        switch ((f[2] || "ms").toLowerCase()) {
          case "years":
          case "year":
          case "yrs":
          case "yr":
          case "y":
            return p * n;
          case "weeks":
          case "week":
          case "w":
            return p * c;
          case "days":
          case "day":
          case "d":
            return p * d;
          case "hours":
          case "hour":
          case "hrs":
          case "hr":
          case "h":
            return p * s;
          case "minutes":
          case "minute":
          case "mins":
          case "min":
          case "m":
            return p * i;
          case "seconds":
          case "second":
          case "secs":
          case "sec":
          case "s":
            return p * r;
          case "milliseconds":
          case "millisecond":
          case "msecs":
          case "msec":
          case "ms":
            return p;
          default:
            return;
        }
      }
    }
  }
  function o(l) {
    var f = Math.abs(l);
    return f >= d ? Math.round(l / d) + "d" : f >= s ? Math.round(l / s) + "h" : f >= i ? Math.round(l / i) + "m" : f >= r ? Math.round(l / r) + "s" : l + "ms";
  }
  function h(l) {
    var f = Math.abs(l);
    return f >= d ? a(l, f, d, "day") : f >= s ? a(l, f, s, "hour") : f >= i ? a(l, f, i, "minute") : f >= r ? a(l, f, r, "second") : l + " ms";
  }
  function a(l, f, p, g) {
    var m = f >= p * 1.5;
    return Math.round(l / p) + " " + g + (m ? "s" : "");
  }
})), sf = /* @__PURE__ */ z(((e, t) => {
  function r(i) {
    d.debug = d, d.default = d, d.coerce = a, d.disable = o, d.enable = n, d.enabled = h, d.humanize = U1(), d.destroy = l, Object.keys(i).forEach((f) => {
      d[f] = i[f];
    }), d.names = [], d.skips = [], d.formatters = {};
    function s(f) {
      let p = 0;
      for (let g = 0; g < f.length; g++)
        p = (p << 5) - p + f.charCodeAt(g), p |= 0;
      return d.colors[Math.abs(p) % d.colors.length];
    }
    d.selectColor = s;
    function d(f) {
      let p, g = null, m, v;
      function _(...E) {
        if (!_.enabled) return;
        const S = _, w = Number(/* @__PURE__ */ new Date());
        S.diff = w - (p || w), S.prev = p, S.curr = w, p = w, E[0] = d.coerce(E[0]), typeof E[0] != "string" && E.unshift("%O");
        let b = 0;
        E[0] = E[0].replace(/%([a-zA-Z%])/g, (A, D) => {
          if (A === "%%") return "%";
          b++;
          const C = d.formatters[D];
          if (typeof C == "function") {
            const O = E[b];
            A = C.call(S, O), E.splice(b, 1), b--;
          }
          return A;
        }), d.formatArgs.call(S, E), (S.log || d.log).apply(S, E);
      }
      return _.namespace = f, _.useColors = d.useColors(), _.color = d.selectColor(f), _.extend = c, _.destroy = d.destroy, Object.defineProperty(_, "enabled", {
        enumerable: !0,
        configurable: !1,
        get: () => g !== null ? g : (m !== d.namespaces && (m = d.namespaces, v = d.enabled(f)), v),
        set: (E) => {
          g = E;
        }
      }), typeof d.init == "function" && d.init(_), _;
    }
    function c(f, p) {
      const g = d(this.namespace + (typeof p > "u" ? ":" : p) + f);
      return g.log = this.log, g;
    }
    function n(f) {
      d.save(f), d.namespaces = f, d.names = [], d.skips = [];
      const p = (typeof f == "string" ? f : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
      for (const g of p) g[0] === "-" ? d.skips.push(g.slice(1)) : d.names.push(g);
    }
    function u(f, p) {
      let g = 0, m = 0, v = -1, _ = 0;
      for (; g < f.length; ) if (m < p.length && (p[m] === f[g] || p[m] === "*")) p[m] === "*" ? (v = m, _ = g, m++) : (g++, m++);
      else if (v !== -1)
        m = v + 1, _++, g = _;
      else return !1;
      for (; m < p.length && p[m] === "*"; ) m++;
      return m === p.length;
    }
    function o() {
      const f = [...d.names, ...d.skips.map((p) => "-" + p)].join(",");
      return d.enable(""), f;
    }
    function h(f) {
      for (const p of d.skips) if (u(f, p)) return !1;
      for (const p of d.names) if (u(f, p)) return !0;
      return !1;
    }
    function a(f) {
      return f instanceof Error ? f.stack || f.message : f;
    }
    function l() {
      console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
    }
    return d.enable(d.load()), d;
  }
  t.exports = r;
})), H1 = /* @__PURE__ */ z(((e, t) => {
  e.formatArgs = i, e.save = s, e.load = d, e.useColors = r, e.storage = c(), e.destroy = /* @__PURE__ */ (() => {
    let u = !1;
    return () => {
      u || (u = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
    };
  })(), e.colors = [
    "#0000CC",
    "#0000FF",
    "#0033CC",
    "#0033FF",
    "#0066CC",
    "#0066FF",
    "#0099CC",
    "#0099FF",
    "#00CC00",
    "#00CC33",
    "#00CC66",
    "#00CC99",
    "#00CCCC",
    "#00CCFF",
    "#3300CC",
    "#3300FF",
    "#3333CC",
    "#3333FF",
    "#3366CC",
    "#3366FF",
    "#3399CC",
    "#3399FF",
    "#33CC00",
    "#33CC33",
    "#33CC66",
    "#33CC99",
    "#33CCCC",
    "#33CCFF",
    "#6600CC",
    "#6600FF",
    "#6633CC",
    "#6633FF",
    "#66CC00",
    "#66CC33",
    "#9900CC",
    "#9900FF",
    "#9933CC",
    "#9933FF",
    "#99CC00",
    "#99CC33",
    "#CC0000",
    "#CC0033",
    "#CC0066",
    "#CC0099",
    "#CC00CC",
    "#CC00FF",
    "#CC3300",
    "#CC3333",
    "#CC3366",
    "#CC3399",
    "#CC33CC",
    "#CC33FF",
    "#CC6600",
    "#CC6633",
    "#CC9900",
    "#CC9933",
    "#CCCC00",
    "#CCCC33",
    "#FF0000",
    "#FF0033",
    "#FF0066",
    "#FF0099",
    "#FF00CC",
    "#FF00FF",
    "#FF3300",
    "#FF3333",
    "#FF3366",
    "#FF3399",
    "#FF33CC",
    "#FF33FF",
    "#FF6600",
    "#FF6633",
    "#FF9900",
    "#FF9933",
    "#FFCC00",
    "#FFCC33"
  ];
  function r() {
    if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) return !0;
    if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1;
    let u;
    return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator < "u" && navigator.userAgent && (u = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(u[1], 10) >= 31 || typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
  }
  function i(u) {
    if (u[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + u[0] + (this.useColors ? "%c " : " ") + "+" + t.exports.humanize(this.diff), !this.useColors) return;
    const o = "color: " + this.color;
    u.splice(1, 0, o, "color: inherit");
    let h = 0, a = 0;
    u[0].replace(/%[a-zA-Z%]/g, (l) => {
      l !== "%%" && (h++, l === "%c" && (a = h));
    }), u.splice(a, 0, o);
  }
  e.log = console.debug || console.log || (() => {
  });
  function s(u) {
    try {
      u ? e.storage.setItem("debug", u) : e.storage.removeItem("debug");
    } catch {
    }
  }
  function d() {
    let u;
    try {
      u = e.storage.getItem("debug") || e.storage.getItem("DEBUG");
    } catch {
    }
    return !u && typeof process < "u" && "env" in process && (u = process.env.DEBUG), u;
  }
  function c() {
    try {
      return localStorage;
    } catch {
    }
  }
  t.exports = sf()(e);
  var { formatters: n } = t.exports;
  n.j = function(u) {
    try {
      return JSON.stringify(u);
    } catch (o) {
      return "[UnexpectedJSONParseError]: " + o.message;
    }
  };
})), q1 = /* @__PURE__ */ z(((e, t) => {
  t.exports = (r, i = process.argv) => {
    const s = r.startsWith("-") ? "" : r.length === 1 ? "-" : "--", d = i.indexOf(s + r), c = i.indexOf("--");
    return d !== -1 && (c === -1 || d < c);
  };
})), G1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("os"), i = be("tty"), s = q1(), { env: d } = process, c;
  s("no-color") || s("no-colors") || s("color=false") || s("color=never") ? c = 0 : (s("color") || s("colors") || s("color=true") || s("color=always")) && (c = 1);
  function n() {
    if ("FORCE_COLOR" in d)
      return d.FORCE_COLOR === "true" ? 1 : d.FORCE_COLOR === "false" ? 0 : d.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(d.FORCE_COLOR, 10), 3);
  }
  function u(a) {
    return a === 0 ? !1 : {
      level: a,
      hasBasic: !0,
      has256: a >= 2,
      has16m: a >= 3
    };
  }
  function o(a, { streamIsTTY: l, sniffFlags: f = !0 } = {}) {
    const p = n();
    p !== void 0 && (c = p);
    const g = f ? c : p;
    if (g === 0) return 0;
    if (f) {
      if (s("color=16m") || s("color=full") || s("color=truecolor")) return 3;
      if (s("color=256")) return 2;
    }
    if (a && !l && g === void 0) return 0;
    const m = g || 0;
    if (d.TERM === "dumb") return m;
    if (process.platform === "win32") {
      const v = r.release().split(".");
      return Number(v[0]) >= 10 && Number(v[2]) >= 10586 ? Number(v[2]) >= 14931 ? 3 : 2 : 1;
    }
    if ("CI" in d)
      return [
        "TRAVIS",
        "CIRCLECI",
        "APPVEYOR",
        "GITLAB_CI",
        "GITHUB_ACTIONS",
        "BUILDKITE",
        "DRONE"
      ].some((v) => v in d) || d.CI_NAME === "codeship" ? 1 : m;
    if ("TEAMCITY_VERSION" in d) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(d.TEAMCITY_VERSION) ? 1 : 0;
    if (d.COLORTERM === "truecolor") return 3;
    if ("TERM_PROGRAM" in d) {
      const v = Number.parseInt((d.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
      switch (d.TERM_PROGRAM) {
        case "iTerm.app":
          return v >= 3 ? 3 : 2;
        case "Apple_Terminal":
          return 2;
      }
    }
    return /-256(color)?$/i.test(d.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(d.TERM) || "COLORTERM" in d ? 1 : m;
  }
  function h(a, l = {}) {
    return u(o(a, {
      streamIsTTY: a && a.isTTY,
      ...l
    }));
  }
  t.exports = {
    supportsColor: h,
    stdout: h({ isTTY: i.isatty(1) }),
    stderr: h({ isTTY: i.isatty(2) })
  };
})), z1 = /* @__PURE__ */ z(((e, t) => {
  var r = be("tty"), i = be("util");
  e.init = h, e.log = n, e.formatArgs = d, e.save = u, e.load = o, e.useColors = s, e.destroy = i.deprecate(() => {
  }, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."), e.colors = [
    6,
    2,
    3,
    4,
    5,
    1
  ];
  try {
    const l = G1();
    l && (l.stderr || l).level >= 2 && (e.colors = [
      20,
      21,
      26,
      27,
      32,
      33,
      38,
      39,
      40,
      41,
      42,
      43,
      44,
      45,
      56,
      57,
      62,
      63,
      68,
      69,
      74,
      75,
      76,
      77,
      78,
      79,
      80,
      81,
      92,
      93,
      98,
      99,
      112,
      113,
      128,
      129,
      134,
      135,
      148,
      149,
      160,
      161,
      162,
      163,
      164,
      165,
      166,
      167,
      168,
      169,
      170,
      171,
      172,
      173,
      178,
      179,
      184,
      185,
      196,
      197,
      198,
      199,
      200,
      201,
      202,
      203,
      204,
      205,
      206,
      207,
      208,
      209,
      214,
      215,
      220,
      221
    ]);
  } catch {
  }
  e.inspectOpts = Object.keys(process.env).filter((l) => /^debug_/i.test(l)).reduce((l, f) => {
    const p = f.substring(6).toLowerCase().replace(/_([a-z])/g, (m, v) => v.toUpperCase());
    let g = process.env[f];
    return /^(yes|on|true|enabled)$/i.test(g) ? g = !0 : /^(no|off|false|disabled)$/i.test(g) ? g = !1 : g === "null" ? g = null : g = Number(g), l[p] = g, l;
  }, {});
  function s() {
    return "colors" in e.inspectOpts ? !!e.inspectOpts.colors : r.isatty(process.stderr.fd);
  }
  function d(l) {
    const { namespace: f, useColors: p } = this;
    if (p) {
      const g = this.color, m = "\x1B[3" + (g < 8 ? g : "8;5;" + g), v = `  ${m};1m${f} \x1B[0m`;
      l[0] = v + l[0].split(`
`).join(`
` + v), l.push(m + "m+" + t.exports.humanize(this.diff) + "\x1B[0m");
    } else l[0] = c() + f + " " + l[0];
  }
  function c() {
    return e.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " ";
  }
  function n(...l) {
    return process.stderr.write(i.formatWithOptions(e.inspectOpts, ...l) + `
`);
  }
  function u(l) {
    l ? process.env.DEBUG = l : delete process.env.DEBUG;
  }
  function o() {
    return process.env.DEBUG;
  }
  function h(l) {
    l.inspectOpts = {};
    const f = Object.keys(e.inspectOpts);
    for (let p = 0; p < f.length; p++) l.inspectOpts[f[p]] = e.inspectOpts[f[p]];
  }
  t.exports = sf()(e);
  var { formatters: a } = t.exports;
  a.o = function(l) {
    return this.inspectOpts.colors = this.useColors, i.inspect(l, this.inspectOpts).split(`
`).map((f) => f.trim()).join(" ");
  }, a.O = function(l) {
    return this.inspectOpts.colors = this.useColors, i.inspect(l, this.inspectOpts);
  };
})), Fn = /* @__PURE__ */ z(((e, t) => {
  typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? t.exports = H1() : t.exports = z1();
})), W1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(o, h, a, l) {
    l === void 0 && (l = a);
    var f = Object.getOwnPropertyDescriptor(h, a);
    (!f || ("get" in f ? !h.__esModule : f.writable || f.configurable)) && (f = {
      enumerable: !0,
      get: function() {
        return h[a];
      }
    }), Object.defineProperty(o, l, f);
  }) : (function(o, h, a, l) {
    l === void 0 && (l = a), o[l] = h[a];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(o, h) {
    Object.defineProperty(o, "default", {
      enumerable: !0,
      value: h
    });
  }) : function(o, h) {
    o.default = h;
  }), i = e && e.__importStar || function(o) {
    if (o && o.__esModule) return o;
    var h = {};
    if (o != null)
      for (var a in o) a !== "default" && Object.prototype.hasOwnProperty.call(o, a) && t(h, o, a);
    return r(h, o), h;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.req = e.json = e.toBuffer = void 0;
  var s = i(be("http")), d = i(be("https"));
  async function c(o) {
    let h = 0;
    const a = [];
    for await (const l of o)
      h += l.length, a.push(l);
    return Buffer.concat(a, h);
  }
  e.toBuffer = c;
  async function n(o) {
    const h = (await c(o)).toString("utf8");
    try {
      return JSON.parse(h);
    } catch (a) {
      const l = a;
      throw l.message += ` (input: ${h})`, l;
    }
  }
  e.json = n;
  function u(o, h = {}) {
    const a = ((typeof o == "string" ? o : o.href).startsWith("https:") ? d : s).request(o, h), l = new Promise((f, p) => {
      a.once("response", f).once("error", p).end();
    });
    return a.then = l.then.bind(l), a;
  }
  e.req = u;
})), Mn = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(h, a, l, f) {
    f === void 0 && (f = l);
    var p = Object.getOwnPropertyDescriptor(a, l);
    (!p || ("get" in p ? !a.__esModule : p.writable || p.configurable)) && (p = {
      enumerable: !0,
      get: function() {
        return a[l];
      }
    }), Object.defineProperty(h, f, p);
  }) : (function(h, a, l, f) {
    f === void 0 && (f = l), h[f] = a[l];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(h, a) {
    Object.defineProperty(h, "default", {
      enumerable: !0,
      value: a
    });
  }) : function(h, a) {
    h.default = a;
  }), i = e && e.__importStar || function(h) {
    if (h && h.__esModule) return h;
    var a = {};
    if (h != null)
      for (var l in h) l !== "default" && Object.prototype.hasOwnProperty.call(h, l) && t(a, h, l);
    return r(a, h), a;
  }, s = e && e.__exportStar || function(h, a) {
    for (var l in h) l !== "default" && !Object.prototype.hasOwnProperty.call(a, l) && t(a, h, l);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Agent = void 0;
  var d = i(be("net")), c = i(be("http")), n = be("https");
  s(W1(), e);
  var u = /* @__PURE__ */ Symbol("AgentBaseInternalState"), o = class extends c.Agent {
    constructor(h) {
      super(h), this[u] = {};
    }
    isSecureEndpoint(h) {
      if (h) {
        if (typeof h.secureEndpoint == "boolean") return h.secureEndpoint;
        if (typeof h.protocol == "string") return h.protocol === "https:";
      }
      const { stack: a } = /* @__PURE__ */ new Error();
      return typeof a != "string" ? !1 : a.split(`
`).some((l) => l.indexOf("(https.js:") !== -1 || l.indexOf("node:https:") !== -1);
    }
    incrementSockets(h) {
      if (this.maxSockets === 1 / 0 && this.maxTotalSockets === 1 / 0) return null;
      this.sockets[h] || (this.sockets[h] = []);
      const a = new d.Socket({ writable: !1 });
      return this.sockets[h].push(a), this.totalSocketCount++, a;
    }
    decrementSockets(h, a) {
      if (!this.sockets[h] || a === null) return;
      const l = this.sockets[h], f = l.indexOf(a);
      f !== -1 && (l.splice(f, 1), this.totalSocketCount--, l.length === 0 && delete this.sockets[h]);
    }
    getName(h) {
      return this.isSecureEndpoint(h) ? n.Agent.prototype.getName.call(this, h) : super.getName(h);
    }
    createSocket(h, a, l) {
      const f = {
        ...a,
        secureEndpoint: this.isSecureEndpoint(a)
      }, p = this.getName(f), g = this.incrementSockets(p);
      Promise.resolve().then(() => this.connect(h, f)).then((m) => {
        if (this.decrementSockets(p, g), m instanceof c.Agent) try {
          return m.addRequest(h, f);
        } catch (v) {
          return l(v);
        }
        this[u].currentSocket = m, super.createSocket(h, a, l);
      }, (m) => {
        this.decrementSockets(p, g), l(m);
      });
    }
    createConnection() {
      const h = this[u].currentSocket;
      if (this[u].currentSocket = void 0, !h) throw new Error("No socket was returned in the `connect()` function");
      return h;
    }
    get defaultPort() {
      return this[u].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
    }
    set defaultPort(h) {
      this[u] && (this[u].defaultPort = h);
    }
    get protocol() {
      return this[u].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
    }
    set protocol(h) {
      this[u] && (this[u].protocol = h);
    }
  };
  e.Agent = o;
})), V1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(p, g, m, v) {
    v === void 0 && (v = m);
    var _ = Object.getOwnPropertyDescriptor(g, m);
    (!_ || ("get" in _ ? !g.__esModule : _.writable || _.configurable)) && (_ = {
      enumerable: !0,
      get: function() {
        return g[m];
      }
    }), Object.defineProperty(p, v, _);
  }) : (function(p, g, m, v) {
    v === void 0 && (v = m), p[v] = g[m];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(p, g) {
    Object.defineProperty(p, "default", {
      enumerable: !0,
      value: g
    });
  }) : function(p, g) {
    p.default = g;
  }), i = e && e.__importStar || function(p) {
    if (p && p.__esModule) return p;
    var g = {};
    if (p != null)
      for (var m in p) m !== "default" && Object.prototype.hasOwnProperty.call(p, m) && t(g, p, m);
    return r(g, p), g;
  }, s = e && e.__importDefault || function(p) {
    return p && p.__esModule ? p : { default: p };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpProxyAgent = void 0;
  var d = i(be("net")), c = i(be("tls")), n = s(Fn()), u = be("events"), o = Mn(), h = be("url"), a = (0, n.default)("http-proxy-agent"), l = class extends o.Agent {
    constructor(p, g) {
      super(g), this.proxy = typeof p == "string" ? new h.URL(p) : p, this.proxyHeaders = g?.headers ?? {}, a("Creating new HttpProxyAgent instance: %o", this.proxy.href);
      const m = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), v = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
      this.connectOpts = {
        ...g ? f(g, "headers") : null,
        host: m,
        port: v
      };
    }
    addRequest(p, g) {
      p._header = null, this.setRequestProps(p, g), super.addRequest(p, g);
    }
    setRequestProps(p, g) {
      const { proxy: m } = this, v = `${g.secureEndpoint ? "https:" : "http:"}//${p.getHeader("host") || "localhost"}`, _ = new h.URL(p.path, v);
      g.port !== 80 && (_.port = String(g.port)), p.path = String(_);
      const E = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders };
      if (m.username || m.password) {
        const S = `${decodeURIComponent(m.username)}:${decodeURIComponent(m.password)}`;
        E["Proxy-Authorization"] = `Basic ${Buffer.from(S).toString("base64")}`;
      }
      E["Proxy-Connection"] || (E["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const S of Object.keys(E)) {
        const w = E[S];
        w && p.setHeader(S, w);
      }
    }
    async connect(p, g) {
      p._header = null, p.path.includes("://") || this.setRequestProps(p, g);
      let m, v;
      a("Regenerating stored HTTP header string for request"), p._implicitHeader(), p.outputData && p.outputData.length > 0 && (a("Patching connection write() output buffer with updated header"), m = p.outputData[0].data, v = m.indexOf(`\r
\r
`) + 4, p.outputData[0].data = p._header + m.substring(v), a("Output buffer: %o", p.outputData[0].data));
      let _;
      return this.proxy.protocol === "https:" ? (a("Creating `tls.Socket`: %o", this.connectOpts), _ = c.connect(this.connectOpts)) : (a("Creating `net.Socket`: %o", this.connectOpts), _ = d.connect(this.connectOpts)), await (0, u.once)(_, "connect"), _;
    }
  };
  l.protocols = ["http", "https"], e.HttpProxyAgent = l;
  function f(p, ...g) {
    const m = {};
    let v;
    for (v in p) g.includes(v) || (m[v] = p[v]);
    return m;
  }
})), Y1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(s) {
    return s && s.__esModule ? s : { default: s };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.parseProxyResponse = void 0;
  var r = (0, t(Fn()).default)("https-proxy-agent:parse-proxy-response");
  function i(s) {
    return new Promise((d, c) => {
      let n = 0;
      const u = [];
      function o() {
        const p = s.read();
        p ? f(p) : s.once("readable", o);
      }
      function h() {
        s.removeListener("end", a), s.removeListener("error", l), s.removeListener("readable", o);
      }
      function a() {
        h(), r("onend"), c(/* @__PURE__ */ new Error("Proxy connection ended before receiving CONNECT response"));
      }
      function l(p) {
        h(), r("onerror %o", p), c(p);
      }
      function f(p) {
        u.push(p), n += p.length;
        const g = Buffer.concat(u, n), m = g.indexOf(`\r
\r
`);
        if (m === -1) {
          r("have not received end of HTTP headers yet..."), o();
          return;
        }
        const v = g.slice(0, m).toString("ascii").split(`\r
`), _ = v.shift();
        if (!_)
          return s.destroy(), c(/* @__PURE__ */ new Error("No header received from proxy CONNECT response"));
        const E = _.split(" "), S = +E[1], w = E.slice(2).join(" "), b = {};
        for (const A of v) {
          if (!A) continue;
          const D = A.indexOf(":");
          if (D === -1)
            return s.destroy(), c(/* @__PURE__ */ new Error(`Invalid header from proxy CONNECT response: "${A}"`));
          const C = A.slice(0, D).toLowerCase(), O = A.slice(D + 1).trimStart(), I = b[C];
          typeof I == "string" ? b[C] = [I, O] : Array.isArray(I) ? I.push(O) : b[C] = O;
        }
        r("got proxy server response: %o %o", _, b), h(), d({
          connect: {
            statusCode: S,
            statusText: w,
            headers: b
          },
          buffered: g
        });
      }
      s.on("error", l), s.on("end", a), o();
    });
  }
  e.parseProxyResponse = i;
})), K1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, _, E, S) {
    S === void 0 && (S = E);
    var w = Object.getOwnPropertyDescriptor(_, E);
    (!w || ("get" in w ? !_.__esModule : w.writable || w.configurable)) && (w = {
      enumerable: !0,
      get: function() {
        return _[E];
      }
    }), Object.defineProperty(v, S, w);
  }) : (function(v, _, E, S) {
    S === void 0 && (S = E), v[S] = _[E];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, _) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: _
    });
  }) : function(v, _) {
    v.default = _;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var _ = {};
    if (v != null)
      for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && t(_, v, E);
    return r(_, v), _;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.HttpsProxyAgent = void 0;
  var d = i(be("net")), c = i(be("tls")), n = s(be("assert")), u = s(Fn()), o = Mn(), h = be("url"), a = Y1(), l = (0, u.default)("https-proxy-agent"), f = (v) => v.servername === void 0 && v.host && !d.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v, p = class extends o.Agent {
    constructor(v, _) {
      super(_), this.options = { path: void 0 }, this.proxy = typeof v == "string" ? new h.URL(v) : v, this.proxyHeaders = _?.headers ?? {}, l("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
      const E = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), S = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
      this.connectOpts = {
        ALPNProtocols: ["http/1.1"],
        ..._ ? m(_, "headers") : null,
        host: E,
        port: S
      };
    }
    async connect(v, _) {
      const { proxy: E } = this;
      if (!_.host) throw new TypeError('No "host" provided');
      let S;
      E.protocol === "https:" ? (l("Creating `tls.Socket`: %o", this.connectOpts), S = c.connect(f(this.connectOpts))) : (l("Creating `net.Socket`: %o", this.connectOpts), S = d.connect(this.connectOpts));
      const w = typeof this.proxyHeaders == "function" ? this.proxyHeaders() : { ...this.proxyHeaders }, b = d.isIPv6(_.host) ? `[${_.host}]` : _.host;
      let A = `CONNECT ${b}:${_.port} HTTP/1.1\r
`;
      if (E.username || E.password) {
        const x = `${decodeURIComponent(E.username)}:${decodeURIComponent(E.password)}`;
        w["Proxy-Authorization"] = `Basic ${Buffer.from(x).toString("base64")}`;
      }
      w.Host = `${b}:${_.port}`, w["Proxy-Connection"] || (w["Proxy-Connection"] = this.keepAlive ? "Keep-Alive" : "close");
      for (const x of Object.keys(w)) A += `${x}: ${w[x]}\r
`;
      const D = (0, a.parseProxyResponse)(S);
      S.write(`${A}\r
`);
      const { connect: C, buffered: O } = await D;
      if (v.emit("proxyConnect", C), this.emit("proxyConnect", C, v), C.statusCode === 200)
        return v.once("socket", g), _.secureEndpoint ? (l("Upgrading socket connection to TLS"), c.connect({
          ...m(f(_), "host", "path", "port"),
          socket: S
        })) : S;
      S.destroy();
      const I = new d.Socket({ writable: !1 });
      return I.readable = !0, v.once("socket", (x) => {
        l("Replaying proxy buffer for failed request"), (0, n.default)(x.listenerCount("data") > 0), x.push(O), x.push(null);
      }), I;
    }
  };
  p.protocols = ["http", "https"], e.HttpsProxyAgent = p;
  function g(v) {
    v.resume();
  }
  function m(v, ..._) {
    const E = {};
    let S;
    for (S in v) _.includes(S) || (E[S] = v[S]);
    return E;
  }
})), Z1 = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("buffer"), r = {
    INVALID_ENCODING: "Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",
    INVALID_SMARTBUFFER_SIZE: "Invalid size provided. Size must be a valid integer greater than zero.",
    INVALID_SMARTBUFFER_BUFFER: "Invalid Buffer provided in SmartBufferOptions.",
    INVALID_SMARTBUFFER_OBJECT: "Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",
    INVALID_OFFSET: "An invalid offset value was provided.",
    INVALID_OFFSET_NON_NUMBER: "An invalid offset value was provided. A numeric value is required.",
    INVALID_LENGTH: "An invalid length value was provided.",
    INVALID_LENGTH_NON_NUMBER: "An invalid length value was provived. A numeric value is required.",
    INVALID_TARGET_OFFSET: "Target offset is beyond the bounds of the internal SmartBuffer data.",
    INVALID_TARGET_LENGTH: "Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",
    INVALID_READ_BEYOND_BOUNDS: "Attempted to read beyond the bounds of the managed data.",
    INVALID_WRITE_BEYOND_BOUNDS: "Attempted to write beyond the bounds of the managed data."
  };
  e.ERRORS = r;
  function i(a) {
    if (!t.Buffer.isEncoding(a)) throw new Error(r.INVALID_ENCODING);
  }
  e.checkEncoding = i;
  function s(a) {
    return typeof a == "number" && isFinite(a) && o(a);
  }
  e.isFiniteInteger = s;
  function d(a, l) {
    if (typeof a == "number") {
      if (!s(a) || a < 0) throw new Error(l ? r.INVALID_OFFSET : r.INVALID_LENGTH);
    } else throw new Error(l ? r.INVALID_OFFSET_NON_NUMBER : r.INVALID_LENGTH_NON_NUMBER);
  }
  function c(a) {
    d(a, !1);
  }
  e.checkLengthValue = c;
  function n(a) {
    d(a, !0);
  }
  e.checkOffsetValue = n;
  function u(a, l) {
    if (a < 0 || a > l.length) throw new Error(r.INVALID_TARGET_OFFSET);
  }
  e.checkTargetOffset = u;
  function o(a) {
    return typeof a == "number" && isFinite(a) && Math.floor(a) === a;
  }
  function h(a) {
    if (typeof BigInt > "u") throw new Error("Platform does not support JS BigInt type.");
    if (typeof t.Buffer.prototype[a] > "u") throw new Error(`Platform does not support Buffer.prototype.${a}.`);
  }
  e.bigIntAndBufferInt64Check = h;
})), J1 = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Z1(), r = 4096, i = "utf8", s = class af {
    constructor(c) {
      if (this.length = 0, this._encoding = i, this._writeOffset = 0, this._readOffset = 0, af.isSmartBufferOptions(c))
        if (c.encoding && (t.checkEncoding(c.encoding), this._encoding = c.encoding), c.size) if (t.isFiniteInteger(c.size) && c.size > 0) this._buff = Buffer.allocUnsafe(c.size);
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_SIZE);
        else if (c.buff) if (Buffer.isBuffer(c.buff))
          this._buff = c.buff, this.length = c.buff.length;
        else throw new Error(t.ERRORS.INVALID_SMARTBUFFER_BUFFER);
        else this._buff = Buffer.allocUnsafe(r);
      else {
        if (typeof c < "u") throw new Error(t.ERRORS.INVALID_SMARTBUFFER_OBJECT);
        this._buff = Buffer.allocUnsafe(r);
      }
    }
    static fromSize(c, n) {
      return new this({
        size: c,
        encoding: n
      });
    }
    static fromBuffer(c, n) {
      return new this({
        buff: c,
        encoding: n
      });
    }
    static fromOptions(c) {
      return new this(c);
    }
    static isSmartBufferOptions(c) {
      const n = c;
      return n && (n.encoding !== void 0 || n.size !== void 0 || n.buff !== void 0);
    }
    readInt8(c) {
      return this._readNumberValue(Buffer.prototype.readInt8, 1, c);
    }
    readInt16BE(c) {
      return this._readNumberValue(Buffer.prototype.readInt16BE, 2, c);
    }
    readInt16LE(c) {
      return this._readNumberValue(Buffer.prototype.readInt16LE, 2, c);
    }
    readInt32BE(c) {
      return this._readNumberValue(Buffer.prototype.readInt32BE, 4, c);
    }
    readInt32LE(c) {
      return this._readNumberValue(Buffer.prototype.readInt32LE, 4, c);
    }
    readBigInt64BE(c) {
      return t.bigIntAndBufferInt64Check("readBigInt64BE"), this._readNumberValue(Buffer.prototype.readBigInt64BE, 8, c);
    }
    readBigInt64LE(c) {
      return t.bigIntAndBufferInt64Check("readBigInt64LE"), this._readNumberValue(Buffer.prototype.readBigInt64LE, 8, c);
    }
    writeInt8(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt8, 1, c, n), this;
    }
    insertInt8(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt8, 1, c, n);
    }
    writeInt16BE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16BE, 2, c, n);
    }
    insertInt16BE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16BE, 2, c, n);
    }
    writeInt16LE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt16LE, 2, c, n);
    }
    insertInt16LE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt16LE, 2, c, n);
    }
    writeInt32BE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32BE, 4, c, n);
    }
    insertInt32BE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32BE, 4, c, n);
    }
    writeInt32LE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeInt32LE, 4, c, n);
    }
    insertInt32LE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeInt32LE, 4, c, n);
    }
    writeBigInt64BE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigInt64BE, 8, c, n);
    }
    insertBigInt64BE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigInt64BE, 8, c, n);
    }
    writeBigInt64LE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigInt64LE, 8, c, n);
    }
    insertBigInt64LE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigInt64LE, 8, c, n);
    }
    readUInt8(c) {
      return this._readNumberValue(Buffer.prototype.readUInt8, 1, c);
    }
    readUInt16BE(c) {
      return this._readNumberValue(Buffer.prototype.readUInt16BE, 2, c);
    }
    readUInt16LE(c) {
      return this._readNumberValue(Buffer.prototype.readUInt16LE, 2, c);
    }
    readUInt32BE(c) {
      return this._readNumberValue(Buffer.prototype.readUInt32BE, 4, c);
    }
    readUInt32LE(c) {
      return this._readNumberValue(Buffer.prototype.readUInt32LE, 4, c);
    }
    readBigUInt64BE(c) {
      return t.bigIntAndBufferInt64Check("readBigUInt64BE"), this._readNumberValue(Buffer.prototype.readBigUInt64BE, 8, c);
    }
    readBigUInt64LE(c) {
      return t.bigIntAndBufferInt64Check("readBigUInt64LE"), this._readNumberValue(Buffer.prototype.readBigUInt64LE, 8, c);
    }
    writeUInt8(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt8, 1, c, n);
    }
    insertUInt8(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt8, 1, c, n);
    }
    writeUInt16BE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16BE, 2, c, n);
    }
    insertUInt16BE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16BE, 2, c, n);
    }
    writeUInt16LE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt16LE, 2, c, n);
    }
    insertUInt16LE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt16LE, 2, c, n);
    }
    writeUInt32BE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32BE, 4, c, n);
    }
    insertUInt32BE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32BE, 4, c, n);
    }
    writeUInt32LE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeUInt32LE, 4, c, n);
    }
    insertUInt32LE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeUInt32LE, 4, c, n);
    }
    writeBigUInt64BE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64BE, 8, c, n);
    }
    insertBigUInt64BE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64BE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64BE, 8, c, n);
    }
    writeBigUInt64LE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._writeNumberValue(Buffer.prototype.writeBigUInt64LE, 8, c, n);
    }
    insertBigUInt64LE(c, n) {
      return t.bigIntAndBufferInt64Check("writeBigUInt64LE"), this._insertNumberValue(Buffer.prototype.writeBigUInt64LE, 8, c, n);
    }
    readFloatBE(c) {
      return this._readNumberValue(Buffer.prototype.readFloatBE, 4, c);
    }
    readFloatLE(c) {
      return this._readNumberValue(Buffer.prototype.readFloatLE, 4, c);
    }
    writeFloatBE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatBE, 4, c, n);
    }
    insertFloatBE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatBE, 4, c, n);
    }
    writeFloatLE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeFloatLE, 4, c, n);
    }
    insertFloatLE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeFloatLE, 4, c, n);
    }
    readDoubleBE(c) {
      return this._readNumberValue(Buffer.prototype.readDoubleBE, 8, c);
    }
    readDoubleLE(c) {
      return this._readNumberValue(Buffer.prototype.readDoubleLE, 8, c);
    }
    writeDoubleBE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleBE, 8, c, n);
    }
    insertDoubleBE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleBE, 8, c, n);
    }
    writeDoubleLE(c, n) {
      return this._writeNumberValue(Buffer.prototype.writeDoubleLE, 8, c, n);
    }
    insertDoubleLE(c, n) {
      return this._insertNumberValue(Buffer.prototype.writeDoubleLE, 8, c, n);
    }
    readString(c, n) {
      let u;
      typeof c == "number" ? (t.checkLengthValue(c), u = Math.min(c, this.length - this._readOffset)) : (n = c, u = this.length - this._readOffset), typeof n < "u" && t.checkEncoding(n);
      const o = this._buff.slice(this._readOffset, this._readOffset + u).toString(n || this._encoding);
      return this._readOffset += u, o;
    }
    insertString(c, n, u) {
      return t.checkOffsetValue(n), this._handleString(c, !0, n, u);
    }
    writeString(c, n, u) {
      return this._handleString(c, !1, n, u);
    }
    readStringNT(c) {
      typeof c < "u" && t.checkEncoding(c);
      let n = this.length;
      for (let o = this._readOffset; o < this.length; o++) if (this._buff[o] === 0) {
        n = o;
        break;
      }
      const u = this._buff.slice(this._readOffset, n);
      return this._readOffset = n + 1, u.toString(c || this._encoding);
    }
    insertStringNT(c, n, u) {
      return t.checkOffsetValue(n), this.insertString(c, n, u), this.insertUInt8(0, n + c.length), this;
    }
    writeStringNT(c, n, u) {
      return this.writeString(c, n, u), this.writeUInt8(0, typeof n == "number" ? n + c.length : this.writeOffset), this;
    }
    readBuffer(c) {
      typeof c < "u" && t.checkLengthValue(c);
      const n = typeof c == "number" ? c : this.length, u = Math.min(this.length, this._readOffset + n), o = this._buff.slice(this._readOffset, u);
      return this._readOffset = u, o;
    }
    insertBuffer(c, n) {
      return t.checkOffsetValue(n), this._handleBuffer(c, !0, n);
    }
    writeBuffer(c, n) {
      return this._handleBuffer(c, !1, n);
    }
    readBufferNT() {
      let c = this.length;
      for (let u = this._readOffset; u < this.length; u++) if (this._buff[u] === 0) {
        c = u;
        break;
      }
      const n = this._buff.slice(this._readOffset, c);
      return this._readOffset = c + 1, n;
    }
    insertBufferNT(c, n) {
      return t.checkOffsetValue(n), this.insertBuffer(c, n), this.insertUInt8(0, n + c.length), this;
    }
    writeBufferNT(c, n) {
      return typeof n < "u" && t.checkOffsetValue(n), this.writeBuffer(c, n), this.writeUInt8(0, typeof n == "number" ? n + c.length : this._writeOffset), this;
    }
    clear() {
      return this._writeOffset = 0, this._readOffset = 0, this.length = 0, this;
    }
    remaining() {
      return this.length - this._readOffset;
    }
    get readOffset() {
      return this._readOffset;
    }
    set readOffset(c) {
      t.checkOffsetValue(c), t.checkTargetOffset(c, this), this._readOffset = c;
    }
    get writeOffset() {
      return this._writeOffset;
    }
    set writeOffset(c) {
      t.checkOffsetValue(c), t.checkTargetOffset(c, this), this._writeOffset = c;
    }
    get encoding() {
      return this._encoding;
    }
    set encoding(c) {
      t.checkEncoding(c), this._encoding = c;
    }
    get internalBuffer() {
      return this._buff;
    }
    toBuffer() {
      return this._buff.slice(0, this.length);
    }
    toString(c) {
      const n = typeof c == "string" ? c : this._encoding;
      return t.checkEncoding(n), this._buff.toString(n, 0, this.length);
    }
    destroy() {
      return this.clear(), this;
    }
    _handleString(c, n, u, o) {
      let h = this._writeOffset, a = this._encoding;
      typeof u == "number" ? h = u : typeof u == "string" && (t.checkEncoding(u), a = u), typeof o == "string" && (t.checkEncoding(o), a = o);
      const l = Buffer.byteLength(c, a);
      return n ? this.ensureInsertable(l, h) : this._ensureWriteable(l, h), this._buff.write(c, h, l, a), n ? this._writeOffset += l : typeof u == "number" ? this._writeOffset = Math.max(this._writeOffset, h + l) : this._writeOffset += l, this;
    }
    _handleBuffer(c, n, u) {
      const o = typeof u == "number" ? u : this._writeOffset;
      return n ? this.ensureInsertable(c.length, o) : this._ensureWriteable(c.length, o), c.copy(this._buff, o), n ? this._writeOffset += c.length : typeof u == "number" ? this._writeOffset = Math.max(this._writeOffset, o + c.length) : this._writeOffset += c.length, this;
    }
    ensureReadable(c, n) {
      let u = this._readOffset;
      if (typeof n < "u" && (t.checkOffsetValue(n), u = n), u < 0 || u + c > this.length) throw new Error(t.ERRORS.INVALID_READ_BEYOND_BOUNDS);
    }
    ensureInsertable(c, n) {
      t.checkOffsetValue(n), this._ensureCapacity(this.length + c), n < this.length && this._buff.copy(this._buff, n + c, n, this._buff.length), n + c > this.length ? this.length = n + c : this.length += c;
    }
    _ensureWriteable(c, n) {
      const u = typeof n == "number" ? n : this._writeOffset;
      this._ensureCapacity(u + c), u + c > this.length && (this.length = u + c);
    }
    _ensureCapacity(c) {
      const n = this._buff.length;
      if (c > n) {
        let u = this._buff, o = n * 3 / 2 + 1;
        o < c && (o = c), this._buff = Buffer.allocUnsafe(o), u.copy(this._buff, 0, 0, n);
      }
    }
    _readNumberValue(c, n, u) {
      this.ensureReadable(n, u);
      const o = c.call(this._buff, typeof u == "number" ? u : this._readOffset);
      return typeof u > "u" && (this._readOffset += n), o;
    }
    _insertNumberValue(c, n, u, o) {
      return t.checkOffsetValue(o), this.ensureInsertable(n, o), c.call(this._buff, u, o), this._writeOffset += n, this;
    }
    _writeNumberValue(c, n, u, o) {
      if (typeof o == "number") {
        if (o < 0) throw new Error(t.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);
        t.checkOffsetValue(o);
      }
      const h = typeof o == "number" ? o : this._writeOffset;
      return this._ensureWriteable(n, h), c.call(this._buff, u, h), typeof o == "number" ? this._writeOffset = Math.max(this._writeOffset, h + n) : this._writeOffset += n, this;
    }
  };
  e.SmartBuffer = s;
})), of = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SOCKS5_NO_ACCEPTABLE_AUTH = e.SOCKS5_CUSTOM_AUTH_END = e.SOCKS5_CUSTOM_AUTH_START = e.SOCKS_INCOMING_PACKET_SIZES = e.SocksClientState = e.Socks5Response = e.Socks5HostType = e.Socks5Auth = e.Socks4Response = e.SocksCommand = e.ERRORS = e.DEFAULT_TIMEOUT = void 0;
  var t = 3e4;
  e.DEFAULT_TIMEOUT = t;
  var r = {
    InvalidSocksCommand: "An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",
    InvalidSocksCommandForOperation: "An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",
    InvalidSocksCommandChain: "An invalid SOCKS command was provided. Chaining currently only supports the connect command.",
    InvalidSocksClientOptionsDestination: "An invalid destination host was provided.",
    InvalidSocksClientOptionsExistingSocket: "An invalid existing socket was provided. This should be an instance of stream.Duplex.",
    InvalidSocksClientOptionsProxy: "Invalid SOCKS proxy details were provided.",
    InvalidSocksClientOptionsTimeout: "An invalid timeout value was provided. Please enter a value above 0 (in ms).",
    InvalidSocksClientOptionsProxiesLength: "At least two socks proxies must be provided for chaining.",
    InvalidSocksClientOptionsCustomAuthRange: "Custom auth must be a value between 0x80 and 0xFE.",
    InvalidSocksClientOptionsCustomAuthOptions: "When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",
    NegotiationError: "Negotiation error",
    SocketClosed: "Socket closed",
    ProxyConnectionTimedOut: "Proxy connection timed out",
    InternalError: "SocksClient internal error (this should not happen)",
    InvalidSocks4HandshakeResponse: "Received invalid Socks4 handshake response",
    Socks4ProxyRejectedConnection: "Socks4 Proxy rejected connection",
    InvalidSocks4IncomingConnectionResponse: "Socks4 invalid incoming connection response",
    Socks4ProxyRejectedIncomingBoundConnection: "Socks4 Proxy rejected incoming bound connection",
    InvalidSocks5InitialHandshakeResponse: "Received invalid Socks5 initial handshake response",
    InvalidSocks5IntiailHandshakeSocksVersion: "Received invalid Socks5 initial handshake (invalid socks version)",
    InvalidSocks5InitialHandshakeNoAcceptedAuthType: "Received invalid Socks5 initial handshake (no accepted authentication type)",
    InvalidSocks5InitialHandshakeUnknownAuthType: "Received invalid Socks5 initial handshake (unknown authentication type)",
    Socks5AuthenticationFailed: "Socks5 Authentication failed",
    InvalidSocks5FinalHandshake: "Received invalid Socks5 final handshake response",
    InvalidSocks5FinalHandshakeRejected: "Socks5 proxy rejected connection",
    InvalidSocks5IncomingConnectionResponse: "Received invalid Socks5 incoming connection response",
    Socks5ProxyRejectedIncomingBoundConnection: "Socks5 Proxy rejected incoming bound connection"
  };
  e.ERRORS = r;
  var i = {
    Socks5InitialHandshakeResponse: 2,
    Socks5UserPassAuthenticationResponse: 2,
    Socks5ResponseHeader: 5,
    Socks5ResponseIPv4: 10,
    Socks5ResponseIPv6: 22,
    Socks5ResponseHostname: (f) => f + 7,
    Socks4Response: 8
  };
  e.SOCKS_INCOMING_PACKET_SIZES = i;
  var s;
  (function(f) {
    f[f.connect = 1] = "connect", f[f.bind = 2] = "bind", f[f.associate = 3] = "associate";
  })(s || (e.SocksCommand = s = {}));
  var d;
  (function(f) {
    f[f.Granted = 90] = "Granted", f[f.Failed = 91] = "Failed", f[f.Rejected = 92] = "Rejected", f[f.RejectedIdent = 93] = "RejectedIdent";
  })(d || (e.Socks4Response = d = {}));
  var c;
  (function(f) {
    f[f.NoAuth = 0] = "NoAuth", f[f.GSSApi = 1] = "GSSApi", f[f.UserPass = 2] = "UserPass";
  })(c || (e.Socks5Auth = c = {}));
  var n = 128;
  e.SOCKS5_CUSTOM_AUTH_START = n;
  var u = 254;
  e.SOCKS5_CUSTOM_AUTH_END = u;
  var o = 255;
  e.SOCKS5_NO_ACCEPTABLE_AUTH = o;
  var h;
  (function(f) {
    f[f.Granted = 0] = "Granted", f[f.Failure = 1] = "Failure", f[f.NotAllowed = 2] = "NotAllowed", f[f.NetworkUnreachable = 3] = "NetworkUnreachable", f[f.HostUnreachable = 4] = "HostUnreachable", f[f.ConnectionRefused = 5] = "ConnectionRefused", f[f.TTLExpired = 6] = "TTLExpired", f[f.CommandNotSupported = 7] = "CommandNotSupported", f[f.AddressNotSupported = 8] = "AddressNotSupported";
  })(h || (e.Socks5Response = h = {}));
  var a;
  (function(f) {
    f[f.IPv4 = 1] = "IPv4", f[f.Hostname = 3] = "Hostname", f[f.IPv6 = 4] = "IPv6";
  })(a || (e.Socks5HostType = a = {}));
  var l;
  (function(f) {
    f[f.Created = 0] = "Created", f[f.Connecting = 1] = "Connecting", f[f.Connected = 2] = "Connected", f[f.SentInitialHandshake = 3] = "SentInitialHandshake", f[f.ReceivedInitialHandshakeResponse = 4] = "ReceivedInitialHandshakeResponse", f[f.SentAuthentication = 5] = "SentAuthentication", f[f.ReceivedAuthenticationResponse = 6] = "ReceivedAuthenticationResponse", f[f.SentFinalHandshake = 7] = "SentFinalHandshake", f[f.ReceivedFinalResponse = 8] = "ReceivedFinalResponse", f[f.BoundWaitingForConnection = 9] = "BoundWaitingForConnection", f[f.Established = 10] = "Established", f[f.Disconnected = 11] = "Disconnected", f[f.Error = 99] = "Error";
  })(l || (e.SocksClientState = l = {}));
})), lf = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shuffleArray = e.SocksClientError = void 0;
  var t = class extends Error {
    constructor(i, s) {
      super(i), this.options = s;
    }
  };
  e.SocksClientError = t;
  function r(i) {
    for (let s = i.length - 1; s > 0; s--) {
      const d = Math.floor(Math.random() * (s + 1));
      [i[s], i[d]] = [i[d], i[s]];
    }
  }
  e.shuffleArray = r;
})), jn = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.AddressError = void 0;
  var t = class extends Error {
    constructor(r, i) {
      super(r), this.name = "AddressError", this.parseMessage = i;
    }
  };
  e.AddressError = t;
})), Ga = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isInSubnet = r, e.isCorrect = i, e.prefixLengthFromMask = s, e.numberToPaddedHex = d, e.stringToPaddedHex = c, e.testBit = n;
  var t = jn();
  function r(u) {
    return this.subnetMask < u.subnetMask ? !1 : this.mask(u.subnetMask) === u.mask();
  }
  function i(u) {
    return function() {
      return this.addressMinusSuffix !== this.correctForm() ? !1 : this.subnetMask === u && !this.parsedSubnet ? !0 : this.parsedSubnet === String(this.subnetMask);
    };
  }
  function s(u, o) {
    const h = u.toString(2).padStart(o, "0");
    if (h.length > o) throw new t.AddressError("Invalid subnet mask.");
    const a = h.indexOf("0");
    if (a === -1) return o;
    if (h.slice(a).includes("1")) throw new t.AddressError("Invalid subnet mask.");
    return a;
  }
  function d(u) {
    return u.toString(16).padStart(2, "0");
  }
  function c(u) {
    return d(parseInt(u, 10));
  }
  function n(u, o) {
    const { length: h } = u;
    if (o > h) return !1;
    const a = h - o;
    return u.substring(a, a + 1) === "1";
  }
})), cf = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.RE_SUBNET_STRING = e.RE_ADDRESS = e.GROUPS = e.BITS = void 0, e.BITS = 32, e.GROUPS = 4, e.RE_ADDRESS = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g, e.RE_SUBNET_STRING = /\/\d{1,2}$/;
})), uf = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(m, v, _, E) {
    E === void 0 && (E = _);
    var S = Object.getOwnPropertyDescriptor(v, _);
    (!S || ("get" in S ? !v.__esModule : S.writable || S.configurable)) && (S = {
      enumerable: !0,
      get: function() {
        return v[_];
      }
    }), Object.defineProperty(m, E, S);
  }) : (function(m, v, _, E) {
    E === void 0 && (E = _), m[E] = v[_];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(m, v) {
    Object.defineProperty(m, "default", {
      enumerable: !0,
      value: v
    });
  }) : function(m, v) {
    m.default = v;
  }), i = e && e.__importStar || function(m) {
    if (m && m.__esModule) return m;
    var v = {};
    if (m != null)
      for (var _ in m) _ !== "default" && Object.prototype.hasOwnProperty.call(m, _) && t(v, m, _);
    return r(v, m), v;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address4 = void 0;
  var s = i(Ga()), d = i(cf()), c = jn(), n = s.isCorrect(d.BITS), u = class _t {
    constructor(v) {
      this.groups = d.GROUPS, this.parsedAddress = [], this.parsedSubnet = "", this.subnet = "/32", this.subnetMask = 32, this.v4 = !0, this.isCorrect = n, this.isInSubnet = s.isInSubnet, this.address = v;
      const _ = d.RE_SUBNET_STRING.exec(v);
      if (_) {
        if (this.parsedSubnet = _[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, this.subnetMask < 0 || this.subnetMask > d.BITS) throw new c.AddressError("Invalid subnet mask.");
        v = v.replace(d.RE_SUBNET_STRING, "");
      }
      this.addressMinusSuffix = v, this.parsedAddress = this.parse(v);
    }
    static isValid(v) {
      try {
        return new _t(v), !0;
      } catch {
        return !1;
      }
    }
    parse(v) {
      const _ = v.split(".");
      if (!v.match(d.RE_ADDRESS)) throw new c.AddressError("Invalid IPv4 address.");
      return _;
    }
    correctForm() {
      return this.parsedAddress.map((v) => parseInt(v, 10)).join(".");
    }
    static fromAddressAndMask(v, _) {
      return new _t(`${v}/${s.prefixLengthFromMask(new _t(_).bigInt(), d.BITS)}`);
    }
    static fromAddressAndWildcardMask(v, _) {
      const E = new _t(_).bigInt() ^ (BigInt(1) << BigInt(d.BITS)) - BigInt(1);
      return new _t(`${v}/${s.prefixLengthFromMask(E, d.BITS)}`);
    }
    static fromWildcard(v) {
      const _ = v.split(".");
      if (_.length !== d.GROUPS) throw new c.AddressError("Wildcard pattern must have 4 octets");
      let E = -1;
      for (let A = 0; A < _.length; A++) if (_[A] === "*")
        E === -1 && (E = A);
      else if (E !== -1) throw new c.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");
      const S = E === -1 ? 0 : _.length - E, w = _.map((A) => A === "*" ? "0" : A), b = d.BITS - S * 8;
      return new _t(`${w.join(".")}/${b}`);
    }
    static fromHex(v) {
      const _ = v.replace(/:/g, "");
      if (!/^[0-9a-fA-F]{8}$/.test(_)) throw new c.AddressError("IPv4 hex must be exactly 8 hex digits");
      const E = [];
      for (let S = 0; S < 8; S += 2) E.push(parseInt(_.slice(S, S + 2), 16));
      return new _t(E.join("."));
    }
    static fromInteger(v) {
      if (!Number.isInteger(v) || v < 0 || v > 4294967295) throw new c.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");
      return _t.fromHex(v.toString(16).padStart(8, "0"));
    }
    static fromArpa(v) {
      return new _t(v.replace(/(\.in-addr\.arpa)?\.$/, "").split(".").reverse().join("."));
    }
    toHex() {
      return this.parsedAddress.map((v) => s.stringToPaddedHex(v)).join(":");
    }
    toArray() {
      return this.parsedAddress.map((v) => parseInt(v, 10));
    }
    toGroup6() {
      const v = [];
      let _;
      for (_ = 0; _ < d.GROUPS; _ += 2) v.push(`${s.stringToPaddedHex(this.parsedAddress[_])}${s.stringToPaddedHex(this.parsedAddress[_ + 1])}`);
      return v.join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map((v) => s.stringToPaddedHex(v)).join("")}`);
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(d.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return _t.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const v = BigInt("1");
      return _t.fromBigInt(this._startAddress() + v);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(d.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return _t.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const v = BigInt("1");
      return _t.fromBigInt(this._endAddress() - v);
    }
    subnetMaskAddress() {
      return _t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(d.BITS - this.subnetMask)}`));
    }
    wildcardMask() {
      return _t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(d.BITS - this.subnetMask)}`));
    }
    networkForm() {
      return `${this.startAddress().correctForm()}/${this.subnetMask}`;
    }
    static fromBigInt(v) {
      if (v < 0n || v > 4294967295n) throw new c.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");
      return _t.fromHex(v.toString(16).padStart(8, "0"));
    }
    static fromByteArray(v) {
      if (v.length !== 4) throw new c.AddressError("IPv4 addresses require exactly 4 bytes");
      for (let _ = 0; _ < v.length; _++) if (!Number.isInteger(v[_]) || v[_] < 0 || v[_] > 255) throw new c.AddressError("All bytes must be integers between 0 and 255");
      return this.fromUnsignedByteArray(v);
    }
    static fromUnsignedByteArray(v) {
      if (v.length !== 4) throw new c.AddressError("IPv4 addresses require exactly 4 bytes");
      return new _t(v.join("."));
    }
    mask(v) {
      return v === void 0 && (v = this.subnetMask), this.getBitsBase2(0, v);
    }
    getBitsBase2(v, _) {
      return this.binaryZeroPad().slice(v, _);
    }
    reverseForm(v) {
      v || (v = {});
      const _ = this.correctForm().split(".").reverse().join(".");
      return v.omitSuffix ? _ : `${_}.in-addr.arpa.`;
    }
    isMulticast() {
      return this.isInSubnet(o);
    }
    isPrivate() {
      return h.some((v) => this.isInSubnet(v));
    }
    isLoopback() {
      return this.isInSubnet(a);
    }
    isLinkLocal() {
      return this.isInSubnet(l);
    }
    isUnspecified() {
      return this.isInSubnet(f);
    }
    isBroadcast() {
      return this.isInSubnet(p);
    }
    isCGNAT() {
      return this.isInSubnet(g);
    }
    binaryZeroPad() {
      return this._binaryZeroPad === void 0 && (this._binaryZeroPad = this.bigInt().toString(2).padStart(d.BITS, "0")), this._binaryZeroPad;
    }
    groupForV6() {
      const v = this.parsedAddress;
      return this.address.replace(d.RE_ADDRESS, `<span class="hover-group group-v4 group-6">${v.slice(0, 2).join(".")}</span>.<span class="hover-group group-v4 group-7">${v.slice(2, 4).join(".")}</span>`);
    }
  };
  e.Address4 = u;
  var o = new u("224.0.0.0/4"), h = [
    new u("10.0.0.0/8"),
    new u("172.16.0.0/12"),
    new u("192.168.0.0/16")
  ], a = new u("127.0.0.0/8"), l = new u("169.254.0.0/16"), f = new u("0.0.0.0/32"), p = new u("255.255.255.255/32"), g = new u("100.64.0.0/10");
})), hf = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.RE_URL_WITH_PORT = e.RE_URL = e.RE_ZONE_STRING = e.RE_SUBNET_STRING = e.RE_BAD_ADDRESS = e.RE_BAD_CHARACTERS = e.TYPES = e.SCOPES = e.GROUPS = e.BITS = void 0, e.BITS = 128, e.GROUPS = 8, e.SCOPES = {
    0: "Reserved",
    1: "Interface local",
    2: "Link local",
    4: "Admin local",
    5: "Site local",
    8: "Organization local",
    14: "Global",
    15: "Reserved"
  }, e.TYPES = {
    "ff01::1/128": "Multicast (All nodes on this interface)",
    "ff01::2/128": "Multicast (All routers on this interface)",
    "ff02::1/128": "Multicast (All nodes on this link)",
    "ff02::2/128": "Multicast (All routers on this link)",
    "ff05::2/128": "Multicast (All routers in this site)",
    "ff02::5/128": "Multicast (OSPFv3 AllSPF routers)",
    "ff02::6/128": "Multicast (OSPFv3 AllDR routers)",
    "ff02::9/128": "Multicast (RIP routers)",
    "ff02::a/128": "Multicast (EIGRP routers)",
    "ff02::d/128": "Multicast (PIM routers)",
    "ff02::16/128": "Multicast (MLDv2 reports)",
    "ff01::fb/128": "Multicast (mDNSv6)",
    "ff02::fb/128": "Multicast (mDNSv6)",
    "ff05::fb/128": "Multicast (mDNSv6)",
    "ff02::1:2/128": "Multicast (All DHCP servers and relay agents on this link)",
    "ff05::1:2/128": "Multicast (All DHCP servers and relay agents in this site)",
    "ff02::1:3/128": "Multicast (All DHCP servers on this link)",
    "ff05::1:3/128": "Multicast (All DHCP servers in this site)",
    "::/128": "Unspecified",
    "::1/128": "Loopback",
    "ff00::/8": "Multicast",
    "fe80::/10": "Link-local unicast",
    "fc00::/7": "Unique local",
    "2002::/16": "6to4",
    "2001:db8::/32": "Documentation",
    "64:ff9b::/96": "NAT64 (well-known)",
    "64:ff9b:1::/48": "NAT64 (local-use)"
  }, e.RE_BAD_CHARACTERS = /([^0-9a-f:/%])/gi, e.RE_BAD_ADDRESS = /([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi, e.RE_SUBNET_STRING = /\/\d{1,3}(?=%|$)/, e.RE_ZONE_STRING = /%.*$/, e.RE_URL = /^\[{0,1}([0-9a-f:]+)\]{0,1}/, e.RE_URL_WITH_PORT = /\[([0-9a-f:]+)\]:([0-9]{1,5})/;
})), ff = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.escapeHtml = t, e.spanAllZeroes = r, e.spanAll = i, e.spanLeadingZeroes = d, e.simpleGroup = c;
  function t(n) {
    return n.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
  }
  function r(n) {
    return t(n).replace(/(0+)/g, '<span class="zero">$1</span>');
  }
  function i(n, u = 0) {
    return n.split("").map((o, h) => `<span class="digit value-${t(o)} position-${h + u}">${r(o)}</span>`).join("");
  }
  function s(n) {
    return t(n).replace(/^(0+)/, '<span class="zero">$1</span>');
  }
  function d(n) {
    return n.split(":").map((u) => s(u)).join(":");
  }
  function c(n, u = 0) {
    return n.split(":").map((o, h) => /group-v4/.test(o) ? o : `<span class="hover-group group-${h + u}">${s(o)}</span>`);
  }
})), X1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(o, h, a, l) {
    l === void 0 && (l = a);
    var f = Object.getOwnPropertyDescriptor(h, a);
    (!f || ("get" in f ? !h.__esModule : f.writable || f.configurable)) && (f = {
      enumerable: !0,
      get: function() {
        return h[a];
      }
    }), Object.defineProperty(o, l, f);
  }) : (function(o, h, a, l) {
    l === void 0 && (l = a), o[l] = h[a];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(o, h) {
    Object.defineProperty(o, "default", {
      enumerable: !0,
      value: h
    });
  }) : function(o, h) {
    o.default = h;
  }), i = e && e.__importStar || function(o) {
    if (o && o.__esModule) return o;
    var h = {};
    if (o != null)
      for (var a in o) a !== "default" && Object.prototype.hasOwnProperty.call(o, a) && t(h, o, a);
    return r(h, o), h;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ADDRESS_BOUNDARY = void 0, e.groupPossibilities = d, e.padGroup = c, e.simpleRegularExpression = n, e.possibleElisions = u;
  var s = i(hf());
  function d(o) {
    return `(${o.join("|")})`;
  }
  function c(o) {
    return o.length < 4 ? `0{0,${4 - o.length}}${o}` : o;
  }
  e.ADDRESS_BOUNDARY = "[^A-Fa-f0-9:]";
  function n(o) {
    const h = [];
    o.forEach((l, f) => {
      parseInt(l, 16) === 0 && h.push(f);
    });
    const a = h.map((l) => o.map((f, p) => {
      if (p === l) {
        const g = p === 0 || p === s.GROUPS - 1 ? ":" : "";
        return d([c(f), g]);
      }
      return c(f);
    }).join(":"));
    return a.push(o.map(c).join(":")), d(a);
  }
  function u(o, h, a) {
    const l = h ? "" : ":", f = a ? "" : ":", p = [];
    !h && !a && p.push("::"), h && a && p.push(""), (a && !h || !a && h) && p.push(":"), p.push(`${l}(:0{1,4}){1,${o - 1}}`), p.push(`(0{1,4}:){1,${o - 1}}${f}`), p.push(`(0{1,4}:){${o - 1}}0{1,4}`);
    for (let g = 1; g < o - 1; g++) for (let m = 1; m < o - g; m++) p.push(`(0{1,4}:){${m}}:(0{1,4}:){${o - m - g - 1}}0{1,4}`);
    return d(p);
  }
})), Q1 = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(O, I, x, F) {
    F === void 0 && (F = x);
    var q = Object.getOwnPropertyDescriptor(I, x);
    (!q || ("get" in q ? !I.__esModule : q.writable || q.configurable)) && (q = {
      enumerable: !0,
      get: function() {
        return I[x];
      }
    }), Object.defineProperty(O, F, q);
  }) : (function(O, I, x, F) {
    F === void 0 && (F = x), O[F] = I[x];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(O, I) {
    Object.defineProperty(O, "default", {
      enumerable: !0,
      value: I
    });
  }) : function(O, I) {
    O.default = I;
  }), i = e && e.__importStar || function(O) {
    if (O && O.__esModule) return O;
    var I = {};
    if (O != null)
      for (var x in O) x !== "default" && Object.prototype.hasOwnProperty.call(O, x) && t(I, O, x);
    return r(I, O), I;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Address6 = void 0;
  var s = i(Ga()), d = i(cf()), c = i(hf()), n = i(ff()), u = uf(), o = X1(), h = jn(), a = Ga(), l = s.isCorrect(c.BITS);
  function f(O) {
    if (!O) throw new Error("Assertion failed.");
  }
  function p(O) {
    const I = /(\d+)(\d{3})/;
    for (; I.test(O); ) O = O.replace(I, "$1,$2");
    return O;
  }
  function g(O) {
    return O = O.replace(/^(0{1,})([1-9]+)$/, '<span class="parse-error">$1</span>$2'), O = O.replace(/^(0{1,})(0)$/, '<span class="parse-error">$1</span>$2'), O;
  }
  function m(O, I) {
    const x = [], F = [];
    let q;
    for (q = 0; q < O.length; q++) q < I[0] ? x.push(O[q]) : q > I[1] && F.push(O[q]);
    return x.concat(["compact"]).concat(F);
  }
  function v(O) {
    return parseInt(O, 16).toString(16).padStart(4, "0");
  }
  function _(O) {
    return O & 255;
  }
  var E = class st {
    constructor(I, x) {
      this.addressMinusSuffix = "", this.parsedSubnet = "", this.subnet = "/128", this.subnetMask = 128, this.v4 = !1, this.zone = "", this.isInSubnet = s.isInSubnet, this.isCorrect = l, x === void 0 ? this.groups = c.GROUPS : this.groups = x, this.address = I;
      const F = c.RE_SUBNET_STRING.exec(I);
      if (F) {
        if (this.parsedSubnet = F[0].replace("/", ""), this.subnetMask = parseInt(this.parsedSubnet, 10), this.subnet = `/${this.subnetMask}`, Number.isNaN(this.subnetMask) || this.subnetMask < 0 || this.subnetMask > c.BITS) throw new h.AddressError("Invalid subnet mask.");
        I = I.replace(c.RE_SUBNET_STRING, "");
      } else if (/\//.test(I)) throw new h.AddressError("Invalid subnet mask.");
      const q = c.RE_ZONE_STRING.exec(I);
      q && (this.zone = q[0], I = I.replace(c.RE_ZONE_STRING, "")), this.addressMinusSuffix = I, this.parsedAddress = this.parse(this.addressMinusSuffix);
    }
    static isValid(I) {
      try {
        return new st(I), !0;
      } catch {
        return !1;
      }
    }
    static fromBigInt(I) {
      if (I < 0n || I > (1n << BigInt(c.BITS)) - 1n) throw new h.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");
      const x = I.toString(16).padStart(32, "0"), F = [];
      for (let q = 0; q < c.GROUPS; q++) F.push(x.slice(q * 4, (q + 1) * 4));
      return new st(F.join(":"));
    }
    static fromURL(I) {
      let x, F = null, q;
      if (I.indexOf("[") !== -1 && I.indexOf("]:") !== -1) {
        if (q = c.RE_URL_WITH_PORT.exec(I), q === null) return {
          error: "failed to parse address with port",
          address: null,
          port: null
        };
        x = q[1], F = q[2];
      } else if (I.indexOf("/") !== -1) {
        if (I = I.replace(/^[a-z0-9]+:\/\//, ""), q = c.RE_URL.exec(I), q === null) return {
          error: "failed to parse address from URL",
          address: null,
          port: null
        };
        x = q[1];
      } else x = I;
      return F ? (F = parseInt(F, 10), (F < 0 || F > 65536) && (F = null)) : F = null, {
        address: new st(x),
        port: F
      };
    }
    static fromAddressAndMask(I, x) {
      return new st(`${I}/${s.prefixLengthFromMask(new st(x).bigInt(), c.BITS)}`);
    }
    static fromAddressAndWildcardMask(I, x) {
      const F = new st(x).bigInt() ^ (BigInt(1) << BigInt(c.BITS)) - BigInt(1);
      return new st(`${I}/${s.prefixLengthFromMask(F, c.BITS)}`);
    }
    static fromWildcard(I) {
      if (I.includes("%") || I.includes("/")) throw new h.AddressError("Wildcard pattern must not include a zone or CIDR suffix");
      const x = I.split("::");
      if (x.length > 2) throw new h.AddressError("Wildcard pattern cannot contain more than one '::'");
      let F;
      if (x.length === 2) {
        const L = x[0] === "" ? [] : x[0].split(":"), te = x[1] === "" ? [] : x[1].split(":"), H = c.GROUPS - L.length - te.length;
        if (H < 1) throw new h.AddressError("Wildcard pattern with '::' has too many groups");
        F = [
          ...L,
          ...new Array(H).fill("0"),
          ...te
        ];
      } else F = I.split(":");
      if (F.length !== c.GROUPS) throw new h.AddressError("Wildcard pattern must have 8 groups");
      let q = -1;
      for (let L = 0; L < F.length; L++) if (F[L] === "*")
        q === -1 && (q = L);
      else if (q !== -1) throw new h.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");
      const K = q === -1 ? 0 : F.length - q, M = F.map((L) => L === "*" ? "0" : L), N = c.BITS - K * 16;
      return new st(`${M.join(":")}/${N}`);
    }
    static fromAddress4(I) {
      const x = new u.Address4(I), F = c.BITS - (d.BITS - x.subnetMask);
      return new st(`::ffff:${x.correctForm()}/${F}`);
    }
    static fromArpa(I) {
      let x = I.replace(/(\.ip6\.arpa)?\.$/, "");
      const F = 7;
      if (x.length !== 63) throw new h.AddressError("Invalid 'ip6.arpa' form.");
      const q = x.split(".").reverse();
      for (let K = F; K > 0; K--) {
        const M = K * 4;
        q.splice(M, 0, ":");
      }
      return x = q.join(""), new st(x);
    }
    microsoftTranscription() {
      return `${this.correctForm().replace(/:/g, "-")}.ipv6-literal.net`;
    }
    mask(I = this.subnetMask) {
      return this.getBitsBase2(0, I);
    }
    possibleSubnets(I = 128) {
      const x = c.BITS - this.subnetMask - Math.abs(I - c.BITS);
      return x < 0 ? "0" : p((BigInt("2") ** BigInt(x)).toString(10));
    }
    _startAddress() {
      return BigInt(`0b${this.mask() + "0".repeat(c.BITS - this.subnetMask)}`);
    }
    startAddress() {
      return st.fromBigInt(this._startAddress());
    }
    startAddressExclusive() {
      const I = BigInt("1");
      return st.fromBigInt(this._startAddress() + I);
    }
    _endAddress() {
      return BigInt(`0b${this.mask() + "1".repeat(c.BITS - this.subnetMask)}`);
    }
    endAddress() {
      return st.fromBigInt(this._endAddress());
    }
    endAddressExclusive() {
      const I = BigInt("1");
      return st.fromBigInt(this._endAddress() - I);
    }
    subnetMaskAddress() {
      return st.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(c.BITS - this.subnetMask)}`));
    }
    wildcardMask() {
      return st.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(c.BITS - this.subnetMask)}`));
    }
    networkForm() {
      return `${this.startAddress().correctForm()}/${this.subnetMask}`;
    }
    getScope() {
      const I = this.getType();
      return I === "Multicast" || I.startsWith("Multicast ") ? c.SCOPES[parseInt(this.getBits(12, 16).toString(10), 10)] || "Unknown" : I === "Link-local unicast" || I === "Loopback" ? "Link local" : I === "Unspecified" ? "Unknown" : "Global";
    }
    getType() {
      for (let I = 0; I < S.length; I++) {
        const x = S[I];
        if (this.isInSubnet(x[0])) return x[1];
      }
      return "Global unicast";
    }
    getBits(I, x) {
      return BigInt(`0b${this.getBitsBase2(I, x)}`);
    }
    getBitsBase2(I, x) {
      return this.binaryZeroPad().slice(I, x);
    }
    getBitsBase16(I, x) {
      const F = x - I;
      if (F % 4 !== 0) throw new Error("Length of bits to retrieve must be divisible by four");
      return this.getBits(I, x).toString(16).padStart(F / 4, "0");
    }
    getBitsPastSubnet() {
      return this.getBitsBase2(this.subnetMask, c.BITS);
    }
    reverseForm(I) {
      I || (I = {});
      const x = Math.floor(this.subnetMask / 4), F = this.canonicalForm().replace(/:/g, "").split("").slice(0, x).reverse().join(".");
      return x > 0 ? I.omitSuffix ? F : `${F}.ip6.arpa.` : I.omitSuffix ? "" : "ip6.arpa.";
    }
    correctForm() {
      let I, x = [], F = 0;
      const q = [];
      for (I = 0; I < this.parsedAddress.length; I++) {
        const N = parseInt(this.parsedAddress[I], 16);
        N === 0 && F++, N !== 0 && F > 0 && (F > 1 && q.push([I - F, I - 1]), F = 0);
      }
      F > 1 && q.push([this.parsedAddress.length - F, this.parsedAddress.length - 1]);
      const K = q.map((N) => N[1] - N[0] + 1);
      if (q.length > 0) {
        const N = K.indexOf(Math.max(...K));
        x = m(this.parsedAddress, q[N]);
      } else x = this.parsedAddress;
      for (I = 0; I < x.length; I++) x[I] !== "compact" && (x[I] = parseInt(x[I], 16).toString(16));
      let M = x.join(":");
      return M = M.replace(/^compact$/, "::"), M = M.replace(/(^compact)|(compact$)/, ":"), M = M.replace(/compact/, ""), M;
    }
    binaryZeroPad() {
      return this._binaryZeroPad === void 0 && (this._binaryZeroPad = this.bigInt().toString(2).padStart(c.BITS, "0")), this._binaryZeroPad;
    }
    parse4in6(I) {
      if (I.indexOf(".") === -1) return I;
      const x = I.split(":"), F = x.slice(-1)[0].match(d.RE_ADDRESS);
      if (F) {
        this.parsedAddress4 = F[0], this.address4 = new u.Address4(this.parsedAddress4);
        for (let q = 0; q < this.address4.groups; q++) if (/^0[0-9]+/.test(this.address4.parsedAddress[q])) {
          const K = this.address4.parsedAddress.map(g).join("."), M = x.slice(0, -1).map(n.escapeHtml).join(":"), N = x.length > 1 ? ":" : "";
          throw new h.AddressError("IPv4 addresses can't have leading zeroes.", `${M}${N}${K}`);
        }
        this.v4 = !0, x[x.length - 1] = this.address4.toGroup6(), I = x.join(":");
      }
      return I;
    }
    parse(I) {
      I = this.parse4in6(I);
      const x = I.match(c.RE_BAD_CHARACTERS);
      if (x) throw new h.AddressError(`Bad character${x.length > 1 ? "s" : ""} detected in address: ${x.join("")}`, I.replace(c.RE_BAD_CHARACTERS, '<span class="parse-error">$1</span>'));
      const F = I.match(c.RE_BAD_ADDRESS);
      if (F) throw new h.AddressError(`Address failed regex: ${F.join("")}`, I.replace(c.RE_BAD_ADDRESS, '<span class="parse-error">$1</span>'));
      let q = [];
      const K = I.split("::");
      if (K.length === 2) {
        let M = K[0].split(":"), N = K[1].split(":");
        M.length === 1 && M[0] === "" && (M = []), N.length === 1 && N[0] === "" && (N = []);
        const L = this.groups - (M.length + N.length);
        if (!L) throw new h.AddressError("Error parsing groups");
        this.elidedGroups = L, this.elisionBegin = M.length, this.elisionEnd = M.length + this.elidedGroups, q = q.concat(M);
        for (let te = 0; te < L; te++) q.push("0");
        q = q.concat(N);
      } else if (K.length === 1)
        q = I.split(":"), this.elidedGroups = 0;
      else throw new h.AddressError("Too many :: groups found");
      if (q = q.map((M) => parseInt(M, 16).toString(16)), q.length !== this.groups) throw new h.AddressError("Incorrect number of groups found");
      return q;
    }
    canonicalForm() {
      return this.parsedAddress.map(v).join(":");
    }
    decimal() {
      return this.parsedAddress.map((I) => parseInt(I, 16).toString(10).padStart(5, "0")).join(":");
    }
    bigInt() {
      return BigInt(`0x${this.parsedAddress.map(v).join("")}`);
    }
    to4() {
      const I = this.binaryZeroPad().split("");
      return u.Address4.fromHex(BigInt(`0b${I.slice(96, 128).join("")}`).toString(16).padStart(8, "0"));
    }
    to4in6() {
      const I = this.to4(), x = new st(this.parsedAddress.slice(0, 6).join(":"), 6).correctForm();
      let F = "";
      return /:$/.test(x) || (F = ":"), x + F + I.address;
    }
    inspectTeredo() {
      const I = this.getBitsBase16(0, 32), x = (this.getBits(80, 96) ^ BigInt("0xffff")).toString(), F = u.Address4.fromHex(this.getBitsBase16(32, 64)), q = this.getBits(96, 128), K = u.Address4.fromHex((q ^ BigInt("0xffffffff")).toString(16).padStart(8, "0")), M = this.getBitsBase2(64, 80), N = (0, a.testBit)(M, 15), L = (0, a.testBit)(M, 14), te = (0, a.testBit)(M, 8), H = (0, a.testBit)(M, 9), j = BigInt(`0b${M.slice(2, 6) + M.slice(8, 16)}`).toString(10);
      return {
        prefix: `${I.slice(0, 4)}:${I.slice(4, 8)}`,
        server4: F.address,
        client4: K.address,
        flags: M,
        coneNat: N,
        microsoft: {
          reserved: L,
          universalLocal: H,
          groupIndividual: te,
          nonce: j
        },
        udpPort: x
      };
    }
    inspect6to4() {
      const I = this.getBitsBase16(0, 16), x = u.Address4.fromHex(this.getBitsBase16(16, 48));
      return {
        prefix: I.slice(0, 4),
        gateway: x.address
      };
    }
    to6to4() {
      return this.is4() ? new st([
        "2002",
        this.getBitsBase16(96, 112),
        this.getBitsBase16(112, 128),
        "",
        "/16"
      ].join(":")) : null;
    }
    static fromAddress4Nat64(I, x = "64:ff9b::/96") {
      const F = new u.Address4(I), q = new st(x), K = q.subnetMask;
      if (K !== 32 && K !== 40 && K !== 48 && K !== 56 && K !== 64 && K !== 96) throw new h.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");
      const M = q.binaryZeroPad(), N = F.binaryZeroPad();
      let L;
      if (K === 96) L = M.slice(0, 96) + N;
      else {
        const j = 64 - K;
        L = M.slice(0, K) + N.slice(0, j) + "00000000" + N.slice(j) + "0".repeat(56 - (32 - j));
      }
      const te = BigInt(`0b${L}`).toString(16).padStart(32, "0"), H = [];
      for (let j = 0; j < 8; j++) H.push(te.slice(j * 4, (j + 1) * 4));
      return new st(H.join(":"));
    }
    toAddress4Nat64(I = "64:ff9b::/96") {
      const x = new st(I), F = x.subnetMask;
      if (F !== 32 && F !== 40 && F !== 48 && F !== 56 && F !== 64 && F !== 96) throw new h.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");
      if (!this.isInSubnet(x)) return null;
      const q = this.binaryZeroPad();
      let K;
      if (F === 96) K = q.slice(96, 128);
      else {
        const N = 64 - F;
        K = q.slice(F, F + N) + q.slice(72, 72 + (32 - N));
      }
      const M = [];
      for (let N = 0; N < 4; N++) M.push(parseInt(K.slice(N * 8, (N + 1) * 8), 2).toString());
      return new u.Address4(M.join("."));
    }
    toByteArray() {
      const I = this.bigInt().toString(16), x = `${"0".repeat(I.length % 2)}${I}`, F = [];
      for (let q = 0, K = x.length; q < K; q += 2) F.push(parseInt(x.substring(q, q + 2), 16));
      return F;
    }
    toUnsignedByteArray() {
      return this.toByteArray().map(_);
    }
    static fromByteArray(I) {
      return this.fromUnsignedByteArray(I.map(_));
    }
    static fromUnsignedByteArray(I) {
      const x = BigInt("256");
      let F = BigInt("0"), q = BigInt("1");
      for (let K = I.length - 1; K >= 0; K--)
        F += q * BigInt(I[K].toString(10)), q *= x;
      return st.fromBigInt(F);
    }
    isCanonical() {
      return this.addressMinusSuffix === this.canonicalForm();
    }
    isLinkLocal() {
      return this.getBitsBase2(0, 64) === "1111111010000000000000000000000000000000000000000000000000000000";
    }
    isMulticast() {
      const I = this.getType();
      return I === "Multicast" || I.startsWith("Multicast ");
    }
    is4() {
      return this.v4;
    }
    isMapped4() {
      return this.isInSubnet(C);
    }
    isTeredo() {
      return this.isInSubnet(w);
    }
    is6to4() {
      return this.isInSubnet(b);
    }
    isLoopback() {
      return this.getType() === "Loopback";
    }
    isULA() {
      return this.isInSubnet(A);
    }
    isUnspecified() {
      return this.getType() === "Unspecified";
    }
    isDocumentation() {
      return this.isInSubnet(D);
    }
    href(I) {
      return I === void 0 ? I = "" : I = `:${I}`, `http://[${this.correctForm()}]${I}/`;
    }
    link(I) {
      I || (I = {}), I.className === void 0 && (I.className = ""), I.prefix === void 0 && (I.prefix = "/#address="), I.v4 === void 0 && (I.v4 = !1);
      let x = this.correctForm;
      I.v4 && (x = this.to4in6);
      const F = x.call(this), q = n.escapeHtml(`${I.prefix}${F}`), K = n.escapeHtml(F);
      return I.className ? `<a href="${q}" class="${n.escapeHtml(I.className)}">${K}</a>` : `<a href="${q}">${K}</a>`;
    }
    group() {
      if (this.elidedGroups === 0) return n.simpleGroup(this.addressMinusSuffix).join(":");
      f(typeof this.elidedGroups == "number"), f(typeof this.elisionBegin == "number");
      const I = [], [x, F] = this.addressMinusSuffix.split("::");
      x.length ? I.push(...n.simpleGroup(x)) : I.push("");
      const q = ["hover-group"];
      for (let K = this.elisionBegin; K < this.elisionBegin + this.elidedGroups; K++) q.push(`group-${K}`);
      return I.push(`<span class="${q.join(" ")}"></span>`), F.length ? I.push(...n.simpleGroup(F, this.elisionEnd)) : I.push(""), this.is4() && (f(this.address4 instanceof u.Address4), I.pop(), I.push(this.address4.groupForV6())), I.join(":");
    }
    regularExpressionString(I = !1) {
      let x = [];
      const F = new st(this.correctForm());
      if (F.elidedGroups === 0) x.push((0, o.simpleRegularExpression)(F.parsedAddress));
      else if (F.elidedGroups === c.GROUPS) x.push((0, o.possibleElisions)(c.GROUPS));
      else {
        const q = F.address.split("::");
        q[0].length && x.push((0, o.simpleRegularExpression)(q[0].split(":"))), f(typeof F.elidedGroups == "number"), x.push((0, o.possibleElisions)(F.elidedGroups, q[0].length !== 0, q[1].length !== 0)), q[1].length && x.push((0, o.simpleRegularExpression)(q[1].split(":"))), x = [x.join(":")];
      }
      return I || (x = [
        "(?=^|",
        o.ADDRESS_BOUNDARY,
        "|[^\\w\\:])(",
        ...x,
        ")(?=[^\\w\\:]|",
        o.ADDRESS_BOUNDARY,
        "|$)"
      ]), x.join("");
    }
    regularExpression(I = !1) {
      return new RegExp(this.regularExpressionString(I), "i");
    }
  };
  e.Address6 = E;
  var S = Object.keys(c.TYPES).map((O) => [new E(O), c.TYPES[O]]), w = new E("2001::/32"), b = new E("2002::/16"), A = new E("fc00::/7"), D = new E("2001:db8::/32"), C = new E("::ffff:0:0/96");
})), df = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(u, o, h, a) {
    a === void 0 && (a = h);
    var l = Object.getOwnPropertyDescriptor(o, h);
    (!l || ("get" in l ? !o.__esModule : l.writable || l.configurable)) && (l = {
      enumerable: !0,
      get: function() {
        return o[h];
      }
    }), Object.defineProperty(u, a, l);
  }) : (function(u, o, h, a) {
    a === void 0 && (a = h), u[a] = o[h];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(u, o) {
    Object.defineProperty(u, "default", {
      enumerable: !0,
      value: o
    });
  }) : function(u, o) {
    u.default = o;
  }), i = e && e.__importStar || function(u) {
    if (u && u.__esModule) return u;
    var o = {};
    if (u != null)
      for (var h in u) h !== "default" && Object.prototype.hasOwnProperty.call(u, h) && t(o, u, h);
    return r(o, u), o;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.v6 = e.AddressError = e.Address6 = e.Address4 = void 0;
  var s = uf();
  Object.defineProperty(e, "Address4", {
    enumerable: !0,
    get: function() {
      return s.Address4;
    }
  });
  var d = Q1();
  Object.defineProperty(e, "Address6", {
    enumerable: !0,
    get: function() {
      return d.Address6;
    }
  });
  var c = jn();
  Object.defineProperty(e, "AddressError", {
    enumerable: !0,
    get: function() {
      return c.AddressError;
    }
  });
  var n = i(ff());
  e.v6 = { helpers: n };
})), ew = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ipToBuffer = e.int32ToIpv4 = e.ipv4ToInt32 = e.validateSocksClientChainOptions = e.validateSocksClientOptions = void 0;
  var t = lf(), r = of(), i = be("stream"), s = df(), d = be("net");
  function c(g, m = [
    "connect",
    "bind",
    "associate"
  ]) {
    if (!r.SocksCommand[g.command]) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommand, g);
    if (m.indexOf(g.command) === -1) throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandForOperation, g);
    if (!o(g.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, g);
    if (!h(g.proxy)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, g);
    if (u(g.proxy, g), g.timeout && !a(g.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, g);
    if (g.existing_socket && !(g.existing_socket instanceof i.Duplex)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsExistingSocket, g);
  }
  e.validateSocksClientOptions = c;
  function n(g) {
    if (g.command !== "connect") throw new t.SocksClientError(r.ERRORS.InvalidSocksCommandChain, g);
    if (!o(g.destination)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsDestination, g);
    if (!(g.proxies && Array.isArray(g.proxies) && g.proxies.length >= 2)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxiesLength, g);
    if (g.proxies.forEach((m) => {
      if (!h(m)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsProxy, g);
      u(m, g);
    }), g.timeout && !a(g.timeout)) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsTimeout, g);
  }
  e.validateSocksClientChainOptions = n;
  function u(g, m) {
    if (g.custom_auth_method !== void 0) {
      if (g.custom_auth_method < r.SOCKS5_CUSTOM_AUTH_START || g.custom_auth_method > r.SOCKS5_CUSTOM_AUTH_END) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthRange, m);
      if (g.custom_auth_request_handler === void 0 || typeof g.custom_auth_request_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, m);
      if (g.custom_auth_response_size === void 0) throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, m);
      if (g.custom_auth_response_handler === void 0 || typeof g.custom_auth_response_handler != "function") throw new t.SocksClientError(r.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, m);
    }
  }
  function o(g) {
    return g && typeof g.host == "string" && Buffer.byteLength(g.host) < 256 && typeof g.port == "number" && g.port >= 0 && g.port <= 65535;
  }
  function h(g) {
    return g && (typeof g.host == "string" || typeof g.ipaddress == "string") && typeof g.port == "number" && g.port >= 0 && g.port <= 65535 && (g.type === 4 || g.type === 5);
  }
  function a(g) {
    return typeof g == "number" && g > 0;
  }
  function l(g) {
    return new s.Address4(g).toArray().reduce((m, v) => (m << 8) + v, 0) >>> 0;
  }
  e.ipv4ToInt32 = l;
  function f(g) {
    return [
      g >>> 24 & 255,
      g >>> 16 & 255,
      g >>> 8 & 255,
      g & 255
    ].join(".");
  }
  e.int32ToIpv4 = f;
  function p(g) {
    if (d.isIPv4(g)) {
      const m = new s.Address4(g);
      return Buffer.from(m.toArray());
    } else if (d.isIPv6(g)) {
      const m = new s.Address6(g);
      return Buffer.from(m.canonicalForm().split(":").map((v) => v.padStart(4, "0")).join(""), "hex");
    } else throw new Error("Invalid IP address format");
  }
  e.ipToBuffer = p;
})), tw = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ReceiveBuffer = void 0;
  var t = class {
    constructor(r = 4096) {
      this.buffer = Buffer.allocUnsafe(r), this.offset = 0, this.originalSize = r;
    }
    get length() {
      return this.offset;
    }
    append(r) {
      if (!Buffer.isBuffer(r)) throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.");
      if (this.offset + r.length >= this.buffer.length) {
        const i = this.buffer;
        this.buffer = Buffer.allocUnsafe(Math.max(this.buffer.length + this.originalSize, this.buffer.length + r.length)), i.copy(this.buffer);
      }
      return r.copy(this.buffer, this.offset), this.offset += r.length;
    }
    peek(r) {
      if (r > this.offset) throw new Error("Attempted to read beyond the bounds of the managed internal data.");
      return this.buffer.slice(0, r);
    }
    get(r) {
      if (r > this.offset) throw new Error("Attempted to read beyond the bounds of the managed internal data.");
      const i = Buffer.allocUnsafe(r);
      return this.buffer.slice(0, r).copy(i), this.buffer.copyWithin(0, r, r + this.offset - r), this.offset -= r, i;
    }
  };
  e.ReceiveBuffer = t;
})), rw = /* @__PURE__ */ z(((e) => {
  var t = e && e.__awaiter || function(a, l, f, p) {
    function g(m) {
      return m instanceof f ? m : new f(function(v) {
        v(m);
      });
    }
    return new (f || (f = Promise))(function(m, v) {
      function _(w) {
        try {
          S(p.next(w));
        } catch (b) {
          v(b);
        }
      }
      function E(w) {
        try {
          S(p.throw(w));
        } catch (b) {
          v(b);
        }
      }
      function S(w) {
        w.done ? m(w.value) : g(w.value).then(_, E);
      }
      S((p = p.apply(a, l || [])).next());
    });
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksClientError = e.SocksClient = void 0;
  var r = be("events"), i = be("net"), s = J1(), d = of(), c = ew(), n = tw(), u = lf();
  Object.defineProperty(e, "SocksClientError", {
    enumerable: !0,
    get: function() {
      return u.SocksClientError;
    }
  });
  var o = df(), h = class za extends r.EventEmitter {
    constructor(l) {
      super(), this.options = Object.assign({}, l), (0, c.validateSocksClientOptions)(l), this.setState(d.SocksClientState.Created);
    }
    static createConnection(l, f) {
      return new Promise((p, g) => {
        try {
          (0, c.validateSocksClientOptions)(l, ["connect"]);
        } catch (v) {
          return typeof f == "function" ? (f(v), p(v)) : g(v);
        }
        const m = new za(l);
        m.connect(l.existing_socket), m.once("established", (v) => {
          m.removeAllListeners(), typeof f == "function" && f(null, v), p(v);
        }), m.once("error", (v) => {
          m.removeAllListeners(), typeof f == "function" ? (f(v), p(v)) : g(v);
        });
      });
    }
    static createConnectionChain(l, f) {
      return new Promise((p, g) => t(this, void 0, void 0, function* () {
        try {
          (0, c.validateSocksClientChainOptions)(l);
        } catch (m) {
          return typeof f == "function" ? (f(m), p(m)) : g(m);
        }
        l.randomizeChain && (0, u.shuffleArray)(l.proxies);
        try {
          let m;
          for (let v = 0; v < l.proxies.length; v++) {
            const _ = l.proxies[v], E = v === l.proxies.length - 1 ? l.destination : {
              host: l.proxies[v + 1].host || l.proxies[v + 1].ipaddress,
              port: l.proxies[v + 1].port
            }, S = yield za.createConnection({
              command: "connect",
              proxy: _,
              destination: E,
              existing_socket: m
            });
            m = m || S.socket;
          }
          typeof f == "function" ? (f(null, { socket: m }), p({ socket: m })) : p({ socket: m });
        } catch (m) {
          typeof f == "function" ? (f(m), p(m)) : g(m);
        }
      }));
    }
    static createUDPFrame(l) {
      const f = new s.SmartBuffer();
      return f.writeUInt16BE(0), f.writeUInt8(l.frameNumber || 0), i.isIPv4(l.remoteHost.host) ? (f.writeUInt8(d.Socks5HostType.IPv4), f.writeUInt32BE((0, c.ipv4ToInt32)(l.remoteHost.host))) : i.isIPv6(l.remoteHost.host) ? (f.writeUInt8(d.Socks5HostType.IPv6), f.writeBuffer((0, c.ipToBuffer)(l.remoteHost.host))) : (f.writeUInt8(d.Socks5HostType.Hostname), f.writeUInt8(Buffer.byteLength(l.remoteHost.host)), f.writeString(l.remoteHost.host)), f.writeUInt16BE(l.remoteHost.port), f.writeBuffer(l.data), f.toBuffer();
    }
    static parseUDPFrame(l) {
      const f = s.SmartBuffer.fromBuffer(l);
      f.readOffset = 2;
      const p = f.readUInt8(), g = f.readUInt8();
      let m;
      g === d.Socks5HostType.IPv4 ? m = (0, c.int32ToIpv4)(f.readUInt32BE()) : g === d.Socks5HostType.IPv6 ? m = o.Address6.fromByteArray(Array.from(f.readBuffer(16))).canonicalForm() : m = f.readString(f.readUInt8());
      const v = f.readUInt16BE();
      return {
        frameNumber: p,
        remoteHost: {
          host: m,
          port: v
        },
        data: f.readBuffer()
      };
    }
    setState(l) {
      this.state !== d.SocksClientState.Error && (this.state = l);
    }
    connect(l) {
      this.onDataReceived = (p) => this.onDataReceivedHandler(p), this.onClose = () => this.onCloseHandler(), this.onError = (p) => this.onErrorHandler(p), this.onConnect = () => this.onConnectHandler();
      const f = setTimeout(() => this.onEstablishedTimeout(), this.options.timeout || d.DEFAULT_TIMEOUT);
      f.unref && typeof f.unref == "function" && f.unref(), l ? this.socket = l : this.socket = new i.Socket(), this.socket.once("close", this.onClose), this.socket.once("error", this.onError), this.socket.once("connect", this.onConnect), this.socket.on("data", this.onDataReceived), this.setState(d.SocksClientState.Connecting), this.receiveBuffer = new n.ReceiveBuffer(), l ? this.socket.emit("connect") : (this.socket.connect(this.getSocketOptions()), this.options.set_tcp_nodelay !== void 0 && this.options.set_tcp_nodelay !== null && this.socket.setNoDelay(!!this.options.set_tcp_nodelay)), this.prependOnceListener("established", (p) => {
        setImmediate(() => {
          if (this.receiveBuffer.length > 0) {
            const g = this.receiveBuffer.get(this.receiveBuffer.length);
            p.socket.emit("data", g);
          }
          p.socket.resume();
        });
      });
    }
    getSocketOptions() {
      return Object.assign(Object.assign({}, this.options.socket_options), {
        host: this.options.proxy.host || this.options.proxy.ipaddress,
        port: this.options.proxy.port
      });
    }
    onEstablishedTimeout() {
      this.state !== d.SocksClientState.Established && this.state !== d.SocksClientState.BoundWaitingForConnection && this.closeSocket(d.ERRORS.ProxyConnectionTimedOut);
    }
    onConnectHandler() {
      this.setState(d.SocksClientState.Connected), this.options.proxy.type === 4 ? this.sendSocks4InitialHandshake() : this.sendSocks5InitialHandshake(), this.setState(d.SocksClientState.SentInitialHandshake);
    }
    onDataReceivedHandler(l) {
      this.receiveBuffer.append(l), this.processData();
    }
    processData() {
      for (; this.state !== d.SocksClientState.Established && this.state !== d.SocksClientState.Error && this.receiveBuffer.length >= this.nextRequiredPacketBufferSize; ) if (this.state === d.SocksClientState.SentInitialHandshake) this.options.proxy.type === 4 ? this.handleSocks4FinalHandshakeResponse() : this.handleInitialSocks5HandshakeResponse();
      else if (this.state === d.SocksClientState.SentAuthentication) this.handleInitialSocks5AuthenticationHandshakeResponse();
      else if (this.state === d.SocksClientState.SentFinalHandshake) this.handleSocks5FinalHandshakeResponse();
      else if (this.state === d.SocksClientState.BoundWaitingForConnection) this.options.proxy.type === 4 ? this.handleSocks4IncomingConnectionResponse() : this.handleSocks5IncomingConnectionResponse();
      else {
        this.closeSocket(d.ERRORS.InternalError);
        break;
      }
    }
    onCloseHandler() {
      this.closeSocket(d.ERRORS.SocketClosed);
    }
    onErrorHandler(l) {
      this.closeSocket(l.message);
    }
    removeInternalSocketHandlers() {
      this.socket.pause(), this.socket.removeListener("data", this.onDataReceived), this.socket.removeListener("close", this.onClose), this.socket.removeListener("error", this.onError), this.socket.removeListener("connect", this.onConnect);
    }
    closeSocket(l) {
      this.state !== d.SocksClientState.Error && (this.setState(d.SocksClientState.Error), this.socket.destroy(), this.removeInternalSocketHandlers(), this.emit("error", new u.SocksClientError(l, this.options)));
    }
    sendSocks4InitialHandshake() {
      const l = this.options.proxy.userId || "", f = new s.SmartBuffer();
      f.writeUInt8(4), f.writeUInt8(d.SocksCommand[this.options.command]), f.writeUInt16BE(this.options.destination.port), i.isIPv4(this.options.destination.host) ? (f.writeBuffer((0, c.ipToBuffer)(this.options.destination.host)), f.writeStringNT(l)) : (f.writeUInt8(0), f.writeUInt8(0), f.writeUInt8(0), f.writeUInt8(1), f.writeStringNT(l), f.writeStringNT(this.options.destination.host)), this.nextRequiredPacketBufferSize = d.SOCKS_INCOMING_PACKET_SIZES.Socks4Response, this.socket.write(f.toBuffer());
    }
    handleSocks4FinalHandshakeResponse() {
      const l = this.receiveBuffer.get(8);
      if (l[1] !== d.Socks4Response.Granted) this.closeSocket(`${d.ERRORS.Socks4ProxyRejectedConnection} - (${d.Socks4Response[l[1]]})`);
      else if (d.SocksCommand[this.options.command] === d.SocksCommand.bind) {
        const f = s.SmartBuffer.fromBuffer(l);
        f.readOffset = 2;
        const p = {
          port: f.readUInt16BE(),
          host: (0, c.int32ToIpv4)(f.readUInt32BE())
        };
        p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress), this.setState(d.SocksClientState.BoundWaitingForConnection), this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        });
      } else
        this.setState(d.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", { socket: this.socket });
    }
    handleSocks4IncomingConnectionResponse() {
      const l = this.receiveBuffer.get(8);
      if (l[1] !== d.Socks4Response.Granted) this.closeSocket(`${d.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${d.Socks4Response[l[1]]})`);
      else {
        const f = s.SmartBuffer.fromBuffer(l);
        f.readOffset = 2;
        const p = {
          port: f.readUInt16BE(),
          host: (0, c.int32ToIpv4)(f.readUInt32BE())
        };
        this.setState(d.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    sendSocks5InitialHandshake() {
      const l = new s.SmartBuffer(), f = [d.Socks5Auth.NoAuth];
      (this.options.proxy.userId || this.options.proxy.password) && f.push(d.Socks5Auth.UserPass), this.options.proxy.custom_auth_method !== void 0 && f.push(this.options.proxy.custom_auth_method), l.writeUInt8(5), l.writeUInt8(f.length);
      for (const p of f) l.writeUInt8(p);
      this.nextRequiredPacketBufferSize = d.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse, this.socket.write(l.toBuffer()), this.setState(d.SocksClientState.SentInitialHandshake);
    }
    handleInitialSocks5HandshakeResponse() {
      const l = this.receiveBuffer.get(2);
      l[0] !== 5 ? this.closeSocket(d.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion) : l[1] === d.SOCKS5_NO_ACCEPTABLE_AUTH ? this.closeSocket(d.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType) : l[1] === d.Socks5Auth.NoAuth ? (this.socks5ChosenAuthType = d.Socks5Auth.NoAuth, this.sendSocks5CommandRequest()) : l[1] === d.Socks5Auth.UserPass ? (this.socks5ChosenAuthType = d.Socks5Auth.UserPass, this.sendSocks5UserPassAuthentication()) : l[1] === this.options.proxy.custom_auth_method ? (this.socks5ChosenAuthType = this.options.proxy.custom_auth_method, this.sendSocks5CustomAuthentication()) : this.closeSocket(d.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType);
    }
    sendSocks5UserPassAuthentication() {
      const l = this.options.proxy.userId || "", f = this.options.proxy.password || "", p = new s.SmartBuffer();
      p.writeUInt8(1), p.writeUInt8(Buffer.byteLength(l)), p.writeString(l), p.writeUInt8(Buffer.byteLength(f)), p.writeString(f), this.nextRequiredPacketBufferSize = d.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse, this.socket.write(p.toBuffer()), this.setState(d.SocksClientState.SentAuthentication);
    }
    sendSocks5CustomAuthentication() {
      return t(this, void 0, void 0, function* () {
        this.nextRequiredPacketBufferSize = this.options.proxy.custom_auth_response_size, this.socket.write(yield this.options.proxy.custom_auth_request_handler()), this.setState(d.SocksClientState.SentAuthentication);
      });
    }
    handleSocks5CustomAuthHandshakeResponse(l) {
      return t(this, void 0, void 0, function* () {
        return yield this.options.proxy.custom_auth_response_handler(l);
      });
    }
    handleSocks5AuthenticationNoAuthHandshakeResponse(l) {
      return t(this, void 0, void 0, function* () {
        return l[1] === 0;
      });
    }
    handleSocks5AuthenticationUserPassHandshakeResponse(l) {
      return t(this, void 0, void 0, function* () {
        return l[1] === 0;
      });
    }
    handleInitialSocks5AuthenticationHandshakeResponse() {
      return t(this, void 0, void 0, function* () {
        this.setState(d.SocksClientState.ReceivedAuthenticationResponse);
        let l = !1;
        this.socks5ChosenAuthType === d.Socks5Auth.NoAuth ? l = yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === d.Socks5Auth.UserPass ? l = yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)) : this.socks5ChosenAuthType === this.options.proxy.custom_auth_method && (l = yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))), l ? this.sendSocks5CommandRequest() : this.closeSocket(d.ERRORS.Socks5AuthenticationFailed);
      });
    }
    sendSocks5CommandRequest() {
      const l = new s.SmartBuffer();
      l.writeUInt8(5), l.writeUInt8(d.SocksCommand[this.options.command]), l.writeUInt8(0), i.isIPv4(this.options.destination.host) ? (l.writeUInt8(d.Socks5HostType.IPv4), l.writeBuffer((0, c.ipToBuffer)(this.options.destination.host))) : i.isIPv6(this.options.destination.host) ? (l.writeUInt8(d.Socks5HostType.IPv6), l.writeBuffer((0, c.ipToBuffer)(this.options.destination.host))) : (l.writeUInt8(d.Socks5HostType.Hostname), l.writeUInt8(this.options.destination.host.length), l.writeString(this.options.destination.host)), l.writeUInt16BE(this.options.destination.port), this.nextRequiredPacketBufferSize = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.socket.write(l.toBuffer()), this.setState(d.SocksClientState.SentFinalHandshake);
    }
    handleSocks5FinalHandshakeResponse() {
      const l = this.receiveBuffer.peek(5);
      if (l[0] !== 5 || l[1] !== d.Socks5Response.Granted) this.closeSocket(`${d.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${d.Socks5Response[l[1]]}`);
      else {
        const f = l[3];
        let p, g;
        if (f === d.Socks5HostType.IPv4) {
          const m = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < m) {
            this.nextRequiredPacketBufferSize = m;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(m).slice(4)), p = {
            host: (0, c.int32ToIpv4)(g.readUInt32BE()),
            port: g.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (f === d.Socks5HostType.Hostname) {
          const m = l[4], v = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(m);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: g.readString(m),
            port: g.readUInt16BE()
          };
        } else if (f === d.Socks5HostType.IPv6) {
          const m = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < m) {
            this.nextRequiredPacketBufferSize = m;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(m).slice(4)), p = {
            host: o.Address6.fromByteArray(Array.from(g.readBuffer(16))).canonicalForm(),
            port: g.readUInt16BE()
          };
        }
        this.setState(d.SocksClientState.ReceivedFinalResponse), d.SocksCommand[this.options.command] === d.SocksCommand.connect ? (this.setState(d.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        })) : d.SocksCommand[this.options.command] === d.SocksCommand.bind ? (this.setState(d.SocksClientState.BoundWaitingForConnection), this.nextRequiredPacketBufferSize = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader, this.emit("bound", {
          remoteHost: p,
          socket: this.socket
        })) : d.SocksCommand[this.options.command] === d.SocksCommand.associate && (this.setState(d.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        }));
      }
    }
    handleSocks5IncomingConnectionResponse() {
      const l = this.receiveBuffer.peek(5);
      if (l[0] !== 5 || l[1] !== d.Socks5Response.Granted) this.closeSocket(`${d.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${d.Socks5Response[l[1]]}`);
      else {
        const f = l[3];
        let p, g;
        if (f === d.Socks5HostType.IPv4) {
          const m = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;
          if (this.receiveBuffer.length < m) {
            this.nextRequiredPacketBufferSize = m;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(m).slice(4)), p = {
            host: (0, c.int32ToIpv4)(g.readUInt32BE()),
            port: g.readUInt16BE()
          }, p.host === "0.0.0.0" && (p.host = this.options.proxy.ipaddress);
        } else if (f === d.Socks5HostType.Hostname) {
          const m = l[4], v = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(m);
          if (this.receiveBuffer.length < v) {
            this.nextRequiredPacketBufferSize = v;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(v).slice(5)), p = {
            host: g.readString(m),
            port: g.readUInt16BE()
          };
        } else if (f === d.Socks5HostType.IPv6) {
          const m = d.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;
          if (this.receiveBuffer.length < m) {
            this.nextRequiredPacketBufferSize = m;
            return;
          }
          g = s.SmartBuffer.fromBuffer(this.receiveBuffer.get(m).slice(4)), p = {
            host: o.Address6.fromByteArray(Array.from(g.readBuffer(16))).canonicalForm(),
            port: g.readUInt16BE()
          };
        }
        this.setState(d.SocksClientState.Established), this.removeInternalSocketHandlers(), this.emit("established", {
          remoteHost: p,
          socket: this.socket
        });
      }
    }
    get socksClientOptions() {
      return Object.assign({}, this.options);
    }
  };
  e.SocksClient = h;
})), iw = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(i, s, d, c) {
    c === void 0 && (c = d);
    var n = Object.getOwnPropertyDescriptor(s, d);
    (!n || ("get" in n ? !s.__esModule : n.writable || n.configurable)) && (n = {
      enumerable: !0,
      get: function() {
        return s[d];
      }
    }), Object.defineProperty(i, c, n);
  }) : (function(i, s, d, c) {
    c === void 0 && (c = d), i[c] = s[d];
  })), r = e && e.__exportStar || function(i, s) {
    for (var d in i) d !== "default" && !Object.prototype.hasOwnProperty.call(s, d) && t(s, i, d);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), r(rw(), e);
})), nw = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(v, _, E, S) {
    S === void 0 && (S = E);
    var w = Object.getOwnPropertyDescriptor(_, E);
    (!w || ("get" in w ? !_.__esModule : w.writable || w.configurable)) && (w = {
      enumerable: !0,
      get: function() {
        return _[E];
      }
    }), Object.defineProperty(v, S, w);
  }) : (function(v, _, E, S) {
    S === void 0 && (S = E), v[S] = _[E];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(v, _) {
    Object.defineProperty(v, "default", {
      enumerable: !0,
      value: _
    });
  }) : function(v, _) {
    v.default = _;
  }), i = e && e.__importStar || function(v) {
    if (v && v.__esModule) return v;
    var _ = {};
    if (v != null)
      for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && t(_, v, E);
    return r(_, v), _;
  }, s = e && e.__importDefault || function(v) {
    return v && v.__esModule ? v : { default: v };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.SocksProxyAgent = void 0;
  var d = iw(), c = Mn(), n = s(Fn()), u = i(be("dns")), o = i(be("net")), h = i(be("tls")), a = be("url"), l = (0, n.default)("socks-proxy-agent"), f = (v) => v.servername === void 0 && v.host && !o.isIP(v.host) ? {
    ...v,
    servername: v.host
  } : v;
  function p(v) {
    let _ = !1, E = 5;
    const S = v.hostname, w = parseInt(v.port, 10) || 1080;
    switch (v.protocol.replace(":", "")) {
      case "socks4":
        _ = !0, E = 4;
        break;
      case "socks4a":
        E = 4;
        break;
      case "socks5":
        _ = !0, E = 5;
        break;
      case "socks":
        E = 5;
        break;
      case "socks5h":
        E = 5;
        break;
      default:
        throw new TypeError(`A "socks" protocol must be specified! Got: ${String(v.protocol)}`);
    }
    const b = {
      host: S,
      port: w,
      type: E
    };
    return v.username && Object.defineProperty(b, "userId", {
      value: decodeURIComponent(v.username),
      enumerable: !1
    }), v.password != null && Object.defineProperty(b, "password", {
      value: decodeURIComponent(v.password),
      enumerable: !1
    }), {
      lookup: _,
      proxy: b
    };
  }
  var g = class extends c.Agent {
    constructor(v, _) {
      super(_);
      const { proxy: E, lookup: S } = p(typeof v == "string" ? new a.URL(v) : v);
      this.shouldLookup = S, this.proxy = E, this.timeout = _?.timeout ?? null, this.socketOptions = _?.socketOptions ?? null;
    }
    async connect(v, _) {
      const { shouldLookup: E, proxy: S, timeout: w } = this;
      if (!_.host) throw new Error("No `host` defined!");
      let { host: b } = _;
      const { port: A, lookup: D = u.lookup } = _;
      E && (b = await new Promise((x, F) => {
        D(b, {}, (q, K) => {
          q ? F(q) : x(K);
        });
      }));
      const C = {
        proxy: S,
        destination: {
          host: b,
          port: typeof A == "number" ? A : parseInt(A, 10)
        },
        command: "connect",
        timeout: w ?? void 0,
        socket_options: this.socketOptions ?? void 0
      }, O = (x) => {
        v.destroy(), I.destroy(), x && x.destroy();
      };
      l("Creating socks proxy connection: %o", C);
      const { socket: I } = await d.SocksClient.createConnection(C);
      if (l("Successfully created socks proxy connection"), w !== null && (I.setTimeout(w), I.on("timeout", () => O())), _.secureEndpoint) {
        l("Upgrading socket connection to TLS");
        const x = h.connect({
          ...m(f(_), "host", "path", "port"),
          socket: I
        });
        return x.once("error", (F) => {
          l("Socket TLS error", F.message), O(x);
        }), x;
      }
      return I;
    }
  };
  g.protocols = [
    "socks",
    "socks4",
    "socks4a",
    "socks5",
    "socks5h"
  ], e.SocksProxyAgent = g;
  function m(v, ..._) {
    const E = {};
    let S;
    for (S in v) _.includes(S) || (E[S] = v[S]);
    return E;
  }
})), pf = /* @__PURE__ */ z(((e, t) => {
  var r = class extends Error {
    constructor(n) {
      super(`Invalid protocol \`${n.protocol}\` connecting to proxy \`${n.host}\``), this.code = "EINVALIDPROXY", this.proxy = n;
    }
  }, i = class extends Error {
    constructor(n) {
      super(`Timeout connecting to host \`${n}\``), this.code = "ECONNECTIONTIMEOUT", this.host = n;
    }
  }, s = class extends Error {
    constructor(n) {
      super(`Idle timeout reached for host \`${n}\``), this.code = "EIDLETIMEOUT", this.host = n;
    }
  }, d = class extends Error {
    constructor(n, u) {
      let o = "Response timeout ";
      u && (o += `from proxy \`${u.host}\` `), o += `connecting to host \`${n.host}\``, super(o), this.code = "ERESPONSETIMEOUT", this.proxy = u, this.request = n;
    }
  }, c = class extends Error {
    constructor(n, u) {
      let o = "Transfer timeout ";
      u && (o += `from proxy \`${u.host}\` `), o += `for \`${n.host}\``, super(o), this.code = "ETRANSFERTIMEOUT", this.proxy = u, this.request = n;
    }
  };
  t.exports = {
    InvalidProxyProtocolError: r,
    ConnectionTimeoutError: i,
    IdleTimeoutError: s,
    ResponseTimeoutError: d,
    TransferTimeoutError: c
  };
})), gf = /* @__PURE__ */ z(((e, t) => {
  var { HttpProxyAgent: r } = V1(), { HttpsProxyAgent: i } = K1(), { SocksProxyAgent: s } = nw(), { LRUCache: d } = Ri(), { InvalidProxyProtocolError: c } = pf(), n = new d({ max: 20 }), u = new Set(s.protocols), o = /* @__PURE__ */ new Set([
    "https_proxy",
    "http_proxy",
    "proxy",
    "no_proxy"
  ]), h = Object.entries(process.env).reduce((p, [g, m]) => (g = g.toLowerCase(), o.has(g) && (p[g] = m), p), {}), a = (p) => {
    p = new URL(p);
    const g = p.protocol.slice(0, -1);
    if (u.has(g)) return s;
    if (g === "https" || g === "http") return [r, i];
    throw new c(p);
  }, l = (p, g) => {
    if (typeof g == "string" && (g = g.split(",").map((v) => v.trim()).filter(Boolean)), !g || !g.length) return !1;
    const m = p.hostname.split(".").reverse();
    return g.some((v) => {
      const _ = v.split(".").filter(Boolean).reverse();
      if (!_.length) return !1;
      for (let E = 0; E < _.length; E++) if (m[E] !== _[E]) return !1;
      return !0;
    });
  }, f = (p, { proxy: g, noProxy: m }) => (p = new URL(p), g || (g = p.protocol === "https:" ? h.https_proxy : h.https_proxy || h.http_proxy || h.proxy), m || (m = h.no_proxy), !g || l(p, m) ? null : new URL(g));
  t.exports = {
    getProxyAgent: a,
    getProxy: f,
    proxyCache: n
  };
})), sw = /* @__PURE__ */ z(((e, t) => {
  var r = be("net"), i = be("tls"), { once: s } = be("events"), d = be("timers/promises"), { normalizeOptions: c, cacheOptions: n } = nf(), { getProxy: u, getProxyAgent: o, proxyCache: h } = gf(), a = pf(), { Agent: l } = Mn();
  t.exports = class extends l {
    #e;
    #t;
    #r;
    #n;
    #s;
    constructor(p = {}) {
      const { timeouts: g, proxy: m, noProxy: v, ..._ } = c(p);
      super(_), this.#e = _, this.#t = g, m && (this.#r = new URL(m), this.#n = v, this.#s = o(m));
    }
    get proxy() {
      return this.#r ? { url: this.#r } : {};
    }
    #c(p) {
      if (!this.#r) return;
      const g = u(`${p.protocol}//${p.host}:${p.port}`, {
        proxy: this.#r,
        noProxy: this.#n
      });
      if (!g) return;
      const m = n({
        ...p,
        ...this.#e,
        timeouts: this.#t,
        proxy: g
      });
      if (h.has(m)) return h.get(m);
      let v = this.#s;
      Array.isArray(v) && (v = this.isSecureEndpoint(p) ? v[1] : v[0]);
      const _ = new v(g, {
        ...this.#e,
        socketOptions: { family: this.#e.family }
      });
      return h.set(m, _), _;
    }
    async #f({ promises: p, options: g, timeout: m }, v = new AbortController()) {
      if (m) {
        const E = d.setTimeout(m, null, { signal: v.signal }).then(() => {
          throw new a.ConnectionTimeoutError(`${g.host}:${g.port}`);
        }).catch((S) => {
          if (S.name !== "AbortError")
            throw S;
        });
        p.push(E);
      }
      let _;
      try {
        _ = await Promise.race(p), v.abort();
      } catch (E) {
        throw v.abort(), E;
      }
      return _;
    }
    async connect(p, g) {
      g.lookup ??= this.#e.lookup;
      let m, v = this.#t.connection;
      const _ = this.isSecureEndpoint(g), E = this.#c(g);
      if (E) {
        const A = Date.now();
        m = await this.#f({
          options: g,
          timeout: v,
          promises: [E.connect(p, g)]
        }), v && (v = v - (Date.now() - A));
      } else m = (_ ? i : r).connect(g);
      m.setKeepAlive(this.keepAlive, this.keepAliveMsecs), m.setNoDelay(this.keepAlive);
      const S = new AbortController(), { signal: w } = S, b = m[_ ? "secureConnecting" : "connecting"] ? s(m, _ ? "secureConnect" : "connect", { signal: w }) : Promise.resolve();
      return await this.#f({
        options: g,
        timeout: v,
        promises: [b, s(m, "error", { signal: w }).then((A) => {
          throw A[0];
        })]
      }, S), this.#t.idle && m.setTimeout(this.#t.idle, () => {
        m.destroy(new a.IdleTimeoutError(`${g.host}:${g.port}`));
      }), m;
    }
    addRequest(p, g) {
      const m = this.#c(g);
      if (m?.setRequestProps && m.setRequestProps(p, g), p.setHeader("connection", this.keepAlive ? "keep-alive" : "close"), this.#t.response) {
        let v;
        p.once("finish", () => {
          setTimeout(() => {
            p.destroy(new a.ResponseTimeoutError(p, this.#r));
          }, this.#t.response);
        }), p.once("response", () => {
          clearTimeout(v);
        });
      }
      if (this.#t.transfer) {
        let v;
        p.once("response", (_) => {
          setTimeout(() => {
            _.destroy(new a.TransferTimeoutError(p, this.#r));
          }, this.#t.transfer), _.once("close", () => {
            clearTimeout(v);
          });
        });
      }
      return super.addRequest(p, g);
    }
  };
})), aw = /* @__PURE__ */ z(((e, t) => {
  var { LRUCache: r } = Ri(), { normalizeOptions: i, cacheOptions: s } = nf(), { getProxy: d, proxyCache: c } = gf(), n = rf(), u = sw(), o = new r({ max: 20 }), h = (a, { agent: l, proxy: f, noProxy: p, ...g } = {}) => {
    if (l != null) return l;
    a = new URL(a);
    const m = d(a, {
      proxy: f,
      noProxy: p
    }), v = {
      ...i(g),
      proxy: m
    }, _ = s({
      ...v,
      secureEndpoint: a.protocol === "https:"
    });
    if (o.has(_)) return o.get(_);
    const E = new u(v);
    return o.set(_, E), E;
  };
  t.exports = {
    getAgent: h,
    Agent: u,
    HttpAgent: u,
    HttpsAgent: u,
    cache: {
      proxy: c,
      agent: o,
      dns: n.cache,
      clear: () => {
        c.clear(), o.clear(), n.cache.clear();
      }
    }
  };
})), ow = /* @__PURE__ */ ft({
  author: () => eo,
  default: () => mf,
  dependencies: () => to,
  description: () => Ya,
  devDependencies: () => ro,
  engines: () => io,
  files: () => Za,
  keywords: () => Qa,
  license: () => "ISC",
  main: () => Ka,
  name: () => Wa,
  repository: () => Xa,
  scripts: () => Ja,
  tap: () => no,
  templateOSS: () => so,
  version: () => Va
}), Wa, Va, Ya, Ka, Za, Ja, Xa, Qa, eo, lw, to, ro, io, no, so, mf, cw = Ot((() => {
  Wa = "make-fetch-happen", Va = "15.0.5", Ya = "Opinionated, caching, retrying fetch client", Ka = "lib/index.js", Za = ["bin/", "lib/"], Ja = {
    test: "tap",
    posttest: "npm run lint",
    eslint: 'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',
    lint: "npm run eslint",
    lintfix: "npm run eslint -- --fix",
    postlint: "template-oss-check",
    snap: "tap",
    "template-oss-apply": "template-oss-apply --force"
  }, Xa = {
    type: "git",
    url: "git+https://github.com/npm/make-fetch-happen.git"
  }, Qa = [
    "http",
    "request",
    "fetch",
    "mean girls",
    "caching",
    "cache",
    "subresource integrity"
  ], eo = "GitHub Inc.", lw = "ISC", to = {
    "@gar/promise-retry": "^1.0.0",
    "@npmcli/agent": "^4.0.0",
    "@npmcli/redact": "^4.0.0",
    cacache: "^20.0.1",
    "http-cache-semantics": "^4.1.1",
    minipass: "^7.0.2",
    "minipass-fetch": "^5.0.0",
    "minipass-flush": "^1.0.5",
    "minipass-pipeline": "^1.2.4",
    negotiator: "^1.0.0",
    "proc-log": "^6.0.0",
    ssri: "^13.0.0"
  }, ro = {
    "@npmcli/eslint-config": "^5.0.0",
    "@npmcli/template-oss": "4.25.0",
    nock: "^13.2.4",
    "safe-buffer": "^5.2.1",
    "standard-version": "^9.3.2",
    tap: "^16.0.0"
  }, io = { node: "^20.17.0 || >=22.9.0" }, no = {
    color: 1,
    files: "test/*.js",
    "check-coverage": !0,
    timeout: 60,
    "nyc-arg": ["--exclude", "tap-snapshots/**"]
  }, so = {
    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
    version: "4.25.0",
    publish: "true"
  }, mf = {
    name: Wa,
    version: Va,
    description: Ya,
    main: Ka,
    files: Za,
    scripts: Ja,
    repository: Xa,
    keywords: Qa,
    author: eo,
    license: "ISC",
    dependencies: to,
    devDependencies: ro,
    engines: io,
    tap: no,
    templateOSS: so
  };
})), Xo = /* @__PURE__ */ z(((e, t) => {
  var { Minipass: r } = St(), i = Ii(), { promiseRetry: s } = j1(), d = yr(), { log: c } = Vo(), { redact: n } = Nh(), u = tf(), { getAgent: o } = aw(), h = (cw(), vt(ow).default), a = `${h.name}/${h.version} (+https://npm.im/${h.name})`, l = [
    "ECONNRESET",
    "ECONNREFUSED",
    "EADDRINUSE",
    "ETIMEDOUT",
    "ECONNECTIONTIMEOUT",
    "EIDLETIMEOUT",
    "ERESPONSETIMEOUT",
    "ETRANSFERTIMEOUT"
  ], f = ["request-timeout"], p = (g, m) => {
    const v = o(g.url, {
      ...m,
      signal: void 0
    });
    g.headers.has("connection") || g.headers.set("connection", v ? "keep-alive" : "close"), g.headers.has("user-agent") || g.headers.set("user-agent", a);
    const _ = {
      ...m,
      agent: v,
      redirect: "manual"
    };
    return s(async (E, S) => {
      const w = new i.Request(g, _), b = n(w.url);
      try {
        let A = await i(w, _);
        if (_.integrity && A.status === 200) {
          const C = d.integrityStream({
            algorithms: _.algorithms,
            integrity: _.integrity,
            size: _.size
          }), O = new u({ events: ["integrity", "size"] }, A.body, C);
          C.on("integrity", (I) => O.emit("integrity", I)), C.on("size", (I) => O.emit("size", I)), A = new i.Response(O, A), A.body.hasIntegrityEmitter = !0;
        }
        A.headers.set("x-fetch-attempts", S);
        const D = r.isStream(w.body);
        return w.method !== "POST" && !D && ([
          408,
          420,
          429
        ].includes(A.status) || A.status >= 500) ? (typeof m.onRetry == "function" && m.onRetry(A), c.http("fetch", `${w.method} ${b} attempt ${S} failed with ${A.status}`), E(A)) : A;
      } catch (A) {
        const D = A.code === "EPROMISERETRY" ? A.retried.code : A.code, C = A.retried instanceof i.Response || l.includes(D) && f.includes(A.type);
        if (w.method === "POST" || C) throw A;
        return typeof m.onRetry == "function" && m.onRetry(A), c.http("fetch", `${w.method} ${b} attempt ${S} failed with ${A.code}`), E(A);
      }
    }, m.retry).catch((E) => {
      if (E.status >= 400 && E.type !== "system") return E;
      throw E;
    });
  };
  t.exports = p;
})), uw = /* @__PURE__ */ z(((e, t) => {
  var { Request: r, Response: i } = Ii(), { Minipass: s } = St(), d = Yo(), c = B1(), n = be("url"), u = tf(), o = Fh(), h = F1(), a = Xo(), l = (S, w) => Object.prototype.hasOwnProperty.call(S, w), f = [
    "accept-charset",
    "accept-encoding",
    "accept-language",
    "accept",
    "cache-control"
  ], p = [
    "cache-control",
    "content-encoding",
    "content-language",
    "content-type",
    "date",
    "etag",
    "expires",
    "last-modified",
    "link",
    "location",
    "pragma",
    "vary"
  ], g = (S, w, b) => {
    const A = {
      time: Date.now(),
      url: S.url,
      reqHeaders: {},
      resHeaders: {},
      options: { compress: b.compress != null ? b.compress : S.compress }
    };
    w.status !== 200 && w.status !== 304 && (A.status = w.status);
    for (const O of f) S.headers.has(O) && (A.reqHeaders[O] = S.headers.get(O));
    const D = S.headers.get("host"), C = new n.URL(S.url);
    if (D && C.host !== D && (A.reqHeaders.host = D), w.headers.has("vary")) {
      const O = w.headers.get("vary");
      if (O !== "*") {
        const I = O.trim().toLowerCase().split(/\s*,\s*/);
        for (const x of I) S.headers.has(x) && (A.reqHeaders[x] = S.headers.get(x));
      }
    }
    for (const O of p) w.headers.has(O) && (A.resHeaders[O] = w.headers.get(O));
    for (const O of b.cacheAdditionalHeaders) w.headers.has(O) && (A.resHeaders[O] = w.headers.get(O));
    return A;
  }, m = /* @__PURE__ */ Symbol("request"), v = /* @__PURE__ */ Symbol("response"), _ = /* @__PURE__ */ Symbol("policy"), E = class Ir {
    constructor({ entry: w, request: b, response: A, options: D }) {
      w ? (this.key = w.key, this.entry = w, this.entry.metadata.time = this.entry.metadata.time || this.entry.time) : this.key = h(b), this.options = D, this[m] = b, this[v] = A, this[_] = null;
    }
    static async find(w, b) {
      try {
        var A = await c.index.compact(b.cachePath, h(w), (C, O) => {
          const I = new Ir({
            entry: C,
            options: b
          }), x = new Ir({
            entry: O,
            options: b
          });
          return I.policy.satisfies(x.request);
        }, { validateEntry: (C) => C.metadata && C.metadata.resHeaders && C.metadata.resHeaders["content-encoding"] === null ? !1 : C.integrity === null ? !!(C.metadata && C.metadata.status) : !0 });
      } catch {
        return;
      }
      if (b.cache === "reload") return;
      let D;
      for (const C of A) {
        const O = new Ir({
          entry: C,
          options: b
        });
        if (O.policy.satisfies(w)) {
          D = O;
          break;
        }
      }
      return D;
    }
    static async invalidate(w, b) {
      const A = h(w);
      try {
        await c.rm.entry(b.cachePath, A, { removeFully: !0 });
      } catch {
      }
    }
    get request() {
      return this[m] || (this[m] = new r(this.entry.metadata.url, {
        method: "GET",
        headers: this.entry.metadata.reqHeaders,
        ...this.entry.metadata.options
      })), this[m];
    }
    get response() {
      return this[v] || (this[v] = new i(null, {
        url: this.entry.metadata.url,
        counter: this.options.counter,
        status: this.entry.metadata.status || 200,
        headers: {
          ...this.entry.metadata.resHeaders,
          "content-length": this.entry.size
        }
      })), this[v];
    }
    get policy() {
      return this[_] || (this[_] = new o({
        entry: this.entry,
        request: this.request,
        response: this.response,
        options: this.options
      })), this[_];
    }
    async store(w) {
      if (this.request.method !== "GET" || ![
        200,
        301,
        308
      ].includes(this.response.status) || !this.policy.storable())
        return this.response.headers.set("x-local-cache-status", "skip"), this.response;
      const b = this.response.headers.get("content-length"), A = {
        algorithms: this.options.algorithms,
        metadata: g(this.request, this.response, this.options),
        size: b,
        integrity: this.options.integrity,
        integrityEmitter: this.response.body.hasIntegrityEmitter && this.response.body
      };
      let D = null;
      if (this.response.status === 200) {
        let C, O;
        const I = new Promise((F, q) => {
          C = F, O = q;
        }).catch((F) => {
          D.emit("error", F);
        });
        D = new u({ events: ["integrity", "size"] }, new d({ flush() {
          return I;
        } })), D.hasIntegrityEmitter = !0;
        const x = () => {
          const F = new s(), q = c.put.stream(this.options.cachePath, this.key, A);
          q.on("integrity", (K) => D.emit("integrity", K)), q.on("size", (K) => D.emit("size", K)), F.pipe(q), q.promise().then(C, O), D.unshift(F), D.unshift(this.response.body);
        };
        D.once("resume", x), D.once("end", () => D.removeListener("resume", x));
      } else await c.index.insert(this.options.cachePath, this.key, null, A);
      return this.response.headers.set("x-local-cache", encodeURIComponent(this.options.cachePath)), this.response.headers.set("x-local-cache-key", encodeURIComponent(this.key)), this.response.headers.set("x-local-cache-mode", "stream"), this.response.headers.set("x-local-cache-status", w), this.response.headers.set("x-local-cache-time", (/* @__PURE__ */ new Date()).toISOString()), new i(D, {
        url: this.response.url,
        status: this.response.status,
        headers: this.response.headers,
        counter: this.options.counter
      });
    }
    async respond(w, b, A) {
      let D;
      if (w === "HEAD" || [301, 308].includes(this.response.status)) D = this.response;
      else {
        const C = new s(), O = { ...this.policy.responseHeaders() }, I = () => {
          const x = c.get.stream.byDigest(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize });
          x.on("error", async (F) => {
            x.pause(), F.code === "EINTEGRITY" && await c.rm.content(this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize }), (F.code === "ENOENT" || F.code === "EINTEGRITY") && await Ir.invalidate(this.request, this.options), C.emit("error", F), x.resume();
          }), C.emit("integrity", this.entry.integrity), C.emit("size", Number(O["content-length"])), x.pipe(C);
        };
        C.once("resume", I), C.once("end", () => C.removeListener("resume", I)), D = new i(C, {
          url: this.entry.metadata.url,
          counter: b.counter,
          status: 200,
          headers: O
        });
      }
      return D.headers.set("x-local-cache", encodeURIComponent(this.options.cachePath)), D.headers.set("x-local-cache-hash", encodeURIComponent(this.entry.integrity)), D.headers.set("x-local-cache-key", encodeURIComponent(this.key)), D.headers.set("x-local-cache-mode", "stream"), D.headers.set("x-local-cache-status", A), D.headers.set("x-local-cache-time", new Date(this.entry.metadata.time).toUTCString()), D;
    }
    async revalidate(w, b) {
      const A = new r(w, { headers: this.policy.revalidationHeaders(w) });
      try {
        var D = await a(A, {
          ...b,
          headers: void 0
        });
      } catch (C) {
        if (!this.policy.mustRevalidate) return this.respond(w.method, b, "stale");
        throw C;
      }
      if (this.policy.revalidated(A, D)) {
        const C = g(w, D, b);
        for (const O of p) !l(C.resHeaders, O) && l(this.entry.metadata.resHeaders, O) && (C.resHeaders[O] = this.entry.metadata.resHeaders[O]);
        for (const O of b.cacheAdditionalHeaders) {
          const I = l(C.resHeaders, O), x = l(this.entry.metadata.resHeaders, O), F = l(this.policy.response.headers, O);
          !I && x && (C.resHeaders[O] = this.entry.metadata.resHeaders[O]), !F && I && (this.policy.response.headers[O] = C.resHeaders[O]);
        }
        try {
          await c.index.insert(b.cachePath, this.key, this.entry.integrity, {
            size: this.entry.size,
            metadata: C
          });
        } catch {
        }
        return this.respond(w.method, b, "revalidated");
      }
      return new Ir({
        request: w,
        response: D,
        options: b
      }).store("updated");
    }
  };
  t.exports = E;
})), hw = /* @__PURE__ */ z(((e, t) => {
  var { NotCachedError: r } = _1(), i = uw(), s = Xo(), d = async (c, n) => {
    const u = await i.find(c, n);
    if (!u) {
      if (n.cache === "only-if-cached") throw new r(c.url);
      return new i({
        request: c,
        response: await s(c, n),
        options: n
      }).store("miss");
    }
    if (n.cache === "no-cache") return u.revalidate(c, n);
    const o = u.policy.needsRevalidation(c);
    return n.cache === "force-cache" || n.cache === "only-if-cached" || !o ? u.respond(c.method, n, o ? "stale" : "hit") : u.revalidate(c, n);
  };
  d.invalidate = async (c, n) => {
    if (n.cachePath)
      return i.invalidate(c, n);
  }, t.exports = d;
})), fw = /* @__PURE__ */ z(((e, t) => {
  var { FetchError: r, Request: i, isRedirect: s } = Ii(), d = be("url"), c = Fh(), n = hw(), u = Xo(), o = (l, f, p) => {
    if (!s(f.status) || p.redirect === "manual") return !1;
    if (p.redirect === "error") throw new r(`redirect mode is set to error: ${l.url}`, "no-redirect", { code: "ENOREDIRECT" });
    if (!f.headers.has("location")) throw new r(`redirect location header missing for: ${l.url}`, "no-location", { code: "EINVALIDREDIRECT" });
    if (l.counter >= l.follow) throw new r(`maximum redirect reached at: ${l.url}`, "max-redirect", { code: "EMAXREDIRECT" });
    return !0;
  }, h = (l, f, p) => {
    const g = { ...p }, m = f.headers.get("location"), v = new d.URL(m, /^https?:/.test(m) ? void 0 : l.url);
    return new d.URL(l.url).hostname !== v.hostname && (l.headers.delete("authorization"), l.headers.delete("cookie")), (f.status === 303 || l.method === "POST" && [301, 302].includes(f.status)) && (g.method = "GET", g.body = null, l.headers.delete("content-length")), g.headers = {}, l.headers.forEach((_, E) => {
      g.headers[E] = _;
    }), g.counter = ++l.counter, {
      request: new i(d.format(v), g),
      options: g
    };
  }, a = async (l, f) => {
    const p = c.storable(l, f) ? await n(l, f) : await u(l, f);
    if (!["GET", "HEAD"].includes(l.method) && p.status >= 200 && p.status <= 399 && await n.invalidate(l, f), !o(l, p, f)) return p;
    const g = h(l, p, f);
    return a(g.request, g.options);
  };
  t.exports = a;
})), dw = /* @__PURE__ */ z(((e, t) => {
  var { FetchError: r, Headers: i, Request: s, Response: d } = Ii(), c = f1(), n = fw(), u = (o, h) => {
    const a = c(h);
    return n(new s(o, a), a);
  };
  u.defaults = (o, h = {}, a = u) => {
    typeof o == "object" && (h = o, o = null);
    const l = (f, p = {}) => a(f || o, {
      ...h,
      ...p,
      headers: {
        ...h.headers,
        ...p.headers
      }
    });
    return l.defaults = (f, p = {}) => u.defaults(f, p, l), l;
  }, t.exports = u, t.exports.FetchError = r, t.exports.Headers = i, t.exports.Request = s, t.exports.Response = d;
})), pw = /* @__PURE__ */ z(((e, t) => {
  var r = {}, i = r.LEFT_BRACE = 1, s = r.RIGHT_BRACE = 2, d = r.LEFT_BRACKET = 3, c = r.RIGHT_BRACKET = 4, n = r.COLON = 5, u = r.COMMA = 6, o = r.TRUE = 7, h = r.FALSE = 8, a = r.NULL = 9, l = r.STRING = 10, f = r.NUMBER = 11, p = r.START = 17, g = r.STOP = 18, m = r.TRUE1 = 33, v = r.TRUE2 = 34, _ = r.TRUE3 = 35, E = r.FALSE1 = 49, S = r.FALSE2 = 50, w = r.FALSE3 = 51, b = r.FALSE4 = 52, A = r.NULL1 = 65, D = r.NULL2 = 66, C = r.NULL3 = 67, O = r.NUMBER1 = 81, I = r.NUMBER3 = 83, x = r.STRING1 = 97, F = r.STRING2 = 98, q = r.STRING3 = 99, K = r.STRING4 = 100, M = r.STRING5 = 101, N = r.STRING6 = 102, L = r.VALUE = 113, te = r.KEY = 114, H = r.OBJECT = 129, j = r.ARRAY = 130, P = 92, k = 47, U = 8, Q = 12, ue = 10, me = 13, we = 9, Z = 64 * 1024;
  function G() {
    this.tState = p, this.value = void 0, this.string = void 0, this.stringBuffer = Buffer.alloc ? Buffer.alloc(Z) : new Buffer(Z), this.stringBufferOffset = 0, this.unicode = void 0, this.highSurrogate = void 0, this.key = void 0, this.mode = void 0, this.stack = [], this.state = L, this.bytes_remaining = 0, this.bytes_in_sequence = 0, this.temp_buffs = {
      2: new Buffer(2),
      3: new Buffer(3),
      4: new Buffer(4)
    }, this.offset = -1;
  }
  G.toknam = function(ne) {
    for (var le = Object.keys(r), B = 0, W = le.length; B < W; B++) {
      var ae = le[B];
      if (r[ae] === ne) return ae;
    }
    return ne && "0x" + ne.toString(16);
  };
  var Y = G.prototype;
  Y.onError = function(ne) {
    throw ne;
  }, Y.charError = function(ne, le) {
    this.tState = g, this.onError(/* @__PURE__ */ new Error("Unexpected " + JSON.stringify(String.fromCharCode(ne[le])) + " at position " + le + " in state " + G.toknam(this.tState)));
  }, Y.appendStringChar = function(ne) {
    this.stringBufferOffset >= Z && (this.string += this.stringBuffer.toString("utf8"), this.stringBufferOffset = 0), this.stringBuffer[this.stringBufferOffset++] = ne;
  }, Y.appendStringBuf = function(ne, le, B) {
    var W = ne.length;
    typeof le == "number" && (typeof B == "number" ? B < 0 ? W = ne.length - le + B : W = B - le : W = ne.length - le), W < 0 && (W = 0), this.stringBufferOffset + W > Z && (this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0), ne.copy(this.stringBuffer, this.stringBufferOffset, le, B), this.stringBufferOffset += W;
  }, Y.write = function(ne) {
    typeof ne == "string" && (ne = new Buffer(ne));
    for (var le, B = 0, W = ne.length; B < W; B++) if (this.tState === p) {
      if (le = ne[B], this.offset++, le === 123) this.onToken(i, "{");
      else if (le === 125) this.onToken(s, "}");
      else if (le === 91) this.onToken(d, "[");
      else if (le === 93) this.onToken(c, "]");
      else if (le === 58) this.onToken(n, ":");
      else if (le === 44) this.onToken(u, ",");
      else if (le === 116) this.tState = m;
      else if (le === 102) this.tState = E;
      else if (le === 110) this.tState = A;
      else if (le === 34)
        this.string = "", this.stringBufferOffset = 0, this.tState = x;
      else if (le === 45)
        this.string = "-", this.tState = O;
      else if (le >= 48 && le < 64)
        this.string = String.fromCharCode(le), this.tState = I;
      else if (!(le === 32 || le === 9 || le === 10 || le === 13))
        return this.charError(ne, B);
    } else if (this.tState === x)
      if (le = ne[B], this.bytes_remaining > 0) {
        for (var ae = 0; ae < this.bytes_remaining; ae++) this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence - this.bytes_remaining + ae] = ne[ae];
        this.appendStringBuf(this.temp_buffs[this.bytes_in_sequence]), this.bytes_in_sequence = this.bytes_remaining = 0, B = B + ae - 1;
      } else if (this.bytes_remaining === 0 && le >= 128) {
        if (le <= 193 || le > 244) return this.onError(/* @__PURE__ */ new Error("Invalid UTF-8 character at position " + B + " in state " + G.toknam(this.tState)));
        if (le >= 194 && le <= 223 && (this.bytes_in_sequence = 2), le >= 224 && le <= 239 && (this.bytes_in_sequence = 3), le >= 240 && le <= 244 && (this.bytes_in_sequence = 4), this.bytes_in_sequence + B > ne.length) {
          for (var Re = 0; Re <= ne.length - 1 - B; Re++) this.temp_buffs[this.bytes_in_sequence][Re] = ne[B + Re];
          this.bytes_remaining = B + this.bytes_in_sequence - ne.length, B = ne.length - 1;
        } else
          this.appendStringBuf(ne, B, B + this.bytes_in_sequence), B = B + this.bytes_in_sequence - 1;
      } else if (le === 34)
        this.tState = p, this.string += this.stringBuffer.toString("utf8", 0, this.stringBufferOffset), this.stringBufferOffset = 0, this.onToken(l, this.string), this.offset += Buffer.byteLength(this.string, "utf8") + 1, this.string = void 0;
      else if (le === 92) this.tState = F;
      else if (le >= 32) this.appendStringChar(le);
      else return this.charError(ne, B);
    else if (this.tState === F)
      if (le = ne[B], le === 34)
        this.appendStringChar(le), this.tState = x;
      else if (le === 92)
        this.appendStringChar(P), this.tState = x;
      else if (le === 47)
        this.appendStringChar(k), this.tState = x;
      else if (le === 98)
        this.appendStringChar(U), this.tState = x;
      else if (le === 102)
        this.appendStringChar(Q), this.tState = x;
      else if (le === 110)
        this.appendStringChar(ue), this.tState = x;
      else if (le === 114)
        this.appendStringChar(me), this.tState = x;
      else if (le === 116)
        this.appendStringChar(we), this.tState = x;
      else if (le === 117)
        this.unicode = "", this.tState = q;
      else return this.charError(ne, B);
    else if (this.tState === q || this.tState === K || this.tState === M || this.tState === N)
      if (le = ne[B], le >= 48 && le < 64 || le > 64 && le <= 70 || le > 96 && le <= 102) {
        if (this.unicode += String.fromCharCode(le), this.tState++ === N) {
          var Oe = parseInt(this.unicode, 16);
          this.unicode = void 0, this.highSurrogate !== void 0 && Oe >= 56320 && Oe < 57344 ? (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate, Oe))), this.highSurrogate = void 0) : this.highSurrogate === void 0 && Oe >= 55296 && Oe < 56320 ? this.highSurrogate = Oe : (this.highSurrogate !== void 0 && (this.appendStringBuf(new Buffer(String.fromCharCode(this.highSurrogate))), this.highSurrogate = void 0), this.appendStringBuf(new Buffer(String.fromCharCode(Oe)))), this.tState = x;
        }
      } else return this.charError(ne, B);
    else if (this.tState === O || this.tState === I)
      switch (le = ne[B], le) {
        case 48:
        case 49:
        case 50:
        case 51:
        case 52:
        case 53:
        case 54:
        case 55:
        case 56:
        case 57:
        case 46:
        case 101:
        case 69:
        case 43:
        case 45:
          this.string += String.fromCharCode(le), this.tState = I;
          break;
        default:
          this.tState = p;
          var Ee = Number(this.string);
          if (isNaN(Ee)) return this.charError(ne, B);
          this.string.match(/[0-9]+/) == this.string && Ee.toString() != this.string ? this.onToken(l, this.string) : this.onToken(f, Ee), this.offset += this.string.length - 1, this.string = void 0, B--;
          break;
      }
    else if (this.tState === m) if (ne[B] === 114) this.tState = v;
    else return this.charError(ne, B);
    else if (this.tState === v) if (ne[B] === 117) this.tState = _;
    else return this.charError(ne, B);
    else if (this.tState === _) if (ne[B] === 101)
      this.tState = p, this.onToken(o, !0), this.offset += 3;
    else return this.charError(ne, B);
    else if (this.tState === E) if (ne[B] === 97) this.tState = S;
    else return this.charError(ne, B);
    else if (this.tState === S) if (ne[B] === 108) this.tState = w;
    else return this.charError(ne, B);
    else if (this.tState === w) if (ne[B] === 115) this.tState = b;
    else return this.charError(ne, B);
    else if (this.tState === b) if (ne[B] === 101)
      this.tState = p, this.onToken(h, !1), this.offset += 4;
    else return this.charError(ne, B);
    else if (this.tState === A) if (ne[B] === 117) this.tState = D;
    else return this.charError(ne, B);
    else if (this.tState === D) if (ne[B] === 108) this.tState = C;
    else return this.charError(ne, B);
    else if (this.tState === C) if (ne[B] === 108)
      this.tState = p, this.onToken(a, null), this.offset += 3;
    else return this.charError(ne, B);
  }, Y.onToken = function(ne, le) {
  }, Y.parseError = function(ne, le) {
    this.tState = g, this.onError(/* @__PURE__ */ new Error("Unexpected " + G.toknam(ne) + (le ? "(" + JSON.stringify(le) + ")" : "") + " in state " + G.toknam(this.state)));
  }, Y.push = function() {
    this.stack.push({
      value: this.value,
      key: this.key,
      mode: this.mode
    });
  }, Y.pop = function() {
    var ne = this.value, le = this.stack.pop();
    this.value = le.value, this.key = le.key, this.mode = le.mode, this.emit(ne), this.mode || (this.state = L);
  }, Y.emit = function(ne) {
    this.mode && (this.state = u), this.onValue(ne);
  }, Y.onValue = function(ne) {
  }, Y.onToken = function(ne, le) {
    if (this.state === L) if (ne === l || ne === f || ne === o || ne === h || ne === a)
      this.value && (this.value[this.key] = le), this.emit(le);
    else if (ne === i)
      this.push(), this.value ? this.value = this.value[this.key] = {} : this.value = {}, this.key = void 0, this.state = te, this.mode = H;
    else if (ne === d)
      this.push(), this.value ? this.value = this.value[this.key] = [] : this.value = [], this.key = 0, this.mode = j, this.state = L;
    else if (ne === s) if (this.mode === H) this.pop();
    else return this.parseError(ne, le);
    else if (ne === c) if (this.mode === j) this.pop();
    else return this.parseError(ne, le);
    else return this.parseError(ne, le);
    else if (this.state === te) if (ne === l)
      this.key = le, this.state = n;
    else if (ne === s) this.pop();
    else return this.parseError(ne, le);
    else if (this.state === n) if (ne === n) this.state = L;
    else return this.parseError(ne, le);
    else if (this.state === u) if (ne === u)
      this.mode === j ? (this.key++, this.state = L) : this.mode === H && (this.state = te);
    else if (ne === c && this.mode === j || ne === s && this.mode === H) this.pop();
    else return this.parseError(ne, le);
    else return this.parseError(ne, le);
  }, G.C = r, t.exports = G;
})), gw = /* @__PURE__ */ z(((e, t) => {
  var r = pw(), { Minipass: i } = St(), s = class extends Error {
    constructor(n, u) {
      super(n.message), Error.captureStackTrace(this, u || this.constructor);
    }
    get name() {
      return "JSONStreamError";
    }
  }, d = (n, u) => typeof n == "string" ? String(u) === n : n && typeof n.test == "function" ? n.test(u) : typeof n == "boolean" || typeof n == "object" ? n : typeof n == "function" ? n(u) : !1, c = class vf extends i {
    #e = 0;
    #t = !1;
    #r = null;
    #n = null;
    #s = null;
    #c;
    #f;
    #u = null;
    #o = null;
    constructor(u) {
      super({
        ...u,
        objectMode: !0
      });
      const o = this.#f = new r();
      o.onValue = (h) => this.#i(h), this.#c = o.onToken, o.onToken = (h, a) => this.#l(h, a), o.onError = (h) => this.#h(h), this.#u = typeof u.path == "string" ? u.path.split(".").map((h) => h === "$*" ? { emitKey: !0 } : h === "*" ? !0 : h === "" ? { recurse: !0 } : h) : Array.isArray(u.path) && u.path.length ? u.path : null, typeof u.map == "function" && (this.#s = u.map);
    }
    #p(u, o) {
      this.#n !== !1 && (this.#n = this.#n || {}, this.#n[u] = o), this.#r !== !1 && this.#n === !1 && (this.#r = this.#r || {}, this.#r[u] = o);
    }
    #h(u) {
      const o = this.#t ? this.end : this.write;
      return this.#t = !1, this.emit("error", new s(u, o));
    }
    #l(u, o) {
      const h = this.#f;
      if (this.#c.call(this.#f, u, o), h.stack.length === 0 && this.#o) {
        const a = this.#o;
        this.#u || super.write(a), this.#o = null, this.#e = 0;
      }
    }
    #i(u) {
      const o = this.#f;
      if (this.#o = u, !this.#u) return;
      let h = 0, a = 0, l = !1;
      for (; h < this.#u.length; ) {
        const p = this.#u[h];
        if (a++, p && !p.recurse) {
          const g = a === o.stack.length ? o : o.stack[a];
          if (!g) return;
          if (!d(p, g.key)) {
            this.#p(g.key, u);
            return;
          }
          l = !!p.emitKey, h++;
        } else {
          if (h++, h >= this.#u.length) return;
          const g = this.#u[h];
          if (!g) return;
          for (; ; ) {
            const m = a === o.stack.length ? o : o.stack[a];
            if (!m) return;
            if (d(g, m.key)) {
              h++, Object.isFrozen(o.stack[a]) || (o.stack[a].value = null);
              break;
            } else this.#p(m.key, u);
            a++;
          }
        }
      }
      if (this.#n) {
        const p = this.#n;
        this.#n = !1, this.emit("header", p);
      }
      if (a !== o.stack.length) return;
      this.#e++;
      const f = o.stack.slice(1).map((p) => p.key).concat([o.key]);
      if (u != null) {
        const p = this.#s ? this.#s(u, f) : u;
        if (p != null) {
          const g = l ? { value: p } : p;
          l && (g.key = o.key), super.write(g);
        }
      }
      o.value && delete o.value[o.key];
      for (const p of o.stack) p.value = null;
    }
    write(u, o) {
      if (typeof u == "string") u = Buffer.from(u, o);
      else if (!Buffer.isBuffer(u)) return this.emit("error", /* @__PURE__ */ new TypeError("Can only parse JSON from string or buffer input"));
      return this.#f.write(u), this.flowing;
    }
    end(u, o) {
      this.#t = !0, u && this.write(u, o);
      const h = this.#n;
      this.#n = null;
      const a = this.#r;
      return this.#r = null, h && this.emit("header", h), a && this.emit("footer", a), super.end();
    }
    static get JSONStreamError() {
      return s;
    }
    static parse(u, o) {
      return new vf({
        path: u,
        map: o
      });
    }
  };
  t.exports = c;
})), mw = /* @__PURE__ */ z(((e, t) => {
  var { HttpErrorAuthOTP: r } = mh(), i = o1(), s = h1(), d = dw(), c = gw(), n = Bh(), u = be("querystring"), o = be("url"), h = vh(), { Minipass: a } = St(), l = xh(), f = (S) => {
    try {
      return !!new o.URL(S);
    } catch {
      return !1;
    }
  };
  t.exports = p;
  function p(S, w = {}) {
    const b = {
      ...l,
      ...w
    }, A = f(S);
    let D = b.registry || l.registry;
    A || (D = b.registry = b.spec && v(b.spec, b) || b.registry || D, S = `${D.trim().replace(/\/?$/g, "")}/${S.trim().replace(/^\//, "")}`, new o.URL(S));
    const C = b.method || "GET", O = Date.now(), I = s(S, b), x = E(S, I, b);
    let F = b.body;
    const q = a.isStream(F), K = F && typeof F == "object" && typeof F.then == "function";
    if (F && !q && !K && typeof F != "string" && !Buffer.isBuffer(F) ? (x["content-type"] = x["content-type"] || "application/json", F = JSON.stringify(F)) : F && !x["content-type"] && (x["content-type"] = "application/octet-stream"), b.gzip)
      if (x["content-encoding"] = "gzip", q) {
        const L = new h.Gzip();
        F.on("error", (te) => L.emit("error", te)), F = F.pipe(L);
      } else K || (F = new h.Gzip().end(F).concat());
    const M = new o.URL(S);
    if (b.query) {
      const L = typeof b.query == "string" ? u.parse(b.query) : b.query;
      Object.keys(L).forEach((te) => {
        L[te] !== void 0 && M.searchParams.set(te, L[te]);
      }), S = o.format(M);
    }
    M.searchParams.get("write") === "true" && C === "GET" && (b.offline = !1, b.preferOffline = !1, b.preferOnline = !0);
    const N = async (L) => {
      const te = d(S, {
        agent: b.agent,
        algorithms: b.algorithms,
        body: L,
        cache: _(b),
        cachePath: b.cache,
        ca: b.ca,
        cert: I.cert || b.cert,
        headers: x,
        integrity: b.integrity,
        key: I.key || b.key,
        localAddress: b.localAddress,
        maxSockets: b.maxSockets,
        memoize: b.memoize,
        method: C,
        noProxy: b.noProxy,
        proxy: b.httpsProxy || b.proxy,
        retry: b.retry ? b.retry : {
          retries: b.fetchRetries,
          factor: b.fetchRetryFactor,
          minTimeout: b.fetchRetryMintimeout,
          maxTimeout: b.fetchRetryMaxtimeout
        },
        strictSSL: b.strictSSL,
        timeout: b.timeout || 3e4,
        signal: b.signal
      }).then((H) => i({
        method: C,
        uri: S,
        res: H,
        registry: D,
        startTime: O,
        auth: I,
        opts: b
      }));
      return typeof b.otpPrompt == "function" ? te.catch(async (H) => {
        if (H instanceof r) {
          let j;
          try {
            j = await b.otpPrompt();
          } catch {
          }
          if (!j) throw H;
          return p(S, {
            ...b,
            otp: j
          });
        }
        throw H;
      }) : te;
    };
    return Promise.resolve(F).then(N);
  }
  t.exports.getAuth = s, t.exports.json = g;
  function g(S, w) {
    return p(S, w).then((b) => b.json());
  }
  t.exports.json.stream = m;
  function m(S, w, b = {}) {
    const A = {
      ...l,
      ...b
    }, D = c.parse(w, A.mapJSON);
    return p(S, A).then((C) => C.body.on(
      "error",
      /* istanbul ignore next: unlikely and difficult to test */
      (O) => D.emit("error", O)
    ).pipe(D)).catch((C) => D.emit("error", C)), D;
  }
  t.exports.pickRegistry = v;
  function v(S, w = {}) {
    S = n(S);
    let b = S.scope && w[S.scope.replace(/^@?/, "@") + ":registry"];
    return !b && w.scope && (b = w[w.scope.replace(/^@?/, "@") + ":registry"]), b || (b = w.registry || l.registry), b;
  }
  function _(S) {
    return S.offline ? "only-if-cached" : S.preferOffline ? "force-cache" : S.preferOnline ? "no-cache" : "default";
  }
  function E(S, w, b) {
    const A = Object.assign({ "user-agent": b.userAgent }, b.headers || {});
    return b.authType && (A["npm-auth-type"] = b.authType), b.scope && (A["npm-scope"] = b.scope), b.npmSession && (A["npm-session"] = b.npmSession), b.npmCommand && (A["npm-command"] = b.npmCommand), w.token ? A.authorization = `Bearer ${w.token}` : w.auth && (A.authorization = `Basic ${w.auth}`), b.otp && (A["npm-otp"] = b.otp), A;
  }
})), _r = /* @__PURE__ */ Lt(Sb(), 1), Un = /* @__PURE__ */ Lt(Ab(), 1), ks = /* @__PURE__ */ Lt(mw(), 1), ei, Yi;
function yf(e) {
  if (typeof e != "string") throw new TypeError(`Expected a string, got ${typeof e}`);
  if (ei === void 0 && (ei = ui.homedir()), ei && /^~(?=$|\/|\\)/.test(e)) return e.replace(/^~/, ei);
  const t = e.match(/^~([^/\\]+)(.*)/);
  if (t && (Yi === void 0 && (Yi = ui.userInfo().username), Yi)) {
    const r = t[1], i = t[2];
    if (r === Yi) return ei + i;
  }
  return e;
}
var vw = class {
  value;
  next;
  constructor(e) {
    this.value = e;
  }
}, yw = class {
  #e;
  #t;
  #r;
  constructor() {
    this.clear();
  }
  enqueue(e) {
    const t = new vw(e);
    this.#e ? (this.#t.next = t, this.#t = t) : (this.#e = t, this.#t = t), this.#r++;
  }
  dequeue() {
    const e = this.#e;
    if (e)
      return this.#e = this.#e.next, this.#r--, this.#e || (this.#t = void 0), e.value;
  }
  peek() {
    if (this.#e)
      return this.#e.value;
  }
  clear() {
    this.#e = void 0, this.#t = void 0, this.#r = 0;
  }
  get size() {
    return this.#r;
  }
  *[Symbol.iterator]() {
    let e = this.#e;
    for (; e; )
      yield e.value, e = e.next;
  }
  *drain() {
    for (; this.#e; ) yield this.dequeue();
  }
};
function Ic(e) {
  if (!((Number.isInteger(e) || e === Number.POSITIVE_INFINITY) && e > 0)) throw new TypeError("Expected `concurrency` to be a number from 1 and up");
  const t = new yw();
  let r = 0;
  const i = () => {
    r--, t.size > 0 && t.dequeue()();
  }, s = async (n, u, o) => {
    r++;
    const h = (async () => n(...o))();
    u(h);
    try {
      await h;
    } catch {
    }
    i();
  }, d = (n, u, o) => {
    t.enqueue(s.bind(void 0, n, u, o)), (async () => (await Promise.resolve(), r < e && t.size > 0 && t.dequeue()()))();
  }, c = (n, ...u) => new Promise((o) => {
    d(n, o, u);
  });
  return Object.defineProperties(c, {
    activeCount: { get: () => r },
    pendingCount: { get: () => t.size },
    clearQueue: { value: () => {
      t.clear();
    } }
  }), c;
}
var _f = class extends Error {
  constructor(e) {
    super(), this.value = e;
  }
}, _w = async (e, t) => t(await e), bw = async (e) => {
  const t = await Promise.all(e);
  if (t[1] === !0) throw new _f(t[0]);
  return !1;
};
async function ww(e, t, { concurrency: r = Number.POSITIVE_INFINITY, preserveOrder: i = !0 } = {}) {
  const s = Ic(r), d = [...e].map((n) => [n, s(_w, n, t)]), c = Ic(i ? 1 : Number.POSITIVE_INFINITY);
  try {
    await Promise.all(d.map((n) => c(bw, n)));
  } catch (n) {
    if (n instanceof _f) return n.value;
    throw n;
  }
}
var bf = {
  directory: "isDirectory",
  file: "isFile"
};
function wf(e) {
  if (!(e === "both" || Object.hasOwn(bf, e)))
    throw new Error(`Invalid type specified: ${e}`);
}
var Ef = (e, t) => e === "both" ? t.isFile() || t.isDirectory() : t[bf[e]](), Sf = (e) => e instanceof URL ? mo(e) : e;
async function kc(e, { cwd: t = Si.cwd(), type: r = "file", allowSymlinks: i = !0, concurrency: s, preserveOrder: d } = {}) {
  wf(r), t = Sf(t);
  const c = i ? Ml.stat : Ml.lstat;
  return ww(e, async (n) => {
    try {
      return Ef(r, await c(lt.resolve(t, n)));
    } catch {
      return !1;
    }
  }, {
    concurrency: s,
    preserveOrder: d
  });
}
function Lc(e, { cwd: t = Si.cwd(), type: r = "file", allowSymlinks: i = !0 } = {}) {
  wf(r), t = Sf(t);
  const s = i ? Fs.statSync : Fs.lstatSync;
  for (const d of e) try {
    const c = s(lt.resolve(t, d), { throwIfNoEntry: !1 });
    if (!c) continue;
    if (Ef(r, c)) return d;
  } catch {
  }
}
var CI = bu(Vp);
function dn(e) {
  return e instanceof URL ? mo(e) : e;
}
var Af = /* @__PURE__ */ Symbol("findUpStop");
async function Ew(e, t = {}) {
  let r = lt.resolve(dn(t.cwd) ?? "");
  const { root: i } = lt.parse(r), s = lt.resolve(r, dn(t.stopAt) ?? i), d = t.limit ?? Number.POSITIVE_INFINITY, c = [e].flat(), n = async (o) => {
    if (typeof e != "function") return kc(c, o);
    const h = await e(o.cwd);
    return typeof h == "string" ? kc([h], o) : h;
  }, u = [];
  for (; ; ) {
    const o = await n({
      ...t,
      cwd: r
    });
    if (o === Af || (o && u.push(lt.resolve(r, o)), r === s || u.length >= d)) break;
    r = lt.dirname(r);
  }
  return u;
}
function Sw(e, t = {}) {
  let r = lt.resolve(dn(t.cwd) ?? "");
  const { root: i } = lt.parse(r), s = lt.resolve(r, dn(t.stopAt) ?? i), d = t.limit ?? Number.POSITIVE_INFINITY, c = [e].flat(), n = (o) => {
    if (typeof e != "function") return Lc(c, o);
    const h = e(o.cwd);
    return typeof h == "string" ? Lc([h], o) : h;
  }, u = [];
  for (; ; ) {
    const o = n({
      ...t,
      cwd: r
    });
    if (o === Af || (o && u.push(lt.resolve(r, o)), r === s || u.length >= d)) break;
    r = lt.dirname(r);
  }
  return u;
}
async function pn(e, t = {}) {
  return (await Ew(e, {
    ...t,
    limit: 1
  }))[0];
}
function Aw(e, t = {}) {
  return Sw(e, {
    ...t,
    limit: 1
  })[0];
}
var Tf = class Df {
  constructor(t, r, i) {
    this.__specs = t || {}, this.__opts = r || {}, this.__providers = xc(i.filter((s) => s != null && typeof s == "object")), this.__isFiggyPudding = !0;
  }
  get(t) {
    return Rf(this, t, !0);
  }
  toJSON() {
    const t = {};
    return this.forEach((r, i) => {
      t[i] = r;
    }), t;
  }
  forEach(t, r = this) {
    for (let [i, s] of this.entries()) t.call(r, s, i, this);
  }
  *entries(t) {
    for (let i of Object.keys(this.__specs)) yield [i, this.get(i)];
    const r = t || this.__opts.other;
    if (r) {
      const i = /* @__PURE__ */ new Set();
      for (let s of this.__providers) {
        const d = s.entries ? s.entries(r) : Dw(s);
        for (let [c, n] of d) r(c) && !i.has(c) && (i.add(c), yield [c, n]);
      }
    }
  }
  concat(...t) {
    return new Proxy(new Df(this.__specs, this.__opts, xc(this.__providers).concat(t)), Of);
  }
};
function Rf(e, t, r) {
  let i = e.__specs[t];
  i || (i = {});
  let s;
  for (let d of e.__providers)
    if (s = Tw(t, d), s !== void 0) break;
  return s === void 0 && i.default !== void 0 ? typeof i.default == "function" ? i.default(e) : i.default : s;
}
function Tw(e, t) {
  let r;
  return t.__isFiggyPudding ? r = Rf(t, e, !1) : r = t[e], r;
}
var Of = { get(e, t) {
  return typeof t == "symbol" || t.slice(0, 2) === "__" || t in Tf.prototype ? e[t] : e.get(t);
} };
function Cf(e, t) {
  function r(...i) {
    return new Proxy(new Tf(e, t, i), Of);
  }
  return r;
}
function xc(e) {
  const t = [];
  return e.forEach((r) => t.unshift(r)), t;
}
function Dw(e) {
  return Object.keys(e).map((t) => [t, e[t]]);
}
var $c = Cf({}, { other() {
  return !0;
} }), Rw = Cf({
  cache: { default: lt.join(process.env.HOME || ui.homedir(), ".npm") },
  configNames: { default: ["npmrc", ".npmrc"] },
  envPrefix: { default: /^npm_config_/i },
  cwd: { default: () => process.cwd() },
  globalconfig: { default: () => lt.join(Cw(), "etc", "npmrc") },
  userconfig: { default: lt.join(process.env.HOME || ui.homedir(), ".npmrc") }
});
function Ow(e, t) {
  const r = Rw(t), i = {};
  Object.keys(process.env).forEach((l) => {
    if (!l.match(r.envPrefix)) return;
    const f = l.toLowerCase().replace(r.envPrefix, "").replace(/(?!^)_/g, "-");
    i[f] = process.env[l];
  });
  const s = $c(e), d = r.userconfig || s.userconfig || i.userconfig, c = d && Ls(d), n = r.globalconfig || s.globalconfig || i.globalconfig, u = n && Ls(n), o = Aw(r.configNames, { cwd: r.cwd });
  let h = {};
  o && o !== d && (h = Ls(o));
  const a = $c(r, u, c, h, i, s);
  return a.cache ? a.concat({ cache: lt.resolve(s.cache || i.cache ? r.cwd : h.cache ? lt.dirname(o) : c.cache ? lt.dirname(d) : u.cache ? lt.dirname(n) : lt.dirname(d), a.cache) }) : a;
}
function Ls(e) {
  let t;
  try {
    t = Fs.readFileSync(e, "utf8");
  } catch (r) {
    if (r.code === "ENOENT") return "";
    throw r;
  }
  return Un.default.parse(t);
}
function Cw() {
  if (process.env.PREFIX) return process.env.PREFIX;
  if (process.platform === "win32") return lt.dirname(process.execPath);
  {
    let e = lt.dirname(lt.dirname(process.execPath));
    return process.env.DESTDIR && (e = lt.join(process.env.DESTDIR, e)), e;
  }
}
var Iw = (e, t = process.platform) => t === "win32" && e !== "bun" ? [`${e}.cmd`, e] : [e];
async function Vt(e, t, r, i) {
  const s = Iw(e);
  for (const [d, c] of s.entries()) try {
    return await (0, yi.default)(c, t, r, i);
  } catch (n) {
    if (n.code !== "ENOENT" || d === s.length - 1) throw n;
  }
  throw new Error(`No spawn commands available for ${e}`);
}
function kw(e, t) {
  return t.deprecated || !e.deprecated;
}
function Lw(e, t) {
  return t.pre ? !0 : !e.version || !Nn(e.version);
}
function xw(e, t) {
  if (!t) return !0;
  const r = He.default.minVersion(t)?.version;
  if (!r) return !0;
  const i = e?.engines?.node;
  return !i || He.default.satisfies(r, i);
}
function $w(e, t) {
  return t ? Object.values(t).every((r) => r[e.name] === void 0 || He.default.satisfies(e.version, r[e.name])) : !0;
}
var ao = (e, t, r, i) => {
  if (!t) return !1;
  if (!i || !r) return !0;
  const s = new Date(r), d = 864e5, c = typeof i == "function" ? i(e ?? "") ?? 0 : i, n = typeof c == "string" ? vi(c) ?? 0 : c;
  return Date.now() - s.getTime() >= n * d;
};
function If(e) {
  const t = [
    (r) => kw(r, e),
    (r) => Lw(r, e),
    e.enginesNode ? (r) => xw(r, e.nodeEngineVersion) : null,
    e.peerDependencies ? (r) => $w(r, e.peerDependencies) : null
  ];
  return (r) => t.every((i) => i ? i(r) : !0);
}
var Nw = /* @__PURE__ */ ft({
  default: () => Gn,
  defaultPrefix: () => xf,
  distTag: () => Pi,
  getEngines: () => zn,
  getPeerDependencies: () => tl,
  greatest: () => Yr,
  latest: () => Wn,
  list: () => $f,
  minor: () => Yn,
  newest: () => Vn,
  normalizeNpmConfig: () => Qo,
  npmApi: () => Rt,
  packageAuthorChanged: () => qn,
  parseJson: () => Pr,
  patch: () => Kn,
  semver: () => Zn
}), Pw = /* @__PURE__ */ new Set([
  "-",
  "||",
  "&&",
  "<",
  "<=",
  ">",
  ">="
]), Bw = (e) => (0, wt.parseRange)(e).some((t) => Pw.has(t.operator || "")), kf = (e) => e && (!He.default.validRange(e) || Mo(e)), Hn = async (e, t, r, i = {}, s) => {
  const d = "application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*", c = "application/json", n = ks.default.pickRegistry(e, i), u = {
    "user-agent": i.userAgent || `npm-check-updates/${js.version} node/${process.version}`,
    "ncu-version": js.version,
    "ncu-pkg-id": `registry:${e}`,
    accept: i.fullMetadata ? c : d,
    ...i.headers
  }, o = new URL(encodeURIComponent(e), n.endsWith("/") ? n : `${n}/`);
  s && (o.pathname += `/${s}`);
  const h = {
    ...i,
    headers: u,
    spec: e
  };
  try {
    if (i.fullMetadata) return ks.default.json(o.href, h);
    {
      r = r || "latest";
      const a = await (0, ks.default)(o.href, h), l = new fb({
        paths: ["$.*"],
        keepStack: !1
      }), f = { name: e };
      let p = !1, g = null;
      l.onValue = ({ key: m, value: v }) => {
        if (p || m === void 0) return;
        const _ = m;
        t.includes(_) && (f[_] = v, Object.keys(f).length === t.length + 1 && (p = !0));
      }, l.onError = (m) => {
        g = m;
      };
      for await (const m of a.body) {
        if (l.write(m), g) throw g;
        if (p) break;
      }
      if (g) throw g;
      return f;
    }
  } catch (a) {
    if (a.code !== "E404" || i.fullMetadata) throw a;
    return Hn(e, t, r, {
      ...i,
      fullMetadata: !0
    }, s);
  }
}, $i = ({ packageName: e, currentVersion: t, options: r, versions: i, time: s, filter: d = () => !0, compare: c = jo }) => {
  const n = If(r), u = He.default.validRange(t) ? He.default.minVersion(t)?.version : null;
  if (!u) return {
    targetVersion: null,
    fallbackVersion: null,
    targetBlockedByCooldown: !1
  };
  const o = !ao(e, u, s?.[u], r.cooldown), h = i.reduce((f, p) => {
    const g = p.version;
    if (!g || c(g, f.fallbackVersion) <= 0 || !n({
      ...p,
      name: e
    }) || !d?.(g)) return f;
    const m = s?.[g], v = r.cooldown ? ao(e, g, m, r.cooldown) : !0;
    return c(g, f.targetVersion) > 0 && (f.targetVersion = g, f.targetBlockedByCooldown = !v), v && (f.fallbackVersion = g), f;
  }, {
    targetVersion: u,
    fallbackVersion: u,
    targetBlockedByCooldown: o
  }), a = h.targetVersion;
  let l = h.fallbackVersion;
  return l === h.targetVersion && (l = null), l && !He.default.gt(l, u) && (l = null), o && a === u && (h.targetBlockedByCooldown = !1), {
    ...h,
    targetVersion: a,
    fallbackVersion: l
  };
}, Ni = ({ packageName: e, currentVersion: t, options: r, time: i, targetVersion: s, fallbackVersion: d, targetBlockedByCooldown: c }) => {
  const n = {
    version: s,
    ...s && i?.[s] ? { time: i[s] } : null
  };
  if (r.cooldown && s && c) {
    const u = He.default.validRange(t) ? He.default.minVersion(t)?.version : null, o = {
      name: e,
      currentVersion: t,
      ...u ? { currentVersionTime: i?.[u] } : null,
      ...n
    };
    if (d) {
      const h = i?.[d];
      return o.fallbackVersion = d, {
        version: d,
        ...h ? { time: h } : null,
        cooldownInfo: o
      };
    }
    return { cooldownInfo: o };
  }
  return n;
}, Qo = (e, t) => {
  const r = {
    cafile: (c) => {
      if (!c) return;
      const n = xr.readFileSync(qe.resolve(t || "", yf(c)), "utf8"), u = "-----END CERTIFICATE-----";
      return { ca: n.split(u).filter((o) => !!o.trim()).map((o) => `${o.trimStart()}${u}`) };
    },
    maxsockets: "maxSockets",
    "strict-ssl": "strictSSL"
  }, i = {
    all: "boolean",
    allowsameversion: "boolean",
    audit: "boolean",
    binlinks: "boolean",
    color: "boolean",
    commithooks: "boolean",
    description: "boolean",
    dev: "boolean",
    diffignoreallspace: "boolean",
    diffnameonly: "boolean",
    diffnoprefix: "boolean",
    difftext: "boolean",
    dryrun: "boolean",
    enginestrict: "boolean",
    force: "boolean",
    foregroundscripts: "boolean",
    formatpackagelock: "boolean",
    fund: "boolean",
    gittagversion: "boolean",
    global: "boolean",
    globalstyle: "boolean",
    ifpresent: "boolean",
    ignorescripts: "boolean",
    includestaged: "boolean",
    includeworkspaceroot: "boolean",
    installlinks: "boolean",
    json: "boolean",
    legacybundling: "boolean",
    legacypeerdeps: "boolean",
    link: "boolean",
    long: "boolean",
    offline: "boolean",
    omitlockfileregistryresolved: "boolean",
    packagelock: "boolean",
    packagelockonly: "boolean",
    parseable: "boolean",
    preferoffline: "boolean",
    preferonline: "boolean",
    progress: "boolean",
    readonly: "boolean",
    rebuildbundle: "boolean",
    save: "boolean",
    savebundle: "boolean",
    savedev: "boolean",
    saveexact: "boolean",
    saveoptional: "boolean",
    savepeer: "boolean",
    saveprod: "boolean",
    shrinkwrap: "boolean",
    signgitcommit: "boolean",
    signgittag: "boolean",
    strictpeerdeps: "boolean",
    strictssl: "boolean",
    timing: "boolean",
    unicode: "boolean",
    updatenotifier: "boolean",
    usage: "boolean",
    version: "boolean",
    versions: "boolean",
    workspacesupdate: "boolean",
    diffunified: "number",
    fetchretries: "number",
    fetchretryfactor: "number",
    fetchretrymaxtimeout: "number",
    fetchretrymintimeout: "number",
    fetchtimeout: "number",
    logsmax: "number",
    maxsockets: "number",
    searchlimit: "number",
    searchstaleness: "number",
    ssopollfrequency: "number",
    timeout: "number"
  }, s = (c) => !!c && c !== "false" && c !== "0", d = (c) => parseInt(c) || 0;
  return et(e, (c, n) => {
    const u = typeof n != "string" ? n : i[c.replace(/-/g, "").toLowerCase()] === "boolean" ? s(n) : i[c.replace(/-/g, "").toLowerCase()] === "number" ? d(n) : n.replace(/\${([^}]+)}/, (h, a) => process.env[a]), { [c]: o } = r;
    return typeof o == "string" ? { [o]: u } : typeof o == "function" ? { ...o(u.toString()) } : { [c.match(/^[a-z]/i) ? Eb(c) : c]: u };
  });
}, Rt = {};
Rt.findNpmConfig = (0, _r.default)((e) => {
  let t;
  if (e) try {
    t = Un.default.parse(xr.readFileSync(e, "utf-8"));
  } catch (r) {
    if (r.code === "ENOENT") return null;
    throw r;
  }
  else t = {
    ...Ow(null, { userconfig: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG }).toJSON(),
    cache: !1
  };
  return Qo(t, e);
});
var el = Rt.findNpmConfig();
function Pr(e, t) {
  let r;
  try {
    r = JSON.parse(e);
  } catch (i) {
    throw new Error(`Expected JSON from "${t.command}".${t.packageName ? ` There could be problems with the ${t.packageName} package.` : ""} ${e ? "Instead received: " + e : "Received empty response."}`, { cause: i });
  }
  return r;
}
async function qn(e, t, r, i = {}, s) {
  const d = await Hn(e, ["versions"], null, {
    ...s,
    ...el,
    fullMetadata: !0,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null
  });
  if (d.versions) {
    const c = Object.keys(d.versions), n = He.default.minSatisfying(c, t), u = He.default.maxSatisfying(c, r);
    if (n && u && d.versions[n]._npmUser && d.versions[u]._npmUser) return d.versions[n]._npmUser?.name !== d.versions[u]._npmUser?.name;
  }
  return !1;
}
var ti = (e) => !!(e && (e.name || e.engines || e.version || e.versions));
Rt.mockFetchUpgradedPackument = (e) => (t, r, i, s) => {
  const d = typeof e == "function" ? e(s)?.[t] : typeof e == "string" || ti(e) ? e : e[t], c = ti(d) ? d.version : d;
  if (!c) throw new Error(`fetchUpgradedPackument is mocked, but no mock version was supplied for ${t}. Make sure that all dependencies are mocked. `);
  const n = ti(d) && d.time ? d.time?.[c] : (/* @__PURE__ */ new Date()).toISOString(), u = {
    name: t,
    "dist-tags": { [s.distTag || "latest"]: c },
    engines: { node: "" },
    time: { [c]: n },
    version: c,
    versions: {},
    ...ti(d) ? d : null
  }, { versions: o, ...h } = u;
  return Promise.resolve({
    ...u,
    versions: { ...ti(d) && d.versions || { [c]: h } }
  });
};
var Fw = (0, _r.default)(({ npmConfigLocal: e, npmConfigUser: t, npmConfigWorkspaceProject: r }, i) => {
  const s = i.packageFile ? qe.join(i.packageFile, "../.npmrc") : null, d = i.packageFile ? Rt.findNpmConfig(s || void 0) : null, c = i.cwd ? qe.join(i.cwd, ".npmrc") : null, n = i.cwd ? Rt.findNpmConfig(c) : null;
  if (r && Object.keys(r).length > 0) {
    Fe(i, `
npm config (workspace project):`, "verbose");
    const { cache: o, ...h } = r;
    tr(i, h, "verbose");
  }
  if (t && Object.keys(t).length > 0) {
    Fe(i, `
npm config (user):`, "verbose");
    const { cache: o, ...h } = t;
    tr(i, h, "verbose");
  }
  if (e && Object.keys(e).length > 0) {
    Fe(i, `
npm config (local override):`, "verbose");
    const { cache: o, ...h } = e;
    tr(i, h, "verbose");
  }
  if (d && Object.keys(d).length > 0) {
    Fe(i, `
npm config (project: ${s}):`, "verbose");
    const { cache: o, ...h } = d;
    tr(i, h, "verbose");
  }
  if (n && Object.keys(n).length > 0) {
    Fe(i, `
npm config (cwd: ${c}):`, "verbose");
    const { cache: o, ...h } = n;
    tr(i, h, "verbose");
  }
  const u = {
    ...r,
    ...t,
    ...e,
    ...d,
    ...n,
    ...i.registry ? {
      registry: i.registry,
      silent: !0
    } : null,
    ...i.timeout ? { timeout: i.timeout } : null
  };
  if (r || e || d || n) {
    Fe(i, `
merged npm config:`, "verbose");
    const { cache: o, ...h } = u;
    tr(i, h, "verbose");
  }
  return u;
});
async function Lf(e, t, r, i, s = 0, d, c) {
  if (process.env.STUB_VERSIONS) {
    const a = JSON.parse(process.env.STUB_VERSIONS);
    return Rt.mockFetchUpgradedPackument(a)(e, t, r, i);
  }
  if (kf(r)) return Promise.resolve({});
  const n = i.format?.includes("time") && !t.includes("time") ? [...t, "time"] : t, u = n.includes("time"), o = Fw({
    npmConfigUser: {
      ...el,
      fullMetadata: u
    },
    npmConfigLocal: d,
    npmConfigWorkspaceProject: c
  }, i);
  let h;
  try {
    const a = i.distTag || "latest";
    h = await Hn(e, Array.from(/* @__PURE__ */ new Set([
      "dist-tags",
      ...t,
      ...i.deprecated ? [] : ["deprecated", "versions"],
      ...i.enginesNode ? ["engines", "versions"] : []
    ])), u ? null : a, o);
  } catch (a) {
    if (i.retry && ++s <= i.retry) return Lf(e, n, r, i, s, d);
    throw a;
  }
  return h;
}
Rt.fetchUpgradedPackumentMemo = (0, _r.default)(Lf, { serializer: (([e, t, r, i, s, d, c]) => {
  const { packageFile: n, ...u } = i;
  return JSON.stringify([
    e,
    t,
    kf(r),
    u,
    s,
    d,
    c
  ]);
}) });
async function Gn(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await Vt("npm", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    "--json",
    ...Array.isArray(e) ? e : [e]
  ], r, i);
  return s;
}
async function xf(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  let t;
  try {
    const { stdout: r } = await Vt("npm", [
      "config",
      "get",
      "prefix"
    ]);
    t = r;
  } catch (r) {
    Fe(e, "Error executing `npm config get prefix`. Caught and ignored. Unsolved: https://github.com/raineorshine/npm-check-updates/issues/703. ERROR: " + (r.message || r || "").toString(), "verbose", "error");
  }
  return e.global && t?.match("Cellar") ? "/usr/local" : process.platform === "win32" && e.global && !process.env.prefix ? t ? t.trim() : `${process.env.AppData}\\npm` : void 0;
}
var Yr = async (e, t, r = {}, i, s, d) => {
  const c = ["versions"];
  r.cooldown && c.push("time");
  const n = await Rt.fetchUpgradedPackumentMemo(e, c, t, r, 0, i, s), u = {
    packageName: e,
    currentVersion: t,
    options: r,
    versions: Object.values(n?.versions ?? {}),
    time: n?.time
  }, o = $i(u);
  if (d) {
    const h = o.targetBlockedByCooldown ? o.fallbackVersion : o.targetVersion;
    return {
      version: h,
      ...h && n?.time?.[h] ? { time: n.time[h] } : null
    };
  }
  return Ni({
    ...u,
    ...o
  });
}, tl = async (e, t, r) => {
  const i = [
    "view",
    `${e}@${t}`,
    "peerDependencies"
  ], s = await Gn(i, {}, { rejectOnError: !1 }, r);
  return s ? Pr(s, { command: [...i, "--json"].join(" ") }) : {};
}, zn = async (e, t, r = {}, i) => (await Hn(e, ["engines"], null, {
  ...i,
  ...el,
  ...r.registry ? {
    registry: r.registry,
    silent: !0
  } : null
}, t)).engines || {}, $f = async (e = {}) => {
  const t = Pr(await Gn(["ls", "--depth=0"], {
    ...e.global ? { global: !0 } : null,
    ...e.prefix ? { prefix: e.prefix } : null
  }, { rejectOnError: !1 }, { ...e.cwd ? { cwd: e.cwd } : null }), { command: `npm${process.platform === "win32" ? ".cmd" : ""} ls --json${e.global ? " --global" : ""}` }).dependencies;
  return et(t, (r, i) => ({ [r]: i.version || i.required?.version }));
}, Pi = async (e, t, r = {}, i, s) => {
  const d = ["dist-tags"];
  r.cooldown && d.push("time");
  const c = await Rt.fetchUpgradedPackumentMemo(e, d, t, r, 0, i, s), n = c?.["dist-tags"]?.[r.distTag || "latest"];
  if (!n) return {};
  const u = c?.versions ? c.versions?.[n] : {
    name: e,
    version: n
  }, o = c?.time?.[n], h = o ? { time: o } : null, a = He.default.validRange(t) && He.default.minVersion(t)?.version || "0.0.0", l = u.version === a || u && ao(e, u.version, o, r.cooldown);
  return l && If(r)(u) ? {
    version: u.version,
    ...h
  } : r.cooldown ? (n && u && !l && Fe(r, `Skipping ${e}@${n} due to cooldown${o ? ` (published ${o})` : ""}.`, "verbose"), { cooldownInfo: {
    name: e,
    currentVersion: t,
    currentVersionTime: c?.time?.[a],
    version: u.version,
    ...h
  } }) : r.distTag && r.distTag !== "latest" ? {} : Yr(e, t, r, i, s, "distTag");
}, Wn = async (e, t, r = {}, i, s) => {
  const d = await Pi(e, t, {
    ...r,
    distTag: "latest"
  }, i, s);
  if (d.cooldownInfo) {
    const c = await Yr(e, t, r, i, s, "latest");
    if (c.version)
      return d.cooldownInfo.fallbackVersion = c.version, {
        ...c,
        ...d
      };
  }
  return d;
}, Vn = async (e, t, r = {}, i, s) => {
  const d = await Rt.fetchUpgradedPackumentMemo(e, ["time", "versions"], t, r, 0, i, s), c = Object.values(d?.versions ?? {}), n = d?.time, u = !n || Object.keys(n).length === 0, o = {
    packageName: e,
    currentVersion: t,
    options: r,
    versions: c,
    time: n
  }, h = u ? {
    targetVersion: t,
    fallbackVersion: null,
    targetBlockedByCooldown: !1
  } : $i({
    ...o,
    compare: (a, l) => {
      const f = d?.time?.[a] || "", p = d?.time?.[l] || "";
      return f > p ? 1 : f < p ? -1 : 0;
    }
  });
  return Ni({
    ...o,
    ...h
  });
}, Yn = async (e, t, r = {}, i, s) => {
  const d = ["versions"];
  r.cooldown && d.push("time");
  const c = await Rt.fetchUpgradedPackumentMemo(e, d, t, r, 0, i, s), n = {
    packageName: e,
    currentVersion: t,
    options: r,
    versions: Object.values(c?.versions ?? {}),
    time: c?.time
  }, u = $i({
    ...n,
    filter: rh(t, "minor")
  });
  return Ni({
    ...n,
    ...u
  });
}, Kn = async (e, t, r = {}, i, s) => {
  const d = ["versions"];
  r.cooldown && d.push("time");
  const c = await Rt.fetchUpgradedPackumentMemo(e, d, t, r, 0, i, s), n = {
    packageName: e,
    currentVersion: t,
    options: r,
    versions: Object.values(c?.versions ?? {}),
    time: c?.time
  }, u = $i({
    ...n,
    filter: rh(t, "patch")
  });
  return Ni({
    ...n,
    ...u
  });
}, Zn = async (e, t, r = {}, i, s) => {
  if (Bw(t)) return { version: null };
  const d = ["versions"];
  r.cooldown && d.push("time");
  const c = await Rt.fetchUpgradedPackumentMemo(e, d, t, r, 0, i, s), n = {
    packageName: e,
    currentVersion: t,
    options: r,
    versions: Object.values(c?.versions ?? {}),
    time: c?.time
  }, u = $i({
    ...n,
    filter: c_(t)
  });
  return Ni({
    ...n,
    ...u
  });
}, Mw = /* @__PURE__ */ ft({
  default: () => rl,
  defaultPrefix: () => jw,
  distTag: () => Pi,
  getEngines: () => zn,
  getPeerDependencies: () => tl,
  greatest: () => Yr,
  latest: () => Wn,
  list: () => Uw,
  minor: () => Yn,
  newest: () => Vn,
  packageAuthorChanged: () => qn,
  patch: () => Kn,
  semver: () => Zn
});
async function rl(e, t = {}, r = {}, i = {}) {
  return (0, yi.default)("bun", [
    ...t.global ? ["--global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    ...Array.isArray(e) ? e : [e]
  ], r, i);
}
var jw = async (e) => e.global ? e.prefix || process.env.BUN_INSTALL || qe.dirname((await (0, yi.default)("bun", [
  "pm",
  "-g",
  "bin"
])).stdout) : void 0, Uw = async (e = {}) => {
  const { stdout: t } = await rl(["pm", "ls"], {
    ...e.global ? { global: !0 } : null,
    ...e.prefix ? { prefix: e.prefix } : null
  }, { rejectOnError: !1 }, {
    env: {
      ...process.env,
      NO_COLOR: "1"
    },
    ...e.cwd ? { cwd: e.cwd } : null
  });
  return et(zp(t).split(`
`), (r) => {
    const i = r.match(/.* (.+?)@(.+)/);
    if (i) {
      const [, s, d] = i;
      return { [s]: d };
    }
    return null;
  });
}, Ze = /* @__PURE__ */ z(((e) => {
  var t = /* @__PURE__ */ Symbol.for("yaml.alias"), r = /* @__PURE__ */ Symbol.for("yaml.document"), i = /* @__PURE__ */ Symbol.for("yaml.map"), s = /* @__PURE__ */ Symbol.for("yaml.pair"), d = /* @__PURE__ */ Symbol.for("yaml.scalar"), c = /* @__PURE__ */ Symbol.for("yaml.seq"), n = /* @__PURE__ */ Symbol.for("yaml.node.type"), u = (v) => !!v && typeof v == "object" && v[n] === t, o = (v) => !!v && typeof v == "object" && v[n] === r, h = (v) => !!v && typeof v == "object" && v[n] === i, a = (v) => !!v && typeof v == "object" && v[n] === s, l = (v) => !!v && typeof v == "object" && v[n] === d, f = (v) => !!v && typeof v == "object" && v[n] === c;
  function p(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case i:
      case c:
        return !0;
    }
    return !1;
  }
  function g(v) {
    if (v && typeof v == "object") switch (v[n]) {
      case t:
      case i:
      case d:
      case c:
        return !0;
    }
    return !1;
  }
  var m = (v) => (l(v) || p(v)) && !!v.anchor;
  e.ALIAS = t, e.DOC = r, e.MAP = i, e.NODE_TYPE = n, e.PAIR = s, e.SCALAR = d, e.SEQ = c, e.hasAnchor = m, e.isAlias = u, e.isCollection = p, e.isDocument = o, e.isMap = h, e.isNode = g, e.isPair = a, e.isScalar = l, e.isSeq = f;
})), Jn = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = /* @__PURE__ */ Symbol("break visit"), i = /* @__PURE__ */ Symbol("skip children"), s = /* @__PURE__ */ Symbol("remove node");
  function d(l, f) {
    const p = o(f);
    t.isDocument(l) ? c(null, l.contents, p, Object.freeze([l])) === s && (l.contents = null) : c(null, l, p, Object.freeze([]));
  }
  d.BREAK = r, d.SKIP = i, d.REMOVE = s;
  function c(l, f, p, g) {
    const m = h(l, f, p, g);
    if (t.isNode(m) || t.isPair(m))
      return a(l, g, m), c(l, m, p, g);
    if (typeof m != "symbol") {
      if (t.isCollection(f)) {
        g = Object.freeze(g.concat(f));
        for (let v = 0; v < f.items.length; ++v) {
          const _ = c(v, f.items[v], p, g);
          if (typeof _ == "number") v = _ - 1;
          else {
            if (_ === r) return r;
            _ === s && (f.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(f)) {
        g = Object.freeze(g.concat(f));
        const v = c("key", f.key, p, g);
        if (v === r) return r;
        v === s && (f.key = null);
        const _ = c("value", f.value, p, g);
        if (_ === r) return r;
        _ === s && (f.value = null);
      }
    }
    return m;
  }
  async function n(l, f) {
    const p = o(f);
    t.isDocument(l) ? await u(null, l.contents, p, Object.freeze([l])) === s && (l.contents = null) : await u(null, l, p, Object.freeze([]));
  }
  n.BREAK = r, n.SKIP = i, n.REMOVE = s;
  async function u(l, f, p, g) {
    const m = await h(l, f, p, g);
    if (t.isNode(m) || t.isPair(m))
      return a(l, g, m), u(l, m, p, g);
    if (typeof m != "symbol") {
      if (t.isCollection(f)) {
        g = Object.freeze(g.concat(f));
        for (let v = 0; v < f.items.length; ++v) {
          const _ = await u(v, f.items[v], p, g);
          if (typeof _ == "number") v = _ - 1;
          else {
            if (_ === r) return r;
            _ === s && (f.items.splice(v, 1), v -= 1);
          }
        }
      } else if (t.isPair(f)) {
        g = Object.freeze(g.concat(f));
        const v = await u("key", f.key, p, g);
        if (v === r) return r;
        v === s && (f.key = null);
        const _ = await u("value", f.value, p, g);
        if (_ === r) return r;
        _ === s && (f.value = null);
      }
    }
    return m;
  }
  function o(l) {
    return typeof l == "object" && (l.Collection || l.Node || l.Value) ? Object.assign({
      Alias: l.Node,
      Map: l.Node,
      Scalar: l.Node,
      Seq: l.Node
    }, l.Value && {
      Map: l.Value,
      Scalar: l.Value,
      Seq: l.Value
    }, l.Collection && {
      Map: l.Collection,
      Seq: l.Collection
    }, l) : l;
  }
  function h(l, f, p, g) {
    if (typeof p == "function") return p(l, f, g);
    if (t.isMap(f)) return p.Map?.(l, f, g);
    if (t.isSeq(f)) return p.Seq?.(l, f, g);
    if (t.isPair(f)) return p.Pair?.(l, f, g);
    if (t.isScalar(f)) return p.Scalar?.(l, f, g);
    if (t.isAlias(f)) return p.Alias?.(l, f, g);
  }
  function a(l, f, p) {
    const g = f[f.length - 1];
    if (t.isCollection(g)) g.items[l] = p;
    else if (t.isPair(g)) l === "key" ? g.key = p : g.value = p;
    else if (t.isDocument(g)) g.contents = p;
    else {
      const m = t.isAlias(g) ? "alias" : "scalar";
      throw new Error(`Cannot replace node with ${m} parent`);
    }
  }
  e.visit = d, e.visitAsync = n;
})), Nf = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = Jn(), i = {
    "!": "%21",
    ",": "%2C",
    "[": "%5B",
    "]": "%5D",
    "{": "%7B",
    "}": "%7D"
  }, s = (c) => c.replace(/[!,[\]{}]/g, (n) => i[n]), d = class Zt {
    constructor(n, u) {
      this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, Zt.defaultYaml, n), this.tags = Object.assign({}, Zt.defaultTags, u);
    }
    clone() {
      const n = new Zt(this.yaml, this.tags);
      return n.docStart = this.docStart, n;
    }
    atDocument() {
      const n = new Zt(this.yaml, this.tags);
      switch (this.yaml.version) {
        case "1.1":
          this.atNextDocument = !0;
          break;
        case "1.2":
          this.atNextDocument = !1, this.yaml = {
            explicit: Zt.defaultYaml.explicit,
            version: "1.2"
          }, this.tags = Object.assign({}, Zt.defaultTags);
          break;
      }
      return n;
    }
    add(n, u) {
      this.atNextDocument && (this.yaml = {
        explicit: Zt.defaultYaml.explicit,
        version: "1.1"
      }, this.tags = Object.assign({}, Zt.defaultTags), this.atNextDocument = !1);
      const o = n.trim().split(/[ \t]+/), h = o.shift();
      switch (h) {
        case "%TAG": {
          if (o.length !== 2 && (u(0, "%TAG directive should contain exactly two parts"), o.length < 2))
            return !1;
          const [a, l] = o;
          return this.tags[a] = l, !0;
        }
        case "%YAML": {
          if (this.yaml.explicit = !0, o.length !== 1)
            return u(0, "%YAML directive should contain exactly one part"), !1;
          const [a] = o;
          if (a === "1.1" || a === "1.2")
            return this.yaml.version = a, !0;
          {
            const l = /^\d+\.\d+$/.test(a);
            return u(6, `Unsupported YAML version ${a}`, l), !1;
          }
        }
        default:
          return u(0, `Unknown directive ${h}`, !0), !1;
      }
    }
    tagName(n, u) {
      if (n === "!") return "!";
      if (n[0] !== "!")
        return u(`Not a valid tag: ${n}`), null;
      if (n[1] === "<") {
        const l = n.slice(2, -1);
        return l === "!" || l === "!!" ? (u(`Verbatim tags aren't resolved, so ${n} is invalid.`), null) : (n[n.length - 1] !== ">" && u("Verbatim tags must end with a >"), l);
      }
      const [, o, h] = n.match(/^(.*!)([^!]*)$/s);
      h || u(`The ${n} tag has no suffix`);
      const a = this.tags[o];
      if (a) try {
        return a + decodeURIComponent(h);
      } catch (l) {
        return u(String(l)), null;
      }
      return o === "!" ? n : (u(`Could not resolve tag: ${n}`), null);
    }
    tagString(n) {
      for (const [u, o] of Object.entries(this.tags)) if (n.startsWith(o)) return u + s(n.substring(o.length));
      return n[0] === "!" ? n : `!<${n}>`;
    }
    toString(n) {
      const u = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [], o = Object.entries(this.tags);
      let h;
      if (n && o.length > 0 && t.isNode(n.contents)) {
        const a = {};
        r.visit(n.contents, (l, f) => {
          t.isNode(f) && f.tag && (a[f.tag] = !0);
        }), h = Object.keys(a);
      } else h = [];
      for (const [a, l] of o)
        a === "!!" && l === "tag:yaml.org,2002:" || (!n || h.some((f) => f.startsWith(l))) && u.push(`%TAG ${a} ${l}`);
      return u.join(`
`);
    }
  };
  d.defaultYaml = {
    explicit: !1,
    version: "1.2"
  }, d.defaultTags = { "!!": "tag:yaml.org,2002:" }, e.Directives = d;
})), il = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = Jn();
  function i(n) {
    if (/[\x00-\x19\s,[\]{}]/.test(n)) {
      const u = `Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;
      throw new Error(u);
    }
    return !0;
  }
  function s(n) {
    const u = /* @__PURE__ */ new Set();
    return r.visit(n, { Value(o, h) {
      h.anchor && u.add(h.anchor);
    } }), u;
  }
  function d(n, u) {
    for (let o = 1; ; ++o) {
      const h = `${n}${o}`;
      if (!u.has(h)) return h;
    }
  }
  function c(n, u) {
    const o = [], h = /* @__PURE__ */ new Map();
    let a = null;
    return {
      onAnchor: (l) => {
        o.push(l), a ?? (a = s(n));
        const f = d(u, a);
        return a.add(f), f;
      },
      setAnchors: () => {
        for (const l of o) {
          const f = h.get(l);
          if (typeof f == "object" && f.anchor && (t.isScalar(f.node) || t.isCollection(f.node))) f.node.anchor = f.anchor;
          else {
            const p = /* @__PURE__ */ new Error("Failed to resolve repeated object (this should not happen)");
            throw p.source = l, p;
          }
        }
      },
      sourceObjects: h
    };
  }
  e.anchorIsValid = i, e.anchorNames = s, e.createNodeAnchors = c, e.findNewAnchor = d;
})), Pf = /* @__PURE__ */ z(((e) => {
  function t(r, i, s, d) {
    if (d && typeof d == "object") if (Array.isArray(d)) for (let c = 0, n = d.length; c < n; ++c) {
      const u = d[c], o = t(r, d, String(c), u);
      o === void 0 ? delete d[c] : o !== u && (d[c] = o);
    }
    else if (d instanceof Map) for (const c of Array.from(d.keys())) {
      const n = d.get(c), u = t(r, d, c, n);
      u === void 0 ? d.delete(c) : u !== n && d.set(c, u);
    }
    else if (d instanceof Set) for (const c of Array.from(d)) {
      const n = t(r, d, c, c);
      n === void 0 ? d.delete(c) : n !== c && (d.delete(c), d.add(n));
    }
    else for (const [c, n] of Object.entries(d)) {
      const u = t(r, d, c, n);
      u === void 0 ? delete d[c] : u !== n && (d[c] = u);
    }
    return r.call(i, s, d);
  }
  e.applyReviver = t;
})), br = /* @__PURE__ */ z(((e) => {
  var t = Ze();
  function r(i, s, d) {
    if (Array.isArray(i)) return i.map((c, n) => r(c, String(n), d));
    if (i && typeof i.toJSON == "function") {
      if (!d || !t.hasAnchor(i)) return i.toJSON(s, d);
      const c = {
        aliasCount: 0,
        count: 1,
        res: void 0
      };
      d.anchors.set(i, c), d.onCreate = (u) => {
        c.res = u, delete d.onCreate;
      };
      const n = i.toJSON(s, d);
      return d.onCreate && d.onCreate(n), n;
    }
    return typeof i == "bigint" && !d?.keep ? Number(i) : i;
  }
  e.toJS = r;
})), nl = /* @__PURE__ */ z(((e) => {
  var t = Pf(), r = Ze(), i = br(), s = class {
    constructor(d) {
      Object.defineProperty(this, r.NODE_TYPE, { value: d });
    }
    clone() {
      const d = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
      return this.range && (d.range = this.range.slice()), d;
    }
    toJS(d, { mapAsMap: c, maxAliasCount: n, onAnchor: u, reviver: o } = {}) {
      if (!r.isDocument(d)) throw new TypeError("A document argument is required");
      const h = {
        anchors: /* @__PURE__ */ new Map(),
        doc: d,
        keep: !0,
        mapAsMap: c === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof n == "number" ? n : 100
      }, a = i.toJS(this, "", h);
      if (typeof u == "function") for (const { count: l, res: f } of h.anchors.values()) u(f, l);
      return typeof o == "function" ? t.applyReviver(o, { "": a }, "", a) : a;
    }
  };
  e.NodeBase = s;
})), Xn = /* @__PURE__ */ z(((e) => {
  var t = il(), r = Jn(), i = Ze(), s = nl(), d = br(), c = class extends s.NodeBase {
    constructor(u) {
      super(i.ALIAS), this.source = u, Object.defineProperty(this, "tag", { set() {
        throw new Error("Alias nodes cannot have tags");
      } });
    }
    resolve(u, o) {
      if (o?.maxAliasCount === 0) throw new ReferenceError("Alias resolution is disabled");
      let h;
      o?.aliasResolveCache ? h = o.aliasResolveCache : (h = [], r.visit(u, { Node: (l, f) => {
        (i.isAlias(f) || i.hasAnchor(f)) && h.push(f);
      } }), o && (o.aliasResolveCache = h));
      let a;
      for (const l of h) {
        if (l === this) break;
        l.anchor === this.source && (a = l);
      }
      return a;
    }
    toJSON(u, o) {
      if (!o) return { source: this.source };
      const { anchors: h, doc: a, maxAliasCount: l } = o, f = this.resolve(a, o);
      if (!f) {
        const g = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
        throw new ReferenceError(g);
      }
      let p = h.get(f);
      if (p || (d.toJS(f, null, o), p = h.get(f)), p?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
      if (l >= 0 && (p.count += 1, p.aliasCount === 0 && (p.aliasCount = n(a, f, h)), p.count * p.aliasCount > l))
        throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
      return p.res;
    }
    toString(u, o, h) {
      const a = `*${this.source}`;
      if (u) {
        if (t.anchorIsValid(this.source), u.options.verifyAliasOrder && !u.anchors.has(this.source)) {
          const l = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
          throw new Error(l);
        }
        if (u.implicitKey) return `${a} `;
      }
      return a;
    }
  };
  function n(u, o, h) {
    if (i.isAlias(o)) {
      const a = o.resolve(u), l = h && a && h.get(a);
      return l ? l.count * l.aliasCount : 0;
    } else if (i.isCollection(o)) {
      let a = 0;
      for (const l of o.items) {
        const f = n(u, l, h);
        f > a && (a = f);
      }
      return a;
    } else if (i.isPair(o)) {
      const a = n(u, o.key, h), l = n(u, o.value, h);
      return Math.max(a, l);
    }
    return 1;
  }
  e.Alias = c;
})), yt = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = nl(), i = br(), s = (c) => !c || typeof c != "function" && typeof c != "object", d = class extends r.NodeBase {
    constructor(c) {
      super(t.SCALAR), this.value = c;
    }
    toJSON(c, n) {
      return n?.keep ? this.value : i.toJS(this.value, c, n);
    }
    toString() {
      return String(this.value);
    }
  };
  d.BLOCK_FOLDED = "BLOCK_FOLDED", d.BLOCK_LITERAL = "BLOCK_LITERAL", d.PLAIN = "PLAIN", d.QUOTE_DOUBLE = "QUOTE_DOUBLE", d.QUOTE_SINGLE = "QUOTE_SINGLE", e.Scalar = d, e.isScalarValue = s;
})), Qn = /* @__PURE__ */ z(((e) => {
  var t = Xn(), r = Ze(), i = yt(), s = "tag:yaml.org,2002:";
  function d(n, u, o) {
    if (u) {
      const h = o.filter((l) => l.tag === u), a = h.find((l) => !l.format) ?? h[0];
      if (!a) throw new Error(`Tag ${u} not found`);
      return a;
    }
    return o.find((h) => h.identify?.(n) && !h.format);
  }
  function c(n, u, o) {
    if (r.isDocument(n) && (n = n.contents), r.isNode(n)) return n;
    if (r.isPair(n)) {
      const _ = o.schema[r.MAP].createNode?.(o.schema, null, o);
      return _.items.push(n), _;
    }
    (n instanceof String || n instanceof Number || n instanceof Boolean || typeof BigInt < "u" && n instanceof BigInt) && (n = n.valueOf());
    const { aliasDuplicateObjects: h, onAnchor: a, onTagObj: l, schema: f, sourceObjects: p } = o;
    let g;
    if (h && n && typeof n == "object") {
      if (g = p.get(n), g)
        return g.anchor ?? (g.anchor = a(n)), new t.Alias(g.anchor);
      g = {
        anchor: null,
        node: null
      }, p.set(n, g);
    }
    u?.startsWith("!!") && (u = s + u.slice(2));
    let m = d(n, u, f.tags);
    if (!m) {
      if (n && typeof n.toJSON == "function" && (n = n.toJSON()), !n || typeof n != "object") {
        const _ = new i.Scalar(n);
        return g && (g.node = _), _;
      }
      m = n instanceof Map ? f[r.MAP] : Symbol.iterator in Object(n) ? f[r.SEQ] : f[r.MAP];
    }
    l && (l(m), delete o.onTagObj);
    const v = m?.createNode ? m.createNode(o.schema, n, o) : typeof m?.nodeClass?.from == "function" ? m.nodeClass.from(o.schema, n, o) : new i.Scalar(n);
    return u ? v.tag = u : m.default || (v.tag = m.tag), g && (g.node = v), v;
  }
  e.createNode = c;
})), sl = /* @__PURE__ */ z(((e) => {
  var t = Qn(), r = Ze(), i = nl();
  function s(n, u, o) {
    let h = o;
    for (let a = u.length - 1; a >= 0; --a) {
      const l = u[a];
      if (typeof l == "number" && Number.isInteger(l) && l >= 0) {
        const f = [];
        f[l] = h, h = f;
      } else h = /* @__PURE__ */ new Map([[l, h]]);
    }
    return t.createNode(h, void 0, {
      aliasDuplicateObjects: !1,
      keepUndefined: !1,
      onAnchor: () => {
        throw new Error("This should not happen, please report a bug.");
      },
      schema: n,
      sourceObjects: /* @__PURE__ */ new Map()
    });
  }
  var d = (n) => n == null || typeof n == "object" && !!n[Symbol.iterator]().next().done, c = class extends i.NodeBase {
    constructor(n, u) {
      super(n), Object.defineProperty(this, "schema", {
        value: u,
        configurable: !0,
        enumerable: !1,
        writable: !0
      });
    }
    clone(n) {
      const u = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
      return n && (u.schema = n), u.items = u.items.map((o) => r.isNode(o) || r.isPair(o) ? o.clone(n) : o), this.range && (u.range = this.range.slice()), u;
    }
    addIn(n, u) {
      if (d(n)) this.add(u);
      else {
        const [o, ...h] = n, a = this.get(o, !0);
        if (r.isCollection(a)) a.addIn(h, u);
        else if (a === void 0 && this.schema) this.set(o, s(this.schema, h, u));
        else throw new Error(`Expected YAML collection at ${o}. Remaining path: ${h}`);
      }
    }
    deleteIn(n) {
      const [u, ...o] = n;
      if (o.length === 0) return this.delete(u);
      const h = this.get(u, !0);
      if (r.isCollection(h)) return h.deleteIn(o);
      throw new Error(`Expected YAML collection at ${u}. Remaining path: ${o}`);
    }
    getIn(n, u) {
      const [o, ...h] = n, a = this.get(o, !0);
      return h.length === 0 ? !u && r.isScalar(a) ? a.value : a : r.isCollection(a) ? a.getIn(h, u) : void 0;
    }
    hasAllNullValues(n) {
      return this.items.every((u) => {
        if (!r.isPair(u)) return !1;
        const o = u.value;
        return o == null || n && r.isScalar(o) && o.value == null && !o.commentBefore && !o.comment && !o.tag;
      });
    }
    hasIn(n) {
      const [u, ...o] = n;
      if (o.length === 0) return this.has(u);
      const h = this.get(u, !0);
      return r.isCollection(h) ? h.hasIn(o) : !1;
    }
    setIn(n, u) {
      const [o, ...h] = n;
      if (h.length === 0) this.set(o, u);
      else {
        const a = this.get(o, !0);
        if (r.isCollection(a)) a.setIn(h, u);
        else if (a === void 0 && this.schema) this.set(o, s(this.schema, h, u));
        else throw new Error(`Expected YAML collection at ${o}. Remaining path: ${h}`);
      }
    }
  };
  e.Collection = c, e.collectionFromPath = s, e.isEmptyPath = d;
})), es = /* @__PURE__ */ z(((e) => {
  var t = (s) => s.replace(/^(?!$)(?: $)?/gm, "#");
  function r(s, d) {
    return /^\n+$/.test(s) ? s.substring(1) : d ? s.replace(/^(?! *$)/gm, d) : s;
  }
  var i = (s, d, c) => s.endsWith(`
`) ? r(c, d) : c.includes(`
`) ? `
` + r(c, d) : (s.endsWith(" ") ? "" : " ") + c;
  e.indentComment = r, e.lineComment = i, e.stringifyComment = t;
})), Hw = /* @__PURE__ */ z(((e) => {
  var t = "flow", r = "block", i = "quoted";
  function s(c, n, u = "flow", { indentAtStart: o, lineWidth: h = 80, minContentWidth: a = 20, onFold: l, onOverflow: f } = {}) {
    if (!h || h < 0) return c;
    h < a && (a = 0);
    const p = Math.max(1 + a, 1 + h - n.length);
    if (c.length <= p) return c;
    const g = [], m = {};
    let v = h - n.length;
    typeof o == "number" && (o > h - Math.max(2, a) ? g.push(0) : v = h - o);
    let _, E, S = !1, w = -1, b = -1, A = -1;
    u === r && (w = d(c, w, n.length), w !== -1 && (v = w + p));
    for (let C; C = c[w += 1]; ) {
      if (u === i && C === "\\") {
        switch (b = w, c[w + 1]) {
          case "x":
            w += 3;
            break;
          case "u":
            w += 5;
            break;
          case "U":
            w += 9;
            break;
          default:
            w += 1;
        }
        A = w;
      }
      if (C === `
`)
        u === r && (w = d(c, w, n.length)), v = w + n.length + p, _ = void 0;
      else {
        if (C === " " && E && E !== " " && E !== `
` && E !== "	") {
          const O = c[w + 1];
          O && O !== " " && O !== `
` && O !== "	" && (_ = w);
        }
        if (w >= v) if (_)
          g.push(_), v = _ + p, _ = void 0;
        else if (u === i) {
          for (; E === " " || E === "	"; )
            E = C, C = c[w += 1], S = !0;
          const O = w > A + 1 ? w - 2 : b - 1;
          if (m[O]) return c;
          g.push(O), m[O] = !0, v = O + p, _ = void 0;
        } else S = !0;
      }
      E = C;
    }
    if (S && f && f(), g.length === 0) return c;
    l && l();
    let D = c.slice(0, g[0]);
    for (let C = 0; C < g.length; ++C) {
      const O = g[C], I = g[C + 1] || c.length;
      O === 0 ? D = `
${n}${c.slice(0, I)}` : (u === i && m[O] && (D += `${c[O]}\\`), D += `
${n}${c.slice(O + 1, I)}`);
    }
    return D;
  }
  function d(c, n, u) {
    let o = n, h = n + 1, a = c[h];
    for (; a === " " || a === "	"; ) if (n < h + u) a = c[++n];
    else {
      do
        a = c[++n];
      while (a && a !== `
`);
      o = n, h = n + 1, a = c[h];
    }
    return o;
  }
  e.FOLD_BLOCK = r, e.FOLD_FLOW = t, e.FOLD_QUOTED = i, e.foldFlowLines = s;
})), ts = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = Hw(), i = (f, p) => ({
    indentAtStart: p ? f.indent.length : f.indentAtStart,
    lineWidth: f.options.lineWidth,
    minContentWidth: f.options.minContentWidth
  }), s = (f) => /^(%|---|\.\.\.)/m.test(f);
  function d(f, p, g) {
    if (!p || p < 0) return !1;
    const m = p - g, v = f.length;
    if (v <= m) return !1;
    for (let _ = 0, E = 0; _ < v; ++_) if (f[_] === `
`) {
      if (_ - E > m) return !0;
      if (E = _ + 1, v - E <= m) return !1;
    }
    return !0;
  }
  function c(f, p) {
    const g = JSON.stringify(f);
    if (p.options.doubleQuotedAsJSON) return g;
    const { implicitKey: m } = p, v = p.options.doubleQuotedMinMultiLineLength, _ = p.indent || (s(f) ? "  " : "");
    let E = "", S = 0;
    for (let w = 0, b = g[w]; b; b = g[++w])
      if (b === " " && g[w + 1] === "\\" && g[w + 2] === "n" && (E += g.slice(S, w) + "\\ ", w += 1, S = w, b = "\\"), b === "\\") switch (g[w + 1]) {
        case "u":
          {
            E += g.slice(S, w);
            const A = g.substr(w + 2, 4);
            switch (A) {
              case "0000":
                E += "\\0";
                break;
              case "0007":
                E += "\\a";
                break;
              case "000b":
                E += "\\v";
                break;
              case "001b":
                E += "\\e";
                break;
              case "0085":
                E += "\\N";
                break;
              case "00a0":
                E += "\\_";
                break;
              case "2028":
                E += "\\L";
                break;
              case "2029":
                E += "\\P";
                break;
              default:
                A.substr(0, 2) === "00" ? E += "\\x" + A.substr(2) : E += g.substr(w, 6);
            }
            w += 5, S = w + 1;
          }
          break;
        case "n":
          if (m || g[w + 2] === '"' || g.length < v) w += 1;
          else {
            for (E += g.slice(S, w) + `

`; g[w + 2] === "\\" && g[w + 3] === "n" && g[w + 4] !== '"'; )
              E += `
`, w += 2;
            E += _, g[w + 2] === " " && (E += "\\"), w += 1, S = w + 1;
          }
          break;
        default:
          w += 1;
      }
    return E = S ? E + g.slice(S) : g, m ? E : r.foldFlowLines(E, _, r.FOLD_QUOTED, i(p, !1));
  }
  function n(f, p) {
    if (p.options.singleQuote === !1 || p.implicitKey && f.includes(`
`) || /[ \t]\n|\n[ \t]/.test(f)) return c(f, p);
    const g = p.indent || (s(f) ? "  " : ""), m = "'" + f.replace(/'/g, "''").replace(/\n+/g, `$&
${g}`) + "'";
    return p.implicitKey ? m : r.foldFlowLines(m, g, r.FOLD_FLOW, i(p, !1));
  }
  function u(f, p) {
    const { singleQuote: g } = p.options;
    let m;
    if (g === !1) m = c;
    else {
      const v = f.includes('"'), _ = f.includes("'");
      v && !_ ? m = n : _ && !v ? m = c : m = g ? n : c;
    }
    return m(f, p);
  }
  var o;
  try {
    o = /* @__PURE__ */ new RegExp(`(^|(?<!
))
+(?!
|$)`, "g");
  } catch {
    o = /\n+(?!\n|$)/g;
  }
  function h({ comment: f, type: p, value: g }, m, v, _) {
    const { blockQuote: E, commentString: S, lineWidth: w } = m.options;
    if (!E || /\n[\t ]+$/.test(g)) return u(g, m);
    const b = m.indent || (m.forceBlockIndent || s(g) ? "  " : ""), A = E === "literal" ? !0 : E === "folded" || p === t.Scalar.BLOCK_FOLDED ? !1 : p === t.Scalar.BLOCK_LITERAL ? !0 : !d(g, w, b.length);
    if (!g) return A ? `|
` : `>
`;
    let D, C;
    for (C = g.length; C > 0; --C) {
      const N = g[C - 1];
      if (N !== `
` && N !== "	" && N !== " ") break;
    }
    let O = g.substring(C);
    const I = O.indexOf(`
`);
    I === -1 ? D = "-" : g === O || I !== O.length - 1 ? (D = "+", _ && _()) : D = "", O && (g = g.slice(0, -O.length), O[O.length - 1] === `
` && (O = O.slice(0, -1)), O = O.replace(o, `$&${b}`));
    let x = !1, F, q = -1;
    for (F = 0; F < g.length; ++F) {
      const N = g[F];
      if (N === " ") x = !0;
      else if (N === `
`) q = F;
      else break;
    }
    let K = g.substring(0, q < F ? q + 1 : F);
    K && (g = g.substring(K.length), K = K.replace(/\n+/g, `$&${b}`));
    let M = (x ? b ? "2" : "1" : "") + D;
    if (f && (M += " " + S(f.replace(/ ?[\r\n]+/g, " ")), v && v()), !A) {
      const N = g.replace(/\n+/g, `
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${b}`);
      let L = !1;
      const te = i(m, !0);
      E !== "folded" && p !== t.Scalar.BLOCK_FOLDED && (te.onOverflow = () => {
        L = !0;
      });
      const H = r.foldFlowLines(`${K}${N}${O}`, b, r.FOLD_BLOCK, te);
      if (!L) return `>${M}
${b}${H}`;
    }
    return g = g.replace(/\n+/g, `$&${b}`), `|${M}
${b}${K}${g}${O}`;
  }
  function a(f, p, g, m) {
    const { type: v, value: _ } = f, { actualString: E, implicitKey: S, indent: w, indentStep: b, inFlow: A } = p;
    if (S && _.includes(`
`) || A && /[[\]{},]/.test(_)) return u(_, p);
    if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(_)) return S || A || !_.includes(`
`) ? u(_, p) : h(f, p, g, m);
    if (!S && !A && v !== t.Scalar.PLAIN && _.includes(`
`)) return h(f, p, g, m);
    if (s(_)) {
      if (w === "")
        return p.forceBlockIndent = !0, h(f, p, g, m);
      if (S && w === b) return u(_, p);
    }
    const D = _.replace(/\n+/g, `$&
${w}`);
    if (E) {
      const C = (x) => x.default && x.tag !== "tag:yaml.org,2002:str" && x.test?.test(D), { compat: O, tags: I } = p.doc.schema;
      if (I.some(C) || O?.some(C)) return u(_, p);
    }
    return S ? D : r.foldFlowLines(D, w, r.FOLD_FLOW, i(p, !1));
  }
  function l(f, p, g, m) {
    const { implicitKey: v, inFlow: _ } = p, E = typeof f.value == "string" ? f : Object.assign({}, f, { value: String(f.value) });
    let { type: S } = f;
    S !== t.Scalar.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(E.value) && (S = t.Scalar.QUOTE_DOUBLE);
    const w = (A) => {
      switch (A) {
        case t.Scalar.BLOCK_FOLDED:
        case t.Scalar.BLOCK_LITERAL:
          return v || _ ? u(E.value, p) : h(E, p, g, m);
        case t.Scalar.QUOTE_DOUBLE:
          return c(E.value, p);
        case t.Scalar.QUOTE_SINGLE:
          return n(E.value, p);
        case t.Scalar.PLAIN:
          return a(E, p, g, m);
        default:
          return null;
      }
    };
    let b = w(S);
    if (b === null) {
      const { defaultKeyType: A, defaultStringType: D } = p.options, C = v && A || D;
      if (b = w(C), b === null) throw new Error(`Unsupported default string type ${C}`);
    }
    return b;
  }
  e.stringifyString = l;
})), rs = /* @__PURE__ */ z(((e) => {
  var t = il(), r = Ze(), i = es(), s = ts();
  function d(o, h) {
    const a = Object.assign({
      blockQuote: !0,
      commentString: i.stringifyComment,
      defaultKeyType: null,
      defaultStringType: "PLAIN",
      directives: null,
      doubleQuotedAsJSON: !1,
      doubleQuotedMinMultiLineLength: 40,
      falseStr: "false",
      flowCollectionPadding: !0,
      indentSeq: !0,
      lineWidth: 80,
      minContentWidth: 20,
      nullStr: "null",
      simpleKeys: !1,
      singleQuote: null,
      trailingComma: !1,
      trueStr: "true",
      verifyAliasOrder: !0
    }, o.schema.toStringOptions, h);
    let l;
    switch (a.collectionStyle) {
      case "block":
        l = !1;
        break;
      case "flow":
        l = !0;
        break;
      default:
        l = null;
    }
    return {
      anchors: /* @__PURE__ */ new Set(),
      doc: o,
      flowCollectionPadding: a.flowCollectionPadding ? " " : "",
      indent: "",
      indentStep: typeof a.indent == "number" ? " ".repeat(a.indent) : "  ",
      inFlow: l,
      options: a
    };
  }
  function c(o, h) {
    if (h.tag) {
      const f = o.filter((p) => p.tag === h.tag);
      if (f.length > 0) return f.find((p) => p.format === h.format) ?? f[0];
    }
    let a, l;
    if (r.isScalar(h)) {
      l = h.value;
      let f = o.filter((p) => p.identify?.(l));
      if (f.length > 1) {
        const p = f.filter((g) => g.test);
        p.length > 0 && (f = p);
      }
      a = f.find((p) => p.format === h.format) ?? f.find((p) => !p.format);
    } else
      l = h, a = o.find((f) => f.nodeClass && l instanceof f.nodeClass);
    if (!a) {
      const f = l?.constructor?.name ?? (l === null ? "null" : typeof l);
      throw new Error(`Tag not resolved for ${f} value`);
    }
    return a;
  }
  function n(o, h, { anchors: a, doc: l }) {
    if (!l.directives) return "";
    const f = [], p = (r.isScalar(o) || r.isCollection(o)) && o.anchor;
    p && t.anchorIsValid(p) && (a.add(p), f.push(`&${p}`));
    const g = o.tag ?? (h.default ? null : h.tag);
    return g && f.push(l.directives.tagString(g)), f.join(" ");
  }
  function u(o, h, a, l) {
    if (r.isPair(o)) return o.toString(h, a, l);
    if (r.isAlias(o)) {
      if (h.doc.directives) return o.toString(h);
      if (h.resolvedAliases?.has(o)) throw new TypeError("Cannot stringify circular structure without alias nodes");
      h.resolvedAliases ? h.resolvedAliases.add(o) : h.resolvedAliases = /* @__PURE__ */ new Set([o]), o = o.resolve(h.doc);
    }
    let f;
    const p = r.isNode(o) ? o : h.doc.createNode(o, { onTagObj: (v) => f = v });
    f ?? (f = c(h.doc.schema.tags, p));
    const g = n(p, f, h);
    g.length > 0 && (h.indentAtStart = (h.indentAtStart ?? 0) + g.length + 1);
    const m = typeof f.stringify == "function" ? f.stringify(p, h, a, l) : r.isScalar(p) ? s.stringifyString(p, h, a, l) : p.toString(h, a, l);
    return g ? r.isScalar(p) || m[0] === "{" || m[0] === "[" ? `${g} ${m}` : `${g}
${h.indent}${m}` : m;
  }
  e.createStringifyContext = d, e.stringify = u;
})), qw = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = yt(), i = rs(), s = es();
  function d({ key: c, value: n }, u, o, h) {
    const { allNullValues: a, doc: l, indent: f, indentStep: p, options: { commentString: g, indentSeq: m, simpleKeys: v } } = u;
    let _ = t.isNode(c) && c.comment || null;
    if (v) {
      if (_) throw new Error("With simple keys, key nodes cannot have comments");
      if (t.isCollection(c) || !t.isNode(c) && typeof c == "object") throw new Error("With simple keys, collection cannot be used as a key value");
    }
    let E = !v && (!c || _ && n == null && !u.inFlow || t.isCollection(c) || (t.isScalar(c) ? c.type === r.Scalar.BLOCK_FOLDED || c.type === r.Scalar.BLOCK_LITERAL : typeof c == "object"));
    u = Object.assign({}, u, {
      allNullValues: !1,
      implicitKey: !E && (v || !a),
      indent: f + p
    });
    let S = !1, w = !1, b = i.stringify(c, u, () => S = !0, () => w = !0);
    if (!E && !u.inFlow && b.length > 1024) {
      if (v) throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
      E = !0;
    }
    if (u.inFlow) {
      if (a || n == null)
        return S && o && o(), b === "" ? "?" : E ? `? ${b}` : b;
    } else if (a && !v || n == null && E)
      return b = `? ${b}`, _ && !S ? b += s.lineComment(b, u.indent, g(_)) : w && h && h(), b;
    S && (_ = null), E ? (_ && (b += s.lineComment(b, u.indent, g(_))), b = `? ${b}
${f}:`) : (b = `${b}:`, _ && (b += s.lineComment(b, u.indent, g(_))));
    let A, D, C;
    t.isNode(n) ? (A = !!n.spaceBefore, D = n.commentBefore, C = n.comment) : (A = !1, D = null, C = null, n && typeof n == "object" && (n = l.createNode(n))), u.implicitKey = !1, !E && !_ && t.isScalar(n) && (u.indentAtStart = b.length + 1), w = !1, !m && p.length >= 2 && !u.inFlow && !E && t.isSeq(n) && !n.flow && !n.tag && !n.anchor && (u.indent = u.indent.substring(2));
    let O = !1;
    const I = i.stringify(n, u, () => O = !0, () => w = !0);
    let x = " ";
    if (_ || A || D) {
      if (x = A ? `
` : "", D) {
        const F = g(D);
        x += `
${s.indentComment(F, u.indent)}`;
      }
      I === "" && !u.inFlow ? x === `
` && C && (x = `

`) : x += `
${u.indent}`;
    } else if (!E && t.isCollection(n)) {
      const F = I[0], q = I.indexOf(`
`), K = q !== -1, M = u.inFlow ?? n.flow ?? n.items.length === 0;
      if (K || !M) {
        let N = !1;
        if (K && (F === "&" || F === "!")) {
          let L = I.indexOf(" ");
          F === "&" && L !== -1 && L < q && I[L + 1] === "!" && (L = I.indexOf(" ", L + 1)), (L === -1 || q < L) && (N = !0);
        }
        N || (x = `
${u.indent}`);
      }
    } else (I === "" || I[0] === `
`) && (x = "");
    return b += x + I, u.inFlow ? O && o && o() : C && !O ? b += s.lineComment(b, u.indent, g(C)) : w && h && h(), b;
  }
  e.stringifyPair = d;
})), Bf = /* @__PURE__ */ z(((e) => {
  var t = be("process");
  function r(s, ...d) {
    s === "debug" && console.log(...d);
  }
  function i(s, d) {
    (s === "debug" || s === "warn") && (typeof t.emitWarning == "function" ? t.emitWarning(d) : console.warn(d));
  }
  e.debug = r, e.warn = i;
})), al = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = yt(), i = "<<", s = {
    identify: (o) => o === i || typeof o == "symbol" && o.description === i,
    default: "key",
    tag: "tag:yaml.org,2002:merge",
    test: /^<<$/,
    resolve: () => Object.assign(new r.Scalar(Symbol(i)), { addToJSMap: c }),
    stringify: () => i
  }, d = (o, h) => (s.identify(h) || t.isScalar(h) && (!h.type || h.type === r.Scalar.PLAIN) && s.identify(h.value)) && o?.doc.schema.tags.some((a) => a.tag === s.tag && a.default);
  function c(o, h, a) {
    const l = u(o, a);
    if (t.isSeq(l)) for (const f of l.items) n(o, h, f);
    else if (Array.isArray(l)) for (const f of l) n(o, h, f);
    else n(o, h, l);
  }
  function n(o, h, a) {
    const l = u(o, a);
    if (!t.isMap(l)) throw new Error("Merge sources must be maps or map aliases");
    const f = l.toJSON(null, o, Map);
    for (const [p, g] of f) h instanceof Map ? h.has(p) || h.set(p, g) : h instanceof Set ? h.add(p) : Object.prototype.hasOwnProperty.call(h, p) || Object.defineProperty(h, p, {
      value: g,
      writable: !0,
      enumerable: !0,
      configurable: !0
    });
    return h;
  }
  function u(o, h) {
    return o && t.isAlias(h) ? h.resolve(o.doc, o) : h;
  }
  e.addMergeToJSMap = c, e.isMergeKey = d, e.merge = s;
})), Ff = /* @__PURE__ */ z(((e) => {
  var t = Bf(), r = al(), i = rs(), s = Ze(), d = br();
  function c(u, o, { key: h, value: a }) {
    if (s.isNode(h) && h.addToJSMap) h.addToJSMap(u, o, a);
    else if (r.isMergeKey(u, h)) r.addMergeToJSMap(u, o, a);
    else {
      const l = d.toJS(h, "", u);
      if (o instanceof Map) o.set(l, d.toJS(a, l, u));
      else if (o instanceof Set) o.add(l);
      else {
        const f = n(h, l, u), p = d.toJS(a, f, u);
        f in o ? Object.defineProperty(o, f, {
          value: p,
          writable: !0,
          enumerable: !0,
          configurable: !0
        }) : o[f] = p;
      }
    }
    return o;
  }
  function n(u, o, h) {
    if (o === null) return "";
    if (typeof o != "object") return String(o);
    if (s.isNode(u) && h?.doc) {
      const a = i.createStringifyContext(h.doc, {});
      a.anchors = /* @__PURE__ */ new Set();
      for (const f of h.anchors.keys()) a.anchors.add(f.anchor);
      a.inFlow = !0, a.inStringifyKey = !0;
      const l = u.toString(a);
      if (!h.mapKeyWarned) {
        let f = JSON.stringify(l);
        f.length > 40 && (f = f.substring(0, 36) + '..."'), t.warn(h.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${f}. Set mapAsMap: true to use object keys.`), h.mapKeyWarned = !0;
      }
      return l;
    }
    return JSON.stringify(o);
  }
  e.addPairToJSMap = c;
})), wr = /* @__PURE__ */ z(((e) => {
  var t = Qn(), r = qw(), i = Ff(), s = Ze();
  function d(n, u, o) {
    return new c(t.createNode(n, void 0, o), t.createNode(u, void 0, o));
  }
  var c = class Mf {
    constructor(u, o = null) {
      Object.defineProperty(this, s.NODE_TYPE, { value: s.PAIR }), this.key = u, this.value = o;
    }
    clone(u) {
      let { key: o, value: h } = this;
      return s.isNode(o) && (o = o.clone(u)), s.isNode(h) && (h = h.clone(u)), new Mf(o, h);
    }
    toJSON(u, o) {
      const h = o?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      return i.addPairToJSMap(o, h, this);
    }
    toString(u, o, h) {
      return u?.doc ? r.stringifyPair(this, u, o, h) : JSON.stringify(this);
    }
  };
  e.Pair = c, e.createPair = d;
})), jf = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = rs(), i = es();
  function s(u, o, h) {
    return (o.inFlow ?? u.flow ? c : d)(u, o, h);
  }
  function d({ comment: u, items: o }, h, { blockItemPrefix: a, flowChars: l, itemIndent: f, onChompKeep: p, onComment: g }) {
    const { indent: m, options: { commentString: v } } = h, _ = Object.assign({}, h, {
      indent: f,
      type: null
    });
    let E = !1;
    const S = [];
    for (let b = 0; b < o.length; ++b) {
      const A = o[b];
      let D = null;
      if (t.isNode(A))
        !E && A.spaceBefore && S.push(""), n(h, S, A.commentBefore, E), A.comment && (D = A.comment);
      else if (t.isPair(A)) {
        const O = t.isNode(A.key) ? A.key : null;
        O && (!E && O.spaceBefore && S.push(""), n(h, S, O.commentBefore, E));
      }
      E = !1;
      let C = r.stringify(A, _, () => D = null, () => E = !0);
      D && (C += i.lineComment(C, f, v(D))), E && D && (E = !1), S.push(a + C);
    }
    let w;
    if (S.length === 0) w = l.start + l.end;
    else {
      w = S[0];
      for (let b = 1; b < S.length; ++b) {
        const A = S[b];
        w += A ? `
${m}${A}` : `
`;
      }
    }
    return u ? (w += `
` + i.indentComment(v(u), m), g && g()) : E && p && p(), w;
  }
  function c({ items: u }, o, { flowChars: h, itemIndent: a }) {
    const { indent: l, indentStep: f, flowCollectionPadding: p, options: { commentString: g } } = o;
    a += f;
    const m = Object.assign({}, o, {
      indent: a,
      inFlow: !0,
      type: null
    });
    let v = !1, _ = 0;
    const E = [];
    for (let b = 0; b < u.length; ++b) {
      const A = u[b];
      let D = null;
      if (t.isNode(A))
        A.spaceBefore && E.push(""), n(o, E, A.commentBefore, !1), A.comment && (D = A.comment);
      else if (t.isPair(A)) {
        const O = t.isNode(A.key) ? A.key : null;
        O && (O.spaceBefore && E.push(""), n(o, E, O.commentBefore, !1), O.comment && (v = !0));
        const I = t.isNode(A.value) ? A.value : null;
        I ? (I.comment && (D = I.comment), I.commentBefore && (v = !0)) : A.value == null && O?.comment && (D = O.comment);
      }
      D && (v = !0);
      let C = r.stringify(A, m, () => D = null);
      v || (v = E.length > _ || C.includes(`
`)), b < u.length - 1 ? C += "," : o.options.trailingComma && (o.options.lineWidth > 0 && (v || (v = E.reduce((O, I) => O + I.length + 2, 2) + (C.length + 2) > o.options.lineWidth)), v && (C += ",")), D && (C += i.lineComment(C, a, g(D))), E.push(C), _ = E.length;
    }
    const { start: S, end: w } = h;
    if (E.length === 0) return S + w;
    if (!v) {
      const b = E.reduce((A, D) => A + D.length + 2, 2);
      v = o.options.lineWidth > 0 && b > o.options.lineWidth;
    }
    if (v) {
      let b = S;
      for (const A of E) b += A ? `
${f}${l}${A}` : `
`;
      return `${b}
${l}${w}`;
    } else return `${S}${p}${E.join(" ")}${p}${w}`;
  }
  function n({ indent: u, options: { commentString: o } }, h, a, l) {
    if (a && l && (a = a.replace(/^\n+/, "")), a) {
      const f = i.indentComment(o(a), u);
      h.push(f.trimStart());
    }
  }
  e.stringifyCollection = s;
})), Er = /* @__PURE__ */ z(((e) => {
  var t = jf(), r = Ff(), i = sl(), s = Ze(), d = wr(), c = yt();
  function n(o, h) {
    const a = s.isScalar(h) ? h.value : h;
    for (const l of o) if (s.isPair(l) && (l.key === h || l.key === a || s.isScalar(l.key) && l.key.value === a))
      return l;
  }
  var u = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:map";
    }
    constructor(o) {
      super(s.MAP, o), this.items = [];
    }
    static from(o, h, a) {
      const { keepUndefined: l, replacer: f } = a, p = new this(o), g = (m, v) => {
        if (typeof f == "function") v = f.call(h, m, v);
        else if (Array.isArray(f) && !f.includes(m)) return;
        (v !== void 0 || l) && p.items.push(d.createPair(m, v, a));
      };
      if (h instanceof Map) for (const [m, v] of h) g(m, v);
      else if (h && typeof h == "object") for (const m of Object.keys(h)) g(m, h[m]);
      return typeof o.sortMapEntries == "function" && p.items.sort(o.sortMapEntries), p;
    }
    add(o, h) {
      let a;
      s.isPair(o) ? a = o : !o || typeof o != "object" || !("key" in o) ? a = new d.Pair(o, o?.value) : a = new d.Pair(o.key, o.value);
      const l = n(this.items, a.key), f = this.schema?.sortMapEntries;
      if (l) {
        if (!h) throw new Error(`Key ${a.key} already set`);
        s.isScalar(l.value) && c.isScalarValue(a.value) ? l.value.value = a.value : l.value = a.value;
      } else if (f) {
        const p = this.items.findIndex((g) => f(a, g) < 0);
        p === -1 ? this.items.push(a) : this.items.splice(p, 0, a);
      } else this.items.push(a);
    }
    delete(o) {
      const h = n(this.items, o);
      return h ? this.items.splice(this.items.indexOf(h), 1).length > 0 : !1;
    }
    get(o, h) {
      const a = n(this.items, o)?.value;
      return (!h && s.isScalar(a) ? a.value : a) ?? void 0;
    }
    has(o) {
      return !!n(this.items, o);
    }
    set(o, h) {
      this.add(new d.Pair(o, h), !0);
    }
    toJSON(o, h, a) {
      const l = a ? new a() : h?.mapAsMap ? /* @__PURE__ */ new Map() : {};
      h?.onCreate && h.onCreate(l);
      for (const f of this.items) r.addPairToJSMap(h, l, f);
      return l;
    }
    toString(o, h, a) {
      if (!o) return JSON.stringify(this);
      for (const l of this.items) if (!s.isPair(l)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(l)} instead`);
      return !o.allNullValues && this.hasAllNullValues(!1) && (o = Object.assign({}, o, { allNullValues: !0 })), t.stringifyCollection(this, o, {
        blockItemPrefix: "",
        flowChars: {
          start: "{",
          end: "}"
        },
        itemIndent: o.indent || "",
        onChompKeep: a,
        onComment: h
      });
    }
  };
  e.YAMLMap = u, e.findPair = n;
})), Bi = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = Er(), i = {
    collection: "map",
    default: !0,
    nodeClass: r.YAMLMap,
    tag: "tag:yaml.org,2002:map",
    resolve(s, d) {
      return t.isMap(s) || d("Expected a mapping for this tag"), s;
    },
    createNode: (s, d, c) => r.YAMLMap.from(s, d, c)
  };
  e.map = i;
})), Sr = /* @__PURE__ */ z(((e) => {
  var t = Qn(), r = jf(), i = sl(), s = Ze(), d = yt(), c = br(), n = class extends i.Collection {
    static get tagName() {
      return "tag:yaml.org,2002:seq";
    }
    constructor(o) {
      super(s.SEQ, o), this.items = [];
    }
    add(o) {
      this.items.push(o);
    }
    delete(o) {
      const h = u(o);
      return typeof h != "number" ? !1 : this.items.splice(h, 1).length > 0;
    }
    get(o, h) {
      const a = u(o);
      if (typeof a != "number") return;
      const l = this.items[a];
      return !h && s.isScalar(l) ? l.value : l;
    }
    has(o) {
      const h = u(o);
      return typeof h == "number" && h < this.items.length;
    }
    set(o, h) {
      const a = u(o);
      if (typeof a != "number") throw new Error(`Expected a valid index, not ${o}.`);
      const l = this.items[a];
      s.isScalar(l) && d.isScalarValue(h) ? l.value = h : this.items[a] = h;
    }
    toJSON(o, h) {
      const a = [];
      h?.onCreate && h.onCreate(a);
      let l = 0;
      for (const f of this.items) a.push(c.toJS(f, String(l++), h));
      return a;
    }
    toString(o, h, a) {
      return o ? r.stringifyCollection(this, o, {
        blockItemPrefix: "- ",
        flowChars: {
          start: "[",
          end: "]"
        },
        itemIndent: (o.indent || "") + "  ",
        onChompKeep: a,
        onComment: h
      }) : JSON.stringify(this);
    }
    static from(o, h, a) {
      const { replacer: l } = a, f = new this(o);
      if (h && Symbol.iterator in Object(h)) {
        let p = 0;
        for (let g of h) {
          if (typeof l == "function") {
            const m = h instanceof Set ? g : String(p++);
            g = l.call(h, m, g);
          }
          f.items.push(t.createNode(g, void 0, a));
        }
      }
      return f;
    }
  };
  function u(o) {
    let h = s.isScalar(o) ? o.value : o;
    return h && typeof h == "string" && (h = Number(h)), typeof h == "number" && Number.isInteger(h) && h >= 0 ? h : null;
  }
  e.YAMLSeq = n;
})), Fi = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = Sr(), i = {
    collection: "seq",
    default: !0,
    nodeClass: r.YAMLSeq,
    tag: "tag:yaml.org,2002:seq",
    resolve(s, d) {
      return t.isSeq(s) || d("Expected a sequence for this tag"), s;
    },
    createNode: (s, d, c) => r.YAMLSeq.from(s, d, c)
  };
  e.seq = i;
})), is = /* @__PURE__ */ z(((e) => {
  var t = ts(), r = {
    identify: (i) => typeof i == "string",
    default: !0,
    tag: "tag:yaml.org,2002:str",
    resolve: (i) => i,
    stringify(i, s, d, c) {
      return s = Object.assign({ actualString: !0 }, s), t.stringifyString(i, s, d, c);
    }
  };
  e.string = r;
})), ol = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = {
    identify: (i) => i == null,
    createNode: () => new t.Scalar(null),
    default: !0,
    tag: "tag:yaml.org,2002:null",
    test: /^(?:~|[Nn]ull|NULL)?$/,
    resolve: () => new t.Scalar(null),
    stringify: ({ source: i }, s) => typeof i == "string" && r.test.test(i) ? i : s.options.nullStr
  };
  e.nullTag = r;
})), Uf = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = {
    identify: (i) => typeof i == "boolean",
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
    resolve: (i) => new t.Scalar(i[0] === "t" || i[0] === "T"),
    stringify({ source: i, value: s }, d) {
      return i && r.test.test(i) && s === (i[0] === "t" || i[0] === "T") ? i : s ? d.options.trueStr : d.options.falseStr;
    }
  };
  e.boolTag = r;
})), Mi = /* @__PURE__ */ z(((e) => {
  function t({ format: r, minFractionDigits: i, tag: s, value: d }) {
    if (typeof d == "bigint") return String(d);
    const c = typeof d == "number" ? d : Number(d);
    if (!isFinite(c)) return isNaN(c) ? ".nan" : c < 0 ? "-.inf" : ".inf";
    let n = Object.is(d, -0) ? "-0" : JSON.stringify(d);
    if (!r && i && (!s || s === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
      let u = n.indexOf(".");
      u < 0 && (u = n.length, n += ".");
      let o = i - (n.length - u - 1);
      for (; o-- > 0; ) n += "0";
    }
    return n;
  }
  e.stringifyNumber = t;
})), Hf = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = Mi(), i = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (c) => c.slice(-3).toLowerCase() === "nan" ? NaN : c[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,
    resolve: (c) => parseFloat(c),
    stringify(c) {
      const n = Number(c.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(c);
    }
  }, d = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,
    resolve(c) {
      const n = new t.Scalar(parseFloat(c)), u = c.indexOf(".");
      return u !== -1 && c[c.length - 1] === "0" && (n.minFractionDigits = c.length - u - 1), n;
    },
    stringify: r.stringifyNumber
  };
  e.float = d, e.floatExp = s, e.floatNaN = i;
})), qf = /* @__PURE__ */ z(((e) => {
  var t = Mi(), r = (u) => typeof u == "bigint" || Number.isInteger(u), i = (u, o, h, { intAsBigInt: a }) => a ? BigInt(u) : parseInt(u.substring(o), h);
  function s(u, o, h) {
    const { value: a } = u;
    return r(a) && a >= 0 ? h + a.toString(o) : t.stringifyNumber(u);
  }
  var d = {
    identify: (u) => r(u) && u >= 0,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^0o[0-7]+$/,
    resolve: (u, o, h) => i(u, 2, 8, h),
    stringify: (u) => s(u, 8, "0o")
  }, c = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9]+$/,
    resolve: (u, o, h) => i(u, 0, 10, h),
    stringify: t.stringifyNumber
  }, n = {
    identify: (u) => r(u) && u >= 0,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "HEX",
    test: /^0x[0-9a-fA-F]+$/,
    resolve: (u, o, h) => i(u, 2, 16, h),
    stringify: (u) => s(u, 16, "0x")
  };
  e.int = c, e.intHex = n, e.intOct = d;
})), Gw = /* @__PURE__ */ z(((e) => {
  var t = Bi(), r = ol(), i = Fi(), s = is(), d = Uf(), c = Hf(), n = qf(), u = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    d.boolTag,
    n.intOct,
    n.int,
    n.intHex,
    c.floatNaN,
    c.floatExp,
    c.float
  ];
  e.schema = u;
})), zw = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = Bi(), i = Fi();
  function s(u) {
    return typeof u == "bigint" || Number.isInteger(u);
  }
  var d = ({ value: u }) => JSON.stringify(u), c = [
    {
      identify: (u) => typeof u == "string",
      default: !0,
      tag: "tag:yaml.org,2002:str",
      resolve: (u) => u,
      stringify: d
    },
    {
      identify: (u) => u == null,
      createNode: () => new t.Scalar(null),
      default: !0,
      tag: "tag:yaml.org,2002:null",
      test: /^null$/,
      resolve: () => null,
      stringify: d
    },
    {
      identify: (u) => typeof u == "boolean",
      default: !0,
      tag: "tag:yaml.org,2002:bool",
      test: /^true$|^false$/,
      resolve: (u) => u === "true",
      stringify: d
    },
    {
      identify: s,
      default: !0,
      tag: "tag:yaml.org,2002:int",
      test: /^-?(?:0|[1-9][0-9]*)$/,
      resolve: (u, o, { intAsBigInt: h }) => h ? BigInt(u) : parseInt(u, 10),
      stringify: ({ value: u }) => s(u) ? u.toString() : JSON.stringify(u)
    },
    {
      identify: (u) => typeof u == "number",
      default: !0,
      tag: "tag:yaml.org,2002:float",
      test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
      resolve: (u) => parseFloat(u),
      stringify: d
    }
  ], n = [r.map, i.seq].concat(c, {
    default: !0,
    tag: "",
    test: /^/,
    resolve(u, o) {
      return o(`Unresolved plain scalar ${JSON.stringify(u)}`), u;
    }
  });
  e.schema = n;
})), Gf = /* @__PURE__ */ z(((e) => {
  var t = be("buffer"), r = yt(), i = ts(), s = {
    identify: (d) => d instanceof Uint8Array,
    default: !1,
    tag: "tag:yaml.org,2002:binary",
    resolve(d, c) {
      if (typeof t.Buffer == "function") return t.Buffer.from(d, "base64");
      if (typeof atob == "function") {
        const n = atob(d.replace(/[\n\r]/g, "")), u = new Uint8Array(n.length);
        for (let o = 0; o < n.length; ++o) u[o] = n.charCodeAt(o);
        return u;
      } else
        return c("This environment does not support reading binary tags; either Buffer or atob is required"), d;
    },
    stringify({ comment: d, type: c, value: n }, u, o, h) {
      if (!n) return "";
      const a = n;
      let l;
      if (typeof t.Buffer == "function") l = a instanceof t.Buffer ? a.toString("base64") : t.Buffer.from(a.buffer).toString("base64");
      else if (typeof btoa == "function") {
        let f = "";
        for (let p = 0; p < a.length; ++p) f += String.fromCharCode(a[p]);
        l = btoa(f);
      } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
      if (c ?? (c = r.Scalar.BLOCK_LITERAL), c !== r.Scalar.QUOTE_DOUBLE) {
        const f = Math.max(u.options.lineWidth - u.indent.length, u.options.minContentWidth), p = Math.ceil(l.length / f), g = new Array(p);
        for (let m = 0, v = 0; m < p; ++m, v += f) g[m] = l.substr(v, f);
        l = g.join(c === r.Scalar.BLOCK_LITERAL ? `
` : " ");
      }
      return i.stringifyString({
        comment: d,
        type: c,
        value: l
      }, u, o, h);
    }
  };
  e.binary = s;
})), ll = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = wr(), i = yt(), s = Sr();
  function d(u, o) {
    if (t.isSeq(u)) for (let h = 0; h < u.items.length; ++h) {
      let a = u.items[h];
      if (!t.isPair(a)) {
        if (t.isMap(a)) {
          a.items.length > 1 && o("Each pair must have its own sequence indicator");
          const l = a.items[0] || new r.Pair(new i.Scalar(null));
          if (a.commentBefore && (l.key.commentBefore = l.key.commentBefore ? `${a.commentBefore}
${l.key.commentBefore}` : a.commentBefore), a.comment) {
            const f = l.value ?? l.key;
            f.comment = f.comment ? `${a.comment}
${f.comment}` : a.comment;
          }
          a = l;
        }
        u.items[h] = t.isPair(a) ? a : new r.Pair(a);
      }
    }
    else o("Expected a sequence for this tag");
    return u;
  }
  function c(u, o, h) {
    const { replacer: a } = h, l = new s.YAMLSeq(u);
    l.tag = "tag:yaml.org,2002:pairs";
    let f = 0;
    if (o && Symbol.iterator in Object(o)) for (let p of o) {
      typeof a == "function" && (p = a.call(o, String(f++), p));
      let g, m;
      if (Array.isArray(p)) if (p.length === 2)
        g = p[0], m = p[1];
      else throw new TypeError(`Expected [key, value] tuple: ${p}`);
      else if (p && p instanceof Object) {
        const v = Object.keys(p);
        if (v.length === 1)
          g = v[0], m = p[g];
        else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`);
      } else g = p;
      l.items.push(r.createPair(g, m, h));
    }
    return l;
  }
  var n = {
    collection: "seq",
    default: !1,
    tag: "tag:yaml.org,2002:pairs",
    resolve: d,
    createNode: c
  };
  e.createPairs = c, e.pairs = n, e.resolvePairs = d;
})), zf = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = br(), i = Er(), s = Sr(), d = ll(), c = class Wf extends s.YAMLSeq {
    constructor() {
      super(), this.add = i.YAMLMap.prototype.add.bind(this), this.delete = i.YAMLMap.prototype.delete.bind(this), this.get = i.YAMLMap.prototype.get.bind(this), this.has = i.YAMLMap.prototype.has.bind(this), this.set = i.YAMLMap.prototype.set.bind(this), this.tag = Wf.tag;
    }
    toJSON(o, h) {
      if (!h) return super.toJSON(o);
      const a = /* @__PURE__ */ new Map();
      h?.onCreate && h.onCreate(a);
      for (const l of this.items) {
        let f, p;
        if (t.isPair(l) ? (f = r.toJS(l.key, "", h), p = r.toJS(l.value, f, h)) : f = r.toJS(l, "", h), a.has(f)) throw new Error("Ordered maps must not include duplicate keys");
        a.set(f, p);
      }
      return a;
    }
    static from(o, h, a) {
      const l = d.createPairs(o, h, a), f = new this();
      return f.items = l.items, f;
    }
  };
  c.tag = "tag:yaml.org,2002:omap";
  var n = {
    collection: "seq",
    identify: (u) => u instanceof Map,
    nodeClass: c,
    default: !1,
    tag: "tag:yaml.org,2002:omap",
    resolve(u, o) {
      const h = d.resolvePairs(u, o), a = [];
      for (const { key: l } of h.items) t.isScalar(l) && (a.includes(l.value) ? o(`Ordered maps must not include duplicate keys: ${l.value}`) : a.push(l.value));
      return Object.assign(new c(), h);
    },
    createNode: (u, o, h) => c.from(u, o, h)
  };
  e.YAMLOMap = c, e.omap = n;
})), Ww = /* @__PURE__ */ z(((e) => {
  var t = yt();
  function r({ value: d, source: c }, n) {
    return c && (d ? i : s).test.test(c) ? c : d ? n.options.trueStr : n.options.falseStr;
  }
  var i = {
    identify: (d) => d === !0,
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
    resolve: () => new t.Scalar(!0),
    stringify: r
  }, s = {
    identify: (d) => d === !1,
    default: !0,
    tag: "tag:yaml.org,2002:bool",
    test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
    resolve: () => new t.Scalar(!1),
    stringify: r
  };
  e.falseTag = s, e.trueTag = i;
})), Vw = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = Mi(), i = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
    resolve: (c) => c.slice(-3).toLowerCase() === "nan" ? NaN : c[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
    stringify: r.stringifyNumber
  }, s = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "EXP",
    test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,
    resolve: (c) => parseFloat(c.replace(/_/g, "")),
    stringify(c) {
      const n = Number(c.value);
      return isFinite(n) ? n.toExponential() : r.stringifyNumber(c);
    }
  }, d = {
    identify: (c) => typeof c == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
    resolve(c) {
      const n = new t.Scalar(parseFloat(c.replace(/_/g, ""))), u = c.indexOf(".");
      if (u !== -1) {
        const o = c.substring(u + 1).replace(/_/g, "");
        o[o.length - 1] === "0" && (n.minFractionDigits = o.length);
      }
      return n;
    },
    stringify: r.stringifyNumber
  };
  e.float = d, e.floatExp = s, e.floatNaN = i;
})), Yw = /* @__PURE__ */ z(((e) => {
  var t = Mi(), r = (o) => typeof o == "bigint" || Number.isInteger(o);
  function i(o, h, a, { intAsBigInt: l }) {
    const f = o[0];
    if ((f === "-" || f === "+") && (h += 1), o = o.substring(h).replace(/_/g, ""), l) {
      switch (a) {
        case 2:
          o = `0b${o}`;
          break;
        case 8:
          o = `0o${o}`;
          break;
        case 16:
          o = `0x${o}`;
          break;
      }
      const g = BigInt(o);
      return f === "-" ? BigInt(-1) * g : g;
    }
    const p = parseInt(o, a);
    return f === "-" ? -1 * p : p;
  }
  function s(o, h, a) {
    const { value: l } = o;
    if (r(l)) {
      const f = l.toString(h);
      return l < 0 ? "-" + a + f.substr(1) : a + f;
    }
    return t.stringifyNumber(o);
  }
  var d = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "BIN",
    test: /^[-+]?0b[0-1_]+$/,
    resolve: (o, h, a) => i(o, 2, 2, a),
    stringify: (o) => s(o, 2, "0b")
  }, c = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "OCT",
    test: /^[-+]?0[0-7_]+$/,
    resolve: (o, h, a) => i(o, 1, 8, a),
    stringify: (o) => s(o, 8, "0")
  }, n = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    test: /^[-+]?[0-9][0-9_]*$/,
    resolve: (o, h, a) => i(o, 0, 10, a),
    stringify: t.stringifyNumber
  }, u = {
    identify: r,
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "HEX",
    test: /^[-+]?0x[0-9a-fA-F_]+$/,
    resolve: (o, h, a) => i(o, 2, 16, a),
    stringify: (o) => s(o, 16, "0x")
  };
  e.int = n, e.intBin = d, e.intHex = u, e.intOct = c;
})), Vf = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = wr(), i = Er(), s = class Yf extends i.YAMLMap {
    constructor(n) {
      super(n), this.tag = Yf.tag;
    }
    add(n) {
      let u;
      t.isPair(n) ? u = n : n && typeof n == "object" && "key" in n && "value" in n && n.value === null ? u = new r.Pair(n.key, null) : u = new r.Pair(n, null), i.findPair(this.items, u.key) || this.items.push(u);
    }
    get(n, u) {
      const o = i.findPair(this.items, n);
      return !u && t.isPair(o) ? t.isScalar(o.key) ? o.key.value : o.key : o;
    }
    set(n, u) {
      if (typeof u != "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof u}`);
      const o = i.findPair(this.items, n);
      o && !u ? this.items.splice(this.items.indexOf(o), 1) : !o && u && this.items.push(new r.Pair(n));
    }
    toJSON(n, u) {
      return super.toJSON(n, u, Set);
    }
    toString(n, u, o) {
      if (!n) return JSON.stringify(this);
      if (this.hasAllNullValues(!0)) return super.toString(Object.assign({}, n, { allNullValues: !0 }), u, o);
      throw new Error("Set items must all have null values");
    }
    static from(n, u, o) {
      const { replacer: h } = o, a = new this(n);
      if (u && Symbol.iterator in Object(u)) for (let l of u)
        typeof h == "function" && (l = h.call(u, l, l)), a.items.push(r.createPair(l, null, o));
      return a;
    }
  };
  s.tag = "tag:yaml.org,2002:set";
  var d = {
    collection: "map",
    identify: (c) => c instanceof Set,
    nodeClass: s,
    default: !1,
    tag: "tag:yaml.org,2002:set",
    createNode: (c, n, u) => s.from(c, n, u),
    resolve(c, n) {
      if (t.isMap(c)) {
        if (c.hasAllNullValues(!0)) return Object.assign(new s(), c);
        n("Set items must all have null values");
      } else n("Expected a mapping for this tag");
      return c;
    }
  };
  e.YAMLSet = s, e.set = d;
})), Kf = /* @__PURE__ */ z(((e) => {
  var t = Mi();
  function r(n, u) {
    const o = n[0], h = o === "-" || o === "+" ? n.substring(1) : n, a = (f) => u ? BigInt(f) : Number(f), l = h.replace(/_/g, "").split(":").reduce((f, p) => f * a(60) + a(p), a(0));
    return o === "-" ? a(-1) * l : l;
  }
  function i(n) {
    let { value: u } = n, o = (f) => f;
    if (typeof u == "bigint") o = (f) => BigInt(f);
    else if (isNaN(u) || !isFinite(u)) return t.stringifyNumber(n);
    let h = "";
    u < 0 && (h = "-", u *= o(-1));
    const a = o(60), l = [u % a];
    return u < 60 ? l.unshift(0) : (u = (u - l[0]) / a, l.unshift(u % a), u >= 60 && (u = (u - l[0]) / a, l.unshift(u))), h + l.map((f) => String(f).padStart(2, "0")).join(":").replace(/000000\d*$/, "");
  }
  var s = {
    identify: (n) => typeof n == "bigint" || Number.isInteger(n),
    default: !0,
    tag: "tag:yaml.org,2002:int",
    format: "TIME",
    test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
    resolve: (n, u, { intAsBigInt: o }) => r(n, o),
    stringify: i
  }, d = {
    identify: (n) => typeof n == "number",
    default: !0,
    tag: "tag:yaml.org,2002:float",
    format: "TIME",
    test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
    resolve: (n) => r(n, !1),
    stringify: i
  }, c = {
    identify: (n) => n instanceof Date,
    default: !0,
    tag: "tag:yaml.org,2002:timestamp",
    test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
    resolve(n) {
      const u = n.match(c.test);
      if (!u) throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");
      const [, o, h, a, l, f, p] = u.map(Number), g = u[7] ? Number((u[7] + "00").substr(1, 3)) : 0;
      let m = Date.UTC(o, h - 1, a, l || 0, f || 0, p || 0, g);
      const v = u[8];
      if (v && v !== "Z") {
        let _ = r(v, !1);
        Math.abs(_) < 30 && (_ *= 60), m -= 6e4 * _;
      }
      return new Date(m);
    },
    stringify: ({ value: n }) => n?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
  };
  e.floatTime = d, e.intTime = s, e.timestamp = c;
})), Kw = /* @__PURE__ */ z(((e) => {
  var t = Bi(), r = ol(), i = Fi(), s = is(), d = Gf(), c = Ww(), n = Vw(), u = Yw(), o = al(), h = zf(), a = ll(), l = Vf(), f = Kf(), p = [
    t.map,
    i.seq,
    s.string,
    r.nullTag,
    c.trueTag,
    c.falseTag,
    u.intBin,
    u.intOct,
    u.int,
    u.intHex,
    n.floatNaN,
    n.floatExp,
    n.float,
    d.binary,
    o.merge,
    h.omap,
    a.pairs,
    l.set,
    f.intTime,
    f.floatTime,
    f.timestamp
  ];
  e.schema = p;
})), Zw = /* @__PURE__ */ z(((e) => {
  var t = Bi(), r = ol(), i = Fi(), s = is(), d = Uf(), c = Hf(), n = qf(), u = Gw(), o = zw(), h = Gf(), a = al(), l = zf(), f = ll(), p = Kw(), g = Vf(), m = Kf(), v = /* @__PURE__ */ new Map([
    ["core", u.schema],
    ["failsafe", [
      t.map,
      i.seq,
      s.string
    ]],
    ["json", o.schema],
    ["yaml11", p.schema],
    ["yaml-1.1", p.schema]
  ]), _ = {
    binary: h.binary,
    bool: d.boolTag,
    float: c.float,
    floatExp: c.floatExp,
    floatNaN: c.floatNaN,
    floatTime: m.floatTime,
    int: n.int,
    intHex: n.intHex,
    intOct: n.intOct,
    intTime: m.intTime,
    map: t.map,
    merge: a.merge,
    null: r.nullTag,
    omap: l.omap,
    pairs: f.pairs,
    seq: i.seq,
    set: g.set,
    timestamp: m.timestamp
  }, E = {
    "tag:yaml.org,2002:binary": h.binary,
    "tag:yaml.org,2002:merge": a.merge,
    "tag:yaml.org,2002:omap": l.omap,
    "tag:yaml.org,2002:pairs": f.pairs,
    "tag:yaml.org,2002:set": g.set,
    "tag:yaml.org,2002:timestamp": m.timestamp
  };
  function S(w, b, A) {
    const D = v.get(b);
    if (D && !w) return A && !D.includes(a.merge) ? D.concat(a.merge) : D.slice();
    let C = D;
    if (!C) if (Array.isArray(w)) C = [];
    else {
      const O = Array.from(v.keys()).filter((I) => I !== "yaml11").map((I) => JSON.stringify(I)).join(", ");
      throw new Error(`Unknown schema "${b}"; use one of ${O} or define customTags array`);
    }
    if (Array.isArray(w)) for (const O of w) C = C.concat(O);
    else typeof w == "function" && (C = w(C.slice()));
    return A && (C = C.concat(a.merge)), C.reduce((O, I) => {
      const x = typeof I == "string" ? _[I] : I;
      if (!x) {
        const F = JSON.stringify(I), q = Object.keys(_).map((K) => JSON.stringify(K)).join(", ");
        throw new Error(`Unknown custom tag ${F}; use one of ${q}`);
      }
      return O.includes(x) || O.push(x), O;
    }, []);
  }
  e.coreKnownTags = E, e.getTags = S;
})), Zf = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = Bi(), i = Fi(), s = is(), d = Zw(), c = (u, o) => u.key < o.key ? -1 : u.key > o.key ? 1 : 0, n = class Jf {
    constructor({ compat: o, customTags: h, merge: a, resolveKnownTags: l, schema: f, sortMapEntries: p, toStringDefaults: g }) {
      this.compat = Array.isArray(o) ? d.getTags(o, "compat") : o ? d.getTags(null, o) : null, this.name = typeof f == "string" && f || "core", this.knownTags = l ? d.coreKnownTags : {}, this.tags = d.getTags(h, this.name, a), this.toStringOptions = g ?? null, Object.defineProperty(this, t.MAP, { value: r.map }), Object.defineProperty(this, t.SCALAR, { value: s.string }), Object.defineProperty(this, t.SEQ, { value: i.seq }), this.sortMapEntries = typeof p == "function" ? p : p === !0 ? c : null;
    }
    clone() {
      const o = Object.create(Jf.prototype, Object.getOwnPropertyDescriptors(this));
      return o.tags = this.tags.slice(), o;
    }
  };
  e.Schema = n;
})), Jw = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = rs(), i = es();
  function s(d, c) {
    const n = [];
    let u = c.directives === !0;
    if (c.directives !== !1 && d.directives) {
      const f = d.directives.toString(d);
      f ? (n.push(f), u = !0) : d.directives.docStart && (u = !0);
    }
    u && n.push("---");
    const o = r.createStringifyContext(d, c), { commentString: h } = o.options;
    if (d.commentBefore) {
      n.length !== 1 && n.unshift("");
      const f = h(d.commentBefore);
      n.unshift(i.indentComment(f, ""));
    }
    let a = !1, l = null;
    if (d.contents) {
      if (t.isNode(d.contents)) {
        if (d.contents.spaceBefore && u && n.push(""), d.contents.commentBefore) {
          const g = h(d.contents.commentBefore);
          n.push(i.indentComment(g, ""));
        }
        o.forceBlockIndent = !!d.comment, l = d.contents.comment;
      }
      const f = l ? void 0 : () => a = !0;
      let p = r.stringify(d.contents, o, () => l = null, f);
      l && (p += i.lineComment(p, "", h(l))), (p[0] === "|" || p[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${p}` : n.push(p);
    } else n.push(r.stringify(d.contents, o));
    if (d.directives?.docEnd) if (d.comment) {
      const f = h(d.comment);
      f.includes(`
`) ? (n.push("..."), n.push(i.indentComment(f, ""))) : n.push(`... ${f}`);
    } else n.push("...");
    else {
      let f = d.comment;
      f && a && (f = f.replace(/^\n+/, "")), f && ((!a || l) && n[n.length - 1] !== "" && n.push(""), n.push(i.indentComment(h(f), "")));
    }
    return n.join(`
`) + `
`;
  }
  e.stringifyDocument = s;
})), ns = /* @__PURE__ */ z(((e) => {
  var t = Xn(), r = sl(), i = Ze(), s = wr(), d = br(), c = Zf(), n = Jw(), u = il(), o = Pf(), h = Qn(), a = Nf(), l = class Xf {
    constructor(g, m, v) {
      this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, i.NODE_TYPE, { value: i.DOC });
      let _ = null;
      typeof m == "function" || Array.isArray(m) ? _ = m : v === void 0 && m && (v = m, m = void 0);
      const E = Object.assign({
        intAsBigInt: !1,
        keepSourceTokens: !1,
        logLevel: "warn",
        prettyErrors: !0,
        strict: !0,
        stringKeys: !1,
        uniqueKeys: !0,
        version: "1.2"
      }, v);
      this.options = E;
      let { version: S } = E;
      v?._directives ? (this.directives = v._directives.atDocument(), this.directives.yaml.explicit && (S = this.directives.yaml.version)) : this.directives = new a.Directives({ version: S }), this.setSchema(S, v), this.contents = g === void 0 ? null : this.createNode(g, _, v);
    }
    clone() {
      const g = Object.create(Xf.prototype, { [i.NODE_TYPE]: { value: i.DOC } });
      return g.commentBefore = this.commentBefore, g.comment = this.comment, g.errors = this.errors.slice(), g.warnings = this.warnings.slice(), g.options = Object.assign({}, this.options), this.directives && (g.directives = this.directives.clone()), g.schema = this.schema.clone(), g.contents = i.isNode(this.contents) ? this.contents.clone(g.schema) : this.contents, this.range && (g.range = this.range.slice()), g;
    }
    add(g) {
      f(this.contents) && this.contents.add(g);
    }
    addIn(g, m) {
      f(this.contents) && this.contents.addIn(g, m);
    }
    createAlias(g, m) {
      if (!g.anchor) {
        const v = u.anchorNames(this);
        g.anchor = !m || v.has(m) ? u.findNewAnchor(m || "a", v) : m;
      }
      return new t.Alias(g.anchor);
    }
    createNode(g, m, v) {
      let _;
      if (typeof m == "function")
        g = m.call({ "": g }, "", g), _ = m;
      else if (Array.isArray(m)) {
        const q = (M) => typeof M == "number" || M instanceof String || M instanceof Number, K = m.filter(q).map(String);
        K.length > 0 && (m = m.concat(K)), _ = m;
      } else v === void 0 && m && (v = m, m = void 0);
      const { aliasDuplicateObjects: E, anchorPrefix: S, flow: w, keepUndefined: b, onTagObj: A, tag: D } = v ?? {}, { onAnchor: C, setAnchors: O, sourceObjects: I } = u.createNodeAnchors(this, S || "a"), x = {
        aliasDuplicateObjects: E ?? !0,
        keepUndefined: b ?? !1,
        onAnchor: C,
        onTagObj: A,
        replacer: _,
        schema: this.schema,
        sourceObjects: I
      }, F = h.createNode(g, D, x);
      return w && i.isCollection(F) && (F.flow = !0), O(), F;
    }
    createPair(g, m, v = {}) {
      const _ = this.createNode(g, null, v), E = this.createNode(m, null, v);
      return new s.Pair(_, E);
    }
    delete(g) {
      return f(this.contents) ? this.contents.delete(g) : !1;
    }
    deleteIn(g) {
      return r.isEmptyPath(g) ? this.contents == null ? !1 : (this.contents = null, !0) : f(this.contents) ? this.contents.deleteIn(g) : !1;
    }
    get(g, m) {
      return i.isCollection(this.contents) ? this.contents.get(g, m) : void 0;
    }
    getIn(g, m) {
      return r.isEmptyPath(g) ? !m && i.isScalar(this.contents) ? this.contents.value : this.contents : i.isCollection(this.contents) ? this.contents.getIn(g, m) : void 0;
    }
    has(g) {
      return i.isCollection(this.contents) ? this.contents.has(g) : !1;
    }
    hasIn(g) {
      return r.isEmptyPath(g) ? this.contents !== void 0 : i.isCollection(this.contents) ? this.contents.hasIn(g) : !1;
    }
    set(g, m) {
      this.contents == null ? this.contents = r.collectionFromPath(this.schema, [g], m) : f(this.contents) && this.contents.set(g, m);
    }
    setIn(g, m) {
      r.isEmptyPath(g) ? this.contents = m : this.contents == null ? this.contents = r.collectionFromPath(this.schema, Array.from(g), m) : f(this.contents) && this.contents.setIn(g, m);
    }
    setSchema(g, m = {}) {
      typeof g == "number" && (g = String(g));
      let v;
      switch (g) {
        case "1.1":
          this.directives ? this.directives.yaml.version = "1.1" : this.directives = new a.Directives({ version: "1.1" }), v = {
            resolveKnownTags: !1,
            schema: "yaml-1.1"
          };
          break;
        case "1.2":
        case "next":
          this.directives ? this.directives.yaml.version = g : this.directives = new a.Directives({ version: g }), v = {
            resolveKnownTags: !0,
            schema: "core"
          };
          break;
        case null:
          this.directives && delete this.directives, v = null;
          break;
        default: {
          const _ = JSON.stringify(g);
          throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${_}`);
        }
      }
      if (m.schema instanceof Object) this.schema = m.schema;
      else if (v) this.schema = new c.Schema(Object.assign(v, m));
      else throw new Error("With a null YAML version, the { schema: Schema } option is required");
    }
    toJS({ json: g, jsonArg: m, mapAsMap: v, maxAliasCount: _, onAnchor: E, reviver: S } = {}) {
      const w = {
        anchors: /* @__PURE__ */ new Map(),
        doc: this,
        keep: !g,
        mapAsMap: v === !0,
        mapKeyWarned: !1,
        maxAliasCount: typeof _ == "number" ? _ : 100
      }, b = d.toJS(this.contents, m ?? "", w);
      if (typeof E == "function") for (const { count: A, res: D } of w.anchors.values()) E(D, A);
      return typeof S == "function" ? o.applyReviver(S, { "": b }, "", b) : b;
    }
    toJSON(g, m) {
      return this.toJS({
        json: !0,
        jsonArg: g,
        mapAsMap: !1,
        onAnchor: m
      });
    }
    toString(g = {}) {
      if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified");
      if ("indent" in g && (!Number.isInteger(g.indent) || Number(g.indent) <= 0)) {
        const m = JSON.stringify(g.indent);
        throw new Error(`"indent" option must be a positive integer, not ${m}`);
      }
      return n.stringifyDocument(this, g);
    }
  };
  function f(p) {
    if (i.isCollection(p)) return !0;
    throw new Error("Expected a YAML collection as document contents");
  }
  e.Document = l;
})), ss = /* @__PURE__ */ z(((e) => {
  var t = class extends Error {
    constructor(d, c, n, u) {
      super(), this.name = d, this.code = n, this.message = u, this.pos = c;
    }
  }, r = class extends t {
    constructor(d, c, n) {
      super("YAMLParseError", d, c, n);
    }
  }, i = class extends t {
    constructor(d, c, n) {
      super("YAMLWarning", d, c, n);
    }
  }, s = (d, c) => (n) => {
    if (n.pos[0] === -1) return;
    n.linePos = n.pos.map((l) => c.linePos(l));
    const { line: u, col: o } = n.linePos[0];
    n.message += ` at line ${u}, column ${o}`;
    let h = o - 1, a = d.substring(c.lineStarts[u - 1], c.lineStarts[u]).replace(/[\n\r]+$/, "");
    if (h >= 60 && a.length > 80) {
      const l = Math.min(h - 39, a.length - 79);
      a = "…" + a.substring(l), h -= l - 1;
    }
    if (a.length > 80 && (a = a.substring(0, 79) + "…"), u > 1 && /^ *$/.test(a.substring(0, h))) {
      let l = d.substring(c.lineStarts[u - 2], c.lineStarts[u - 1]);
      l.length > 80 && (l = l.substring(0, 79) + `…
`), a = l + a;
    }
    if (/[^ ]/.test(a)) {
      let l = 1;
      const f = n.linePos[1];
      f?.line === u && f.col > o && (l = Math.max(1, Math.min(f.col - o, 80 - h)));
      const p = " ".repeat(h) + "^".repeat(l);
      n.message += `:

${a}
${p}
`;
    }
  };
  e.YAMLError = t, e.YAMLParseError = r, e.YAMLWarning = i, e.prettifyError = s;
})), as = /* @__PURE__ */ z(((e) => {
  function t(r, { flow: i, indicator: s, next: d, offset: c, onError: n, parentIndent: u, startOnNewline: o }) {
    let h = !1, a = o, l = o, f = "", p = "", g = !1, m = !1, v = null, _ = null, E = null, S = null, w = null, b = null, A = null;
    for (const O of r)
      switch (m && (O.type !== "space" && O.type !== "newline" && O.type !== "comma" && n(O.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), m = !1), v && (a && O.type !== "comment" && O.type !== "newline" && n(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), v = null), O.type) {
        case "space":
          !i && (s !== "doc-start" || d?.type !== "flow-collection") && O.source.includes("	") && (v = O), l = !0;
          break;
        case "comment": {
          l || n(O, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
          const I = O.source.substring(1) || " ";
          f ? f += p + I : f = I, p = "", a = !1;
          break;
        }
        case "newline":
          a ? f ? f += O.source : (!b || s !== "seq-item-ind") && (h = !0) : p += O.source, a = !0, g = !0, (_ || E) && (S = O), l = !0;
          break;
        case "anchor":
          _ && n(O, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), O.source.endsWith(":") && n(O.offset + O.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), _ = O, A ?? (A = O.offset), a = !1, l = !1, m = !0;
          break;
        case "tag":
          E && n(O, "MULTIPLE_TAGS", "A node can have at most one tag"), E = O, A ?? (A = O.offset), a = !1, l = !1, m = !0;
          break;
        case s:
          (_ || E) && n(O, "BAD_PROP_ORDER", `Anchors and tags must be after the ${O.source} indicator`), b && n(O, "UNEXPECTED_TOKEN", `Unexpected ${O.source} in ${i ?? "collection"}`), b = O, a = s === "seq-item-ind" || s === "explicit-key-ind", l = !1;
          break;
        case "comma":
          if (i) {
            w && n(O, "UNEXPECTED_TOKEN", `Unexpected , in ${i}`), w = O, a = !1, l = !1;
            break;
          }
        default:
          n(O, "UNEXPECTED_TOKEN", `Unexpected ${O.type} token`), a = !1, l = !1;
      }
    const D = r[r.length - 1], C = D ? D.offset + D.source.length : c;
    return m && d && d.type !== "space" && d.type !== "newline" && d.type !== "comma" && (d.type !== "scalar" || d.source !== "") && n(d.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), v && (a && v.indent <= u || d?.type === "block-map" || d?.type === "block-seq") && n(v, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), {
      comma: w,
      found: b,
      spaceBefore: h,
      comment: f,
      hasNewline: g,
      anchor: _,
      tag: E,
      newlineAfterProp: S,
      end: C,
      start: A ?? C
    };
  }
  e.resolveProps = t;
})), cl = /* @__PURE__ */ z(((e) => {
  function t(r) {
    if (!r) return null;
    switch (r.type) {
      case "alias":
      case "scalar":
      case "double-quoted-scalar":
      case "single-quoted-scalar":
        if (r.source.includes(`
`)) return !0;
        if (r.end) {
          for (const i of r.end) if (i.type === "newline") return !0;
        }
        return !1;
      case "flow-collection":
        for (const i of r.items) {
          for (const s of i.start) if (s.type === "newline") return !0;
          if (i.sep) {
            for (const s of i.sep) if (s.type === "newline") return !0;
          }
          if (t(i.key) || t(i.value)) return !0;
        }
        return !1;
      default:
        return !0;
    }
  }
  e.containsNewline = t;
})), Qf = /* @__PURE__ */ z(((e) => {
  var t = cl();
  function r(i, s, d) {
    if (s?.type === "flow-collection") {
      const c = s.end[0];
      c.indent === i && (c.source === "]" || c.source === "}") && t.containsNewline(s) && d(c, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
    }
  }
  e.flowIndentCheck = r;
})), ed = /* @__PURE__ */ z(((e) => {
  var t = Ze();
  function r(i, s, d) {
    const { uniqueKeys: c } = i.options;
    if (c === !1) return !1;
    const n = typeof c == "function" ? c : (u, o) => u === o || t.isScalar(u) && t.isScalar(o) && u.value === o.value;
    return s.some((u) => n(u.key, d));
  }
  e.mapIncludes = r;
})), Xw = /* @__PURE__ */ z(((e) => {
  var t = wr(), r = Er(), i = as(), s = cl(), d = Qf(), c = ed(), n = "All mapping items must start at the same column";
  function u({ composeNode: o, composeEmptyNode: h }, a, l, f, p) {
    const g = new (p?.nodeClass ?? r.YAMLMap)(a.schema);
    a.atRoot && (a.atRoot = !1);
    let m = l.offset, v = null;
    for (const _ of l.items) {
      const { start: E, key: S, sep: w, value: b } = _, A = i.resolveProps(E, {
        indicator: "explicit-key-ind",
        next: S ?? w?.[0],
        offset: m,
        onError: f,
        parentIndent: l.indent,
        startOnNewline: !0
      }), D = !A.found;
      if (D) {
        if (S && (S.type === "block-seq" ? f(m, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in S && S.indent !== l.indent && f(m, "BAD_INDENT", n)), !A.anchor && !A.tag && !w) {
          v = A.end, A.comment && (g.comment ? g.comment += `
` + A.comment : g.comment = A.comment);
          continue;
        }
        (A.newlineAfterProp || s.containsNewline(S)) && f(S ?? E[E.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
      } else A.found?.indent !== l.indent && f(m, "BAD_INDENT", n);
      a.atKey = !0;
      const C = A.end, O = S ? o(a, S, A, f) : h(a, C, E, null, A, f);
      a.schema.compat && d.flowIndentCheck(l.indent, S, f), a.atKey = !1, c.mapIncludes(a, g.items, O) && f(C, "DUPLICATE_KEY", "Map keys must be unique");
      const I = i.resolveProps(w ?? [], {
        indicator: "map-value-ind",
        next: b,
        offset: O.range[2],
        onError: f,
        parentIndent: l.indent,
        startOnNewline: !S || S.type === "block-scalar"
      });
      if (m = I.end, I.found) {
        D && (b?.type === "block-map" && !I.hasNewline && f(m, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), a.options.strict && A.start < I.found.offset - 1024 && f(O.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
        const x = b ? o(a, b, I, f) : h(a, m, w, null, I, f);
        a.schema.compat && d.flowIndentCheck(l.indent, b, f), m = x.range[2];
        const F = new t.Pair(O, x);
        a.options.keepSourceTokens && (F.srcToken = _), g.items.push(F);
      } else {
        D && f(O.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), I.comment && (O.comment ? O.comment += `
` + I.comment : O.comment = I.comment);
        const x = new t.Pair(O);
        a.options.keepSourceTokens && (x.srcToken = _), g.items.push(x);
      }
    }
    return v && v < m && f(v, "IMPOSSIBLE", "Map comment with trailing content"), g.range = [
      l.offset,
      m,
      v ?? m
    ], g;
  }
  e.resolveBlockMap = u;
})), Qw = /* @__PURE__ */ z(((e) => {
  var t = Sr(), r = as(), i = Qf();
  function s({ composeNode: d, composeEmptyNode: c }, n, u, o, h) {
    const a = new (h?.nodeClass ?? t.YAMLSeq)(n.schema);
    n.atRoot && (n.atRoot = !1), n.atKey && (n.atKey = !1);
    let l = u.offset, f = null;
    for (const { start: p, value: g } of u.items) {
      const m = r.resolveProps(p, {
        indicator: "seq-item-ind",
        next: g,
        offset: l,
        onError: o,
        parentIndent: u.indent,
        startOnNewline: !0
      });
      if (!m.found) if (m.anchor || m.tag || g) g?.type === "block-seq" ? o(m.end, "BAD_INDENT", "All sequence items must start at the same column") : o(l, "MISSING_CHAR", "Sequence item without - indicator");
      else {
        f = m.end, m.comment && (a.comment = m.comment);
        continue;
      }
      const v = g ? d(n, g, m, o) : c(n, m.end, p, null, m, o);
      n.schema.compat && i.flowIndentCheck(u.indent, g, o), l = v.range[2], a.items.push(v);
    }
    return a.range = [
      u.offset,
      l,
      f ?? l
    ], a;
  }
  e.resolveBlockSeq = s;
})), ji = /* @__PURE__ */ z(((e) => {
  function t(r, i, s, d) {
    let c = "";
    if (r) {
      let n = !1, u = "";
      for (const o of r) {
        const { source: h, type: a } = o;
        switch (a) {
          case "space":
            n = !0;
            break;
          case "comment": {
            s && !n && d(o, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
            const l = h.substring(1) || " ";
            c ? c += u + l : c = l, u = "";
            break;
          }
          case "newline":
            c && (u += h), n = !0;
            break;
          default:
            d(o, "UNEXPECTED_TOKEN", `Unexpected ${a} at node end`);
        }
        i += h.length;
      }
    }
    return {
      comment: c,
      offset: i
    };
  }
  e.resolveEnd = t;
})), eE = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = wr(), i = Er(), s = Sr(), d = ji(), c = as(), n = cl(), u = ed(), o = "Block collections are not allowed within flow collections", h = (l) => l && (l.type === "block-map" || l.type === "block-seq");
  function a({ composeNode: l, composeEmptyNode: f }, p, g, m, v) {
    const _ = g.start.source === "{", E = _ ? "flow map" : "flow sequence", S = new (v?.nodeClass ?? (_ ? i.YAMLMap : s.YAMLSeq))(p.schema);
    S.flow = !0;
    const w = p.atRoot;
    w && (p.atRoot = !1), p.atKey && (p.atKey = !1);
    let b = g.offset + g.start.source.length;
    for (let I = 0; I < g.items.length; ++I) {
      const x = g.items[I], { start: F, key: q, sep: K, value: M } = x, N = c.resolveProps(F, {
        flow: E,
        indicator: "explicit-key-ind",
        next: q ?? K?.[0],
        offset: b,
        onError: m,
        parentIndent: g.indent,
        startOnNewline: !1
      });
      if (!N.found) {
        if (!N.anchor && !N.tag && !K && !M) {
          I === 0 && N.comma ? m(N.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${E}`) : I < g.items.length - 1 && m(N.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${E}`), N.comment && (S.comment ? S.comment += `
` + N.comment : S.comment = N.comment), b = N.end;
          continue;
        }
        !_ && p.options.strict && n.containsNewline(q) && m(q, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
      }
      if (I === 0)
        N.comma && m(N.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${E}`);
      else if (N.comma || m(N.start, "MISSING_CHAR", `Missing , between ${E} items`), N.comment) {
        let L = "";
        e: for (const te of F) switch (te.type) {
          case "comma":
          case "space":
            break;
          case "comment":
            L = te.source.substring(1);
            break e;
          default:
            break e;
        }
        if (L) {
          let te = S.items[S.items.length - 1];
          t.isPair(te) && (te = te.value ?? te.key), te.comment ? te.comment += `
` + L : te.comment = L, N.comment = N.comment.substring(L.length + 1);
        }
      }
      if (!_ && !K && !N.found) {
        const L = M ? l(p, M, N, m) : f(p, N.end, K, null, N, m);
        S.items.push(L), b = L.range[2], h(M) && m(L.range, "BLOCK_IN_FLOW", o);
      } else {
        p.atKey = !0;
        const L = N.end, te = q ? l(p, q, N, m) : f(p, L, F, null, N, m);
        h(q) && m(te.range, "BLOCK_IN_FLOW", o), p.atKey = !1;
        const H = c.resolveProps(K ?? [], {
          flow: E,
          indicator: "map-value-ind",
          next: M,
          offset: te.range[2],
          onError: m,
          parentIndent: g.indent,
          startOnNewline: !1
        });
        if (H.found) {
          if (!_ && !N.found && p.options.strict) {
            if (K) for (const k of K) {
              if (k === H.found) break;
              if (k.type === "newline") {
                m(k, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
                break;
              }
            }
            N.start < H.found.offset - 1024 && m(H.found, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit flow sequence key");
          }
        } else M && ("source" in M && M.source?.[0] === ":" ? m(M, "MISSING_CHAR", `Missing space after : in ${E}`) : m(H.start, "MISSING_CHAR", `Missing , or : between ${E} items`));
        const j = M ? l(p, M, H, m) : H.found ? f(p, H.end, K, null, H, m) : null;
        j ? h(M) && m(j.range, "BLOCK_IN_FLOW", o) : H.comment && (te.comment ? te.comment += `
` + H.comment : te.comment = H.comment);
        const P = new r.Pair(te, j);
        if (p.options.keepSourceTokens && (P.srcToken = x), _) {
          const k = S;
          u.mapIncludes(p, k.items, te) && m(L, "DUPLICATE_KEY", "Map keys must be unique"), k.items.push(P);
        } else {
          const k = new i.YAMLMap(p.schema);
          k.flow = !0, k.items.push(P);
          const U = (j ?? te).range;
          k.range = [
            te.range[0],
            U[1],
            U[2]
          ], S.items.push(k);
        }
        b = j ? j.range[2] : H.end;
      }
    }
    const A = _ ? "}" : "]", [D, ...C] = g.end;
    let O = b;
    if (D?.source === A) O = D.offset + D.source.length;
    else {
      const I = E[0].toUpperCase() + E.substring(1), x = w ? `${I} must end with a ${A}` : `${I} in block collection must be sufficiently indented and end with a ${A}`;
      m(b, w ? "MISSING_CHAR" : "BAD_INDENT", x), D && D.source.length !== 1 && C.unshift(D);
    }
    if (C.length > 0) {
      const I = d.resolveEnd(C, O, p.options.strict, m);
      I.comment && (S.comment ? S.comment += `
` + I.comment : S.comment = I.comment), S.range = [
        g.offset,
        O,
        I.offset
      ];
    } else S.range = [
      g.offset,
      O,
      O
    ];
    return S;
  }
  e.resolveFlowCollection = a;
})), tE = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = yt(), i = Er(), s = Sr(), d = Xw(), c = Qw(), n = eE();
  function u(h, a, l, f, p, g) {
    const m = l.type === "block-map" ? d.resolveBlockMap(h, a, l, f, g) : l.type === "block-seq" ? c.resolveBlockSeq(h, a, l, f, g) : n.resolveFlowCollection(h, a, l, f, g), v = m.constructor;
    return p === "!" || p === v.tagName ? (m.tag = v.tagName, m) : (p && (m.tag = p), m);
  }
  function o(h, a, l, f, p) {
    const g = f.tag, m = g ? a.directives.tagName(g.source, (b) => p(g, "TAG_RESOLVE_FAILED", b)) : null;
    if (l.type === "block-seq") {
      const { anchor: b, newlineAfterProp: A } = f, D = b && g ? b.offset > g.offset ? b : g : b ?? g;
      D && (!A || A.offset < D.offset) && p(D, "MISSING_CHAR", "Missing newline after block sequence props");
    }
    const v = l.type === "block-map" ? "map" : l.type === "block-seq" ? "seq" : l.start.source === "{" ? "map" : "seq";
    if (!g || !m || m === "!" || m === i.YAMLMap.tagName && v === "map" || m === s.YAMLSeq.tagName && v === "seq") return u(h, a, l, p, m);
    let _ = a.schema.tags.find((b) => b.tag === m && b.collection === v);
    if (!_) {
      const b = a.schema.knownTags[m];
      if (b?.collection === v)
        a.schema.tags.push(Object.assign({}, b, { default: !1 })), _ = b;
      else
        return b ? p(g, "BAD_COLLECTION_TYPE", `${b.tag} used for ${v} collection, but expects ${b.collection ?? "scalar"}`, !0) : p(g, "TAG_RESOLVE_FAILED", `Unresolved tag: ${m}`, !0), u(h, a, l, p, m);
    }
    const E = u(h, a, l, p, m, _), S = _.resolve?.(E, (b) => p(g, "TAG_RESOLVE_FAILED", b), a.options) ?? E, w = t.isNode(S) ? S : new r.Scalar(S);
    return w.range = E.range, w.tag = m, _?.format && (w.format = _.format), w;
  }
  e.composeCollection = o;
})), td = /* @__PURE__ */ z(((e) => {
  var t = yt();
  function r(d, c, n) {
    const u = c.offset, o = i(c, d.options.strict, n);
    if (!o) return {
      value: "",
      type: null,
      comment: "",
      range: [
        u,
        u,
        u
      ]
    };
    const h = o.mode === ">" ? t.Scalar.BLOCK_FOLDED : t.Scalar.BLOCK_LITERAL, a = c.source ? s(c.source) : [];
    let l = a.length;
    for (let S = a.length - 1; S >= 0; --S) {
      const w = a[S][1];
      if (w === "" || w === "\r") l = S;
      else break;
    }
    if (l === 0) {
      const S = o.chomp === "+" && a.length > 0 ? `
`.repeat(Math.max(1, a.length - 1)) : "";
      let w = u + o.length;
      return c.source && (w += c.source.length), {
        value: S,
        type: h,
        comment: o.comment,
        range: [
          u,
          w,
          w
        ]
      };
    }
    let f = c.indent + o.indent, p = c.offset + o.length, g = 0;
    for (let S = 0; S < l; ++S) {
      const [w, b] = a[S];
      if (b === "" || b === "\r")
        o.indent === 0 && w.length > f && (f = w.length);
      else {
        w.length < f && n(p + w.length, "MISSING_CHAR", "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"), o.indent === 0 && (f = w.length), g = S, f === 0 && !d.atRoot && n(p, "BAD_INDENT", "Block scalar values in collections must be indented");
        break;
      }
      p += w.length + b.length + 1;
    }
    for (let S = a.length - 1; S >= l; --S) a[S][0].length > f && (l = S + 1);
    let m = "", v = "", _ = !1;
    for (let S = 0; S < g; ++S) m += a[S][0].slice(f) + `
`;
    for (let S = g; S < l; ++S) {
      let [w, b] = a[S];
      p += w.length + b.length + 1;
      const A = b[b.length - 1] === "\r";
      if (A && (b = b.slice(0, -1)), b && w.length < f) {
        const D = `Block scalar lines must not be less indented than their ${o.indent ? "explicit indentation indicator" : "first line"}`;
        n(p - b.length - (A ? 2 : 1), "BAD_INDENT", D), w = "";
      }
      h === t.Scalar.BLOCK_LITERAL ? (m += v + w.slice(f) + b, v = `
`) : w.length > f || b[0] === "	" ? (v === " " ? v = `
` : !_ && v === `
` && (v = `

`), m += v + w.slice(f) + b, v = `
`, _ = !0) : b === "" ? v === `
` ? m += `
` : v = `
` : (m += v + b, v = " ", _ = !1);
    }
    switch (o.chomp) {
      case "-":
        break;
      case "+":
        for (let S = l; S < a.length; ++S) m += `
` + a[S][0].slice(f);
        m[m.length - 1] !== `
` && (m += `
`);
        break;
      default:
        m += `
`;
    }
    const E = u + o.length + c.source.length;
    return {
      value: m,
      type: h,
      comment: o.comment,
      range: [
        u,
        E,
        E
      ]
    };
  }
  function i({ offset: d, props: c }, n, u) {
    if (c[0].type !== "block-scalar-header")
      return u(c[0], "IMPOSSIBLE", "Block scalar header not found"), null;
    const { source: o } = c[0], h = o[0];
    let a = 0, l = "", f = -1;
    for (let v = 1; v < o.length; ++v) {
      const _ = o[v];
      if (!l && (_ === "-" || _ === "+")) l = _;
      else {
        const E = Number(_);
        !a && E ? a = E : f === -1 && (f = d + v);
      }
    }
    f !== -1 && u(f, "UNEXPECTED_TOKEN", `Block scalar header includes extra characters: ${o}`);
    let p = !1, g = "", m = o.length;
    for (let v = 1; v < c.length; ++v) {
      const _ = c[v];
      switch (_.type) {
        case "space":
          p = !0;
        case "newline":
          m += _.source.length;
          break;
        case "comment":
          n && !p && u(_, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"), m += _.source.length, g = _.source.substring(1);
          break;
        case "error":
          u(_, "UNEXPECTED_TOKEN", _.message), m += _.source.length;
          break;
        /* istanbul ignore next should not happen */
        default: {
          u(_, "UNEXPECTED_TOKEN", `Unexpected token in block scalar header: ${_.type}`);
          const E = _.source;
          E && typeof E == "string" && (m += E.length);
        }
      }
    }
    return {
      mode: h,
      indent: a,
      chomp: l,
      comment: g,
      length: m
    };
  }
  function s(d) {
    const c = d.split(/\n( *)/), n = c[0], u = n.match(/^( *)/), o = [u?.[1] ? [u[1], n.slice(u[1].length)] : ["", n]];
    for (let h = 1; h < c.length; h += 2) o.push([c[h], c[h + 1]]);
    return o;
  }
  e.resolveBlockScalar = r;
})), rd = /* @__PURE__ */ z(((e) => {
  var t = yt(), r = ji();
  function i(a, l, f) {
    const { offset: p, type: g, source: m, end: v } = a;
    let _, E;
    const S = (A, D, C) => f(p + A, D, C);
    switch (g) {
      case "scalar":
        _ = t.Scalar.PLAIN, E = s(m, S);
        break;
      case "single-quoted-scalar":
        _ = t.Scalar.QUOTE_SINGLE, E = d(m, S);
        break;
      case "double-quoted-scalar":
        _ = t.Scalar.QUOTE_DOUBLE, E = n(m, S);
        break;
      /* istanbul ignore next should not happen */
      default:
        return f(a, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${g}`), {
          value: "",
          type: null,
          comment: "",
          range: [
            p,
            p + m.length,
            p + m.length
          ]
        };
    }
    const w = p + m.length, b = r.resolveEnd(v, w, l, f);
    return {
      value: E,
      type: _,
      comment: b.comment,
      range: [
        p,
        w,
        b.offset
      ]
    };
  }
  function s(a, l) {
    let f = "";
    switch (a[0]) {
      /* istanbul ignore next should not happen */
      case "	":
        f = "a tab character";
        break;
      case ",":
        f = "flow indicator character ,";
        break;
      case "%":
        f = "directive indicator character %";
        break;
      case "|":
      case ">":
        f = `block scalar indicator ${a[0]}`;
        break;
      case "@":
      case "`":
        f = `reserved character ${a[0]}`;
        break;
    }
    return f && l(0, "BAD_SCALAR_START", `Plain value cannot start with ${f}`), c(a);
  }
  function d(a, l) {
    return (a[a.length - 1] !== "'" || a.length === 1) && l(a.length, "MISSING_CHAR", "Missing closing 'quote"), c(a.slice(1, -1)).replace(/''/g, "'");
  }
  function c(a) {
    let l, f;
    try {
      l = /* @__PURE__ */ new RegExp(`(.*?)(?<![ 	])[ 	]*\r?
`, "sy"), f = /* @__PURE__ */ new RegExp(`[ 	]*(.*?)(?:(?<![ 	])[ 	]*)?\r?
`, "sy");
    } catch {
      l = /(.*?)[ \t]*\r?\n/sy, f = /[ \t]*(.*?)[ \t]*\r?\n/sy;
    }
    let p = l.exec(a);
    if (!p) return a;
    let g = p[1], m = " ", v = l.lastIndex;
    for (f.lastIndex = v; p = f.exec(a); )
      p[1] === "" ? m === `
` ? g += m : m = `
` : (g += m + p[1], m = " "), v = f.lastIndex;
    const _ = /[ \t]*(.*)/sy;
    return _.lastIndex = v, p = _.exec(a), g + m + (p?.[1] ?? "");
  }
  function n(a, l) {
    let f = "";
    for (let p = 1; p < a.length - 1; ++p) {
      const g = a[p];
      if (!(g === "\r" && a[p + 1] === `
`))
        if (g === `
`) {
          const { fold: m, offset: v } = u(a, p);
          f += m, p = v;
        } else if (g === "\\") {
          let m = a[++p];
          const v = o[m];
          if (v) f += v;
          else if (m === `
`)
            for (m = a[p + 1]; m === " " || m === "	"; ) m = a[++p + 1];
          else if (m === "\r" && a[p + 1] === `
`)
            for (m = a[++p + 1]; m === " " || m === "	"; ) m = a[++p + 1];
          else if (m === "x" || m === "u" || m === "U") {
            const _ = m === "x" ? 2 : m === "u" ? 4 : 8;
            f += h(a, p + 1, _, l), p += _;
          } else {
            const _ = a.substr(p - 1, 2);
            l(p - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${_}`), f += _;
          }
        } else if (g === " " || g === "	") {
          const m = p;
          let v = a[p + 1];
          for (; v === " " || v === "	"; ) v = a[++p + 1];
          v !== `
` && !(v === "\r" && a[p + 2] === `
`) && (f += p > m ? a.slice(m, p + 1) : g);
        } else f += g;
    }
    return (a[a.length - 1] !== '"' || a.length === 1) && l(a.length, "MISSING_CHAR", 'Missing closing "quote'), f;
  }
  function u(a, l) {
    let f = "", p = a[l + 1];
    for (; (p === " " || p === "	" || p === `
` || p === "\r") && !(p === "\r" && a[l + 2] !== `
`); )
      p === `
` && (f += `
`), l += 1, p = a[l + 1];
    return f || (f = " "), {
      fold: f,
      offset: l
    };
  }
  var o = {
    0: "\0",
    a: "\x07",
    b: "\b",
    e: "\x1B",
    f: "\f",
    n: `
`,
    r: "\r",
    t: "	",
    v: "\v",
    N: "",
    _: " ",
    L: "\u2028",
    P: "\u2029",
    " ": " ",
    '"': '"',
    "/": "/",
    "\\": "\\",
    "	": "	"
  };
  function h(a, l, f, p) {
    const g = a.substr(l, f), m = g.length === f && /^[0-9a-fA-F]+$/.test(g) ? parseInt(g, 16) : NaN;
    try {
      return String.fromCodePoint(m);
    } catch {
      const v = a.substr(l - 2, f + 2);
      return p(l - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${v}`), v;
    }
  }
  e.resolveFlowScalar = i;
})), rE = /* @__PURE__ */ z(((e) => {
  var t = Ze(), r = yt(), i = td(), s = rd();
  function d(u, o, h, a) {
    const { value: l, type: f, comment: p, range: g } = o.type === "block-scalar" ? i.resolveBlockScalar(u, o, a) : s.resolveFlowScalar(o, u.options.strict, a), m = h ? u.directives.tagName(h.source, (E) => a(h, "TAG_RESOLVE_FAILED", E)) : null;
    let v;
    u.options.stringKeys && u.atKey ? v = u.schema[t.SCALAR] : m ? v = c(u.schema, l, m, h, a) : o.type === "scalar" ? v = n(u, l, o, a) : v = u.schema[t.SCALAR];
    let _;
    try {
      const E = v.resolve(l, (S) => a(h ?? o, "TAG_RESOLVE_FAILED", S), u.options);
      _ = t.isScalar(E) ? E : new r.Scalar(E);
    } catch (E) {
      const S = E instanceof Error ? E.message : String(E);
      a(h ?? o, "TAG_RESOLVE_FAILED", S), _ = new r.Scalar(l);
    }
    return _.range = g, _.source = l, f && (_.type = f), m && (_.tag = m), v.format && (_.format = v.format), p && (_.comment = p), _;
  }
  function c(u, o, h, a, l) {
    if (h === "!") return u[t.SCALAR];
    const f = [];
    for (const g of u.tags) if (!g.collection && g.tag === h) if (g.default && g.test) f.push(g);
    else return g;
    for (const g of f) if (g.test?.test(o)) return g;
    const p = u.knownTags[h];
    return p && !p.collection ? (u.tags.push(Object.assign({}, p, {
      default: !1,
      test: void 0
    })), p) : (l(a, "TAG_RESOLVE_FAILED", `Unresolved tag: ${h}`, h !== "tag:yaml.org,2002:str"), u[t.SCALAR]);
  }
  function n({ atKey: u, directives: o, schema: h }, a, l, f) {
    const p = h.tags.find((g) => (g.default === !0 || u && g.default === "key") && g.test?.test(a)) || h[t.SCALAR];
    if (h.compat) {
      const g = h.compat.find((m) => m.default && m.test?.test(a)) ?? h[t.SCALAR];
      p.tag !== g.tag && f(l, "TAG_RESOLVE_FAILED", `Value may be parsed as either ${o.tagString(p.tag)} or ${o.tagString(g.tag)}`, !0);
    }
    return p;
  }
  e.composeScalar = d;
})), iE = /* @__PURE__ */ z(((e) => {
  function t(r, i, s) {
    if (i) {
      s ?? (s = i.length);
      for (let d = s - 1; d >= 0; --d) {
        let c = i[d];
        switch (c.type) {
          case "space":
          case "comment":
          case "newline":
            r -= c.source.length;
            continue;
        }
        for (c = i[++d]; c?.type === "space"; )
          r += c.source.length, c = i[++d];
        break;
      }
    }
    return r;
  }
  e.emptyScalarPosition = t;
})), nE = /* @__PURE__ */ z(((e) => {
  var t = Xn(), r = Ze(), i = tE(), s = rE(), d = ji(), c = iE(), n = {
    composeNode: u,
    composeEmptyNode: o
  };
  function u(a, l, f, p) {
    const g = a.atKey, { spaceBefore: m, comment: v, anchor: _, tag: E } = f;
    let S, w = !0;
    switch (l.type) {
      case "alias":
        S = h(a, l, p), (_ || E) && p(l, "ALIAS_PROPS", "An alias node must not specify any properties");
        break;
      case "scalar":
      case "single-quoted-scalar":
      case "double-quoted-scalar":
      case "block-scalar":
        S = s.composeScalar(a, l, E, p), _ && (S.anchor = _.source.substring(1));
        break;
      case "block-map":
      case "block-seq":
      case "flow-collection":
        try {
          S = i.composeCollection(n, a, l, f, p), _ && (S.anchor = _.source.substring(1));
        } catch (b) {
          p(l, "RESOURCE_EXHAUSTION", b instanceof Error ? b.message : String(b));
        }
        break;
      default:
        p(l, "UNEXPECTED_TOKEN", l.type === "error" ? l.message : `Unsupported token (type: ${l.type})`), w = !1;
    }
    return S ?? (S = o(a, l.offset, void 0, null, f, p)), _ && S.anchor === "" && p(_, "BAD_ALIAS", "Anchor cannot be an empty string"), g && a.options.stringKeys && (!r.isScalar(S) || typeof S.value != "string" || S.tag && S.tag !== "tag:yaml.org,2002:str") && p(E ?? l, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), m && (S.spaceBefore = !0), v && (l.type === "scalar" && l.source === "" ? S.comment = v : S.commentBefore = v), a.options.keepSourceTokens && w && (S.srcToken = l), S;
  }
  function o(a, l, f, p, { spaceBefore: g, comment: m, anchor: v, tag: _, end: E }, S) {
    const w = {
      type: "scalar",
      offset: c.emptyScalarPosition(l, f, p),
      indent: -1,
      source: ""
    }, b = s.composeScalar(a, w, _, S);
    return v && (b.anchor = v.source.substring(1), b.anchor === "" && S(v, "BAD_ALIAS", "Anchor cannot be an empty string")), g && (b.spaceBefore = !0), m && (b.comment = m, b.range[2] = E), b;
  }
  function h({ options: a }, { offset: l, source: f, end: p }, g) {
    const m = new t.Alias(f.substring(1));
    m.source === "" && g(l, "BAD_ALIAS", "Alias cannot be an empty string"), m.source.endsWith(":") && g(l + f.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
    const v = l + f.length, _ = d.resolveEnd(p, v, a.strict, g);
    return m.range = [
      l,
      v,
      _.offset
    ], _.comment && (m.comment = _.comment), m;
  }
  e.composeEmptyNode = o, e.composeNode = u;
})), sE = /* @__PURE__ */ z(((e) => {
  var t = ns(), r = nE(), i = ji(), s = as();
  function d(c, n, { offset: u, start: o, value: h, end: a }, l) {
    const f = Object.assign({ _directives: n }, c), p = new t.Document(void 0, f), g = {
      atKey: !1,
      atRoot: !0,
      directives: p.directives,
      options: p.options,
      schema: p.schema
    }, m = s.resolveProps(o, {
      indicator: "doc-start",
      next: h ?? a?.[0],
      offset: u,
      onError: l,
      parentIndent: 0,
      startOnNewline: !0
    });
    m.found && (p.directives.docStart = !0, h && (h.type === "block-map" || h.type === "block-seq") && !m.hasNewline && l(m.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), p.contents = h ? r.composeNode(g, h, m, l) : r.composeEmptyNode(g, m.end, o, null, m, l);
    const v = p.contents.range[2], _ = i.resolveEnd(a, v, !1, l);
    return _.comment && (p.comment = _.comment), p.range = [
      u,
      v,
      _.offset
    ], p;
  }
  e.composeDoc = d;
})), id = /* @__PURE__ */ z(((e) => {
  var t = be("process"), r = Nf(), i = ns(), s = ss(), d = Ze(), c = sE(), n = ji();
  function u(a) {
    if (typeof a == "number") return [a, a + 1];
    if (Array.isArray(a)) return a.length === 2 ? a : [a[0], a[1]];
    const { offset: l, source: f } = a;
    return [l, l + (typeof f == "string" ? f.length : 1)];
  }
  function o(a) {
    let l = "", f = !1, p = !1;
    for (let g = 0; g < a.length; ++g) {
      const m = a[g];
      switch (m[0]) {
        case "#":
          l += (l === "" ? "" : p ? `

` : `
`) + (m.substring(1) || " "), f = !0, p = !1;
          break;
        case "%":
          a[g + 1]?.[0] !== "#" && (g += 1), f = !1;
          break;
        default:
          f || (p = !0), f = !1;
      }
    }
    return {
      comment: l,
      afterEmptyLine: p
    };
  }
  var h = class {
    constructor(a = {}) {
      this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (l, f, p, g) => {
        const m = u(l);
        g ? this.warnings.push(new s.YAMLWarning(m, f, p)) : this.errors.push(new s.YAMLParseError(m, f, p));
      }, this.directives = new r.Directives({ version: a.version || "1.2" }), this.options = a;
    }
    decorate(a, l) {
      const { comment: f, afterEmptyLine: p } = o(this.prelude);
      if (f) {
        const g = a.contents;
        if (l) a.comment = a.comment ? `${a.comment}
${f}` : f;
        else if (p || a.directives.docStart || !g) a.commentBefore = f;
        else if (d.isCollection(g) && !g.flow && g.items.length > 0) {
          let m = g.items[0];
          d.isPair(m) && (m = m.key);
          const v = m.commentBefore;
          m.commentBefore = v ? `${f}
${v}` : f;
        } else {
          const m = g.commentBefore;
          g.commentBefore = m ? `${f}
${m}` : f;
        }
      }
      if (l) {
        for (let g = 0; g < this.errors.length; ++g) a.errors.push(this.errors[g]);
        for (let g = 0; g < this.warnings.length; ++g) a.warnings.push(this.warnings[g]);
      } else
        a.errors = this.errors, a.warnings = this.warnings;
      this.prelude = [], this.errors = [], this.warnings = [];
    }
    streamInfo() {
      return {
        comment: o(this.prelude).comment,
        directives: this.directives,
        errors: this.errors,
        warnings: this.warnings
      };
    }
    *compose(a, l = !1, f = -1) {
      for (const p of a) yield* this.next(p);
      yield* this.end(l, f);
    }
    *next(a) {
      switch (t.env.LOG_STREAM && console.dir(a, { depth: null }), a.type) {
        case "directive":
          this.directives.add(a.source, (l, f, p) => {
            const g = u(a);
            g[0] += l, this.onError(g, "BAD_DIRECTIVE", f, p);
          }), this.prelude.push(a.source), this.atDirectives = !0;
          break;
        case "document": {
          const l = c.composeDoc(this.options, this.directives, a, this.onError);
          this.atDirectives && !l.directives.docStart && this.onError(a, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(l, !1), this.doc && (yield this.doc), this.doc = l, this.atDirectives = !1;
          break;
        }
        case "byte-order-mark":
        case "space":
          break;
        case "comment":
        case "newline":
          this.prelude.push(a.source);
          break;
        case "error": {
          const l = a.source ? `${a.message}: ${JSON.stringify(a.source)}` : a.message, f = new s.YAMLParseError(u(a), "UNEXPECTED_TOKEN", l);
          this.atDirectives || !this.doc ? this.errors.push(f) : this.doc.errors.push(f);
          break;
        }
        case "doc-end": {
          if (!this.doc) {
            this.errors.push(new s.YAMLParseError(u(a), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
            break;
          }
          this.doc.directives.docEnd = !0;
          const l = n.resolveEnd(a.end, a.offset + a.source.length, this.doc.options.strict, this.onError);
          if (this.decorate(this.doc, !0), l.comment) {
            const f = this.doc.comment;
            this.doc.comment = f ? `${f}
${l.comment}` : l.comment;
          }
          this.doc.range[2] = l.offset;
          break;
        }
        default:
          this.errors.push(new s.YAMLParseError(u(a), "UNEXPECTED_TOKEN", `Unsupported token ${a.type}`));
      }
    }
    *end(a = !1, l = -1) {
      if (this.doc)
        this.decorate(this.doc, !0), yield this.doc, this.doc = null;
      else if (a) {
        const f = Object.assign({ _directives: this.directives }, this.options), p = new i.Document(void 0, f);
        this.atDirectives && this.onError(l, "MISSING_CHAR", "Missing directives-end indicator line"), p.range = [
          0,
          l,
          l
        ], this.decorate(p, !1), yield p;
      }
    }
  };
  e.Composer = h;
})), aE = /* @__PURE__ */ z(((e) => {
  var t = td(), r = rd(), i = ss(), s = ts();
  function d(a, l = !0, f) {
    if (a) {
      const p = (g, m, v) => {
        const _ = typeof g == "number" ? g : Array.isArray(g) ? g[0] : g.offset;
        if (f) f(_, m, v);
        else throw new i.YAMLParseError([_, _ + 1], m, v);
      };
      switch (a.type) {
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return r.resolveFlowScalar(a, l, p);
        case "block-scalar":
          return t.resolveBlockScalar({ options: { strict: l } }, a, p);
      }
    }
    return null;
  }
  function c(a, l) {
    const { implicitKey: f = !1, indent: p, inFlow: g = !1, offset: m = -1, type: v = "PLAIN" } = l, _ = s.stringifyString({
      type: v,
      value: a
    }, {
      implicitKey: f,
      indent: p > 0 ? " ".repeat(p) : "",
      inFlow: g,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    }), E = l.end ?? [{
      type: "newline",
      offset: -1,
      indent: p,
      source: `
`
    }];
    switch (_[0]) {
      case "|":
      case ">": {
        const S = _.indexOf(`
`), w = _.substring(0, S), b = _.substring(S + 1) + `
`, A = [{
          type: "block-scalar-header",
          offset: m,
          indent: p,
          source: w
        }];
        return o(A, E) || A.push({
          type: "newline",
          offset: -1,
          indent: p,
          source: `
`
        }), {
          type: "block-scalar",
          offset: m,
          indent: p,
          props: A,
          source: b
        };
      }
      case '"':
        return {
          type: "double-quoted-scalar",
          offset: m,
          indent: p,
          source: _,
          end: E
        };
      case "'":
        return {
          type: "single-quoted-scalar",
          offset: m,
          indent: p,
          source: _,
          end: E
        };
      default:
        return {
          type: "scalar",
          offset: m,
          indent: p,
          source: _,
          end: E
        };
    }
  }
  function n(a, l, f = {}) {
    let { afterKey: p = !1, implicitKey: g = !1, inFlow: m = !1, type: v } = f, _ = "indent" in a ? a.indent : null;
    if (p && typeof _ == "number" && (_ += 2), !v) switch (a.type) {
      case "single-quoted-scalar":
        v = "QUOTE_SINGLE";
        break;
      case "double-quoted-scalar":
        v = "QUOTE_DOUBLE";
        break;
      case "block-scalar": {
        const S = a.props[0];
        if (S.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
        v = S.source[0] === ">" ? "BLOCK_FOLDED" : "BLOCK_LITERAL";
        break;
      }
      default:
        v = "PLAIN";
    }
    const E = s.stringifyString({
      type: v,
      value: l
    }, {
      implicitKey: g || _ === null,
      indent: _ !== null && _ > 0 ? " ".repeat(_) : "",
      inFlow: m,
      options: {
        blockQuote: !0,
        lineWidth: -1
      }
    });
    switch (E[0]) {
      case "|":
      case ">":
        u(a, E);
        break;
      case '"':
        h(a, E, "double-quoted-scalar");
        break;
      case "'":
        h(a, E, "single-quoted-scalar");
        break;
      default:
        h(a, E, "scalar");
    }
  }
  function u(a, l) {
    const f = l.indexOf(`
`), p = l.substring(0, f), g = l.substring(f + 1) + `
`;
    if (a.type === "block-scalar") {
      const m = a.props[0];
      if (m.type !== "block-scalar-header") throw new Error("Invalid block scalar header");
      m.source = p, a.source = g;
    } else {
      const { offset: m } = a, v = "indent" in a ? a.indent : -1, _ = [{
        type: "block-scalar-header",
        offset: m,
        indent: v,
        source: p
      }];
      o(_, "end" in a ? a.end : void 0) || _.push({
        type: "newline",
        offset: -1,
        indent: v,
        source: `
`
      });
      for (const E of Object.keys(a)) E !== "type" && E !== "offset" && delete a[E];
      Object.assign(a, {
        type: "block-scalar",
        indent: v,
        props: _,
        source: g
      });
    }
  }
  function o(a, l) {
    if (l) for (const f of l) switch (f.type) {
      case "space":
      case "comment":
        a.push(f);
        break;
      case "newline":
        return a.push(f), !0;
    }
    return !1;
  }
  function h(a, l, f) {
    switch (a.type) {
      case "scalar":
      case "double-quoted-scalar":
      case "single-quoted-scalar":
        a.type = f, a.source = l;
        break;
      case "block-scalar": {
        const p = a.props.slice(1);
        let g = l.length;
        a.props[0].type === "block-scalar-header" && (g -= a.props[0].source.length);
        for (const m of p) m.offset += g;
        delete a.props, Object.assign(a, {
          type: f,
          source: l,
          end: p
        });
        break;
      }
      case "block-map":
      case "block-seq": {
        const p = {
          type: "newline",
          offset: a.offset + l.length,
          indent: a.indent,
          source: `
`
        };
        delete a.items, Object.assign(a, {
          type: f,
          source: l,
          end: [p]
        });
        break;
      }
      default: {
        const p = "indent" in a ? a.indent : -1, g = "end" in a && Array.isArray(a.end) ? a.end.filter((m) => m.type === "space" || m.type === "comment" || m.type === "newline") : [];
        for (const m of Object.keys(a)) m !== "type" && m !== "offset" && delete a[m];
        Object.assign(a, {
          type: f,
          indent: p,
          source: l,
          end: g
        });
      }
    }
  }
  e.createScalarToken = c, e.resolveAsScalar = d, e.setScalarValue = n;
})), oE = /* @__PURE__ */ z(((e) => {
  var t = (s) => "type" in s ? r(s) : i(s);
  function r(s) {
    switch (s.type) {
      case "block-scalar": {
        let d = "";
        for (const c of s.props) d += r(c);
        return d + s.source;
      }
      case "block-map":
      case "block-seq": {
        let d = "";
        for (const c of s.items) d += i(c);
        return d;
      }
      case "flow-collection": {
        let d = s.start.source;
        for (const c of s.items) d += i(c);
        for (const c of s.end) d += c.source;
        return d;
      }
      case "document": {
        let d = i(s);
        if (s.end) for (const c of s.end) d += c.source;
        return d;
      }
      default: {
        let d = s.source;
        if ("end" in s && s.end) for (const c of s.end) d += c.source;
        return d;
      }
    }
  }
  function i({ start: s, key: d, sep: c, value: n }) {
    let u = "";
    for (const o of s) u += o.source;
    if (d && (u += r(d)), c) for (const o of c) u += o.source;
    return n && (u += r(n)), u;
  }
  e.stringify = t;
})), lE = /* @__PURE__ */ z(((e) => {
  var t = /* @__PURE__ */ Symbol("break visit"), r = /* @__PURE__ */ Symbol("skip children"), i = /* @__PURE__ */ Symbol("remove item");
  function s(c, n) {
    "type" in c && c.type === "document" && (c = {
      start: c.start,
      value: c.value
    }), d(Object.freeze([]), c, n);
  }
  s.BREAK = t, s.SKIP = r, s.REMOVE = i, s.itemAtPath = (c, n) => {
    let u = c;
    for (const [o, h] of n) {
      const a = u?.[o];
      if (a && "items" in a) u = a.items[h];
      else return;
    }
    return u;
  }, s.parentCollection = (c, n) => {
    const u = s.itemAtPath(c, n.slice(0, -1)), o = n[n.length - 1][0], h = u?.[o];
    if (h && "items" in h) return h;
    throw new Error("Parent collection not found");
  };
  function d(c, n, u) {
    let o = u(n, c);
    if (typeof o == "symbol") return o;
    for (const h of ["key", "value"]) {
      const a = n[h];
      if (a && "items" in a) {
        for (let l = 0; l < a.items.length; ++l) {
          const f = d(Object.freeze(c.concat([[h, l]])), a.items[l], u);
          if (typeof f == "number") l = f - 1;
          else {
            if (f === t) return t;
            f === i && (a.items.splice(l, 1), l -= 1);
          }
        }
        typeof o == "function" && h === "key" && (o = o(n, c));
      }
    }
    return typeof o == "function" ? o(n, c) : o;
  }
  e.visit = s;
})), ul = /* @__PURE__ */ z(((e) => {
  var t = aE(), r = oE(), i = lE(), s = "\uFEFF", d = "", c = "", n = "", u = (l) => !!l && "items" in l, o = (l) => !!l && (l.type === "scalar" || l.type === "single-quoted-scalar" || l.type === "double-quoted-scalar" || l.type === "block-scalar");
  function h(l) {
    switch (l) {
      case s:
        return "<BOM>";
      case d:
        return "<DOC>";
      case c:
        return "<FLOW_END>";
      case n:
        return "<SCALAR>";
      default:
        return JSON.stringify(l);
    }
  }
  function a(l) {
    switch (l) {
      case s:
        return "byte-order-mark";
      case d:
        return "doc-mode";
      case c:
        return "flow-error-end";
      case n:
        return "scalar";
      case "---":
        return "doc-start";
      case "...":
        return "doc-end";
      case "":
      case `
`:
      case `\r
`:
        return "newline";
      case "-":
        return "seq-item-ind";
      case "?":
        return "explicit-key-ind";
      case ":":
        return "map-value-ind";
      case "{":
        return "flow-map-start";
      case "}":
        return "flow-map-end";
      case "[":
        return "flow-seq-start";
      case "]":
        return "flow-seq-end";
      case ",":
        return "comma";
    }
    switch (l[0]) {
      case " ":
      case "	":
        return "space";
      case "#":
        return "comment";
      case "%":
        return "directive-line";
      case "*":
        return "alias";
      case "&":
        return "anchor";
      case "!":
        return "tag";
      case "'":
        return "single-quoted-scalar";
      case '"':
        return "double-quoted-scalar";
      case "|":
      case ">":
        return "block-scalar-header";
    }
    return null;
  }
  e.createScalarToken = t.createScalarToken, e.resolveAsScalar = t.resolveAsScalar, e.setScalarValue = t.setScalarValue, e.stringify = r.stringify, e.visit = i.visit, e.BOM = s, e.DOCUMENT = d, e.FLOW_END = c, e.SCALAR = n, e.isCollection = u, e.isScalar = o, e.prettyToken = h, e.tokenType = a;
})), nd = /* @__PURE__ */ z(((e) => {
  var t = ul();
  function r(o) {
    switch (o) {
      case void 0:
      case " ":
      case `
`:
      case "\r":
      case "	":
        return !0;
      default:
        return !1;
    }
  }
  var i = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), s = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), d = /* @__PURE__ */ new Set(",[]{}"), c = /* @__PURE__ */ new Set(` ,[]{}
\r	`), n = (o) => !o || c.has(o), u = class {
    constructor() {
      this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.lineEndPos = null, this.next = null, this.pos = 0;
    }
    *lex(o, h = !1) {
      if (o) {
        if (typeof o != "string") throw TypeError("source is not a string");
        this.buffer = this.buffer ? this.buffer + o : o, this.lineEndPos = null;
      }
      this.atEnd = !h;
      let a = this.next ?? "stream";
      for (; a && (h || this.hasChars(1)); ) a = yield* this.parseNext(a);
    }
    atLineEnd() {
      let o = this.pos, h = this.buffer[o];
      for (; h === " " || h === "	"; ) h = this.buffer[++o];
      return !h || h === "#" || h === `
` ? !0 : h === "\r" ? this.buffer[o + 1] === `
` : !1;
    }
    charAt(o) {
      return this.buffer[this.pos + o];
    }
    continueScalar(o) {
      let h = this.buffer[o];
      if (this.indentNext > 0) {
        let a = 0;
        for (; h === " "; ) h = this.buffer[++a + o];
        if (h === "\r") {
          const l = this.buffer[a + o + 1];
          if (l === `
` || !l && !this.atEnd) return o + a + 1;
        }
        return h === `
` || a >= this.indentNext || !h && !this.atEnd ? o + a : -1;
      }
      if (h === "-" || h === ".") {
        const a = this.buffer.substr(o, 3);
        if ((a === "---" || a === "...") && r(this.buffer[o + 3])) return -1;
      }
      return o;
    }
    getLine() {
      let o = this.lineEndPos;
      return (typeof o != "number" || o !== -1 && o < this.pos) && (o = this.buffer.indexOf(`
`, this.pos), this.lineEndPos = o), o === -1 ? this.atEnd ? this.buffer.substring(this.pos) : null : (this.buffer[o - 1] === "\r" && (o -= 1), this.buffer.substring(this.pos, o));
    }
    hasChars(o) {
      return this.pos + o <= this.buffer.length;
    }
    setNext(o) {
      return this.buffer = this.buffer.substring(this.pos), this.pos = 0, this.lineEndPos = null, this.next = o, null;
    }
    peek(o) {
      return this.buffer.substr(this.pos, o);
    }
    *parseNext(o) {
      switch (o) {
        case "stream":
          return yield* this.parseStream();
        case "line-start":
          return yield* this.parseLineStart();
        case "block-start":
          return yield* this.parseBlockStart();
        case "doc":
          return yield* this.parseDocument();
        case "flow":
          return yield* this.parseFlowCollection();
        case "quoted-scalar":
          return yield* this.parseQuotedScalar();
        case "block-scalar":
          return yield* this.parseBlockScalar();
        case "plain-scalar":
          return yield* this.parsePlainScalar();
      }
    }
    *parseStream() {
      let o = this.getLine();
      if (o === null) return this.setNext("stream");
      if (o[0] === t.BOM && (yield* this.pushCount(1), o = o.substring(1)), o[0] === "%") {
        let h = o.length, a = o.indexOf("#");
        for (; a !== -1; ) {
          const f = o[a - 1];
          if (f === " " || f === "	") {
            h = a - 1;
            break;
          } else a = o.indexOf("#", a + 1);
        }
        for (; ; ) {
          const f = o[h - 1];
          if (f === " " || f === "	") h -= 1;
          else break;
        }
        const l = (yield* this.pushCount(h)) + (yield* this.pushSpaces(!0));
        return yield* this.pushCount(o.length - l), this.pushNewline(), "stream";
      }
      if (this.atLineEnd()) {
        const h = yield* this.pushSpaces(!0);
        return yield* this.pushCount(o.length - h), yield* this.pushNewline(), "stream";
      }
      return yield t.DOCUMENT, yield* this.parseLineStart();
    }
    *parseLineStart() {
      const o = this.charAt(0);
      if (!o && !this.atEnd) return this.setNext("line-start");
      if (o === "-" || o === ".") {
        if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start");
        const h = this.peek(3);
        if ((h === "---" || h === "...") && r(this.charAt(3)))
          return yield* this.pushCount(3), this.indentValue = 0, this.indentNext = 0, h === "---" ? "doc" : "stream";
      }
      return this.indentValue = yield* this.pushSpaces(!1), this.indentNext > this.indentValue && !r(this.charAt(1)) && (this.indentNext = this.indentValue), yield* this.parseBlockStart();
    }
    *parseBlockStart() {
      const [o, h] = this.peek(2);
      if (!h && !this.atEnd) return this.setNext("block-start");
      if ((o === "-" || o === "?" || o === ":") && r(h)) {
        const a = (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0));
        return this.indentNext = this.indentValue + 1, this.indentValue += a, "block-start";
      }
      return "doc";
    }
    *parseDocument() {
      yield* this.pushSpaces(!0);
      const o = this.getLine();
      if (o === null) return this.setNext("doc");
      let h = yield* this.pushIndicators();
      switch (o[h]) {
        case "#":
          yield* this.pushCount(o.length - h);
        case void 0:
          return yield* this.pushNewline(), yield* this.parseLineStart();
        case "{":
        case "[":
          return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel = 1, "flow";
        case "}":
        case "]":
          return yield* this.pushCount(1), "doc";
        case "*":
          return yield* this.pushUntil(n), "doc";
        case '"':
        case "'":
          return yield* this.parseQuotedScalar();
        case "|":
        case ">":
          return h += yield* this.parseBlockScalarHeader(), h += yield* this.pushSpaces(!0), yield* this.pushCount(o.length - h), yield* this.pushNewline(), yield* this.parseBlockScalar();
        default:
          return yield* this.parsePlainScalar();
      }
    }
    *parseFlowCollection() {
      let o, h, a = -1;
      do
        o = yield* this.pushNewline(), o > 0 ? (h = yield* this.pushSpaces(!1), this.indentValue = a = h) : h = 0, h += yield* this.pushSpaces(!0);
      while (o + h > 0);
      const l = this.getLine();
      if (l === null) return this.setNext("flow");
      if ((a !== -1 && a < this.indentNext && l[0] !== "#" || a === 0 && (l.startsWith("---") || l.startsWith("...")) && r(l[3])) && !(a === this.indentNext - 1 && this.flowLevel === 1 && (l[0] === "]" || l[0] === "}")))
        return this.flowLevel = 0, yield t.FLOW_END, yield* this.parseLineStart();
      let f = 0;
      for (; l[f] === ","; )
        f += yield* this.pushCount(1), f += yield* this.pushSpaces(!0), this.flowKey = !1;
      switch (f += yield* this.pushIndicators(), l[f]) {
        case void 0:
          return "flow";
        case "#":
          return yield* this.pushCount(l.length - f), "flow";
        case "{":
        case "[":
          return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel += 1, "flow";
        case "}":
        case "]":
          return yield* this.pushCount(1), this.flowKey = !0, this.flowLevel -= 1, this.flowLevel ? "flow" : "doc";
        case "*":
          return yield* this.pushUntil(n), "flow";
        case '"':
        case "'":
          return this.flowKey = !0, yield* this.parseQuotedScalar();
        case ":": {
          const p = this.charAt(1);
          if (this.flowKey || r(p) || p === ",")
            return this.flowKey = !1, yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow";
        }
        default:
          return this.flowKey = !1, yield* this.parsePlainScalar();
      }
    }
    *parseQuotedScalar() {
      const o = this.charAt(0);
      let h = this.buffer.indexOf(o, this.pos + 1);
      if (o === "'") for (; h !== -1 && this.buffer[h + 1] === "'"; ) h = this.buffer.indexOf("'", h + 2);
      else for (; h !== -1; ) {
        let f = 0;
        for (; this.buffer[h - 1 - f] === "\\"; ) f += 1;
        if (f % 2 === 0) break;
        h = this.buffer.indexOf('"', h + 1);
      }
      const a = this.buffer.substring(0, h);
      let l = a.indexOf(`
`, this.pos);
      if (l !== -1) {
        for (; l !== -1; ) {
          const f = this.continueScalar(l + 1);
          if (f === -1) break;
          l = a.indexOf(`
`, f);
        }
        l !== -1 && (h = l - (a[l - 1] === "\r" ? 2 : 1));
      }
      if (h === -1) {
        if (!this.atEnd) return this.setNext("quoted-scalar");
        h = this.buffer.length;
      }
      return yield* this.pushToIndex(h + 1, !1), this.flowLevel ? "flow" : "doc";
    }
    *parseBlockScalarHeader() {
      this.blockScalarIndent = -1, this.blockScalarKeep = !1;
      let o = this.pos;
      for (; ; ) {
        const h = this.buffer[++o];
        if (h === "+") this.blockScalarKeep = !0;
        else if (h > "0" && h <= "9") this.blockScalarIndent = Number(h) - 1;
        else if (h !== "-") break;
      }
      return yield* this.pushUntil((h) => r(h) || h === "#");
    }
    *parseBlockScalar() {
      let o = this.pos - 1, h = 0, a;
      e: for (let f = this.pos; a = this.buffer[f]; ++f) switch (a) {
        case " ":
          h += 1;
          break;
        case `
`:
          o = f, h = 0;
          break;
        case "\r": {
          const p = this.buffer[f + 1];
          if (!p && !this.atEnd) return this.setNext("block-scalar");
          if (p === `
`) break;
        }
        default:
          break e;
      }
      if (!a && !this.atEnd) return this.setNext("block-scalar");
      if (h >= this.indentNext) {
        this.blockScalarIndent === -1 ? this.indentNext = h : this.indentNext = this.blockScalarIndent + (this.indentNext === 0 ? 1 : this.indentNext);
        do {
          const f = this.continueScalar(o + 1);
          if (f === -1) break;
          o = this.buffer.indexOf(`
`, f);
        } while (o !== -1);
        if (o === -1) {
          if (!this.atEnd) return this.setNext("block-scalar");
          o = this.buffer.length;
        }
      }
      let l = o + 1;
      for (a = this.buffer[l]; a === " "; ) a = this.buffer[++l];
      if (a === "	") {
        for (; a === "	" || a === " " || a === "\r" || a === `
`; ) a = this.buffer[++l];
        o = l - 1;
      } else if (!this.blockScalarKeep) do {
        let f = o - 1, p = this.buffer[f];
        p === "\r" && (p = this.buffer[--f]);
        const g = f;
        for (; p === " "; ) p = this.buffer[--f];
        if (p === `
` && f >= this.pos && f + 1 + h > g) o = f;
        else break;
      } while (!0);
      return yield t.SCALAR, yield* this.pushToIndex(o + 1, !0), yield* this.parseLineStart();
    }
    *parsePlainScalar() {
      const o = this.flowLevel > 0;
      let h = this.pos - 1, a = this.pos - 1, l;
      for (; l = this.buffer[++a]; ) if (l === ":") {
        const f = this.buffer[a + 1];
        if (r(f) || o && d.has(f)) break;
        h = a;
      } else if (r(l)) {
        let f = this.buffer[a + 1];
        if (l === "\r" && (f === `
` ? (a += 1, l = `
`, f = this.buffer[a + 1]) : h = a), f === "#" || o && d.has(f)) break;
        if (l === `
`) {
          const p = this.continueScalar(a + 1);
          if (p === -1) break;
          a = Math.max(a, p - 2);
        }
      } else {
        if (o && d.has(l)) break;
        h = a;
      }
      return !l && !this.atEnd ? this.setNext("plain-scalar") : (yield t.SCALAR, yield* this.pushToIndex(h + 1, !0), o ? "flow" : "doc");
    }
    *pushCount(o) {
      return o > 0 ? (yield this.buffer.substr(this.pos, o), this.pos += o, o) : 0;
    }
    *pushToIndex(o, h) {
      const a = this.buffer.slice(this.pos, o);
      return a ? (yield a, this.pos += a.length, a.length) : (h && (yield ""), 0);
    }
    *pushIndicators() {
      let o = 0;
      e: for (; ; ) {
        switch (this.charAt(0)) {
          case "!":
            o += yield* this.pushTag(), o += yield* this.pushSpaces(!0);
            continue e;
          case "&":
            o += yield* this.pushUntil(n), o += yield* this.pushSpaces(!0);
            continue e;
          case "-":
          case "?":
          case ":": {
            const h = this.flowLevel > 0, a = this.charAt(1);
            if (r(a) || h && d.has(a)) {
              h ? this.flowKey && (this.flowKey = !1) : this.indentNext = this.indentValue + 1, o += yield* this.pushCount(1), o += yield* this.pushSpaces(!0);
              continue e;
            }
          }
        }
        break e;
      }
      return o;
    }
    *pushTag() {
      if (this.charAt(1) === "<") {
        let o = this.pos + 2, h = this.buffer[o];
        for (; !r(h) && h !== ">"; ) h = this.buffer[++o];
        return yield* this.pushToIndex(h === ">" ? o + 1 : o, !1);
      } else {
        let o = this.pos + 1, h = this.buffer[o];
        for (; h; ) if (s.has(h)) h = this.buffer[++o];
        else if (h === "%" && i.has(this.buffer[o + 1]) && i.has(this.buffer[o + 2])) h = this.buffer[o += 3];
        else break;
        return yield* this.pushToIndex(o, !1);
      }
    }
    *pushNewline() {
      const o = this.buffer[this.pos];
      return o === `
` ? yield* this.pushCount(1) : o === "\r" && this.charAt(1) === `
` ? yield* this.pushCount(2) : 0;
    }
    *pushSpaces(o) {
      let h = this.pos - 1, a;
      do
        a = this.buffer[++h];
      while (a === " " || o && a === "	");
      const l = h - this.pos;
      return l > 0 && (yield this.buffer.substr(this.pos, l), this.pos = h), l;
    }
    *pushUntil(o) {
      let h = this.pos, a = this.buffer[h];
      for (; !o(a); ) a = this.buffer[++h];
      return yield* this.pushToIndex(h, !1);
    }
  };
  e.Lexer = u;
})), sd = /* @__PURE__ */ z(((e) => {
  var t = class {
    constructor() {
      this.lineStarts = [], this.addNewLine = (r) => this.lineStarts.push(r), this.linePos = (r) => {
        let i = 0, s = this.lineStarts.length;
        for (; i < s; ) {
          const c = i + s >> 1;
          this.lineStarts[c] < r ? i = c + 1 : s = c;
        }
        if (this.lineStarts[i] === r) return {
          line: i + 1,
          col: 1
        };
        if (i === 0) return {
          line: 0,
          col: r
        };
        const d = this.lineStarts[i - 1];
        return {
          line: i,
          col: r - d + 1
        };
      };
    }
  };
  e.LineCounter = t;
})), ad = /* @__PURE__ */ z(((e) => {
  var t = be("process"), r = ul(), i = nd();
  function s(l, f) {
    for (let p = 0; p < l.length; ++p) if (l[p].type === f) return !0;
    return !1;
  }
  function d(l) {
    for (let f = 0; f < l.length; ++f) switch (l[f].type) {
      case "space":
      case "comment":
      case "newline":
        break;
      default:
        return f;
    }
    return -1;
  }
  function c(l) {
    switch (l?.type) {
      case "alias":
      case "scalar":
      case "single-quoted-scalar":
      case "double-quoted-scalar":
      case "flow-collection":
        return !0;
      default:
        return !1;
    }
  }
  function n(l) {
    switch (l.type) {
      case "document":
        return l.start;
      case "block-map": {
        const f = l.items[l.items.length - 1];
        return f.sep ?? f.start;
      }
      case "block-seq":
        return l.items[l.items.length - 1].start;
      /* istanbul ignore next should not happen */
      default:
        return [];
    }
  }
  function u(l) {
    if (l.length === 0) return [];
    let f = l.length;
    e: for (; --f >= 0; ) switch (l[f].type) {
      case "doc-start":
      case "explicit-key-ind":
      case "map-value-ind":
      case "seq-item-ind":
      case "newline":
        break e;
    }
    for (; l[++f]?.type === "space"; ) ;
    return l.splice(f, l.length);
  }
  function o(l, f) {
    if (f.length < 1e5) Array.prototype.push.apply(l, f);
    else for (let p = 0; p < f.length; ++p) l.push(f[p]);
  }
  function h(l) {
    if (l.start.type === "flow-seq-start")
      for (const f of l.items) f.sep && !f.value && !s(f.start, "explicit-key-ind") && !s(f.sep, "map-value-ind") && (f.key && (f.value = f.key), delete f.key, c(f.value) ? f.value.end ? o(f.value.end, f.sep) : f.value.end = f.sep : o(f.start, f.sep), delete f.sep);
  }
  var a = class {
    constructor(l) {
      this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new i.Lexer(), this.onNewLine = l;
    }
    *parse(l, f = !1) {
      this.onNewLine && this.offset === 0 && this.onNewLine(0);
      for (const p of this.lexer.lex(l, f)) yield* this.next(p);
      f || (yield* this.end());
    }
    *next(l) {
      if (this.source = l, t.env.LOG_TOKENS && console.log("|", r.prettyToken(l)), this.atScalar) {
        this.atScalar = !1, yield* this.step(), this.offset += l.length;
        return;
      }
      const f = r.tokenType(l);
      if (f)
        if (f === "scalar")
          this.atNewLine = !1, this.atScalar = !0, this.type = "scalar";
        else {
          switch (this.type = f, yield* this.step(), f) {
            case "newline":
              this.atNewLine = !0, this.indent = 0, this.onNewLine && this.onNewLine(this.offset + l.length);
              break;
            case "space":
              this.atNewLine && l[0] === " " && (this.indent += l.length);
              break;
            case "explicit-key-ind":
            case "map-value-ind":
            case "seq-item-ind":
              this.atNewLine && (this.indent += l.length);
              break;
            case "doc-mode":
            case "flow-error-end":
              return;
            default:
              this.atNewLine = !1;
          }
          this.offset += l.length;
        }
      else {
        const p = `Not a YAML token: ${l}`;
        yield* this.pop({
          type: "error",
          offset: this.offset,
          message: p,
          source: l
        }), this.offset += l.length;
      }
    }
    *end() {
      for (; this.stack.length > 0; ) yield* this.pop();
    }
    get sourceToken() {
      return {
        type: this.type,
        offset: this.offset,
        indent: this.indent,
        source: this.source
      };
    }
    *step() {
      const l = this.peek(1);
      if (this.type === "doc-end" && l?.type !== "doc-end") {
        for (; this.stack.length > 0; ) yield* this.pop();
        this.stack.push({
          type: "doc-end",
          offset: this.offset,
          source: this.source
        });
        return;
      }
      if (!l) return yield* this.stream();
      switch (l.type) {
        case "document":
          return yield* this.document(l);
        case "alias":
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return yield* this.scalar(l);
        case "block-scalar":
          return yield* this.blockScalar(l);
        case "block-map":
          return yield* this.blockMap(l);
        case "block-seq":
          return yield* this.blockSequence(l);
        case "flow-collection":
          return yield* this.flowCollection(l);
        case "doc-end":
          return yield* this.documentEnd(l);
      }
      yield* this.pop();
    }
    peek(l) {
      return this.stack[this.stack.length - l];
    }
    *pop(l) {
      const f = l ?? this.stack.pop();
      if (!f) yield {
        type: "error",
        offset: this.offset,
        source: "",
        message: "Tried to pop an empty stack"
      };
      else if (this.stack.length === 0) yield f;
      else {
        const p = this.peek(1);
        switch (f.type === "block-scalar" ? f.indent = "indent" in p ? p.indent : 0 : f.type === "flow-collection" && p.type === "document" && (f.indent = 0), f.type === "flow-collection" && h(f), p.type) {
          case "document":
            p.value = f;
            break;
          case "block-scalar":
            p.props.push(f);
            break;
          case "block-map": {
            const g = p.items[p.items.length - 1];
            if (g.value) {
              p.items.push({
                start: [],
                key: f,
                sep: []
              }), this.onKeyLine = !0;
              return;
            } else if (g.sep) g.value = f;
            else {
              Object.assign(g, {
                key: f,
                sep: []
              }), this.onKeyLine = !g.explicitKey;
              return;
            }
            break;
          }
          case "block-seq": {
            const g = p.items[p.items.length - 1];
            g.value ? p.items.push({
              start: [],
              value: f
            }) : g.value = f;
            break;
          }
          case "flow-collection": {
            const g = p.items[p.items.length - 1];
            !g || g.value ? p.items.push({
              start: [],
              key: f,
              sep: []
            }) : g.sep ? g.value = f : Object.assign(g, {
              key: f,
              sep: []
            });
            return;
          }
          /* istanbul ignore next should not happen */
          default:
            yield* this.pop(), yield* this.pop(f);
        }
        if ((p.type === "document" || p.type === "block-map" || p.type === "block-seq") && (f.type === "block-map" || f.type === "block-seq")) {
          const g = f.items[f.items.length - 1];
          g && !g.sep && !g.value && g.start.length > 0 && d(g.start) === -1 && (f.indent === 0 || g.start.every((m) => m.type !== "comment" || m.indent < f.indent)) && (p.type === "document" ? p.end = g.start : p.items.push({ start: g.start }), f.items.splice(-1, 1));
        }
      }
    }
    *stream() {
      switch (this.type) {
        case "directive-line":
          yield {
            type: "directive",
            offset: this.offset,
            source: this.source
          };
          return;
        case "byte-order-mark":
        case "space":
        case "comment":
        case "newline":
          yield this.sourceToken;
          return;
        case "doc-mode":
        case "doc-start": {
          const l = {
            type: "document",
            offset: this.offset,
            start: []
          };
          this.type === "doc-start" && l.start.push(this.sourceToken), this.stack.push(l);
          return;
        }
      }
      yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML stream`,
        source: this.source
      };
    }
    *document(l) {
      if (l.value) return yield* this.lineEnd(l);
      switch (this.type) {
        case "doc-start":
          d(l.start) !== -1 ? (yield* this.pop(), yield* this.step()) : l.start.push(this.sourceToken);
          return;
        case "anchor":
        case "tag":
        case "space":
        case "comment":
        case "newline":
          l.start.push(this.sourceToken);
          return;
      }
      const f = this.startBlockValue(l);
      f ? this.stack.push(f) : yield {
        type: "error",
        offset: this.offset,
        message: `Unexpected ${this.type} token in YAML document`,
        source: this.source
      };
    }
    *scalar(l) {
      if (this.type === "map-value-ind") {
        const f = u(n(this.peek(2)));
        let p;
        l.end ? (p = l.end, p.push(this.sourceToken), delete l.end) : p = [this.sourceToken];
        const g = {
          type: "block-map",
          offset: l.offset,
          indent: l.indent,
          items: [{
            start: f,
            key: l,
            sep: p
          }]
        };
        this.onKeyLine = !0, this.stack[this.stack.length - 1] = g;
      } else yield* this.lineEnd(l);
    }
    *blockScalar(l) {
      switch (this.type) {
        case "space":
        case "comment":
        case "newline":
          l.props.push(this.sourceToken);
          return;
        case "scalar":
          if (l.source = this.source, this.atNewLine = !0, this.indent = 0, this.onNewLine) {
            let f = this.source.indexOf(`
`) + 1;
            for (; f !== 0; )
              this.onNewLine(this.offset + f), f = this.source.indexOf(`
`, f) + 1;
          }
          yield* this.pop();
          break;
        /* istanbul ignore next should not happen */
        default:
          yield* this.pop(), yield* this.step();
      }
    }
    *blockMap(l) {
      const f = l.items[l.items.length - 1];
      switch (this.type) {
        case "newline":
          if (this.onKeyLine = !1, f.value) {
            const p = "end" in f.value ? f.value.end : void 0;
            (Array.isArray(p) ? p[p.length - 1] : void 0)?.type === "comment" ? p?.push(this.sourceToken) : l.items.push({ start: [this.sourceToken] });
          } else f.sep ? f.sep.push(this.sourceToken) : f.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (f.value) l.items.push({ start: [this.sourceToken] });
          else if (f.sep) f.sep.push(this.sourceToken);
          else {
            if (this.atIndentedComment(f.start, l.indent)) {
              const p = l.items[l.items.length - 2]?.value?.end;
              if (Array.isArray(p)) {
                o(p, f.start), p.push(this.sourceToken), l.items.pop();
                return;
              }
            }
            f.start.push(this.sourceToken);
          }
          return;
      }
      if (this.indent >= l.indent) {
        const p = !this.onKeyLine && this.indent === l.indent, g = p && (f.sep || f.explicitKey) && this.type !== "seq-item-ind";
        let m = [];
        if (g && f.sep && !f.value) {
          const v = [];
          for (let _ = 0; _ < f.sep.length; ++_) {
            const E = f.sep[_];
            switch (E.type) {
              case "newline":
                v.push(_);
                break;
              case "space":
                break;
              case "comment":
                E.indent > l.indent && (v.length = 0);
                break;
              default:
                v.length = 0;
            }
          }
          v.length >= 2 && (m = f.sep.splice(v[1]));
        }
        switch (this.type) {
          case "anchor":
          case "tag":
            g || f.value ? (m.push(this.sourceToken), l.items.push({ start: m }), this.onKeyLine = !0) : f.sep ? f.sep.push(this.sourceToken) : f.start.push(this.sourceToken);
            return;
          case "explicit-key-ind":
            !f.sep && !f.explicitKey ? (f.start.push(this.sourceToken), f.explicitKey = !0) : g || f.value ? (m.push(this.sourceToken), l.items.push({
              start: m,
              explicitKey: !0
            })) : this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: [this.sourceToken],
                explicitKey: !0
              }]
            }), this.onKeyLine = !0;
            return;
          case "map-value-ind":
            if (f.explicitKey) if (f.sep) if (f.value) l.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            });
            else if (s(f.sep, "map-value-ind")) this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: m,
                key: null,
                sep: [this.sourceToken]
              }]
            });
            else if (c(f.key) && !s(f.sep, "newline")) {
              const v = u(f.start), _ = f.key, E = f.sep;
              E.push(this.sourceToken), delete f.key, delete f.sep, this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: v,
                  key: _,
                  sep: E
                }]
              });
            } else m.length > 0 ? f.sep = f.sep.concat(m, this.sourceToken) : f.sep.push(this.sourceToken);
            else if (s(f.start, "newline")) Object.assign(f, {
              key: null,
              sep: [this.sourceToken]
            });
            else {
              const v = u(f.start);
              this.stack.push({
                type: "block-map",
                offset: this.offset,
                indent: this.indent,
                items: [{
                  start: v,
                  key: null,
                  sep: [this.sourceToken]
                }]
              });
            }
            else f.sep ? f.value || g ? l.items.push({
              start: m,
              key: null,
              sep: [this.sourceToken]
            }) : s(f.sep, "map-value-ind") ? this.stack.push({
              type: "block-map",
              offset: this.offset,
              indent: this.indent,
              items: [{
                start: [],
                key: null,
                sep: [this.sourceToken]
              }]
            }) : f.sep.push(this.sourceToken) : Object.assign(f, {
              key: null,
              sep: [this.sourceToken]
            });
            this.onKeyLine = !0;
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const v = this.flowScalar(this.type);
            g || f.value ? (l.items.push({
              start: m,
              key: v,
              sep: []
            }), this.onKeyLine = !0) : f.sep ? this.stack.push(v) : (Object.assign(f, {
              key: v,
              sep: []
            }), this.onKeyLine = !0);
            return;
          }
          default: {
            const v = this.startBlockValue(l);
            if (v) {
              if (v.type === "block-seq") {
                if (!f.explicitKey && f.sep && !s(f.sep, "newline")) {
                  yield* this.pop({
                    type: "error",
                    offset: this.offset,
                    message: "Unexpected block-seq-ind on same line with key",
                    source: this.source
                  });
                  return;
                }
              } else p && l.items.push({ start: m });
              this.stack.push(v);
              return;
            }
          }
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *blockSequence(l) {
      const f = l.items[l.items.length - 1];
      switch (this.type) {
        case "newline":
          if (f.value) {
            const p = "end" in f.value ? f.value.end : void 0;
            (Array.isArray(p) ? p[p.length - 1] : void 0)?.type === "comment" ? p?.push(this.sourceToken) : l.items.push({ start: [this.sourceToken] });
          } else f.start.push(this.sourceToken);
          return;
        case "space":
        case "comment":
          if (f.value) l.items.push({ start: [this.sourceToken] });
          else {
            if (this.atIndentedComment(f.start, l.indent)) {
              const p = l.items[l.items.length - 2]?.value?.end;
              if (Array.isArray(p)) {
                o(p, f.start), p.push(this.sourceToken), l.items.pop();
                return;
              }
            }
            f.start.push(this.sourceToken);
          }
          return;
        case "anchor":
        case "tag":
          if (f.value || this.indent <= l.indent) break;
          f.start.push(this.sourceToken);
          return;
        case "seq-item-ind":
          if (this.indent !== l.indent) break;
          f.value || s(f.start, "seq-item-ind") ? l.items.push({ start: [this.sourceToken] }) : f.start.push(this.sourceToken);
          return;
      }
      if (this.indent > l.indent) {
        const p = this.startBlockValue(l);
        if (p) {
          this.stack.push(p);
          return;
        }
      }
      yield* this.pop(), yield* this.step();
    }
    *flowCollection(l) {
      const f = l.items[l.items.length - 1];
      if (this.type === "flow-error-end") {
        let p;
        do
          yield* this.pop(), p = this.peek(1);
        while (p?.type === "flow-collection");
      } else if (l.end.length === 0) {
        switch (this.type) {
          case "comma":
          case "explicit-key-ind":
            !f || f.sep ? l.items.push({ start: [this.sourceToken] }) : f.start.push(this.sourceToken);
            return;
          case "map-value-ind":
            !f || f.value ? l.items.push({
              start: [],
              key: null,
              sep: [this.sourceToken]
            }) : f.sep ? f.sep.push(this.sourceToken) : Object.assign(f, {
              key: null,
              sep: [this.sourceToken]
            });
            return;
          case "space":
          case "comment":
          case "newline":
          case "anchor":
          case "tag":
            !f || f.value ? l.items.push({ start: [this.sourceToken] }) : f.sep ? f.sep.push(this.sourceToken) : f.start.push(this.sourceToken);
            return;
          case "alias":
          case "scalar":
          case "single-quoted-scalar":
          case "double-quoted-scalar": {
            const g = this.flowScalar(this.type);
            !f || f.value ? l.items.push({
              start: [],
              key: g,
              sep: []
            }) : f.sep ? this.stack.push(g) : Object.assign(f, {
              key: g,
              sep: []
            });
            return;
          }
          case "flow-map-end":
          case "flow-seq-end":
            l.end.push(this.sourceToken);
            return;
        }
        const p = this.startBlockValue(l);
        p ? this.stack.push(p) : (yield* this.pop(), yield* this.step());
      } else {
        const p = this.peek(2);
        if (p.type === "block-map" && (this.type === "map-value-ind" && p.indent === l.indent || this.type === "newline" && !p.items[p.items.length - 1].sep))
          yield* this.pop(), yield* this.step();
        else if (this.type === "map-value-ind" && p.type !== "flow-collection") {
          const g = u(n(p));
          h(l);
          const m = l.end.splice(1, l.end.length);
          m.push(this.sourceToken);
          const v = {
            type: "block-map",
            offset: l.offset,
            indent: l.indent,
            items: [{
              start: g,
              key: l,
              sep: m
            }]
          };
          this.onKeyLine = !0, this.stack[this.stack.length - 1] = v;
        } else yield* this.lineEnd(l);
      }
    }
    flowScalar(l) {
      if (this.onNewLine) {
        let f = this.source.indexOf(`
`) + 1;
        for (; f !== 0; )
          this.onNewLine(this.offset + f), f = this.source.indexOf(`
`, f) + 1;
      }
      return {
        type: l,
        offset: this.offset,
        indent: this.indent,
        source: this.source
      };
    }
    startBlockValue(l) {
      switch (this.type) {
        case "alias":
        case "scalar":
        case "single-quoted-scalar":
        case "double-quoted-scalar":
          return this.flowScalar(this.type);
        case "block-scalar-header":
          return {
            type: "block-scalar",
            offset: this.offset,
            indent: this.indent,
            props: [this.sourceToken],
            source: ""
          };
        case "flow-map-start":
        case "flow-seq-start":
          return {
            type: "flow-collection",
            offset: this.offset,
            indent: this.indent,
            start: this.sourceToken,
            items: [],
            end: []
          };
        case "seq-item-ind":
          return {
            type: "block-seq",
            offset: this.offset,
            indent: this.indent,
            items: [{ start: [this.sourceToken] }]
          };
        case "explicit-key-ind": {
          this.onKeyLine = !0;
          const f = u(n(l));
          return f.push(this.sourceToken), {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: f,
              explicitKey: !0
            }]
          };
        }
        case "map-value-ind": {
          this.onKeyLine = !0;
          const f = u(n(l));
          return {
            type: "block-map",
            offset: this.offset,
            indent: this.indent,
            items: [{
              start: f,
              key: null,
              sep: [this.sourceToken]
            }]
          };
        }
      }
      return null;
    }
    atIndentedComment(l, f) {
      return this.type !== "comment" || this.indent <= f ? !1 : l.every((p) => p.type === "newline" || p.type === "space");
    }
    *documentEnd(l) {
      this.type !== "doc-mode" && (l.end ? l.end.push(this.sourceToken) : l.end = [this.sourceToken], this.type === "newline" && (yield* this.pop()));
    }
    *lineEnd(l) {
      switch (this.type) {
        case "comma":
        case "doc-start":
        case "doc-end":
        case "flow-seq-end":
        case "flow-map-end":
        case "map-value-ind":
          yield* this.pop(), yield* this.step();
          break;
        case "newline":
          this.onKeyLine = !1;
        default:
          l.end ? l.end.push(this.sourceToken) : l.end = [this.sourceToken], this.type === "newline" && (yield* this.pop());
      }
    }
  };
  e.Parser = a;
})), cE = /* @__PURE__ */ z(((e) => {
  var t = id(), r = ns(), i = ss(), s = Bf(), d = Ze(), c = sd(), n = ad();
  function u(f) {
    const p = f.prettyErrors !== !1;
    return {
      lineCounter: f.lineCounter || p && new c.LineCounter() || null,
      prettyErrors: p
    };
  }
  function o(f, p = {}) {
    const { lineCounter: g, prettyErrors: m } = u(p), v = new n.Parser(g?.addNewLine), _ = new t.Composer(p), E = Array.from(_.compose(v.parse(f)));
    if (m && g) for (const S of E)
      S.errors.forEach(i.prettifyError(f, g)), S.warnings.forEach(i.prettifyError(f, g));
    return E.length > 0 ? E : Object.assign([], { empty: !0 }, _.streamInfo());
  }
  function h(f, p = {}) {
    const { lineCounter: g, prettyErrors: m } = u(p), v = new n.Parser(g?.addNewLine), _ = new t.Composer(p);
    let E = null;
    for (const S of _.compose(v.parse(f), !0, f.length)) if (!E) E = S;
    else if (E.options.logLevel !== "silent") {
      E.errors.push(new i.YAMLParseError(S.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
      break;
    }
    return m && g && (E.errors.forEach(i.prettifyError(f, g)), E.warnings.forEach(i.prettifyError(f, g))), E;
  }
  function a(f, p, g) {
    let m;
    typeof p == "function" ? m = p : g === void 0 && p && typeof p == "object" && (g = p);
    const v = h(f, g);
    if (!v) return null;
    if (v.warnings.forEach((_) => s.warn(v.options.logLevel, _)), v.errors.length > 0) {
      if (v.options.logLevel !== "silent") throw v.errors[0];
      v.errors = [];
    }
    return v.toJS(Object.assign({ reviver: m }, g));
  }
  function l(f, p, g) {
    let m = null;
    if (typeof p == "function" || Array.isArray(p) ? m = p : g === void 0 && p && (g = p), typeof g == "string" && (g = g.length), typeof g == "number") {
      const v = Math.round(g);
      g = v < 1 ? void 0 : v > 8 ? { indent: 8 } : { indent: v };
    }
    if (f === void 0) {
      const { keepUndefined: v } = g ?? p ?? {};
      if (!v) return;
    }
    return d.isDocument(f) && !m ? f.toString(g) : new r.Document(f, m, g).toString(g);
  }
  e.parse = a, e.parseAllDocuments = o, e.parseDocument = h, e.stringify = l;
})), uE = /* @__PURE__ */ z(((e) => {
  var t = id(), r = ns(), i = Zf(), s = ss(), d = Xn(), c = Ze(), n = wr(), u = yt(), o = Er(), h = Sr(), a = ul(), l = nd(), f = sd(), p = ad(), g = cE(), m = Jn();
  e.Composer = t.Composer, e.Document = r.Document, e.Schema = i.Schema, e.YAMLError = s.YAMLError, e.YAMLParseError = s.YAMLParseError, e.YAMLWarning = s.YAMLWarning, e.Alias = d.Alias, e.isAlias = c.isAlias, e.isCollection = c.isCollection, e.isDocument = c.isDocument, e.isMap = c.isMap, e.isNode = c.isNode, e.isPair = c.isPair, e.isScalar = c.isScalar, e.isSeq = c.isSeq, e.Pair = n.Pair, e.Scalar = u.Scalar, e.YAMLMap = o.YAMLMap, e.YAMLSeq = h.YAMLSeq, e.CST = a, e.Lexer = l.Lexer, e.LineCounter = f.LineCounter, e.Parser = p.Parser, e.parse = g.parse, e.parseAllDocuments = g.parseAllDocuments, e.parseDocument = g.parseDocument, e.stringify = g.stringify, e.visit = m.visit, e.visitAsync = m.visitAsync;
})), hE = /* @__PURE__ */ ft({
  default: () => od,
  defaultPrefix: () => xf,
  distTag: () => _E,
  getEngines: () => zn,
  getPeerDependencies: () => tl,
  greatest: () => bE,
  latest: () => wE,
  list: () => yE,
  minor: () => EE,
  newest: () => SE,
  packageAuthorChanged: () => qn,
  patch: () => AE,
  pnpmApi: () => ld,
  semver: () => TE
}), Pt = uE(), fE = (0, _r.default)(async (e) => {
  const t = await pn("pnpm-workspace.yaml");
  if (!t) return {};
  const r = qe.dirname(t), i = qe.join(r, ".npmrc");
  let s;
  try {
    s = await Xe.readFile(i, "utf-8");
  } catch {
    return {};
  }
  Fe(e, `
Using pnpm workspace config at ${i}:`, "verbose");
  const d = Qo(Un.default.parse(s), r);
  return Fe(e, d, "verbose"), d;
}), dE = (e) => {
  const t = typeof e == "number" ? e : typeof e == "string" && e.trim() !== "" ? Number(e) : NaN;
  return typeof t == "number" && !isNaN(t) && t >= 0 ? t : void 0;
}, pE = (e) => {
  if (Array.isArray(e)) return e.filter((t) => typeof t == "string");
  if (typeof e == "string") {
    const t = e.trim();
    if (t.startsWith("[")) try {
      const r = JSON.parse(t);
      if (Array.isArray(r)) return r.filter((i) => typeof i == "string");
    } catch {
    }
    return t !== "" ? [t] : [];
  }
  return [];
}, gE = (e) => ({
  minimumReleaseAge: dE(e.minimumReleaseAge ?? e["minimum-release-age"]),
  minimumReleaseAgeExclude: pE(e.minimumReleaseAgeExclude ?? e["minimum-release-age-exclude"])
}), mE = () => {
  if (process.env.XDG_CONFIG_HOME) return qe.join(process.env.XDG_CONFIG_HOME, "pnpm");
  if (process.platform === "win32") {
    const e = process.env.LOCALAPPDATA || qe.join(Jt.homedir(), "AppData", "Local");
    return qe.join(e, "pnpm", "config");
  }
  return process.platform === "darwin" ? qe.join(Jt.homedir(), "Library", "Preferences", "pnpm") : qe.join(Jt.homedir(), ".config", "pnpm");
}, xs = async (e, t) => {
  let r;
  try {
    r = await Xe.readFile(e, "utf-8");
  } catch {
    return null;
  }
  let i;
  try {
    i = (t === "yaml" ? (0, Pt.parse)(r) : Un.default.parse(r)) ?? {};
  } catch {
    return null;
  }
  return gE(i);
}, vE = async () => {
  const e = mE(), t = await pn("pnpm-workspace.yaml"), r = await Promise.all([
    t ? xs(t, "yaml") : Promise.resolve(null),
    xs(qe.join(e, "config.yaml"), "yaml"),
    xs(qe.join(e, "rc"), "ini")
  ]), i = r.find((s) => s?.minimumReleaseAge != null)?.minimumReleaseAge;
  return i == null ? null : {
    minimumReleaseAge: i,
    minimumReleaseAgeExclude: [...new Set(r.flatMap((s) => s?.minimumReleaseAgeExclude ?? []))]
  };
}, yE = async (e = {}) => {
  if (!e.global) return $f(e);
  const { stdout: t } = await Vt("pnpm", [
    "ls",
    "-g",
    "--json"
  ]);
  return et(JSON.parse(t)[0].dependencies || {}, (r, { version: i }) => ({ [r]: i }));
}, Ar = (e) => async (t, r, i = {}) => e(t, r, i, {}, await fE(i)), _E = Ar(Pi), bE = Ar(Yr), wE = Ar(Wn), EE = Ar(Yn), SE = Ar(Vn), AE = Ar(Kn), TE = Ar(Zn);
async function od(e, t = {}, r, i) {
  const { stdout: s } = await Vt("pnpm", [
    ...t.global ? "global" : [],
    ...Array.isArray(e) ? e : [e],
    ...t.prefix ? `--prefix=${t.prefix}` : []
  ], i, r);
  return s;
}
var ld = { getPnpmWorkspaceMinimumReleaseAge: vE }, DE = Object.create, cd = Object.defineProperty, RE = Object.getOwnPropertyDescriptor, OE = Object.getOwnPropertyNames, CE = Object.getPrototypeOf, IE = Object.prototype.hasOwnProperty, it = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), kE = (e, t, r, i) => {
  if (t && typeof t == "object" || typeof t == "function") for (var s = OE(t), d = 0, c = s.length, n; d < c; d++)
    n = s[d], !IE.call(e, n) && n !== r && cd(e, n, {
      get: ((u) => t[u]).bind(null, n),
      enumerable: !(i = RE(t, n)) || i.enumerable
    });
  return e;
}, LE = (e, t, r) => (r = e != null ? DE(CE(e)) : {}, kE(t || !e || !e.__esModule ? cd(r, "default", {
  value: e,
  enumerable: !0
}) : r, e)), Ui = /* @__PURE__ */ it(((e, t) => {
  function r(u) {
    return typeof u > "u" || u === null;
  }
  function i(u) {
    return typeof u == "object" && u !== null;
  }
  function s(u) {
    return Array.isArray(u) ? u : r(u) ? [] : [u];
  }
  function d(u, o) {
    if (o) {
      const h = Object.keys(o);
      for (let a = 0, l = h.length; a < l; a += 1) {
        const f = h[a];
        u[f] = o[f];
      }
    }
    return u;
  }
  function c(u, o) {
    let h = "";
    for (let a = 0; a < o; a += 1) h += u;
    return h;
  }
  function n(u) {
    return u === 0 && Number.NEGATIVE_INFINITY === 1 / u;
  }
  t.exports.isNothing = r, t.exports.isObject = i, t.exports.toArray = s, t.exports.repeat = c, t.exports.isNegativeZero = n, t.exports.extend = d;
})), Hi = /* @__PURE__ */ it(((e, t) => {
  function r(s, d) {
    let c = "";
    const n = s.reason || "(unknown reason)";
    return s.mark ? (s.mark.name && (c += 'in "' + s.mark.name + '" '), c += "(" + (s.mark.line + 1) + ":" + (s.mark.column + 1) + ")", !d && s.mark.snippet && (c += `

` + s.mark.snippet), n + " " + c) : n;
  }
  function i(s, d) {
    Error.call(this), this.name = "YAMLException", this.reason = s, this.mark = d, this.message = r(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
  }
  i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i.prototype.toString = function(d) {
    return this.name + ": " + r(this, d);
  }, t.exports = i;
})), xE = /* @__PURE__ */ it(((e, t) => {
  var r = Ui();
  function i(c, n, u, o, h) {
    let a = "", l = "";
    const f = Math.floor(h / 2) - 1;
    return o - n > f && (a = " ... ", n = o - f + a.length), u - o > f && (l = " ...", u = o + f - l.length), {
      str: a + c.slice(n, u).replace(/\t/g, "→") + l,
      pos: o - n + a.length
    };
  }
  function s(c, n) {
    return r.repeat(" ", n - c.length) + c;
  }
  function d(c, n) {
    if (n = Object.create(n || null), !c.buffer) return null;
    n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
    const u = /\r?\n|\r|\0/g, o = [0], h = [];
    let a, l = -1;
    for (; a = u.exec(c.buffer); )
      h.push(a.index), o.push(a.index + a[0].length), c.position <= a.index && l < 0 && (l = o.length - 2);
    l < 0 && (l = o.length - 1);
    let f = "";
    const p = Math.min(c.line + n.linesAfter, h.length).toString().length, g = n.maxLength - (n.indent + p + 3);
    for (let v = 1; v <= n.linesBefore && !(l - v < 0); v++) {
      const _ = i(c.buffer, o[l - v], h[l - v], c.position - (o[l] - o[l - v]), g);
      f = r.repeat(" ", n.indent) + s((c.line - v + 1).toString(), p) + " | " + _.str + `
` + f;
    }
    const m = i(c.buffer, o[l], h[l], c.position, g);
    f += r.repeat(" ", n.indent) + s((c.line + 1).toString(), p) + " | " + m.str + `
`, f += r.repeat("-", n.indent + p + 3 + m.pos) + `^
`;
    for (let v = 1; v <= n.linesAfter && !(l + v >= h.length); v++) {
      const _ = i(c.buffer, o[l + v], h[l + v], c.position - (o[l] - o[l + v]), g);
      f += r.repeat(" ", n.indent) + s((c.line + v + 1).toString(), p) + " | " + _.str + `
`;
    }
    return f.replace(/\n$/, "");
  }
  t.exports = d;
})), Ct = /* @__PURE__ */ it(((e, t) => {
  var r = Hi(), i = [
    "kind",
    "multi",
    "resolve",
    "construct",
    "instanceOf",
    "predicate",
    "represent",
    "representName",
    "defaultStyle",
    "styleAliases"
  ], s = [
    "scalar",
    "sequence",
    "mapping"
  ];
  function d(n) {
    const u = {};
    return n !== null && Object.keys(n).forEach(function(o) {
      n[o].forEach(function(h) {
        u[String(h)] = o;
      });
    }), u;
  }
  function c(n, u) {
    if (u = u || {}, Object.keys(u).forEach(function(o) {
      if (i.indexOf(o) === -1) throw new r('Unknown option "' + o + '" is met in definition of "' + n + '" YAML type.');
    }), this.options = u, this.tag = n, this.kind = u.kind || null, this.resolve = u.resolve || function() {
      return !0;
    }, this.construct = u.construct || function(o) {
      return o;
    }, this.instanceOf = u.instanceOf || null, this.predicate = u.predicate || null, this.represent = u.represent || null, this.representName = u.representName || null, this.defaultStyle = u.defaultStyle || null, this.multi = u.multi || !1, this.styleAliases = d(u.styleAliases || null), s.indexOf(this.kind) === -1) throw new r('Unknown kind "' + this.kind + '" is specified for "' + n + '" YAML type.');
  }
  t.exports = c;
})), ud = /* @__PURE__ */ it(((e, t) => {
  var r = Hi(), i = Ct();
  function s(n, u) {
    const o = [];
    return n[u].forEach(function(h) {
      let a = o.length;
      o.forEach(function(l, f) {
        l.tag === h.tag && l.kind === h.kind && l.multi === h.multi && (a = f);
      }), o[a] = h;
    }), o;
  }
  function d() {
    const n = {
      scalar: {},
      sequence: {},
      mapping: {},
      fallback: {},
      multi: {
        scalar: [],
        sequence: [],
        mapping: [],
        fallback: []
      }
    };
    function u(o) {
      o.multi ? (n.multi[o.kind].push(o), n.multi.fallback.push(o)) : n[o.kind][o.tag] = n.fallback[o.tag] = o;
    }
    for (let o = 0, h = arguments.length; o < h; o += 1) arguments[o].forEach(u);
    return n;
  }
  function c(n) {
    return this.extend(n);
  }
  c.prototype.extend = function(u) {
    let o = [], h = [];
    if (u instanceof i) h.push(u);
    else if (Array.isArray(u)) h = h.concat(u);
    else if (u && (Array.isArray(u.implicit) || Array.isArray(u.explicit)))
      u.implicit && (o = o.concat(u.implicit)), u.explicit && (h = h.concat(u.explicit));
    else throw new r("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
    o.forEach(function(l) {
      if (!(l instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
      if (l.loadKind && l.loadKind !== "scalar") throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
      if (l.multi) throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
    }), h.forEach(function(l) {
      if (!(l instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    });
    const a = Object.create(c.prototype);
    return a.implicit = (this.implicit || []).concat(o), a.explicit = (this.explicit || []).concat(h), a.compiledImplicit = s(a, "implicit"), a.compiledExplicit = s(a, "explicit"), a.compiledTypeMap = d(a.compiledImplicit, a.compiledExplicit), a;
  }, t.exports = c;
})), hd = /* @__PURE__ */ it(((e, t) => {
  t.exports = new (Ct())("tag:yaml.org,2002:str", {
    kind: "scalar",
    construct: function(r) {
      return r !== null ? r : "";
    }
  });
})), fd = /* @__PURE__ */ it(((e, t) => {
  t.exports = new (Ct())("tag:yaml.org,2002:seq", {
    kind: "sequence",
    construct: function(r) {
      return r !== null ? r : [];
    }
  });
})), dd = /* @__PURE__ */ it(((e, t) => {
  t.exports = new (Ct())("tag:yaml.org,2002:map", {
    kind: "mapping",
    construct: function(r) {
      return r !== null ? r : {};
    }
  });
})), pd = /* @__PURE__ */ it(((e, t) => {
  t.exports = new (ud())({ explicit: [
    hd(),
    fd(),
    dd()
  ] });
})), gd = /* @__PURE__ */ it(((e, t) => {
  var r = Ct();
  function i(c) {
    if (c === null) return !0;
    const n = c.length;
    return n === 1 && c === "~" || n === 4 && (c === "null" || c === "Null" || c === "NULL");
  }
  function s() {
    return null;
  }
  function d(c) {
    return c === null;
  }
  t.exports = new r("tag:yaml.org,2002:null", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: d,
    represent: {
      canonical: function() {
        return "~";
      },
      lowercase: function() {
        return "null";
      },
      uppercase: function() {
        return "NULL";
      },
      camelcase: function() {
        return "Null";
      },
      empty: function() {
        return "";
      }
    },
    defaultStyle: "lowercase"
  });
})), md = /* @__PURE__ */ it(((e, t) => {
  var r = Ct();
  function i(c) {
    if (c === null) return !1;
    const n = c.length;
    return n === 4 && (c === "true" || c === "True" || c === "TRUE") || n === 5 && (c === "false" || c === "False" || c === "FALSE");
  }
  function s(c) {
    return c === "true" || c === "True" || c === "TRUE";
  }
  function d(c) {
    return Object.prototype.toString.call(c) === "[object Boolean]";
  }
  t.exports = new r("tag:yaml.org,2002:bool", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: d,
    represent: {
      lowercase: function(c) {
        return c ? "true" : "false";
      },
      uppercase: function(c) {
        return c ? "TRUE" : "FALSE";
      },
      camelcase: function(c) {
        return c ? "True" : "False";
      }
    },
    defaultStyle: "lowercase"
  });
})), vd = /* @__PURE__ */ it(((e, t) => {
  var r = Ui(), i = Ct();
  function s(a) {
    return a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102;
  }
  function d(a) {
    return a >= 48 && a <= 55;
  }
  function c(a) {
    return a >= 48 && a <= 57;
  }
  function n(a) {
    if (a === null) return !1;
    const l = a.length;
    let f = 0, p = !1;
    if (!l) return !1;
    let g = a[f];
    if ((g === "-" || g === "+") && (g = a[++f]), g === "0") {
      if (f + 1 === l) return !0;
      if (g = a[++f], g === "b") {
        for (f++; f < l; f++) {
          if (g = a[f], g !== "0" && g !== "1") return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
      if (g === "x") {
        for (f++; f < l; f++) {
          if (!s(a.charCodeAt(f))) return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
      if (g === "o") {
        for (f++; f < l; f++) {
          if (!d(a.charCodeAt(f))) return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
    }
    for (; f < l; f++) {
      if (!c(a.charCodeAt(f))) return !1;
      p = !0;
    }
    return p ? Number.isFinite(u(a)) : !1;
  }
  function u(a) {
    let l = a, f = 1, p = l[0];
    if ((p === "-" || p === "+") && (p === "-" && (f = -1), l = l.slice(1), p = l[0]), l === "0") return 0;
    if (p === "0") {
      if (l[1] === "b") return f * parseInt(l.slice(2), 2);
      if (l[1] === "x") return f * parseInt(l.slice(2), 16);
      if (l[1] === "o") return f * parseInt(l.slice(2), 8);
    }
    return f * parseInt(l, 10);
  }
  function o(a) {
    return u(a);
  }
  function h(a) {
    return Object.prototype.toString.call(a) === "[object Number]" && a % 1 === 0 && !r.isNegativeZero(a);
  }
  t.exports = new i("tag:yaml.org,2002:int", {
    kind: "scalar",
    resolve: n,
    construct: o,
    predicate: h,
    represent: {
      binary: function(a) {
        return a >= 0 ? "0b" + a.toString(2) : "-0b" + a.toString(2).slice(1);
      },
      octal: function(a) {
        return a >= 0 ? "0o" + a.toString(8) : "-0o" + a.toString(8).slice(1);
      },
      decimal: function(a) {
        return a.toString(10);
      },
      hexadecimal: function(a) {
        return a >= 0 ? "0x" + a.toString(16).toUpperCase() : "-0x" + a.toString(16).toUpperCase().slice(1);
      }
    },
    defaultStyle: "decimal",
    styleAliases: {
      binary: [2, "bin"],
      octal: [8, "oct"],
      decimal: [10, "dec"],
      hexadecimal: [16, "hex"]
    }
  });
})), yd = /* @__PURE__ */ it(((e, t) => {
  var r = Ui(), i = Ct(), s = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), d = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
  function c(a) {
    return a === null || !s.test(a) ? !1 : Number.isFinite(parseFloat(a, 10)) ? !0 : d.test(a);
  }
  function n(a) {
    let l = a.toLowerCase();
    const f = l[0] === "-" ? -1 : 1;
    return "+-".indexOf(l[0]) >= 0 && (l = l.slice(1)), l === ".inf" ? f === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : l === ".nan" ? NaN : f * parseFloat(l, 10);
  }
  var u = /^[-+]?[0-9]+e/;
  function o(a, l) {
    if (isNaN(a)) switch (l) {
      case "lowercase":
        return ".nan";
      case "uppercase":
        return ".NAN";
      case "camelcase":
        return ".NaN";
    }
    else if (Number.POSITIVE_INFINITY === a) switch (l) {
      case "lowercase":
        return ".inf";
      case "uppercase":
        return ".INF";
      case "camelcase":
        return ".Inf";
    }
    else if (Number.NEGATIVE_INFINITY === a) switch (l) {
      case "lowercase":
        return "-.inf";
      case "uppercase":
        return "-.INF";
      case "camelcase":
        return "-.Inf";
    }
    else if (r.isNegativeZero(a)) return "-0.0";
    const f = a.toString(10);
    return u.test(f) ? f.replace("e", ".e") : f;
  }
  function h(a) {
    return Object.prototype.toString.call(a) === "[object Number]" && (a % 1 !== 0 || r.isNegativeZero(a));
  }
  t.exports = new i("tag:yaml.org,2002:float", {
    kind: "scalar",
    resolve: c,
    construct: n,
    predicate: h,
    represent: o,
    defaultStyle: "lowercase"
  });
})), _d = /* @__PURE__ */ it(((e, t) => {
  t.exports = pd().extend({ implicit: [
    gd(),
    md(),
    vd(),
    yd()
  ] });
})), bd = /* @__PURE__ */ it(((e, t) => {
  t.exports = _d();
})), wd = /* @__PURE__ */ it(((e, t) => {
  var r = Ct(), i = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), s = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
  function d(u) {
    return u === null ? !1 : i.exec(u) !== null || s.exec(u) !== null;
  }
  function c(u) {
    let o = 0, h = null, a = i.exec(u);
    if (a === null && (a = s.exec(u)), a === null) throw new Error("Date resolve error");
    const l = +a[1], f = +a[2] - 1, p = +a[3];
    if (!a[4]) return new Date(Date.UTC(l, f, p));
    const g = +a[4], m = +a[5], v = +a[6];
    if (a[7]) {
      for (o = a[7].slice(0, 3); o.length < 3; ) o += "0";
      o = +o;
    }
    if (a[9]) {
      const E = +a[10], S = +(a[11] || 0);
      h = (E * 60 + S) * 6e4, a[9] === "-" && (h = -h);
    }
    const _ = new Date(Date.UTC(l, f, p, g, m, v, o));
    return h && _.setTime(_.getTime() - h), _;
  }
  function n(u) {
    return u.toISOString();
  }
  t.exports = new r("tag:yaml.org,2002:timestamp", {
    kind: "scalar",
    resolve: d,
    construct: c,
    instanceOf: Date,
    represent: n
  });
})), Ed = /* @__PURE__ */ it(((e, t) => {
  var r = Ct();
  function i(s) {
    return s === "<<" || s === null;
  }
  t.exports = new r("tag:yaml.org,2002:merge", {
    kind: "scalar",
    resolve: i
  });
})), Sd = /* @__PURE__ */ it(((e, t) => {
  var r = Ct(), i = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
  function s(u) {
    if (u === null) return !1;
    let o = 0;
    const h = u.length, a = i;
    for (let l = 0; l < h; l++) {
      const f = a.indexOf(u.charAt(l));
      if (!(f > 64)) {
        if (f < 0) return !1;
        o += 6;
      }
    }
    return o % 8 === 0;
  }
  function d(u) {
    const o = u.replace(/[\r\n=]/g, ""), h = o.length, a = i;
    let l = 0;
    const f = [];
    for (let g = 0; g < h; g++)
      g % 4 === 0 && g && (f.push(l >> 16 & 255), f.push(l >> 8 & 255), f.push(l & 255)), l = l << 6 | a.indexOf(o.charAt(g));
    const p = h % 4 * 6;
    return p === 0 ? (f.push(l >> 16 & 255), f.push(l >> 8 & 255), f.push(l & 255)) : p === 18 ? (f.push(l >> 10 & 255), f.push(l >> 2 & 255)) : p === 12 && f.push(l >> 4 & 255), new Uint8Array(f);
  }
  function c(u) {
    let o = "", h = 0;
    const a = u.length, l = i;
    for (let p = 0; p < a; p++)
      p % 3 === 0 && p && (o += l[h >> 18 & 63], o += l[h >> 12 & 63], o += l[h >> 6 & 63], o += l[h & 63]), h = (h << 8) + u[p];
    const f = a % 3;
    return f === 0 ? (o += l[h >> 18 & 63], o += l[h >> 12 & 63], o += l[h >> 6 & 63], o += l[h & 63]) : f === 2 ? (o += l[h >> 10 & 63], o += l[h >> 4 & 63], o += l[h << 2 & 63], o += l[64]) : f === 1 && (o += l[h >> 2 & 63], o += l[h << 4 & 63], o += l[64], o += l[64]), o;
  }
  function n(u) {
    return Object.prototype.toString.call(u) === "[object Uint8Array]";
  }
  t.exports = new r("tag:yaml.org,2002:binary", {
    kind: "scalar",
    resolve: s,
    construct: d,
    predicate: n,
    represent: c
  });
})), Ad = /* @__PURE__ */ it(((e, t) => {
  var r = Ct(), i = Object.prototype.hasOwnProperty, s = Object.prototype.toString;
  function d(n) {
    if (n === null) return !0;
    const u = [], o = n;
    for (let h = 0, a = o.length; h < a; h += 1) {
      const l = o[h];
      let f = !1;
      if (s.call(l) !== "[object Object]") return !1;
      let p;
      for (p in l) if (i.call(l, p)) if (!f) f = !0;
      else return !1;
      if (!f) return !1;
      if (u.indexOf(p) === -1) u.push(p);
      else return !1;
    }
    return !0;
  }
  function c(n) {
    return n !== null ? n : [];
  }
  t.exports = new r("tag:yaml.org,2002:omap", {
    kind: "sequence",
    resolve: d,
    construct: c
  });
})), Td = /* @__PURE__ */ it(((e, t) => {
  var r = Ct(), i = Object.prototype.toString;
  function s(c) {
    if (c === null) return !0;
    const n = c, u = new Array(n.length);
    for (let o = 0, h = n.length; o < h; o += 1) {
      const a = n[o];
      if (i.call(a) !== "[object Object]") return !1;
      const l = Object.keys(a);
      if (l.length !== 1) return !1;
      u[o] = [l[0], a[l[0]]];
    }
    return !0;
  }
  function d(c) {
    if (c === null) return [];
    const n = c, u = new Array(n.length);
    for (let o = 0, h = n.length; o < h; o += 1) {
      const a = n[o], l = Object.keys(a);
      u[o] = [l[0], a[l[0]]];
    }
    return u;
  }
  t.exports = new r("tag:yaml.org,2002:pairs", {
    kind: "sequence",
    resolve: s,
    construct: d
  });
})), Dd = /* @__PURE__ */ it(((e, t) => {
  var r = Ct(), i = Object.prototype.hasOwnProperty;
  function s(c) {
    if (c === null) return !0;
    const n = c;
    for (const u in n) if (i.call(n, u) && n[u] !== null)
      return !1;
    return !0;
  }
  function d(c) {
    return c !== null ? c : {};
  }
  t.exports = new r("tag:yaml.org,2002:set", {
    kind: "mapping",
    resolve: s,
    construct: d
  });
})), hl = /* @__PURE__ */ it(((e, t) => {
  t.exports = bd().extend({
    implicit: [wd(), Ed()],
    explicit: [
      Sd(),
      Ad(),
      Td(),
      Dd()
    ]
  });
})), $E = /* @__PURE__ */ it(((e, t) => {
  var r = Ui(), i = Hi(), s = xE(), d = hl(), c = Object.prototype.hasOwnProperty, n = 1, u = 2, o = 3, h = 4, a = 1, l = 2, f = 3, p = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, g = /[\x85\u2028\u2029]/, m = /[,\[\]{}]/, v = /^(?:!|!!|![0-9A-Za-z-]+!)$/, _ = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
  function E(y) {
    return Object.prototype.toString.call(y);
  }
  function S(y) {
    return y === 10 || y === 13;
  }
  function w(y) {
    return y === 9 || y === 32;
  }
  function b(y) {
    return y === 9 || y === 32 || y === 10 || y === 13;
  }
  function A(y) {
    return y === 44 || y === 91 || y === 93 || y === 123 || y === 125;
  }
  function D(y) {
    if (y >= 48 && y <= 57) return y - 48;
    const $ = y | 32;
    return $ >= 97 && $ <= 102 ? $ - 97 + 10 : -1;
  }
  function C(y) {
    return y === 120 ? 2 : y === 117 ? 4 : y === 85 ? 8 : 0;
  }
  function O(y) {
    return y >= 48 && y <= 57 ? y - 48 : -1;
  }
  function I(y) {
    switch (y) {
      case 48:
        return "\0";
      case 97:
        return "\x07";
      case 98:
        return "\b";
      case 116:
        return "	";
      case 9:
        return "	";
      case 110:
        return `
`;
      case 118:
        return "\v";
      case 102:
        return "\f";
      case 114:
        return "\r";
      case 101:
        return "\x1B";
      case 32:
        return " ";
      case 34:
        return '"';
      case 47:
        return "/";
      case 92:
        return "\\";
      case 78:
        return "";
      case 95:
        return " ";
      case 76:
        return "\u2028";
      case 80:
        return "\u2029";
      default:
        return "";
    }
  }
  function x(y) {
    return y <= 65535 ? String.fromCharCode(y) : String.fromCharCode((y - 65536 >> 10) + 55296, (y - 65536 & 1023) + 56320);
  }
  function F(y, $, ie) {
    $ === "__proto__" ? Object.defineProperty(y, $, {
      configurable: !0,
      enumerable: !0,
      writable: !0,
      value: ie
    }) : y[$] = ie;
  }
  var q = new Array(256), K = new Array(256);
  for (let y = 0; y < 256; y++)
    q[y] = I(y) ? 1 : 0, K[y] = I(y);
  function M(y, $) {
    this.input = y, this.filename = $.filename || null, this.schema = $.schema || d, this.onWarning = $.onWarning || null, this.legacy = $.legacy || !1, this.json = $.json || !1, this.listener = $.listener || null, this.maxDepth = typeof $.maxDepth == "number" ? $.maxDepth : 100, this.maxMergeSeqLength = typeof $.maxMergeSeqLength == "number" ? $.maxMergeSeqLength : 20, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = y.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.depth = 0, this.firstTabInLine = -1, this.documents = [], this.anchorMapTransactions = [];
  }
  function N(y, $) {
    const ie = {
      name: y.filename,
      buffer: y.input.slice(0, -1),
      position: y.position,
      line: y.line,
      column: y.position - y.lineStart
    };
    return ie.snippet = s(ie), new i($, ie);
  }
  function L(y, $) {
    throw N(y, $);
  }
  function te(y, $) {
    y.onWarning && y.onWarning.call(null, N(y, $));
  }
  function H(y, $, ie) {
    const oe = y.anchorMapTransactions;
    if (oe.length !== 0) {
      const re = oe[oe.length - 1];
      c.call(re, $) || (re[$] = {
        existed: c.call(y.anchorMap, $),
        value: y.anchorMap[$]
      });
    }
    y.anchorMap[$] = ie;
  }
  function j(y) {
    y.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
  }
  function P(y) {
    const $ = y.anchorMapTransactions.pop(), ie = y.anchorMapTransactions;
    if (ie.length === 0) return;
    const oe = ie[ie.length - 1], re = Object.keys($);
    for (let de = 0, T = re.length; de < T; de += 1) {
      const se = re[de];
      c.call(oe, se) || (oe[se] = $[se]);
    }
  }
  function k(y) {
    const $ = y.anchorMapTransactions.pop(), ie = Object.keys($);
    for (let oe = ie.length - 1; oe >= 0; oe -= 1) {
      const re = $[ie[oe]];
      re.existed ? y.anchorMap[ie[oe]] = re.value : delete y.anchorMap[ie[oe]];
    }
  }
  function U(y) {
    return {
      position: y.position,
      line: y.line,
      lineStart: y.lineStart,
      lineIndent: y.lineIndent,
      firstTabInLine: y.firstTabInLine,
      tag: y.tag,
      anchor: y.anchor,
      kind: y.kind,
      result: y.result
    };
  }
  function Q(y, $) {
    y.position = $.position, y.line = $.line, y.lineStart = $.lineStart, y.lineIndent = $.lineIndent, y.firstTabInLine = $.firstTabInLine, y.tag = $.tag, y.anchor = $.anchor, y.kind = $.kind, y.result = $.result;
  }
  var ue = {
    YAML: function($, ie, oe) {
      $.version !== null && L($, "duplication of %YAML directive"), oe.length !== 1 && L($, "YAML directive accepts exactly one argument");
      const re = /^([0-9]+)\.([0-9]+)$/.exec(oe[0]);
      re === null && L($, "ill-formed argument of the YAML directive");
      const de = parseInt(re[1], 10), T = parseInt(re[2], 10);
      de !== 1 && L($, "unacceptable YAML version of the document"), $.version = oe[0], $.checkLineBreaks = T < 2, T !== 1 && T !== 2 && te($, "unsupported YAML version of the document");
    },
    TAG: function($, ie, oe) {
      let re;
      oe.length !== 2 && L($, "TAG directive accepts exactly two arguments");
      const de = oe[0];
      re = oe[1], v.test(de) || L($, "ill-formed tag handle (first argument) of the TAG directive"), c.call($.tagMap, de) && L($, 'there is a previously declared suffix for "' + de + '" tag handle'), _.test(re) || L($, "ill-formed tag prefix (second argument) of the TAG directive");
      try {
        re = decodeURIComponent(re);
      } catch {
        L($, "tag prefix is malformed: " + re);
      }
      $.tagMap[de] = re;
    }
  };
  function me(y, $, ie, oe) {
    if ($ < ie) {
      const re = y.input.slice($, ie);
      if (oe) for (let de = 0, T = re.length; de < T; de += 1) {
        const se = re.charCodeAt(de);
        se === 9 || se >= 32 && se <= 1114111 || L(y, "expected valid JSON character");
      }
      else p.test(re) && L(y, "the stream contains non-printable characters");
      y.result += re;
    }
  }
  function we(y, $, ie, oe) {
    r.isObject(ie) || L(y, "cannot merge mappings; the provided source object is unacceptable");
    const re = Object.keys(ie);
    for (let de = 0, T = re.length; de < T; de += 1) {
      const se = re[de];
      c.call($, se) || (F($, se, ie[se]), oe[se] = !0);
    }
  }
  function Z(y, $, ie, oe, re, de, T, se, ve) {
    if (Array.isArray(re)) {
      re = Array.prototype.slice.call(re);
      for (let fe = 0, V = re.length; fe < V; fe += 1)
        Array.isArray(re[fe]) && L(y, "nested arrays are not supported inside keys"), typeof re == "object" && E(re[fe]) === "[object Object]" && (re[fe] = "[object Object]");
    }
    if (typeof re == "object" && E(re) === "[object Object]" && (re = "[object Object]"), re = String(re), $ === null && ($ = {}), oe === "tag:yaml.org,2002:merge") if (Array.isArray(de)) {
      de.length > y.maxMergeSeqLength && L(y, "merge sequence length exceeded maxMergeSeqLength (" + y.maxMergeSeqLength + ")");
      const fe = /* @__PURE__ */ new Set();
      for (let V = 0, X = de.length; V < X; V += 1) {
        const ee = de[V];
        fe.has(ee) || (fe.add(ee), we(y, $, ee, ie));
      }
    } else we(y, $, de, ie);
    else
      !y.json && !c.call(ie, re) && c.call($, re) && (y.line = T || y.line, y.lineStart = se || y.lineStart, y.position = ve || y.position, L(y, "duplicated mapping key")), F($, re, de), delete ie[re];
    return $;
  }
  function G(y) {
    const $ = y.input.charCodeAt(y.position);
    $ === 10 ? y.position++ : $ === 13 ? (y.position++, y.input.charCodeAt(y.position) === 10 && y.position++) : L(y, "a line break is expected"), y.line += 1, y.lineStart = y.position, y.firstTabInLine = -1;
  }
  function Y(y, $, ie) {
    let oe = 0, re = y.input.charCodeAt(y.position);
    for (; re !== 0; ) {
      for (; w(re); )
        re === 9 && y.firstTabInLine === -1 && (y.firstTabInLine = y.position), re = y.input.charCodeAt(++y.position);
      if ($ && re === 35) do
        re = y.input.charCodeAt(++y.position);
      while (re !== 10 && re !== 13 && re !== 0);
      if (S(re))
        for (G(y), re = y.input.charCodeAt(y.position), oe++, y.lineIndent = 0; re === 32; )
          y.lineIndent++, re = y.input.charCodeAt(++y.position);
      else break;
    }
    return ie !== -1 && oe !== 0 && y.lineIndent < ie && te(y, "deficient indentation"), oe;
  }
  function ne(y) {
    let $ = y.position, ie = y.input.charCodeAt($);
    return !!((ie === 45 || ie === 46) && ie === y.input.charCodeAt($ + 1) && ie === y.input.charCodeAt($ + 2) && ($ += 3, ie = y.input.charCodeAt($), ie === 0 || b(ie)));
  }
  function le(y, $) {
    $ === 1 ? y.result += " " : $ > 1 && (y.result += r.repeat(`
`, $ - 1));
  }
  function B(y, $, ie) {
    let oe, re, de, T, se, ve;
    const fe = y.kind, V = y.result;
    let X = y.input.charCodeAt(y.position);
    if (b(X) || A(X) || X === 35 || X === 38 || X === 42 || X === 33 || X === 124 || X === 62 || X === 39 || X === 34 || X === 37 || X === 64 || X === 96) return !1;
    if (X === 63 || X === 45) {
      const ee = y.input.charCodeAt(y.position + 1);
      if (b(ee) || ie && A(ee)) return !1;
    }
    for (y.kind = "scalar", y.result = "", oe = re = y.position, de = !1; X !== 0; ) {
      if (X === 58) {
        const ee = y.input.charCodeAt(y.position + 1);
        if (b(ee) || ie && A(ee)) break;
      } else if (X === 35) {
        if (b(y.input.charCodeAt(y.position - 1))) break;
      } else {
        if (y.position === y.lineStart && ne(y) || ie && A(X)) break;
        if (S(X))
          if (T = y.line, se = y.lineStart, ve = y.lineIndent, Y(y, !1, -1), y.lineIndent >= $) {
            de = !0, X = y.input.charCodeAt(y.position);
            continue;
          } else {
            y.position = re, y.line = T, y.lineStart = se, y.lineIndent = ve;
            break;
          }
      }
      de && (me(y, oe, re, !1), le(y, y.line - T), oe = re = y.position, de = !1), w(X) || (re = y.position + 1), X = y.input.charCodeAt(++y.position);
    }
    return me(y, oe, re, !1), y.result ? !0 : (y.kind = fe, y.result = V, !1);
  }
  function W(y, $) {
    let ie, oe, re = y.input.charCodeAt(y.position);
    if (re !== 39) return !1;
    for (y.kind = "scalar", y.result = "", y.position++, ie = oe = y.position; (re = y.input.charCodeAt(y.position)) !== 0; ) if (re === 39)
      if (me(y, ie, y.position, !0), re = y.input.charCodeAt(++y.position), re === 39)
        ie = y.position, y.position++, oe = y.position;
      else return !0;
    else S(re) ? (me(y, ie, oe, !0), le(y, Y(y, !1, $)), ie = oe = y.position) : y.position === y.lineStart && ne(y) ? L(y, "unexpected end of the document within a single quoted scalar") : (y.position++, w(re) || (oe = y.position));
    L(y, "unexpected end of the stream within a single quoted scalar");
  }
  function ae(y, $) {
    let ie, oe, re, de = y.input.charCodeAt(y.position);
    if (de !== 34) return !1;
    for (y.kind = "scalar", y.result = "", y.position++, ie = oe = y.position; (de = y.input.charCodeAt(y.position)) !== 0; ) {
      if (de === 34)
        return me(y, ie, y.position, !0), y.position++, !0;
      if (de === 92) {
        if (me(y, ie, y.position, !0), de = y.input.charCodeAt(++y.position), S(de)) Y(y, !1, $);
        else if (de < 256 && q[de])
          y.result += K[de], y.position++;
        else if ((re = C(de)) > 0) {
          let T = re, se = 0;
          for (; T > 0; T--)
            de = y.input.charCodeAt(++y.position), (re = D(de)) >= 0 ? se = (se << 4) + re : L(y, "expected hexadecimal character");
          y.result += x(se), y.position++;
        } else L(y, "unknown escape sequence");
        ie = oe = y.position;
      } else S(de) ? (me(y, ie, oe, !0), le(y, Y(y, !1, $)), ie = oe = y.position) : y.position === y.lineStart && ne(y) ? L(y, "unexpected end of the document within a double quoted scalar") : (y.position++, w(de) || (oe = y.position));
    }
    L(y, "unexpected end of the stream within a double quoted scalar");
  }
  function Re(y, $) {
    let ie = !0, oe, re, de;
    const T = y.tag;
    let se;
    const ve = y.anchor;
    let fe, V, X, ee;
    const ce = /* @__PURE__ */ Object.create(null);
    let ge, _e, R, J = y.input.charCodeAt(y.position);
    if (J === 91)
      fe = 93, ee = !1, se = [];
    else if (J === 123)
      fe = 125, ee = !0, se = {};
    else return !1;
    for (y.anchor !== null && H(y, y.anchor, se), J = y.input.charCodeAt(++y.position); J !== 0; ) {
      if (Y(y, !0, $), J = y.input.charCodeAt(y.position), J === fe)
        return y.position++, y.tag = T, y.anchor = ve, y.kind = ee ? "mapping" : "sequence", y.result = se, !0;
      ie ? J === 44 && L(y, "expected the node content, but found ','") : L(y, "missed comma between flow collection entries"), _e = ge = R = null, V = X = !1, J === 63 && b(y.input.charCodeAt(y.position + 1)) && (V = X = !0, y.position++, Y(y, !0, $)), oe = y.line, re = y.lineStart, de = y.position, Ae(y, $, n, !1, !0), _e = y.tag, ge = y.result, Y(y, !0, $), J = y.input.charCodeAt(y.position), (X || y.line === oe) && J === 58 && (V = !0, J = y.input.charCodeAt(++y.position), Y(y, !0, $), Ae(y, $, n, !1, !0), R = y.result), ee ? Z(y, se, ce, _e, ge, R, oe, re, de) : V ? se.push(Z(y, null, ce, _e, ge, R, oe, re, de)) : se.push(ge), Y(y, !0, $), J = y.input.charCodeAt(y.position), J === 44 ? (ie = !0, J = y.input.charCodeAt(++y.position)) : ie = !1;
    }
    L(y, "unexpected end of the stream within a flow collection");
  }
  function Oe(y, $) {
    let ie, oe = a, re = !1, de = !1, T = $, se = 0, ve = !1, fe, V = y.input.charCodeAt(y.position);
    if (V === 124) ie = !1;
    else if (V === 62) ie = !0;
    else return !1;
    for (y.kind = "scalar", y.result = ""; V !== 0; )
      if (V = y.input.charCodeAt(++y.position), V === 43 || V === 45) a === oe ? oe = V === 43 ? f : l : L(y, "repeat of a chomping mode identifier");
      else if ((fe = O(V)) >= 0) fe === 0 ? L(y, "bad explicit indentation width of a block scalar; it cannot be less than one") : de ? L(y, "repeat of an indentation width identifier") : (T = $ + fe - 1, de = !0);
      else break;
    if (w(V)) {
      do
        V = y.input.charCodeAt(++y.position);
      while (w(V));
      if (V === 35) do
        V = y.input.charCodeAt(++y.position);
      while (!S(V) && V !== 0);
    }
    for (; V !== 0; ) {
      for (G(y), y.lineIndent = 0, V = y.input.charCodeAt(y.position); (!de || y.lineIndent < T) && V === 32; )
        y.lineIndent++, V = y.input.charCodeAt(++y.position);
      if (!de && y.lineIndent > T && (T = y.lineIndent), S(V)) {
        se++;
        continue;
      }
      if (!de && T === 0 && L(y, "missing indentation for block scalar"), y.lineIndent < T) {
        oe === f ? y.result += r.repeat(`
`, re ? 1 + se : se) : oe === a && re && (y.result += `
`);
        break;
      }
      ie ? w(V) ? (ve = !0, y.result += r.repeat(`
`, re ? 1 + se : se)) : ve ? (ve = !1, y.result += r.repeat(`
`, se + 1)) : se === 0 ? re && (y.result += " ") : y.result += r.repeat(`
`, se) : y.result += r.repeat(`
`, re ? 1 + se : se), re = !0, de = !0, se = 0;
      const X = y.position;
      for (; !S(V) && V !== 0; ) V = y.input.charCodeAt(++y.position);
      me(y, X, y.position, !1);
    }
    return !0;
  }
  function Ee(y, $) {
    const ie = y.tag, oe = y.anchor, re = [];
    let de = !1;
    if (y.firstTabInLine !== -1) return !1;
    y.anchor !== null && H(y, y.anchor, re);
    let T = y.input.charCodeAt(y.position);
    for (; T !== 0 && (y.firstTabInLine !== -1 && (y.position = y.firstTabInLine, L(y, "tab characters must not be used in indentation")), !(T !== 45 || !b(y.input.charCodeAt(y.position + 1)))); ) {
      if (de = !0, y.position++, Y(y, !0, -1) && y.lineIndent <= $) {
        re.push(null), T = y.input.charCodeAt(y.position);
        continue;
      }
      const se = y.line;
      if (Ae(y, $, o, !1, !0), re.push(y.result), Y(y, !0, -1), T = y.input.charCodeAt(y.position), (y.line === se || y.lineIndent > $) && T !== 0) L(y, "bad indentation of a sequence entry");
      else if (y.lineIndent < $) break;
    }
    return de ? (y.tag = ie, y.anchor = oe, y.kind = "sequence", y.result = re, !0) : !1;
  }
  function xe(y, $, ie) {
    let oe, re, de, T;
    const se = y.tag, ve = y.anchor, fe = {}, V = /* @__PURE__ */ Object.create(null);
    let X = null, ee = null, ce = null, ge = !1, _e = !1;
    if (y.firstTabInLine !== -1) return !1;
    y.anchor !== null && H(y, y.anchor, fe);
    let R = y.input.charCodeAt(y.position);
    for (; R !== 0; ) {
      !ge && y.firstTabInLine !== -1 && (y.position = y.firstTabInLine, L(y, "tab characters must not be used in indentation"));
      const J = y.input.charCodeAt(y.position + 1), he = y.line;
      if ((R === 63 || R === 58) && b(J))
        R === 63 ? (ge && (Z(y, fe, V, X, ee, null, re, de, T), X = ee = ce = null), _e = !0, ge = !0, oe = !0) : ge ? (ge = !1, oe = !0) : L(y, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), y.position += 1, R = J;
      else {
        if (re = y.line, de = y.lineStart, T = y.position, !Ae(y, ie, u, !1, !0)) break;
        if (y.line === he) {
          for (R = y.input.charCodeAt(y.position); w(R); ) R = y.input.charCodeAt(++y.position);
          if (R === 58)
            R = y.input.charCodeAt(++y.position), b(R) || L(y, "a whitespace character is expected after the key-value separator within a block mapping"), ge && (Z(y, fe, V, X, ee, null, re, de, T), X = ee = ce = null), _e = !0, ge = !1, oe = !1, X = y.tag, ee = y.result;
          else if (_e) L(y, "can not read an implicit mapping pair; a colon is missed");
          else
            return y.tag = se, y.anchor = ve, !0;
        } else if (_e) L(y, "can not read a block mapping entry; a multiline key may not be an implicit key");
        else
          return y.tag = se, y.anchor = ve, !0;
      }
      if ((y.line === he || y.lineIndent > $) && (ge && (re = y.line, de = y.lineStart, T = y.position), Ae(y, $, h, !0, oe) && (ge ? ee = y.result : ce = y.result), ge || (Z(y, fe, V, X, ee, ce, re, de, T), X = ee = ce = null), Y(y, !0, -1), R = y.input.charCodeAt(y.position)), (y.line === he || y.lineIndent > $) && R !== 0) L(y, "bad indentation of a mapping entry");
      else if (y.lineIndent < $) break;
    }
    return ge && Z(y, fe, V, X, ee, null, re, de, T), _e && (y.tag = se, y.anchor = ve, y.kind = "mapping", y.result = fe), _e;
  }
  function Ne(y) {
    let $ = !1, ie = !1, oe, re, de = y.input.charCodeAt(y.position);
    if (de !== 33) return !1;
    y.tag !== null && L(y, "duplication of a tag property"), de = y.input.charCodeAt(++y.position), de === 60 ? ($ = !0, de = y.input.charCodeAt(++y.position)) : de === 33 ? (ie = !0, oe = "!!", de = y.input.charCodeAt(++y.position)) : oe = "!";
    let T = y.position;
    if ($) {
      do
        de = y.input.charCodeAt(++y.position);
      while (de !== 0 && de !== 62);
      y.position < y.length ? (re = y.input.slice(T, y.position), de = y.input.charCodeAt(++y.position)) : L(y, "unexpected end of the stream within a verbatim tag");
    } else {
      for (; de !== 0 && !b(de); )
        de === 33 && (ie ? L(y, "tag suffix cannot contain exclamation marks") : (oe = y.input.slice(T - 1, y.position + 1), v.test(oe) || L(y, "named tag handle cannot contain such characters"), ie = !0, T = y.position + 1)), de = y.input.charCodeAt(++y.position);
      re = y.input.slice(T, y.position), m.test(re) && L(y, "tag suffix cannot contain flow indicator characters");
    }
    re && !_.test(re) && L(y, "tag name cannot contain such characters: " + re);
    try {
      re = decodeURIComponent(re);
    } catch {
      L(y, "tag name is malformed: " + re);
    }
    return $ ? y.tag = re : c.call(y.tagMap, oe) ? y.tag = y.tagMap[oe] + re : oe === "!" ? y.tag = "!" + re : oe === "!!" ? y.tag = "tag:yaml.org,2002:" + re : L(y, 'undeclared tag handle "' + oe + '"'), !0;
  }
  function Me(y) {
    let $ = y.input.charCodeAt(y.position);
    if ($ !== 38) return !1;
    y.anchor !== null && L(y, "duplication of an anchor property"), $ = y.input.charCodeAt(++y.position);
    const ie = y.position;
    for (; $ !== 0 && !b($) && !A($); ) $ = y.input.charCodeAt(++y.position);
    return y.position === ie && L(y, "name of an anchor node must contain at least one character"), y.anchor = y.input.slice(ie, y.position), !0;
  }
  function Ce(y) {
    let $ = y.input.charCodeAt(y.position);
    if ($ !== 42) return !1;
    $ = y.input.charCodeAt(++y.position);
    const ie = y.position;
    for (; $ !== 0 && !b($) && !A($); ) $ = y.input.charCodeAt(++y.position);
    y.position === ie && L(y, "name of an alias node must contain at least one character");
    const oe = y.input.slice(ie, y.position);
    return c.call(y.anchorMap, oe) || L(y, 'unidentified alias "' + oe + '"'), y.result = y.anchorMap[oe], Y(y, !0, -1), !0;
  }
  function Pe(y, $, ie, oe) {
    const re = U(y);
    return j(y), Q(y, $), y.tag = null, y.anchor = null, y.kind = null, y.result = null, xe(y, ie, oe) && y.kind === "mapping" ? (P(y), !0) : (k(y), Q(y, re), !1);
  }
  function Ae(y, $, ie, oe, re) {
    let de, T, se = 1, ve = !1, fe = !1, V = null, X, ee, ce;
    y.depth >= y.maxDepth && L(y, "nesting exceeded maxDepth (" + y.maxDepth + ")"), y.depth += 1, y.listener !== null && y.listener("open", y), y.tag = null, y.anchor = null, y.kind = null, y.result = null;
    const ge = de = T = h === ie || o === ie;
    if (oe && Y(y, !0, -1) && (ve = !0, y.lineIndent > $ ? se = 1 : y.lineIndent === $ ? se = 0 : y.lineIndent < $ && (se = -1)), se === 1) for (; ; ) {
      const _e = y.input.charCodeAt(y.position), R = U(y);
      if (ve && (_e === 33 && y.tag !== null || _e === 38 && y.anchor !== null) || !Ne(y) && !Me(y)) break;
      V === null && (V = R), Y(y, !0, -1) ? (ve = !0, T = ge, y.lineIndent > $ ? se = 1 : y.lineIndent === $ ? se = 0 : y.lineIndent < $ && (se = -1)) : T = !1;
    }
    if (T && (T = ve || re), se === 1 || h === ie)
      if (n === ie || u === ie ? ee = $ : ee = $ + 1, ce = y.position - y.lineStart, se === 1) if (T && (Ee(y, ce) || xe(y, ce, ee)) || Re(y, ee)) fe = !0;
      else {
        const _e = y.input.charCodeAt(y.position);
        V !== null && ge && !T && _e !== 124 && _e !== 62 && Pe(y, V, V.position - V.lineStart, ee) || de && Oe(y, ee) || W(y, ee) || ae(y, ee) ? fe = !0 : Ce(y) ? (fe = !0, (y.tag !== null || y.anchor !== null) && L(y, "alias node should not have any properties")) : B(y, ee, n === ie) && (fe = !0, y.tag === null && (y.tag = "?")), y.anchor !== null && H(y, y.anchor, y.result);
      }
      else se === 0 && (fe = T && Ee(y, ce));
    if (y.tag === null)
      y.anchor !== null && H(y, y.anchor, y.result);
    else if (y.tag === "?") {
      y.result !== null && y.kind !== "scalar" && L(y, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + y.kind + '"');
      for (let _e = 0, R = y.implicitTypes.length; _e < R; _e += 1)
        if (X = y.implicitTypes[_e], X.resolve(y.result)) {
          y.result = X.construct(y.result), y.tag = X.tag, y.anchor !== null && H(y, y.anchor, y.result);
          break;
        }
    } else if (y.tag !== "!") {
      if (c.call(y.typeMap[y.kind || "fallback"], y.tag)) X = y.typeMap[y.kind || "fallback"][y.tag];
      else {
        X = null;
        const _e = y.typeMap.multi[y.kind || "fallback"];
        for (let R = 0, J = _e.length; R < J; R += 1) if (y.tag.slice(0, _e[R].tag.length) === _e[R].tag) {
          X = _e[R];
          break;
        }
      }
      X || L(y, "unknown tag !<" + y.tag + ">"), y.result !== null && X.kind !== y.kind && L(y, "unacceptable node kind for !<" + y.tag + '> tag; it should be "' + X.kind + '", not "' + y.kind + '"'), X.resolve(y.result, y.tag) ? (y.result = X.construct(y.result, y.tag), y.anchor !== null && H(y, y.anchor, y.result)) : L(y, "cannot resolve a node with !<" + y.tag + "> explicit tag");
    }
    return y.listener !== null && y.listener("close", y), y.depth -= 1, y.tag !== null || y.anchor !== null || fe;
  }
  function $e(y) {
    const $ = y.position;
    let ie = !1, oe;
    for (y.version = null, y.checkLineBreaks = y.legacy, y.tagMap = /* @__PURE__ */ Object.create(null), y.anchorMap = /* @__PURE__ */ Object.create(null); (oe = y.input.charCodeAt(y.position)) !== 0 && (Y(y, !0, -1), oe = y.input.charCodeAt(y.position), !(y.lineIndent > 0 || oe !== 37)); ) {
      ie = !0, oe = y.input.charCodeAt(++y.position);
      let re = y.position;
      for (; oe !== 0 && !b(oe); ) oe = y.input.charCodeAt(++y.position);
      const de = y.input.slice(re, y.position), T = [];
      for (de.length < 1 && L(y, "directive name must not be less than one character in length"); oe !== 0; ) {
        for (; w(oe); ) oe = y.input.charCodeAt(++y.position);
        if (oe === 35) {
          do
            oe = y.input.charCodeAt(++y.position);
          while (oe !== 0 && !S(oe));
          break;
        }
        if (S(oe)) break;
        for (re = y.position; oe !== 0 && !b(oe); ) oe = y.input.charCodeAt(++y.position);
        T.push(y.input.slice(re, y.position));
      }
      oe !== 0 && G(y), c.call(ue, de) ? ue[de](y, de, T) : te(y, 'unknown document directive "' + de + '"');
    }
    if (Y(y, !0, -1), y.lineIndent === 0 && y.input.charCodeAt(y.position) === 45 && y.input.charCodeAt(y.position + 1) === 45 && y.input.charCodeAt(y.position + 2) === 45 ? (y.position += 3, Y(y, !0, -1)) : ie && L(y, "directives end mark is expected"), Ae(y, y.lineIndent - 1, h, !1, !0), Y(y, !0, -1), y.checkLineBreaks && g.test(y.input.slice($, y.position)) && te(y, "non-ASCII line breaks are interpreted as content"), y.documents.push(y.result), y.position === y.lineStart && ne(y)) {
      y.input.charCodeAt(y.position) === 46 && (y.position += 3, Y(y, !0, -1));
      return;
    }
    y.position < y.length - 1 && L(y, "end of the stream or a document separator is expected");
  }
  function De(y, $) {
    y = String(y), $ = $ || {}, y.length !== 0 && (y.charCodeAt(y.length - 1) !== 10 && y.charCodeAt(y.length - 1) !== 13 && (y += `
`), y.charCodeAt(0) === 65279 && (y = y.slice(1)));
    const ie = new M(y, $), oe = y.indexOf("\0");
    for (oe !== -1 && (ie.position = oe, L(ie, "null byte is not allowed in input")), ie.input += "\0"; ie.input.charCodeAt(ie.position) === 32; )
      ie.lineIndent += 1, ie.position += 1;
    for (; ie.position < ie.length - 1; ) $e(ie);
    return ie.documents;
  }
  function ye(y, $, ie) {
    $ !== null && typeof $ == "object" && typeof ie > "u" && (ie = $, $ = null);
    const oe = De(y, ie);
    if (typeof $ != "function") return oe;
    for (let re = 0, de = oe.length; re < de; re += 1) $(oe[re]);
  }
  function pe(y, $) {
    const ie = De(y, $);
    if (ie.length !== 0) {
      if (ie.length === 1) return ie[0];
      throw new i("expected a single document in the stream, but found more");
    }
  }
  t.exports.loadAll = ye, t.exports.load = pe;
})), NE = /* @__PURE__ */ it(((e, t) => {
  var r = Ui(), i = Hi(), s = hl(), d = Object.prototype.toString, c = Object.prototype.hasOwnProperty, n = 65279, u = 9, o = 10, h = 13, a = 32, l = 33, f = 34, p = 35, g = 37, m = 38, v = 39, _ = 42, E = 44, S = 45, w = 58, b = 61, A = 62, D = 63, C = 64, O = 91, I = 93, x = 96, F = 123, q = 124, K = 125, M = {};
  M[0] = "\\0", M[7] = "\\a", M[8] = "\\b", M[9] = "\\t", M[10] = "\\n", M[11] = "\\v", M[12] = "\\f", M[13] = "\\r", M[27] = "\\e", M[34] = '\\"', M[92] = "\\\\", M[133] = "\\N", M[160] = "\\_", M[8232] = "\\L", M[8233] = "\\P";
  var N = [
    "y",
    "Y",
    "yes",
    "Yes",
    "YES",
    "on",
    "On",
    "ON",
    "n",
    "N",
    "no",
    "No",
    "NO",
    "off",
    "Off",
    "OFF"
  ], L = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
  function te(T, se) {
    if (se === null) return {};
    const ve = {}, fe = Object.keys(se);
    for (let V = 0, X = fe.length; V < X; V += 1) {
      let ee = fe[V], ce = String(se[ee]);
      ee.slice(0, 2) === "!!" && (ee = "tag:yaml.org,2002:" + ee.slice(2));
      const ge = T.compiledTypeMap.fallback[ee];
      ge && c.call(ge.styleAliases, ce) && (ce = ge.styleAliases[ce]), ve[ee] = ce;
    }
    return ve;
  }
  function H(T) {
    let se, ve;
    const fe = T.toString(16).toUpperCase();
    if (T <= 255)
      se = "x", ve = 2;
    else if (T <= 65535)
      se = "u", ve = 4;
    else if (T <= 4294967295)
      se = "U", ve = 8;
    else throw new i("code point within a string may not be greater than 0xFFFFFFFF");
    return "\\" + se + r.repeat("0", ve - fe.length) + fe;
  }
  var j = 1, P = 2;
  function k(T) {
    this.schema = T.schema || s, this.indent = Math.max(1, T.indent || 2), this.noArrayIndent = T.noArrayIndent || !1, this.skipInvalid = T.skipInvalid || !1, this.flowLevel = r.isNothing(T.flowLevel) ? -1 : T.flowLevel, this.styleMap = te(this.schema, T.styles || null), this.sortKeys = T.sortKeys || !1, this.lineWidth = T.lineWidth || 80, this.noRefs = T.noRefs || !1, this.noCompatMode = T.noCompatMode || !1, this.condenseFlow = T.condenseFlow || !1, this.quotingType = T.quotingType === '"' ? P : j, this.forceQuotes = T.forceQuotes || !1, this.replacer = typeof T.replacer == "function" ? T.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
  }
  function U(T, se) {
    const ve = r.repeat(" ", se);
    let fe = 0, V = "";
    const X = T.length;
    for (; fe < X; ) {
      let ee;
      const ce = T.indexOf(`
`, fe);
      ce === -1 ? (ee = T.slice(fe), fe = X) : (ee = T.slice(fe, ce + 1), fe = ce + 1), ee.length && ee !== `
` && (V += ve), V += ee;
    }
    return V;
  }
  function Q(T, se) {
    return `
` + r.repeat(" ", T.indent * se);
  }
  function ue(T, se) {
    for (let ve = 0, fe = T.implicitTypes.length; ve < fe; ve += 1) if (T.implicitTypes[ve].resolve(se)) return !0;
    return !1;
  }
  function me(T) {
    return T === a || T === u;
  }
  function we(T) {
    return T >= 32 && T <= 126 || T >= 161 && T <= 55295 && T !== 8232 && T !== 8233 || T >= 57344 && T <= 65533 && T !== n || T >= 65536 && T <= 1114111;
  }
  function Z(T) {
    return we(T) && T !== n && T !== h && T !== o;
  }
  function G(T, se, ve) {
    const fe = Z(T), V = fe && !me(T);
    return (ve ? fe : fe && T !== E && T !== O && T !== I && T !== F && T !== K) && T !== p && !(se === w && !V) || Z(se) && !me(se) && T === p || se === w && V;
  }
  function Y(T) {
    return we(T) && T !== n && !me(T) && T !== S && T !== D && T !== w && T !== E && T !== O && T !== I && T !== F && T !== K && T !== p && T !== m && T !== _ && T !== l && T !== q && T !== b && T !== A && T !== v && T !== f && T !== g && T !== C && T !== x;
  }
  function ne(T) {
    return !me(T) && T !== w;
  }
  function le(T, se) {
    const ve = T.charCodeAt(se);
    let fe;
    return ve >= 55296 && ve <= 56319 && se + 1 < T.length && (fe = T.charCodeAt(se + 1), fe >= 56320 && fe <= 57343) ? (ve - 55296) * 1024 + fe - 56320 + 65536 : ve;
  }
  function B(T) {
    return /^\n* /.test(T);
  }
  var W = 1, ae = 2, Re = 3, Oe = 4, Ee = 5;
  function xe(T, se, ve, fe, V, X, ee, ce) {
    let ge, _e = 0, R = null, J = !1, he = !1;
    const Te = fe !== -1;
    let Ie = -1, je = Y(le(T, 0)) && ne(le(T, T.length - 1));
    if (se || ee) for (ge = 0; ge < T.length; _e >= 65536 ? ge += 2 : ge++) {
      if (_e = le(T, ge), !we(_e)) return Ee;
      je = je && G(_e, R, ce), R = _e;
    }
    else {
      for (ge = 0; ge < T.length; _e >= 65536 ? ge += 2 : ge++) {
        if (_e = le(T, ge), _e === o)
          J = !0, Te && (he = he || ge - Ie - 1 > fe && T[Ie + 1] !== " ", Ie = ge);
        else if (!we(_e)) return Ee;
        je = je && G(_e, R, ce), R = _e;
      }
      he = he || Te && ge - Ie - 1 > fe && T[Ie + 1] !== " ";
    }
    return !J && !he ? je && !ee && !V(T) ? W : X === P ? Ee : ae : ve > 9 && B(T) ? Ee : ee ? X === P ? Ee : ae : he ? Oe : Re;
  }
  function Ne(T, se, ve, fe, V) {
    T.dump = (function() {
      if (se.length === 0) return T.quotingType === P ? '""' : "''";
      if (!T.noCompatMode && (N.indexOf(se) !== -1 || L.test(se)))
        return T.quotingType === P ? '"' + se + '"' : "'" + se + "'";
      const X = T.indent * Math.max(1, ve), ee = T.lineWidth === -1 ? -1 : Math.max(Math.min(T.lineWidth, 40), T.lineWidth - X), ce = fe || T.flowLevel > -1 && ve >= T.flowLevel;
      function ge(_e) {
        return ue(T, _e);
      }
      switch (xe(se, ce, T.indent, ee, ge, T.quotingType, T.forceQuotes && !fe, V)) {
        case W:
          return se;
        case ae:
          return "'" + se.replace(/'/g, "''") + "'";
        case Re:
          return "|" + Me(se, T.indent) + Ce(U(se, X));
        case Oe:
          return ">" + Me(se, T.indent) + Ce(U(Pe(se, ee), X));
        case Ee:
          return '"' + $e(se, ee) + '"';
        default:
          throw new i("impossible error: invalid scalar style");
      }
    })();
  }
  function Me(T, se) {
    const ve = B(T) ? String(se) : "", fe = T[T.length - 1] === `
`;
    return ve + (fe && (T[T.length - 2] === `
` || T === `
`) ? "+" : fe ? "" : "-") + `
`;
  }
  function Ce(T) {
    return T[T.length - 1] === `
` ? T.slice(0, -1) : T;
  }
  function Pe(T, se) {
    const ve = /(\n+)([^\n]*)/g;
    let fe = (function() {
      let ce = T.indexOf(`
`);
      return ce = ce !== -1 ? ce : T.length, ve.lastIndex = ce, Ae(T.slice(0, ce), se);
    })(), V = T[0] === `
` || T[0] === " ", X, ee;
    for (; ee = ve.exec(T); ) {
      const ce = ee[1], ge = ee[2];
      X = ge[0] === " ", fe += ce + (!V && !X && ge !== "" ? `
` : "") + Ae(ge, se), V = X;
    }
    return fe;
  }
  function Ae(T, se) {
    if (T === "" || T[0] === " ") return T;
    const ve = / [^ ]/g;
    let fe, V = 0, X, ee = 0, ce = 0, ge = "";
    for (; fe = ve.exec(T); )
      ce = fe.index, ce - V > se && (X = ee > V ? ee : ce, ge += `
` + T.slice(V, X), V = X + 1), ee = ce;
    return ge += `
`, T.length - V > se && ee > V ? ge += T.slice(V, ee) + `
` + T.slice(ee + 1) : ge += T.slice(V), ge.slice(1);
  }
  function $e(T) {
    let se = "", ve = 0;
    for (let fe = 0; fe < T.length; ve >= 65536 ? fe += 2 : fe++) {
      ve = le(T, fe);
      const V = M[ve];
      !V && we(ve) ? (se += T[fe], ve >= 65536 && (se += T[fe + 1])) : se += V || H(ve);
    }
    return se;
  }
  function De(T, se, ve) {
    let fe = "";
    const V = T.tag;
    for (let X = 0, ee = ve.length; X < ee; X += 1) {
      let ce = ve[X];
      T.replacer && (ce = T.replacer.call(ve, String(X), ce)), (ie(T, se, ce, !1, !1) || typeof ce > "u" && ie(T, se, null, !1, !1)) && (fe !== "" && (fe += "," + (T.condenseFlow ? "" : " ")), fe += T.dump);
    }
    T.tag = V, T.dump = "[" + fe + "]";
  }
  function ye(T, se, ve, fe) {
    let V = "";
    const X = T.tag;
    for (let ee = 0, ce = ve.length; ee < ce; ee += 1) {
      let ge = ve[ee];
      T.replacer && (ge = T.replacer.call(ve, String(ee), ge)), (ie(T, se + 1, ge, !0, !0, !1, !0) || typeof ge > "u" && ie(T, se + 1, null, !0, !0, !1, !0)) && ((!fe || V !== "") && (V += Q(T, se)), T.dump && o === T.dump.charCodeAt(0) ? V += "-" : V += "- ", V += T.dump);
    }
    T.tag = X, T.dump = V || "[]";
  }
  function pe(T, se, ve) {
    let fe = "";
    const V = T.tag, X = Object.keys(ve);
    for (let ee = 0, ce = X.length; ee < ce; ee += 1) {
      let ge = "";
      fe !== "" && (ge += ", "), T.condenseFlow && (ge += '"');
      const _e = X[ee];
      let R = ve[_e];
      T.replacer && (R = T.replacer.call(ve, _e, R)), ie(T, se, _e, !1, !1) && (T.dump.length > 1024 && (ge += "? "), ge += T.dump + (T.condenseFlow ? '"' : "") + ":" + (T.condenseFlow ? "" : " "), ie(T, se, R, !1, !1) && (ge += T.dump, fe += ge));
    }
    T.tag = V, T.dump = "{" + fe + "}";
  }
  function y(T, se, ve, fe) {
    let V = "";
    const X = T.tag, ee = Object.keys(ve);
    if (T.sortKeys === !0) ee.sort();
    else if (typeof T.sortKeys == "function") ee.sort(T.sortKeys);
    else if (T.sortKeys) throw new i("sortKeys must be a boolean or a function");
    for (let ce = 0, ge = ee.length; ce < ge; ce += 1) {
      let _e = "";
      (!fe || V !== "") && (_e += Q(T, se));
      const R = ee[ce];
      let J = ve[R];
      if (T.replacer && (J = T.replacer.call(ve, R, J)), !ie(T, se + 1, R, !0, !0, !0)) continue;
      const he = T.tag !== null && T.tag !== "?" || T.dump && T.dump.length > 1024;
      he && (T.dump && o === T.dump.charCodeAt(0) ? _e += "?" : _e += "? "), _e += T.dump, he && (_e += Q(T, se)), ie(T, se + 1, J, !0, he) && (T.dump && o === T.dump.charCodeAt(0) ? _e += ":" : _e += ": ", _e += T.dump, V += _e);
    }
    T.tag = X, T.dump = V || "{}";
  }
  function $(T, se, ve) {
    const fe = ve ? T.explicitTypes : T.implicitTypes;
    for (let V = 0, X = fe.length; V < X; V += 1) {
      const ee = fe[V];
      if ((ee.instanceOf || ee.predicate) && (!ee.instanceOf || typeof se == "object" && se instanceof ee.instanceOf) && (!ee.predicate || ee.predicate(se))) {
        if (ve ? ee.multi && ee.representName ? T.tag = ee.representName(se) : T.tag = ee.tag : T.tag = "?", ee.represent) {
          const ce = T.styleMap[ee.tag] || ee.defaultStyle;
          let ge;
          if (d.call(ee.represent) === "[object Function]") ge = ee.represent(se, ce);
          else if (c.call(ee.represent, ce)) ge = ee.represent[ce](se, ce);
          else throw new i("!<" + ee.tag + '> tag resolver accepts not "' + ce + '" style');
          T.dump = ge;
        }
        return !0;
      }
    }
    return !1;
  }
  function ie(T, se, ve, fe, V, X, ee) {
    T.tag = null, T.dump = ve, $(T, ve, !1) || $(T, ve, !0);
    const ce = d.call(T.dump), ge = fe;
    fe && (fe = T.flowLevel < 0 || T.flowLevel > se);
    const _e = ce === "[object Object]" || ce === "[object Array]";
    let R, J;
    if (_e && (R = T.duplicates.indexOf(ve), J = R !== -1), (T.tag !== null && T.tag !== "?" || J || T.indent !== 2 && se > 0) && (V = !1), J && T.usedDuplicates[R]) T.dump = "*ref_" + R;
    else {
      if (_e && J && !T.usedDuplicates[R] && (T.usedDuplicates[R] = !0), ce === "[object Object]") fe && Object.keys(T.dump).length !== 0 ? (y(T, se, T.dump, V), J && (T.dump = "&ref_" + R + T.dump)) : (pe(T, se, T.dump), J && (T.dump = "&ref_" + R + " " + T.dump));
      else if (ce === "[object Array]") fe && T.dump.length !== 0 ? (T.noArrayIndent && !ee && se > 0 ? ye(T, se - 1, T.dump, V) : ye(T, se, T.dump, V), J && (T.dump = "&ref_" + R + T.dump)) : (De(T, se, T.dump), J && (T.dump = "&ref_" + R + " " + T.dump));
      else if (ce === "[object String]")
        T.tag !== "?" && Ne(T, T.dump, se, X, ge);
      else {
        if (ce === "[object Undefined]") return !1;
        if (T.skipInvalid) return !1;
        throw new i("unacceptable kind of an object to dump " + ce);
      }
      if (T.tag !== null && T.tag !== "?") {
        let he = encodeURI(T.tag[0] === "!" ? T.tag.slice(1) : T.tag).replace(/!/g, "%21");
        T.tag[0] === "!" ? he = "!" + he : he.slice(0, 18) === "tag:yaml.org,2002:" ? he = "!!" + he.slice(18) : he = "!<" + he + ">", T.dump = he + " " + T.dump;
      }
    }
    return !0;
  }
  function oe(T, se) {
    const ve = [], fe = [];
    re(T, ve, fe);
    const V = fe.length;
    for (let X = 0; X < V; X += 1) se.duplicates.push(ve[fe[X]]);
    se.usedDuplicates = new Array(V);
  }
  function re(T, se, ve) {
    if (T !== null && typeof T == "object") {
      const fe = se.indexOf(T);
      if (fe !== -1)
        ve.indexOf(fe) === -1 && ve.push(fe);
      else if (se.push(T), Array.isArray(T)) for (let V = 0, X = T.length; V < X; V += 1) re(T[V], se, ve);
      else {
        const V = Object.keys(T);
        for (let X = 0, ee = V.length; X < ee; X += 1) re(T[V[X]], se, ve);
      }
    }
  }
  function de(T, se) {
    se = se || {};
    const ve = new k(se);
    ve.noRefs || oe(T, ve);
    let fe = T;
    return ve.replacer && (fe = ve.replacer.call({ "": fe }, "", fe)), ie(ve, 0, fe, !0, !0) ? ve.dump + `
` : "";
  }
  t.exports.dump = de;
})), Rd = /* @__PURE__ */ LE((/* @__PURE__ */ it(((e, t) => {
  var r = $E(), i = NE();
  function s(d, c) {
    return function() {
      throw new Error("Function yaml." + d + " is removed in js-yaml 4. Use yaml." + c + " instead, which is now safe by default.");
    };
  }
  t.exports.Type = Ct(), t.exports.Schema = ud(), t.exports.FAILSAFE_SCHEMA = pd(), t.exports.JSON_SCHEMA = _d(), t.exports.CORE_SCHEMA = bd(), t.exports.DEFAULT_SCHEMA = hl(), t.exports.load = r.load, t.exports.loadAll = r.loadAll, t.exports.dump = i.dump, t.exports.YAMLException = Hi(), t.exports.types = {
    binary: Sd(),
    float: yd(),
    map: dd(),
    null: gd(),
    pairs: Td(),
    set: Dd(),
    timestamp: wd(),
    bool: md(),
    int: vd(),
    merge: Ed(),
    omap: Ad(),
    seq: fd(),
    str: hd()
  }, t.exports.safeLoad = s("safeLoad", "load"), t.exports.safeLoadAll = s("safeLoadAll", "loadAll"), t.exports.safeDump = s("safeDump", "dump");
})))(), 1), { Type: II, Schema: kI, FAILSAFE_SCHEMA: LI, JSON_SCHEMA: xI, CORE_SCHEMA: $I, DEFAULT_SCHEMA: NI, load: PI, loadAll: BI, dump: FI, YAMLException: MI, types: jI, safeLoad: UI, safeLoadAll: HI, safeDump: qI } = Rd.default, _i = Rd.default, PE = /* @__PURE__ */ z(((e, t) => {
  var r = be("stream").Transform;
  function i(s) {
    if (!(this instanceof i)) throw new TypeError("Cannot call a class as a function");
    s = s || {}, r.call(this, { objectMode: !0 }), this._memory = "", this._emitInvalidLines = s.emitInvalidLines || !1;
  }
  i.prototype = Object.create(r.prototype), i.prototype._handleLines = function(s, d) {
    for (var c = 0; c < s.length; c++)
      if (s[c] !== "") {
        var n = null, u = null;
        try {
          u = JSON.parse(s[c]);
        } catch (o) {
          o.source = s[c], n = o;
        }
        if (n) if (this._emitInvalidLines) this.emit("invalid-line", n);
        else return d(n);
        else this.push(u);
      }
    d(null);
  }, i.prototype._transform = function(s, d, c) {
    var n = (this._memory + s.toString()).split(`
`);
    this._memory = n.pop(), this._handleLines(n, c);
  }, i.prototype._flush = function(s) {
    if (!this._memory) return s(null);
    var d = this._memory;
    this._memory = "", this._handleLines([d], s);
  }, t.exports = i;
})), BE = /* @__PURE__ */ z(((e, t) => {
  var r = be("stream").Transform;
  function i() {
    if (!(this instanceof i)) throw new TypeError("Cannot call a class as a function");
    r.call(this, { objectMode: !0 });
  }
  i.prototype = Object.create(r.prototype), i.prototype._transform = function(s, d, c) {
    var n;
    try {
      n = JSON.stringify(s);
    } catch (u) {
      return u.source = s, c(u);
    }
    c(null, n + `
`);
  }, t.exports = i;
})), FE = /* @__PURE__ */ z(((e) => {
  var t = PE(), r = BE();
  e.parse = function(s) {
    return new t(s);
  };
})), ME = /* @__PURE__ */ ft({
  default: () => pl,
  defaultPrefix: () => qE,
  distTag: () => zE,
  getEngines: () => QE,
  getPathToLookForYarnrc: () => fl,
  getPeerDependencies: () => XE,
  greatest: () => WE,
  latest: () => VE,
  list: () => GE,
  minor: () => YE,
  newest: () => KE,
  npmAuthTokenKeyValue: () => oo,
  packageAuthorChanged: () => eS,
  patch: () => ZE,
  semver: () => JE,
  yarnApi: () => Id
}), Od = /* @__PURE__ */ Lt(FE(), 1), Cd = (e, t) => e.replace(/\$\{([^:-]+)(?:(:)?-([^}]*))?\}/g, (r, i, s, d, c) => t[i] || (d ? c : "")), oo = Po((e, t, r) => {
  if (r.npmAuthToken) {
    const i = r.npmRegistryServer || e[`@${t}:registry`];
    if (i) {
      let s = i.replace(/^https?:/, "");
      return s.endsWith("/") && (s = s.slice(0, -1)), { [`${s}/:_authToken`]: Cd(r.npmAuthToken, process.env) };
    }
  }
  return null;
}), Nc = (e, t) => t.npmRegistryServer ? { [`@${e}:registry`]: Cd(t.npmRegistryServer, process.env) } : null;
async function fl(e, t = Xe.readdir) {
  if (e.global) return;
  const r = (await fh(e, t))?.directoryPath;
  if (r)
    return qe.join(r, ".yarnrc.yml");
}
var dl = (0, _r.default)(async (e) => {
  const t = await fl(e), r = qe.join(Jt.homedir(), ".yarnrc.yml"), i = typeof t == "string" && await fi(t), s = await fi(r), d = i ? await Xe.readFile(t, "utf-8") : "", c = s ? await Xe.readFile(r, "utf-8") : "", n = _i.load(d), u = _i.load(c);
  let o = {
    ...et(u?.npmScopes || {}, Nc),
    ...et(n?.npmScopes || {}, Nc)
  };
  return o = {
    ...o,
    ...et(u?.npmScopes || {}, oo(o)),
    ...et(n?.npmScopes || {}, oo(o))
  }, i && (Fe(e, `
Using local yarn config at ${t}:`, "verbose"), Fe(e, n, "verbose")), s && (Fe(e, `
Using user yarn config at ${r}:`, "verbose"), Fe(e, n, "verbose")), Object.keys(o) && (Fe(e, `
Merged yarn config in npm format:`, "verbose"), Fe(e, o, "verbose")), o;
}), jE = (0, _r.default)(async (e) => {
  const t = await fl(e), r = qe.join(Jt.homedir(), ".yarnrc.yml");
  for (const i of [t, r]) {
    if (!i || !await fi(i)) continue;
    let s;
    try {
      s = await Xe.readFile(i, "utf-8");
    } catch {
      continue;
    }
    let d;
    try {
      d = _i.load(s) ?? {};
    } catch {
      continue;
    }
    const { npmMinimalAgeGate: c } = d;
    let n;
    if (typeof c == "number") {
      if (isNaN(c) || c <= 0) continue;
      n = c;
    } else if (typeof c == "string") {
      const h = vi(c);
      if (h === null || h <= 0) continue;
      n = h * 1440;
    } else continue;
    const u = d.npmPreapprovedPackages, o = Array.isArray(u) ? u.filter((h) => typeof h == "string") : [];
    return {
      npmMinimalAgeGate: n,
      npmPreapprovedPackages: o
    };
  }
  return null;
});
function UE(e) {
  return new Promise((t, r) => {
    const i = {}, s = Od.parse();
    s.on("data", (d) => {
      if (d.type === "info" && !d.data.match(/^Visit/)) {
        const [, c, n] = d.data.match(/"(@?.*)@(.*)"/) || [];
        i[c] = {
          version: n,
          from: c
        };
      } else d.type === "error" && r(new Error(d.data));
    }), s.on("end", () => {
      t({ dependencies: i });
    }), s.on("error", r), s.write(e), s.end();
  });
}
function HE(e) {
  return new Promise((t, r) => {
    const i = Od.parse();
    let s = !1;
    i.on("data", (d) => {
      s || (s = !0, t(JSON.stringify(d)));
    }), i.on("error", r), i.write(e), i.end();
  });
}
async function pl(e, t = {}, r = {}, i = {}) {
  const { stdout: s } = await Vt("yarn", [
    ...t.global ? ["global"] : [],
    ...t.prefix ? [`--prefix=${t.prefix}`] : [],
    "--depth=0",
    "--json",
    "--no-progress",
    ...Array.isArray(e) ? e : [e]
  ], r, i);
  return s;
}
async function qE(e) {
  if (e.prefix) return Promise.resolve(e.prefix);
  const { stdout: t } = await Vt("yarn", ["global", "dir"]).catch(() => ({ stdout: null }));
  return e.global && t && t.match("Cellar") ? "/usr/local" : process.platform === "win32" && e.global && !process.env.prefix ? t ? t.trim() : `${process.env.LOCALAPPDATA}\\Yarn\\Data\\global` : null;
}
var GE = async (e = {}, t) => et((await UE(await pl("list", e, {}, {
  ...e.cwd ? { cwd: e.cwd } : {},
  ...t
}))).dependencies, (r, i) => ({ [r]: i.version || i.required?.version })), Tr = (e) => async (t, r, i = {}) => e(t, r, i, await dl(i)), zE = Tr(Pi), WE = Tr(Yr), VE = Tr(Wn), YE = Tr(Yn), KE = Tr(Vn), ZE = Tr(Kn), JE = Tr(Zn), XE = async (e, t, r) => {
  const { stdout: i } = await Vt("yarn", ["--version"], { rejectOnError: !1 }, r);
  if (i.startsWith("1")) {
    const s = [
      "--json",
      "info",
      `${e}@${t}`,
      "peerDependencies"
    ], { stdout: d } = await Vt("yarn", s, { rejectOnError: !1 }, r);
    return d ? Pr(d, { command: s.join(" ") }).data || {} : {};
  } else {
    const s = [
      "--json",
      "npm",
      "info",
      `${e}@${t}`,
      "--fields",
      "peerDependencies"
    ], { stdout: d } = await Vt("yarn", s, { rejectOnError: !1 }, r);
    if (!d) return {};
    try {
      return Pr(d, { command: s.join(" ") }).peerDependencies || {};
    } catch (c) {
      try {
        const n = await HE(d);
        if (n) return Pr(n, { command: s.join(" ") }).peerDependencies || {};
      } catch {
      }
      throw c;
    }
  }
}, QE = async (e, t, r = {}) => zn(e, t, r, await dl(r)), eS = async (e, t, r, i = {}) => qn(e, t, r, i, await dl(i)), Id = { getYarnMinimalAgeGate: jE };
function We(e, t, { color: r = !0 } = {}) {
  if (e.cli)
    Fe(e, r ? Se.red(t) : t, null, "error"), process.exit(1);
  else throw new Error(t);
}
var gl = async (e, t) => {
  let r, i;
  try {
    i = await Xe.readFile(t, "utf-8"), r = JSON.parse(i);
  } catch {
    We(e, `Missing or invalid ${t}`);
  }
  return {
    name: void 0,
    pkg: r,
    pkgFile: i,
    filepath: t
  };
}, Pc;
function Le(e, t, r) {
  function i(n, u) {
    if (n._zod || Object.defineProperty(n, "_zod", {
      value: {
        def: u,
        constr: c,
        traits: /* @__PURE__ */ new Set()
      },
      enumerable: !1
    }), n._zod.traits.has(e)) return;
    n._zod.traits.add(e), t(n, u);
    const o = c.prototype, h = Object.keys(o);
    for (let a = 0; a < h.length; a++) {
      const l = h[a];
      l in n || (n[l] = o[l].bind(n));
    }
  }
  const s = r?.Parent ?? Object;
  class d extends s {
  }
  Object.defineProperty(d, "name", { value: e });
  function c(n) {
    var u;
    const o = r?.Parent ? new d() : this;
    i(o, n), (u = o._zod).deferred ?? (u.deferred = []);
    for (const h of o._zod.deferred) h();
    return o;
  }
  return Object.defineProperty(c, "init", { value: i }), Object.defineProperty(c, Symbol.hasInstance, { value: (n) => r?.Parent && n instanceof r.Parent ? !0 : n?._zod?.traits?.has(e) }), Object.defineProperty(c, "name", { value: e }), c;
}
var Br = class extends Error {
  constructor() {
    super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
  }
}, kd = class extends Error {
  constructor(e) {
    super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
  }
};
(Pc = globalThis).__zod_globalConfig ?? (Pc.__zod_globalConfig = {});
var gn = globalThis.__zod_globalConfig;
function Xt(e) {
  return e && Object.assign(gn, e), gn;
}
function Ld(e) {
  const t = Object.values(e).filter((r) => typeof r == "number");
  return Object.entries(e).filter(([r, i]) => t.indexOf(+r) === -1).map(([r, i]) => i);
}
function lo(e, t) {
  return typeof t == "bigint" ? t.toString() : t;
}
function ml(e) {
  return { get value() {
    {
      const t = e();
      return Object.defineProperty(this, "value", { value: t }), t;
    }
    throw new Error("cached value already set");
  } };
}
function vl(e) {
  return e == null;
}
function yl(e) {
  const t = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
  return e.slice(t, r);
}
var Bc = /* @__PURE__ */ Symbol("evaluating");
function tt(e, t, r) {
  let i;
  Object.defineProperty(e, t, {
    get() {
      if (i !== Bc)
        return i === void 0 && (i = Bc, i = r()), i;
    },
    set(s) {
      Object.defineProperty(e, t, { value: s });
    },
    configurable: !0
  });
}
function Dr(e, t, r) {
  Object.defineProperty(e, t, {
    value: r,
    writable: !0,
    enumerable: !0,
    configurable: !0
  });
}
function or(...e) {
  const t = {};
  for (const r of e) Object.assign(t, Object.getOwnPropertyDescriptors(r));
  return Object.defineProperties({}, t);
}
function Fc(e) {
  return JSON.stringify(e);
}
function tS(e) {
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
var xd = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
};
function mn(e) {
  return typeof e == "object" && e !== null && !Array.isArray(e);
}
var rS = /* @__PURE__ */ ml(() => {
  if (gn.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
  try {
    return new Function(""), !0;
  } catch {
    return !1;
  }
});
function qr(e) {
  if (mn(e) === !1) return !1;
  const t = e.constructor;
  if (t === void 0 || typeof t != "function") return !0;
  const r = t.prototype;
  return !(mn(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
}
function $d(e) {
  return qr(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
}
var iS = /* @__PURE__ */ new Set([
  "string",
  "number",
  "symbol"
]);
function os(e) {
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function lr(e, t, r) {
  const i = new e._zod.constr(t ?? e._zod.def);
  return (!t || r?.parent) && (i._zod.parent = e), i;
}
function Ge(e) {
  const t = e;
  if (!t) return {};
  if (typeof t == "string") return { error: () => t };
  if (t?.message !== void 0) {
    if (t?.error !== void 0) throw new Error("Cannot specify both `message` and `error` params");
    t.error = t.message;
  }
  return delete t.message, typeof t.error == "string" ? {
    ...t,
    error: () => t.error
  } : t;
}
function nS(e) {
  return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
}
var GI = {
  safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
  int32: [-2147483648, 2147483647],
  uint32: [0, 4294967295],
  float32: [-34028234663852886e22, 34028234663852886e22],
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
};
function sS(e, t) {
  const r = e._zod.def, i = r.checks;
  if (i && i.length > 0) throw new Error(".pick() cannot be used on object schemas containing refinements");
  return lr(e, or(e._zod.def, {
    get shape() {
      const s = {};
      for (const d in t) {
        if (!(d in r.shape)) throw new Error(`Unrecognized key: "${d}"`);
        t[d] && (s[d] = r.shape[d]);
      }
      return Dr(this, "shape", s), s;
    },
    checks: []
  }));
}
function aS(e, t) {
  const r = e._zod.def, i = r.checks;
  if (i && i.length > 0) throw new Error(".omit() cannot be used on object schemas containing refinements");
  return lr(e, or(e._zod.def, {
    get shape() {
      const s = { ...e._zod.def.shape };
      for (const d in t) {
        if (!(d in r.shape)) throw new Error(`Unrecognized key: "${d}"`);
        t[d] && delete s[d];
      }
      return Dr(this, "shape", s), s;
    },
    checks: []
  }));
}
function oS(e, t) {
  if (!qr(t)) throw new Error("Invalid input to extend: expected a plain object");
  const r = e._zod.def.checks;
  if (r && r.length > 0) {
    const i = e._zod.def.shape;
    for (const s in t) if (Object.getOwnPropertyDescriptor(i, s) !== void 0) throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
  }
  return lr(e, or(e._zod.def, { get shape() {
    const i = {
      ...e._zod.def.shape,
      ...t
    };
    return Dr(this, "shape", i), i;
  } }));
}
function lS(e, t) {
  if (!qr(t)) throw new Error("Invalid input to safeExtend: expected a plain object");
  return lr(e, or(e._zod.def, { get shape() {
    const r = {
      ...e._zod.def.shape,
      ...t
    };
    return Dr(this, "shape", r), r;
  } }));
}
function cS(e, t) {
  if (e._zod.def.checks?.length) throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
  return lr(e, or(e._zod.def, {
    get shape() {
      const r = {
        ...e._zod.def.shape,
        ...t._zod.def.shape
      };
      return Dr(this, "shape", r), r;
    },
    get catchall() {
      return t._zod.def.catchall;
    },
    checks: t._zod.def.checks ?? []
  }));
}
function uS(e, t, r) {
  const i = t._zod.def.checks;
  if (i && i.length > 0) throw new Error(".partial() cannot be used on object schemas containing refinements");
  return lr(t, or(t._zod.def, {
    get shape() {
      const s = t._zod.def.shape, d = { ...s };
      if (r) for (const c in r) {
        if (!(c in s)) throw new Error(`Unrecognized key: "${c}"`);
        r[c] && (d[c] = e ? new e({
          type: "optional",
          innerType: s[c]
        }) : s[c]);
      }
      else for (const c in s) d[c] = e ? new e({
        type: "optional",
        innerType: s[c]
      }) : s[c];
      return Dr(this, "shape", d), d;
    },
    checks: []
  }));
}
function hS(e, t, r) {
  return lr(t, or(t._zod.def, { get shape() {
    const i = t._zod.def.shape, s = { ...i };
    if (r) for (const d in r) {
      if (!(d in s)) throw new Error(`Unrecognized key: "${d}"`);
      r[d] && (s[d] = new e({
        type: "nonoptional",
        innerType: i[d]
      }));
    }
    else for (const d in i) s[d] = new e({
      type: "nonoptional",
      innerType: i[d]
    });
    return Dr(this, "shape", s), s;
  } }));
}
function kr(e, t = 0) {
  if (e.aborted === !0) return !0;
  for (let r = t; r < e.issues.length; r++) if (e.issues[r]?.continue !== !0) return !0;
  return !1;
}
function fS(e, t = 0) {
  if (e.aborted === !0) return !0;
  for (let r = t; r < e.issues.length; r++) if (e.issues[r]?.continue === !1) return !0;
  return !1;
}
function Lr(e, t) {
  return t.map((r) => {
    var i;
    return (i = r).path ?? (i.path = []), r.path.unshift(e), r;
  });
}
function Ki(e) {
  return typeof e == "string" ? e : e?.message;
}
function Qt(e, t, r) {
  const i = e.message ? e.message : Ki(e.inst?._zod.def?.error?.(e)) ?? Ki(t?.error?.(e)) ?? Ki(r.customError?.(e)) ?? Ki(r.localeError?.(e)) ?? "Invalid input", { inst: s, continue: d, input: c, ...n } = e;
  return n.path ?? (n.path = []), n.message = i, t?.reportInput && (n.input = c), n;
}
function _l(e) {
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
function bi(...e) {
  const [t, r, i] = e;
  return typeof t == "string" ? {
    message: t,
    code: "custom",
    input: r,
    inst: i
  } : { ...t };
}
var Nd = (e, t) => {
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
    value: e._zod,
    enumerable: !1
  }), Object.defineProperty(e, "issues", {
    value: t,
    enumerable: !1
  }), e.message = JSON.stringify(t, lo, 2), Object.defineProperty(e, "toString", {
    value: () => e.message,
    enumerable: !1
  });
}, Pd = Le("$ZodError", Nd), Bd = Le("$ZodError", Nd, { Parent: Error });
function dS(e, t = (r) => r.message) {
  const r = {}, i = [];
  for (const s of e.issues) s.path.length > 0 ? (r[s.path[0]] = r[s.path[0]] || [], r[s.path[0]].push(t(s))) : i.push(t(s));
  return {
    formErrors: i,
    fieldErrors: r
  };
}
function pS(e, t = (r) => r.message) {
  const r = { _errors: [] }, i = (s, d = []) => {
    for (const c of s.issues) if (c.code === "invalid_union" && c.errors.length) c.errors.map((n) => i({ issues: n }, [...d, ...c.path]));
    else if (c.code === "invalid_key") i({ issues: c.issues }, [...d, ...c.path]);
    else if (c.code === "invalid_element") i({ issues: c.issues }, [...d, ...c.path]);
    else {
      const n = [...d, ...c.path];
      if (n.length === 0) r._errors.push(t(c));
      else {
        let u = r, o = 0;
        for (; o < n.length; ) {
          const h = n[o];
          o !== n.length - 1 ? u[h] = u[h] || { _errors: [] } : (u[h] = u[h] || { _errors: [] }, u[h]._errors.push(t(c))), u = u[h], o++;
        }
      }
    }
  };
  return i(e), r;
}
var bl = (e) => (t, r, i, s) => {
  const d = i ? {
    ...i,
    async: !1
  } : { async: !1 }, c = t._zod.run({
    value: r,
    issues: []
  }, d);
  if (c instanceof Promise) throw new Br();
  if (c.issues.length) {
    const n = new (s?.Err ?? e)(c.issues.map((u) => Qt(u, d, Xt())));
    throw xd(n, s?.callee), n;
  }
  return c.value;
}, wl = (e) => async (t, r, i, s) => {
  const d = i ? {
    ...i,
    async: !0
  } : { async: !0 };
  let c = t._zod.run({
    value: r,
    issues: []
  }, d);
  if (c instanceof Promise && (c = await c), c.issues.length) {
    const n = new (s?.Err ?? e)(c.issues.map((u) => Qt(u, d, Xt())));
    throw xd(n, s?.callee), n;
  }
  return c.value;
}, ls = (e) => (t, r, i) => {
  const s = i ? {
    ...i,
    async: !1
  } : { async: !1 }, d = t._zod.run({
    value: r,
    issues: []
  }, s);
  if (d instanceof Promise) throw new Br();
  return d.issues.length ? {
    success: !1,
    error: new (e ?? Pd)(d.issues.map((c) => Qt(c, s, Xt())))
  } : {
    success: !0,
    data: d.value
  };
}, gS = /* @__PURE__ */ ls(Bd), cs = (e) => async (t, r, i) => {
  const s = i ? {
    ...i,
    async: !0
  } : { async: !0 };
  let d = t._zod.run({
    value: r,
    issues: []
  }, s);
  return d instanceof Promise && (d = await d), d.issues.length ? {
    success: !1,
    error: new e(d.issues.map((c) => Qt(c, s, Xt())))
  } : {
    success: !0,
    data: d.value
  };
}, mS = /* @__PURE__ */ cs(Bd), vS = (e) => (t, r, i) => {
  const s = i ? {
    ...i,
    direction: "backward"
  } : { direction: "backward" };
  return bl(e)(t, r, s);
}, yS = (e) => (t, r, i) => bl(e)(t, r, i), _S = (e) => async (t, r, i) => {
  const s = i ? {
    ...i,
    direction: "backward"
  } : { direction: "backward" };
  return wl(e)(t, r, s);
}, bS = (e) => async (t, r, i) => wl(e)(t, r, i), wS = (e) => (t, r, i) => {
  const s = i ? {
    ...i,
    direction: "backward"
  } : { direction: "backward" };
  return ls(e)(t, r, s);
}, ES = (e) => (t, r, i) => ls(e)(t, r, i), SS = (e) => async (t, r, i) => {
  const s = i ? {
    ...i,
    direction: "backward"
  } : { direction: "backward" };
  return cs(e)(t, r, s);
}, AS = (e) => async (t, r, i) => cs(e)(t, r, i), TS = /^[cC][0-9a-z]{6,}$/, DS = /^[0-9a-z]+$/, RS = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, OS = /^[0-9a-vA-V]{20}$/, CS = /^[A-Za-z0-9]{27}$/, IS = /^[a-zA-Z0-9_-]{21}$/, kS = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, LS = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Mc = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, xS = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, $S = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
function NS() {
  return new RegExp($S, "u");
}
var PS = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, BS = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, FS = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, MS = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, jS = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Fd = /^[A-Za-z0-9_-]*$/, US = /^https?$/, HS = /^\+[1-9]\d{6,14}$/, Md = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", qS = /* @__PURE__ */ new RegExp(`^${Md}$`);
function jd(e) {
  const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
  return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
}
function GS(e) {
  return new RegExp(`^${jd(e)}$`);
}
function zS(e) {
  const t = jd({ precision: e.precision }), r = ["Z"];
  e.local && r.push(""), e.offset && r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
  const i = `${t}(?:${r.join("|")})`;
  return new RegExp(`^${Md}T(?:${i})$`);
}
var WS = (e) => {
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
  return new RegExp(`^${t}$`);
}, VS = /^-?\d+(?:\.\d+)?$/, YS = /^[^A-Z]*$/, KS = /^[^a-z]*$/, Kt = /* @__PURE__ */ Le("$ZodCheck", (e, t) => {
  var r;
  e._zod ?? (e._zod = {}), e._zod.def = t, (r = e._zod).onattach ?? (r.onattach = []);
}), ZS = /* @__PURE__ */ Le("$ZodCheckMaxLength", (e, t) => {
  var r;
  Kt.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
    t.maximum < s && (i._zod.bag.maximum = t.maximum);
  }), e._zod.check = (i) => {
    const s = i.value;
    if (s.length <= t.maximum) return;
    const d = _l(s);
    i.issues.push({
      origin: d,
      code: "too_big",
      maximum: t.maximum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), JS = /* @__PURE__ */ Le("$ZodCheckMinLength", (e, t) => {
  var r;
  Kt.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
    t.minimum > s && (i._zod.bag.minimum = t.minimum);
  }), e._zod.check = (i) => {
    const s = i.value;
    if (s.length >= t.minimum) return;
    const d = _l(s);
    i.issues.push({
      origin: d,
      code: "too_small",
      minimum: t.minimum,
      inclusive: !0,
      input: s,
      inst: e,
      continue: !t.abort
    });
  };
}), XS = /* @__PURE__ */ Le("$ZodCheckLengthEquals", (e, t) => {
  var r;
  Kt.init(e, t), (r = e._zod.def).when ?? (r.when = (i) => {
    const s = i.value;
    return !vl(s) && s.length !== void 0;
  }), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.minimum = t.length, s.maximum = t.length, s.length = t.length;
  }), e._zod.check = (i) => {
    const s = i.value, d = s.length;
    if (d === t.length) return;
    const c = _l(s), n = d > t.length;
    i.issues.push({
      origin: c,
      ...n ? {
        code: "too_big",
        maximum: t.length
      } : {
        code: "too_small",
        minimum: t.length
      },
      inclusive: !0,
      exact: !0,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), us = /* @__PURE__ */ Le("$ZodCheckStringFormat", (e, t) => {
  var r, i;
  Kt.init(e, t), e._zod.onattach.push((s) => {
    const d = s._zod.bag;
    d.format = t.format, t.pattern && (d.patterns ?? (d.patterns = /* @__PURE__ */ new Set()), d.patterns.add(t.pattern));
  }), t.pattern ? (r = e._zod).check ?? (r.check = (s) => {
    t.pattern.lastIndex = 0, !t.pattern.test(s.value) && s.issues.push({
      origin: "string",
      code: "invalid_format",
      format: t.format,
      input: s.value,
      ...t.pattern ? { pattern: t.pattern.toString() } : {},
      inst: e,
      continue: !t.abort
    });
  }) : (i = e._zod).check ?? (i.check = () => {
  });
}), QS = /* @__PURE__ */ Le("$ZodCheckRegex", (e, t) => {
  us.init(e, t), e._zod.check = (r) => {
    t.pattern.lastIndex = 0, !t.pattern.test(r.value) && r.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "regex",
      input: r.value,
      pattern: t.pattern.toString(),
      inst: e,
      continue: !t.abort
    });
  };
}), eA = /* @__PURE__ */ Le("$ZodCheckLowerCase", (e, t) => {
  t.pattern ?? (t.pattern = YS), us.init(e, t);
}), tA = /* @__PURE__ */ Le("$ZodCheckUpperCase", (e, t) => {
  t.pattern ?? (t.pattern = KS), us.init(e, t);
}), rA = /* @__PURE__ */ Le("$ZodCheckIncludes", (e, t) => {
  Kt.init(e, t);
  const r = os(t.includes), i = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${r}` : r);
  t.pattern = i, e._zod.onattach.push((s) => {
    const d = s._zod.bag;
    d.patterns ?? (d.patterns = /* @__PURE__ */ new Set()), d.patterns.add(i);
  }), e._zod.check = (s) => {
    s.value.includes(t.includes, t.position) || s.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "includes",
      includes: t.includes,
      input: s.value,
      inst: e,
      continue: !t.abort
    });
  };
}), iA = /* @__PURE__ */ Le("$ZodCheckStartsWith", (e, t) => {
  Kt.init(e, t);
  const r = new RegExp(`^${os(t.prefix)}.*`);
  t.pattern ?? (t.pattern = r), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(r);
  }), e._zod.check = (i) => {
    i.value.startsWith(t.prefix) || i.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "starts_with",
      prefix: t.prefix,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), nA = /* @__PURE__ */ Le("$ZodCheckEndsWith", (e, t) => {
  Kt.init(e, t);
  const r = new RegExp(`.*${os(t.suffix)}$`);
  t.pattern ?? (t.pattern = r), e._zod.onattach.push((i) => {
    const s = i._zod.bag;
    s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(r);
  }), e._zod.check = (i) => {
    i.value.endsWith(t.suffix) || i.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "ends_with",
      suffix: t.suffix,
      input: i.value,
      inst: e,
      continue: !t.abort
    });
  };
}), sA = /* @__PURE__ */ Le("$ZodCheckOverwrite", (e, t) => {
  Kt.init(e, t), e._zod.check = (r) => {
    r.value = t.tx(r.value);
  };
}), aA = class {
  constructor(e = []) {
    this.content = [], this.indent = 0, this && (this.args = e);
  }
  indented(e) {
    this.indent += 1, e(this), this.indent -= 1;
  }
  write(e) {
    if (typeof e == "function") {
      e(this, { execution: "sync" }), e(this, { execution: "async" });
      return;
    }
    const t = e.split(`
`).filter((s) => s), r = Math.min(...t.map((s) => s.length - s.trimStart().length)), i = t.map((s) => s.slice(r)).map((s) => " ".repeat(this.indent * 2) + s);
    for (const s of i) this.content.push(s);
  }
  compile() {
    const e = Function, t = this?.args, r = [...(this?.content ?? [""]).map((i) => `  ${i}`)];
    return new e(...t, r.join(`
`));
  }
}, oA = {
  major: 4,
  minor: 4,
  patch: 3
}, gt = /* @__PURE__ */ Le("$ZodType", (e, t) => {
  var r;
  e ?? (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = oA;
  const i = [...e._zod.def.checks ?? []];
  e._zod.traits.has("$ZodCheck") && i.unshift(e);
  for (const s of i) for (const d of s._zod.onattach) d(e);
  if (i.length === 0)
    (r = e._zod).deferred ?? (r.deferred = []), e._zod.deferred?.push(() => {
      e._zod.run = e._zod.parse;
    });
  else {
    const s = (c, n, u) => {
      let o = kr(c), h;
      for (const a of n) {
        if (a._zod.def.when) {
          if (fS(c) || !a._zod.def.when(c)) continue;
        } else if (o) continue;
        const l = c.issues.length, f = a._zod.check(c);
        if (f instanceof Promise && u?.async === !1) throw new Br();
        if (h || f instanceof Promise) h = (h ?? Promise.resolve()).then(async () => {
          await f, c.issues.length !== l && (o || (o = kr(c, l)));
        });
        else {
          if (c.issues.length === l) continue;
          o || (o = kr(c, l));
        }
      }
      return h ? h.then(() => c) : c;
    }, d = (c, n, u) => {
      if (kr(c))
        return c.aborted = !0, c;
      const o = s(n, i, u);
      if (o instanceof Promise) {
        if (u.async === !1) throw new Br();
        return o.then((h) => e._zod.parse(h, u));
      }
      return e._zod.parse(o, u);
    };
    e._zod.run = (c, n) => {
      if (n.skipChecks) return e._zod.parse(c, n);
      if (n.direction === "backward") {
        const o = e._zod.parse({
          value: c.value,
          issues: []
        }, {
          ...n,
          skipChecks: !0
        });
        return o instanceof Promise ? o.then((h) => d(h, c, n)) : d(o, c, n);
      }
      const u = e._zod.parse(c, n);
      if (u instanceof Promise) {
        if (n.async === !1) throw new Br();
        return u.then((o) => s(o, i, n));
      }
      return s(u, i, n);
    };
  }
  tt(e, "~standard", () => ({
    validate: (s) => {
      try {
        const d = gS(e, s);
        return d.success ? { value: d.data } : { issues: d.error?.issues };
      } catch {
        return mS(e, s).then((c) => c.success ? { value: c.data } : { issues: c.error?.issues });
      }
    },
    vendor: "zod",
    version: 1
  }));
}), El = /* @__PURE__ */ Le("$ZodString", (e, t) => {
  gt.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? WS(e._zod.bag), e._zod.parse = (r, i) => {
    if (t.coerce) try {
      r.value = String(r.value);
    } catch {
    }
    return typeof r.value == "string" || r.issues.push({
      expected: "string",
      code: "invalid_type",
      input: r.value,
      inst: e
    }), r;
  };
}), ct = /* @__PURE__ */ Le("$ZodStringFormat", (e, t) => {
  us.init(e, t), El.init(e, t);
}), lA = /* @__PURE__ */ Le("$ZodGUID", (e, t) => {
  t.pattern ?? (t.pattern = LS), ct.init(e, t);
}), cA = /* @__PURE__ */ Le("$ZodUUID", (e, t) => {
  if (t.version) {
    const r = {
      v1: 1,
      v2: 2,
      v3: 3,
      v4: 4,
      v5: 5,
      v6: 6,
      v7: 7,
      v8: 8
    }[t.version];
    if (r === void 0) throw new Error(`Invalid UUID version: "${t.version}"`);
    t.pattern ?? (t.pattern = Mc(r));
  } else t.pattern ?? (t.pattern = Mc());
  ct.init(e, t);
}), uA = /* @__PURE__ */ Le("$ZodEmail", (e, t) => {
  t.pattern ?? (t.pattern = xS), ct.init(e, t);
}), hA = /* @__PURE__ */ Le("$ZodURL", (e, t) => {
  ct.init(e, t), e._zod.check = (r) => {
    try {
      const i = r.value.trim();
      if (!t.normalize && t.protocol?.source === US.source && !/^https?:\/\//i.test(i)) {
        r.issues.push({
          code: "invalid_format",
          format: "url",
          note: "Invalid URL format",
          input: r.value,
          inst: e,
          continue: !t.abort
        });
        return;
      }
      const s = new URL(i);
      t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(s.hostname) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid hostname",
        pattern: t.hostname.source,
        input: r.value,
        inst: e,
        continue: !t.abort
      })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(s.protocol.endsWith(":") ? s.protocol.slice(0, -1) : s.protocol) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid protocol",
        pattern: t.protocol.source,
        input: r.value,
        inst: e,
        continue: !t.abort
      })), t.normalize ? r.value = s.href : r.value = i;
      return;
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "url",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
}), fA = /* @__PURE__ */ Le("$ZodEmoji", (e, t) => {
  t.pattern ?? (t.pattern = NS()), ct.init(e, t);
}), dA = /* @__PURE__ */ Le("$ZodNanoID", (e, t) => {
  t.pattern ?? (t.pattern = IS), ct.init(e, t);
}), pA = /* @__PURE__ */ Le("$ZodCUID", (e, t) => {
  t.pattern ?? (t.pattern = TS), ct.init(e, t);
}), gA = /* @__PURE__ */ Le("$ZodCUID2", (e, t) => {
  t.pattern ?? (t.pattern = DS), ct.init(e, t);
}), mA = /* @__PURE__ */ Le("$ZodULID", (e, t) => {
  t.pattern ?? (t.pattern = RS), ct.init(e, t);
}), vA = /* @__PURE__ */ Le("$ZodXID", (e, t) => {
  t.pattern ?? (t.pattern = OS), ct.init(e, t);
}), yA = /* @__PURE__ */ Le("$ZodKSUID", (e, t) => {
  t.pattern ?? (t.pattern = CS), ct.init(e, t);
}), _A = /* @__PURE__ */ Le("$ZodISODateTime", (e, t) => {
  t.pattern ?? (t.pattern = zS(t)), ct.init(e, t);
}), bA = /* @__PURE__ */ Le("$ZodISODate", (e, t) => {
  t.pattern ?? (t.pattern = qS), ct.init(e, t);
}), wA = /* @__PURE__ */ Le("$ZodISOTime", (e, t) => {
  t.pattern ?? (t.pattern = GS(t)), ct.init(e, t);
}), EA = /* @__PURE__ */ Le("$ZodISODuration", (e, t) => {
  t.pattern ?? (t.pattern = kS), ct.init(e, t);
}), SA = /* @__PURE__ */ Le("$ZodIPv4", (e, t) => {
  t.pattern ?? (t.pattern = PS), ct.init(e, t), e._zod.bag.format = "ipv4";
}), AA = /* @__PURE__ */ Le("$ZodIPv6", (e, t) => {
  t.pattern ?? (t.pattern = BS), ct.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (r) => {
    try {
      new URL(`http://[${r.value}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "ipv6",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
}), TA = /* @__PURE__ */ Le("$ZodCIDRv4", (e, t) => {
  t.pattern ?? (t.pattern = FS), ct.init(e, t);
}), DA = /* @__PURE__ */ Le("$ZodCIDRv6", (e, t) => {
  t.pattern ?? (t.pattern = MS), ct.init(e, t), e._zod.check = (r) => {
    const i = r.value.split("/");
    try {
      if (i.length !== 2) throw new Error();
      const [s, d] = i;
      if (!d) throw new Error();
      const c = Number(d);
      if (`${c}` !== d) throw new Error();
      if (c < 0 || c > 128) throw new Error();
      new URL(`http://[${s}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "cidrv6",
        input: r.value,
        inst: e,
        continue: !t.abort
      });
    }
  };
});
function Ud(e) {
  if (e === "") return !0;
  if (/\s/.test(e) || e.length % 4 !== 0) return !1;
  try {
    return atob(e), !0;
  } catch {
    return !1;
  }
}
var RA = /* @__PURE__ */ Le("$ZodBase64", (e, t) => {
  t.pattern ?? (t.pattern = jS), ct.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
    Ud(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
});
function OA(e) {
  if (!Fd.test(e)) return !1;
  const t = e.replace(/[-_]/g, (r) => r === "-" ? "+" : "/");
  return Ud(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
}
var CA = /* @__PURE__ */ Le("$ZodBase64URL", (e, t) => {
  t.pattern ?? (t.pattern = Fd), ct.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
    OA(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64url",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), IA = /* @__PURE__ */ Le("$ZodE164", (e, t) => {
  t.pattern ?? (t.pattern = HS), ct.init(e, t);
});
function kA(e, t = null) {
  try {
    const r = e.split(".");
    if (r.length !== 3) return !1;
    const [i] = r;
    if (!i) return !1;
    const s = JSON.parse(atob(i));
    return !("typ" in s && s?.typ !== "JWT" || !s.alg || t && (!("alg" in s) || s.alg !== t));
  } catch {
    return !1;
  }
}
var LA = /* @__PURE__ */ Le("$ZodJWT", (e, t) => {
  ct.init(e, t), e._zod.check = (r) => {
    kA(r.value, t.alg) || r.issues.push({
      code: "invalid_format",
      format: "jwt",
      input: r.value,
      inst: e,
      continue: !t.abort
    });
  };
}), xA = /* @__PURE__ */ Le("$ZodUnknown", (e, t) => {
  gt.init(e, t), e._zod.parse = (r) => r;
}), $A = /* @__PURE__ */ Le("$ZodNever", (e, t) => {
  gt.init(e, t), e._zod.parse = (r, i) => (r.issues.push({
    expected: "never",
    code: "invalid_type",
    input: r.value,
    inst: e
  }), r);
});
function jc(e, t, r) {
  e.issues.length && t.issues.push(...Lr(r, e.issues)), t.value[r] = e.value;
}
var NA = /* @__PURE__ */ Le("$ZodArray", (e, t) => {
  gt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value;
    if (!Array.isArray(s))
      return r.issues.push({
        expected: "array",
        code: "invalid_type",
        input: s,
        inst: e
      }), r;
    r.value = Array(s.length);
    const d = [];
    for (let c = 0; c < s.length; c++) {
      const n = s[c], u = t.element._zod.run({
        value: n,
        issues: []
      }, i);
      u instanceof Promise ? d.push(u.then((o) => jc(o, r, c))) : jc(u, r, c);
    }
    return d.length ? Promise.all(d).then(() => r) : r;
  };
});
function vn(e, t, r, i, s, d) {
  const c = r in i;
  if (e.issues.length) {
    if (s && d && !c) return;
    t.issues.push(...Lr(r, e.issues));
  }
  if (!c && !s) {
    e.issues.length || t.issues.push({
      code: "invalid_type",
      expected: "nonoptional",
      input: void 0,
      path: [r]
    });
    return;
  }
  e.value === void 0 ? c && (t.value[r] = void 0) : t.value[r] = e.value;
}
function Hd(e) {
  const t = Object.keys(e.shape);
  for (const i of t) if (!e.shape?.[i]?._zod?.traits?.has("$ZodType")) throw new Error(`Invalid element at key "${i}": expected a Zod schema`);
  const r = nS(e.shape);
  return {
    ...e,
    keys: t,
    keySet: new Set(t),
    numKeys: t.length,
    optionalKeys: new Set(r)
  };
}
function qd(e, t, r, i, s, d) {
  const c = [], n = s.keySet, u = s.catchall._zod, o = u.def.type, h = u.optin === "optional", a = u.optout === "optional";
  for (const l in t) {
    if (l === "__proto__" || n.has(l)) continue;
    if (o === "never") {
      c.push(l);
      continue;
    }
    const f = u.run({
      value: t[l],
      issues: []
    }, i);
    f instanceof Promise ? e.push(f.then((p) => vn(p, r, l, t, h, a))) : vn(f, r, l, t, h, a);
  }
  return c.length && r.issues.push({
    code: "unrecognized_keys",
    keys: c,
    input: t,
    inst: d
  }), e.length ? Promise.all(e).then(() => r) : r;
}
var PA = /* @__PURE__ */ Le("$ZodObject", (e, t) => {
  if (gt.init(e, t), !Object.getOwnPropertyDescriptor(t, "shape")?.get) {
    const c = t.shape;
    Object.defineProperty(t, "shape", { get: () => {
      const n = { ...c };
      return Object.defineProperty(t, "shape", { value: n }), n;
    } });
  }
  const r = ml(() => Hd(t));
  tt(e._zod, "propValues", () => {
    const c = t.shape, n = {};
    for (const u in c) {
      const o = c[u]._zod;
      if (o.values) {
        n[u] ?? (n[u] = /* @__PURE__ */ new Set());
        for (const h of o.values) n[u].add(h);
      }
    }
    return n;
  });
  const i = mn, s = t.catchall;
  let d;
  e._zod.parse = (c, n) => {
    d ?? (d = r.value);
    const u = c.value;
    if (!i(u))
      return c.issues.push({
        expected: "object",
        code: "invalid_type",
        input: u,
        inst: e
      }), c;
    c.value = {};
    const o = [], h = d.shape;
    for (const a of d.keys) {
      const l = h[a], f = l._zod.optin === "optional", p = l._zod.optout === "optional", g = l._zod.run({
        value: u[a],
        issues: []
      }, n);
      g instanceof Promise ? o.push(g.then((m) => vn(m, c, a, u, f, p))) : vn(g, c, a, u, f, p);
    }
    return s ? qd(o, u, c, n, r.value, e) : o.length ? Promise.all(o).then(() => c) : c;
  };
}), BA = /* @__PURE__ */ Le("$ZodObjectJIT", (e, t) => {
  PA.init(e, t);
  const r = e._zod.parse, i = ml(() => Hd(t)), s = (l) => {
    const f = new aA([
      "shape",
      "payload",
      "ctx"
    ]), p = i.value, g = (E) => {
      const S = Fc(E);
      return `shape[${S}]._zod.run({ value: input[${S}], issues: [] }, ctx)`;
    };
    f.write("const input = payload.value;");
    const m = /* @__PURE__ */ Object.create(null);
    let v = 0;
    for (const E of p.keys) m[E] = `key_${v++}`;
    f.write("const newResult = {};");
    for (const E of p.keys) {
      const S = m[E], w = Fc(E), b = l[E], A = b?._zod?.optin === "optional", D = b?._zod?.optout === "optional";
      f.write(`const ${S} = ${g(E)};`), A && D ? f.write(`
        if (${S}.issues.length) {
          if (${w} in input) {
            payload.issues = payload.issues.concat(${S}.issues.map(iss => ({
              ...iss,
              path: iss.path ? [${w}, ...iss.path] : [${w}]
            })));
          }
        }
        
        if (${S}.value === undefined) {
          if (${w} in input) {
            newResult[${w}] = undefined;
          }
        } else {
          newResult[${w}] = ${S}.value;
        }
        
      `) : A ? f.write(`
        if (${S}.issues.length) {
          payload.issues = payload.issues.concat(${S}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${w}, ...iss.path] : [${w}]
          })));
        }
        
        if (${S}.value === undefined) {
          if (${w} in input) {
            newResult[${w}] = undefined;
          }
        } else {
          newResult[${w}] = ${S}.value;
        }
        
      `) : f.write(`
        const ${S}_present = ${w} in input;
        if (${S}.issues.length) {
          payload.issues = payload.issues.concat(${S}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${w}, ...iss.path] : [${w}]
          })));
        }
        if (!${S}_present && !${S}.issues.length) {
          payload.issues.push({
            code: "invalid_type",
            expected: "nonoptional",
            input: undefined,
            path: [${w}]
          });
        }

        if (${S}_present) {
          if (${S}.value === undefined) {
            newResult[${w}] = undefined;
          } else {
            newResult[${w}] = ${S}.value;
          }
        }

      `);
    }
    f.write("payload.value = newResult;"), f.write("return payload;");
    const _ = f.compile();
    return (E, S) => _(l, E, S);
  };
  let d;
  const c = mn, n = !gn.jitless, o = n && rS.value, h = t.catchall;
  let a;
  e._zod.parse = (l, f) => {
    a ?? (a = i.value);
    const p = l.value;
    return c(p) ? n && o && f?.async === !1 && f.jitless !== !0 ? (d || (d = s(t.shape)), l = d(l, f), h ? qd([], p, l, f, a, e) : l) : r(l, f) : (l.issues.push({
      expected: "object",
      code: "invalid_type",
      input: p,
      inst: e
    }), l);
  };
});
function Uc(e, t, r, i) {
  for (const d of e) if (d.issues.length === 0)
    return t.value = d.value, t;
  const s = e.filter((d) => !kr(d));
  return s.length === 1 ? (t.value = s[0].value, s[0]) : (t.issues.push({
    code: "invalid_union",
    input: t.value,
    inst: r,
    errors: e.map((d) => d.issues.map((c) => Qt(c, i, Xt())))
  }), t);
}
var FA = /* @__PURE__ */ Le("$ZodUnion", (e, t) => {
  gt.init(e, t), tt(e._zod, "optin", () => t.options.some((i) => i._zod.optin === "optional") ? "optional" : void 0), tt(e._zod, "optout", () => t.options.some((i) => i._zod.optout === "optional") ? "optional" : void 0), tt(e._zod, "values", () => {
    if (t.options.every((i) => i._zod.values)) return new Set(t.options.flatMap((i) => Array.from(i._zod.values)));
  }), tt(e._zod, "pattern", () => {
    if (t.options.every((i) => i._zod.pattern)) {
      const i = t.options.map((s) => s._zod.pattern);
      return new RegExp(`^(${i.map((s) => yl(s.source)).join("|")})$`);
    }
  });
  const r = t.options.length === 1 ? t.options[0]._zod.run : null;
  e._zod.parse = (i, s) => {
    if (r) return r(i, s);
    let d = !1;
    const c = [];
    for (const n of t.options) {
      const u = n._zod.run({
        value: i.value,
        issues: []
      }, s);
      if (u instanceof Promise)
        c.push(u), d = !0;
      else {
        if (u.issues.length === 0) return u;
        c.push(u);
      }
    }
    return d ? Promise.all(c).then((n) => Uc(n, i, e, s)) : Uc(c, i, e, s);
  };
}), MA = /* @__PURE__ */ Le("$ZodIntersection", (e, t) => {
  gt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value, d = t.left._zod.run({
      value: s,
      issues: []
    }, i), c = t.right._zod.run({
      value: s,
      issues: []
    }, i);
    return d instanceof Promise || c instanceof Promise ? Promise.all([d, c]).then(([n, u]) => Hc(r, n, u)) : Hc(r, d, c);
  };
});
function co(e, t) {
  if (e === t) return {
    valid: !0,
    data: e
  };
  if (e instanceof Date && t instanceof Date && +e == +t) return {
    valid: !0,
    data: e
  };
  if (qr(e) && qr(t)) {
    const r = Object.keys(t), i = Object.keys(e).filter((d) => r.indexOf(d) !== -1), s = {
      ...e,
      ...t
    };
    for (const d of i) {
      const c = co(e[d], t[d]);
      if (!c.valid) return {
        valid: !1,
        mergeErrorPath: [d, ...c.mergeErrorPath]
      };
      s[d] = c.data;
    }
    return {
      valid: !0,
      data: s
    };
  }
  if (Array.isArray(e) && Array.isArray(t)) {
    if (e.length !== t.length) return {
      valid: !1,
      mergeErrorPath: []
    };
    const r = [];
    for (let i = 0; i < e.length; i++) {
      const s = e[i], d = t[i], c = co(s, d);
      if (!c.valid) return {
        valid: !1,
        mergeErrorPath: [i, ...c.mergeErrorPath]
      };
      r.push(c.data);
    }
    return {
      valid: !0,
      data: r
    };
  }
  return {
    valid: !1,
    mergeErrorPath: []
  };
}
function Hc(e, t, r) {
  const i = /* @__PURE__ */ new Map();
  let s;
  for (const n of t.issues) if (n.code === "unrecognized_keys") {
    s ?? (s = n);
    for (const u of n.keys)
      i.has(u) || i.set(u, {}), i.get(u).l = !0;
  } else e.issues.push(n);
  for (const n of r.issues) if (n.code === "unrecognized_keys") for (const u of n.keys)
    i.has(u) || i.set(u, {}), i.get(u).r = !0;
  else e.issues.push(n);
  const d = [...i].filter(([, n]) => n.l && n.r).map(([n]) => n);
  if (d.length && s && e.issues.push({
    ...s,
    keys: d
  }), kr(e)) return e;
  const c = co(t.value, r.value);
  if (!c.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`);
  return e.value = c.data, e;
}
var jA = /* @__PURE__ */ Le("$ZodRecord", (e, t) => {
  gt.init(e, t), e._zod.parse = (r, i) => {
    const s = r.value;
    if (!qr(s))
      return r.issues.push({
        expected: "record",
        code: "invalid_type",
        input: s,
        inst: e
      }), r;
    const d = [], c = t.keyType._zod.values;
    if (c) {
      r.value = {};
      const n = /* @__PURE__ */ new Set();
      for (const o of c) if (typeof o == "string" || typeof o == "number" || typeof o == "symbol") {
        n.add(typeof o == "number" ? o.toString() : o);
        const h = t.keyType._zod.run({
          value: o,
          issues: []
        }, i);
        if (h instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
        if (h.issues.length) {
          r.issues.push({
            code: "invalid_key",
            origin: "record",
            issues: h.issues.map((f) => Qt(f, i, Xt())),
            input: o,
            path: [o],
            inst: e
          });
          continue;
        }
        const a = h.value, l = t.valueType._zod.run({
          value: s[o],
          issues: []
        }, i);
        l instanceof Promise ? d.push(l.then((f) => {
          f.issues.length && r.issues.push(...Lr(o, f.issues)), r.value[a] = f.value;
        })) : (l.issues.length && r.issues.push(...Lr(o, l.issues)), r.value[a] = l.value);
      }
      let u;
      for (const o in s) n.has(o) || (u = u ?? [], u.push(o));
      u && u.length > 0 && r.issues.push({
        code: "unrecognized_keys",
        input: s,
        inst: e,
        keys: u
      });
    } else {
      r.value = {};
      for (const n of Reflect.ownKeys(s)) {
        if (n === "__proto__" || !Object.prototype.propertyIsEnumerable.call(s, n)) continue;
        let u = t.keyType._zod.run({
          value: n,
          issues: []
        }, i);
        if (u instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
        if (typeof n == "string" && VS.test(n) && u.issues.length) {
          const h = t.keyType._zod.run({
            value: Number(n),
            issues: []
          }, i);
          if (h instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
          h.issues.length === 0 && (u = h);
        }
        if (u.issues.length) {
          t.mode === "loose" ? r.value[n] = s[n] : r.issues.push({
            code: "invalid_key",
            origin: "record",
            issues: u.issues.map((h) => Qt(h, i, Xt())),
            input: n,
            path: [n],
            inst: e
          });
          continue;
        }
        const o = t.valueType._zod.run({
          value: s[n],
          issues: []
        }, i);
        o instanceof Promise ? d.push(o.then((h) => {
          h.issues.length && r.issues.push(...Lr(n, h.issues)), r.value[u.value] = h.value;
        })) : (o.issues.length && r.issues.push(...Lr(n, o.issues)), r.value[u.value] = o.value);
      }
    }
    return d.length ? Promise.all(d).then(() => r) : r;
  };
}), UA = /* @__PURE__ */ Le("$ZodEnum", (e, t) => {
  gt.init(e, t);
  const r = Ld(t.entries), i = new Set(r);
  e._zod.values = i, e._zod.pattern = new RegExp(`^(${r.filter((s) => iS.has(typeof s)).map((s) => typeof s == "string" ? os(s) : s.toString()).join("|")})$`), e._zod.parse = (s, d) => {
    const c = s.value;
    return i.has(c) || s.issues.push({
      code: "invalid_value",
      values: r,
      input: c,
      inst: e
    }), s;
  };
}), HA = /* @__PURE__ */ Le("$ZodTransform", (e, t) => {
  gt.init(e, t), e._zod.optin = "optional", e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new kd(e.constructor.name);
    const s = t.transform(r.value, r);
    if (i.async) return (s instanceof Promise ? s : Promise.resolve(s)).then((d) => (r.value = d, r.fallback = !0, r));
    if (s instanceof Promise) throw new Br();
    return r.value = s, r.fallback = !0, r;
  };
});
function qc(e, t) {
  return t === void 0 && (e.issues.length || e.fallback) ? {
    issues: [],
    value: void 0
  } : e;
}
var Gd = /* @__PURE__ */ Le("$ZodOptional", (e, t) => {
  gt.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", tt(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), tt(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${yl(r.source)})?$`) : void 0;
  }), e._zod.parse = (r, i) => {
    if (t.innerType._zod.optin === "optional") {
      const s = r.value, d = t.innerType._zod.run(r, i);
      return d instanceof Promise ? d.then((c) => qc(c, s)) : qc(d, s);
    }
    return r.value === void 0 ? r : t.innerType._zod.run(r, i);
  };
}), qA = /* @__PURE__ */ Le("$ZodExactOptional", (e, t) => {
  Gd.init(e, t), tt(e._zod, "values", () => t.innerType._zod.values), tt(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (r, i) => t.innerType._zod.run(r, i);
}), GA = /* @__PURE__ */ Le("$ZodNullable", (e, t) => {
  gt.init(e, t), tt(e._zod, "optin", () => t.innerType._zod.optin), tt(e._zod, "optout", () => t.innerType._zod.optout), tt(e._zod, "pattern", () => {
    const r = t.innerType._zod.pattern;
    return r ? new RegExp(`^(${yl(r.source)}|null)$`) : void 0;
  }), tt(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (r, i) => r.value === null ? r : t.innerType._zod.run(r, i);
}), zA = /* @__PURE__ */ Le("$ZodDefault", (e, t) => {
  gt.init(e, t), e._zod.optin = "optional", tt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    if (r.value === void 0)
      return r.value = t.defaultValue, r;
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((d) => Gc(d, t)) : Gc(s, t);
  };
});
function Gc(e, t) {
  return e.value === void 0 && (e.value = t.defaultValue), e;
}
var WA = /* @__PURE__ */ Le("$ZodPrefault", (e, t) => {
  gt.init(e, t), e._zod.optin = "optional", tt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => (i.direction === "backward" || r.value === void 0 && (r.value = t.defaultValue), t.innerType._zod.run(r, i));
}), VA = /* @__PURE__ */ Le("$ZodNonOptional", (e, t) => {
  gt.init(e, t), tt(e._zod, "values", () => {
    const r = t.innerType._zod.values;
    return r ? new Set([...r].filter((i) => i !== void 0)) : void 0;
  }), e._zod.parse = (r, i) => {
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((d) => zc(d, e)) : zc(s, e);
  };
});
function zc(e, t) {
  return !e.issues.length && e.value === void 0 && e.issues.push({
    code: "invalid_type",
    expected: "nonoptional",
    input: e.value,
    inst: t
  }), e;
}
var YA = /* @__PURE__ */ Le("$ZodCatch", (e, t) => {
  gt.init(e, t), e._zod.optin = "optional", tt(e._zod, "optout", () => t.innerType._zod.optout), tt(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then((d) => (r.value = d.value, d.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: d.issues.map((c) => Qt(c, i, Xt())) },
      input: r.value
    }), r.issues = [], r.fallback = !0), r)) : (r.value = s.value, s.issues.length && (r.value = t.catchValue({
      ...r,
      error: { issues: s.issues.map((d) => Qt(d, i, Xt())) },
      input: r.value
    }), r.issues = [], r.fallback = !0), r);
  };
}), KA = /* @__PURE__ */ Le("$ZodPipe", (e, t) => {
  gt.init(e, t), tt(e._zod, "values", () => t.in._zod.values), tt(e._zod, "optin", () => t.in._zod.optin), tt(e._zod, "optout", () => t.out._zod.optout), tt(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (r, i) => {
    if (i.direction === "backward") {
      const d = t.out._zod.run(r, i);
      return d instanceof Promise ? d.then((c) => Zi(c, t.in, i)) : Zi(d, t.in, i);
    }
    const s = t.in._zod.run(r, i);
    return s instanceof Promise ? s.then((d) => Zi(d, t.out, i)) : Zi(s, t.out, i);
  };
});
function Zi(e, t, r) {
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
    value: e.value,
    issues: e.issues,
    fallback: e.fallback
  }, r);
}
var ZA = /* @__PURE__ */ Le("$ZodReadonly", (e, t) => {
  gt.init(e, t), tt(e._zod, "propValues", () => t.innerType._zod.propValues), tt(e._zod, "values", () => t.innerType._zod.values), tt(e._zod, "optin", () => t.innerType?._zod?.optin), tt(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (r, i) => {
    if (i.direction === "backward") return t.innerType._zod.run(r, i);
    const s = t.innerType._zod.run(r, i);
    return s instanceof Promise ? s.then(Wc) : Wc(s);
  };
});
function Wc(e) {
  return e.value = Object.freeze(e.value), e;
}
var JA = /* @__PURE__ */ Le("$ZodCustom", (e, t) => {
  Kt.init(e, t), gt.init(e, t), e._zod.parse = (r, i) => r, e._zod.check = (r) => {
    const i = r.value, s = t.fn(i);
    if (s instanceof Promise) return s.then((d) => Vc(d, r, i, e));
    Vc(s, r, i, e);
  };
});
function Vc(e, t, r, i) {
  if (!e) {
    const s = {
      code: "custom",
      input: r,
      inst: i,
      path: [...i._zod.def.path ?? []],
      continue: !i._zod.def.abort
    };
    i._zod.def.params && (s.params = i._zod.def.params), t.issues.push(bi(s));
  }
}
var Yc, XA = class {
  constructor() {
    this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
  }
  add(e, ...t) {
    const r = t[0];
    return this._map.set(e, r), r && typeof r == "object" && "id" in r && this._idmap.set(r.id, e), this;
  }
  clear() {
    return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
  }
  remove(e) {
    const t = this._map.get(e);
    return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
  }
  get(e) {
    const t = e._zod.parent;
    if (t) {
      const r = { ...this.get(t) ?? {} };
      delete r.id;
      const i = {
        ...r,
        ...this._map.get(e)
      };
      return Object.keys(i).length ? i : void 0;
    }
    return this._map.get(e);
  }
  has(e) {
    return this._map.has(e);
  }
};
function QA() {
  return new XA();
}
(Yc = globalThis).__zod_globalRegistry ?? (Yc.__zod_globalRegistry = QA());
var ai = globalThis.__zod_globalRegistry;
// @__NO_SIDE_EFFECTS__
function eT(e, t) {
  return new e({
    type: "string",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function tT(e, t) {
  return new e({
    type: "string",
    format: "email",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function Kc(e, t) {
  return new e({
    type: "string",
    format: "guid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function rT(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function iT(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v4",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function nT(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v6",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function sT(e, t) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v7",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function aT(e, t) {
  return new e({
    type: "string",
    format: "url",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function oT(e, t) {
  return new e({
    type: "string",
    format: "emoji",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function lT(e, t) {
  return new e({
    type: "string",
    format: "nanoid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function cT(e, t) {
  return new e({
    type: "string",
    format: "cuid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function uT(e, t) {
  return new e({
    type: "string",
    format: "cuid2",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function hT(e, t) {
  return new e({
    type: "string",
    format: "ulid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function fT(e, t) {
  return new e({
    type: "string",
    format: "xid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function dT(e, t) {
  return new e({
    type: "string",
    format: "ksuid",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function pT(e, t) {
  return new e({
    type: "string",
    format: "ipv4",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function gT(e, t) {
  return new e({
    type: "string",
    format: "ipv6",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function mT(e, t) {
  return new e({
    type: "string",
    format: "cidrv4",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function vT(e, t) {
  return new e({
    type: "string",
    format: "cidrv6",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function yT(e, t) {
  return new e({
    type: "string",
    format: "base64",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function _T(e, t) {
  return new e({
    type: "string",
    format: "base64url",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function bT(e, t) {
  return new e({
    type: "string",
    format: "e164",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function wT(e, t) {
  return new e({
    type: "string",
    format: "jwt",
    check: "string_format",
    abort: !1,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function ET(e, t) {
  return new e({
    type: "string",
    format: "datetime",
    check: "string_format",
    offset: !1,
    local: !1,
    precision: null,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function ST(e, t) {
  return new e({
    type: "string",
    format: "date",
    check: "string_format",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function AT(e, t) {
  return new e({
    type: "string",
    format: "time",
    check: "string_format",
    precision: null,
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function TT(e, t) {
  return new e({
    type: "string",
    format: "duration",
    check: "string_format",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function DT(e) {
  return new e({ type: "unknown" });
}
// @__NO_SIDE_EFFECTS__
function RT(e, t) {
  return new e({
    type: "never",
    ...Ge(t)
  });
}
// @__NO_SIDE_EFFECTS__
function zd(e, t) {
  return new ZS({
    check: "max_length",
    ...Ge(t),
    maximum: e
  });
}
// @__NO_SIDE_EFFECTS__
function yn(e, t) {
  return new JS({
    check: "min_length",
    ...Ge(t),
    minimum: e
  });
}
// @__NO_SIDE_EFFECTS__
function Wd(e, t) {
  return new XS({
    check: "length_equals",
    ...Ge(t),
    length: e
  });
}
// @__NO_SIDE_EFFECTS__
function OT(e, t) {
  return new QS({
    check: "string_format",
    format: "regex",
    ...Ge(t),
    pattern: e
  });
}
// @__NO_SIDE_EFFECTS__
function CT(e) {
  return new eA({
    check: "string_format",
    format: "lowercase",
    ...Ge(e)
  });
}
// @__NO_SIDE_EFFECTS__
function IT(e) {
  return new tA({
    check: "string_format",
    format: "uppercase",
    ...Ge(e)
  });
}
// @__NO_SIDE_EFFECTS__
function kT(e, t) {
  return new rA({
    check: "string_format",
    format: "includes",
    ...Ge(t),
    includes: e
  });
}
// @__NO_SIDE_EFFECTS__
function LT(e, t) {
  return new iA({
    check: "string_format",
    format: "starts_with",
    ...Ge(t),
    prefix: e
  });
}
// @__NO_SIDE_EFFECTS__
function xT(e, t) {
  return new nA({
    check: "string_format",
    format: "ends_with",
    ...Ge(t),
    suffix: e
  });
}
// @__NO_SIDE_EFFECTS__
function Kr(e) {
  return new sA({
    check: "overwrite",
    tx: e
  });
}
// @__NO_SIDE_EFFECTS__
function $T(e) {
  return /* @__PURE__ */ Kr((t) => t.normalize(e));
}
// @__NO_SIDE_EFFECTS__
function NT() {
  return /* @__PURE__ */ Kr((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
function PT() {
  return /* @__PURE__ */ Kr((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
function BT() {
  return /* @__PURE__ */ Kr((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
function FT() {
  return /* @__PURE__ */ Kr((e) => tS(e));
}
// @__NO_SIDE_EFFECTS__
function MT(e, t, r) {
  return new e({
    type: "array",
    element: t,
    ...Ge(r)
  });
}
// @__NO_SIDE_EFFECTS__
function jT(e, t, r) {
  return new e({
    type: "custom",
    check: "custom",
    fn: t,
    ...Ge(r)
  });
}
// @__NO_SIDE_EFFECTS__
function UT(e, t) {
  const r = /* @__PURE__ */ HT((i) => (i.addIssue = (s) => {
    if (typeof s == "string") i.issues.push(bi(s, i.value, r._zod.def));
    else {
      const d = s;
      d.fatal && (d.continue = !1), d.code ?? (d.code = "custom"), d.input ?? (d.input = i.value), d.inst ?? (d.inst = r), d.continue ?? (d.continue = !r._zod.def.abort), i.issues.push(bi(d));
    }
  }, e(i.value, i)), t);
  return r;
}
// @__NO_SIDE_EFFECTS__
function HT(e, t) {
  const r = new Kt({
    check: "custom",
    ...Ge(t)
  });
  return r._zod.check = e, r;
}
function Vd(e) {
  let t = e?.target ?? "draft-2020-12";
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
    processors: e.processors ?? {},
    metadataRegistry: e?.metadata ?? ai,
    target: t,
    unrepresentable: e?.unrepresentable ?? "throw",
    override: e?.override ?? (() => {
    }),
    io: e?.io ?? "output",
    counter: 0,
    seen: /* @__PURE__ */ new Map(),
    cycles: e?.cycles ?? "ref",
    reused: e?.reused ?? "inline",
    external: e?.external ?? void 0
  };
}
function pt(e, t, r = {
  path: [],
  schemaPath: []
}) {
  var i;
  const s = e._zod.def, d = t.seen.get(e);
  if (d)
    return d.count++, r.schemaPath.includes(e) && (d.cycle = r.path), d.schema;
  const c = {
    schema: {},
    count: 1,
    cycle: void 0,
    path: r.path
  };
  t.seen.set(e, c);
  const n = e._zod.toJSONSchema?.();
  if (n) c.schema = n;
  else {
    const o = {
      ...r,
      schemaPath: [...r.schemaPath, e],
      path: r.path
    };
    if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, c.schema, o);
    else {
      const a = c.schema, l = t.processors[s.type];
      if (!l) throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);
      l(e, t, a, o);
    }
    const h = e._zod.parent;
    h && (c.ref || (c.ref = h), pt(h, t, o), t.seen.get(h).isParent = !0);
  }
  const u = t.metadataRegistry.get(e);
  return u && Object.assign(c.schema, u), t.io === "input" && At(e) && (delete c.schema.examples, delete c.schema.default), t.io === "input" && "_prefault" in c.schema && ((i = c.schema).default ?? (i.default = c.schema._prefault)), delete c.schema._prefault, t.seen.get(e).schema;
}
function Yd(e, t) {
  const r = e.seen.get(t);
  if (!r) throw new Error("Unprocessed schema. This is a bug in Zod.");
  const i = /* @__PURE__ */ new Map();
  for (const c of e.seen.entries()) {
    const n = e.metadataRegistry.get(c[0])?.id;
    if (n) {
      const u = i.get(n);
      if (u && u !== c[0]) throw new Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
      i.set(n, c[0]);
    }
  }
  const s = (c) => {
    const n = e.target === "draft-2020-12" ? "$defs" : "definitions";
    if (e.external) {
      const h = e.external.registry.get(c[0])?.id, a = e.external.uri ?? ((f) => f);
      if (h) return { ref: a(h) };
      const l = c[1].defId ?? c[1].schema.id ?? `schema${e.counter++}`;
      return c[1].defId = l, {
        defId: l,
        ref: `${a("__shared")}#/${n}/${l}`
      };
    }
    if (c[1] === r) return { ref: "#" };
    const u = `#/${n}/`, o = c[1].schema.id ?? `__schema${e.counter++}`;
    return {
      defId: o,
      ref: u + o
    };
  }, d = (c) => {
    if (c[1].schema.$ref) return;
    const n = c[1], { ref: u, defId: o } = s(c);
    n.def = { ...n.schema }, o && (n.defId = o);
    const h = n.schema;
    for (const a in h) delete h[a];
    h.$ref = u;
  };
  if (e.cycles === "throw") for (const c of e.seen.entries()) {
    const n = c[1];
    if (n.cycle) throw new Error(`Cycle detected: #/${n.cycle?.join("/")}/<root>

Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
  }
  for (const c of e.seen.entries()) {
    const n = c[1];
    if (t === c[0]) {
      d(c);
      continue;
    }
    if (e.external) {
      const u = e.external.registry.get(c[0])?.id;
      if (t !== c[0] && u) {
        d(c);
        continue;
      }
    }
    if (e.metadataRegistry.get(c[0])?.id) {
      d(c);
      continue;
    }
    if (n.cycle) {
      d(c);
      continue;
    }
    if (n.count > 1 && e.reused === "ref") {
      d(c);
      continue;
    }
  }
}
function Kd(e, t) {
  const r = e.seen.get(t);
  if (!r) throw new Error("Unprocessed schema. This is a bug in Zod.");
  const i = (n) => {
    const u = e.seen.get(n);
    if (u.ref === null) return;
    const o = u.def ?? u.schema, h = { ...o }, a = u.ref;
    if (u.ref = null, a) {
      i(a);
      const f = e.seen.get(a), p = f.schema;
      if (p.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (o.allOf = o.allOf ?? [], o.allOf.push(p)) : Object.assign(o, p), Object.assign(o, h), n._zod.parent === a) for (const g in o)
        g === "$ref" || g === "allOf" || g in h || delete o[g];
      if (p.$ref && f.def) for (const g in o)
        g === "$ref" || g === "allOf" || g in f.def && JSON.stringify(o[g]) === JSON.stringify(f.def[g]) && delete o[g];
    }
    const l = n._zod.parent;
    if (l && l !== a) {
      i(l);
      const f = e.seen.get(l);
      if (f?.schema.$ref && (o.$ref = f.schema.$ref, f.def))
        for (const p in o)
          p === "$ref" || p === "allOf" || p in f.def && JSON.stringify(o[p]) === JSON.stringify(f.def[p]) && delete o[p];
    }
    e.override({
      zodSchema: n,
      jsonSchema: o,
      path: u.path ?? []
    });
  };
  for (const n of [...e.seen.entries()].reverse()) i(n[0]);
  const s = {};
  if (e.target === "draft-2020-12" ? s.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? s.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? s.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
    const n = e.external.registry.get(t)?.id;
    if (!n) throw new Error("Schema is missing an `id` property");
    s.$id = e.external.uri(n);
  }
  Object.assign(s, r.def ?? r.schema);
  const d = e.metadataRegistry.get(t)?.id;
  d !== void 0 && s.id === d && delete s.id;
  const c = e.external?.defs ?? {};
  for (const n of e.seen.entries()) {
    const u = n[1];
    u.def && u.defId && (u.def.id === u.defId && delete u.def.id, c[u.defId] = u.def);
  }
  e.external || Object.keys(c).length > 0 && (e.target === "draft-2020-12" ? s.$defs = c : s.definitions = c);
  try {
    const n = JSON.parse(JSON.stringify(s));
    return Object.defineProperty(n, "~standard", {
      value: {
        ...t["~standard"],
        jsonSchema: {
          input: _n(t, "input", e.processors),
          output: _n(t, "output", e.processors)
        }
      },
      enumerable: !1,
      writable: !1
    }), n;
  } catch {
    throw new Error("Error converting schema to JSON.");
  }
}
function At(e, t) {
  const r = t ?? { seen: /* @__PURE__ */ new Set() };
  if (r.seen.has(e)) return !1;
  r.seen.add(e);
  const i = e._zod.def;
  if (i.type === "transform") return !0;
  if (i.type === "array") return At(i.element, r);
  if (i.type === "set") return At(i.valueType, r);
  if (i.type === "lazy") return At(i.getter(), r);
  if (i.type === "promise" || i.type === "optional" || i.type === "nonoptional" || i.type === "nullable" || i.type === "readonly" || i.type === "default" || i.type === "prefault") return At(i.innerType, r);
  if (i.type === "intersection") return At(i.left, r) || At(i.right, r);
  if (i.type === "record" || i.type === "map") return At(i.keyType, r) || At(i.valueType, r);
  if (i.type === "pipe")
    return e._zod.traits.has("$ZodCodec") ? !0 : At(i.in, r) || At(i.out, r);
  if (i.type === "object") {
    for (const s in i.shape) if (At(i.shape[s], r)) return !0;
    return !1;
  }
  if (i.type === "union") {
    for (const s of i.options) if (At(s, r)) return !0;
    return !1;
  }
  if (i.type === "tuple") {
    for (const s of i.items) if (At(s, r)) return !0;
    return !!(i.rest && At(i.rest, r));
  }
  return !1;
}
var qT = (e, t = {}) => (r) => {
  const i = Vd({
    ...r,
    processors: t
  });
  return pt(e, i), Yd(i, e), Kd(i, e);
}, _n = (e, t, r = {}) => (i) => {
  const { libraryOptions: s, target: d } = i ?? {}, c = Vd({
    ...s ?? {},
    target: d,
    io: t,
    processors: r
  });
  return pt(e, c), Yd(c, e), Kd(c, e);
}, GT = {
  guid: "uuid",
  url: "uri",
  datetime: "date-time",
  json_string: "json-string",
  regex: ""
}, zT = (e, t, r, i) => {
  const s = r;
  s.type = "string";
  const { minimum: d, maximum: c, format: n, patterns: u, contentEncoding: o } = e._zod.bag;
  if (typeof d == "number" && (s.minLength = d), typeof c == "number" && (s.maxLength = c), n && (s.format = GT[n] ?? n, s.format === "" && delete s.format, n === "time" && delete s.format), o && (s.contentEncoding = o), u && u.size > 0) {
    const h = [...u];
    h.length === 1 ? s.pattern = h[0].source : h.length > 1 && (s.allOf = [...h.map((a) => ({
      ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
      pattern: a.source
    }))]);
  }
}, WT = (e, t, r, i) => {
  r.not = {};
}, VT = (e, t, r, i) => {
}, YT = (e, t, r, i) => {
  const s = e._zod.def, d = Ld(s.entries);
  d.every((c) => typeof c == "number") && (r.type = "number"), d.every((c) => typeof c == "string") && (r.type = "string"), r.enum = d;
}, KT = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
}, ZT = (e, t, r, i) => {
  if (t.unrepresentable === "throw") throw new Error("Transforms cannot be represented in JSON Schema");
}, JT = (e, t, r, i) => {
  const s = r, d = e._zod.def, { minimum: c, maximum: n } = e._zod.bag;
  typeof c == "number" && (s.minItems = c), typeof n == "number" && (s.maxItems = n), s.type = "array", s.items = pt(d.element, t, {
    ...i,
    path: [...i.path, "items"]
  });
}, XT = (e, t, r, i) => {
  const s = r, d = e._zod.def;
  s.type = "object", s.properties = {};
  const c = d.shape;
  for (const o in c) s.properties[o] = pt(c[o], t, {
    ...i,
    path: [
      ...i.path,
      "properties",
      o
    ]
  });
  const n = new Set(Object.keys(c)), u = new Set([...n].filter((o) => {
    const h = d.shape[o]._zod;
    return t.io === "input" ? h.optin === void 0 : h.optout === void 0;
  }));
  u.size > 0 && (s.required = Array.from(u)), d.catchall?._zod.def.type === "never" ? s.additionalProperties = !1 : d.catchall ? d.catchall && (s.additionalProperties = pt(d.catchall, t, {
    ...i,
    path: [...i.path, "additionalProperties"]
  })) : t.io === "output" && (s.additionalProperties = !1);
}, QT = (e, t, r, i) => {
  const s = e._zod.def, d = s.inclusive === !1, c = s.options.map((n, u) => pt(n, t, {
    ...i,
    path: [
      ...i.path,
      d ? "oneOf" : "anyOf",
      u
    ]
  }));
  d ? r.oneOf = c : r.anyOf = c;
}, eD = (e, t, r, i) => {
  const s = e._zod.def, d = pt(s.left, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      0
    ]
  }), c = pt(s.right, t, {
    ...i,
    path: [
      ...i.path,
      "allOf",
      1
    ]
  }), n = (u) => "allOf" in u && Object.keys(u).length === 1;
  r.allOf = [...n(d) ? d.allOf : [d], ...n(c) ? c.allOf : [c]];
}, tD = (e, t, r, i) => {
  const s = r, d = e._zod.def;
  s.type = "object";
  const c = d.keyType, n = c._zod.bag?.patterns;
  if (d.mode === "loose" && n && n.size > 0) {
    const o = pt(d.valueType, t, {
      ...i,
      path: [
        ...i.path,
        "patternProperties",
        "*"
      ]
    });
    s.patternProperties = {};
    for (const h of n) s.patternProperties[h.source] = o;
  } else
    (t.target === "draft-07" || t.target === "draft-2020-12") && (s.propertyNames = pt(d.keyType, t, {
      ...i,
      path: [...i.path, "propertyNames"]
    })), s.additionalProperties = pt(d.valueType, t, {
      ...i,
      path: [...i.path, "additionalProperties"]
    });
  const u = c._zod.values;
  if (u) {
    const o = [...u].filter((h) => typeof h == "string" || typeof h == "number");
    o.length > 0 && (s.required = o);
  }
}, rD = (e, t, r, i) => {
  const s = e._zod.def, d = pt(s.innerType, t, i), c = t.seen.get(e);
  t.target === "openapi-3.0" ? (c.ref = s.innerType, r.nullable = !0) : r.anyOf = [d, { type: "null" }];
}, iD = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType;
}, nD = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType, r.default = JSON.parse(JSON.stringify(s.defaultValue));
}, sD = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType, t.io === "input" && (r._prefault = JSON.parse(JSON.stringify(s.defaultValue)));
}, aD = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType;
  let c;
  try {
    c = s.catchValue(void 0);
  } catch {
    throw new Error("Dynamic catch values are not supported in JSON Schema");
  }
  r.default = c;
}, oD = (e, t, r, i) => {
  const s = e._zod.def, d = s.in._zod.traits.has("$ZodTransform"), c = t.io === "input" ? d ? s.out : s.in : s.out;
  pt(c, t, i);
  const n = t.seen.get(e);
  n.ref = c;
}, lD = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType, r.readOnly = !0;
}, Zd = (e, t, r, i) => {
  const s = e._zod.def;
  pt(s.innerType, t, i);
  const d = t.seen.get(e);
  d.ref = s.innerType;
}, cD = /* @__PURE__ */ Le("ZodISODateTime", (e, t) => {
  _A.init(e, t), ut.init(e, t);
});
function uD(e) {
  return /* @__PURE__ */ ET(cD, e);
}
var hD = /* @__PURE__ */ Le("ZodISODate", (e, t) => {
  bA.init(e, t), ut.init(e, t);
});
function fD(e) {
  return /* @__PURE__ */ ST(hD, e);
}
var dD = /* @__PURE__ */ Le("ZodISOTime", (e, t) => {
  wA.init(e, t), ut.init(e, t);
});
function pD(e) {
  return /* @__PURE__ */ AT(dD, e);
}
var gD = /* @__PURE__ */ Le("ZodISODuration", (e, t) => {
  EA.init(e, t), ut.init(e, t);
});
function mD(e) {
  return /* @__PURE__ */ TT(gD, e);
}
var vD = (e, t) => {
  Pd.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
    format: { value: (r) => pS(e, r) },
    flatten: { value: (r) => dS(e, r) },
    addIssue: { value: (r) => {
      e.issues.push(r), e.message = JSON.stringify(e.issues, lo, 2);
    } },
    addIssues: { value: (r) => {
      e.issues.push(...r), e.message = JSON.stringify(e.issues, lo, 2);
    } },
    isEmpty: { get() {
      return e.issues.length === 0;
    } }
  });
}, Bt = /* @__PURE__ */ Le("ZodError", vD, { Parent: Error }), yD = /* @__PURE__ */ bl(Bt), _D = /* @__PURE__ */ wl(Bt), bD = /* @__PURE__ */ ls(Bt), wD = /* @__PURE__ */ cs(Bt), ED = /* @__PURE__ */ vS(Bt), SD = /* @__PURE__ */ yS(Bt), AD = /* @__PURE__ */ _S(Bt), TD = /* @__PURE__ */ bS(Bt), DD = /* @__PURE__ */ wS(Bt), RD = /* @__PURE__ */ ES(Bt), OD = /* @__PURE__ */ SS(Bt), CD = /* @__PURE__ */ AS(Bt), Zc = /* @__PURE__ */ new WeakMap();
function hs(e, t, r) {
  const i = Object.getPrototypeOf(e);
  let s = Zc.get(i);
  if (s || (s = /* @__PURE__ */ new Set(), Zc.set(i, s)), !s.has(t)) {
    s.add(t);
    for (const d in r) {
      const c = r[d];
      Object.defineProperty(i, d, {
        configurable: !0,
        enumerable: !1,
        get() {
          const n = c.bind(this);
          return Object.defineProperty(this, d, {
            configurable: !0,
            writable: !0,
            enumerable: !0,
            value: n
          }), n;
        },
        set(n) {
          Object.defineProperty(this, d, {
            configurable: !0,
            writable: !0,
            enumerable: !0,
            value: n
          });
        }
      });
    }
  }
}
var mt = /* @__PURE__ */ Le("ZodType", (e, t) => (gt.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
  input: _n(e, "input"),
  output: _n(e, "output")
} }), e.toJSONSchema = qT(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (r, i) => yD(e, r, i, { callee: e.parse }), e.safeParse = (r, i) => bD(e, r, i), e.parseAsync = async (r, i) => _D(e, r, i, { callee: e.parseAsync }), e.safeParseAsync = async (r, i) => wD(e, r, i), e.spa = e.safeParseAsync, e.encode = (r, i) => ED(e, r, i), e.decode = (r, i) => SD(e, r, i), e.encodeAsync = async (r, i) => AD(e, r, i), e.decodeAsync = async (r, i) => TD(e, r, i), e.safeEncode = (r, i) => DD(e, r, i), e.safeDecode = (r, i) => RD(e, r, i), e.safeEncodeAsync = async (r, i) => OD(e, r, i), e.safeDecodeAsync = async (r, i) => CD(e, r, i), hs(e, "ZodType", {
  check(...r) {
    const i = this.def;
    return this.clone(or(i, { checks: [...i.checks ?? [], ...r.map((s) => typeof s == "function" ? { _zod: {
      check: s,
      def: { check: "custom" },
      onattach: []
    } } : s)] }), { parent: !0 });
  },
  with(...r) {
    return this.check(...r);
  },
  clone(r, i) {
    return lr(this, r, i);
  },
  brand() {
    return this;
  },
  register(r, i) {
    return r.add(this, i), this;
  },
  refine(r, i) {
    return this.check(_R(r, i));
  },
  superRefine(r, i) {
    return this.check(bR(r, i));
  },
  overwrite(r) {
    return this.check(/* @__PURE__ */ Kr(r));
  },
  optional() {
    return wi(this);
  },
  exactOptional() {
    return aR(this);
  },
  nullable() {
    return tu(this);
  },
  nullish() {
    return wi(tu(this));
  },
  nonoptional(r) {
    return fR(this, r);
  },
  array() {
    return Xd(this);
  },
  or(r) {
    return Qd([this, r]);
  },
  and(r) {
    return tR(this, r);
  },
  transform(r) {
    return ru(this, nR(r));
  },
  default(r) {
    return cR(this, r);
  },
  prefault(r) {
    return hR(this, r);
  },
  catch(r) {
    return pR(this, r);
  },
  pipe(r) {
    return ru(this, r);
  },
  readonly() {
    return vR(this);
  },
  describe(r) {
    const i = this.clone();
    return ai.add(i, { description: r }), i;
  },
  meta(...r) {
    if (r.length === 0) return ai.get(this);
    const i = this.clone();
    return ai.add(i, r[0]), i;
  },
  isOptional() {
    return this.safeParse(void 0).success;
  },
  isNullable() {
    return this.safeParse(null).success;
  },
  apply(r) {
    return r(this);
  }
}), Object.defineProperty(e, "description", {
  get() {
    return ai.get(e)?.description;
  },
  configurable: !0
}), e)), Jd = /* @__PURE__ */ Le("_ZodString", (e, t) => {
  El.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (i, s, d) => zT(e, i, s, d);
  const r = e._zod.bag;
  e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, hs(e, "_ZodString", {
    regex(...i) {
      return this.check(/* @__PURE__ */ OT(...i));
    },
    includes(...i) {
      return this.check(/* @__PURE__ */ kT(...i));
    },
    startsWith(...i) {
      return this.check(/* @__PURE__ */ LT(...i));
    },
    endsWith(...i) {
      return this.check(/* @__PURE__ */ xT(...i));
    },
    min(...i) {
      return this.check(/* @__PURE__ */ yn(...i));
    },
    max(...i) {
      return this.check(/* @__PURE__ */ zd(...i));
    },
    length(...i) {
      return this.check(/* @__PURE__ */ Wd(...i));
    },
    nonempty(...i) {
      return this.check(/* @__PURE__ */ yn(1, ...i));
    },
    lowercase(i) {
      return this.check(/* @__PURE__ */ CT(i));
    },
    uppercase(i) {
      return this.check(/* @__PURE__ */ IT(i));
    },
    trim() {
      return this.check(/* @__PURE__ */ NT());
    },
    normalize(...i) {
      return this.check(/* @__PURE__ */ $T(...i));
    },
    toLowerCase() {
      return this.check(/* @__PURE__ */ PT());
    },
    toUpperCase() {
      return this.check(/* @__PURE__ */ BT());
    },
    slugify() {
      return this.check(/* @__PURE__ */ FT());
    }
  });
}), ID = /* @__PURE__ */ Le("ZodString", (e, t) => {
  El.init(e, t), Jd.init(e, t), e.email = (r) => e.check(/* @__PURE__ */ tT(kD, r)), e.url = (r) => e.check(/* @__PURE__ */ aT(LD, r)), e.jwt = (r) => e.check(/* @__PURE__ */ wT(VD, r)), e.emoji = (r) => e.check(/* @__PURE__ */ oT(xD, r)), e.guid = (r) => e.check(/* @__PURE__ */ Kc(Jc, r)), e.uuid = (r) => e.check(/* @__PURE__ */ rT(Ji, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ iT(Ji, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ nT(Ji, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ sT(Ji, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ lT($D, r)), e.guid = (r) => e.check(/* @__PURE__ */ Kc(Jc, r)), e.cuid = (r) => e.check(/* @__PURE__ */ cT(ND, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ uT(PD, r)), e.ulid = (r) => e.check(/* @__PURE__ */ hT(BD, r)), e.base64 = (r) => e.check(/* @__PURE__ */ yT(GD, r)), e.base64url = (r) => e.check(/* @__PURE__ */ _T(zD, r)), e.xid = (r) => e.check(/* @__PURE__ */ fT(FD, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ dT(MD, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ pT(jD, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ gT(UD, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ mT(HD, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ vT(qD, r)), e.e164 = (r) => e.check(/* @__PURE__ */ bT(WD, r)), e.datetime = (r) => e.check(uD(r)), e.date = (r) => e.check(fD(r)), e.time = (r) => e.check(pD(r)), e.duration = (r) => e.check(mD(r));
});
function ur(e) {
  return /* @__PURE__ */ eT(ID, e);
}
var ut = /* @__PURE__ */ Le("ZodStringFormat", (e, t) => {
  ct.init(e, t), Jd.init(e, t);
}), kD = /* @__PURE__ */ Le("ZodEmail", (e, t) => {
  uA.init(e, t), ut.init(e, t);
}), Jc = /* @__PURE__ */ Le("ZodGUID", (e, t) => {
  lA.init(e, t), ut.init(e, t);
}), Ji = /* @__PURE__ */ Le("ZodUUID", (e, t) => {
  cA.init(e, t), ut.init(e, t);
}), LD = /* @__PURE__ */ Le("ZodURL", (e, t) => {
  hA.init(e, t), ut.init(e, t);
}), xD = /* @__PURE__ */ Le("ZodEmoji", (e, t) => {
  fA.init(e, t), ut.init(e, t);
}), $D = /* @__PURE__ */ Le("ZodNanoID", (e, t) => {
  dA.init(e, t), ut.init(e, t);
}), ND = /* @__PURE__ */ Le("ZodCUID", (e, t) => {
  pA.init(e, t), ut.init(e, t);
}), PD = /* @__PURE__ */ Le("ZodCUID2", (e, t) => {
  gA.init(e, t), ut.init(e, t);
}), BD = /* @__PURE__ */ Le("ZodULID", (e, t) => {
  mA.init(e, t), ut.init(e, t);
}), FD = /* @__PURE__ */ Le("ZodXID", (e, t) => {
  vA.init(e, t), ut.init(e, t);
}), MD = /* @__PURE__ */ Le("ZodKSUID", (e, t) => {
  yA.init(e, t), ut.init(e, t);
}), jD = /* @__PURE__ */ Le("ZodIPv4", (e, t) => {
  SA.init(e, t), ut.init(e, t);
}), UD = /* @__PURE__ */ Le("ZodIPv6", (e, t) => {
  AA.init(e, t), ut.init(e, t);
}), HD = /* @__PURE__ */ Le("ZodCIDRv4", (e, t) => {
  TA.init(e, t), ut.init(e, t);
}), qD = /* @__PURE__ */ Le("ZodCIDRv6", (e, t) => {
  DA.init(e, t), ut.init(e, t);
}), GD = /* @__PURE__ */ Le("ZodBase64", (e, t) => {
  RA.init(e, t), ut.init(e, t);
}), zD = /* @__PURE__ */ Le("ZodBase64URL", (e, t) => {
  CA.init(e, t), ut.init(e, t);
}), WD = /* @__PURE__ */ Le("ZodE164", (e, t) => {
  IA.init(e, t), ut.init(e, t);
}), VD = /* @__PURE__ */ Le("ZodJWT", (e, t) => {
  LA.init(e, t), ut.init(e, t);
}), YD = /* @__PURE__ */ Le("ZodUnknown", (e, t) => {
  xA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => VT(e, r, i, s);
});
function Xc() {
  return /* @__PURE__ */ DT(YD);
}
var KD = /* @__PURE__ */ Le("ZodNever", (e, t) => {
  $A.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => WT(e, r, i, s);
});
function ZD(e) {
  return /* @__PURE__ */ RT(KD, e);
}
var JD = /* @__PURE__ */ Le("ZodArray", (e, t) => {
  NA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => JT(e, r, i, s), e.element = t.element, hs(e, "ZodArray", {
    min(r, i) {
      return this.check(/* @__PURE__ */ yn(r, i));
    },
    nonempty(r) {
      return this.check(/* @__PURE__ */ yn(1, r));
    },
    max(r, i) {
      return this.check(/* @__PURE__ */ zd(r, i));
    },
    length(r, i) {
      return this.check(/* @__PURE__ */ Wd(r, i));
    },
    unwrap() {
      return this.element;
    }
  });
});
function Xd(e, t) {
  return /* @__PURE__ */ MT(JD, e, t);
}
var XD = /* @__PURE__ */ Le("ZodObject", (e, t) => {
  BA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => XT(e, r, i, s), tt(e, "shape", () => t.shape), hs(e, "ZodObject", {
    keyof() {
      return rR(Object.keys(this._zod.def.shape));
    },
    catchall(r) {
      return this.clone({
        ...this._zod.def,
        catchall: r
      });
    },
    passthrough() {
      return this.clone({
        ...this._zod.def,
        catchall: Xc()
      });
    },
    loose() {
      return this.clone({
        ...this._zod.def,
        catchall: Xc()
      });
    },
    strict() {
      return this.clone({
        ...this._zod.def,
        catchall: ZD()
      });
    },
    strip() {
      return this.clone({
        ...this._zod.def,
        catchall: void 0
      });
    },
    extend(r) {
      return oS(this, r);
    },
    safeExtend(r) {
      return lS(this, r);
    },
    merge(r) {
      return cS(this, r);
    },
    pick(r) {
      return sS(this, r);
    },
    omit(r) {
      return aS(this, r);
    },
    partial(...r) {
      return uS(ep, this, r[0]);
    },
    required(...r) {
      return hS(tp, this, r[0]);
    }
  });
});
function Qc(e, t) {
  return new XD({
    type: "object",
    shape: e ?? {},
    ...Ge(t)
  });
}
var QD = /* @__PURE__ */ Le("ZodUnion", (e, t) => {
  FA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => QT(e, r, i, s), e.options = t.options;
});
function Qd(e, t) {
  return new QD({
    type: "union",
    options: e,
    ...Ge(t)
  });
}
var eR = /* @__PURE__ */ Le("ZodIntersection", (e, t) => {
  MA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => eD(e, r, i, s);
});
function tR(e, t) {
  return new eR({
    type: "intersection",
    left: e,
    right: t
  });
}
var eu = /* @__PURE__ */ Le("ZodRecord", (e, t) => {
  jA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => tD(e, r, i, s), e.keyType = t.keyType, e.valueType = t.valueType;
});
function $s(e, t, r) {
  return !t || !t._zod ? new eu({
    type: "record",
    keyType: ur(),
    valueType: e,
    ...Ge(t)
  }) : new eu({
    type: "record",
    keyType: e,
    valueType: t,
    ...Ge(r)
  });
}
var uo = /* @__PURE__ */ Le("ZodEnum", (e, t) => {
  UA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (i, s, d) => YT(e, i, s, d), e.enum = t.entries, e.options = Object.values(t.entries);
  const r = new Set(Object.keys(t.entries));
  e.extract = (i, s) => {
    const d = {};
    for (const c of i) if (r.has(c)) d[c] = t.entries[c];
    else throw new Error(`Key ${c} not found in enum`);
    return new uo({
      ...t,
      checks: [],
      ...Ge(s),
      entries: d
    });
  }, e.exclude = (i, s) => {
    const d = { ...t.entries };
    for (const c of i) if (r.has(c)) delete d[c];
    else throw new Error(`Key ${c} not found in enum`);
    return new uo({
      ...t,
      checks: [],
      ...Ge(s),
      entries: d
    });
  };
});
function rR(e, t) {
  return new uo({
    type: "enum",
    entries: Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e,
    ...Ge(t)
  });
}
var iR = /* @__PURE__ */ Le("ZodTransform", (e, t) => {
  HA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => ZT(e, r, i, s), e._zod.parse = (r, i) => {
    if (i.direction === "backward") throw new kd(e.constructor.name);
    r.addIssue = (d) => {
      if (typeof d == "string") r.issues.push(bi(d, r.value, t));
      else {
        const c = d;
        c.fatal && (c.continue = !1), c.code ?? (c.code = "custom"), c.input ?? (c.input = r.value), c.inst ?? (c.inst = e), r.issues.push(bi(c));
      }
    };
    const s = t.transform(r.value, r);
    return s instanceof Promise ? s.then((d) => (r.value = d, r.fallback = !0, r)) : (r.value = s, r.fallback = !0, r);
  };
});
function nR(e) {
  return new iR({
    type: "transform",
    transform: e
  });
}
var ep = /* @__PURE__ */ Le("ZodOptional", (e, t) => {
  Gd.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => Zd(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function wi(e) {
  return new ep({
    type: "optional",
    innerType: e
  });
}
var sR = /* @__PURE__ */ Le("ZodExactOptional", (e, t) => {
  qA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => Zd(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function aR(e) {
  return new sR({
    type: "optional",
    innerType: e
  });
}
var oR = /* @__PURE__ */ Le("ZodNullable", (e, t) => {
  GA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => rD(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function tu(e) {
  return new oR({
    type: "nullable",
    innerType: e
  });
}
var lR = /* @__PURE__ */ Le("ZodDefault", (e, t) => {
  zA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => nD(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function cR(e, t) {
  return new lR({
    type: "default",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : $d(t);
    }
  });
}
var uR = /* @__PURE__ */ Le("ZodPrefault", (e, t) => {
  WA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => sD(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function hR(e, t) {
  return new uR({
    type: "prefault",
    innerType: e,
    get defaultValue() {
      return typeof t == "function" ? t() : $d(t);
    }
  });
}
var tp = /* @__PURE__ */ Le("ZodNonOptional", (e, t) => {
  VA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => iD(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function fR(e, t) {
  return new tp({
    type: "nonoptional",
    innerType: e,
    ...Ge(t)
  });
}
var dR = /* @__PURE__ */ Le("ZodCatch", (e, t) => {
  YA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => aD(e, r, i, s), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
function pR(e, t) {
  return new dR({
    type: "catch",
    innerType: e,
    catchValue: typeof t == "function" ? t : () => t
  });
}
var gR = /* @__PURE__ */ Le("ZodPipe", (e, t) => {
  KA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => oD(e, r, i, s), e.in = t.in, e.out = t.out;
});
function ru(e, t) {
  return new gR({
    type: "pipe",
    in: e,
    out: t
  });
}
var mR = /* @__PURE__ */ Le("ZodReadonly", (e, t) => {
  ZA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => lD(e, r, i, s), e.unwrap = () => e._zod.def.innerType;
});
function vR(e) {
  return new mR({
    type: "readonly",
    innerType: e
  });
}
var yR = /* @__PURE__ */ Le("ZodCustom", (e, t) => {
  JA.init(e, t), mt.init(e, t), e._zod.processJSONSchema = (r, i, s) => KT(e, r, i, s);
});
function _R(e, t = {}) {
  return /* @__PURE__ */ jT(yR, e, t);
}
function bR(e, t) {
  return /* @__PURE__ */ UT(e, t);
}
var iu = {
  catalog: wi($s(ur(), ur())),
  catalogs: wi($s(ur(), $s(ur(), ur()))).catch(void 0)
}, rp = Qc({
  ...iu,
  workspaces: wi(Qd([Xd(ur()), Qc(iu).passthrough()])).catch(void 0)
}), wR = {
  dev: "devDependencies",
  peer: "peerDependencies",
  prod: "dependencies",
  optional: "optionalDependencies"
}, Sl = (e) => (e ? typeof e == "string" ? e.split(",") : e : fr.dep.default).map((t) => wR[t] || t);
function nu(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function su(e, t, r) {
  const i = await Xe.readFile(e, "utf-8");
  return Object.entries(r).filter(([s]) => t[s]).reduce((s, [d, c]) => {
    const n = t[d], u = `("${nu(d)}"\\s*:\\s*")(${nu(n)})(")`, o = new RegExp(u, "g");
    return s.replace(o, `$1${c}$3`);
  }, i);
}
function au(e, { options: t, filePath: r }) {
  const i = e instanceof Error ? e.message : String(e), s = `Invalid YAML syntax${r ? ` in ${r}` : ""}. Unable to read catalog dependencies.
${i}`;
  throw t && We(t, s), new Error(s);
}
function ER(e, t, { newName: r, newValue: i }) {
  const s = t.slice(0, -1), d = t.at(-1), c = e.getIn(s);
  if (!c || !(0, Pt.isCollection)(c)) return !1;
  const n = c.items.find((u) => (0, Pt.isPair)(u) && (0, Pt.isScalar)(u.key) && u.key.value === d);
  if (!n || !(0, Pt.isPair)(n)) return !1;
  if (r && Pt.CST.setScalarValue(n.srcToken.key, r), i) {
    if (!Pt.CST.isScalar(n.srcToken?.value)) return !1;
    Pt.CST.setScalarValue(n.srcToken.value, i);
  }
  return !0;
}
function SR({ fileContent: e, upgrade: t, options: r, filePath: i }) {
  const { path: s } = t;
  if (!(s.length > 1) && s[0] !== "catalog" && s[0] !== "catalogs") return null;
  const { newValue: d } = t;
  let c, n;
  try {
    c = (0, Pt.parseDocument)(e, { keepSourceTokens: !0 });
  } catch (o) {
    au(o, {
      options: r,
      filePath: i
    });
  }
  c.errors.length > 0 && au(c.errors[0], {
    options: r,
    filePath: i
  });
  try {
    n = rp.parse(c.toJSON());
  } catch {
    return null;
  }
  const u = n.workspaces && !Array.isArray(n.workspaces) ? n.workspaces : void 0;
  return (s[0] === "catalog" ? n.catalog?.[s[1]] : s[0] === "catalogs" ? n.catalogs?.[s[1]]?.[s[2]] : s[0] === "workspaces" && s[1] === "catalog" ? u?.catalog?.[s[2]] : s[0] === "workspaces" && s[1] === "catalogs" ? u?.catalogs?.[s[2]]?.[s[3]] : void 0) === d ? e : ER(c, s, {
    newValue: d,
    newName: t.path.at(-1)
  }) ? Pt.CST.stringify(c.contents.srcToken) : null;
}
function AR(e) {
  return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
}
async function ip(e, t, r, i, s) {
  if (s) {
    const u = qe.basename(s), o = qe.extname(s);
    if (s.includes("#catalog")) {
      const h = s.replace("#catalog", "");
      if (qe.extname(h) === ".json") return su(h, t, r);
    }
    if (u === "pnpm-workspace.yaml" || u === ".yarnrc.yml") {
      const h = await Xe.readFile(s, "utf-8"), a = rp.parse((0, Pt.parseDocument)(h).toJSON()), l = [];
      a.catalogs && Object.entries(a.catalogs).forEach(([g, m]) => {
        Object.entries(r).forEach(([v, _]) => {
          m[v] && l.push({
            path: [
              "catalogs",
              g,
              v
            ],
            newValue: _
          });
        });
      }), a.catalog && Object.entries(r).forEach(([g, m]) => {
        a.catalog?.[g] && l.push({
          path: ["catalog", g],
          newValue: m
        });
      });
      const f = a.workspaces;
      f && !Array.isArray(f) && (f.catalogs && Object.entries(f.catalogs).forEach(([g, m]) => {
        Object.entries(r).forEach(([v, _]) => {
          m[v] && l.push({
            path: [
              "workspaces",
              "catalogs",
              g,
              v
            ],
            newValue: _
          });
        });
      }), f.catalog && Object.entries(r).forEach(([g, m]) => {
        f.catalog?.[g] && l.push({
          path: [
            "workspaces",
            "catalog",
            g
          ],
          newValue: m
        });
      }));
      let p = h;
      return l.forEach((g) => {
        const m = SR({
          fileContent: p,
          upgrade: g,
          options: i,
          filePath: s
        });
        m && (p = m);
      }), p;
    }
    if (o === ".json") {
      const h = JSON.parse(e), a = h.catalog || h.catalogs, l = h.workspaces && !Array.isArray(h.workspaces) && (h.workspaces.catalog || h.workspaces.catalogs);
      if (a || l) return su(s, t, r);
    }
  }
  const d = [...Sl(i.dep), "overrides"], c = new RegExp(`"(${d.join("|")})"s*:[^}]*`, "g");
  let n = e.replace(c, (u) => Object.entries(r).reduce((o, [h]) => {
    const a = `"${h}"\\s*:\\s*("|{\\s*"."\\s*:\\s*")(${AR(t[h])})"`, l = new RegExp(a, "g");
    return o.replace(l, (f, p) => `"${h}${p ? `": ${p}` : ": "}${r[h]}"`);
  }, u));
  if (d.includes("packageManager")) {
    const u = JSON.parse(e);
    if (u.packageManager) {
      const [o] = u.packageManager.split("@");
      r[o] && (n = n.replace(/"packageManager"\s*:\s*".*?@[^"]*"/, `"packageManager": "${o}@${r[o]}"`));
    }
  }
  return n;
}
var Xi = (e, t, r, { spawnOptions: i, spawnPleaseOptions: s } = {}) => {
  r && console.log(Se.blue([t.packageManager, ...e].join(" ")));
  const d = {
    cwd: t.cwd || process.cwd(),
    env: {
      ...process.env,
      ...t.packageManager !== "pnpm" ? { CI: "1" } : null,
      FORCE_COLOR: "1",
      ...i?.env
    },
    ...i
  }, c = {
    ...t.global ? { global: !0 } : null,
    ...t.prefix ? { prefix: t.prefix } : null
  };
  return (t.packageManager === "pnpm" ? od : t.packageManager === "yarn" ? pl : t.packageManager === "bun" ? rl : Gn)(e, c, s, d);
}, TR = async (e) => {
  (e.packageData || e.packageFile) && (console.error('--packageData and --packageFile are not allowed with --doctor. You must execute "ncu --doctor" in a directory with a package file so it can install dependencies and test them.'), process.exit(1));
  let t;
  try {
    t = await gl(e, "package.json");
  } catch {
    console.error("Missing or invalid package.json"), process.exit(1);
  }
  return !e.doctorTest && !t.pkg.scripts?.test && (console.error('No npm "test" script defined. You must define a "test" script in the "scripts" section of your package.json to use --doctor.'), process.exit(1)), t;
}, DR = async (e, t) => {
  await ku();
  let r = t.packageManager === "yarn" ? "yarn.lock" : t.packageManager === "pnpm" ? "pnpm-lock.yaml" : t.packageManager === "bun" ? "bun.lock" : "package-lock.json";
  const { pkg: i, pkgFile: s } = await TR(t), d = {
    ...i.dependencies,
    ...i.devDependencies,
    ...i.optionalDependencies
  }, c = async () => {
    if (t.doctorInstall) {
      const [a, ...l] = t.doctorInstall.split(" ");
      console.log(Se.blue(t.doctorInstall)), await (0, yi.default)(a, l);
    } else await Xi(["install"], { packageManager: t.packageManager }, !0);
  }, n = async () => {
    const a = {
      stderr: (l) => {
        console.error(Se.red(l.toString()));
      },
      stdout: (l) => {
        process.stdout.write(l.toString());
      }
    };
    if (t.doctorTest) {
      const l = t.doctorTest.matchAll(/"(.+?)"|'(.+?)'|[^ ]+/g);
      let f = [];
      for (const m of l) f = [...f, m[2] || m[1] || m[0]];
      const [p, ...g] = f;
      console.log(Se.blue(t.doctorTest)), await (0, yi.default)(p, g, a);
    } else await Xi(["run", "test"], { packageManager: t.packageManager }, !0, { spawnPleaseOptions: a });
  };
  console.log("Running tests before upgrading"), await c();
  let u = "";
  try {
    u = await Xe.readFile(r, "utf-8");
  } catch {
    if (t.packageManager === "bun") {
      r = "bun.lockb";
      try {
        u = await Xe.readFile(r, "utf-8");
      } catch {
      }
    }
  }
  try {
    await n();
  } catch {
    console.error("Tests failed before we even got started!"), process.exit(1);
  }
  t.interactive || console.log("Upgrading all dependencies and re-running tests"), console.log(Se.blue("ncu " + process.argv.slice(2).filter((a) => a !== "--doctor").join(" "))), process.env.NCU_DOCTOR = "1";
  const o = await e({
    ...t,
    silent: !0,
    doctor: !1
  });
  if (Object.keys(o || {}).length === 0) {
    console.log("All dependencies are up-to-date " + Se.green.bold(":)"));
    return;
  }
  let h = !1;
  try {
    await c(), h = !0, await n(), console.log(`${Se.green("✓")} Tests pass`), await Go(t, {
      current: d,
      upgraded: o,
      total: Object.keys(o || {}).length
    }), console.log(`
${t.interactive ? "Chosen" : "All"} dependencies upgraded and installed ${Se.green(":)")}`);
  } catch {
    console.error(Se.red(h ? "Tests failed" : "Install failed")), console.log("Identifying broken dependencies"), await Xe.writeFile("package.json", s), u ? await Xe.writeFile(r, u) : await Xe.rm(r, {
      recursive: !0,
      force: !0
    });
    let a = s;
    if (h) try {
      await c();
    } catch (p) {
      const g = (t.packageManager || "npm") + " install";
      throw new Error(`Error: Doctor mode was about to test individual upgrades, but ${Se.cyan(g)} failed after rolling back to your existing package and lock files. This is unexpected since the initial install before any upgrades succeeded. Either npm failed to revert a partial install, or failed anomalously on the second run. Please check your internet connection and retry. If doctor mode fails consistently, report a bug with your complete list of dependency versions at https://github.com/raineorshine/npm-check-updates/issues.`, { cause: p });
    }
    let l, f;
    for ([l, f] of Object.entries(o)) try {
      if (await Xi([...t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun" ? ["add"] : ["install", "--no-save"], `${l}@${f}`], { packageManager: t.packageManager }, !0), i.scripts?.prepare) try {
        await Xi(["run", "prepare"], { packageManager: t.packageManager }, !0);
      } catch (p) {
        throw console.error(Se.red("Prepare script failed")), p;
      }
      await n(), console.log(`  ${Se.green("✓")} ${l} ${d[l]} → ${f}`), a = await ip(a, { [l]: d[l] }, { [l]: f }, t), u = await Xe.readFile(r, "utf-8");
    } catch (p) {
      console.error(`  ${Se.red("✗")} ${l} ${d[l]} → ${f}
`), console.error(Se.red(p)), await Xe.writeFile(r, u), (t.packageManager === "yarn" || t.packageManager === "pnpm" || t.packageManager === "bun") && await Xe.writeFile("package.json", a);
    }
    a !== s && (console.log("Saving partially upgraded package.json"), await Xe.writeFile("package.json", a)), await c();
  }
};
async function bn(e) {
  let t, r = null;
  const i = e.packageFile || "package.json";
  function s(d, c) {
    if (d != null) {
      const n = qe.resolve(d);
      Fe(e, `${e.upgrade ? "Upgrading" : "Checking"} ${n}`);
    } else We(e, `${Se.red(`No ${c}`)}

Please add a ${c} to the current directory, specify the ${Se.cyan("--packageFile")} or ${Se.cyan("--packageData")} options, or pipe a ${c} to stdin and specify ${Se.cyan("--stdin")}.`, { color: !1 });
    return Xe.readFile(d, "utf-8").catch((n) => {
      We(e, n);
    });
  }
  if (Fe(e, "Running in local mode", "verbose"), Fe(e, "Finding package file data", "verbose"), e.packageData)
    r = null, t = Promise.resolve(e.packageData);
  else if (e.packageFile)
    r = e.packageFile, t = s(r, i);
  else if (e.stdin) {
    Fe(e, "Waiting for package data on stdin", "verbose");
    const d = await Yp(process.stdin), c = d.trim().length > 0 ? d : null;
    r = c || !i ? null : await pn(i), t = c || s(await r, i);
  } else
    r = i ? await pn(!e.packageFile && e.packageManager === "deno" ? ["deno.json", "deno.jsonc"] : i, { cwd: e.cwd || process.cwd() }) : null, t = s(r, i);
  return {
    pkgData: await t,
    pkgFile: r || null,
    pkgPath: i
  };
}
var RR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.splitWhen = e.flatten = void 0;
  function t(i) {
    return i.reduce((s, d) => [].concat(s, d), []);
  }
  e.flatten = t;
  function r(i, s) {
    const d = [[]];
    let c = 0;
    for (const n of i) s(n) ? (c++, d[c] = []) : d[c].push(n);
    return d;
  }
  e.splitWhen = r;
})), OR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEnoentCodeError = void 0;
  function t(r) {
    return r.code === "ENOENT";
  }
  e.isEnoentCodeError = t;
})), CR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createDirentFromStats = void 0;
  var t = class {
    constructor(i, s) {
      this.name = i, this.isBlockDevice = s.isBlockDevice.bind(s), this.isCharacterDevice = s.isCharacterDevice.bind(s), this.isDirectory = s.isDirectory.bind(s), this.isFIFO = s.isFIFO.bind(s), this.isFile = s.isFile.bind(s), this.isSocket = s.isSocket.bind(s), this.isSymbolicLink = s.isSymbolicLink.bind(s);
    }
  };
  function r(i, s) {
    return new t(i, s);
  }
  e.createDirentFromStats = r;
})), IR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.convertPosixPathToPattern = e.convertWindowsPathToPattern = e.convertPathToPattern = e.escapePosixPath = e.escapeWindowsPath = e.escape = e.removeLeadingDotSegment = e.makeAbsolute = e.unixify = void 0;
  var t = be("os"), r = be("path"), i = t.platform() === "win32", s = 2, d = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, c = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, n = /^\\\\([.?])/, u = /\\(?![!()+@[\]{}])/g;
  function o(m) {
    return m.replace(/\\/g, "/");
  }
  e.unixify = o;
  function h(m, v) {
    return r.resolve(m, v);
  }
  e.makeAbsolute = h;
  function a(m) {
    if (m.charAt(0) === ".") {
      const v = m.charAt(1);
      if (v === "/" || v === "\\") return m.slice(s);
    }
    return m;
  }
  e.removeLeadingDotSegment = a, e.escape = i ? l : f;
  function l(m) {
    return m.replace(c, "\\$2");
  }
  e.escapeWindowsPath = l;
  function f(m) {
    return m.replace(d, "\\$2");
  }
  e.escapePosixPath = f, e.convertPathToPattern = i ? p : g;
  function p(m) {
    return l(m).replace(n, "//$1").replace(u, "/");
  }
  e.convertWindowsPathToPattern = p;
  function g(m) {
    return f(m);
  }
  e.convertPosixPathToPattern = g;
})), kR = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(i) {
    if (typeof i != "string" || i === "") return !1;
    for (var s; s = /(\\).|([@?!+*]\(.*\))/g.exec(i); ) {
      if (s[2]) return !0;
      i = i.slice(s.index + s[0].length);
    }
    return !1;
  };
})), LR = /* @__PURE__ */ z(((e, t) => {
  var r = kR(), i = {
    "{": "}",
    "(": ")",
    "[": "]"
  }, s = function(c) {
    if (c[0] === "!") return !0;
    for (var n = 0, u = -2, o = -2, h = -2, a = -2, l = -2; n < c.length; ) {
      if (c[n] === "*" || c[n + 1] === "?" && /[\].+)]/.test(c[n]) || o !== -1 && c[n] === "[" && c[n + 1] !== "]" && (o < n && (o = c.indexOf("]", n)), o > n && (l === -1 || l > o || (l = c.indexOf("\\", n), l === -1 || l > o))) || h !== -1 && c[n] === "{" && c[n + 1] !== "}" && (h = c.indexOf("}", n), h > n && (l = c.indexOf("\\", n), l === -1 || l > h)) || a !== -1 && c[n] === "(" && c[n + 1] === "?" && /[:!=]/.test(c[n + 2]) && c[n + 3] !== ")" && (a = c.indexOf(")", n), a > n && (l = c.indexOf("\\", n), l === -1 || l > a)) || u !== -1 && c[n] === "(" && c[n + 1] !== "|" && (u < n && (u = c.indexOf("|", n)), u !== -1 && c[u + 1] !== ")" && (a = c.indexOf(")", u), a > u && (l = c.indexOf("\\", u), l === -1 || l > a))))
        return !0;
      if (c[n] === "\\") {
        var f = c[n + 1];
        n += 2;
        var p = i[f];
        if (p) {
          var g = c.indexOf(p, n);
          g !== -1 && (n = g + 1);
        }
        if (c[n] === "!") return !0;
      } else n++;
    }
    return !1;
  }, d = function(c) {
    if (c[0] === "!") return !0;
    for (var n = 0; n < c.length; ) {
      if (/[*?{}()[\]]/.test(c[n])) return !0;
      if (c[n] === "\\") {
        var u = c[n + 1];
        n += 2;
        var o = i[u];
        if (o) {
          var h = c.indexOf(o, n);
          h !== -1 && (n = h + 1);
        }
        if (c[n] === "!") return !0;
      } else n++;
    }
    return !1;
  };
  t.exports = function(n, u) {
    if (typeof n != "string" || n === "") return !1;
    if (r(n)) return !0;
    var o = s;
    return u && u.strict === !1 && (o = d), o(n);
  };
})), xR = /* @__PURE__ */ z(((e, t) => {
  var r = LR(), i = be("path").posix.dirname, s = be("os").platform() === "win32", d = "/", c = /\\/g, n = /[\{\[].*[\}\]]$/, u = /(^|[^\\])([\{\[]|\([^\)]+$)/, o = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
  t.exports = function(a, l) {
    Object.assign({ flipBackslashes: !0 }, l).flipBackslashes && s && a.indexOf(d) < 0 && (a = a.replace(c, d)), n.test(a) && (a += d), a += "a";
    do
      a = i(a);
    while (r(a) || u.test(a));
    return a.replace(o, "$1");
  };
})), Al = /* @__PURE__ */ z(((e) => {
  e.isInteger = (t) => typeof t == "number" ? Number.isInteger(t) : typeof t == "string" && t.trim() !== "" ? Number.isInteger(Number(t)) : !1, e.find = (t, r) => t.nodes.find((i) => i.type === r), e.exceedsLimit = (t, r, i = 1, s) => s === !1 || !e.isInteger(t) || !e.isInteger(r) ? !1 : (Number(r) - Number(t)) / Number(i) >= s, e.escapeNode = (t, r = 0, i) => {
    const s = t.nodes[r];
    s && (i && s.type === i || s.type === "open" || s.type === "close") && s.escaped !== !0 && (s.value = "\\" + s.value, s.escaped = !0);
  }, e.encloseBrace = (t) => t.type !== "brace" ? !1 : t.commas >> 0 + t.ranges >> 0 === 0 ? (t.invalid = !0, !0) : !1, e.isInvalidBrace = (t) => t.type !== "brace" ? !1 : t.invalid === !0 || t.dollar ? !0 : t.commas >> 0 + t.ranges >> 0 === 0 || t.open !== !0 || t.close !== !0 ? (t.invalid = !0, !0) : !1, e.isOpenOrClose = (t) => t.type === "open" || t.type === "close" ? !0 : t.open === !0 || t.close === !0, e.reduce = (t) => t.reduce((r, i) => (i.type === "text" && r.push(i.value), i.type === "range" && (i.type = "text"), r), []), e.flatten = (...t) => {
    const r = [], i = (s) => {
      for (let d = 0; d < s.length; d++) {
        const c = s[d];
        if (Array.isArray(c)) {
          i(c);
          continue;
        }
        c !== void 0 && r.push(c);
      }
      return r;
    };
    return i(t), r;
  };
})), Tl = /* @__PURE__ */ z(((e, t) => {
  var r = Al();
  t.exports = (i, s = {}) => {
    const d = (c, n = {}) => {
      const u = s.escapeInvalid && r.isInvalidBrace(n), o = c.invalid === !0 && s.escapeInvalid === !0;
      let h = "";
      if (c.value)
        return (u || o) && r.isOpenOrClose(c) ? "\\" + c.value : c.value;
      if (c.value) return c.value;
      if (c.nodes) for (const a of c.nodes) h += d(a);
      return h;
    };
    return d(i);
  };
})), $R = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(r) {
    return typeof r == "number" ? r - r === 0 : typeof r == "string" && r.trim() !== "" ? Number.isFinite ? Number.isFinite(+r) : isFinite(+r) : !1;
  };
})), NR = /* @__PURE__ */ z(((e, t) => {
  var r = $R(), i = (_, E, S) => {
    if (r(_) === !1) throw new TypeError("toRegexRange: expected the first argument to be a number");
    if (E === void 0 || _ === E) return String(_);
    if (r(E) === !1) throw new TypeError("toRegexRange: expected the second argument to be a number.");
    let w = {
      relaxZeros: !0,
      ...S
    };
    typeof w.strictZeros == "boolean" && (w.relaxZeros = w.strictZeros === !1);
    let b = String(w.relaxZeros), A = String(w.shorthand), D = String(w.capture), C = String(w.wrap), O = _ + ":" + E + "=" + b + A + D + C;
    if (i.cache.hasOwnProperty(O)) return i.cache[O].result;
    let I = Math.min(_, E), x = Math.max(_, E);
    if (Math.abs(I - x) === 1) {
      let N = _ + "|" + E;
      return w.capture ? `(${N})` : w.wrap === !1 ? N : `(?:${N})`;
    }
    let F = m(_) || m(E), q = {
      min: _,
      max: E,
      a: I,
      b: x
    }, K = [], M = [];
    return F && (q.isPadded = F, q.maxLen = String(q.max).length), I < 0 && (M = n(x < 0 ? Math.abs(x) : 1, Math.abs(I), q, w), I = q.a = 0), x >= 0 && (K = n(I, x, q, w)), q.negatives = M, q.positives = K, q.result = s(M, K, w), w.capture === !0 ? q.result = `(${q.result})` : w.wrap !== !1 && K.length + M.length > 1 && (q.result = `(?:${q.result})`), i.cache[O] = q, q.result;
  };
  function s(_, E, S) {
    let w = u(_, E, "-", !1, S) || [], b = u(E, _, "", !1, S) || [], A = u(_, E, "-?", !0, S) || [];
    return w.concat(A).concat(b).join("|");
  }
  function d(_, E) {
    let S = 1, w = 1, b = l(_, S), A = /* @__PURE__ */ new Set([E]);
    for (; _ <= b && b <= E; )
      A.add(b), S += 1, b = l(_, S);
    for (b = f(E + 1, w) - 1; _ < b && b <= E; )
      A.add(b), w += 1, b = f(E + 1, w) - 1;
    return A = [...A], A.sort(h), A;
  }
  function c(_, E, S) {
    if (_ === E) return {
      pattern: _,
      count: [],
      digits: 0
    };
    let w = o(_, E), b = w.length, A = "", D = 0;
    for (let C = 0; C < b; C++) {
      let [O, I] = w[C];
      O === I ? A += O : O !== "0" || I !== "9" ? A += g(O, I, S) : D++;
    }
    return D && (A += S.shorthand === !0 ? "\\d" : "[0-9]"), {
      pattern: A,
      count: [D],
      digits: b
    };
  }
  function n(_, E, S, w) {
    let b = d(_, E), A = [], D = _, C;
    for (let O = 0; O < b.length; O++) {
      let I = b[O], x = c(String(D), String(I), w), F = "";
      if (!S.isPadded && C && C.pattern === x.pattern) {
        C.count.length > 1 && C.count.pop(), C.count.push(x.count[0]), C.string = C.pattern + p(C.count), D = I + 1;
        continue;
      }
      S.isPadded && (F = v(I, S, w)), x.string = F + x.pattern + p(x.count), A.push(x), D = I + 1, C = x;
    }
    return A;
  }
  function u(_, E, S, w, b) {
    let A = [];
    for (let D of _) {
      let { string: C } = D;
      !w && !a(E, "string", C) && A.push(S + C), w && a(E, "string", C) && A.push(S + C);
    }
    return A;
  }
  function o(_, E) {
    let S = [];
    for (let w = 0; w < _.length; w++) S.push([_[w], E[w]]);
    return S;
  }
  function h(_, E) {
    return _ > E ? 1 : E > _ ? -1 : 0;
  }
  function a(_, E, S) {
    return _.some((w) => w[E] === S);
  }
  function l(_, E) {
    return Number(String(_).slice(0, -E) + "9".repeat(E));
  }
  function f(_, E) {
    return _ - _ % Math.pow(10, E);
  }
  function p(_) {
    let [E = 0, S = ""] = _;
    return S || E > 1 ? `{${E + (S ? "," + S : "")}}` : "";
  }
  function g(_, E, S) {
    return `[${_}${E - _ === 1 ? "" : "-"}${E}]`;
  }
  function m(_) {
    return /^-?(0+)\d/.test(_);
  }
  function v(_, E, S) {
    if (!E.isPadded) return _;
    let w = Math.abs(E.maxLen - String(_).length), b = S.relaxZeros !== !1;
    switch (w) {
      case 0:
        return "";
      case 1:
        return b ? "0?" : "0";
      case 2:
        return b ? "0{0,2}" : "00";
      default:
        return b ? `0{0,${w}}` : `0{${w}}`;
    }
  }
  i.cache = {}, i.clearCache = () => i.cache = {}, t.exports = i;
})), np = /* @__PURE__ */ z(((e, t) => {
  var r = be("util"), i = NR(), s = (w) => w !== null && typeof w == "object" && !Array.isArray(w), d = (w) => (b) => w === !0 ? Number(b) : String(b), c = (w) => typeof w == "number" || typeof w == "string" && w !== "", n = (w) => Number.isInteger(+w), u = (w) => {
    let b = `${w}`, A = -1;
    if (b[0] === "-" && (b = b.slice(1)), b === "0") return !1;
    for (; b[++A] === "0"; ) ;
    return A > 0;
  }, o = (w, b, A) => typeof w == "string" || typeof b == "string" ? !0 : A.stringify === !0, h = (w, b, A) => {
    if (b > 0) {
      let D = w[0] === "-" ? "-" : "";
      D && (w = w.slice(1)), w = D + w.padStart(D ? b - 1 : b, "0");
    }
    return A === !1 ? String(w) : w;
  }, a = (w, b) => {
    let A = w[0] === "-" ? "-" : "";
    for (A && (w = w.slice(1), b--); w.length < b; ) w = "0" + w;
    return A ? "-" + w : w;
  }, l = (w, b, A) => {
    w.negatives.sort((x, F) => x < F ? -1 : x > F ? 1 : 0), w.positives.sort((x, F) => x < F ? -1 : x > F ? 1 : 0);
    let D = b.capture ? "" : "?:", C = "", O = "", I;
    return w.positives.length && (C = w.positives.map((x) => a(String(x), A)).join("|")), w.negatives.length && (O = `-(${D}${w.negatives.map((x) => a(String(x), A)).join("|")})`), C && O ? I = `${C}|${O}` : I = C || O, b.wrap ? `(${D}${I})` : I;
  }, f = (w, b, A, D) => {
    if (A) return i(w, b, {
      wrap: !1,
      ...D
    });
    let C = String.fromCharCode(w);
    return w === b ? C : `[${C}-${String.fromCharCode(b)}]`;
  }, p = (w, b, A) => {
    if (Array.isArray(w)) {
      let D = A.wrap === !0, C = A.capture ? "" : "?:";
      return D ? `(${C}${w.join("|")})` : w.join("|");
    }
    return i(w, b, A);
  }, g = (...w) => /* @__PURE__ */ new RangeError("Invalid range arguments: " + r.inspect(...w)), m = (w, b, A) => {
    if (A.strictRanges === !0) throw g([w, b]);
    return [];
  }, v = (w, b) => {
    if (b.strictRanges === !0) throw new TypeError(`Expected step "${w}" to be a number`);
    return [];
  }, _ = (w, b, A = 1, D = {}) => {
    let C = Number(w), O = Number(b);
    if (!Number.isInteger(C) || !Number.isInteger(O)) {
      if (D.strictRanges === !0) throw g([w, b]);
      return [];
    }
    C === 0 && (C = 0), O === 0 && (O = 0);
    let I = C > O, x = String(w), F = String(b), q = String(A);
    A = Math.max(Math.abs(A), 1);
    let K = u(x) || u(F) || u(q), M = K ? Math.max(x.length, F.length, q.length) : 0, N = K === !1 && o(w, b, D) === !1, L = D.transform || d(N);
    if (D.toRegex && A === 1) return f(a(w, M), a(b, M), !0, D);
    let te = {
      negatives: [],
      positives: []
    }, H = (k) => te[k < 0 ? "negatives" : "positives"].push(Math.abs(k)), j = [], P = 0;
    for (; I ? C >= O : C <= O; )
      D.toRegex === !0 && A > 1 ? H(C) : j.push(h(L(C, P), M, N)), C = I ? C - A : C + A, P++;
    return D.toRegex === !0 ? A > 1 ? l(te, D, M) : p(j, null, {
      wrap: !1,
      ...D
    }) : j;
  }, E = (w, b, A = 1, D = {}) => {
    if (!n(w) && w.length > 1 || !n(b) && b.length > 1) return m(w, b, D);
    let C = D.transform || ((N) => String.fromCharCode(N)), O = `${w}`.charCodeAt(0), I = `${b}`.charCodeAt(0), x = O > I, F = Math.min(O, I), q = Math.max(O, I);
    if (D.toRegex && A === 1) return f(F, q, !1, D);
    let K = [], M = 0;
    for (; x ? O >= I : O <= I; )
      K.push(C(O, M)), O = x ? O - A : O + A, M++;
    return D.toRegex === !0 ? p(K, null, {
      wrap: !1,
      options: D
    }) : K;
  }, S = (w, b, A, D = {}) => {
    if (b == null && c(w)) return [w];
    if (!c(w) || !c(b)) return m(w, b, D);
    if (typeof A == "function") return S(w, b, 1, { transform: A });
    if (s(A)) return S(w, b, 0, A);
    let C = { ...D };
    return C.capture === !0 && (C.wrap = !0), A = A || C.step || 1, n(A) ? n(w) && n(b) ? _(w, b, A, C) : E(w, b, Math.max(Math.abs(A), 1), C) : A != null && !s(A) ? v(A, C) : S(w, b, 1, A);
  };
  t.exports = S;
})), PR = /* @__PURE__ */ z(((e, t) => {
  var r = np(), i = Al(), s = (d, c = {}) => {
    const n = (u, o = {}) => {
      const h = i.isInvalidBrace(o), a = u.invalid === !0 && c.escapeInvalid === !0, l = h === !0 || a === !0, f = c.escapeInvalid === !0 ? "\\" : "";
      let p = "";
      if (u.isOpen === !0) return f + u.value;
      if (u.isClose === !0)
        return console.log("node.isClose", f, u.value), f + u.value;
      if (u.type === "open") return l ? f + u.value : "(";
      if (u.type === "close") return l ? f + u.value : ")";
      if (u.type === "comma") return u.prev.type === "comma" ? "" : l ? u.value : "|";
      if (u.value) return u.value;
      if (u.nodes && u.ranges > 0) {
        const g = i.reduce(u.nodes), m = r(...g, {
          ...c,
          wrap: !1,
          toRegex: !0,
          strictZeros: !0
        });
        if (m.length !== 0) return g.length > 1 && m.length > 1 ? `(${m})` : m;
      }
      if (u.nodes) for (const g of u.nodes) p += n(g, u);
      return p;
    };
    return n(d);
  };
  t.exports = s;
})), BR = /* @__PURE__ */ z(((e, t) => {
  var r = np(), i = Tl(), s = Al(), d = (n = "", u = "", o = !1) => {
    const h = [];
    if (n = [].concat(n), u = [].concat(u), !u.length) return n;
    if (!n.length) return o ? s.flatten(u).map((a) => `{${a}}`) : u;
    for (const a of n) if (Array.isArray(a)) for (const l of a) h.push(d(l, u, o));
    else for (let l of u)
      o === !0 && typeof l == "string" && (l = `{${l}}`), h.push(Array.isArray(l) ? d(a, l, o) : a + l);
    return s.flatten(h);
  }, c = (n, u = {}) => {
    const o = u.rangeLimit === void 0 ? 1e3 : u.rangeLimit, h = (a, l = {}) => {
      a.queue = [];
      let f = l, p = l.queue;
      for (; f.type !== "brace" && f.type !== "root" && f.parent; )
        f = f.parent, p = f.queue;
      if (a.invalid || a.dollar) {
        p.push(d(p.pop(), i(a, u)));
        return;
      }
      if (a.type === "brace" && a.invalid !== !0 && a.nodes.length === 2) {
        p.push(d(p.pop(), ["{}"]));
        return;
      }
      if (a.nodes && a.ranges > 0) {
        const _ = s.reduce(a.nodes);
        if (s.exceedsLimit(..._, u.step, o)) throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
        let E = r(..._, u);
        E.length === 0 && (E = i(a, u)), p.push(d(p.pop(), E)), a.nodes = [];
        return;
      }
      const g = s.encloseBrace(a);
      let m = a.queue, v = a;
      for (; v.type !== "brace" && v.type !== "root" && v.parent; )
        v = v.parent, m = v.queue;
      for (let _ = 0; _ < a.nodes.length; _++) {
        const E = a.nodes[_];
        if (E.type === "comma" && a.type === "brace") {
          _ === 1 && m.push(""), m.push("");
          continue;
        }
        if (E.type === "close") {
          p.push(d(p.pop(), m, g));
          continue;
        }
        if (E.value && E.type !== "open") {
          m.push(d(m.pop(), E.value));
          continue;
        }
        E.nodes && h(E, a);
      }
      return m;
    };
    return s.flatten(h(n));
  };
  t.exports = c;
})), FR = /* @__PURE__ */ z(((e, t) => {
  t.exports = {
    MAX_LENGTH: 1e4,
    CHAR_0: "0",
    CHAR_9: "9",
    CHAR_UPPERCASE_A: "A",
    CHAR_LOWERCASE_A: "a",
    CHAR_UPPERCASE_Z: "Z",
    CHAR_LOWERCASE_Z: "z",
    CHAR_LEFT_PARENTHESES: "(",
    CHAR_RIGHT_PARENTHESES: ")",
    CHAR_ASTERISK: "*",
    CHAR_AMPERSAND: "&",
    CHAR_AT: "@",
    CHAR_BACKSLASH: "\\",
    CHAR_BACKTICK: "`",
    CHAR_CARRIAGE_RETURN: "\r",
    CHAR_CIRCUMFLEX_ACCENT: "^",
    CHAR_COLON: ":",
    CHAR_COMMA: ",",
    CHAR_DOLLAR: "$",
    CHAR_DOT: ".",
    CHAR_DOUBLE_QUOTE: '"',
    CHAR_EQUAL: "=",
    CHAR_EXCLAMATION_MARK: "!",
    CHAR_FORM_FEED: "\f",
    CHAR_FORWARD_SLASH: "/",
    CHAR_HASH: "#",
    CHAR_HYPHEN_MINUS: "-",
    CHAR_LEFT_ANGLE_BRACKET: "<",
    CHAR_LEFT_CURLY_BRACE: "{",
    CHAR_LEFT_SQUARE_BRACKET: "[",
    CHAR_LINE_FEED: `
`,
    CHAR_NO_BREAK_SPACE: " ",
    CHAR_PERCENT: "%",
    CHAR_PLUS: "+",
    CHAR_QUESTION_MARK: "?",
    CHAR_RIGHT_ANGLE_BRACKET: ">",
    CHAR_RIGHT_CURLY_BRACE: "}",
    CHAR_RIGHT_SQUARE_BRACKET: "]",
    CHAR_SEMICOLON: ";",
    CHAR_SINGLE_QUOTE: "'",
    CHAR_SPACE: " ",
    CHAR_TAB: "	",
    CHAR_UNDERSCORE: "_",
    CHAR_VERTICAL_LINE: "|",
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
  };
})), MR = /* @__PURE__ */ z(((e, t) => {
  var r = Tl(), { MAX_LENGTH: i, CHAR_BACKSLASH: s, CHAR_BACKTICK: d, CHAR_COMMA: c, CHAR_DOT: n, CHAR_LEFT_PARENTHESES: u, CHAR_RIGHT_PARENTHESES: o, CHAR_LEFT_CURLY_BRACE: h, CHAR_RIGHT_CURLY_BRACE: a, CHAR_LEFT_SQUARE_BRACKET: l, CHAR_RIGHT_SQUARE_BRACKET: f, CHAR_DOUBLE_QUOTE: p, CHAR_SINGLE_QUOTE: g, CHAR_NO_BREAK_SPACE: m, CHAR_ZERO_WIDTH_NOBREAK_SPACE: v } = FR(), _ = (E, S = {}) => {
    if (typeof E != "string") throw new TypeError("Expected a string");
    const w = S || {}, b = typeof w.maxLength == "number" ? Math.min(i, w.maxLength) : i;
    if (E.length > b) throw new SyntaxError(`Input length (${E.length}), exceeds max characters (${b})`);
    const A = {
      type: "root",
      input: E,
      nodes: []
    }, D = [A];
    let C = A, O = A, I = 0;
    const x = E.length;
    let F = 0, q = 0, K;
    const M = () => E[F++], N = (L) => {
      if (L.type === "text" && O.type === "dot" && (O.type = "text"), O && O.type === "text" && L.type === "text") {
        O.value += L.value;
        return;
      }
      return C.nodes.push(L), L.parent = C, L.prev = O, O = L, L;
    };
    for (N({ type: "bos" }); F < x; )
      if (C = D[D.length - 1], K = M(), !(K === v || K === m)) {
        if (K === s) {
          N({
            type: "text",
            value: (S.keepEscaping ? K : "") + M()
          });
          continue;
        }
        if (K === f) {
          N({
            type: "text",
            value: "\\" + K
          });
          continue;
        }
        if (K === l) {
          I++;
          let L;
          for (; F < x && (L = M()); ) {
            if (K += L, L === l) {
              I++;
              continue;
            }
            if (L === s) {
              K += M();
              continue;
            }
            if (L === f && (I--, I === 0))
              break;
          }
          N({
            type: "text",
            value: K
          });
          continue;
        }
        if (K === u) {
          C = N({
            type: "paren",
            nodes: []
          }), D.push(C), N({
            type: "text",
            value: K
          });
          continue;
        }
        if (K === o) {
          if (C.type !== "paren") {
            N({
              type: "text",
              value: K
            });
            continue;
          }
          C = D.pop(), N({
            type: "text",
            value: K
          }), C = D[D.length - 1];
          continue;
        }
        if (K === p || K === g || K === d) {
          const L = K;
          let te;
          for (S.keepQuotes !== !0 && (K = ""); F < x && (te = M()); ) {
            if (te === s) {
              K += te + M();
              continue;
            }
            if (te === L) {
              S.keepQuotes === !0 && (K += te);
              break;
            }
            K += te;
          }
          N({
            type: "text",
            value: K
          });
          continue;
        }
        if (K === h) {
          q++, C = N({
            type: "brace",
            open: !0,
            close: !1,
            dollar: O.value && O.value.slice(-1) === "$" || C.dollar === !0,
            depth: q,
            commas: 0,
            ranges: 0,
            nodes: []
          }), D.push(C), N({
            type: "open",
            value: K
          });
          continue;
        }
        if (K === a) {
          if (C.type !== "brace") {
            N({
              type: "text",
              value: K
            });
            continue;
          }
          const L = "close";
          C = D.pop(), C.close = !0, N({
            type: L,
            value: K
          }), q--, C = D[D.length - 1];
          continue;
        }
        if (K === c && q > 0) {
          if (C.ranges > 0) {
            C.ranges = 0;
            const L = C.nodes.shift();
            C.nodes = [L, {
              type: "text",
              value: r(C)
            }];
          }
          N({
            type: "comma",
            value: K
          }), C.commas++;
          continue;
        }
        if (K === n && q > 0 && C.commas === 0) {
          const L = C.nodes;
          if (q === 0 || L.length === 0) {
            N({
              type: "text",
              value: K
            });
            continue;
          }
          if (O.type === "dot") {
            if (C.range = [], O.value += K, O.type = "range", C.nodes.length !== 3 && C.nodes.length !== 5) {
              C.invalid = !0, C.ranges = 0, O.type = "text";
              continue;
            }
            C.ranges++, C.args = [];
            continue;
          }
          if (O.type === "range") {
            L.pop();
            const te = L[L.length - 1];
            te.value += O.value + K, O = te, C.ranges--;
            continue;
          }
          N({
            type: "dot",
            value: K
          });
          continue;
        }
        N({
          type: "text",
          value: K
        });
      }
    do
      if (C = D.pop(), C.type !== "root") {
        C.nodes.forEach((H) => {
          H.nodes || (H.type === "open" && (H.isOpen = !0), H.type === "close" && (H.isClose = !0), H.nodes || (H.type = "text"), H.invalid = !0);
        });
        const L = D[D.length - 1], te = L.nodes.indexOf(C);
        L.nodes.splice(te, 1, ...C.nodes);
      }
    while (D.length > 0);
    return N({ type: "eos" }), A;
  };
  t.exports = _;
})), jR = /* @__PURE__ */ z(((e, t) => {
  var r = Tl(), i = PR(), s = BR(), d = MR(), c = (n, u = {}) => {
    let o = [];
    if (Array.isArray(n)) for (const h of n) {
      const a = c.create(h, u);
      Array.isArray(a) ? o.push(...a) : o.push(a);
    }
    else o = [].concat(c.create(n, u));
    return u && u.expand === !0 && u.nodupes === !0 && (o = [...new Set(o)]), o;
  };
  c.parse = (n, u = {}) => d(n, u), c.stringify = (n, u = {}) => r(typeof n == "string" ? c.parse(n, u) : n, u), c.compile = (n, u = {}) => (typeof n == "string" && (n = c.parse(n, u)), i(n, u)), c.expand = (n, u = {}) => {
    typeof n == "string" && (n = c.parse(n, u));
    let o = s(n, u);
    return u.noempty === !0 && (o = o.filter(Boolean)), u.nodupes === !0 && (o = [...new Set(o)]), o;
  }, c.create = (n, u = {}) => n === "" || n.length < 3 ? [n] : u.expand !== !0 ? c.compile(n, u) : c.expand(n, u), t.exports = c;
})), fs = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = "\\\\/", s = `[^${i}]`, d = 0, c = "\\.", n = "\\+", u = "\\?", o = "\\/", h = "(?=.)", a = "[^/]", l = `(?:${o}|$)`, f = `(?:^|${o})`, p = `${c}{1,2}${l}`, g = {
    DOT_LITERAL: c,
    PLUS_LITERAL: n,
    QMARK_LITERAL: u,
    SLASH_LITERAL: o,
    ONE_CHAR: h,
    QMARK: a,
    END_ANCHOR: l,
    DOTS_SLASH: p,
    NO_DOT: `(?!${c})`,
    NO_DOTS: `(?!${f}${p})`,
    NO_DOT_SLASH: `(?!${c}{0,1}${l})`,
    NO_DOTS_SLASH: `(?!${p})`,
    QMARK_NO_DOT: `[^.${o}]`,
    STAR: `${a}*?`,
    START_ANCHOR: f
  }, m = {
    ...g,
    SLASH_LITERAL: `[${i}]`,
    QMARK: s,
    STAR: `${s}*?`,
    DOTS_SLASH: `${c}{1,2}(?:[${i}]|$)`,
    NO_DOT: `(?!${c})`,
    NO_DOTS: `(?!(?:^|[${i}])${c}{1,2}(?:[${i}]|$))`,
    NO_DOT_SLASH: `(?!${c}{0,1}(?:[${i}]|$))`,
    NO_DOTS_SLASH: `(?!${c}{1,2}(?:[${i}]|$))`,
    QMARK_NO_DOT: `[^.${i}]`,
    START_ANCHOR: `(?:^|[${i}])`,
    END_ANCHOR: `(?:[${i}]|$)`
  }, v = {
    __proto__: null,
    alnum: "a-zA-Z0-9",
    alpha: "a-zA-Z",
    ascii: "\\x00-\\x7F",
    blank: " \\t",
    cntrl: "\\x00-\\x1F\\x7F",
    digit: "0-9",
    graph: "\\x21-\\x7E",
    lower: "a-z",
    print: "\\x20-\\x7E ",
    punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
    space: " \\t\\r\\n\\v\\f",
    upper: "A-Z",
    word: "A-Za-z0-9_",
    xdigit: "A-Fa-f0-9"
  };
  t.exports = {
    DEFAULT_MAX_EXTGLOB_RECURSION: d,
    MAX_LENGTH: 1024 * 64,
    POSIX_REGEX_SOURCE: v,
    REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
    REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
    REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
    REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
    REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
    REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
    REPLACEMENTS: {
      __proto__: null,
      "***": "*",
      "**/**": "**",
      "**/**/**": "**"
    },
    CHAR_0: 48,
    CHAR_9: 57,
    CHAR_UPPERCASE_A: 65,
    CHAR_LOWERCASE_A: 97,
    CHAR_UPPERCASE_Z: 90,
    CHAR_LOWERCASE_Z: 122,
    CHAR_LEFT_PARENTHESES: 40,
    CHAR_RIGHT_PARENTHESES: 41,
    CHAR_ASTERISK: 42,
    CHAR_AMPERSAND: 38,
    CHAR_AT: 64,
    CHAR_BACKWARD_SLASH: 92,
    CHAR_CARRIAGE_RETURN: 13,
    CHAR_CIRCUMFLEX_ACCENT: 94,
    CHAR_COLON: 58,
    CHAR_COMMA: 44,
    CHAR_DOT: 46,
    CHAR_DOUBLE_QUOTE: 34,
    CHAR_EQUAL: 61,
    CHAR_EXCLAMATION_MARK: 33,
    CHAR_FORM_FEED: 12,
    CHAR_FORWARD_SLASH: 47,
    CHAR_GRAVE_ACCENT: 96,
    CHAR_HASH: 35,
    CHAR_HYPHEN_MINUS: 45,
    CHAR_LEFT_ANGLE_BRACKET: 60,
    CHAR_LEFT_CURLY_BRACE: 123,
    CHAR_LEFT_SQUARE_BRACKET: 91,
    CHAR_LINE_FEED: 10,
    CHAR_NO_BREAK_SPACE: 160,
    CHAR_PERCENT: 37,
    CHAR_PLUS: 43,
    CHAR_QUESTION_MARK: 63,
    CHAR_RIGHT_ANGLE_BRACKET: 62,
    CHAR_RIGHT_CURLY_BRACE: 125,
    CHAR_RIGHT_SQUARE_BRACKET: 93,
    CHAR_SEMICOLON: 59,
    CHAR_SINGLE_QUOTE: 39,
    CHAR_SPACE: 32,
    CHAR_TAB: 9,
    CHAR_UNDERSCORE: 95,
    CHAR_VERTICAL_LINE: 124,
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
    SEP: r.sep,
    extglobChars(_) {
      return {
        "!": {
          type: "negate",
          open: "(?:(?!(?:",
          close: `))${_.STAR})`
        },
        "?": {
          type: "qmark",
          open: "(?:",
          close: ")?"
        },
        "+": {
          type: "plus",
          open: "(?:",
          close: ")+"
        },
        "*": {
          type: "star",
          open: "(?:",
          close: ")*"
        },
        "@": {
          type: "at",
          open: "(?:",
          close: ")"
        }
      };
    },
    globChars(_) {
      return _ === !0 ? m : g;
    }
  };
})), ds = /* @__PURE__ */ z(((e) => {
  var t = be("path"), r = process.platform === "win32", { REGEX_BACKSLASH: i, REGEX_REMOVE_BACKSLASH: s, REGEX_SPECIAL_CHARS: d, REGEX_SPECIAL_CHARS_GLOBAL: c } = fs();
  e.isObject = (n) => n !== null && typeof n == "object" && !Array.isArray(n), e.hasRegexChars = (n) => d.test(n), e.isRegexChar = (n) => n.length === 1 && e.hasRegexChars(n), e.escapeRegex = (n) => n.replace(c, "\\$1"), e.toPosixSlashes = (n) => n.replace(i, "/"), e.removeBackslashes = (n) => n.replace(s, (u) => u === "\\" ? "" : u), e.supportsLookbehinds = () => {
    const n = process.version.slice(1).split(".").map(Number);
    return n.length === 3 && n[0] >= 9 || n[0] === 8 && n[1] >= 10;
  }, e.isWindows = (n) => n && typeof n.windows == "boolean" ? n.windows : r === !0 || t.sep === "\\", e.escapeLast = (n, u, o) => {
    const h = n.lastIndexOf(u, o);
    return h === -1 ? n : n[h - 1] === "\\" ? e.escapeLast(n, u, h - 1) : `${n.slice(0, h)}\\${n.slice(h)}`;
  }, e.removePrefix = (n, u = {}) => {
    let o = n;
    return o.startsWith("./") && (o = o.slice(2), u.prefix = "./"), o;
  }, e.wrapOutput = (n, u = {}, o = {}) => {
    let h = `${o.contains ? "" : "^"}(?:${n})${o.contains ? "" : "$"}`;
    return u.negated === !0 && (h = `(?:^(?!${h}).*$)`), h;
  };
})), UR = /* @__PURE__ */ z(((e, t) => {
  var r = ds(), { CHAR_ASTERISK: i, CHAR_AT: s, CHAR_BACKWARD_SLASH: d, CHAR_COMMA: c, CHAR_DOT: n, CHAR_EXCLAMATION_MARK: u, CHAR_FORWARD_SLASH: o, CHAR_LEFT_CURLY_BRACE: h, CHAR_LEFT_PARENTHESES: a, CHAR_LEFT_SQUARE_BRACKET: l, CHAR_PLUS: f, CHAR_QUESTION_MARK: p, CHAR_RIGHT_CURLY_BRACE: g, CHAR_RIGHT_PARENTHESES: m, CHAR_RIGHT_SQUARE_BRACKET: v } = fs(), _ = (w) => w === o || w === d, E = (w) => {
    w.isPrefix !== !0 && (w.depth = w.isGlobstar ? 1 / 0 : 1);
  }, S = (w, b) => {
    const A = b || {}, D = w.length - 1, C = A.parts === !0 || A.scanToEnd === !0, O = [], I = [], x = [];
    let F = w, q = -1, K = 0, M = 0, N = !1, L = !1, te = !1, H = !1, j = !1, P = !1, k = !1, U = !1, Q = !1, ue = !1, me = 0, we, Z, G = {
      value: "",
      depth: 0,
      isGlob: !1
    };
    const Y = () => q >= D, ne = () => F.charCodeAt(q + 1), le = () => (we = Z, F.charCodeAt(++q));
    for (; q < D; ) {
      Z = le();
      let Oe;
      if (Z === d) {
        k = G.backslashes = !0, Z = le(), Z === h && (P = !0);
        continue;
      }
      if (P === !0 || Z === h) {
        for (me++; Y() !== !0 && (Z = le()); ) {
          if (Z === d) {
            k = G.backslashes = !0, le();
            continue;
          }
          if (Z === h) {
            me++;
            continue;
          }
          if (P !== !0 && Z === n && (Z = le()) === n) {
            if (N = G.isBrace = !0, te = G.isGlob = !0, ue = !0, C === !0) continue;
            break;
          }
          if (P !== !0 && Z === c) {
            if (N = G.isBrace = !0, te = G.isGlob = !0, ue = !0, C === !0) continue;
            break;
          }
          if (Z === g && (me--, me === 0)) {
            P = !1, N = G.isBrace = !0, ue = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (Z === o) {
        if (O.push(q), I.push(G), G = {
          value: "",
          depth: 0,
          isGlob: !1
        }, ue === !0) continue;
        if (we === n && q === K + 1) {
          K += 2;
          continue;
        }
        M = q + 1;
        continue;
      }
      if (A.noext !== !0 && (Z === f || Z === s || Z === i || Z === p || Z === u) && ne() === a) {
        if (te = G.isGlob = !0, H = G.isExtglob = !0, ue = !0, Z === u && q === K && (Q = !0), C === !0) {
          for (; Y() !== !0 && (Z = le()); ) {
            if (Z === d) {
              k = G.backslashes = !0, Z = le();
              continue;
            }
            if (Z === m) {
              te = G.isGlob = !0, ue = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (Z === i) {
        if (we === i && (j = G.isGlobstar = !0), te = G.isGlob = !0, ue = !0, C === !0) continue;
        break;
      }
      if (Z === p) {
        if (te = G.isGlob = !0, ue = !0, C === !0) continue;
        break;
      }
      if (Z === l) {
        for (; Y() !== !0 && (Oe = le()); ) {
          if (Oe === d) {
            k = G.backslashes = !0, le();
            continue;
          }
          if (Oe === v) {
            L = G.isBracket = !0, te = G.isGlob = !0, ue = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (A.nonegate !== !0 && Z === u && q === K) {
        U = G.negated = !0, K++;
        continue;
      }
      if (A.noparen !== !0 && Z === a) {
        if (te = G.isGlob = !0, C === !0) {
          for (; Y() !== !0 && (Z = le()); ) {
            if (Z === a) {
              k = G.backslashes = !0, Z = le();
              continue;
            }
            if (Z === m) {
              ue = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (te === !0) {
        if (ue = !0, C === !0) continue;
        break;
      }
    }
    A.noext === !0 && (H = !1, te = !1);
    let B = F, W = "", ae = "";
    K > 0 && (W = F.slice(0, K), F = F.slice(K), M -= K), B && te === !0 && M > 0 ? (B = F.slice(0, M), ae = F.slice(M)) : te === !0 ? (B = "", ae = F) : B = F, B && B !== "" && B !== "/" && B !== F && _(B.charCodeAt(B.length - 1)) && (B = B.slice(0, -1)), A.unescape === !0 && (ae && (ae = r.removeBackslashes(ae)), B && k === !0 && (B = r.removeBackslashes(B)));
    const Re = {
      prefix: W,
      input: w,
      start: K,
      base: B,
      glob: ae,
      isBrace: N,
      isBracket: L,
      isGlob: te,
      isExtglob: H,
      isGlobstar: j,
      negated: U,
      negatedExtglob: Q
    };
    if (A.tokens === !0 && (Re.maxDepth = 0, _(Z) || I.push(G), Re.tokens = I), A.parts === !0 || A.tokens === !0) {
      let Oe;
      for (let Ee = 0; Ee < O.length; Ee++) {
        const xe = Oe ? Oe + 1 : K, Ne = O[Ee], Me = w.slice(xe, Ne);
        A.tokens && (Ee === 0 && K !== 0 ? (I[Ee].isPrefix = !0, I[Ee].value = W) : I[Ee].value = Me, E(I[Ee]), Re.maxDepth += I[Ee].depth), (Ee !== 0 || Me !== "") && x.push(Me), Oe = Ne;
      }
      if (Oe && Oe + 1 < w.length) {
        const Ee = w.slice(Oe + 1);
        x.push(Ee), A.tokens && (I[I.length - 1].value = Ee, E(I[I.length - 1]), Re.maxDepth += I[I.length - 1].depth);
      }
      Re.slashes = O, Re.parts = x;
    }
    return Re;
  };
  t.exports = S;
})), HR = /* @__PURE__ */ z(((e, t) => {
  var r = fs(), i = ds(), { MAX_LENGTH: s, POSIX_REGEX_SOURCE: d, REGEX_NON_SPECIAL_CHARS: c, REGEX_SPECIAL_CHARS_BACKREF: n, REPLACEMENTS: u } = r, o = (S, w) => {
    if (typeof w.expandRange == "function") return w.expandRange(...S, w);
    S.sort();
    const b = `[${S.join("-")}]`;
    try {
      new RegExp(b);
    } catch {
      return S.map((D) => i.escapeRegex(D)).join("..");
    }
    return b;
  }, h = (S, w) => `Missing ${S}: "${w}" - use "\\\\${w}" to match literal characters`, a = (S) => {
    const w = [];
    let b = 0, A = 0, D = 0, C = "", O = !1;
    for (const I of S) {
      if (O === !0) {
        C += I, O = !1;
        continue;
      }
      if (I === "\\") {
        C += I, O = !0;
        continue;
      }
      if (I === '"') {
        D = D === 1 ? 0 : 1, C += I;
        continue;
      }
      if (D === 0) {
        if (I === "[") b++;
        else if (I === "]" && b > 0) b--;
        else if (b === 0) {
          if (I === "(") A++;
          else if (I === ")" && A > 0) A--;
          else if (I === "|" && A === 0) {
            w.push(C), C = "";
            continue;
          }
        }
      }
      C += I;
    }
    return w.push(C), w;
  }, l = (S) => {
    let w = !1;
    for (const b of S) {
      if (w === !0) {
        w = !1;
        continue;
      }
      if (b === "\\") {
        w = !0;
        continue;
      }
      if (/[?*+@!()[\]{}]/.test(b)) return !1;
    }
    return !0;
  }, f = (S) => {
    let w = S.trim(), b = !0;
    for (; b === !0; )
      b = !1, /^@\([^\\()[\]{}|]+\)$/.test(w) && (w = w.slice(2, -1), b = !0);
    if (l(w))
      return w.replace(/\\(.)/g, "$1");
  }, p = (S) => {
    const w = S.map(f).filter(Boolean);
    for (let b = 0; b < w.length; b++) for (let A = b + 1; A < w.length; A++) {
      const D = w[b], C = w[A], O = D[0];
      if (!(!O || D !== O.repeat(D.length) || C !== O.repeat(C.length)) && (D === C || D.startsWith(C) || C.startsWith(D)))
        return !0;
    }
    return !1;
  }, g = (S, w = !0) => {
    if (S[0] !== "+" && S[0] !== "*" || S[1] !== "(") return;
    let b = 0, A = 0, D = 0, C = !1;
    for (let O = 1; O < S.length; O++) {
      const I = S[O];
      if (C === !0) {
        C = !1;
        continue;
      }
      if (I === "\\") {
        C = !0;
        continue;
      }
      if (I === '"') {
        D = D === 1 ? 0 : 1;
        continue;
      }
      if (D !== 1) {
        if (I === "[") {
          b++;
          continue;
        }
        if (I === "]" && b > 0) {
          b--;
          continue;
        }
        if (!(b > 0)) {
          if (I === "(") {
            A++;
            continue;
          }
          if (I === ")" && (A--, A === 0))
            return w === !0 && O !== S.length - 1 ? void 0 : {
              type: S[0],
              body: S.slice(2, O),
              end: O
            };
        }
      }
    }
  }, m = (S) => {
    let w = 0;
    const b = [];
    for (; w < S.length; ) {
      const A = g(S.slice(w), !1);
      if (!A || A.type !== "*") return;
      const D = a(A.body).map((O) => O.trim());
      if (D.length !== 1) return;
      const C = f(D[0]);
      if (!C || C.length !== 1) return;
      b.push(C), w += A.end + 1;
    }
    if (!(b.length < 1))
      return `${b.length === 1 ? i.escapeRegex(b[0]) : `[${b.map((A) => i.escapeRegex(A)).join("")}]`}*`;
  }, v = (S) => {
    let w = 0, b = S.trim(), A = g(b);
    for (; A; )
      w++, b = A.body.trim(), A = g(b);
    return w;
  }, _ = (S, w) => {
    if (w.maxExtglobRecursion === !1) return { risky: !1 };
    const b = typeof w.maxExtglobRecursion == "number" ? w.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION, A = a(S).map((D) => D.trim());
    if (A.length > 1 && (A.some((D) => D === "") || A.some((D) => /^[*?]+$/.test(D)) || p(A)))
      return { risky: !0 };
    for (const D of A) {
      const C = m(D);
      if (C) return {
        risky: !0,
        safeOutput: C
      };
      if (v(D) > b) return { risky: !0 };
    }
    return { risky: !1 };
  }, E = (S, w) => {
    if (typeof S != "string") throw new TypeError("Expected a string");
    S = u[S] || S;
    const b = { ...w }, A = typeof b.maxLength == "number" ? Math.min(s, b.maxLength) : s;
    let D = S.length;
    if (D > A) throw new SyntaxError(`Input length: ${D}, exceeds maximum allowed length: ${A}`);
    const C = {
      type: "bos",
      value: "",
      output: b.prepend || ""
    }, O = [C], I = b.capture ? "" : "?:", x = i.isWindows(w), F = r.globChars(x), q = r.extglobChars(F), { DOT_LITERAL: K, PLUS_LITERAL: M, SLASH_LITERAL: N, ONE_CHAR: L, DOTS_SLASH: te, NO_DOT: H, NO_DOT_SLASH: j, NO_DOTS_SLASH: P, QMARK: k, QMARK_NO_DOT: U, STAR: Q, START_ANCHOR: ue } = F, me = (pe) => `(${I}(?:(?!${ue}${pe.dot ? te : K}).)*?)`, we = b.dot ? "" : H, Z = b.dot ? k : U;
    let G = b.bash === !0 ? me(b) : Q;
    b.capture && (G = `(${G})`), typeof b.noext == "boolean" && (b.noextglob = b.noext);
    const Y = {
      input: S,
      index: -1,
      start: 0,
      dot: b.dot === !0,
      consumed: "",
      output: "",
      prefix: "",
      backtrack: !1,
      negated: !1,
      brackets: 0,
      braces: 0,
      parens: 0,
      quotes: 0,
      globstar: !1,
      tokens: O
    };
    S = i.removePrefix(S, Y), D = S.length;
    const ne = [], le = [], B = [];
    let W = C, ae;
    const Re = () => Y.index === D - 1, Oe = Y.peek = (pe = 1) => S[Y.index + pe], Ee = Y.advance = () => S[++Y.index] || "", xe = () => S.slice(Y.index + 1), Ne = (pe = "", y = 0) => {
      Y.consumed += pe, Y.index += y;
    }, Me = (pe) => {
      Y.output += pe.output != null ? pe.output : pe.value, Ne(pe.value);
    }, Ce = () => {
      let pe = 1;
      for (; Oe() === "!" && (Oe(2) !== "(" || Oe(3) === "?"); )
        Ee(), Y.start++, pe++;
      return pe % 2 === 0 ? !1 : (Y.negated = !0, Y.start++, !0);
    }, Pe = (pe) => {
      Y[pe]++, B.push(pe);
    }, Ae = (pe) => {
      Y[pe]--, B.pop();
    }, $e = (pe) => {
      if (W.type === "globstar") {
        const y = Y.braces > 0 && (pe.type === "comma" || pe.type === "brace"), $ = pe.extglob === !0 || ne.length && (pe.type === "pipe" || pe.type === "paren");
        pe.type !== "slash" && pe.type !== "paren" && !y && !$ && (Y.output = Y.output.slice(0, -W.output.length), W.type = "star", W.value = "*", W.output = G, Y.output += W.output);
      }
      if (ne.length && pe.type !== "paren" && (ne[ne.length - 1].inner += pe.value), (pe.value || pe.output) && Me(pe), W && W.type === "text" && pe.type === "text") {
        W.value += pe.value, W.output = (W.output || "") + pe.value;
        return;
      }
      pe.prev = W, O.push(pe), W = pe;
    }, De = (pe, y) => {
      const $ = {
        ...q[y],
        conditions: 1,
        inner: ""
      };
      $.prev = W, $.parens = Y.parens, $.output = Y.output, $.startIndex = Y.index, $.tokensIndex = O.length;
      const ie = (b.capture ? "(" : "") + $.open;
      Pe("parens"), $e({
        type: pe,
        value: y,
        output: Y.output ? "" : L
      }), $e({
        type: "paren",
        extglob: !0,
        value: Ee(),
        output: ie
      }), ne.push($);
    }, ye = (pe) => {
      const y = S.slice(pe.startIndex, Y.index + 1), $ = _(S.slice(pe.startIndex + 2, Y.index), b);
      if ((pe.type === "plus" || pe.type === "star") && $.risky) {
        const re = $.safeOutput ? (pe.output ? "" : L) + (b.capture ? `(${$.safeOutput})` : $.safeOutput) : void 0, de = O[pe.tokensIndex];
        de.type = "text", de.value = y, de.output = re || i.escapeRegex(y);
        for (let T = pe.tokensIndex + 1; T < O.length; T++)
          O[T].value = "", O[T].output = "", delete O[T].suffix;
        Y.output = pe.output + de.output, Y.backtrack = !0, $e({
          type: "paren",
          extglob: !0,
          value: ae,
          output: ""
        }), Ae("parens");
        return;
      }
      let ie = pe.close + (b.capture ? ")" : ""), oe;
      if (pe.type === "negate") {
        let re = G;
        pe.inner && pe.inner.length > 1 && pe.inner.includes("/") && (re = me(b)), (re !== G || Re() || /^\)+$/.test(xe())) && (ie = pe.close = `)$))${re}`), pe.inner.includes("*") && (oe = xe()) && /^\.[^\\/.]+$/.test(oe) && (ie = pe.close = `)${E(oe, {
          ...w,
          fastpaths: !1
        }).output})${re})`), pe.prev.type === "bos" && (Y.negatedExtglob = !0);
      }
      $e({
        type: "paren",
        extglob: !0,
        value: ae,
        output: ie
      }), Ae("parens");
    };
    if (b.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(S)) {
      let pe = !1, y = S.replace(n, ($, ie, oe, re, de, T) => re === "\\" ? (pe = !0, $) : re === "?" ? ie ? ie + re + (de ? k.repeat(de.length) : "") : T === 0 ? Z + (de ? k.repeat(de.length) : "") : k.repeat(oe.length) : re === "." ? K.repeat(oe.length) : re === "*" ? ie ? ie + re + (de ? G : "") : G : ie ? $ : `\\${$}`);
      return pe === !0 && (b.unescape === !0 ? y = y.replace(/\\/g, "") : y = y.replace(/\\+/g, ($) => $.length % 2 === 0 ? "\\\\" : $ ? "\\" : "")), y === S && b.contains === !0 ? (Y.output = S, Y) : (Y.output = i.wrapOutput(y, Y, w), Y);
    }
    for (; !Re(); ) {
      if (ae = Ee(), ae === "\0") continue;
      if (ae === "\\") {
        const $ = Oe();
        if ($ === "/" && b.bash !== !0 || $ === "." || $ === ";") continue;
        if (!$) {
          ae += "\\", $e({
            type: "text",
            value: ae
          });
          continue;
        }
        const ie = /^\\+/.exec(xe());
        let oe = 0;
        if (ie && ie[0].length > 2 && (oe = ie[0].length, Y.index += oe, oe % 2 !== 0 && (ae += "\\")), b.unescape === !0 ? ae = Ee() : ae += Ee(), Y.brackets === 0) {
          $e({
            type: "text",
            value: ae
          });
          continue;
        }
      }
      if (Y.brackets > 0 && (ae !== "]" || W.value === "[" || W.value === "[^")) {
        if (b.posix !== !1 && ae === ":") {
          const $ = W.value.slice(1);
          if ($.includes("[") && (W.posix = !0, $.includes(":"))) {
            const ie = W.value.lastIndexOf("["), oe = W.value.slice(0, ie), re = d[W.value.slice(ie + 2)];
            if (re) {
              W.value = oe + re, Y.backtrack = !0, Ee(), !C.output && O.indexOf(W) === 1 && (C.output = L);
              continue;
            }
          }
        }
        (ae === "[" && Oe() !== ":" || ae === "-" && Oe() === "]") && (ae = `\\${ae}`), ae === "]" && (W.value === "[" || W.value === "[^") && (ae = `\\${ae}`), b.posix === !0 && ae === "!" && W.value === "[" && (ae = "^"), W.value += ae, Me({ value: ae });
        continue;
      }
      if (Y.quotes === 1 && ae !== '"') {
        ae = i.escapeRegex(ae), W.value += ae, Me({ value: ae });
        continue;
      }
      if (ae === '"') {
        Y.quotes = Y.quotes === 1 ? 0 : 1, b.keepQuotes === !0 && $e({
          type: "text",
          value: ae
        });
        continue;
      }
      if (ae === "(") {
        Pe("parens"), $e({
          type: "paren",
          value: ae
        });
        continue;
      }
      if (ae === ")") {
        if (Y.parens === 0 && b.strictBrackets === !0) throw new SyntaxError(h("opening", "("));
        const $ = ne[ne.length - 1];
        if ($ && Y.parens === $.parens + 1) {
          ye(ne.pop());
          continue;
        }
        $e({
          type: "paren",
          value: ae,
          output: Y.parens ? ")" : "\\)"
        }), Ae("parens");
        continue;
      }
      if (ae === "[") {
        if (b.nobracket === !0 || !xe().includes("]")) {
          if (b.nobracket !== !0 && b.strictBrackets === !0) throw new SyntaxError(h("closing", "]"));
          ae = `\\${ae}`;
        } else Pe("brackets");
        $e({
          type: "bracket",
          value: ae
        });
        continue;
      }
      if (ae === "]") {
        if (b.nobracket === !0 || W && W.type === "bracket" && W.value.length === 1) {
          $e({
            type: "text",
            value: ae,
            output: `\\${ae}`
          });
          continue;
        }
        if (Y.brackets === 0) {
          if (b.strictBrackets === !0) throw new SyntaxError(h("opening", "["));
          $e({
            type: "text",
            value: ae,
            output: `\\${ae}`
          });
          continue;
        }
        Ae("brackets");
        const $ = W.value.slice(1);
        if (W.posix !== !0 && $[0] === "^" && !$.includes("/") && (ae = `/${ae}`), W.value += ae, Me({ value: ae }), b.literalBrackets === !1 || i.hasRegexChars($)) continue;
        const ie = i.escapeRegex(W.value);
        if (Y.output = Y.output.slice(0, -W.value.length), b.literalBrackets === !0) {
          Y.output += ie, W.value = ie;
          continue;
        }
        W.value = `(${I}${ie}|${W.value})`, Y.output += W.value;
        continue;
      }
      if (ae === "{" && b.nobrace !== !0) {
        Pe("braces");
        const $ = {
          type: "brace",
          value: ae,
          output: "(",
          outputIndex: Y.output.length,
          tokensIndex: Y.tokens.length
        };
        le.push($), $e($);
        continue;
      }
      if (ae === "}") {
        const $ = le[le.length - 1];
        if (b.nobrace === !0 || !$) {
          $e({
            type: "text",
            value: ae,
            output: ae
          });
          continue;
        }
        let ie = ")";
        if ($.dots === !0) {
          const oe = O.slice(), re = [];
          for (let de = oe.length - 1; de >= 0 && (O.pop(), oe[de].type !== "brace"); de--)
            oe[de].type !== "dots" && re.unshift(oe[de].value);
          ie = o(re, b), Y.backtrack = !0;
        }
        if ($.comma !== !0 && $.dots !== !0) {
          const oe = Y.output.slice(0, $.outputIndex), re = Y.tokens.slice($.tokensIndex);
          $.value = $.output = "\\{", ae = ie = "\\}", Y.output = oe;
          for (const de of re) Y.output += de.output || de.value;
        }
        $e({
          type: "brace",
          value: ae,
          output: ie
        }), Ae("braces"), le.pop();
        continue;
      }
      if (ae === "|") {
        ne.length > 0 && ne[ne.length - 1].conditions++, $e({
          type: "text",
          value: ae
        });
        continue;
      }
      if (ae === ",") {
        let $ = ae;
        const ie = le[le.length - 1];
        ie && B[B.length - 1] === "braces" && (ie.comma = !0, $ = "|"), $e({
          type: "comma",
          value: ae,
          output: $
        });
        continue;
      }
      if (ae === "/") {
        if (W.type === "dot" && Y.index === Y.start + 1) {
          Y.start = Y.index + 1, Y.consumed = "", Y.output = "", O.pop(), W = C;
          continue;
        }
        $e({
          type: "slash",
          value: ae,
          output: N
        });
        continue;
      }
      if (ae === ".") {
        if (Y.braces > 0 && W.type === "dot") {
          W.value === "." && (W.output = K);
          const $ = le[le.length - 1];
          W.type = "dots", W.output += ae, W.value += ae, $.dots = !0;
          continue;
        }
        if (Y.braces + Y.parens === 0 && W.type !== "bos" && W.type !== "slash") {
          $e({
            type: "text",
            value: ae,
            output: K
          });
          continue;
        }
        $e({
          type: "dot",
          value: ae,
          output: K
        });
        continue;
      }
      if (ae === "?") {
        if (!(W && W.value === "(") && b.noextglob !== !0 && Oe() === "(" && Oe(2) !== "?") {
          De("qmark", ae);
          continue;
        }
        if (W && W.type === "paren") {
          const $ = Oe();
          let ie = ae;
          if ($ === "<" && !i.supportsLookbehinds()) throw new Error("Node.js v10 or higher is required for regex lookbehinds");
          (W.value === "(" && !/[!=<:]/.test($) || $ === "<" && !/<([!=]|\w+>)/.test(xe())) && (ie = `\\${ae}`), $e({
            type: "text",
            value: ae,
            output: ie
          });
          continue;
        }
        if (b.dot !== !0 && (W.type === "slash" || W.type === "bos")) {
          $e({
            type: "qmark",
            value: ae,
            output: U
          });
          continue;
        }
        $e({
          type: "qmark",
          value: ae,
          output: k
        });
        continue;
      }
      if (ae === "!") {
        if (b.noextglob !== !0 && Oe() === "(" && (Oe(2) !== "?" || !/[!=<:]/.test(Oe(3)))) {
          De("negate", ae);
          continue;
        }
        if (b.nonegate !== !0 && Y.index === 0) {
          Ce();
          continue;
        }
      }
      if (ae === "+") {
        if (b.noextglob !== !0 && Oe() === "(" && Oe(2) !== "?") {
          De("plus", ae);
          continue;
        }
        if (W && W.value === "(" || b.regex === !1) {
          $e({
            type: "plus",
            value: ae,
            output: M
          });
          continue;
        }
        if (W && (W.type === "bracket" || W.type === "paren" || W.type === "brace") || Y.parens > 0) {
          $e({
            type: "plus",
            value: ae
          });
          continue;
        }
        $e({
          type: "plus",
          value: M
        });
        continue;
      }
      if (ae === "@") {
        if (b.noextglob !== !0 && Oe() === "(" && Oe(2) !== "?") {
          $e({
            type: "at",
            extglob: !0,
            value: ae,
            output: ""
          });
          continue;
        }
        $e({
          type: "text",
          value: ae
        });
        continue;
      }
      if (ae !== "*") {
        (ae === "$" || ae === "^") && (ae = `\\${ae}`);
        const $ = c.exec(xe());
        $ && (ae += $[0], Y.index += $[0].length), $e({
          type: "text",
          value: ae
        });
        continue;
      }
      if (W && (W.type === "globstar" || W.star === !0)) {
        W.type = "star", W.star = !0, W.value += ae, W.output = G, Y.backtrack = !0, Y.globstar = !0, Ne(ae);
        continue;
      }
      let pe = xe();
      if (b.noextglob !== !0 && /^\([^?]/.test(pe)) {
        De("star", ae);
        continue;
      }
      if (W.type === "star") {
        if (b.noglobstar === !0) {
          Ne(ae);
          continue;
        }
        const $ = W.prev, ie = $.prev, oe = $.type === "slash" || $.type === "bos", re = ie && (ie.type === "star" || ie.type === "globstar");
        if (b.bash === !0 && (!oe || pe[0] && pe[0] !== "/")) {
          $e({
            type: "star",
            value: ae,
            output: ""
          });
          continue;
        }
        const de = Y.braces > 0 && ($.type === "comma" || $.type === "brace"), T = ne.length && ($.type === "pipe" || $.type === "paren");
        if (!oe && $.type !== "paren" && !de && !T) {
          $e({
            type: "star",
            value: ae,
            output: ""
          });
          continue;
        }
        for (; pe.slice(0, 3) === "/**"; ) {
          const se = S[Y.index + 4];
          if (se && se !== "/") break;
          pe = pe.slice(3), Ne("/**", 3);
        }
        if ($.type === "bos" && Re()) {
          W.type = "globstar", W.value += ae, W.output = me(b), Y.output = W.output, Y.globstar = !0, Ne(ae);
          continue;
        }
        if ($.type === "slash" && $.prev.type !== "bos" && !re && Re()) {
          Y.output = Y.output.slice(0, -($.output + W.output).length), $.output = `(?:${$.output}`, W.type = "globstar", W.output = me(b) + (b.strictSlashes ? ")" : "|$)"), W.value += ae, Y.globstar = !0, Y.output += $.output + W.output, Ne(ae);
          continue;
        }
        if ($.type === "slash" && $.prev.type !== "bos" && pe[0] === "/") {
          const se = pe[1] !== void 0 ? "|$" : "";
          Y.output = Y.output.slice(0, -($.output + W.output).length), $.output = `(?:${$.output}`, W.type = "globstar", W.output = `${me(b)}${N}|${N}${se})`, W.value += ae, Y.output += $.output + W.output, Y.globstar = !0, Ne(ae + Ee()), $e({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        if ($.type === "bos" && pe[0] === "/") {
          W.type = "globstar", W.value += ae, W.output = `(?:^|${N}|${me(b)}${N})`, Y.output = W.output, Y.globstar = !0, Ne(ae + Ee()), $e({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        Y.output = Y.output.slice(0, -W.output.length), W.type = "globstar", W.output = me(b), W.value += ae, Y.output += W.output, Y.globstar = !0, Ne(ae);
        continue;
      }
      const y = {
        type: "star",
        value: ae,
        output: G
      };
      if (b.bash === !0) {
        y.output = ".*?", (W.type === "bos" || W.type === "slash") && (y.output = we + y.output), $e(y);
        continue;
      }
      if (W && (W.type === "bracket" || W.type === "paren") && b.regex === !0) {
        y.output = ae, $e(y);
        continue;
      }
      (Y.index === Y.start || W.type === "slash" || W.type === "dot") && (W.type === "dot" ? (Y.output += j, W.output += j) : b.dot === !0 ? (Y.output += P, W.output += P) : (Y.output += we, W.output += we), Oe() !== "*" && (Y.output += L, W.output += L)), $e(y);
    }
    for (; Y.brackets > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", "]"));
      Y.output = i.escapeLast(Y.output, "["), Ae("brackets");
    }
    for (; Y.parens > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", ")"));
      Y.output = i.escapeLast(Y.output, "("), Ae("parens");
    }
    for (; Y.braces > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", "}"));
      Y.output = i.escapeLast(Y.output, "{"), Ae("braces");
    }
    if (b.strictSlashes !== !0 && (W.type === "star" || W.type === "bracket") && $e({
      type: "maybe_slash",
      value: "",
      output: `${N}?`
    }), Y.backtrack === !0) {
      Y.output = "";
      for (const pe of Y.tokens)
        Y.output += pe.output != null ? pe.output : pe.value, pe.suffix && (Y.output += pe.suffix);
    }
    return Y;
  };
  E.fastpaths = (S, w) => {
    const b = { ...w }, A = typeof b.maxLength == "number" ? Math.min(s, b.maxLength) : s, D = S.length;
    if (D > A) throw new SyntaxError(`Input length: ${D}, exceeds maximum allowed length: ${A}`);
    S = u[S] || S;
    const C = i.isWindows(w), { DOT_LITERAL: O, SLASH_LITERAL: I, ONE_CHAR: x, DOTS_SLASH: F, NO_DOT: q, NO_DOTS: K, NO_DOTS_SLASH: M, STAR: N, START_ANCHOR: L } = r.globChars(C), te = b.dot ? K : q, H = b.dot ? M : q, j = b.capture ? "" : "?:", P = {
      negated: !1,
      prefix: ""
    };
    let k = b.bash === !0 ? ".*?" : N;
    b.capture && (k = `(${k})`);
    const U = (me) => me.noglobstar === !0 ? k : `(${j}(?:(?!${L}${me.dot ? F : O}).)*?)`, Q = (me) => {
      switch (me) {
        case "*":
          return `${te}${x}${k}`;
        case ".*":
          return `${O}${x}${k}`;
        case "*.*":
          return `${te}${k}${O}${x}${k}`;
        case "*/*":
          return `${te}${k}${I}${x}${H}${k}`;
        case "**":
          return te + U(b);
        case "**/*":
          return `(?:${te}${U(b)}${I})?${H}${x}${k}`;
        case "**/*.*":
          return `(?:${te}${U(b)}${I})?${H}${k}${O}${x}${k}`;
        case "**/.*":
          return `(?:${te}${U(b)}${I})?${O}${x}${k}`;
        default: {
          const we = /^(.*?)\.(\w+)$/.exec(me);
          if (!we) return;
          const Z = Q(we[1]);
          return Z ? Z + O + we[2] : void 0;
        }
      }
    };
    let ue = Q(i.removePrefix(S, P));
    return ue && b.strictSlashes !== !0 && (ue += `${I}?`), ue;
  }, t.exports = E;
})), qR = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = UR(), s = HR(), d = ds(), c = fs(), n = (o) => o && typeof o == "object" && !Array.isArray(o), u = (o, h, a = !1) => {
    if (Array.isArray(o)) {
      const E = o.map((w) => u(w, h, a));
      return (w) => {
        for (const b of E) {
          const A = b(w);
          if (A) return A;
        }
        return !1;
      };
    }
    const l = n(o) && o.tokens && o.input;
    if (o === "" || typeof o != "string" && !l) throw new TypeError("Expected pattern to be a non-empty string");
    const f = h || {}, p = d.isWindows(h), g = l ? u.compileRe(o, h) : u.makeRe(o, h, !1, !0), m = g.state;
    delete g.state;
    let v = () => !1;
    if (f.ignore) {
      const E = {
        ...h,
        ignore: null,
        onMatch: null,
        onResult: null
      };
      v = u(f.ignore, E, a);
    }
    const _ = (E, S = !1) => {
      const { isMatch: w, match: b, output: A } = u.test(E, g, h, {
        glob: o,
        posix: p
      }), D = {
        glob: o,
        state: m,
        regex: g,
        posix: p,
        input: E,
        output: A,
        match: b,
        isMatch: w
      };
      return typeof f.onResult == "function" && f.onResult(D), w === !1 ? (D.isMatch = !1, S ? D : !1) : v(E) ? (typeof f.onIgnore == "function" && f.onIgnore(D), D.isMatch = !1, S ? D : !1) : (typeof f.onMatch == "function" && f.onMatch(D), S ? D : !0);
    };
    return a && (_.state = m), _;
  };
  u.test = (o, h, a, { glob: l, posix: f } = {}) => {
    if (typeof o != "string") throw new TypeError("Expected input to be a string");
    if (o === "") return {
      isMatch: !1,
      output: ""
    };
    const p = a || {}, g = p.format || (f ? d.toPosixSlashes : null);
    let m = o === l, v = m && g ? g(o) : o;
    return m === !1 && (v = g ? g(o) : o, m = v === l), (m === !1 || p.capture === !0) && (p.matchBase === !0 || p.basename === !0 ? m = u.matchBase(o, h, a, f) : m = h.exec(v)), {
      isMatch: !!m,
      match: m,
      output: v
    };
  }, u.matchBase = (o, h, a, l = d.isWindows(a)) => (h instanceof RegExp ? h : u.makeRe(h, a)).test(r.basename(o)), u.isMatch = (o, h, a) => u(h, a)(o), u.parse = (o, h) => Array.isArray(o) ? o.map((a) => u.parse(a, h)) : s(o, {
    ...h,
    fastpaths: !1
  }), u.scan = (o, h) => i(o, h), u.compileRe = (o, h, a = !1, l = !1) => {
    if (a === !0) return o.output;
    const f = h || {}, p = f.contains ? "" : "^", g = f.contains ? "" : "$";
    let m = `${p}(?:${o.output})${g}`;
    o && o.negated === !0 && (m = `^(?!${m}).*$`);
    const v = u.toRegex(m, h);
    return l === !0 && (v.state = o), v;
  }, u.makeRe = (o, h = {}, a = !1, l = !1) => {
    if (!o || typeof o != "string") throw new TypeError("Expected a non-empty string");
    let f = {
      negated: !1,
      fastpaths: !0
    };
    return h.fastpaths !== !1 && (o[0] === "." || o[0] === "*") && (f.output = s.fastpaths(o, h)), f.output || (f = s(o, h)), u.compileRe(f, h, a, l);
  }, u.toRegex = (o, h) => {
    try {
      const a = h || {};
      return new RegExp(o, a.flags || (a.nocase ? "i" : ""));
    } catch (a) {
      if (h && h.debug === !0) throw a;
      return /$^/;
    }
  }, u.constants = c, t.exports = u;
})), GR = /* @__PURE__ */ z(((e, t) => {
  t.exports = qR();
})), zR = /* @__PURE__ */ z(((e, t) => {
  var r = be("util"), i = jR(), s = GR(), d = ds(), c = (o) => o === "" || o === "./", n = (o) => {
    const h = o.indexOf("{");
    return h > -1 && o.indexOf("}", h) > -1;
  }, u = (o, h, a) => {
    h = [].concat(h), o = [].concat(o);
    let l = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), p = /* @__PURE__ */ new Set(), g = 0, m = (_) => {
      p.add(_.output), a && a.onResult && a.onResult(_);
    };
    for (let _ = 0; _ < h.length; _++) {
      let E = s(String(h[_]), {
        ...a,
        onResult: m
      }, !0), S = E.state.negated || E.state.negatedExtglob;
      S && g++;
      for (let w of o) {
        let b = E(w, !0);
        (S ? !b.isMatch : b.isMatch) && (S ? l.add(b.output) : (l.delete(b.output), f.add(b.output)));
      }
    }
    let v = (g === h.length ? [...p] : [...f]).filter((_) => !l.has(_));
    if (a && v.length === 0) {
      if (a.failglob === !0) throw new Error(`No matches found for "${h.join(", ")}"`);
      if (a.nonull === !0 || a.nullglob === !0) return a.unescape ? h.map((_) => _.replace(/\\/g, "")) : h;
    }
    return v;
  };
  u.match = u, u.matcher = (o, h) => s(o, h), u.isMatch = (o, h, a) => s(h, a)(o), u.any = u.isMatch, u.not = (o, h, a = {}) => {
    h = [].concat(h).map(String);
    let l = /* @__PURE__ */ new Set(), f = [], p = (m) => {
      a.onResult && a.onResult(m), f.push(m.output);
    }, g = new Set(u(o, h, {
      ...a,
      onResult: p
    }));
    for (let m of f) g.has(m) || l.add(m);
    return [...l];
  }, u.contains = (o, h, a) => {
    if (typeof o != "string") throw new TypeError(`Expected a string: "${r.inspect(o)}"`);
    if (Array.isArray(h)) return h.some((l) => u.contains(o, l, a));
    if (typeof h == "string") {
      if (c(o) || c(h)) return !1;
      if (o.includes(h) || o.startsWith("./") && o.slice(2).includes(h)) return !0;
    }
    return u.isMatch(o, h, {
      ...a,
      contains: !0
    });
  }, u.matchKeys = (o, h, a) => {
    if (!d.isObject(o)) throw new TypeError("Expected the first argument to be an object");
    let l = u(Object.keys(o), h, a), f = {};
    for (let p of l) f[p] = o[p];
    return f;
  }, u.some = (o, h, a) => {
    let l = [].concat(o);
    for (let f of [].concat(h)) {
      let p = s(String(f), a);
      if (l.some((g) => p(g))) return !0;
    }
    return !1;
  }, u.every = (o, h, a) => {
    let l = [].concat(o);
    for (let f of [].concat(h)) {
      let p = s(String(f), a);
      if (!l.every((g) => p(g))) return !1;
    }
    return !0;
  }, u.all = (o, h, a) => {
    if (typeof o != "string") throw new TypeError(`Expected a string: "${r.inspect(o)}"`);
    return [].concat(h).every((l) => s(l, a)(o));
  }, u.capture = (o, h, a) => {
    let l = d.isWindows(a), f = s.makeRe(String(o), {
      ...a,
      capture: !0
    }).exec(l ? d.toPosixSlashes(h) : h);
    if (f) return f.slice(1).map((p) => p === void 0 ? "" : p);
  }, u.makeRe = (...o) => s.makeRe(...o), u.scan = (...o) => s.scan(...o), u.parse = (o, h) => {
    let a = [];
    for (let l of [].concat(o || [])) for (let f of i(String(l), h)) a.push(s.parse(f, h));
    return a;
  }, u.braces = (o, h) => {
    if (typeof o != "string") throw new TypeError("Expected a string");
    return h && h.nobrace === !0 || !n(o) ? [o] : i(o, h);
  }, u.braceExpand = (o, h) => {
    if (typeof o != "string") throw new TypeError("Expected a string");
    return u.braces(o, {
      ...h,
      expand: !0
    });
  }, u.hasBraces = n, t.exports = u;
})), WR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isAbsolute = e.partitionAbsoluteAndRelative = e.removeDuplicateSlashes = e.matchAny = e.convertPatternsToRe = e.makeRe = e.getPatternParts = e.expandBraceExpansion = e.expandPatternsWithBraceExpansion = e.isAffectDepthOfReadingPattern = e.endsWithSlashGlobStar = e.hasGlobStar = e.getBaseDirectory = e.isPatternRelatedToParentDirectory = e.getPatternsOutsideCurrentDirectory = e.getPatternsInsideCurrentDirectory = e.getPositivePatterns = e.getNegativePatterns = e.isPositivePattern = e.isNegativePattern = e.convertToNegativePattern = e.convertToPositivePattern = e.isDynamicPattern = e.isStaticPattern = void 0;
  var t = be("path"), r = xR(), i = zR(), s = "**", d = "\\", c = /[*?]|^!/, n = /\[[^[]*]/, u = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/, o = /[!*+?@]\([^(]*\)/, h = /,|\.\./, a = /(?!^)\/{2,}/g;
  function l(j, P = {}) {
    return !f(j, P);
  }
  e.isStaticPattern = l;
  function f(j, P = {}) {
    return j === "" ? !1 : !!(P.caseSensitiveMatch === !1 || j.includes(d) || c.test(j) || n.test(j) || u.test(j) || P.extglob !== !1 && o.test(j) || P.braceExpansion !== !1 && p(j));
  }
  e.isDynamicPattern = f;
  function p(j) {
    const P = j.indexOf("{");
    if (P === -1) return !1;
    const k = j.indexOf("}", P + 1);
    if (k === -1) return !1;
    const U = j.slice(P, k);
    return h.test(U);
  }
  function g(j) {
    return v(j) ? j.slice(1) : j;
  }
  e.convertToPositivePattern = g;
  function m(j) {
    return "!" + j;
  }
  e.convertToNegativePattern = m;
  function v(j) {
    return j.startsWith("!") && j[1] !== "(";
  }
  e.isNegativePattern = v;
  function _(j) {
    return !v(j);
  }
  e.isPositivePattern = _;
  function E(j) {
    return j.filter(v);
  }
  e.getNegativePatterns = E;
  function S(j) {
    return j.filter(_);
  }
  e.getPositivePatterns = S;
  function w(j) {
    return j.filter((P) => !A(P));
  }
  e.getPatternsInsideCurrentDirectory = w;
  function b(j) {
    return j.filter(A);
  }
  e.getPatternsOutsideCurrentDirectory = b;
  function A(j) {
    return j.startsWith("..") || j.startsWith("./..");
  }
  e.isPatternRelatedToParentDirectory = A;
  function D(j) {
    return r(j, { flipBackslashes: !1 });
  }
  e.getBaseDirectory = D;
  function C(j) {
    return j.includes(s);
  }
  e.hasGlobStar = C;
  function O(j) {
    return j.endsWith("/**");
  }
  e.endsWithSlashGlobStar = O;
  function I(j) {
    const P = t.basename(j);
    return O(j) || l(P);
  }
  e.isAffectDepthOfReadingPattern = I;
  function x(j) {
    return j.reduce((P, k) => P.concat(F(k)), []);
  }
  e.expandPatternsWithBraceExpansion = x;
  function F(j) {
    const P = i.braces(j, {
      expand: !0,
      nodupes: !0,
      keepEscaping: !0
    });
    return P.sort((k, U) => k.length - U.length), P.filter((k) => k !== "");
  }
  e.expandBraceExpansion = F;
  function q(j, P) {
    let { parts: k } = i.scan(j, Object.assign(Object.assign({}, P), { parts: !0 }));
    return k.length === 0 && (k = [j]), k[0].startsWith("/") && (k[0] = k[0].slice(1), k.unshift("")), k;
  }
  e.getPatternParts = q;
  function K(j, P) {
    return i.makeRe(j, P);
  }
  e.makeRe = K;
  function M(j, P) {
    return j.map((k) => K(k, P));
  }
  e.convertPatternsToRe = M;
  function N(j, P) {
    return P.some((k) => k.test(j));
  }
  e.matchAny = N;
  function L(j) {
    return j.replace(a, "/");
  }
  e.removeDuplicateSlashes = L;
  function te(j) {
    const P = [], k = [];
    for (const U of j) H(U) ? P.push(U) : k.push(U);
    return [P, k];
  }
  e.partitionAbsoluteAndRelative = te;
  function H(j) {
    return t.isAbsolute(j);
  }
  e.isAbsolute = H;
})), VR = /* @__PURE__ */ z(((e, t) => {
  var r = be("stream").PassThrough, i = Array.prototype.slice;
  t.exports = s;
  function s() {
    const c = [], n = i.call(arguments);
    let u = !1, o = n[n.length - 1];
    o && !Array.isArray(o) && o.pipe == null ? n.pop() : o = {};
    const h = o.end !== !1, a = o.pipeError === !0;
    o.objectMode == null && (o.objectMode = !0), o.highWaterMark == null && (o.highWaterMark = 64 * 1024);
    const l = r(o);
    function f() {
      for (let m = 0, v = arguments.length; m < v; m++) c.push(d(arguments[m], o));
      return p(), this;
    }
    function p() {
      if (u) return;
      u = !0;
      let m = c.shift();
      if (!m) {
        process.nextTick(g);
        return;
      }
      Array.isArray(m) || (m = [m]);
      let v = m.length + 1;
      function _() {
        --v > 0 || (u = !1, p());
      }
      function E(S) {
        function w() {
          S.removeListener("merge2UnpipeEnd", w), S.removeListener("end", w), a && S.removeListener("error", b), _();
        }
        function b(A) {
          l.emit("error", A);
        }
        if (S._readableState.endEmitted) return _();
        S.on("merge2UnpipeEnd", w), S.on("end", w), a && S.on("error", b), S.pipe(l, { end: !1 }), S.resume();
      }
      for (let S = 0; S < m.length; S++) E(m[S]);
      _();
    }
    function g() {
      u = !1, l.emit("queueDrain"), h && l.end();
    }
    return l.setMaxListeners(0), l.add = f, l.on("unpipe", function(m) {
      m.emit("merge2UnpipeEnd");
    }), n.length && f.apply(null, n), l;
  }
  function d(c, n) {
    if (Array.isArray(c))
      for (let u = 0, o = c.length; u < o; u++) c[u] = d(c[u], n);
    else {
      if (!c._readableState && c.pipe && (c = c.pipe(r(n))), !c._readableState || !c.pause || !c.pipe) throw new Error("Only readable stream can be merged.");
      c.pause();
    }
    return c;
  }
})), YR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.merge = void 0;
  var t = VR();
  function r(s) {
    const d = t(s);
    return s.forEach((c) => {
      c.once("error", (n) => d.emit("error", n));
    }), d.once("close", () => i(s)), d.once("end", () => i(s)), d;
  }
  e.merge = r;
  function i(s) {
    s.forEach((d) => d.emit("close"));
  }
})), KR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEmpty = e.isString = void 0;
  function t(i) {
    return typeof i == "string";
  }
  e.isString = t;
  function r(i) {
    return i === "";
  }
  e.isEmpty = r;
})), cr = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.string = e.stream = e.pattern = e.path = e.fs = e.errno = e.array = void 0;
  var t = RR();
  e.array = t;
  var r = OR();
  e.errno = r;
  var i = CR();
  e.fs = i;
  var s = IR();
  e.path = s;
  var d = WR();
  e.pattern = d;
  var c = YR();
  e.stream = c;
  var n = KR();
  e.string = n;
})), ZR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.convertPatternGroupToTask = e.convertPatternGroupsToTasks = e.groupPatternsByBaseDirectory = e.getNegativePatternsAsPositive = e.getPositivePatterns = e.convertPatternsToTasks = e.generate = void 0;
  var t = cr();
  function r(h, a) {
    const l = i(h, a), f = i(a.ignore, a), p = d(l), g = c(l, f), m = p.filter((S) => t.pattern.isStaticPattern(S, a)), v = p.filter((S) => t.pattern.isDynamicPattern(S, a)), _ = s(m, g, !1), E = s(v, g, !0);
    return _.concat(E);
  }
  e.generate = r;
  function i(h, a) {
    let l = h;
    return a.braceExpansion && (l = t.pattern.expandPatternsWithBraceExpansion(l)), a.baseNameMatch && (l = l.map((f) => f.includes("/") ? f : `**/${f}`)), l.map((f) => t.pattern.removeDuplicateSlashes(f));
  }
  function s(h, a, l) {
    const f = [], p = t.pattern.getPatternsOutsideCurrentDirectory(h), g = t.pattern.getPatternsInsideCurrentDirectory(h), m = n(p), v = n(g);
    return f.push(...u(m, a, l)), "." in v ? f.push(o(".", g, a, l)) : f.push(...u(v, a, l)), f;
  }
  e.convertPatternsToTasks = s;
  function d(h) {
    return t.pattern.getPositivePatterns(h);
  }
  e.getPositivePatterns = d;
  function c(h, a) {
    return t.pattern.getNegativePatterns(h).concat(a).map(t.pattern.convertToPositivePattern);
  }
  e.getNegativePatternsAsPositive = c;
  function n(h) {
    return h.reduce((a, l) => {
      const f = t.pattern.getBaseDirectory(l);
      return f in a ? a[f].push(l) : a[f] = [l], a;
    }, {});
  }
  e.groupPatternsByBaseDirectory = n;
  function u(h, a, l) {
    return Object.keys(h).map((f) => o(f, h[f], a, l));
  }
  e.convertPatternGroupsToTasks = u;
  function o(h, a, l, f) {
    return {
      dynamic: f,
      positive: a,
      negative: l,
      base: h,
      patterns: [].concat(a, l.map(t.pattern.convertToNegativePattern))
    };
  }
  e.convertPatternGroupToTask = o;
})), JR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.read = void 0;
  function t(s, d, c) {
    d.fs.lstat(s, (n, u) => {
      if (n !== null) {
        r(c, n);
        return;
      }
      if (!u.isSymbolicLink() || !d.followSymbolicLink) {
        i(c, u);
        return;
      }
      d.fs.stat(s, (o, h) => {
        if (o !== null) {
          if (d.throwErrorOnBrokenSymbolicLink) {
            r(c, o);
            return;
          }
          i(c, u);
          return;
        }
        d.markSymbolicLink && (h.isSymbolicLink = () => !0), i(c, h);
      });
    });
  }
  e.read = t;
  function r(s, d) {
    s(d);
  }
  function i(s, d) {
    s(null, d);
  }
})), XR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.read = void 0;
  function t(r, i) {
    const s = i.fs.lstatSync(r);
    if (!s.isSymbolicLink() || !i.followSymbolicLink) return s;
    try {
      const d = i.fs.statSync(r);
      return i.markSymbolicLink && (d.isSymbolicLink = () => !0), d;
    } catch (d) {
      if (!i.throwErrorOnBrokenSymbolicLink) return s;
      throw d;
    }
  }
  e.read = t;
})), QR = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
  var t = be("fs");
  e.FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    stat: t.stat,
    lstatSync: t.lstatSync,
    statSync: t.statSync
  };
  function r(i) {
    return i === void 0 ? e.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, e.FILE_SYSTEM_ADAPTER), i);
  }
  e.createFileSystemAdapter = r;
})), eO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = QR(), r = class {
    constructor(i = {}) {
      this._options = i, this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, !0), this.fs = t.createFileSystemAdapter(this._options.fs), this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0);
    }
    _getValue(i, s) {
      return i ?? s;
    }
  };
  e.default = r;
})), Zr = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.statSync = e.stat = e.Settings = void 0;
  var t = JR(), r = XR(), i = eO();
  e.Settings = i.default;
  function s(n, u, o) {
    if (typeof u == "function") {
      t.read(n, c(), u);
      return;
    }
    t.read(n, c(u), o);
  }
  e.stat = s;
  function d(n, u) {
    const o = c(u);
    return r.read(n, o);
  }
  e.statSync = d;
  function c(n = {}) {
    return n instanceof i.default ? n : new i.default(n);
  }
})), tO = /* @__PURE__ */ z(((e, t) => {
  var r;
  t.exports = typeof queueMicrotask == "function" ? queueMicrotask.bind(typeof window < "u" ? window : global) : (i) => (r || (r = Promise.resolve())).then(i).catch((s) => setTimeout(() => {
    throw s;
  }, 0));
})), rO = /* @__PURE__ */ z(((e, t) => {
  t.exports = i;
  var r = tO();
  function i(s, d) {
    let c, n, u, o = !0;
    Array.isArray(s) ? (c = [], n = s.length) : (u = Object.keys(s), c = {}, n = u.length);
    function h(l) {
      function f() {
        d && d(l, c), d = null;
      }
      o ? r(f) : f();
    }
    function a(l, f, p) {
      c[l] = p, (--n === 0 || f) && h(f);
    }
    n ? u ? u.forEach(function(l) {
      s[l](function(f, p) {
        a(l, f, p);
      });
    }) : s.forEach(function(l, f) {
      l(function(p, g) {
        a(f, p, g);
      });
    }) : h(null), o = !1;
  }
})), sp = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
  var t = process.versions.node.split(".");
  if (t[0] === void 0 || t[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
  var r = Number.parseInt(t[0], 10), i = Number.parseInt(t[1], 10), s = 10, d = 10, c = r > s, n = r === s && i >= d;
  e.IS_SUPPORT_READDIR_WITH_FILE_TYPES = c || n;
})), iO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createDirentFromStats = void 0;
  var t = class {
    constructor(i, s) {
      this.name = i, this.isBlockDevice = s.isBlockDevice.bind(s), this.isCharacterDevice = s.isCharacterDevice.bind(s), this.isDirectory = s.isDirectory.bind(s), this.isFIFO = s.isFIFO.bind(s), this.isFile = s.isFile.bind(s), this.isSocket = s.isSocket.bind(s), this.isSymbolicLink = s.isSymbolicLink.bind(s);
    }
  };
  function r(i, s) {
    return new t(i, s);
  }
  e.createDirentFromStats = r;
})), ap = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.fs = void 0;
  var t = iO();
  e.fs = t;
})), op = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.joinPathSegments = void 0;
  function t(r, i, s) {
    return r.endsWith(s) ? r + i : r + s + i;
  }
  e.joinPathSegments = t;
})), nO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
  var t = Zr(), r = rO(), i = sp(), s = ap(), d = op();
  function c(l, f, p) {
    if (!f.stats && i.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
      n(l, f, p);
      return;
    }
    o(l, f, p);
  }
  e.read = c;
  function n(l, f, p) {
    f.fs.readdir(l, { withFileTypes: !0 }, (g, m) => {
      if (g !== null) {
        h(p, g);
        return;
      }
      const v = m.map((_) => ({
        dirent: _,
        name: _.name,
        path: d.joinPathSegments(l, _.name, f.pathSegmentSeparator)
      }));
      if (!f.followSymbolicLinks) {
        a(p, v);
        return;
      }
      r(v.map((_) => u(_, f)), (_, E) => {
        if (_ !== null) {
          h(p, _);
          return;
        }
        a(p, E);
      });
    });
  }
  e.readdirWithFileTypes = n;
  function u(l, f) {
    return (p) => {
      if (!l.dirent.isSymbolicLink()) {
        p(null, l);
        return;
      }
      f.fs.stat(l.path, (g, m) => {
        if (g !== null) {
          if (f.throwErrorOnBrokenSymbolicLink) {
            p(g);
            return;
          }
          p(null, l);
          return;
        }
        l.dirent = s.fs.createDirentFromStats(l.name, m), p(null, l);
      });
    };
  }
  function o(l, f, p) {
    f.fs.readdir(l, (g, m) => {
      if (g !== null) {
        h(p, g);
        return;
      }
      r(m.map((v) => {
        const _ = d.joinPathSegments(l, v, f.pathSegmentSeparator);
        return (E) => {
          t.stat(_, f.fsStatSettings, (S, w) => {
            if (S !== null) {
              E(S);
              return;
            }
            const b = {
              name: v,
              path: _,
              dirent: s.fs.createDirentFromStats(v, w)
            };
            f.stats && (b.stats = w), E(null, b);
          });
        };
      }), (v, _) => {
        if (v !== null) {
          h(p, v);
          return;
        }
        a(p, _);
      });
    });
  }
  e.readdir = o;
  function h(l, f) {
    l(f);
  }
  function a(l, f) {
    l(null, f);
  }
})), sO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.readdir = e.readdirWithFileTypes = e.read = void 0;
  var t = Zr(), r = sp(), i = ap(), s = op();
  function d(u, o) {
    return !o.stats && r.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? c(u, o) : n(u, o);
  }
  e.read = d;
  function c(u, o) {
    return o.fs.readdirSync(u, { withFileTypes: !0 }).map((h) => {
      const a = {
        dirent: h,
        name: h.name,
        path: s.joinPathSegments(u, h.name, o.pathSegmentSeparator)
      };
      if (a.dirent.isSymbolicLink() && o.followSymbolicLinks) try {
        const l = o.fs.statSync(a.path);
        a.dirent = i.fs.createDirentFromStats(a.name, l);
      } catch (l) {
        if (o.throwErrorOnBrokenSymbolicLink) throw l;
      }
      return a;
    });
  }
  e.readdirWithFileTypes = c;
  function n(u, o) {
    return o.fs.readdirSync(u).map((h) => {
      const a = s.joinPathSegments(u, h, o.pathSegmentSeparator), l = t.statSync(a, o.fsStatSettings), f = {
        name: h,
        path: a,
        dirent: i.fs.createDirentFromStats(h, l)
      };
      return o.stats && (f.stats = l), f;
    });
  }
  e.readdir = n;
})), aO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.createFileSystemAdapter = e.FILE_SYSTEM_ADAPTER = void 0;
  var t = be("fs");
  e.FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    stat: t.stat,
    lstatSync: t.lstatSync,
    statSync: t.statSync,
    readdir: t.readdir,
    readdirSync: t.readdirSync
  };
  function r(i) {
    return i === void 0 ? e.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, e.FILE_SYSTEM_ADAPTER), i);
  }
  e.createFileSystemAdapter = r;
})), oO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("path"), r = Zr(), i = aO(), s = class {
    constructor(d = {}) {
      this._options = d, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = i.createFileSystemAdapter(this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, t.sep), this.stats = this._getValue(this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this.fsStatSettings = new r.Settings({
        followSymbolicLink: this.followSymbolicLinks,
        fs: this.fs,
        throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink
      });
    }
    _getValue(d, c) {
      return d ?? c;
    }
  };
  e.default = s;
})), Dl = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Settings = e.scandirSync = e.scandir = void 0;
  var t = nO(), r = sO(), i = oO();
  e.Settings = i.default;
  function s(n, u, o) {
    if (typeof u == "function") {
      t.read(n, c(), u);
      return;
    }
    t.read(n, c(u), o);
  }
  e.scandir = s;
  function d(n, u) {
    const o = c(u);
    return r.read(n, o);
  }
  e.scandirSync = d;
  function c(n = {}) {
    return n instanceof i.default ? n : new i.default(n);
  }
})), lO = /* @__PURE__ */ z(((e, t) => {
  function r(i) {
    var s = new i(), d = s;
    function c() {
      var u = s;
      return u.next ? s = u.next : (s = new i(), d = s), u.next = null, u;
    }
    function n(u) {
      d.next = u, d = u;
    }
    return {
      get: c,
      release: n
    };
  }
  t.exports = r;
})), cO = /* @__PURE__ */ z(((e, t) => {
  var r = lO();
  function i(n, u, o) {
    if (typeof n == "function" && (o = u, u = n, n = null), !(o >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1");
    var h = r(d), a = null, l = null, f = 0, p = null, g = {
      push: b,
      drain: s,
      saturated: s,
      pause: v,
      paused: !1,
      get concurrency() {
        return o;
      },
      set concurrency(F) {
        if (!(F >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1");
        if (o = F, !g.paused)
          for (; a && f < o; )
            f++, D();
      },
      running: m,
      resume: S,
      idle: w,
      length: _,
      getQueue: E,
      unshift: A,
      empty: s,
      kill: C,
      killAndDrain: O,
      error: x,
      abort: I
    };
    return g;
    function m() {
      return f;
    }
    function v() {
      g.paused = !0;
    }
    function _() {
      for (var F = a, q = 0; F; )
        F = F.next, q++;
      return q;
    }
    function E() {
      for (var F = a, q = []; F; )
        q.push(F.value), F = F.next;
      return q;
    }
    function S() {
      if (g.paused) {
        if (g.paused = !1, a === null) {
          f++, D();
          return;
        }
        for (; a && f < o; )
          f++, D();
      }
    }
    function w() {
      return f === 0 && g.length() === 0;
    }
    function b(F, q) {
      var K = h.get();
      K.context = n, K.release = D, K.value = F, K.callback = q || s, K.errorHandler = p, f >= o || g.paused ? l ? (l.next = K, l = K) : (a = K, l = K, g.saturated()) : (f++, u.call(n, K.value, K.worked));
    }
    function A(F, q) {
      var K = h.get();
      K.context = n, K.release = D, K.value = F, K.callback = q || s, K.errorHandler = p, f >= o || g.paused ? a ? (K.next = a, a = K) : (a = K, l = K, g.saturated()) : (f++, u.call(n, K.value, K.worked));
    }
    function D(F) {
      F && h.release(F);
      var q = a;
      q && f <= o ? g.paused ? f-- : (l === a && (l = null), a = q.next, q.next = null, u.call(n, q.value, q.worked), l === null && g.empty()) : --f === 0 && g.drain();
    }
    function C() {
      a = null, l = null, g.drain = s;
    }
    function O() {
      a = null, l = null, g.drain(), g.drain = s;
    }
    function I() {
      var F = a;
      for (a = null, l = null; F; ) {
        var q = F.next, K = F.callback, M = F.errorHandler, N = F.value, L = F.context;
        F.value = null, F.callback = s, F.errorHandler = null, M && M(/* @__PURE__ */ new Error("abort"), N), K.call(L, /* @__PURE__ */ new Error("abort")), F.release(F), F = q;
      }
      g.drain = s;
    }
    function x(F) {
      p = F;
    }
  }
  function s() {
  }
  function d() {
    this.value = null, this.callback = s, this.next = null, this.release = s, this.context = null, this.errorHandler = null;
    var n = this;
    this.worked = function(o, h) {
      var a = n.callback, l = n.errorHandler, f = n.value;
      n.value = null, n.callback = s, n.errorHandler && l(o, f), a.call(n.context, o, h), n.release(n);
    };
  }
  function c(n, u, o) {
    typeof n == "function" && (o = u, u = n, n = null);
    function h(v, _) {
      u.call(this, v).then(function(E) {
        _(null, E);
      }, _);
    }
    var a = i(n, h, o), l = a.push, f = a.unshift;
    return a.push = p, a.unshift = g, a.drained = m, a;
    function p(v) {
      var _ = new Promise(function(E, S) {
        l(v, function(w, b) {
          if (w) {
            S(w);
            return;
          }
          E(b);
        });
      });
      return _.catch(s), _;
    }
    function g(v) {
      var _ = new Promise(function(E, S) {
        f(v, function(w, b) {
          if (w) {
            S(w);
            return;
          }
          E(b);
        });
      });
      return _.catch(s), _;
    }
    function m() {
      return new Promise(function(v) {
        process.nextTick(function() {
          if (a.idle()) v();
          else {
            var _ = a.drain;
            a.drain = function() {
              typeof _ == "function" && _(), v(), a.drain = _;
            };
          }
        });
      });
    }
  }
  t.exports = i, t.exports.promise = c;
})), Rl = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.joinPathSegments = e.replacePathSegmentSeparator = e.isAppliedFilter = e.isFatalError = void 0;
  function t(d, c) {
    return d.errorFilter === null ? !0 : !d.errorFilter(c);
  }
  e.isFatalError = t;
  function r(d, c) {
    return d === null || d(c);
  }
  e.isAppliedFilter = r;
  function i(d, c) {
    return d.split(/[/\\]/).join(c);
  }
  e.replacePathSegmentSeparator = i;
  function s(d, c, n) {
    return d === "" ? c : d.endsWith(n) ? d + c : d + n + c;
  }
  e.joinPathSegments = s;
})), lp = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Rl(), r = class {
    constructor(i, s) {
      this._root = i, this._settings = s, this._root = t.replacePathSegmentSeparator(i, s.pathSegmentSeparator);
    }
  };
  e.default = r;
})), cp = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("events"), r = Dl(), i = cO(), s = Rl(), d = lp(), c = class extends d.default {
    constructor(n, u) {
      super(n, u), this._settings = u, this._scandir = r.scandir, this._emitter = new t.EventEmitter(), this._queue = i(this._worker.bind(this), this._settings.concurrency), this._isFatalError = !1, this._isDestroyed = !1, this._queue.drain = () => {
        this._isFatalError || this._emitter.emit("end");
      };
    }
    read() {
      return this._isFatalError = !1, this._isDestroyed = !1, setImmediate(() => {
        this._pushToQueue(this._root, this._settings.basePath);
      }), this._emitter;
    }
    get isDestroyed() {
      return this._isDestroyed;
    }
    destroy() {
      if (this._isDestroyed) throw new Error("The reader is already destroyed");
      this._isDestroyed = !0, this._queue.killAndDrain();
    }
    onEntry(n) {
      this._emitter.on("entry", n);
    }
    onError(n) {
      this._emitter.once("error", n);
    }
    onEnd(n) {
      this._emitter.once("end", n);
    }
    _pushToQueue(n, u) {
      const o = {
        directory: n,
        base: u
      };
      this._queue.push(o, (h) => {
        h !== null && this._handleError(h);
      });
    }
    _worker(n, u) {
      this._scandir(n.directory, this._settings.fsScandirSettings, (o, h) => {
        if (o !== null) {
          u(o, void 0);
          return;
        }
        for (const a of h) this._handleEntry(a, n.base);
        u(null, void 0);
      });
    }
    _handleError(n) {
      this._isDestroyed || !s.isFatalError(this._settings, n) || (this._isFatalError = !0, this._isDestroyed = !0, this._emitter.emit("error", n));
    }
    _handleEntry(n, u) {
      if (this._isDestroyed || this._isFatalError) return;
      const o = n.path;
      u !== void 0 && (n.path = s.joinPathSegments(u, n.name, this._settings.pathSegmentSeparator)), s.isAppliedFilter(this._settings.entryFilter, n) && this._emitEntry(n), n.dirent.isDirectory() && s.isAppliedFilter(this._settings.deepFilter, n) && this._pushToQueue(o, u === void 0 ? void 0 : n.path);
    }
    _emitEntry(n) {
      this._emitter.emit("entry", n);
    }
  };
  e.default = c;
})), uO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cp(), r = class {
    constructor(d, c) {
      this._root = d, this._settings = c, this._reader = new t.default(this._root, this._settings), this._storage = [];
    }
    read(d) {
      this._reader.onError((c) => {
        i(d, c);
      }), this._reader.onEntry((c) => {
        this._storage.push(c);
      }), this._reader.onEnd(() => {
        s(d, this._storage);
      }), this._reader.read();
    }
  };
  e.default = r;
  function i(d, c) {
    d(c);
  }
  function s(d, c) {
    d(null, c);
  }
})), hO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("stream"), r = cp(), i = class {
    constructor(s, d) {
      this._root = s, this._settings = d, this._reader = new r.default(this._root, this._settings), this._stream = new t.Readable({
        objectMode: !0,
        read: () => {
        },
        destroy: () => {
          this._reader.isDestroyed || this._reader.destroy();
        }
      });
    }
    read() {
      return this._reader.onError((s) => {
        this._stream.emit("error", s);
      }), this._reader.onEntry((s) => {
        this._stream.push(s);
      }), this._reader.onEnd(() => {
        this._stream.push(null);
      }), this._reader.read(), this._stream;
    }
  };
  e.default = i;
})), fO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Dl(), r = Rl(), i = lp(), s = class extends i.default {
    constructor() {
      super(...arguments), this._scandir = t.scandirSync, this._storage = [], this._queue = /* @__PURE__ */ new Set();
    }
    read() {
      return this._pushToQueue(this._root, this._settings.basePath), this._handleQueue(), this._storage;
    }
    _pushToQueue(d, c) {
      this._queue.add({
        directory: d,
        base: c
      });
    }
    _handleQueue() {
      for (const d of this._queue.values()) this._handleDirectory(d.directory, d.base);
    }
    _handleDirectory(d, c) {
      try {
        const n = this._scandir(d, this._settings.fsScandirSettings);
        for (const u of n) this._handleEntry(u, c);
      } catch (n) {
        this._handleError(n);
      }
    }
    _handleError(d) {
      if (r.isFatalError(this._settings, d))
        throw d;
    }
    _handleEntry(d, c) {
      const n = d.path;
      c !== void 0 && (d.path = r.joinPathSegments(c, d.name, this._settings.pathSegmentSeparator)), r.isAppliedFilter(this._settings.entryFilter, d) && this._pushToStorage(d), d.dirent.isDirectory() && r.isAppliedFilter(this._settings.deepFilter, d) && this._pushToQueue(n, c === void 0 ? void 0 : d.path);
    }
    _pushToStorage(d) {
      this._storage.push(d);
    }
  };
  e.default = s;
})), dO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = fO(), r = class {
    constructor(i, s) {
      this._root = i, this._settings = s, this._reader = new t.default(this._root, this._settings);
    }
    read() {
      return this._reader.read();
    }
  };
  e.default = r;
})), pO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("path"), r = Dl(), i = class {
    constructor(s = {}) {
      this._options = s, this.basePath = this._getValue(this._options.basePath, void 0), this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY), this.deepFilter = this._getValue(this._options.deepFilter, null), this.entryFilter = this._getValue(this._options.entryFilter, null), this.errorFilter = this._getValue(this._options.errorFilter, null), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, t.sep), this.fsScandirSettings = new r.Settings({
        followSymbolicLinks: this._options.followSymbolicLinks,
        fs: this._options.fs,
        pathSegmentSeparator: this._options.pathSegmentSeparator,
        stats: this._options.stats,
        throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink
      });
    }
    _getValue(s, d) {
      return s ?? d;
    }
  };
  e.default = i;
})), Ol = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Settings = e.walkStream = e.walkSync = e.walk = void 0;
  var t = uO(), r = hO(), i = dO(), s = pO();
  e.Settings = s.default;
  function d(o, h, a) {
    if (typeof h == "function") {
      new t.default(o, u()).read(h);
      return;
    }
    new t.default(o, u(h)).read(a);
  }
  e.walk = d;
  function c(o, h) {
    const a = u(h);
    return new i.default(o, a).read();
  }
  e.walkSync = c;
  function n(o, h) {
    const a = u(h);
    return new r.default(o, a).read();
  }
  e.walkStream = n;
  function u(o = {}) {
    return o instanceof s.default ? o : new s.default(o);
  }
})), Cl = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("path"), r = Zr(), i = cr(), s = class {
    constructor(d) {
      this._settings = d, this._fsStatSettings = new r.Settings({
        followSymbolicLink: this._settings.followSymbolicLinks,
        fs: this._settings.fs,
        throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks
      });
    }
    _getFullEntryPath(d) {
      return t.resolve(this._settings.cwd, d);
    }
    _makeEntry(d, c) {
      const n = {
        name: c,
        path: c,
        dirent: i.fs.createDirentFromStats(c, d)
      };
      return this._settings.stats && (n.stats = d), n;
    }
    _isFatalError(d) {
      return !i.errno.isEnoentCodeError(d) && !this._settings.suppressErrors;
    }
  };
  e.default = s;
})), up = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("stream"), r = Zr(), i = Ol(), s = Cl(), d = class extends s.default {
    constructor() {
      super(...arguments), this._walkStream = i.walkStream, this._stat = r.stat;
    }
    dynamic(c, n) {
      return this._walkStream(c, n);
    }
    static(c, n) {
      const u = c.map(this._getFullEntryPath, this), o = new t.PassThrough({ objectMode: !0 });
      o._write = (h, a, l) => this._getEntry(u[h], c[h], n).then((f) => {
        f !== null && n.entryFilter(f) && o.push(f), h === u.length - 1 && o.end(), l();
      }).catch(l);
      for (let h = 0; h < u.length; h++) o.write(h);
      return o;
    }
    _getEntry(c, n, u) {
      return this._getStat(c).then((o) => this._makeEntry(o, n)).catch((o) => {
        if (u.errorFilter(o)) return null;
        throw o;
      });
    }
    _getStat(c) {
      return new Promise((n, u) => {
        this._stat(c, this._fsStatSettings, (o, h) => o === null ? n(h) : u(o));
      });
    }
  };
  e.default = d;
})), gO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Ol(), r = Cl(), i = up(), s = class extends r.default {
    constructor() {
      super(...arguments), this._walkAsync = t.walk, this._readerStream = new i.default(this._settings);
    }
    dynamic(d, c) {
      return new Promise((n, u) => {
        this._walkAsync(d, c, (o, h) => {
          o === null ? n(h) : u(o);
        });
      });
    }
    async static(d, c) {
      const n = [], u = this._readerStream.static(d, c);
      return new Promise((o, h) => {
        u.once("error", h), u.on("data", (a) => n.push(a)), u.once("end", () => o(n));
      });
    }
  };
  e.default = s;
})), mO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cr(), r = class {
    constructor(i, s, d) {
      this._patterns = i, this._settings = s, this._micromatchOptions = d, this._storage = [], this._fillStorage();
    }
    _fillStorage() {
      for (const i of this._patterns) {
        const s = this._getPatternSegments(i), d = this._splitSegmentsIntoSections(s);
        this._storage.push({
          complete: d.length <= 1,
          pattern: i,
          segments: s,
          sections: d
        });
      }
    }
    _getPatternSegments(i) {
      return t.pattern.getPatternParts(i, this._micromatchOptions).map((s) => t.pattern.isDynamicPattern(s, this._settings) ? {
        dynamic: !0,
        pattern: s,
        patternRe: t.pattern.makeRe(s, this._micromatchOptions)
      } : {
        dynamic: !1,
        pattern: s
      });
    }
    _splitSegmentsIntoSections(i) {
      return t.array.splitWhen(i, (s) => s.dynamic && t.pattern.hasGlobStar(s.pattern));
    }
  };
  e.default = r;
})), vO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = mO(), r = class extends t.default {
    match(i) {
      const s = i.split("/"), d = s.length, c = this._storage.filter((n) => !n.complete || n.segments.length > d);
      for (const n of c) {
        const u = n.sections[0];
        if (!n.complete && d > u.length || s.every((o, h) => {
          const a = n.segments[h];
          return !!(a.dynamic && a.patternRe.test(o) || !a.dynamic && a.pattern === o);
        })) return !0;
      }
      return !1;
    }
  };
  e.default = r;
})), yO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cr(), r = vO(), i = class {
    constructor(s, d) {
      this._settings = s, this._micromatchOptions = d;
    }
    getFilter(s, d, c) {
      const n = this._getMatcher(d), u = this._getNegativePatternsRe(c);
      return (o) => this._filter(s, o, n, u);
    }
    _getMatcher(s) {
      return new r.default(s, this._settings, this._micromatchOptions);
    }
    _getNegativePatternsRe(s) {
      const d = s.filter(t.pattern.isAffectDepthOfReadingPattern);
      return t.pattern.convertPatternsToRe(d, this._micromatchOptions);
    }
    _filter(s, d, c, n) {
      if (this._isSkippedByDeep(s, d.path) || this._isSkippedSymbolicLink(d)) return !1;
      const u = t.path.removeLeadingDotSegment(d.path);
      return this._isSkippedByPositivePatterns(u, c) ? !1 : this._isSkippedByNegativePatterns(u, n);
    }
    _isSkippedByDeep(s, d) {
      return this._settings.deep === 1 / 0 ? !1 : this._getEntryLevel(s, d) >= this._settings.deep;
    }
    _getEntryLevel(s, d) {
      const c = d.split("/").length;
      return s === "" ? c : c - s.split("/").length;
    }
    _isSkippedSymbolicLink(s) {
      return !this._settings.followSymbolicLinks && s.dirent.isSymbolicLink();
    }
    _isSkippedByPositivePatterns(s, d) {
      return !this._settings.baseNameMatch && !d.match(s);
    }
    _isSkippedByNegativePatterns(s, d) {
      return !t.pattern.matchAny(s, d);
    }
  };
  e.default = i;
})), _O = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cr(), r = class {
    constructor(i, s) {
      this._settings = i, this._micromatchOptions = s, this.index = /* @__PURE__ */ new Map();
    }
    getFilter(i, s) {
      const [d, c] = t.pattern.partitionAbsoluteAndRelative(s), n = {
        positive: { all: t.pattern.convertPatternsToRe(i, this._micromatchOptions) },
        negative: {
          absolute: t.pattern.convertPatternsToRe(d, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 })),
          relative: t.pattern.convertPatternsToRe(c, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 }))
        }
      };
      return (u) => this._filter(u, n);
    }
    _filter(i, s) {
      const d = t.path.removeLeadingDotSegment(i.path);
      if (this._settings.unique && this._isDuplicateEntry(d) || this._onlyFileFilter(i) || this._onlyDirectoryFilter(i)) return !1;
      const c = this._isMatchToPatternsSet(d, s, i.dirent.isDirectory());
      return this._settings.unique && c && this._createIndexRecord(d), c;
    }
    _isDuplicateEntry(i) {
      return this.index.has(i);
    }
    _createIndexRecord(i) {
      this.index.set(i, void 0);
    }
    _onlyFileFilter(i) {
      return this._settings.onlyFiles && !i.dirent.isFile();
    }
    _onlyDirectoryFilter(i) {
      return this._settings.onlyDirectories && !i.dirent.isDirectory();
    }
    _isMatchToPatternsSet(i, s, d) {
      return !(!this._isMatchToPatterns(i, s.positive.all, d) || this._isMatchToPatterns(i, s.negative.relative, d) || this._isMatchToAbsoluteNegative(i, s.negative.absolute, d));
    }
    _isMatchToAbsoluteNegative(i, s, d) {
      if (s.length === 0) return !1;
      const c = t.path.makeAbsolute(this._settings.cwd, i);
      return this._isMatchToPatterns(c, s, d);
    }
    _isMatchToPatterns(i, s, d) {
      if (s.length === 0) return !1;
      const c = t.pattern.matchAny(i, s);
      return !c && d ? t.pattern.matchAny(i + "/", s) : c;
    }
  };
  e.default = r;
})), bO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cr(), r = class {
    constructor(i) {
      this._settings = i;
    }
    getFilter() {
      return (i) => this._isNonFatalError(i);
    }
    _isNonFatalError(i) {
      return t.errno.isEnoentCodeError(i) || this._settings.suppressErrors;
    }
  };
  e.default = r;
})), wO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = cr(), r = class {
    constructor(i) {
      this._settings = i;
    }
    getTransformer() {
      return (i) => this._transform(i);
    }
    _transform(i) {
      let s = i.path;
      return this._settings.absolute && (s = t.path.makeAbsolute(this._settings.cwd, s), s = t.path.unixify(s)), this._settings.markDirectories && i.dirent.isDirectory() && (s += "/"), this._settings.objectMode ? Object.assign(Object.assign({}, i), { path: s }) : s;
    }
  };
  e.default = r;
})), Il = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("path"), r = yO(), i = _O(), s = bO(), d = wO(), c = class {
    constructor(n) {
      this._settings = n, this.errorFilter = new s.default(this._settings), this.entryFilter = new i.default(this._settings, this._getMicromatchOptions()), this.deepFilter = new r.default(this._settings, this._getMicromatchOptions()), this.entryTransformer = new d.default(this._settings);
    }
    _getRootDirectory(n) {
      return t.resolve(this._settings.cwd, n.base);
    }
    _getReaderOptions(n) {
      const u = n.base === "." ? "" : n.base;
      return {
        basePath: u,
        pathSegmentSeparator: "/",
        concurrency: this._settings.concurrency,
        deepFilter: this.deepFilter.getFilter(u, n.positive, n.negative),
        entryFilter: this.entryFilter.getFilter(n.positive, n.negative),
        errorFilter: this.errorFilter.getFilter(),
        followSymbolicLinks: this._settings.followSymbolicLinks,
        fs: this._settings.fs,
        stats: this._settings.stats,
        throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink,
        transform: this.entryTransformer.getTransformer()
      };
    }
    _getMicromatchOptions() {
      return {
        dot: this._settings.dot,
        matchBase: this._settings.baseNameMatch,
        nobrace: !this._settings.braceExpansion,
        nocase: !this._settings.caseSensitiveMatch,
        noext: !this._settings.extglob,
        noglobstar: !this._settings.globstar,
        posix: !0,
        strictSlashes: !1
      };
    }
  };
  e.default = c;
})), EO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = gO(), r = Il(), i = class extends r.default {
    constructor() {
      super(...arguments), this._reader = new t.default(this._settings);
    }
    async read(s) {
      const d = this._getRootDirectory(s), c = this._getReaderOptions(s);
      return (await this.api(d, s, c)).map((n) => c.transform(n));
    }
    api(s, d, c) {
      return d.dynamic ? this._reader.dynamic(s, c) : this._reader.static(d.patterns, c);
    }
  };
  e.default = i;
})), SO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = be("stream"), r = up(), i = Il(), s = class extends i.default {
    constructor() {
      super(...arguments), this._reader = new r.default(this._settings);
    }
    read(d) {
      const c = this._getRootDirectory(d), n = this._getReaderOptions(d), u = this.api(c, d, n), o = new t.Readable({
        objectMode: !0,
        read: () => {
        }
      });
      return u.once("error", (h) => o.emit("error", h)).on("data", (h) => o.emit("data", n.transform(h))).once("end", () => o.emit("end")), o.once("close", () => u.destroy()), o;
    }
    api(d, c, n) {
      return c.dynamic ? this._reader.dynamic(d, n) : this._reader.static(c.patterns, n);
    }
  };
  e.default = s;
})), AO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = Zr(), r = Ol(), i = Cl(), s = class extends i.default {
    constructor() {
      super(...arguments), this._walkSync = r.walkSync, this._statSync = t.statSync;
    }
    dynamic(d, c) {
      return this._walkSync(d, c);
    }
    static(d, c) {
      const n = [];
      for (const u of d) {
        const o = this._getFullEntryPath(u), h = this._getEntry(o, u, c);
        h === null || !c.entryFilter(h) || n.push(h);
      }
      return n;
    }
    _getEntry(d, c, n) {
      try {
        const u = this._getStat(d);
        return this._makeEntry(u, c);
      } catch (u) {
        if (n.errorFilter(u)) return null;
        throw u;
      }
    }
    _getStat(d) {
      return this._statSync(d, this._fsStatSettings);
    }
  };
  e.default = s;
})), TO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = AO(), r = Il(), i = class extends r.default {
    constructor() {
      super(...arguments), this._reader = new t.default(this._settings);
    }
    read(s) {
      const d = this._getRootDirectory(s), c = this._getReaderOptions(s);
      return this.api(d, s, c).map(c.transform);
    }
    api(s, d, c) {
      return d.dynamic ? this._reader.dynamic(s, c) : this._reader.static(d.patterns, c);
    }
  };
  e.default = i;
})), DO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
  var t = be("fs"), r = be("os"), i = Math.max(r.cpus().length, 1);
  e.DEFAULT_FILE_SYSTEM_ADAPTER = {
    lstat: t.lstat,
    lstatSync: t.lstatSync,
    stat: t.stat,
    statSync: t.statSync,
    readdir: t.readdir,
    readdirSync: t.readdirSync
  };
  var s = class {
    constructor(d = {}) {
      this._options = d, this.absolute = this._getValue(this._options.absolute, !1), this.baseNameMatch = this._getValue(this._options.baseNameMatch, !1), this.braceExpansion = this._getValue(this._options.braceExpansion, !0), this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, !0), this.concurrency = this._getValue(this._options.concurrency, i), this.cwd = this._getValue(this._options.cwd, process.cwd()), this.deep = this._getValue(this._options.deep, 1 / 0), this.dot = this._getValue(this._options.dot, !1), this.extglob = this._getValue(this._options.extglob, !0), this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !0), this.fs = this._getFileSystemMethods(this._options.fs), this.globstar = this._getValue(this._options.globstar, !0), this.ignore = this._getValue(this._options.ignore, []), this.markDirectories = this._getValue(this._options.markDirectories, !1), this.objectMode = this._getValue(this._options.objectMode, !1), this.onlyDirectories = this._getValue(this._options.onlyDirectories, !1), this.onlyFiles = this._getValue(this._options.onlyFiles, !0), this.stats = this._getValue(this._options.stats, !1), this.suppressErrors = this._getValue(this._options.suppressErrors, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !1), this.unique = this._getValue(this._options.unique, !0), this.onlyDirectories && (this.onlyFiles = !1), this.stats && (this.objectMode = !0), this.ignore = [].concat(this.ignore);
    }
    _getValue(d, c) {
      return d === void 0 ? c : d;
    }
    _getFileSystemMethods(d = {}) {
      return Object.assign(Object.assign({}, e.DEFAULT_FILE_SYSTEM_ADAPTER), d);
    }
  };
  e.default = s;
})), RO = /* @__PURE__ */ z(((e, t) => {
  var r = ZR(), i = EO(), s = SO(), d = TO(), c = DO(), n = cr();
  async function u(a, l) {
    h(a);
    const f = o(a, i.default, l), p = await Promise.all(f);
    return n.array.flatten(p);
  }
  (function(a) {
    a.glob = a, a.globSync = l, a.globStream = f, a.async = a;
    function l(_, E) {
      h(_);
      const S = o(_, d.default, E);
      return n.array.flatten(S);
    }
    a.sync = l;
    function f(_, E) {
      h(_);
      const S = o(_, s.default, E);
      return n.stream.merge(S);
    }
    a.stream = f;
    function p(_, E) {
      h(_);
      const S = [].concat(_), w = new c.default(E);
      return r.generate(S, w);
    }
    a.generateTasks = p;
    function g(_, E) {
      h(_);
      const S = new c.default(E);
      return n.pattern.isDynamicPattern(_, S);
    }
    a.isDynamicPattern = g;
    function m(_) {
      return h(_), n.path.escape(_);
    }
    a.escapePath = m;
    function v(_) {
      return h(_), n.path.convertPathToPattern(_);
    }
    a.convertPathToPattern = v, (function(_) {
      function E(w) {
        return h(w), n.path.escapePosixPath(w);
      }
      _.escapePath = E;
      function S(w) {
        return h(w), n.path.convertPosixPathToPattern(w);
      }
      _.convertPathToPattern = S;
    })(a.posix || (a.posix = {})), (function(_) {
      function E(w) {
        return h(w), n.path.escapeWindowsPath(w);
      }
      _.escapePath = E;
      function S(w) {
        return h(w), n.path.convertWindowsPathToPattern(w);
      }
      _.convertPathToPattern = S;
    })(a.win32 || (a.win32 = {}));
  })(u || (u = {}));
  function o(a, l, f) {
    const p = [].concat(a), g = new c.default(f), m = r.generate(p, g), v = new l(g);
    return m.map(v.read, v);
  }
  function h(a) {
    if (![].concat(a).every((l) => n.string.isString(l) && !n.string.isEmpty(l))) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
  }
  t.exports = u;
})), hp = /* @__PURE__ */ Lt(RO(), 1), fp = { ignore: ["**/node_modules/**", "**/.pnpm-store/**"] }, dp = async (e) => {
  const t = qe.join(qe.dirname(e), "pnpm-workspace.yaml");
  let r;
  try {
    r = await Xe.readFile(t, "utf-8");
  } catch {
    return null;
  }
  return _i.load(r);
}, OO = async (e) => {
  const t = qe.join(qe.dirname(e), ".yarnrc.yml");
  let r;
  try {
    r = await Xe.readFile(t, "utf-8");
  } catch {
    return null;
  }
  return _i.load(r);
}, CO = async (e, t) => {
  const r = {};
  if (e.packageManager === "pnpm") {
    const s = await dp(t);
    s && !Array.isArray(s) && (s.catalog && Object.assign(r, s.catalog), s.catalogs && Object.assign(r, ...Object.values(s.catalogs)), s.workspaces && !Array.isArray(s.workspaces) && (s.workspaces.catalog && Object.assign(r, s.workspaces.catalog), s.workspaces.catalogs && Object.assign(r, ...Object.values(s.workspaces.catalogs))));
  }
  if (e.packageManager === "yarn") {
    const s = await OO(t);
    s && (s.catalog && Object.assign(r, s.catalog), s.catalogs && Object.assign(r, ...Object.values(s.catalogs)));
  }
  const i = JSON.parse(await Xe.readFile(t, "utf-8"));
  return Object.assign(r, i.catalog, ...Object.values(i.catalogs ?? {})), i.workspaces && !Array.isArray(i.workspaces) && Object.assign(r, i.workspaces.catalog, ...Object.values(i.workspaces.catalogs ?? {})), Object.keys(r).length > 0 ? r : null;
};
async function IO(e, t, r, i) {
  const { pkgData: s, pkgPath: d } = await bn({
    ...e,
    packageFile: r,
    loglevel: "silent"
  }), c = (typeof s == "string" ? JSON.parse(s) : s).workspaces || await dp(d || ""), n = Array.isArray(c) ? c : c?.packages;
  n || We(e, `workspaces property missing from package.json. --workspace${e.workspaces ? "s" : ""} only works when you specify a "workspaces" property in your package.json.`);
  const u = (n || []).map((l) => qe.join(i, l, "package.json").replace(/\\/g, "/")), o = hp.default.sync(u, fp), h = await Promise.all(o.map(async (l) => {
    const f = await gl(e, l);
    return f.name = f.pkg.name || l.split("/").slice(-2)[0], f;
  })), a = h.map((l) => l.name || "");
  return e.workspaces === !0 ? [h, a] : [h.filter((l) => e.workspace?.some((f) => n?.some((p) => l.name === f || l.filepath === qe.join(i, qe.dirname(p), f, t).replace(/\\/g, "/")))), a];
}
async function kO(e, t) {
  if (!t) return null;
  const r = await CO(e, t);
  if (!r) return null;
  const i = {
    name: "catalog-dependencies",
    version: "1.0.0",
    dependencies: r
  };
  return {
    filepath: e.packageManager === "pnpm" ? qe.join(qe.dirname(t), "pnpm-workspace.yaml") : e.packageManager === "yarn" ? qe.join(qe.dirname(t), ".yarnrc.yml") : `${t}#catalog`,
    pkg: i,
    pkgFile: JSON.stringify(i, null, 2),
    name: "catalogs"
  };
}
async function LO(e) {
  const t = e.packageFile || "package.json", r = e.cwd ? yf(e.cwd) : "./", i = e.packageFile || (e.cwd ? qe.join(r, "package.json") : "package.json"), s = e.workspaces === !0 || e.workspace !== void 0 && e.workspace.length !== 0;
  let d = [];
  if (!s || e.root === !0) {
    const o = i.replace(/\\/g, "/"), h = hp.default.sync(o, fp), a = await Promise.all(h.map(async (l) => await gl(e, l)));
    d = [...d, ...a];
  }
  if (!s) return [d, []];
  let c = null;
  if (s) {
    const { pkgPath: o } = await bn({
      ...e,
      packageFile: i,
      loglevel: "silent"
    });
    o && (c = await kO(e, o));
  }
  const [n, u] = await IO(e, t, i, r);
  return d = [...d, ...n], c && (d = [...d, c]), [d, u];
}
var xO = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = be("module"), s = be("fs"), d = (c, n, u) => {
    if (typeof c != "string") throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof c}\``);
    if (typeof n != "string") throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof n}\``);
    try {
      c = s.realpathSync(c);
    } catch (a) {
      if (a.code === "ENOENT") c = r.resolve(c);
      else {
        if (u) return null;
        throw a;
      }
    }
    const o = r.join(c, "noop.js"), h = () => i._resolveFilename(n, {
      id: o,
      filename: o,
      paths: i._nodeModulePaths(c)
    });
    if (u) try {
      return h();
    } catch {
      return null;
    }
    return h();
  };
  t.exports = (c, n) => d(c, n), t.exports.silent = (c, n) => d(c, n, !0);
})), $O = /* @__PURE__ */ z(((e, t) => {
  var r = () => {
    const i = Error.prepareStackTrace;
    Error.prepareStackTrace = (d, c) => c;
    const s = (/* @__PURE__ */ new Error()).stack.slice(1);
    return Error.prepareStackTrace = i, s;
  };
  t.exports = r, t.exports.default = r;
})), NO = /* @__PURE__ */ z(((e, t) => {
  var r = $O();
  t.exports = (i) => {
    const s = r();
    if (!i) return s[2].getFileName();
    let d = !1;
    s.shift();
    for (const c of s) {
      const n = c.getFileName();
      if (typeof n == "string") {
        if (n === i) {
          d = !0;
          continue;
        }
        if (n !== "module.js" && d && n !== i)
          return n;
      }
    }
  };
})), PO = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = xO(), s = NO();
  t.exports = (d) => {
    if (typeof d != "string") throw new TypeError("Expected a string");
    const c = s(__filename), n = i(c ? r.dirname(c) : __dirname, d), u = be.cache[n];
    if (u && u.parent) {
      let h = u.parent.children.length;
      for (; h--; ) u.parent.children[h].id === n && u.parent.children.splice(h, 1);
    }
    delete be.cache[n];
    const o = be.cache[c];
    return o === void 0 || o.require === void 0 ? be(n) : o.require(n);
  };
})), BO = /* @__PURE__ */ z(((e, t) => {
  t.exports = function(i) {
    return i ? i instanceof Array || Array.isArray(i) || i.length >= 0 && i.splice instanceof Function : !1;
  };
})), FO = /* @__PURE__ */ z(((e, t) => {
  var r = be("util"), i = BO(), s = function(c, n) {
    (!c || c.constructor !== String) && (n = c || {}, c = Error.name);
    var u = function o(h) {
      if (!this) return new o(h);
      h = h instanceof Error ? h.message : h || this.message, Error.call(this, h), Error.captureStackTrace(this, u), this.name = c, Object.defineProperty(this, "message", {
        configurable: !0,
        enumerable: !1,
        get: function() {
          var g = h.split(/\r?\n/g);
          for (var m in n)
            if (n.hasOwnProperty(m)) {
              var v = n[m];
              "message" in v && (g = v.message(this[m], g) || g, i(g) || (g = [g]));
            }
          return g.join(`
`);
        },
        set: function(g) {
          h = g;
        }
      });
      var a = null, l = Object.getOwnPropertyDescriptor(this, "stack"), f = l.get, p = l.value;
      delete l.value, delete l.writable, l.set = function(g) {
        a = g;
      }, l.get = function() {
        var g = (a || (f ? f.call(this) : p)).split(/\r?\n+/g);
        a || (g[0] = this.name + ": " + this.message);
        var m = 1;
        for (var v in n)
          if (n.hasOwnProperty(v)) {
            var _ = n[v];
            if ("line" in _) {
              var E = _.line(this[v]);
              E && g.splice(m++, 0, "    " + E);
            }
            "stack" in _ && _.stack(this[v], g);
          }
        return g.join(`
`);
      }, Object.defineProperty(this, "stack", l);
    };
    return Object.setPrototypeOf ? (Object.setPrototypeOf(u.prototype, Error.prototype), Object.setPrototypeOf(u, Error)) : r.inherits(u, Error), u;
  };
  s.append = function(d, c) {
    return { message: function(n, u) {
      return n = n || c, n && (u[0] += " " + d.replace("%s", n.toString())), u;
    } };
  }, s.line = function(d, c) {
    return { line: function(n) {
      return n = n || c, n ? d.replace("%s", n.toString()) : null;
    } };
  }, t.exports = s;
})), MO = /* @__PURE__ */ z(((e, t) => {
  var r = (a) => {
    const l = a.charCodeAt(0).toString(16).toUpperCase();
    return "0x" + (l.length % 2 ? "0" : "") + l;
  }, i = (a, l, f) => {
    if (!l) return {
      message: a.message + " while parsing empty string",
      position: 0
    };
    const p = a.message.match(/^Unexpected token (.) .*position\s+(\d+)/i), g = p ? +p[2] : a.message.match(/^Unexpected end of JSON.*/i) ? l.length - 1 : null, m = p ? a.message.replace(/^Unexpected token ./, `Unexpected token ${JSON.stringify(p[1])} (${r(p[1])})`) : a.message;
    if (g != null) {
      const v = g <= f ? 0 : g - f, _ = g + f >= l.length ? l.length : g + f, E = (v === 0 ? "" : "...") + l.slice(v, _) + (_ === l.length ? "" : "...");
      return {
        message: m + ` while parsing ${l === E ? "" : "near "}${JSON.stringify(E)}`,
        position: g
      };
    } else return {
      message: m + ` while parsing '${l.slice(0, f * 2)}'`,
      position: 0
    };
  }, s = class extends SyntaxError {
    constructor(a, l, f, p) {
      f = f || 20;
      const g = i(a, l, f);
      super(g.message), Object.assign(this, g), this.code = "EJSONPARSE", this.systemError = a, Error.captureStackTrace(this, p || this.constructor);
    }
    get name() {
      return this.constructor.name;
    }
    set name(a) {
    }
    get [Symbol.toStringTag]() {
      return this.constructor.name;
    }
  }, d = /* @__PURE__ */ Symbol.for("indent"), c = /* @__PURE__ */ Symbol.for("newline"), n = /^\s*[{\[]((?:\r?\n)+)([\s\t]*)/, u = /^(?:\{\}|\[\])((?:\r?\n)+)?$/, o = (a, l, f) => {
    const p = h(a);
    f = f || 20;
    try {
      const [, g = `
`, m = "  "] = p.match(u) || p.match(n) || [
        ,
        "",
        ""
      ], v = JSON.parse(p, l);
      return v && typeof v == "object" && (v[c] = g, v[d] = m), v;
    } catch (g) {
      if (typeof a != "string" && !Buffer.isBuffer(a)) {
        const m = Array.isArray(a) && a.length === 0;
        throw Object.assign(/* @__PURE__ */ new TypeError(`Cannot parse ${m ? "an empty array" : String(a)}`), {
          code: "EJSONPARSE",
          systemError: g
        });
      }
      throw new s(g, p, f, o);
    }
  }, h = (a) => String(a).replace(/^\uFEFF/, "");
  t.exports = o, o.JSONParseError = s, o.noExceptions = (a, l) => {
    try {
      return JSON.parse(h(a), l);
    } catch {
    }
  };
})), jO = /* @__PURE__ */ z(((e) => {
  e.__esModule = !0, e.LinesAndColumns = void 0;
  var t = `
`, r = "\r", i = (function() {
    function s(d) {
      this.string = d;
      for (var c = [0], n = 0; n < d.length; ) switch (d[n]) {
        case t:
          n += t.length, c.push(n);
          break;
        case r:
          n += r.length, d[n] === t && (n += t.length), c.push(n);
          break;
        default:
          n++;
          break;
      }
      this.offsets = c;
    }
    return s.prototype.locationForIndex = function(d) {
      if (d < 0 || d > this.string.length) return null;
      for (var c = 0, n = this.offsets; n[c + 1] <= d; ) c++;
      var u = d - n[c];
      return {
        line: c,
        column: u
      };
    }, s.prototype.indexForLocation = function(d) {
      var c = d.line, n = d.column;
      return c < 0 || c >= this.offsets.length || n < 0 || n > this.lengthOfLine(c) ? null : this.offsets[c] + n;
    }, s.prototype.lengthOfLine = function(d) {
      var c = this.offsets[d];
      return (d === this.offsets.length - 1 ? this.string.length : this.offsets[d + 1]) - c;
    }, s;
  })();
  e.LinesAndColumns = i, e.default = i;
})), UO = /* @__PURE__ */ z(((e, t) => {
  var r = process || {}, i = r.argv || [], s = r.env || {}, d = !(s.NO_COLOR || i.includes("--no-color")) && (!!s.FORCE_COLOR || i.includes("--color") || r.platform === "win32" || (r.stdout || {}).isTTY && s.TERM !== "dumb" || !!s.CI), c = (o, h, a = o) => (l) => {
    let f = "" + l, p = f.indexOf(h, o.length);
    return ~p ? o + n(f, h, a, p) + h : o + f + h;
  }, n = (o, h, a, l) => {
    let f = "", p = 0;
    do
      f += o.substring(p, l) + a, p = l + h.length, l = o.indexOf(h, p);
    while (~l);
    return f + o.substring(p);
  }, u = (o = d) => {
    let h = o ? c : () => String;
    return {
      isColorSupported: o,
      reset: h("\x1B[0m", "\x1B[0m"),
      bold: h("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
      dim: h("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
      italic: h("\x1B[3m", "\x1B[23m"),
      underline: h("\x1B[4m", "\x1B[24m"),
      inverse: h("\x1B[7m", "\x1B[27m"),
      hidden: h("\x1B[8m", "\x1B[28m"),
      strikethrough: h("\x1B[9m", "\x1B[29m"),
      black: h("\x1B[30m", "\x1B[39m"),
      red: h("\x1B[31m", "\x1B[39m"),
      green: h("\x1B[32m", "\x1B[39m"),
      yellow: h("\x1B[33m", "\x1B[39m"),
      blue: h("\x1B[34m", "\x1B[39m"),
      magenta: h("\x1B[35m", "\x1B[39m"),
      cyan: h("\x1B[36m", "\x1B[39m"),
      white: h("\x1B[37m", "\x1B[39m"),
      gray: h("\x1B[90m", "\x1B[39m"),
      bgBlack: h("\x1B[40m", "\x1B[49m"),
      bgRed: h("\x1B[41m", "\x1B[49m"),
      bgGreen: h("\x1B[42m", "\x1B[49m"),
      bgYellow: h("\x1B[43m", "\x1B[49m"),
      bgBlue: h("\x1B[44m", "\x1B[49m"),
      bgMagenta: h("\x1B[45m", "\x1B[49m"),
      bgCyan: h("\x1B[46m", "\x1B[49m"),
      bgWhite: h("\x1B[47m", "\x1B[49m"),
      blackBright: h("\x1B[90m", "\x1B[39m"),
      redBright: h("\x1B[91m", "\x1B[39m"),
      greenBright: h("\x1B[92m", "\x1B[39m"),
      yellowBright: h("\x1B[93m", "\x1B[39m"),
      blueBright: h("\x1B[94m", "\x1B[39m"),
      magentaBright: h("\x1B[95m", "\x1B[39m"),
      cyanBright: h("\x1B[96m", "\x1B[39m"),
      whiteBright: h("\x1B[97m", "\x1B[39m"),
      bgBlackBright: h("\x1B[100m", "\x1B[49m"),
      bgRedBright: h("\x1B[101m", "\x1B[49m"),
      bgGreenBright: h("\x1B[102m", "\x1B[49m"),
      bgYellowBright: h("\x1B[103m", "\x1B[49m"),
      bgBlueBright: h("\x1B[104m", "\x1B[49m"),
      bgMagentaBright: h("\x1B[105m", "\x1B[49m"),
      bgCyanBright: h("\x1B[106m", "\x1B[49m"),
      bgWhiteBright: h("\x1B[107m", "\x1B[49m")
    };
  };
  t.exports = u(), t.exports.createColors = u;
})), HO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g, e.matchToToken = function(t) {
    var r = {
      type: "invalid",
      value: t[0],
      closed: void 0
    };
    return t[1] ? (r.type = "string", r.closed = !!(t[3] || t[4])) : t[5] ? r.type = "comment" : t[6] ? (r.type = "comment", r.closed = !!t[7]) : t[8] ? r.type = "regex" : t[9] ? r.type = "number" : t[10] ? r.type = "name" : t[11] ? r.type = "punctuator" : t[12] && (r.type = "whitespace"), r;
  };
})), qO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isIdentifierChar = o, e.isIdentifierName = h, e.isIdentifierStart = u;
  var t = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ", r = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿･", i = new RegExp("[" + t + "]"), s = new RegExp("[" + t + r + "]");
  t = r = null;
  var d = [
    0,
    11,
    2,
    25,
    2,
    18,
    2,
    1,
    2,
    14,
    3,
    13,
    35,
    122,
    70,
    52,
    268,
    28,
    4,
    48,
    48,
    31,
    14,
    29,
    6,
    37,
    11,
    29,
    3,
    35,
    5,
    7,
    2,
    4,
    43,
    157,
    19,
    35,
    5,
    35,
    5,
    39,
    9,
    51,
    13,
    10,
    2,
    14,
    2,
    6,
    2,
    1,
    2,
    10,
    2,
    14,
    2,
    6,
    2,
    1,
    4,
    51,
    13,
    310,
    10,
    21,
    11,
    7,
    25,
    5,
    2,
    41,
    2,
    8,
    70,
    5,
    3,
    0,
    2,
    43,
    2,
    1,
    4,
    0,
    3,
    22,
    11,
    22,
    10,
    30,
    66,
    18,
    2,
    1,
    11,
    21,
    11,
    25,
    7,
    25,
    39,
    55,
    7,
    1,
    65,
    0,
    16,
    3,
    2,
    2,
    2,
    28,
    43,
    28,
    4,
    28,
    36,
    7,
    2,
    27,
    28,
    53,
    11,
    21,
    11,
    18,
    14,
    17,
    111,
    72,
    56,
    50,
    14,
    50,
    14,
    35,
    39,
    27,
    10,
    22,
    251,
    41,
    7,
    1,
    17,
    5,
    57,
    28,
    11,
    0,
    9,
    21,
    43,
    17,
    47,
    20,
    28,
    22,
    13,
    52,
    58,
    1,
    3,
    0,
    14,
    44,
    33,
    24,
    27,
    35,
    30,
    0,
    3,
    0,
    9,
    34,
    4,
    0,
    13,
    47,
    15,
    3,
    22,
    0,
    2,
    0,
    36,
    17,
    2,
    24,
    20,
    1,
    64,
    6,
    2,
    0,
    2,
    3,
    2,
    14,
    2,
    9,
    8,
    46,
    39,
    7,
    3,
    1,
    3,
    21,
    2,
    6,
    2,
    1,
    2,
    4,
    4,
    0,
    19,
    0,
    13,
    4,
    31,
    9,
    2,
    0,
    3,
    0,
    2,
    37,
    2,
    0,
    26,
    0,
    2,
    0,
    45,
    52,
    19,
    3,
    21,
    2,
    31,
    47,
    21,
    1,
    2,
    0,
    185,
    46,
    42,
    3,
    37,
    47,
    21,
    0,
    60,
    42,
    14,
    0,
    72,
    26,
    38,
    6,
    186,
    43,
    117,
    63,
    32,
    7,
    3,
    0,
    3,
    7,
    2,
    1,
    2,
    23,
    16,
    0,
    2,
    0,
    95,
    7,
    3,
    38,
    17,
    0,
    2,
    0,
    29,
    0,
    11,
    39,
    8,
    0,
    22,
    0,
    12,
    45,
    20,
    0,
    19,
    72,
    200,
    32,
    32,
    8,
    2,
    36,
    18,
    0,
    50,
    29,
    113,
    6,
    2,
    1,
    2,
    37,
    22,
    0,
    26,
    5,
    2,
    1,
    2,
    31,
    15,
    0,
    24,
    43,
    261,
    18,
    16,
    0,
    2,
    12,
    2,
    33,
    125,
    0,
    80,
    921,
    103,
    110,
    18,
    195,
    2637,
    96,
    16,
    1071,
    18,
    5,
    26,
    3994,
    6,
    582,
    6842,
    29,
    1763,
    568,
    8,
    30,
    18,
    78,
    18,
    29,
    19,
    47,
    17,
    3,
    32,
    20,
    6,
    18,
    433,
    44,
    212,
    63,
    33,
    24,
    3,
    24,
    45,
    74,
    6,
    0,
    67,
    12,
    65,
    1,
    2,
    0,
    15,
    4,
    10,
    7381,
    42,
    31,
    98,
    114,
    8702,
    3,
    2,
    6,
    2,
    1,
    2,
    290,
    16,
    0,
    30,
    2,
    3,
    0,
    15,
    3,
    9,
    395,
    2309,
    106,
    6,
    12,
    4,
    8,
    8,
    9,
    5991,
    84,
    2,
    70,
    2,
    1,
    3,
    0,
    3,
    1,
    3,
    3,
    2,
    11,
    2,
    0,
    2,
    6,
    2,
    64,
    2,
    3,
    3,
    7,
    2,
    6,
    2,
    27,
    2,
    3,
    2,
    4,
    2,
    0,
    4,
    6,
    2,
    339,
    3,
    24,
    2,
    24,
    2,
    30,
    2,
    24,
    2,
    30,
    2,
    24,
    2,
    30,
    2,
    24,
    2,
    30,
    2,
    24,
    2,
    7,
    1845,
    30,
    7,
    5,
    262,
    61,
    147,
    44,
    11,
    6,
    17,
    0,
    322,
    29,
    19,
    43,
    485,
    27,
    229,
    29,
    3,
    0,
    208,
    30,
    2,
    2,
    2,
    1,
    2,
    6,
    3,
    4,
    10,
    1,
    225,
    6,
    2,
    3,
    2,
    1,
    2,
    14,
    2,
    196,
    60,
    67,
    8,
    0,
    1205,
    3,
    2,
    26,
    2,
    1,
    2,
    0,
    3,
    0,
    2,
    9,
    2,
    3,
    2,
    0,
    2,
    0,
    7,
    0,
    5,
    0,
    2,
    0,
    2,
    0,
    2,
    2,
    2,
    1,
    2,
    0,
    3,
    0,
    2,
    0,
    2,
    0,
    2,
    0,
    2,
    0,
    2,
    1,
    2,
    0,
    3,
    3,
    2,
    6,
    2,
    3,
    2,
    3,
    2,
    0,
    2,
    9,
    2,
    16,
    6,
    2,
    2,
    4,
    2,
    16,
    4421,
    42719,
    33,
    4381,
    3,
    5773,
    3,
    7472,
    16,
    621,
    2467,
    541,
    1507,
    4938,
    6,
    8489
  ], c = [
    509,
    0,
    227,
    0,
    150,
    4,
    294,
    9,
    1368,
    2,
    2,
    1,
    6,
    3,
    41,
    2,
    5,
    0,
    166,
    1,
    574,
    3,
    9,
    9,
    7,
    9,
    32,
    4,
    318,
    1,
    78,
    5,
    71,
    10,
    50,
    3,
    123,
    2,
    54,
    14,
    32,
    10,
    3,
    1,
    11,
    3,
    46,
    10,
    8,
    0,
    46,
    9,
    7,
    2,
    37,
    13,
    2,
    9,
    6,
    1,
    45,
    0,
    13,
    2,
    49,
    13,
    9,
    3,
    2,
    11,
    83,
    11,
    7,
    0,
    3,
    0,
    158,
    11,
    6,
    9,
    7,
    3,
    56,
    1,
    2,
    6,
    3,
    1,
    3,
    2,
    10,
    0,
    11,
    1,
    3,
    6,
    4,
    4,
    68,
    8,
    2,
    0,
    3,
    0,
    2,
    3,
    2,
    4,
    2,
    0,
    15,
    1,
    83,
    17,
    10,
    9,
    5,
    0,
    82,
    19,
    13,
    9,
    214,
    6,
    3,
    8,
    28,
    1,
    83,
    16,
    16,
    9,
    82,
    12,
    9,
    9,
    7,
    19,
    58,
    14,
    5,
    9,
    243,
    14,
    166,
    9,
    71,
    5,
    2,
    1,
    3,
    3,
    2,
    0,
    2,
    1,
    13,
    9,
    120,
    6,
    3,
    6,
    4,
    0,
    29,
    9,
    41,
    6,
    2,
    3,
    9,
    0,
    10,
    10,
    47,
    15,
    199,
    7,
    137,
    9,
    54,
    7,
    2,
    7,
    17,
    9,
    57,
    21,
    2,
    13,
    123,
    5,
    4,
    0,
    2,
    1,
    2,
    6,
    2,
    0,
    9,
    9,
    49,
    4,
    2,
    1,
    2,
    4,
    9,
    9,
    55,
    9,
    266,
    3,
    10,
    1,
    2,
    0,
    49,
    6,
    4,
    4,
    14,
    10,
    5350,
    0,
    7,
    14,
    11465,
    27,
    2343,
    9,
    87,
    9,
    39,
    4,
    60,
    6,
    26,
    9,
    535,
    9,
    470,
    0,
    2,
    54,
    8,
    3,
    82,
    0,
    12,
    1,
    19628,
    1,
    4178,
    9,
    519,
    45,
    3,
    22,
    543,
    4,
    4,
    5,
    9,
    7,
    3,
    6,
    31,
    3,
    149,
    2,
    1418,
    49,
    513,
    54,
    5,
    49,
    9,
    0,
    15,
    0,
    23,
    4,
    2,
    14,
    1361,
    6,
    2,
    16,
    3,
    6,
    2,
    1,
    2,
    4,
    101,
    0,
    161,
    6,
    10,
    9,
    357,
    0,
    62,
    13,
    499,
    13,
    245,
    1,
    2,
    9,
    233,
    0,
    3,
    0,
    8,
    1,
    6,
    0,
    475,
    6,
    110,
    6,
    6,
    9,
    4759,
    9,
    787719,
    239
  ];
  function n(a, l) {
    let f = 65536;
    for (let p = 0, g = l.length; p < g; p += 2) {
      if (f += l[p], f > a) return !1;
      if (f += l[p + 1], f >= a) return !0;
    }
    return !1;
  }
  function u(a) {
    return a < 65 ? a === 36 : a <= 90 ? !0 : a < 97 ? a === 95 : a <= 122 ? !0 : a <= 65535 ? a >= 170 && i.test(String.fromCharCode(a)) : n(a, d);
  }
  function o(a) {
    return a < 48 ? a === 36 : a < 58 ? !0 : a < 65 ? !1 : a <= 90 ? !0 : a < 97 ? a === 95 : a <= 122 ? !0 : a <= 65535 ? a >= 170 && s.test(String.fromCharCode(a)) : n(a, d) || n(a, c);
  }
  function h(a) {
    let l = !0;
    for (let f = 0; f < a.length; f++) {
      let p = a.charCodeAt(f);
      if ((p & 64512) === 55296 && f + 1 < a.length) {
        const g = a.charCodeAt(++f);
        (g & 64512) === 56320 && (p = 65536 + ((p & 1023) << 10) + (g & 1023));
      }
      if (l) {
        if (l = !1, !u(p)) return !1;
      } else if (!o(p)) return !1;
    }
    return !l;
  }
})), GO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isKeyword = o, e.isReservedWord = d, e.isStrictBindOnlyReservedWord = n, e.isStrictBindReservedWord = u, e.isStrictReservedWord = c;
  var t = {
    keyword: [
      "break",
      "case",
      "catch",
      "continue",
      "debugger",
      "default",
      "do",
      "else",
      "finally",
      "for",
      "function",
      "if",
      "return",
      "switch",
      "throw",
      "try",
      "var",
      "const",
      "while",
      "with",
      "new",
      "this",
      "super",
      "class",
      "extends",
      "export",
      "import",
      "null",
      "true",
      "false",
      "in",
      "instanceof",
      "typeof",
      "void",
      "delete"
    ],
    strict: [
      "implements",
      "interface",
      "let",
      "package",
      "private",
      "protected",
      "public",
      "static",
      "yield"
    ],
    strictBind: ["eval", "arguments"]
  }, r = new Set(t.keyword), i = new Set(t.strict), s = new Set(t.strictBind);
  function d(h, a) {
    return a && h === "await" || h === "enum";
  }
  function c(h, a) {
    return d(h, a) || i.has(h);
  }
  function n(h) {
    return s.has(h);
  }
  function u(h, a) {
    return c(h, a) || n(h);
  }
  function o(h) {
    return r.has(h);
  }
})), zO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), Object.defineProperty(e, "isIdentifierChar", {
    enumerable: !0,
    get: function() {
      return t.isIdentifierChar;
    }
  }), Object.defineProperty(e, "isIdentifierName", {
    enumerable: !0,
    get: function() {
      return t.isIdentifierName;
    }
  }), Object.defineProperty(e, "isIdentifierStart", {
    enumerable: !0,
    get: function() {
      return t.isIdentifierStart;
    }
  }), Object.defineProperty(e, "isKeyword", {
    enumerable: !0,
    get: function() {
      return r.isKeyword;
    }
  }), Object.defineProperty(e, "isReservedWord", {
    enumerable: !0,
    get: function() {
      return r.isReservedWord;
    }
  }), Object.defineProperty(e, "isStrictBindOnlyReservedWord", {
    enumerable: !0,
    get: function() {
      return r.isStrictBindOnlyReservedWord;
    }
  }), Object.defineProperty(e, "isStrictBindReservedWord", {
    enumerable: !0,
    get: function() {
      return r.isStrictBindReservedWord;
    }
  }), Object.defineProperty(e, "isStrictReservedWord", {
    enumerable: !0,
    get: function() {
      return r.isStrictReservedWord;
    }
  });
  var t = qO(), r = GO();
})), WO = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 });
  var t = UO(), r = HO(), i = zO();
  function s() {
    return typeof process == "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? !1 : t.isColorSupported;
  }
  var d = (b, A) => (D) => b(A(D));
  function c(b) {
    return {
      keyword: b.cyan,
      capitalized: b.yellow,
      jsxIdentifier: b.yellow,
      punctuator: b.yellow,
      number: b.magenta,
      string: b.green,
      regex: b.magenta,
      comment: b.gray,
      invalid: d(d(b.white, b.bgRed), b.bold),
      gutter: b.gray,
      marker: d(b.red, b.bold),
      message: d(b.red, b.bold),
      reset: b.reset
    };
  }
  var n = c(t.createColors(!0)), u = c(t.createColors(!1));
  function o(b) {
    return b ? n : u;
  }
  var h = /* @__PURE__ */ new Set([
    "as",
    "async",
    "from",
    "get",
    "of",
    "set"
  ]), a = /\r\n|[\n\r\u2028\u2029]/, l = /^[()[\]{}]$/, f, p = /^[a-z][\w-]*$/i, g = function(b, A, D) {
    if (b.type === "name") {
      const C = b.value;
      if (i.isKeyword(C) || i.isStrictReservedWord(C, !0) || h.has(C)) return "keyword";
      if (p.test(C) && (D[A - 1] === "<" || D.slice(A - 2, A) === "</")) return "jsxIdentifier";
      const O = String.fromCodePoint(C.codePointAt(0));
      if (O !== O.toLowerCase()) return "capitalized";
    }
    return b.type === "punctuator" && l.test(b.value) ? "bracket" : b.type === "invalid" && (b.value === "@" || b.value === "#") ? "punctuator" : b.type;
  };
  f = function* (b) {
    let A;
    for (; A = r.default.exec(b); ) {
      const D = r.matchToToken(A);
      yield {
        type: g(D, A.index, b),
        value: D.value
      };
    }
  };
  function m(b) {
    if (b === "") return "";
    const A = o(!0);
    let D = "";
    for (const { type: C, value: O } of f(b)) C in A ? D += O.split(a).map((I) => A[C](I)).join(`
`) : D += O;
    return D;
  }
  var v = !1, _ = /\r\n|[\n\r\u2028\u2029]/;
  function E(b, A, D, C) {
    const O = Object.assign({
      column: 0,
      line: -1
    }, b.start), I = Object.assign({}, O, b.end), { linesAbove: x = 2, linesBelow: F = 3 } = D || {}, q = O.line - C, K = O.column, M = I.line - C, N = I.column;
    let L = Math.max(q - (x + 1), 0), te = Math.min(A.length, M + F);
    q === -1 && (L = 0), M === -1 && (te = A.length);
    const H = M - q, j = {};
    if (H) for (let P = 0; P <= H; P++) {
      const k = P + q;
      K ? P === 0 ? j[k] = [K, A[k - 1].length - K + 1] : P === H ? j[k] = [0, N] : j[k] = [0, A[k - P].length] : j[k] = !0;
    }
    else K === N ? K ? j[q] = [K, 0] : j[q] = !0 : j[q] = [K, N - K];
    return {
      start: L,
      end: te,
      markerLines: j
    };
  }
  function S(b, A, D = {}) {
    const C = D.forceColor || s() && D.highlightCode, O = (D.startLine || 1) - 1, I = o(C), { start: x, end: F, markerLines: q } = E(A, b.split(_), D, O), K = A.start && typeof A.start.column == "number", M = String(F + O).length;
    let N = (C ? m(b) : b).split(_, F).slice(x, F).map((L, te) => {
      const H = x + 1 + te, j = ` ${` ${H + O}`.slice(-M)} |`, P = q[H], k = !q[H + 1];
      if (P) {
        let U = "";
        if (Array.isArray(P)) {
          const Q = L.slice(0, Math.max(P[0] - 1, 0)).replace(/[^\t]/g, " "), ue = P[1] || 1;
          U = [
            `
 `,
            I.gutter(j.replace(/\d/g, " ")),
            " ",
            Q,
            I.marker("^").repeat(ue)
          ].join(""), k && D.message && (U += " " + I.message(D.message));
        }
        return [
          I.marker(">"),
          I.gutter(j),
          L.length > 0 ? ` ${L}` : "",
          U
        ].join("");
      } else return ` ${I.gutter(j)}${L.length > 0 ? ` ${L}` : ""}`;
    }).join(`
`);
    return D.message && !K && (N = `${" ".repeat(M + 1)}${D.message}
${N}`), C ? I.reset(N) : N;
  }
  function w(b, A, D, C = {}) {
    if (!v) {
      v = !0;
      const O = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
      if (process.emitWarning) process.emitWarning(O, "DeprecationWarning");
      else {
        const I = /* @__PURE__ */ new Error(O);
        I.name = "DeprecationWarning", console.warn(/* @__PURE__ */ new Error(O));
      }
    }
    return D = Math.max(D, 0), S(b, { start: {
      column: D,
      line: A
    } }, C);
  }
  e.codeFrameColumns = S, e.default = w, e.highlight = m;
})), VO = /* @__PURE__ */ z(((e, t) => {
  var r = FO(), i = MO(), { default: s } = jO(), { codeFrameColumns: d } = WO(), c = r("JSONError", {
    fileName: r.append("in %s"),
    codeFrame: r.append(`

%s
`)
  }), n = (u, o, h) => {
    typeof o == "string" && (h = o, o = null);
    try {
      try {
        return JSON.parse(u, o);
      } catch (a) {
        throw i(u, o), a;
      }
    } catch (a) {
      a.message = a.message.replace(/\n/g, "");
      const l = a.message.match(/in JSON at position (\d+) while parsing/), f = new c(a);
      if (h && (f.fileName = h), l && l.length > 0) {
        const p = new s(u), g = Number(l[1]), m = p.locationForIndex(g);
        f.codeFrame = d(u, { start: {
          line: m.line + 1,
          column: m.column + 1
        } }, { highlightCode: !0 });
      }
      throw f;
    }
  };
  n.JSONError = c, t.exports = n;
})), qi = /* @__PURE__ */ z(((e, t) => {
  function r(u) {
    return typeof u > "u" || u === null;
  }
  function i(u) {
    return typeof u == "object" && u !== null;
  }
  function s(u) {
    return Array.isArray(u) ? u : r(u) ? [] : [u];
  }
  function d(u, o) {
    if (o) {
      const h = Object.keys(o);
      for (let a = 0, l = h.length; a < l; a += 1) {
        const f = h[a];
        u[f] = o[f];
      }
    }
    return u;
  }
  function c(u, o) {
    let h = "";
    for (let a = 0; a < o; a += 1) h += u;
    return h;
  }
  function n(u) {
    return u === 0 && Number.NEGATIVE_INFINITY === 1 / u;
  }
  t.exports.isNothing = r, t.exports.isObject = i, t.exports.toArray = s, t.exports.repeat = c, t.exports.isNegativeZero = n, t.exports.extend = d;
})), Gi = /* @__PURE__ */ z(((e, t) => {
  function r(s, d) {
    let c = "";
    const n = s.reason || "(unknown reason)";
    return s.mark ? (s.mark.name && (c += 'in "' + s.mark.name + '" '), c += "(" + (s.mark.line + 1) + ":" + (s.mark.column + 1) + ")", !d && s.mark.snippet && (c += `

` + s.mark.snippet), n + " " + c) : n;
  }
  function i(s, d) {
    Error.call(this), this.name = "YAMLException", this.reason = s, this.mark = d, this.message = r(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ new Error()).stack || "";
  }
  i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i.prototype.toString = function(d) {
    return this.name + ": " + r(this, d);
  }, t.exports = i;
})), YO = /* @__PURE__ */ z(((e, t) => {
  var r = qi();
  function i(c, n, u, o, h) {
    let a = "", l = "";
    const f = Math.floor(h / 2) - 1;
    return o - n > f && (a = " ... ", n = o - f + a.length), u - o > f && (l = " ...", u = o + f - l.length), {
      str: a + c.slice(n, u).replace(/\t/g, "→") + l,
      pos: o - n + a.length
    };
  }
  function s(c, n) {
    return r.repeat(" ", n - c.length) + c;
  }
  function d(c, n) {
    if (n = Object.create(n || null), !c.buffer) return null;
    n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
    const u = /\r?\n|\r|\0/g, o = [0], h = [];
    let a, l = -1;
    for (; a = u.exec(c.buffer); )
      h.push(a.index), o.push(a.index + a[0].length), c.position <= a.index && l < 0 && (l = o.length - 2);
    l < 0 && (l = o.length - 1);
    let f = "";
    const p = Math.min(c.line + n.linesAfter, h.length).toString().length, g = n.maxLength - (n.indent + p + 3);
    for (let v = 1; v <= n.linesBefore && !(l - v < 0); v++) {
      const _ = i(c.buffer, o[l - v], h[l - v], c.position - (o[l] - o[l - v]), g);
      f = r.repeat(" ", n.indent) + s((c.line - v + 1).toString(), p) + " | " + _.str + `
` + f;
    }
    const m = i(c.buffer, o[l], h[l], c.position, g);
    f += r.repeat(" ", n.indent) + s((c.line + 1).toString(), p) + " | " + m.str + `
`, f += r.repeat("-", n.indent + p + 3 + m.pos) + `^
`;
    for (let v = 1; v <= n.linesAfter && !(l + v >= h.length); v++) {
      const _ = i(c.buffer, o[l + v], h[l + v], c.position - (o[l] - o[l + v]), g);
      f += r.repeat(" ", n.indent) + s((c.line + v + 1).toString(), p) + " | " + _.str + `
`;
    }
    return f.replace(/\n$/, "");
  }
  t.exports = d;
})), It = /* @__PURE__ */ z(((e, t) => {
  var r = Gi(), i = [
    "kind",
    "multi",
    "resolve",
    "construct",
    "instanceOf",
    "predicate",
    "represent",
    "representName",
    "defaultStyle",
    "styleAliases"
  ], s = [
    "scalar",
    "sequence",
    "mapping"
  ];
  function d(n) {
    const u = {};
    return n !== null && Object.keys(n).forEach(function(o) {
      n[o].forEach(function(h) {
        u[String(h)] = o;
      });
    }), u;
  }
  function c(n, u) {
    if (u = u || {}, Object.keys(u).forEach(function(o) {
      if (i.indexOf(o) === -1) throw new r('Unknown option "' + o + '" is met in definition of "' + n + '" YAML type.');
    }), this.options = u, this.tag = n, this.kind = u.kind || null, this.resolve = u.resolve || function() {
      return !0;
    }, this.construct = u.construct || function(o) {
      return o;
    }, this.instanceOf = u.instanceOf || null, this.predicate = u.predicate || null, this.represent = u.represent || null, this.representName = u.representName || null, this.defaultStyle = u.defaultStyle || null, this.multi = u.multi || !1, this.styleAliases = d(u.styleAliases || null), s.indexOf(this.kind) === -1) throw new r('Unknown kind "' + this.kind + '" is specified for "' + n + '" YAML type.');
  }
  t.exports = c;
})), pp = /* @__PURE__ */ z(((e, t) => {
  var r = Gi(), i = It();
  function s(n, u) {
    const o = [];
    return n[u].forEach(function(h) {
      let a = o.length;
      o.forEach(function(l, f) {
        l.tag === h.tag && l.kind === h.kind && l.multi === h.multi && (a = f);
      }), o[a] = h;
    }), o;
  }
  function d() {
    const n = {
      scalar: {},
      sequence: {},
      mapping: {},
      fallback: {},
      multi: {
        scalar: [],
        sequence: [],
        mapping: [],
        fallback: []
      }
    };
    function u(o) {
      o.multi ? (n.multi[o.kind].push(o), n.multi.fallback.push(o)) : n[o.kind][o.tag] = n.fallback[o.tag] = o;
    }
    for (let o = 0, h = arguments.length; o < h; o += 1) arguments[o].forEach(u);
    return n;
  }
  function c(n) {
    return this.extend(n);
  }
  c.prototype.extend = function(u) {
    let o = [], h = [];
    if (u instanceof i) h.push(u);
    else if (Array.isArray(u)) h = h.concat(u);
    else if (u && (Array.isArray(u.implicit) || Array.isArray(u.explicit)))
      u.implicit && (o = o.concat(u.implicit)), u.explicit && (h = h.concat(u.explicit));
    else throw new r("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
    o.forEach(function(l) {
      if (!(l instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
      if (l.loadKind && l.loadKind !== "scalar") throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
      if (l.multi) throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
    }), h.forEach(function(l) {
      if (!(l instanceof i)) throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");
    });
    const a = Object.create(c.prototype);
    return a.implicit = (this.implicit || []).concat(o), a.explicit = (this.explicit || []).concat(h), a.compiledImplicit = s(a, "implicit"), a.compiledExplicit = s(a, "explicit"), a.compiledTypeMap = d(a.compiledImplicit, a.compiledExplicit), a;
  }, t.exports = c;
})), gp = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  t.exports = new r("tag:yaml.org,2002:str", {
    kind: "scalar",
    construct: function(i) {
      return i !== null ? i : "";
    }
  });
})), mp = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  t.exports = new r("tag:yaml.org,2002:seq", {
    kind: "sequence",
    construct: function(i) {
      return i !== null ? i : [];
    }
  });
})), vp = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  t.exports = new r("tag:yaml.org,2002:map", {
    kind: "mapping",
    construct: function(i) {
      return i !== null ? i : {};
    }
  });
})), yp = /* @__PURE__ */ z(((e, t) => {
  var r = pp();
  t.exports = new r({ explicit: [
    gp(),
    mp(),
    vp()
  ] });
})), _p = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  function i(c) {
    if (c === null) return !0;
    const n = c.length;
    return n === 1 && c === "~" || n === 4 && (c === "null" || c === "Null" || c === "NULL");
  }
  function s() {
    return null;
  }
  function d(c) {
    return c === null;
  }
  t.exports = new r("tag:yaml.org,2002:null", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: d,
    represent: {
      canonical: function() {
        return "~";
      },
      lowercase: function() {
        return "null";
      },
      uppercase: function() {
        return "NULL";
      },
      camelcase: function() {
        return "Null";
      },
      empty: function() {
        return "";
      }
    },
    defaultStyle: "lowercase"
  });
})), bp = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  function i(c) {
    if (c === null) return !1;
    const n = c.length;
    return n === 4 && (c === "true" || c === "True" || c === "TRUE") || n === 5 && (c === "false" || c === "False" || c === "FALSE");
  }
  function s(c) {
    return c === "true" || c === "True" || c === "TRUE";
  }
  function d(c) {
    return Object.prototype.toString.call(c) === "[object Boolean]";
  }
  t.exports = new r("tag:yaml.org,2002:bool", {
    kind: "scalar",
    resolve: i,
    construct: s,
    predicate: d,
    represent: {
      lowercase: function(c) {
        return c ? "true" : "false";
      },
      uppercase: function(c) {
        return c ? "TRUE" : "FALSE";
      },
      camelcase: function(c) {
        return c ? "True" : "False";
      }
    },
    defaultStyle: "lowercase"
  });
})), wp = /* @__PURE__ */ z(((e, t) => {
  var r = qi(), i = It();
  function s(a) {
    return a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102;
  }
  function d(a) {
    return a >= 48 && a <= 55;
  }
  function c(a) {
    return a >= 48 && a <= 57;
  }
  function n(a) {
    if (a === null) return !1;
    const l = a.length;
    let f = 0, p = !1;
    if (!l) return !1;
    let g = a[f];
    if ((g === "-" || g === "+") && (g = a[++f]), g === "0") {
      if (f + 1 === l) return !0;
      if (g = a[++f], g === "b") {
        for (f++; f < l; f++) {
          if (g = a[f], g !== "0" && g !== "1") return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
      if (g === "x") {
        for (f++; f < l; f++) {
          if (!s(a.charCodeAt(f))) return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
      if (g === "o") {
        for (f++; f < l; f++) {
          if (!d(a.charCodeAt(f))) return !1;
          p = !0;
        }
        return p && Number.isFinite(u(a));
      }
    }
    for (; f < l; f++) {
      if (!c(a.charCodeAt(f))) return !1;
      p = !0;
    }
    return p ? Number.isFinite(u(a)) : !1;
  }
  function u(a) {
    let l = a, f = 1, p = l[0];
    if ((p === "-" || p === "+") && (p === "-" && (f = -1), l = l.slice(1), p = l[0]), l === "0") return 0;
    if (p === "0") {
      if (l[1] === "b") return f * parseInt(l.slice(2), 2);
      if (l[1] === "x") return f * parseInt(l.slice(2), 16);
      if (l[1] === "o") return f * parseInt(l.slice(2), 8);
    }
    return f * parseInt(l, 10);
  }
  function o(a) {
    return u(a);
  }
  function h(a) {
    return Object.prototype.toString.call(a) === "[object Number]" && a % 1 === 0 && !r.isNegativeZero(a);
  }
  t.exports = new i("tag:yaml.org,2002:int", {
    kind: "scalar",
    resolve: n,
    construct: o,
    predicate: h,
    represent: {
      binary: function(a) {
        return a >= 0 ? "0b" + a.toString(2) : "-0b" + a.toString(2).slice(1);
      },
      octal: function(a) {
        return a >= 0 ? "0o" + a.toString(8) : "-0o" + a.toString(8).slice(1);
      },
      decimal: function(a) {
        return a.toString(10);
      },
      hexadecimal: function(a) {
        return a >= 0 ? "0x" + a.toString(16).toUpperCase() : "-0x" + a.toString(16).toUpperCase().slice(1);
      }
    },
    defaultStyle: "decimal",
    styleAliases: {
      binary: [2, "bin"],
      octal: [8, "oct"],
      decimal: [10, "dec"],
      hexadecimal: [16, "hex"]
    }
  });
})), Ep = /* @__PURE__ */ z(((e, t) => {
  var r = qi(), i = It(), s = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), d = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
  function c(a) {
    return a === null || !s.test(a) ? !1 : Number.isFinite(parseFloat(a, 10)) ? !0 : d.test(a);
  }
  function n(a) {
    let l = a.toLowerCase();
    const f = l[0] === "-" ? -1 : 1;
    return "+-".indexOf(l[0]) >= 0 && (l = l.slice(1)), l === ".inf" ? f === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : l === ".nan" ? NaN : f * parseFloat(l, 10);
  }
  var u = /^[-+]?[0-9]+e/;
  function o(a, l) {
    if (isNaN(a)) switch (l) {
      case "lowercase":
        return ".nan";
      case "uppercase":
        return ".NAN";
      case "camelcase":
        return ".NaN";
    }
    else if (Number.POSITIVE_INFINITY === a) switch (l) {
      case "lowercase":
        return ".inf";
      case "uppercase":
        return ".INF";
      case "camelcase":
        return ".Inf";
    }
    else if (Number.NEGATIVE_INFINITY === a) switch (l) {
      case "lowercase":
        return "-.inf";
      case "uppercase":
        return "-.INF";
      case "camelcase":
        return "-.Inf";
    }
    else if (r.isNegativeZero(a)) return "-0.0";
    const f = a.toString(10);
    return u.test(f) ? f.replace("e", ".e") : f;
  }
  function h(a) {
    return Object.prototype.toString.call(a) === "[object Number]" && (a % 1 !== 0 || r.isNegativeZero(a));
  }
  t.exports = new i("tag:yaml.org,2002:float", {
    kind: "scalar",
    resolve: c,
    construct: n,
    predicate: h,
    represent: o,
    defaultStyle: "lowercase"
  });
})), Sp = /* @__PURE__ */ z(((e, t) => {
  t.exports = yp().extend({ implicit: [
    _p(),
    bp(),
    wp(),
    Ep()
  ] });
})), Ap = /* @__PURE__ */ z(((e, t) => {
  t.exports = Sp();
})), Tp = /* @__PURE__ */ z(((e, t) => {
  var r = It(), i = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), s = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
  function d(u) {
    return u === null ? !1 : i.exec(u) !== null || s.exec(u) !== null;
  }
  function c(u) {
    let o = 0, h = null, a = i.exec(u);
    if (a === null && (a = s.exec(u)), a === null) throw new Error("Date resolve error");
    const l = +a[1], f = +a[2] - 1, p = +a[3];
    if (!a[4]) return new Date(Date.UTC(l, f, p));
    const g = +a[4], m = +a[5], v = +a[6];
    if (a[7]) {
      for (o = a[7].slice(0, 3); o.length < 3; ) o += "0";
      o = +o;
    }
    if (a[9]) {
      const E = +a[10], S = +(a[11] || 0);
      h = (E * 60 + S) * 6e4, a[9] === "-" && (h = -h);
    }
    const _ = new Date(Date.UTC(l, f, p, g, m, v, o));
    return h && _.setTime(_.getTime() - h), _;
  }
  function n(u) {
    return u.toISOString();
  }
  t.exports = new r("tag:yaml.org,2002:timestamp", {
    kind: "scalar",
    resolve: d,
    construct: c,
    instanceOf: Date,
    represent: n
  });
})), Dp = /* @__PURE__ */ z(((e, t) => {
  var r = It();
  function i(s) {
    return s === "<<" || s === null;
  }
  t.exports = new r("tag:yaml.org,2002:merge", {
    kind: "scalar",
    resolve: i
  });
})), Rp = /* @__PURE__ */ z(((e, t) => {
  var r = It(), i = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
  function s(u) {
    if (u === null) return !1;
    let o = 0;
    const h = u.length, a = i;
    for (let l = 0; l < h; l++) {
      const f = a.indexOf(u.charAt(l));
      if (!(f > 64)) {
        if (f < 0) return !1;
        o += 6;
      }
    }
    return o % 8 === 0;
  }
  function d(u) {
    const o = u.replace(/[\r\n=]/g, ""), h = o.length, a = i;
    let l = 0;
    const f = [];
    for (let g = 0; g < h; g++)
      g % 4 === 0 && g && (f.push(l >> 16 & 255), f.push(l >> 8 & 255), f.push(l & 255)), l = l << 6 | a.indexOf(o.charAt(g));
    const p = h % 4 * 6;
    return p === 0 ? (f.push(l >> 16 & 255), f.push(l >> 8 & 255), f.push(l & 255)) : p === 18 ? (f.push(l >> 10 & 255), f.push(l >> 2 & 255)) : p === 12 && f.push(l >> 4 & 255), new Uint8Array(f);
  }
  function c(u) {
    let o = "", h = 0;
    const a = u.length, l = i;
    for (let p = 0; p < a; p++)
      p % 3 === 0 && p && (o += l[h >> 18 & 63], o += l[h >> 12 & 63], o += l[h >> 6 & 63], o += l[h & 63]), h = (h << 8) + u[p];
    const f = a % 3;
    return f === 0 ? (o += l[h >> 18 & 63], o += l[h >> 12 & 63], o += l[h >> 6 & 63], o += l[h & 63]) : f === 2 ? (o += l[h >> 10 & 63], o += l[h >> 4 & 63], o += l[h << 2 & 63], o += l[64]) : f === 1 && (o += l[h >> 2 & 63], o += l[h << 4 & 63], o += l[64], o += l[64]), o;
  }
  function n(u) {
    return Object.prototype.toString.call(u) === "[object Uint8Array]";
  }
  t.exports = new r("tag:yaml.org,2002:binary", {
    kind: "scalar",
    resolve: s,
    construct: d,
    predicate: n,
    represent: c
  });
})), Op = /* @__PURE__ */ z(((e, t) => {
  var r = It(), i = Object.prototype.hasOwnProperty, s = Object.prototype.toString;
  function d(n) {
    if (n === null) return !0;
    const u = [], o = n;
    for (let h = 0, a = o.length; h < a; h += 1) {
      const l = o[h];
      let f = !1;
      if (s.call(l) !== "[object Object]") return !1;
      let p;
      for (p in l) if (i.call(l, p)) if (!f) f = !0;
      else return !1;
      if (!f) return !1;
      if (u.indexOf(p) === -1) u.push(p);
      else return !1;
    }
    return !0;
  }
  function c(n) {
    return n !== null ? n : [];
  }
  t.exports = new r("tag:yaml.org,2002:omap", {
    kind: "sequence",
    resolve: d,
    construct: c
  });
})), Cp = /* @__PURE__ */ z(((e, t) => {
  var r = It(), i = Object.prototype.toString;
  function s(c) {
    if (c === null) return !0;
    const n = c, u = new Array(n.length);
    for (let o = 0, h = n.length; o < h; o += 1) {
      const a = n[o];
      if (i.call(a) !== "[object Object]") return !1;
      const l = Object.keys(a);
      if (l.length !== 1) return !1;
      u[o] = [l[0], a[l[0]]];
    }
    return !0;
  }
  function d(c) {
    if (c === null) return [];
    const n = c, u = new Array(n.length);
    for (let o = 0, h = n.length; o < h; o += 1) {
      const a = n[o], l = Object.keys(a);
      u[o] = [l[0], a[l[0]]];
    }
    return u;
  }
  t.exports = new r("tag:yaml.org,2002:pairs", {
    kind: "sequence",
    resolve: s,
    construct: d
  });
})), Ip = /* @__PURE__ */ z(((e, t) => {
  var r = It(), i = Object.prototype.hasOwnProperty;
  function s(c) {
    if (c === null) return !0;
    const n = c;
    for (const u in n) if (i.call(n, u) && n[u] !== null)
      return !1;
    return !0;
  }
  function d(c) {
    return c !== null ? c : {};
  }
  t.exports = new r("tag:yaml.org,2002:set", {
    kind: "mapping",
    resolve: s,
    construct: d
  });
})), kl = /* @__PURE__ */ z(((e, t) => {
  t.exports = Ap().extend({
    implicit: [Tp(), Dp()],
    explicit: [
      Rp(),
      Op(),
      Cp(),
      Ip()
    ]
  });
})), KO = /* @__PURE__ */ z(((e, t) => {
  var r = qi(), i = Gi(), s = YO(), d = kl(), c = Object.prototype.hasOwnProperty, n = 1, u = 2, o = 3, h = 4, a = 1, l = 2, f = 3, p = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, g = /[\x85\u2028\u2029]/, m = /[,\[\]{}]/, v = /^(?:!|!!|![0-9A-Za-z-]+!)$/, _ = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
  function E(y) {
    return Object.prototype.toString.call(y);
  }
  function S(y) {
    return y === 10 || y === 13;
  }
  function w(y) {
    return y === 9 || y === 32;
  }
  function b(y) {
    return y === 9 || y === 32 || y === 10 || y === 13;
  }
  function A(y) {
    return y === 44 || y === 91 || y === 93 || y === 123 || y === 125;
  }
  function D(y) {
    if (y >= 48 && y <= 57) return y - 48;
    const $ = y | 32;
    return $ >= 97 && $ <= 102 ? $ - 97 + 10 : -1;
  }
  function C(y) {
    return y === 120 ? 2 : y === 117 ? 4 : y === 85 ? 8 : 0;
  }
  function O(y) {
    return y >= 48 && y <= 57 ? y - 48 : -1;
  }
  function I(y) {
    switch (y) {
      case 48:
        return "\0";
      case 97:
        return "\x07";
      case 98:
        return "\b";
      case 116:
        return "	";
      case 9:
        return "	";
      case 110:
        return `
`;
      case 118:
        return "\v";
      case 102:
        return "\f";
      case 114:
        return "\r";
      case 101:
        return "\x1B";
      case 32:
        return " ";
      case 34:
        return '"';
      case 47:
        return "/";
      case 92:
        return "\\";
      case 78:
        return "";
      case 95:
        return " ";
      case 76:
        return "\u2028";
      case 80:
        return "\u2029";
      default:
        return "";
    }
  }
  function x(y) {
    return y <= 65535 ? String.fromCharCode(y) : String.fromCharCode((y - 65536 >> 10) + 55296, (y - 65536 & 1023) + 56320);
  }
  function F(y, $, ie) {
    $ === "__proto__" ? Object.defineProperty(y, $, {
      configurable: !0,
      enumerable: !0,
      writable: !0,
      value: ie
    }) : y[$] = ie;
  }
  var q = new Array(256), K = new Array(256);
  for (let y = 0; y < 256; y++)
    q[y] = I(y) ? 1 : 0, K[y] = I(y);
  function M(y, $) {
    this.input = y, this.filename = $.filename || null, this.schema = $.schema || d, this.onWarning = $.onWarning || null, this.legacy = $.legacy || !1, this.json = $.json || !1, this.listener = $.listener || null, this.maxDepth = typeof $.maxDepth == "number" ? $.maxDepth : 100, this.maxMergeSeqLength = typeof $.maxMergeSeqLength == "number" ? $.maxMergeSeqLength : 20, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = y.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.depth = 0, this.firstTabInLine = -1, this.documents = [], this.anchorMapTransactions = [];
  }
  function N(y, $) {
    const ie = {
      name: y.filename,
      buffer: y.input.slice(0, -1),
      position: y.position,
      line: y.line,
      column: y.position - y.lineStart
    };
    return ie.snippet = s(ie), new i($, ie);
  }
  function L(y, $) {
    throw N(y, $);
  }
  function te(y, $) {
    y.onWarning && y.onWarning.call(null, N(y, $));
  }
  function H(y, $, ie) {
    const oe = y.anchorMapTransactions;
    if (oe.length !== 0) {
      const re = oe[oe.length - 1];
      c.call(re, $) || (re[$] = {
        existed: c.call(y.anchorMap, $),
        value: y.anchorMap[$]
      });
    }
    y.anchorMap[$] = ie;
  }
  function j(y) {
    y.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
  }
  function P(y) {
    const $ = y.anchorMapTransactions.pop(), ie = y.anchorMapTransactions;
    if (ie.length === 0) return;
    const oe = ie[ie.length - 1], re = Object.keys($);
    for (let de = 0, T = re.length; de < T; de += 1) {
      const se = re[de];
      c.call(oe, se) || (oe[se] = $[se]);
    }
  }
  function k(y) {
    const $ = y.anchorMapTransactions.pop(), ie = Object.keys($);
    for (let oe = ie.length - 1; oe >= 0; oe -= 1) {
      const re = $[ie[oe]];
      re.existed ? y.anchorMap[ie[oe]] = re.value : delete y.anchorMap[ie[oe]];
    }
  }
  function U(y) {
    return {
      position: y.position,
      line: y.line,
      lineStart: y.lineStart,
      lineIndent: y.lineIndent,
      firstTabInLine: y.firstTabInLine,
      tag: y.tag,
      anchor: y.anchor,
      kind: y.kind,
      result: y.result
    };
  }
  function Q(y, $) {
    y.position = $.position, y.line = $.line, y.lineStart = $.lineStart, y.lineIndent = $.lineIndent, y.firstTabInLine = $.firstTabInLine, y.tag = $.tag, y.anchor = $.anchor, y.kind = $.kind, y.result = $.result;
  }
  var ue = {
    YAML: function($, ie, oe) {
      $.version !== null && L($, "duplication of %YAML directive"), oe.length !== 1 && L($, "YAML directive accepts exactly one argument");
      const re = /^([0-9]+)\.([0-9]+)$/.exec(oe[0]);
      re === null && L($, "ill-formed argument of the YAML directive");
      const de = parseInt(re[1], 10), T = parseInt(re[2], 10);
      de !== 1 && L($, "unacceptable YAML version of the document"), $.version = oe[0], $.checkLineBreaks = T < 2, T !== 1 && T !== 2 && te($, "unsupported YAML version of the document");
    },
    TAG: function($, ie, oe) {
      let re;
      oe.length !== 2 && L($, "TAG directive accepts exactly two arguments");
      const de = oe[0];
      re = oe[1], v.test(de) || L($, "ill-formed tag handle (first argument) of the TAG directive"), c.call($.tagMap, de) && L($, 'there is a previously declared suffix for "' + de + '" tag handle'), _.test(re) || L($, "ill-formed tag prefix (second argument) of the TAG directive");
      try {
        re = decodeURIComponent(re);
      } catch {
        L($, "tag prefix is malformed: " + re);
      }
      $.tagMap[de] = re;
    }
  };
  function me(y, $, ie, oe) {
    if ($ < ie) {
      const re = y.input.slice($, ie);
      if (oe) for (let de = 0, T = re.length; de < T; de += 1) {
        const se = re.charCodeAt(de);
        se === 9 || se >= 32 && se <= 1114111 || L(y, "expected valid JSON character");
      }
      else p.test(re) && L(y, "the stream contains non-printable characters");
      y.result += re;
    }
  }
  function we(y, $, ie, oe) {
    r.isObject(ie) || L(y, "cannot merge mappings; the provided source object is unacceptable");
    const re = Object.keys(ie);
    for (let de = 0, T = re.length; de < T; de += 1) {
      const se = re[de];
      c.call($, se) || (F($, se, ie[se]), oe[se] = !0);
    }
  }
  function Z(y, $, ie, oe, re, de, T, se, ve) {
    if (Array.isArray(re)) {
      re = Array.prototype.slice.call(re);
      for (let fe = 0, V = re.length; fe < V; fe += 1)
        Array.isArray(re[fe]) && L(y, "nested arrays are not supported inside keys"), typeof re == "object" && E(re[fe]) === "[object Object]" && (re[fe] = "[object Object]");
    }
    if (typeof re == "object" && E(re) === "[object Object]" && (re = "[object Object]"), re = String(re), $ === null && ($ = {}), oe === "tag:yaml.org,2002:merge") if (Array.isArray(de)) {
      de.length > y.maxMergeSeqLength && L(y, "merge sequence length exceeded maxMergeSeqLength (" + y.maxMergeSeqLength + ")");
      const fe = /* @__PURE__ */ new Set();
      for (let V = 0, X = de.length; V < X; V += 1) {
        const ee = de[V];
        fe.has(ee) || (fe.add(ee), we(y, $, ee, ie));
      }
    } else we(y, $, de, ie);
    else
      !y.json && !c.call(ie, re) && c.call($, re) && (y.line = T || y.line, y.lineStart = se || y.lineStart, y.position = ve || y.position, L(y, "duplicated mapping key")), F($, re, de), delete ie[re];
    return $;
  }
  function G(y) {
    const $ = y.input.charCodeAt(y.position);
    $ === 10 ? y.position++ : $ === 13 ? (y.position++, y.input.charCodeAt(y.position) === 10 && y.position++) : L(y, "a line break is expected"), y.line += 1, y.lineStart = y.position, y.firstTabInLine = -1;
  }
  function Y(y, $, ie) {
    let oe = 0, re = y.input.charCodeAt(y.position);
    for (; re !== 0; ) {
      for (; w(re); )
        re === 9 && y.firstTabInLine === -1 && (y.firstTabInLine = y.position), re = y.input.charCodeAt(++y.position);
      if ($ && re === 35) do
        re = y.input.charCodeAt(++y.position);
      while (re !== 10 && re !== 13 && re !== 0);
      if (S(re))
        for (G(y), re = y.input.charCodeAt(y.position), oe++, y.lineIndent = 0; re === 32; )
          y.lineIndent++, re = y.input.charCodeAt(++y.position);
      else break;
    }
    return ie !== -1 && oe !== 0 && y.lineIndent < ie && te(y, "deficient indentation"), oe;
  }
  function ne(y) {
    let $ = y.position, ie = y.input.charCodeAt($);
    return !!((ie === 45 || ie === 46) && ie === y.input.charCodeAt($ + 1) && ie === y.input.charCodeAt($ + 2) && ($ += 3, ie = y.input.charCodeAt($), ie === 0 || b(ie)));
  }
  function le(y, $) {
    $ === 1 ? y.result += " " : $ > 1 && (y.result += r.repeat(`
`, $ - 1));
  }
  function B(y, $, ie) {
    let oe, re, de, T, se, ve;
    const fe = y.kind, V = y.result;
    let X = y.input.charCodeAt(y.position);
    if (b(X) || A(X) || X === 35 || X === 38 || X === 42 || X === 33 || X === 124 || X === 62 || X === 39 || X === 34 || X === 37 || X === 64 || X === 96) return !1;
    if (X === 63 || X === 45) {
      const ee = y.input.charCodeAt(y.position + 1);
      if (b(ee) || ie && A(ee)) return !1;
    }
    for (y.kind = "scalar", y.result = "", oe = re = y.position, de = !1; X !== 0; ) {
      if (X === 58) {
        const ee = y.input.charCodeAt(y.position + 1);
        if (b(ee) || ie && A(ee)) break;
      } else if (X === 35) {
        if (b(y.input.charCodeAt(y.position - 1))) break;
      } else {
        if (y.position === y.lineStart && ne(y) || ie && A(X)) break;
        if (S(X))
          if (T = y.line, se = y.lineStart, ve = y.lineIndent, Y(y, !1, -1), y.lineIndent >= $) {
            de = !0, X = y.input.charCodeAt(y.position);
            continue;
          } else {
            y.position = re, y.line = T, y.lineStart = se, y.lineIndent = ve;
            break;
          }
      }
      de && (me(y, oe, re, !1), le(y, y.line - T), oe = re = y.position, de = !1), w(X) || (re = y.position + 1), X = y.input.charCodeAt(++y.position);
    }
    return me(y, oe, re, !1), y.result ? !0 : (y.kind = fe, y.result = V, !1);
  }
  function W(y, $) {
    let ie, oe, re = y.input.charCodeAt(y.position);
    if (re !== 39) return !1;
    for (y.kind = "scalar", y.result = "", y.position++, ie = oe = y.position; (re = y.input.charCodeAt(y.position)) !== 0; ) if (re === 39)
      if (me(y, ie, y.position, !0), re = y.input.charCodeAt(++y.position), re === 39)
        ie = y.position, y.position++, oe = y.position;
      else return !0;
    else S(re) ? (me(y, ie, oe, !0), le(y, Y(y, !1, $)), ie = oe = y.position) : y.position === y.lineStart && ne(y) ? L(y, "unexpected end of the document within a single quoted scalar") : (y.position++, w(re) || (oe = y.position));
    L(y, "unexpected end of the stream within a single quoted scalar");
  }
  function ae(y, $) {
    let ie, oe, re, de = y.input.charCodeAt(y.position);
    if (de !== 34) return !1;
    for (y.kind = "scalar", y.result = "", y.position++, ie = oe = y.position; (de = y.input.charCodeAt(y.position)) !== 0; ) {
      if (de === 34)
        return me(y, ie, y.position, !0), y.position++, !0;
      if (de === 92) {
        if (me(y, ie, y.position, !0), de = y.input.charCodeAt(++y.position), S(de)) Y(y, !1, $);
        else if (de < 256 && q[de])
          y.result += K[de], y.position++;
        else if ((re = C(de)) > 0) {
          let T = re, se = 0;
          for (; T > 0; T--)
            de = y.input.charCodeAt(++y.position), (re = D(de)) >= 0 ? se = (se << 4) + re : L(y, "expected hexadecimal character");
          y.result += x(se), y.position++;
        } else L(y, "unknown escape sequence");
        ie = oe = y.position;
      } else S(de) ? (me(y, ie, oe, !0), le(y, Y(y, !1, $)), ie = oe = y.position) : y.position === y.lineStart && ne(y) ? L(y, "unexpected end of the document within a double quoted scalar") : (y.position++, w(de) || (oe = y.position));
    }
    L(y, "unexpected end of the stream within a double quoted scalar");
  }
  function Re(y, $) {
    let ie = !0, oe, re, de;
    const T = y.tag;
    let se;
    const ve = y.anchor;
    let fe, V, X, ee;
    const ce = /* @__PURE__ */ Object.create(null);
    let ge, _e, R, J = y.input.charCodeAt(y.position);
    if (J === 91)
      fe = 93, ee = !1, se = [];
    else if (J === 123)
      fe = 125, ee = !0, se = {};
    else return !1;
    for (y.anchor !== null && H(y, y.anchor, se), J = y.input.charCodeAt(++y.position); J !== 0; ) {
      if (Y(y, !0, $), J = y.input.charCodeAt(y.position), J === fe)
        return y.position++, y.tag = T, y.anchor = ve, y.kind = ee ? "mapping" : "sequence", y.result = se, !0;
      ie ? J === 44 && L(y, "expected the node content, but found ','") : L(y, "missed comma between flow collection entries"), _e = ge = R = null, V = X = !1, J === 63 && b(y.input.charCodeAt(y.position + 1)) && (V = X = !0, y.position++, Y(y, !0, $)), oe = y.line, re = y.lineStart, de = y.position, Ae(y, $, n, !1, !0), _e = y.tag, ge = y.result, Y(y, !0, $), J = y.input.charCodeAt(y.position), (X || y.line === oe) && J === 58 && (V = !0, J = y.input.charCodeAt(++y.position), Y(y, !0, $), Ae(y, $, n, !1, !0), R = y.result), ee ? Z(y, se, ce, _e, ge, R, oe, re, de) : V ? se.push(Z(y, null, ce, _e, ge, R, oe, re, de)) : se.push(ge), Y(y, !0, $), J = y.input.charCodeAt(y.position), J === 44 ? (ie = !0, J = y.input.charCodeAt(++y.position)) : ie = !1;
    }
    L(y, "unexpected end of the stream within a flow collection");
  }
  function Oe(y, $) {
    let ie, oe = a, re = !1, de = !1, T = $, se = 0, ve = !1, fe, V = y.input.charCodeAt(y.position);
    if (V === 124) ie = !1;
    else if (V === 62) ie = !0;
    else return !1;
    for (y.kind = "scalar", y.result = ""; V !== 0; )
      if (V = y.input.charCodeAt(++y.position), V === 43 || V === 45) a === oe ? oe = V === 43 ? f : l : L(y, "repeat of a chomping mode identifier");
      else if ((fe = O(V)) >= 0) fe === 0 ? L(y, "bad explicit indentation width of a block scalar; it cannot be less than one") : de ? L(y, "repeat of an indentation width identifier") : (T = $ + fe - 1, de = !0);
      else break;
    if (w(V)) {
      do
        V = y.input.charCodeAt(++y.position);
      while (w(V));
      if (V === 35) do
        V = y.input.charCodeAt(++y.position);
      while (!S(V) && V !== 0);
    }
    for (; V !== 0; ) {
      for (G(y), y.lineIndent = 0, V = y.input.charCodeAt(y.position); (!de || y.lineIndent < T) && V === 32; )
        y.lineIndent++, V = y.input.charCodeAt(++y.position);
      if (!de && y.lineIndent > T && (T = y.lineIndent), S(V)) {
        se++;
        continue;
      }
      if (!de && T === 0 && L(y, "missing indentation for block scalar"), y.lineIndent < T) {
        oe === f ? y.result += r.repeat(`
`, re ? 1 + se : se) : oe === a && re && (y.result += `
`);
        break;
      }
      ie ? w(V) ? (ve = !0, y.result += r.repeat(`
`, re ? 1 + se : se)) : ve ? (ve = !1, y.result += r.repeat(`
`, se + 1)) : se === 0 ? re && (y.result += " ") : y.result += r.repeat(`
`, se) : y.result += r.repeat(`
`, re ? 1 + se : se), re = !0, de = !0, se = 0;
      const X = y.position;
      for (; !S(V) && V !== 0; ) V = y.input.charCodeAt(++y.position);
      me(y, X, y.position, !1);
    }
    return !0;
  }
  function Ee(y, $) {
    const ie = y.tag, oe = y.anchor, re = [];
    let de = !1;
    if (y.firstTabInLine !== -1) return !1;
    y.anchor !== null && H(y, y.anchor, re);
    let T = y.input.charCodeAt(y.position);
    for (; T !== 0 && (y.firstTabInLine !== -1 && (y.position = y.firstTabInLine, L(y, "tab characters must not be used in indentation")), !(T !== 45 || !b(y.input.charCodeAt(y.position + 1)))); ) {
      if (de = !0, y.position++, Y(y, !0, -1) && y.lineIndent <= $) {
        re.push(null), T = y.input.charCodeAt(y.position);
        continue;
      }
      const se = y.line;
      if (Ae(y, $, o, !1, !0), re.push(y.result), Y(y, !0, -1), T = y.input.charCodeAt(y.position), (y.line === se || y.lineIndent > $) && T !== 0) L(y, "bad indentation of a sequence entry");
      else if (y.lineIndent < $) break;
    }
    return de ? (y.tag = ie, y.anchor = oe, y.kind = "sequence", y.result = re, !0) : !1;
  }
  function xe(y, $, ie) {
    let oe, re, de, T;
    const se = y.tag, ve = y.anchor, fe = {}, V = /* @__PURE__ */ Object.create(null);
    let X = null, ee = null, ce = null, ge = !1, _e = !1;
    if (y.firstTabInLine !== -1) return !1;
    y.anchor !== null && H(y, y.anchor, fe);
    let R = y.input.charCodeAt(y.position);
    for (; R !== 0; ) {
      !ge && y.firstTabInLine !== -1 && (y.position = y.firstTabInLine, L(y, "tab characters must not be used in indentation"));
      const J = y.input.charCodeAt(y.position + 1), he = y.line;
      if ((R === 63 || R === 58) && b(J))
        R === 63 ? (ge && (Z(y, fe, V, X, ee, null, re, de, T), X = ee = ce = null), _e = !0, ge = !0, oe = !0) : ge ? (ge = !1, oe = !0) : L(y, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), y.position += 1, R = J;
      else {
        if (re = y.line, de = y.lineStart, T = y.position, !Ae(y, ie, u, !1, !0)) break;
        if (y.line === he) {
          for (R = y.input.charCodeAt(y.position); w(R); ) R = y.input.charCodeAt(++y.position);
          if (R === 58)
            R = y.input.charCodeAt(++y.position), b(R) || L(y, "a whitespace character is expected after the key-value separator within a block mapping"), ge && (Z(y, fe, V, X, ee, null, re, de, T), X = ee = ce = null), _e = !0, ge = !1, oe = !1, X = y.tag, ee = y.result;
          else if (_e) L(y, "can not read an implicit mapping pair; a colon is missed");
          else
            return y.tag = se, y.anchor = ve, !0;
        } else if (_e) L(y, "can not read a block mapping entry; a multiline key may not be an implicit key");
        else
          return y.tag = se, y.anchor = ve, !0;
      }
      if ((y.line === he || y.lineIndent > $) && (ge && (re = y.line, de = y.lineStart, T = y.position), Ae(y, $, h, !0, oe) && (ge ? ee = y.result : ce = y.result), ge || (Z(y, fe, V, X, ee, ce, re, de, T), X = ee = ce = null), Y(y, !0, -1), R = y.input.charCodeAt(y.position)), (y.line === he || y.lineIndent > $) && R !== 0) L(y, "bad indentation of a mapping entry");
      else if (y.lineIndent < $) break;
    }
    return ge && Z(y, fe, V, X, ee, null, re, de, T), _e && (y.tag = se, y.anchor = ve, y.kind = "mapping", y.result = fe), _e;
  }
  function Ne(y) {
    let $ = !1, ie = !1, oe, re, de = y.input.charCodeAt(y.position);
    if (de !== 33) return !1;
    y.tag !== null && L(y, "duplication of a tag property"), de = y.input.charCodeAt(++y.position), de === 60 ? ($ = !0, de = y.input.charCodeAt(++y.position)) : de === 33 ? (ie = !0, oe = "!!", de = y.input.charCodeAt(++y.position)) : oe = "!";
    let T = y.position;
    if ($) {
      do
        de = y.input.charCodeAt(++y.position);
      while (de !== 0 && de !== 62);
      y.position < y.length ? (re = y.input.slice(T, y.position), de = y.input.charCodeAt(++y.position)) : L(y, "unexpected end of the stream within a verbatim tag");
    } else {
      for (; de !== 0 && !b(de); )
        de === 33 && (ie ? L(y, "tag suffix cannot contain exclamation marks") : (oe = y.input.slice(T - 1, y.position + 1), v.test(oe) || L(y, "named tag handle cannot contain such characters"), ie = !0, T = y.position + 1)), de = y.input.charCodeAt(++y.position);
      re = y.input.slice(T, y.position), m.test(re) && L(y, "tag suffix cannot contain flow indicator characters");
    }
    re && !_.test(re) && L(y, "tag name cannot contain such characters: " + re);
    try {
      re = decodeURIComponent(re);
    } catch {
      L(y, "tag name is malformed: " + re);
    }
    return $ ? y.tag = re : c.call(y.tagMap, oe) ? y.tag = y.tagMap[oe] + re : oe === "!" ? y.tag = "!" + re : oe === "!!" ? y.tag = "tag:yaml.org,2002:" + re : L(y, 'undeclared tag handle "' + oe + '"'), !0;
  }
  function Me(y) {
    let $ = y.input.charCodeAt(y.position);
    if ($ !== 38) return !1;
    y.anchor !== null && L(y, "duplication of an anchor property"), $ = y.input.charCodeAt(++y.position);
    const ie = y.position;
    for (; $ !== 0 && !b($) && !A($); ) $ = y.input.charCodeAt(++y.position);
    return y.position === ie && L(y, "name of an anchor node must contain at least one character"), y.anchor = y.input.slice(ie, y.position), !0;
  }
  function Ce(y) {
    let $ = y.input.charCodeAt(y.position);
    if ($ !== 42) return !1;
    $ = y.input.charCodeAt(++y.position);
    const ie = y.position;
    for (; $ !== 0 && !b($) && !A($); ) $ = y.input.charCodeAt(++y.position);
    y.position === ie && L(y, "name of an alias node must contain at least one character");
    const oe = y.input.slice(ie, y.position);
    return c.call(y.anchorMap, oe) || L(y, 'unidentified alias "' + oe + '"'), y.result = y.anchorMap[oe], Y(y, !0, -1), !0;
  }
  function Pe(y, $, ie, oe) {
    const re = U(y);
    return j(y), Q(y, $), y.tag = null, y.anchor = null, y.kind = null, y.result = null, xe(y, ie, oe) && y.kind === "mapping" ? (P(y), !0) : (k(y), Q(y, re), !1);
  }
  function Ae(y, $, ie, oe, re) {
    let de, T, se = 1, ve = !1, fe = !1, V = null, X, ee, ce;
    y.depth >= y.maxDepth && L(y, "nesting exceeded maxDepth (" + y.maxDepth + ")"), y.depth += 1, y.listener !== null && y.listener("open", y), y.tag = null, y.anchor = null, y.kind = null, y.result = null;
    const ge = de = T = h === ie || o === ie;
    if (oe && Y(y, !0, -1) && (ve = !0, y.lineIndent > $ ? se = 1 : y.lineIndent === $ ? se = 0 : y.lineIndent < $ && (se = -1)), se === 1) for (; ; ) {
      const _e = y.input.charCodeAt(y.position), R = U(y);
      if (ve && (_e === 33 && y.tag !== null || _e === 38 && y.anchor !== null) || !Ne(y) && !Me(y)) break;
      V === null && (V = R), Y(y, !0, -1) ? (ve = !0, T = ge, y.lineIndent > $ ? se = 1 : y.lineIndent === $ ? se = 0 : y.lineIndent < $ && (se = -1)) : T = !1;
    }
    if (T && (T = ve || re), se === 1 || h === ie)
      if (n === ie || u === ie ? ee = $ : ee = $ + 1, ce = y.position - y.lineStart, se === 1) if (T && (Ee(y, ce) || xe(y, ce, ee)) || Re(y, ee)) fe = !0;
      else {
        const _e = y.input.charCodeAt(y.position);
        V !== null && ge && !T && _e !== 124 && _e !== 62 && Pe(y, V, V.position - V.lineStart, ee) || de && Oe(y, ee) || W(y, ee) || ae(y, ee) ? fe = !0 : Ce(y) ? (fe = !0, (y.tag !== null || y.anchor !== null) && L(y, "alias node should not have any properties")) : B(y, ee, n === ie) && (fe = !0, y.tag === null && (y.tag = "?")), y.anchor !== null && H(y, y.anchor, y.result);
      }
      else se === 0 && (fe = T && Ee(y, ce));
    if (y.tag === null)
      y.anchor !== null && H(y, y.anchor, y.result);
    else if (y.tag === "?") {
      y.result !== null && y.kind !== "scalar" && L(y, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + y.kind + '"');
      for (let _e = 0, R = y.implicitTypes.length; _e < R; _e += 1)
        if (X = y.implicitTypes[_e], X.resolve(y.result)) {
          y.result = X.construct(y.result), y.tag = X.tag, y.anchor !== null && H(y, y.anchor, y.result);
          break;
        }
    } else if (y.tag !== "!") {
      if (c.call(y.typeMap[y.kind || "fallback"], y.tag)) X = y.typeMap[y.kind || "fallback"][y.tag];
      else {
        X = null;
        const _e = y.typeMap.multi[y.kind || "fallback"];
        for (let R = 0, J = _e.length; R < J; R += 1) if (y.tag.slice(0, _e[R].tag.length) === _e[R].tag) {
          X = _e[R];
          break;
        }
      }
      X || L(y, "unknown tag !<" + y.tag + ">"), y.result !== null && X.kind !== y.kind && L(y, "unacceptable node kind for !<" + y.tag + '> tag; it should be "' + X.kind + '", not "' + y.kind + '"'), X.resolve(y.result, y.tag) ? (y.result = X.construct(y.result, y.tag), y.anchor !== null && H(y, y.anchor, y.result)) : L(y, "cannot resolve a node with !<" + y.tag + "> explicit tag");
    }
    return y.listener !== null && y.listener("close", y), y.depth -= 1, y.tag !== null || y.anchor !== null || fe;
  }
  function $e(y) {
    const $ = y.position;
    let ie = !1, oe;
    for (y.version = null, y.checkLineBreaks = y.legacy, y.tagMap = /* @__PURE__ */ Object.create(null), y.anchorMap = /* @__PURE__ */ Object.create(null); (oe = y.input.charCodeAt(y.position)) !== 0 && (Y(y, !0, -1), oe = y.input.charCodeAt(y.position), !(y.lineIndent > 0 || oe !== 37)); ) {
      ie = !0, oe = y.input.charCodeAt(++y.position);
      let re = y.position;
      for (; oe !== 0 && !b(oe); ) oe = y.input.charCodeAt(++y.position);
      const de = y.input.slice(re, y.position), T = [];
      for (de.length < 1 && L(y, "directive name must not be less than one character in length"); oe !== 0; ) {
        for (; w(oe); ) oe = y.input.charCodeAt(++y.position);
        if (oe === 35) {
          do
            oe = y.input.charCodeAt(++y.position);
          while (oe !== 0 && !S(oe));
          break;
        }
        if (S(oe)) break;
        for (re = y.position; oe !== 0 && !b(oe); ) oe = y.input.charCodeAt(++y.position);
        T.push(y.input.slice(re, y.position));
      }
      oe !== 0 && G(y), c.call(ue, de) ? ue[de](y, de, T) : te(y, 'unknown document directive "' + de + '"');
    }
    if (Y(y, !0, -1), y.lineIndent === 0 && y.input.charCodeAt(y.position) === 45 && y.input.charCodeAt(y.position + 1) === 45 && y.input.charCodeAt(y.position + 2) === 45 ? (y.position += 3, Y(y, !0, -1)) : ie && L(y, "directives end mark is expected"), Ae(y, y.lineIndent - 1, h, !1, !0), Y(y, !0, -1), y.checkLineBreaks && g.test(y.input.slice($, y.position)) && te(y, "non-ASCII line breaks are interpreted as content"), y.documents.push(y.result), y.position === y.lineStart && ne(y)) {
      y.input.charCodeAt(y.position) === 46 && (y.position += 3, Y(y, !0, -1));
      return;
    }
    y.position < y.length - 1 && L(y, "end of the stream or a document separator is expected");
  }
  function De(y, $) {
    y = String(y), $ = $ || {}, y.length !== 0 && (y.charCodeAt(y.length - 1) !== 10 && y.charCodeAt(y.length - 1) !== 13 && (y += `
`), y.charCodeAt(0) === 65279 && (y = y.slice(1)));
    const ie = new M(y, $), oe = y.indexOf("\0");
    for (oe !== -1 && (ie.position = oe, L(ie, "null byte is not allowed in input")), ie.input += "\0"; ie.input.charCodeAt(ie.position) === 32; )
      ie.lineIndent += 1, ie.position += 1;
    for (; ie.position < ie.length - 1; ) $e(ie);
    return ie.documents;
  }
  function ye(y, $, ie) {
    $ !== null && typeof $ == "object" && typeof ie > "u" && (ie = $, $ = null);
    const oe = De(y, ie);
    if (typeof $ != "function") return oe;
    for (let re = 0, de = oe.length; re < de; re += 1) $(oe[re]);
  }
  function pe(y, $) {
    const ie = De(y, $);
    if (ie.length !== 0) {
      if (ie.length === 1) return ie[0];
      throw new i("expected a single document in the stream, but found more");
    }
  }
  t.exports.loadAll = ye, t.exports.load = pe;
})), ZO = /* @__PURE__ */ z(((e, t) => {
  var r = qi(), i = Gi(), s = kl(), d = Object.prototype.toString, c = Object.prototype.hasOwnProperty, n = 65279, u = 9, o = 10, h = 13, a = 32, l = 33, f = 34, p = 35, g = 37, m = 38, v = 39, _ = 42, E = 44, S = 45, w = 58, b = 61, A = 62, D = 63, C = 64, O = 91, I = 93, x = 96, F = 123, q = 124, K = 125, M = {};
  M[0] = "\\0", M[7] = "\\a", M[8] = "\\b", M[9] = "\\t", M[10] = "\\n", M[11] = "\\v", M[12] = "\\f", M[13] = "\\r", M[27] = "\\e", M[34] = '\\"', M[92] = "\\\\", M[133] = "\\N", M[160] = "\\_", M[8232] = "\\L", M[8233] = "\\P";
  var N = [
    "y",
    "Y",
    "yes",
    "Yes",
    "YES",
    "on",
    "On",
    "ON",
    "n",
    "N",
    "no",
    "No",
    "NO",
    "off",
    "Off",
    "OFF"
  ], L = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
  function te(T, se) {
    if (se === null) return {};
    const ve = {}, fe = Object.keys(se);
    for (let V = 0, X = fe.length; V < X; V += 1) {
      let ee = fe[V], ce = String(se[ee]);
      ee.slice(0, 2) === "!!" && (ee = "tag:yaml.org,2002:" + ee.slice(2));
      const ge = T.compiledTypeMap.fallback[ee];
      ge && c.call(ge.styleAliases, ce) && (ce = ge.styleAliases[ce]), ve[ee] = ce;
    }
    return ve;
  }
  function H(T) {
    let se, ve;
    const fe = T.toString(16).toUpperCase();
    if (T <= 255)
      se = "x", ve = 2;
    else if (T <= 65535)
      se = "u", ve = 4;
    else if (T <= 4294967295)
      se = "U", ve = 8;
    else throw new i("code point within a string may not be greater than 0xFFFFFFFF");
    return "\\" + se + r.repeat("0", ve - fe.length) + fe;
  }
  var j = 1, P = 2;
  function k(T) {
    this.schema = T.schema || s, this.indent = Math.max(1, T.indent || 2), this.noArrayIndent = T.noArrayIndent || !1, this.skipInvalid = T.skipInvalid || !1, this.flowLevel = r.isNothing(T.flowLevel) ? -1 : T.flowLevel, this.styleMap = te(this.schema, T.styles || null), this.sortKeys = T.sortKeys || !1, this.lineWidth = T.lineWidth || 80, this.noRefs = T.noRefs || !1, this.noCompatMode = T.noCompatMode || !1, this.condenseFlow = T.condenseFlow || !1, this.quotingType = T.quotingType === '"' ? P : j, this.forceQuotes = T.forceQuotes || !1, this.replacer = typeof T.replacer == "function" ? T.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
  }
  function U(T, se) {
    const ve = r.repeat(" ", se);
    let fe = 0, V = "";
    const X = T.length;
    for (; fe < X; ) {
      let ee;
      const ce = T.indexOf(`
`, fe);
      ce === -1 ? (ee = T.slice(fe), fe = X) : (ee = T.slice(fe, ce + 1), fe = ce + 1), ee.length && ee !== `
` && (V += ve), V += ee;
    }
    return V;
  }
  function Q(T, se) {
    return `
` + r.repeat(" ", T.indent * se);
  }
  function ue(T, se) {
    for (let ve = 0, fe = T.implicitTypes.length; ve < fe; ve += 1) if (T.implicitTypes[ve].resolve(se)) return !0;
    return !1;
  }
  function me(T) {
    return T === a || T === u;
  }
  function we(T) {
    return T >= 32 && T <= 126 || T >= 161 && T <= 55295 && T !== 8232 && T !== 8233 || T >= 57344 && T <= 65533 && T !== n || T >= 65536 && T <= 1114111;
  }
  function Z(T) {
    return we(T) && T !== n && T !== h && T !== o;
  }
  function G(T, se, ve) {
    const fe = Z(T), V = fe && !me(T);
    return (ve ? fe : fe && T !== E && T !== O && T !== I && T !== F && T !== K) && T !== p && !(se === w && !V) || Z(se) && !me(se) && T === p || se === w && V;
  }
  function Y(T) {
    return we(T) && T !== n && !me(T) && T !== S && T !== D && T !== w && T !== E && T !== O && T !== I && T !== F && T !== K && T !== p && T !== m && T !== _ && T !== l && T !== q && T !== b && T !== A && T !== v && T !== f && T !== g && T !== C && T !== x;
  }
  function ne(T) {
    return !me(T) && T !== w;
  }
  function le(T, se) {
    const ve = T.charCodeAt(se);
    let fe;
    return ve >= 55296 && ve <= 56319 && se + 1 < T.length && (fe = T.charCodeAt(se + 1), fe >= 56320 && fe <= 57343) ? (ve - 55296) * 1024 + fe - 56320 + 65536 : ve;
  }
  function B(T) {
    return /^\n* /.test(T);
  }
  var W = 1, ae = 2, Re = 3, Oe = 4, Ee = 5;
  function xe(T, se, ve, fe, V, X, ee, ce) {
    let ge, _e = 0, R = null, J = !1, he = !1;
    const Te = fe !== -1;
    let Ie = -1, je = Y(le(T, 0)) && ne(le(T, T.length - 1));
    if (se || ee) for (ge = 0; ge < T.length; _e >= 65536 ? ge += 2 : ge++) {
      if (_e = le(T, ge), !we(_e)) return Ee;
      je = je && G(_e, R, ce), R = _e;
    }
    else {
      for (ge = 0; ge < T.length; _e >= 65536 ? ge += 2 : ge++) {
        if (_e = le(T, ge), _e === o)
          J = !0, Te && (he = he || ge - Ie - 1 > fe && T[Ie + 1] !== " ", Ie = ge);
        else if (!we(_e)) return Ee;
        je = je && G(_e, R, ce), R = _e;
      }
      he = he || Te && ge - Ie - 1 > fe && T[Ie + 1] !== " ";
    }
    return !J && !he ? je && !ee && !V(T) ? W : X === P ? Ee : ae : ve > 9 && B(T) ? Ee : ee ? X === P ? Ee : ae : he ? Oe : Re;
  }
  function Ne(T, se, ve, fe, V) {
    T.dump = (function() {
      if (se.length === 0) return T.quotingType === P ? '""' : "''";
      if (!T.noCompatMode && (N.indexOf(se) !== -1 || L.test(se)))
        return T.quotingType === P ? '"' + se + '"' : "'" + se + "'";
      const X = T.indent * Math.max(1, ve), ee = T.lineWidth === -1 ? -1 : Math.max(Math.min(T.lineWidth, 40), T.lineWidth - X), ce = fe || T.flowLevel > -1 && ve >= T.flowLevel;
      function ge(_e) {
        return ue(T, _e);
      }
      switch (xe(se, ce, T.indent, ee, ge, T.quotingType, T.forceQuotes && !fe, V)) {
        case W:
          return se;
        case ae:
          return "'" + se.replace(/'/g, "''") + "'";
        case Re:
          return "|" + Me(se, T.indent) + Ce(U(se, X));
        case Oe:
          return ">" + Me(se, T.indent) + Ce(U(Pe(se, ee), X));
        case Ee:
          return '"' + $e(se, ee) + '"';
        default:
          throw new i("impossible error: invalid scalar style");
      }
    })();
  }
  function Me(T, se) {
    const ve = B(T) ? String(se) : "", fe = T[T.length - 1] === `
`;
    return ve + (fe && (T[T.length - 2] === `
` || T === `
`) ? "+" : fe ? "" : "-") + `
`;
  }
  function Ce(T) {
    return T[T.length - 1] === `
` ? T.slice(0, -1) : T;
  }
  function Pe(T, se) {
    const ve = /(\n+)([^\n]*)/g;
    let fe = (function() {
      let ce = T.indexOf(`
`);
      return ce = ce !== -1 ? ce : T.length, ve.lastIndex = ce, Ae(T.slice(0, ce), se);
    })(), V = T[0] === `
` || T[0] === " ", X, ee;
    for (; ee = ve.exec(T); ) {
      const ce = ee[1], ge = ee[2];
      X = ge[0] === " ", fe += ce + (!V && !X && ge !== "" ? `
` : "") + Ae(ge, se), V = X;
    }
    return fe;
  }
  function Ae(T, se) {
    if (T === "" || T[0] === " ") return T;
    const ve = / [^ ]/g;
    let fe, V = 0, X, ee = 0, ce = 0, ge = "";
    for (; fe = ve.exec(T); )
      ce = fe.index, ce - V > se && (X = ee > V ? ee : ce, ge += `
` + T.slice(V, X), V = X + 1), ee = ce;
    return ge += `
`, T.length - V > se && ee > V ? ge += T.slice(V, ee) + `
` + T.slice(ee + 1) : ge += T.slice(V), ge.slice(1);
  }
  function $e(T) {
    let se = "", ve = 0;
    for (let fe = 0; fe < T.length; ve >= 65536 ? fe += 2 : fe++) {
      ve = le(T, fe);
      const V = M[ve];
      !V && we(ve) ? (se += T[fe], ve >= 65536 && (se += T[fe + 1])) : se += V || H(ve);
    }
    return se;
  }
  function De(T, se, ve) {
    let fe = "";
    const V = T.tag;
    for (let X = 0, ee = ve.length; X < ee; X += 1) {
      let ce = ve[X];
      T.replacer && (ce = T.replacer.call(ve, String(X), ce)), (ie(T, se, ce, !1, !1) || typeof ce > "u" && ie(T, se, null, !1, !1)) && (fe !== "" && (fe += "," + (T.condenseFlow ? "" : " ")), fe += T.dump);
    }
    T.tag = V, T.dump = "[" + fe + "]";
  }
  function ye(T, se, ve, fe) {
    let V = "";
    const X = T.tag;
    for (let ee = 0, ce = ve.length; ee < ce; ee += 1) {
      let ge = ve[ee];
      T.replacer && (ge = T.replacer.call(ve, String(ee), ge)), (ie(T, se + 1, ge, !0, !0, !1, !0) || typeof ge > "u" && ie(T, se + 1, null, !0, !0, !1, !0)) && ((!fe || V !== "") && (V += Q(T, se)), T.dump && o === T.dump.charCodeAt(0) ? V += "-" : V += "- ", V += T.dump);
    }
    T.tag = X, T.dump = V || "[]";
  }
  function pe(T, se, ve) {
    let fe = "";
    const V = T.tag, X = Object.keys(ve);
    for (let ee = 0, ce = X.length; ee < ce; ee += 1) {
      let ge = "";
      fe !== "" && (ge += ", "), T.condenseFlow && (ge += '"');
      const _e = X[ee];
      let R = ve[_e];
      T.replacer && (R = T.replacer.call(ve, _e, R)), ie(T, se, _e, !1, !1) && (T.dump.length > 1024 && (ge += "? "), ge += T.dump + (T.condenseFlow ? '"' : "") + ":" + (T.condenseFlow ? "" : " "), ie(T, se, R, !1, !1) && (ge += T.dump, fe += ge));
    }
    T.tag = V, T.dump = "{" + fe + "}";
  }
  function y(T, se, ve, fe) {
    let V = "";
    const X = T.tag, ee = Object.keys(ve);
    if (T.sortKeys === !0) ee.sort();
    else if (typeof T.sortKeys == "function") ee.sort(T.sortKeys);
    else if (T.sortKeys) throw new i("sortKeys must be a boolean or a function");
    for (let ce = 0, ge = ee.length; ce < ge; ce += 1) {
      let _e = "";
      (!fe || V !== "") && (_e += Q(T, se));
      const R = ee[ce];
      let J = ve[R];
      if (T.replacer && (J = T.replacer.call(ve, R, J)), !ie(T, se + 1, R, !0, !0, !0)) continue;
      const he = T.tag !== null && T.tag !== "?" || T.dump && T.dump.length > 1024;
      he && (T.dump && o === T.dump.charCodeAt(0) ? _e += "?" : _e += "? "), _e += T.dump, he && (_e += Q(T, se)), ie(T, se + 1, J, !0, he) && (T.dump && o === T.dump.charCodeAt(0) ? _e += ":" : _e += ": ", _e += T.dump, V += _e);
    }
    T.tag = X, T.dump = V || "{}";
  }
  function $(T, se, ve) {
    const fe = ve ? T.explicitTypes : T.implicitTypes;
    for (let V = 0, X = fe.length; V < X; V += 1) {
      const ee = fe[V];
      if ((ee.instanceOf || ee.predicate) && (!ee.instanceOf || typeof se == "object" && se instanceof ee.instanceOf) && (!ee.predicate || ee.predicate(se))) {
        if (ve ? ee.multi && ee.representName ? T.tag = ee.representName(se) : T.tag = ee.tag : T.tag = "?", ee.represent) {
          const ce = T.styleMap[ee.tag] || ee.defaultStyle;
          let ge;
          if (d.call(ee.represent) === "[object Function]") ge = ee.represent(se, ce);
          else if (c.call(ee.represent, ce)) ge = ee.represent[ce](se, ce);
          else throw new i("!<" + ee.tag + '> tag resolver accepts not "' + ce + '" style');
          T.dump = ge;
        }
        return !0;
      }
    }
    return !1;
  }
  function ie(T, se, ve, fe, V, X, ee) {
    T.tag = null, T.dump = ve, $(T, ve, !1) || $(T, ve, !0);
    const ce = d.call(T.dump), ge = fe;
    fe && (fe = T.flowLevel < 0 || T.flowLevel > se);
    const _e = ce === "[object Object]" || ce === "[object Array]";
    let R, J;
    if (_e && (R = T.duplicates.indexOf(ve), J = R !== -1), (T.tag !== null && T.tag !== "?" || J || T.indent !== 2 && se > 0) && (V = !1), J && T.usedDuplicates[R]) T.dump = "*ref_" + R;
    else {
      if (_e && J && !T.usedDuplicates[R] && (T.usedDuplicates[R] = !0), ce === "[object Object]") fe && Object.keys(T.dump).length !== 0 ? (y(T, se, T.dump, V), J && (T.dump = "&ref_" + R + T.dump)) : (pe(T, se, T.dump), J && (T.dump = "&ref_" + R + " " + T.dump));
      else if (ce === "[object Array]") fe && T.dump.length !== 0 ? (T.noArrayIndent && !ee && se > 0 ? ye(T, se - 1, T.dump, V) : ye(T, se, T.dump, V), J && (T.dump = "&ref_" + R + T.dump)) : (De(T, se, T.dump), J && (T.dump = "&ref_" + R + " " + T.dump));
      else if (ce === "[object String]")
        T.tag !== "?" && Ne(T, T.dump, se, X, ge);
      else {
        if (ce === "[object Undefined]") return !1;
        if (T.skipInvalid) return !1;
        throw new i("unacceptable kind of an object to dump " + ce);
      }
      if (T.tag !== null && T.tag !== "?") {
        let he = encodeURI(T.tag[0] === "!" ? T.tag.slice(1) : T.tag).replace(/!/g, "%21");
        T.tag[0] === "!" ? he = "!" + he : he.slice(0, 18) === "tag:yaml.org,2002:" ? he = "!!" + he.slice(18) : he = "!<" + he + ">", T.dump = he + " " + T.dump;
      }
    }
    return !0;
  }
  function oe(T, se) {
    const ve = [], fe = [];
    re(T, ve, fe);
    const V = fe.length;
    for (let X = 0; X < V; X += 1) se.duplicates.push(ve[fe[X]]);
    se.usedDuplicates = new Array(V);
  }
  function re(T, se, ve) {
    if (T !== null && typeof T == "object") {
      const fe = se.indexOf(T);
      if (fe !== -1)
        ve.indexOf(fe) === -1 && ve.push(fe);
      else if (se.push(T), Array.isArray(T)) for (let V = 0, X = T.length; V < X; V += 1) re(T[V], se, ve);
      else {
        const V = Object.keys(T);
        for (let X = 0, ee = V.length; X < ee; X += 1) re(T[V[X]], se, ve);
      }
    }
  }
  function de(T, se) {
    se = se || {};
    const ve = new k(se);
    ve.noRefs || oe(T, ve);
    let fe = T;
    return ve.replacer && (fe = ve.replacer.call({ "": fe }, "", fe)), ie(ve, 0, fe, !0, !0) ? ve.dump + `
` : "";
  }
  t.exports.dump = de;
})), JO = /* @__PURE__ */ z(((e, t) => {
  var r = KO(), i = ZO();
  function s(d, c) {
    return function() {
      throw new Error("Function yaml." + d + " is removed in js-yaml 4. Use yaml." + c + " instead, which is now safe by default.");
    };
  }
  t.exports.Type = It(), t.exports.Schema = pp(), t.exports.FAILSAFE_SCHEMA = yp(), t.exports.JSON_SCHEMA = Sp(), t.exports.CORE_SCHEMA = Ap(), t.exports.DEFAULT_SCHEMA = kl(), t.exports.load = r.load, t.exports.loadAll = r.loadAll, t.exports.dump = i.dump, t.exports.YAMLException = Gi(), t.exports.types = {
    binary: Rp(),
    float: Ep(),
    map: vp(),
    null: _p(),
    pairs: Cp(),
    set: Ip(),
    timestamp: Tp(),
    bool: bp(),
    int: wp(),
    merge: Dp(),
    omap: Op(),
    seq: mp(),
    str: gp()
  }, t.exports.safeLoad = s("safeLoad", "load"), t.exports.safeLoadAll = s("safeLoadAll", "loadAll"), t.exports.safeDump = s("safeDump", "dump");
})), ou = /* @__PURE__ */ ft({
  createProgram: () => kp,
  default: () => Lp,
  version: () => ho
});
function kp() {
  throw new Error("TypeScript loader is not available in this build");
}
var ho, Lp, lu = Ot((() => {
  ho = "0.0.0-stub", Lp = {
    version: ho,
    createProgram: kp
  };
})), XO = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(_) {
    return _ && _.__esModule ? _ : { default: _ };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.loadTs = e.loadTsSync = e.loadYaml = e.loadJson = e.loadJs = e.loadJsSync = void 0;
  var r = be("fs"), i = be("fs/promises"), s = t(be("path")), d = be("url"), c = be("crypto"), n, u = function(E) {
    return n === void 0 && (n = PO()), n(E);
  };
  e.loadJsSync = u;
  var o = async function(E) {
    try {
      const { href: S } = (0, d.pathToFileURL)(await (0, i.realpath)(E));
      return (await import(S)).default;
    } catch (S) {
      try {
        return (0, e.loadJsSync)(E, "");
      } catch (w) {
        throw w.code === "ERR_REQUIRE_ESM" || w instanceof SyntaxError && w.toString().includes("Cannot use import statement outside a module") ? S : w;
      }
    }
  };
  e.loadJs = o;
  var h, a = function(E, S) {
    h === void 0 && (h = VO());
    try {
      return h(S);
    } catch (w) {
      throw w.message = `JSON Error in ${E}:
${w.message}`, w;
    }
  };
  e.loadJson = a;
  var l, f = function(E, S) {
    l === void 0 && (l = JO());
    try {
      return l.load(S);
    } catch (w) {
      throw w.message = `YAML Error in ${E}:
${w.message}`, w;
    }
  };
  e.loadYaml = f;
  var p, g = function(E, S) {
    p === void 0 && (p = (lu(), vt(ou)));
    const w = `${E}.${(0, c.randomUUID)()}.cjs`;
    try {
      const b = v(s.default.dirname(E)) ?? {};
      return b.compilerOptions = {
        ...b.compilerOptions,
        module: p.ModuleKind.NodeNext,
        moduleResolution: p.ModuleResolutionKind.NodeNext,
        target: p.ScriptTarget.ES2022,
        noEmit: !1
      }, S = p.transpileModule(S, b).outputText, (0, r.writeFileSync)(w, S), (0, e.loadJsSync)(w, S).default;
    } catch (b) {
      throw b.message = `TypeScript Error in ${E}:
${b.message}`, b;
    } finally {
      (0, r.existsSync)(w) && (0, r.rmSync)(w);
    }
  };
  e.loadTsSync = g;
  var m = async function(E, S) {
    p === void 0 && (p = (await Promise.resolve().then(() => (lu(), ou))).default);
    const w = `${E}.${(0, c.randomUUID)()}.mjs`;
    let b;
    try {
      try {
        const A = v(s.default.dirname(E)) ?? {};
        A.compilerOptions = {
          ...A.compilerOptions,
          module: p.ModuleKind.ES2022,
          moduleResolution: p.ModuleResolutionKind.Bundler,
          target: p.ScriptTarget.ES2022,
          noEmit: !1
        }, b = p.transpileModule(S, A).outputText, await (0, i.writeFile)(w, b);
      } catch (A) {
        throw A.message = `TypeScript Error in ${E}:
${A.message}`, A;
      }
      return await (0, e.loadJs)(w, b);
    } finally {
      (0, r.existsSync)(w) && await (0, i.rm)(w);
    }
  };
  e.loadTs = m;
  function v(_) {
    const E = p.findConfigFile(_, (S) => p.sys.fileExists(S));
    if (E !== void 0) {
      const { config: S, error: w } = p.readConfigFile(E, (b) => p.sys.readFile(b));
      if (w) throw new Error(`Error in ${E}: ${w.messageText.toString()}`);
      return S;
    }
  }
})), Ll = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.defaultLoadersSync = e.defaultLoaders = e.metaSearchPlaces = e.globalConfigSearchPlacesSync = e.globalConfigSearchPlaces = e.getDefaultSearchPlacesSync = e.getDefaultSearchPlaces = void 0;
  var t = XO();
  function r(s) {
    return [
      "package.json",
      `.${s}rc`,
      `.${s}rc.json`,
      `.${s}rc.yaml`,
      `.${s}rc.yml`,
      `.${s}rc.js`,
      `.${s}rc.ts`,
      `.${s}rc.cjs`,
      `.${s}rc.mjs`,
      `.config/${s}rc`,
      `.config/${s}rc.json`,
      `.config/${s}rc.yaml`,
      `.config/${s}rc.yml`,
      `.config/${s}rc.js`,
      `.config/${s}rc.ts`,
      `.config/${s}rc.cjs`,
      `.config/${s}rc.mjs`,
      `${s}.config.js`,
      `${s}.config.ts`,
      `${s}.config.cjs`,
      `${s}.config.mjs`
    ];
  }
  e.getDefaultSearchPlaces = r;
  function i(s) {
    return [
      "package.json",
      `.${s}rc`,
      `.${s}rc.json`,
      `.${s}rc.yaml`,
      `.${s}rc.yml`,
      `.${s}rc.js`,
      `.${s}rc.ts`,
      `.${s}rc.cjs`,
      `.config/${s}rc`,
      `.config/${s}rc.json`,
      `.config/${s}rc.yaml`,
      `.config/${s}rc.yml`,
      `.config/${s}rc.js`,
      `.config/${s}rc.ts`,
      `.config/${s}rc.cjs`,
      `${s}.config.js`,
      `${s}.config.ts`,
      `${s}.config.cjs`
    ];
  }
  e.getDefaultSearchPlacesSync = i, e.globalConfigSearchPlaces = [
    "config",
    "config.json",
    "config.yaml",
    "config.yml",
    "config.js",
    "config.ts",
    "config.cjs",
    "config.mjs"
  ], e.globalConfigSearchPlacesSync = [
    "config",
    "config.json",
    "config.yaml",
    "config.yml",
    "config.js",
    "config.ts",
    "config.cjs"
  ], e.metaSearchPlaces = [
    "package.json",
    "package.yaml",
    ".config/config.json",
    ".config/config.yaml",
    ".config/config.yml",
    ".config/config.js",
    ".config/config.ts",
    ".config/config.cjs",
    ".config/config.mjs"
  ], e.defaultLoaders = Object.freeze({
    ".mjs": t.loadJs,
    ".cjs": t.loadJs,
    ".js": t.loadJs,
    ".ts": t.loadTs,
    ".json": t.loadJson,
    ".yaml": t.loadYaml,
    ".yml": t.loadYaml,
    noExt: t.loadYaml
  }), e.defaultLoadersSync = Object.freeze({
    ".cjs": t.loadJsSync,
    ".js": t.loadJsSync,
    ".ts": t.loadTsSync,
    ".json": t.loadJson,
    ".yaml": t.loadYaml,
    ".yml": t.loadYaml,
    noExt: t.loadYaml
  });
})), QO = /* @__PURE__ */ z(((e, t) => {
  var r = be("path"), i = be("os"), s = i.homedir(), d = i.tmpdir(), { env: c } = process, n = (a) => {
    const l = r.join(s, "Library");
    return {
      data: r.join(l, "Application Support", a),
      config: r.join(l, "Preferences", a),
      cache: r.join(l, "Caches", a),
      log: r.join(l, "Logs", a),
      temp: r.join(d, a)
    };
  }, u = (a) => {
    const l = c.APPDATA || r.join(s, "AppData", "Roaming"), f = c.LOCALAPPDATA || r.join(s, "AppData", "Local");
    return {
      data: r.join(f, a, "Data"),
      config: r.join(l, a, "Config"),
      cache: r.join(f, a, "Cache"),
      log: r.join(f, a, "Log"),
      temp: r.join(d, a)
    };
  }, o = (a) => {
    const l = r.basename(s);
    return {
      data: r.join(c.XDG_DATA_HOME || r.join(s, ".local", "share"), a),
      config: r.join(c.XDG_CONFIG_HOME || r.join(s, ".config"), a),
      cache: r.join(c.XDG_CACHE_HOME || r.join(s, ".cache"), a),
      log: r.join(c.XDG_STATE_HOME || r.join(s, ".local", "state"), a),
      temp: r.join(d, l, a)
    };
  }, h = (a, l) => {
    if (typeof a != "string") throw new TypeError(`Expected string, got ${typeof a}`);
    return l = Object.assign({ suffix: "nodejs" }, l), l.suffix && (a += `-${l.suffix}`), process.platform === "darwin" ? n(a) : process.platform === "win32" ? u(a) : o(a);
  };
  t.exports = h, t.exports.default = h;
})), ps = /* @__PURE__ */ z(((e) => {
  var t = e && e.__createBinding || (Object.create ? (function(h, a, l, f) {
    f === void 0 && (f = l);
    var p = Object.getOwnPropertyDescriptor(a, l);
    (!p || ("get" in p ? !a.__esModule : p.writable || p.configurable)) && (p = {
      enumerable: !0,
      get: function() {
        return a[l];
      }
    }), Object.defineProperty(h, f, p);
  }) : (function(h, a, l, f) {
    f === void 0 && (f = l), h[f] = a[l];
  })), r = e && e.__setModuleDefault || (Object.create ? (function(h, a) {
    Object.defineProperty(h, "default", {
      enumerable: !0,
      value: a
    });
  }) : function(h, a) {
    h.default = a;
  }), i = e && e.__importStar || function(h) {
    if (h && h.__esModule) return h;
    var a = {};
    if (h != null)
      for (var l in h) l !== "default" && Object.prototype.hasOwnProperty.call(h, l) && t(a, h, l);
    return r(a, h), a;
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isDirectorySync = e.isDirectory = e.removeUndefinedValuesFromObject = e.getPropertyByPath = e.emplace = void 0;
  var s = i(be("fs"));
  function d(h, a, l) {
    const f = h.get(a);
    if (f !== void 0) return f;
    const p = l();
    return h.set(a, p), p;
  }
  e.emplace = d;
  function c(h, a) {
    return typeof a == "string" && Object.prototype.hasOwnProperty.call(h, a) ? h[a] : (typeof a == "string" ? a.split(".") : a).reduce((l, f) => l === void 0 ? l : l[f], h);
  }
  e.getPropertyByPath = c;
  function n(h) {
    return Object.fromEntries(Object.entries(h).filter(([, a]) => a !== void 0));
  }
  e.removeUndefinedValuesFromObject = n;
  async function u(h) {
    try {
      return (await s.promises.stat(h)).isDirectory();
    } catch (a) {
      if (a.code === "ENOENT") return !1;
      throw a;
    }
  }
  e.isDirectory = u;
  function o(h) {
    try {
      return s.default.statSync(h).isDirectory();
    } catch (a) {
      if (a.code === "ENOENT") return !1;
      throw a;
    }
  }
  e.isDirectorySync = o;
})), xp = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(u) {
    return u && u.__esModule ? u : { default: u };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getExtensionDescription = e.ExplorerBase = void 0;
  var r = t(QO()), i = t(be("os")), s = t(be("path")), d = ps(), c = class {
    #e = !1;
    config;
    loadCache;
    searchCache;
    constructor(u) {
      this.config = u, u.cache && (this.loadCache = /* @__PURE__ */ new Map(), this.searchCache = /* @__PURE__ */ new Map()), this.#t();
    }
    set loadingMetaConfig(u) {
      this.#e = u;
    }
    #t() {
      const u = this.config;
      for (const o of u.searchPlaces) {
        const h = s.default.extname(o), a = this.config.loaders[h || "noExt"] ?? this.config.loaders.default;
        if (a === void 0) throw new Error(`Missing loader for ${n(o)}.`);
        if (typeof a != "function") throw new Error(`Loader for ${n(o)} is not a function: Received ${typeof a}.`);
      }
    }
    clearLoadCache() {
      this.loadCache && this.loadCache.clear();
    }
    clearSearchCache() {
      this.searchCache && this.searchCache.clear();
    }
    clearCaches() {
      this.clearLoadCache(), this.clearSearchCache();
    }
    toCosmiconfigResult(u, o) {
      if (o === null) return null;
      if (o === void 0) return {
        filepath: u,
        config: void 0,
        isEmpty: !0
      };
      if (this.config.applyPackagePropertyPathToConfiguration || this.#e) {
        const h = this.config.packageProp ?? this.config.moduleName;
        o = (0, d.getPropertyByPath)(o, h);
      }
      return o === void 0 ? {
        filepath: u,
        config: void 0,
        isEmpty: !0
      } : {
        config: o,
        filepath: u
      };
    }
    validateImports(u, o, h) {
      const a = s.default.dirname(u);
      for (const l of o) {
        if (typeof l != "string") throw new Error(`${u}: Key $import must contain a string or a list of strings`);
        const f = s.default.resolve(a, l);
        if (f === u) throw new Error(`Self-import detected in ${u}`);
        const p = h.indexOf(f);
        if (p !== -1) throw new Error(`Circular import detected:
${[...h, f].map((g, m) => `${m + 1}. ${g}`).join(`
`)} (same as ${p + 1}.)`);
      }
    }
    getSearchPlacesForDir(u, o) {
      return (u.isGlobalConfig ? o : this.config.searchPlaces).map((h) => s.default.join(u.path, h));
    }
    getGlobalConfigDir() {
      return (0, r.default)(this.config.moduleName, { suffix: "" }).config;
    }
    *getGlobalDirs(u) {
      const o = s.default.resolve(this.config.stopDir ?? i.default.homedir());
      yield {
        path: u,
        isGlobalConfig: !1
      };
      let h = u;
      for (; h !== o; ) {
        const a = s.default.dirname(h);
        if (a === h) break;
        yield {
          path: a,
          isGlobalConfig: !1
        }, h = a;
      }
      yield {
        path: this.getGlobalConfigDir(),
        isGlobalConfig: !0
      };
    }
  };
  e.ExplorerBase = c;
  function n(u) {
    return u ? `extension "${u}"` : "files without extensions";
  }
  e.getExtensionDescription = n;
})), $p = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.mergeAll = e.hasOwn = void 0, e.hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
  var t = Function.prototype.call.bind(Object.prototype.toString);
  function r(d) {
    return t(d) === "[object Object]";
  }
  function i(d, c, n) {
    for (const u of Object.keys(c)) {
      const o = c[u];
      if ((0, e.hasOwn)(d, u)) {
        if (Array.isArray(d[u]) && Array.isArray(o)) {
          if (n.mergeArrays) {
            d[u].push(...o);
            continue;
          }
        } else if (r(d[u]) && r(o)) {
          d[u] = i(d[u], o, n);
          continue;
        }
      }
      d[u] = o;
    }
    return d;
  }
  function s(d, c) {
    return d.reduce((n, u) => i(n, u, c), {});
  }
  e.mergeAll = s;
})), eC = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(o) {
    return o && o.__esModule ? o : { default: o };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Explorer = void 0;
  var r = t(be("fs/promises")), i = t(be("path")), s = Ll(), d = xp(), c = $p(), n = ps(), u = class extends d.ExplorerBase {
    async load(o) {
      o = i.default.resolve(o);
      const h = async () => await this.config.transform(await this.#e(o));
      return this.loadCache ? await (0, n.emplace)(this.loadCache, o, h) : await h();
    }
    async search(o = "") {
      if (this.config.metaConfigFilePath) {
        this.loadingMetaConfig = !0;
        const p = await this.load(this.config.metaConfigFilePath);
        if (this.loadingMetaConfig = !1, p && !p.isEmpty) return p;
      }
      o = i.default.resolve(o);
      const h = this.#s(o), a = await h.next();
      if (a.done) throw new Error(`Could not find any folders to iterate through (start from ${o})`);
      let l = a.value;
      const f = async () => {
        if (await (0, n.isDirectory)(l.path)) for (const g of this.getSearchPlacesForDir(l, s.globalConfigSearchPlaces)) try {
          const m = await this.#e(g);
          if (m !== null && !(m.isEmpty && this.config.ignoreEmptySearchPlaces)) return await this.config.transform(m);
        } catch (m) {
          if (m.code === "ENOENT" || m.code === "EISDIR" || m.code === "ENOTDIR" || m.code === "EACCES") continue;
          throw m;
        }
        const p = await h.next();
        return p.done ? await this.config.transform(null) : (l = p.value, this.searchCache ? await (0, n.emplace)(this.searchCache, l.path, f) : await f());
      };
      return this.searchCache ? await (0, n.emplace)(this.searchCache, o, f) : await f();
    }
    async #e(o, h = []) {
      const a = await r.default.readFile(o, { encoding: "utf-8" });
      return this.toCosmiconfigResult(o, await this.#t(o, a, h));
    }
    async #t(o, h, a) {
      const l = await this.#r(o, h);
      if (!l || !(0, c.hasOwn)(l, "$import")) return l;
      const f = i.default.dirname(o), { $import: p, ...g } = l, m = Array.isArray(p) ? p : [p], v = [...a, o];
      this.validateImports(o, m, v);
      const _ = await Promise.all(m.map(async (E) => {
        const S = i.default.resolve(f, E);
        return (await this.#e(S, v))?.config;
      }));
      return (0, c.mergeAll)([..._, g], { mergeArrays: this.config.mergeImportArrays });
    }
    async #r(o, h) {
      if (h.trim() === "") return;
      const a = i.default.extname(o), l = this.config.loaders[a || "noExt"] ?? this.config.loaders.default;
      if (!l) throw new Error(`No loader specified for ${(0, d.getExtensionDescription)(a)}`);
      try {
        const f = await l(o, h);
        return i.default.basename(o, a) !== "package" ? f : (0, n.getPropertyByPath)(f, this.config.packageProp ?? this.config.moduleName) ?? null;
      } catch (f) {
        throw f.filepath = o, f;
      }
    }
    async #n(o) {
      try {
        return await r.default.stat(o), !0;
      } catch {
        return !1;
      }
    }
    async *#s(o) {
      switch (this.config.searchStrategy) {
        case "none":
          yield {
            path: o,
            isGlobalConfig: !1
          };
          return;
        case "project": {
          let h = o;
          for (; ; ) {
            yield {
              path: h,
              isGlobalConfig: !1
            };
            for (const l of ["json", "yaml"]) {
              const f = i.default.join(h, `package.${l}`);
              if (await this.#n(f)) break;
            }
            const a = i.default.dirname(h);
            if (a === h) break;
            h = a;
          }
          return;
        }
        case "global":
          yield* this.getGlobalDirs(o);
      }
    }
  };
  e.Explorer = u;
})), tC = /* @__PURE__ */ z(((e) => {
  var t = e && e.__importDefault || function(o) {
    return o && o.__esModule ? o : { default: o };
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ExplorerSync = void 0;
  var r = t(be("fs")), i = t(be("path")), s = Ll(), d = xp(), c = $p(), n = ps(), u = class extends d.ExplorerBase {
    load(o) {
      o = i.default.resolve(o);
      const h = () => this.config.transform(this.#e(o));
      return this.loadCache ? (0, n.emplace)(this.loadCache, o, h) : h();
    }
    search(o = "") {
      if (this.config.metaConfigFilePath) {
        this.loadingMetaConfig = !0;
        const p = this.load(this.config.metaConfigFilePath);
        if (this.loadingMetaConfig = !1, p && !p.isEmpty) return p;
      }
      o = i.default.resolve(o);
      const h = this.#s(o), a = h.next();
      if (a.done) throw new Error(`Could not find any folders to iterate through (start from ${o})`);
      let l = a.value;
      const f = () => {
        if ((0, n.isDirectorySync)(l.path)) for (const g of this.getSearchPlacesForDir(l, s.globalConfigSearchPlacesSync)) try {
          const m = this.#e(g);
          if (m !== null && !(m.isEmpty && this.config.ignoreEmptySearchPlaces)) return this.config.transform(m);
        } catch (m) {
          if (m.code === "ENOENT" || m.code === "EISDIR" || m.code === "ENOTDIR" || m.code === "EACCES") continue;
          throw m;
        }
        const p = h.next();
        return p.done ? this.config.transform(null) : (l = p.value, this.searchCache ? (0, n.emplace)(this.searchCache, l.path, f) : f());
      };
      return this.searchCache ? (0, n.emplace)(this.searchCache, o, f) : f();
    }
    #e(o, h = []) {
      const a = r.default.readFileSync(o, "utf8");
      return this.toCosmiconfigResult(o, this.#t(o, a, h));
    }
    #t(o, h, a) {
      const l = this.#r(o, h);
      if (!l || !(0, c.hasOwn)(l, "$import")) return l;
      const f = i.default.dirname(o), { $import: p, ...g } = l, m = Array.isArray(p) ? p : [p], v = [...a, o];
      this.validateImports(o, m, v);
      const _ = m.map((E) => {
        const S = i.default.resolve(f, E);
        return this.#e(S, v)?.config;
      });
      return (0, c.mergeAll)([..._, g], { mergeArrays: this.config.mergeImportArrays });
    }
    #r(o, h) {
      if (h.trim() === "") return;
      const a = i.default.extname(o), l = this.config.loaders[a || "noExt"] ?? this.config.loaders.default;
      if (!l) throw new Error(`No loader specified for ${(0, d.getExtensionDescription)(a)}`);
      try {
        const f = l(o, h);
        return i.default.basename(o, a) !== "package" ? f : (0, n.getPropertyByPath)(f, this.config.packageProp ?? this.config.moduleName) ?? null;
      } catch (f) {
        throw f.filepath = o, f;
      }
    }
    #n(o) {
      try {
        return r.default.statSync(o), !0;
      } catch {
        return !1;
      }
    }
    *#s(o) {
      switch (this.config.searchStrategy) {
        case "none":
          yield {
            path: o,
            isGlobalConfig: !1
          };
          return;
        case "project": {
          let h = o;
          for (; ; ) {
            yield {
              path: h,
              isGlobalConfig: !1
            };
            for (const l of ["json", "yaml"]) {
              const f = i.default.join(h, `package.${l}`);
              if (this.#n(f)) break;
            }
            const a = i.default.dirname(h);
            if (a === h) break;
            h = a;
          }
          return;
        }
        case "global":
          yield* this.getGlobalDirs(o);
      }
    }
    /* istanbul ignore next */
    loadSync(o) {
      return this.load(o);
    }
    /* istanbul ignore next */
    searchSync(o = "") {
      return this.search(o);
    }
  };
  e.ExplorerSync = u;
})), rC = /* @__PURE__ */ z(((e) => {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.defaultLoadersSync = e.defaultLoaders = e.globalConfigSearchPlacesSync = e.globalConfigSearchPlaces = e.getDefaultSearchPlacesSync = e.getDefaultSearchPlaces = e.cosmiconfigSync = e.cosmiconfig = void 0;
  var t = Ll();
  Object.defineProperty(e, "defaultLoaders", {
    enumerable: !0,
    get: function() {
      return t.defaultLoaders;
    }
  }), Object.defineProperty(e, "defaultLoadersSync", {
    enumerable: !0,
    get: function() {
      return t.defaultLoadersSync;
    }
  }), Object.defineProperty(e, "getDefaultSearchPlaces", {
    enumerable: !0,
    get: function() {
      return t.getDefaultSearchPlaces;
    }
  }), Object.defineProperty(e, "getDefaultSearchPlacesSync", {
    enumerable: !0,
    get: function() {
      return t.getDefaultSearchPlacesSync;
    }
  }), Object.defineProperty(e, "globalConfigSearchPlaces", {
    enumerable: !0,
    get: function() {
      return t.globalConfigSearchPlaces;
    }
  }), Object.defineProperty(e, "globalConfigSearchPlacesSync", {
    enumerable: !0,
    get: function() {
      return t.globalConfigSearchPlacesSync;
    }
  });
  var r = eC(), i = tC(), s = ps(), d = function(g) {
    return g;
  };
  function c() {
    const p = new i.ExplorerSync({
      moduleName: "cosmiconfig",
      stopDir: process.cwd(),
      searchPlaces: t.metaSearchPlaces,
      ignoreEmptySearchPlaces: !1,
      applyPackagePropertyPathToConfiguration: !0,
      loaders: t.defaultLoaders,
      transform: d,
      cache: !0,
      metaConfigFilePath: null,
      mergeImportArrays: !0,
      mergeSearchPlaces: !0,
      searchStrategy: "none"
    }).search();
    if (!p) return null;
    if (p.config?.loaders) throw new Error("Can not specify loaders in meta config file");
    if (p.config?.searchStrategy) throw new Error("Can not specify searchStrategy in meta config file");
    const g = {
      mergeSearchPlaces: !0,
      ...p.config ?? {}
    };
    return {
      config: (0, s.removeUndefinedValuesFromObject)(g),
      filepath: p.filepath
    };
  }
  function n(p, g, m) {
    const v = m.searchPlaces?.map((_) => _.replace("{name}", p));
    return m.mergeSearchPlaces ? [...v ?? [], ...g] : v ?? g;
  }
  function u(p, g, m) {
    const v = c();
    if (!v) return {
      ...g,
      ...(0, s.removeUndefinedValuesFromObject)(m),
      loaders: {
        ...g.loaders,
        ...m.loaders
      }
    };
    const _ = v.config, E = m.searchPlaces ?? g.searchPlaces;
    return {
      ...g,
      ...(0, s.removeUndefinedValuesFromObject)(m),
      metaConfigFilePath: v.filepath,
      ..._,
      searchPlaces: n(p, E, _),
      loaders: {
        ...g.loaders,
        ...m.loaders
      }
    };
  }
  function o(p) {
    if (p.searchStrategy != null && p.searchStrategy !== "global" && p.stopDir) throw new Error('Can not supply `stopDir` option with `searchStrategy` other than "global"');
  }
  function h(p, g) {
    return o(g), u(p, {
      moduleName: p,
      searchPlaces: (0, t.getDefaultSearchPlaces)(p),
      ignoreEmptySearchPlaces: !0,
      cache: !0,
      transform: d,
      loaders: t.defaultLoaders,
      metaConfigFilePath: null,
      mergeImportArrays: !0,
      mergeSearchPlaces: !0,
      searchStrategy: g.stopDir ? "global" : "none"
    }, g);
  }
  function a(p, g) {
    return o(g), u(p, {
      moduleName: p,
      searchPlaces: (0, t.getDefaultSearchPlacesSync)(p),
      ignoreEmptySearchPlaces: !0,
      cache: !0,
      transform: d,
      loaders: t.defaultLoadersSync,
      metaConfigFilePath: null,
      mergeImportArrays: !0,
      mergeSearchPlaces: !0,
      searchStrategy: g.stopDir ? "global" : "none"
    }, g);
  }
  function l(p, g = {}) {
    const m = h(p, g), v = new r.Explorer(m);
    return {
      search: v.search.bind(v),
      load: v.load.bind(v),
      clearLoadCache: v.clearLoadCache.bind(v),
      clearSearchCache: v.clearSearchCache.bind(v),
      clearCaches: v.clearCaches.bind(v)
    };
  }
  e.cosmiconfig = l;
  function f(p, g = {}) {
    const m = a(p, g), v = new i.ExplorerSync(m);
    return {
      search: v.search.bind(v),
      load: v.load.bind(v),
      clearLoadCache: v.clearLoadCache.bind(v),
      clearSearchCache: v.clearSearchCache.bind(v),
      clearCaches: v.clearCaches.bind(v)
    };
  }
  e.cosmiconfigSync = f;
})), iC = rC();
function nC(e, t) {
  const r = qe.basename(t), i = e.includes("__filename is not defined") || e.includes("__dirname is not defined") || e.includes("require is not defined") || e.includes("module is not defined") || e.includes("exports is not defined"), s = e.includes("Cannot use import statement outside a module") || e.includes("Unexpected token 'export'") || e.includes("Unexpected token 'import'") || e.includes("SyntaxError: export ") || e.includes("SyntaxError") && e.includes("import"), d = t.endsWith(".js") && !t.endsWith(".cjs") && !t.endsWith(".mjs");
  return i && d ? `${r} uses CommonJS syntax (require/module.exports) but your package.json has "type": "module".

Recommended: Convert to ESM syntax:
  import { ... } from '...'
  export default { ... }

Alternative: Rename to ${r.replace(".js", ".cjs")} to keep CommonJS syntax.` : s && d ? `${r} uses ESM syntax (import/export) but your package.json has "type": "commonjs".

Recommended: Add "type": "module" to your package.json to use ESM throughout your project.

Alternative: Rename to ${r.replace(".js", ".mjs")} to keep CommonJS in package.json.` : null;
}
async function sC({ configFileName: e, configFilePath: t, packageFile: r, global: i, options: s }) {
  const d = On(s?.color), c = (0, iC.cosmiconfig)("ncu", {
    searchPlaces: [
      ".ncurc",
      ".ncurc.json",
      ".ncurc.yaml",
      ".ncurc.yml",
      ".ncurc.mjs",
      ".ncurc.cjs",
      ".ncurc.js"
    ],
    searchStrategy: "global"
  }), n = t || (i ? Jt.homedir() : r ? qe.dirname(r) : process.cwd());
  let u = null, o;
  try {
    e ? (o = qe.isAbsolute(e) ? e : qe.join(n, e), u = await c.load(o)) : (u = await c.search(n), o = u?.filepath);
  } catch (g) {
    const m = g.message || "", v = o || e || ".ncurc.js";
    e && (g.code === "ENOENT" || m.includes("no such file or directory")) && We(s, `Config file ${e} not found in ${n}`);
    const _ = nC(m, v);
    _ && We(s, _), We(s, `Config file error: ${m}`);
  }
  const h = u?.filepath, { $schema: a, ...l } = u?.config || {}, f = l || {};
  typeof f.format == "string" && (f.format = fr.format.parse(f.format));
  const p = Object.keys(f).filter((g) => !fr[g]);
  return p.length > 0 && (console.error(d.red(`Unknown option${p.length === 1 ? "" : "s"} found in config file:`), d.gray(p.join(", "))), console.info("Using config file " + h), console.info(`You can change the config file path with ${d.blue("--configFilePath")}`)), {
    filePath: h,
    args: Object.entries(f).flatMap(([g, m]) => typeof m == "boolean" || fr[g]?.type === "boolean" ? m ? [`--${g}`] : [] : [`--${g}`, m]),
    config: f
  };
}
var cu = Object.prototype.hasOwnProperty;
function uu(e, t, r) {
  for (r of e.keys()) if (dr(r, t)) return r;
}
function dr(e, t) {
  var r, i, s;
  if (e === t) return !0;
  if (e && t && (r = e.constructor) === t.constructor) {
    if (r === Date) return e.getTime() === t.getTime();
    if (r === RegExp) return e.toString() === t.toString();
    if (r === Array) {
      if ((i = e.length) === t.length) for (; i-- && dr(e[i], t[i]); ) ;
      return i === -1;
    }
    if (r === Set) {
      if (e.size !== t.size) return !1;
      for (i of e)
        if (s = i, s && typeof s == "object" && (s = uu(t, s), !s) || !t.has(s)) return !1;
      return !0;
    }
    if (r === Map) {
      if (e.size !== t.size) return !1;
      for (i of e)
        if (s = i[0], s && typeof s == "object" && (s = uu(t, s), !s) || !dr(i[1], t.get(s))) return !1;
      return !0;
    }
    if (r === ArrayBuffer)
      e = new Uint8Array(e), t = new Uint8Array(t);
    else if (r === DataView) {
      if ((i = e.byteLength) === t.byteLength) for (; i-- && e.getInt8(i) === t.getInt8(i); ) ;
      return i === -1;
    }
    if (ArrayBuffer.isView(e)) {
      if ((i = e.byteLength) === t.byteLength) for (; i-- && e[i] === t[i]; ) ;
      return i === -1;
    }
    if (!r || typeof e == "object") {
      i = 0;
      for (r in e)
        if (cu.call(e, r) && ++i && !cu.call(t, r) || !(r in t) || !dr(e[r], t[r])) return !1;
      return Object.keys(t).length === i;
    }
  }
  return e !== e && t !== t;
}
var gs = /* @__PURE__ */ z(((e, t) => {
  var r = "\\\\/", i = `[^${r}]`, s = 0, d = "\\.", c = "\\+", n = "\\?", u = "\\/", o = "(?=.)", h = "[^/]", a = `(?:${u}|$)`, l = `(?:^|${u})`, f = `${d}{1,2}${a}`, p = {
    DOT_LITERAL: d,
    PLUS_LITERAL: c,
    QMARK_LITERAL: n,
    SLASH_LITERAL: u,
    ONE_CHAR: o,
    QMARK: h,
    END_ANCHOR: a,
    DOTS_SLASH: f,
    NO_DOT: `(?!${d})`,
    NO_DOTS: `(?!${l}${f})`,
    NO_DOT_SLASH: `(?!${d}{0,1}${a})`,
    NO_DOTS_SLASH: `(?!${f})`,
    QMARK_NO_DOT: `[^.${u}]`,
    STAR: `${h}*?`,
    START_ANCHOR: l,
    SEP: "/"
  }, g = {
    ...p,
    SLASH_LITERAL: `[${r}]`,
    QMARK: i,
    STAR: `${i}*?`,
    DOTS_SLASH: `${d}{1,2}(?:[${r}]|$)`,
    NO_DOT: `(?!${d})`,
    NO_DOTS: `(?!(?:^|[${r}])${d}{1,2}(?:[${r}]|$))`,
    NO_DOT_SLASH: `(?!${d}{0,1}(?:[${r}]|$))`,
    NO_DOTS_SLASH: `(?!${d}{1,2}(?:[${r}]|$))`,
    QMARK_NO_DOT: `[^.${r}]`,
    START_ANCHOR: `(?:^|[${r}])`,
    END_ANCHOR: `(?:[${r}]|$)`,
    SEP: "\\"
  }, m = {
    __proto__: null,
    alnum: "a-zA-Z0-9",
    alpha: "a-zA-Z",
    ascii: "\\x00-\\x7F",
    blank: " \\t",
    cntrl: "\\x00-\\x1F\\x7F",
    digit: "0-9",
    graph: "\\x21-\\x7E",
    lower: "a-z",
    print: "\\x20-\\x7E ",
    punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
    space: " \\t\\r\\n\\v\\f",
    upper: "A-Z",
    word: "A-Za-z0-9_",
    xdigit: "A-Fa-f0-9"
  };
  t.exports = {
    DEFAULT_MAX_EXTGLOB_RECURSION: s,
    MAX_LENGTH: 1024 * 64,
    POSIX_REGEX_SOURCE: m,
    REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
    REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
    REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
    REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
    REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
    REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
    REPLACEMENTS: {
      __proto__: null,
      "***": "*",
      "**/**": "**",
      "**/**/**": "**"
    },
    CHAR_0: 48,
    CHAR_9: 57,
    CHAR_UPPERCASE_A: 65,
    CHAR_LOWERCASE_A: 97,
    CHAR_UPPERCASE_Z: 90,
    CHAR_LOWERCASE_Z: 122,
    CHAR_LEFT_PARENTHESES: 40,
    CHAR_RIGHT_PARENTHESES: 41,
    CHAR_ASTERISK: 42,
    CHAR_AMPERSAND: 38,
    CHAR_AT: 64,
    CHAR_BACKWARD_SLASH: 92,
    CHAR_CARRIAGE_RETURN: 13,
    CHAR_CIRCUMFLEX_ACCENT: 94,
    CHAR_COLON: 58,
    CHAR_COMMA: 44,
    CHAR_DOT: 46,
    CHAR_DOUBLE_QUOTE: 34,
    CHAR_EQUAL: 61,
    CHAR_EXCLAMATION_MARK: 33,
    CHAR_FORM_FEED: 12,
    CHAR_FORWARD_SLASH: 47,
    CHAR_GRAVE_ACCENT: 96,
    CHAR_HASH: 35,
    CHAR_HYPHEN_MINUS: 45,
    CHAR_LEFT_ANGLE_BRACKET: 60,
    CHAR_LEFT_CURLY_BRACE: 123,
    CHAR_LEFT_SQUARE_BRACKET: 91,
    CHAR_LINE_FEED: 10,
    CHAR_NO_BREAK_SPACE: 160,
    CHAR_PERCENT: 37,
    CHAR_PLUS: 43,
    CHAR_QUESTION_MARK: 63,
    CHAR_RIGHT_ANGLE_BRACKET: 62,
    CHAR_RIGHT_CURLY_BRACE: 125,
    CHAR_RIGHT_SQUARE_BRACKET: 93,
    CHAR_SEMICOLON: 59,
    CHAR_SINGLE_QUOTE: 39,
    CHAR_SPACE: 32,
    CHAR_TAB: 9,
    CHAR_UNDERSCORE: 95,
    CHAR_VERTICAL_LINE: 124,
    CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
    extglobChars(v) {
      return {
        "!": {
          type: "negate",
          open: "(?:(?!(?:",
          close: `))${v.STAR})`
        },
        "?": {
          type: "qmark",
          open: "(?:",
          close: ")?"
        },
        "+": {
          type: "plus",
          open: "(?:",
          close: ")+"
        },
        "*": {
          type: "star",
          open: "(?:",
          close: ")*"
        },
        "@": {
          type: "at",
          open: "(?:",
          close: ")"
        }
      };
    },
    globChars(v) {
      return v === !0 ? g : p;
    }
  };
})), ms = /* @__PURE__ */ z(((e) => {
  var { REGEX_BACKSLASH: t, REGEX_REMOVE_BACKSLASH: r, REGEX_SPECIAL_CHARS: i, REGEX_SPECIAL_CHARS_GLOBAL: s } = gs();
  e.isObject = (d) => d !== null && typeof d == "object" && !Array.isArray(d), e.hasRegexChars = (d) => i.test(d), e.isRegexChar = (d) => d.length === 1 && e.hasRegexChars(d), e.escapeRegex = (d) => d.replace(s, "\\$1"), e.toPosixSlashes = (d) => d.replace(t, "/"), e.isWindows = () => {
    if (typeof navigator < "u" && navigator.platform) {
      const d = navigator.platform.toLowerCase();
      return d === "win32" || d === "windows";
    }
    return typeof process < "u" && process.platform ? process.platform === "win32" : !1;
  }, e.removeBackslashes = (d) => d.replace(r, (c) => c === "\\" ? "" : c), e.escapeLast = (d, c, n) => {
    const u = d.lastIndexOf(c, n);
    return u === -1 ? d : d[u - 1] === "\\" ? e.escapeLast(d, c, u - 1) : `${d.slice(0, u)}\\${d.slice(u)}`;
  }, e.removePrefix = (d, c = {}) => {
    let n = d;
    return n.startsWith("./") && (n = n.slice(2), c.prefix = "./"), n;
  }, e.wrapOutput = (d, c = {}, n = {}) => {
    let u = `${n.contains ? "" : "^"}(?:${d})${n.contains ? "" : "$"}`;
    return c.negated === !0 && (u = `(?:^(?!${u}).*$)`), u;
  }, e.basename = (d, { windows: c } = {}) => {
    const n = d.split(c ? /[\\/]/ : "/"), u = n[n.length - 1];
    return u === "" ? n[n.length - 2] : u;
  };
})), aC = /* @__PURE__ */ z(((e, t) => {
  var r = ms(), { CHAR_ASTERISK: i, CHAR_AT: s, CHAR_BACKWARD_SLASH: d, CHAR_COMMA: c, CHAR_DOT: n, CHAR_EXCLAMATION_MARK: u, CHAR_FORWARD_SLASH: o, CHAR_LEFT_CURLY_BRACE: h, CHAR_LEFT_PARENTHESES: a, CHAR_LEFT_SQUARE_BRACKET: l, CHAR_PLUS: f, CHAR_QUESTION_MARK: p, CHAR_RIGHT_CURLY_BRACE: g, CHAR_RIGHT_PARENTHESES: m, CHAR_RIGHT_SQUARE_BRACKET: v } = gs(), _ = (w) => w === o || w === d, E = (w) => {
    w.isPrefix !== !0 && (w.depth = w.isGlobstar ? 1 / 0 : 1);
  }, S = (w, b) => {
    const A = b || {}, D = w.length - 1, C = A.parts === !0 || A.scanToEnd === !0, O = [], I = [], x = [];
    let F = w, q = -1, K = 0, M = 0, N = !1, L = !1, te = !1, H = !1, j = !1, P = !1, k = !1, U = !1, Q = !1, ue = !1, me = 0, we, Z, G = {
      value: "",
      depth: 0,
      isGlob: !1
    };
    const Y = () => q >= D, ne = () => F.charCodeAt(q + 1), le = () => (we = Z, F.charCodeAt(++q));
    for (; q < D; ) {
      Z = le();
      let Oe;
      if (Z === d) {
        k = G.backslashes = !0, Z = le(), Z === h && (P = !0);
        continue;
      }
      if (P === !0 || Z === h) {
        for (me++; Y() !== !0 && (Z = le()); ) {
          if (Z === d) {
            k = G.backslashes = !0, le();
            continue;
          }
          if (Z === h) {
            me++;
            continue;
          }
          if (P !== !0 && Z === n && (Z = le()) === n) {
            if (N = G.isBrace = !0, te = G.isGlob = !0, ue = !0, C === !0) continue;
            break;
          }
          if (P !== !0 && Z === c) {
            if (N = G.isBrace = !0, te = G.isGlob = !0, ue = !0, C === !0) continue;
            break;
          }
          if (Z === g && (me--, me === 0)) {
            P = !1, N = G.isBrace = !0, ue = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (Z === o) {
        if (O.push(q), I.push(G), G = {
          value: "",
          depth: 0,
          isGlob: !1
        }, ue === !0) continue;
        if (we === n && q === K + 1) {
          K += 2;
          continue;
        }
        M = q + 1;
        continue;
      }
      if (A.noext !== !0 && (Z === f || Z === s || Z === i || Z === p || Z === u) && ne() === a) {
        if (te = G.isGlob = !0, H = G.isExtglob = !0, ue = !0, Z === u && q === K && (Q = !0), C === !0) {
          for (; Y() !== !0 && (Z = le()); ) {
            if (Z === d) {
              k = G.backslashes = !0, Z = le();
              continue;
            }
            if (Z === m) {
              te = G.isGlob = !0, ue = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (Z === i) {
        if (we === i && (j = G.isGlobstar = !0), te = G.isGlob = !0, ue = !0, C === !0) continue;
        break;
      }
      if (Z === p) {
        if (te = G.isGlob = !0, ue = !0, C === !0) continue;
        break;
      }
      if (Z === l) {
        for (; Y() !== !0 && (Oe = le()); ) {
          if (Oe === d) {
            k = G.backslashes = !0, le();
            continue;
          }
          if (Oe === v) {
            L = G.isBracket = !0, te = G.isGlob = !0, ue = !0;
            break;
          }
        }
        if (C === !0) continue;
        break;
      }
      if (A.nonegate !== !0 && Z === u && q === K) {
        U = G.negated = !0, K++;
        continue;
      }
      if (A.noparen !== !0 && Z === a) {
        if (te = G.isGlob = !0, C === !0) {
          for (; Y() !== !0 && (Z = le()); ) {
            if (Z === a) {
              k = G.backslashes = !0, Z = le();
              continue;
            }
            if (Z === m) {
              ue = !0;
              break;
            }
          }
          continue;
        }
        break;
      }
      if (te === !0) {
        if (ue = !0, C === !0) continue;
        break;
      }
    }
    A.noext === !0 && (H = !1, te = !1);
    let B = F, W = "", ae = "";
    K > 0 && (W = F.slice(0, K), F = F.slice(K), M -= K), B && te === !0 && M > 0 ? (B = F.slice(0, M), ae = F.slice(M)) : te === !0 ? (B = "", ae = F) : B = F, B && B !== "" && B !== "/" && B !== F && _(B.charCodeAt(B.length - 1)) && (B = B.slice(0, -1)), A.unescape === !0 && (ae && (ae = r.removeBackslashes(ae)), B && k === !0 && (B = r.removeBackslashes(B)));
    const Re = {
      prefix: W,
      input: w,
      start: K,
      base: B,
      glob: ae,
      isBrace: N,
      isBracket: L,
      isGlob: te,
      isExtglob: H,
      isGlobstar: j,
      negated: U,
      negatedExtglob: Q
    };
    if (A.tokens === !0 && (Re.maxDepth = 0, _(Z) || I.push(G), Re.tokens = I), A.parts === !0 || A.tokens === !0) {
      let Oe;
      for (let Ee = 0; Ee < O.length; Ee++) {
        const xe = Oe ? Oe + 1 : K, Ne = O[Ee], Me = w.slice(xe, Ne);
        A.tokens && (Ee === 0 && K !== 0 ? (I[Ee].isPrefix = !0, I[Ee].value = W) : I[Ee].value = Me, E(I[Ee]), Re.maxDepth += I[Ee].depth), (Ee !== 0 || Me !== "") && x.push(Me), Oe = Ne;
      }
      if (Oe && Oe + 1 < w.length) {
        const Ee = w.slice(Oe + 1);
        x.push(Ee), A.tokens && (I[I.length - 1].value = Ee, E(I[I.length - 1]), Re.maxDepth += I[I.length - 1].depth);
      }
      Re.slashes = O, Re.parts = x;
    }
    return Re;
  };
  t.exports = S;
})), oC = /* @__PURE__ */ z(((e, t) => {
  var r = gs(), i = ms(), { MAX_LENGTH: s, POSIX_REGEX_SOURCE: d, REGEX_NON_SPECIAL_CHARS: c, REGEX_SPECIAL_CHARS_BACKREF: n, REPLACEMENTS: u } = r, o = (S, w) => {
    if (typeof w.expandRange == "function") return w.expandRange(...S, w);
    S.sort();
    const b = `[${S.join("-")}]`;
    try {
      new RegExp(b);
    } catch {
      return S.map((D) => i.escapeRegex(D)).join("..");
    }
    return b;
  }, h = (S, w) => `Missing ${S}: "${w}" - use "\\\\${w}" to match literal characters`, a = (S) => {
    const w = [];
    let b = 0, A = 0, D = 0, C = "", O = !1;
    for (const I of S) {
      if (O === !0) {
        C += I, O = !1;
        continue;
      }
      if (I === "\\") {
        C += I, O = !0;
        continue;
      }
      if (I === '"') {
        D = D === 1 ? 0 : 1, C += I;
        continue;
      }
      if (D === 0) {
        if (I === "[") b++;
        else if (I === "]" && b > 0) b--;
        else if (b === 0) {
          if (I === "(") A++;
          else if (I === ")" && A > 0) A--;
          else if (I === "|" && A === 0) {
            w.push(C), C = "";
            continue;
          }
        }
      }
      C += I;
    }
    return w.push(C), w;
  }, l = (S) => {
    let w = !1;
    for (const b of S) {
      if (w === !0) {
        w = !1;
        continue;
      }
      if (b === "\\") {
        w = !0;
        continue;
      }
      if (/[?*+@!()[\]{}]/.test(b)) return !1;
    }
    return !0;
  }, f = (S) => {
    let w = S.trim(), b = !0;
    for (; b === !0; )
      b = !1, /^@\([^\\()[\]{}|]+\)$/.test(w) && (w = w.slice(2, -1), b = !0);
    if (l(w))
      return w.replace(/\\(.)/g, "$1");
  }, p = (S) => {
    const w = S.map(f).filter(Boolean);
    for (let b = 0; b < w.length; b++) for (let A = b + 1; A < w.length; A++) {
      const D = w[b], C = w[A], O = D[0];
      if (!(!O || D !== O.repeat(D.length) || C !== O.repeat(C.length)) && (D === C || D.startsWith(C) || C.startsWith(D)))
        return !0;
    }
    return !1;
  }, g = (S, w = !0) => {
    if (S[0] !== "+" && S[0] !== "*" || S[1] !== "(") return;
    let b = 0, A = 0, D = 0, C = !1;
    for (let O = 1; O < S.length; O++) {
      const I = S[O];
      if (C === !0) {
        C = !1;
        continue;
      }
      if (I === "\\") {
        C = !0;
        continue;
      }
      if (I === '"') {
        D = D === 1 ? 0 : 1;
        continue;
      }
      if (D !== 1) {
        if (I === "[") {
          b++;
          continue;
        }
        if (I === "]" && b > 0) {
          b--;
          continue;
        }
        if (!(b > 0)) {
          if (I === "(") {
            A++;
            continue;
          }
          if (I === ")" && (A--, A === 0))
            return w === !0 && O !== S.length - 1 ? void 0 : {
              type: S[0],
              body: S.slice(2, O),
              end: O
            };
        }
      }
    }
  }, m = (S) => {
    let w = 0;
    const b = [];
    for (; w < S.length; ) {
      const A = g(S.slice(w), !1);
      if (!A || A.type !== "*") return;
      const D = a(A.body).map((O) => O.trim());
      if (D.length !== 1) return;
      const C = f(D[0]);
      if (!C || C.length !== 1) return;
      b.push(C), w += A.end + 1;
    }
    if (!(b.length < 1))
      return `${b.length === 1 ? i.escapeRegex(b[0]) : `[${b.map((A) => i.escapeRegex(A)).join("")}]`}*`;
  }, v = (S) => {
    let w = 0, b = S.trim(), A = g(b);
    for (; A; )
      w++, b = A.body.trim(), A = g(b);
    return w;
  }, _ = (S, w) => {
    if (w.maxExtglobRecursion === !1) return { risky: !1 };
    const b = typeof w.maxExtglobRecursion == "number" ? w.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION, A = a(S).map((D) => D.trim());
    if (A.length > 1 && (A.some((D) => D === "") || A.some((D) => /^[*?]+$/.test(D)) || p(A)))
      return { risky: !0 };
    for (const D of A) {
      const C = m(D);
      if (C) return {
        risky: !0,
        safeOutput: C
      };
      if (v(D) > b) return { risky: !0 };
    }
    return { risky: !1 };
  }, E = (S, w) => {
    if (typeof S != "string") throw new TypeError("Expected a string");
    S = u[S] || S;
    const b = { ...w }, A = typeof b.maxLength == "number" ? Math.min(s, b.maxLength) : s;
    let D = S.length;
    if (D > A) throw new SyntaxError(`Input length: ${D}, exceeds maximum allowed length: ${A}`);
    const C = {
      type: "bos",
      value: "",
      output: b.prepend || ""
    }, O = [C], I = b.capture ? "" : "?:", x = r.globChars(b.windows), F = r.extglobChars(x), { DOT_LITERAL: q, PLUS_LITERAL: K, SLASH_LITERAL: M, ONE_CHAR: N, DOTS_SLASH: L, NO_DOT: te, NO_DOT_SLASH: H, NO_DOTS_SLASH: j, QMARK: P, QMARK_NO_DOT: k, STAR: U, START_ANCHOR: Q } = x, ue = (ye) => `(${I}(?:(?!${Q}${ye.dot ? L : q}).)*?)`, me = b.dot ? "" : te, we = b.dot ? P : k;
    let Z = b.bash === !0 ? ue(b) : U;
    b.capture && (Z = `(${Z})`), typeof b.noext == "boolean" && (b.noextglob = b.noext);
    const G = {
      input: S,
      index: -1,
      start: 0,
      dot: b.dot === !0,
      consumed: "",
      output: "",
      prefix: "",
      backtrack: !1,
      negated: !1,
      brackets: 0,
      braces: 0,
      parens: 0,
      quotes: 0,
      globstar: !1,
      tokens: O
    };
    S = i.removePrefix(S, G), D = S.length;
    const Y = [], ne = [], le = [];
    let B = C, W;
    const ae = () => G.index === D - 1, Re = G.peek = (ye = 1) => S[G.index + ye], Oe = G.advance = () => S[++G.index] || "", Ee = () => S.slice(G.index + 1), xe = (ye = "", pe = 0) => {
      G.consumed += ye, G.index += pe;
    }, Ne = (ye) => {
      G.output += ye.output != null ? ye.output : ye.value, xe(ye.value);
    }, Me = () => {
      let ye = 1;
      for (; Re() === "!" && (Re(2) !== "(" || Re(3) === "?"); )
        Oe(), G.start++, ye++;
      return ye % 2 === 0 ? !1 : (G.negated = !0, G.start++, !0);
    }, Ce = (ye) => {
      G[ye]++, le.push(ye);
    }, Pe = (ye) => {
      G[ye]--, le.pop();
    }, Ae = (ye) => {
      if (B.type === "globstar") {
        const pe = G.braces > 0 && (ye.type === "comma" || ye.type === "brace"), y = ye.extglob === !0 || Y.length && (ye.type === "pipe" || ye.type === "paren");
        ye.type !== "slash" && ye.type !== "paren" && !pe && !y && (G.output = G.output.slice(0, -B.output.length), B.type = "star", B.value = "*", B.output = Z, G.output += B.output);
      }
      if (Y.length && ye.type !== "paren" && (Y[Y.length - 1].inner += ye.value), (ye.value || ye.output) && Ne(ye), B && B.type === "text" && ye.type === "text") {
        B.output = (B.output || B.value) + ye.value, B.value += ye.value;
        return;
      }
      ye.prev = B, O.push(ye), B = ye;
    }, $e = (ye, pe) => {
      const y = {
        ...F[pe],
        conditions: 1,
        inner: ""
      };
      y.prev = B, y.parens = G.parens, y.output = G.output, y.startIndex = G.index, y.tokensIndex = O.length;
      const $ = (b.capture ? "(" : "") + y.open;
      Ce("parens"), Ae({
        type: ye,
        value: pe,
        output: G.output ? "" : N
      }), Ae({
        type: "paren",
        extglob: !0,
        value: Oe(),
        output: $
      }), Y.push(y);
    }, De = (ye) => {
      const pe = S.slice(ye.startIndex, G.index + 1), y = _(S.slice(ye.startIndex + 2, G.index), b);
      if ((ye.type === "plus" || ye.type === "star") && y.risky) {
        const oe = y.safeOutput ? (ye.output ? "" : N) + (b.capture ? `(${y.safeOutput})` : y.safeOutput) : void 0, re = O[ye.tokensIndex];
        re.type = "text", re.value = pe, re.output = oe || i.escapeRegex(pe);
        for (let de = ye.tokensIndex + 1; de < O.length; de++)
          O[de].value = "", O[de].output = "", delete O[de].suffix;
        G.output = ye.output + re.output, G.backtrack = !0, Ae({
          type: "paren",
          extglob: !0,
          value: W,
          output: ""
        }), Pe("parens");
        return;
      }
      let $ = ye.close + (b.capture ? ")" : ""), ie;
      if (ye.type === "negate") {
        let oe = Z;
        ye.inner && ye.inner.length > 1 && ye.inner.includes("/") && (oe = ue(b)), (oe !== Z || ae() || /^\)+$/.test(Ee())) && ($ = ye.close = `)$))${oe}`), ye.inner.includes("*") && (ie = Ee()) && /^\.[^\\/.]+$/.test(ie) && ($ = ye.close = `)${E(ie, {
          ...w,
          fastpaths: !1
        }).output})${oe})`), ye.prev.type === "bos" && (G.negatedExtglob = !0);
      }
      Ae({
        type: "paren",
        extglob: !0,
        value: W,
        output: $
      }), Pe("parens");
    };
    if (b.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(S)) {
      let ye = !1, pe = S.replace(n, (y, $, ie, oe, re, de) => oe === "\\" ? (ye = !0, y) : oe === "?" ? $ ? $ + oe + (re ? P.repeat(re.length) : "") : de === 0 ? we + (re ? P.repeat(re.length) : "") : P.repeat(ie.length) : oe === "." ? q.repeat(ie.length) : oe === "*" ? $ ? $ + oe + (re ? Z : "") : Z : $ ? y : `\\${y}`);
      return ye === !0 && (b.unescape === !0 ? pe = pe.replace(/\\/g, "") : pe = pe.replace(/\\+/g, (y) => y.length % 2 === 0 ? "\\\\" : y ? "\\" : "")), pe === S && b.contains === !0 ? (G.output = S, G) : (G.output = i.wrapOutput(pe, G, w), G);
    }
    for (; !ae(); ) {
      if (W = Oe(), W === "\0") continue;
      if (W === "\\") {
        const y = Re();
        if (y === "/" && b.bash !== !0 || y === "." || y === ";") continue;
        if (!y) {
          W += "\\", Ae({
            type: "text",
            value: W
          });
          continue;
        }
        const $ = /^\\+/.exec(Ee());
        let ie = 0;
        if ($ && $[0].length > 2 && (ie = $[0].length, G.index += ie, ie % 2 !== 0 && (W += "\\")), b.unescape === !0 ? W = Oe() : W += Oe(), G.brackets === 0) {
          Ae({
            type: "text",
            value: W
          });
          continue;
        }
      }
      if (G.brackets > 0 && (W !== "]" || B.value === "[" || B.value === "[^")) {
        if (b.posix !== !1 && W === ":") {
          const y = B.value.slice(1);
          if (y.includes("[") && (B.posix = !0, y.includes(":"))) {
            const $ = B.value.lastIndexOf("["), ie = B.value.slice(0, $), oe = d[B.value.slice($ + 2)];
            if (oe) {
              B.value = ie + oe, G.backtrack = !0, Oe(), !C.output && O.indexOf(B) === 1 && (C.output = N);
              continue;
            }
          }
        }
        (W === "[" && Re() !== ":" || W === "-" && Re() === "]") && (W = `\\${W}`), W === "]" && (B.value === "[" || B.value === "[^") && (W = `\\${W}`), b.posix === !0 && W === "!" && B.value === "[" && (W = "^"), B.value += W, Ne({ value: W });
        continue;
      }
      if (G.quotes === 1 && W !== '"') {
        W = i.escapeRegex(W), B.value += W, Ne({ value: W });
        continue;
      }
      if (W === '"') {
        G.quotes = G.quotes === 1 ? 0 : 1, b.keepQuotes === !0 && Ae({
          type: "text",
          value: W
        });
        continue;
      }
      if (W === "(") {
        Ce("parens"), Ae({
          type: "paren",
          value: W
        });
        continue;
      }
      if (W === ")") {
        if (G.parens === 0 && b.strictBrackets === !0) throw new SyntaxError(h("opening", "("));
        const y = Y[Y.length - 1];
        if (y && G.parens === y.parens + 1) {
          De(Y.pop());
          continue;
        }
        Ae({
          type: "paren",
          value: W,
          output: G.parens ? ")" : "\\)"
        }), Pe("parens");
        continue;
      }
      if (W === "[") {
        if (b.nobracket === !0 || !Ee().includes("]")) {
          if (b.nobracket !== !0 && b.strictBrackets === !0) throw new SyntaxError(h("closing", "]"));
          W = `\\${W}`;
        } else Ce("brackets");
        Ae({
          type: "bracket",
          value: W
        });
        continue;
      }
      if (W === "]") {
        if (b.nobracket === !0 || B && B.type === "bracket" && B.value.length === 1) {
          Ae({
            type: "text",
            value: W,
            output: `\\${W}`
          });
          continue;
        }
        if (G.brackets === 0) {
          if (b.strictBrackets === !0) throw new SyntaxError(h("opening", "["));
          Ae({
            type: "text",
            value: W,
            output: `\\${W}`
          });
          continue;
        }
        Pe("brackets");
        const y = B.value.slice(1);
        if (B.posix !== !0 && y[0] === "^" && !y.includes("/") && (W = `/${W}`), B.value += W, Ne({ value: W }), b.literalBrackets === !1 || i.hasRegexChars(y)) continue;
        const $ = i.escapeRegex(B.value);
        if (G.output = G.output.slice(0, -B.value.length), b.literalBrackets === !0) {
          G.output += $, B.value = $;
          continue;
        }
        B.value = `(${I}${$}|${B.value})`, G.output += B.value;
        continue;
      }
      if (W === "{" && b.nobrace !== !0) {
        Ce("braces");
        const y = {
          type: "brace",
          value: W,
          output: "(",
          outputIndex: G.output.length,
          tokensIndex: G.tokens.length
        };
        ne.push(y), Ae(y);
        continue;
      }
      if (W === "}") {
        const y = ne[ne.length - 1];
        if (b.nobrace === !0 || !y) {
          Ae({
            type: "text",
            value: W,
            output: W
          });
          continue;
        }
        let $ = ")";
        if (y.dots === !0) {
          const ie = O.slice(), oe = [];
          for (let re = ie.length - 1; re >= 0 && (O.pop(), ie[re].type !== "brace"); re--)
            ie[re].type !== "dots" && oe.unshift(ie[re].value);
          $ = o(oe, b), G.backtrack = !0;
        }
        if (y.comma !== !0 && y.dots !== !0) {
          const ie = G.output.slice(0, y.outputIndex), oe = G.tokens.slice(y.tokensIndex);
          y.value = y.output = "\\{", W = $ = "\\}", G.output = ie;
          for (const re of oe) G.output += re.output || re.value;
        }
        Ae({
          type: "brace",
          value: W,
          output: $
        }), Pe("braces"), ne.pop();
        continue;
      }
      if (W === "|") {
        Y.length > 0 && Y[Y.length - 1].conditions++, Ae({
          type: "text",
          value: W
        });
        continue;
      }
      if (W === ",") {
        let y = W;
        const $ = ne[ne.length - 1];
        $ && le[le.length - 1] === "braces" && ($.comma = !0, y = "|"), Ae({
          type: "comma",
          value: W,
          output: y
        });
        continue;
      }
      if (W === "/") {
        if (B.type === "dot" && G.index === G.start + 1) {
          G.start = G.index + 1, G.consumed = "", G.output = "", O.pop(), B = C;
          continue;
        }
        Ae({
          type: "slash",
          value: W,
          output: M
        });
        continue;
      }
      if (W === ".") {
        if (G.braces > 0 && B.type === "dot") {
          B.value === "." && (B.output = q);
          const y = ne[ne.length - 1];
          B.type = "dots", B.output += W, B.value += W, y.dots = !0;
          continue;
        }
        if (G.braces + G.parens === 0 && B.type !== "bos" && B.type !== "slash") {
          Ae({
            type: "text",
            value: W,
            output: q
          });
          continue;
        }
        Ae({
          type: "dot",
          value: W,
          output: q
        });
        continue;
      }
      if (W === "?") {
        if (!(B && B.value === "(") && b.noextglob !== !0 && Re() === "(" && Re(2) !== "?") {
          $e("qmark", W);
          continue;
        }
        if (B && B.type === "paren") {
          const y = Re();
          let $ = W;
          (B.value === "(" && !/[!=<:]/.test(y) || y === "<" && !/<([!=]|\w+>)/.test(Ee())) && ($ = `\\${W}`), Ae({
            type: "text",
            value: W,
            output: $
          });
          continue;
        }
        if (b.dot !== !0 && (B.type === "slash" || B.type === "bos")) {
          Ae({
            type: "qmark",
            value: W,
            output: k
          });
          continue;
        }
        Ae({
          type: "qmark",
          value: W,
          output: P
        });
        continue;
      }
      if (W === "!") {
        if (b.noextglob !== !0 && Re() === "(" && (Re(2) !== "?" || !/[!=<:]/.test(Re(3)))) {
          $e("negate", W);
          continue;
        }
        if (b.nonegate !== !0 && G.index === 0) {
          Me();
          continue;
        }
      }
      if (W === "+") {
        if (b.noextglob !== !0 && Re() === "(" && Re(2) !== "?") {
          $e("plus", W);
          continue;
        }
        if (B && B.value === "(" || b.regex === !1) {
          Ae({
            type: "plus",
            value: W,
            output: K
          });
          continue;
        }
        if (B && (B.type === "bracket" || B.type === "paren" || B.type === "brace") || G.parens > 0) {
          Ae({
            type: "plus",
            value: W
          });
          continue;
        }
        Ae({
          type: "plus",
          value: K
        });
        continue;
      }
      if (W === "@") {
        if (b.noextglob !== !0 && Re() === "(" && Re(2) !== "?") {
          Ae({
            type: "at",
            extglob: !0,
            value: W,
            output: ""
          });
          continue;
        }
        Ae({
          type: "text",
          value: W
        });
        continue;
      }
      if (W !== "*") {
        (W === "$" || W === "^") && (W = `\\${W}`);
        const y = c.exec(Ee());
        y && (W += y[0], G.index += y[0].length), Ae({
          type: "text",
          value: W
        });
        continue;
      }
      if (B && (B.type === "globstar" || B.star === !0)) {
        B.type = "star", B.star = !0, B.value += W, B.output = Z, G.backtrack = !0, G.globstar = !0, xe(W);
        continue;
      }
      let ye = Ee();
      if (b.noextglob !== !0 && /^\([^?]/.test(ye)) {
        $e("star", W);
        continue;
      }
      if (B.type === "star") {
        if (b.noglobstar === !0) {
          xe(W);
          continue;
        }
        const y = B.prev, $ = y.prev, ie = y.type === "slash" || y.type === "bos", oe = $ && ($.type === "star" || $.type === "globstar");
        if (b.bash === !0 && (!ie || ye[0] && ye[0] !== "/")) {
          Ae({
            type: "star",
            value: W,
            output: ""
          });
          continue;
        }
        const re = G.braces > 0 && (y.type === "comma" || y.type === "brace"), de = Y.length && (y.type === "pipe" || y.type === "paren");
        if (!ie && y.type !== "paren" && !re && !de) {
          Ae({
            type: "star",
            value: W,
            output: ""
          });
          continue;
        }
        for (; ye.slice(0, 3) === "/**"; ) {
          const T = S[G.index + 4];
          if (T && T !== "/") break;
          ye = ye.slice(3), xe("/**", 3);
        }
        if (y.type === "bos" && ae()) {
          B.type = "globstar", B.value += W, B.output = ue(b), G.output = B.output, G.globstar = !0, xe(W);
          continue;
        }
        if (y.type === "slash" && y.prev.type !== "bos" && !oe && ae()) {
          G.output = G.output.slice(0, -(y.output + B.output).length), y.output = `(?:${y.output}`, B.type = "globstar", B.output = ue(b) + (b.strictSlashes ? ")" : "|$)"), B.value += W, G.globstar = !0, G.output += y.output + B.output, xe(W);
          continue;
        }
        if (y.type === "slash" && y.prev.type !== "bos" && ye[0] === "/") {
          const T = ye[1] !== void 0 ? "|$" : "";
          G.output = G.output.slice(0, -(y.output + B.output).length), y.output = `(?:${y.output}`, B.type = "globstar", B.output = `${ue(b)}${M}|${M}${T})`, B.value += W, G.output += y.output + B.output, G.globstar = !0, xe(W + Oe()), Ae({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        if (y.type === "bos" && ye[0] === "/") {
          B.type = "globstar", B.value += W, B.output = `(?:^|${M}|${ue(b)}${M})`, G.output = B.output, G.globstar = !0, xe(W + Oe()), Ae({
            type: "slash",
            value: "/",
            output: ""
          });
          continue;
        }
        G.output = G.output.slice(0, -B.output.length), B.type = "globstar", B.output = ue(b), B.value += W, G.output += B.output, G.globstar = !0, xe(W);
        continue;
      }
      const pe = {
        type: "star",
        value: W,
        output: Z
      };
      if (b.bash === !0) {
        pe.output = ".*?", (B.type === "bos" || B.type === "slash") && (pe.output = me + pe.output), Ae(pe);
        continue;
      }
      if (B && (B.type === "bracket" || B.type === "paren") && b.regex === !0) {
        pe.output = W, Ae(pe);
        continue;
      }
      (G.index === G.start || B.type === "slash" || B.type === "dot") && (B.type === "dot" ? (G.output += H, B.output += H) : b.dot === !0 ? (G.output += j, B.output += j) : (G.output += me, B.output += me), Re() !== "*" && (G.output += N, B.output += N)), Ae(pe);
    }
    for (; G.brackets > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", "]"));
      G.output = i.escapeLast(G.output, "["), Pe("brackets");
    }
    for (; G.parens > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", ")"));
      G.output = i.escapeLast(G.output, "("), Pe("parens");
    }
    for (; G.braces > 0; ) {
      if (b.strictBrackets === !0) throw new SyntaxError(h("closing", "}"));
      G.output = i.escapeLast(G.output, "{"), Pe("braces");
    }
    if (b.strictSlashes !== !0 && (B.type === "star" || B.type === "bracket") && Ae({
      type: "maybe_slash",
      value: "",
      output: `${M}?`
    }), G.backtrack === !0) {
      G.output = "";
      for (const ye of G.tokens)
        G.output += ye.output != null ? ye.output : ye.value, ye.suffix && (G.output += ye.suffix);
    }
    return G;
  };
  E.fastpaths = (S, w) => {
    const b = { ...w }, A = typeof b.maxLength == "number" ? Math.min(s, b.maxLength) : s, D = S.length;
    if (D > A) throw new SyntaxError(`Input length: ${D}, exceeds maximum allowed length: ${A}`);
    S = u[S] || S;
    const { DOT_LITERAL: C, SLASH_LITERAL: O, ONE_CHAR: I, DOTS_SLASH: x, NO_DOT: F, NO_DOTS: q, NO_DOTS_SLASH: K, STAR: M, START_ANCHOR: N } = r.globChars(b.windows), L = b.dot ? q : F, te = b.dot ? K : F, H = b.capture ? "" : "?:", j = {
      negated: !1,
      prefix: ""
    };
    let P = b.bash === !0 ? ".*?" : M;
    b.capture && (P = `(${P})`);
    const k = (ue) => ue.noglobstar === !0 ? P : `(${H}(?:(?!${N}${ue.dot ? x : C}).)*?)`, U = (ue) => {
      switch (ue) {
        case "*":
          return `${L}${I}${P}`;
        case ".*":
          return `${C}${I}${P}`;
        case "*.*":
          return `${L}${P}${C}${I}${P}`;
        case "*/*":
          return `${L}${P}${O}${I}${te}${P}`;
        case "**":
          return L + k(b);
        case "**/*":
          return `(?:${L}${k(b)}${O})?${te}${I}${P}`;
        case "**/*.*":
          return `(?:${L}${k(b)}${O})?${te}${P}${C}${I}${P}`;
        case "**/.*":
          return `(?:${L}${k(b)}${O})?${C}${I}${P}`;
        default: {
          const me = /^(.*?)\.(\w+)$/.exec(ue);
          if (!me) return;
          const we = U(me[1]);
          return we ? we + C + me[2] : void 0;
        }
      }
    };
    let Q = U(i.removePrefix(S, j));
    return Q && b.strictSlashes !== !0 && (Q += `${O}?`), Q;
  }, t.exports = E;
})), lC = /* @__PURE__ */ z(((e, t) => {
  var r = aC(), i = oC(), s = ms(), d = gs(), c = (u) => u && typeof u == "object" && !Array.isArray(u), n = (u, o, h = !1) => {
    if (Array.isArray(u)) {
      const _ = u.map((S) => n(S, o, h));
      return (S) => {
        for (const w of _) {
          const b = w(S);
          if (b) return b;
        }
        return !1;
      };
    }
    const a = c(u) && u.tokens && u.input;
    if (u === "" || typeof u != "string" && !a) throw new TypeError("Expected pattern to be a non-empty string");
    const l = o || {}, f = l.windows, p = a ? n.compileRe(u, o) : n.makeRe(u, o, !1, !0), g = p.state;
    delete p.state;
    let m = () => !1;
    if (l.ignore) {
      const _ = {
        ...o,
        ignore: null,
        onMatch: null,
        onResult: null
      };
      m = n(l.ignore, _, h);
    }
    const v = (_, E = !1) => {
      const { isMatch: S, match: w, output: b } = n.test(_, p, o, {
        glob: u,
        posix: f
      }), A = {
        glob: u,
        state: g,
        regex: p,
        posix: f,
        input: _,
        output: b,
        match: w,
        isMatch: S
      };
      return typeof l.onResult == "function" && l.onResult(A), S === !1 ? (A.isMatch = !1, E ? A : !1) : m(_) ? (typeof l.onIgnore == "function" && l.onIgnore(A), A.isMatch = !1, E ? A : !1) : (typeof l.onMatch == "function" && l.onMatch(A), E ? A : !0);
    };
    return h && (v.state = g), v;
  };
  n.test = (u, o, h, { glob: a, posix: l } = {}) => {
    if (typeof u != "string") throw new TypeError("Expected input to be a string");
    if (u === "") return {
      isMatch: !1,
      output: ""
    };
    const f = h || {}, p = f.format || (l ? s.toPosixSlashes : null);
    let g = u === a, m = g && p ? p(u) : u;
    return g === !1 && (m = p ? p(u) : u, g = m === a), (g === !1 || f.capture === !0) && (f.matchBase === !0 || f.basename === !0 ? g = n.matchBase(u, o, h, l) : g = o.exec(m)), {
      isMatch: !!g,
      match: g,
      output: m
    };
  }, n.matchBase = (u, o, h) => (o instanceof RegExp ? o : n.makeRe(o, h)).test(s.basename(u)), n.isMatch = (u, o, h) => n(o, h)(u), n.parse = (u, o) => Array.isArray(u) ? u.map((h) => n.parse(h, o)) : i(u, {
    ...o,
    fastpaths: !1
  }), n.scan = (u, o) => r(u, o), n.compileRe = (u, o, h = !1, a = !1) => {
    if (h === !0) return u.output;
    const l = o || {}, f = l.contains ? "" : "^", p = l.contains ? "" : "$";
    let g = `${f}(?:${u.output})${p}`;
    u && u.negated === !0 && (g = `^(?!${g}).*$`);
    const m = n.toRegex(g, o);
    return a === !0 && (m.state = u), m;
  }, n.makeRe = (u, o = {}, h = !1, a = !1) => {
    if (!u || typeof u != "string") throw new TypeError("Expected a non-empty string");
    let l = {
      negated: !1,
      fastpaths: !0
    };
    return o.fastpaths !== !1 && (u[0] === "." || u[0] === "*") && (l.output = i.fastpaths(u, o)), l.output || (l = i(u, o)), n.compileRe(l, o, h, a);
  }, n.toRegex = (u, o) => {
    try {
      const h = o || {};
      return new RegExp(u, h.flags || (h.nocase ? "i" : ""));
    } catch (h) {
      if (o && o.debug === !0) throw h;
      return /$^/;
    }
  }, n.constants = d, t.exports = n;
})), cC = /* @__PURE__ */ z(((e, t) => {
  var r = lC(), i = ms();
  function s(d, c, n = !1) {
    return c && (c.windows === null || c.windows === void 0) && (c = {
      ...c,
      windows: i.isWindows()
    }), r(d, c, n);
  }
  Object.assign(s, r), t.exports = s;
})), wn = /* @__PURE__ */ Lt(cC(), 1), uC = /* @__PURE__ */ ft({
  greatest: () => Np,
  greatestLevel: () => $l,
  latest: () => fC,
  minor: () => dC,
  newest: () => mC,
  patch: () => pC,
  semver: () => gC
}), hC = bu(Wp.execFile);
async function Ns(e) {
  const t = (await hC("git", [
    "ls-remote",
    "--tags",
    e
  ])).stdout, r = {};
  for (const i of t.trim().split(`
`)) {
    const s = i.split("	");
    r[s[1].replace(/^refs\/tags\/|\^{}$/g, "")] = s[0];
  }
  return r;
}
async function xl(e, t, r) {
  t = t.replace(/^github:/, "");
  const { auth: i, protocol: s, host: d, path: c } = (0, Oi.default)(t);
  let n;
  try {
    if (s !== null) n = await Ns(`${s ? s.replace("git+", "") : "https:"}//${i ? i + "@" : ""}${d}/${c?.replace(/^:/, "")}`);
    else try {
      n = await Ns(`ssh://git@${d}/${c?.replace(/^:/, "")}`);
    } catch {
      n = await Ns(`https://${i ? i + "@" : ""}${d}/${c}`);
    }
  } catch {
    Fe(r ?? {}, `Invalid, private repo, or no tags for ${e}: ${t}`, "verbose");
    return;
  }
  return Object.keys(n).map(Uo).filter((u) => (0, He.valid)(u)).sort(jo);
}
var fC = async (e, t, r) => {
  const i = await xl(e, t, r);
  if (!i) return { version: null };
  const s = r?.pre ? i : i.filter((c) => !Nn(c)), d = s[s.length - 1];
  return { version: d ? Pn(t, d) : null };
}, Np = async (e, t, r) => {
  const i = await xl(e, t, r);
  if (!i) return { version: null };
  const s = i[i.length - 1];
  return { version: s ? Pn(t, s) : null };
}, $l = (e) => async (t, r, i = {}) => {
  const s = decodeURIComponent((0, Oi.default)(r).branch).replace(/^semver:/, ""), d = await xl(t, r, i);
  if (!d) return { version: null };
  const c = l_(d.map((n) => n.replace(/^v/, "")), s, e);
  return { version: c ? Pn(r, c) : null };
}, dC = $l("minor"), pC = $l("patch"), gC = async (e, t, r) => ({ version: null }), mC = Np, vC = /* @__PURE__ */ ft({ latest: () => wC }), yC = (e) => e && e.startsWith("http://") || e.startsWith("https://"), _C = async (e) => {
  const t = e.registry;
  let r;
  if (yC(t)) r = await (await fetch(t)).text();
  else try {
    r = await Xe.readFile(t, "utf8");
  } catch {
    We(e, `
The specified static registry file does not exist: ${e.registry}`);
  }
  return JSON.parse(r);
}, bC = (0, _r.default)(_C), wC = async (e, t, r) => ({ version: (await bC(r || {}))[e] || null }), hr = {
  npm: Nw,
  pnpm: hE,
  yarn: ME,
  bun: Mw,
  gitTags: uC,
  staticRegistry: vC
};
function ri(e) {
  if (typeof e == "string") return e.trim();
  if (Array.isArray(e) && (e.length === 0 || typeof e[0] == "string")) {
    const t = e.map((r) => typeof r == "string" ? r.trim() : r).filter((r) => r);
    return t.length > 0 ? t : void 0;
  } else return e;
}
function EC(e) {
  try {
    return new URL(e), !0;
  } catch {
    return !1;
  }
}
var Qi = (e, t = Math.round(e * 10) / 10) => `${t} day${t !== 1 ? "s" : ""}`;
async function SC(e, { cli: t } = {}) {
  const r = On(e.color);
  let i;
  if (!t) {
    i = { ...e };
    const E = Rs.reduce((w, b) => ({
      ...w,
      ...b.default != null ? { [b.long]: b.default } : null
    }), {}), S = {
      jsonUpgraded: !0,
      silent: e.silent || e.loglevel === void 0 && !e.verbose,
      args: []
    };
    e = {
      ...E,
      ...S,
      ...e
    };
  }
  const s = {
    ...e,
    ...e.packageData && typeof e.packageData != "string" ? { packageData: JSON.stringify(e.packageData, null, 2) } : null,
    cli: t,
    ...t ? null : { raw: i }
  }, d = s.silent || s.format?.includes("lines") ? "silent" : s.verbose ? "verbose" : s.loglevel, c = Object.keys(s).filter((E) => E.startsWith("json")).some(Ju(s));
  !c && d !== "silent" && s.rcConfigPath && !s.doctor && Fe(s, `Using config file ${s.rcConfigPath}`);
  const n = Rs.filter(({ long: E, deprecated: S }) => S && s[E] || E === "packageManager" && s.packageManager === "staticRegistry");
  n.length > 0 && (n.forEach(({ long: E, description: S }) => {
    const w = E === "packageManager" ? "--packageManager staticRegistry is deprecated. Use --registryType json." : `--${E}: ${S}`;
    Fe(s, r.yellow(w), "warn");
  }), Fe(s, "", "warn")), Rs.forEach(({ long: E, choices: S }) => {
    if (!S || S.length === 0) return;
    const w = s[E], b = Array.isArray(w) ? w : [w];
    b.length !== 0 && b.every((A) => !S.includes(A)) && We(s, `Invalid option value: --${E} ${w}. Valid values are: ${S.join(", ")}.`);
  }), s.cwd && !await fi(s.cwd) && We(s, `No such directory: ${s.cwd}`);
  const u = ri(s.args), o = ri(s.filter), h = ri(s.filterVersion), a = ri(s.reject), l = ri(s.rejectVersion), f = s.registryType || (s.registry?.endsWith(".json") ? "json" : "npm");
  s.filter && u && !dr(u.join(" "), Array.isArray(o) ? o.join(" ") : o) ? We(s, `Cannot specify a filter using both --filter and args. Did you forget to quote an argument?
See: https://github.com/raineorshine/npm-check-updates/issues/759#issuecomment-723587297`) : s.packageFile && s.deep ? We(s, "Cannot specify both --packageFile and --deep. --deep is an alias for --packageFile '**/package.json'") : s.format?.includes("lines") && s.jsonUpgraded ? We(s, "Cannot specify both --format lines and --jsonUpgraded.") : s.format?.includes("lines") && s.jsonAll ? We(s, "Cannot specify both --format lines and --jsonAll.") : s.format?.includes("lines") && s.format.length > 1 ? We(s, "Cannot use --format lines with other formatting options.") : s.workspace?.length && s.workspaces ? We(s, "Cannot specify both --workspace and --workspaces.") : s.deep && (s.workspace?.length || s.workspaces) ? We(s, `Cannot specify both --deep and --workspace${s.workspaces ? "s" : ""}.`) : s.doctor && (s.workspace?.length || s.workspaces) ? We(s, `Doctor mode is not currently supported with --workspace${s.workspaces ? "s" : ""}.`) : s.packageManager === "staticRegistry" && !s.registry ? We(s, "When --package-manager staticRegistry is specified, you must provide the path for the registry file with --registry.") : s.registryType === "json" && !s.registry ? We(s, 'When --registryType json is specified, you must provide the path for the registry file with --registry. Run "ncu --help registryType" for details.') : f !== "json" && s.registry && !EC(s.registry) && We(s, `--registry must be a valid URL. Invalid value: "${s.registry}"`);
  const p = await Ks(s);
  if (s.cooldown != null) {
    if (typeof s.cooldown == "string") {
      const w = vi(s.cooldown);
      w === null ? We(s, `Invalid cooldown value: "${s.cooldown}". Use a number (days) or a string like "7d", "12h", or "30m".`) : s.cooldown = w;
    }
    const E = typeof s.cooldown == "number" && !isNaN(s.cooldown) && s.cooldown >= 0, S = typeof s.cooldown == "function";
    !E && !S && We(s, 'Cooldown must be a non-negative number (days), a string like "7d", "12h", or "30m", or a predicate function.');
  } else {
    const E = Rt.findNpmConfig()?.minReleaseAge;
    if (E != null) {
      const S = typeof E == "string" ? vi(E) ?? parseInt(E, 10) : typeof E == "number" ? E : null;
      S != null && !isNaN(S) && (s.cooldown = S, Fe({
        ...s,
        json: c
      }, `Using min-release-age from .npmrc: ${Qi(S)}`));
    } else if (p === "pnpm") {
      const S = await ld.getPnpmWorkspaceMinimumReleaseAge();
      if (S != null) {
        const { minimumReleaseAge: w, minimumReleaseAgeExclude: b } = S, A = w / 1440;
        if (b.length > 0) {
          const D = b.map((C) => (0, wn.default)(C));
          s.cooldown = (C) => D.some((O) => O(C)) ? null : A, Fe({
            ...s,
            json: c
          }, `Using minimumReleaseAge from pnpm-workspace.yaml: ${Qi(A)} (${b.length} excluded pattern${b.length !== 1 ? "s" : ""})`);
        } else
          s.cooldown = A, Fe({
            ...s,
            json: c
          }, `Using minimumReleaseAge from pnpm-workspace.yaml: ${Qi(A)}`);
      }
    } else if (p === "yarn") {
      const S = await Id.getYarnMinimalAgeGate(s);
      if (S != null) {
        const { npmMinimalAgeGate: w, npmPreapprovedPackages: b } = S, A = w / 1440;
        if (b.length > 0) {
          const D = b.map((C) => (0, wn.default)(C));
          s.cooldown = (C) => D.some((O) => O(C)) ? null : A, Fe({
            ...s,
            json: c
          }, `Using npmMinimalAgeGate from .yarnrc.yml: ${A} day${A !== 1 ? "s" : ""} (${b.length} pre-approved package${b.length !== 1 ? "s" : ""})`);
        } else
          s.cooldown = A, Fe({
            ...s,
            json: c
          }, `Using npmMinimalAgeGate from .yarnrc.yml: ${Qi(A)}`);
      }
    }
  }
  const g = s.target || "latest", m = g === "newest" || g === "greatest", v = {
    ...s,
    ...s.deep ? { packageFile: "**/package.json" } : null,
    ...p === "deno" ? { dep: ["imports"] } : null,
    ...s.format && s.format.length > 0 ? { format: s.format } : null,
    filter: u || o,
    filterVersion: h,
    json: c,
    loglevel: d,
    minimal: s.minimal === void 0 ? !1 : s.minimal,
    ...s.pre != null || m ? { pre: s.pre != null ? !!s.pre : m } : null,
    reject: a,
    rejectVersion: l,
    target: g,
    ...s.interactive && s.upgrade === void 0 ? { upgrade: !c } : null,
    packageManager: p,
    ...s.prefix ? { prefix: await (hr[p || ""]?.defaultPrefix || hr.npm.defaultPrefix)(s) } : null,
    registryType: f
  };
  v.cacher = await T_(v);
  const _ = et(v, (E, S) => S !== void 0 ? { [E]: S } : null);
  return !s.packageManager && p !== "npm" && Fe(_, `Using ${p}`), _;
}
function AC(e, t) {
  return Array.from(/* @__PURE__ */ new Set([...e || [], ...t || []]));
}
function TC(e, t) {
  const r = e || {}, i = t || {}, s = {
    ...r,
    ...i
  };
  return Object.keys(s).forEach((d) => {
    Array.isArray(r[d]) && Array.isArray(i[d]) && (s[d] = AC(r[d], i[d]));
  }), s;
}
var DC = /* @__PURE__ */ z(((e, t) => {
  var r = (d) => typeof d == "function" ? d : () => d, i = (...d) => (...c) => d.length === 0 || !!r(d[0])(...c) && i(...d.slice(1))(...c), s = (...d) => (...c) => d.length > 0 && (!!r(d[0])(...c) || s(...d.slice(1))(...c));
  t.exports = {
    and: i,
    or: s
  };
})), sn = DC();
function oi(e) {
  let t;
  if (!e) t = Co;
  else if (typeof e == "string") if (e[0] === "/" && e.at(-1) === "/") {
    const r = new RegExp(e.slice(1, -1));
    t = (i) => r.test(i);
  } else {
    const r = e.split(/[\s,]+/);
    t = (i) => {
      const s = (c) => (0, wn.default)(c)(i), d = (c) => !c.includes("/") && i.includes("/") && (0, wn.default)(c)(i.replace(/\//g, "_"));
      return r.some((0, sn.or)(s, d));
    };
  }
  else if (Array.isArray(e)) t = (r, i) => e.some((s) => oi(s)(r, i));
  else if (e instanceof RegExp) t = (r) => e.test(r);
  else if (typeof e == "function") t = (r, i) => e(r, (0, wt.parseRange)(i ?? r));
  else throw new TypeError("Invalid filter. Must be a RegExp, array, or comma-or-space-delimited list.");
  return t;
}
function Pp(e, t, r, i) {
  return (0, sn.and)((s, d) => (0, sn.and)(e ? oi(e) : !0, t ? (...c) => !oi(t)(...c) : !0)(s, d), (s, d) => (0, sn.and)(r ? oi(r) : !0, i ? (...c) => !oi(i)(...c) : !0)(d));
}
function zi(e, t) {
  return !t || t === "deno" ? hr.npm : e.registryType === "json" ? hr.staticRegistry : (hr[t] || We(e, `Invalid package manager: ${t}`), hr[t]);
}
async function RC(e = {}) {
  const t = await zi(e, e.packageManager).list?.({
    cwd: e.cwd,
    prefix: e.prefix,
    global: e.global
  });
  t || We(e, "Unable to retrieve package list");
  const r = Pp(e.filter, e.reject, e.filterVersion, e.rejectVersion);
  let i = {};
  try {
    i = $r(t, (s, d) => !!d && !eh(d) && r(s, d));
  } catch (s) {
    We(e, "Invalid filter: " + s.message || s);
  }
  return i;
}
var fo = /* @__PURE__ */ ft({
  default: () => Nl,
  pMapSkip: () => En
});
async function Nl(e, t, { concurrency: r = Number.POSITIVE_INFINITY, stopOnError: i = !0, signal: s } = {}) {
  return new Promise((d, c) => {
    if (e[Symbol.iterator] === void 0 && e[Symbol.asyncIterator] === void 0) throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof e})`);
    if (typeof t != "function") throw new TypeError("Mapper function is required");
    if (!(Number.isSafeInteger(r) && r >= 1 || r === Number.POSITIVE_INFINITY)) throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${r}\` (${typeof r})`);
    const n = [], u = [], o = /* @__PURE__ */ new Map();
    let h = !1, a = !1, l = !1, f = 0, p = 0;
    const g = e[Symbol.iterator] === void 0 ? e[Symbol.asyncIterator]() : e[Symbol.iterator](), m = () => {
      E(s.reason);
    }, v = () => {
      s?.removeEventListener("abort", m);
    }, _ = (w) => {
      d(w), v();
    }, E = (w) => {
      h = !0, a = !0, c(w), v();
    };
    s && (s.aborted && E(s.reason), s.addEventListener("abort", m, { once: !0 }));
    const S = async () => {
      if (a) return;
      const w = await g.next(), b = p;
      if (p++, w.done) {
        if (l = !0, f === 0 && !a) {
          if (!i && u.length > 0) {
            E(new AggregateError(u));
            return;
          }
          if (a = !0, o.size === 0) {
            _(n);
            return;
          }
          const A = [];
          for (const [D, C] of n.entries())
            o.get(D) !== En && A.push(C);
          _(A);
        }
        return;
      }
      f++, (async () => {
        try {
          const A = await w.value;
          if (a) return;
          const D = await t(A, b);
          D === En && o.set(b, D), n[b] = D, f--, await S();
        } catch (A) {
          if (i) E(A);
          else {
            u.push(A), f--;
            try {
              await S();
            } catch (D) {
              E(D);
            }
          }
        }
      })();
    };
    (async () => {
      for (let w = 0; w < r; w++) {
        try {
          await S();
        } catch (b) {
          E(b);
          break;
        }
        if (l || h) break;
      }
    })();
  });
}
var En, Ei = Ot((() => {
  En = /* @__PURE__ */ Symbol("skip");
})), OC = /* @__PURE__ */ z(((e, t) => {
  e = t.exports = r;
  function r(i, s) {
    if (this.stream = s.stream || process.stderr, typeof s == "number") {
      var d = s;
      s = {}, s.total = d;
    } else {
      if (s = s || {}, typeof i != "string") throw new Error("format required");
      if (typeof s.total != "number") throw new Error("total required");
    }
    this.fmt = i, this.curr = s.curr || 0, this.total = s.total, this.width = s.width || this.total, this.clear = s.clear, this.chars = {
      complete: s.complete || "=",
      incomplete: s.incomplete || "-",
      head: s.head || s.complete || "="
    }, this.renderThrottle = s.renderThrottle !== 0 ? s.renderThrottle || 16 : 0, this.lastRender = -1 / 0, this.callback = s.callback || function() {
    }, this.tokens = {}, this.lastDraw = "";
  }
  r.prototype.tick = function(i, s) {
    if (i !== 0 && (i = i || 1), typeof i == "object" && (s = i, i = 1), s && (this.tokens = s), this.curr == 0 && (this.start = /* @__PURE__ */ new Date()), this.curr += i, this.render(), this.curr >= this.total) {
      this.render(void 0, !0), this.complete = !0, this.terminate(), this.callback(this);
      return;
    }
  }, r.prototype.render = function(i, s) {
    if (s = s !== void 0 ? s : !1, i && (this.tokens = i), !!this.stream.isTTY) {
      var d = Date.now(), c = d - this.lastRender;
      if (!(!s && c < this.renderThrottle)) {
        this.lastRender = d;
        var n = this.curr / this.total;
        n = Math.min(Math.max(n, 0), 1);
        var u = Math.floor(n * 100), o, h, a, l = /* @__PURE__ */ new Date() - this.start, f = u == 100 ? 0 : l * (this.total / this.curr - 1), p = this.curr / (l / 1e3), g = this.fmt.replace(":current", this.curr).replace(":total", this.total).replace(":elapsed", isNaN(l) ? "0.0" : (l / 1e3).toFixed(1)).replace(":eta", isNaN(f) || !isFinite(f) ? "0.0" : (f / 1e3).toFixed(1)).replace(":percent", u.toFixed(0) + "%").replace(":rate", Math.round(p)), m = Math.max(0, this.stream.columns - g.replace(":bar", "").length);
        m && process.platform === "win32" && (m = m - 1);
        var v = Math.min(this.width, m);
        if (a = Math.round(v * n), h = Array(Math.max(0, a + 1)).join(this.chars.complete), o = Array(Math.max(0, v - a + 1)).join(this.chars.incomplete), a > 0 && (h = h.slice(0, -1) + this.chars.head), g = g.replace(":bar", h + o), this.tokens) for (var _ in this.tokens) g = g.replace(":" + _, this.tokens[_]);
        this.lastDraw !== g && (this.stream.cursorTo(0), this.stream.write(g), this.stream.clearLine(1), this.lastDraw = g);
      }
    }
  }, r.prototype.update = function(i, s) {
    var d = Math.floor(i * this.total) - this.curr;
    this.tick(d, s);
  }, r.prototype.interrupt = function(i) {
    this.stream.clearLine(), this.stream.cursorTo(0), this.stream.write(i), this.stream.write(`
`), this.stream.write(this.lastDraw);
  }, r.prototype.terminate = function() {
    this.clear ? this.stream.clearLine && (this.stream.clearLine(), this.stream.cursorTo(0)) : this.stream.write(`
`);
  };
})), CC = /* @__PURE__ */ z(((e, t) => {
  t.exports = OC();
}));
Ei();
var Pl = /* @__PURE__ */ Lt(CC(), 1);
function IC(e, t) {
  let r = [[t]];
  for (; r.length > 0; ) {
    const i = [];
    for (const s of r) {
      const d = Object.keys(e[s[0]] ?? {});
      for (const c of d) {
        if (c === s.at(-1)) return {
          isCircular: !0,
          offendingPackage: s[0]
        };
        i.push([c, ...s]);
      }
    }
    r = i;
  }
  return { isCircular: !1 };
}
async function Bl(e, t) {
  const r = zi(t, t.packageManager);
  if (!r.getPeerDependencies) return {};
  const i = Object.keys(e).length;
  let s;
  !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i > 0 && (s = new Pl.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render());
  const d = Object.entries(e), n = await Nl(d, async ([o, h]) => {
    let a;
    const l = t.cacher?.getPeers(o, h);
    return l ? a = l : (a = await r.getPeerDependencies(o, h, { cwd: t.cwd }), t.cacher?.setPeers(o, h, a)), s && s.tick(), {
      pkg: o,
      dependencies: a
    };
  }, { concurrency: t.concurrency }), u = {};
  for (const { pkg: o, dependencies: h } of n) {
    u[o] = h;
    const a = IC(u, o);
    a.isCircular && delete u[o][a.offendingPackage];
  }
  return await t.cacher?.save(), t.cacher?.log(!0), u;
}
function kC(e, t) {
  const r = {};
  for (const i of t) r[i] = e[i];
  return r;
}
function Gr(e, t) {
  const r = {};
  for (const [i, s] of Object.entries(e ?? {})) {
    const d = i;
    t(s, d) && (r[d] = s);
  }
  return r;
}
var LC = [
  "latest",
  "newest",
  "greatest",
  "minor",
  "patch",
  "semver"
];
Ei();
async function xC(e, t = {}) {
  const r = On(t.color), i = Object.keys(e), s = zi(t, t.packageManager);
  let d;
  !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i.length > 0 && (d = new Pl.default("[:bar] :current/:total :percent", {
    total: i.length,
    width: 20
  }), d.render());
  async function c(u) {
    const o = mi(e[u]), [h, a] = o || [u, e[u]], l = t.target || "latest", f = typeof l == "string" ? l : l(h, (0, wt.parseRange)(a)), [p, g] = f.startsWith("@") ? ["distTag", f.slice(1)] : [f, "latest"];
    if (!t.cooldown) {
      const w = t.cacher?.get(h, p);
      if (w?.version && (w?.time || !t.format?.includes("time")))
        return d?.tick(), w;
    }
    let m;
    const v = ci(e[u]), _ = v ? hr.gitTags : s, E = v ? "github urls" : t.packageManager || "npm", S = _[p];
    if (!S) {
      const w = LC.filter((b) => b in _);
      We(t, r.red(`
Unsupported target "${p}" using ${E}`) + `
Supported version targets are: ` + w.join(", ") + (v ? "" : ", and tags (e.g. @next)"), { color: !1 });
    }
    try {
      m = await S(h, a, {
        ...t,
        distTag: g,
        pre: t.pre != null ? t.pre : f.startsWith("@") || Nn(a),
        retry: t.retry ?? 2
      }).catch((w) => ({ error: w?.body?.error || w.toString() })), m.version = !v && o && m?.version ? ah(h, m.version) : m?.version ?? null;
    } catch (w) {
      const b = w ? (w.message || w).toString() : "";
      if (b.match(/E504|Gateway Timeout/i)) return { error: `${b}. All ${t.retry} retry attempts failed.` };
      if (b.match(/E400|E404|ENOTFOUND|404 Not Found|400 Bad Request/i)) return { error: `${b.replace(/ - Not found$/i, "")}. All ${t.retry} retry attempts failed. Either your internet connection is down, the registry is inaccessible, the authentication credentials are invalid, or the package does not exist.` };
      if (w.code === "ERR_INVALID_URL") return { error: b || "Invalid URL" };
      throw !process.env.NCU_TESTS && /(Response|network) timeout/i.test(b) && console.error(`

` + r.red("FetchError: Request Timeout. npm-registry-fetch defaults to 30000 (30 seconds). Try setting the --timeout option (in milliseconds) to override this.") + `
`), w;
    }
    return d?.tick(), m.version && t.cacher?.set(h, p, m.version, m.time), m;
  }
  const n = await Nl(i, c, { concurrency: t.concurrency });
  return await t.cacher?.save(), t.cacher?.log(), et(n, (u, o) => u.version || u.error || u.cooldownInfo ? { [i[o]]: u } : null);
}
function $C(e) {
  if (Object.keys(e).length === 0) return null;
  const t = Object.values(e).reduce((i, s) => {
    const d = $n.find((c) => s && s.includes(c));
    return d !== void 0 && (i[d] ||= [], i[d].push(s)), i;
  }, {}), r = Bo(Object.entries(t).map(([i, s]) => ({
    wildcard: i,
    instances: s
  })), (i) => -i.instances.length);
  return r.length > 0 ? r[0].wildcard : null;
}
function NC(e, t, { downgrade: r } = {}) {
  if (!He.validRange(e) || Mo(e)) return !1;
  const [i] = wt.default.parseRange(e);
  if (!i) throw new Error(`"${e}" could not be parsed by semver-utils. This is probably a bug. Please file an issue at https://github.com/raineorshine/npm-check-updates.`);
  const s = Uo(t), d = Hr(i), c = !!He.validRange(d), n = !!He.valid(s);
  return c && n && (!o_(s, d) || !He.satisfies(s, i.operator === "<" ? e : d) && (r || !He.ltr(s, d)));
}
function PC(e, t, r = {}) {
  const i = r.target || "latest";
  e = $r(e, (c, n) => !!n);
  const s = $C(e) || "^", d = (c, n) => oh(c, n, {
    wildcard: s,
    removeRange: r.removeRange
  });
  return Z0([
    (c) => Gr(c, (n, u) => u in t),
    (c) => Object.entries(c).reduce((n, [u, o]) => {
      const h = t[u];
      let a = null, l = null;
      if (nn(o) && (a = mi(o)[1]), nn(h) && (l = mi(h)[1]), ci(o)) {
        const [f] = (0, wt.parseRange)(Vs(o));
        a = Hr(f);
      }
      if (ci(h)) {
        const [f] = (0, wt.parseRange)(Vs(h));
        l = Hr(f);
      }
      return n[u] = {
        current: o,
        currentParsed: a,
        latest: h,
        latestParsed: l
      }, n;
    }, {}),
    (c) => Gr(c, ({ current: n, currentParsed: u, latest: o, latestParsed: h }, a) => {
      const l = Nn(n) && (typeof i == "string" ? i : i(a, (0, wt.parseRange)(n))).startsWith("@");
      return NC(u || n, h || o, { downgrade: l });
    }),
    (c) => Object.entries(c).reduce((n, [u, { current: o, currentParsed: h, latest: a, latestParsed: l }]) => {
      const f = d(h || o, l || a);
      return n[u] = nn(o) ? d_(o, f) : ci(o) ? Pn(o, f) : f, n;
    }, {})
  ])(e);
}
var hu = (e, t, r) => {
  const i = {
    ...e,
    ...t
  }, s = Gr(t, (n, u) => {
    const o = r[u];
    return o ? Object.entries(o).every(([h, a]) => i[h] === void 0 || !(0, He.validRange)(a) || !(0, He.validRange)(i[h]) || (0, He.intersects)(i[h], a)) : !0;
  }), d = Object.keys(t).length > Object.keys(s).length;
  let c = r;
  return d && (c = Gr(r, (n, u) => s[u] || !t[u])), {
    violated: d,
    filteredUpgradedDependencies: s,
    upgradedPeerDependencies: c
  };
};
async function Wi(e, t) {
  const r = await xC(e, t), i = et(r, (n, u) => u?.version && (!t.filterResults || t.filterResults(n, {
    currentVersion: e[n],
    currentVersionSemver: (0, wt.parseRange)(e[n]),
    upgradedVersion: u.version,
    upgradedVersionSemver: (0, wt.parse)(u.version)
  })) ? { [n]: u.version } : null), s = Gr(PC(e, i, t), (n, u) => !t.jsonUpgraded || !t.minimal || !(0, He.satisfies)(i[u], e[u])), d = Gr(i, (n, u) => s[u]);
  let c = [
    s,
    r,
    t.peerDependencies
  ];
  if (!t.peer || Object.keys(d).length === 0) return c;
  if (t.peer && Object.keys(d).length > 0) {
    const n = await Bl(d, t);
    let u;
    if (dr(t.peerDependencies, {
      ...t.peerDependencies,
      ...n
    })) {
      if (u = hu(e, s, t.peerDependencies), !u.violated) return c;
    } else u = {
      violated: !1,
      filteredUpgradedDependencies: s,
      upgradedPeerDependencies: n
    };
    let o = 0;
    do {
      if (o++ > 6) throw new Error("Stuck in a while loop. Please report an issue");
      const h = {
        ...t.peerDependencies,
        ...u.upgradedPeerDependencies
      };
      if (dr(t.peerDependencies, h)) return [
        {},
        r,
        t.peerDependencies
      ];
      const [a, l, f] = await Wi({
        ...e,
        ...u.filteredUpgradedDependencies
      }, {
        ...t,
        peerDependencies: h,
        loglevel: "silent"
      });
      c = [
        {
          ...u.filteredUpgradedDependencies,
          ...a
        },
        {
          ...r,
          ...l
        },
        f
      ], u = hu(e, c[0], c[2]);
    } while (u.violated);
  }
  return c;
}
async function BC(e) {
  Fe(e, `
Options:`, "verbose"), tr(e, e, "verbose"), Fe(e, `
Getting installed packages`, "verbose");
  let t = {};
  try {
    const { cli: o, cwd: h, filter: a, filterVersion: l, global: f, packageManager: p, prefix: g, reject: m, rejectVersion: v } = e;
    t = await RC({
      cli: o,
      cwd: h,
      filter: a,
      filterVersion: l,
      global: f,
      packageManager: p,
      prefix: g,
      reject: m,
      rejectVersion: v
    });
  } catch (o) {
    We(e, o.message);
  }
  Fe(e, "globalPackages:", "verbose"), Fe(e, t, "verbose"), Fe(e, "", "verbose"), Fe(e, `Fetching ${e.target} versions`, "verbose");
  const [r, i] = await Wi(t, e);
  Fe(e, i, "verbose");
  const s = et(i, (o, h) => {
    const a = h.time ?? h.cooldownInfo?.currentVersionTime;
    return a ? { [o]: a } : null;
  }), d = et(i, (o, h) => h.cooldownInfo ? { [o]: h.cooldownInfo } : null), c = Object.values(d).length, n = Object.keys(r);
  await Go(e, {
    current: t,
    upgraded: r,
    skippedByCooldown: d,
    latest: i,
    numCooldown: c,
    total: n.length,
    time: s
  });
  const u = r ? n.map((o) => o + "@" + r[o]).join(" ") : "[package]";
  if (e.json) Ho(e, r);
  else if (u.length) {
    const o = e.packageManager === "yarn" ? "yarn global upgrade" : e.packageManager === "pnpm" ? "pnpm -g add" : e.packageManager === "bun" ? "bun add -g" : "npm -g install";
    Fe(e, `
` + Se.cyan("ncu") + ` itself cannot upgrade global packages. Run the following to upgrade all global packages: 

` + Se.cyan(`${o} ` + u) + `
`);
  }
  return e.cli && e.errorLevel === 2 && n.length > 0 && process.exit(1), r;
}
var FC = (e, t) => He.validRange(e) && He.validRange(t) && He.gt(He.minVersion(e), He.minVersion(t)), MC = (e) => {
  if (!e.packageManager) return {};
  const [t, r] = e.packageManager.split("@");
  return { [t]: r };
};
function jC(e = {}, t = {}) {
  const r = Sl(t.dep).reduce((d, c) => ({
    ...d,
    ...c === "packageManager" ? MC(e) : $r(e[c] || {}, (n, u) => !FC(u, d[n]))
  }), {}), i = et(t.workspacePackages || []);
  let s = {};
  try {
    s = $r($r(r, (d) => !i[d]), Pp(t.filter || null, t.reject || null, t.filterVersion || null, t.rejectVersion || null));
  } catch (d) {
    We(t, "Invalid filter: " + d.message || d);
  }
  return s;
}
async function UC(e, t) {
  const r = zi(t, t.packageManager);
  if (!r.getEngines) return {};
  const i = Object.keys(e).length;
  let s;
  return !t.json && t.loglevel !== "silent" && t.loglevel !== "verbose" && i > 0 && (s = new Pl.default("[:bar] :current/:total :percent", {
    total: i,
    width: 20
  }), s.render()), Object.entries(e).reduce(async (d, [c, n]) => {
    const u = (await r.getEngines(c, n, t)).node;
    return s && s.tick(), {
      ...await d,
      [c]: u
    };
  }, Promise.resolve({}));
}
var HC = (e, t) => !e || (0, He.satisfies)(t, e);
async function qC(e, t, r = {}) {
  if (!r.nodeEngineVersion) return {};
  const i = (0, He.minVersion)(r.nodeEngineVersion)?.version;
  if (!i) return {};
  const [s, d] = await Wi(e, {
    ...r,
    enginesNode: !1,
    nodeEngineVersion: void 0,
    loglevel: "silent"
  }), c = await UC(et(d, (n, u) => s[n] && u?.version ? { [n]: u.version } : null), r);
  return Object.entries(s).filter(([n, u]) => t[n] !== u && !HC(c[n], i)).reduce((n, [u, o]) => ({
    ...n,
    [u]: {
      from: e[u],
      to: o,
      enginesNode: c[u]
    }
  }), {});
}
async function GC(e, t, r, i = {}) {
  const s = {
    ...e,
    ...t
  }, [d, c] = await Wi(e, {
    ...i,
    peer: !1,
    peerDependencies: void 0,
    loglevel: "silent"
  }), n = await Bl(Object.fromEntries(Object.entries(d).map(([u, o]) => [u, (0, He.validRange)(o) ? (0, He.minVersion)(o)?.version ?? o : o])), i);
  return Object.entries(d).filter(([u, o]) => t[u] !== o).reduce((u, [o, h]) => {
    let a = Object.entries(r).filter(([, l]) => l[o] !== void 0 && c[o]?.version && !(0, He.satisfies)(c[o].version, l[o])).reduce((l, [f, p]) => ({
      ...l,
      [f]: (0, He.validRange)(p[o]) ? p[o] : `a range that semver does not understand: ${p[o]}. This range does not work with semver.satisfies or semver.intersects, which npm-check-updates relies on to determine peer dependency compatibility. Either this is a mistake in ${f}, or it relies on a new syntax that is not compatible with the semver package.`
    }), {});
    if (Object.keys(a).length === 0) {
      const l = n?.[o] || {};
      a = Object.entries(l).filter(([f, p]) => s[f] && !!(0, He.validRange)(s[f]) && !(!(0, He.validRange)(p) || (0, He.intersects)(s[f], p))).reduce((f, [p, g]) => ({
        ...f,
        [o]: `${p} ${g}`
      }), {});
    }
    return {
      ...u,
      [o]: {
        from: e[o],
        to: h,
        reason: a
      }
    };
  }, {});
}
function Bp(e, t = !1) {
  const r = e.length;
  let i = 0, s = "", d = 0, c = 16, n = 0, u = 0, o = 0, h = 0, a = 0;
  function l(E, S) {
    let w = 0, b = 0;
    for (; w < E || !S; ) {
      let A = e.charCodeAt(i);
      if (A >= 48 && A <= 57) b = b * 16 + A - 48;
      else if (A >= 65 && A <= 70) b = b * 16 + A - 65 + 10;
      else if (A >= 97 && A <= 102) b = b * 16 + A - 97 + 10;
      else break;
      i++, w++;
    }
    return w < E && (b = -1), b;
  }
  function f(E) {
    i = E, s = "", d = 0, c = 16, a = 0;
  }
  function p() {
    let E = i;
    if (e.charCodeAt(i) === 48) i++;
    else
      for (i++; i < e.length && Or(e.charCodeAt(i)); ) i++;
    if (i < e.length && e.charCodeAt(i) === 46)
      if (i++, i < e.length && Or(e.charCodeAt(i)))
        for (i++; i < e.length && Or(e.charCodeAt(i)); ) i++;
      else
        return a = 3, e.substring(E, i);
    let S = i;
    if (i < e.length && (e.charCodeAt(i) === 69 || e.charCodeAt(i) === 101))
      if (i++, (i < e.length && e.charCodeAt(i) === 43 || e.charCodeAt(i) === 45) && i++, i < e.length && Or(e.charCodeAt(i))) {
        for (i++; i < e.length && Or(e.charCodeAt(i)); ) i++;
        S = i;
      } else a = 3;
    return e.substring(E, S);
  }
  function g() {
    let E = "", S = i;
    for (; ; ) {
      if (i >= r) {
        E += e.substring(S, i), a = 2;
        break;
      }
      const w = e.charCodeAt(i);
      if (w === 34) {
        E += e.substring(S, i), i++;
        break;
      }
      if (w === 92) {
        if (E += e.substring(S, i), i++, i >= r) {
          a = 2;
          break;
        }
        switch (e.charCodeAt(i++)) {
          case 34:
            E += '"';
            break;
          case 92:
            E += "\\";
            break;
          case 47:
            E += "/";
            break;
          case 98:
            E += "\b";
            break;
          case 102:
            E += "\f";
            break;
          case 110:
            E += `
`;
            break;
          case 114:
            E += "\r";
            break;
          case 116:
            E += "	";
            break;
          case 117:
            const b = l(4, !0);
            b >= 0 ? E += String.fromCharCode(b) : a = 4;
            break;
          default:
            a = 5;
        }
        S = i;
        continue;
      }
      if (w >= 0 && w <= 31) if (ii(w)) {
        E += e.substring(S, i), a = 2;
        break;
      } else a = 6;
      i++;
    }
    return E;
  }
  function m() {
    if (s = "", a = 0, d = i, u = n, h = o, i >= r)
      return d = r, c = 17;
    let E = e.charCodeAt(i);
    if (Ps(E)) {
      do
        i++, s += String.fromCharCode(E), E = e.charCodeAt(i);
      while (Ps(E));
      return c = 15;
    }
    if (ii(E))
      return i++, s += String.fromCharCode(E), E === 13 && e.charCodeAt(i) === 10 && (i++, s += `
`), n++, o = i, c = 14;
    switch (E) {
      case 123:
        return i++, c = 1;
      case 125:
        return i++, c = 2;
      case 91:
        return i++, c = 3;
      case 93:
        return i++, c = 4;
      case 58:
        return i++, c = 6;
      case 44:
        return i++, c = 5;
      case 34:
        return i++, s = g(), c = 10;
      case 47:
        const S = i - 1;
        if (e.charCodeAt(i + 1) === 47) {
          for (i += 2; i < r && !ii(e.charCodeAt(i)); )
            i++;
          return s = e.substring(S, i), c = 12;
        }
        if (e.charCodeAt(i + 1) === 42) {
          i += 2;
          const w = r - 1;
          let b = !1;
          for (; i < w; ) {
            const A = e.charCodeAt(i);
            if (A === 42 && e.charCodeAt(i + 1) === 47) {
              i += 2, b = !0;
              break;
            }
            i++, ii(A) && (A === 13 && e.charCodeAt(i) === 10 && i++, n++, o = i);
          }
          return b || (i++, a = 1), s = e.substring(S, i), c = 13;
        }
        return s += String.fromCharCode(E), i++, c = 16;
      case 45:
        if (s += String.fromCharCode(E), i++, i === r || !Or(e.charCodeAt(i))) return c = 16;
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
        return s += p(), c = 11;
      default:
        for (; i < r && v(E); )
          i++, E = e.charCodeAt(i);
        if (d !== i) {
          switch (s = e.substring(d, i), s) {
            case "true":
              return c = 8;
            case "false":
              return c = 9;
            case "null":
              return c = 7;
          }
          return c = 16;
        }
        return s += String.fromCharCode(E), i++, c = 16;
    }
  }
  function v(E) {
    if (Ps(E) || ii(E)) return !1;
    switch (E) {
      case 125:
      case 93:
      case 123:
      case 91:
      case 34:
      case 58:
      case 44:
      case 47:
        return !1;
    }
    return !0;
  }
  function _() {
    let E;
    do
      E = m();
    while (E >= 12 && E <= 15);
    return E;
  }
  return {
    setPosition: f,
    getPosition: () => i,
    scan: t ? _ : m,
    getToken: () => c,
    getTokenValue: () => s,
    getTokenOffset: () => d,
    getTokenLength: () => i - d,
    getTokenStartLine: () => u,
    getTokenStartCharacter: () => d - h,
    getTokenError: () => a
  };
}
function Ps(e) {
  return e === 32 || e === 9;
}
function ii(e) {
  return e === 10 || e === 13;
}
function Or(e) {
  return e >= 48 && e <= 57;
}
var fu;
(function(e) {
  e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.space = 32] = "space", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.asterisk = 42] = "asterisk", e[e.backslash = 92] = "backslash", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.plus = 43] = "plus", e[e.slash = 47] = "slash", e[e.formFeed = 12] = "formFeed", e[e.tab = 9] = "tab";
})(fu || (fu = {}));
var zI = new Array(20).fill(0).map((e, t) => " ".repeat(t)), Cr = 200, WI = {
  " ": {
    "\n": new Array(Cr).fill(0).map((e, t) => `
` + " ".repeat(t)),
    "\r": new Array(Cr).fill(0).map((e, t) => "\r" + " ".repeat(t)),
    "\r\n": new Array(Cr).fill(0).map((e, t) => `\r
` + " ".repeat(t))
  },
  "	": {
    "\n": new Array(Cr).fill(0).map((e, t) => `
` + "	".repeat(t)),
    "\r": new Array(Cr).fill(0).map((e, t) => "\r" + "	".repeat(t)),
    "\r\n": new Array(Cr).fill(0).map((e, t) => `\r
` + "	".repeat(t))
  }
}, Sn;
(function(e) {
  e.DEFAULT = { allowTrailingComma: !1 };
})(Sn || (Sn = {}));
function zC(e, t = [], r = Sn.DEFAULT) {
  let i = null, s = [];
  const d = [];
  function c(n) {
    Array.isArray(s) ? s.push(n) : i !== null && (s[i] = n);
  }
  return WC(e, {
    onObjectBegin: () => {
      const n = {};
      c(n), d.push(s), s = n, i = null;
    },
    onObjectProperty: (n) => {
      i = n;
    },
    onObjectEnd: () => {
      s = d.pop();
    },
    onArrayBegin: () => {
      const n = [];
      c(n), d.push(s), s = n, i = null;
    },
    onArrayEnd: () => {
      s = d.pop();
    },
    onLiteralValue: c,
    onError: (n, u, o) => {
      t.push({
        error: n,
        offset: u,
        length: o
      });
    }
  }, r), s[0];
}
function WC(e, t, r = Sn.DEFAULT) {
  const i = Bp(e, !1), s = [];
  let d = 0;
  function c(q) {
    return q ? () => d === 0 && q(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function n(q) {
    return q ? (K) => d === 0 && q(K, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter()) : () => !0;
  }
  function u(q) {
    return q ? (K) => d === 0 && q(K, i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) : () => !0;
  }
  function o(q) {
    return q ? () => {
      d > 0 ? d++ : q(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter(), () => s.slice()) === !1 && (d = 1);
    } : () => !0;
  }
  function h(q) {
    return q ? () => {
      d > 0 && d--, d === 0 && q(i.getTokenOffset(), i.getTokenLength(), i.getTokenStartLine(), i.getTokenStartCharacter());
    } : () => !0;
  }
  const a = o(t.onObjectBegin), l = u(t.onObjectProperty), f = h(t.onObjectEnd), p = o(t.onArrayBegin), g = h(t.onArrayEnd), m = u(t.onLiteralValue), v = n(t.onSeparator), _ = c(t.onComment), E = n(t.onError), S = r && r.disallowComments, w = r && r.allowTrailingComma;
  function b() {
    for (; ; ) {
      const q = i.scan();
      switch (i.getTokenError()) {
        case 4:
          A(14);
          break;
        case 5:
          A(15);
          break;
        case 3:
          A(13);
          break;
        case 1:
          S || A(11);
          break;
        case 2:
          A(12);
          break;
        case 6:
          A(16);
          break;
      }
      switch (q) {
        case 12:
        case 13:
          S ? A(10) : _();
          break;
        case 16:
          A(1);
          break;
        case 15:
        case 14:
          break;
        default:
          return q;
      }
    }
  }
  function A(q, K = [], M = []) {
    if (E(q), K.length + M.length > 0) {
      let N = i.getToken();
      for (; N !== 17; ) {
        if (K.indexOf(N) !== -1) {
          b();
          break;
        } else if (M.indexOf(N) !== -1) break;
        N = b();
      }
    }
  }
  function D(q) {
    const K = i.getTokenValue();
    return q ? m(K) : (l(K), s.push(K)), b(), !0;
  }
  function C() {
    switch (i.getToken()) {
      case 11:
        const q = i.getTokenValue();
        let K = Number(q);
        isNaN(K) && (A(2), K = 0), m(K);
        break;
      case 7:
        m(null);
        break;
      case 8:
        m(!0);
        break;
      case 9:
        m(!1);
        break;
      default:
        return !1;
    }
    return b(), !0;
  }
  function O() {
    return i.getToken() !== 10 ? (A(3, [], [2, 5]), !1) : (D(!1), i.getToken() === 6 ? (v(":"), b(), F() || A(4, [], [2, 5])) : A(5, [], [2, 5]), s.pop(), !0);
  }
  function I() {
    a(), b();
    let q = !1;
    for (; i.getToken() !== 2 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (q || A(4, [], []), v(","), b(), i.getToken() === 2 && w) break;
      } else q && A(6, [], []);
      O() || A(4, [], [2, 5]), q = !0;
    }
    return f(), i.getToken() !== 2 ? A(7, [2], []) : b(), !0;
  }
  function x() {
    p(), b();
    let q = !0, K = !1;
    for (; i.getToken() !== 4 && i.getToken() !== 17; ) {
      if (i.getToken() === 5) {
        if (K || A(4, [], []), v(","), b(), i.getToken() === 4 && w) break;
      } else K && A(6, [], []);
      q ? (s.push(0), q = !1) : s[s.length - 1]++, F() || A(4, [], [4, 5]), K = !0;
    }
    return g(), q || s.pop(), i.getToken() !== 4 ? A(8, [4], []) : b(), !0;
  }
  function F() {
    switch (i.getToken()) {
      case 3:
        return x();
      case 1:
        return I();
      case 10:
        return D(!0);
      default:
        return C();
    }
  }
  return b(), i.getToken() === 17 ? r.allowEmptyContent ? !0 : (A(4, [], []), !1) : F() ? (i.getToken() !== 17 && A(9, [], []), !0) : (A(4, [], []), !1);
}
function VC(e, t) {
  let r = Bp(e), i = [], s, d = 0, c;
  do
    switch (c = r.getPosition(), s = r.scan(), s) {
      case 12:
      case 13:
      case 17:
        d !== c && i.push(e.substring(d, c)), t !== void 0 && i.push(r.getTokenValue().replace(/[^\r\n]/g, t)), d = r.getPosition();
        break;
    }
  while (s !== 17);
  return i.join("");
}
var du;
(function(e) {
  e[e.None = 0] = "None", e[e.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 4] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 6] = "InvalidCharacter";
})(du || (du = {}));
var pu;
(function(e) {
  e[e.OpenBraceToken = 1] = "OpenBraceToken", e[e.CloseBraceToken = 2] = "CloseBraceToken", e[e.OpenBracketToken = 3] = "OpenBracketToken", e[e.CloseBracketToken = 4] = "CloseBracketToken", e[e.CommaToken = 5] = "CommaToken", e[e.ColonToken = 6] = "ColonToken", e[e.NullKeyword = 7] = "NullKeyword", e[e.TrueKeyword = 8] = "TrueKeyword", e[e.FalseKeyword = 9] = "FalseKeyword", e[e.StringLiteral = 10] = "StringLiteral", e[e.NumericLiteral = 11] = "NumericLiteral", e[e.LineCommentTrivia = 12] = "LineCommentTrivia", e[e.BlockCommentTrivia = 13] = "BlockCommentTrivia", e[e.LineBreakTrivia = 14] = "LineBreakTrivia", e[e.Trivia = 15] = "Trivia", e[e.Unknown = 16] = "Unknown", e[e.EOF = 17] = "EOF";
})(pu || (pu = {}));
var YC = zC, KC = VC, po;
(function(e) {
  e[e.InvalidSymbol = 1] = "InvalidSymbol", e[e.InvalidNumberFormat = 2] = "InvalidNumberFormat", e[e.PropertyNameExpected = 3] = "PropertyNameExpected", e[e.ValueExpected = 4] = "ValueExpected", e[e.ColonExpected = 5] = "ColonExpected", e[e.CommaExpected = 6] = "CommaExpected", e[e.CloseBraceExpected = 7] = "CloseBraceExpected", e[e.CloseBracketExpected = 8] = "CloseBracketExpected", e[e.EndOfFileExpected = 9] = "EndOfFileExpected", e[e.InvalidCommentToken = 10] = "InvalidCommentToken", e[e.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", e[e.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", e[e.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", e[e.InvalidUnicode = 14] = "InvalidUnicode", e[e.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", e[e.InvalidCharacter = 16] = "InvalidCharacter";
})(po || (po = {}));
var Fp = process.stdout.columns || 80;
function gu(e) {
  return `${e.length ? e.slice(0, Math.min(e.length, Fp)) : "<empty>"}
`;
}
function mu(e) {
  return e > Fp ? "" : `${" ".repeat(e - 1)}^
`;
}
function ZC(e, t, r) {
  const i = e.length;
  if (i === 0) return "<empty>";
  if (i === 1) return `${gu(e[0])}${mu(r)}`;
  const s = Math.min(t + 2, i);
  let d = "";
  for (let c = Math.max(t - 2, 1); c <= s; c++)
    d += gu(e[c - 1]), c === t && (d += mu(r));
  return `${d}
`;
}
function Bs(e) {
  e = KC(e);
  try {
    return JSON.parse(e);
  } catch {
    const t = [], r = YC(e, t);
    if (t.length === 0) return r;
    let i = "";
    const s = e.split(`
`);
    for (const d of t) {
      const c = d.offset;
      let n = 1, u = 1, o = 0;
      for (const h of s) {
        if (o + h.length >= c) {
          u = c - o + 1;
          break;
        }
        o += h.length + 1, n++;
      }
      i += `Error at line ${n}, column ${u}: ${po[d.error]}
${ZC(s, n, u)}
`;
    }
    throw new SyntaxError(i);
  }
}
var go = `
  ↑/↓: Select a package
  Space: Toggle selection
  a: Toggle all
  Enter: Upgrade`;
function vu(e, t) {
  const r = e ? go.split(`
`).length : 0;
  return process.stdout.rows ? Math.max(3, process.stdout.rows - r - 1 - (t?.length ?? 0) * 2) : 50;
}
async function JC(e, t, r) {
  const i = zi(r, r.packageManager);
  return await Object.keys(t).reduce(async (s, d) => {
    const c = e[d] || null, n = t[d] || null, u = await i.packageAuthorChanged(d, c, n, r);
    return {
      ...await s,
      [d]: u
    };
  }, {});
}
var XC = async (e, t, r, i, s, d) => {
  let c = [];
  const n = process.stdout.rows > 18, u = et((await fn({
    from: e,
    to: t,
    skippedByCooldown: r,
    format: d.format,
    pkgFile: s || void 0,
    time: i
  })).toString().split(`
`), (o) => ({ [o.trim().split(" ")[0]]: o.trim() }));
  if (Object.keys(t).length > 0)
    if (Fe(d, ""), d.format?.includes("group")) {
      const o = th(t, e, d);
      c = (await (0, an.default)({
        choices: [...o.flatMap(({ heading: h, groupName: a, packages: l }) => [{
          title: `
` + h,
          heading: !0
        }, ...Object.keys(l).sort().map((f) => ({
          title: u[f],
          value: f,
          selected: ["patch", "minor"].includes(a)
        }))]), {
          title: " ",
          heading: !0
        }],
        hint: n && go,
        instructions: !1,
        message: "Choose which packages to update",
        name: "value",
        optionsPerPage: vu(n, o),
        type: "multiselect",
        onState: (h) => {
          h.aborted && process.nextTick(() => process.exit(1));
        }
      })).value;
    } else c = (await (0, an.default)({
      choices: [...Object.keys(t).sort().map((o) => ({
        title: u[o],
        value: o,
        selected: !0
      })), {
        title: " ",
        heading: !0
      }],
      hint: n && go + `
`,
      instructions: !1,
      message: "Choose which packages to update",
      name: "value",
      optionsPerPage: vu(n),
      type: "multiselect",
      onState: (o) => {
        o.aborted && process.nextTick(() => process.exit(1));
      }
    })).value;
  return et(c, (o) => ({ [o]: t[o] }));
};
async function yu(e, t, r) {
  Fe(e, `
Options:`, "verbose"), tr(e, e, "verbose");
  let i;
  try {
    t ? i = Bs(t) : We(e, "Missing package data");
  } catch (E) {
    We(e, `Invalid package file${r ? `: ${r}` : " from stdin"}. Error details:
${E.message}`);
  }
  const s = jC(i, e);
  Fe(e, `
Current versions:`, "verbose"), Fe(e, s, "verbose"), e.enginesNode && (e.nodeEngineVersion = i?.engines?.node), e.peer && (e.peerDependencies = await Bl(Object.fromEntries(Object.entries(s).map(([E, S]) => [E, He.default.validRange(S) ? He.default.minVersion(S)?.version ?? S : S])), e));
  const [d, c, n] = await Wi(s, e), u = et(c, (E, S) => S.version ? { [E]: S.version } : null), o = et(c, (E, S) => S.error ? { [E]: S.error } : null), h = et(c, (E, S) => {
    const w = S.time ?? S.cooldownInfo?.currentVersionTime;
    return w ? { [E]: w } : null;
  }), a = et(c, (E, S) => S.cooldownInfo ? { [E]: S.cooldownInfo } : null), l = Object.values(a).length;
  e.peer && (Fe(e, `
upgradedPeerDependencies:`, "verbose"), Fe(e, n, "verbose")), Fe(e, `
${typeof e.target == "string" ? `${e.target[0].toUpperCase()}${e.target.slice(1)}` : "Fetched"} versions:`, "verbose"), Fe(e, u, "verbose"), Fe(e, `
Upgraded versions:`, "verbose"), Fe(e, d, "verbose");
  const f = e.minimal ? et(d, (E, S) => He.default.satisfies(u[E], s[E]) ? null : { [E]: S }) : d, p = (e.format || []).includes("ownerChanged") ? await JC(s, f, e) : void 0, g = e.interactive ? await XC(s, f, a, h, r, e) : f;
  if (!e.json || e.deep) {
    if (await Go(e.interactive ? {
      ...e,
      format: (e.format || []).filter((E) => E !== "group")
    } : e, {
      current: s,
      upgraded: g,
      skippedByCooldown: a,
      total: Object.keys(d).length,
      latest: c,
      numCooldown: l,
      ownersChangedDeps: p,
      pkgFile: r || void 0,
      errors: o,
      time: h
    }), e.peer) {
      const E = await GC(s, d, n, e);
      Object.keys(E).length > 0 && b_(e, E);
    }
    if (e.enginesNode) {
      const E = await qC(s, d, e);
      Object.keys(E).length > 0 && w_(e, E);
    }
  }
  const m = await ip(t, s, g, e, r || void 0), v = e.jsonAll ? r?.endsWith(".yaml") || r?.endsWith(".yml") ? (0, Pt.parseDocument)(m).toJSON() : Bs(m) : e.jsonDeps && r?.endsWith(".json") ? kC(Bs(m), Sl(e.dep)) : g;
  let _;
  if (e.json && !e.deep && Ho(e, v), Object.keys(f).length > 0 && r)
    if (e.upgrade) _ = Xe.writeFile(r.replace("#catalog", ""), m);
    else {
      const E = process.env.npm_lifecycle_event === "npx" ? "npx npm-check-updates" : "ncu", S = process.argv.slice(2).map((b) => b.includes(" ") ? `"${b}"` : b).join(" "), w = S && " " + S;
      Fe(e, `
Run ${Se.cyan(`${E}${w} -u`)} to upgrade ${e.packageFile || "package.json"}`);
    }
  return await _, v;
}
function VI(e) {
  return e;
}
process.env.INJECT_PROMPTS && an.default.inject(JSON.parse(process.env.INJECT_PROMPTS));
var Mp = !1;
process.on("unhandledRejection", (e) => {
  console.error(e), Mp = !0;
});
var QC = (e) => {
  e.global && (process.env.VOLTA_HOME || process.env.PATH?.includes("\\Volta")) && (Fe(e, "It appears you are using Volta. `npm-check-updates --global` cannot be used with Volta because Volta has its own system for managing global packages which circumvents npm.\n\nIf you are still receiving this message after uninstalling Volta, ensure your PATH does not contain an entry for Volta and your shell profile does not define VOLTA_HOME. You may need to reboot for changes to your shell profile to take effect.", "error"), process.exit(1));
}, _u = async (e, t) => {
  const r = {
    ...e,
    cwd: e.cwd || qe.resolve(t, ".."),
    packageFile: t
  };
  return e.packageManager === "staticRegistry" ? await Ks({
    ...r,
    packageManager: void 0
  }) : e.packageManager && e.packageManager !== "npm" ? e.packageManager : await Ks(r);
}, jp = (e, t, r) => {
  const i = !r.deep && !r.workspaces && !r.workspace ? { [e[0]]: t } : t;
  return Object.values(i).some((s) => Object.keys(s).length > 0);
}, eI = async (e, t, r) => {
  if (r.install === "never") {
    Fe(r, "");
    return;
  }
  if (!jp(e, t, r)) return;
  const i = await _u(r, e[0]), s = `Run ${Se.cyan(i + " install")}${e.length > 1 && !r.workspace && !r.workspaces ? " in each project directory" : ""} to install new versions`, d = r.interactive && (process.env.NCU_TESTS || !process.env.NCU_DOCTOR);
  let c;
  if (d && r.install === "prompt" && (Fe(r, ""), c = await (0, an.default)({
    type: "confirm",
    name: "value",
    message: `${s}?`,
    initial: !0,
    onState: (n) => {
      n.aborted && process.nextTick(() => process.exit(1));
    }
  })), r.install === "always" || d && c.value) {
    r.install === "always" && Fe(r, ""), Fe(r, "Installing dependencies...");
    const n = r.workspaces || r.workspace?.length ? ["package.json"] : e;
    for await (const u of n) {
      const o = await _u(r, u), h = r.cwd || qe.resolve(u, "..");
      let a = "";
      try {
        await Vt(o, ["install"], {
          stdout: (l) => {
            a += l;
          },
          stderr: (l) => {
            console.error(Se.red(l.toString()));
          }
        }, {
          cwd: h,
          env: {
            ...process.env,
            ...r.color !== !1 ? { FORCE_COLOR: !0 } : null,
            ...o === "pnpm" ? { npm_config_strict_peer_dependencies: !1 } : null
          }
        }), Fe(r, a), Fe(r, "Done");
      } catch (l) {
        console.error(l?.message || l || a), We(r, "Install failed. This is not a bug in npm-check-updates. The most common causes are invalid peer dependencies, networking issues, or failing postinstall scripts. Consider using --peer to filter updates to compatible versions (takes longer) or --doctor to identify breaking upgrades.");
      }
    }
  } else d || Fe(r, `
${s}.`);
};
async function tI(e, t) {
  const [r, i] = await LO(e);
  let s = r.map((n) => n.filepath);
  const d = e.workspaces || !!e.workspace?.length;
  e.deep = e.deep || d || r.length > 1;
  let c;
  if (e.global) {
    const n = await BC(e);
    return clearTimeout(t), n;
  } else if (e.deep)
    c = await r.reduce(async (n, u) => {
      const o = await n, h = Object.keys(o).length > 0;
      let a = (await sC({
        packageFile: u.filepath,
        options: e
      })).config;
      e.mergeConfig && Object.keys(a).length && (a = TC(e, a));
      const l = {
        ...e,
        ...a,
        packageFile: u.filepath,
        workspacePackages: i
      };
      let f, p, g;
      if (u.filepath.includes("#") || u.name === "catalogs") {
        f = u.pkgFile, p = u.filepath, g = u.filepath.includes("#catalog") ? u.filepath.replace("#catalog", "") : u.filepath;
        const m = qe.resolve(g);
        h && Fe(l, ""), Fe(l, `${l.upgrade ? "Upgrading" : "Checking"} ${m} catalog dependencies`);
      } else {
        h && Fe(l, "");
        const m = await bn(l);
        f = m.pkgData, p = m.pkgFile || u.filepath, g = p;
      }
      return {
        ...o,
        [l.cwd ? qe.relative(qe.resolve(l.cwd), g).replace(/\\/g, "/") : g]: await yu(l, f, p)
      };
    }, Promise.resolve({})), e.json && Ho(e, c);
  else {
    r.length === 1 && r[0].filepath !== (e.packageFile || "package.json") && (e.packageFile = r[0].filepath);
    const { pkgData: n, pkgFile: u } = await bn(e);
    s.length === 0 && u && (s = [u]), c = await yu(e, n, u);
  }
  return clearTimeout(t), e.errorLevel === 2 && jp(s, c, e) && We(e, `
Dependencies not up-to-date`), e.upgrade && (e.packageManager === "deno" ? Fe(e, "") : await eI(s, c, e)), c;
}
async function rI(e = {}, { cli: t } = {}) {
  const r = await SC(e, { cli: t }), i = js.bugs.url;
  process.on("exit", () => {
    Mp && We(r, `Unhandled Rejection! This is a bug and should be reported: ${i}`);
  }), await ku(r.color), QC(r), Fe(r, "Initializing", "verbose"), r.cacheClear && await A_(r);
  let s, d = new Promise(() => null);
  if (r.timeout) {
    const c = typeof r.timeout == "string" ? Number.parseInt(r.timeout, 10) : r.timeout;
    d = new Promise((n, u) => {
      s = setTimeout(() => {
        const o = `Exceeded global timeout of ${c}ms`;
        u(o);
        try {
          We(r, o);
        } catch {
        }
      }, c);
    });
  }
  if (r.doctor) {
    if (r.upgrade) return Promise.race([d, DR(rI, r)]);
    Fe(r, `Usage: ncu --doctor

${typeof fr.doctor.help == "function" ? fr.doctor.help({}) : fr.doctor.help}`, "warn");
  } else return Promise.race([d, tI(r, s)]);
}
export {
  SI as a,
  rv as c,
  dm as d,
  rI as default,
  VI as defineConfig,
  Wg as f,
  Rs as i,
  To as l,
  sC as n,
  ku as o,
  js as p,
  fr as r,
  rI as run,
  On as s,
  Gr as t,
  Tn as u
};

//# sourceMappingURL=index.js.map